diff --git a/dist/37.index.js b/dist/37.index.js deleted file mode 100644 index a7e3f8aa..00000000 --- a/dist/37.index.js +++ /dev/null @@ -1,452 +0,0 @@ -"use strict"; -exports.id = 37; -exports.ids = [37]; -exports.modules = { - -/***/ 94037: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "toFormData": () => (/* binding */ toFormData) -/* harmony export */ }); -/* harmony import */ var fetch_blob_from_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52185); -/* harmony import */ var formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68010); - - - -let s = 0; -const S = { - START_BOUNDARY: s++, - HEADER_FIELD_START: s++, - HEADER_FIELD: s++, - HEADER_VALUE_START: s++, - HEADER_VALUE: s++, - HEADER_VALUE_ALMOST_DONE: s++, - HEADERS_ALMOST_DONE: s++, - PART_DATA_START: s++, - PART_DATA: s++, - END: s++ -}; - -let f = 1; -const F = { - PART_BOUNDARY: f, - LAST_BOUNDARY: f *= 2 -}; - -const LF = 10; -const CR = 13; -const SPACE = 32; -const HYPHEN = 45; -const COLON = 58; -const A = 97; -const Z = 122; - -const lower = c => c | 0x20; - -const noop = () => {}; - -class MultipartParser { - /** - * @param {string} boundary - */ - constructor(boundary) { - this.index = 0; - this.flags = 0; - - this.onHeaderEnd = noop; - this.onHeaderField = noop; - this.onHeadersEnd = noop; - this.onHeaderValue = noop; - this.onPartBegin = noop; - this.onPartData = noop; - this.onPartEnd = noop; - - this.boundaryChars = {}; - - boundary = '\r\n--' + boundary; - const ui8a = new Uint8Array(boundary.length); - for (let i = 0; i < boundary.length; i++) { - ui8a[i] = boundary.charCodeAt(i); - this.boundaryChars[ui8a[i]] = true; - } - - this.boundary = ui8a; - this.lookbehind = new Uint8Array(this.boundary.length + 8); - this.state = S.START_BOUNDARY; - } - - /** - * @param {Uint8Array} data - */ - write(data) { - let i = 0; - const length_ = data.length; - let previousIndex = this.index; - let {lookbehind, boundary, boundaryChars, index, state, flags} = this; - const boundaryLength = this.boundary.length; - const boundaryEnd = boundaryLength - 1; - const bufferLength = data.length; - let c; - let cl; - - const mark = name => { - this[name + 'Mark'] = i; - }; - - const clear = name => { - delete this[name + 'Mark']; - }; - - const callback = (callbackSymbol, start, end, ui8a) => { - if (start === undefined || start !== end) { - this[callbackSymbol](ui8a && ui8a.subarray(start, end)); - } - }; - - const dataCallback = (name, clear) => { - const markSymbol = name + 'Mark'; - if (!(markSymbol in this)) { - return; - } - - if (clear) { - callback(name, this[markSymbol], i, data); - delete this[markSymbol]; - } else { - callback(name, this[markSymbol], data.length, data); - this[markSymbol] = 0; - } - }; - - for (i = 0; i < length_; i++) { - c = data[i]; - - switch (state) { - case S.START_BOUNDARY: - if (index === boundary.length - 2) { - if (c === HYPHEN) { - flags |= F.LAST_BOUNDARY; - } else if (c !== CR) { - return; - } - - index++; - break; - } else if (index - 1 === boundary.length - 2) { - if (flags & F.LAST_BOUNDARY && c === HYPHEN) { - state = S.END; - flags = 0; - } else if (!(flags & F.LAST_BOUNDARY) && c === LF) { - index = 0; - callback('onPartBegin'); - state = S.HEADER_FIELD_START; - } else { - return; - } - - break; - } - - if (c !== boundary[index + 2]) { - index = -2; - } - - if (c === boundary[index + 2]) { - index++; - } - - break; - case S.HEADER_FIELD_START: - state = S.HEADER_FIELD; - mark('onHeaderField'); - index = 0; - // falls through - case S.HEADER_FIELD: - if (c === CR) { - clear('onHeaderField'); - state = S.HEADERS_ALMOST_DONE; - break; - } - - index++; - if (c === HYPHEN) { - break; - } - - if (c === COLON) { - if (index === 1) { - // empty header field - return; - } - - dataCallback('onHeaderField', true); - state = S.HEADER_VALUE_START; - break; - } - - cl = lower(c); - if (cl < A || cl > Z) { - return; - } - - break; - case S.HEADER_VALUE_START: - if (c === SPACE) { - break; - } - - mark('onHeaderValue'); - state = S.HEADER_VALUE; - // falls through - case S.HEADER_VALUE: - if (c === CR) { - dataCallback('onHeaderValue', true); - callback('onHeaderEnd'); - state = S.HEADER_VALUE_ALMOST_DONE; - } - - break; - case S.HEADER_VALUE_ALMOST_DONE: - if (c !== LF) { - return; - } - - state = S.HEADER_FIELD_START; - break; - case S.HEADERS_ALMOST_DONE: - if (c !== LF) { - return; - } - - callback('onHeadersEnd'); - state = S.PART_DATA_START; - break; - case S.PART_DATA_START: - state = S.PART_DATA; - mark('onPartData'); - // falls through - case S.PART_DATA: - previousIndex = index; - - if (index === 0) { - // boyer-moore derrived algorithm to safely skip non-boundary data - i += boundaryEnd; - while (i < bufferLength && !(data[i] in boundaryChars)) { - i += boundaryLength; - } - - i -= boundaryEnd; - c = data[i]; - } - - if (index < boundary.length) { - if (boundary[index] === c) { - if (index === 0) { - dataCallback('onPartData', true); - } - - index++; - } else { - index = 0; - } - } else if (index === boundary.length) { - index++; - if (c === CR) { - // CR = part boundary - flags |= F.PART_BOUNDARY; - } else if (c === HYPHEN) { - // HYPHEN = end boundary - flags |= F.LAST_BOUNDARY; - } else { - index = 0; - } - } else if (index - 1 === boundary.length) { - if (flags & F.PART_BOUNDARY) { - index = 0; - if (c === LF) { - // unset the PART_BOUNDARY flag - flags &= ~F.PART_BOUNDARY; - callback('onPartEnd'); - callback('onPartBegin'); - state = S.HEADER_FIELD_START; - break; - } - } else if (flags & F.LAST_BOUNDARY) { - if (c === HYPHEN) { - callback('onPartEnd'); - state = S.END; - flags = 0; - } else { - index = 0; - } - } else { - index = 0; - } - } - - if (index > 0) { - // when matching a possible boundary, keep a lookbehind reference - // in case it turns out to be a false lead - lookbehind[index - 1] = c; - } else if (previousIndex > 0) { - // if our boundary turned out to be rubbish, the captured lookbehind - // belongs to partData - const _lookbehind = new Uint8Array(lookbehind.buffer, lookbehind.byteOffset, lookbehind.byteLength); - callback('onPartData', 0, previousIndex, _lookbehind); - previousIndex = 0; - mark('onPartData'); - - // reconsider the current character even so it interrupted the sequence - // it could be the beginning of a new sequence - i--; - } - - break; - case S.END: - break; - default: - throw new Error(`Unexpected state entered: ${state}`); - } - } - - dataCallback('onHeaderField'); - dataCallback('onHeaderValue'); - dataCallback('onPartData'); - - // Update properties for the next call - this.index = index; - this.state = state; - this.flags = flags; - } - - end() { - if ((this.state === S.HEADER_FIELD_START && this.index === 0) || - (this.state === S.PART_DATA && this.index === this.boundary.length)) { - this.onPartEnd(); - } else if (this.state !== S.END) { - throw new Error('MultipartParser.end(): stream ended unexpectedly'); - } - } -} - -function _fileName(headerValue) { - // matches either a quoted-string or a token (RFC 2616 section 19.5.1) - const m = headerValue.match(/\bfilename=("(.*?)"|([^()<>@,;:\\"/[\]?={}\s\t]+))($|;\s)/i); - if (!m) { - return; - } - - const match = m[2] || m[3] || ''; - let filename = match.slice(match.lastIndexOf('\\') + 1); - filename = filename.replace(/%22/g, '"'); - filename = filename.replace(/&#(\d{4});/g, (m, code) => { - return String.fromCharCode(code); - }); - return filename; -} - -async function toFormData(Body, ct) { - if (!/multipart/i.test(ct)) { - throw new TypeError('Failed to fetch'); - } - - const m = ct.match(/boundary=(?:"([^"]+)"|([^;]+))/i); - - if (!m) { - throw new TypeError('no or bad content-type header, no multipart boundary'); - } - - const parser = new MultipartParser(m[1] || m[2]); - - let headerField; - let headerValue; - let entryValue; - let entryName; - let contentType; - let filename; - const entryChunks = []; - const formData = new formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_1__/* .FormData */ .Ct(); - - const onPartData = ui8a => { - entryValue += decoder.decode(ui8a, {stream: true}); - }; - - const appendToFile = ui8a => { - entryChunks.push(ui8a); - }; - - const appendFileToFormData = () => { - const file = new fetch_blob_from_js__WEBPACK_IMPORTED_MODULE_0__/* .File */ .$B(entryChunks, filename, {type: contentType}); - formData.append(entryName, file); - }; - - const appendEntryToFormData = () => { - formData.append(entryName, entryValue); - }; - - const decoder = new TextDecoder('utf-8'); - decoder.decode(); - - parser.onPartBegin = function () { - parser.onPartData = onPartData; - parser.onPartEnd = appendEntryToFormData; - - headerField = ''; - headerValue = ''; - entryValue = ''; - entryName = ''; - contentType = ''; - filename = null; - entryChunks.length = 0; - }; - - parser.onHeaderField = function (ui8a) { - headerField += decoder.decode(ui8a, {stream: true}); - }; - - parser.onHeaderValue = function (ui8a) { - headerValue += decoder.decode(ui8a, {stream: true}); - }; - - parser.onHeaderEnd = function () { - headerValue += decoder.decode(); - headerField = headerField.toLowerCase(); - - if (headerField === 'content-disposition') { - // matches either a quoted-string or a token (RFC 2616 section 19.5.1) - const m = headerValue.match(/\bname=("([^"]*)"|([^()<>@,;:\\"/[\]?={}\s\t]+))/i); - - if (m) { - entryName = m[2] || m[3] || ''; - } - - filename = _fileName(headerValue); - - if (filename) { - parser.onPartData = appendToFile; - parser.onPartEnd = appendFileToFormData; - } - } else if (headerField === 'content-type') { - contentType = headerValue; - } - - headerValue = ''; - headerField = ''; - }; - - for await (const chunk of Body) { - parser.write(chunk); - } - - parser.end(); - - return formData; -} - - -/***/ }) - -}; -; \ No newline at end of file diff --git a/dist/502.index.js b/dist/502.index.js deleted file mode 100644 index 9164831c..00000000 --- a/dist/502.index.js +++ /dev/null @@ -1,581 +0,0 @@ -"use strict"; -exports.id = 502; -exports.ids = [502]; -exports.modules = { - -/***/ 17502: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -// ESM COMPAT FLAG -__webpack_require__.r(__webpack_exports__); - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "HTTPError": () => (/* reexport */ HTTPError), - "TimeoutError": () => (/* reexport */ TimeoutError), - "default": () => (/* binding */ distribution) -}); - -;// CONCATENATED MODULE: ./node_modules/ky/distribution/errors/HTTPError.js -// eslint-lint-disable-next-line @typescript-eslint/naming-convention -class HTTPError extends Error { - constructor(response, request, options) { - const code = (response.status || response.status === 0) ? response.status : ''; - const title = response.statusText || ''; - const status = `${code} ${title}`.trim(); - const reason = status ? `status code ${status}` : 'an unknown error'; - super(`Request failed with ${reason}`); - Object.defineProperty(this, "response", { - enumerable: true, - configurable: true, - writable: true, - value: void 0 - }); - Object.defineProperty(this, "request", { - enumerable: true, - configurable: true, - writable: true, - value: void 0 - }); - Object.defineProperty(this, "options", { - enumerable: true, - configurable: true, - writable: true, - value: void 0 - }); - this.name = 'HTTPError'; - this.response = response; - this.request = request; - this.options = options; - } -} -//# sourceMappingURL=HTTPError.js.map -;// CONCATENATED MODULE: ./node_modules/ky/distribution/errors/TimeoutError.js -class TimeoutError extends Error { - constructor(request) { - super('Request timed out'); - Object.defineProperty(this, "request", { - enumerable: true, - configurable: true, - writable: true, - value: void 0 - }); - this.name = 'TimeoutError'; - this.request = request; - } -} -//# sourceMappingURL=TimeoutError.js.map -;// CONCATENATED MODULE: ./node_modules/ky/distribution/utils/is.js -// eslint-disable-next-line @typescript-eslint/ban-types -const isObject = (value) => value !== null && typeof value === 'object'; -//# sourceMappingURL=is.js.map -;// CONCATENATED MODULE: ./node_modules/ky/distribution/utils/merge.js - -const validateAndMerge = (...sources) => { - for (const source of sources) { - if ((!isObject(source) || Array.isArray(source)) && typeof source !== 'undefined') { - throw new TypeError('The `options` argument must be an object'); - } - } - return deepMerge({}, ...sources); -}; -const mergeHeaders = (source1 = {}, source2 = {}) => { - const result = new globalThis.Headers(source1); - const isHeadersInstance = source2 instanceof globalThis.Headers; - const source = new globalThis.Headers(source2); - for (const [key, value] of source.entries()) { - if ((isHeadersInstance && value === 'undefined') || value === undefined) { - result.delete(key); - } - else { - result.set(key, value); - } - } - return result; -}; -// TODO: Make this strongly-typed (no `any`). -const deepMerge = (...sources) => { - let returnValue = {}; - let headers = {}; - for (const source of sources) { - if (Array.isArray(source)) { - if (!Array.isArray(returnValue)) { - returnValue = []; - } - returnValue = [...returnValue, ...source]; - } - else if (isObject(source)) { - for (let [key, value] of Object.entries(source)) { - if (isObject(value) && key in returnValue) { - value = deepMerge(returnValue[key], value); - } - returnValue = { ...returnValue, [key]: value }; - } - if (isObject(source.headers)) { - headers = mergeHeaders(headers, source.headers); - returnValue.headers = headers; - } - } - } - return returnValue; -}; -//# sourceMappingURL=merge.js.map -;// CONCATENATED MODULE: ./node_modules/ky/distribution/core/constants.js -const supportsRequestStreams = (() => { - let duplexAccessed = false; - let hasContentType = false; - const supportsReadableStream = typeof globalThis.ReadableStream === 'function'; - const supportsRequest = typeof globalThis.Request === 'function'; - if (supportsReadableStream && supportsRequest) { - hasContentType = new globalThis.Request('https://a.com', { - body: new globalThis.ReadableStream(), - method: 'POST', - // @ts-expect-error - Types are outdated. - get duplex() { - duplexAccessed = true; - return 'half'; - }, - }).headers.has('Content-Type'); - } - return duplexAccessed && !hasContentType; -})(); -const supportsAbortController = typeof globalThis.AbortController === 'function'; -const supportsResponseStreams = typeof globalThis.ReadableStream === 'function'; -const supportsFormData = typeof globalThis.FormData === 'function'; -const requestMethods = ['get', 'post', 'put', 'patch', 'head', 'delete']; -const validate = () => undefined; -validate(); -const responseTypes = { - json: 'application/json', - text: 'text/*', - formData: 'multipart/form-data', - arrayBuffer: '*/*', - blob: '*/*', -}; -// The maximum value of a 32bit int (see issue #117) -const maxSafeTimeout = 2147483647; -const stop = Symbol('stop'); -//# sourceMappingURL=constants.js.map -;// CONCATENATED MODULE: ./node_modules/ky/distribution/utils/normalize.js - -const normalizeRequestMethod = (input) => requestMethods.includes(input) ? input.toUpperCase() : input; -const retryMethods = ['get', 'put', 'head', 'delete', 'options', 'trace']; -const retryStatusCodes = [408, 413, 429, 500, 502, 503, 504]; -const retryAfterStatusCodes = [413, 429, 503]; -const defaultRetryOptions = { - limit: 2, - methods: retryMethods, - statusCodes: retryStatusCodes, - afterStatusCodes: retryAfterStatusCodes, - maxRetryAfter: Number.POSITIVE_INFINITY, - backoffLimit: Number.POSITIVE_INFINITY, -}; -const normalizeRetryOptions = (retry = {}) => { - if (typeof retry === 'number') { - return { - ...defaultRetryOptions, - limit: retry, - }; - } - if (retry.methods && !Array.isArray(retry.methods)) { - throw new Error('retry.methods must be an array'); - } - if (retry.statusCodes && !Array.isArray(retry.statusCodes)) { - throw new Error('retry.statusCodes must be an array'); - } - return { - ...defaultRetryOptions, - ...retry, - afterStatusCodes: retryAfterStatusCodes, - }; -}; -//# sourceMappingURL=normalize.js.map -;// CONCATENATED MODULE: ./node_modules/ky/distribution/utils/timeout.js - -// `Promise.race()` workaround (#91) -async function timeout(request, abortController, options) { - return new Promise((resolve, reject) => { - const timeoutId = setTimeout(() => { - if (abortController) { - abortController.abort(); - } - reject(new TimeoutError(request)); - }, options.timeout); - void options - .fetch(request) - .then(resolve) - .catch(reject) - .then(() => { - clearTimeout(timeoutId); - }); - }); -} -//# sourceMappingURL=timeout.js.map -;// CONCATENATED MODULE: ./node_modules/ky/distribution/errors/DOMException.js -// DOMException is supported on most modern browsers and Node.js 18+. -// @see https://developer.mozilla.org/en-US/docs/Web/API/DOMException#browser_compatibility -const isDomExceptionSupported = Boolean(globalThis.DOMException); -// TODO: When targeting Node.js 18, use `signal.throwIfAborted()` (https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/throwIfAborted) -function composeAbortError(signal) { - /* - NOTE: Use DomException with AbortError name as specified in MDN docs (https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort) - > When abort() is called, the fetch() promise rejects with an Error of type DOMException, with name AbortError. - */ - if (isDomExceptionSupported) { - return new DOMException(signal?.reason ?? 'The operation was aborted.', 'AbortError'); - } - // DOMException not supported. Fall back to use of error and override name. - const error = new Error(signal?.reason ?? 'The operation was aborted.'); - error.name = 'AbortError'; - return error; -} -//# sourceMappingURL=DOMException.js.map -;// CONCATENATED MODULE: ./node_modules/ky/distribution/utils/delay.js -// https://github.com/sindresorhus/delay/tree/ab98ae8dfcb38e1593286c94d934e70d14a4e111 - -async function delay(ms, { signal }) { - return new Promise((resolve, reject) => { - if (signal) { - if (signal.aborted) { - reject(composeAbortError(signal)); - return; - } - signal.addEventListener('abort', handleAbort, { once: true }); - } - function handleAbort() { - reject(composeAbortError(signal)); - clearTimeout(timeoutId); - } - const timeoutId = setTimeout(() => { - signal?.removeEventListener('abort', handleAbort); - resolve(); - }, ms); - }); -} -//# sourceMappingURL=delay.js.map -;// CONCATENATED MODULE: ./node_modules/ky/distribution/core/Ky.js - - - - - - - -class Ky { - // eslint-disable-next-line @typescript-eslint/promise-function-async - static create(input, options) { - const ky = new Ky(input, options); - const fn = async () => { - if (ky._options.timeout > maxSafeTimeout) { - throw new RangeError(`The \`timeout\` option cannot be greater than ${maxSafeTimeout}`); - } - // Delay the fetch so that body method shortcuts can set the Accept header - await Promise.resolve(); - let response = await ky._fetch(); - for (const hook of ky._options.hooks.afterResponse) { - // eslint-disable-next-line no-await-in-loop - const modifiedResponse = await hook(ky.request, ky._options, ky._decorateResponse(response.clone())); - if (modifiedResponse instanceof globalThis.Response) { - response = modifiedResponse; - } - } - ky._decorateResponse(response); - if (!response.ok && ky._options.throwHttpErrors) { - let error = new HTTPError(response, ky.request, ky._options); - for (const hook of ky._options.hooks.beforeError) { - // eslint-disable-next-line no-await-in-loop - error = await hook(error); - } - throw error; - } - // If `onDownloadProgress` is passed, it uses the stream API internally - /* istanbul ignore next */ - if (ky._options.onDownloadProgress) { - if (typeof ky._options.onDownloadProgress !== 'function') { - throw new TypeError('The `onDownloadProgress` option must be a function'); - } - if (!supportsResponseStreams) { - throw new Error('Streams are not supported in your environment. `ReadableStream` is missing.'); - } - return ky._stream(response.clone(), ky._options.onDownloadProgress); - } - return response; - }; - const isRetriableMethod = ky._options.retry.methods.includes(ky.request.method.toLowerCase()); - const result = (isRetriableMethod ? ky._retry(fn) : fn()); - for (const [type, mimeType] of Object.entries(responseTypes)) { - result[type] = async () => { - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing - ky.request.headers.set('accept', ky.request.headers.get('accept') || mimeType); - const awaitedResult = await result; - const response = awaitedResult.clone(); - if (type === 'json') { - if (response.status === 204) { - return ''; - } - const arrayBuffer = await response.clone().arrayBuffer(); - const responseSize = arrayBuffer.byteLength; - if (responseSize === 0) { - return ''; - } - if (options.parseJson) { - return options.parseJson(await response.text()); - } - } - return response[type](); - }; - } - return result; - } - // eslint-disable-next-line complexity - constructor(input, options = {}) { - Object.defineProperty(this, "request", { - enumerable: true, - configurable: true, - writable: true, - value: void 0 - }); - Object.defineProperty(this, "abortController", { - enumerable: true, - configurable: true, - writable: true, - value: void 0 - }); - Object.defineProperty(this, "_retryCount", { - enumerable: true, - configurable: true, - writable: true, - value: 0 - }); - Object.defineProperty(this, "_input", { - enumerable: true, - configurable: true, - writable: true, - value: void 0 - }); - Object.defineProperty(this, "_options", { - enumerable: true, - configurable: true, - writable: true, - value: void 0 - }); - this._input = input; - this._options = { - // TODO: credentials can be removed when the spec change is implemented in all browsers. Context: https://www.chromestatus.com/feature/4539473312350208 - credentials: this._input.credentials || 'same-origin', - ...options, - headers: mergeHeaders(this._input.headers, options.headers), - hooks: deepMerge({ - beforeRequest: [], - beforeRetry: [], - beforeError: [], - afterResponse: [], - }, options.hooks), - method: normalizeRequestMethod(options.method ?? this._input.method), - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing - prefixUrl: String(options.prefixUrl || ''), - retry: normalizeRetryOptions(options.retry), - throwHttpErrors: options.throwHttpErrors !== false, - timeout: typeof options.timeout === 'undefined' ? 10000 : options.timeout, - fetch: options.fetch ?? globalThis.fetch.bind(globalThis), - }; - if (typeof this._input !== 'string' && !(this._input instanceof URL || this._input instanceof globalThis.Request)) { - throw new TypeError('`input` must be a string, URL, or Request'); - } - if (this._options.prefixUrl && typeof this._input === 'string') { - if (this._input.startsWith('/')) { - throw new Error('`input` must not begin with a slash when using `prefixUrl`'); - } - if (!this._options.prefixUrl.endsWith('/')) { - this._options.prefixUrl += '/'; - } - this._input = this._options.prefixUrl + this._input; - } - if (supportsAbortController) { - this.abortController = new globalThis.AbortController(); - if (this._options.signal) { - const originalSignal = this._options.signal; - this._options.signal.addEventListener('abort', () => { - this.abortController.abort(originalSignal.reason); - }); - } - this._options.signal = this.abortController.signal; - } - if (supportsRequestStreams) { - // @ts-expect-error - Types are outdated. - this._options.duplex = 'half'; - } - this.request = new globalThis.Request(this._input, this._options); - if (this._options.searchParams) { - // eslint-disable-next-line unicorn/prevent-abbreviations - const textSearchParams = typeof this._options.searchParams === 'string' - ? this._options.searchParams.replace(/^\?/, '') - : new URLSearchParams(this._options.searchParams).toString(); - // eslint-disable-next-line unicorn/prevent-abbreviations - const searchParams = '?' + textSearchParams; - const url = this.request.url.replace(/(?:\?.*?)?(?=#|$)/, searchParams); - // To provide correct form boundary, Content-Type header should be deleted each time when new Request instantiated from another one - if (((supportsFormData && this._options.body instanceof globalThis.FormData) - || this._options.body instanceof URLSearchParams) && !(this._options.headers && this._options.headers['content-type'])) { - this.request.headers.delete('content-type'); - } - // The spread of `this.request` is required as otherwise it misses the `duplex` option for some reason and throws. - this.request = new globalThis.Request(new globalThis.Request(url, { ...this.request }), this._options); - } - if (this._options.json !== undefined) { - this._options.body = JSON.stringify(this._options.json); - this.request.headers.set('content-type', this._options.headers.get('content-type') ?? 'application/json'); - this.request = new globalThis.Request(this.request, { body: this._options.body }); - } - } - _calculateRetryDelay(error) { - this._retryCount++; - if (this._retryCount < this._options.retry.limit && !(error instanceof TimeoutError)) { - if (error instanceof HTTPError) { - if (!this._options.retry.statusCodes.includes(error.response.status)) { - return 0; - } - const retryAfter = error.response.headers.get('Retry-After'); - if (retryAfter && this._options.retry.afterStatusCodes.includes(error.response.status)) { - let after = Number(retryAfter); - if (Number.isNaN(after)) { - after = Date.parse(retryAfter) - Date.now(); - } - else { - after *= 1000; - } - if (typeof this._options.retry.maxRetryAfter !== 'undefined' && after > this._options.retry.maxRetryAfter) { - return 0; - } - return after; - } - if (error.response.status === 413) { - return 0; - } - } - const BACKOFF_FACTOR = 0.3; - return Math.min(this._options.retry.backoffLimit, BACKOFF_FACTOR * (2 ** (this._retryCount - 1)) * 1000); - } - return 0; - } - _decorateResponse(response) { - if (this._options.parseJson) { - response.json = async () => this._options.parseJson(await response.text()); - } - return response; - } - async _retry(fn) { - try { - return await fn(); - // eslint-disable-next-line @typescript-eslint/no-implicit-any-catch - } - catch (error) { - const ms = Math.min(this._calculateRetryDelay(error), maxSafeTimeout); - if (ms !== 0 && this._retryCount > 0) { - await delay(ms, { signal: this._options.signal }); - for (const hook of this._options.hooks.beforeRetry) { - // eslint-disable-next-line no-await-in-loop - const hookResult = await hook({ - request: this.request, - options: this._options, - error: error, - retryCount: this._retryCount, - }); - // If `stop` is returned from the hook, the retry process is stopped - if (hookResult === stop) { - return; - } - } - return this._retry(fn); - } - throw error; - } - } - async _fetch() { - for (const hook of this._options.hooks.beforeRequest) { - // eslint-disable-next-line no-await-in-loop - const result = await hook(this.request, this._options); - if (result instanceof Request) { - this.request = result; - break; - } - if (result instanceof Response) { - return result; - } - } - if (this._options.timeout === false) { - return this._options.fetch(this.request.clone()); - } - return timeout(this.request.clone(), this.abortController, this._options); - } - /* istanbul ignore next */ - _stream(response, onDownloadProgress) { - const totalBytes = Number(response.headers.get('content-length')) || 0; - let transferredBytes = 0; - if (response.status === 204) { - if (onDownloadProgress) { - onDownloadProgress({ percent: 1, totalBytes, transferredBytes }, new Uint8Array()); - } - return new globalThis.Response(null, { - status: response.status, - statusText: response.statusText, - headers: response.headers, - }); - } - return new globalThis.Response(new globalThis.ReadableStream({ - async start(controller) { - const reader = response.body.getReader(); - if (onDownloadProgress) { - onDownloadProgress({ percent: 0, transferredBytes: 0, totalBytes }, new Uint8Array()); - } - async function read() { - const { done, value } = await reader.read(); - if (done) { - controller.close(); - return; - } - if (onDownloadProgress) { - transferredBytes += value.byteLength; - const percent = totalBytes === 0 ? 0 : transferredBytes / totalBytes; - onDownloadProgress({ percent, transferredBytes, totalBytes }, value); - } - controller.enqueue(value); - await read(); - } - await read(); - }, - }), { - status: response.status, - statusText: response.statusText, - headers: response.headers, - }); - } -} -//# sourceMappingURL=Ky.js.map -;// CONCATENATED MODULE: ./node_modules/ky/distribution/index.js -/*! MIT License © Sindre Sorhus */ - - - -const createInstance = (defaults) => { - // eslint-disable-next-line @typescript-eslint/promise-function-async - const ky = (input, options) => Ky.create(input, validateAndMerge(defaults, options)); - for (const method of requestMethods) { - // eslint-disable-next-line @typescript-eslint/promise-function-async - ky[method] = (input, options) => Ky.create(input, validateAndMerge(defaults, options, { method })); - } - ky.create = (newDefaults) => createInstance(validateAndMerge(newDefaults)); - ky.extend = (newDefaults) => createInstance(validateAndMerge(defaults, newDefaults)); - ky.stop = stop; - return ky; -}; -const ky = createInstance(); -/* harmony default export */ const distribution = (ky); - - -//# sourceMappingURL=index.js.map - -/***/ }) - -}; -; \ No newline at end of file diff --git a/dist/925.index.js b/dist/925.index.js deleted file mode 100644 index b4a9e9ee..00000000 --- a/dist/925.index.js +++ /dev/null @@ -1,8694 +0,0 @@ -exports.id = 925; -exports.ids = [925]; -exports.modules = { - -/***/ 61659: -/***/ ((module, exports, __webpack_require__) => { - -"use strict"; -/** - * @author Toru Nagashima - * See LICENSE file in root directory for full license. - */ - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -var eventTargetShim = __webpack_require__(84697); - -/** - * The signal class. - * @see https://dom.spec.whatwg.org/#abortsignal - */ -class AbortSignal extends eventTargetShim.EventTarget { - /** - * AbortSignal cannot be constructed directly. - */ - constructor() { - super(); - throw new TypeError("AbortSignal cannot be constructed directly"); - } - /** - * Returns `true` if this `AbortSignal`'s `AbortController` has signaled to abort, and `false` otherwise. - */ - get aborted() { - const aborted = abortedFlags.get(this); - if (typeof aborted !== "boolean") { - throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this === null ? "null" : typeof this}`); - } - return aborted; - } -} -eventTargetShim.defineEventAttribute(AbortSignal.prototype, "abort"); -/** - * Create an AbortSignal object. - */ -function createAbortSignal() { - const signal = Object.create(AbortSignal.prototype); - eventTargetShim.EventTarget.call(signal); - abortedFlags.set(signal, false); - return signal; -} -/** - * Abort a given signal. - */ -function abortSignal(signal) { - if (abortedFlags.get(signal) !== false) { - return; - } - abortedFlags.set(signal, true); - signal.dispatchEvent({ type: "abort" }); -} -/** - * Aborted flag for each instances. - */ -const abortedFlags = new WeakMap(); -// Properties should be enumerable. -Object.defineProperties(AbortSignal.prototype, { - aborted: { enumerable: true }, -}); -// `toString()` should return `"[object AbortSignal]"` -if (typeof Symbol === "function" && typeof Symbol.toStringTag === "symbol") { - Object.defineProperty(AbortSignal.prototype, Symbol.toStringTag, { - configurable: true, - value: "AbortSignal", - }); -} - -/** - * The AbortController. - * @see https://dom.spec.whatwg.org/#abortcontroller - */ -class AbortController { - /** - * Initialize this controller. - */ - constructor() { - signals.set(this, createAbortSignal()); - } - /** - * Returns the `AbortSignal` object associated with this object. - */ - get signal() { - return getSignal(this); - } - /** - * Abort and signal to any observers that the associated activity is to be aborted. - */ - abort() { - abortSignal(getSignal(this)); - } -} -/** - * Associated signals. - */ -const signals = new WeakMap(); -/** - * Get the associated signal of a given controller. - */ -function getSignal(controller) { - const signal = signals.get(controller); - if (signal == null) { - throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${controller === null ? "null" : typeof controller}`); - } - return signal; -} -// Properties should be enumerable. -Object.defineProperties(AbortController.prototype, { - signal: { enumerable: true }, - abort: { enumerable: true }, -}); -if (typeof Symbol === "function" && typeof Symbol.toStringTag === "symbol") { - Object.defineProperty(AbortController.prototype, Symbol.toStringTag, { - configurable: true, - value: "AbortController", - }); -} - -exports.AbortController = AbortController; -exports.AbortSignal = AbortSignal; -exports["default"] = AbortController; - -module.exports = AbortController -module.exports.AbortController = module.exports["default"] = AbortController -module.exports.AbortSignal = AbortSignal -//# sourceMappingURL=abort-controller.js.map - - -/***/ }), - -/***/ 84697: -/***/ ((module, exports) => { - -"use strict"; -/** - * @author Toru Nagashima - * @copyright 2015 Toru Nagashima. All rights reserved. - * See LICENSE file in root directory for full license. - */ - - -Object.defineProperty(exports, "__esModule", ({ value: true })); - -/** - * @typedef {object} PrivateData - * @property {EventTarget} eventTarget The event target. - * @property {{type:string}} event The original event object. - * @property {number} eventPhase The current event phase. - * @property {EventTarget|null} currentTarget The current event target. - * @property {boolean} canceled The flag to prevent default. - * @property {boolean} stopped The flag to stop propagation. - * @property {boolean} immediateStopped The flag to stop propagation immediately. - * @property {Function|null} passiveListener The listener if the current listener is passive. Otherwise this is null. - * @property {number} timeStamp The unix time. - * @private - */ - -/** - * Private data for event wrappers. - * @type {WeakMap} - * @private - */ -const privateData = new WeakMap(); - -/** - * Cache for wrapper classes. - * @type {WeakMap} - * @private - */ -const wrappers = new WeakMap(); - -/** - * Get private data. - * @param {Event} event The event object to get private data. - * @returns {PrivateData} The private data of the event. - * @private - */ -function pd(event) { - const retv = privateData.get(event); - console.assert( - retv != null, - "'this' is expected an Event object, but got", - event - ); - return retv -} - -/** - * https://dom.spec.whatwg.org/#set-the-canceled-flag - * @param data {PrivateData} private data. - */ -function setCancelFlag(data) { - if (data.passiveListener != null) { - if ( - typeof console !== "undefined" && - typeof console.error === "function" - ) { - console.error( - "Unable to preventDefault inside passive event listener invocation.", - data.passiveListener - ); - } - return - } - if (!data.event.cancelable) { - return - } - - data.canceled = true; - if (typeof data.event.preventDefault === "function") { - data.event.preventDefault(); - } -} - -/** - * @see https://dom.spec.whatwg.org/#interface-event - * @private - */ -/** - * The event wrapper. - * @constructor - * @param {EventTarget} eventTarget The event target of this dispatching. - * @param {Event|{type:string}} event The original event to wrap. - */ -function Event(eventTarget, event) { - privateData.set(this, { - eventTarget, - event, - eventPhase: 2, - currentTarget: eventTarget, - canceled: false, - stopped: false, - immediateStopped: false, - passiveListener: null, - timeStamp: event.timeStamp || Date.now(), - }); - - // https://heycam.github.io/webidl/#Unforgeable - Object.defineProperty(this, "isTrusted", { value: false, enumerable: true }); - - // Define accessors - const keys = Object.keys(event); - for (let i = 0; i < keys.length; ++i) { - const key = keys[i]; - if (!(key in this)) { - Object.defineProperty(this, key, defineRedirectDescriptor(key)); - } - } -} - -// Should be enumerable, but class methods are not enumerable. -Event.prototype = { - /** - * The type of this event. - * @type {string} - */ - get type() { - return pd(this).event.type - }, - - /** - * The target of this event. - * @type {EventTarget} - */ - get target() { - return pd(this).eventTarget - }, - - /** - * The target of this event. - * @type {EventTarget} - */ - get currentTarget() { - return pd(this).currentTarget - }, - - /** - * @returns {EventTarget[]} The composed path of this event. - */ - composedPath() { - const currentTarget = pd(this).currentTarget; - if (currentTarget == null) { - return [] - } - return [currentTarget] - }, - - /** - * Constant of NONE. - * @type {number} - */ - get NONE() { - return 0 - }, - - /** - * Constant of CAPTURING_PHASE. - * @type {number} - */ - get CAPTURING_PHASE() { - return 1 - }, - - /** - * Constant of AT_TARGET. - * @type {number} - */ - get AT_TARGET() { - return 2 - }, - - /** - * Constant of BUBBLING_PHASE. - * @type {number} - */ - get BUBBLING_PHASE() { - return 3 - }, - - /** - * The target of this event. - * @type {number} - */ - get eventPhase() { - return pd(this).eventPhase - }, - - /** - * Stop event bubbling. - * @returns {void} - */ - stopPropagation() { - const data = pd(this); - - data.stopped = true; - if (typeof data.event.stopPropagation === "function") { - data.event.stopPropagation(); - } - }, - - /** - * Stop event bubbling. - * @returns {void} - */ - stopImmediatePropagation() { - const data = pd(this); - - data.stopped = true; - data.immediateStopped = true; - if (typeof data.event.stopImmediatePropagation === "function") { - data.event.stopImmediatePropagation(); - } - }, - - /** - * The flag to be bubbling. - * @type {boolean} - */ - get bubbles() { - return Boolean(pd(this).event.bubbles) - }, - - /** - * The flag to be cancelable. - * @type {boolean} - */ - get cancelable() { - return Boolean(pd(this).event.cancelable) - }, - - /** - * Cancel this event. - * @returns {void} - */ - preventDefault() { - setCancelFlag(pd(this)); - }, - - /** - * The flag to indicate cancellation state. - * @type {boolean} - */ - get defaultPrevented() { - return pd(this).canceled - }, - - /** - * The flag to be composed. - * @type {boolean} - */ - get composed() { - return Boolean(pd(this).event.composed) - }, - - /** - * The unix time of this event. - * @type {number} - */ - get timeStamp() { - return pd(this).timeStamp - }, - - /** - * The target of this event. - * @type {EventTarget} - * @deprecated - */ - get srcElement() { - return pd(this).eventTarget - }, - - /** - * The flag to stop event bubbling. - * @type {boolean} - * @deprecated - */ - get cancelBubble() { - return pd(this).stopped - }, - set cancelBubble(value) { - if (!value) { - return - } - const data = pd(this); - - data.stopped = true; - if (typeof data.event.cancelBubble === "boolean") { - data.event.cancelBubble = true; - } - }, - - /** - * The flag to indicate cancellation state. - * @type {boolean} - * @deprecated - */ - get returnValue() { - return !pd(this).canceled - }, - set returnValue(value) { - if (!value) { - setCancelFlag(pd(this)); - } - }, - - /** - * Initialize this event object. But do nothing under event dispatching. - * @param {string} type The event type. - * @param {boolean} [bubbles=false] The flag to be possible to bubble up. - * @param {boolean} [cancelable=false] The flag to be possible to cancel. - * @deprecated - */ - initEvent() { - // Do nothing. - }, -}; - -// `constructor` is not enumerable. -Object.defineProperty(Event.prototype, "constructor", { - value: Event, - configurable: true, - writable: true, -}); - -// Ensure `event instanceof window.Event` is `true`. -if (typeof window !== "undefined" && typeof window.Event !== "undefined") { - Object.setPrototypeOf(Event.prototype, window.Event.prototype); - - // Make association for wrappers. - wrappers.set(window.Event.prototype, Event); -} - -/** - * Get the property descriptor to redirect a given property. - * @param {string} key Property name to define property descriptor. - * @returns {PropertyDescriptor} The property descriptor to redirect the property. - * @private - */ -function defineRedirectDescriptor(key) { - return { - get() { - return pd(this).event[key] - }, - set(value) { - pd(this).event[key] = value; - }, - configurable: true, - enumerable: true, - } -} - -/** - * Get the property descriptor to call a given method property. - * @param {string} key Property name to define property descriptor. - * @returns {PropertyDescriptor} The property descriptor to call the method property. - * @private - */ -function defineCallDescriptor(key) { - return { - value() { - const event = pd(this).event; - return event[key].apply(event, arguments) - }, - configurable: true, - enumerable: true, - } -} - -/** - * Define new wrapper class. - * @param {Function} BaseEvent The base wrapper class. - * @param {Object} proto The prototype of the original event. - * @returns {Function} The defined wrapper class. - * @private - */ -function defineWrapper(BaseEvent, proto) { - const keys = Object.keys(proto); - if (keys.length === 0) { - return BaseEvent - } - - /** CustomEvent */ - function CustomEvent(eventTarget, event) { - BaseEvent.call(this, eventTarget, event); - } - - CustomEvent.prototype = Object.create(BaseEvent.prototype, { - constructor: { value: CustomEvent, configurable: true, writable: true }, - }); - - // Define accessors. - for (let i = 0; i < keys.length; ++i) { - const key = keys[i]; - if (!(key in BaseEvent.prototype)) { - const descriptor = Object.getOwnPropertyDescriptor(proto, key); - const isFunc = typeof descriptor.value === "function"; - Object.defineProperty( - CustomEvent.prototype, - key, - isFunc - ? defineCallDescriptor(key) - : defineRedirectDescriptor(key) - ); - } - } - - return CustomEvent -} - -/** - * Get the wrapper class of a given prototype. - * @param {Object} proto The prototype of the original event to get its wrapper. - * @returns {Function} The wrapper class. - * @private - */ -function getWrapper(proto) { - if (proto == null || proto === Object.prototype) { - return Event - } - - let wrapper = wrappers.get(proto); - if (wrapper == null) { - wrapper = defineWrapper(getWrapper(Object.getPrototypeOf(proto)), proto); - wrappers.set(proto, wrapper); - } - return wrapper -} - -/** - * Wrap a given event to management a dispatching. - * @param {EventTarget} eventTarget The event target of this dispatching. - * @param {Object} event The event to wrap. - * @returns {Event} The wrapper instance. - * @private - */ -function wrapEvent(eventTarget, event) { - const Wrapper = getWrapper(Object.getPrototypeOf(event)); - return new Wrapper(eventTarget, event) -} - -/** - * Get the immediateStopped flag of a given event. - * @param {Event} event The event to get. - * @returns {boolean} The flag to stop propagation immediately. - * @private - */ -function isStopped(event) { - return pd(event).immediateStopped -} - -/** - * Set the current event phase of a given event. - * @param {Event} event The event to set current target. - * @param {number} eventPhase New event phase. - * @returns {void} - * @private - */ -function setEventPhase(event, eventPhase) { - pd(event).eventPhase = eventPhase; -} - -/** - * Set the current target of a given event. - * @param {Event} event The event to set current target. - * @param {EventTarget|null} currentTarget New current target. - * @returns {void} - * @private - */ -function setCurrentTarget(event, currentTarget) { - pd(event).currentTarget = currentTarget; -} - -/** - * Set a passive listener of a given event. - * @param {Event} event The event to set current target. - * @param {Function|null} passiveListener New passive listener. - * @returns {void} - * @private - */ -function setPassiveListener(event, passiveListener) { - pd(event).passiveListener = passiveListener; -} - -/** - * @typedef {object} ListenerNode - * @property {Function} listener - * @property {1|2|3} listenerType - * @property {boolean} passive - * @property {boolean} once - * @property {ListenerNode|null} next - * @private - */ - -/** - * @type {WeakMap>} - * @private - */ -const listenersMap = new WeakMap(); - -// Listener types -const CAPTURE = 1; -const BUBBLE = 2; -const ATTRIBUTE = 3; - -/** - * Check whether a given value is an object or not. - * @param {any} x The value to check. - * @returns {boolean} `true` if the value is an object. - */ -function isObject(x) { - return x !== null && typeof x === "object" //eslint-disable-line no-restricted-syntax -} - -/** - * Get listeners. - * @param {EventTarget} eventTarget The event target to get. - * @returns {Map} The listeners. - * @private - */ -function getListeners(eventTarget) { - const listeners = listenersMap.get(eventTarget); - if (listeners == null) { - throw new TypeError( - "'this' is expected an EventTarget object, but got another value." - ) - } - return listeners -} - -/** - * Get the property descriptor for the event attribute of a given event. - * @param {string} eventName The event name to get property descriptor. - * @returns {PropertyDescriptor} The property descriptor. - * @private - */ -function defineEventAttributeDescriptor(eventName) { - return { - get() { - const listeners = getListeners(this); - let node = listeners.get(eventName); - while (node != null) { - if (node.listenerType === ATTRIBUTE) { - return node.listener - } - node = node.next; - } - return null - }, - - set(listener) { - if (typeof listener !== "function" && !isObject(listener)) { - listener = null; // eslint-disable-line no-param-reassign - } - const listeners = getListeners(this); - - // Traverse to the tail while removing old value. - let prev = null; - let node = listeners.get(eventName); - while (node != null) { - if (node.listenerType === ATTRIBUTE) { - // Remove old value. - if (prev !== null) { - prev.next = node.next; - } else if (node.next !== null) { - listeners.set(eventName, node.next); - } else { - listeners.delete(eventName); - } - } else { - prev = node; - } - - node = node.next; - } - - // Add new value. - if (listener !== null) { - const newNode = { - listener, - listenerType: ATTRIBUTE, - passive: false, - once: false, - next: null, - }; - if (prev === null) { - listeners.set(eventName, newNode); - } else { - prev.next = newNode; - } - } - }, - configurable: true, - enumerable: true, - } -} - -/** - * Define an event attribute (e.g. `eventTarget.onclick`). - * @param {Object} eventTargetPrototype The event target prototype to define an event attrbite. - * @param {string} eventName The event name to define. - * @returns {void} - */ -function defineEventAttribute(eventTargetPrototype, eventName) { - Object.defineProperty( - eventTargetPrototype, - `on${eventName}`, - defineEventAttributeDescriptor(eventName) - ); -} - -/** - * Define a custom EventTarget with event attributes. - * @param {string[]} eventNames Event names for event attributes. - * @returns {EventTarget} The custom EventTarget. - * @private - */ -function defineCustomEventTarget(eventNames) { - /** CustomEventTarget */ - function CustomEventTarget() { - EventTarget.call(this); - } - - CustomEventTarget.prototype = Object.create(EventTarget.prototype, { - constructor: { - value: CustomEventTarget, - configurable: true, - writable: true, - }, - }); - - for (let i = 0; i < eventNames.length; ++i) { - defineEventAttribute(CustomEventTarget.prototype, eventNames[i]); - } - - return CustomEventTarget -} - -/** - * EventTarget. - * - * - This is constructor if no arguments. - * - This is a function which returns a CustomEventTarget constructor if there are arguments. - * - * For example: - * - * class A extends EventTarget {} - * class B extends EventTarget("message") {} - * class C extends EventTarget("message", "error") {} - * class D extends EventTarget(["message", "error"]) {} - */ -function EventTarget() { - /*eslint-disable consistent-return */ - if (this instanceof EventTarget) { - listenersMap.set(this, new Map()); - return - } - if (arguments.length === 1 && Array.isArray(arguments[0])) { - return defineCustomEventTarget(arguments[0]) - } - if (arguments.length > 0) { - const types = new Array(arguments.length); - for (let i = 0; i < arguments.length; ++i) { - types[i] = arguments[i]; - } - return defineCustomEventTarget(types) - } - throw new TypeError("Cannot call a class as a function") - /*eslint-enable consistent-return */ -} - -// Should be enumerable, but class methods are not enumerable. -EventTarget.prototype = { - /** - * Add a given listener to this event target. - * @param {string} eventName The event name to add. - * @param {Function} listener The listener to add. - * @param {boolean|{capture?:boolean,passive?:boolean,once?:boolean}} [options] The options for this listener. - * @returns {void} - */ - addEventListener(eventName, listener, options) { - if (listener == null) { - return - } - if (typeof listener !== "function" && !isObject(listener)) { - throw new TypeError("'listener' should be a function or an object.") - } - - const listeners = getListeners(this); - const optionsIsObj = isObject(options); - const capture = optionsIsObj - ? Boolean(options.capture) - : Boolean(options); - const listenerType = capture ? CAPTURE : BUBBLE; - const newNode = { - listener, - listenerType, - passive: optionsIsObj && Boolean(options.passive), - once: optionsIsObj && Boolean(options.once), - next: null, - }; - - // Set it as the first node if the first node is null. - let node = listeners.get(eventName); - if (node === undefined) { - listeners.set(eventName, newNode); - return - } - - // Traverse to the tail while checking duplication.. - let prev = null; - while (node != null) { - if ( - node.listener === listener && - node.listenerType === listenerType - ) { - // Should ignore duplication. - return - } - prev = node; - node = node.next; - } - - // Add it. - prev.next = newNode; - }, - - /** - * Remove a given listener from this event target. - * @param {string} eventName The event name to remove. - * @param {Function} listener The listener to remove. - * @param {boolean|{capture?:boolean,passive?:boolean,once?:boolean}} [options] The options for this listener. - * @returns {void} - */ - removeEventListener(eventName, listener, options) { - if (listener == null) { - return - } - - const listeners = getListeners(this); - const capture = isObject(options) - ? Boolean(options.capture) - : Boolean(options); - const listenerType = capture ? CAPTURE : BUBBLE; - - let prev = null; - let node = listeners.get(eventName); - while (node != null) { - if ( - node.listener === listener && - node.listenerType === listenerType - ) { - if (prev !== null) { - prev.next = node.next; - } else if (node.next !== null) { - listeners.set(eventName, node.next); - } else { - listeners.delete(eventName); - } - return - } - - prev = node; - node = node.next; - } - }, - - /** - * Dispatch a given event. - * @param {Event|{type:string}} event The event to dispatch. - * @returns {boolean} `false` if canceled. - */ - dispatchEvent(event) { - if (event == null || typeof event.type !== "string") { - throw new TypeError('"event.type" should be a string.') - } - - // If listeners aren't registered, terminate. - const listeners = getListeners(this); - const eventName = event.type; - let node = listeners.get(eventName); - if (node == null) { - return true - } - - // Since we cannot rewrite several properties, so wrap object. - const wrappedEvent = wrapEvent(this, event); - - // This doesn't process capturing phase and bubbling phase. - // This isn't participating in a tree. - let prev = null; - while (node != null) { - // Remove this listener if it's once - if (node.once) { - if (prev !== null) { - prev.next = node.next; - } else if (node.next !== null) { - listeners.set(eventName, node.next); - } else { - listeners.delete(eventName); - } - } else { - prev = node; - } - - // Call this listener - setPassiveListener( - wrappedEvent, - node.passive ? node.listener : null - ); - if (typeof node.listener === "function") { - try { - node.listener.call(this, wrappedEvent); - } catch (err) { - if ( - typeof console !== "undefined" && - typeof console.error === "function" - ) { - console.error(err); - } - } - } else if ( - node.listenerType !== ATTRIBUTE && - typeof node.listener.handleEvent === "function" - ) { - node.listener.handleEvent(wrappedEvent); - } - - // Break if `event.stopImmediatePropagation` was called. - if (isStopped(wrappedEvent)) { - break - } - - node = node.next; - } - setPassiveListener(wrappedEvent, null); - setEventPhase(wrappedEvent, 0); - setCurrentTarget(wrappedEvent, null); - - return !wrappedEvent.defaultPrevented - }, -}; - -// `constructor` is not enumerable. -Object.defineProperty(EventTarget.prototype, "constructor", { - value: EventTarget, - configurable: true, - writable: true, -}); - -// Ensure `eventTarget instanceof window.EventTarget` is `true`. -if ( - typeof window !== "undefined" && - typeof window.EventTarget !== "undefined" -) { - Object.setPrototypeOf(EventTarget.prototype, window.EventTarget.prototype); -} - -exports.defineEventAttribute = defineEventAttribute; -exports.EventTarget = EventTarget; -exports["default"] = EventTarget; - -module.exports = EventTarget -module.exports.EventTarget = module.exports["default"] = EventTarget -module.exports.defineEventAttribute = defineEventAttribute -//# sourceMappingURL=event-target-shim.js.map - - -/***/ }), - -/***/ 97760: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -/*! node-domexception. MIT License. Jimmy Wärting */ - -if (!globalThis.DOMException) { - try { - const { MessageChannel } = __webpack_require__(71267), - port = new MessageChannel().port1, - ab = new ArrayBuffer() - port.postMessage(ab, [ab, ab]) - } catch (err) { - err.constructor.name === 'DOMException' && ( - globalThis.DOMException = err.constructor - ) - } -} - -module.exports = globalThis.DOMException - - -/***/ }), - -/***/ 21452: -/***/ (function(__unused_webpack_module, exports) { - -/** - * @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'; - - function noop() { - return undefined; - } - - 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 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 newPromise(resolve => resolve(value)); - } - // https://webidl.spec.whatwg.org/#a-promise-rejected-with - function promiseRejectedWith(reason) { - return originalPromiseReject(reason); - } - function PerformPromiseThen(promise, onFulfilled, onRejected) { - // There doesn't appear to be any way to correctly emulate the behaviour from JavaScript, so this is just an - // 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); - } - function uponFulfillment(promise, onFulfilled) { - uponPromise(promise, onFulfilled); - } - function uponRejection(promise, onRejected) { - uponPromise(promise, undefined, onRejected); - } - function transformPromiseWith(promise, fulfillmentHandler, rejectionHandler) { - return PerformPromiseThen(promise, fulfillmentHandler, rejectionHandler); - } - function setPromiseIsHandledToTrue(promise) { - PerformPromiseThen(promise, undefined, rethrowAssertionErrorRejection); - } - let _queueMicrotask = callback => { - if (typeof queueMicrotask === 'function') { - _queueMicrotask = queueMicrotask; - } - 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'); - } - return Function.prototype.apply.call(F, V, args); - } - function promiseCall(F, V, args) { - try { - return promiseResolvedWith(reflectCall(F, V, args)); - } - catch (value) { - return promiseRejectedWith(value); - } - } - - // Original from Chromium - // https://chromium.googlesource.com/chromium/src/+/0aee4434a4dba42a42abaea9bfbc0cd196a63bc1/third_party/blink/renderer/core/streams/SimpleQueue.js - const QUEUE_MAX_ARRAY_SIZE = 16384; - /** - * Simple queue structure. - * - * Avoids scalability issues with using a packed array directly by using - * multiple arrays in a linked list and keeping the array size bounded. - */ - class SimpleQueue { - constructor() { - this._cursor = 0; - this._size = 0; - // _front and _back are always defined. - this._front = { - _elements: [], - _next: undefined - }; - this._back = this._front; - // The cursor is used to avoid calling Array.shift(). - // It contains the index of the front element of the array inside the - // front-most node. It is always in the range [0, QUEUE_MAX_ARRAY_SIZE). - this._cursor = 0; - // When there is only one node, size === elements.length - cursor. - this._size = 0; - } - get length() { - return this._size; - } - // For exception safety, this method is structured in order: - // 1. Read state - // 2. Calculate required state mutations - // 3. Perform state mutations - push(element) { - const oldBack = this._back; - let newBack = oldBack; - if (oldBack._elements.length === QUEUE_MAX_ARRAY_SIZE - 1) { - newBack = { - _elements: [], - _next: undefined - }; - } - // push() is the mutation most likely to throw an exception, so it - // goes first. - oldBack._elements.push(element); - if (newBack !== oldBack) { - this._back = newBack; - oldBack._next = newBack; - } - ++this._size; - } - // Like push(), shift() follows the read -> calculate -> mutate pattern for - // exception safety. - shift() { // must not be called on an empty queue - const oldFront = this._front; - let newFront = oldFront; - const oldCursor = this._cursor; - let newCursor = oldCursor + 1; - const elements = oldFront._elements; - const element = elements[oldCursor]; - if (newCursor === QUEUE_MAX_ARRAY_SIZE) { - newFront = oldFront._next; - newCursor = 0; - } - // No mutations before this point. - --this._size; - this._cursor = newCursor; - if (oldFront !== newFront) { - this._front = newFront; - } - // Permit shifted element to be garbage collected. - elements[oldCursor] = undefined; - return element; - } - // The tricky thing about forEach() is that it can be called - // re-entrantly. The queue may be mutated inside the callback. It is easy to - // see that push() within the callback has no negative effects since the end - // of the queue is checked for on every iteration. If shift() is called - // repeatedly within the callback then the next iteration may return an - // element that has been removed. In this case the callback will be called - // with undefined values until we either "catch up" with elements that still - // exist or reach the back of the queue. - forEach(callback) { - let i = this._cursor; - let node = this._front; - let elements = node._elements; - while (i !== elements.length || node._next !== undefined) { - if (i === elements.length) { - node = node._next; - elements = node._elements; - i = 0; - if (elements.length === 0) { - break; - } - } - callback(elements[i]); - ++i; - } - } - // Return the element that would be returned if shift() was called now, - // without modifying the queue. - peek() { // must not be called on an empty queue - const front = this._front; - const cursor = this._cursor; - return front._elements[cursor]; - } - } - - 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; - if (stream._state === 'readable') { - defaultReaderClosedPromiseInitialize(reader); - } - else if (stream._state === 'closed') { - defaultReaderClosedPromiseInitializeAsResolved(reader); - } - else { - defaultReaderClosedPromiseInitializeAsRejected(reader, stream._storedError); - } - } - // A client of ReadableStreamDefaultReader and ReadableStreamBYOBReader may use these functions directly to bypass state - // check. - function ReadableStreamReaderGenericCancel(reader, reason) { - const stream = reader._ownerReadableStream; - return ReadableStreamCancel(stream, reason); - } - function ReadableStreamReaderGenericRelease(reader) { - 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`)); - } - stream._readableStreamController[ReleaseSteps](); - stream._reader = undefined; - reader._ownerReadableStream = undefined; - } - // Helper functions for the readers. - function readerLockException(name) { - return new TypeError('Cannot ' + name + ' a stream using a released reader'); - } - // Helper functions for the ReadableStreamDefaultReader. - function defaultReaderClosedPromiseInitialize(reader) { - reader._closedPromise = newPromise((resolve, reject) => { - reader._closedPromise_resolve = resolve; - reader._closedPromise_reject = reject; - }); - } - function defaultReaderClosedPromiseInitializeAsRejected(reader, reason) { - defaultReaderClosedPromiseInitialize(reader); - defaultReaderClosedPromiseReject(reader, reason); - } - function defaultReaderClosedPromiseInitializeAsResolved(reader) { - defaultReaderClosedPromiseInitialize(reader); - defaultReaderClosedPromiseResolve(reader); - } - function defaultReaderClosedPromiseReject(reader, reason) { - if (reader._closedPromise_reject === undefined) { - return; - } - setPromiseIsHandledToTrue(reader._closedPromise); - reader._closedPromise_reject(reason); - reader._closedPromise_resolve = undefined; - reader._closedPromise_reject = undefined; - } - function defaultReaderClosedPromiseResetToRejected(reader, reason) { - defaultReaderClosedPromiseInitializeAsRejected(reader, reason); - } - function defaultReaderClosedPromiseResolve(reader) { - if (reader._closedPromise_resolve === undefined) { - return; - } - reader._closedPromise_resolve(undefined); - reader._closedPromise_resolve = undefined; - reader._closedPromise_reject = undefined; - } - - /// - // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite#Polyfill - const NumberIsFinite = Number.isFinite || function (x) { - return typeof x === 'number' && isFinite(x); - }; - - /// - // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc#Polyfill - const MathTrunc = Math.trunc || function (v) { - return v < 0 ? Math.ceil(v) : Math.floor(v); - }; - - // https://heycam.github.io/webidl/#idl-dictionaries - function isDictionary(x) { - return typeof x === 'object' || typeof x === 'function'; - } - function assertDictionary(obj, context) { - if (obj !== undefined && !isDictionary(obj)) { - throw new TypeError(`${context} is not an object.`); - } - } - // https://heycam.github.io/webidl/#idl-callback-functions - function assertFunction(x, context) { - if (typeof x !== 'function') { - throw new TypeError(`${context} is not a function.`); - } - } - // https://heycam.github.io/webidl/#idl-object - function isObject(x) { - return (typeof x === 'object' && x !== null) || typeof x === 'function'; - } - function assertObject(x, context) { - if (!isObject(x)) { - throw new TypeError(`${context} is not an object.`); - } - } - function assertRequiredArgument(x, position, context) { - if (x === undefined) { - throw new TypeError(`Parameter ${position} is required in '${context}'.`); - } - } - function assertRequiredField(x, field, context) { - if (x === undefined) { - throw new TypeError(`${field} is required in '${context}'.`); - } - } - // https://heycam.github.io/webidl/#idl-unrestricted-double - function convertUnrestrictedDouble(value) { - return Number(value); - } - function censorNegativeZero(x) { - return x === 0 ? 0 : x; - } - function integerPart(x) { - return censorNegativeZero(MathTrunc(x)); - } - // https://heycam.github.io/webidl/#idl-unsigned-long-long - function convertUnsignedLongLongWithEnforceRange(value, context) { - const lowerBound = 0; - const upperBound = Number.MAX_SAFE_INTEGER; - let x = Number(value); - x = censorNegativeZero(x); - if (!NumberIsFinite(x)) { - throw new TypeError(`${context} is not a finite number`); - } - x = integerPart(x); - if (x < lowerBound || x > upperBound) { - throw new TypeError(`${context} is outside the accepted range of ${lowerBound} to ${upperBound}, inclusive`); - } - if (!NumberIsFinite(x) || x === 0) { - return 0; - } - // TODO Use BigInt if supported? - // let xBigInt = BigInt(integerPart(x)); - // xBigInt = BigInt.asUintN(64, xBigInt); - // return Number(xBigInt); - return x; - } - - function assertReadableStream(x, context) { - if (!IsReadableStream(x)) { - throw new TypeError(`${context} is not a ReadableStream.`); - } - } - - // Abstract operations for the ReadableStream. - function AcquireReadableStreamDefaultReader(stream) { - return new ReadableStreamDefaultReader(stream); - } - // ReadableStream API exposed for controllers. - function ReadableStreamAddReadRequest(stream, readRequest) { - stream._reader._readRequests.push(readRequest); - } - function ReadableStreamFulfillReadRequest(stream, chunk, done) { - const reader = stream._reader; - const readRequest = reader._readRequests.shift(); - if (done) { - readRequest._closeSteps(); - } - else { - readRequest._chunkSteps(chunk); - } - } - function ReadableStreamGetNumReadRequests(stream) { - return stream._reader._readRequests.length; - } - function ReadableStreamHasDefaultReader(stream) { - const reader = stream._reader; - if (reader === undefined) { - return false; - } - if (!IsReadableStreamDefaultReader(reader)) { - return false; - } - return true; - } - /** - * A default reader vended by a {@link ReadableStream}. - * - * @public - */ - class ReadableStreamDefaultReader { - constructor(stream) { - assertRequiredArgument(stream, 1, 'ReadableStreamDefaultReader'); - assertReadableStream(stream, 'First parameter'); - if (IsReadableStreamLocked(stream)) { - throw new TypeError('This stream has already been locked for exclusive reading by another reader'); - } - ReadableStreamReaderGenericInitialize(this, stream); - this._readRequests = new SimpleQueue(); - } - /** - * Returns a promise that will be fulfilled when the stream becomes closed, - * or rejected if the stream ever errors or the reader's lock is released before the stream finishes closing. - */ - get closed() { - if (!IsReadableStreamDefaultReader(this)) { - return promiseRejectedWith(defaultReaderBrandCheckException('closed')); - } - return this._closedPromise; - } - /** - * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}. - */ - cancel(reason = undefined) { - if (!IsReadableStreamDefaultReader(this)) { - return promiseRejectedWith(defaultReaderBrandCheckException('cancel')); - } - if (this._ownerReadableStream === undefined) { - return promiseRejectedWith(readerLockException('cancel')); - } - return ReadableStreamReaderGenericCancel(this, reason); - } - /** - * Returns a promise that allows access to the next chunk from the stream's internal queue, if available. - * - * If reading a chunk causes the queue to become empty, more data will be pulled from the underlying source. - */ - read() { - if (!IsReadableStreamDefaultReader(this)) { - return promiseRejectedWith(defaultReaderBrandCheckException('read')); - } - if (this._ownerReadableStream === undefined) { - return promiseRejectedWith(readerLockException('read from')); - } - let resolvePromise; - let rejectPromise; - const promise = newPromise((resolve, reject) => { - resolvePromise = resolve; - rejectPromise = reject; - }); - const readRequest = { - _chunkSteps: chunk => resolvePromise({ value: chunk, done: false }), - _closeSteps: () => resolvePromise({ value: undefined, done: true }), - _errorSteps: e => rejectPromise(e) - }; - ReadableStreamDefaultReaderRead(this, readRequest); - return promise; - } - /** - * Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active. - * If the associated stream is errored when the lock is released, the reader will appear errored in the same way - * from now on; otherwise, the reader will appear closed. - * - * A reader's lock cannot be released while it still has a pending read request, i.e., if a promise returned by - * the reader's {@link ReadableStreamDefaultReader.read | read()} method has not yet been settled. Attempting to - * do so will throw a `TypeError` and leave the reader locked to the stream. - */ - releaseLock() { - if (!IsReadableStreamDefaultReader(this)) { - throw defaultReaderBrandCheckException('releaseLock'); - } - if (this._ownerReadableStream === undefined) { - return; - } - ReadableStreamDefaultReaderRelease(this); - } - } - Object.defineProperties(ReadableStreamDefaultReader.prototype, { - cancel: { enumerable: true }, - read: { enumerable: true }, - releaseLock: { enumerable: true }, - closed: { enumerable: true } - }); - setFunctionName(ReadableStreamDefaultReader.prototype.cancel, 'cancel'); - setFunctionName(ReadableStreamDefaultReader.prototype.read, 'read'); - setFunctionName(ReadableStreamDefaultReader.prototype.releaseLock, 'releaseLock'); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(ReadableStreamDefaultReader.prototype, Symbol.toStringTag, { - value: 'ReadableStreamDefaultReader', - configurable: true - }); - } - // Abstract operations for the readers. - function IsReadableStreamDefaultReader(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_readRequests')) { - return false; - } - return x instanceof ReadableStreamDefaultReader; - } - function ReadableStreamDefaultReaderRead(reader, readRequest) { - const stream = reader._ownerReadableStream; - stream._disturbed = true; - if (stream._state === 'closed') { - readRequest._closeSteps(); - } - else if (stream._state === 'errored') { - readRequest._errorSteps(stream._storedError); - } - else { - 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`); - } - - /// - /* eslint-disable @typescript-eslint/no-empty-function */ - const AsyncIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf(async function* () { }).prototype); - - /// - class ReadableStreamAsyncIteratorImpl { - constructor(reader, preventCancel) { - this._ongoingPromise = undefined; - this._isFinished = false; - this._reader = reader; - this._preventCancel = preventCancel; - } - next() { - const nextSteps = () => this._nextSteps(); - this._ongoingPromise = this._ongoingPromise ? - transformPromiseWith(this._ongoingPromise, nextSteps, nextSteps) : - nextSteps(); - return this._ongoingPromise; - } - return(value) { - const returnSteps = () => this._returnSteps(value); - return this._ongoingPromise ? - transformPromiseWith(this._ongoingPromise, returnSteps, returnSteps) : - returnSteps(); - } - _nextSteps() { - if (this._isFinished) { - return Promise.resolve({ value: undefined, done: true }); - } - const reader = this._reader; - let resolvePromise; - let rejectPromise; - const promise = newPromise((resolve, reject) => { - resolvePromise = resolve; - rejectPromise = reject; - }); - const readRequest = { - _chunkSteps: chunk => { - 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 })); - }, - _closeSteps: () => { - this._ongoingPromise = undefined; - this._isFinished = true; - ReadableStreamReaderGenericRelease(reader); - resolvePromise({ value: undefined, done: true }); - }, - _errorSteps: reason => { - this._ongoingPromise = undefined; - this._isFinished = true; - ReadableStreamReaderGenericRelease(reader); - rejectPromise(reason); - } - }; - ReadableStreamDefaultReaderRead(reader, readRequest); - return promise; - } - _returnSteps(value) { - if (this._isFinished) { - return Promise.resolve({ value, done: true }); - } - this._isFinished = true; - const reader = this._reader; - if (!this._preventCancel) { - const result = ReadableStreamReaderGenericCancel(reader, value); - ReadableStreamReaderGenericRelease(reader); - return transformPromiseWith(result, () => ({ value, done: true })); - } - ReadableStreamReaderGenericRelease(reader); - return promiseResolvedWith({ value, done: true }); - } - } - const ReadableStreamAsyncIteratorPrototype = { - next() { - if (!IsReadableStreamAsyncIterator(this)) { - return promiseRejectedWith(streamAsyncIteratorBrandCheckException('next')); - } - return this._asyncIteratorImpl.next(); - }, - return(value) { - if (!IsReadableStreamAsyncIterator(this)) { - return promiseRejectedWith(streamAsyncIteratorBrandCheckException('return')); - } - return this._asyncIteratorImpl.return(value); - } - }; - Object.setPrototypeOf(ReadableStreamAsyncIteratorPrototype, AsyncIteratorPrototype); - // Abstract operations for the ReadableStream. - function AcquireReadableStreamAsyncIterator(stream, preventCancel) { - const reader = AcquireReadableStreamDefaultReader(stream); - const impl = new ReadableStreamAsyncIteratorImpl(reader, preventCancel); - const iterator = Object.create(ReadableStreamAsyncIteratorPrototype); - iterator._asyncIteratorImpl = impl; - return iterator; - } - function IsReadableStreamAsyncIterator(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_asyncIteratorImpl')) { - return false; - } - try { - // noinspection SuspiciousTypeOfGuard - return x._asyncIteratorImpl instanceof - ReadableStreamAsyncIteratorImpl; - } - catch (_a) { - return false; - } - } - // Helper functions for the ReadableStream. - function streamAsyncIteratorBrandCheckException(name) { - return new TypeError(`ReadableStreamAsyncIterator.${name} can only be used on a ReadableSteamAsyncIterator`); - } - - /// - // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN#Polyfill - const NumberIsNaN = Number.isNaN || function (x) { - // eslint-disable-next-line no-self-compare - 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. - return elements.slice(); - } - function CopyDataBlockBytes(dest, destOffset, src, srcOffset, n) { - new Uint8Array(dest).set(new Uint8Array(src, srcOffset, n), destOffset); - } - 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 - if (buffer.slice) { - return buffer.slice(begin, end); - } - const length = end - begin; - const slice = new ArrayBuffer(length); - 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') { - return false; - } - if (NumberIsNaN(v)) { - return false; - } - if (v < 0) { - return false; - } - return true; - } - function CloneAsUint8Array(O) { - const buffer = ArrayBufferSlice(O.buffer, O.byteOffset, O.byteOffset + O.byteLength); - return new Uint8Array(buffer); - } - - function DequeueValue(container) { - const pair = container._queue.shift(); - container._queueTotalSize -= pair.size; - if (container._queueTotalSize < 0) { - container._queueTotalSize = 0; - } - return pair.value; - } - function EnqueueValueWithSize(container, value, size) { - if (!IsNonNegativeNumber(size) || size === Infinity) { - throw new RangeError('Size must be a finite, non-NaN, non-negative number.'); - } - container._queue.push({ value, size }); - container._queueTotalSize += size; - } - function PeekQueueValue(container) { - const pair = container._queue.peek(); - return pair.value; - } - function ResetQueue(container) { - container._queue = new SimpleQueue(); - 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}. - * - * @public - */ - class ReadableStreamBYOBRequest { - constructor() { - throw new TypeError('Illegal constructor'); - } - /** - * Returns the view for writing in to, or `null` if the BYOB request has already been responded to. - */ - get view() { - if (!IsReadableStreamBYOBRequest(this)) { - throw byobRequestBrandCheckException('view'); - } - return this._view; - } - respond(bytesWritten) { - if (!IsReadableStreamBYOBRequest(this)) { - throw byobRequestBrandCheckException('respond'); - } - assertRequiredArgument(bytesWritten, 1, 'respond'); - bytesWritten = convertUnsignedLongLongWithEnforceRange(bytesWritten, 'First parameter'); - if (this._associatedReadableByteStreamController === undefined) { - throw new TypeError('This BYOB request has been invalidated'); - } - if (IsDetachedBuffer(this._view.buffer)) { - throw new TypeError(`The BYOB request's buffer has been detached and so cannot be used as a response`); - } - ReadableByteStreamControllerRespond(this._associatedReadableByteStreamController, bytesWritten); - } - respondWithNewView(view) { - if (!IsReadableStreamBYOBRequest(this)) { - throw byobRequestBrandCheckException('respondWithNewView'); - } - assertRequiredArgument(view, 1, 'respondWithNewView'); - if (!ArrayBuffer.isView(view)) { - throw new TypeError('You can only respond with array buffer views'); - } - if (this._associatedReadableByteStreamController === undefined) { - throw new TypeError('This BYOB request has been invalidated'); - } - if (IsDetachedBuffer(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); - } - } - Object.defineProperties(ReadableStreamBYOBRequest.prototype, { - respond: { enumerable: true }, - respondWithNewView: { enumerable: true }, - view: { enumerable: true } - }); - setFunctionName(ReadableStreamBYOBRequest.prototype.respond, 'respond'); - setFunctionName(ReadableStreamBYOBRequest.prototype.respondWithNewView, 'respondWithNewView'); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(ReadableStreamBYOBRequest.prototype, Symbol.toStringTag, { - value: 'ReadableStreamBYOBRequest', - configurable: true - }); - } - /** - * Allows control of a {@link ReadableStream | readable byte stream}'s state and internal queue. - * - * @public - */ - class ReadableByteStreamController { - constructor() { - throw new TypeError('Illegal constructor'); - } - /** - * Returns the current BYOB pull request, or `null` if there isn't one. - */ - get byobRequest() { - if (!IsReadableByteStreamController(this)) { - throw byteStreamControllerBrandCheckException('byobRequest'); - } - return ReadableByteStreamControllerGetBYOBRequest(this); - } - /** - * Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is - * over-full. An underlying byte source ought to use this information to determine when and how to apply backpressure. - */ - get desiredSize() { - if (!IsReadableByteStreamController(this)) { - throw byteStreamControllerBrandCheckException('desiredSize'); - } - return ReadableByteStreamControllerGetDesiredSize(this); - } - /** - * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from - * the stream, but once those are read, the stream will become closed. - */ - close() { - if (!IsReadableByteStreamController(this)) { - throw byteStreamControllerBrandCheckException('close'); - } - if (this._closeRequested) { - throw new TypeError('The stream has already been closed; do not close it again!'); - } - const state = this._controlledReadableByteStream._state; - if (state !== 'readable') { - throw new TypeError(`The stream (in ${state} state) is not in the readable state and cannot be closed`); - } - ReadableByteStreamControllerClose(this); - } - enqueue(chunk) { - if (!IsReadableByteStreamController(this)) { - throw byteStreamControllerBrandCheckException('enqueue'); - } - assertRequiredArgument(chunk, 1, 'enqueue'); - if (!ArrayBuffer.isView(chunk)) { - throw new TypeError('chunk must be an array buffer view'); - } - if (chunk.byteLength === 0) { - throw new TypeError('chunk must have non-zero byteLength'); - } - if (chunk.buffer.byteLength === 0) { - throw new TypeError(`chunk's buffer must have non-zero byteLength`); - } - if (this._closeRequested) { - throw new TypeError('stream is closed or draining'); - } - const state = this._controlledReadableByteStream._state; - if (state !== 'readable') { - throw new TypeError(`The stream (in ${state} state) is not in the readable state and cannot be enqueued to`); - } - ReadableByteStreamControllerEnqueue(this, chunk); - } - /** - * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`. - */ - error(e = undefined) { - if (!IsReadableByteStreamController(this)) { - throw byteStreamControllerBrandCheckException('error'); - } - ReadableByteStreamControllerError(this, e); - } - /** @internal */ - [CancelSteps](reason) { - ReadableByteStreamControllerClearPendingPullIntos(this); - ResetQueue(this); - const result = this._cancelAlgorithm(reason); - ReadableByteStreamControllerClearAlgorithms(this); - return result; - } - /** @internal */ - [PullSteps](readRequest) { - const stream = this._controlledReadableByteStream; - if (this._queueTotalSize > 0) { - ReadableByteStreamControllerFillReadRequestFromQueue(this, readRequest); - return; - } - const autoAllocateChunkSize = this._autoAllocateChunkSize; - if (autoAllocateChunkSize !== undefined) { - let buffer; - try { - buffer = new ArrayBuffer(autoAllocateChunkSize); - } - catch (bufferE) { - readRequest._errorSteps(bufferE); - return; - } - const pullIntoDescriptor = { - buffer, - bufferByteLength: autoAllocateChunkSize, - byteOffset: 0, - byteLength: autoAllocateChunkSize, - bytesFilled: 0, - minimumFill: 1, - elementSize: 1, - viewConstructor: Uint8Array, - readerType: 'default' - }; - this._pendingPullIntos.push(pullIntoDescriptor); - } - 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 }, - enqueue: { enumerable: true }, - error: { enumerable: true }, - byobRequest: { enumerable: true }, - desiredSize: { enumerable: true } - }); - setFunctionName(ReadableByteStreamController.prototype.close, 'close'); - setFunctionName(ReadableByteStreamController.prototype.enqueue, 'enqueue'); - setFunctionName(ReadableByteStreamController.prototype.error, 'error'); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(ReadableByteStreamController.prototype, Symbol.toStringTag, { - value: 'ReadableByteStreamController', - configurable: true - }); - } - // Abstract operations for the ReadableByteStreamController. - function IsReadableByteStreamController(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_controlledReadableByteStream')) { - return false; - } - return x instanceof ReadableByteStreamController; - } - function IsReadableStreamBYOBRequest(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_associatedReadableByteStreamController')) { - return false; - } - return x instanceof ReadableStreamBYOBRequest; - } - function ReadableByteStreamControllerCallPullIfNeeded(controller) { - const shouldPull = ReadableByteStreamControllerShouldCallPull(controller); - if (!shouldPull) { - return; - } - if (controller._pulling) { - controller._pullAgain = true; - return; - } - controller._pulling = true; - // TODO: Test controller argument - const pullPromise = controller._pullAlgorithm(); - uponPromise(pullPromise, () => { - controller._pulling = false; - if (controller._pullAgain) { - controller._pullAgain = false; - ReadableByteStreamControllerCallPullIfNeeded(controller); - } - return null; - }, e => { - ReadableByteStreamControllerError(controller, e); - return null; - }); - } - function ReadableByteStreamControllerClearPendingPullIntos(controller) { - ReadableByteStreamControllerInvalidateBYOBRequest(controller); - controller._pendingPullIntos = new SimpleQueue(); - } - function ReadableByteStreamControllerCommitPullIntoDescriptor(stream, pullIntoDescriptor) { - let done = false; - if (stream._state === 'closed') { - done = true; - } - const filledView = ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor); - if (pullIntoDescriptor.readerType === 'default') { - ReadableStreamFulfillReadRequest(stream, filledView, done); - } - else { - ReadableStreamFulfillReadIntoRequest(stream, filledView, done); - } - } - function ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor) { - const bytesFilled = pullIntoDescriptor.bytesFilled; - const elementSize = pullIntoDescriptor.elementSize; - return new pullIntoDescriptor.viewConstructor(pullIntoDescriptor.buffer, pullIntoDescriptor.byteOffset, bytesFilled / elementSize); - } - function ReadableByteStreamControllerEnqueueChunkToQueue(controller, buffer, byteOffset, byteLength) { - 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 maxBytesToCopy = Math.min(controller._queueTotalSize, pullIntoDescriptor.byteLength - pullIntoDescriptor.bytesFilled); - const maxBytesFilled = pullIntoDescriptor.bytesFilled + maxBytesToCopy; - let totalBytesToCopyRemaining = maxBytesToCopy; - let ready = false; - 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; - } - const queue = controller._queue; - while (totalBytesToCopyRemaining > 0) { - const headOfQueue = queue.peek(); - const bytesToCopy = Math.min(totalBytesToCopyRemaining, headOfQueue.byteLength); - const destStart = pullIntoDescriptor.byteOffset + pullIntoDescriptor.bytesFilled; - CopyDataBlockBytes(pullIntoDescriptor.buffer, destStart, headOfQueue.buffer, headOfQueue.byteOffset, bytesToCopy); - if (headOfQueue.byteLength === bytesToCopy) { - queue.shift(); - } - else { - headOfQueue.byteOffset += bytesToCopy; - headOfQueue.byteLength -= bytesToCopy; - } - controller._queueTotalSize -= bytesToCopy; - ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, bytesToCopy, pullIntoDescriptor); - totalBytesToCopyRemaining -= bytesToCopy; - } - return ready; - } - function ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, size, pullIntoDescriptor) { - pullIntoDescriptor.bytesFilled += size; - } - function ReadableByteStreamControllerHandleQueueDrain(controller) { - if (controller._queueTotalSize === 0 && controller._closeRequested) { - ReadableByteStreamControllerClearAlgorithms(controller); - ReadableStreamClose(controller._controlledReadableByteStream); - } - else { - ReadableByteStreamControllerCallPullIfNeeded(controller); - } - } - function ReadableByteStreamControllerInvalidateBYOBRequest(controller) { - if (controller._byobRequest === null) { - return; - } - controller._byobRequest._associatedReadableByteStreamController = undefined; - controller._byobRequest._view = null; - controller._byobRequest = null; - } - function ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller) { - while (controller._pendingPullIntos.length > 0) { - if (controller._queueTotalSize === 0) { - return; - } - const pullIntoDescriptor = controller._pendingPullIntos.peek(); - if (ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor)) { - ReadableByteStreamControllerShiftPendingPullInto(controller); - ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream, pullIntoDescriptor); - } - } - } - 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; - 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, - byteLength, - bytesFilled: 0, - minimumFill, - elementSize, - viewConstructor: ctor, - readerType: 'byob' - }; - if (controller._pendingPullIntos.length > 0) { - controller._pendingPullIntos.push(pullIntoDescriptor); - // No ReadableByteStreamControllerCallPullIfNeeded() call since: - // - No change happens on desiredSize - // - The source has already been notified of that there's at least 1 pending read(view) - ReadableStreamAddReadIntoRequest(stream, readIntoRequest); - return; - } - if (stream._state === 'closed') { - const emptyView = new ctor(pullIntoDescriptor.buffer, pullIntoDescriptor.byteOffset, 0); - readIntoRequest._closeSteps(emptyView); - return; - } - if (controller._queueTotalSize > 0) { - if (ReadableByteStreamControllerFillPullIntoDescriptorFromQueue(controller, pullIntoDescriptor)) { - const filledView = ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor); - ReadableByteStreamControllerHandleQueueDrain(controller); - readIntoRequest._chunkSteps(filledView); - return; - } - if (controller._closeRequested) { - const e = new TypeError('Insufficient bytes to fill elements in the given buffer'); - ReadableByteStreamControllerError(controller, e); - readIntoRequest._errorSteps(e); - return; - } - } - controller._pendingPullIntos.push(pullIntoDescriptor); - ReadableStreamAddReadIntoRequest(stream, readIntoRequest); - ReadableByteStreamControllerCallPullIfNeeded(controller); - } - function ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor) { - if (firstDescriptor.readerType === 'none') { - ReadableByteStreamControllerShiftPendingPullInto(controller); - } - const stream = controller._controlledReadableByteStream; - if (ReadableStreamHasBYOBReader(stream)) { - while (ReadableStreamGetNumReadIntoRequests(stream) > 0) { - const pullIntoDescriptor = ReadableByteStreamControllerShiftPendingPullInto(controller); - ReadableByteStreamControllerCommitPullIntoDescriptor(stream, pullIntoDescriptor); - } - } - } - function ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, pullIntoDescriptor) { - ReadableByteStreamControllerFillHeadPullIntoDescriptor(controller, bytesWritten, pullIntoDescriptor); - 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; - ReadableByteStreamControllerEnqueueClonedChunkToQueue(controller, pullIntoDescriptor.buffer, end - remainderSize, remainderSize); - } - pullIntoDescriptor.bytesFilled -= remainderSize; - ReadableByteStreamControllerCommitPullIntoDescriptor(controller._controlledReadableByteStream, pullIntoDescriptor); - ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller); - } - function ReadableByteStreamControllerRespondInternal(controller, bytesWritten) { - const firstDescriptor = controller._pendingPullIntos.peek(); - ReadableByteStreamControllerInvalidateBYOBRequest(controller); - const state = controller._controlledReadableByteStream._state; - if (state === 'closed') { - ReadableByteStreamControllerRespondInClosedState(controller, firstDescriptor); - } - else { - ReadableByteStreamControllerRespondInReadableState(controller, bytesWritten, firstDescriptor); - } - ReadableByteStreamControllerCallPullIfNeeded(controller); - } - function ReadableByteStreamControllerShiftPendingPullInto(controller) { - const descriptor = controller._pendingPullIntos.shift(); - return descriptor; - } - function ReadableByteStreamControllerShouldCallPull(controller) { - const stream = controller._controlledReadableByteStream; - if (stream._state !== 'readable') { - return false; - } - if (controller._closeRequested) { - return false; - } - if (!controller._started) { - return false; - } - if (ReadableStreamHasDefaultReader(stream) && ReadableStreamGetNumReadRequests(stream) > 0) { - return true; - } - if (ReadableStreamHasBYOBReader(stream) && ReadableStreamGetNumReadIntoRequests(stream) > 0) { - return true; - } - const desiredSize = ReadableByteStreamControllerGetDesiredSize(controller); - if (desiredSize > 0) { - return true; - } - return false; - } - function ReadableByteStreamControllerClearAlgorithms(controller) { - controller._pullAlgorithm = undefined; - controller._cancelAlgorithm = undefined; - } - // A client of ReadableByteStreamController may use these functions directly to bypass state check. - function ReadableByteStreamControllerClose(controller) { - const stream = controller._controlledReadableByteStream; - if (controller._closeRequested || stream._state !== 'readable') { - return; - } - if (controller._queueTotalSize > 0) { - controller._closeRequested = true; - return; - } - if (controller._pendingPullIntos.length > 0) { - const firstPendingPullInto = controller._pendingPullIntos.peek(); - if (firstPendingPullInto.bytesFilled % firstPendingPullInto.elementSize !== 0) { - const e = new TypeError('Insufficient bytes to fill elements in the given buffer'); - ReadableByteStreamControllerError(controller, e); - throw e; - } - } - ReadableByteStreamControllerClearAlgorithms(controller); - ReadableStreamClose(stream); - } - function ReadableByteStreamControllerEnqueue(controller, chunk) { - const stream = controller._controlledReadableByteStream; - if (controller._closeRequested || stream._state !== 'readable') { - return; - } - 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)) { - 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); - } - } - if (ReadableStreamHasDefaultReader(stream)) { - ReadableByteStreamControllerProcessReadRequestsUsingQueue(controller); - if (ReadableStreamGetNumReadRequests(stream) === 0) { - ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength); - } - else { - if (controller._pendingPullIntos.length > 0) { - ReadableByteStreamControllerShiftPendingPullInto(controller); - } - const transferredView = new Uint8Array(transferredBuffer, byteOffset, byteLength); - ReadableStreamFulfillReadRequest(stream, transferredView, false); - } - } - else if (ReadableStreamHasBYOBReader(stream)) { - // TODO: Ideally in this branch detaching should happen only if the buffer is not consumed fully. - ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength); - ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue(controller); - } - else { - ReadableByteStreamControllerEnqueueChunkToQueue(controller, transferredBuffer, byteOffset, byteLength); - } - ReadableByteStreamControllerCallPullIfNeeded(controller); - } - function ReadableByteStreamControllerError(controller, e) { - const stream = controller._controlledReadableByteStream; - if (stream._state !== 'readable') { - return; - } - ReadableByteStreamControllerClearPendingPullIntos(controller); - ResetQueue(controller); - 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(); - const view = new Uint8Array(firstDescriptor.buffer, firstDescriptor.byteOffset + firstDescriptor.bytesFilled, firstDescriptor.byteLength - firstDescriptor.bytesFilled); - const byobRequest = Object.create(ReadableStreamBYOBRequest.prototype); - SetUpReadableStreamBYOBRequest(byobRequest, controller, view); - controller._byobRequest = byobRequest; - } - return controller._byobRequest; - } - function ReadableByteStreamControllerGetDesiredSize(controller) { - const state = controller._controlledReadableByteStream._state; - if (state === 'errored') { - return null; - } - if (state === 'closed') { - return 0; - } - return controller._strategyHWM - controller._queueTotalSize; - } - function ReadableByteStreamControllerRespond(controller, bytesWritten) { - const firstDescriptor = controller._pendingPullIntos.peek(); - const state = controller._controlledReadableByteStream._state; - if (state === 'closed') { - if (bytesWritten !== 0) { - throw new TypeError('bytesWritten must be 0 when calling respond() on a closed stream'); - } - } - else { - if (bytesWritten === 0) { - throw new TypeError('bytesWritten must be greater than 0 when calling respond() on a readable stream'); - } - if (firstDescriptor.bytesFilled + bytesWritten > firstDescriptor.byteLength) { - throw new RangeError('bytesWritten out of range'); - } - } - firstDescriptor.buffer = TransferArrayBuffer(firstDescriptor.buffer); - ReadableByteStreamControllerRespondInternal(controller, bytesWritten); - } - function ReadableByteStreamControllerRespondWithNewView(controller, view) { - const firstDescriptor = controller._pendingPullIntos.peek(); - const state = controller._controlledReadableByteStream._state; - if (state === 'closed') { - if (view.byteLength !== 0) { - throw new TypeError('The view\'s length must be 0 when calling respondWithNewView() on a closed stream'); - } - } - else { - if (view.byteLength === 0) { - throw new TypeError('The view\'s length must be greater than 0 when calling respondWithNewView() on a readable stream'); - } - } - if (firstDescriptor.byteOffset + firstDescriptor.bytesFilled !== view.byteOffset) { - throw new RangeError('The region specified by view does not match byobRequest'); - } - if (firstDescriptor.bufferByteLength !== view.buffer.byteLength) { - throw new RangeError('The buffer of view has different capacity than byobRequest'); - } - if (firstDescriptor.bytesFilled + view.byteLength > firstDescriptor.byteLength) { - throw new RangeError('The region specified by view is larger than byobRequest'); - } - const viewByteLength = view.byteLength; - firstDescriptor.buffer = TransferArrayBuffer(view.buffer); - ReadableByteStreamControllerRespondInternal(controller, viewByteLength); - } - function SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, autoAllocateChunkSize) { - controller._controlledReadableByteStream = stream; - controller._pullAgain = false; - controller._pulling = false; - controller._byobRequest = null; - // Need to set the slots so that the assert doesn't fire. In the spec the slots already exist implicitly. - controller._queue = controller._queueTotalSize = undefined; - ResetQueue(controller); - controller._closeRequested = false; - controller._started = false; - controller._strategyHWM = highWaterMark; - controller._pullAlgorithm = pullAlgorithm; - controller._cancelAlgorithm = cancelAlgorithm; - controller._autoAllocateChunkSize = autoAllocateChunkSize; - controller._pendingPullIntos = new SimpleQueue(); - stream._readableStreamController = controller; - const startResult = startAlgorithm(); - 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; - 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'); - } - SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, autoAllocateChunkSize); - } - function SetUpReadableStreamBYOBRequest(request, controller, view) { - request._associatedReadableByteStreamController = controller; - request._view = view; - } - // Helper functions for the ReadableStreamBYOBRequest. - function byobRequestBrandCheckException(name) { - return new TypeError(`ReadableStreamBYOBRequest.prototype.${name} can only be used on a ReadableStreamBYOBRequest`); - } - // Helper functions for the ReadableByteStreamController. - function byteStreamControllerBrandCheckException(name) { - 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); - } - // ReadableStream API exposed for controllers. - function ReadableStreamAddReadIntoRequest(stream, readIntoRequest) { - stream._reader._readIntoRequests.push(readIntoRequest); - } - function ReadableStreamFulfillReadIntoRequest(stream, chunk, done) { - const reader = stream._reader; - const readIntoRequest = reader._readIntoRequests.shift(); - if (done) { - readIntoRequest._closeSteps(chunk); - } - else { - readIntoRequest._chunkSteps(chunk); - } - } - function ReadableStreamGetNumReadIntoRequests(stream) { - return stream._reader._readIntoRequests.length; - } - function ReadableStreamHasBYOBReader(stream) { - const reader = stream._reader; - if (reader === undefined) { - return false; - } - if (!IsReadableStreamBYOBReader(reader)) { - return false; - } - return true; - } - /** - * A BYOB reader vended by a {@link ReadableStream}. - * - * @public - */ - class ReadableStreamBYOBReader { - constructor(stream) { - assertRequiredArgument(stream, 1, 'ReadableStreamBYOBReader'); - assertReadableStream(stream, 'First parameter'); - if (IsReadableStreamLocked(stream)) { - throw new TypeError('This stream has already been locked for exclusive reading by another reader'); - } - if (!IsReadableByteStreamController(stream._readableStreamController)) { - throw new TypeError('Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte ' + - 'source'); - } - ReadableStreamReaderGenericInitialize(this, stream); - this._readIntoRequests = new SimpleQueue(); - } - /** - * Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or - * the reader's lock is released before the stream finishes closing. - */ - get closed() { - if (!IsReadableStreamBYOBReader(this)) { - return promiseRejectedWith(byobReaderBrandCheckException('closed')); - } - return this._closedPromise; - } - /** - * If the reader is active, behaves the same as {@link ReadableStream.cancel | stream.cancel(reason)}. - */ - cancel(reason = undefined) { - if (!IsReadableStreamBYOBReader(this)) { - return promiseRejectedWith(byobReaderBrandCheckException('cancel')); - } - if (this._ownerReadableStream === undefined) { - return promiseRejectedWith(readerLockException('cancel')); - } - return ReadableStreamReaderGenericCancel(this, reason); - } - read(view, rawOptions = {}) { - if (!IsReadableStreamBYOBReader(this)) { - return promiseRejectedWith(byobReaderBrandCheckException('read')); - } - if (!ArrayBuffer.isView(view)) { - return promiseRejectedWith(new TypeError('view must be an array buffer view')); - } - if (view.byteLength === 0) { - return promiseRejectedWith(new TypeError('view must have non-zero byteLength')); - } - if (view.buffer.byteLength === 0) { - return promiseRejectedWith(new TypeError(`view's buffer must have non-zero byteLength`)); - } - 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')); - } - let resolvePromise; - let rejectPromise; - const promise = newPromise((resolve, reject) => { - resolvePromise = resolve; - rejectPromise = reject; - }); - const readIntoRequest = { - _chunkSteps: chunk => resolvePromise({ value: chunk, done: false }), - _closeSteps: chunk => resolvePromise({ value: chunk, done: true }), - _errorSteps: e => rejectPromise(e) - }; - ReadableStreamBYOBReaderRead(this, view, min, readIntoRequest); - return promise; - } - /** - * Releases the reader's lock on the corresponding stream. After the lock is released, the reader is no longer active. - * If the associated stream is errored when the lock is released, the reader will appear errored in the same way - * from now on; otherwise, the reader will appear closed. - * - * A reader's lock cannot be released while it still has a pending read request, i.e., if a promise returned by - * the reader's {@link ReadableStreamBYOBReader.read | read()} method has not yet been settled. Attempting to - * do so will throw a `TypeError` and leave the reader locked to the stream. - */ - releaseLock() { - if (!IsReadableStreamBYOBReader(this)) { - throw byobReaderBrandCheckException('releaseLock'); - } - if (this._ownerReadableStream === undefined) { - return; - } - ReadableStreamBYOBReaderRelease(this); - } - } - Object.defineProperties(ReadableStreamBYOBReader.prototype, { - cancel: { enumerable: true }, - read: { enumerable: true }, - releaseLock: { enumerable: true }, - closed: { enumerable: true } - }); - setFunctionName(ReadableStreamBYOBReader.prototype.cancel, 'cancel'); - setFunctionName(ReadableStreamBYOBReader.prototype.read, 'read'); - setFunctionName(ReadableStreamBYOBReader.prototype.releaseLock, 'releaseLock'); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(ReadableStreamBYOBReader.prototype, Symbol.toStringTag, { - value: 'ReadableStreamBYOBReader', - configurable: true - }); - } - // Abstract operations for the readers. - function IsReadableStreamBYOBReader(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_readIntoRequests')) { - return false; - } - return x instanceof ReadableStreamBYOBReader; - } - 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, 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`); - } - - function ExtractHighWaterMark(strategy, defaultHWM) { - const { highWaterMark } = strategy; - if (highWaterMark === undefined) { - return defaultHWM; - } - if (NumberIsNaN(highWaterMark) || highWaterMark < 0) { - throw new RangeError('Invalid highWaterMark'); - } - return highWaterMark; - } - function ExtractSizeAlgorithm(strategy) { - const { size } = strategy; - if (!size) { - return () => 1; - } - return size; - } - - function convertQueuingStrategy(init, context) { - assertDictionary(init, context); - const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark; - const size = init === null || init === void 0 ? void 0 : init.size; - return { - highWaterMark: highWaterMark === undefined ? undefined : convertUnrestrictedDouble(highWaterMark), - size: size === undefined ? undefined : convertQueuingStrategySize(size, `${context} has member 'size' that`) - }; - } - function convertQueuingStrategySize(fn, context) { - assertFunction(fn, context); - return chunk => convertUnrestrictedDouble(fn(chunk)); - } - - function convertUnderlyingSink(original, context) { - assertDictionary(original, context); - const abort = original === null || original === void 0 ? void 0 : original.abort; - const close = original === null || original === void 0 ? void 0 : original.close; - const start = original === null || original === void 0 ? void 0 : original.start; - const type = original === null || original === void 0 ? void 0 : original.type; - const write = original === null || original === void 0 ? void 0 : original.write; - return { - abort: abort === undefined ? - undefined : - convertUnderlyingSinkAbortCallback(abort, original, `${context} has member 'abort' that`), - close: close === undefined ? - undefined : - convertUnderlyingSinkCloseCallback(close, original, `${context} has member 'close' that`), - start: start === undefined ? - undefined : - convertUnderlyingSinkStartCallback(start, original, `${context} has member 'start' that`), - write: write === undefined ? - undefined : - convertUnderlyingSinkWriteCallback(write, original, `${context} has member 'write' that`), - type - }; - } - function convertUnderlyingSinkAbortCallback(fn, original, context) { - assertFunction(fn, context); - return (reason) => promiseCall(fn, original, [reason]); - } - function convertUnderlyingSinkCloseCallback(fn, original, context) { - assertFunction(fn, context); - return () => promiseCall(fn, original, []); - } - function convertUnderlyingSinkStartCallback(fn, original, context) { - assertFunction(fn, context); - return (controller) => reflectCall(fn, original, [controller]); - } - function convertUnderlyingSinkWriteCallback(fn, original, context) { - assertFunction(fn, context); - return (chunk, controller) => promiseCall(fn, original, [chunk, controller]); - } - - function assertWritableStream(x, context) { - if (!IsWritableStream(x)) { - throw new TypeError(`${context} is not a WritableStream.`); - } - } - - function isAbortSignal(value) { - if (typeof value !== 'object' || value === null) { - return false; - } - try { - return typeof value.aborted === 'boolean'; - } - catch (_a) { - // AbortSignal.prototype.aborted throws if its brand check fails - return false; - } - } - const supportsAbortController = typeof AbortController === 'function'; - /** - * Construct a new AbortController, if supported by the platform. - * - * @internal - */ - function createAbortController() { - if (supportsAbortController) { - return new AbortController(); - } - return undefined; - } - - /** - * A writable stream represents a destination for data, into which you can write. - * - * @public - */ - class WritableStream { - constructor(rawUnderlyingSink = {}, rawStrategy = {}) { - if (rawUnderlyingSink === undefined) { - rawUnderlyingSink = null; - } - else { - assertObject(rawUnderlyingSink, 'First parameter'); - } - const strategy = convertQueuingStrategy(rawStrategy, 'Second parameter'); - const underlyingSink = convertUnderlyingSink(rawUnderlyingSink, 'First parameter'); - InitializeWritableStream(this); - const type = underlyingSink.type; - if (type !== undefined) { - throw new RangeError('Invalid type is specified'); - } - const sizeAlgorithm = ExtractSizeAlgorithm(strategy); - const highWaterMark = ExtractHighWaterMark(strategy, 1); - SetUpWritableStreamDefaultControllerFromUnderlyingSink(this, underlyingSink, highWaterMark, sizeAlgorithm); - } - /** - * Returns whether or not the writable stream is locked to a writer. - */ - get locked() { - if (!IsWritableStream(this)) { - throw streamBrandCheckException$2('locked'); - } - return IsWritableStreamLocked(this); - } - /** - * Aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be - * immediately moved to an errored state, with any queued-up writes discarded. This will also execute any abort - * mechanism of the underlying sink. - * - * The returned promise will fulfill if the stream shuts down successfully, or reject if the underlying sink signaled - * that there was an error doing so. Additionally, it will reject with a `TypeError` (without attempting to cancel - * the stream) if the stream is currently locked. - */ - abort(reason = undefined) { - if (!IsWritableStream(this)) { - return promiseRejectedWith(streamBrandCheckException$2('abort')); - } - if (IsWritableStreamLocked(this)) { - return promiseRejectedWith(new TypeError('Cannot abort a stream that already has a writer')); - } - return WritableStreamAbort(this, reason); - } - /** - * Closes the stream. The underlying sink will finish processing any previously-written chunks, before invoking its - * close behavior. During this time any further attempts to write will fail (without erroring the stream). - * - * The method returns a promise that will fulfill if all remaining chunks are successfully written and the stream - * successfully closes, or rejects if an error is encountered during this process. Additionally, it will reject with - * a `TypeError` (without attempting to cancel the stream) if the stream is currently locked. - */ - close() { - if (!IsWritableStream(this)) { - return promiseRejectedWith(streamBrandCheckException$2('close')); - } - if (IsWritableStreamLocked(this)) { - return promiseRejectedWith(new TypeError('Cannot close a stream that already has a writer')); - } - if (WritableStreamCloseQueuedOrInFlight(this)) { - return promiseRejectedWith(new TypeError('Cannot close an already-closing stream')); - } - return WritableStreamClose(this); - } - /** - * Creates a {@link WritableStreamDefaultWriter | writer} and locks the stream to the new writer. While the stream - * is locked, no other writer can be acquired until this one is released. - * - * This functionality is especially useful for creating abstractions that desire the ability to write to a stream - * without interruption or interleaving. By getting a writer for the stream, you can ensure nobody else can write at - * the same time, which would cause the resulting written data to be unpredictable and probably useless. - */ - getWriter() { - if (!IsWritableStream(this)) { - throw streamBrandCheckException$2('getWriter'); - } - return AcquireWritableStreamDefaultWriter(this); - } - } - Object.defineProperties(WritableStream.prototype, { - abort: { enumerable: true }, - close: { enumerable: true }, - getWriter: { enumerable: true }, - locked: { enumerable: true } - }); - setFunctionName(WritableStream.prototype.abort, 'abort'); - setFunctionName(WritableStream.prototype.close, 'close'); - setFunctionName(WritableStream.prototype.getWriter, 'getWriter'); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(WritableStream.prototype, Symbol.toStringTag, { - value: 'WritableStream', - configurable: true - }); - } - // Abstract operations for the WritableStream. - function AcquireWritableStreamDefaultWriter(stream) { - return new WritableStreamDefaultWriter(stream); - } - // Throws if and only if startAlgorithm throws. - function CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) { - const stream = Object.create(WritableStream.prototype); - InitializeWritableStream(stream); - const controller = Object.create(WritableStreamDefaultController.prototype); - SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm); - return stream; - } - function InitializeWritableStream(stream) { - stream._state = 'writable'; - // The error that will be reported by new method calls once the state becomes errored. Only set when [[state]] is - // 'erroring' or 'errored'. May be set to an undefined value. - stream._storedError = undefined; - stream._writer = undefined; - // Initialize to undefined first because the constructor of the controller checks this - // variable to validate the caller. - stream._writableStreamController = undefined; - // This queue is placed here instead of the writer class in order to allow for passing a writer to the next data - // producer without waiting for the queued writes to finish. - stream._writeRequests = new SimpleQueue(); - // Write requests are removed from _writeRequests when write() is called on the underlying sink. This prevents - // them from being erroneously rejected on error. If a write() call is in-flight, the request is stored here. - stream._inFlightWriteRequest = undefined; - // The promise that was returned from writer.close(). Stored here because it may be fulfilled after the writer - // has been detached. - stream._closeRequest = undefined; - // Close request is removed from _closeRequest when close() is called on the underlying sink. This prevents it - // from being erroneously rejected on error. If a close() call is in-flight, the request is stored here. - stream._inFlightCloseRequest = undefined; - // The promise that was returned from writer.abort(). This may also be fulfilled after the writer has detached. - stream._pendingAbortRequest = undefined; - // The backpressure signal set by the controller. - stream._backpressure = false; - } - function IsWritableStream(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_writableStreamController')) { - return false; - } - return x instanceof WritableStream; - } - function IsWritableStreamLocked(stream) { - if (stream._writer === undefined) { - return false; - } - return true; - } - function WritableStreamAbort(stream, reason) { - var _a; - if (stream._state === 'closed' || stream._state === 'errored') { - return promiseResolvedWith(undefined); - } - stream._writableStreamController._abortReason = reason; - (_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. - const state = stream._state; - if (state === 'closed' || state === 'errored') { - return promiseResolvedWith(undefined); - } - if (stream._pendingAbortRequest !== undefined) { - return stream._pendingAbortRequest._promise; - } - let wasAlreadyErroring = false; - if (state === 'erroring') { - wasAlreadyErroring = true; - // reason will not be used, so don't keep a reference to it. - reason = undefined; - } - const promise = newPromise((resolve, reject) => { - stream._pendingAbortRequest = { - _promise: undefined, - _resolve: resolve, - _reject: reject, - _reason: reason, - _wasAlreadyErroring: wasAlreadyErroring - }; - }); - stream._pendingAbortRequest._promise = promise; - if (!wasAlreadyErroring) { - WritableStreamStartErroring(stream, reason); - } - return promise; - } - function WritableStreamClose(stream) { - const state = stream._state; - if (state === 'closed' || state === 'errored') { - return promiseRejectedWith(new TypeError(`The stream (in ${state} state) is not in the writable state and cannot be closed`)); - } - const promise = newPromise((resolve, reject) => { - const closeRequest = { - _resolve: resolve, - _reject: reject - }; - stream._closeRequest = closeRequest; - }); - const writer = stream._writer; - if (writer !== undefined && stream._backpressure && state === 'writable') { - defaultWriterReadyPromiseResolve(writer); - } - WritableStreamDefaultControllerClose(stream._writableStreamController); - return promise; - } - // WritableStream API exposed for controllers. - function WritableStreamAddWriteRequest(stream) { - const promise = newPromise((resolve, reject) => { - const writeRequest = { - _resolve: resolve, - _reject: reject - }; - stream._writeRequests.push(writeRequest); - }); - return promise; - } - function WritableStreamDealWithRejection(stream, error) { - const state = stream._state; - if (state === 'writable') { - WritableStreamStartErroring(stream, error); - return; - } - WritableStreamFinishErroring(stream); - } - function WritableStreamStartErroring(stream, reason) { - const controller = stream._writableStreamController; - stream._state = 'erroring'; - stream._storedError = reason; - const writer = stream._writer; - if (writer !== undefined) { - WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, reason); - } - if (!WritableStreamHasOperationMarkedInFlight(stream) && controller._started) { - WritableStreamFinishErroring(stream); - } - } - function WritableStreamFinishErroring(stream) { - stream._state = 'errored'; - stream._writableStreamController[ErrorSteps](); - const storedError = stream._storedError; - stream._writeRequests.forEach(writeRequest => { - writeRequest._reject(storedError); - }); - stream._writeRequests = new SimpleQueue(); - if (stream._pendingAbortRequest === undefined) { - WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream); - return; - } - const abortRequest = stream._pendingAbortRequest; - stream._pendingAbortRequest = undefined; - if (abortRequest._wasAlreadyErroring) { - abortRequest._reject(storedError); - WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream); - return; - } - const promise = stream._writableStreamController[AbortSteps](abortRequest._reason); - uponPromise(promise, () => { - abortRequest._resolve(); - WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream); - return null; - }, (reason) => { - abortRequest._reject(reason); - WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream); - return null; - }); - } - function WritableStreamFinishInFlightWrite(stream) { - stream._inFlightWriteRequest._resolve(undefined); - stream._inFlightWriteRequest = undefined; - } - function WritableStreamFinishInFlightWriteWithError(stream, error) { - stream._inFlightWriteRequest._reject(error); - stream._inFlightWriteRequest = undefined; - WritableStreamDealWithRejection(stream, error); - } - function WritableStreamFinishInFlightClose(stream) { - stream._inFlightCloseRequest._resolve(undefined); - stream._inFlightCloseRequest = undefined; - const state = stream._state; - if (state === 'erroring') { - // The error was too late to do anything, so it is ignored. - stream._storedError = undefined; - if (stream._pendingAbortRequest !== undefined) { - stream._pendingAbortRequest._resolve(); - stream._pendingAbortRequest = undefined; - } - } - stream._state = 'closed'; - const writer = stream._writer; - if (writer !== undefined) { - defaultWriterClosedPromiseResolve(writer); - } - } - function WritableStreamFinishInFlightCloseWithError(stream, error) { - stream._inFlightCloseRequest._reject(error); - stream._inFlightCloseRequest = undefined; - // Never execute sink abort() after sink close(). - if (stream._pendingAbortRequest !== undefined) { - stream._pendingAbortRequest._reject(error); - stream._pendingAbortRequest = undefined; - } - WritableStreamDealWithRejection(stream, error); - } - // TODO(ricea): Fix alphabetical order. - function WritableStreamCloseQueuedOrInFlight(stream) { - if (stream._closeRequest === undefined && stream._inFlightCloseRequest === undefined) { - return false; - } - return true; - } - function WritableStreamHasOperationMarkedInFlight(stream) { - if (stream._inFlightWriteRequest === undefined && stream._inFlightCloseRequest === undefined) { - return false; - } - return true; - } - function WritableStreamMarkCloseRequestInFlight(stream) { - stream._inFlightCloseRequest = stream._closeRequest; - stream._closeRequest = undefined; - } - function WritableStreamMarkFirstWriteRequestInFlight(stream) { - stream._inFlightWriteRequest = stream._writeRequests.shift(); - } - function WritableStreamRejectCloseAndClosedPromiseIfNeeded(stream) { - if (stream._closeRequest !== undefined) { - stream._closeRequest._reject(stream._storedError); - stream._closeRequest = undefined; - } - const writer = stream._writer; - if (writer !== undefined) { - defaultWriterClosedPromiseReject(writer, stream._storedError); - } - } - function WritableStreamUpdateBackpressure(stream, backpressure) { - const writer = stream._writer; - if (writer !== undefined && backpressure !== stream._backpressure) { - if (backpressure) { - defaultWriterReadyPromiseReset(writer); - } - else { - defaultWriterReadyPromiseResolve(writer); - } - } - stream._backpressure = backpressure; - } - /** - * A default writer vended by a {@link WritableStream}. - * - * @public - */ - class WritableStreamDefaultWriter { - constructor(stream) { - assertRequiredArgument(stream, 1, 'WritableStreamDefaultWriter'); - assertWritableStream(stream, 'First parameter'); - if (IsWritableStreamLocked(stream)) { - throw new TypeError('This stream has already been locked for exclusive writing by another writer'); - } - this._ownerWritableStream = stream; - stream._writer = this; - const state = stream._state; - if (state === 'writable') { - if (!WritableStreamCloseQueuedOrInFlight(stream) && stream._backpressure) { - defaultWriterReadyPromiseInitialize(this); - } - else { - defaultWriterReadyPromiseInitializeAsResolved(this); - } - defaultWriterClosedPromiseInitialize(this); - } - else if (state === 'erroring') { - defaultWriterReadyPromiseInitializeAsRejected(this, stream._storedError); - defaultWriterClosedPromiseInitialize(this); - } - else if (state === 'closed') { - defaultWriterReadyPromiseInitializeAsResolved(this); - defaultWriterClosedPromiseInitializeAsResolved(this); - } - else { - const storedError = stream._storedError; - defaultWriterReadyPromiseInitializeAsRejected(this, storedError); - defaultWriterClosedPromiseInitializeAsRejected(this, storedError); - } - } - /** - * Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or - * the writer’s lock is released before the stream finishes closing. - */ - get closed() { - if (!IsWritableStreamDefaultWriter(this)) { - return promiseRejectedWith(defaultWriterBrandCheckException('closed')); - } - return this._closedPromise; - } - /** - * Returns the desired size to fill the stream’s internal queue. It can be negative, if the queue is over-full. - * A producer can use this information to determine the right amount of data to write. - * - * It will be `null` if the stream cannot be successfully written to (due to either being errored, or having an abort - * queued up). It will return zero if the stream is closed. And the getter will throw an exception if invoked when - * the writer’s lock is released. - */ - get desiredSize() { - if (!IsWritableStreamDefaultWriter(this)) { - throw defaultWriterBrandCheckException('desiredSize'); - } - if (this._ownerWritableStream === undefined) { - throw defaultWriterLockException('desiredSize'); - } - return WritableStreamDefaultWriterGetDesiredSize(this); - } - /** - * Returns a promise that will be fulfilled when the desired size to fill the stream’s internal queue transitions - * from non-positive to positive, signaling that it is no longer applying backpressure. Once the desired size dips - * back to zero or below, the getter will return a new promise that stays pending until the next transition. - * - * If the stream becomes errored or aborted, or the writer’s lock is released, the returned promise will become - * rejected. - */ - get ready() { - if (!IsWritableStreamDefaultWriter(this)) { - return promiseRejectedWith(defaultWriterBrandCheckException('ready')); - } - return this._readyPromise; - } - /** - * If the reader is active, behaves the same as {@link WritableStream.abort | stream.abort(reason)}. - */ - abort(reason = undefined) { - if (!IsWritableStreamDefaultWriter(this)) { - return promiseRejectedWith(defaultWriterBrandCheckException('abort')); - } - if (this._ownerWritableStream === undefined) { - return promiseRejectedWith(defaultWriterLockException('abort')); - } - return WritableStreamDefaultWriterAbort(this, reason); - } - /** - * If the reader is active, behaves the same as {@link WritableStream.close | stream.close()}. - */ - close() { - if (!IsWritableStreamDefaultWriter(this)) { - return promiseRejectedWith(defaultWriterBrandCheckException('close')); - } - const stream = this._ownerWritableStream; - if (stream === undefined) { - return promiseRejectedWith(defaultWriterLockException('close')); - } - if (WritableStreamCloseQueuedOrInFlight(stream)) { - return promiseRejectedWith(new TypeError('Cannot close an already-closing stream')); - } - return WritableStreamDefaultWriterClose(this); - } - /** - * Releases the writer’s lock on the corresponding stream. After the lock is released, the writer is no longer active. - * If the associated stream is errored when the lock is released, the writer will appear errored in the same way from - * now on; otherwise, the writer will appear closed. - * - * Note that the lock can still be released even if some ongoing writes have not yet finished (i.e. even if the - * promises returned from previous calls to {@link WritableStreamDefaultWriter.write | write()} have not yet settled). - * It’s not necessary to hold the lock on the writer for the duration of the write; the lock instead simply prevents - * other producers from writing in an interleaved manner. - */ - releaseLock() { - if (!IsWritableStreamDefaultWriter(this)) { - throw defaultWriterBrandCheckException('releaseLock'); - } - const stream = this._ownerWritableStream; - if (stream === undefined) { - return; - } - WritableStreamDefaultWriterRelease(this); - } - write(chunk = undefined) { - if (!IsWritableStreamDefaultWriter(this)) { - return promiseRejectedWith(defaultWriterBrandCheckException('write')); - } - if (this._ownerWritableStream === undefined) { - return promiseRejectedWith(defaultWriterLockException('write to')); - } - return WritableStreamDefaultWriterWrite(this, chunk); - } - } - Object.defineProperties(WritableStreamDefaultWriter.prototype, { - abort: { enumerable: true }, - close: { enumerable: true }, - releaseLock: { enumerable: true }, - write: { enumerable: true }, - closed: { enumerable: true }, - desiredSize: { enumerable: true }, - ready: { enumerable: true } - }); - setFunctionName(WritableStreamDefaultWriter.prototype.abort, 'abort'); - setFunctionName(WritableStreamDefaultWriter.prototype.close, 'close'); - setFunctionName(WritableStreamDefaultWriter.prototype.releaseLock, 'releaseLock'); - setFunctionName(WritableStreamDefaultWriter.prototype.write, 'write'); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(WritableStreamDefaultWriter.prototype, Symbol.toStringTag, { - value: 'WritableStreamDefaultWriter', - configurable: true - }); - } - // Abstract operations for the WritableStreamDefaultWriter. - function IsWritableStreamDefaultWriter(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_ownerWritableStream')) { - return false; - } - return x instanceof WritableStreamDefaultWriter; - } - // A client of WritableStreamDefaultWriter may use these functions directly to bypass state check. - function WritableStreamDefaultWriterAbort(writer, reason) { - const stream = writer._ownerWritableStream; - return WritableStreamAbort(stream, reason); - } - function WritableStreamDefaultWriterClose(writer) { - const stream = writer._ownerWritableStream; - return WritableStreamClose(stream); - } - function WritableStreamDefaultWriterCloseWithErrorPropagation(writer) { - const stream = writer._ownerWritableStream; - const state = stream._state; - if (WritableStreamCloseQueuedOrInFlight(stream) || state === 'closed') { - return promiseResolvedWith(undefined); - } - if (state === 'errored') { - return promiseRejectedWith(stream._storedError); - } - return WritableStreamDefaultWriterClose(writer); - } - function WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, error) { - if (writer._closedPromiseState === 'pending') { - defaultWriterClosedPromiseReject(writer, error); - } - else { - defaultWriterClosedPromiseResetToRejected(writer, error); - } - } - function WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, error) { - if (writer._readyPromiseState === 'pending') { - defaultWriterReadyPromiseReject(writer, error); - } - else { - defaultWriterReadyPromiseResetToRejected(writer, error); - } - } - function WritableStreamDefaultWriterGetDesiredSize(writer) { - const stream = writer._ownerWritableStream; - const state = stream._state; - if (state === 'errored' || state === 'erroring') { - return null; - } - if (state === 'closed') { - return 0; - } - return WritableStreamDefaultControllerGetDesiredSize(stream._writableStreamController); - } - function WritableStreamDefaultWriterRelease(writer) { - const stream = writer._ownerWritableStream; - const releasedError = new TypeError(`Writer was released and can no longer be used to monitor the stream's closedness`); - WritableStreamDefaultWriterEnsureReadyPromiseRejected(writer, releasedError); - // The state transitions to "errored" before the sink abort() method runs, but the writer.closed promise is not - // rejected until afterwards. This means that simply testing state will not work. - WritableStreamDefaultWriterEnsureClosedPromiseRejected(writer, releasedError); - stream._writer = undefined; - writer._ownerWritableStream = undefined; - } - function WritableStreamDefaultWriterWrite(writer, chunk) { - const stream = writer._ownerWritableStream; - const controller = stream._writableStreamController; - const chunkSize = WritableStreamDefaultControllerGetChunkSize(controller, chunk); - if (stream !== writer._ownerWritableStream) { - return promiseRejectedWith(defaultWriterLockException('write to')); - } - const state = stream._state; - if (state === 'errored') { - return promiseRejectedWith(stream._storedError); - } - if (WritableStreamCloseQueuedOrInFlight(stream) || state === 'closed') { - return promiseRejectedWith(new TypeError('The stream is closing or closed and cannot be written to')); - } - if (state === 'erroring') { - return promiseRejectedWith(stream._storedError); - } - const promise = WritableStreamAddWriteRequest(stream); - WritableStreamDefaultControllerWrite(controller, chunk, chunkSize); - return promise; - } - const closeSentinel = {}; - /** - * Allows control of a {@link WritableStream | writable stream}'s state and internal queue. - * - * @public - */ - class WritableStreamDefaultController { - constructor() { - throw new TypeError('Illegal constructor'); - } - /** - * The reason which was passed to `WritableStream.abort(reason)` when the stream was aborted. - * - * @deprecated - * This property has been removed from the specification, see https://github.com/whatwg/streams/pull/1177. - * Use {@link WritableStreamDefaultController.signal}'s `reason` instead. - */ - get abortReason() { - if (!IsWritableStreamDefaultController(this)) { - throw defaultControllerBrandCheckException$2('abortReason'); - } - return this._abortReason; - } - /** - * An `AbortSignal` that can be used to abort the pending write or close operation when the stream is aborted. - */ - get signal() { - if (!IsWritableStreamDefaultController(this)) { - throw defaultControllerBrandCheckException$2('signal'); - } - if (this._abortController === undefined) { - // Older browsers or older Node versions may not support `AbortController` or `AbortSignal`. - // We don't want to bundle and ship an `AbortController` polyfill together with our polyfill, - // so instead we only implement support for `signal` if we find a global `AbortController` constructor. - throw new TypeError('WritableStreamDefaultController.prototype.signal is not supported'); - } - return this._abortController.signal; - } - /** - * Closes the controlled writable stream, making all future interactions with it fail with the given error `e`. - * - * This method is rarely used, since usually it suffices to return a rejected promise from one of the underlying - * sink's methods. However, it can be useful for suddenly shutting down a stream in response to an event outside the - * normal lifecycle of interactions with the underlying sink. - */ - error(e = undefined) { - if (!IsWritableStreamDefaultController(this)) { - throw defaultControllerBrandCheckException$2('error'); - } - const state = this._controlledWritableStream._state; - if (state !== 'writable') { - // The stream is closed, errored or will be soon. The sink can't do anything useful if it gets an error here, so - // just treat it as a no-op. - return; - } - WritableStreamDefaultControllerError(this, e); - } - /** @internal */ - [AbortSteps](reason) { - const result = this._abortAlgorithm(reason); - WritableStreamDefaultControllerClearAlgorithms(this); - return result; - } - /** @internal */ - [ErrorSteps]() { - ResetQueue(this); - } - } - Object.defineProperties(WritableStreamDefaultController.prototype, { - abortReason: { enumerable: true }, - signal: { enumerable: true }, - error: { enumerable: true } - }); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(WritableStreamDefaultController.prototype, Symbol.toStringTag, { - value: 'WritableStreamDefaultController', - configurable: true - }); - } - // Abstract operations implementing interface required by the WritableStream. - function IsWritableStreamDefaultController(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_controlledWritableStream')) { - return false; - } - return x instanceof WritableStreamDefaultController; - } - function SetUpWritableStreamDefaultController(stream, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm) { - controller._controlledWritableStream = stream; - stream._writableStreamController = controller; - // Need to set the slots so that the assert doesn't fire. In the spec the slots already exist implicitly. - controller._queue = undefined; - controller._queueTotalSize = undefined; - ResetQueue(controller); - controller._abortReason = undefined; - controller._abortController = createAbortController(); - controller._started = false; - controller._strategySizeAlgorithm = sizeAlgorithm; - controller._strategyHWM = highWaterMark; - controller._writeAlgorithm = writeAlgorithm; - controller._closeAlgorithm = closeAlgorithm; - controller._abortAlgorithm = abortAlgorithm; - const backpressure = WritableStreamDefaultControllerGetBackpressure(controller); - WritableStreamUpdateBackpressure(stream, backpressure); - const startResult = startAlgorithm(); - const startPromise = promiseResolvedWith(startResult); - 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; - 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. - function WritableStreamDefaultControllerClearAlgorithms(controller) { - controller._writeAlgorithm = undefined; - controller._closeAlgorithm = undefined; - controller._abortAlgorithm = undefined; - controller._strategySizeAlgorithm = undefined; - } - function WritableStreamDefaultControllerClose(controller) { - EnqueueValueWithSize(controller, closeSentinel, 0); - WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller); - } - function WritableStreamDefaultControllerGetChunkSize(controller, chunk) { - try { - return controller._strategySizeAlgorithm(chunk); - } - catch (chunkSizeE) { - WritableStreamDefaultControllerErrorIfNeeded(controller, chunkSizeE); - return 1; - } - } - function WritableStreamDefaultControllerGetDesiredSize(controller) { - return controller._strategyHWM - controller._queueTotalSize; - } - function WritableStreamDefaultControllerWrite(controller, chunk, chunkSize) { - try { - EnqueueValueWithSize(controller, chunk, chunkSize); - } - catch (enqueueE) { - WritableStreamDefaultControllerErrorIfNeeded(controller, enqueueE); - return; - } - const stream = controller._controlledWritableStream; - if (!WritableStreamCloseQueuedOrInFlight(stream) && stream._state === 'writable') { - const backpressure = WritableStreamDefaultControllerGetBackpressure(controller); - WritableStreamUpdateBackpressure(stream, backpressure); - } - WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller); - } - // Abstract operations for the WritableStreamDefaultController. - function WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller) { - const stream = controller._controlledWritableStream; - if (!controller._started) { - return; - } - if (stream._inFlightWriteRequest !== undefined) { - return; - } - const state = stream._state; - if (state === 'erroring') { - WritableStreamFinishErroring(stream); - return; - } - if (controller._queue.length === 0) { - return; - } - const value = PeekQueueValue(controller); - if (value === closeSentinel) { - WritableStreamDefaultControllerProcessClose(controller); - } - else { - WritableStreamDefaultControllerProcessWrite(controller, value); - } - } - function WritableStreamDefaultControllerErrorIfNeeded(controller, error) { - if (controller._controlledWritableStream._state === 'writable') { - WritableStreamDefaultControllerError(controller, error); - } - } - function WritableStreamDefaultControllerProcessClose(controller) { - const stream = controller._controlledWritableStream; - WritableStreamMarkCloseRequestInFlight(stream); - DequeueValue(controller); - const sinkClosePromise = controller._closeAlgorithm(); - WritableStreamDefaultControllerClearAlgorithms(controller); - uponPromise(sinkClosePromise, () => { - WritableStreamFinishInFlightClose(stream); - return null; - }, reason => { - WritableStreamFinishInFlightCloseWithError(stream, reason); - return null; - }); - } - function WritableStreamDefaultControllerProcessWrite(controller, chunk) { - const stream = controller._controlledWritableStream; - WritableStreamMarkFirstWriteRequestInFlight(stream); - const sinkWritePromise = controller._writeAlgorithm(chunk); - uponPromise(sinkWritePromise, () => { - WritableStreamFinishInFlightWrite(stream); - const state = stream._state; - DequeueValue(controller); - if (!WritableStreamCloseQueuedOrInFlight(stream) && state === 'writable') { - const backpressure = WritableStreamDefaultControllerGetBackpressure(controller); - WritableStreamUpdateBackpressure(stream, backpressure); - } - WritableStreamDefaultControllerAdvanceQueueIfNeeded(controller); - return null; - }, reason => { - if (stream._state === 'writable') { - WritableStreamDefaultControllerClearAlgorithms(controller); - } - WritableStreamFinishInFlightWriteWithError(stream, reason); - return null; - }); - } - function WritableStreamDefaultControllerGetBackpressure(controller) { - const desiredSize = WritableStreamDefaultControllerGetDesiredSize(controller); - return desiredSize <= 0; - } - // A client of WritableStreamDefaultController may use these functions directly to bypass state check. - function WritableStreamDefaultControllerError(controller, error) { - const stream = controller._controlledWritableStream; - WritableStreamDefaultControllerClearAlgorithms(controller); - WritableStreamStartErroring(stream, error); - } - // Helper functions for the WritableStream. - function streamBrandCheckException$2(name) { - return new TypeError(`WritableStream.prototype.${name} can only be used on a WritableStream`); - } - // Helper functions for the WritableStreamDefaultController. - function defaultControllerBrandCheckException$2(name) { - return new TypeError(`WritableStreamDefaultController.prototype.${name} can only be used on a WritableStreamDefaultController`); - } - // Helper functions for the WritableStreamDefaultWriter. - function defaultWriterBrandCheckException(name) { - return new TypeError(`WritableStreamDefaultWriter.prototype.${name} can only be used on a WritableStreamDefaultWriter`); - } - function defaultWriterLockException(name) { - return new TypeError('Cannot ' + name + ' a stream using a released writer'); - } - function defaultWriterClosedPromiseInitialize(writer) { - writer._closedPromise = newPromise((resolve, reject) => { - writer._closedPromise_resolve = resolve; - writer._closedPromise_reject = reject; - writer._closedPromiseState = 'pending'; - }); - } - function defaultWriterClosedPromiseInitializeAsRejected(writer, reason) { - defaultWriterClosedPromiseInitialize(writer); - defaultWriterClosedPromiseReject(writer, reason); - } - function defaultWriterClosedPromiseInitializeAsResolved(writer) { - defaultWriterClosedPromiseInitialize(writer); - defaultWriterClosedPromiseResolve(writer); - } - function defaultWriterClosedPromiseReject(writer, reason) { - if (writer._closedPromise_reject === undefined) { - return; - } - setPromiseIsHandledToTrue(writer._closedPromise); - writer._closedPromise_reject(reason); - writer._closedPromise_resolve = undefined; - writer._closedPromise_reject = undefined; - writer._closedPromiseState = 'rejected'; - } - function defaultWriterClosedPromiseResetToRejected(writer, reason) { - defaultWriterClosedPromiseInitializeAsRejected(writer, reason); - } - function defaultWriterClosedPromiseResolve(writer) { - if (writer._closedPromise_resolve === undefined) { - return; - } - writer._closedPromise_resolve(undefined); - writer._closedPromise_resolve = undefined; - writer._closedPromise_reject = undefined; - writer._closedPromiseState = 'resolved'; - } - function defaultWriterReadyPromiseInitialize(writer) { - writer._readyPromise = newPromise((resolve, reject) => { - writer._readyPromise_resolve = resolve; - writer._readyPromise_reject = reject; - }); - writer._readyPromiseState = 'pending'; - } - function defaultWriterReadyPromiseInitializeAsRejected(writer, reason) { - defaultWriterReadyPromiseInitialize(writer); - defaultWriterReadyPromiseReject(writer, reason); - } - function defaultWriterReadyPromiseInitializeAsResolved(writer) { - defaultWriterReadyPromiseInitialize(writer); - defaultWriterReadyPromiseResolve(writer); - } - function defaultWriterReadyPromiseReject(writer, reason) { - if (writer._readyPromise_reject === undefined) { - return; - } - setPromiseIsHandledToTrue(writer._readyPromise); - writer._readyPromise_reject(reason); - writer._readyPromise_resolve = undefined; - writer._readyPromise_reject = undefined; - writer._readyPromiseState = 'rejected'; - } - function defaultWriterReadyPromiseReset(writer) { - defaultWriterReadyPromiseInitialize(writer); - } - function defaultWriterReadyPromiseResetToRejected(writer, reason) { - defaultWriterReadyPromiseInitializeAsRejected(writer, reason); - } - function defaultWriterReadyPromiseResolve(writer) { - if (writer._readyPromise_resolve === undefined) { - return; - } - writer._readyPromise_resolve(undefined); - writer._readyPromise_resolve = undefined; - writer._readyPromise_reject = undefined; - writer._readyPromiseState = 'fulfilled'; - } - - /// - function getGlobals() { - if (typeof globalThis !== 'undefined') { - return globalThis; - } - else if (typeof self !== 'undefined') { - return self; - } - else if (typeof global !== 'undefined') { - return global; - } - return undefined; - } - const 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; - } - catch (_a) { - return false; - } - } - /** - * 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'; - if (Error.captureStackTrace) { - 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 @typescript-eslint/no-redeclare - const DOMException = getFromGlobal() || createPolyfill(); - - function ReadableStreamPipeTo(source, dest, preventClose, preventAbort, preventCancel, signal) { - const reader = AcquireReadableStreamDefaultReader(source); - const writer = AcquireWritableStreamDefaultWriter(dest); - source._disturbed = true; - let shuttingDown = false; - // This is used to keep track of the spec's requirement that we wait for ongoing writes during shutdown. - let currentWrite = promiseResolvedWith(undefined); - return newPromise((resolve, reject) => { - let abortAlgorithm; - if (signal !== undefined) { - abortAlgorithm = () => { - const error = signal.reason !== undefined ? signal.reason : new DOMException('Aborted', 'AbortError'); - const actions = []; - if (!preventAbort) { - actions.push(() => { - if (dest._state === 'writable') { - return WritableStreamAbort(dest, error); - } - return promiseResolvedWith(undefined); - }); - } - if (!preventCancel) { - actions.push(() => { - if (source._state === 'readable') { - return ReadableStreamCancel(source, error); - } - return promiseResolvedWith(undefined); - }); - } - shutdownWithAction(() => Promise.all(actions.map(action => action())), true, error); - }; - if (signal.aborted) { - abortAlgorithm(); - return; - } - signal.addEventListener('abort', abortAlgorithm); - } - // Using reader and writer, read all chunks from this and write them to dest - // - Backpressure must be enforced - // - Shutdown must stop all activity - function pipeLoop() { - return newPromise((resolveLoop, rejectLoop) => { - function next(done) { - if (done) { - resolveLoop(); - } - else { - // Use `PerformPromiseThen` instead of `uponPromise` to avoid - // adding unnecessary `.catch(rethrowAssertionErrorRejection)` handlers - PerformPromiseThen(pipeStep(), next, rejectLoop); - } - } - next(false); - }); - } - function pipeStep() { - if (shuttingDown) { - return promiseResolvedWith(true); - } - return PerformPromiseThen(writer._readyPromise, () => { - return newPromise((resolveRead, rejectRead) => { - ReadableStreamDefaultReaderRead(reader, { - _chunkSteps: chunk => { - currentWrite = PerformPromiseThen(WritableStreamDefaultWriterWrite(writer, chunk), undefined, noop); - resolveRead(false); - }, - _closeSteps: () => resolveRead(true), - _errorSteps: rejectRead - }); - }); - }); - } - // Errors must be propagated forward - isOrBecomesErrored(source, reader._closedPromise, storedError => { - if (!preventAbort) { - shutdownWithAction(() => WritableStreamAbort(dest, storedError), true, storedError); - } - else { - shutdown(true, storedError); - } - return null; - }); - // Errors must be propagated backward - isOrBecomesErrored(dest, writer._closedPromise, storedError => { - if (!preventCancel) { - shutdownWithAction(() => ReadableStreamCancel(source, storedError), true, storedError); - } - else { - shutdown(true, storedError); - } - return null; - }); - // Closing must be propagated forward - isOrBecomesClosed(source, reader._closedPromise, () => { - if (!preventClose) { - shutdownWithAction(() => WritableStreamDefaultWriterCloseWithErrorPropagation(writer)); - } - else { - shutdown(); - } - return null; - }); - // Closing must be propagated backward - if (WritableStreamCloseQueuedOrInFlight(dest) || dest._state === 'closed') { - const destClosed = new TypeError('the destination writable stream closed before all data could be piped to it'); - if (!preventCancel) { - shutdownWithAction(() => ReadableStreamCancel(source, destClosed), true, destClosed); - } - else { - shutdown(true, destClosed); - } - } - setPromiseIsHandledToTrue(pipeLoop()); - function waitForWritesToFinish() { - // Another write may have started while we were waiting on this currentWrite, so we have to be sure to wait - // for that too. - const oldCurrentWrite = currentWrite; - return PerformPromiseThen(currentWrite, () => oldCurrentWrite !== currentWrite ? waitForWritesToFinish() : undefined); - } - function isOrBecomesErrored(stream, promise, action) { - if (stream._state === 'errored') { - action(stream._storedError); - } - else { - uponRejection(promise, action); - } - } - function isOrBecomesClosed(stream, promise, action) { - if (stream._state === 'closed') { - action(); - } - else { - uponFulfillment(promise, action); - } - } - function shutdownWithAction(action, originalIsError, originalError) { - if (shuttingDown) { - return; - } - shuttingDown = true; - if (dest._state === 'writable' && !WritableStreamCloseQueuedOrInFlight(dest)) { - uponFulfillment(waitForWritesToFinish(), doTheRest); - } - else { - doTheRest(); - } - function doTheRest() { - uponPromise(action(), () => finalize(originalIsError, originalError), newError => finalize(true, newError)); - return null; - } - } - function shutdown(isError, error) { - if (shuttingDown) { - return; - } - shuttingDown = true; - if (dest._state === 'writable' && !WritableStreamCloseQueuedOrInFlight(dest)) { - uponFulfillment(waitForWritesToFinish(), () => finalize(isError, error)); - } - else { - finalize(isError, error); - } - } - function finalize(isError, error) { - WritableStreamDefaultWriterRelease(writer); - ReadableStreamReaderGenericRelease(reader); - if (signal !== undefined) { - signal.removeEventListener('abort', abortAlgorithm); - } - if (isError) { - reject(error); - } - else { - resolve(undefined); - } - return null; - } - }); - } - - /** - * Allows control of a {@link ReadableStream | readable stream}'s state and internal queue. - * - * @public - */ - class ReadableStreamDefaultController { - constructor() { - throw new TypeError('Illegal constructor'); - } - /** - * Returns the desired size to fill the controlled stream's internal queue. It can be negative, if the queue is - * over-full. An underlying source ought to use this information to determine when and how to apply backpressure. - */ - get desiredSize() { - if (!IsReadableStreamDefaultController(this)) { - throw defaultControllerBrandCheckException$1('desiredSize'); - } - return ReadableStreamDefaultControllerGetDesiredSize(this); - } - /** - * Closes the controlled readable stream. Consumers will still be able to read any previously-enqueued chunks from - * the stream, but once those are read, the stream will become closed. - */ - close() { - if (!IsReadableStreamDefaultController(this)) { - throw defaultControllerBrandCheckException$1('close'); - } - if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)) { - throw new TypeError('The stream is not in a state that permits close'); - } - ReadableStreamDefaultControllerClose(this); - } - enqueue(chunk = undefined) { - if (!IsReadableStreamDefaultController(this)) { - throw defaultControllerBrandCheckException$1('enqueue'); - } - if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(this)) { - throw new TypeError('The stream is not in a state that permits enqueue'); - } - return ReadableStreamDefaultControllerEnqueue(this, chunk); - } - /** - * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`. - */ - error(e = undefined) { - if (!IsReadableStreamDefaultController(this)) { - throw defaultControllerBrandCheckException$1('error'); - } - ReadableStreamDefaultControllerError(this, e); - } - /** @internal */ - [CancelSteps](reason) { - ResetQueue(this); - const result = this._cancelAlgorithm(reason); - ReadableStreamDefaultControllerClearAlgorithms(this); - return result; - } - /** @internal */ - [PullSteps](readRequest) { - const stream = this._controlledReadableStream; - if (this._queue.length > 0) { - const chunk = DequeueValue(this); - if (this._closeRequested && this._queue.length === 0) { - ReadableStreamDefaultControllerClearAlgorithms(this); - ReadableStreamClose(stream); - } - else { - ReadableStreamDefaultControllerCallPullIfNeeded(this); - } - readRequest._chunkSteps(chunk); - } - else { - ReadableStreamAddReadRequest(stream, readRequest); - ReadableStreamDefaultControllerCallPullIfNeeded(this); - } - } - /** @internal */ - [ReleaseSteps]() { - // Do nothing. - } - } - Object.defineProperties(ReadableStreamDefaultController.prototype, { - close: { enumerable: true }, - enqueue: { enumerable: true }, - error: { enumerable: true }, - desiredSize: { enumerable: true } - }); - setFunctionName(ReadableStreamDefaultController.prototype.close, 'close'); - setFunctionName(ReadableStreamDefaultController.prototype.enqueue, 'enqueue'); - setFunctionName(ReadableStreamDefaultController.prototype.error, 'error'); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(ReadableStreamDefaultController.prototype, Symbol.toStringTag, { - value: 'ReadableStreamDefaultController', - configurable: true - }); - } - // Abstract operations for the ReadableStreamDefaultController. - function IsReadableStreamDefaultController(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_controlledReadableStream')) { - return false; - } - return x instanceof ReadableStreamDefaultController; - } - function ReadableStreamDefaultControllerCallPullIfNeeded(controller) { - const shouldPull = ReadableStreamDefaultControllerShouldCallPull(controller); - if (!shouldPull) { - return; - } - if (controller._pulling) { - controller._pullAgain = true; - return; - } - controller._pulling = true; - const pullPromise = controller._pullAlgorithm(); - uponPromise(pullPromise, () => { - controller._pulling = false; - if (controller._pullAgain) { - controller._pullAgain = false; - ReadableStreamDefaultControllerCallPullIfNeeded(controller); - } - return null; - }, e => { - ReadableStreamDefaultControllerError(controller, e); - return null; - }); - } - function ReadableStreamDefaultControllerShouldCallPull(controller) { - const stream = controller._controlledReadableStream; - if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) { - return false; - } - if (!controller._started) { - return false; - } - if (IsReadableStreamLocked(stream) && ReadableStreamGetNumReadRequests(stream) > 0) { - return true; - } - const desiredSize = ReadableStreamDefaultControllerGetDesiredSize(controller); - if (desiredSize > 0) { - return true; - } - return false; - } - function ReadableStreamDefaultControllerClearAlgorithms(controller) { - controller._pullAlgorithm = undefined; - controller._cancelAlgorithm = undefined; - controller._strategySizeAlgorithm = undefined; - } - // A client of ReadableStreamDefaultController may use these functions directly to bypass state check. - function ReadableStreamDefaultControllerClose(controller) { - if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) { - return; - } - const stream = controller._controlledReadableStream; - controller._closeRequested = true; - if (controller._queue.length === 0) { - ReadableStreamDefaultControllerClearAlgorithms(controller); - ReadableStreamClose(stream); - } - } - function ReadableStreamDefaultControllerEnqueue(controller, chunk) { - if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(controller)) { - return; - } - const stream = controller._controlledReadableStream; - if (IsReadableStreamLocked(stream) && ReadableStreamGetNumReadRequests(stream) > 0) { - ReadableStreamFulfillReadRequest(stream, chunk, false); - } - else { - let chunkSize; - try { - chunkSize = controller._strategySizeAlgorithm(chunk); - } - catch (chunkSizeE) { - ReadableStreamDefaultControllerError(controller, chunkSizeE); - throw chunkSizeE; - } - try { - EnqueueValueWithSize(controller, chunk, chunkSize); - } - catch (enqueueE) { - ReadableStreamDefaultControllerError(controller, enqueueE); - throw enqueueE; - } - } - ReadableStreamDefaultControllerCallPullIfNeeded(controller); - } - function ReadableStreamDefaultControllerError(controller, e) { - const stream = controller._controlledReadableStream; - if (stream._state !== 'readable') { - return; - } - ResetQueue(controller); - ReadableStreamDefaultControllerClearAlgorithms(controller); - ReadableStreamError(stream, e); - } - function ReadableStreamDefaultControllerGetDesiredSize(controller) { - const state = controller._controlledReadableStream._state; - if (state === 'errored') { - return null; - } - if (state === 'closed') { - return 0; - } - return controller._strategyHWM - controller._queueTotalSize; - } - // This is used in the implementation of TransformStream. - function ReadableStreamDefaultControllerHasBackpressure(controller) { - if (ReadableStreamDefaultControllerShouldCallPull(controller)) { - return false; - } - return true; - } - function ReadableStreamDefaultControllerCanCloseOrEnqueue(controller) { - const state = controller._controlledReadableStream._state; - if (!controller._closeRequested && state === 'readable') { - return true; - } - return false; - } - function SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm) { - controller._controlledReadableStream = stream; - controller._queue = undefined; - controller._queueTotalSize = undefined; - ResetQueue(controller); - controller._started = false; - controller._closeRequested = false; - controller._pullAgain = false; - controller._pulling = false; - controller._strategySizeAlgorithm = sizeAlgorithm; - controller._strategyHWM = highWaterMark; - controller._pullAlgorithm = pullAlgorithm; - controller._cancelAlgorithm = cancelAlgorithm; - stream._readableStreamController = controller; - const startResult = startAlgorithm(); - 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; - 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. - function defaultControllerBrandCheckException$1(name) { - return new TypeError(`ReadableStreamDefaultController.prototype.${name} can only be used on a ReadableStreamDefaultController`); - } - - function ReadableStreamTee(stream, cloneForBranch2) { - if (IsReadableByteStreamController(stream._readableStreamController)) { - return ReadableByteStreamTee(stream); - } - return ReadableStreamDefaultTee(stream); - } - function ReadableStreamDefaultTee(stream, cloneForBranch2) { - const reader = AcquireReadableStreamDefaultReader(stream); - let reading = false; - let readAgain = false; - let canceled1 = false; - let canceled2 = false; - let reason1; - let reason2; - let branch1; - let branch2; - let resolveCancelPromise; - const cancelPromise = newPromise(resolve => { - resolveCancelPromise = resolve; - }); - function pullAlgorithm() { - if (reading) { - readAgain = true; - return promiseResolvedWith(undefined); - } - reading = true; - const readRequest = { - _chunkSteps: chunk => { - // 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(() => { - readAgain = false; - const chunk1 = chunk; - const chunk2 = chunk; - // There is no way to access the cloning code right now in the reference implementation. - // If we add one then we'll need an implementation for serializable objects. - // if (!canceled2 && cloneForBranch2) { - // chunk2 = StructuredDeserialize(StructuredSerialize(chunk2)); - // } - if (!canceled1) { - ReadableStreamDefaultControllerEnqueue(branch1._readableStreamController, chunk1); - } - if (!canceled2) { - ReadableStreamDefaultControllerEnqueue(branch2._readableStreamController, chunk2); - } - reading = false; - if (readAgain) { - pullAlgorithm(); - } - }); - }, - _closeSteps: () => { - reading = false; - if (!canceled1) { - ReadableStreamDefaultControllerClose(branch1._readableStreamController); - } - if (!canceled2) { - ReadableStreamDefaultControllerClose(branch2._readableStreamController); - } - if (!canceled1 || !canceled2) { - resolveCancelPromise(undefined); - } - }, - _errorSteps: () => { - reading = false; - } - }; - ReadableStreamDefaultReaderRead(reader, readRequest); - return promiseResolvedWith(undefined); - } - function cancel1Algorithm(reason) { - canceled1 = true; - reason1 = reason; - if (canceled2) { - const compositeReason = CreateArrayFromList([reason1, reason2]); - const cancelResult = ReadableStreamCancel(stream, compositeReason); - resolveCancelPromise(cancelResult); - } - return cancelPromise; - } - function cancel2Algorithm(reason) { - canceled2 = true; - reason2 = reason; - if (canceled1) { - const compositeReason = CreateArrayFromList([reason1, reason2]); - const cancelResult = ReadableStreamCancel(stream, compositeReason); - resolveCancelPromise(cancelResult); - } - return cancelPromise; - } - function startAlgorithm() { - // do nothing - } - branch1 = CreateReadableStream(startAlgorithm, pullAlgorithm, cancel1Algorithm); - branch2 = CreateReadableStream(startAlgorithm, pullAlgorithm, cancel2Algorithm); - uponRejection(reader._closedPromise, (r) => { - ReadableStreamDefaultControllerError(branch1._readableStreamController, r); - ReadableStreamDefaultControllerError(branch2._readableStreamController, r); - if (!canceled1 || !canceled2) { - resolveCancelPromise(undefined); - } - return null; - }); - return [branch1, branch2]; - } - function ReadableByteStreamTee(stream) { - let reader = AcquireReadableStreamDefaultReader(stream); - let reading = false; - let readAgainForBranch1 = false; - let readAgainForBranch2 = false; - let canceled1 = false; - let canceled2 = false; - let reason1; - let reason2; - let branch1; - let branch2; - let resolveCancelPromise; - const cancelPromise = newPromise(resolve => { - resolveCancelPromise = resolve; - }); - function forwardReaderError(thisReader) { - uponRejection(thisReader._closedPromise, r => { - if (thisReader !== reader) { - return null; - } - ReadableByteStreamControllerError(branch1._readableStreamController, r); - ReadableByteStreamControllerError(branch2._readableStreamController, r); - if (!canceled1 || !canceled2) { - resolveCancelPromise(undefined); - } - return null; - }); - } - function pullWithDefaultReader() { - if (IsReadableStreamBYOBReader(reader)) { - ReadableStreamReaderGenericRelease(reader); - reader = AcquireReadableStreamDefaultReader(stream); - forwardReaderError(reader); - } - const readRequest = { - _chunkSteps: chunk => { - // 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(() => { - readAgainForBranch1 = false; - readAgainForBranch2 = false; - const chunk1 = chunk; - let chunk2 = chunk; - if (!canceled1 && !canceled2) { - try { - chunk2 = CloneAsUint8Array(chunk); - } - catch (cloneE) { - ReadableByteStreamControllerError(branch1._readableStreamController, cloneE); - ReadableByteStreamControllerError(branch2._readableStreamController, cloneE); - resolveCancelPromise(ReadableStreamCancel(stream, cloneE)); - return; - } - } - if (!canceled1) { - ReadableByteStreamControllerEnqueue(branch1._readableStreamController, chunk1); - } - if (!canceled2) { - ReadableByteStreamControllerEnqueue(branch2._readableStreamController, chunk2); - } - reading = false; - if (readAgainForBranch1) { - pull1Algorithm(); - } - else if (readAgainForBranch2) { - pull2Algorithm(); - } - }); - }, - _closeSteps: () => { - reading = false; - if (!canceled1) { - ReadableByteStreamControllerClose(branch1._readableStreamController); - } - if (!canceled2) { - ReadableByteStreamControllerClose(branch2._readableStreamController); - } - if (branch1._readableStreamController._pendingPullIntos.length > 0) { - ReadableByteStreamControllerRespond(branch1._readableStreamController, 0); - } - if (branch2._readableStreamController._pendingPullIntos.length > 0) { - ReadableByteStreamControllerRespond(branch2._readableStreamController, 0); - } - if (!canceled1 || !canceled2) { - resolveCancelPromise(undefined); - } - }, - _errorSteps: () => { - reading = false; - } - }; - ReadableStreamDefaultReaderRead(reader, readRequest); - } - function pullWithBYOBReader(view, forBranch2) { - if (IsReadableStreamDefaultReader(reader)) { - ReadableStreamReaderGenericRelease(reader); - reader = AcquireReadableStreamBYOBReader(stream); - forwardReaderError(reader); - } - const byobBranch = forBranch2 ? branch2 : branch1; - const otherBranch = forBranch2 ? branch1 : branch2; - const readIntoRequest = { - _chunkSteps: chunk => { - // 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(() => { - readAgainForBranch1 = false; - readAgainForBranch2 = false; - const byobCanceled = forBranch2 ? canceled2 : canceled1; - const otherCanceled = forBranch2 ? canceled1 : canceled2; - if (!otherCanceled) { - let clonedChunk; - try { - clonedChunk = CloneAsUint8Array(chunk); - } - catch (cloneE) { - ReadableByteStreamControllerError(byobBranch._readableStreamController, cloneE); - ReadableByteStreamControllerError(otherBranch._readableStreamController, cloneE); - resolveCancelPromise(ReadableStreamCancel(stream, cloneE)); - return; - } - if (!byobCanceled) { - ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk); - } - ReadableByteStreamControllerEnqueue(otherBranch._readableStreamController, clonedChunk); - } - else if (!byobCanceled) { - ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk); - } - reading = false; - if (readAgainForBranch1) { - pull1Algorithm(); - } - else if (readAgainForBranch2) { - pull2Algorithm(); - } - }); - }, - _closeSteps: chunk => { - reading = false; - const byobCanceled = forBranch2 ? canceled2 : canceled1; - const otherCanceled = forBranch2 ? canceled1 : canceled2; - if (!byobCanceled) { - ReadableByteStreamControllerClose(byobBranch._readableStreamController); - } - if (!otherCanceled) { - ReadableByteStreamControllerClose(otherBranch._readableStreamController); - } - if (chunk !== undefined) { - if (!byobCanceled) { - ReadableByteStreamControllerRespondWithNewView(byobBranch._readableStreamController, chunk); - } - if (!otherCanceled && otherBranch._readableStreamController._pendingPullIntos.length > 0) { - ReadableByteStreamControllerRespond(otherBranch._readableStreamController, 0); - } - } - if (!byobCanceled || !otherCanceled) { - resolveCancelPromise(undefined); - } - }, - _errorSteps: () => { - reading = false; - } - }; - ReadableStreamBYOBReaderRead(reader, view, 1, readIntoRequest); - } - function pull1Algorithm() { - if (reading) { - readAgainForBranch1 = true; - return promiseResolvedWith(undefined); - } - reading = true; - const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch1._readableStreamController); - if (byobRequest === null) { - pullWithDefaultReader(); - } - else { - pullWithBYOBReader(byobRequest._view, false); - } - return promiseResolvedWith(undefined); - } - function pull2Algorithm() { - if (reading) { - readAgainForBranch2 = true; - return promiseResolvedWith(undefined); - } - reading = true; - const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch2._readableStreamController); - if (byobRequest === null) { - pullWithDefaultReader(); - } - else { - pullWithBYOBReader(byobRequest._view, true); - } - return promiseResolvedWith(undefined); - } - function cancel1Algorithm(reason) { - canceled1 = true; - reason1 = reason; - if (canceled2) { - const compositeReason = CreateArrayFromList([reason1, reason2]); - const cancelResult = ReadableStreamCancel(stream, compositeReason); - resolveCancelPromise(cancelResult); - } - return cancelPromise; - } - function cancel2Algorithm(reason) { - canceled2 = true; - reason2 = reason; - if (canceled1) { - const compositeReason = CreateArrayFromList([reason1, reason2]); - const cancelResult = ReadableStreamCancel(stream, compositeReason); - resolveCancelPromise(cancelResult); - } - return cancelPromise; - } - function startAlgorithm() { - return; - } - branch1 = CreateReadableByteStream(startAlgorithm, pull1Algorithm, cancel1Algorithm); - branch2 = CreateReadableByteStream(startAlgorithm, pull2Algorithm, cancel2Algorithm); - forwardReaderError(reader); - 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; - const autoAllocateChunkSize = original === null || original === void 0 ? void 0 : original.autoAllocateChunkSize; - const cancel = original === null || original === void 0 ? void 0 : original.cancel; - const pull = original === null || original === void 0 ? void 0 : original.pull; - const start = original === null || original === void 0 ? void 0 : original.start; - const type = original === null || original === void 0 ? void 0 : original.type; - return { - autoAllocateChunkSize: autoAllocateChunkSize === undefined ? - undefined : - convertUnsignedLongLongWithEnforceRange(autoAllocateChunkSize, `${context} has member 'autoAllocateChunkSize' that`), - cancel: cancel === undefined ? - undefined : - convertUnderlyingSourceCancelCallback(cancel, original, `${context} has member 'cancel' that`), - pull: pull === undefined ? - undefined : - convertUnderlyingSourcePullCallback(pull, original, `${context} has member 'pull' that`), - start: start === undefined ? - undefined : - convertUnderlyingSourceStartCallback(start, original, `${context} has member 'start' that`), - type: type === undefined ? undefined : convertReadableStreamType(type, `${context} has member 'type' that`) - }; - } - function convertUnderlyingSourceCancelCallback(fn, original, context) { - assertFunction(fn, context); - return (reason) => promiseCall(fn, original, [reason]); - } - function convertUnderlyingSourcePullCallback(fn, original, context) { - assertFunction(fn, context); - return (controller) => promiseCall(fn, original, [controller]); - } - function convertUnderlyingSourceStartCallback(fn, original, context) { - assertFunction(fn, context); - return (controller) => reflectCall(fn, original, [controller]); - } - function convertReadableStreamType(type, context) { - type = `${type}`; - if (type !== 'bytes') { - throw new TypeError(`${context} '${type}' is not a valid enumeration value for ReadableStreamType`); - } - return type; - } - - function convertIteratorOptions(options, context) { - assertDictionary(options, context); - const preventCancel = options === null || options === void 0 ? void 0 : options.preventCancel; - return { preventCancel: Boolean(preventCancel) }; - } - - function convertPipeOptions(options, context) { - assertDictionary(options, context); - const preventAbort = options === null || options === void 0 ? void 0 : options.preventAbort; - const preventCancel = options === null || options === void 0 ? void 0 : options.preventCancel; - const preventClose = options === null || options === void 0 ? void 0 : options.preventClose; - const signal = options === null || options === void 0 ? void 0 : options.signal; - if (signal !== undefined) { - assertAbortSignal(signal, `${context} has member 'signal' that`); - } - return { - preventAbort: Boolean(preventAbort), - preventCancel: Boolean(preventCancel), - preventClose: Boolean(preventClose), - signal - }; - } - function assertAbortSignal(signal, context) { - if (!isAbortSignal(signal)) { - throw new TypeError(`${context} is not an AbortSignal.`); - } - } - - function convertReadableWritablePair(pair, context) { - assertDictionary(pair, context); - const readable = pair === null || pair === void 0 ? void 0 : pair.readable; - assertRequiredField(readable, 'readable', 'ReadableWritablePair'); - assertReadableStream(readable, `${context} has member 'readable' that`); - const writable = pair === null || pair === void 0 ? void 0 : pair.writable; - assertRequiredField(writable, 'writable', 'ReadableWritablePair'); - assertWritableStream(writable, `${context} has member 'writable' that`); - return { readable, writable }; - } - - /** - * A readable stream represents a source of data, from which you can read. - * - * @public - */ - class ReadableStream { - constructor(rawUnderlyingSource = {}, rawStrategy = {}) { - if (rawUnderlyingSource === undefined) { - rawUnderlyingSource = null; - } - else { - assertObject(rawUnderlyingSource, 'First parameter'); - } - const strategy = convertQueuingStrategy(rawStrategy, 'Second parameter'); - const underlyingSource = convertUnderlyingDefaultOrByteSource(rawUnderlyingSource, 'First parameter'); - InitializeReadableStream(this); - if (underlyingSource.type === 'bytes') { - if (strategy.size !== undefined) { - throw new RangeError('The strategy for a byte stream cannot have a size function'); - } - const highWaterMark = ExtractHighWaterMark(strategy, 0); - SetUpReadableByteStreamControllerFromUnderlyingSource(this, underlyingSource, highWaterMark); - } - else { - const sizeAlgorithm = ExtractSizeAlgorithm(strategy); - const highWaterMark = ExtractHighWaterMark(strategy, 1); - SetUpReadableStreamDefaultControllerFromUnderlyingSource(this, underlyingSource, highWaterMark, sizeAlgorithm); - } - } - /** - * Whether or not the readable stream is locked to a {@link ReadableStreamDefaultReader | reader}. - */ - get locked() { - if (!IsReadableStream(this)) { - throw streamBrandCheckException$1('locked'); - } - return IsReadableStreamLocked(this); - } - /** - * Cancels the stream, signaling a loss of interest in the stream by a consumer. - * - * The supplied `reason` argument will be given to the underlying source's {@link UnderlyingSource.cancel | cancel()} - * method, which might or might not use it. - */ - cancel(reason = undefined) { - if (!IsReadableStream(this)) { - return promiseRejectedWith(streamBrandCheckException$1('cancel')); - } - if (IsReadableStreamLocked(this)) { - return promiseRejectedWith(new TypeError('Cannot cancel a stream that already has a reader')); - } - return ReadableStreamCancel(this, reason); - } - getReader(rawOptions = undefined) { - if (!IsReadableStream(this)) { - throw streamBrandCheckException$1('getReader'); - } - const options = convertReaderOptions(rawOptions, 'First parameter'); - if (options.mode === undefined) { - return AcquireReadableStreamDefaultReader(this); - } - return AcquireReadableStreamBYOBReader(this); - } - pipeThrough(rawTransform, rawOptions = {}) { - if (!IsReadableStream(this)) { - throw streamBrandCheckException$1('pipeThrough'); - } - assertRequiredArgument(rawTransform, 1, 'pipeThrough'); - const transform = convertReadableWritablePair(rawTransform, 'First parameter'); - const options = convertPipeOptions(rawOptions, 'Second parameter'); - if (IsReadableStreamLocked(this)) { - throw new TypeError('ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream'); - } - if (IsWritableStreamLocked(transform.writable)) { - throw new TypeError('ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream'); - } - const promise = ReadableStreamPipeTo(this, transform.writable, options.preventClose, options.preventAbort, options.preventCancel, options.signal); - setPromiseIsHandledToTrue(promise); - return transform.readable; - } - pipeTo(destination, rawOptions = {}) { - if (!IsReadableStream(this)) { - return promiseRejectedWith(streamBrandCheckException$1('pipeTo')); - } - if (destination === undefined) { - return promiseRejectedWith(`Parameter 1 is required in 'pipeTo'.`); - } - if (!IsWritableStream(destination)) { - return promiseRejectedWith(new TypeError(`ReadableStream.prototype.pipeTo's first argument must be a WritableStream`)); - } - let options; - try { - options = convertPipeOptions(rawOptions, 'Second parameter'); - } - catch (e) { - return promiseRejectedWith(e); - } - if (IsReadableStreamLocked(this)) { - return promiseRejectedWith(new TypeError('ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream')); - } - if (IsWritableStreamLocked(destination)) { - return promiseRejectedWith(new TypeError('ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream')); - } - return ReadableStreamPipeTo(this, destination, options.preventClose, options.preventAbort, options.preventCancel, options.signal); - } - /** - * Tees this readable stream, returning a two-element array containing the two resulting branches as - * new {@link ReadableStream} instances. - * - * Teeing a stream will lock it, preventing any other consumer from acquiring a reader. - * To cancel the stream, cancel both of the resulting branches; a composite cancellation reason will then be - * propagated to the stream's underlying source. - * - * Note that the chunks seen in each branch will be the same object. If the chunks are not immutable, - * this could allow interference between the two branches. - */ - tee() { - if (!IsReadableStream(this)) { - throw streamBrandCheckException$1('tee'); - } - const branches = ReadableStreamTee(this); - return CreateArrayFromList(branches); - } - values(rawOptions = undefined) { - if (!IsReadableStream(this)) { - throw streamBrandCheckException$1('values'); - } - 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 }, - pipeThrough: { enumerable: true }, - pipeTo: { enumerable: true }, - tee: { enumerable: true }, - values: { enumerable: true }, - locked: { enumerable: true } - }); - setFunctionName(ReadableStream.from, 'from'); - setFunctionName(ReadableStream.prototype.cancel, 'cancel'); - setFunctionName(ReadableStream.prototype.getReader, 'getReader'); - setFunctionName(ReadableStream.prototype.pipeThrough, 'pipeThrough'); - setFunctionName(ReadableStream.prototype.pipeTo, 'pipeTo'); - setFunctionName(ReadableStream.prototype.tee, 'tee'); - setFunctionName(ReadableStream.prototype.values, 'values'); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(ReadableStream.prototype, Symbol.toStringTag, { - value: 'ReadableStream', - 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) { - const stream = Object.create(ReadableStream.prototype); - InitializeReadableStream(stream); - const controller = Object.create(ReadableStreamDefaultController.prototype); - SetUpReadableStreamDefaultController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, highWaterMark, sizeAlgorithm); - return stream; - } - // Throws if and only if startAlgorithm throws. - function CreateReadableByteStream(startAlgorithm, pullAlgorithm, cancelAlgorithm) { - const stream = Object.create(ReadableStream.prototype); - InitializeReadableStream(stream); - const controller = Object.create(ReadableByteStreamController.prototype); - SetUpReadableByteStreamController(stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm, 0, undefined); - return stream; - } - function InitializeReadableStream(stream) { - stream._state = 'readable'; - stream._reader = undefined; - stream._storedError = undefined; - stream._disturbed = false; - } - function IsReadableStream(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_readableStreamController')) { - return false; - } - return x instanceof ReadableStream; - } - function IsReadableStreamLocked(stream) { - if (stream._reader === undefined) { - return false; - } - return true; - } - // ReadableStream API exposed for controllers. - function ReadableStreamCancel(stream, reason) { - stream._disturbed = true; - if (stream._state === 'closed') { - return promiseResolvedWith(undefined); - } - if (stream._state === 'errored') { - return promiseRejectedWith(stream._storedError); - } - ReadableStreamClose(stream); - const reader = stream._reader; - if (reader !== undefined && IsReadableStreamBYOBReader(reader)) { - const readIntoRequests = reader._readIntoRequests; - reader._readIntoRequests = new SimpleQueue(); - readIntoRequests.forEach(readIntoRequest => { - readIntoRequest._closeSteps(undefined); - }); - } - const sourceCancelPromise = stream._readableStreamController[CancelSteps](reason); - return transformPromiseWith(sourceCancelPromise, noop); - } - function ReadableStreamClose(stream) { - stream._state = 'closed'; - const reader = stream._reader; - if (reader === undefined) { - return; - } - defaultReaderClosedPromiseResolve(reader); - if (IsReadableStreamDefaultReader(reader)) { - const readRequests = reader._readRequests; - reader._readRequests = new SimpleQueue(); - readRequests.forEach(readRequest => { - readRequest._closeSteps(); - }); - } - } - function ReadableStreamError(stream, e) { - stream._state = 'errored'; - stream._storedError = e; - const reader = stream._reader; - if (reader === undefined) { - return; - } - defaultReaderClosedPromiseReject(reader, e); - if (IsReadableStreamDefaultReader(reader)) { - ReadableStreamDefaultReaderErrorReadRequests(reader, e); - } - else { - ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e); - } - } - // Helper functions for the ReadableStream. - function streamBrandCheckException$1(name) { - return new TypeError(`ReadableStream.prototype.${name} can only be used on a ReadableStream`); - } - - function convertQueuingStrategyInit(init, context) { - assertDictionary(init, context); - const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark; - assertRequiredField(highWaterMark, 'highWaterMark', 'QueuingStrategyInit'); - return { - highWaterMark: convertUnrestrictedDouble(highWaterMark) - }; - } - - // The size function must not have a prototype property nor be a constructor - const byteLengthSizeFunction = (chunk) => { - return chunk.byteLength; - }; - setFunctionName(byteLengthSizeFunction, 'size'); - /** - * A queuing strategy that counts the number of bytes in each chunk. - * - * @public - */ - class ByteLengthQueuingStrategy { - constructor(options) { - assertRequiredArgument(options, 1, 'ByteLengthQueuingStrategy'); - options = convertQueuingStrategyInit(options, 'First parameter'); - this._byteLengthQueuingStrategyHighWaterMark = options.highWaterMark; - } - /** - * Returns the high water mark provided to the constructor. - */ - get highWaterMark() { - if (!IsByteLengthQueuingStrategy(this)) { - throw byteLengthBrandCheckException('highWaterMark'); - } - return this._byteLengthQueuingStrategyHighWaterMark; - } - /** - * Measures the size of `chunk` by returning the value of its `byteLength` property. - */ - get size() { - if (!IsByteLengthQueuingStrategy(this)) { - throw byteLengthBrandCheckException('size'); - } - return byteLengthSizeFunction; - } - } - Object.defineProperties(ByteLengthQueuingStrategy.prototype, { - highWaterMark: { enumerable: true }, - size: { enumerable: true } - }); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(ByteLengthQueuingStrategy.prototype, Symbol.toStringTag, { - value: 'ByteLengthQueuingStrategy', - configurable: true - }); - } - // Helper functions for the ByteLengthQueuingStrategy. - function byteLengthBrandCheckException(name) { - return new TypeError(`ByteLengthQueuingStrategy.prototype.${name} can only be used on a ByteLengthQueuingStrategy`); - } - function IsByteLengthQueuingStrategy(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_byteLengthQueuingStrategyHighWaterMark')) { - return false; - } - return x instanceof ByteLengthQueuingStrategy; - } - - // The size function must not have a prototype property nor be a constructor - const countSizeFunction = () => { - return 1; - }; - setFunctionName(countSizeFunction, 'size'); - /** - * A queuing strategy that counts the number of chunks. - * - * @public - */ - class CountQueuingStrategy { - constructor(options) { - assertRequiredArgument(options, 1, 'CountQueuingStrategy'); - options = convertQueuingStrategyInit(options, 'First parameter'); - this._countQueuingStrategyHighWaterMark = options.highWaterMark; - } - /** - * Returns the high water mark provided to the constructor. - */ - get highWaterMark() { - if (!IsCountQueuingStrategy(this)) { - throw countBrandCheckException('highWaterMark'); - } - return this._countQueuingStrategyHighWaterMark; - } - /** - * Measures the size of `chunk` by always returning 1. - * This ensures that the total queue size is a count of the number of chunks in the queue. - */ - get size() { - if (!IsCountQueuingStrategy(this)) { - throw countBrandCheckException('size'); - } - return countSizeFunction; - } - } - Object.defineProperties(CountQueuingStrategy.prototype, { - highWaterMark: { enumerable: true }, - size: { enumerable: true } - }); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(CountQueuingStrategy.prototype, Symbol.toStringTag, { - value: 'CountQueuingStrategy', - configurable: true - }); - } - // Helper functions for the CountQueuingStrategy. - function countBrandCheckException(name) { - return new TypeError(`CountQueuingStrategy.prototype.${name} can only be used on a CountQueuingStrategy`); - } - function IsCountQueuingStrategy(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_countQueuingStrategyHighWaterMark')) { - return false; - } - return x instanceof CountQueuingStrategy; - } - - 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`), - readableType, - start: start === undefined ? - undefined : - convertTransformerStartCallback(start, original, `${context} has member 'start' that`), - transform: transform === undefined ? - undefined : - convertTransformerTransformCallback(transform, original, `${context} has member 'transform' that`), - writableType - }; - } - function convertTransformerFlushCallback(fn, original, context) { - assertFunction(fn, context); - return (controller) => promiseCall(fn, original, [controller]); - } - function convertTransformerStartCallback(fn, original, context) { - assertFunction(fn, context); - return (controller) => reflectCall(fn, original, [controller]); - } - function convertTransformerTransformCallback(fn, original, context) { - 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 - /** - * A transform stream consists of a pair of streams: a {@link WritableStream | writable stream}, - * known as its writable side, and a {@link ReadableStream | readable stream}, known as its readable side. - * In a manner specific to the transform stream in question, writes to the writable side result in new data being - * made available for reading from the readable side. - * - * @public - */ - class TransformStream { - constructor(rawTransformer = {}, rawWritableStrategy = {}, rawReadableStrategy = {}) { - if (rawTransformer === undefined) { - rawTransformer = null; - } - const writableStrategy = convertQueuingStrategy(rawWritableStrategy, 'Second parameter'); - const readableStrategy = convertQueuingStrategy(rawReadableStrategy, 'Third parameter'); - const transformer = convertTransformer(rawTransformer, 'First parameter'); - if (transformer.readableType !== undefined) { - throw new RangeError('Invalid readableType specified'); - } - if (transformer.writableType !== undefined) { - throw new RangeError('Invalid writableType specified'); - } - const readableHighWaterMark = ExtractHighWaterMark(readableStrategy, 0); - const readableSizeAlgorithm = ExtractSizeAlgorithm(readableStrategy); - const writableHighWaterMark = ExtractHighWaterMark(writableStrategy, 1); - const writableSizeAlgorithm = ExtractSizeAlgorithm(writableStrategy); - let startPromise_resolve; - const startPromise = newPromise(resolve => { - startPromise_resolve = resolve; - }); - InitializeTransformStream(this, startPromise, writableHighWaterMark, writableSizeAlgorithm, readableHighWaterMark, readableSizeAlgorithm); - SetUpTransformStreamDefaultControllerFromTransformer(this, transformer); - if (transformer.start !== undefined) { - startPromise_resolve(transformer.start(this._transformStreamController)); - } - else { - startPromise_resolve(undefined); - } - } - /** - * The readable side of the transform stream. - */ - get readable() { - if (!IsTransformStream(this)) { - throw streamBrandCheckException('readable'); - } - return this._readable; - } - /** - * The writable side of the transform stream. - */ - get writable() { - if (!IsTransformStream(this)) { - throw streamBrandCheckException('writable'); - } - return this._writable; - } - } - Object.defineProperties(TransformStream.prototype, { - readable: { enumerable: true }, - writable: { enumerable: true } - }); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(TransformStream.prototype, Symbol.toStringTag, { - value: 'TransformStream', - configurable: true - }); - } - function InitializeTransformStream(stream, startPromise, writableHighWaterMark, writableSizeAlgorithm, readableHighWaterMark, readableSizeAlgorithm) { - function startAlgorithm() { - return startPromise; - } - function writeAlgorithm(chunk) { - return TransformStreamDefaultSinkWriteAlgorithm(stream, chunk); - } - function abortAlgorithm(reason) { - return TransformStreamDefaultSinkAbortAlgorithm(stream, reason); - } - function closeAlgorithm() { - return TransformStreamDefaultSinkCloseAlgorithm(stream); - } - stream._writable = CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, writableHighWaterMark, writableSizeAlgorithm); - function pullAlgorithm() { - return TransformStreamDefaultSourcePullAlgorithm(stream); - } - function cancelAlgorithm(reason) { - 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. - stream._backpressure = undefined; - stream._backpressureChangePromise = undefined; - stream._backpressureChangePromise_resolve = undefined; - TransformStreamSetBackpressure(stream, true); - stream._transformStreamController = undefined; - } - function IsTransformStream(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_transformStreamController')) { - return false; - } - return x instanceof TransformStream; - } - // This is a no-op if both sides are already errored. - function TransformStreamError(stream, e) { - ReadableStreamDefaultControllerError(stream._readable._readableStreamController, e); - TransformStreamErrorWritableAndUnblockWrite(stream, e); - } - 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 - // _backpressure is set. - TransformStreamSetBackpressure(stream, false); - } - } - function TransformStreamSetBackpressure(stream, backpressure) { - // Passes also when called during construction. - if (stream._backpressureChangePromise !== undefined) { - stream._backpressureChangePromise_resolve(); - } - stream._backpressureChangePromise = newPromise(resolve => { - stream._backpressureChangePromise_resolve = resolve; - }); - stream._backpressure = backpressure; - } - // Class TransformStreamDefaultController - /** - * Allows control of the {@link ReadableStream} and {@link WritableStream} of the associated {@link TransformStream}. - * - * @public - */ - class TransformStreamDefaultController { - constructor() { - throw new TypeError('Illegal constructor'); - } - /** - * Returns the desired size to fill the readable side’s internal queue. It can be negative, if the queue is over-full. - */ - get desiredSize() { - if (!IsTransformStreamDefaultController(this)) { - throw defaultControllerBrandCheckException('desiredSize'); - } - const readableController = this._controlledTransformStream._readable._readableStreamController; - return ReadableStreamDefaultControllerGetDesiredSize(readableController); - } - enqueue(chunk = undefined) { - if (!IsTransformStreamDefaultController(this)) { - throw defaultControllerBrandCheckException('enqueue'); - } - TransformStreamDefaultControllerEnqueue(this, chunk); - } - /** - * Errors both the readable side and the writable side of the controlled transform stream, making all future - * interactions with it fail with the given error `e`. Any chunks queued for transformation will be discarded. - */ - error(reason = undefined) { - if (!IsTransformStreamDefaultController(this)) { - throw defaultControllerBrandCheckException('error'); - } - TransformStreamDefaultControllerError(this, reason); - } - /** - * Closes the readable side and errors the writable side of the controlled transform stream. This is useful when the - * transformer only needs to consume a portion of the chunks written to the writable side. - */ - terminate() { - if (!IsTransformStreamDefaultController(this)) { - throw defaultControllerBrandCheckException('terminate'); - } - TransformStreamDefaultControllerTerminate(this); - } - } - Object.defineProperties(TransformStreamDefaultController.prototype, { - enqueue: { enumerable: true }, - error: { enumerable: true }, - terminate: { enumerable: true }, - desiredSize: { enumerable: true } - }); - setFunctionName(TransformStreamDefaultController.prototype.enqueue, 'enqueue'); - setFunctionName(TransformStreamDefaultController.prototype.error, 'error'); - setFunctionName(TransformStreamDefaultController.prototype.terminate, 'terminate'); - if (typeof Symbol.toStringTag === 'symbol') { - Object.defineProperty(TransformStreamDefaultController.prototype, Symbol.toStringTag, { - value: 'TransformStreamDefaultController', - configurable: true - }); - } - // Transform Stream Default Controller Abstract Operations - function IsTransformStreamDefaultController(x) { - if (!typeIsObject(x)) { - return false; - } - if (!Object.prototype.hasOwnProperty.call(x, '_controlledTransformStream')) { - return false; - } - return x instanceof TransformStreamDefaultController; - } - 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; - 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); - } - 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; - const readableController = stream._readable._readableStreamController; - if (!ReadableStreamDefaultControllerCanCloseOrEnqueue(readableController)) { - throw new TypeError('Readable side is not in a state that permits enqueue'); - } - // We throttle transform invocations based on the backpressure of the ReadableStream, but we still - // accept TransformStreamDefaultControllerEnqueue() calls. - try { - ReadableStreamDefaultControllerEnqueue(readableController, chunk); - } - catch (e) { - // This happens when readableStrategy.size() throws. - TransformStreamErrorWritableAndUnblockWrite(stream, e); - throw stream._readable._storedError; - } - const backpressure = ReadableStreamDefaultControllerHasBackpressure(readableController); - if (backpressure !== stream._backpressure) { - TransformStreamSetBackpressure(stream, true); - } - } - function TransformStreamDefaultControllerError(controller, e) { - TransformStreamError(controller._controlledTransformStream, e); - } - function TransformStreamDefaultControllerPerformTransform(controller, chunk) { - const transformPromise = controller._transformAlgorithm(chunk); - return transformPromiseWith(transformPromise, undefined, r => { - TransformStreamError(controller._controlledTransformStream, r); - throw r; - }); - } - function TransformStreamDefaultControllerTerminate(controller) { - const stream = controller._controlledTransformStream; - const readableController = stream._readable._readableStreamController; - ReadableStreamDefaultControllerClose(readableController); - const error = new TypeError('TransformStream terminated'); - TransformStreamErrorWritableAndUnblockWrite(stream, error); - } - // TransformStreamDefaultSink Algorithms - function TransformStreamDefaultSinkWriteAlgorithm(stream, chunk) { - const controller = stream._transformStreamController; - if (stream._backpressure) { - const backpressureChangePromise = stream._backpressureChangePromise; - return transformPromiseWith(backpressureChangePromise, () => { - const writable = stream._writable; - const state = writable._state; - if (state === 'erroring') { - throw writable._storedError; - } - return TransformStreamDefaultControllerPerformTransform(controller, chunk); - }); - } - return TransformStreamDefaultControllerPerformTransform(controller, chunk); - } - function TransformStreamDefaultSinkAbortAlgorithm(stream, reason) { - 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; - // 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); - uponPromise(flushPromise, () => { - if (readable._state === 'errored') { - defaultControllerFinishPromiseReject(controller, readable._storedError); - } - else { - ReadableStreamDefaultControllerClose(readable._readableStreamController); - defaultControllerFinishPromiseResolve(controller); - } - return null; - }, r => { - ReadableStreamDefaultControllerError(readable._readableStreamController, r); - defaultControllerFinishPromiseReject(controller, r); - return null; - }); - return controller._finishPromise; - } - // TransformStreamDefaultSource Algorithms - function TransformStreamDefaultSourcePullAlgorithm(stream) { - // Invariant. Enforced by the promises returned by start() and pull(). - TransformStreamSetBackpressure(stream, false); - // 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`); - } - - exports.ByteLengthQueuingStrategy = ByteLengthQueuingStrategy; - exports.CountQueuingStrategy = CountQueuingStrategy; - exports.ReadableByteStreamController = ReadableByteStreamController; - exports.ReadableStream = ReadableStream; - exports.ReadableStreamBYOBReader = ReadableStreamBYOBReader; - exports.ReadableStreamBYOBRequest = ReadableStreamBYOBRequest; - exports.ReadableStreamDefaultController = ReadableStreamDefaultController; - exports.ReadableStreamDefaultReader = ReadableStreamDefaultReader; - exports.TransformStream = TransformStream; - exports.TransformStreamDefaultController = TransformStreamDefaultController; - exports.WritableStream = WritableStream; - exports.WritableStreamDefaultController = WritableStreamDefaultController; - exports.WritableStreamDefaultWriter = WritableStreamDefaultWriter; - -})); -//# sourceMappingURL=ponyfill.es2018.js.map - - -/***/ }), - -/***/ 18572: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -/* c8 ignore start */ -// 64 KiB (same size chrome slice theirs blob into Uint8array's) -const POOL_SIZE = 65536 - -if (!globalThis.ReadableStream) { - // `node:stream/web` got introduced in v16.5.0 as experimental - // and it's preferred over the polyfilled version. So we also - // suppress the warning that gets emitted by NodeJS for using it. - try { - const process = __webpack_require__(97742) - const { emitWarning } = process - try { - process.emitWarning = () => {} - Object.assign(globalThis, __webpack_require__(72477)) - process.emitWarning = emitWarning - } catch (error) { - process.emitWarning = emitWarning - throw error - } - } catch (error) { - // fallback to polyfill implementation - Object.assign(globalThis, __webpack_require__(21452)) - } -} - -try { - // Don't use node: prefix for this, require+node: is not supported until node v14.14 - // Only `import()` can use prefix in 12.20 and later - const { Blob } = __webpack_require__(14300) - if (Blob && !Blob.prototype.stream) { - Blob.prototype.stream = function name (params) { - let position = 0 - const blob = this - - return new ReadableStream({ - type: 'bytes', - async pull (ctrl) { - const chunk = blob.slice(position, Math.min(blob.size, position + POOL_SIZE)) - const buffer = await chunk.arrayBuffer() - position += buffer.byteLength - ctrl.enqueue(new Uint8Array(buffer)) - - if (position === blob.size) { - ctrl.close() - } - } - }) - } - } -} catch (error) {} -/* c8 ignore end */ - - -/***/ }), - -/***/ 93213: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* unused harmony export File */ -/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11410); - - -const _File = class File extends _index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z { - #lastModified = 0 - #name = '' - - /** - * @param {*[]} fileBits - * @param {string} fileName - * @param {{lastModified?: number, type?: string}} options - */// @ts-ignore - constructor (fileBits, fileName, options = {}) { - if (arguments.length < 2) { - throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`) - } - super(fileBits, options) - - if (options === null) options = {} - - // Simulate WebIDL type casting for NaN value in lastModified option. - const lastModified = options.lastModified === undefined ? Date.now() : Number(options.lastModified) - if (!Number.isNaN(lastModified)) { - this.#lastModified = lastModified - } - - this.#name = String(fileName) - } - - get name () { - return this.#name - } - - get lastModified () { - return this.#lastModified - } - - get [Symbol.toStringTag] () { - return 'File' - } - - static [Symbol.hasInstance] (object) { - return !!object && object instanceof _index_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z && - /^(File)$/.test(object[Symbol.toStringTag]) - } -} - -/** @type {typeof globalThis.File} */// @ts-ignore -const File = _File -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (File); - - -/***/ }), - -/***/ 52185: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "$B": () => (/* reexport safe */ _file_js__WEBPACK_IMPORTED_MODULE_3__.Z) -/* harmony export */ }); -/* unused harmony exports blobFrom, blobFromSync, fileFrom, fileFromSync */ -/* harmony import */ var node_fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(87561); -/* harmony import */ var node_path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49411); -/* harmony import */ var node_domexception__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97760); -/* harmony import */ var _file_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(93213); -/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11410); - - - - - - - -const { stat } = node_fs__WEBPACK_IMPORTED_MODULE_0__.promises - -/** - * @param {string} path filepath on the disk - * @param {string} [type] mimetype to use - */ -const blobFromSync = (path, type) => fromBlob(statSync(path), path, type) - -/** - * @param {string} path filepath on the disk - * @param {string} [type] mimetype to use - * @returns {Promise} - */ -const blobFrom = (path, type) => stat(path).then(stat => fromBlob(stat, path, type)) - -/** - * @param {string} path filepath on the disk - * @param {string} [type] mimetype to use - * @returns {Promise} - */ -const fileFrom = (path, type) => stat(path).then(stat => fromFile(stat, path, type)) - -/** - * @param {string} path filepath on the disk - * @param {string} [type] mimetype to use - */ -const fileFromSync = (path, type) => fromFile(statSync(path), path, type) - -// @ts-ignore -const fromBlob = (stat, path, type = '') => new Blob([new BlobDataItem({ - path, - size: stat.size, - lastModified: stat.mtimeMs, - start: 0 -})], { type }) - -// @ts-ignore -const fromFile = (stat, path, type = '') => new File([new BlobDataItem({ - path, - size: stat.size, - lastModified: stat.mtimeMs, - start: 0 -})], basename(path), { type, lastModified: stat.mtimeMs }) - -/** - * This is a blob backed up by a file on the disk - * with minium requirement. Its wrapped around a Blob as a blobPart - * so you have no direct access to this. - * - * @private - */ -class BlobDataItem { - #path - #start - - constructor (options) { - this.#path = options.path - this.#start = options.start - this.size = options.size - this.lastModified = options.lastModified - } - - /** - * Slicing arguments is first validated and formatted - * to not be out of range by Blob.prototype.slice - */ - slice (start, end) { - return new BlobDataItem({ - path: this.#path, - lastModified: this.lastModified, - size: end - start, - start: this.#start + start - }) - } - - async * stream () { - const { mtimeMs } = await stat(this.#path) - if (mtimeMs > this.lastModified) { - throw new DOMException('The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.', 'NotReadableError') - } - yield * createReadStream(this.#path, { - start: this.#start, - end: this.#start + this.size - 1 - }) - } - - get [Symbol.toStringTag] () { - return 'Blob' - } -} - -/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (blobFromSync))); - - - -/***/ }), - -/***/ 11410: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* unused harmony export Blob */ -/* harmony import */ var _streams_cjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18572); -/*! fetch-blob. MIT License. Jimmy Wärting */ - -// TODO (jimmywarting): in the feature use conditional loading with top level await (requires 14.x) -// Node has recently added whatwg stream into core - - - -// 64 KiB (same size chrome slice theirs blob into Uint8array's) -const POOL_SIZE = 65536 - -/** @param {(Blob | Uint8Array)[]} parts */ -async function * toIterator (parts, clone = true) { - for (const part of parts) { - if ('stream' in part) { - yield * (/** @type {AsyncIterableIterator} */ (part.stream())) - } else if (ArrayBuffer.isView(part)) { - if (clone) { - let position = part.byteOffset - const end = part.byteOffset + part.byteLength - while (position !== end) { - const size = Math.min(end - position, POOL_SIZE) - const chunk = part.buffer.slice(position, position + size) - position += chunk.byteLength - yield new Uint8Array(chunk) - } - } else { - yield part - } - /* c8 ignore next 10 */ - } else { - // For blobs that have arrayBuffer but no stream method (nodes buffer.Blob) - let position = 0, b = (/** @type {Blob} */ (part)) - while (position !== b.size) { - const chunk = b.slice(position, Math.min(b.size, position + POOL_SIZE)) - const buffer = await chunk.arrayBuffer() - position += buffer.byteLength - yield new Uint8Array(buffer) - } - } - } -} - -const _Blob = class Blob { - /** @type {Array.<(Blob|Uint8Array)>} */ - #parts = [] - #type = '' - #size = 0 - #endings = 'transparent' - - /** - * The Blob() constructor returns a new Blob object. The content - * of the blob consists of the concatenation of the values given - * in the parameter array. - * - * @param {*} blobParts - * @param {{ type?: string, endings?: string }} [options] - */ - constructor (blobParts = [], options = {}) { - if (typeof blobParts !== 'object' || blobParts === null) { - throw new TypeError('Failed to construct \'Blob\': The provided value cannot be converted to a sequence.') - } - - if (typeof blobParts[Symbol.iterator] !== 'function') { - throw new TypeError('Failed to construct \'Blob\': The object must have a callable @@iterator property.') - } - - if (typeof options !== 'object' && typeof options !== 'function') { - throw new TypeError('Failed to construct \'Blob\': parameter 2 cannot convert to dictionary.') - } - - if (options === null) options = {} - - const encoder = new TextEncoder() - for (const element of blobParts) { - let part - if (ArrayBuffer.isView(element)) { - part = new Uint8Array(element.buffer.slice(element.byteOffset, element.byteOffset + element.byteLength)) - } else if (element instanceof ArrayBuffer) { - part = new Uint8Array(element.slice(0)) - } else if (element instanceof Blob) { - part = element - } else { - part = encoder.encode(`${element}`) - } - - this.#size += ArrayBuffer.isView(part) ? part.byteLength : part.size - this.#parts.push(part) - } - - this.#endings = `${options.endings === undefined ? 'transparent' : options.endings}` - const type = options.type === undefined ? '' : String(options.type) - this.#type = /^[\x20-\x7E]*$/.test(type) ? type : '' - } - - /** - * The Blob interface's size property returns the - * size of the Blob in bytes. - */ - get size () { - return this.#size - } - - /** - * The type property of a Blob object returns the MIME type of the file. - */ - get type () { - return this.#type - } - - /** - * The text() method in the Blob interface returns a Promise - * that resolves with a string containing the contents of - * the blob, interpreted as UTF-8. - * - * @return {Promise} - */ - async text () { - // More optimized than using this.arrayBuffer() - // that requires twice as much ram - const decoder = new TextDecoder() - let str = '' - for await (const part of toIterator(this.#parts, false)) { - str += decoder.decode(part, { stream: true }) - } - // Remaining - str += decoder.decode() - return str - } - - /** - * The arrayBuffer() method in the Blob interface returns a - * Promise that resolves with the contents of the blob as - * binary data contained in an ArrayBuffer. - * - * @return {Promise} - */ - async arrayBuffer () { - // Easier way... Just a unnecessary overhead - // const view = new Uint8Array(this.size); - // await this.stream().getReader({mode: 'byob'}).read(view); - // return view.buffer; - - const data = new Uint8Array(this.size) - let offset = 0 - for await (const chunk of toIterator(this.#parts, false)) { - data.set(chunk, offset) - offset += chunk.length - } - - return data.buffer - } - - stream () { - const it = toIterator(this.#parts, true) - - return new globalThis.ReadableStream({ - // @ts-ignore - type: 'bytes', - async pull (ctrl) { - const chunk = await it.next() - chunk.done ? ctrl.close() : ctrl.enqueue(chunk.value) - }, - - async cancel () { - await it.return() - } - }) - } - - /** - * The Blob interface's slice() method creates and returns a - * new Blob object which contains data from a subset of the - * blob on which it's called. - * - * @param {number} [start] - * @param {number} [end] - * @param {string} [type] - */ - slice (start = 0, end = this.size, type = '') { - const { size } = this - - let relativeStart = start < 0 ? Math.max(size + start, 0) : Math.min(start, size) - let relativeEnd = end < 0 ? Math.max(size + end, 0) : Math.min(end, size) - - const span = Math.max(relativeEnd - relativeStart, 0) - const parts = this.#parts - const blobParts = [] - let added = 0 - - for (const part of parts) { - // don't add the overflow to new blobParts - if (added >= span) { - break - } - - const size = ArrayBuffer.isView(part) ? part.byteLength : part.size - if (relativeStart && size <= relativeStart) { - // Skip the beginning and change the relative - // start & end position as we skip the unwanted parts - relativeStart -= size - relativeEnd -= size - } else { - let chunk - if (ArrayBuffer.isView(part)) { - chunk = part.subarray(relativeStart, Math.min(size, relativeEnd)) - added += chunk.byteLength - } else { - chunk = part.slice(relativeStart, Math.min(size, relativeEnd)) - added += chunk.size - } - relativeEnd -= size - blobParts.push(chunk) - relativeStart = 0 // All next sequential parts should start at 0 - } - } - - const blob = new Blob([], { type: String(type).toLowerCase() }) - blob.#size = span - blob.#parts = blobParts - - return blob - } - - get [Symbol.toStringTag] () { - return 'Blob' - } - - static [Symbol.hasInstance] (object) { - return ( - object && - typeof object === 'object' && - typeof object.constructor === 'function' && - ( - typeof object.stream === 'function' || - typeof object.arrayBuffer === 'function' - ) && - /^(Blob|File)$/.test(object[Symbol.toStringTag]) - ) - } -} - -Object.defineProperties(_Blob.prototype, { - size: { enumerable: true }, - type: { enumerable: true }, - slice: { enumerable: true } -}) - -/** @type {typeof globalThis.Blob} */ -const Blob = _Blob -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Blob); - - -/***/ }), - -/***/ 68010: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Ct": () => (/* binding */ FormData), -/* harmony export */ "au": () => (/* binding */ formDataToBlob) -/* harmony export */ }); -/* unused harmony export File */ -/* harmony import */ var fetch_blob__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11410); -/* harmony import */ var fetch_blob_file_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(93213); -/*! formdata-polyfill. MIT License. Jimmy Wärting */ - - - - -var {toStringTag:t,iterator:i,hasInstance:h}=Symbol, -r=Math.random, -m='append,set,get,getAll,delete,keys,values,entries,forEach,constructor'.split(','), -f=(a,b,c)=>(a+='',/^(Blob|File)$/.test(b && b[t])?[(c=c!==void 0?c+'':b[t]=='File'?b.name:'blob',a),b.name!==c||b[t]=='blob'?new fetch_blob_file_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z([b],c,b):b]:[a,b+'']), -e=(c,f)=>(f?c:c.replace(/\r?\n|\r/g,'\r\n')).replace(/\n/g,'%0A').replace(/\r/g,'%0D').replace(/"/g,'%22'), -x=(n, a, e)=>{if(a.lengthtypeof o[m]!='function')} -append(...a){x('append',arguments,2);this.#d.push(f(...a))} -delete(a){x('delete',arguments,1);a+='';this.#d=this.#d.filter(([b])=>b!==a)} -get(a){x('get',arguments,1);a+='';for(var b=this.#d,l=b.length,c=0;cc[0]===a&&b.push(c[1]));return b} -has(a){x('has',arguments,1);a+='';return this.#d.some(b=>b[0]===a)} -forEach(a,b){x('forEach',arguments,1);for(var [c,d]of this)a.call(b,d,c,this)} -set(...a){x('set',arguments,2);var b=[],c=!0;a=f(...a);this.#d.forEach(d=>{d[0]===a[0]?c&&(c=!b.push(a)):b.push(d)});c&&b.push(a);this.#d=b} -*entries(){yield*this.#d} -*keys(){for(var[a]of this)yield a} -*values(){for(var[,a]of this)yield a}} - -/** @param {FormData} F */ -function formDataToBlob (F,B=fetch_blob__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z){ -var b=`${r()}${r()}`.replace(/\./g, '').slice(-28).padStart(32, '-'),c=[],p=`--${b}\r\nContent-Disposition: form-data; name="` -F.forEach((v,n)=>typeof v=='string' -?c.push(p+e(n)+`"\r\n\r\n${v.replace(/\r(?!\n)|(? { - -"use strict"; -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "HTTPError": () => (/* binding */ HTTPError), -/* harmony export */ "TimeoutError": () => (/* binding */ TimeoutError), -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -/* harmony import */ var node_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(95855); -/* harmony import */ var node_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54889); -/* harmony import */ var node_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(28053); -/* harmony import */ var node_fetch__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23475); -/* harmony import */ var abort_controller__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(61659); - - - -const TEN_MEGABYTES = 1000 * 1000 * 10; - -if (!globalThis.fetch) { - globalThis.fetch = (url, options) => (0,node_fetch__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(url, {highWaterMark: TEN_MEGABYTES, ...options}); -} - -if (!globalThis.Headers) { - globalThis.Headers = node_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z; -} - -if (!globalThis.Request) { - globalThis.Request = node_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z; -} - -if (!globalThis.Response) { - globalThis.Response = node_fetch__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z; -} - -if (!globalThis.AbortController) { - globalThis.AbortController = abort_controller__WEBPACK_IMPORTED_MODULE_0__; -} - -if (!globalThis.ReadableStream) { - try { - globalThis.ReadableStream = await __webpack_require__.e(/* import() */ 956).then(__webpack_require__.t.bind(__webpack_require__, 956, 19)); - } catch {} -} - -const {default: ky, HTTPError, TimeoutError} = await __webpack_require__.e(/* import() */ 502).then(__webpack_require__.bind(__webpack_require__, 17502)); - -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ky); - - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }, 1); - -/***/ }), - -/***/ 20251: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "K1": () => (/* binding */ writeToStream), -/* harmony export */ "NV": () => (/* binding */ getTotalBytes), -/* harmony export */ "Vl": () => (/* binding */ extractContentType), -/* harmony export */ "ZP": () => (/* binding */ Body), -/* harmony export */ "d9": () => (/* binding */ clone) -/* harmony export */ }); -/* harmony import */ var node_stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84492); -/* harmony import */ var node_util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(47261); -/* harmony import */ var node_buffer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(72254); -/* harmony import */ var fetch_blob__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11410); -/* harmony import */ var formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68010); -/* harmony import */ var _errors_fetch_error_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(42052); -/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(82588); -/* harmony import */ var _utils_is_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(33856); - -/** - * Body.js - * - * Body interface provides common methods for Request and Response - */ - - - - - - - - - - - - -const pipeline = (0,node_util__WEBPACK_IMPORTED_MODULE_1__.promisify)(node_stream__WEBPACK_IMPORTED_MODULE_0__.pipeline); -const INTERNALS = Symbol('Body internals'); - -/** - * Body mixin - * - * Ref: https://fetch.spec.whatwg.org/#body - * - * @param Stream body Readable stream - * @param Object opts Response options - * @return Void - */ -class Body { - constructor(body, { - size = 0 - } = {}) { - let boundary = null; - - if (body === null) { - // Body is undefined or null - body = null; - } else if ((0,_utils_is_js__WEBPACK_IMPORTED_MODULE_5__/* .isURLSearchParameters */ .SB)(body)) { - // Body is a URLSearchParams - body = node_buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.from(body.toString()); - } else if ((0,_utils_is_js__WEBPACK_IMPORTED_MODULE_5__/* .isBlob */ .Lj)(body)) { - // Body is blob - } else if (node_buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.isBuffer(body)) { - // Body is Buffer - } else if (node_util__WEBPACK_IMPORTED_MODULE_1__.types.isAnyArrayBuffer(body)) { - // Body is ArrayBuffer - body = node_buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.from(body); - } else if (ArrayBuffer.isView(body)) { - // Body is ArrayBufferView - body = node_buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.from(body.buffer, body.byteOffset, body.byteLength); - } else if (body instanceof node_stream__WEBPACK_IMPORTED_MODULE_0__) { - // Body is stream - } else if (body instanceof formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_4__/* .FormData */ .Ct) { - // Body is FormData - body = (0,formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_4__/* .formDataToBlob */ .au)(body); - boundary = body.type.split('=')[1]; - } else { - // None of the above - // coerce to string then buffer - body = node_buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.from(String(body)); - } - - let stream = body; - - if (node_buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.isBuffer(body)) { - stream = node_stream__WEBPACK_IMPORTED_MODULE_0__.Readable.from(body); - } else if ((0,_utils_is_js__WEBPACK_IMPORTED_MODULE_5__/* .isBlob */ .Lj)(body)) { - stream = node_stream__WEBPACK_IMPORTED_MODULE_0__.Readable.from(body.stream()); - } - - this[INTERNALS] = { - body, - stream, - boundary, - disturbed: false, - error: null - }; - this.size = size; - - if (body instanceof node_stream__WEBPACK_IMPORTED_MODULE_0__) { - body.on('error', error_ => { - const error = error_ instanceof _errors_base_js__WEBPACK_IMPORTED_MODULE_6__/* .FetchBaseError */ .f ? - error_ : - new _errors_fetch_error_js__WEBPACK_IMPORTED_MODULE_7__/* .FetchError */ .k(`Invalid response body while trying to fetch ${this.url}: ${error_.message}`, 'system', error_); - this[INTERNALS].error = error; - }); - } - } - - get body() { - return this[INTERNALS].stream; - } - - get bodyUsed() { - return this[INTERNALS].disturbed; - } - - /** - * Decode response as ArrayBuffer - * - * @return Promise - */ - async arrayBuffer() { - const {buffer, byteOffset, byteLength} = await consumeBody(this); - return buffer.slice(byteOffset, byteOffset + byteLength); - } - - async formData() { - const ct = this.headers.get('content-type'); - - if (ct.startsWith('application/x-www-form-urlencoded')) { - const formData = new formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_4__/* .FormData */ .Ct(); - const parameters = new URLSearchParams(await this.text()); - - for (const [name, value] of parameters) { - formData.append(name, value); - } - - return formData; - } - - const {toFormData} = await __webpack_require__.e(/* import() */ 37).then(__webpack_require__.bind(__webpack_require__, 94037)); - return toFormData(this.body, ct); - } - - /** - * Return raw response as Blob - * - * @return Promise - */ - async blob() { - const ct = (this.headers && this.headers.get('content-type')) || (this[INTERNALS].body && this[INTERNALS].body.type) || ''; - const buf = await this.arrayBuffer(); - - return new fetch_blob__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z([buf], { - type: ct - }); - } - - /** - * Decode response as json - * - * @return Promise - */ - async json() { - const text = await this.text(); - return JSON.parse(text); - } - - /** - * Decode response as text - * - * @return Promise - */ - async text() { - const buffer = await consumeBody(this); - return new TextDecoder().decode(buffer); - } - - /** - * Decode response as buffer (non-spec api) - * - * @return Promise - */ - buffer() { - return consumeBody(this); - } -} - -Body.prototype.buffer = (0,node_util__WEBPACK_IMPORTED_MODULE_1__.deprecate)(Body.prototype.buffer, 'Please use \'response.arrayBuffer()\' instead of \'response.buffer()\'', 'node-fetch#buffer'); - -// In browsers, all properties are enumerable. -Object.defineProperties(Body.prototype, { - body: {enumerable: true}, - bodyUsed: {enumerable: true}, - arrayBuffer: {enumerable: true}, - blob: {enumerable: true}, - json: {enumerable: true}, - text: {enumerable: true}, - data: {get: (0,node_util__WEBPACK_IMPORTED_MODULE_1__.deprecate)(() => {}, - 'data doesn\'t exist, use json(), text(), arrayBuffer(), or body instead', - 'https://github.com/node-fetch/node-fetch/issues/1000 (response)')} -}); - -/** - * Consume and convert an entire Body to a Buffer. - * - * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body - * - * @return Promise - */ -async function consumeBody(data) { - if (data[INTERNALS].disturbed) { - throw new TypeError(`body used already for: ${data.url}`); - } - - data[INTERNALS].disturbed = true; - - if (data[INTERNALS].error) { - throw data[INTERNALS].error; - } - - const {body} = data; - - // Body is null - if (body === null) { - return node_buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.alloc(0); - } - - /* c8 ignore next 3 */ - if (!(body instanceof node_stream__WEBPACK_IMPORTED_MODULE_0__)) { - return node_buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.alloc(0); - } - - // Body is stream - // get ready to actually consume the body - const accum = []; - let accumBytes = 0; - - try { - for await (const chunk of body) { - if (data.size > 0 && accumBytes + chunk.length > data.size) { - const error = new _errors_fetch_error_js__WEBPACK_IMPORTED_MODULE_7__/* .FetchError */ .k(`content size at ${data.url} over limit: ${data.size}`, 'max-size'); - body.destroy(error); - throw error; - } - - accumBytes += chunk.length; - accum.push(chunk); - } - } catch (error) { - const error_ = error instanceof _errors_base_js__WEBPACK_IMPORTED_MODULE_6__/* .FetchBaseError */ .f ? error : new _errors_fetch_error_js__WEBPACK_IMPORTED_MODULE_7__/* .FetchError */ .k(`Invalid response body while trying to fetch ${data.url}: ${error.message}`, 'system', error); - throw error_; - } - - if (body.readableEnded === true || body._readableState.ended === true) { - try { - if (accum.every(c => typeof c === 'string')) { - return node_buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.from(accum.join('')); - } - - return node_buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.concat(accum, accumBytes); - } catch (error) { - throw new _errors_fetch_error_js__WEBPACK_IMPORTED_MODULE_7__/* .FetchError */ .k(`Could not create Buffer from response body for ${data.url}: ${error.message}`, 'system', error); - } - } else { - throw new _errors_fetch_error_js__WEBPACK_IMPORTED_MODULE_7__/* .FetchError */ .k(`Premature close of server response while trying to fetch ${data.url}`); - } -} - -/** - * Clone body given Res/Req instance - * - * @param Mixed instance Response or Request instance - * @param String highWaterMark highWaterMark for both PassThrough body streams - * @return Mixed - */ -const clone = (instance, highWaterMark) => { - let p1; - let p2; - let {body} = instance[INTERNALS]; - - // Don't allow cloning a used body - if (instance.bodyUsed) { - throw new Error('cannot clone body after it is used'); - } - - // Check that body is a stream and not form-data object - // note: we can't clone the form-data object without having it as a dependency - if ((body instanceof node_stream__WEBPACK_IMPORTED_MODULE_0__) && (typeof body.getBoundary !== 'function')) { - // Tee instance body - p1 = new node_stream__WEBPACK_IMPORTED_MODULE_0__.PassThrough({highWaterMark}); - p2 = new node_stream__WEBPACK_IMPORTED_MODULE_0__.PassThrough({highWaterMark}); - body.pipe(p1); - body.pipe(p2); - // Set instance body to teed body and return the other teed body - instance[INTERNALS].stream = p1; - body = p2; - } - - return body; -}; - -const getNonSpecFormDataBoundary = (0,node_util__WEBPACK_IMPORTED_MODULE_1__.deprecate)( - body => body.getBoundary(), - 'form-data doesn\'t follow the spec and requires special treatment. Use alternative package', - 'https://github.com/node-fetch/node-fetch/issues/1167' -); - -/** - * Performs the operation "extract a `Content-Type` value from |object|" as - * specified in the specification: - * https://fetch.spec.whatwg.org/#concept-bodyinit-extract - * - * This function assumes that instance.body is present. - * - * @param {any} body Any options.body input - * @returns {string | null} - */ -const extractContentType = (body, request) => { - // Body is null or undefined - if (body === null) { - return null; - } - - // Body is string - if (typeof body === 'string') { - return 'text/plain;charset=UTF-8'; - } - - // Body is a URLSearchParams - if ((0,_utils_is_js__WEBPACK_IMPORTED_MODULE_5__/* .isURLSearchParameters */ .SB)(body)) { - return 'application/x-www-form-urlencoded;charset=UTF-8'; - } - - // Body is blob - if ((0,_utils_is_js__WEBPACK_IMPORTED_MODULE_5__/* .isBlob */ .Lj)(body)) { - return body.type || null; - } - - // Body is a Buffer (Buffer, ArrayBuffer or ArrayBufferView) - if (node_buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.isBuffer(body) || node_util__WEBPACK_IMPORTED_MODULE_1__.types.isAnyArrayBuffer(body) || ArrayBuffer.isView(body)) { - return null; - } - - if (body instanceof formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_4__/* .FormData */ .Ct) { - return `multipart/form-data; boundary=${request[INTERNALS].boundary}`; - } - - // Detect form data input from form-data module - if (body && typeof body.getBoundary === 'function') { - return `multipart/form-data;boundary=${getNonSpecFormDataBoundary(body)}`; - } - - // Body is stream - can't really do much about this - if (body instanceof node_stream__WEBPACK_IMPORTED_MODULE_0__) { - return null; - } - - // Body constructor defaults other things to string - return 'text/plain;charset=UTF-8'; -}; - -/** - * The Fetch Standard treats this as if "total bytes" is a property on the body. - * For us, we have to explicitly get it with a function. - * - * ref: https://fetch.spec.whatwg.org/#concept-body-total-bytes - * - * @param {any} obj.body Body object from the Body instance. - * @returns {number | null} - */ -const getTotalBytes = request => { - const {body} = request[INTERNALS]; - - // Body is null or undefined - if (body === null) { - return 0; - } - - // Body is Blob - if ((0,_utils_is_js__WEBPACK_IMPORTED_MODULE_5__/* .isBlob */ .Lj)(body)) { - return body.size; - } - - // Body is Buffer - if (node_buffer__WEBPACK_IMPORTED_MODULE_2__.Buffer.isBuffer(body)) { - return body.length; - } - - // Detect form data input from form-data module - if (body && typeof body.getLengthSync === 'function') { - return body.hasKnownLength && body.hasKnownLength() ? body.getLengthSync() : null; - } - - // Body is stream - return null; -}; - -/** - * Write a Body to a Node.js WritableStream (e.g. http.Request) object. - * - * @param {Stream.Writable} dest The stream to write to. - * @param obj.body Body object from the Body instance. - * @returns {Promise} - */ -const writeToStream = async (dest, {body}) => { - if (body === null) { - // Body is null - dest.end(); - } else { - // Body is stream - await pipeline(body, dest); - } -}; - - -/***/ }), - -/***/ 82588: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "f": () => (/* binding */ FetchBaseError) -/* harmony export */ }); -class FetchBaseError extends Error { - constructor(message, type) { - super(message); - // Hide custom error implementation details from end-users - Error.captureStackTrace(this, this.constructor); - - this.type = type; - } - - get name() { - return this.constructor.name; - } - - get [Symbol.toStringTag]() { - return this.constructor.name; - } -} - - -/***/ }), - -/***/ 42052: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "k": () => (/* binding */ FetchError) -/* harmony export */ }); -/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82588); - - - -/** - * @typedef {{ address?: string, code: string, dest?: string, errno: number, info?: object, message: string, path?: string, port?: number, syscall: string}} SystemError -*/ - -/** - * FetchError interface for operational errors - */ -class FetchError extends _base_js__WEBPACK_IMPORTED_MODULE_0__/* .FetchBaseError */ .f { - /** - * @param {string} message - Error message for human - * @param {string} [type] - Error type for machine - * @param {SystemError} [systemError] - For Node.js system error - */ - constructor(message, type, systemError) { - super(message, type); - // When err.type is `system`, err.erroredSysCall contains system error and err.code contains system error code - if (systemError) { - // eslint-disable-next-line no-multi-assign - this.code = this.errno = systemError.code; - this.erroredSysCall = systemError.syscall; - } - } -} - - -/***/ }), - -/***/ 54889: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": () => (/* binding */ Headers), -/* harmony export */ "x": () => (/* binding */ fromRawHeaders) -/* harmony export */ }); -/* harmony import */ var node_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(47261); -/* harmony import */ var node_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(88849); -/** - * Headers.js - * - * Headers class offers convenient helpers - */ - - - - -/* c8 ignore next 9 */ -const validateHeaderName = typeof node_http__WEBPACK_IMPORTED_MODULE_1__.validateHeaderName === 'function' ? - node_http__WEBPACK_IMPORTED_MODULE_1__.validateHeaderName : - name => { - if (!/^[\^`\-\w!#$%&'*+.|~]+$/.test(name)) { - const error = new TypeError(`Header name must be a valid HTTP token [${name}]`); - Object.defineProperty(error, 'code', {value: 'ERR_INVALID_HTTP_TOKEN'}); - throw error; - } - }; - -/* c8 ignore next 9 */ -const validateHeaderValue = typeof node_http__WEBPACK_IMPORTED_MODULE_1__.validateHeaderValue === 'function' ? - node_http__WEBPACK_IMPORTED_MODULE_1__.validateHeaderValue : - (name, value) => { - if (/[^\t\u0020-\u007E\u0080-\u00FF]/.test(value)) { - const error = new TypeError(`Invalid character in header content ["${name}"]`); - Object.defineProperty(error, 'code', {value: 'ERR_INVALID_CHAR'}); - throw error; - } - }; - -/** - * @typedef {Headers | Record | Iterable | Iterable>} HeadersInit - */ - -/** - * This Fetch API interface allows you to perform various actions on HTTP request and response headers. - * These actions include retrieving, setting, adding to, and removing. - * A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs. - * You can add to this using methods like append() (see Examples.) - * In all methods of this interface, header names are matched by case-insensitive byte sequence. - * - */ -class Headers extends URLSearchParams { - /** - * Headers class - * - * @constructor - * @param {HeadersInit} [init] - Response headers - */ - constructor(init) { - // Validate and normalize init object in [name, value(s)][] - /** @type {string[][]} */ - let result = []; - if (init instanceof Headers) { - const raw = init.raw(); - for (const [name, values] of Object.entries(raw)) { - result.push(...values.map(value => [name, value])); - } - } else if (init == null) { // eslint-disable-line no-eq-null, eqeqeq - // No op - } else if (typeof init === 'object' && !node_util__WEBPACK_IMPORTED_MODULE_0__.types.isBoxedPrimitive(init)) { - const method = init[Symbol.iterator]; - // eslint-disable-next-line no-eq-null, eqeqeq - if (method == null) { - // Record - result.push(...Object.entries(init)); - } else { - if (typeof method !== 'function') { - throw new TypeError('Header pairs must be iterable'); - } - - // Sequence> - // Note: per spec we have to first exhaust the lists then process them - result = [...init] - .map(pair => { - if ( - typeof pair !== 'object' || node_util__WEBPACK_IMPORTED_MODULE_0__.types.isBoxedPrimitive(pair) - ) { - throw new TypeError('Each header pair must be an iterable object'); - } - - return [...pair]; - }).map(pair => { - if (pair.length !== 2) { - throw new TypeError('Each header pair must be a name/value tuple'); - } - - return [...pair]; - }); - } - } else { - throw new TypeError('Failed to construct \'Headers\': The provided value is not of type \'(sequence> or record)'); - } - - // Validate and lowercase - result = - result.length > 0 ? - result.map(([name, value]) => { - validateHeaderName(name); - validateHeaderValue(name, String(value)); - return [String(name).toLowerCase(), String(value)]; - }) : - undefined; - - super(result); - - // Returning a Proxy that will lowercase key names, validate parameters and sort keys - // eslint-disable-next-line no-constructor-return - return new Proxy(this, { - get(target, p, receiver) { - switch (p) { - case 'append': - case 'set': - return (name, value) => { - validateHeaderName(name); - validateHeaderValue(name, String(value)); - return URLSearchParams.prototype[p].call( - target, - String(name).toLowerCase(), - String(value) - ); - }; - - case 'delete': - case 'has': - case 'getAll': - return name => { - validateHeaderName(name); - return URLSearchParams.prototype[p].call( - target, - String(name).toLowerCase() - ); - }; - - case 'keys': - return () => { - target.sort(); - return new Set(URLSearchParams.prototype.keys.call(target)).keys(); - }; - - default: - return Reflect.get(target, p, receiver); - } - } - }); - /* c8 ignore next */ - } - - get [Symbol.toStringTag]() { - return this.constructor.name; - } - - toString() { - return Object.prototype.toString.call(this); - } - - get(name) { - const values = this.getAll(name); - if (values.length === 0) { - return null; - } - - let value = values.join(', '); - if (/^content-encoding$/i.test(name)) { - value = value.toLowerCase(); - } - - return value; - } - - forEach(callback, thisArg = undefined) { - for (const name of this.keys()) { - Reflect.apply(callback, thisArg, [this.get(name), name, this]); - } - } - - * values() { - for (const name of this.keys()) { - yield this.get(name); - } - } - - /** - * @type {() => IterableIterator<[string, string]>} - */ - * entries() { - for (const name of this.keys()) { - yield [name, this.get(name)]; - } - } - - [Symbol.iterator]() { - return this.entries(); - } - - /** - * Node-fetch non-spec method - * returning all headers and their values as array - * @returns {Record} - */ - raw() { - return [...this.keys()].reduce((result, key) => { - result[key] = this.getAll(key); - return result; - }, {}); - } - - /** - * For better console.log(headers) and also to convert Headers into Node.js Request compatible format - */ - [Symbol.for('nodejs.util.inspect.custom')]() { - return [...this.keys()].reduce((result, key) => { - const values = this.getAll(key); - // Http.request() only supports string as Host header. - // This hack makes specifying custom Host header possible. - if (key === 'host') { - result[key] = values[0]; - } else { - result[key] = values.length > 1 ? values : values[0]; - } - - return result; - }, {}); - } -} - -/** - * Re-shaping object for Web IDL tests - * Only need to do it for overridden methods - */ -Object.defineProperties( - Headers.prototype, - ['get', 'entries', 'forEach', 'values'].reduce((result, property) => { - result[property] = {enumerable: true}; - return result; - }, {}) -); - -/** - * Create a Headers object from an http.IncomingMessage.rawHeaders, ignoring those that do - * not conform to HTTP grammar productions. - * @param {import('http').IncomingMessage['rawHeaders']} headers - */ -function fromRawHeaders(headers = []) { - return new Headers( - headers - // Split into pairs - .reduce((result, value, index, array) => { - if (index % 2 === 0) { - result.push(array.slice(index, index + 2)); - } - - return result; - }, []) - .filter(([name, value]) => { - try { - validateHeaderName(name); - validateHeaderValue(name, String(value)); - return true; - } catch { - return false; - } - }) - - ); -} - - -/***/ }), - -/***/ 95855: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "ZP": () => (/* binding */ fetch) -}); - -// UNUSED EXPORTS: AbortError, Blob, FetchError, File, FormData, Headers, Request, Response, blobFrom, blobFromSync, fileFrom, fileFromSync, isRedirect - -// EXTERNAL MODULE: external "node:http" -var external_node_http_ = __webpack_require__(88849); -// EXTERNAL MODULE: external "node:https" -var external_node_https_ = __webpack_require__(22286); -// EXTERNAL MODULE: external "node:zlib" -var external_node_zlib_ = __webpack_require__(65628); -// EXTERNAL MODULE: external "node:stream" -var external_node_stream_ = __webpack_require__(84492); -// EXTERNAL MODULE: external "node:buffer" -var external_node_buffer_ = __webpack_require__(72254); -;// CONCATENATED MODULE: ./node_modules/data-uri-to-buffer/dist/index.js -/** - * Returns a `Buffer` instance from the given data URI `uri`. - * - * @param {String} uri Data URI to turn into a Buffer instance - * @returns {Buffer} Buffer instance from Data URI - * @api public - */ -function dataUriToBuffer(uri) { - if (!/^data:/i.test(uri)) { - throw new TypeError('`uri` does not appear to be a Data URI (must begin with "data:")'); - } - // strip newlines - uri = uri.replace(/\r?\n/g, ''); - // split the URI up into the "metadata" and the "data" portions - const firstComma = uri.indexOf(','); - if (firstComma === -1 || firstComma <= 4) { - throw new TypeError('malformed data: URI'); - } - // remove the "data:" scheme and parse the metadata - const meta = uri.substring(5, firstComma).split(';'); - let charset = ''; - let base64 = false; - const type = meta[0] || 'text/plain'; - let typeFull = type; - for (let i = 1; i < meta.length; i++) { - if (meta[i] === 'base64') { - base64 = true; - } - else if (meta[i]) { - typeFull += `;${meta[i]}`; - if (meta[i].indexOf('charset=') === 0) { - charset = meta[i].substring(8); - } - } - } - // defaults to US-ASCII only if type is not provided - if (!meta[0] && !charset.length) { - typeFull += ';charset=US-ASCII'; - charset = 'US-ASCII'; - } - // get the encoded data portion and decode URI-encoded chars - const encoding = base64 ? 'base64' : 'ascii'; - const data = unescape(uri.substring(firstComma + 1)); - const buffer = Buffer.from(data, encoding); - // set `.type` and `.typeFull` properties to MIME type - buffer.type = type; - buffer.typeFull = typeFull; - // set the `.charset` property - buffer.charset = charset; - return buffer; -} -/* harmony default export */ const dist = (dataUriToBuffer); -//# sourceMappingURL=index.js.map -// EXTERNAL MODULE: ./node_modules/node-fetch/src/body.js -var src_body = __webpack_require__(20251); -// EXTERNAL MODULE: ./node_modules/node-fetch/src/response.js -var src_response = __webpack_require__(23475); -// EXTERNAL MODULE: ./node_modules/node-fetch/src/headers.js -var src_headers = __webpack_require__(54889); -// EXTERNAL MODULE: ./node_modules/node-fetch/src/request.js + 1 modules -var src_request = __webpack_require__(28053); -// EXTERNAL MODULE: ./node_modules/node-fetch/src/errors/fetch-error.js -var fetch_error = __webpack_require__(42052); -// EXTERNAL MODULE: ./node_modules/node-fetch/src/errors/base.js -var base = __webpack_require__(82588); -;// CONCATENATED MODULE: ./node_modules/node-fetch/src/errors/abort-error.js - - -/** - * AbortError interface for cancelled requests - */ -class AbortError extends base/* FetchBaseError */.f { - constructor(message, type = 'aborted') { - super(message, type); - } -} - -// EXTERNAL MODULE: ./node_modules/node-fetch/src/utils/is-redirect.js -var is_redirect = __webpack_require__(23271); -// EXTERNAL MODULE: ./node_modules/formdata-polyfill/esm.min.js -var esm_min = __webpack_require__(68010); -// EXTERNAL MODULE: ./node_modules/node-fetch/src/utils/is.js -var is = __webpack_require__(33856); -// EXTERNAL MODULE: ./node_modules/node-fetch/src/utils/referrer.js -var referrer = __webpack_require__(8893); -// EXTERNAL MODULE: ./node_modules/fetch-blob/from.js -var from = __webpack_require__(52185); -;// CONCATENATED MODULE: ./node_modules/node-fetch/src/index.js -/** - * Index.js - * - * a request API compatible with window.fetch - * - * All spec algorithm step numbers are based on https://fetch.spec.whatwg.org/commit-snapshots/ae716822cb3a61843226cd090eefc6589446c1d2/. - */ - - - - - - - - - - - - - - - - - - - - - - - - -const supportedSchemas = new Set(['data:', 'http:', 'https:']); - -/** - * Fetch function - * - * @param {string | URL | import('./request').default} url - Absolute url or Request instance - * @param {*} [options_] - Fetch options - * @return {Promise} - */ -async function fetch(url, options_) { - return new Promise((resolve, reject) => { - // Build request object - const request = new src_request/* default */.Z(url, options_); - const {parsedURL, options} = (0,src_request/* getNodeRequestOptions */.R)(request); - if (!supportedSchemas.has(parsedURL.protocol)) { - throw new TypeError(`node-fetch cannot load ${url}. URL scheme "${parsedURL.protocol.replace(/:$/, '')}" is not supported.`); - } - - if (parsedURL.protocol === 'data:') { - const data = dist(request.url); - const response = new src_response/* default */.Z(data, {headers: {'Content-Type': data.typeFull}}); - resolve(response); - return; - } - - // Wrap http.request into fetch - const send = (parsedURL.protocol === 'https:' ? external_node_https_ : external_node_http_).request; - const {signal} = request; - let response = null; - - const abort = () => { - const error = new AbortError('The operation was aborted.'); - reject(error); - if (request.body && request.body instanceof external_node_stream_.Readable) { - request.body.destroy(error); - } - - if (!response || !response.body) { - return; - } - - response.body.emit('error', error); - }; - - if (signal && signal.aborted) { - abort(); - return; - } - - const abortAndFinalize = () => { - abort(); - finalize(); - }; - - // Send request - const request_ = send(parsedURL.toString(), options); - - if (signal) { - signal.addEventListener('abort', abortAndFinalize); - } - - const finalize = () => { - request_.abort(); - if (signal) { - signal.removeEventListener('abort', abortAndFinalize); - } - }; - - request_.on('error', error => { - reject(new fetch_error/* FetchError */.k(`request to ${request.url} failed, reason: ${error.message}`, 'system', error)); - finalize(); - }); - - fixResponseChunkedTransferBadEnding(request_, error => { - if (response && response.body) { - response.body.destroy(error); - } - }); - - /* c8 ignore next 18 */ - if (process.version < 'v14') { - // Before Node.js 14, pipeline() does not fully support async iterators and does not always - // properly handle when the socket close/end events are out of order. - request_.on('socket', s => { - let endedWithEventsCount; - s.prependListener('end', () => { - endedWithEventsCount = s._eventsCount; - }); - s.prependListener('close', hadError => { - // if end happened before close but the socket didn't emit an error, do it now - if (response && endedWithEventsCount < s._eventsCount && !hadError) { - const error = new Error('Premature close'); - error.code = 'ERR_STREAM_PREMATURE_CLOSE'; - response.body.emit('error', error); - } - }); - }); - } - - request_.on('response', response_ => { - request_.setTimeout(0); - const headers = (0,src_headers/* fromRawHeaders */.x)(response_.rawHeaders); - - // HTTP fetch step 5 - if ((0,is_redirect/* isRedirect */.x)(response_.statusCode)) { - // HTTP fetch step 5.2 - const location = headers.get('Location'); - - // HTTP fetch step 5.3 - let locationURL = null; - try { - locationURL = location === null ? null : new URL(location, request.url); - } catch { - // error here can only be invalid URL in Location: header - // do not throw when options.redirect == manual - // let the user extract the errorneous redirect URL - if (request.redirect !== 'manual') { - reject(new fetch_error/* FetchError */.k(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); - finalize(); - return; - } - } - - // HTTP fetch step 5.5 - switch (request.redirect) { - case 'error': - reject(new fetch_error/* FetchError */.k(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); - finalize(); - return; - case 'manual': - // Nothing to do - break; - case 'follow': { - // HTTP-redirect fetch step 2 - if (locationURL === null) { - break; - } - - // HTTP-redirect fetch step 5 - if (request.counter >= request.follow) { - reject(new fetch_error/* FetchError */.k(`maximum redirect reached at: ${request.url}`, 'max-redirect')); - finalize(); - return; - } - - // HTTP-redirect fetch step 6 (counter increment) - // Create a new Request object. - const requestOptions = { - headers: new src_headers/* default */.Z(request.headers), - follow: request.follow, - counter: request.counter + 1, - agent: request.agent, - compress: request.compress, - method: request.method, - body: (0,src_body/* clone */.d9)(request), - signal: request.signal, - size: request.size, - referrer: request.referrer, - referrerPolicy: request.referrerPolicy - }; - - // when forwarding sensitive headers like "Authorization", - // "WWW-Authenticate", and "Cookie" to untrusted targets, - // headers will be ignored when following a redirect to a domain - // that is not a subdomain match or exact match of the initial domain. - // For example, a redirect from "foo.com" to either "foo.com" or "sub.foo.com" - // will forward the sensitive headers, but a redirect to "bar.com" will not. - // headers will also be ignored when following a redirect to a domain using - // a different protocol. For example, a redirect from "https://foo.com" to "http://foo.com" - // will not forward the sensitive headers - if (!(0,is/* isDomainOrSubdomain */.JN)(request.url, locationURL) || !(0,is/* isSameProtocol */.eL)(request.url, locationURL)) { - for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { - requestOptions.headers.delete(name); - } - } - - // HTTP-redirect fetch step 9 - if (response_.statusCode !== 303 && request.body && options_.body instanceof external_node_stream_.Readable) { - reject(new fetch_error/* FetchError */.k('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); - finalize(); - return; - } - - // HTTP-redirect fetch step 11 - if (response_.statusCode === 303 || ((response_.statusCode === 301 || response_.statusCode === 302) && request.method === 'POST')) { - requestOptions.method = 'GET'; - requestOptions.body = undefined; - requestOptions.headers.delete('content-length'); - } - - // HTTP-redirect fetch step 14 - const responseReferrerPolicy = (0,referrer/* parseReferrerPolicyFromHeader */.Cc)(headers); - if (responseReferrerPolicy) { - requestOptions.referrerPolicy = responseReferrerPolicy; - } - - // HTTP-redirect fetch step 15 - resolve(fetch(new src_request/* default */.Z(locationURL, requestOptions))); - finalize(); - return; - } - - default: - return reject(new TypeError(`Redirect option '${request.redirect}' is not a valid value of RequestRedirect`)); - } - } - - // Prepare response - if (signal) { - response_.once('end', () => { - signal.removeEventListener('abort', abortAndFinalize); - }); - } - - let body = (0,external_node_stream_.pipeline)(response_, new external_node_stream_.PassThrough(), error => { - if (error) { - reject(error); - } - }); - // see https://github.com/nodejs/node/pull/29376 - /* c8 ignore next 3 */ - if (process.version < 'v12.10') { - response_.on('aborted', abortAndFinalize); - } - - const responseOptions = { - url: request.url, - status: response_.statusCode, - statusText: response_.statusMessage, - headers, - size: request.size, - counter: request.counter, - highWaterMark: request.highWaterMark - }; - - // HTTP-network fetch step 12.1.1.3 - const codings = headers.get('Content-Encoding'); - - // HTTP-network fetch step 12.1.1.4: handle content codings - - // in following scenarios we ignore compression support - // 1. compression support is disabled - // 2. HEAD request - // 3. no Content-Encoding header - // 4. no content response (204) - // 5. content not modified response (304) - if (!request.compress || request.method === 'HEAD' || codings === null || response_.statusCode === 204 || response_.statusCode === 304) { - response = new src_response/* default */.Z(body, responseOptions); - resolve(response); - return; - } - - // For Node v6+ - // Be less strict when decoding compressed responses, since sometimes - // servers send slightly invalid responses that are still accepted - // by common browsers. - // Always using Z_SYNC_FLUSH is what cURL does. - const zlibOptions = { - flush: external_node_zlib_.Z_SYNC_FLUSH, - finishFlush: external_node_zlib_.Z_SYNC_FLUSH - }; - - // For gzip - if (codings === 'gzip' || codings === 'x-gzip') { - body = (0,external_node_stream_.pipeline)(body, external_node_zlib_.createGunzip(zlibOptions), error => { - if (error) { - reject(error); - } - }); - response = new src_response/* default */.Z(body, responseOptions); - resolve(response); - return; - } - - // For deflate - if (codings === 'deflate' || codings === 'x-deflate') { - // Handle the infamous raw deflate response from old servers - // a hack for old IIS and Apache servers - const raw = (0,external_node_stream_.pipeline)(response_, new external_node_stream_.PassThrough(), error => { - if (error) { - reject(error); - } - }); - raw.once('data', chunk => { - // See http://stackoverflow.com/questions/37519828 - if ((chunk[0] & 0x0F) === 0x08) { - body = (0,external_node_stream_.pipeline)(body, external_node_zlib_.createInflate(), error => { - if (error) { - reject(error); - } - }); - } else { - body = (0,external_node_stream_.pipeline)(body, external_node_zlib_.createInflateRaw(), error => { - if (error) { - reject(error); - } - }); - } - - response = new src_response/* default */.Z(body, responseOptions); - resolve(response); - }); - raw.once('end', () => { - // Some old IIS servers return zero-length OK deflate responses, so - // 'data' is never emitted. See https://github.com/node-fetch/node-fetch/pull/903 - if (!response) { - response = new src_response/* default */.Z(body, responseOptions); - resolve(response); - } - }); - return; - } - - // For br - if (codings === 'br') { - body = (0,external_node_stream_.pipeline)(body, external_node_zlib_.createBrotliDecompress(), error => { - if (error) { - reject(error); - } - }); - response = new src_response/* default */.Z(body, responseOptions); - resolve(response); - return; - } - - // Otherwise, use response as-is - response = new src_response/* default */.Z(body, responseOptions); - resolve(response); - }); - - // eslint-disable-next-line promise/prefer-await-to-then - (0,src_body/* writeToStream */.K1)(request_, request).catch(reject); - }); -} - -function fixResponseChunkedTransferBadEnding(request, errorCallback) { - const LAST_CHUNK = external_node_buffer_.Buffer.from('0\r\n\r\n'); - - let isChunkedTransfer = false; - let properLastChunkReceived = false; - let previousChunk; - - request.on('response', response => { - const {headers} = response; - isChunkedTransfer = headers['transfer-encoding'] === 'chunked' && !headers['content-length']; - }); - - request.on('socket', socket => { - const onSocketClose = () => { - if (isChunkedTransfer && !properLastChunkReceived) { - const error = new Error('Premature close'); - error.code = 'ERR_STREAM_PREMATURE_CLOSE'; - errorCallback(error); - } - }; - - const onData = buf => { - properLastChunkReceived = external_node_buffer_.Buffer.compare(buf.slice(-5), LAST_CHUNK) === 0; - - // Sometimes final 0-length chunk and end of message code are in separate packets - if (!properLastChunkReceived && previousChunk) { - properLastChunkReceived = ( - external_node_buffer_.Buffer.compare(previousChunk.slice(-3), LAST_CHUNK.slice(0, 3)) === 0 && - external_node_buffer_.Buffer.compare(buf.slice(-2), LAST_CHUNK.slice(3)) === 0 - ); - } - - previousChunk = buf; - }; - - socket.prependListener('close', onSocketClose); - socket.on('data', onData); - - request.on('close', () => { - socket.removeListener('close', onSocketClose); - socket.removeListener('data', onData); - }); - }); -} - - -/***/ }), - -/***/ 28053: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": () => (/* binding */ Request), - "R": () => (/* binding */ getNodeRequestOptions) -}); - -// EXTERNAL MODULE: external "node:url" -var external_node_url_ = __webpack_require__(41041); -// EXTERNAL MODULE: external "node:util" -var external_node_util_ = __webpack_require__(47261); -// EXTERNAL MODULE: ./node_modules/node-fetch/src/headers.js -var src_headers = __webpack_require__(54889); -// EXTERNAL MODULE: ./node_modules/node-fetch/src/body.js -var body = __webpack_require__(20251); -// EXTERNAL MODULE: ./node_modules/node-fetch/src/utils/is.js -var is = __webpack_require__(33856); -;// CONCATENATED MODULE: ./node_modules/node-fetch/src/utils/get-search.js -const getSearch = parsedURL => { - if (parsedURL.search) { - return parsedURL.search; - } - - const lastOffset = parsedURL.href.length - 1; - const hash = parsedURL.hash || (parsedURL.href[lastOffset] === '#' ? '#' : ''); - return parsedURL.href[lastOffset - hash.length] === '?' ? '?' : ''; -}; - -// EXTERNAL MODULE: ./node_modules/node-fetch/src/utils/referrer.js -var referrer = __webpack_require__(8893); -;// CONCATENATED MODULE: ./node_modules/node-fetch/src/request.js -/** - * Request.js - * - * Request class contains server only options - * - * All spec algorithm step numbers are based on https://fetch.spec.whatwg.org/commit-snapshots/ae716822cb3a61843226cd090eefc6589446c1d2/. - */ - - - - - - - - - -const INTERNALS = Symbol('Request internals'); - -/** - * Check if `obj` is an instance of Request. - * - * @param {*} object - * @return {boolean} - */ -const isRequest = object => { - return ( - typeof object === 'object' && - typeof object[INTERNALS] === 'object' - ); -}; - -const doBadDataWarn = (0,external_node_util_.deprecate)(() => {}, - '.data is not a valid RequestInit property, use .body instead', - 'https://github.com/node-fetch/node-fetch/issues/1000 (request)'); - -/** - * Request class - * - * Ref: https://fetch.spec.whatwg.org/#request-class - * - * @param Mixed input Url or Request instance - * @param Object init Custom options - * @return Void - */ -class Request extends body/* default */.ZP { - constructor(input, init = {}) { - let parsedURL; - - // Normalize input and force URL to be encoded as UTF-8 (https://github.com/node-fetch/node-fetch/issues/245) - if (isRequest(input)) { - parsedURL = new URL(input.url); - } else { - parsedURL = new URL(input); - input = {}; - } - - if (parsedURL.username !== '' || parsedURL.password !== '') { - throw new TypeError(`${parsedURL} is an url with embedded credentials.`); - } - - let method = init.method || input.method || 'GET'; - if (/^(delete|get|head|options|post|put)$/i.test(method)) { - method = method.toUpperCase(); - } - - if (!isRequest(init) && 'data' in init) { - doBadDataWarn(); - } - - // eslint-disable-next-line no-eq-null, eqeqeq - if ((init.body != null || (isRequest(input) && input.body !== null)) && - (method === 'GET' || method === 'HEAD')) { - throw new TypeError('Request with GET/HEAD method cannot have body'); - } - - const inputBody = init.body ? - init.body : - (isRequest(input) && input.body !== null ? - (0,body/* clone */.d9)(input) : - null); - - super(inputBody, { - size: init.size || input.size || 0 - }); - - const headers = new src_headers/* default */.Z(init.headers || input.headers || {}); - - if (inputBody !== null && !headers.has('Content-Type')) { - const contentType = (0,body/* extractContentType */.Vl)(inputBody, this); - if (contentType) { - headers.set('Content-Type', contentType); - } - } - - let signal = isRequest(input) ? - input.signal : - null; - if ('signal' in init) { - signal = init.signal; - } - - // eslint-disable-next-line no-eq-null, eqeqeq - if (signal != null && !(0,is/* isAbortSignal */.O0)(signal)) { - throw new TypeError('Expected signal to be an instanceof AbortSignal or EventTarget'); - } - - // §5.4, Request constructor steps, step 15.1 - // eslint-disable-next-line no-eq-null, eqeqeq - let referrer = init.referrer == null ? input.referrer : init.referrer; - if (referrer === '') { - // §5.4, Request constructor steps, step 15.2 - referrer = 'no-referrer'; - } else if (referrer) { - // §5.4, Request constructor steps, step 15.3.1, 15.3.2 - const parsedReferrer = new URL(referrer); - // §5.4, Request constructor steps, step 15.3.3, 15.3.4 - referrer = /^about:(\/\/)?client$/.test(parsedReferrer) ? 'client' : parsedReferrer; - } else { - referrer = undefined; - } - - this[INTERNALS] = { - method, - redirect: init.redirect || input.redirect || 'follow', - headers, - parsedURL, - signal, - referrer - }; - - // Node-fetch-only options - this.follow = init.follow === undefined ? (input.follow === undefined ? 20 : input.follow) : init.follow; - this.compress = init.compress === undefined ? (input.compress === undefined ? true : input.compress) : init.compress; - this.counter = init.counter || input.counter || 0; - this.agent = init.agent || input.agent; - this.highWaterMark = init.highWaterMark || input.highWaterMark || 16384; - this.insecureHTTPParser = init.insecureHTTPParser || input.insecureHTTPParser || false; - - // §5.4, Request constructor steps, step 16. - // Default is empty string per https://fetch.spec.whatwg.org/#concept-request-referrer-policy - this.referrerPolicy = init.referrerPolicy || input.referrerPolicy || ''; - } - - /** @returns {string} */ - get method() { - return this[INTERNALS].method; - } - - /** @returns {string} */ - get url() { - return (0,external_node_url_.format)(this[INTERNALS].parsedURL); - } - - /** @returns {Headers} */ - get headers() { - return this[INTERNALS].headers; - } - - get redirect() { - return this[INTERNALS].redirect; - } - - /** @returns {AbortSignal} */ - get signal() { - return this[INTERNALS].signal; - } - - // https://fetch.spec.whatwg.org/#dom-request-referrer - get referrer() { - if (this[INTERNALS].referrer === 'no-referrer') { - return ''; - } - - if (this[INTERNALS].referrer === 'client') { - return 'about:client'; - } - - if (this[INTERNALS].referrer) { - return this[INTERNALS].referrer.toString(); - } - - return undefined; - } - - get referrerPolicy() { - return this[INTERNALS].referrerPolicy; - } - - set referrerPolicy(referrerPolicy) { - this[INTERNALS].referrerPolicy = (0,referrer/* validateReferrerPolicy */.vr)(referrerPolicy); - } - - /** - * Clone this request - * - * @return Request - */ - clone() { - return new Request(this); - } - - get [Symbol.toStringTag]() { - return 'Request'; - } -} - -Object.defineProperties(Request.prototype, { - method: {enumerable: true}, - url: {enumerable: true}, - headers: {enumerable: true}, - redirect: {enumerable: true}, - clone: {enumerable: true}, - signal: {enumerable: true}, - referrer: {enumerable: true}, - referrerPolicy: {enumerable: true} -}); - -/** - * Convert a Request to Node.js http request options. - * - * @param {Request} request - A Request instance - * @return The options object to be passed to http.request - */ -const getNodeRequestOptions = request => { - const {parsedURL} = request[INTERNALS]; - const headers = new src_headers/* default */.Z(request[INTERNALS].headers); - - // Fetch step 1.3 - if (!headers.has('Accept')) { - headers.set('Accept', '*/*'); - } - - // HTTP-network-or-cache fetch steps 2.4-2.7 - let contentLengthValue = null; - if (request.body === null && /^(post|put)$/i.test(request.method)) { - contentLengthValue = '0'; - } - - if (request.body !== null) { - const totalBytes = (0,body/* getTotalBytes */.NV)(request); - // Set Content-Length if totalBytes is a number (that is not NaN) - if (typeof totalBytes === 'number' && !Number.isNaN(totalBytes)) { - contentLengthValue = String(totalBytes); - } - } - - if (contentLengthValue) { - headers.set('Content-Length', contentLengthValue); - } - - // 4.1. Main fetch, step 2.6 - // > If request's referrer policy is the empty string, then set request's referrer policy to the - // > default referrer policy. - if (request.referrerPolicy === '') { - request.referrerPolicy = referrer/* DEFAULT_REFERRER_POLICY */.Cs; - } - - // 4.1. Main fetch, step 2.7 - // > If request's referrer is not "no-referrer", set request's referrer to the result of invoking - // > determine request's referrer. - if (request.referrer && request.referrer !== 'no-referrer') { - request[INTERNALS].referrer = (0,referrer/* determineRequestsReferrer */.HH)(request); - } else { - request[INTERNALS].referrer = 'no-referrer'; - } - - // 4.5. HTTP-network-or-cache fetch, step 6.9 - // > If httpRequest's referrer is a URL, then append `Referer`/httpRequest's referrer, serialized - // > and isomorphic encoded, to httpRequest's header list. - if (request[INTERNALS].referrer instanceof URL) { - headers.set('Referer', request.referrer); - } - - // HTTP-network-or-cache fetch step 2.11 - if (!headers.has('User-Agent')) { - headers.set('User-Agent', 'node-fetch'); - } - - // HTTP-network-or-cache fetch step 2.15 - if (request.compress && !headers.has('Accept-Encoding')) { - headers.set('Accept-Encoding', 'gzip, deflate, br'); - } - - let {agent} = request; - if (typeof agent === 'function') { - agent = agent(parsedURL); - } - - // HTTP-network fetch step 4.2 - // chunked encoding is handled by Node.js - - const search = getSearch(parsedURL); - - // Pass the full URL directly to request(), but overwrite the following - // options: - const options = { - // Overwrite search to retain trailing ? (issue #776) - path: parsedURL.pathname + search, - // The following options are not expressed in the URL - method: request.method, - headers: headers[Symbol.for('nodejs.util.inspect.custom')](), - insecureHTTPParser: request.insecureHTTPParser, - agent - }; - - return { - /** @type {URL} */ - parsedURL, - options - }; -}; - - -/***/ }), - -/***/ 23475: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Z": () => (/* binding */ Response) -/* harmony export */ }); -/* harmony import */ var _headers_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54889); -/* harmony import */ var _body_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20251); -/* harmony import */ var _utils_is_redirect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23271); -/** - * Response.js - * - * Response class provides content decoding - */ - - - - - -const INTERNALS = Symbol('Response internals'); - -/** - * Response class - * - * Ref: https://fetch.spec.whatwg.org/#response-class - * - * @param Stream body Readable stream - * @param Object opts Response options - * @return Void - */ -class Response extends _body_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP { - constructor(body = null, options = {}) { - super(body, options); - - // eslint-disable-next-line no-eq-null, eqeqeq, no-negated-condition - const status = options.status != null ? options.status : 200; - - const headers = new _headers_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z(options.headers); - - if (body !== null && !headers.has('Content-Type')) { - const contentType = (0,_body_js__WEBPACK_IMPORTED_MODULE_0__/* .extractContentType */ .Vl)(body, this); - if (contentType) { - headers.append('Content-Type', contentType); - } - } - - this[INTERNALS] = { - type: 'default', - url: options.url, - status, - statusText: options.statusText || '', - headers, - counter: options.counter, - highWaterMark: options.highWaterMark - }; - } - - get type() { - return this[INTERNALS].type; - } - - get url() { - return this[INTERNALS].url || ''; - } - - get status() { - return this[INTERNALS].status; - } - - /** - * Convenience property representing if the request ended normally - */ - get ok() { - return this[INTERNALS].status >= 200 && this[INTERNALS].status < 300; - } - - get redirected() { - return this[INTERNALS].counter > 0; - } - - get statusText() { - return this[INTERNALS].statusText; - } - - get headers() { - return this[INTERNALS].headers; - } - - get highWaterMark() { - return this[INTERNALS].highWaterMark; - } - - /** - * Clone this response - * - * @return Response - */ - clone() { - return new Response((0,_body_js__WEBPACK_IMPORTED_MODULE_0__/* .clone */ .d9)(this, this.highWaterMark), { - type: this.type, - url: this.url, - status: this.status, - statusText: this.statusText, - headers: this.headers, - ok: this.ok, - redirected: this.redirected, - size: this.size, - highWaterMark: this.highWaterMark - }); - } - - /** - * @param {string} url The URL that the new response is to originate from. - * @param {number} status An optional status code for the response (e.g., 302.) - * @returns {Response} A Response object. - */ - static redirect(url, status = 302) { - if (!(0,_utils_is_redirect_js__WEBPACK_IMPORTED_MODULE_2__/* .isRedirect */ .x)(status)) { - throw new RangeError('Failed to execute "redirect" on "response": Invalid status code'); - } - - return new Response(null, { - headers: { - location: new URL(url).toString() - }, - status - }); - } - - static error() { - const response = new Response(null, {status: 0, statusText: ''}); - response[INTERNALS].type = 'error'; - return response; - } - - static json(data = undefined, init = {}) { - const body = JSON.stringify(data); - - if (body === undefined) { - throw new TypeError('data is not JSON serializable'); - } - - const headers = new _headers_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z(init && init.headers); - - if (!headers.has('content-type')) { - headers.set('content-type', 'application/json'); - } - - return new Response(body, { - ...init, - headers - }); - } - - get [Symbol.toStringTag]() { - return 'Response'; - } -} - -Object.defineProperties(Response.prototype, { - type: {enumerable: true}, - url: {enumerable: true}, - status: {enumerable: true}, - ok: {enumerable: true}, - redirected: {enumerable: true}, - statusText: {enumerable: true}, - headers: {enumerable: true}, - clone: {enumerable: true} -}); - - -/***/ }), - -/***/ 23271: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "x": () => (/* binding */ isRedirect) -/* harmony export */ }); -const redirectStatus = new Set([301, 302, 303, 307, 308]); - -/** - * Redirect code matching - * - * @param {number} code - Status code - * @return {boolean} - */ -const isRedirect = code => { - return redirectStatus.has(code); -}; - - -/***/ }), - -/***/ 33856: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "JN": () => (/* binding */ isDomainOrSubdomain), -/* harmony export */ "Lj": () => (/* binding */ isBlob), -/* harmony export */ "O0": () => (/* binding */ isAbortSignal), -/* harmony export */ "SB": () => (/* binding */ isURLSearchParameters), -/* harmony export */ "eL": () => (/* binding */ isSameProtocol) -/* harmony export */ }); -/** - * Is.js - * - * Object type checks. - */ - -const NAME = Symbol.toStringTag; - -/** - * Check if `obj` is a URLSearchParams object - * ref: https://github.com/node-fetch/node-fetch/issues/296#issuecomment-307598143 - * @param {*} object - Object to check for - * @return {boolean} - */ -const isURLSearchParameters = object => { - return ( - typeof object === 'object' && - typeof object.append === 'function' && - typeof object.delete === 'function' && - typeof object.get === 'function' && - typeof object.getAll === 'function' && - typeof object.has === 'function' && - typeof object.set === 'function' && - typeof object.sort === 'function' && - object[NAME] === 'URLSearchParams' - ); -}; - -/** - * Check if `object` is a W3C `Blob` object (which `File` inherits from) - * @param {*} object - Object to check for - * @return {boolean} - */ -const isBlob = object => { - return ( - object && - typeof object === 'object' && - typeof object.arrayBuffer === 'function' && - typeof object.type === 'string' && - typeof object.stream === 'function' && - typeof object.constructor === 'function' && - /^(Blob|File)$/.test(object[NAME]) - ); -}; - -/** - * Check if `obj` is an instance of AbortSignal. - * @param {*} object - Object to check for - * @return {boolean} - */ -const isAbortSignal = object => { - return ( - typeof object === 'object' && ( - object[NAME] === 'AbortSignal' || - object[NAME] === 'EventTarget' - ) - ); -}; - -/** - * isDomainOrSubdomain reports whether sub is a subdomain (or exact match) of - * the parent domain. - * - * Both domains must already be in canonical form. - * @param {string|URL} original - * @param {string|URL} destination - */ -const isDomainOrSubdomain = (destination, original) => { - const orig = new URL(original).hostname; - const dest = new URL(destination).hostname; - - return orig === dest || orig.endsWith(`.${dest}`); -}; - -/** - * isSameProtocol reports whether the two provided URLs use the same protocol. - * - * Both domains must already be in canonical form. - * @param {string|URL} original - * @param {string|URL} destination - */ -const isSameProtocol = (destination, original) => { - const orig = new URL(original).protocol; - const dest = new URL(destination).protocol; - - return orig === dest; -}; - - -/***/ }), - -/***/ 8893: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "Cc": () => (/* binding */ parseReferrerPolicyFromHeader), -/* harmony export */ "Cs": () => (/* binding */ DEFAULT_REFERRER_POLICY), -/* harmony export */ "HH": () => (/* binding */ determineRequestsReferrer), -/* harmony export */ "vr": () => (/* binding */ validateReferrerPolicy) -/* harmony export */ }); -/* unused harmony exports stripURLForUseAsAReferrer, ReferrerPolicy, isOriginPotentiallyTrustworthy, isUrlPotentiallyTrustworthy */ -/* harmony import */ var node_net__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(87503); - - -/** - * @external URL - * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/URL|URL} - */ - -/** - * @module utils/referrer - * @private - */ - -/** - * @see {@link https://w3c.github.io/webappsec-referrer-policy/#strip-url|Referrer Policy §8.4. Strip url for use as a referrer} - * @param {string} URL - * @param {boolean} [originOnly=false] - */ -function stripURLForUseAsAReferrer(url, originOnly = false) { - // 1. If url is null, return no referrer. - if (url == null) { // eslint-disable-line no-eq-null, eqeqeq - return 'no-referrer'; - } - - url = new URL(url); - - // 2. If url's scheme is a local scheme, then return no referrer. - if (/^(about|blob|data):$/.test(url.protocol)) { - return 'no-referrer'; - } - - // 3. Set url's username to the empty string. - url.username = ''; - - // 4. Set url's password to null. - // Note: `null` appears to be a mistake as this actually results in the password being `"null"`. - url.password = ''; - - // 5. Set url's fragment to null. - // Note: `null` appears to be a mistake as this actually results in the fragment being `"#null"`. - url.hash = ''; - - // 6. If the origin-only flag is true, then: - if (originOnly) { - // 6.1. Set url's path to null. - // Note: `null` appears to be a mistake as this actually results in the path being `"/null"`. - url.pathname = ''; - - // 6.2. Set url's query to null. - // Note: `null` appears to be a mistake as this actually results in the query being `"?null"`. - url.search = ''; - } - - // 7. Return url. - return url; -} - -/** - * @see {@link https://w3c.github.io/webappsec-referrer-policy/#enumdef-referrerpolicy|enum ReferrerPolicy} - */ -const ReferrerPolicy = new Set([ - '', - 'no-referrer', - 'no-referrer-when-downgrade', - 'same-origin', - 'origin', - 'strict-origin', - 'origin-when-cross-origin', - 'strict-origin-when-cross-origin', - 'unsafe-url' -]); - -/** - * @see {@link https://w3c.github.io/webappsec-referrer-policy/#default-referrer-policy|default referrer policy} - */ -const DEFAULT_REFERRER_POLICY = 'strict-origin-when-cross-origin'; - -/** - * @see {@link https://w3c.github.io/webappsec-referrer-policy/#referrer-policies|Referrer Policy §3. Referrer Policies} - * @param {string} referrerPolicy - * @returns {string} referrerPolicy - */ -function validateReferrerPolicy(referrerPolicy) { - if (!ReferrerPolicy.has(referrerPolicy)) { - throw new TypeError(`Invalid referrerPolicy: ${referrerPolicy}`); - } - - return referrerPolicy; -} - -/** - * @see {@link https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy|Referrer Policy §3.2. Is origin potentially trustworthy?} - * @param {external:URL} url - * @returns `true`: "Potentially Trustworthy", `false`: "Not Trustworthy" - */ -function isOriginPotentiallyTrustworthy(url) { - // 1. If origin is an opaque origin, return "Not Trustworthy". - // Not applicable - - // 2. Assert: origin is a tuple origin. - // Not for implementations - - // 3. If origin's scheme is either "https" or "wss", return "Potentially Trustworthy". - if (/^(http|ws)s:$/.test(url.protocol)) { - return true; - } - - // 4. If origin's host component matches one of the CIDR notations 127.0.0.0/8 or ::1/128 [RFC4632], return "Potentially Trustworthy". - const hostIp = url.host.replace(/(^\[)|(]$)/g, ''); - const hostIPVersion = (0,node_net__WEBPACK_IMPORTED_MODULE_0__.isIP)(hostIp); - - if (hostIPVersion === 4 && /^127\./.test(hostIp)) { - return true; - } - - if (hostIPVersion === 6 && /^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(hostIp)) { - return true; - } - - // 5. If origin's host component is "localhost" or falls within ".localhost", and the user agent conforms to the name resolution rules in [let-localhost-be-localhost], return "Potentially Trustworthy". - // We are returning FALSE here because we cannot ensure conformance to - // let-localhost-be-loalhost (https://tools.ietf.org/html/draft-west-let-localhost-be-localhost) - if (url.host === 'localhost' || url.host.endsWith('.localhost')) { - return false; - } - - // 6. If origin's scheme component is file, return "Potentially Trustworthy". - if (url.protocol === 'file:') { - return true; - } - - // 7. If origin's scheme component is one which the user agent considers to be authenticated, return "Potentially Trustworthy". - // Not supported - - // 8. If origin has been configured as a trustworthy origin, return "Potentially Trustworthy". - // Not supported - - // 9. Return "Not Trustworthy". - return false; -} - -/** - * @see {@link https://w3c.github.io/webappsec-secure-contexts/#is-url-trustworthy|Referrer Policy §3.3. Is url potentially trustworthy?} - * @param {external:URL} url - * @returns `true`: "Potentially Trustworthy", `false`: "Not Trustworthy" - */ -function isUrlPotentiallyTrustworthy(url) { - // 1. If url is "about:blank" or "about:srcdoc", return "Potentially Trustworthy". - if (/^about:(blank|srcdoc)$/.test(url)) { - return true; - } - - // 2. If url's scheme is "data", return "Potentially Trustworthy". - if (url.protocol === 'data:') { - return true; - } - - // Note: The origin of blob: and filesystem: URLs is the origin of the context in which they were - // created. Therefore, blobs created in a trustworthy origin will themselves be potentially - // trustworthy. - if (/^(blob|filesystem):$/.test(url.protocol)) { - return true; - } - - // 3. Return the result of executing §3.2 Is origin potentially trustworthy? on url's origin. - return isOriginPotentiallyTrustworthy(url); -} - -/** - * Modifies the referrerURL to enforce any extra security policy considerations. - * @see {@link https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer|Referrer Policy §8.3. Determine request's Referrer}, step 7 - * @callback module:utils/referrer~referrerURLCallback - * @param {external:URL} referrerURL - * @returns {external:URL} modified referrerURL - */ - -/** - * Modifies the referrerOrigin to enforce any extra security policy considerations. - * @see {@link https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer|Referrer Policy §8.3. Determine request's Referrer}, step 7 - * @callback module:utils/referrer~referrerOriginCallback - * @param {external:URL} referrerOrigin - * @returns {external:URL} modified referrerOrigin - */ - -/** - * @see {@link https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer|Referrer Policy §8.3. Determine request's Referrer} - * @param {Request} request - * @param {object} o - * @param {module:utils/referrer~referrerURLCallback} o.referrerURLCallback - * @param {module:utils/referrer~referrerOriginCallback} o.referrerOriginCallback - * @returns {external:URL} Request's referrer - */ -function determineRequestsReferrer(request, {referrerURLCallback, referrerOriginCallback} = {}) { - // There are 2 notes in the specification about invalid pre-conditions. We return null, here, for - // these cases: - // > Note: If request's referrer is "no-referrer", Fetch will not call into this algorithm. - // > Note: If request's referrer policy is the empty string, Fetch will not call into this - // > algorithm. - if (request.referrer === 'no-referrer' || request.referrerPolicy === '') { - return null; - } - - // 1. Let policy be request's associated referrer policy. - const policy = request.referrerPolicy; - - // 2. Let environment be request's client. - // not applicable to node.js - - // 3. Switch on request's referrer: - if (request.referrer === 'about:client') { - return 'no-referrer'; - } - - // "a URL": Let referrerSource be request's referrer. - const referrerSource = request.referrer; - - // 4. Let request's referrerURL be the result of stripping referrerSource for use as a referrer. - let referrerURL = stripURLForUseAsAReferrer(referrerSource); - - // 5. Let referrerOrigin be the result of stripping referrerSource for use as a referrer, with the - // origin-only flag set to true. - let referrerOrigin = stripURLForUseAsAReferrer(referrerSource, true); - - // 6. If the result of serializing referrerURL is a string whose length is greater than 4096, set - // referrerURL to referrerOrigin. - if (referrerURL.toString().length > 4096) { - referrerURL = referrerOrigin; - } - - // 7. The user agent MAY alter referrerURL or referrerOrigin at this point to enforce arbitrary - // policy considerations in the interests of minimizing data leakage. For example, the user - // agent could strip the URL down to an origin, modify its host, replace it with an empty - // string, etc. - if (referrerURLCallback) { - referrerURL = referrerURLCallback(referrerURL); - } - - if (referrerOriginCallback) { - referrerOrigin = referrerOriginCallback(referrerOrigin); - } - - // 8.Execute the statements corresponding to the value of policy: - const currentURL = new URL(request.url); - - switch (policy) { - case 'no-referrer': - return 'no-referrer'; - - case 'origin': - return referrerOrigin; - - case 'unsafe-url': - return referrerURL; - - case 'strict-origin': - // 1. If referrerURL is a potentially trustworthy URL and request's current URL is not a - // potentially trustworthy URL, then return no referrer. - if (isUrlPotentiallyTrustworthy(referrerURL) && !isUrlPotentiallyTrustworthy(currentURL)) { - return 'no-referrer'; - } - - // 2. Return referrerOrigin. - return referrerOrigin.toString(); - - case 'strict-origin-when-cross-origin': - // 1. If the origin of referrerURL and the origin of request's current URL are the same, then - // return referrerURL. - if (referrerURL.origin === currentURL.origin) { - return referrerURL; - } - - // 2. If referrerURL is a potentially trustworthy URL and request's current URL is not a - // potentially trustworthy URL, then return no referrer. - if (isUrlPotentiallyTrustworthy(referrerURL) && !isUrlPotentiallyTrustworthy(currentURL)) { - return 'no-referrer'; - } - - // 3. Return referrerOrigin. - return referrerOrigin; - - case 'same-origin': - // 1. If the origin of referrerURL and the origin of request's current URL are the same, then - // return referrerURL. - if (referrerURL.origin === currentURL.origin) { - return referrerURL; - } - - // 2. Return no referrer. - return 'no-referrer'; - - case 'origin-when-cross-origin': - // 1. If the origin of referrerURL and the origin of request's current URL are the same, then - // return referrerURL. - if (referrerURL.origin === currentURL.origin) { - return referrerURL; - } - - // Return referrerOrigin. - return referrerOrigin; - - case 'no-referrer-when-downgrade': - // 1. If referrerURL is a potentially trustworthy URL and request's current URL is not a - // potentially trustworthy URL, then return no referrer. - if (isUrlPotentiallyTrustworthy(referrerURL) && !isUrlPotentiallyTrustworthy(currentURL)) { - return 'no-referrer'; - } - - // 2. Return referrerURL. - return referrerURL; - - default: - throw new TypeError(`Invalid referrerPolicy: ${policy}`); - } -} - -/** - * @see {@link https://w3c.github.io/webappsec-referrer-policy/#parse-referrer-policy-from-header|Referrer Policy §8.1. Parse a referrer policy from a Referrer-Policy header} - * @param {Headers} headers Response headers - * @returns {string} policy - */ -function parseReferrerPolicyFromHeader(headers) { - // 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy` - // and response’s header list. - const policyTokens = (headers.get('referrer-policy') || '').split(/[,\s]+/); - - // 2. Let policy be the empty string. - let policy = ''; - - // 3. For each token in policy-tokens, if token is a referrer policy and token is not the empty - // string, then set policy to token. - // Note: This algorithm loops over multiple policy values to allow deployment of new policy - // values with fallbacks for older user agents, as described in § 11.1 Unknown Policy Values. - for (const token of policyTokens) { - if (token && ReferrerPolicy.has(token)) { - policy = token; - } - } - - // 4. Return policy. - return policy; -} - - -/***/ }) - -}; -; \ No newline at end of file diff --git a/dist/956.index.js b/dist/956.index.js deleted file mode 100644 index 857bbf80..00000000 --- a/dist/956.index.js +++ /dev/null @@ -1,14 +0,0 @@ -exports.id = 956; -exports.ids = [956]; -exports.modules = { - -/***/ 956: -/***/ ((module) => { - -module.exports = eval("require")("web-streams-polyfill/ponyfill/es2018"); - - -/***/ }) - -}; -; \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index eda9d594..fb8fe620 100755 --- a/dist/index.js +++ b/dist/index.js @@ -1,226 +1,4 @@ #!/usr/bin/env node -(()=>{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 - * - * Copyright (c) Peculiar Ventures. All rights reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - */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 - * All rights reserved. - * - * Author 2014-2019, Yury Strozhevsky - * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * * Redistributions in binary form must reproduce the above copyright notice, this - * list of conditions and the following disclaimer in the documentation and/or - * other materials provided with the distribution. - * - * * Neither the name of the copyright holder nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - */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(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\u200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DC43\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 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 -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. - * - * @param input the framed, framed output. - * @param options the framing options used. - * - * @return the resulting output. - */function _cleanupPreserve(R,pe){if(me.isArray(R)){return R.map((R=>_cleanupPreserve(R,pe)))}if(me.isObject(R)){ -// remove @preserve -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. - * - * @author Dave Longley - * - * @license BSD 3-Clause License - * Copyright (c) 2011-2022 Digital Bazaar, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * Neither the name of the Digital Bazaar, Inc. nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS - * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED - * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ -const he=Ae(43);const ge=Ae(8631);const me=Ae(69450);const ye=Ae(70756);const ve=me.IdentifierIssuer;const be=Ae(11625);const Ee=Ae(51370);const Ce=Ae(13611);const{expand:we}=Ae(99969);const{flatten:Ie}=Ae(59030);const{fromRDF:_e}=Ae(10999);const{toRDF:Be}=Ae(29760);const{frameMergedOrDefault:Se,cleanupNull:Qe}=Ae(36661);const{isArray:xe,isObject:De,isString:ke}=Ae(86891);const{isSubjectReference:Oe}=Ae(13631);const{expandIri:Re,getInitialContext:Pe,process:Te,processingMode:Ne}=Ae(41866);const{compact:Me,compactIri:Fe}=Ae(63073);const{createNodeMap:je,createMergedNodeMap:Le,mergeNodeMaps:Ue}=Ae(99618);const{logEventHandler:He,logWarningEventHandler:Ve,safeEventHandler:We,setDefaultEventHandler:Je,setupEventHandler:Ge,strictEventHandler:qe,unhandledEventHandler:Ye}=Ae(75836);const wrapper=function(R){const pe={};const Ke=100;const ze=new Ee({max:Ke});R.compact=async function(pe,Ae,he){if(arguments.length<2){throw new TypeError("Could not compact, too few arguments.")}if(Ae===null){throw new be("The compaction context must not be null.","jsonld.CompactError",{code:"invalid local context"})}if(pe===null){return null}he=_setDefaults(he,{base:ke(pe)?pe:"",compactArrays:true,compactToRelative:true,graph:false,skipExpansion:false,link:false,issuer:new ve("_:b"),contextResolver:new ye({sharedCache:ze})});if(he.link){he.skipExpansion=true}if(!he.compactToRelative){delete he.base}let ge;if(he.skipExpansion){ge=pe}else{ge=await R.expand(pe,he)}const Ee=await R.processContext(Pe(he),Ae,he);let Ce=await Me({activeCtx:Ee,element:ge,options:he});if(he.compactArrays&&!he.graph&&xe(Ce)){if(Ce.length===1){Ce=Ce[0]}else if(Ce.length===0){Ce={}}}else if(he.graph&&De(Ce)){Ce=[Ce]}if(De(Ae)&&"@context"in Ae){Ae=Ae["@context"]}Ae=me.clone(Ae);if(!xe(Ae)){Ae=[Ae]}const we=Ae;Ae=[];for(let R=0;R0){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 - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(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 - */ -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 he=Ae(47426);var ge=Ae(71017).extname;var me=/^\s*([^;\s]*)(?:;|\s|$)/;var ye=/^text\//i;pe.charset=charset;pe.charsets={lookup:charset};pe.contentType=contentType;pe.extension=extension;pe.extensions=Object.create(null);pe.lookup=lookup;pe.types=Object.create(null);populateMaps(pe.extensions,pe.types);function charset(R){if(!R||typeof R!=="string"){return false}var pe=me.exec(R);var Ae=pe&&he[pe[1].toLowerCase()];if(Ae&&Ae.charset){return Ae.charset}if(pe&&ye.test(pe[1])){return"UTF-8"}return false}function contentType(R){if(!R||typeof R!=="string"){return false}var Ae=R.indexOf("/")===-1?pe.lookup(R):R;if(!Ae){return false}if(Ae.indexOf("charset")===-1){var he=pe.charset(Ae);if(he)Ae+="; charset="+he.toLowerCase()}return Ae}function extension(R){if(!R||typeof R!=="string"){return false}var Ae=me.exec(R);var he=Ae&&pe.extensions[Ae[1].toLowerCase()];if(!he||!he.length){return false}return he[0]}function lookup(R){if(!R||typeof R!=="string"){return false}var Ae=ge("x."+R).toLowerCase().substr(1);if(!Ae){return false}return pe.types[Ae]||false}function populateMaps(R,pe){var Ae=["nginx","apache",undefined,"iana"];Object.keys(he).forEach((function forEachMimeType(ge){var me=he[ge];var ye=me.extensions;if(!ye||!ye.length){return}R[ge]=ye;for(var ve=0;veCe||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(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=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 - * - * Copyright (c) 2017-2022 Peculiar Ventures, LLC - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - */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(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 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. - */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 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 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 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 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. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -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 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/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2Fz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kbGxodHRwX3NldF9sZW5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCsLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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QQEhAyAALQAoQQFGDQAgAC8BMkH//wNxIgVBnH9qQeQASQ0AIAVBzAFGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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kACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxweHyAhIyUoP0BBREVGR0hJSktMTU9QUVJT3gNXWVtcXWBiZWZnaGlqa2xtb3BxcnN0dXZ3eHl6e3x9foABggGFAYYBhwGJAYsBjAGNAY4BjwGQAZEBlAGVAZYBlwGYAZkBmgGbAZwBnQGeAZ8BoAGhAaIBowGkAaUBpgGnAagBqQGqAasBrAGtAa4BrwGwAbEBsgGzAbQBtQG2AbcBuAG5AboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBxwHIAckBygHLAcwBzQHOAc8B0AHRAdIB0wHUAdUB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ACEQDLEBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQg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NgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIhBBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtUBHyAhIiMkJdQBJicoKSorLNMB0gEtLtEB0AEvMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUbbAUdISUrPAc4BS80BTMwBTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gAGBAYIBgwGEAYUBhgGHAYg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AwPC0G1ASEQDA4LQbYBIRAMDQtBtwEhEAwMC0G4ASEQDAsLQbkBIRAMCgtBugEhEAwJC0G7ASEQDAgLQcYBIRAMBwtBvAEhEAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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znAQsgACABIgEgAhC0gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai0AACIQQQJGDQACQCAQQX9qDgTlAewBAOsB7AELIAFBAWohAUEIIRAMyAMLIAFBAWoiASACRw0AC0EVIRAM3wMLQRUhEAzeAwsDQAJAIAEtAABB8LmAgABqLQAAIhBBAkYNACAQQX9qDgTeAewB4AHrAewBCyABQQFqIgEgAkcNAAtBGCEQDN0DCwJAI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gIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},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 -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ -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 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 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 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 +(()=>{var A={7351:function(A,e,t){"use strict";var r=this&&this.__createBinding||(Object.create?function(A,e,t,r){if(r===undefined)r=t;Object.defineProperty(A,r,{enumerable:true,get:function(){return e[t]}})}:function(A,e,t,r){if(r===undefined)r=t;A[r]=e[t]});var s=this&&this.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:true,value:e})}:function(A,e){A["default"]=e});var o=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)if(t!=="default"&&Object.hasOwnProperty.call(A,t))r(e,A,t);s(e,A);return e};Object.defineProperty(e,"__esModule",{value:true});e.issue=e.issueCommand=void 0;const n=o(t(2037));const i=t(5278);function issueCommand(A,e,t){const r=new Command(A,e,t);process.stdout.write(r.toString()+n.EOL)}e.issueCommand=issueCommand;function issue(A,e=""){issueCommand(A,{},e)}e.issue=issue;const a="::";class Command{constructor(A,e,t){if(!A){A="missing.command"}this.command=A;this.properties=e;this.message=t}toString(){let A=a+this.command;if(this.properties&&Object.keys(this.properties).length>0){A+=" ";let e=true;for(const t in this.properties){if(this.properties.hasOwnProperty(t)){const r=this.properties[t];if(r){if(e){e=false}else{A+=","}A+=`${t}=${escapeProperty(r)}`}}}}A+=`${a}${escapeData(this.message)}`;return A}}function escapeData(A){return i.toCommandValue(A).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(A){return i.toCommandValue(A).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(A,e,t){"use strict";var r=this&&this.__createBinding||(Object.create?function(A,e,t,r){if(r===undefined)r=t;Object.defineProperty(A,r,{enumerable:true,get:function(){return e[t]}})}:function(A,e,t,r){if(r===undefined)r=t;A[r]=e[t]});var s=this&&this.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:true,value:e})}:function(A,e){A["default"]=e});var o=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)if(t!=="default"&&Object.hasOwnProperty.call(A,t))r(e,A,t);s(e,A);return e};var n=this&&this.__awaiter||function(A,e,t,r){function adopt(A){return A instanceof t?A:new t((function(e){e(A)}))}return new(t||(t=Promise))((function(t,s){function fulfilled(A){try{step(r.next(A))}catch(A){s(A)}}function rejected(A){try{step(r["throw"](A))}catch(A){s(A)}}function step(A){A.done?t(A.value):adopt(A.value).then(fulfilled,rejected)}step((r=r.apply(A,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:true});e.getIDToken=e.getState=e.saveState=e.group=e.endGroup=e.startGroup=e.info=e.notice=e.warning=e.error=e.debug=e.isDebug=e.setFailed=e.setCommandEcho=e.setOutput=e.getBooleanInput=e.getMultilineInput=e.getInput=e.addPath=e.setSecret=e.exportVariable=e.ExitCode=void 0;const i=t(7351);const a=t(717);const E=t(5278);const g=o(t(2037));const Q=o(t(1017));const c=t(8041);var C;(function(A){A[A["Success"]=0]="Success";A[A["Failure"]=1]="Failure"})(C=e.ExitCode||(e.ExitCode={}));function exportVariable(A,e){const t=E.toCommandValue(e);process.env[A]=t;const r=process.env["GITHUB_ENV"]||"";if(r){return a.issueFileCommand("ENV",a.prepareKeyValueMessage(A,e))}i.issueCommand("set-env",{name:A},t)}e.exportVariable=exportVariable;function setSecret(A){i.issueCommand("add-mask",{},A)}e.setSecret=setSecret;function addPath(A){const e=process.env["GITHUB_PATH"]||"";if(e){a.issueFileCommand("PATH",A)}else{i.issueCommand("add-path",{},A)}process.env["PATH"]=`${A}${Q.delimiter}${process.env["PATH"]}`}e.addPath=addPath;function getInput(A,e){const t=process.env[`INPUT_${A.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!t){throw new Error(`Input required and not supplied: ${A}`)}if(e&&e.trimWhitespace===false){return t}return t.trim()}e.getInput=getInput;function getMultilineInput(A,e){const t=getInput(A,e).split("\n").filter((A=>A!==""));if(e&&e.trimWhitespace===false){return t}return t.map((A=>A.trim()))}e.getMultilineInput=getMultilineInput;function getBooleanInput(A,e){const t=["true","True","TRUE"];const r=["false","False","FALSE"];const s=getInput(A,e);if(t.includes(s))return true;if(r.includes(s))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${A}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}e.getBooleanInput=getBooleanInput;function setOutput(A,e){const t=process.env["GITHUB_OUTPUT"]||"";if(t){return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(A,e))}process.stdout.write(g.EOL);i.issueCommand("set-output",{name:A},E.toCommandValue(e))}e.setOutput=setOutput;function setCommandEcho(A){i.issue("echo",A?"on":"off")}e.setCommandEcho=setCommandEcho;function setFailed(A){process.exitCode=C.Failure;error(A)}e.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}e.isDebug=isDebug;function debug(A){i.issueCommand("debug",{},A)}e.debug=debug;function error(A,e={}){i.issueCommand("error",E.toCommandProperties(e),A instanceof Error?A.toString():A)}e.error=error;function warning(A,e={}){i.issueCommand("warning",E.toCommandProperties(e),A instanceof Error?A.toString():A)}e.warning=warning;function notice(A,e={}){i.issueCommand("notice",E.toCommandProperties(e),A instanceof Error?A.toString():A)}e.notice=notice;function info(A){process.stdout.write(A+g.EOL)}e.info=info;function startGroup(A){i.issue("group",A)}e.startGroup=startGroup;function endGroup(){i.issue("endgroup")}e.endGroup=endGroup;function group(A,e){return n(this,void 0,void 0,(function*(){startGroup(A);let t;try{t=yield e()}finally{endGroup()}return t}))}e.group=group;function saveState(A,e){const t=process.env["GITHUB_STATE"]||"";if(t){return a.issueFileCommand("STATE",a.prepareKeyValueMessage(A,e))}i.issueCommand("save-state",{name:A},E.toCommandValue(e))}e.saveState=saveState;function getState(A){return process.env[`STATE_${A}`]||""}e.getState=getState;function getIDToken(A){return n(this,void 0,void 0,(function*(){return yield c.OidcClient.getIDToken(A)}))}e.getIDToken=getIDToken;var B=t(1327);Object.defineProperty(e,"summary",{enumerable:true,get:function(){return B.summary}});var I=t(1327);Object.defineProperty(e,"markdownSummary",{enumerable:true,get:function(){return I.markdownSummary}});var h=t(2981);Object.defineProperty(e,"toPosixPath",{enumerable:true,get:function(){return h.toPosixPath}});Object.defineProperty(e,"toWin32Path",{enumerable:true,get:function(){return h.toWin32Path}});Object.defineProperty(e,"toPlatformPath",{enumerable:true,get:function(){return h.toPlatformPath}})},717:function(A,e,t){"use strict";var r=this&&this.__createBinding||(Object.create?function(A,e,t,r){if(r===undefined)r=t;Object.defineProperty(A,r,{enumerable:true,get:function(){return e[t]}})}:function(A,e,t,r){if(r===undefined)r=t;A[r]=e[t]});var s=this&&this.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:true,value:e})}:function(A,e){A["default"]=e});var o=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)if(t!=="default"&&Object.hasOwnProperty.call(A,t))r(e,A,t);s(e,A);return e};Object.defineProperty(e,"__esModule",{value:true});e.prepareKeyValueMessage=e.issueFileCommand=void 0;const n=o(t(7147));const i=o(t(2037));const a=t(8974);const E=t(5278);function issueFileCommand(A,e){const t=process.env[`GITHUB_${A}`];if(!t){throw new Error(`Unable to find environment variable for file command ${A}`)}if(!n.existsSync(t)){throw new Error(`Missing file at path: ${t}`)}n.appendFileSync(t,`${E.toCommandValue(e)}${i.EOL}`,{encoding:"utf8"})}e.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(A,e){const t=`ghadelimiter_${a.v4()}`;const r=E.toCommandValue(e);if(A.includes(t)){throw new Error(`Unexpected input: name should not contain the delimiter "${t}"`)}if(r.includes(t)){throw new Error(`Unexpected input: value should not contain the delimiter "${t}"`)}return`${A}<<${t}${i.EOL}${r}${i.EOL}${t}`}e.prepareKeyValueMessage=prepareKeyValueMessage},8041:function(A,e,t){"use strict";var r=this&&this.__awaiter||function(A,e,t,r){function adopt(A){return A instanceof t?A:new t((function(e){e(A)}))}return new(t||(t=Promise))((function(t,s){function fulfilled(A){try{step(r.next(A))}catch(A){s(A)}}function rejected(A){try{step(r["throw"](A))}catch(A){s(A)}}function step(A){A.done?t(A.value):adopt(A.value).then(fulfilled,rejected)}step((r=r.apply(A,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:true});e.OidcClient=void 0;const s=t(6255);const o=t(5526);const n=t(2186);class OidcClient{static createHttpClient(A=true,e=10){const t={allowRetries:A,maxRetries:e};return new s.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(OidcClient.getRequestToken())],t)}static getRequestToken(){const A=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!A){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return A}static getIDTokenUrl(){const A=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!A){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return A}static getCall(A){var e;return r(this,void 0,void 0,(function*(){const t=OidcClient.createHttpClient();const r=yield t.getJson(A).catch((A=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${A.statusCode}\n \n Error Message: ${A.message}`)}));const s=(e=r.result)===null||e===void 0?void 0:e.value;if(!s){throw new Error("Response json body do not have ID Token field")}return s}))}static getIDToken(A){return r(this,void 0,void 0,(function*(){try{let e=OidcClient.getIDTokenUrl();if(A){const t=encodeURIComponent(A);e=`${e}&audience=${t}`}n.debug(`ID token url is ${e}`);const t=yield OidcClient.getCall(e);n.setSecret(t);return t}catch(A){throw new Error(`Error message: ${A.message}`)}}))}}e.OidcClient=OidcClient},2981:function(A,e,t){"use strict";var r=this&&this.__createBinding||(Object.create?function(A,e,t,r){if(r===undefined)r=t;Object.defineProperty(A,r,{enumerable:true,get:function(){return e[t]}})}:function(A,e,t,r){if(r===undefined)r=t;A[r]=e[t]});var s=this&&this.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:true,value:e})}:function(A,e){A["default"]=e});var o=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)if(t!=="default"&&Object.hasOwnProperty.call(A,t))r(e,A,t);s(e,A);return e};Object.defineProperty(e,"__esModule",{value:true});e.toPlatformPath=e.toWin32Path=e.toPosixPath=void 0;const n=o(t(1017));function toPosixPath(A){return A.replace(/[\\]/g,"/")}e.toPosixPath=toPosixPath;function toWin32Path(A){return A.replace(/[/]/g,"\\")}e.toWin32Path=toWin32Path;function toPlatformPath(A){return A.replace(/[/\\]/g,n.sep)}e.toPlatformPath=toPlatformPath},1327:function(A,e,t){"use strict";var r=this&&this.__awaiter||function(A,e,t,r){function adopt(A){return A instanceof t?A:new t((function(e){e(A)}))}return new(t||(t=Promise))((function(t,s){function fulfilled(A){try{step(r.next(A))}catch(A){s(A)}}function rejected(A){try{step(r["throw"](A))}catch(A){s(A)}}function step(A){A.done?t(A.value):adopt(A.value).then(fulfilled,rejected)}step((r=r.apply(A,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:true});e.summary=e.markdownSummary=e.SUMMARY_DOCS_URL=e.SUMMARY_ENV_VAR=void 0;const s=t(2037);const o=t(7147);const{access:n,appendFile:i,writeFile:a}=o.promises;e.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";e.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 r(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const A=process.env[e.SUMMARY_ENV_VAR];if(!A){throw new Error(`Unable to find environment variable for $${e.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield n(A,o.constants.R_OK|o.constants.W_OK)}catch(e){throw new Error(`Unable to access summary file: '${A}'. Check if the file has correct read/write permissions.`)}this._filePath=A;return this._filePath}))}wrap(A,e,t={}){const r=Object.entries(t).map((([A,e])=>` ${A}="${e}"`)).join("");if(!e){return`<${A}${r}>`}return`<${A}${r}>${e}`}write(A){return r(this,void 0,void 0,(function*(){const e=!!(A===null||A===void 0?void 0:A.overwrite);const t=yield this.filePath();const r=e?a:i;yield r(t,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return r(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:true})}))}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){this._buffer="";return this}addRaw(A,e=false){this._buffer+=A;return e?this.addEOL():this}addEOL(){return this.addRaw(s.EOL)}addCodeBlock(A,e){const t=Object.assign({},e&&{lang:e});const r=this.wrap("pre",this.wrap("code",A),t);return this.addRaw(r).addEOL()}addList(A,e=false){const t=e?"ol":"ul";const r=A.map((A=>this.wrap("li",A))).join("");const s=this.wrap(t,r);return this.addRaw(s).addEOL()}addTable(A){const e=A.map((A=>{const e=A.map((A=>{if(typeof A==="string"){return this.wrap("td",A)}const{header:e,data:t,colspan:r,rowspan:s}=A;const o=e?"th":"td";const n=Object.assign(Object.assign({},r&&{colspan:r}),s&&{rowspan:s});return this.wrap(o,t,n)})).join("");return this.wrap("tr",e)})).join("");const t=this.wrap("table",e);return this.addRaw(t).addEOL()}addDetails(A,e){const t=this.wrap("details",this.wrap("summary",A)+e);return this.addRaw(t).addEOL()}addImage(A,e,t){const{width:r,height:s}=t||{};const o=Object.assign(Object.assign({},r&&{width:r}),s&&{height:s});const n=this.wrap("img",null,Object.assign({src:A,alt:e},o));return this.addRaw(n).addEOL()}addHeading(A,e){const t=`h${e}`;const r=["h1","h2","h3","h4","h5","h6"].includes(t)?t:"h1";const s=this.wrap(r,A);return this.addRaw(s).addEOL()}addSeparator(){const A=this.wrap("hr",null);return this.addRaw(A).addEOL()}addBreak(){const A=this.wrap("br",null);return this.addRaw(A).addEOL()}addQuote(A,e){const t=Object.assign({},e&&{cite:e});const r=this.wrap("blockquote",A,t);return this.addRaw(r).addEOL()}addLink(A,e){const t=this.wrap("a",A,{href:e});return this.addRaw(t).addEOL()}}const E=new Summary;e.markdownSummary=E;e.summary=E},5278:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.toCommandProperties=e.toCommandValue=void 0;function toCommandValue(A){if(A===null||A===undefined){return""}else if(typeof A==="string"||A instanceof String){return A}return JSON.stringify(A)}e.toCommandValue=toCommandValue;function toCommandProperties(A){if(!Object.keys(A).length){return{}}return{title:A.title,file:A.file,line:A.startLine,endLine:A.endLine,col:A.startColumn,endColumn:A.endColumn}}e.toCommandProperties=toCommandProperties},8974:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});Object.defineProperty(e,"v1",{enumerable:true,get:function(){return r.default}});Object.defineProperty(e,"v3",{enumerable:true,get:function(){return s.default}});Object.defineProperty(e,"v4",{enumerable:true,get:function(){return o.default}});Object.defineProperty(e,"v5",{enumerable:true,get:function(){return n.default}});Object.defineProperty(e,"NIL",{enumerable:true,get:function(){return i.default}});Object.defineProperty(e,"version",{enumerable:true,get:function(){return a.default}});Object.defineProperty(e,"validate",{enumerable:true,get:function(){return E.default}});Object.defineProperty(e,"stringify",{enumerable:true,get:function(){return g.default}});Object.defineProperty(e,"parse",{enumerable:true,get:function(){return Q.default}});var r=_interopRequireDefault(t(1595));var s=_interopRequireDefault(t(6993));var o=_interopRequireDefault(t(1472));var n=_interopRequireDefault(t(6217));var i=_interopRequireDefault(t(2381));var a=_interopRequireDefault(t(427));var E=_interopRequireDefault(t(2609));var g=_interopRequireDefault(t(1458));var Q=_interopRequireDefault(t(6385));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}},5842:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var r=_interopRequireDefault(t(6113));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}function md5(A){if(Array.isArray(A)){A=Buffer.from(A)}else if(typeof A==="string"){A=Buffer.from(A,"utf8")}return r.default.createHash("md5").update(A).digest()}var s=md5;e["default"]=s},2381:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var t="00000000-0000-0000-0000-000000000000";e["default"]=t},6385:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var r=_interopRequireDefault(t(2609));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}function parse(A){if(!(0,r.default)(A)){throw TypeError("Invalid UUID")}let e;const t=new Uint8Array(16);t[0]=(e=parseInt(A.slice(0,8),16))>>>24;t[1]=e>>>16&255;t[2]=e>>>8&255;t[3]=e&255;t[4]=(e=parseInt(A.slice(9,13),16))>>>8;t[5]=e&255;t[6]=(e=parseInt(A.slice(14,18),16))>>>8;t[7]=e&255;t[8]=(e=parseInt(A.slice(19,23),16))>>>8;t[9]=e&255;t[10]=(e=parseInt(A.slice(24,36),16))/1099511627776&255;t[11]=e/4294967296&255;t[12]=e>>>24&255;t[13]=e>>>16&255;t[14]=e>>>8&255;t[15]=e&255;return t}var s=parse;e["default"]=s},6230:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var t=/^(?:[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;e["default"]=t},9784:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=rng;var r=_interopRequireDefault(t(6113));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}const s=new Uint8Array(256);let o=s.length;function rng(){if(o>s.length-16){r.default.randomFillSync(s);o=0}return s.slice(o,o+=16)}},8844:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var r=_interopRequireDefault(t(6113));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}function sha1(A){if(Array.isArray(A)){A=Buffer.from(A)}else if(typeof A==="string"){A=Buffer.from(A,"utf8")}return r.default.createHash("sha1").update(A).digest()}var s=sha1;e["default"]=s},1458:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var r=_interopRequireDefault(t(2609));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}const s=[];for(let A=0;A<256;++A){s.push((A+256).toString(16).substr(1))}function stringify(A,e=0){const t=(s[A[e+0]]+s[A[e+1]]+s[A[e+2]]+s[A[e+3]]+"-"+s[A[e+4]]+s[A[e+5]]+"-"+s[A[e+6]]+s[A[e+7]]+"-"+s[A[e+8]]+s[A[e+9]]+"-"+s[A[e+10]]+s[A[e+11]]+s[A[e+12]]+s[A[e+13]]+s[A[e+14]]+s[A[e+15]]).toLowerCase();if(!(0,r.default)(t)){throw TypeError("Stringified UUID is invalid")}return t}var o=stringify;e["default"]=o},1595:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var r=_interopRequireDefault(t(9784));var s=_interopRequireDefault(t(1458));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}let o;let n;let i=0;let a=0;function v1(A,e,t){let E=e&&t||0;const g=e||new Array(16);A=A||{};let Q=A.node||o;let c=A.clockseq!==undefined?A.clockseq:n;if(Q==null||c==null){const e=A.random||(A.rng||r.default)();if(Q==null){Q=o=[e[0]|1,e[1],e[2],e[3],e[4],e[5]]}if(c==null){c=n=(e[6]<<8|e[7])&16383}}let C=A.msecs!==undefined?A.msecs:Date.now();let B=A.nsecs!==undefined?A.nsecs:a+1;const I=C-i+(B-a)/1e4;if(I<0&&A.clockseq===undefined){c=c+1&16383}if((I<0||C>i)&&A.nsecs===undefined){B=0}if(B>=1e4){throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")}i=C;a=B;n=c;C+=122192928e5;const h=((C&268435455)*1e4+B)%4294967296;g[E++]=h>>>24&255;g[E++]=h>>>16&255;g[E++]=h>>>8&255;g[E++]=h&255;const l=C/4294967296*1e4&268435455;g[E++]=l>>>8&255;g[E++]=l&255;g[E++]=l>>>24&15|16;g[E++]=l>>>16&255;g[E++]=c>>>8|128;g[E++]=c&255;for(let A=0;A<6;++A){g[E+A]=Q[A]}return e||(0,s.default)(g)}var E=v1;e["default"]=E},6993:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var r=_interopRequireDefault(t(5920));var s=_interopRequireDefault(t(5842));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}const o=(0,r.default)("v3",48,s.default);var n=o;e["default"]=n},5920:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=_default;e.URL=e.DNS=void 0;var r=_interopRequireDefault(t(1458));var s=_interopRequireDefault(t(6385));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}function stringToBytes(A){A=unescape(encodeURIComponent(A));const e=[];for(let t=0;t{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var r=_interopRequireDefault(t(9784));var s=_interopRequireDefault(t(1458));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}function v4(A,e,t){A=A||{};const o=A.random||(A.rng||r.default)();o[6]=o[6]&15|64;o[8]=o[8]&63|128;if(e){t=t||0;for(let A=0;A<16;++A){e[t+A]=o[A]}return e}return(0,s.default)(o)}var o=v4;e["default"]=o},6217:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var r=_interopRequireDefault(t(5920));var s=_interopRequireDefault(t(8844));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}const o=(0,r.default)("v5",80,s.default);var n=o;e["default"]=n},2609:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var r=_interopRequireDefault(t(6230));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}function validate(A){return typeof A==="string"&&r.default.test(A)}var s=validate;e["default"]=s},427:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e["default"]=void 0;var r=_interopRequireDefault(t(2609));function _interopRequireDefault(A){return A&&A.__esModule?A:{default:A}}function version(A){if(!(0,r.default)(A)){throw TypeError("Invalid UUID")}return parseInt(A.substr(14,1),16)}var s=version;e["default"]=s},5526:function(A,e){"use strict";var t=this&&this.__awaiter||function(A,e,t,r){function adopt(A){return A instanceof t?A:new t((function(e){e(A)}))}return new(t||(t=Promise))((function(t,s){function fulfilled(A){try{step(r.next(A))}catch(A){s(A)}}function rejected(A){try{step(r["throw"](A))}catch(A){s(A)}}function step(A){A.done?t(A.value):adopt(A.value).then(fulfilled,rejected)}step((r=r.apply(A,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:true});e.PersonalAccessTokenCredentialHandler=e.BearerCredentialHandler=e.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(A,e){this.username=A;this.password=e}prepareRequest(A){if(!A.headers){throw Error("The request has no headers")}A.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return t(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}e.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(A){this.token=A}prepareRequest(A){if(!A.headers){throw Error("The request has no headers")}A.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return t(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}e.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(A){this.token=A}prepareRequest(A){if(!A.headers){throw Error("The request has no headers")}A.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return t(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}e.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},6255:function(A,e,t){"use strict";var r=this&&this.__createBinding||(Object.create?function(A,e,t,r){if(r===undefined)r=t;var s=Object.getOwnPropertyDescriptor(e,t);if(!s||("get"in s?!e.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return e[t]}}}Object.defineProperty(A,r,s)}:function(A,e,t,r){if(r===undefined)r=t;A[r]=e[t]});var s=this&&this.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:true,value:e})}:function(A,e){A["default"]=e});var o=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)if(t!=="default"&&Object.prototype.hasOwnProperty.call(A,t))r(e,A,t);s(e,A);return e};var n=this&&this.__awaiter||function(A,e,t,r){function adopt(A){return A instanceof t?A:new t((function(e){e(A)}))}return new(t||(t=Promise))((function(t,s){function fulfilled(A){try{step(r.next(A))}catch(A){s(A)}}function rejected(A){try{step(r["throw"](A))}catch(A){s(A)}}function step(A){A.done?t(A.value):adopt(A.value).then(fulfilled,rejected)}step((r=r.apply(A,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:true});e.HttpClient=e.isHttps=e.HttpClientResponse=e.HttpClientError=e.getProxyUrl=e.MediaTypes=e.Headers=e.HttpCodes=void 0;const i=o(t(3685));const a=o(t(5687));const E=o(t(9835));const g=o(t(4294));const Q=t(1773);var c;(function(A){A[A["OK"]=200]="OK";A[A["MultipleChoices"]=300]="MultipleChoices";A[A["MovedPermanently"]=301]="MovedPermanently";A[A["ResourceMoved"]=302]="ResourceMoved";A[A["SeeOther"]=303]="SeeOther";A[A["NotModified"]=304]="NotModified";A[A["UseProxy"]=305]="UseProxy";A[A["SwitchProxy"]=306]="SwitchProxy";A[A["TemporaryRedirect"]=307]="TemporaryRedirect";A[A["PermanentRedirect"]=308]="PermanentRedirect";A[A["BadRequest"]=400]="BadRequest";A[A["Unauthorized"]=401]="Unauthorized";A[A["PaymentRequired"]=402]="PaymentRequired";A[A["Forbidden"]=403]="Forbidden";A[A["NotFound"]=404]="NotFound";A[A["MethodNotAllowed"]=405]="MethodNotAllowed";A[A["NotAcceptable"]=406]="NotAcceptable";A[A["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";A[A["RequestTimeout"]=408]="RequestTimeout";A[A["Conflict"]=409]="Conflict";A[A["Gone"]=410]="Gone";A[A["TooManyRequests"]=429]="TooManyRequests";A[A["InternalServerError"]=500]="InternalServerError";A[A["NotImplemented"]=501]="NotImplemented";A[A["BadGateway"]=502]="BadGateway";A[A["ServiceUnavailable"]=503]="ServiceUnavailable";A[A["GatewayTimeout"]=504]="GatewayTimeout"})(c||(e.HttpCodes=c={}));var C;(function(A){A["Accept"]="accept";A["ContentType"]="content-type"})(C||(e.Headers=C={}));var B;(function(A){A["ApplicationJson"]="application/json"})(B||(e.MediaTypes=B={}));function getProxyUrl(A){const e=E.getProxyUrl(new URL(A));return e?e.href:""}e.getProxyUrl=getProxyUrl;const I=[c.MovedPermanently,c.ResourceMoved,c.SeeOther,c.TemporaryRedirect,c.PermanentRedirect];const h=[c.BadGateway,c.ServiceUnavailable,c.GatewayTimeout];const l=["OPTIONS","GET","DELETE","HEAD"];const u=10;const d=5;class HttpClientError extends Error{constructor(A,e){super(A);this.name="HttpClientError";this.statusCode=e;Object.setPrototypeOf(this,HttpClientError.prototype)}}e.HttpClientError=HttpClientError;class HttpClientResponse{constructor(A){this.message=A}readBody(){return n(this,void 0,void 0,(function*(){return new Promise((A=>n(this,void 0,void 0,(function*(){let e=Buffer.alloc(0);this.message.on("data",(A=>{e=Buffer.concat([e,A])}));this.message.on("end",(()=>{A(e.toString())}))}))))}))}readBodyBuffer(){return n(this,void 0,void 0,(function*(){return new Promise((A=>n(this,void 0,void 0,(function*(){const e=[];this.message.on("data",(A=>{e.push(A)}));this.message.on("end",(()=>{A(Buffer.concat(e))}))}))))}))}}e.HttpClientResponse=HttpClientResponse;function isHttps(A){const e=new URL(A);return e.protocol==="https:"}e.isHttps=isHttps;class HttpClient{constructor(A,e,t){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=A;this.handlers=e||[];this.requestOptions=t;if(t){if(t.ignoreSslError!=null){this._ignoreSslError=t.ignoreSslError}this._socketTimeout=t.socketTimeout;if(t.allowRedirects!=null){this._allowRedirects=t.allowRedirects}if(t.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=t.allowRedirectDowngrade}if(t.maxRedirects!=null){this._maxRedirects=Math.max(t.maxRedirects,0)}if(t.keepAlive!=null){this._keepAlive=t.keepAlive}if(t.allowRetries!=null){this._allowRetries=t.allowRetries}if(t.maxRetries!=null){this._maxRetries=t.maxRetries}}}options(A,e){return n(this,void 0,void 0,(function*(){return this.request("OPTIONS",A,null,e||{})}))}get(A,e){return n(this,void 0,void 0,(function*(){return this.request("GET",A,null,e||{})}))}del(A,e){return n(this,void 0,void 0,(function*(){return this.request("DELETE",A,null,e||{})}))}post(A,e,t){return n(this,void 0,void 0,(function*(){return this.request("POST",A,e,t||{})}))}patch(A,e,t){return n(this,void 0,void 0,(function*(){return this.request("PATCH",A,e,t||{})}))}put(A,e,t){return n(this,void 0,void 0,(function*(){return this.request("PUT",A,e,t||{})}))}head(A,e){return n(this,void 0,void 0,(function*(){return this.request("HEAD",A,null,e||{})}))}sendStream(A,e,t,r){return n(this,void 0,void 0,(function*(){return this.request(A,e,t,r)}))}getJson(A,e={}){return n(this,void 0,void 0,(function*(){e[C.Accept]=this._getExistingOrDefaultHeader(e,C.Accept,B.ApplicationJson);const t=yield this.get(A,e);return this._processResponse(t,this.requestOptions)}))}postJson(A,e,t={}){return n(this,void 0,void 0,(function*(){const r=JSON.stringify(e,null,2);t[C.Accept]=this._getExistingOrDefaultHeader(t,C.Accept,B.ApplicationJson);t[C.ContentType]=this._getExistingOrDefaultHeader(t,C.ContentType,B.ApplicationJson);const s=yield this.post(A,r,t);return this._processResponse(s,this.requestOptions)}))}putJson(A,e,t={}){return n(this,void 0,void 0,(function*(){const r=JSON.stringify(e,null,2);t[C.Accept]=this._getExistingOrDefaultHeader(t,C.Accept,B.ApplicationJson);t[C.ContentType]=this._getExistingOrDefaultHeader(t,C.ContentType,B.ApplicationJson);const s=yield this.put(A,r,t);return this._processResponse(s,this.requestOptions)}))}patchJson(A,e,t={}){return n(this,void 0,void 0,(function*(){const r=JSON.stringify(e,null,2);t[C.Accept]=this._getExistingOrDefaultHeader(t,C.Accept,B.ApplicationJson);t[C.ContentType]=this._getExistingOrDefaultHeader(t,C.ContentType,B.ApplicationJson);const s=yield this.patch(A,r,t);return this._processResponse(s,this.requestOptions)}))}request(A,e,t,r){return n(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const s=new URL(e);let o=this._prepareRequest(A,s,r);const n=this._allowRetries&&l.includes(A)?this._maxRetries+1:1;let i=0;let a;do{a=yield this.requestRaw(o,t);if(a&&a.message&&a.message.statusCode===c.Unauthorized){let A;for(const e of this.handlers){if(e.canHandleAuthentication(a)){A=e;break}}if(A){return A.handleAuthentication(this,o,t)}else{return a}}let e=this._maxRedirects;while(a.message.statusCode&&I.includes(a.message.statusCode)&&this._allowRedirects&&e>0){const n=a.message.headers["location"];if(!n){break}const i=new URL(n);if(s.protocol==="https:"&&s.protocol!==i.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 a.readBody();if(i.hostname!==s.hostname){for(const A in r){if(A.toLowerCase()==="authorization"){delete r[A]}}}o=this._prepareRequest(A,i,r);a=yield this.requestRaw(o,t);e--}if(!a.message.statusCode||!h.includes(a.message.statusCode)){return a}i+=1;if(i{function callbackForResult(A,e){if(A){r(A)}else if(!e){r(new Error("Unknown error"))}else{t(e)}}this.requestRawWithCallback(A,e,callbackForResult)}))}))}requestRawWithCallback(A,e,t){if(typeof e==="string"){if(!A.options.headers){A.options.headers={}}A.options.headers["Content-Length"]=Buffer.byteLength(e,"utf8")}let r=false;function handleResult(A,e){if(!r){r=true;t(A,e)}}const s=A.httpModule.request(A.options,(A=>{const e=new HttpClientResponse(A);handleResult(undefined,e)}));let o;s.on("socket",(A=>{o=A}));s.setTimeout(this._socketTimeout||3*6e4,(()=>{if(o){o.end()}handleResult(new Error(`Request timeout: ${A.options.path}`))}));s.on("error",(function(A){handleResult(A)}));if(e&&typeof e==="string"){s.write(e,"utf8")}if(e&&typeof e!=="string"){e.on("close",(function(){s.end()}));e.pipe(s)}else{s.end()}}getAgent(A){const e=new URL(A);return this._getAgent(e)}getAgentDispatcher(A){const e=new URL(A);const t=E.getProxyUrl(e);const r=t&&t.hostname;if(!r){return}return this._getProxyAgentDispatcher(e,t)}_prepareRequest(A,e,t){const r={};r.parsedUrl=e;const s=r.parsedUrl.protocol==="https:";r.httpModule=s?a:i;const o=s?443:80;r.options={};r.options.host=r.parsedUrl.hostname;r.options.port=r.parsedUrl.port?parseInt(r.parsedUrl.port):o;r.options.path=(r.parsedUrl.pathname||"")+(r.parsedUrl.search||"");r.options.method=A;r.options.headers=this._mergeHeaders(t);if(this.userAgent!=null){r.options.headers["user-agent"]=this.userAgent}r.options.agent=this._getAgent(r.parsedUrl);if(this.handlers){for(const A of this.handlers){A.prepareRequest(r.options)}}return r}_mergeHeaders(A){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(A||{}))}return lowercaseKeys(A||{})}_getExistingOrDefaultHeader(A,e,t){let r;if(this.requestOptions&&this.requestOptions.headers){r=lowercaseKeys(this.requestOptions.headers)[e]}return A[e]||r||t}_getAgent(A){let e;const t=E.getProxyUrl(A);const r=t&&t.hostname;if(this._keepAlive&&r){e=this._proxyAgent}if(!r){e=this._agent}if(e){return e}const s=A.protocol==="https:";let o=100;if(this.requestOptions){o=this.requestOptions.maxSockets||i.globalAgent.maxSockets}if(t&&t.hostname){const A={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(t.username||t.password)&&{proxyAuth:`${t.username}:${t.password}`}),{host:t.hostname,port:t.port})};let r;const n=t.protocol==="https:";if(s){r=n?g.httpsOverHttps:g.httpsOverHttp}else{r=n?g.httpOverHttps:g.httpOverHttp}e=r(A);this._proxyAgent=e}if(!e){const A={keepAlive:this._keepAlive,maxSockets:o};e=s?new a.Agent(A):new i.Agent(A);this._agent=e}if(s&&this._ignoreSslError){e.options=Object.assign(e.options||{},{rejectUnauthorized:false})}return e}_getProxyAgentDispatcher(A,e){let t;if(this._keepAlive){t=this._proxyAgentDispatcher}if(t){return t}const r=A.protocol==="https:";t=new Q.ProxyAgent(Object.assign({uri:e.href,pipelining:!this._keepAlive?0:1},(e.username||e.password)&&{token:`${e.username}:${e.password}`}));this._proxyAgentDispatcher=t;if(r&&this._ignoreSslError){t.options=Object.assign(t.options.requestTls||{},{rejectUnauthorized:false})}return t}_performExponentialBackoff(A){return n(this,void 0,void 0,(function*(){A=Math.min(u,A);const e=d*Math.pow(2,A);return new Promise((A=>setTimeout((()=>A()),e)))}))}_processResponse(A,e){return n(this,void 0,void 0,(function*(){return new Promise(((t,r)=>n(this,void 0,void 0,(function*(){const s=A.message.statusCode||0;const o={statusCode:s,result:null,headers:{}};if(s===c.NotFound){t(o)}function dateTimeDeserializer(A,e){if(typeof e==="string"){const A=new Date(e);if(!isNaN(A.valueOf())){return A}}return e}let n;let i;try{i=yield A.readBody();if(i&&i.length>0){if(e&&e.deserializeDates){n=JSON.parse(i,dateTimeDeserializer)}else{n=JSON.parse(i)}o.result=n}o.headers=A.message.headers}catch(A){}if(s>299){let A;if(n&&n.message){A=n.message}else if(i&&i.length>0){A=i}else{A=`Failed request: (${s})`}const e=new HttpClientError(A,s);e.result=o.result;r(e)}else{t(o)}}))))}))}}e.HttpClient=HttpClient;const lowercaseKeys=A=>Object.keys(A).reduce(((e,t)=>(e[t.toLowerCase()]=A[t],e)),{})},9835:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.checkBypass=e.getProxyUrl=void 0;function getProxyUrl(A){const e=A.protocol==="https:";if(checkBypass(A)){return undefined}const t=(()=>{if(e){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(t){try{return new URL(t)}catch(A){if(!t.startsWith("http://")&&!t.startsWith("https://"))return new URL(`http://${t}`)}}else{return undefined}}e.getProxyUrl=getProxyUrl;function checkBypass(A){if(!A.hostname){return false}const e=A.hostname;if(isLoopbackAddress(e)){return true}const t=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!t){return false}let r;if(A.port){r=Number(A.port)}else if(A.protocol==="http:"){r=80}else if(A.protocol==="https:"){r=443}const s=[A.hostname.toUpperCase()];if(typeof r==="number"){s.push(`${s[0]}:${r}`)}for(const A of t.split(",").map((A=>A.trim().toUpperCase())).filter((A=>A))){if(A==="*"||s.some((e=>e===A||e.endsWith(`.${A}`)||A.startsWith(".")&&e.endsWith(`${A}`)))){return true}}return false}e.checkBypass=checkBypass;function isLoopbackAddress(A){const e=A.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}},4294:(A,e,t)=>{A.exports=t(4219)},4219:(A,e,t)=>{"use strict";var r=t(1808);var s=t(4404);var o=t(3685);var n=t(5687);var i=t(2361);var a=t(9491);var E=t(3837);e.httpOverHttp=httpOverHttp;e.httpsOverHttp=httpsOverHttp;e.httpOverHttps=httpOverHttps;e.httpsOverHttps=httpsOverHttps;function httpOverHttp(A){var e=new TunnelingAgent(A);e.request=o.request;return e}function httpsOverHttp(A){var e=new TunnelingAgent(A);e.request=o.request;e.createSocket=createSecureSocket;e.defaultPort=443;return e}function httpOverHttps(A){var e=new TunnelingAgent(A);e.request=n.request;return e}function httpsOverHttps(A){var e=new TunnelingAgent(A);e.request=n.request;e.createSocket=createSecureSocket;e.defaultPort=443;return e}function TunnelingAgent(A){var e=this;e.options=A||{};e.proxyOptions=e.options.proxy||{};e.maxSockets=e.options.maxSockets||o.Agent.defaultMaxSockets;e.requests=[];e.sockets=[];e.on("free",(function onFree(A,t,r,s){var o=toOptions(t,r,s);for(var n=0,i=e.requests.length;n=this.maxSockets){s.requests.push(o);return}s.createSocket(o,(function(e){e.on("free",onFree);e.on("close",onCloseOrRemove);e.on("agentRemove",onCloseOrRemove);A.onSocket(e);function onFree(){s.emit("free",e,o)}function onCloseOrRemove(A){s.removeSocket(e);e.removeListener("free",onFree);e.removeListener("close",onCloseOrRemove);e.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(A,e){var t=this;var r={};t.sockets.push(r);var s=mergeOptions({},t.proxyOptions,{method:"CONNECT",path:A.host+":"+A.port,agent:false,headers:{host:A.host+":"+A.port}});if(A.localAddress){s.localAddress=A.localAddress}if(s.proxyAuth){s.headers=s.headers||{};s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")}g("making CONNECT request");var o=t.request(s);o.useChunkedEncodingByDefault=false;o.once("response",onResponse);o.once("upgrade",onUpgrade);o.once("connect",onConnect);o.once("error",onError);o.end();function onResponse(A){A.upgrade=true}function onUpgrade(A,e,t){process.nextTick((function(){onConnect(A,e,t)}))}function onConnect(s,n,i){o.removeAllListeners();n.removeAllListeners();if(s.statusCode!==200){g("tunneling socket could not be established, statusCode=%d",s.statusCode);n.destroy();var a=new Error("tunneling socket could not be established, "+"statusCode="+s.statusCode);a.code="ECONNRESET";A.request.emit("error",a);t.removeSocket(r);return}if(i.length>0){g("got illegal response body from proxy");n.destroy();var a=new Error("got illegal response body from proxy");a.code="ECONNRESET";A.request.emit("error",a);t.removeSocket(r);return}g("tunneling connection has established");t.sockets[t.sockets.indexOf(r)]=n;return e(n)}function onError(e){o.removeAllListeners();g("tunneling socket could not be established, cause=%s\n",e.message,e.stack);var s=new Error("tunneling socket could not be established, "+"cause="+e.message);s.code="ECONNRESET";A.request.emit("error",s);t.removeSocket(r)}};TunnelingAgent.prototype.removeSocket=function removeSocket(A){var e=this.sockets.indexOf(A);if(e===-1){return}this.sockets.splice(e,1);var t=this.requests.shift();if(t){this.createSocket(t,(function(A){t.request.onSocket(A)}))}};function createSecureSocket(A,e){var t=this;TunnelingAgent.prototype.createSocket.call(t,A,(function(r){var o=A.request.getHeader("host");var n=mergeOptions({},t.options,{socket:r,servername:o?o.replace(/:.*$/,""):A.host});var i=s.connect(0,n);t.sockets[t.sockets.indexOf(r)]=i;e(i)}))}function toOptions(A,e,t){if(typeof A==="string"){return{host:A,port:e,localAddress:t}}return A}function mergeOptions(A){for(var e=1,t=arguments.length;e{"use strict";const r=t(3598);const s=t(412);const o=t(8045);const n=t(4634);const i=t(7931);const a=t(7890);const E=t(3983);const{InvalidArgumentError:g}=o;const Q=t(4059);const c=t(2067);const C=t(8687);const B=t(6771);const I=t(6193);const h=t(888);const l=t(7858);const u=t(2286);const{getGlobalDispatcher:d,setGlobalDispatcher:f}=t(1892);const p=t(6930);const y=t(2860);const R=t(8861);let D;try{t(6113);D=true}catch{D=false}Object.assign(s.prototype,Q);A.exports.Dispatcher=s;A.exports.Client=r;A.exports.Pool=n;A.exports.BalancedPool=i;A.exports.Agent=a;A.exports.ProxyAgent=l;A.exports.RetryHandler=u;A.exports.DecoratorHandler=p;A.exports.RedirectHandler=y;A.exports.createRedirectInterceptor=R;A.exports.buildConnector=c;A.exports.errors=o;function makeDispatcher(A){return(e,t,r)=>{if(typeof t==="function"){r=t;t=null}if(!e||typeof e!=="string"&&typeof e!=="object"&&!(e instanceof URL)){throw new g("invalid url")}if(t!=null&&typeof t!=="object"){throw new g("invalid opts")}if(t&&t.path!=null){if(typeof t.path!=="string"){throw new g("invalid opts.path")}let A=t.path;if(!t.path.startsWith("/")){A=`/${A}`}e=new URL(E.parseOrigin(e).origin+A)}else{if(!t){t=typeof e==="object"?e:{}}e=E.parseURL(e)}const{agent:s,dispatcher:o=d()}=t;if(s){throw new g("unsupported opts.agent. Did you mean opts.client?")}return A.call(o,{...t,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:t.method||(t.body?"PUT":"GET")},r)}}A.exports.setGlobalDispatcher=f;A.exports.getGlobalDispatcher=d;if(E.nodeMajor>16||E.nodeMajor===16&&E.nodeMinor>=8){let e=null;A.exports.fetch=async function fetch(A){if(!e){e=t(4881).fetch}try{return await e(...arguments)}catch(A){if(typeof A==="object"){Error.captureStackTrace(A,this)}throw A}};A.exports.Headers=t(554).Headers;A.exports.Response=t(7823).Response;A.exports.Request=t(8359).Request;A.exports.FormData=t(2015).FormData;A.exports.File=t(8511).File;A.exports.FileReader=t(1446).FileReader;const{setGlobalOrigin:r,getGlobalOrigin:s}=t(1246);A.exports.setGlobalOrigin=r;A.exports.getGlobalOrigin=s;const{CacheStorage:o}=t(7907);const{kConstruct:n}=t(9174);A.exports.caches=new o(n)}if(E.nodeMajor>=16){const{deleteCookie:e,getCookies:r,getSetCookies:s,setCookie:o}=t(1724);A.exports.deleteCookie=e;A.exports.getCookies=r;A.exports.getSetCookies=s;A.exports.setCookie=o;const{parseMIMEType:n,serializeAMimeType:i}=t(685);A.exports.parseMIMEType=n;A.exports.serializeAMimeType=i}if(E.nodeMajor>=18&&D){const{WebSocket:e}=t(4284);A.exports.WebSocket=e}A.exports.request=makeDispatcher(Q.request);A.exports.stream=makeDispatcher(Q.stream);A.exports.pipeline=makeDispatcher(Q.pipeline);A.exports.connect=makeDispatcher(Q.connect);A.exports.upgrade=makeDispatcher(Q.upgrade);A.exports.MockClient=C;A.exports.MockPool=I;A.exports.MockAgent=B;A.exports.mockErrors=h},7890:(A,e,t)=>{"use strict";const{InvalidArgumentError:r}=t(8045);const{kClients:s,kRunning:o,kClose:n,kDestroy:i,kDispatch:a,kInterceptors:E}=t(2785);const g=t(4839);const Q=t(4634);const c=t(3598);const C=t(3983);const B=t(8861);const{WeakRef:I,FinalizationRegistry:h}=t(6436)();const l=Symbol("onConnect");const u=Symbol("onDisconnect");const d=Symbol("onConnectionError");const f=Symbol("maxRedirections");const p=Symbol("onDrain");const y=Symbol("factory");const R=Symbol("finalizer");const D=Symbol("options");function defaultFactory(A,e){return e&&e.connections===1?new c(A,e):new Q(A,e)}class Agent extends g{constructor({factory:A=defaultFactory,maxRedirections:e=0,connect:t,...o}={}){super();if(typeof A!=="function"){throw new r("factory must be a function.")}if(t!=null&&typeof t!=="function"&&typeof t!=="object"){throw new r("connect must be a function or an object")}if(!Number.isInteger(e)||e<0){throw new r("maxRedirections must be a positive number")}if(t&&typeof t!=="function"){t={...t}}this[E]=o.interceptors&&o.interceptors.Agent&&Array.isArray(o.interceptors.Agent)?o.interceptors.Agent:[B({maxRedirections:e})];this[D]={...C.deepClone(o),connect:t};this[D].interceptors=o.interceptors?{...o.interceptors}:undefined;this[f]=e;this[y]=A;this[s]=new Map;this[R]=new h((A=>{const e=this[s].get(A);if(e!==undefined&&e.deref()===undefined){this[s].delete(A)}}));const n=this;this[p]=(A,e)=>{n.emit("drain",A,[n,...e])};this[l]=(A,e)=>{n.emit("connect",A,[n,...e])};this[u]=(A,e,t)=>{n.emit("disconnect",A,[n,...e],t)};this[d]=(A,e,t)=>{n.emit("connectionError",A,[n,...e],t)}}get[o](){let A=0;for(const e of this[s].values()){const t=e.deref();if(t){A+=t[o]}}return A}[a](A,e){let t;if(A.origin&&(typeof A.origin==="string"||A.origin instanceof URL)){t=String(A.origin)}else{throw new r("opts.origin must be a non-empty string or URL.")}const o=this[s].get(t);let n=o?o.deref():null;if(!n){n=this[y](A.origin,this[D]).on("drain",this[p]).on("connect",this[l]).on("disconnect",this[u]).on("connectionError",this[d]);this[s].set(t,new I(n));this[R].register(n,t)}return n.dispatch(A,e)}async[n](){const A=[];for(const e of this[s].values()){const t=e.deref();if(t){A.push(t.close())}}await Promise.all(A)}async[i](A){const e=[];for(const t of this[s].values()){const r=t.deref();if(r){e.push(r.destroy(A))}}await Promise.all(e)}}A.exports=Agent},7032:(A,e,t)=>{const{addAbortListener:r}=t(3983);const{RequestAbortedError:s}=t(8045);const o=Symbol("kListener");const n=Symbol("kSignal");function abort(A){if(A.abort){A.abort()}else{A.onError(new s)}}function addSignal(A,e){A[n]=null;A[o]=null;if(!e){return}if(e.aborted){abort(A);return}A[n]=e;A[o]=()=>{abort(A)};r(A[n],A[o])}function removeSignal(A){if(!A[n]){return}if("removeEventListener"in A[n]){A[n].removeEventListener("abort",A[o])}else{A[n].removeListener("abort",A[o])}A[n]=null;A[o]=null}A.exports={addSignal:addSignal,removeSignal:removeSignal}},9744:(A,e,t)=>{"use strict";const{AsyncResource:r}=t(852);const{InvalidArgumentError:s,RequestAbortedError:o,SocketError:n}=t(8045);const i=t(3983);const{addSignal:a,removeSignal:E}=t(7032);class ConnectHandler extends r{constructor(A,e){if(!A||typeof A!=="object"){throw new s("invalid opts")}if(typeof e!=="function"){throw new s("invalid callback")}const{signal:t,opaque:r,responseHeaders:o}=A;if(t&&typeof t.on!=="function"&&typeof t.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=r||null;this.responseHeaders=o||null;this.callback=e;this.abort=null;a(this,t)}onConnect(A,e){if(!this.callback){throw new o}this.abort=A;this.context=e}onHeaders(){throw new n("bad connect",null)}onUpgrade(A,e,t){const{callback:r,opaque:s,context:o}=this;E(this);this.callback=null;let n=e;if(n!=null){n=this.responseHeaders==="raw"?i.parseRawHeaders(e):i.parseHeaders(e)}this.runInAsyncScope(r,null,null,{statusCode:A,headers:n,socket:t,opaque:s,context:o})}onError(A){const{callback:e,opaque:t}=this;E(this);if(e){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(e,null,A,{opaque:t})}))}}}function connect(A,e){if(e===undefined){return new Promise(((e,t)=>{connect.call(this,A,((A,r)=>A?t(A):e(r)))}))}try{const t=new ConnectHandler(A,e);this.dispatch({...A,method:"CONNECT"},t)}catch(t){if(typeof e!=="function"){throw t}const r=A&&A.opaque;queueMicrotask((()=>e(t,{opaque:r})))}}A.exports=connect},8752:(A,e,t)=>{"use strict";const{Readable:r,Duplex:s,PassThrough:o}=t(2781);const{InvalidArgumentError:n,InvalidReturnValueError:i,RequestAbortedError:a}=t(8045);const E=t(3983);const{AsyncResource:g}=t(852);const{addSignal:Q,removeSignal:c}=t(7032);const C=t(9491);const B=Symbol("resume");class PipelineRequest extends r{constructor(){super({autoDestroy:true});this[B]=null}_read(){const{[B]:A}=this;if(A){this[B]=null;A()}}_destroy(A,e){this._read();e(A)}}class PipelineResponse extends r{constructor(A){super({autoDestroy:true});this[B]=A}_read(){this[B]()}_destroy(A,e){if(!A&&!this._readableState.endEmitted){A=new a}e(A)}}class PipelineHandler extends g{constructor(A,e){if(!A||typeof A!=="object"){throw new n("invalid opts")}if(typeof e!=="function"){throw new n("invalid handler")}const{signal:t,method:r,opaque:o,onInfo:i,responseHeaders:g}=A;if(t&&typeof t.on!=="function"&&typeof t.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}if(r==="CONNECT"){throw new n("invalid method")}if(i&&typeof i!=="function"){throw new n("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=o||null;this.responseHeaders=g||null;this.handler=e;this.abort=null;this.context=null;this.onInfo=i||null;this.req=(new PipelineRequest).on("error",E.nop);this.ret=new s({readableObjectMode:A.objectMode,autoDestroy:true,read:()=>{const{body:A}=this;if(A&&A.resume){A.resume()}},write:(A,e,t)=>{const{req:r}=this;if(r.push(A,e)||r._readableState.destroyed){t()}else{r[B]=t}},destroy:(A,e)=>{const{body:t,req:r,res:s,ret:o,abort:n}=this;if(!A&&!o._readableState.endEmitted){A=new a}if(n&&A){n()}E.destroy(t,A);E.destroy(r,A);E.destroy(s,A);c(this);e(A)}}).on("prefinish",(()=>{const{req:A}=this;A.push(null)}));this.res=null;Q(this,t)}onConnect(A,e){const{ret:t,res:r}=this;C(!r,"pipeline cannot be retried");if(t.destroyed){throw new a}this.abort=A;this.context=e}onHeaders(A,e,t){const{opaque:r,handler:s,context:o}=this;if(A<200){if(this.onInfo){const t=this.responseHeaders==="raw"?E.parseRawHeaders(e):E.parseHeaders(e);this.onInfo({statusCode:A,headers:t})}return}this.res=new PipelineResponse(t);let n;try{this.handler=null;const t=this.responseHeaders==="raw"?E.parseRawHeaders(e):E.parseHeaders(e);n=this.runInAsyncScope(s,null,{statusCode:A,headers:t,opaque:r,body:this.res,context:o})}catch(A){this.res.on("error",E.nop);throw A}if(!n||typeof n.on!=="function"){throw new i("expected Readable")}n.on("data",(A=>{const{ret:e,body:t}=this;if(!e.push(A)&&t.pause){t.pause()}})).on("error",(A=>{const{ret:e}=this;E.destroy(e,A)})).on("end",(()=>{const{ret:A}=this;A.push(null)})).on("close",(()=>{const{ret:A}=this;if(!A._readableState.ended){E.destroy(A,new a)}}));this.body=n}onData(A){const{res:e}=this;return e.push(A)}onComplete(A){const{res:e}=this;e.push(null)}onError(A){const{ret:e}=this;this.handler=null;E.destroy(e,A)}}function pipeline(A,e){try{const t=new PipelineHandler(A,e);this.dispatch({...A,body:t.req},t);return t.ret}catch(A){return(new o).destroy(A)}}A.exports=pipeline},5448:(A,e,t)=>{"use strict";const r=t(3858);const{InvalidArgumentError:s,RequestAbortedError:o}=t(8045);const n=t(3983);const{getResolveErrorBodyCallback:i}=t(7474);const{AsyncResource:a}=t(852);const{addSignal:E,removeSignal:g}=t(7032);class RequestHandler extends a{constructor(A,e){if(!A||typeof A!=="object"){throw new s("invalid opts")}const{signal:t,method:r,opaque:o,body:i,onInfo:a,responseHeaders:g,throwOnError:Q,highWaterMark:c}=A;try{if(typeof e!=="function"){throw new s("invalid callback")}if(c&&(typeof c!=="number"||c<0)){throw new s("invalid highWaterMark")}if(t&&typeof t.on!=="function"&&typeof t.addEventListener!=="function"){throw new s("signal must be an EventEmitter or EventTarget")}if(r==="CONNECT"){throw new s("invalid method")}if(a&&typeof a!=="function"){throw new s("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(A){if(n.isStream(i)){n.destroy(i.on("error",n.nop),A)}throw A}this.responseHeaders=g||null;this.opaque=o||null;this.callback=e;this.res=null;this.abort=null;this.body=i;this.trailers={};this.context=null;this.onInfo=a||null;this.throwOnError=Q;this.highWaterMark=c;if(n.isStream(i)){i.on("error",(A=>{this.onError(A)}))}E(this,t)}onConnect(A,e){if(!this.callback){throw new o}this.abort=A;this.context=e}onHeaders(A,e,t,s){const{callback:o,opaque:a,abort:E,context:g,responseHeaders:Q,highWaterMark:c}=this;const C=Q==="raw"?n.parseRawHeaders(e):n.parseHeaders(e);if(A<200){if(this.onInfo){this.onInfo({statusCode:A,headers:C})}return}const B=Q==="raw"?n.parseHeaders(e):C;const I=B["content-type"];const h=new r({resume:t,abort:E,contentType:I,highWaterMark:c});this.callback=null;this.res=h;if(o!==null){if(this.throwOnError&&A>=400){this.runInAsyncScope(i,null,{callback:o,body:h,contentType:I,statusCode:A,statusMessage:s,headers:C})}else{this.runInAsyncScope(o,null,null,{statusCode:A,headers:C,trailers:this.trailers,opaque:a,body:h,context:g})}}}onData(A){const{res:e}=this;return e.push(A)}onComplete(A){const{res:e}=this;g(this);n.parseHeaders(A,this.trailers);e.push(null)}onError(A){const{res:e,callback:t,body:r,opaque:s}=this;g(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,A,{opaque:s})}))}if(e){this.res=null;queueMicrotask((()=>{n.destroy(e,A)}))}if(r){this.body=null;n.destroy(r,A)}}}function request(A,e){if(e===undefined){return new Promise(((e,t)=>{request.call(this,A,((A,r)=>A?t(A):e(r)))}))}try{this.dispatch(A,new RequestHandler(A,e))}catch(t){if(typeof e!=="function"){throw t}const r=A&&A.opaque;queueMicrotask((()=>e(t,{opaque:r})))}}A.exports=request;A.exports.RequestHandler=RequestHandler},5395:(A,e,t)=>{"use strict";const{finished:r,PassThrough:s}=t(2781);const{InvalidArgumentError:o,InvalidReturnValueError:n,RequestAbortedError:i}=t(8045);const a=t(3983);const{getResolveErrorBodyCallback:E}=t(7474);const{AsyncResource:g}=t(852);const{addSignal:Q,removeSignal:c}=t(7032);class StreamHandler extends g{constructor(A,e,t){if(!A||typeof A!=="object"){throw new o("invalid opts")}const{signal:r,method:s,opaque:n,body:i,onInfo:E,responseHeaders:g,throwOnError:c}=A;try{if(typeof t!=="function"){throw new o("invalid callback")}if(typeof e!=="function"){throw new o("invalid factory")}if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new o("invalid method")}if(E&&typeof E!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_STREAM")}catch(A){if(a.isStream(i)){a.destroy(i.on("error",a.nop),A)}throw A}this.responseHeaders=g||null;this.opaque=n||null;this.factory=e;this.callback=t;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=i;this.onInfo=E||null;this.throwOnError=c||false;if(a.isStream(i)){i.on("error",(A=>{this.onError(A)}))}Q(this,r)}onConnect(A,e){if(!this.callback){throw new i}this.abort=A;this.context=e}onHeaders(A,e,t,o){const{factory:i,opaque:g,context:Q,callback:c,responseHeaders:C}=this;const B=C==="raw"?a.parseRawHeaders(e):a.parseHeaders(e);if(A<200){if(this.onInfo){this.onInfo({statusCode:A,headers:B})}return}this.factory=null;let I;if(this.throwOnError&&A>=400){const t=C==="raw"?a.parseHeaders(e):B;const r=t["content-type"];I=new s;this.callback=null;this.runInAsyncScope(E,null,{callback:c,body:I,contentType:r,statusCode:A,statusMessage:o,headers:B})}else{if(i===null){return}I=this.runInAsyncScope(i,null,{statusCode:A,headers:B,opaque:g,context:Q});if(!I||typeof I.write!=="function"||typeof I.end!=="function"||typeof I.on!=="function"){throw new n("expected Writable")}r(I,{readable:false},(A=>{const{callback:e,res:t,opaque:r,trailers:s,abort:o}=this;this.res=null;if(A||!t.readable){a.destroy(t,A)}this.callback=null;this.runInAsyncScope(e,null,A||null,{opaque:r,trailers:s});if(A){o()}}))}I.on("drain",t);this.res=I;const h=I.writableNeedDrain!==undefined?I.writableNeedDrain:I._writableState&&I._writableState.needDrain;return h!==true}onData(A){const{res:e}=this;return e?e.write(A):true}onComplete(A){const{res:e}=this;c(this);if(!e){return}this.trailers=a.parseHeaders(A);e.end()}onError(A){const{res:e,callback:t,opaque:r,body:s}=this;c(this);this.factory=null;if(e){this.res=null;a.destroy(e,A)}else if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,A,{opaque:r})}))}if(s){this.body=null;a.destroy(s,A)}}}function stream(A,e,t){if(t===undefined){return new Promise(((t,r)=>{stream.call(this,A,e,((A,e)=>A?r(A):t(e)))}))}try{this.dispatch(A,new StreamHandler(A,e,t))}catch(e){if(typeof t!=="function"){throw e}const r=A&&A.opaque;queueMicrotask((()=>t(e,{opaque:r})))}}A.exports=stream},6923:(A,e,t)=>{"use strict";const{InvalidArgumentError:r,RequestAbortedError:s,SocketError:o}=t(8045);const{AsyncResource:n}=t(852);const i=t(3983);const{addSignal:a,removeSignal:E}=t(7032);const g=t(9491);class UpgradeHandler extends n{constructor(A,e){if(!A||typeof A!=="object"){throw new r("invalid opts")}if(typeof e!=="function"){throw new r("invalid callback")}const{signal:t,opaque:s,responseHeaders:o}=A;if(t&&typeof t.on!=="function"&&typeof t.addEventListener!=="function"){throw new r("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=o||null;this.opaque=s||null;this.callback=e;this.abort=null;this.context=null;a(this,t)}onConnect(A,e){if(!this.callback){throw new s}this.abort=A;this.context=null}onHeaders(){throw new o("bad upgrade",null)}onUpgrade(A,e,t){const{callback:r,opaque:s,context:o}=this;g.strictEqual(A,101);E(this);this.callback=null;const n=this.responseHeaders==="raw"?i.parseRawHeaders(e):i.parseHeaders(e);this.runInAsyncScope(r,null,null,{headers:n,socket:t,opaque:s,context:o})}onError(A){const{callback:e,opaque:t}=this;E(this);if(e){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(e,null,A,{opaque:t})}))}}}function upgrade(A,e){if(e===undefined){return new Promise(((e,t)=>{upgrade.call(this,A,((A,r)=>A?t(A):e(r)))}))}try{const t=new UpgradeHandler(A,e);this.dispatch({...A,method:A.method||"GET",upgrade:A.protocol||"Websocket"},t)}catch(t){if(typeof e!=="function"){throw t}const r=A&&A.opaque;queueMicrotask((()=>e(t,{opaque:r})))}}A.exports=upgrade},4059:(A,e,t)=>{"use strict";A.exports.request=t(5448);A.exports.stream=t(5395);A.exports.pipeline=t(8752);A.exports.upgrade=t(6923);A.exports.connect=t(9744)},3858:(A,e,t)=>{"use strict";const r=t(9491);const{Readable:s}=t(2781);const{RequestAbortedError:o,NotSupportedError:n,InvalidArgumentError:i}=t(8045);const a=t(3983);const{ReadableStreamFrom:E,toUSVString:g}=t(3983);let Q;const c=Symbol("kConsume");const C=Symbol("kReading");const B=Symbol("kBody");const I=Symbol("abort");const h=Symbol("kContentType");const noop=()=>{};A.exports=class BodyReadable extends s{constructor({resume:A,abort:e,contentType:t="",highWaterMark:r=64*1024}){super({autoDestroy:true,read:A,highWaterMark:r});this._readableState.dataEmitted=false;this[I]=e;this[c]=null;this[B]=null;this[h]=t;this[C]=false}destroy(A){if(this.destroyed){return this}if(!A&&!this._readableState.endEmitted){A=new o}if(A){this[I]()}return super.destroy(A)}emit(A,...e){if(A==="data"){this._readableState.dataEmitted=true}else if(A==="error"){this._readableState.errorEmitted=true}return super.emit(A,...e)}on(A,...e){if(A==="data"||A==="readable"){this[C]=true}return super.on(A,...e)}addListener(A,...e){return this.on(A,...e)}off(A,...e){const t=super.off(A,...e);if(A==="data"||A==="readable"){this[C]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return t}removeListener(A,...e){return this.off(A,...e)}push(A){if(this[c]&&A!==null&&this.readableLength===0){consumePush(this[c],A);return this[C]?super.push(A):true}return super.push(A)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new n}get bodyUsed(){return a.isDisturbed(this)}get body(){if(!this[B]){this[B]=E(this);if(this[c]){this[B].getReader();r(this[B].locked)}}return this[B]}dump(A){let e=A&&Number.isFinite(A.limit)?A.limit:262144;const t=A&&A.signal;if(t){try{if(typeof t!=="object"||!("aborted"in t)){throw new i("signal must be an AbortSignal")}a.throwIfAborted(t)}catch(A){return Promise.reject(A)}}if(this.closed){return Promise.resolve(null)}return new Promise(((A,r)=>{const s=t?a.addAbortListener(t,(()=>{this.destroy()})):noop;this.on("close",(function(){s();if(t&&t.aborted){r(t.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{A(null)}})).on("error",noop).on("data",(function(A){e-=A.length;if(e<=0){this.destroy()}})).resume()}))}};function isLocked(A){return A[B]&&A[B].locked===true||A[c]}function isUnusable(A){return a.isDisturbed(A)||isLocked(A)}async function consume(A,e){if(isUnusable(A)){throw new TypeError("unusable")}r(!A[c]);return new Promise(((t,r)=>{A[c]={type:e,stream:A,resolve:t,reject:r,length:0,body:[]};A.on("error",(function(A){consumeFinish(this[c],A)})).on("close",(function(){if(this[c].body!==null){consumeFinish(this[c],new o)}}));process.nextTick(consumeStart,A[c])}))}function consumeStart(A){if(A.body===null){return}const{_readableState:e}=A.stream;for(const t of e.buffer){consumePush(A,t)}if(e.endEmitted){consumeEnd(this[c])}else{A.stream.on("end",(function(){consumeEnd(this[c])}))}A.stream.resume();while(A.stream.read()!=null){}}function consumeEnd(A){const{type:e,body:r,resolve:s,stream:o,length:n}=A;try{if(e==="text"){s(g(Buffer.concat(r)))}else if(e==="json"){s(JSON.parse(Buffer.concat(r)))}else if(e==="arrayBuffer"){const A=new Uint8Array(n);let e=0;for(const t of r){A.set(t,e);e+=t.byteLength}s(A.buffer)}else if(e==="blob"){if(!Q){Q=t(4300).Blob}s(new Q(r,{type:o[h]}))}consumeFinish(A)}catch(A){o.destroy(A)}}function consumePush(A,e){A.length+=e.length;A.body.push(e)}function consumeFinish(A,e){if(A.body===null){return}if(e){A.reject(e)}else{A.resolve()}A.type=null;A.stream=null;A.resolve=null;A.reject=null;A.length=0;A.body=null}},7474:(A,e,t)=>{const r=t(9491);const{ResponseStatusCodeError:s}=t(8045);const{toUSVString:o}=t(3983);async function getResolveErrorBodyCallback({callback:A,body:e,contentType:t,statusCode:n,statusMessage:i,headers:a}){r(e);let E=[];let g=0;for await(const A of e){E.push(A);g+=A.length;if(g>128*1024){E=null;break}}if(n===204||!t||!E){process.nextTick(A,new s(`Response status code ${n}${i?`: ${i}`:""}`,n,a));return}try{if(t.startsWith("application/json")){const e=JSON.parse(o(Buffer.concat(E)));process.nextTick(A,new s(`Response status code ${n}${i?`: ${i}`:""}`,n,a,e));return}if(t.startsWith("text/")){const e=o(Buffer.concat(E));process.nextTick(A,new s(`Response status code ${n}${i?`: ${i}`:""}`,n,a,e));return}}catch(A){}process.nextTick(A,new s(`Response status code ${n}${i?`: ${i}`:""}`,n,a))}A.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},7931:(A,e,t)=>{"use strict";const{BalancedPoolMissingUpstreamError:r,InvalidArgumentError:s}=t(8045);const{PoolBase:o,kClients:n,kNeedDrain:i,kAddClient:a,kRemoveClient:E,kGetDispatcher:g}=t(3198);const Q=t(4634);const{kUrl:c,kInterceptors:C}=t(2785);const{parseOrigin:B}=t(3983);const I=Symbol("factory");const h=Symbol("options");const l=Symbol("kGreatestCommonDivisor");const u=Symbol("kCurrentWeight");const d=Symbol("kIndex");const f=Symbol("kWeight");const p=Symbol("kMaxWeightPerServer");const y=Symbol("kErrorPenalty");function getGreatestCommonDivisor(A,e){if(e===0)return A;return getGreatestCommonDivisor(e,A%e)}function defaultFactory(A,e){return new Q(A,e)}class BalancedPool extends o{constructor(A=[],{factory:e=defaultFactory,...t}={}){super();this[h]=t;this[d]=-1;this[u]=0;this[p]=this[h].maxWeightPerServer||100;this[y]=this[h].errorPenalty||15;if(!Array.isArray(A)){A=[A]}if(typeof e!=="function"){throw new s("factory must be a function.")}this[C]=t.interceptors&&t.interceptors.BalancedPool&&Array.isArray(t.interceptors.BalancedPool)?t.interceptors.BalancedPool:[];this[I]=e;for(const e of A){this.addUpstream(e)}this._updateBalancedPoolStats()}addUpstream(A){const e=B(A).origin;if(this[n].find((A=>A[c].origin===e&&A.closed!==true&&A.destroyed!==true))){return this}const t=this[I](e,Object.assign({},this[h]));this[a](t);t.on("connect",(()=>{t[f]=Math.min(this[p],t[f]+this[y])}));t.on("connectionError",(()=>{t[f]=Math.max(1,t[f]-this[y]);this._updateBalancedPoolStats()}));t.on("disconnect",((...A)=>{const e=A[2];if(e&&e.code==="UND_ERR_SOCKET"){t[f]=Math.max(1,t[f]-this[y]);this._updateBalancedPoolStats()}}));for(const A of this[n]){A[f]=this[p]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[l]=this[n].map((A=>A[f])).reduce(getGreatestCommonDivisor,0)}removeUpstream(A){const e=B(A).origin;const t=this[n].find((A=>A[c].origin===e&&A.closed!==true&&A.destroyed!==true));if(t){this[E](t)}return this}get upstreams(){return this[n].filter((A=>A.closed!==true&&A.destroyed!==true)).map((A=>A[c].origin))}[g](){if(this[n].length===0){throw new r}const A=this[n].find((A=>!A[i]&&A.closed!==true&&A.destroyed!==true));if(!A){return}const e=this[n].map((A=>A[i])).reduce(((A,e)=>A&&e),true);if(e){return}let t=0;let s=this[n].findIndex((A=>!A[i]));while(t++this[n][s][f]&&!A[i]){s=this[d]}if(this[d]===0){this[u]=this[u]-this[l];if(this[u]<=0){this[u]=this[p]}}if(A[f]>=this[u]&&!A[i]){return A}}this[u]=this[n][s][f];this[d]=s;return this[n][s]}}A.exports=BalancedPool},6101:(A,e,t)=>{"use strict";const{kConstruct:r}=t(9174);const{urlEquals:s,fieldValues:o}=t(2396);const{kEnumerableProperty:n,isDisturbed:i}=t(3983);const{kHeadersList:a}=t(2785);const{webidl:E}=t(1744);const{Response:g,cloneResponse:Q}=t(7823);const{Request:c}=t(8359);const{kState:C,kHeaders:B,kGuard:I,kRealm:h}=t(5861);const{fetching:l}=t(4881);const{urlIsHttpHttpsScheme:u,createDeferredPromise:d,readAllBytes:f}=t(2538);const p=t(9491);const{getGlobalDispatcher:y}=t(1892);class Cache{#A;constructor(){if(arguments[0]!==r){E.illegalConstructor()}this.#A=arguments[1]}async match(A,e={}){E.brandCheck(this,Cache);E.argumentLengthCheck(arguments,1,{header:"Cache.match"});A=E.converters.RequestInfo(A);e=E.converters.CacheQueryOptions(e);const t=await this.matchAll(A,e);if(t.length===0){return}return t[0]}async matchAll(A=undefined,e={}){E.brandCheck(this,Cache);if(A!==undefined)A=E.converters.RequestInfo(A);e=E.converters.CacheQueryOptions(e);let t=null;if(A!==undefined){if(A instanceof c){t=A[C];if(t.method!=="GET"&&!e.ignoreMethod){return[]}}else if(typeof A==="string"){t=new c(A)[C]}}const r=[];if(A===undefined){for(const A of this.#A){r.push(A[1])}}else{const A=this.#e(t,e);for(const e of A){r.push(e[1])}}const s=[];for(const A of r){const e=new g(A.body?.source??null);const t=e[C].body;e[C]=A;e[C].body=t;e[B][a]=A.headersList;e[B][I]="immutable";s.push(e)}return Object.freeze(s)}async add(A){E.brandCheck(this,Cache);E.argumentLengthCheck(arguments,1,{header:"Cache.add"});A=E.converters.RequestInfo(A);const e=[A];const t=this.addAll(e);return await t}async addAll(A){E.brandCheck(this,Cache);E.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});A=E.converters["sequence"](A);const e=[];const t=[];for(const e of A){if(typeof e==="string"){continue}const A=e[C];if(!u(A.url)||A.method!=="GET"){throw E.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const r=[];for(const s of A){const A=new c(s)[C];if(!u(A.url)){throw E.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}A.initiator="fetch";A.destination="subresource";t.push(A);const n=d();r.push(l({request:A,dispatcher:y(),processResponse(A){if(A.type==="error"||A.status===206||A.status<200||A.status>299){n.reject(E.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(A.headersList.contains("vary")){const e=o(A.headersList.get("vary"));for(const A of e){if(A==="*"){n.reject(E.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const A of r){A.abort()}return}}}},processResponseEndOfBody(A){if(A.aborted){n.reject(new DOMException("aborted","AbortError"));return}n.resolve(A)}}));e.push(n.promise)}const s=Promise.all(e);const n=await s;const i=[];let a=0;for(const A of n){const e={type:"put",request:t[a],response:A};i.push(e);a++}const g=d();let Q=null;try{this.#t(i)}catch(A){Q=A}queueMicrotask((()=>{if(Q===null){g.resolve(undefined)}else{g.reject(Q)}}));return g.promise}async put(A,e){E.brandCheck(this,Cache);E.argumentLengthCheck(arguments,2,{header:"Cache.put"});A=E.converters.RequestInfo(A);e=E.converters.Response(e);let t=null;if(A instanceof c){t=A[C]}else{t=new c(A)[C]}if(!u(t.url)||t.method!=="GET"){throw E.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const r=e[C];if(r.status===206){throw E.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(r.headersList.contains("vary")){const A=o(r.headersList.get("vary"));for(const e of A){if(e==="*"){throw E.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(r.body&&(i(r.body.stream)||r.body.stream.locked)){throw E.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const s=Q(r);const n=d();if(r.body!=null){const A=r.body.stream;const e=A.getReader();f(e).then(n.resolve,n.reject)}else{n.resolve(undefined)}const a=[];const g={type:"put",request:t,response:s};a.push(g);const B=await n.promise;if(s.body!=null){s.body.source=B}const I=d();let h=null;try{this.#t(a)}catch(A){h=A}queueMicrotask((()=>{if(h===null){I.resolve()}else{I.reject(h)}}));return I.promise}async delete(A,e={}){E.brandCheck(this,Cache);E.argumentLengthCheck(arguments,1,{header:"Cache.delete"});A=E.converters.RequestInfo(A);e=E.converters.CacheQueryOptions(e);let t=null;if(A instanceof c){t=A[C];if(t.method!=="GET"&&!e.ignoreMethod){return false}}else{p(typeof A==="string");t=new c(A)[C]}const r=[];const s={type:"delete",request:t,options:e};r.push(s);const o=d();let n=null;let i;try{i=this.#t(r)}catch(A){n=A}queueMicrotask((()=>{if(n===null){o.resolve(!!i?.length)}else{o.reject(n)}}));return o.promise}async keys(A=undefined,e={}){E.brandCheck(this,Cache);if(A!==undefined)A=E.converters.RequestInfo(A);e=E.converters.CacheQueryOptions(e);let t=null;if(A!==undefined){if(A instanceof c){t=A[C];if(t.method!=="GET"&&!e.ignoreMethod){return[]}}else if(typeof A==="string"){t=new c(A)[C]}}const r=d();const s=[];if(A===undefined){for(const A of this.#A){s.push(A[0])}}else{const A=this.#e(t,e);for(const e of A){s.push(e[0])}}queueMicrotask((()=>{const A=[];for(const e of s){const t=new c("https://a");t[C]=e;t[B][a]=e.headersList;t[B][I]="immutable";t[h]=e.client;A.push(t)}r.resolve(Object.freeze(A))}));return r.promise}#t(A){const e=this.#A;const t=[...e];const r=[];const s=[];try{for(const t of A){if(t.type!=="delete"&&t.type!=="put"){throw E.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(t.type==="delete"&&t.response!=null){throw E.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#e(t.request,t.options,r).length){throw new DOMException("???","InvalidStateError")}let A;if(t.type==="delete"){A=this.#e(t.request,t.options);if(A.length===0){return[]}for(const t of A){const A=e.indexOf(t);p(A!==-1);e.splice(A,1)}}else if(t.type==="put"){if(t.response==null){throw E.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const s=t.request;if(!u(s.url)){throw E.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(s.method!=="GET"){throw E.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(t.options!=null){throw E.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}A=this.#e(t.request);for(const t of A){const A=e.indexOf(t);p(A!==-1);e.splice(A,1)}e.push([t.request,t.response]);r.push([t.request,t.response])}s.push([t.request,t.response])}return s}catch(A){this.#A.length=0;this.#A=t;throw A}}#e(A,e,t){const r=[];const s=t??this.#A;for(const t of s){const[s,o]=t;if(this.#r(A,s,o,e)){r.push(t)}}return r}#r(A,e,t=null,r){const n=new URL(A.url);const i=new URL(e.url);if(r?.ignoreSearch){i.search="";n.search=""}if(!s(n,i,true)){return false}if(t==null||r?.ignoreVary||!t.headersList.contains("vary")){return true}const a=o(t.headersList.get("vary"));for(const t of a){if(t==="*"){return false}const r=e.headersList.get(t);const s=A.headersList.get(t);if(r!==s){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:n,matchAll:n,add:n,addAll:n,put:n,delete:n,keys:n});const R=[{key:"ignoreSearch",converter:E.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:E.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:E.converters.boolean,defaultValue:false}];E.converters.CacheQueryOptions=E.dictionaryConverter(R);E.converters.MultiCacheQueryOptions=E.dictionaryConverter([...R,{key:"cacheName",converter:E.converters.DOMString}]);E.converters.Response=E.interfaceConverter(g);E.converters["sequence"]=E.sequenceConverter(E.converters.RequestInfo);A.exports={Cache:Cache}},7907:(A,e,t)=>{"use strict";const{kConstruct:r}=t(9174);const{Cache:s}=t(6101);const{webidl:o}=t(1744);const{kEnumerableProperty:n}=t(3983);class CacheStorage{#s=new Map;constructor(){if(arguments[0]!==r){o.illegalConstructor()}}async match(A,e={}){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});A=o.converters.RequestInfo(A);e=o.converters.MultiCacheQueryOptions(e);if(e.cacheName!=null){if(this.#s.has(e.cacheName)){const t=this.#s.get(e.cacheName);const o=new s(r,t);return await o.match(A,e)}}else{for(const t of this.#s.values()){const o=new s(r,t);const n=await o.match(A,e);if(n!==undefined){return n}}}}async has(A){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});A=o.converters.DOMString(A);return this.#s.has(A)}async open(A){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});A=o.converters.DOMString(A);if(this.#s.has(A)){const e=this.#s.get(A);return new s(r,e)}const e=[];this.#s.set(A,e);return new s(r,e)}async delete(A){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});A=o.converters.DOMString(A);return this.#s.delete(A)}async keys(){o.brandCheck(this,CacheStorage);const A=this.#s.keys();return[...A]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:n,has:n,open:n,delete:n,keys:n});A.exports={CacheStorage:CacheStorage}},9174:(A,e,t)=>{"use strict";A.exports={kConstruct:t(2785).kConstruct}},2396:(A,e,t)=>{"use strict";const r=t(9491);const{URLSerializer:s}=t(685);const{isValidHeaderName:o}=t(2538);function urlEquals(A,e,t=false){const r=s(A,t);const o=s(e,t);return r===o}function fieldValues(A){r(A!==null);const e=[];for(let t of A.split(",")){t=t.trim();if(!t.length){continue}else if(!o(t)){continue}e.push(t)}return e}A.exports={urlEquals:urlEquals,fieldValues:fieldValues}},3598:(A,e,t)=>{"use strict";const r=t(9491);const s=t(1808);const o=t(3685);const{pipeline:n}=t(2781);const i=t(3983);const a=t(9459);const E=t(2905);const g=t(4839);const{RequestContentLengthMismatchError:Q,ResponseContentLengthMismatchError:c,InvalidArgumentError:C,RequestAbortedError:B,HeadersTimeoutError:I,HeadersOverflowError:h,SocketError:l,InformationalError:u,BodyTimeoutError:d,HTTPParserError:f,ResponseExceededMaxSizeError:p,ClientDestroyedError:y}=t(8045);const R=t(2067);const{kUrl:D,kReset:w,kServerName:k,kClient:m,kBusy:b,kParser:F,kConnect:S,kBlocking:N,kResuming:U,kRunning:L,kPending:M,kSize:Y,kWriting:T,kQueue:H,kConnected:J,kConnecting:G,kNeedDrain:v,kNoRef:V,kKeepAliveDefaultTimeout:x,kHostHeader:O,kPendingIdx:q,kRunningIdx:W,kError:P,kPipelining:_,kSocket:Z,kKeepAliveTimeoutValue:X,kMaxHeadersSize:j,kKeepAliveMaxTimeout:K,kKeepAliveTimeoutThreshold:z,kHeadersTimeout:$,kBodyTimeout:AA,kStrictContentLength:eA,kConnector:tA,kMaxRedirections:rA,kMaxRequests:sA,kCounter:oA,kClose:nA,kDestroy:iA,kDispatch:aA,kInterceptors:EA,kLocalAddress:gA,kMaxResponseSize:QA,kHTTPConnVersion:cA,kHost:CA,kHTTP2Session:BA,kHTTP2SessionState:IA,kHTTP2BuildRequest:hA,kHTTP2CopyHeaders:lA,kHTTP1BuildRequest:uA}=t(2785);let dA;try{dA=t(5158)}catch{dA={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:fA,HTTP2_HEADER_METHOD:pA,HTTP2_HEADER_PATH:yA,HTTP2_HEADER_SCHEME:RA,HTTP2_HEADER_CONTENT_LENGTH:DA,HTTP2_HEADER_EXPECT:wA,HTTP2_HEADER_STATUS:kA}}=dA;let mA=false;const bA=Buffer[Symbol.species];const FA=Symbol("kClosedResolve");const SA={};try{const A=t(7643);SA.sendHeaders=A.channel("undici:client:sendHeaders");SA.beforeConnect=A.channel("undici:client:beforeConnect");SA.connectError=A.channel("undici:client:connectError");SA.connected=A.channel("undici:client:connected")}catch{SA.sendHeaders={hasSubscribers:false};SA.beforeConnect={hasSubscribers:false};SA.connectError={hasSubscribers:false};SA.connected={hasSubscribers:false}}class Client extends g{constructor(A,{interceptors:e,maxHeaderSize:t,headersTimeout:r,socketTimeout:n,requestTimeout:a,connectTimeout:E,bodyTimeout:g,idleTimeout:Q,keepAlive:c,keepAliveTimeout:B,maxKeepAliveTimeout:I,keepAliveMaxTimeout:h,keepAliveTimeoutThreshold:l,socketPath:u,pipelining:d,tls:f,strictContentLength:p,maxCachedSessions:y,maxRedirections:w,connect:m,maxRequestsPerClient:b,localAddress:F,maxResponseSize:S,autoSelectFamily:N,autoSelectFamilyAttemptTimeout:L,allowH2:M,maxConcurrentStreams:Y}={}){super();if(c!==undefined){throw new C("unsupported keepAlive, use pipelining=0 instead")}if(n!==undefined){throw new C("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(a!==undefined){throw new C("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(Q!==undefined){throw new C("unsupported idleTimeout, use keepAliveTimeout instead")}if(I!==undefined){throw new C("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(t!=null&&!Number.isFinite(t)){throw new C("invalid maxHeaderSize")}if(u!=null&&typeof u!=="string"){throw new C("invalid socketPath")}if(E!=null&&(!Number.isFinite(E)||E<0)){throw new C("invalid connectTimeout")}if(B!=null&&(!Number.isFinite(B)||B<=0)){throw new C("invalid keepAliveTimeout")}if(h!=null&&(!Number.isFinite(h)||h<=0)){throw new C("invalid keepAliveMaxTimeout")}if(l!=null&&!Number.isFinite(l)){throw new C("invalid keepAliveTimeoutThreshold")}if(r!=null&&(!Number.isInteger(r)||r<0)){throw new C("headersTimeout must be a positive integer or zero")}if(g!=null&&(!Number.isInteger(g)||g<0)){throw new C("bodyTimeout must be a positive integer or zero")}if(m!=null&&typeof m!=="function"&&typeof m!=="object"){throw new C("connect must be a function or an object")}if(w!=null&&(!Number.isInteger(w)||w<0)){throw new C("maxRedirections must be a positive number")}if(b!=null&&(!Number.isInteger(b)||b<0)){throw new C("maxRequestsPerClient must be a positive number")}if(F!=null&&(typeof F!=="string"||s.isIP(F)===0)){throw new C("localAddress must be valid string IP address")}if(S!=null&&(!Number.isInteger(S)||S<-1)){throw new C("maxResponseSize must be a positive number")}if(L!=null&&(!Number.isInteger(L)||L<-1)){throw new C("autoSelectFamilyAttemptTimeout must be a positive number")}if(M!=null&&typeof M!=="boolean"){throw new C("allowH2 must be a valid boolean value")}if(Y!=null&&(typeof Y!=="number"||Y<1)){throw new C("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof m!=="function"){m=R({...f,maxCachedSessions:y,allowH2:M,socketPath:u,timeout:E,...i.nodeHasAutoSelectFamily&&N?{autoSelectFamily:N,autoSelectFamilyAttemptTimeout:L}:undefined,...m})}this[EA]=e&&e.Client&&Array.isArray(e.Client)?e.Client:[UA({maxRedirections:w})];this[D]=i.parseOrigin(A);this[tA]=m;this[Z]=null;this[_]=d!=null?d:1;this[j]=t||o.maxHeaderSize;this[x]=B==null?4e3:B;this[K]=h==null?6e5:h;this[z]=l==null?1e3:l;this[X]=this[x];this[k]=null;this[gA]=F!=null?F:null;this[U]=0;this[v]=0;this[O]=`host: ${this[D].hostname}${this[D].port?`:${this[D].port}`:""}\r\n`;this[AA]=g!=null?g:3e5;this[$]=r!=null?r:3e5;this[eA]=p==null?true:p;this[rA]=w;this[sA]=b;this[FA]=null;this[QA]=S>-1?S:-1;this[cA]="h1";this[BA]=null;this[IA]=!M?null:{openStreams:0,maxConcurrentStreams:Y!=null?Y:100};this[CA]=`${this[D].hostname}${this[D].port?`:${this[D].port}`:""}`;this[H]=[];this[W]=0;this[q]=0}get pipelining(){return this[_]}set pipelining(A){this[_]=A;resume(this,true)}get[M](){return this[H].length-this[q]}get[L](){return this[q]-this[W]}get[Y](){return this[H].length-this[W]}get[J](){return!!this[Z]&&!this[G]&&!this[Z].destroyed}get[b](){const A=this[Z];return A&&(A[w]||A[T]||A[N])||this[Y]>=(this[_]||1)||this[M]>0}[S](A){connect(this);this.once("connect",A)}[aA](A,e){const t=A.origin||this[D].origin;const r=this[cA]==="h2"?E[hA](t,A,e):E[uA](t,A,e);this[H].push(r);if(this[U]){}else if(i.bodyLength(r.body)==null&&i.isIterable(r.body)){this[U]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[U]&&this[v]!==2&&this[b]){this[v]=2}return this[v]<2}async[nA](){return new Promise((A=>{if(!this[Y]){A(null)}else{this[FA]=A}}))}async[iA](A){return new Promise((e=>{const t=this[H].splice(this[q]);for(let e=0;e{if(this[FA]){this[FA]();this[FA]=null}e()};if(this[BA]!=null){i.destroy(this[BA],A);this[BA]=null;this[IA]=null}if(!this[Z]){queueMicrotask(callback)}else{i.destroy(this[Z].on("close",callback),A)}resume(this)}))}}function onHttp2SessionError(A){r(A.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[Z][P]=A;onError(this[m],A)}function onHttp2FrameError(A,e,t){const r=new u(`HTTP/2: "frameError" received - type ${A}, code ${e}`);if(t===0){this[Z][P]=r;onError(this[m],r)}}function onHttp2SessionEnd(){i.destroy(this,new l("other side closed"));i.destroy(this[Z],new l("other side closed"))}function onHTTP2GoAway(A){const e=this[m];const t=new u(`HTTP/2: "GOAWAY" frame received with code ${A}`);e[Z]=null;e[BA]=null;if(e.destroyed){r(this[M]===0);const A=e[H].splice(e[W]);for(let e=0;e0){const A=e[H][e[W]];e[H][e[W]++]=null;errorRequest(e,A,t)}e[q]=e[W];r(e[L]===0);e.emit("disconnect",e[D],[e],t);resume(e)}const NA=t(953);const UA=t(8861);const LA=Buffer.alloc(0);async function lazyllhttp(){const A=process.env.JEST_WORKER_ID?t(1145):undefined;let e;try{e=await WebAssembly.compile(Buffer.from(t(5627),"base64"))}catch(r){e=await WebAssembly.compile(Buffer.from(A||t(1145),"base64"))}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(A,e,t)=>0,wasm_on_status:(A,e,t)=>{r.strictEqual(TA.ptr,A);const s=e-GA+HA.byteOffset;return TA.onStatus(new bA(HA.buffer,s,t))||0},wasm_on_message_begin:A=>{r.strictEqual(TA.ptr,A);return TA.onMessageBegin()||0},wasm_on_header_field:(A,e,t)=>{r.strictEqual(TA.ptr,A);const s=e-GA+HA.byteOffset;return TA.onHeaderField(new bA(HA.buffer,s,t))||0},wasm_on_header_value:(A,e,t)=>{r.strictEqual(TA.ptr,A);const s=e-GA+HA.byteOffset;return TA.onHeaderValue(new bA(HA.buffer,s,t))||0},wasm_on_headers_complete:(A,e,t,s)=>{r.strictEqual(TA.ptr,A);return TA.onHeadersComplete(e,Boolean(t),Boolean(s))||0},wasm_on_body:(A,e,t)=>{r.strictEqual(TA.ptr,A);const s=e-GA+HA.byteOffset;return TA.onBody(new bA(HA.buffer,s,t))||0},wasm_on_message_complete:A=>{r.strictEqual(TA.ptr,A);return TA.onMessageComplete()||0}}})}let MA=null;let YA=lazyllhttp();YA.catch();let TA=null;let HA=null;let JA=0;let GA=null;const vA=1;const VA=2;const xA=3;class Parser{constructor(A,e,{exports:t}){r(Number.isFinite(A[j])&&A[j]>0);this.llhttp=t;this.ptr=this.llhttp.llhttp_alloc(NA.TYPE.RESPONSE);this.client=A;this.socket=e;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=A[j];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=A[QA]}setTimeout(A,e){this.timeoutType=e;if(A!==this.timeoutValue){a.clearTimeout(this.timeout);if(A){this.timeout=a.setTimeout(onParserTimeout,A,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=A}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}r(this.ptr!=null);r(TA==null);this.llhttp.llhttp_resume(this.ptr);r(this.timeoutType===VA);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||LA);this.readMore()}readMore(){while(!this.paused&&this.ptr){const A=this.socket.read();if(A===null){break}this.execute(A)}}execute(A){r(this.ptr!=null);r(TA==null);r(!this.paused);const{socket:e,llhttp:t}=this;if(A.length>JA){if(GA){t.free(GA)}JA=Math.ceil(A.length/4096)*4096;GA=t.malloc(JA)}new Uint8Array(t.memory.buffer,GA,JA).set(A);try{let r;try{HA=A;TA=this;r=t.llhttp_execute(this.ptr,GA,A.length)}catch(A){throw A}finally{TA=null;HA=null}const s=t.llhttp_get_error_pos(this.ptr)-GA;if(r===NA.ERROR.PAUSED_UPGRADE){this.onUpgrade(A.slice(s))}else if(r===NA.ERROR.PAUSED){this.paused=true;e.unshift(A.slice(s))}else if(r!==NA.ERROR.OK){const e=t.llhttp_get_error_reason(this.ptr);let o="";if(e){const A=new Uint8Array(t.memory.buffer,e).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(t.memory.buffer,e,A).toString()+")"}throw new f(o,NA.ERROR[r],A.slice(s))}}catch(A){i.destroy(e,A)}}destroy(){r(this.ptr!=null);r(TA==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;a.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(A){this.statusText=A.toString()}onMessageBegin(){const{socket:A,client:e}=this;if(A.destroyed){return-1}const t=e[H][e[W]];if(!t){return-1}}onHeaderField(A){const e=this.headers.length;if((e&1)===0){this.headers.push(A)}else{this.headers[e-1]=Buffer.concat([this.headers[e-1],A])}this.trackHeader(A.length)}onHeaderValue(A){let e=this.headers.length;if((e&1)===1){this.headers.push(A);e+=1}else{this.headers[e-1]=Buffer.concat([this.headers[e-1],A])}const t=this.headers[e-2];if(t.length===10&&t.toString().toLowerCase()==="keep-alive"){this.keepAlive+=A.toString()}else if(t.length===10&&t.toString().toLowerCase()==="connection"){this.connection+=A.toString()}else if(t.length===14&&t.toString().toLowerCase()==="content-length"){this.contentLength+=A.toString()}this.trackHeader(A.length)}trackHeader(A){this.headersSize+=A;if(this.headersSize>=this.headersMaxSize){i.destroy(this.socket,new h)}}onUpgrade(A){const{upgrade:e,client:t,socket:s,headers:o,statusCode:n}=this;r(e);const a=t[H][t[W]];r(a);r(!s.destroyed);r(s===t[Z]);r(!this.paused);r(a.upgrade||a.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;r(this.headers.length%2===0);this.headers=[];this.headersSize=0;s.unshift(A);s[F].destroy();s[F]=null;s[m]=null;s[P]=null;s.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);t[Z]=null;t[H][t[W]++]=null;t.emit("disconnect",t[D],[t],new u("upgrade"));try{a.onUpgrade(n,o,s)}catch(A){i.destroy(s,A)}resume(t)}onHeadersComplete(A,e,t){const{client:s,socket:o,headers:n,statusText:a}=this;if(o.destroyed){return-1}const E=s[H][s[W]];if(!E){return-1}r(!this.upgrade);r(this.statusCode<200);if(A===100){i.destroy(o,new l("bad response",i.getSocketInfo(o)));return-1}if(e&&!E.upgrade){i.destroy(o,new l("bad upgrade",i.getSocketInfo(o)));return-1}r.strictEqual(this.timeoutType,vA);this.statusCode=A;this.shouldKeepAlive=t||E.method==="HEAD"&&!o[w]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const A=E.bodyTimeout!=null?E.bodyTimeout:s[AA];this.setTimeout(A,VA)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(E.method==="CONNECT"){r(s[L]===1);this.upgrade=true;return 2}if(e){r(s[L]===1);this.upgrade=true;return 2}r(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&s[_]){const A=this.keepAlive?i.parseKeepAliveTimeout(this.keepAlive):null;if(A!=null){const e=Math.min(A-s[z],s[K]);if(e<=0){o[w]=true}else{s[X]=e}}else{s[X]=s[x]}}else{o[w]=true}const g=E.onHeaders(A,n,this.resume,a)===false;if(E.aborted){return-1}if(E.method==="HEAD"){return 1}if(A<200){return 1}if(o[N]){o[N]=false;resume(s)}return g?NA.ERROR.PAUSED:0}onBody(A){const{client:e,socket:t,statusCode:s,maxResponseSize:o}=this;if(t.destroyed){return-1}const n=e[H][e[W]];r(n);r.strictEqual(this.timeoutType,VA);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}r(s>=200);if(o>-1&&this.bytesRead+A.length>o){i.destroy(t,new p);return-1}this.bytesRead+=A.length;if(n.onData(A)===false){return NA.ERROR.PAUSED}}onMessageComplete(){const{client:A,socket:e,statusCode:t,upgrade:s,headers:o,contentLength:n,bytesRead:a,shouldKeepAlive:E}=this;if(e.destroyed&&(!t||E)){return-1}if(s){return}const g=A[H][A[W]];r(g);r(t>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";r(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(t<200){return}if(g.method!=="HEAD"&&n&&a!==parseInt(n,10)){i.destroy(e,new c);return-1}g.onComplete(o);A[H][A[W]++]=null;if(e[T]){r.strictEqual(A[L],0);i.destroy(e,new u("reset"));return NA.ERROR.PAUSED}else if(!E){i.destroy(e,new u("reset"));return NA.ERROR.PAUSED}else if(e[w]&&A[L]===0){i.destroy(e,new u("reset"));return NA.ERROR.PAUSED}else if(A[_]===1){setImmediate(resume,A)}else{resume(A)}}}function onParserTimeout(A){const{socket:e,timeoutType:t,client:s}=A;if(t===vA){if(!e[T]||e.writableNeedDrain||s[L]>1){r(!A.paused,"cannot be paused while waiting for headers");i.destroy(e,new I)}}else if(t===VA){if(!A.paused){i.destroy(e,new d)}}else if(t===xA){r(s[L]===0&&s[X]);i.destroy(e,new u("socket idle timeout"))}}function onSocketReadable(){const{[F]:A}=this;if(A){A.readMore()}}function onSocketError(A){const{[m]:e,[F]:t}=this;r(A.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(e[cA]!=="h2"){if(A.code==="ECONNRESET"&&t.statusCode&&!t.shouldKeepAlive){t.onMessageComplete();return}}this[P]=A;onError(this[m],A)}function onError(A,e){if(A[L]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){r(A[q]===A[W]);const t=A[H].splice(A[W]);for(let r=0;r0&&t.code!=="UND_ERR_INFO"){const e=A[H][A[W]];A[H][A[W]++]=null;errorRequest(A,e,t)}A[q]=A[W];r(A[L]===0);A.emit("disconnect",A[D],[A],t);resume(A)}async function connect(A){r(!A[G]);r(!A[Z]);let{host:e,hostname:t,protocol:o,port:n}=A[D];if(t[0]==="["){const A=t.indexOf("]");r(A!==-1);const e=t.substring(1,A);r(s.isIP(e));t=e}A[G]=true;if(SA.beforeConnect.hasSubscribers){SA.beforeConnect.publish({connectParams:{host:e,hostname:t,protocol:o,port:n,servername:A[k],localAddress:A[gA]},connector:A[tA]})}try{const s=await new Promise(((r,s)=>{A[tA]({host:e,hostname:t,protocol:o,port:n,servername:A[k],localAddress:A[gA]},((A,e)=>{if(A){s(A)}else{r(e)}}))}));if(A.destroyed){i.destroy(s.on("error",(()=>{})),new y);return}A[G]=false;r(s);const a=s.alpnProtocol==="h2";if(a){if(!mA){mA=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const e=dA.connect(A[D],{createConnection:()=>s,peerMaxConcurrentStreams:A[IA].maxConcurrentStreams});A[cA]="h2";e[m]=A;e[Z]=s;e.on("error",onHttp2SessionError);e.on("frameError",onHttp2FrameError);e.on("end",onHttp2SessionEnd);e.on("goaway",onHTTP2GoAway);e.on("close",onSocketClose);e.unref();A[BA]=e;s[BA]=e}else{if(!MA){MA=await YA;YA=null}s[V]=false;s[T]=false;s[w]=false;s[N]=false;s[F]=new Parser(A,s,MA)}s[oA]=0;s[sA]=A[sA];s[m]=A;s[P]=null;s.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);A[Z]=s;if(SA.connected.hasSubscribers){SA.connected.publish({connectParams:{host:e,hostname:t,protocol:o,port:n,servername:A[k],localAddress:A[gA]},connector:A[tA],socket:s})}A.emit("connect",A[D],[A])}catch(s){if(A.destroyed){return}A[G]=false;if(SA.connectError.hasSubscribers){SA.connectError.publish({connectParams:{host:e,hostname:t,protocol:o,port:n,servername:A[k],localAddress:A[gA]},connector:A[tA],error:s})}if(s.code==="ERR_TLS_CERT_ALTNAME_INVALID"){r(A[L]===0);while(A[M]>0&&A[H][A[q]].servername===A[k]){const e=A[H][A[q]++];errorRequest(A,e,s)}}else{onError(A,s)}A.emit("connectionError",A[D],[A],s)}resume(A)}function emitDrain(A){A[v]=0;A.emit("drain",A[D],[A])}function resume(A,e){if(A[U]===2){return}A[U]=2;_resume(A,e);A[U]=0;if(A[W]>256){A[H].splice(0,A[W]);A[q]-=A[W];A[W]=0}}function _resume(A,e){while(true){if(A.destroyed){r(A[M]===0);return}if(A[FA]&&!A[Y]){A[FA]();A[FA]=null;return}const t=A[Z];if(t&&!t.destroyed&&t.alpnProtocol!=="h2"){if(A[Y]===0){if(!t[V]&&t.unref){t.unref();t[V]=true}}else if(t[V]&&t.ref){t.ref();t[V]=false}if(A[Y]===0){if(t[F].timeoutType!==xA){t[F].setTimeout(A[X],xA)}}else if(A[L]>0&&t[F].statusCode<200){if(t[F].timeoutType!==vA){const e=A[H][A[W]];const r=e.headersTimeout!=null?e.headersTimeout:A[$];t[F].setTimeout(r,vA)}}}if(A[b]){A[v]=2}else if(A[v]===2){if(e){A[v]=1;process.nextTick(emitDrain,A)}else{emitDrain(A)}continue}if(A[M]===0){return}if(A[L]>=(A[_]||1)){return}const s=A[H][A[q]];if(A[D].protocol==="https:"&&A[k]!==s.servername){if(A[L]>0){return}A[k]=s.servername;if(t&&t.servername!==s.servername){i.destroy(t,new u("servername changed"));return}}if(A[G]){return}if(!t&&!A[BA]){connect(A);return}if(t.destroyed||t[T]||t[w]||t[N]){return}if(A[L]>0&&!s.idempotent){return}if(A[L]>0&&(s.upgrade||s.method==="CONNECT")){return}if(A[L]>0&&i.bodyLength(s.body)!==0&&(i.isStream(s.body)||i.isAsyncIterable(s.body))){return}if(!s.aborted&&write(A,s)){A[q]++}else{A[H].splice(A[q],1)}}}function shouldSendContentLength(A){return A!=="GET"&&A!=="HEAD"&&A!=="OPTIONS"&&A!=="TRACE"&&A!=="CONNECT"}function write(A,e){if(A[cA]==="h2"){writeH2(A,A[BA],e);return}const{body:t,method:s,path:o,host:n,upgrade:a,headers:E,blocking:g,reset:c}=e;const C=s==="PUT"||s==="POST"||s==="PATCH";if(t&&typeof t.read==="function"){t.read(0)}const I=i.bodyLength(t);let h=I;if(h===null){h=e.contentLength}if(h===0&&!C){h=null}if(shouldSendContentLength(s)&&h>0&&e.contentLength!==null&&e.contentLength!==h){if(A[eA]){errorRequest(A,e,new Q);return false}process.emitWarning(new Q)}const l=A[Z];try{e.onConnect((t=>{if(e.aborted||e.completed){return}errorRequest(A,e,t||new B);i.destroy(l,new u("aborted"))}))}catch(t){errorRequest(A,e,t)}if(e.aborted){return false}if(s==="HEAD"){l[w]=true}if(a||s==="CONNECT"){l[w]=true}if(c!=null){l[w]=c}if(A[sA]&&l[oA]++>=A[sA]){l[w]=true}if(g){l[N]=true}let d=`${s} ${o} HTTP/1.1\r\n`;if(typeof n==="string"){d+=`host: ${n}\r\n`}else{d+=A[O]}if(a){d+=`connection: upgrade\r\nupgrade: ${a}\r\n`}else if(A[_]&&!l[w]){d+="connection: keep-alive\r\n"}else{d+="connection: close\r\n"}if(E){d+=E}if(SA.sendHeaders.hasSubscribers){SA.sendHeaders.publish({request:e,headers:d,socket:l})}if(!t||I===0){if(h===0){l.write(`${d}content-length: 0\r\n\r\n`,"latin1")}else{r(h===null,"no body must not have content length");l.write(`${d}\r\n`,"latin1")}e.onRequestSent()}else if(i.isBuffer(t)){r(h===t.byteLength,"buffer body must have content length");l.cork();l.write(`${d}content-length: ${h}\r\n\r\n`,"latin1");l.write(t);l.uncork();e.onBodySent(t);e.onRequestSent();if(!C){l[w]=true}}else if(i.isBlobLike(t)){if(typeof t.stream==="function"){writeIterable({body:t.stream(),client:A,request:e,socket:l,contentLength:h,header:d,expectsPayload:C})}else{writeBlob({body:t,client:A,request:e,socket:l,contentLength:h,header:d,expectsPayload:C})}}else if(i.isStream(t)){writeStream({body:t,client:A,request:e,socket:l,contentLength:h,header:d,expectsPayload:C})}else if(i.isIterable(t)){writeIterable({body:t,client:A,request:e,socket:l,contentLength:h,header:d,expectsPayload:C})}else{r(false)}return true}function writeH2(A,e,t){const{body:s,method:o,path:n,host:a,upgrade:g,expectContinue:c,signal:C,headers:I}=t;let h;if(typeof I==="string")h=E[lA](I.trim());else h=I;if(g){errorRequest(A,t,new Error("Upgrade not supported for H2"));return false}try{t.onConnect((e=>{if(t.aborted||t.completed){return}errorRequest(A,t,e||new B)}))}catch(e){errorRequest(A,t,e)}if(t.aborted){return false}let l;const d=A[IA];h[fA]=a||A[CA];h[pA]=o;if(o==="CONNECT"){e.ref();l=e.request(h,{endStream:false,signal:C});if(l.id&&!l.pending){t.onUpgrade(null,null,l);++d.openStreams}else{l.once("ready",(()=>{t.onUpgrade(null,null,l);++d.openStreams}))}l.once("close",(()=>{d.openStreams-=1;if(d.openStreams===0)e.unref()}));return true}h[yA]=n;h[RA]="https";const f=o==="PUT"||o==="POST"||o==="PATCH";if(s&&typeof s.read==="function"){s.read(0)}let p=i.bodyLength(s);if(p==null){p=t.contentLength}if(p===0||!f){p=null}if(shouldSendContentLength(o)&&p>0&&t.contentLength!=null&&t.contentLength!==p){if(A[eA]){errorRequest(A,t,new Q);return false}process.emitWarning(new Q)}if(p!=null){r(s,"no body must not have content length");h[DA]=`${p}`}e.ref();const y=o==="GET"||o==="HEAD";if(c){h[wA]="100-continue";l=e.request(h,{endStream:y,signal:C});l.once("continue",writeBodyH2)}else{l=e.request(h,{endStream:y,signal:C});writeBodyH2()}++d.openStreams;l.once("response",(A=>{const{[kA]:e,...r}=A;if(t.onHeaders(Number(e),r,l.resume.bind(l),"")===false){l.pause()}}));l.once("end",(()=>{t.onComplete([])}));l.on("data",(A=>{if(t.onData(A)===false){l.pause()}}));l.once("close",(()=>{d.openStreams-=1;if(d.openStreams===0){e.unref()}}));l.once("error",(function(e){if(A[BA]&&!A[BA].destroyed&&!this.closed&&!this.destroyed){d.streams-=1;i.destroy(l,e)}}));l.once("frameError",((e,r)=>{const s=new u(`HTTP/2: "frameError" received - type ${e}, code ${r}`);errorRequest(A,t,s);if(A[BA]&&!A[BA].destroyed&&!this.closed&&!this.destroyed){d.streams-=1;i.destroy(l,s)}}));return true;function writeBodyH2(){if(!s){t.onRequestSent()}else if(i.isBuffer(s)){r(p===s.byteLength,"buffer body must have content length");l.cork();l.write(s);l.uncork();l.end();t.onBodySent(s);t.onRequestSent()}else if(i.isBlobLike(s)){if(typeof s.stream==="function"){writeIterable({client:A,request:t,contentLength:p,h2stream:l,expectsPayload:f,body:s.stream(),socket:A[Z],header:""})}else{writeBlob({body:s,client:A,request:t,contentLength:p,expectsPayload:f,h2stream:l,header:"",socket:A[Z]})}}else if(i.isStream(s)){writeStream({body:s,client:A,request:t,contentLength:p,expectsPayload:f,socket:A[Z],h2stream:l,header:""})}else if(i.isIterable(s)){writeIterable({body:s,client:A,request:t,contentLength:p,expectsPayload:f,header:"",h2stream:l,socket:A[Z]})}else{r(false)}}}function writeStream({h2stream:A,body:e,client:t,request:s,socket:o,contentLength:a,header:E,expectsPayload:g}){r(a!==0||t[L]===0,"stream body cannot be pipelined");if(t[cA]==="h2"){const t=n(e,A,(t=>{if(t){i.destroy(e,t);i.destroy(A,t)}else{s.onRequestSent()}}));t.on("data",onPipeData);t.once("end",(()=>{t.removeListener("data",onPipeData);i.destroy(t)}));function onPipeData(A){s.onBodySent(A)}return}let Q=false;const c=new AsyncWriter({socket:o,request:s,contentLength:a,client:t,expectsPayload:g,header:E});const onData=function(A){if(Q){return}try{if(!c.write(A)&&this.pause){this.pause()}}catch(A){i.destroy(this,A)}};const onDrain=function(){if(Q){return}if(e.resume){e.resume()}};const onAbort=function(){if(Q){return}const A=new B;queueMicrotask((()=>onFinished(A)))};const onFinished=function(A){if(Q){return}Q=true;r(o.destroyed||o[T]&&t[L]<=1);o.off("drain",onDrain).off("error",onFinished);e.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!A){try{c.end()}catch(e){A=e}}c.destroy(A);if(A&&(A.code!=="UND_ERR_INFO"||A.message!=="reset")){i.destroy(e,A)}else{i.destroy(e)}};e.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(e.resume){e.resume()}o.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:A,body:e,client:t,request:s,socket:o,contentLength:n,header:a,expectsPayload:E}){r(n===e.size,"blob body must have content length");const g=t[cA]==="h2";try{if(n!=null&&n!==e.size){throw new Q}const r=Buffer.from(await e.arrayBuffer());if(g){A.cork();A.write(r);A.uncork()}else{o.cork();o.write(`${a}content-length: ${n}\r\n\r\n`,"latin1");o.write(r);o.uncork()}s.onBodySent(r);s.onRequestSent();if(!E){o[w]=true}resume(t)}catch(e){i.destroy(g?A:o,e)}}async function writeIterable({h2stream:A,body:e,client:t,request:s,socket:o,contentLength:n,header:i,expectsPayload:a}){r(n!==0||t[L]===0,"iterator body cannot be pipelined");let E=null;function onDrain(){if(E){const A=E;E=null;A()}}const waitForDrain=()=>new Promise(((A,e)=>{r(E===null);if(o[P]){e(o[P])}else{E=A}}));if(t[cA]==="h2"){A.on("close",onDrain).on("drain",onDrain);try{for await(const t of e){if(o[P]){throw o[P]}const e=A.write(t);s.onBodySent(t);if(!e){await waitForDrain()}}}catch(e){A.destroy(e)}finally{s.onRequestSent();A.end();A.off("close",onDrain).off("drain",onDrain)}return}o.on("close",onDrain).on("drain",onDrain);const g=new AsyncWriter({socket:o,request:s,contentLength:n,client:t,expectsPayload:a,header:i});try{for await(const A of e){if(o[P]){throw o[P]}if(!g.write(A)){await waitForDrain()}}g.end()}catch(A){g.destroy(A)}finally{o.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:A,request:e,contentLength:t,client:r,expectsPayload:s,header:o}){this.socket=A;this.request=e;this.contentLength=t;this.client=r;this.bytesWritten=0;this.expectsPayload=s;this.header=o;A[T]=true}write(A){const{socket:e,request:t,contentLength:r,client:s,bytesWritten:o,expectsPayload:n,header:i}=this;if(e[P]){throw e[P]}if(e.destroyed){return false}const a=Buffer.byteLength(A);if(!a){return true}if(r!==null&&o+a>r){if(s[eA]){throw new Q}process.emitWarning(new Q)}e.cork();if(o===0){if(!n){e[w]=true}if(r===null){e.write(`${i}transfer-encoding: chunked\r\n`,"latin1")}else{e.write(`${i}content-length: ${r}\r\n\r\n`,"latin1")}}if(r===null){e.write(`\r\n${a.toString(16)}\r\n`,"latin1")}this.bytesWritten+=a;const E=e.write(A);e.uncork();t.onBodySent(A);if(!E){if(e[F].timeout&&e[F].timeoutType===vA){if(e[F].timeout.refresh){e[F].timeout.refresh()}}}return E}end(){const{socket:A,contentLength:e,client:t,bytesWritten:r,expectsPayload:s,header:o,request:n}=this;n.onRequestSent();A[T]=false;if(A[P]){throw A[P]}if(A.destroyed){return}if(r===0){if(s){A.write(`${o}content-length: 0\r\n\r\n`,"latin1")}else{A.write(`${o}\r\n`,"latin1")}}else if(e===null){A.write("\r\n0\r\n\r\n","latin1")}if(e!==null&&r!==e){if(t[eA]){throw new Q}else{process.emitWarning(new Q)}}if(A[F].timeout&&A[F].timeoutType===vA){if(A[F].timeout.refresh){A[F].timeout.refresh()}}resume(t)}destroy(A){const{socket:e,client:t}=this;e[T]=false;if(A){r(t[L]<=1,"pipeline should only contain this request");i.destroy(e,A)}}}function errorRequest(A,e,t){try{e.onError(t);r(e.aborted)}catch(t){A.emit("error",t)}}A.exports=Client},6436:(A,e,t)=>{"use strict";const{kConnected:r,kSize:s}=t(2785);class CompatWeakRef{constructor(A){this.value=A}deref(){return this.value[r]===0&&this.value[s]===0?undefined:this.value}}class CompatFinalizer{constructor(A){this.finalizer=A}register(A,e){if(A.on){A.on("disconnect",(()=>{if(A[r]===0&&A[s]===0){this.finalizer(e)}}))}}}A.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},663:A=>{"use strict";const e=1024;const t=4096;A.exports={maxAttributeValueSize:e,maxNameValuePairSize:t}},1724:(A,e,t)=>{"use strict";const{parseSetCookie:r}=t(4408);const{stringify:s,getHeadersList:o}=t(3121);const{webidl:n}=t(1744);const{Headers:i}=t(554);function getCookies(A){n.argumentLengthCheck(arguments,1,{header:"getCookies"});n.brandCheck(A,i,{strict:false});const e=A.get("cookie");const t={};if(!e){return t}for(const A of e.split(";")){const[e,...r]=A.split("=");t[e.trim()]=r.join("=")}return t}function deleteCookie(A,e,t){n.argumentLengthCheck(arguments,2,{header:"deleteCookie"});n.brandCheck(A,i,{strict:false});e=n.converters.DOMString(e);t=n.converters.DeleteCookieAttributes(t);setCookie(A,{name:e,value:"",expires:new Date(0),...t})}function getSetCookies(A){n.argumentLengthCheck(arguments,1,{header:"getSetCookies"});n.brandCheck(A,i,{strict:false});const e=o(A).cookies;if(!e){return[]}return e.map((A=>r(Array.isArray(A)?A[1]:A)))}function setCookie(A,e){n.argumentLengthCheck(arguments,2,{header:"setCookie"});n.brandCheck(A,i,{strict:false});e=n.converters.Cookie(e);const t=s(e);if(t){A.append("Set-Cookie",s(e))}}n.converters.DeleteCookieAttributes=n.dictionaryConverter([{converter:n.nullableConverter(n.converters.DOMString),key:"path",defaultValue:null},{converter:n.nullableConverter(n.converters.DOMString),key:"domain",defaultValue:null}]);n.converters.Cookie=n.dictionaryConverter([{converter:n.converters.DOMString,key:"name"},{converter:n.converters.DOMString,key:"value"},{converter:n.nullableConverter((A=>{if(typeof A==="number"){return n.converters["unsigned long long"](A)}return new Date(A)})),key:"expires",defaultValue:null},{converter:n.nullableConverter(n.converters["long long"]),key:"maxAge",defaultValue:null},{converter:n.nullableConverter(n.converters.DOMString),key:"domain",defaultValue:null},{converter:n.nullableConverter(n.converters.DOMString),key:"path",defaultValue:null},{converter:n.nullableConverter(n.converters.boolean),key:"secure",defaultValue:null},{converter:n.nullableConverter(n.converters.boolean),key:"httpOnly",defaultValue:null},{converter:n.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:n.sequenceConverter(n.converters.DOMString),key:"unparsed",defaultValue:[]}]);A.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},4408:(A,e,t)=>{"use strict";const{maxNameValuePairSize:r,maxAttributeValueSize:s}=t(663);const{isCTLExcludingHtab:o}=t(3121);const{collectASequenceOfCodePointsFast:n}=t(685);const i=t(9491);function parseSetCookie(A){if(o(A)){return null}let e="";let t="";let s="";let i="";if(A.includes(";")){const r={position:0};e=n(";",A,r);t=A.slice(r.position)}else{e=A}if(!e.includes("=")){i=e}else{const A={position:0};s=n("=",e,A);i=e.slice(A.position+1)}s=s.trim();i=i.trim();if(s.length+i.length>r){return null}return{name:s,value:i,...parseUnparsedAttributes(t)}}function parseUnparsedAttributes(A,e={}){if(A.length===0){return e}i(A[0]===";");A=A.slice(1);let t="";if(A.includes(";")){t=n(";",A,{position:0});A=A.slice(t.length)}else{t=A;A=""}let r="";let o="";if(t.includes("=")){const A={position:0};r=n("=",t,A);o=t.slice(A.position+1)}else{r=t}r=r.trim();o=o.trim();if(o.length>s){return parseUnparsedAttributes(A,e)}const a=r.toLowerCase();if(a==="expires"){const A=new Date(o);e.expires=A}else if(a==="max-age"){const t=o.charCodeAt(0);if((t<48||t>57)&&o[0]!=="-"){return parseUnparsedAttributes(A,e)}if(!/^\d+$/.test(o)){return parseUnparsedAttributes(A,e)}const r=Number(o);e.maxAge=r}else if(a==="domain"){let A=o;if(A[0]==="."){A=A.slice(1)}A=A.toLowerCase();e.domain=A}else if(a==="path"){let A="";if(o.length===0||o[0]!=="/"){A="/"}else{A=o}e.path=A}else if(a==="secure"){e.secure=true}else if(a==="httponly"){e.httpOnly=true}else if(a==="samesite"){let A="Default";const t=o.toLowerCase();if(t.includes("none")){A="None"}if(t.includes("strict")){A="Strict"}if(t.includes("lax")){A="Lax"}e.sameSite=A}else{e.unparsed??=[];e.unparsed.push(`${r}=${o}`)}return parseUnparsedAttributes(A,e)}A.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},3121:(A,e,t)=>{"use strict";const r=t(9491);const{kHeadersList:s}=t(2785);function isCTLExcludingHtab(A){if(A.length===0){return false}for(const e of A){const A=e.charCodeAt(0);if(A>=0||A<=8||(A>=10||A<=31)||A===127){return false}}}function validateCookieName(A){for(const e of A){const A=e.charCodeAt(0);if(A<=32||A>127||e==="("||e===")"||e===">"||e==="<"||e==="@"||e===","||e===";"||e===":"||e==="\\"||e==='"'||e==="/"||e==="["||e==="]"||e==="?"||e==="="||e==="{"||e==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(A){for(const e of A){const A=e.charCodeAt(0);if(A<33||A===34||A===44||A===59||A===92||A>126){throw new Error("Invalid header value")}}}function validateCookiePath(A){for(const e of A){const A=e.charCodeAt(0);if(A<33||e===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(A){if(A.startsWith("-")||A.endsWith(".")||A.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(A){if(typeof A==="number"){A=new Date(A)}const e=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const r=e[A.getUTCDay()];const s=A.getUTCDate().toString().padStart(2,"0");const o=t[A.getUTCMonth()];const n=A.getUTCFullYear();const i=A.getUTCHours().toString().padStart(2,"0");const a=A.getUTCMinutes().toString().padStart(2,"0");const E=A.getUTCSeconds().toString().padStart(2,"0");return`${r}, ${s} ${o} ${n} ${i}:${a}:${E} GMT`}function validateCookieMaxAge(A){if(A<0){throw new Error("Invalid cookie max-age")}}function stringify(A){if(A.name.length===0){return null}validateCookieName(A.name);validateCookieValue(A.value);const e=[`${A.name}=${A.value}`];if(A.name.startsWith("__Secure-")){A.secure=true}if(A.name.startsWith("__Host-")){A.secure=true;A.domain=null;A.path="/"}if(A.secure){e.push("Secure")}if(A.httpOnly){e.push("HttpOnly")}if(typeof A.maxAge==="number"){validateCookieMaxAge(A.maxAge);e.push(`Max-Age=${A.maxAge}`)}if(A.domain){validateCookieDomain(A.domain);e.push(`Domain=${A.domain}`)}if(A.path){validateCookiePath(A.path);e.push(`Path=${A.path}`)}if(A.expires&&A.expires.toString()!=="Invalid Date"){e.push(`Expires=${toIMFDate(A.expires)}`)}if(A.sameSite){e.push(`SameSite=${A.sameSite}`)}for(const t of A.unparsed){if(!t.includes("=")){throw new Error("Invalid unparsed")}const[A,...r]=t.split("=");e.push(`${A.trim()}=${r.join("=")}`)}return e.join("; ")}let o;function getHeadersList(A){if(A[s]){return A[s]}if(!o){o=Object.getOwnPropertySymbols(A).find((A=>A.description==="headers list"));r(o,"Headers cannot be parsed")}const e=A[o];r(e);return e}A.exports={isCTLExcludingHtab:isCTLExcludingHtab,stringify:stringify,getHeadersList:getHeadersList}},2067:(A,e,t)=>{"use strict";const r=t(1808);const s=t(9491);const o=t(3983);const{InvalidArgumentError:n,ConnectTimeoutError:i}=t(8045);let a;let E;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){E=class WeakSessionCache{constructor(A){this._maxCachedSessions=A;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((A=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:A}=this._sessionCache.keys().next();this._sessionCache.delete(A)}this._sessionCache.set(A,e)}}}function buildConnector({allowH2:A,maxCachedSessions:e,socketPath:i,timeout:g,...Q}){if(e!=null&&(!Number.isInteger(e)||e<0)){throw new n("maxCachedSessions must be a positive integer or zero")}const c={path:i,...Q};const C=new E(e==null?100:e);g=g==null?1e4:g;A=A!=null?A:false;return function connect({hostname:e,host:n,protocol:i,port:E,servername:Q,localAddress:B,httpSocket:I},h){let l;if(i==="https:"){if(!a){a=t(4404)}Q=Q||c.servername||o.getServerName(n)||null;const r=Q||e;const i=C.get(r)||null;s(r);l=a.connect({highWaterMark:16384,...c,servername:Q,session:i,localAddress:B,ALPNProtocols:A?["http/1.1","h2"]:["http/1.1"],socket:I,port:E||443,host:e});l.on("session",(function(A){C.set(r,A)}))}else{s(!I,"httpSocket can only be sent on TLS update");l=r.connect({highWaterMark:64*1024,...c,localAddress:B,port:E||80,host:e})}if(c.keepAlive==null||c.keepAlive){const A=c.keepAliveInitialDelay===undefined?6e4:c.keepAliveInitialDelay;l.setKeepAlive(true,A)}const u=setupTimeout((()=>onConnectTimeout(l)),g);l.setNoDelay(true).once(i==="https:"?"secureConnect":"connect",(function(){u();if(h){const A=h;h=null;A(null,this)}})).on("error",(function(A){u();if(h){const e=h;h=null;e(A)}}));return l}}function setupTimeout(A,e){if(!e){return()=>{}}let t=null;let r=null;const s=setTimeout((()=>{t=setImmediate((()=>{if(process.platform==="win32"){r=setImmediate((()=>A()))}else{A()}}))}),e);return()=>{clearTimeout(s);clearImmediate(t);clearImmediate(r)}}function onConnectTimeout(A){o.destroy(A,new i)}A.exports=buildConnector},4462:A=>{"use strict";const e={};const t=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let A=0;A{"use strict";class UndiciError extends Error{constructor(A){super(A);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=A||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=A||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=A||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=A||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(A,e,t,r){super(A);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=A||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=r;this.status=e;this.statusCode=e;this.headers=t}}class InvalidArgumentError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=A||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=A||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=A||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=A||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=A||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=A||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=A||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=A||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(A,e){super(A);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=A||"Socket error";this.code="UND_ERR_SOCKET";this.socket=e}}class NotSupportedError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=A||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=A||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(A,e,t){super(A);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=e?`HPE_${e}`:undefined;this.data=t?t.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(A){super(A);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=A||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(A,e,{headers:t,data:r}){super(A);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=A||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=e;this.data=r;this.headers=t}}A.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},2905:(A,e,t)=>{"use strict";const{InvalidArgumentError:r,NotSupportedError:s}=t(8045);const o=t(9491);const{kHTTP2BuildRequest:n,kHTTP2CopyHeaders:i,kHTTP1BuildRequest:a}=t(2785);const E=t(3983);const g=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const Q=/[^\t\x20-\x7e\x80-\xff]/;const c=/[^\u0021-\u00ff]/;const C=Symbol("handler");const B={};let I;try{const A=t(7643);B.create=A.channel("undici:request:create");B.bodySent=A.channel("undici:request:bodySent");B.headers=A.channel("undici:request:headers");B.trailers=A.channel("undici:request:trailers");B.error=A.channel("undici:request:error")}catch{B.create={hasSubscribers:false};B.bodySent={hasSubscribers:false};B.headers={hasSubscribers:false};B.trailers={hasSubscribers:false};B.error={hasSubscribers:false}}class Request{constructor(A,{path:e,method:s,body:o,headers:n,query:i,idempotent:a,blocking:Q,upgrade:h,headersTimeout:l,bodyTimeout:u,reset:d,throwOnError:f,expectContinue:p},y){if(typeof e!=="string"){throw new r("path must be a string")}else if(e[0]!=="/"&&!(e.startsWith("http://")||e.startsWith("https://"))&&s!=="CONNECT"){throw new r("path must be an absolute URL or start with a slash")}else if(c.exec(e)!==null){throw new r("invalid request path")}if(typeof s!=="string"){throw new r("method must be a string")}else if(g.exec(s)===null){throw new r("invalid request method")}if(h&&typeof h!=="string"){throw new r("upgrade must be a string")}if(l!=null&&(!Number.isFinite(l)||l<0)){throw new r("invalid headersTimeout")}if(u!=null&&(!Number.isFinite(u)||u<0)){throw new r("invalid bodyTimeout")}if(d!=null&&typeof d!=="boolean"){throw new r("invalid reset")}if(p!=null&&typeof p!=="boolean"){throw new r("invalid expectContinue")}this.headersTimeout=l;this.bodyTimeout=u;this.throwOnError=f===true;this.method=s;this.abort=null;if(o==null){this.body=null}else if(E.isStream(o)){this.body=o;const A=this.body._readableState;if(!A||!A.autoDestroy){this.endHandler=function autoDestroy(){E.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=A=>{if(this.abort){this.abort(A)}else{this.error=A}};this.body.on("error",this.errorHandler)}else if(E.isBuffer(o)){this.body=o.byteLength?o:null}else if(ArrayBuffer.isView(o)){this.body=o.buffer.byteLength?Buffer.from(o.buffer,o.byteOffset,o.byteLength):null}else if(o instanceof ArrayBuffer){this.body=o.byteLength?Buffer.from(o):null}else if(typeof o==="string"){this.body=o.length?Buffer.from(o):null}else if(E.isFormDataLike(o)||E.isIterable(o)||E.isBlobLike(o)){this.body=o}else{throw new r("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=h||null;this.path=i?E.buildURL(e,i):e;this.origin=A;this.idempotent=a==null?s==="HEAD"||s==="GET":a;this.blocking=Q==null?false:Q;this.reset=d==null?null:d;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=p!=null?p:false;if(Array.isArray(n)){if(n.length%2!==0){throw new r("headers array must be even")}for(let A=0;A{A.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},3983:(A,e,t)=>{"use strict";const r=t(9491);const{kDestroyed:s,kBodyUsed:o}=t(2785);const{IncomingMessage:n}=t(3685);const i=t(2781);const a=t(1808);const{InvalidArgumentError:E}=t(8045);const{Blob:g}=t(4300);const Q=t(3837);const{stringify:c}=t(3477);const{headerNameLowerCasedRecord:C}=t(4462);const[B,I]=process.versions.node.split(".").map((A=>Number(A)));function nop(){}function isStream(A){return A&&typeof A==="object"&&typeof A.pipe==="function"&&typeof A.on==="function"}function isBlobLike(A){return g&&A instanceof g||A&&typeof A==="object"&&(typeof A.stream==="function"||typeof A.arrayBuffer==="function")&&/^(Blob|File)$/.test(A[Symbol.toStringTag])}function buildURL(A,e){if(A.includes("?")||A.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const t=c(e);if(t){A+="?"+t}return A}function parseURL(A){if(typeof A==="string"){A=new URL(A);if(!/^https?:/.test(A.origin||A.protocol)){throw new E("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return A}if(!A||typeof A!=="object"){throw new E("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(A.origin||A.protocol)){throw new E("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(A instanceof URL)){if(A.port!=null&&A.port!==""&&!Number.isFinite(parseInt(A.port))){throw new E("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(A.path!=null&&typeof A.path!=="string"){throw new E("Invalid URL path: the path must be a string or null/undefined.")}if(A.pathname!=null&&typeof A.pathname!=="string"){throw new E("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(A.hostname!=null&&typeof A.hostname!=="string"){throw new E("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(A.origin!=null&&typeof A.origin!=="string"){throw new E("Invalid URL origin: the origin must be a string or null/undefined.")}const e=A.port!=null?A.port:A.protocol==="https:"?443:80;let t=A.origin!=null?A.origin:`${A.protocol}//${A.hostname}:${e}`;let r=A.path!=null?A.path:`${A.pathname||""}${A.search||""}`;if(t.endsWith("/")){t=t.substring(0,t.length-1)}if(r&&!r.startsWith("/")){r=`/${r}`}A=new URL(t+r)}return A}function parseOrigin(A){A=parseURL(A);if(A.pathname!=="/"||A.search||A.hash){throw new E("invalid url")}return A}function getHostname(A){if(A[0]==="["){const e=A.indexOf("]");r(e!==-1);return A.substring(1,e)}const e=A.indexOf(":");if(e===-1)return A;return A.substring(0,e)}function getServerName(A){if(!A){return null}r.strictEqual(typeof A,"string");const e=getHostname(A);if(a.isIP(e)){return""}return e}function deepClone(A){return JSON.parse(JSON.stringify(A))}function isAsyncIterable(A){return!!(A!=null&&typeof A[Symbol.asyncIterator]==="function")}function isIterable(A){return!!(A!=null&&(typeof A[Symbol.iterator]==="function"||typeof A[Symbol.asyncIterator]==="function"))}function bodyLength(A){if(A==null){return 0}else if(isStream(A)){const e=A._readableState;return e&&e.objectMode===false&&e.ended===true&&Number.isFinite(e.length)?e.length:null}else if(isBlobLike(A)){return A.size!=null?A.size:null}else if(isBuffer(A)){return A.byteLength}return null}function isDestroyed(A){return!A||!!(A.destroyed||A[s])}function isReadableAborted(A){const e=A&&A._readableState;return isDestroyed(A)&&e&&!e.endEmitted}function destroy(A,e){if(A==null||!isStream(A)||isDestroyed(A)){return}if(typeof A.destroy==="function"){if(Object.getPrototypeOf(A).constructor===n){A.socket=null}A.destroy(e)}else if(e){process.nextTick(((A,e)=>{A.emit("error",e)}),A,e)}if(A.destroyed!==true){A[s]=true}}const h=/timeout=(\d+)/;function parseKeepAliveTimeout(A){const e=A.toString().match(h);return e?parseInt(e[1],10)*1e3:null}function headerNameToString(A){return C[A]||A.toLowerCase()}function parseHeaders(A,e={}){if(!Array.isArray(A))return A;for(let t=0;tA.toString("utf8")))}else{e[r]=A[t+1].toString("utf8")}}else{if(!Array.isArray(s)){s=[s];e[r]=s}s.push(A[t+1].toString("utf8"))}}if("content-length"in e&&"content-disposition"in e){e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")}return e}function parseRawHeaders(A){const e=[];let t=false;let r=-1;for(let s=0;s{A.close()}))}else{const e=Buffer.isBuffer(r)?r:Buffer.from(r);A.enqueue(new Uint8Array(e))}return A.desiredSize>0},async cancel(A){await e.return()}},0)}function isFormDataLike(A){return A&&typeof A==="object"&&typeof A.append==="function"&&typeof A.delete==="function"&&typeof A.get==="function"&&typeof A.getAll==="function"&&typeof A.has==="function"&&typeof A.set==="function"&&A[Symbol.toStringTag]==="FormData"}function throwIfAborted(A){if(!A){return}if(typeof A.throwIfAborted==="function"){A.throwIfAborted()}else{if(A.aborted){const A=new Error("The operation was aborted");A.name="AbortError";throw A}}}function addAbortListener(A,e){if("addEventListener"in A){A.addEventListener("abort",e,{once:true});return()=>A.removeEventListener("abort",e)}A.addListener("abort",e);return()=>A.removeListener("abort",e)}const u=!!String.prototype.toWellFormed;function toUSVString(A){if(u){return`${A}`.toWellFormed()}else if(Q.toUSVString){return Q.toUSVString(A)}return`${A}`}function parseRangeHeader(A){if(A==null||A==="")return{start:0,end:null,size:null};const e=A?A.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return e?{start:parseInt(e[1]),end:e[2]?parseInt(e[2]):null,size:e[3]?parseInt(e[3]):null}:null}const d=Object.create(null);d.enumerable=true;A.exports={kEnumerableProperty:d,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:B,nodeMinor:I,nodeHasAutoSelectFamily:B>18||B===18&&I>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},4839:(A,e,t)=>{"use strict";const r=t(412);const{ClientDestroyedError:s,ClientClosedError:o,InvalidArgumentError:n}=t(8045);const{kDestroy:i,kClose:a,kDispatch:E,kInterceptors:g}=t(2785);const Q=Symbol("destroyed");const c=Symbol("closed");const C=Symbol("onDestroyed");const B=Symbol("onClosed");const I=Symbol("Intercepted Dispatch");class DispatcherBase extends r{constructor(){super();this[Q]=false;this[C]=null;this[c]=false;this[B]=[]}get destroyed(){return this[Q]}get closed(){return this[c]}get interceptors(){return this[g]}set interceptors(A){if(A){for(let e=A.length-1;e>=0;e--){const A=this[g][e];if(typeof A!=="function"){throw new n("interceptor must be an function")}}}this[g]=A}close(A){if(A===undefined){return new Promise(((A,e)=>{this.close(((t,r)=>t?e(t):A(r)))}))}if(typeof A!=="function"){throw new n("invalid callback")}if(this[Q]){queueMicrotask((()=>A(new s,null)));return}if(this[c]){if(this[B]){this[B].push(A)}else{queueMicrotask((()=>A(null,null)))}return}this[c]=true;this[B].push(A);const onClosed=()=>{const A=this[B];this[B]=null;for(let e=0;ethis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(A,e){if(typeof A==="function"){e=A;A=null}if(e===undefined){return new Promise(((e,t)=>{this.destroy(A,((A,r)=>A?t(A):e(r)))}))}if(typeof e!=="function"){throw new n("invalid callback")}if(this[Q]){if(this[C]){this[C].push(e)}else{queueMicrotask((()=>e(null,null)))}return}if(!A){A=new s}this[Q]=true;this[C]=this[C]||[];this[C].push(e);const onDestroyed=()=>{const A=this[C];this[C]=null;for(let e=0;e{queueMicrotask(onDestroyed)}))}[I](A,e){if(!this[g]||this[g].length===0){this[I]=this[E];return this[E](A,e)}let t=this[E].bind(this);for(let A=this[g].length-1;A>=0;A--){t=this[g][A](t)}this[I]=t;return t(A,e)}dispatch(A,e){if(!e||typeof e!=="object"){throw new n("handler must be an object")}try{if(!A||typeof A!=="object"){throw new n("opts must be an object.")}if(this[Q]||this[C]){throw new s}if(this[c]){throw new o}return this[I](A,e)}catch(A){if(typeof e.onError!=="function"){throw new n("invalid onError method")}e.onError(A);return false}}}A.exports=DispatcherBase},412:(A,e,t)=>{"use strict";const r=t(2361);class Dispatcher extends r{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}A.exports=Dispatcher},9990:(A,e,t)=>{"use strict";const r=t(727);const s=t(3983);const{ReadableStreamFrom:o,isBlobLike:n,isReadableStreamLike:i,readableStreamClose:a,createDeferredPromise:E,fullyReadBody:g}=t(2538);const{FormData:Q}=t(2015);const{kState:c}=t(5861);const{webidl:C}=t(1744);const{DOMException:B,structuredClone:I}=t(1037);const{Blob:h,File:l}=t(4300);const{kBodyUsed:u}=t(2785);const d=t(9491);const{isErrored:f}=t(3983);const{isUint8Array:p,isArrayBuffer:y}=t(9830);const{File:R}=t(8511);const{parseMIMEType:D,serializeAMimeType:w}=t(685);let k=globalThis.ReadableStream;const m=l??R;const b=new TextEncoder;const F=new TextDecoder;function extractBody(A,e=false){if(!k){k=t(5356).ReadableStream}let r=null;if(A instanceof k){r=A}else if(n(A)){r=A.stream()}else{r=new k({async pull(A){A.enqueue(typeof g==="string"?b.encode(g):g);queueMicrotask((()=>a(A)))},start(){},type:undefined})}d(i(r));let E=null;let g=null;let Q=null;let c=null;if(typeof A==="string"){g=A;c="text/plain;charset=UTF-8"}else if(A instanceof URLSearchParams){g=A.toString();c="application/x-www-form-urlencoded;charset=UTF-8"}else if(y(A)){g=new Uint8Array(A.slice())}else if(ArrayBuffer.isView(A)){g=new Uint8Array(A.buffer.slice(A.byteOffset,A.byteOffset+A.byteLength))}else if(s.isFormDataLike(A)){const e=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`;const t=`--${e}\r\nContent-Disposition: form-data` +/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=A=>A.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=A=>A.replace(/\r?\n|\r/g,"\r\n");const r=[];const s=new Uint8Array([13,10]);Q=0;let o=false;for(const[e,n]of A){if(typeof n==="string"){const A=b.encode(t+`; name="${escape(normalizeLinefeeds(e))}"`+`\r\n\r\n${normalizeLinefeeds(n)}\r\n`);r.push(A);Q+=A.byteLength}else{const A=b.encode(`${t}; name="${escape(normalizeLinefeeds(e))}"`+(n.name?`; filename="${escape(n.name)}"`:"")+"\r\n"+`Content-Type: ${n.type||"application/octet-stream"}\r\n\r\n`);r.push(A,n,s);if(typeof n.size==="number"){Q+=A.byteLength+n.size+s.byteLength}else{o=true}}}const n=b.encode(`--${e}--`);r.push(n);Q+=n.byteLength;if(o){Q=null}g=A;E=async function*(){for(const A of r){if(A.stream){yield*A.stream()}else{yield A}}};c="multipart/form-data; boundary="+e}else if(n(A)){g=A;Q=A.size;if(A.type){c=A.type}}else if(typeof A[Symbol.asyncIterator]==="function"){if(e){throw new TypeError("keepalive")}if(s.isDisturbed(A)||A.locked){throw new TypeError("Response body object should not be disturbed or locked")}r=A instanceof k?A:o(A)}if(typeof g==="string"||s.isBuffer(g)){Q=Buffer.byteLength(g)}if(E!=null){let e;r=new k({async start(){e=E(A)[Symbol.asyncIterator]()},async pull(A){const{value:t,done:s}=await e.next();if(s){queueMicrotask((()=>{A.close()}))}else{if(!f(r)){A.enqueue(new Uint8Array(t))}}return A.desiredSize>0},async cancel(A){await e.return()},type:undefined})}const C={stream:r,source:g,length:Q};return[C,c]}function safelyExtractBody(A,e=false){if(!k){k=t(5356).ReadableStream}if(A instanceof k){d(!s.isDisturbed(A),"The body has already been consumed.");d(!A.locked,"The stream is locked.")}return extractBody(A,e)}function cloneBody(A){const[e,t]=A.stream.tee();const r=I(t,{transfer:[t]});const[,s]=r.tee();A.stream=e;return{stream:s,length:A.length,source:A.source}}async function*consumeBody(A){if(A){if(p(A)){yield A}else{const e=A.stream;if(s.isDisturbed(e)){throw new TypeError("The body has already been consumed.")}if(e.locked){throw new TypeError("The stream is locked.")}e[u]=true;yield*e}}}function throwIfAborted(A){if(A.aborted){throw new B("The operation was aborted.","AbortError")}}function bodyMixinMethods(A){const e={blob(){return specConsumeBody(this,(A=>{let e=bodyMimeType(this);if(e==="failure"){e=""}else if(e){e=w(e)}return new h([A],{type:e})}),A)},arrayBuffer(){return specConsumeBody(this,(A=>new Uint8Array(A).buffer),A)},text(){return specConsumeBody(this,utf8DecodeBytes,A)},json(){return specConsumeBody(this,parseJSONFromBytes,A)},async formData(){C.brandCheck(this,A);throwIfAborted(this[c]);const e=this.headers.get("Content-Type");if(/multipart\/form-data/.test(e)){const A={};for(const[e,t]of this.headers)A[e.toLowerCase()]=t;const e=new Q;let t;try{t=new r({headers:A,preservePath:true})}catch(A){throw new B(`${A}`,"AbortError")}t.on("field",((A,t)=>{e.append(A,t)}));t.on("file",((A,t,r,s,o)=>{const n=[];if(s==="base64"||s.toLowerCase()==="base64"){let s="";t.on("data",(A=>{s+=A.toString().replace(/[\r\n]/gm,"");const e=s.length-s.length%4;n.push(Buffer.from(s.slice(0,e),"base64"));s=s.slice(e)}));t.on("end",(()=>{n.push(Buffer.from(s,"base64"));e.append(A,new m(n,r,{type:o}))}))}else{t.on("data",(A=>{n.push(A)}));t.on("end",(()=>{e.append(A,new m(n,r,{type:o}))}))}}));const s=new Promise(((A,e)=>{t.on("finish",A);t.on("error",(A=>e(new TypeError(A))))}));if(this.body!==null)for await(const A of consumeBody(this[c].body))t.write(A);t.end();await s;return e}else if(/application\/x-www-form-urlencoded/.test(e)){let A;try{let e="";const t=new TextDecoder("utf-8",{ignoreBOM:true});for await(const A of consumeBody(this[c].body)){if(!p(A)){throw new TypeError("Expected Uint8Array chunk")}e+=t.decode(A,{stream:true})}e+=t.decode();A=new URLSearchParams(e)}catch(A){throw Object.assign(new TypeError,{cause:A})}const e=new Q;for(const[t,r]of A){e.append(t,r)}return e}else{await Promise.resolve();throwIfAborted(this[c]);throw C.errors.exception({header:`${A.name}.formData`,message:"Could not parse content as FormData."})}}};return e}function mixinBody(A){Object.assign(A.prototype,bodyMixinMethods(A))}async function specConsumeBody(A,e,t){C.brandCheck(A,t);throwIfAborted(A[c]);if(bodyUnusable(A[c].body)){throw new TypeError("Body is unusable")}const r=E();const errorSteps=A=>r.reject(A);const successSteps=A=>{try{r.resolve(e(A))}catch(A){errorSteps(A)}};if(A[c].body==null){successSteps(new Uint8Array);return r.promise}await g(A[c].body,successSteps,errorSteps);return r.promise}function bodyUnusable(A){return A!=null&&(A.stream.locked||s.isDisturbed(A.stream))}function utf8DecodeBytes(A){if(A.length===0){return""}if(A[0]===239&&A[1]===187&&A[2]===191){A=A.subarray(3)}const e=F.decode(A);return e}function parseJSONFromBytes(A){return JSON.parse(utf8DecodeBytes(A))}function bodyMimeType(A){const{headersList:e}=A[c];const t=e.get("content-type");if(t===null){return"failure"}return D(t)}A.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},1037:(A,e,t)=>{"use strict";const{MessageChannel:r,receiveMessageOnPort:s}=t(1267);const o=["GET","HEAD","POST"];const n=new Set(o);const i=[101,204,205,304];const a=[301,302,303,307,308];const E=new Set(a);const g=["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 Q=new Set(g);const c=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const C=new Set(c);const B=["follow","manual","error"];const I=["GET","HEAD","OPTIONS","TRACE"];const h=new Set(I);const l=["navigate","same-origin","no-cors","cors"];const u=["omit","same-origin","include"];const d=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const f=["content-encoding","content-language","content-location","content-type","content-length"];const p=["half"];const y=["CONNECT","TRACE","TRACK"];const R=new Set(y);const D=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const w=new Set(D);const k=globalThis.DOMException??(()=>{try{atob("~")}catch(A){return Object.getPrototypeOf(A).constructor}})();let m;const b=globalThis.structuredClone??function structuredClone(A,e=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!m){m=new r}m.port1.unref();m.port2.unref();m.port1.postMessage(A,e?.transfer);return s(m.port2).message};A.exports={DOMException:k,structuredClone:b,subresource:D,forbiddenMethods:y,requestBodyHeader:f,referrerPolicy:c,requestRedirect:B,requestMode:l,requestCredentials:u,requestCache:d,redirectStatus:a,corsSafeListedMethods:o,nullBodyStatus:i,safeMethods:I,badPorts:g,requestDuplex:p,subresourceSet:w,badPortsSet:Q,redirectStatusSet:E,corsSafeListedMethodsSet:n,safeMethodsSet:h,forbiddenMethodsSet:R,referrerPolicySet:C}},685:(A,e,t)=>{const r=t(9491);const{atob:s}=t(4300);const{isomorphicDecode:o}=t(2538);const n=new TextEncoder;const i=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const a=/(\u000A|\u000D|\u0009|\u0020)/;const E=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(A){r(A.protocol==="data:");let e=URLSerializer(A,true);e=e.slice(5);const t={position:0};let s=collectASequenceOfCodePointsFast(",",e,t);const n=s.length;s=removeASCIIWhitespace(s,true,true);if(t.position>=e.length){return"failure"}t.position++;const i=e.slice(n+1);let a=stringPercentDecode(i);if(/;(\u0020){0,}base64$/i.test(s)){const A=o(a);a=forgivingBase64(A);if(a==="failure"){return"failure"}s=s.slice(0,-6);s=s.replace(/(\u0020)+$/,"");s=s.slice(0,-1)}if(s.startsWith(";")){s="text/plain"+s}let E=parseMIMEType(s);if(E==="failure"){E=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:E,body:a}}function URLSerializer(A,e=false){if(!e){return A.href}const t=A.href;const r=A.hash.length;return r===0?t:t.substring(0,t.length-r)}function collectASequenceOfCodePoints(A,e,t){let r="";while(t.positionA.length){return"failure"}e.position++;let r=collectASequenceOfCodePointsFast(";",A,e);r=removeHTTPWhitespace(r,false,true);if(r.length===0||!i.test(r)){return"failure"}const s=t.toLowerCase();const o=r.toLowerCase();const n={type:s,subtype:o,parameters:new Map,essence:`${s}/${o}`};while(e.positiona.test(A)),A,e);let t=collectASequenceOfCodePoints((A=>A!==";"&&A!=="="),A,e);t=t.toLowerCase();if(e.positionA.length){break}let r=null;if(A[e.position]==='"'){r=collectAnHTTPQuotedString(A,e,true);collectASequenceOfCodePointsFast(";",A,e)}else{r=collectASequenceOfCodePointsFast(";",A,e);r=removeHTTPWhitespace(r,false,true);if(r.length===0){continue}}if(t.length!==0&&i.test(t)&&(r.length===0||E.test(r))&&!n.parameters.has(t)){n.parameters.set(t,r)}}return n}function forgivingBase64(A){A=A.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(A.length%4===0){A=A.replace(/=?=$/,"")}if(A.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(A)){return"failure"}const e=s(A);const t=new Uint8Array(e.length);for(let A=0;AA!=='"'&&A!=="\\"),A,e);if(e.position>=A.length){break}const t=A[e.position];e.position++;if(t==="\\"){if(e.position>=A.length){o+="\\";break}o+=A[e.position];e.position++}else{r(t==='"');break}}if(t){return o}return A.slice(s,e.position)}function serializeAMimeType(A){r(A!=="failure");const{parameters:e,essence:t}=A;let s=t;for(let[A,t]of e.entries()){s+=";";s+=A;s+="=";if(!i.test(t)){t=t.replace(/(\\|")/g,"\\$1");t='"'+t;t+='"'}s+=t}return s}function isHTTPWhiteSpace(A){return A==="\r"||A==="\n"||A==="\t"||A===" "}function removeHTTPWhitespace(A,e=true,t=true){let r=0;let s=A.length-1;if(e){for(;r0&&isHTTPWhiteSpace(A[s]);s--);}return A.slice(r,s+1)}function isASCIIWhitespace(A){return A==="\r"||A==="\n"||A==="\t"||A==="\f"||A===" "}function removeASCIIWhitespace(A,e=true,t=true){let r=0;let s=A.length-1;if(e){for(;r0&&isASCIIWhitespace(A[s]);s--);}return A.slice(r,s+1)}A.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},8511:(A,e,t)=>{"use strict";const{Blob:r,File:s}=t(4300);const{types:o}=t(3837);const{kState:n}=t(5861);const{isBlobLike:i}=t(2538);const{webidl:a}=t(1744);const{parseMIMEType:E,serializeAMimeType:g}=t(685);const{kEnumerableProperty:Q}=t(3983);const c=new TextEncoder;class File extends r{constructor(A,e,t={}){a.argumentLengthCheck(arguments,2,{header:"File constructor"});A=a.converters["sequence"](A);e=a.converters.USVString(e);t=a.converters.FilePropertyBag(t);const r=e;let s=t.type;let o;A:{if(s){s=E(s);if(s==="failure"){s="";break A}s=g(s).toLowerCase()}o=t.lastModified}super(processBlobParts(A,t),{type:s});this[n]={name:r,lastModified:o,type:s}}get name(){a.brandCheck(this,File);return this[n].name}get lastModified(){a.brandCheck(this,File);return this[n].lastModified}get type(){a.brandCheck(this,File);return this[n].type}}class FileLike{constructor(A,e,t={}){const r=e;const s=t.type;const o=t.lastModified??Date.now();this[n]={blobLike:A,name:r,type:s,lastModified:o}}stream(...A){a.brandCheck(this,FileLike);return this[n].blobLike.stream(...A)}arrayBuffer(...A){a.brandCheck(this,FileLike);return this[n].blobLike.arrayBuffer(...A)}slice(...A){a.brandCheck(this,FileLike);return this[n].blobLike.slice(...A)}text(...A){a.brandCheck(this,FileLike);return this[n].blobLike.text(...A)}get size(){a.brandCheck(this,FileLike);return this[n].blobLike.size}get type(){a.brandCheck(this,FileLike);return this[n].blobLike.type}get name(){a.brandCheck(this,FileLike);return this[n].name}get lastModified(){a.brandCheck(this,FileLike);return this[n].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:Q,lastModified:Q});a.converters.Blob=a.interfaceConverter(r);a.converters.BlobPart=function(A,e){if(a.util.Type(A)==="Object"){if(i(A)){return a.converters.Blob(A,{strict:false})}if(ArrayBuffer.isView(A)||o.isAnyArrayBuffer(A)){return a.converters.BufferSource(A,e)}}return a.converters.USVString(A,e)};a.converters["sequence"]=a.sequenceConverter(a.converters.BlobPart);a.converters.FilePropertyBag=a.dictionaryConverter([{key:"lastModified",converter:a.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:a.converters.DOMString,defaultValue:""},{key:"endings",converter:A=>{A=a.converters.DOMString(A);A=A.toLowerCase();if(A!=="native"){A="transparent"}return A},defaultValue:"transparent"}]);function processBlobParts(A,e){const t=[];for(const r of A){if(typeof r==="string"){let A=r;if(e.endings==="native"){A=convertLineEndingsNative(A)}t.push(c.encode(A))}else if(o.isAnyArrayBuffer(r)||o.isTypedArray(r)){if(!r.buffer){t.push(new Uint8Array(r))}else{t.push(new Uint8Array(r.buffer,r.byteOffset,r.byteLength))}}else if(i(r)){t.push(r)}}return t}function convertLineEndingsNative(A){let e="\n";if(process.platform==="win32"){e="\r\n"}return A.replace(/\r?\n/g,e)}function isFileLike(A){return s&&A instanceof s||A instanceof File||A&&(typeof A.stream==="function"||typeof A.arrayBuffer==="function")&&A[Symbol.toStringTag]==="File"}A.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},2015:(A,e,t)=>{"use strict";const{isBlobLike:r,toUSVString:s,makeIterator:o}=t(2538);const{kState:n}=t(5861);const{File:i,FileLike:a,isFileLike:E}=t(8511);const{webidl:g}=t(1744);const{Blob:Q,File:c}=t(4300);const C=c??i;class FormData{constructor(A){if(A!==undefined){throw g.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[n]=[]}append(A,e,t=undefined){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!r(e)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}A=g.converters.USVString(A);e=r(e)?g.converters.Blob(e,{strict:false}):g.converters.USVString(e);t=arguments.length===3?g.converters.USVString(t):undefined;const s=makeEntry(A,e,t);this[n].push(s)}delete(A){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,1,{header:"FormData.delete"});A=g.converters.USVString(A);this[n]=this[n].filter((e=>e.name!==A))}get(A){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,1,{header:"FormData.get"});A=g.converters.USVString(A);const e=this[n].findIndex((e=>e.name===A));if(e===-1){return null}return this[n][e].value}getAll(A){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});A=g.converters.USVString(A);return this[n].filter((e=>e.name===A)).map((A=>A.value))}has(A){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,1,{header:"FormData.has"});A=g.converters.USVString(A);return this[n].findIndex((e=>e.name===A))!==-1}set(A,e,t=undefined){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!r(e)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}A=g.converters.USVString(A);e=r(e)?g.converters.Blob(e,{strict:false}):g.converters.USVString(e);t=arguments.length===3?s(t):undefined;const o=makeEntry(A,e,t);const i=this[n].findIndex((e=>e.name===A));if(i!==-1){this[n]=[...this[n].slice(0,i),o,...this[n].slice(i+1).filter((e=>e.name!==A))]}else{this[n].push(o)}}entries(){g.brandCheck(this,FormData);return o((()=>this[n].map((A=>[A.name,A.value]))),"FormData","key+value")}keys(){g.brandCheck(this,FormData);return o((()=>this[n].map((A=>[A.name,A.value]))),"FormData","key")}values(){g.brandCheck(this,FormData);return o((()=>this[n].map((A=>[A.name,A.value]))),"FormData","value")}forEach(A,e=globalThis){g.brandCheck(this,FormData);g.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof A!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[t,r]of this){A.apply(e,[r,t,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(A,e,t){A=Buffer.from(A).toString("utf8");if(typeof e==="string"){e=Buffer.from(e).toString("utf8")}else{if(!E(e)){e=e instanceof Q?new C([e],"blob",{type:e.type}):new a(e,"blob",{type:e.type})}if(t!==undefined){const A={type:e.type,lastModified:e.lastModified};e=c&&e instanceof c||e instanceof i?new C([e],t,A):new a(e,t,A)}}return{name:A,value:e}}A.exports={FormData:FormData}},1246:A=>{"use strict";const e=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[e]}function setGlobalOrigin(A){if(A===undefined){Object.defineProperty(globalThis,e,{value:undefined,writable:true,enumerable:false,configurable:false});return}const t=new URL(A);if(t.protocol!=="http:"&&t.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${t.protocol}`)}Object.defineProperty(globalThis,e,{value:t,writable:true,enumerable:false,configurable:false})}A.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},554:(A,e,t)=>{"use strict";const{kHeadersList:r,kConstruct:s}=t(2785);const{kGuard:o}=t(5861);const{kEnumerableProperty:n}=t(3983);const{makeIterator:i,isValidHeaderName:a,isValidHeaderValue:E}=t(2538);const{webidl:g}=t(1744);const Q=t(9491);const c=Symbol("headers map");const C=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(A){return A===10||A===13||A===9||A===32}function headerValueNormalize(A){let e=0;let t=A.length;while(t>e&&isHTTPWhiteSpaceCharCode(A.charCodeAt(t-1)))--t;while(t>e&&isHTTPWhiteSpaceCharCode(A.charCodeAt(e)))++e;return e===0&&t===A.length?A:A.substring(e,t)}function fill(A,e){if(Array.isArray(e)){for(let t=0;t>","record"]})}}function appendHeader(A,e,t){t=headerValueNormalize(t);if(!a(e)){throw g.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"})}else if(!E(t)){throw g.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header value"})}if(A[o]==="immutable"){throw new TypeError("immutable")}else if(A[o]==="request-no-cors"){}return A[r].append(e,t)}class HeadersList{cookies=null;constructor(A){if(A instanceof HeadersList){this[c]=new Map(A[c]);this[C]=A[C];this.cookies=A.cookies===null?null:[...A.cookies]}else{this[c]=new Map(A);this[C]=null}}contains(A){A=A.toLowerCase();return this[c].has(A)}clear(){this[c].clear();this[C]=null;this.cookies=null}append(A,e){this[C]=null;const t=A.toLowerCase();const r=this[c].get(t);if(r){const A=t==="cookie"?"; ":", ";this[c].set(t,{name:r.name,value:`${r.value}${A}${e}`})}else{this[c].set(t,{name:A,value:e})}if(t==="set-cookie"){this.cookies??=[];this.cookies.push(e)}}set(A,e){this[C]=null;const t=A.toLowerCase();if(t==="set-cookie"){this.cookies=[e]}this[c].set(t,{name:A,value:e})}delete(A){this[C]=null;A=A.toLowerCase();if(A==="set-cookie"){this.cookies=null}this[c].delete(A)}get(A){const e=this[c].get(A.toLowerCase());return e===undefined?null:e.value}*[Symbol.iterator](){for(const[A,{value:e}]of this[c]){yield[A,e]}}get entries(){const A={};if(this[c].size){for(const{name:e,value:t}of this[c].values()){A[e]=t}}return A}}class Headers{constructor(A=undefined){if(A===s){return}this[r]=new HeadersList;this[o]="none";if(A!==undefined){A=g.converters.HeadersInit(A);fill(this,A)}}append(A,e){g.brandCheck(this,Headers);g.argumentLengthCheck(arguments,2,{header:"Headers.append"});A=g.converters.ByteString(A);e=g.converters.ByteString(e);return appendHeader(this,A,e)}delete(A){g.brandCheck(this,Headers);g.argumentLengthCheck(arguments,1,{header:"Headers.delete"});A=g.converters.ByteString(A);if(!a(A)){throw g.errors.invalidArgument({prefix:"Headers.delete",value:A,type:"header name"})}if(this[o]==="immutable"){throw new TypeError("immutable")}else if(this[o]==="request-no-cors"){}if(!this[r].contains(A)){return}this[r].delete(A)}get(A){g.brandCheck(this,Headers);g.argumentLengthCheck(arguments,1,{header:"Headers.get"});A=g.converters.ByteString(A);if(!a(A)){throw g.errors.invalidArgument({prefix:"Headers.get",value:A,type:"header name"})}return this[r].get(A)}has(A){g.brandCheck(this,Headers);g.argumentLengthCheck(arguments,1,{header:"Headers.has"});A=g.converters.ByteString(A);if(!a(A)){throw g.errors.invalidArgument({prefix:"Headers.has",value:A,type:"header name"})}return this[r].contains(A)}set(A,e){g.brandCheck(this,Headers);g.argumentLengthCheck(arguments,2,{header:"Headers.set"});A=g.converters.ByteString(A);e=g.converters.ByteString(e);e=headerValueNormalize(e);if(!a(A)){throw g.errors.invalidArgument({prefix:"Headers.set",value:A,type:"header name"})}else if(!E(e)){throw g.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header value"})}if(this[o]==="immutable"){throw new TypeError("immutable")}else if(this[o]==="request-no-cors"){}this[r].set(A,e)}getSetCookie(){g.brandCheck(this,Headers);const A=this[r].cookies;if(A){return[...A]}return[]}get[C](){if(this[r][C]){return this[r][C]}const A=[];const e=[...this[r]].sort(((A,e)=>A[0]A),"Headers","key")}return i((()=>[...this[C].values()]),"Headers","key")}values(){g.brandCheck(this,Headers);if(this[o]==="immutable"){const A=this[C];return i((()=>A),"Headers","value")}return i((()=>[...this[C].values()]),"Headers","value")}entries(){g.brandCheck(this,Headers);if(this[o]==="immutable"){const A=this[C];return i((()=>A),"Headers","key+value")}return i((()=>[...this[C].values()]),"Headers","key+value")}forEach(A,e=globalThis){g.brandCheck(this,Headers);g.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof A!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[t,r]of this){A.apply(e,[r,t,this])}}[Symbol.for("nodejs.util.inspect.custom")](){g.brandCheck(this,Headers);return this[r]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:n,delete:n,get:n,has:n,set:n,getSetCookie:n,keys:n,values:n,entries:n,forEach:n,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true}});g.converters.HeadersInit=function(A){if(g.util.Type(A)==="Object"){if(A[Symbol.iterator]){return g.converters["sequence>"](A)}return g.converters["record"](A)}throw g.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};A.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},4881:(A,e,t)=>{"use strict";const{Response:r,makeNetworkError:s,makeAppropriateNetworkError:o,filterResponse:n,makeResponse:i}=t(7823);const{Headers:a}=t(554);const{Request:E,makeRequest:g}=t(8359);const Q=t(9796);const{bytesMatch:c,makePolicyContainer:C,clonePolicyContainer:B,requestBadPort:I,TAOCheck:h,appendRequestOriginHeader:l,responseLocationURL:u,requestCurrentURL:d,setRequestReferrerPolicyOnRedirect:f,tryUpgradeRequestToAPotentiallyTrustworthyURL:p,createOpaqueTimingInfo:y,appendFetchMetadata:R,corsCheck:D,crossOriginResourcePolicyCheck:w,determineRequestsReferrer:k,coarsenedSharedCurrentTime:m,createDeferredPromise:b,isBlobLike:F,sameOrigin:S,isCancelled:N,isAborted:U,isErrorLike:L,fullyReadBody:M,readableStreamClose:Y,isomorphicEncode:T,urlIsLocal:H,urlIsHttpHttpsScheme:J,urlHasHttpsScheme:G}=t(2538);const{kState:v,kHeaders:V,kGuard:x,kRealm:O}=t(5861);const q=t(9491);const{safelyExtractBody:W}=t(9990);const{redirectStatusSet:P,nullBodyStatus:_,safeMethodsSet:Z,requestBodyHeader:X,subresourceSet:j,DOMException:K}=t(1037);const{kHeadersList:z}=t(2785);const $=t(2361);const{Readable:AA,pipeline:eA}=t(2781);const{addAbortListener:tA,isErrored:rA,isReadable:sA,nodeMajor:oA,nodeMinor:nA}=t(3983);const{dataURLProcessor:iA,serializeAMimeType:aA}=t(685);const{TransformStream:EA}=t(5356);const{getGlobalDispatcher:gA}=t(1892);const{webidl:QA}=t(1744);const{STATUS_CODES:cA}=t(3685);const CA=["GET","HEAD"];let BA;let IA=globalThis.ReadableStream;class Fetch extends ${constructor(A){super();this.dispatcher=A;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(A){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(A);this.emit("terminated",A)}abort(A){if(this.state!=="ongoing"){return}this.state="aborted";if(!A){A=new K("The operation was aborted.","AbortError")}this.serializedAbortReason=A;this.connection?.destroy(A);this.emit("terminated",A)}}function fetch(A,e={}){QA.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const t=b();let s;try{s=new E(A,e)}catch(A){t.reject(A);return t.promise}const o=s[v];if(s.signal.aborted){abortFetch(t,o,null,s.signal.reason);return t.promise}const n=o.client.globalObject;if(n?.constructor?.name==="ServiceWorkerGlobalScope"){o.serviceWorkers="none"}let i=null;const a=null;let g=false;let Q=null;tA(s.signal,(()=>{g=true;q(Q!=null);Q.abort(s.signal.reason);abortFetch(t,o,i,s.signal.reason)}));const handleFetchDone=A=>finalizeAndReportTiming(A,"fetch");const processResponse=A=>{if(g){return Promise.resolve()}if(A.aborted){abortFetch(t,o,i,Q.serializedAbortReason);return Promise.resolve()}if(A.type==="error"){t.reject(Object.assign(new TypeError("fetch failed"),{cause:A.error}));return Promise.resolve()}i=new r;i[v]=A;i[O]=a;i[V][z]=A.headersList;i[V][x]="immutable";i[V][O]=a;t.resolve(i)};Q=fetching({request:o,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:e.dispatcher??gA()});return t.promise}function finalizeAndReportTiming(A,e="other"){if(A.type==="error"&&A.aborted){return}if(!A.urlList?.length){return}const t=A.urlList[0];let r=A.timingInfo;let s=A.cacheState;if(!J(t)){return}if(r===null){return}if(!A.timingAllowPassed){r=y({startTime:r.startTime});s=""}r.endTime=m();A.timingInfo=r;markResourceTiming(r,t,e,globalThis,s)}function markResourceTiming(A,e,t,r,s){if(oA>18||oA===18&&nA>=2){performance.markResourceTiming(A,e.href,t,r,s)}}function abortFetch(A,e,t,r){if(!r){r=new K("The operation was aborted.","AbortError")}A.reject(r);if(e.body!=null&&sA(e.body?.stream)){e.body.stream.cancel(r).catch((A=>{if(A.code==="ERR_INVALID_STATE"){return}throw A}))}if(t==null){return}const s=t[v];if(s.body!=null&&sA(s.body?.stream)){s.body.stream.cancel(r).catch((A=>{if(A.code==="ERR_INVALID_STATE"){return}throw A}))}}function fetching({request:A,processRequestBodyChunkLength:e,processRequestEndOfBody:t,processResponse:r,processResponseEndOfBody:s,processResponseConsumeBody:o,useParallelQueue:n=false,dispatcher:i}){let a=null;let E=false;if(A.client!=null){a=A.client.globalObject;E=A.client.crossOriginIsolatedCapability}const g=m(E);const Q=y({startTime:g});const c={controller:new Fetch(i),request:A,timingInfo:Q,processRequestBodyChunkLength:e,processRequestEndOfBody:t,processResponse:r,processResponseConsumeBody:o,processResponseEndOfBody:s,taskDestination:a,crossOriginIsolatedCapability:E};q(!A.body||A.body.stream);if(A.window==="client"){A.window=A.client?.globalObject?.constructor?.name==="Window"?A.client:"no-window"}if(A.origin==="client"){A.origin=A.client?.origin}if(A.policyContainer==="client"){if(A.client!=null){A.policyContainer=B(A.client.policyContainer)}else{A.policyContainer=C()}}if(!A.headersList.contains("accept")){const e="*/*";A.headersList.append("accept",e)}if(!A.headersList.contains("accept-language")){A.headersList.append("accept-language","*")}if(A.priority===null){}if(j.has(A.destination)){}mainFetch(c).catch((A=>{c.controller.terminate(A)}));return c.controller}async function mainFetch(A,e=false){const t=A.request;let r=null;if(t.localURLsOnly&&!H(d(t))){r=s("local URLs only")}p(t);if(I(t)==="blocked"){r=s("bad port")}if(t.referrerPolicy===""){t.referrerPolicy=t.policyContainer.referrerPolicy}if(t.referrer!=="no-referrer"){t.referrer=k(t)}if(r===null){r=await(async()=>{const e=d(t);if(S(e,t.url)&&t.responseTainting==="basic"||e.protocol==="data:"||(t.mode==="navigate"||t.mode==="websocket")){t.responseTainting="basic";return await schemeFetch(A)}if(t.mode==="same-origin"){return s('request mode cannot be "same-origin"')}if(t.mode==="no-cors"){if(t.redirect!=="follow"){return s('redirect mode cannot be "follow" for "no-cors" request')}t.responseTainting="opaque";return await schemeFetch(A)}if(!J(d(t))){return s("URL scheme must be a HTTP(S) scheme")}t.responseTainting="cors";return await httpFetch(A)})()}if(e){return r}if(r.status!==0&&!r.internalResponse){if(t.responseTainting==="cors"){}if(t.responseTainting==="basic"){r=n(r,"basic")}else if(t.responseTainting==="cors"){r=n(r,"cors")}else if(t.responseTainting==="opaque"){r=n(r,"opaque")}else{q(false)}}let o=r.status===0?r:r.internalResponse;if(o.urlList.length===0){o.urlList.push(...t.urlList)}if(!t.timingAllowFailed){r.timingAllowPassed=true}if(r.type==="opaque"&&o.status===206&&o.rangeRequested&&!t.headers.contains("range")){r=o=s()}if(r.status!==0&&(t.method==="HEAD"||t.method==="CONNECT"||_.includes(o.status))){o.body=null;A.controller.dump=true}if(t.integrity){const processBodyError=e=>fetchFinale(A,s(e));if(t.responseTainting==="opaque"||r.body==null){processBodyError(r.error);return}const processBody=e=>{if(!c(e,t.integrity)){processBodyError("integrity mismatch");return}r.body=W(e)[0];fetchFinale(A,r)};await M(r.body,processBody,processBodyError)}else{fetchFinale(A,r)}}function schemeFetch(A){if(N(A)&&A.request.redirectCount===0){return Promise.resolve(o(A))}const{request:e}=A;const{protocol:r}=d(e);switch(r){case"about:":{return Promise.resolve(s("about scheme is not supported"))}case"blob:":{if(!BA){BA=t(4300).resolveObjectURL}const A=d(e);if(A.search.length!==0){return Promise.resolve(s("NetworkError when attempting to fetch resource."))}const r=BA(A.toString());if(e.method!=="GET"||!F(r)){return Promise.resolve(s("invalid method"))}const o=W(r);const n=o[0];const a=T(`${n.length}`);const E=o[1]??"";const g=i({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:a}],["content-type",{name:"Content-Type",value:E}]]});g.body=n;return Promise.resolve(g)}case"data:":{const A=d(e);const t=iA(A);if(t==="failure"){return Promise.resolve(s("failed to fetch the data URL"))}const r=aA(t.mimeType);return Promise.resolve(i({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:r}]],body:W(t.body)[0]}))}case"file:":{return Promise.resolve(s("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(A).catch((A=>s(A)))}default:{return Promise.resolve(s("unknown scheme"))}}}function finalizeResponse(A,e){A.request.done=true;if(A.processResponseDone!=null){queueMicrotask((()=>A.processResponseDone(e)))}}function fetchFinale(A,e){if(e.type==="error"){e.urlList=[A.request.urlList[0]];e.timingInfo=y({startTime:A.timingInfo.startTime})}const processResponseEndOfBody=()=>{A.request.done=true;if(A.processResponseEndOfBody!=null){queueMicrotask((()=>A.processResponseEndOfBody(e)))}};if(A.processResponse!=null){queueMicrotask((()=>A.processResponse(e)))}if(e.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(A,e)=>{e.enqueue(A)};const A=new EA({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});e.body={stream:e.body.stream.pipeThrough(A)}}if(A.processResponseConsumeBody!=null){const processBody=t=>A.processResponseConsumeBody(e,t);const processBodyError=t=>A.processResponseConsumeBody(e,t);if(e.body==null){queueMicrotask((()=>processBody(null)))}else{return M(e.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(A){const e=A.request;let t=null;let r=null;const o=A.timingInfo;if(e.serviceWorkers==="all"){}if(t===null){if(e.redirect==="follow"){e.serviceWorkers="none"}r=t=await httpNetworkOrCacheFetch(A);if(e.responseTainting==="cors"&&D(e,t)==="failure"){return s("cors failure")}if(h(e,t)==="failure"){e.timingAllowFailed=true}}if((e.responseTainting==="opaque"||t.type==="opaque")&&w(e.origin,e.client,e.destination,r)==="blocked"){return s("blocked")}if(P.has(r.status)){if(e.redirect!=="manual"){A.controller.connection.destroy()}if(e.redirect==="error"){t=s("unexpected redirect")}else if(e.redirect==="manual"){t=r}else if(e.redirect==="follow"){t=await httpRedirectFetch(A,t)}else{q(false)}}t.timingInfo=o;return t}function httpRedirectFetch(A,e){const t=A.request;const r=e.internalResponse?e.internalResponse:e;let o;try{o=u(r,d(t).hash);if(o==null){return e}}catch(A){return Promise.resolve(s(A))}if(!J(o)){return Promise.resolve(s("URL scheme must be a HTTP(S) scheme"))}if(t.redirectCount===20){return Promise.resolve(s("redirect count exceeded"))}t.redirectCount+=1;if(t.mode==="cors"&&(o.username||o.password)&&!S(t,o)){return Promise.resolve(s('cross origin not allowed for request mode "cors"'))}if(t.responseTainting==="cors"&&(o.username||o.password)){return Promise.resolve(s('URL cannot contain credentials for request mode "cors"'))}if(r.status!==303&&t.body!=null&&t.body.source==null){return Promise.resolve(s())}if([301,302].includes(r.status)&&t.method==="POST"||r.status===303&&!CA.includes(t.method)){t.method="GET";t.body=null;for(const A of X){t.headersList.delete(A)}}if(!S(d(t),o)){t.headersList.delete("authorization");t.headersList.delete("proxy-authorization",true);t.headersList.delete("cookie");t.headersList.delete("host")}if(t.body!=null){q(t.body.source!=null);t.body=W(t.body.source)[0]}const n=A.timingInfo;n.redirectEndTime=n.postRedirectStartTime=m(A.crossOriginIsolatedCapability);if(n.redirectStartTime===0){n.redirectStartTime=n.startTime}t.urlList.push(o);f(t,r);return mainFetch(A,true)}async function httpNetworkOrCacheFetch(A,e=false,t=false){const r=A.request;let n=null;let i=null;let a=null;const E=null;const Q=false;if(r.window==="no-window"&&r.redirect==="error"){n=A;i=r}else{i=g(r);n={...A};n.request=i}const c=r.credentials==="include"||r.credentials==="same-origin"&&r.responseTainting==="basic";const C=i.body?i.body.length:null;let B=null;if(i.body==null&&["POST","PUT"].includes(i.method)){B="0"}if(C!=null){B=T(`${C}`)}if(B!=null){i.headersList.append("content-length",B)}if(C!=null&&i.keepalive){}if(i.referrer instanceof URL){i.headersList.append("referer",T(i.referrer.href))}l(i);R(i);if(!i.headersList.contains("user-agent")){i.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(i.cache==="default"&&(i.headersList.contains("if-modified-since")||i.headersList.contains("if-none-match")||i.headersList.contains("if-unmodified-since")||i.headersList.contains("if-match")||i.headersList.contains("if-range"))){i.cache="no-store"}if(i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control")){i.headersList.append("cache-control","max-age=0")}if(i.cache==="no-store"||i.cache==="reload"){if(!i.headersList.contains("pragma")){i.headersList.append("pragma","no-cache")}if(!i.headersList.contains("cache-control")){i.headersList.append("cache-control","no-cache")}}if(i.headersList.contains("range")){i.headersList.append("accept-encoding","identity")}if(!i.headersList.contains("accept-encoding")){if(G(d(i))){i.headersList.append("accept-encoding","br, gzip, deflate")}else{i.headersList.append("accept-encoding","gzip, deflate")}}i.headersList.delete("host");if(c){}if(E==null){i.cache="no-store"}if(i.mode!=="no-store"&&i.mode!=="reload"){}if(a==null){if(i.mode==="only-if-cached"){return s("only if cached")}const A=await httpNetworkFetch(n,c,t);if(!Z.has(i.method)&&A.status>=200&&A.status<=399){}if(Q&&A.status===304){}if(a==null){a=A}}a.urlList=[...i.urlList];if(i.headersList.contains("range")){a.rangeRequested=true}a.requestIncludesCredentials=c;if(a.status===407){if(r.window==="no-window"){return s()}if(N(A)){return o(A)}return s("proxy authentication required")}if(a.status===421&&!t&&(r.body==null||r.body.source!=null)){if(N(A)){return o(A)}A.controller.connection.destroy();a=await httpNetworkOrCacheFetch(A,e,true)}if(e){}return a}async function httpNetworkFetch(A,e=false,r=false){q(!A.controller.connection||A.controller.connection.destroyed);A.controller.connection={abort:null,destroyed:false,destroy(A){if(!this.destroyed){this.destroyed=true;this.abort?.(A??new K("The operation was aborted.","AbortError"))}}};const n=A.request;let E=null;const g=A.timingInfo;const c=null;if(c==null){n.cache="no-store"}const C=r?"yes":"no";if(n.mode==="websocket"){}else{}let B=null;if(n.body==null&&A.processRequestEndOfBody){queueMicrotask((()=>A.processRequestEndOfBody()))}else if(n.body!=null){const processBodyChunk=async function*(e){if(N(A)){return}yield e;A.processRequestBodyChunkLength?.(e.byteLength)};const processEndOfBody=()=>{if(N(A)){return}if(A.processRequestEndOfBody){A.processRequestEndOfBody()}};const processBodyError=e=>{if(N(A)){return}if(e.name==="AbortError"){A.controller.abort()}else{A.controller.terminate(e)}};B=async function*(){try{for await(const A of n.body.stream){yield*processBodyChunk(A)}processEndOfBody()}catch(A){processBodyError(A)}}()}try{const{body:e,status:t,statusText:r,headersList:s,socket:o}=await dispatch({body:B});if(o){E=i({status:t,statusText:r,headersList:s,socket:o})}else{const o=e[Symbol.asyncIterator]();A.controller.next=()=>o.next();E=i({status:t,statusText:r,headersList:s})}}catch(e){if(e.name==="AbortError"){A.controller.connection.destroy();return o(A,e)}return s(e)}const pullAlgorithm=()=>{A.controller.resume()};const cancelAlgorithm=e=>{A.controller.abort(e)};if(!IA){IA=t(5356).ReadableStream}const I=new IA({async start(e){A.controller.controller=e},async pull(A){await pullAlgorithm(A)},async cancel(A){await cancelAlgorithm(A)}},{highWaterMark:0,size(){return 1}});E.body={stream:I};A.controller.on("terminated",onAborted);A.controller.resume=async()=>{while(true){let e;let t;try{const{done:t,value:r}=await A.controller.next();if(U(A)){break}e=t?undefined:r}catch(r){if(A.controller.ended&&!g.encodedBodySize){e=undefined}else{e=r;t=true}}if(e===undefined){Y(A.controller.controller);finalizeResponse(A,E);return}g.decodedBodySize+=e?.byteLength??0;if(t){A.controller.terminate(e);return}A.controller.controller.enqueue(new Uint8Array(e));if(rA(I)){A.controller.terminate();return}if(!A.controller.controller.desiredSize){return}}};function onAborted(e){if(U(A)){E.aborted=true;if(sA(I)){A.controller.controller.error(A.controller.serializedAbortReason)}}else{if(sA(I)){A.controller.controller.error(new TypeError("terminated",{cause:L(e)?e:undefined}))}}A.controller.connection.destroy()}return E;async function dispatch({body:e}){const t=d(n);const r=A.controller.dispatcher;return new Promise(((s,o)=>r.dispatch({path:t.pathname+t.search,origin:t.origin,method:n.method,body:A.controller.dispatcher.isMockActive?n.body&&(n.body.source||n.body.stream):e,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(e){const{connection:t}=A.controller;if(t.destroyed){e(new K("The operation was aborted.","AbortError"))}else{A.controller.on("terminated",e);this.abort=t.abort=e}},onHeaders(A,e,t,r){if(A<200){return}let o=[];let i="";const E=new a;if(Array.isArray(e)){for(let A=0;AA.trim()))}else if(t.toLowerCase()==="location"){i=r}E[z].append(t,r)}}else{const A=Object.keys(e);for(const t of A){const A=e[t];if(t.toLowerCase()==="content-encoding"){o=A.toLowerCase().split(",").map((A=>A.trim())).reverse()}else if(t.toLowerCase()==="location"){i=A}E[z].append(t,A)}}this.body=new AA({read:t});const g=[];const c=n.redirect==="follow"&&i&&P.has(A);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!_.includes(A)&&!c){for(const A of o){if(A==="x-gzip"||A==="gzip"){g.push(Q.createGunzip({flush:Q.constants.Z_SYNC_FLUSH,finishFlush:Q.constants.Z_SYNC_FLUSH}))}else if(A==="deflate"){g.push(Q.createInflate())}else if(A==="br"){g.push(Q.createBrotliDecompress())}else{g.length=0;break}}}s({status:A,statusText:r,headersList:E[z],body:g.length?eA(this.body,...g,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(e){if(A.controller.dump){return}const t=e;g.encodedBodySize+=t.byteLength;return this.body.push(t)},onComplete(){if(this.abort){A.controller.off("terminated",this.abort)}A.controller.ended=true;this.body.push(null)},onError(e){if(this.abort){A.controller.off("terminated",this.abort)}this.body?.destroy(e);A.controller.terminate(e);o(e)},onUpgrade(A,e,t){if(A!==101){return}const r=new a;for(let A=0;A{"use strict";const{extractBody:r,mixinBody:s,cloneBody:o}=t(9990);const{Headers:n,fill:i,HeadersList:a}=t(554);const{FinalizationRegistry:E}=t(6436)();const g=t(3983);const{isValidHTTPToken:Q,sameOrigin:c,normalizeMethod:C,makePolicyContainer:B,normalizeMethodRecord:I}=t(2538);const{forbiddenMethodsSet:h,corsSafeListedMethodsSet:l,referrerPolicy:u,requestRedirect:d,requestMode:f,requestCredentials:p,requestCache:y,requestDuplex:R}=t(1037);const{kEnumerableProperty:D}=g;const{kHeaders:w,kSignal:k,kState:m,kGuard:b,kRealm:F}=t(5861);const{webidl:S}=t(1744);const{getGlobalOrigin:N}=t(1246);const{URLSerializer:U}=t(685);const{kHeadersList:L,kConstruct:M}=t(2785);const Y=t(9491);const{getMaxListeners:T,setMaxListeners:H,getEventListeners:J,defaultMaxListeners:G}=t(2361);let v=globalThis.TransformStream;const V=Symbol("abortController");const x=new E((({signal:A,abort:e})=>{A.removeEventListener("abort",e)}));class Request{constructor(A,e={}){if(A===M){return}S.argumentLengthCheck(arguments,1,{header:"Request constructor"});A=S.converters.RequestInfo(A);e=S.converters.RequestInit(e);this[F]={settingsObject:{baseUrl:N(),get origin(){return this.baseUrl?.origin},policyContainer:B()}};let s=null;let o=null;const E=this[F].settingsObject.baseUrl;let u=null;if(typeof A==="string"){let e;try{e=new URL(A,E)}catch(e){throw new TypeError("Failed to parse URL from "+A,{cause:e})}if(e.username||e.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+A)}s=makeRequest({urlList:[e]});o="cors"}else{Y(A instanceof Request);s=A[m];u=A[k]}const d=this[F].settingsObject.origin;let f="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&c(s.window,d)){f=s.window}if(e.window!=null){throw new TypeError(`'window' option '${f}' must be null`)}if("window"in e){f="no-window"}s=makeRequest({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:this[F].settingsObject,window:f,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});const p=Object.keys(e).length!==0;if(p){if(s.mode==="navigate"){s.mode="same-origin"}s.reloadNavigation=false;s.historyNavigation=false;s.origin="client";s.referrer="client";s.referrerPolicy="";s.url=s.urlList[s.urlList.length-1];s.urlList=[s.url]}if(e.referrer!==undefined){const A=e.referrer;if(A===""){s.referrer="no-referrer"}else{let e;try{e=new URL(A,E)}catch(e){throw new TypeError(`Referrer "${A}" is not a valid URL.`,{cause:e})}if(e.protocol==="about:"&&e.hostname==="client"||d&&!c(e,this[F].settingsObject.baseUrl)){s.referrer="client"}else{s.referrer=e}}}if(e.referrerPolicy!==undefined){s.referrerPolicy=e.referrerPolicy}let y;if(e.mode!==undefined){y=e.mode}else{y=o}if(y==="navigate"){throw S.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(y!=null){s.mode=y}if(e.credentials!==undefined){s.credentials=e.credentials}if(e.cache!==undefined){s.cache=e.cache}if(s.cache==="only-if-cached"&&s.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(e.redirect!==undefined){s.redirect=e.redirect}if(e.integrity!=null){s.integrity=String(e.integrity)}if(e.keepalive!==undefined){s.keepalive=Boolean(e.keepalive)}if(e.method!==undefined){let A=e.method;if(!Q(A)){throw new TypeError(`'${A}' is not a valid HTTP method.`)}if(h.has(A.toUpperCase())){throw new TypeError(`'${A}' HTTP method is unsupported.`)}A=I[A]??C(A);s.method=A}if(e.signal!==undefined){u=e.signal}this[m]=s;const R=new AbortController;this[k]=R.signal;this[k][F]=this[F];if(u!=null){if(!u||typeof u.aborted!=="boolean"||typeof u.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(u.aborted){R.abort(u.reason)}else{this[V]=R;const A=new WeakRef(R);const abort=function(){const e=A.deref();if(e!==undefined){e.abort(this.reason)}};try{if(typeof T==="function"&&T(u)===G){H(100,u)}else if(J(u,"abort").length>=G){H(100,u)}}catch{}g.addAbortListener(u,abort);x.register(R,{signal:u,abort:abort})}}this[w]=new n(M);this[w][L]=s.headersList;this[w][b]="request";this[w][F]=this[F];if(y==="no-cors"){if(!l.has(s.method)){throw new TypeError(`'${s.method} is unsupported in no-cors mode.`)}this[w][b]="request-no-cors"}if(p){const A=this[w][L];const t=e.headers!==undefined?e.headers:new a(A);A.clear();if(t instanceof a){for(const[e,r]of t){A.append(e,r)}A.cookies=t.cookies}else{i(this[w],t)}}const D=A instanceof Request?A[m].body:null;if((e.body!=null||D!=null)&&(s.method==="GET"||s.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let U=null;if(e.body!=null){const[A,t]=r(e.body,s.keepalive);U=A;if(t&&!this[w][L].contains("content-type")){this[w].append("content-type",t)}}const O=U??D;if(O!=null&&O.source==null){if(U!=null&&e.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(s.mode!=="same-origin"&&s.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}s.useCORSPreflightFlag=true}let q=O;if(U==null&&D!=null){if(g.isDisturbed(D.stream)||D.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!v){v=t(5356).TransformStream}const A=new v;D.stream.pipeThrough(A);q={source:D.source,length:D.length,stream:A.readable}}this[m].body=q}get method(){S.brandCheck(this,Request);return this[m].method}get url(){S.brandCheck(this,Request);return U(this[m].url)}get headers(){S.brandCheck(this,Request);return this[w]}get destination(){S.brandCheck(this,Request);return this[m].destination}get referrer(){S.brandCheck(this,Request);if(this[m].referrer==="no-referrer"){return""}if(this[m].referrer==="client"){return"about:client"}return this[m].referrer.toString()}get referrerPolicy(){S.brandCheck(this,Request);return this[m].referrerPolicy}get mode(){S.brandCheck(this,Request);return this[m].mode}get credentials(){return this[m].credentials}get cache(){S.brandCheck(this,Request);return this[m].cache}get redirect(){S.brandCheck(this,Request);return this[m].redirect}get integrity(){S.brandCheck(this,Request);return this[m].integrity}get keepalive(){S.brandCheck(this,Request);return this[m].keepalive}get isReloadNavigation(){S.brandCheck(this,Request);return this[m].reloadNavigation}get isHistoryNavigation(){S.brandCheck(this,Request);return this[m].historyNavigation}get signal(){S.brandCheck(this,Request);return this[k]}get body(){S.brandCheck(this,Request);return this[m].body?this[m].body.stream:null}get bodyUsed(){S.brandCheck(this,Request);return!!this[m].body&&g.isDisturbed(this[m].body.stream)}get duplex(){S.brandCheck(this,Request);return"half"}clone(){S.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const A=cloneRequest(this[m]);const e=new Request(M);e[m]=A;e[F]=this[F];e[w]=new n(M);e[w][L]=A.headersList;e[w][b]=this[w][b];e[w][F]=this[w][F];const t=new AbortController;if(this.signal.aborted){t.abort(this.signal.reason)}else{g.addAbortListener(this.signal,(()=>{t.abort(this.signal.reason)}))}e[k]=t.signal;return e}}s(Request);function makeRequest(A){const e={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...A,headersList:A.headersList?new a(A.headersList):new a};e.url=e.urlList[0];return e}function cloneRequest(A){const e=makeRequest({...A,body:null});if(A.body!=null){e.body=o(A.body)}return e}Object.defineProperties(Request.prototype,{method:D,url:D,headers:D,redirect:D,clone:D,signal:D,duplex:D,destination:D,body:D,bodyUsed:D,isHistoryNavigation:D,isReloadNavigation:D,keepalive:D,integrity:D,cache:D,credentials:D,attribute:D,referrerPolicy:D,referrer:D,mode:D,[Symbol.toStringTag]:{value:"Request",configurable:true}});S.converters.Request=S.interfaceConverter(Request);S.converters.RequestInfo=function(A){if(typeof A==="string"){return S.converters.USVString(A)}if(A instanceof Request){return S.converters.Request(A)}return S.converters.USVString(A)};S.converters.AbortSignal=S.interfaceConverter(AbortSignal);S.converters.RequestInit=S.dictionaryConverter([{key:"method",converter:S.converters.ByteString},{key:"headers",converter:S.converters.HeadersInit},{key:"body",converter:S.nullableConverter(S.converters.BodyInit)},{key:"referrer",converter:S.converters.USVString},{key:"referrerPolicy",converter:S.converters.DOMString,allowedValues:u},{key:"mode",converter:S.converters.DOMString,allowedValues:f},{key:"credentials",converter:S.converters.DOMString,allowedValues:p},{key:"cache",converter:S.converters.DOMString,allowedValues:y},{key:"redirect",converter:S.converters.DOMString,allowedValues:d},{key:"integrity",converter:S.converters.DOMString},{key:"keepalive",converter:S.converters.boolean},{key:"signal",converter:S.nullableConverter((A=>S.converters.AbortSignal(A,{strict:false})))},{key:"window",converter:S.converters.any},{key:"duplex",converter:S.converters.DOMString,allowedValues:R}]);A.exports={Request:Request,makeRequest:makeRequest}},7823:(A,e,t)=>{"use strict";const{Headers:r,HeadersList:s,fill:o}=t(554);const{extractBody:n,cloneBody:i,mixinBody:a}=t(9990);const E=t(3983);const{kEnumerableProperty:g}=E;const{isValidReasonPhrase:Q,isCancelled:c,isAborted:C,isBlobLike:B,serializeJavascriptValueToJSONString:I,isErrorLike:h,isomorphicEncode:l}=t(2538);const{redirectStatusSet:u,nullBodyStatus:d,DOMException:f}=t(1037);const{kState:p,kHeaders:y,kGuard:R,kRealm:D}=t(5861);const{webidl:w}=t(1744);const{FormData:k}=t(2015);const{getGlobalOrigin:m}=t(1246);const{URLSerializer:b}=t(685);const{kHeadersList:F,kConstruct:S}=t(2785);const N=t(9491);const{types:U}=t(3837);const L=globalThis.ReadableStream||t(5356).ReadableStream;const M=new TextEncoder("utf-8");class Response{static error(){const A={settingsObject:{}};const e=new Response;e[p]=makeNetworkError();e[D]=A;e[y][F]=e[p].headersList;e[y][R]="immutable";e[y][D]=A;return e}static json(A,e={}){w.argumentLengthCheck(arguments,1,{header:"Response.json"});if(e!==null){e=w.converters.ResponseInit(e)}const t=M.encode(I(A));const r=n(t);const s={settingsObject:{}};const o=new Response;o[D]=s;o[y][R]="response";o[y][D]=s;initializeResponse(o,e,{body:r[0],type:"application/json"});return o}static redirect(A,e=302){const t={settingsObject:{}};w.argumentLengthCheck(arguments,1,{header:"Response.redirect"});A=w.converters.USVString(A);e=w.converters["unsigned short"](e);let r;try{r=new URL(A,m())}catch(e){throw Object.assign(new TypeError("Failed to parse URL from "+A),{cause:e})}if(!u.has(e)){throw new RangeError("Invalid status code "+e)}const s=new Response;s[D]=t;s[y][R]="immutable";s[y][D]=t;s[p].status=e;const o=l(b(r));s[p].headersList.append("location",o);return s}constructor(A=null,e={}){if(A!==null){A=w.converters.BodyInit(A)}e=w.converters.ResponseInit(e);this[D]={settingsObject:{}};this[p]=makeResponse({});this[y]=new r(S);this[y][R]="response";this[y][F]=this[p].headersList;this[y][D]=this[D];let t=null;if(A!=null){const[e,r]=n(A);t={body:e,type:r}}initializeResponse(this,e,t)}get type(){w.brandCheck(this,Response);return this[p].type}get url(){w.brandCheck(this,Response);const A=this[p].urlList;const e=A[A.length-1]??null;if(e===null){return""}return b(e,true)}get redirected(){w.brandCheck(this,Response);return this[p].urlList.length>1}get status(){w.brandCheck(this,Response);return this[p].status}get ok(){w.brandCheck(this,Response);return this[p].status>=200&&this[p].status<=299}get statusText(){w.brandCheck(this,Response);return this[p].statusText}get headers(){w.brandCheck(this,Response);return this[y]}get body(){w.brandCheck(this,Response);return this[p].body?this[p].body.stream:null}get bodyUsed(){w.brandCheck(this,Response);return!!this[p].body&&E.isDisturbed(this[p].body.stream)}clone(){w.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw w.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const A=cloneResponse(this[p]);const e=new Response;e[p]=A;e[D]=this[D];e[y][F]=A.headersList;e[y][R]=this[y][R];e[y][D]=this[y][D];return e}}a(Response);Object.defineProperties(Response.prototype,{type:g,url:g,status:g,ok:g,redirected:g,statusText:g,headers:g,clone:g,body:g,bodyUsed:g,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:g,redirect:g,error:g});function cloneResponse(A){if(A.internalResponse){return filterResponse(cloneResponse(A.internalResponse),A.type)}const e=makeResponse({...A,body:null});if(A.body!=null){e.body=i(A.body)}return e}function makeResponse(A){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...A,headersList:A.headersList?new s(A.headersList):new s,urlList:A.urlList?[...A.urlList]:[]}}function makeNetworkError(A){const e=h(A);return makeResponse({type:"error",status:0,error:e?A:new Error(A?String(A):A),aborted:A&&A.name==="AbortError"})}function makeFilteredResponse(A,e){e={internalResponse:A,...e};return new Proxy(A,{get(A,t){return t in e?e[t]:A[t]},set(A,t,r){N(!(t in e));A[t]=r;return true}})}function filterResponse(A,e){if(e==="basic"){return makeFilteredResponse(A,{type:"basic",headersList:A.headersList})}else if(e==="cors"){return makeFilteredResponse(A,{type:"cors",headersList:A.headersList})}else if(e==="opaque"){return makeFilteredResponse(A,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(e==="opaqueredirect"){return makeFilteredResponse(A,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{N(false)}}function makeAppropriateNetworkError(A,e=null){N(c(A));return C(A)?makeNetworkError(Object.assign(new f("The operation was aborted.","AbortError"),{cause:e})):makeNetworkError(Object.assign(new f("Request was cancelled."),{cause:e}))}function initializeResponse(A,e,t){if(e.status!==null&&(e.status<200||e.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in e&&e.statusText!=null){if(!Q(String(e.statusText))){throw new TypeError("Invalid statusText")}}if("status"in e&&e.status!=null){A[p].status=e.status}if("statusText"in e&&e.statusText!=null){A[p].statusText=e.statusText}if("headers"in e&&e.headers!=null){o(A[y],e.headers)}if(t){if(d.includes(A.status)){throw w.errors.exception({header:"Response constructor",message:"Invalid response status code "+A.status})}A[p].body=t.body;if(t.type!=null&&!A[p].headersList.contains("Content-Type")){A[p].headersList.append("content-type",t.type)}}}w.converters.ReadableStream=w.interfaceConverter(L);w.converters.FormData=w.interfaceConverter(k);w.converters.URLSearchParams=w.interfaceConverter(URLSearchParams);w.converters.XMLHttpRequestBodyInit=function(A){if(typeof A==="string"){return w.converters.USVString(A)}if(B(A)){return w.converters.Blob(A,{strict:false})}if(U.isArrayBuffer(A)||U.isTypedArray(A)||U.isDataView(A)){return w.converters.BufferSource(A)}if(E.isFormDataLike(A)){return w.converters.FormData(A,{strict:false})}if(A instanceof URLSearchParams){return w.converters.URLSearchParams(A)}return w.converters.DOMString(A)};w.converters.BodyInit=function(A){if(A instanceof L){return w.converters.ReadableStream(A)}if(A?.[Symbol.asyncIterator]){return A}return w.converters.XMLHttpRequestBodyInit(A)};w.converters.ResponseInit=w.dictionaryConverter([{key:"status",converter:w.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:w.converters.ByteString,defaultValue:""},{key:"headers",converter:w.converters.HeadersInit}]);A.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},5861:A=>{"use strict";A.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},2538:(A,e,t)=>{"use strict";const{redirectStatusSet:r,referrerPolicySet:s,badPortsSet:o}=t(1037);const{getGlobalOrigin:n}=t(1246);const{performance:i}=t(4074);const{isBlobLike:a,toUSVString:E,ReadableStreamFrom:g}=t(3983);const Q=t(9491);const{isUint8Array:c}=t(9830);let C=[];let B;try{B=t(6113);const A=["sha256","sha384","sha512"];C=B.getHashes().filter((e=>A.includes(e)))}catch{}function responseURL(A){const e=A.urlList;const t=e.length;return t===0?null:e[t-1].toString()}function responseLocationURL(A,e){if(!r.has(A.status)){return null}let t=A.headersList.get("location");if(t!==null&&isValidHeaderValue(t)){t=new URL(t,responseURL(A))}if(t&&!t.hash){t.hash=e}return t}function requestCurrentURL(A){return A.urlList[A.urlList.length-1]}function requestBadPort(A){const e=requestCurrentURL(A);if(urlIsHttpHttpsScheme(e)&&o.has(e.port)){return"blocked"}return"allowed"}function isErrorLike(A){return A instanceof Error||(A?.constructor?.name==="Error"||A?.constructor?.name==="DOMException")}function isValidReasonPhrase(A){for(let e=0;e=32&&t<=126||t>=128&&t<=255)){return false}}return true}function isTokenCharCode(A){switch(A){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return A>=33&&A<=126}}function isValidHTTPToken(A){if(A.length===0){return false}for(let e=0;e0){for(let A=r.length;A!==0;A--){const e=r[A-1].trim();if(s.has(e)){o=e;break}}}if(o!==""){A.referrerPolicy=o}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(A){let e=null;e=A.mode;A.headersList.set("sec-fetch-mode",e)}function appendRequestOriginHeader(A){let e=A.origin;if(A.responseTainting==="cors"||A.mode==="websocket"){if(e){A.headersList.append("origin",e)}}else if(A.method!=="GET"&&A.method!=="HEAD"){switch(A.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(A.origin&&urlHasHttpsScheme(A.origin)&&!urlHasHttpsScheme(requestCurrentURL(A))){e=null}break;case"same-origin":if(!sameOrigin(A,requestCurrentURL(A))){e=null}break;default:}if(e){A.headersList.append("origin",e)}}}function coarsenedSharedCurrentTime(A){return i.now()}function createOpaqueTimingInfo(A){return{startTime:A.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:A.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(A){return{referrerPolicy:A.referrerPolicy}}function determineRequestsReferrer(A){const e=A.referrerPolicy;Q(e);let t=null;if(A.referrer==="client"){const A=n();if(!A||A.origin==="null"){return"no-referrer"}t=new URL(A)}else if(A.referrer instanceof URL){t=A.referrer}let r=stripURLForReferrer(t);const s=stripURLForReferrer(t,true);if(r.toString().length>4096){r=s}const o=sameOrigin(A,r);const i=isURLPotentiallyTrustworthy(r)&&!isURLPotentiallyTrustworthy(A.url);switch(e){case"origin":return s!=null?s:stripURLForReferrer(t,true);case"unsafe-url":return r;case"same-origin":return o?s:"no-referrer";case"origin-when-cross-origin":return o?r:s;case"strict-origin-when-cross-origin":{const e=requestCurrentURL(A);if(sameOrigin(r,e)){return r}if(isURLPotentiallyTrustworthy(r)&&!isURLPotentiallyTrustworthy(e)){return"no-referrer"}return s}case"strict-origin":case"no-referrer-when-downgrade":default:return i?"no-referrer":s}}function stripURLForReferrer(A,e){Q(A instanceof URL);if(A.protocol==="file:"||A.protocol==="about:"||A.protocol==="blank:"){return"no-referrer"}A.username="";A.password="";A.hash="";if(e){A.pathname="";A.search=""}return A}function isURLPotentiallyTrustworthy(A){if(!(A instanceof URL)){return false}if(A.href==="about:blank"||A.href==="about:srcdoc"){return true}if(A.protocol==="data:")return true;if(A.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(A.origin);function isOriginPotentiallyTrustworthy(A){if(A==null||A==="null")return false;const e=new URL(A);if(e.protocol==="https:"||e.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(e.hostname)||(e.hostname==="localhost"||e.hostname.includes("localhost."))||e.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(A,e){if(B===undefined){return true}const t=parseMetadata(e);if(t==="no metadata"){return true}if(t.length===0){return true}const r=getStrongestMetadata(t);const s=filterMetadataListByAlgorithm(t,r);for(const e of s){const t=e.algo;const r=e.hash;let s=B.createHash(t).update(A).digest("base64");if(s[s.length-1]==="="){if(s[s.length-2]==="="){s=s.slice(0,-2)}else{s=s.slice(0,-1)}}if(compareBase64Mixed(s,r)){return true}}return false}const I=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(A){const e=[];let t=true;for(const r of A.split(" ")){t=false;const A=I.exec(r);if(A===null||A.groups===undefined||A.groups.algo===undefined){continue}const s=A.groups.algo.toLowerCase();if(C.includes(s)){e.push(A.groups)}}if(t===true){return"no metadata"}return e}function getStrongestMetadata(A){let e=A[0].algo;if(e[3]==="5"){return e}for(let t=1;t{A=t;e=r}));return{promise:t,resolve:A,reject:e}}function isAborted(A){return A.controller.state==="aborted"}function isCancelled(A){return A.controller.state==="aborted"||A.controller.state==="terminated"}const h={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(h,null);function normalizeMethod(A){return h[A.toLowerCase()]??A}function serializeJavascriptValueToJSONString(A){const e=JSON.stringify(A);if(e===undefined){throw new TypeError("Value is not JSON serializable")}Q(typeof e==="string");return e}const l=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(A,e,t){const r={index:0,kind:t,target:A};const s={next(){if(Object.getPrototypeOf(this)!==s){throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`)}const{index:A,kind:t,target:o}=r;const n=o();const i=n.length;if(A>=i){return{value:undefined,done:true}}const a=n[A];r.index=A+1;return iteratorResult(a,t)},[Symbol.toStringTag]:`${e} Iterator`};Object.setPrototypeOf(s,l);return Object.setPrototypeOf({},s)}function iteratorResult(A,e){let t;switch(e){case"key":{t=A[0];break}case"value":{t=A[1];break}case"key+value":{t=A;break}}return{value:t,done:false}}async function fullyReadBody(A,e,t){const r=e;const s=t;let o;try{o=A.stream.getReader()}catch(A){s(A);return}try{const A=await readAllBytes(o);r(A)}catch(A){s(A)}}let u=globalThis.ReadableStream;function isReadableStreamLike(A){if(!u){u=t(5356).ReadableStream}return A instanceof u||A[Symbol.toStringTag]==="ReadableStream"&&typeof A.tee==="function"}const d=65535;function isomorphicDecode(A){if(A.lengthA+String.fromCharCode(e)),"")}function readableStreamClose(A){try{A.close()}catch(A){if(!A.message.includes("Controller is already closed")){throw A}}}function isomorphicEncode(A){for(let e=0;eObject.prototype.hasOwnProperty.call(A,e));A.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:g,toUSVString:E,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:a,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:f,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:h,parseMetadata:parseMetadata}},1744:(A,e,t)=>{"use strict";const{types:r}=t(3837);const{hasOwn:s,toUSVString:o}=t(2538);const n={};n.converters={};n.util={};n.errors={};n.errors.exception=function(A){return new TypeError(`${A.header}: ${A.message}`)};n.errors.conversionFailed=function(A){const e=A.types.length===1?"":" one of";const t=`${A.argument} could not be converted to`+`${e}: ${A.types.join(", ")}.`;return n.errors.exception({header:A.prefix,message:t})};n.errors.invalidArgument=function(A){return n.errors.exception({header:A.prefix,message:`"${A.value}" is an invalid ${A.type}.`})};n.brandCheck=function(A,e,t=undefined){if(t?.strict!==false&&!(A instanceof e)){throw new TypeError("Illegal invocation")}else{return A?.[Symbol.toStringTag]===e.prototype[Symbol.toStringTag]}};n.argumentLengthCheck=function({length:A},e,t){if(As){throw n.errors.exception({header:"Integer conversion",message:`Value must be between ${o}-${s}, got ${i}.`})}return i}if(!Number.isNaN(i)&&r.clamp===true){i=Math.min(Math.max(i,o),s);if(Math.floor(i)%2===0){i=Math.floor(i)}else{i=Math.ceil(i)}return i}if(Number.isNaN(i)||i===0&&Object.is(0,i)||i===Number.POSITIVE_INFINITY||i===Number.NEGATIVE_INFINITY){return 0}i=n.util.IntegerPart(i);i=i%Math.pow(2,e);if(t==="signed"&&i>=Math.pow(2,e)-1){return i-Math.pow(2,e)}return i};n.util.IntegerPart=function(A){const e=Math.floor(Math.abs(A));if(A<0){return-1*e}return e};n.sequenceConverter=function(A){return e=>{if(n.util.Type(e)!=="Object"){throw n.errors.exception({header:"Sequence",message:`Value of type ${n.util.Type(e)} is not an Object.`})}const t=e?.[Symbol.iterator]?.();const r=[];if(t===undefined||typeof t.next!=="function"){throw n.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:e,value:s}=t.next();if(e){break}r.push(A(s))}return r}};n.recordConverter=function(A,e){return t=>{if(n.util.Type(t)!=="Object"){throw n.errors.exception({header:"Record",message:`Value of type ${n.util.Type(t)} is not an Object.`})}const s={};if(!r.isProxy(t)){const r=Object.keys(t);for(const o of r){const r=A(o);const n=e(t[o]);s[r]=n}return s}const o=Reflect.ownKeys(t);for(const r of o){const o=Reflect.getOwnPropertyDescriptor(t,r);if(o?.enumerable){const o=A(r);const n=e(t[r]);s[o]=n}}return s}};n.interfaceConverter=function(A){return(e,t={})=>{if(t.strict!==false&&!(e instanceof A)){throw n.errors.exception({header:A.name,message:`Expected ${e} to be an instance of ${A.name}.`})}return e}};n.dictionaryConverter=function(A){return e=>{const t=n.util.Type(e);const r={};if(t==="Null"||t==="Undefined"){return r}else if(t!=="Object"){throw n.errors.exception({header:"Dictionary",message:`Expected ${e} to be one of: Null, Undefined, Object.`})}for(const t of A){const{key:A,defaultValue:o,required:i,converter:a}=t;if(i===true){if(!s(e,A)){throw n.errors.exception({header:"Dictionary",message:`Missing required key "${A}".`})}}let E=e[A];const g=s(t,"defaultValue");if(g&&E!==null){E=E??o}if(i||g||E!==undefined){E=a(E);if(t.allowedValues&&!t.allowedValues.includes(E)){throw n.errors.exception({header:"Dictionary",message:`${E} is not an accepted type. Expected one of ${t.allowedValues.join(", ")}.`})}r[A]=E}}return r}};n.nullableConverter=function(A){return e=>{if(e===null){return e}return A(e)}};n.converters.DOMString=function(A,e={}){if(A===null&&e.legacyNullToEmptyString){return""}if(typeof A==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(A)};n.converters.ByteString=function(A){const e=n.converters.DOMString(A);for(let A=0;A255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${A} has a value of ${e.charCodeAt(A)} which is greater than 255.`)}}return e};n.converters.USVString=o;n.converters.boolean=function(A){const e=Boolean(A);return e};n.converters.any=function(A){return A};n.converters["long long"]=function(A){const e=n.util.ConvertToInt(A,64,"signed");return e};n.converters["unsigned long long"]=function(A){const e=n.util.ConvertToInt(A,64,"unsigned");return e};n.converters["unsigned long"]=function(A){const e=n.util.ConvertToInt(A,32,"unsigned");return e};n.converters["unsigned short"]=function(A,e){const t=n.util.ConvertToInt(A,16,"unsigned",e);return t};n.converters.ArrayBuffer=function(A,e={}){if(n.util.Type(A)!=="Object"||!r.isAnyArrayBuffer(A)){throw n.errors.conversionFailed({prefix:`${A}`,argument:`${A}`,types:["ArrayBuffer"]})}if(e.allowShared===false&&r.isSharedArrayBuffer(A)){throw n.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return A};n.converters.TypedArray=function(A,e,t={}){if(n.util.Type(A)!=="Object"||!r.isTypedArray(A)||A.constructor.name!==e.name){throw n.errors.conversionFailed({prefix:`${e.name}`,argument:`${A}`,types:[e.name]})}if(t.allowShared===false&&r.isSharedArrayBuffer(A.buffer)){throw n.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return A};n.converters.DataView=function(A,e={}){if(n.util.Type(A)!=="Object"||!r.isDataView(A)){throw n.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(e.allowShared===false&&r.isSharedArrayBuffer(A.buffer)){throw n.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return A};n.converters.BufferSource=function(A,e={}){if(r.isAnyArrayBuffer(A)){return n.converters.ArrayBuffer(A,e)}if(r.isTypedArray(A)){return n.converters.TypedArray(A,A.constructor)}if(r.isDataView(A)){return n.converters.DataView(A,e)}throw new TypeError(`Could not convert ${A} to a BufferSource.`)};n.converters["sequence"]=n.sequenceConverter(n.converters.ByteString);n.converters["sequence>"]=n.sequenceConverter(n.converters["sequence"]);n.converters["record"]=n.recordConverter(n.converters.ByteString,n.converters.ByteString);A.exports={webidl:n}},4854:A=>{"use strict";function getEncoding(A){if(!A){return"failure"}switch(A.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}A.exports={getEncoding:getEncoding}},1446:(A,e,t)=>{"use strict";const{staticPropertyDescriptors:r,readOperation:s,fireAProgressEvent:o}=t(7530);const{kState:n,kError:i,kResult:a,kEvents:E,kAborted:g}=t(9054);const{webidl:Q}=t(1744);const{kEnumerableProperty:c}=t(3983);class FileReader extends EventTarget{constructor(){super();this[n]="empty";this[a]=null;this[i]=null;this[E]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(A){Q.brandCheck(this,FileReader);Q.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});A=Q.converters.Blob(A,{strict:false});s(this,A,"ArrayBuffer")}readAsBinaryString(A){Q.brandCheck(this,FileReader);Q.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});A=Q.converters.Blob(A,{strict:false});s(this,A,"BinaryString")}readAsText(A,e=undefined){Q.brandCheck(this,FileReader);Q.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});A=Q.converters.Blob(A,{strict:false});if(e!==undefined){e=Q.converters.DOMString(e)}s(this,A,"Text",e)}readAsDataURL(A){Q.brandCheck(this,FileReader);Q.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});A=Q.converters.Blob(A,{strict:false});s(this,A,"DataURL")}abort(){if(this[n]==="empty"||this[n]==="done"){this[a]=null;return}if(this[n]==="loading"){this[n]="done";this[a]=null}this[g]=true;o("abort",this);if(this[n]!=="loading"){o("loadend",this)}}get readyState(){Q.brandCheck(this,FileReader);switch(this[n]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){Q.brandCheck(this,FileReader);return this[a]}get error(){Q.brandCheck(this,FileReader);return this[i]}get onloadend(){Q.brandCheck(this,FileReader);return this[E].loadend}set onloadend(A){Q.brandCheck(this,FileReader);if(this[E].loadend){this.removeEventListener("loadend",this[E].loadend)}if(typeof A==="function"){this[E].loadend=A;this.addEventListener("loadend",A)}else{this[E].loadend=null}}get onerror(){Q.brandCheck(this,FileReader);return this[E].error}set onerror(A){Q.brandCheck(this,FileReader);if(this[E].error){this.removeEventListener("error",this[E].error)}if(typeof A==="function"){this[E].error=A;this.addEventListener("error",A)}else{this[E].error=null}}get onloadstart(){Q.brandCheck(this,FileReader);return this[E].loadstart}set onloadstart(A){Q.brandCheck(this,FileReader);if(this[E].loadstart){this.removeEventListener("loadstart",this[E].loadstart)}if(typeof A==="function"){this[E].loadstart=A;this.addEventListener("loadstart",A)}else{this[E].loadstart=null}}get onprogress(){Q.brandCheck(this,FileReader);return this[E].progress}set onprogress(A){Q.brandCheck(this,FileReader);if(this[E].progress){this.removeEventListener("progress",this[E].progress)}if(typeof A==="function"){this[E].progress=A;this.addEventListener("progress",A)}else{this[E].progress=null}}get onload(){Q.brandCheck(this,FileReader);return this[E].load}set onload(A){Q.brandCheck(this,FileReader);if(this[E].load){this.removeEventListener("load",this[E].load)}if(typeof A==="function"){this[E].load=A;this.addEventListener("load",A)}else{this[E].load=null}}get onabort(){Q.brandCheck(this,FileReader);return this[E].abort}set onabort(A){Q.brandCheck(this,FileReader);if(this[E].abort){this.removeEventListener("abort",this[E].abort)}if(typeof A==="function"){this[E].abort=A;this.addEventListener("abort",A)}else{this[E].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:r,LOADING:r,DONE:r,readAsArrayBuffer:c,readAsBinaryString:c,readAsText:c,readAsDataURL:c,abort:c,readyState:c,result:c,error:c,onloadstart:c,onprogress:c,onload:c,onabort:c,onerror:c,onloadend:c,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:r,LOADING:r,DONE:r});A.exports={FileReader:FileReader}},5504:(A,e,t)=>{"use strict";const{webidl:r}=t(1744);const s=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(A,e={}){A=r.converters.DOMString(A);e=r.converters.ProgressEventInit(e??{});super(A,e);this[s]={lengthComputable:e.lengthComputable,loaded:e.loaded,total:e.total}}get lengthComputable(){r.brandCheck(this,ProgressEvent);return this[s].lengthComputable}get loaded(){r.brandCheck(this,ProgressEvent);return this[s].loaded}get total(){r.brandCheck(this,ProgressEvent);return this[s].total}}r.converters.ProgressEventInit=r.dictionaryConverter([{key:"lengthComputable",converter:r.converters.boolean,defaultValue:false},{key:"loaded",converter:r.converters["unsigned long long"],defaultValue:0},{key:"total",converter:r.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:r.converters.boolean,defaultValue:false},{key:"cancelable",converter:r.converters.boolean,defaultValue:false},{key:"composed",converter:r.converters.boolean,defaultValue:false}]);A.exports={ProgressEvent:ProgressEvent}},9054:A=>{"use strict";A.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},7530:(A,e,t)=>{"use strict";const{kState:r,kError:s,kResult:o,kAborted:n,kLastProgressEventFired:i}=t(9054);const{ProgressEvent:a}=t(5504);const{getEncoding:E}=t(4854);const{DOMException:g}=t(1037);const{serializeAMimeType:Q,parseMIMEType:c}=t(685);const{types:C}=t(3837);const{StringDecoder:B}=t(1576);const{btoa:I}=t(4300);const h={enumerable:true,writable:false,configurable:false};function readOperation(A,e,t,a){if(A[r]==="loading"){throw new g("Invalid state","InvalidStateError")}A[r]="loading";A[o]=null;A[s]=null;const E=e.stream();const Q=E.getReader();const c=[];let B=Q.read();let I=true;(async()=>{while(!A[n]){try{const{done:E,value:g}=await B;if(I&&!A[n]){queueMicrotask((()=>{fireAProgressEvent("loadstart",A)}))}I=false;if(!E&&C.isUint8Array(g)){c.push(g);if((A[i]===undefined||Date.now()-A[i]>=50)&&!A[n]){A[i]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",A)}))}B=Q.read()}else if(E){queueMicrotask((()=>{A[r]="done";try{const r=packageData(c,t,e.type,a);if(A[n]){return}A[o]=r;fireAProgressEvent("load",A)}catch(e){A[s]=e;fireAProgressEvent("error",A)}if(A[r]!=="loading"){fireAProgressEvent("loadend",A)}}));break}}catch(e){if(A[n]){return}queueMicrotask((()=>{A[r]="done";A[s]=e;fireAProgressEvent("error",A);if(A[r]!=="loading"){fireAProgressEvent("loadend",A)}}));break}}})()}function fireAProgressEvent(A,e){const t=new a(A,{bubbles:false,cancelable:false});e.dispatchEvent(t)}function packageData(A,e,t,r){switch(e){case"DataURL":{let e="data:";const r=c(t||"application/octet-stream");if(r!=="failure"){e+=Q(r)}e+=";base64,";const s=new B("latin1");for(const t of A){e+=I(s.write(t))}e+=I(s.end());return e}case"Text":{let e="failure";if(r){e=E(r)}if(e==="failure"&&t){const A=c(t);if(A!=="failure"){e=E(A.parameters.get("charset"))}}if(e==="failure"){e="UTF-8"}return decode(A,e)}case"ArrayBuffer":{const e=combineByteSequences(A);return e.buffer}case"BinaryString":{let e="";const t=new B("latin1");for(const r of A){e+=t.write(r)}e+=t.end();return e}}}function decode(A,e){const t=combineByteSequences(A);const r=BOMSniffing(t);let s=0;if(r!==null){e=r;s=r==="UTF-8"?3:2}const o=t.slice(s);return new TextDecoder(e).decode(o)}function BOMSniffing(A){const[e,t,r]=A;if(e===239&&t===187&&r===191){return"UTF-8"}else if(e===254&&t===255){return"UTF-16BE"}else if(e===255&&t===254){return"UTF-16LE"}return null}function combineByteSequences(A){const e=A.reduce(((A,e)=>A+e.byteLength),0);let t=0;return A.reduce(((A,e)=>{A.set(e,t);t+=e.byteLength;return A}),new Uint8Array(e))}A.exports={staticPropertyDescriptors:h,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},1892:(A,e,t)=>{"use strict";const r=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:s}=t(8045);const o=t(7890);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new o)}function setGlobalDispatcher(A){if(!A||typeof A.dispatch!=="function"){throw new s("Argument agent must implement Agent")}Object.defineProperty(globalThis,r,{value:A,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[r]}A.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},6930:A=>{"use strict";A.exports=class DecoratorHandler{constructor(A){this.handler=A}onConnect(...A){return this.handler.onConnect(...A)}onError(...A){return this.handler.onError(...A)}onUpgrade(...A){return this.handler.onUpgrade(...A)}onHeaders(...A){return this.handler.onHeaders(...A)}onData(...A){return this.handler.onData(...A)}onComplete(...A){return this.handler.onComplete(...A)}onBodySent(...A){return this.handler.onBodySent(...A)}}},2860:(A,e,t)=>{"use strict";const r=t(3983);const{kBodyUsed:s}=t(2785);const o=t(9491);const{InvalidArgumentError:n}=t(8045);const i=t(2361);const a=[300,301,302,303,307,308];const E=Symbol("body");class BodyAsyncIterable{constructor(A){this[E]=A;this[s]=false}async*[Symbol.asyncIterator](){o(!this[s],"disturbed");this[s]=true;yield*this[E]}}class RedirectHandler{constructor(A,e,t,a){if(e!=null&&(!Number.isInteger(e)||e<0)){throw new n("maxRedirections must be a positive number")}r.validateHandler(a,t.method,t.upgrade);this.dispatch=A;this.location=null;this.abort=null;this.opts={...t,maxRedirections:0};this.maxRedirections=e;this.handler=a;this.history=[];if(r.isStream(this.opts.body)){if(r.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){o(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[s]=false;i.prototype.on.call(this.opts.body,"data",(function(){this[s]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&r.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(A){this.abort=A;this.handler.onConnect(A,{history:this.history})}onUpgrade(A,e,t){this.handler.onUpgrade(A,e,t)}onError(A){this.handler.onError(A)}onHeaders(A,e,t,s){this.location=this.history.length>=this.maxRedirections||r.isDisturbed(this.opts.body)?null:parseLocation(A,e);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(A,e,t,s)}const{origin:o,pathname:n,search:i}=r.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const a=i?`${n}${i}`:n;this.opts.headers=cleanRequestHeaders(this.opts.headers,A===303,this.opts.origin!==o);this.opts.path=a;this.opts.origin=o;this.opts.maxRedirections=0;this.opts.query=null;if(A===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(A){if(this.location){}else{return this.handler.onData(A)}}onComplete(A){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(A)}}onBodySent(A){if(this.handler.onBodySent){this.handler.onBodySent(A)}}}function parseLocation(A,e){if(a.indexOf(A)===-1){return null}for(let A=0;A{const r=t(9491);const{kRetryHandlerDefaultRetry:s}=t(2785);const{RequestRetryError:o}=t(8045);const{isDisturbed:n,parseHeaders:i,parseRangeHeader:a}=t(3983);function calculateRetryAfterHeader(A){const e=Date.now();const t=new Date(A).getTime()-e;return t}class RetryHandler{constructor(A,e){const{retryOptions:t,...r}=A;const{retry:o,maxRetries:n,maxTimeout:i,minTimeout:a,timeoutFactor:E,methods:g,errorCodes:Q,retryAfter:c,statusCodes:C}=t??{};this.dispatch=e.dispatch;this.handler=e.handler;this.opts=r;this.abort=null;this.aborted=false;this.retryOpts={retry:o??RetryHandler[s],retryAfter:c??true,maxTimeout:i??30*1e3,timeout:a??500,timeoutFactor:E??2,maxRetries:n??5,methods:g??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:C??[500,502,503,504,429],errorCodes:Q??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((A=>{this.aborted=true;if(this.abort){this.abort(A)}else{this.reason=A}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(A,e,t){if(this.handler.onUpgrade){this.handler.onUpgrade(A,e,t)}}onConnect(A){if(this.aborted){A(this.reason)}else{this.abort=A}}onBodySent(A){if(this.handler.onBodySent)return this.handler.onBodySent(A)}static[s](A,{state:e,opts:t},r){const{statusCode:s,code:o,headers:n}=A;const{method:i,retryOptions:a}=t;const{maxRetries:E,timeout:g,maxTimeout:Q,timeoutFactor:c,statusCodes:C,errorCodes:B,methods:I}=a;let{counter:h,currentTimeout:l}=e;l=l!=null&&l>0?l:g;if(o&&o!=="UND_ERR_REQ_RETRY"&&o!=="UND_ERR_SOCKET"&&!B.includes(o)){r(A);return}if(Array.isArray(I)&&!I.includes(i)){r(A);return}if(s!=null&&Array.isArray(C)&&!C.includes(s)){r(A);return}if(h>E){r(A);return}let u=n!=null&&n["retry-after"];if(u){u=Number(u);u=isNaN(u)?calculateRetryAfterHeader(u):u*1e3}const d=u>0?Math.min(u,Q):Math.min(l*c**h,Q);e.currentTimeout=d;setTimeout((()=>r(null)),d)}onHeaders(A,e,t,s){const n=i(e);this.retryCount+=1;if(A>=300){this.abort(new o("Request failed",A,{headers:n,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(A!==206){return true}const e=a(n["content-range"]);if(!e){this.abort(new o("Content-Range mismatch",A,{headers:n,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==n.etag){this.abort(new o("ETag mismatch",A,{headers:n,count:this.retryCount}));return false}const{start:s,size:i,end:E=i}=e;r(this.start===s,"content-range mismatch");r(this.end==null||this.end===E,"content-range mismatch");this.resume=t;return true}if(this.end==null){if(A===206){const o=a(n["content-range"]);if(o==null){return this.handler.onHeaders(A,e,t,s)}const{start:i,size:E,end:g=E}=o;r(i!=null&&Number.isFinite(i)&&this.start!==i,"content-range mismatch");r(Number.isFinite(i));r(g!=null&&Number.isFinite(g)&&this.end!==g,"invalid content-length");this.start=i;this.end=g}if(this.end==null){const A=n["content-length"];this.end=A!=null?Number(A):null}r(Number.isFinite(this.start));r(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=t;this.etag=n.etag!=null?n.etag:null;return this.handler.onHeaders(A,e,t,s)}const E=new o("Request failed",A,{headers:n,count:this.retryCount});this.abort(E);return false}onData(A){this.start+=A.length;return this.handler.onData(A)}onComplete(A){this.retryCount=0;return this.handler.onComplete(A)}onError(A){if(this.aborted||n(this.opts.body)){return this.handler.onError(A)}this.retryOpts.retry(A,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(A){if(A!=null||this.aborted||n(this.opts.body)){return this.handler.onError(A)}if(this.start!==0){this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}}}try{this.dispatch(this.opts,this)}catch(A){this.handler.onError(A)}}}}A.exports=RetryHandler},8861:(A,e,t)=>{"use strict";const r=t(2860);function createRedirectInterceptor({maxRedirections:A}){return e=>function Intercept(t,s){const{maxRedirections:o=A}=t;if(!o){return e(t,s)}const n=new r(e,o,t,s);t={...t,maxRedirections:0};return e(t,n)}}A.exports=createRedirectInterceptor},953:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.SPECIAL_HEADERS=e.HEADER_STATE=e.MINOR=e.MAJOR=e.CONNECTION_TOKEN_CHARS=e.HEADER_CHARS=e.TOKEN=e.STRICT_TOKEN=e.HEX=e.URL_CHAR=e.STRICT_URL_CHAR=e.USERINFO_CHARS=e.MARK=e.ALPHANUM=e.NUM=e.HEX_MAP=e.NUM_MAP=e.ALPHA=e.FINISH=e.H_METHOD_MAP=e.METHOD_MAP=e.METHODS_RTSP=e.METHODS_ICE=e.METHODS_HTTP=e.METHODS=e.LENIENT_FLAGS=e.FLAGS=e.TYPE=e.ERROR=void 0;const r=t(1891);var s;(function(A){A[A["OK"]=0]="OK";A[A["INTERNAL"]=1]="INTERNAL";A[A["STRICT"]=2]="STRICT";A[A["LF_EXPECTED"]=3]="LF_EXPECTED";A[A["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";A[A["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";A[A["INVALID_METHOD"]=6]="INVALID_METHOD";A[A["INVALID_URL"]=7]="INVALID_URL";A[A["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";A[A["INVALID_VERSION"]=9]="INVALID_VERSION";A[A["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";A[A["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";A[A["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";A[A["INVALID_STATUS"]=13]="INVALID_STATUS";A[A["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";A[A["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";A[A["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";A[A["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";A[A["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";A[A["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";A[A["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";A[A["PAUSED"]=21]="PAUSED";A[A["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";A[A["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";A[A["USER"]=24]="USER"})(s=e.ERROR||(e.ERROR={}));var o;(function(A){A[A["BOTH"]=0]="BOTH";A[A["REQUEST"]=1]="REQUEST";A[A["RESPONSE"]=2]="RESPONSE"})(o=e.TYPE||(e.TYPE={}));var n;(function(A){A[A["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";A[A["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";A[A["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";A[A["CHUNKED"]=8]="CHUNKED";A[A["UPGRADE"]=16]="UPGRADE";A[A["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";A[A["SKIPBODY"]=64]="SKIPBODY";A[A["TRAILING"]=128]="TRAILING";A[A["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(n=e.FLAGS||(e.FLAGS={}));var i;(function(A){A[A["HEADERS"]=1]="HEADERS";A[A["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";A[A["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(i=e.LENIENT_FLAGS||(e.LENIENT_FLAGS={}));var a;(function(A){A[A["DELETE"]=0]="DELETE";A[A["GET"]=1]="GET";A[A["HEAD"]=2]="HEAD";A[A["POST"]=3]="POST";A[A["PUT"]=4]="PUT";A[A["CONNECT"]=5]="CONNECT";A[A["OPTIONS"]=6]="OPTIONS";A[A["TRACE"]=7]="TRACE";A[A["COPY"]=8]="COPY";A[A["LOCK"]=9]="LOCK";A[A["MKCOL"]=10]="MKCOL";A[A["MOVE"]=11]="MOVE";A[A["PROPFIND"]=12]="PROPFIND";A[A["PROPPATCH"]=13]="PROPPATCH";A[A["SEARCH"]=14]="SEARCH";A[A["UNLOCK"]=15]="UNLOCK";A[A["BIND"]=16]="BIND";A[A["REBIND"]=17]="REBIND";A[A["UNBIND"]=18]="UNBIND";A[A["ACL"]=19]="ACL";A[A["REPORT"]=20]="REPORT";A[A["MKACTIVITY"]=21]="MKACTIVITY";A[A["CHECKOUT"]=22]="CHECKOUT";A[A["MERGE"]=23]="MERGE";A[A["M-SEARCH"]=24]="M-SEARCH";A[A["NOTIFY"]=25]="NOTIFY";A[A["SUBSCRIBE"]=26]="SUBSCRIBE";A[A["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";A[A["PATCH"]=28]="PATCH";A[A["PURGE"]=29]="PURGE";A[A["MKCALENDAR"]=30]="MKCALENDAR";A[A["LINK"]=31]="LINK";A[A["UNLINK"]=32]="UNLINK";A[A["SOURCE"]=33]="SOURCE";A[A["PRI"]=34]="PRI";A[A["DESCRIBE"]=35]="DESCRIBE";A[A["ANNOUNCE"]=36]="ANNOUNCE";A[A["SETUP"]=37]="SETUP";A[A["PLAY"]=38]="PLAY";A[A["PAUSE"]=39]="PAUSE";A[A["TEARDOWN"]=40]="TEARDOWN";A[A["GET_PARAMETER"]=41]="GET_PARAMETER";A[A["SET_PARAMETER"]=42]="SET_PARAMETER";A[A["REDIRECT"]=43]="REDIRECT";A[A["RECORD"]=44]="RECORD";A[A["FLUSH"]=45]="FLUSH"})(a=e.METHODS||(e.METHODS={}));e.METHODS_HTTP=[a.DELETE,a.GET,a.HEAD,a.POST,a.PUT,a.CONNECT,a.OPTIONS,a.TRACE,a.COPY,a.LOCK,a.MKCOL,a.MOVE,a.PROPFIND,a.PROPPATCH,a.SEARCH,a.UNLOCK,a.BIND,a.REBIND,a.UNBIND,a.ACL,a.REPORT,a.MKACTIVITY,a.CHECKOUT,a.MERGE,a["M-SEARCH"],a.NOTIFY,a.SUBSCRIBE,a.UNSUBSCRIBE,a.PATCH,a.PURGE,a.MKCALENDAR,a.LINK,a.UNLINK,a.PRI,a.SOURCE];e.METHODS_ICE=[a.SOURCE];e.METHODS_RTSP=[a.OPTIONS,a.DESCRIBE,a.ANNOUNCE,a.SETUP,a.PLAY,a.PAUSE,a.TEARDOWN,a.GET_PARAMETER,a.SET_PARAMETER,a.REDIRECT,a.RECORD,a.FLUSH,a.GET,a.POST];e.METHOD_MAP=r.enumToMap(a);e.H_METHOD_MAP={};Object.keys(e.METHOD_MAP).forEach((A=>{if(/^H/.test(A)){e.H_METHOD_MAP[A]=e.METHOD_MAP[A]}}));var E;(function(A){A[A["SAFE"]=0]="SAFE";A[A["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";A[A["UNSAFE"]=2]="UNSAFE"})(E=e.FINISH||(e.FINISH={}));e.ALPHA=[];for(let A="A".charCodeAt(0);A<="Z".charCodeAt(0);A++){e.ALPHA.push(String.fromCharCode(A));e.ALPHA.push(String.fromCharCode(A+32))}e.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};e.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};e.NUM=["0","1","2","3","4","5","6","7","8","9"];e.ALPHANUM=e.ALPHA.concat(e.NUM);e.MARK=["-","_",".","!","~","*","'","(",")"];e.USERINFO_CHARS=e.ALPHANUM.concat(e.MARK).concat(["%",";",":","&","=","+","$",","]);e.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(e.ALPHANUM);e.URL_CHAR=e.STRICT_URL_CHAR.concat(["\t","\f"]);for(let A=128;A<=255;A++){e.URL_CHAR.push(A)}e.HEX=e.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);e.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(e.ALPHANUM);e.TOKEN=e.STRICT_TOKEN.concat([" "]);e.HEADER_CHARS=["\t"];for(let A=32;A<=255;A++){if(A!==127){e.HEADER_CHARS.push(A)}}e.CONNECTION_TOKEN_CHARS=e.HEADER_CHARS.filter((A=>A!==44));e.MAJOR=e.NUM_MAP;e.MINOR=e.MAJOR;var g;(function(A){A[A["GENERAL"]=0]="GENERAL";A[A["CONNECTION"]=1]="CONNECTION";A[A["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";A[A["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";A[A["UPGRADE"]=4]="UPGRADE";A[A["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";A[A["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";A[A["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";A[A["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(g=e.HEADER_STATE||(e.HEADER_STATE={}));e.SPECIAL_HEADERS={connection:g.CONNECTION,"content-length":g.CONTENT_LENGTH,"proxy-connection":g.CONNECTION,"transfer-encoding":g.TRANSFER_ENCODING,upgrade:g.UPGRADE}},1145:A=>{A.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3R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AAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgACgCHCIQQX9qDt0B2gEB2QECAwQFBgcICQoLDA0O2AEPENcBERLWARMUFRYXGBkaG+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IwtBogEhEAwiC0GjASEQDCELQaQBIRAMIAtBpQEhEAwfC0GmASEQDB4LQacBIRAMHQtBqAEhEAwcC0GpASEQDBsLQaoBIRAMGgtBqwEhEAwZC0GsASEQDBgLQa0BIRAMFwtBrgEhEAwWC0EBIRAMFQtBrwEhEAwUC0GwASEQDBMLQbEBIRAMEgtBswEhEAwRC0GyASEQDBALQbQBIRAMDwtBtQEhEAwOC0G2ASEQDA0LQbcBIRAMDAtBuAEhEAwLC0G5ASEQDAoLQboBIRAMCQtBuwEhEAwIC0HGASEQDAcLQbwBIRAMBgtBvQEhEAwFC0G+ASEQDAQLQb8BIRAMAwtBwAEhEAwCC0HCASEQDAELQcEBIRALA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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CEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKEBCyAAQQA2AhwgACABNgIUIABBw4+AgAA2AhAgAEEHNgIMQQAhEAygAQtBACEQIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgwMnwELIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgxBACEQDJ4BCyAAQQA2AhwgACAUNgIUIABB/pGAgAA2AhAgAEEHNgIMQQAhEAydAQsgAEEAN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AAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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VGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBBzYCDAyoAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAynAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAymAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMRgsg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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},1891:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.enumToMap=void 0;function enumToMap(A){const e={};Object.keys(A).forEach((t=>{const r=A[t];if(typeof r==="number"){e[t]=r}}));return e}e.enumToMap=enumToMap},6771:(A,e,t)=>{"use strict";const{kClients:r}=t(2785);const s=t(7890);const{kAgent:o,kMockAgentSet:n,kMockAgentGet:i,kDispatches:a,kIsMockActive:E,kNetConnect:g,kGetNetConnect:Q,kOptions:c,kFactory:C}=t(4347);const B=t(8687);const I=t(6193);const{matchValue:h,buildMockOptions:l}=t(9323);const{InvalidArgumentError:u,UndiciError:d}=t(8045);const f=t(412);const p=t(8891);const y=t(6823);class FakeWeakRef{constructor(A){this.value=A}deref(){return this.value}}class MockAgent extends f{constructor(A){super(A);this[g]=true;this[E]=true;if(A&&A.agent&&typeof A.agent.dispatch!=="function"){throw new u("Argument opts.agent must implement Agent")}const e=A&&A.agent?A.agent:new s(A);this[o]=e;this[r]=e[r];this[c]=l(A)}get(A){let e=this[i](A);if(!e){e=this[C](A);this[n](A,e)}return e}dispatch(A,e){this.get(A.origin);return this[o].dispatch(A,e)}async close(){await this[o].close();this[r].clear()}deactivate(){this[E]=false}activate(){this[E]=true}enableNetConnect(A){if(typeof A==="string"||typeof A==="function"||A instanceof RegExp){if(Array.isArray(this[g])){this[g].push(A)}else{this[g]=[A]}}else if(typeof A==="undefined"){this[g]=true}else{throw new u("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[g]=false}get isMockActive(){return this[E]}[n](A,e){this[r].set(A,new FakeWeakRef(e))}[C](A){const e=Object.assign({agent:this},this[c]);return this[c]&&this[c].connections===1?new B(A,e):new I(A,e)}[i](A){const e=this[r].get(A);if(e){return e.deref()}if(typeof A!=="string"){const e=this[C]("http://localhost:9999");this[n](A,e);return e}for(const[e,t]of Array.from(this[r])){const r=t.deref();if(r&&typeof e!=="string"&&h(e,A)){const e=this[C](A);this[n](A,e);e[a]=r[a];return e}}}[Q](){return this[g]}pendingInterceptors(){const A=this[r];return Array.from(A.entries()).flatMap((([A,e])=>e.deref()[a].map((e=>({...e,origin:A}))))).filter((({pending:A})=>A))}assertNoPendingInterceptors({pendingInterceptorsFormatter:A=new y}={}){const e=this.pendingInterceptors();if(e.length===0){return}const t=new p("interceptor","interceptors").pluralize(e.length);throw new d(`\n${t.count} ${t.noun} ${t.is} pending:\n\n${A.format(e)}\n`.trim())}}A.exports=MockAgent},8687:(A,e,t)=>{"use strict";const{promisify:r}=t(3837);const s=t(3598);const{buildMockDispatch:o}=t(9323);const{kDispatches:n,kMockAgent:i,kClose:a,kOriginalClose:E,kOrigin:g,kOriginalDispatch:Q,kConnected:c}=t(4347);const{MockInterceptor:C}=t(410);const B=t(2785);const{InvalidArgumentError:I}=t(8045);class MockClient extends s{constructor(A,e){super(A,e);if(!e||!e.agent||typeof e.agent.dispatch!=="function"){throw new I("Argument opts.agent must implement Agent")}this[i]=e.agent;this[g]=A;this[n]=[];this[c]=1;this[Q]=this.dispatch;this[E]=this.close.bind(this);this.dispatch=o.call(this);this.close=this[a]}get[B.kConnected](){return this[c]}intercept(A){return new C(A,this[n])}async[a](){await r(this[E])();this[c]=0;this[i][B.kClients].delete(this[g])}}A.exports=MockClient},888:(A,e,t)=>{"use strict";const{UndiciError:r}=t(8045);class MockNotMatchedError extends r{constructor(A){super(A);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=A||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}A.exports={MockNotMatchedError:MockNotMatchedError}},410:(A,e,t)=>{"use strict";const{getResponseData:r,buildKey:s,addMockDispatch:o}=t(9323);const{kDispatches:n,kDispatchKey:i,kDefaultHeaders:a,kDefaultTrailers:E,kContentLength:g,kMockDispatch:Q}=t(4347);const{InvalidArgumentError:c}=t(8045);const{buildURL:C}=t(3983);class MockScope{constructor(A){this[Q]=A}delay(A){if(typeof A!=="number"||!Number.isInteger(A)||A<=0){throw new c("waitInMs must be a valid integer > 0")}this[Q].delay=A;return this}persist(){this[Q].persist=true;return this}times(A){if(typeof A!=="number"||!Number.isInteger(A)||A<=0){throw new c("repeatTimes must be a valid integer > 0")}this[Q].times=A;return this}}class MockInterceptor{constructor(A,e){if(typeof A!=="object"){throw new c("opts must be an object")}if(typeof A.path==="undefined"){throw new c("opts.path must be defined")}if(typeof A.method==="undefined"){A.method="GET"}if(typeof A.path==="string"){if(A.query){A.path=C(A.path,A.query)}else{const e=new URL(A.path,"data://");A.path=e.pathname+e.search}}if(typeof A.method==="string"){A.method=A.method.toUpperCase()}this[i]=s(A);this[n]=e;this[a]={};this[E]={};this[g]=false}createMockScopeDispatchData(A,e,t={}){const s=r(e);const o=this[g]?{"content-length":s.length}:{};const n={...this[a],...o,...t.headers};const i={...this[E],...t.trailers};return{statusCode:A,data:e,headers:n,trailers:i}}validateReplyParameters(A,e,t){if(typeof A==="undefined"){throw new c("statusCode must be defined")}if(typeof e==="undefined"){throw new c("data must be defined")}if(typeof t!=="object"){throw new c("responseOptions must be an object")}}reply(A){if(typeof A==="function"){const wrappedDefaultsCallback=e=>{const t=A(e);if(typeof t!=="object"){throw new c("reply options callback must return an object")}const{statusCode:r,data:s="",responseOptions:o={}}=t;this.validateReplyParameters(r,s,o);return{...this.createMockScopeDispatchData(r,s,o)}};const e=o(this[n],this[i],wrappedDefaultsCallback);return new MockScope(e)}const[e,t="",r={}]=[...arguments];this.validateReplyParameters(e,t,r);const s=this.createMockScopeDispatchData(e,t,r);const a=o(this[n],this[i],s);return new MockScope(a)}replyWithError(A){if(typeof A==="undefined"){throw new c("error must be defined")}const e=o(this[n],this[i],{error:A});return new MockScope(e)}defaultReplyHeaders(A){if(typeof A==="undefined"){throw new c("headers must be defined")}this[a]=A;return this}defaultReplyTrailers(A){if(typeof A==="undefined"){throw new c("trailers must be defined")}this[E]=A;return this}replyContentLength(){this[g]=true;return this}}A.exports.MockInterceptor=MockInterceptor;A.exports.MockScope=MockScope},6193:(A,e,t)=>{"use strict";const{promisify:r}=t(3837);const s=t(4634);const{buildMockDispatch:o}=t(9323);const{kDispatches:n,kMockAgent:i,kClose:a,kOriginalClose:E,kOrigin:g,kOriginalDispatch:Q,kConnected:c}=t(4347);const{MockInterceptor:C}=t(410);const B=t(2785);const{InvalidArgumentError:I}=t(8045);class MockPool extends s{constructor(A,e){super(A,e);if(!e||!e.agent||typeof e.agent.dispatch!=="function"){throw new I("Argument opts.agent must implement Agent")}this[i]=e.agent;this[g]=A;this[n]=[];this[c]=1;this[Q]=this.dispatch;this[E]=this.close.bind(this);this.dispatch=o.call(this);this.close=this[a]}get[B.kConnected](){return this[c]}intercept(A){return new C(A,this[n])}async[a](){await r(this[E])();this[c]=0;this[i][B.kClients].delete(this[g])}}A.exports=MockPool},4347:A=>{"use strict";A.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},9323:(A,e,t)=>{"use strict";const{MockNotMatchedError:r}=t(888);const{kDispatches:s,kMockAgent:o,kOriginalDispatch:n,kOrigin:i,kGetNetConnect:a}=t(4347);const{buildURL:E,nop:g}=t(3983);const{STATUS_CODES:Q}=t(3685);const{types:{isPromise:c}}=t(3837);function matchValue(A,e){if(typeof A==="string"){return A===e}if(A instanceof RegExp){return A.test(e)}if(typeof A==="function"){return A(e)===true}return false}function lowerCaseEntries(A){return Object.fromEntries(Object.entries(A).map((([A,e])=>[A.toLocaleLowerCase(),e])))}function getHeaderByName(A,e){if(Array.isArray(A)){for(let t=0;t!A)).filter((({path:A})=>matchValue(safeUrl(A),s)));if(o.length===0){throw new r(`Mock dispatch not matched for path '${s}'`)}o=o.filter((({method:A})=>matchValue(A,e.method)));if(o.length===0){throw new r(`Mock dispatch not matched for method '${e.method}'`)}o=o.filter((({body:A})=>typeof A!=="undefined"?matchValue(A,e.body):true));if(o.length===0){throw new r(`Mock dispatch not matched for body '${e.body}'`)}o=o.filter((A=>matchHeaders(A,e.headers)));if(o.length===0){throw new r(`Mock dispatch not matched for headers '${typeof e.headers==="object"?JSON.stringify(e.headers):e.headers}'`)}return o[0]}function addMockDispatch(A,e,t){const r={timesInvoked:0,times:1,persist:false,consumed:false};const s=typeof t==="function"?{callback:t}:{...t};const o={...r,...e,pending:true,data:{error:null,...s}};A.push(o);return o}function deleteMockDispatch(A,e){const t=A.findIndex((A=>{if(!A.consumed){return false}return matchKey(A,e)}));if(t!==-1){A.splice(t,1)}}function buildKey(A){const{path:e,method:t,body:r,headers:s,query:o}=A;return{path:e,method:t,body:r,headers:s,query:o}}function generateKeyValues(A){return Object.entries(A).reduce(((A,[e,t])=>[...A,Buffer.from(`${e}`),Array.isArray(t)?t.map((A=>Buffer.from(`${A}`))):Buffer.from(`${t}`)]),[])}function getStatusText(A){return Q[A]||"unknown"}async function getResponse(A){const e=[];for await(const t of A){e.push(t)}return Buffer.concat(e).toString("utf8")}function mockDispatch(A,e){const t=buildKey(A);const r=getMockDispatch(this[s],t);r.timesInvoked++;if(r.data.callback){r.data={...r.data,...r.data.callback(A)}}const{data:{statusCode:o,data:n,headers:i,trailers:a,error:E},delay:Q,persist:C}=r;const{timesInvoked:B,times:I}=r;r.consumed=!C&&B>=I;r.pending=B0){setTimeout((()=>{handleReply(this[s])}),Q)}else{handleReply(this[s])}function handleReply(r,s=n){const E=Array.isArray(A.headers)?buildHeadersFromArray(A.headers):A.headers;const Q=typeof s==="function"?s({...A,headers:E}):s;if(c(Q)){Q.then((A=>handleReply(r,A)));return}const C=getResponseData(Q);const B=generateKeyValues(i);const I=generateKeyValues(a);e.abort=g;e.onHeaders(o,B,resume,getStatusText(o));e.onData(Buffer.from(C));e.onComplete(I);deleteMockDispatch(r,t)}function resume(){}return true}function buildMockDispatch(){const A=this[o];const e=this[i];const t=this[n];return function dispatch(s,o){if(A.isMockActive){try{mockDispatch.call(this,s,o)}catch(n){if(n instanceof r){const i=A[a]();if(i===false){throw new r(`${n.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`)}if(checkNetConnect(i,e)){t.call(this,s,o)}else{throw new r(`${n.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}}else{throw n}}}else{t.call(this,s,o)}}}function checkNetConnect(A,e){const t=new URL(e);if(A===true){return true}else if(Array.isArray(A)&&A.some((A=>matchValue(A,t.host)))){return true}return false}function buildMockOptions(A){if(A){const{agent:e,...t}=A;return t}}A.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},6823:(A,e,t)=>{"use strict";const{Transform:r}=t(2781);const{Console:s}=t(6206);A.exports=class PendingInterceptorsFormatter{constructor({disableColors:A}={}){this.transform=new r({transform(A,e,t){t(null,A)}});this.logger=new s({stdout:this.transform,inspectOptions:{colors:!A&&!process.env.CI}})}format(A){const e=A.map((({method:A,path:e,data:{statusCode:t},persist:r,times:s,timesInvoked:o,origin:n})=>({Method:A,Origin:n,Path:e,"Status code":t,Persistent:r?"✅":"❌",Invocations:o,Remaining:r?Infinity:s-o})));this.logger.table(e);return this.transform.read().toString()}}},8891:A=>{"use strict";const e={pronoun:"it",is:"is",was:"was",this:"this"};const t={pronoun:"they",is:"are",was:"were",this:"these"};A.exports=class Pluralizer{constructor(A,e){this.singular=A;this.plural=e}pluralize(A){const r=A===1;const s=r?e:t;const o=r?this.singular:this.plural;return{...s,count:A,noun:o}}}},8266:A=>{"use strict";const e=2048;const t=e-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(e);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&t)===this.bottom}push(A){this.list[this.top]=A;this.top=this.top+1&t}shift(){const A=this.list[this.bottom];if(A===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&t;return A}}A.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(A){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(A)}shift(){const A=this.tail;const e=A.shift();if(A.isEmpty()&&A.next!==null){this.tail=A.next}return e}}},3198:(A,e,t)=>{"use strict";const r=t(4839);const s=t(8266);const{kConnected:o,kSize:n,kRunning:i,kPending:a,kQueued:E,kBusy:g,kFree:Q,kUrl:c,kClose:C,kDestroy:B,kDispatch:I}=t(2785);const h=t(9689);const l=Symbol("clients");const u=Symbol("needDrain");const d=Symbol("queue");const f=Symbol("closed resolve");const p=Symbol("onDrain");const y=Symbol("onConnect");const R=Symbol("onDisconnect");const D=Symbol("onConnectionError");const w=Symbol("get dispatcher");const k=Symbol("add client");const m=Symbol("remove client");const b=Symbol("stats");class PoolBase extends r{constructor(){super();this[d]=new s;this[l]=[];this[E]=0;const A=this;this[p]=function onDrain(e,t){const r=A[d];let s=false;while(!s){const e=r.shift();if(!e){break}A[E]--;s=!this.dispatch(e.opts,e.handler)}this[u]=s;if(!this[u]&&A[u]){A[u]=false;A.emit("drain",e,[A,...t])}if(A[f]&&r.isEmpty()){Promise.all(A[l].map((A=>A.close()))).then(A[f])}};this[y]=(e,t)=>{A.emit("connect",e,[A,...t])};this[R]=(e,t,r)=>{A.emit("disconnect",e,[A,...t],r)};this[D]=(e,t,r)=>{A.emit("connectionError",e,[A,...t],r)};this[b]=new h(this)}get[g](){return this[u]}get[o](){return this[l].filter((A=>A[o])).length}get[Q](){return this[l].filter((A=>A[o]&&!A[u])).length}get[a](){let A=this[E];for(const{[a]:e}of this[l]){A+=e}return A}get[i](){let A=0;for(const{[i]:e}of this[l]){A+=e}return A}get[n](){let A=this[E];for(const{[n]:e}of this[l]){A+=e}return A}get stats(){return this[b]}async[C](){if(this[d].isEmpty()){return Promise.all(this[l].map((A=>A.close())))}else{return new Promise((A=>{this[f]=A}))}}async[B](A){while(true){const e=this[d].shift();if(!e){break}e.handler.onError(A)}return Promise.all(this[l].map((e=>e.destroy(A))))}[I](A,e){const t=this[w]();if(!t){this[u]=true;this[d].push({opts:A,handler:e});this[E]++}else if(!t.dispatch(A,e)){t[u]=true;this[u]=!this[w]()}return!this[u]}[k](A){A.on("drain",this[p]).on("connect",this[y]).on("disconnect",this[R]).on("connectionError",this[D]);this[l].push(A);if(this[u]){process.nextTick((()=>{if(this[u]){this[p](A[c],[this,A])}}))}return this}[m](A){A.close((()=>{const e=this[l].indexOf(A);if(e!==-1){this[l].splice(e,1)}}));this[u]=this[l].some((A=>!A[u]&&A.closed!==true&&A.destroyed!==true))}}A.exports={PoolBase:PoolBase,kClients:l,kNeedDrain:u,kAddClient:k,kRemoveClient:m,kGetDispatcher:w}},9689:(A,e,t)=>{const{kFree:r,kConnected:s,kPending:o,kQueued:n,kRunning:i,kSize:a}=t(2785);const E=Symbol("pool");class PoolStats{constructor(A){this[E]=A}get connected(){return this[E][s]}get free(){return this[E][r]}get pending(){return this[E][o]}get queued(){return this[E][n]}get running(){return this[E][i]}get size(){return this[E][a]}}A.exports=PoolStats},4634:(A,e,t)=>{"use strict";const{PoolBase:r,kClients:s,kNeedDrain:o,kAddClient:n,kGetDispatcher:i}=t(3198);const a=t(3598);const{InvalidArgumentError:E}=t(8045);const g=t(3983);const{kUrl:Q,kInterceptors:c}=t(2785);const C=t(2067);const B=Symbol("options");const I=Symbol("connections");const h=Symbol("factory");function defaultFactory(A,e){return new a(A,e)}class Pool extends r{constructor(A,{connections:e,factory:t=defaultFactory,connect:r,connectTimeout:s,tls:o,maxCachedSessions:n,socketPath:i,autoSelectFamily:a,autoSelectFamilyAttemptTimeout:l,allowH2:u,...d}={}){super();if(e!=null&&(!Number.isFinite(e)||e<0)){throw new E("invalid connections")}if(typeof t!=="function"){throw new E("factory must be a function.")}if(r!=null&&typeof r!=="function"&&typeof r!=="object"){throw new E("connect must be a function or an object")}if(typeof r!=="function"){r=C({...o,maxCachedSessions:n,allowH2:u,socketPath:i,timeout:s,...g.nodeHasAutoSelectFamily&&a?{autoSelectFamily:a,autoSelectFamilyAttemptTimeout:l}:undefined,...r})}this[c]=d.interceptors&&d.interceptors.Pool&&Array.isArray(d.interceptors.Pool)?d.interceptors.Pool:[];this[I]=e||null;this[Q]=g.parseOrigin(A);this[B]={...g.deepClone(d),connect:r,allowH2:u};this[B].interceptors=d.interceptors?{...d.interceptors}:undefined;this[h]=t}[i](){let A=this[s].find((A=>!A[o]));if(A){return A}if(!this[I]||this[s].length{"use strict";const{kProxy:r,kClose:s,kDestroy:o,kInterceptors:n}=t(2785);const{URL:i}=t(7310);const a=t(7890);const E=t(4634);const g=t(4839);const{InvalidArgumentError:Q,RequestAbortedError:c}=t(8045);const C=t(2067);const B=Symbol("proxy agent");const I=Symbol("proxy client");const h=Symbol("proxy headers");const l=Symbol("request tls settings");const u=Symbol("proxy tls settings");const d=Symbol("connect endpoint function");function defaultProtocolPort(A){return A==="https:"?443:80}function buildProxyOptions(A){if(typeof A==="string"){A={uri:A}}if(!A||!A.uri){throw new Q("Proxy opts.uri is mandatory")}return{uri:A.uri,protocol:A.protocol||"https"}}function defaultFactory(A,e){return new E(A,e)}class ProxyAgent extends g{constructor(A){super(A);this[r]=buildProxyOptions(A);this[B]=new a(A);this[n]=A.interceptors&&A.interceptors.ProxyAgent&&Array.isArray(A.interceptors.ProxyAgent)?A.interceptors.ProxyAgent:[];if(typeof A==="string"){A={uri:A}}if(!A||!A.uri){throw new Q("Proxy opts.uri is mandatory")}const{clientFactory:e=defaultFactory}=A;if(typeof e!=="function"){throw new Q("Proxy opts.clientFactory must be a function.")}this[l]=A.requestTls;this[u]=A.proxyTls;this[h]=A.headers||{};const t=new i(A.uri);const{origin:s,port:o,host:E,username:g,password:f}=t;if(A.auth&&A.token){throw new Q("opts.auth cannot be used in combination with opts.token")}else if(A.auth){this[h]["proxy-authorization"]=`Basic ${A.auth}`}else if(A.token){this[h]["proxy-authorization"]=A.token}else if(g&&f){this[h]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(g)}:${decodeURIComponent(f)}`).toString("base64")}`}const p=C({...A.proxyTls});this[d]=C({...A.requestTls});this[I]=e(t,{connect:p});this[B]=new a({...A,connect:async(A,e)=>{let t=A.host;if(!A.port){t+=`:${defaultProtocolPort(A.protocol)}`}try{const{socket:r,statusCode:n}=await this[I].connect({origin:s,port:o,path:t,signal:A.signal,headers:{...this[h],host:E}});if(n!==200){r.on("error",(()=>{})).destroy();e(new c(`Proxy response (${n}) !== 200 when HTTP Tunneling`))}if(A.protocol!=="https:"){e(null,r);return}let i;if(this[l]){i=this[l].servername}else{i=A.servername}this[d]({...A,servername:i,httpSocket:r},e)}catch(A){e(A)}}})}dispatch(A,e){const{host:t}=new i(A.origin);const r=buildHeaders(A.headers);throwIfProxyAuthIsSent(r);return this[B].dispatch({...A,headers:{...r,host:t}},e)}async[s](){await this[B].close();await this[I].close()}async[o](){await this[B].destroy();await this[I].destroy()}}function buildHeaders(A){if(Array.isArray(A)){const e={};for(let t=0;tA.toLowerCase()==="proxy-authorization"));if(e){throw new Q("Proxy-Authorization should be sent in ProxyAgent constructor")}}A.exports=ProxyAgent},9459:A=>{"use strict";let e=Date.now();let t;const r=[];function onTimeout(){e=Date.now();let A=r.length;let t=0;while(t0&&e>=s.state){s.state=-1;s.callback(s.opaque)}if(s.state===-1){s.state=-2;if(t!==A-1){r[t]=r.pop()}else{r.pop()}A-=1}else{t+=1}}if(r.length>0){refreshTimeout()}}function refreshTimeout(){if(t&&t.refresh){t.refresh()}else{clearTimeout(t);t=setTimeout(onTimeout,1e3);if(t.unref){t.unref()}}}class Timeout{constructor(A,e,t){this.callback=A;this.delay=e;this.opaque=t;this.state=-2;this.refresh()}refresh(){if(this.state===-2){r.push(this);if(!t||r.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}A.exports={setTimeout(A,e,t){return e<1e3?setTimeout(A,e,t):new Timeout(A,e,t)},clearTimeout(A){if(A instanceof Timeout){A.clear()}else{clearTimeout(A)}}}},5354:(A,e,t)=>{"use strict";const r=t(7643);const{uid:s,states:o}=t(9188);const{kReadyState:n,kSentClose:i,kByteParser:a,kReceivedClose:E}=t(7578);const{fireEvent:g,failWebsocketConnection:Q}=t(5515);const{CloseEvent:c}=t(2611);const{makeRequest:C}=t(8359);const{fetching:B}=t(4881);const{Headers:I}=t(554);const{getGlobalDispatcher:h}=t(1892);const{kHeadersList:l}=t(2785);const u={};u.open=r.channel("undici:websocket:open");u.close=r.channel("undici:websocket:close");u.socketError=r.channel("undici:websocket:socket_error");let d;try{d=t(6113)}catch{}function establishWebSocketConnection(A,e,t,r,o){const n=A;n.protocol=A.protocol==="ws:"?"http:":"https:";const i=C({urlList:[n],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(o.headers){const A=new I(o.headers)[l];i.headersList=A}const a=d.randomBytes(16).toString("base64");i.headersList.append("sec-websocket-key",a);i.headersList.append("sec-websocket-version","13");for(const A of e){i.headersList.append("sec-websocket-protocol",A)}const E="";const g=B({request:i,useParallelQueue:true,dispatcher:o.dispatcher??h(),processResponse(A){if(A.type==="error"||A.status!==101){Q(t,"Received network error or non-101 status code.");return}if(e.length!==0&&!A.headersList.get("Sec-WebSocket-Protocol")){Q(t,"Server did not respond with sent protocols.");return}if(A.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Q(t,'Server did not set Upgrade header to "websocket".');return}if(A.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Q(t,'Server did not set Connection header to "upgrade".');return}const o=A.headersList.get("Sec-WebSocket-Accept");const n=d.createHash("sha1").update(a+s).digest("base64");if(o!==n){Q(t,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const g=A.headersList.get("Sec-WebSocket-Extensions");if(g!==null&&g!==E){Q(t,"Received different permessage-deflate than the one set.");return}const c=A.headersList.get("Sec-WebSocket-Protocol");if(c!==null&&c!==i.headersList.get("Sec-WebSocket-Protocol")){Q(t,"Protocol was not set in the opening handshake.");return}A.socket.on("data",onSocketData);A.socket.on("close",onSocketClose);A.socket.on("error",onSocketError);if(u.open.hasSubscribers){u.open.publish({address:A.socket.address(),protocol:c,extensions:g})}r(A)}});return g}function onSocketData(A){if(!this.ws[a].write(A)){this.pause()}}function onSocketClose(){const{ws:A}=this;const e=A[i]&&A[E];let t=1005;let r="";const s=A[a].closingInfo;if(s){t=s.code??1005;r=s.reason}else if(!A[i]){t=1006}A[n]=o.CLOSED;g("close",A,c,{wasClean:e,code:t,reason:r});if(u.close.hasSubscribers){u.close.publish({websocket:A,code:t,reason:r})}}function onSocketError(A){const{ws:e}=this;e[n]=o.CLOSING;if(u.socketError.hasSubscribers){u.socketError.publish(A)}this.destroy()}A.exports={establishWebSocketConnection:establishWebSocketConnection}},9188:A=>{"use strict";const e="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const t={enumerable:true,writable:false,configurable:false};const r={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const s={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const o=2**16-1;const n={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const i=Buffer.allocUnsafe(0);A.exports={uid:e,staticPropertyDescriptors:t,states:r,opcodes:s,maxUnsigned16Bit:o,parserStates:n,emptyBuffer:i}},2611:(A,e,t)=>{"use strict";const{webidl:r}=t(1744);const{kEnumerableProperty:s}=t(3983);const{MessagePort:o}=t(1267);class MessageEvent extends Event{#o;constructor(A,e={}){r.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});A=r.converters.DOMString(A);e=r.converters.MessageEventInit(e);super(A,e);this.#o=e}get data(){r.brandCheck(this,MessageEvent);return this.#o.data}get origin(){r.brandCheck(this,MessageEvent);return this.#o.origin}get lastEventId(){r.brandCheck(this,MessageEvent);return this.#o.lastEventId}get source(){r.brandCheck(this,MessageEvent);return this.#o.source}get ports(){r.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#o.ports)){Object.freeze(this.#o.ports)}return this.#o.ports}initMessageEvent(A,e=false,t=false,s=null,o="",n="",i=null,a=[]){r.brandCheck(this,MessageEvent);r.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(A,{bubbles:e,cancelable:t,data:s,origin:o,lastEventId:n,source:i,ports:a})}}class CloseEvent extends Event{#o;constructor(A,e={}){r.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});A=r.converters.DOMString(A);e=r.converters.CloseEventInit(e);super(A,e);this.#o=e}get wasClean(){r.brandCheck(this,CloseEvent);return this.#o.wasClean}get code(){r.brandCheck(this,CloseEvent);return this.#o.code}get reason(){r.brandCheck(this,CloseEvent);return this.#o.reason}}class ErrorEvent extends Event{#o;constructor(A,e){r.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(A,e);A=r.converters.DOMString(A);e=r.converters.ErrorEventInit(e??{});this.#o=e}get message(){r.brandCheck(this,ErrorEvent);return this.#o.message}get filename(){r.brandCheck(this,ErrorEvent);return this.#o.filename}get lineno(){r.brandCheck(this,ErrorEvent);return this.#o.lineno}get colno(){r.brandCheck(this,ErrorEvent);return this.#o.colno}get error(){r.brandCheck(this,ErrorEvent);return this.#o.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:s,origin:s,lastEventId:s,source:s,ports:s,initMessageEvent:s});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:s,code:s,wasClean:s});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:s,filename:s,lineno:s,colno:s,error:s});r.converters.MessagePort=r.interfaceConverter(o);r.converters["sequence"]=r.sequenceConverter(r.converters.MessagePort);const n=[{key:"bubbles",converter:r.converters.boolean,defaultValue:false},{key:"cancelable",converter:r.converters.boolean,defaultValue:false},{key:"composed",converter:r.converters.boolean,defaultValue:false}];r.converters.MessageEventInit=r.dictionaryConverter([...n,{key:"data",converter:r.converters.any,defaultValue:null},{key:"origin",converter:r.converters.USVString,defaultValue:""},{key:"lastEventId",converter:r.converters.DOMString,defaultValue:""},{key:"source",converter:r.nullableConverter(r.converters.MessagePort),defaultValue:null},{key:"ports",converter:r.converters["sequence"],get defaultValue(){return[]}}]);r.converters.CloseEventInit=r.dictionaryConverter([...n,{key:"wasClean",converter:r.converters.boolean,defaultValue:false},{key:"code",converter:r.converters["unsigned short"],defaultValue:0},{key:"reason",converter:r.converters.USVString,defaultValue:""}]);r.converters.ErrorEventInit=r.dictionaryConverter([...n,{key:"message",converter:r.converters.DOMString,defaultValue:""},{key:"filename",converter:r.converters.USVString,defaultValue:""},{key:"lineno",converter:r.converters["unsigned long"],defaultValue:0},{key:"colno",converter:r.converters["unsigned long"],defaultValue:0},{key:"error",converter:r.converters.any}]);A.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},5444:(A,e,t)=>{"use strict";const{maxUnsigned16Bit:r}=t(9188);let s;try{s=t(6113)}catch{}class WebsocketFrameSend{constructor(A){this.frameData=A;this.maskKey=s.randomBytes(4)}createFrame(A){const e=this.frameData?.byteLength??0;let t=e;let s=6;if(e>r){s+=8;t=127}else if(e>125){s+=2;t=126}const o=Buffer.allocUnsafe(e+s);o[0]=o[1]=0;o[0]|=128;o[0]=(o[0]&240)+A; +/*! ws. MIT License. Einar Otto Stangvik */o[s-4]=this.maskKey[0];o[s-3]=this.maskKey[1];o[s-2]=this.maskKey[2];o[s-1]=this.maskKey[3];o[1]=t;if(t===126){o.writeUInt16BE(e,2)}else if(t===127){o[2]=o[3]=0;o.writeUIntBE(e,4,6)}o[1]|=128;for(let A=0;A{"use strict";const{Writable:r}=t(2781);const s=t(7643);const{parserStates:o,opcodes:n,states:i,emptyBuffer:a}=t(9188);const{kReadyState:E,kSentClose:g,kResponse:Q,kReceivedClose:c}=t(7578);const{isValidStatusCode:C,failWebsocketConnection:B,websocketMessageReceived:I}=t(5515);const{WebsocketFrameSend:h}=t(5444);const l={};l.ping=s.channel("undici:websocket:ping");l.pong=s.channel("undici:websocket:pong");class ByteParser extends r{#n=[];#i=0;#a=o.INFO;#E={};#g=[];constructor(A){super();this.ws=A}_write(A,e,t){this.#n.push(A);this.#i+=A.length;this.run(t)}run(A){while(true){if(this.#a===o.INFO){if(this.#i<2){return A()}const e=this.consume(2);this.#E.fin=(e[0]&128)!==0;this.#E.opcode=e[0]&15;this.#E.originalOpcode??=this.#E.opcode;this.#E.fragmented=!this.#E.fin&&this.#E.opcode!==n.CONTINUATION;if(this.#E.fragmented&&this.#E.opcode!==n.BINARY&&this.#E.opcode!==n.TEXT){B(this.ws,"Invalid frame type was fragmented.");return}const t=e[1]&127;if(t<=125){this.#E.payloadLength=t;this.#a=o.READ_DATA}else if(t===126){this.#a=o.PAYLOADLENGTH_16}else if(t===127){this.#a=o.PAYLOADLENGTH_64}if(this.#E.fragmented&&t>125){B(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#E.opcode===n.PING||this.#E.opcode===n.PONG||this.#E.opcode===n.CLOSE)&&t>125){B(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#E.opcode===n.CLOSE){if(t===1){B(this.ws,"Received close frame with a 1-byte body.");return}const A=this.consume(t);this.#E.closeInfo=this.parseCloseBody(false,A);if(!this.ws[g]){const A=Buffer.allocUnsafe(2);A.writeUInt16BE(this.#E.closeInfo.code,0);const e=new h(A);this.ws[Q].socket.write(e.createFrame(n.CLOSE),(A=>{if(!A){this.ws[g]=true}}))}this.ws[E]=i.CLOSING;this.ws[c]=true;this.end();return}else if(this.#E.opcode===n.PING){const e=this.consume(t);if(!this.ws[c]){const A=new h(e);this.ws[Q].socket.write(A.createFrame(n.PONG));if(l.ping.hasSubscribers){l.ping.publish({payload:e})}}this.#a=o.INFO;if(this.#i>0){continue}else{A();return}}else if(this.#E.opcode===n.PONG){const e=this.consume(t);if(l.pong.hasSubscribers){l.pong.publish({payload:e})}if(this.#i>0){continue}else{A();return}}}else if(this.#a===o.PAYLOADLENGTH_16){if(this.#i<2){return A()}const e=this.consume(2);this.#E.payloadLength=e.readUInt16BE(0);this.#a=o.READ_DATA}else if(this.#a===o.PAYLOADLENGTH_64){if(this.#i<8){return A()}const e=this.consume(8);const t=e.readUInt32BE(0);if(t>2**31-1){B(this.ws,"Received payload length > 2^31 bytes.");return}const r=e.readUInt32BE(4);this.#E.payloadLength=(t<<8)+r;this.#a=o.READ_DATA}else if(this.#a===o.READ_DATA){if(this.#i=this.#E.payloadLength){const A=this.consume(this.#E.payloadLength);this.#g.push(A);if(!this.#E.fragmented||this.#E.fin&&this.#E.opcode===n.CONTINUATION){const A=Buffer.concat(this.#g);I(this.ws,this.#E.originalOpcode,A);this.#E={};this.#g.length=0}this.#a=o.INFO}}if(this.#i>0){continue}else{A();break}}}consume(A){if(A>this.#i){return null}else if(A===0){return a}if(this.#n[0].length===A){this.#i-=this.#n[0].length;return this.#n.shift()}const e=Buffer.allocUnsafe(A);let t=0;while(t!==A){const r=this.#n[0];const{length:s}=r;if(s+t===A){e.set(this.#n.shift(),t);break}else if(s+t>A){e.set(r.subarray(0,A-t),t);this.#n[0]=r.subarray(A-t);break}else{e.set(this.#n.shift(),t);t+=r.length}}this.#i-=A;return e}parseCloseBody(A,e){let t;if(e.length>=2){t=e.readUInt16BE(0)}if(A){if(!C(t)){return null}return{code:t}}let r=e.subarray(2);if(r[0]===239&&r[1]===187&&r[2]===191){r=r.subarray(3)}if(t!==undefined&&!C(t)){return null}try{r=new TextDecoder("utf-8",{fatal:true}).decode(r)}catch{return null}return{code:t,reason:r}}get closingInfo(){return this.#E.closeInfo}}A.exports={ByteParser:ByteParser}},7578:A=>{"use strict";A.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},5515:(A,e,t)=>{"use strict";const{kReadyState:r,kController:s,kResponse:o,kBinaryType:n,kWebSocketURL:i}=t(7578);const{states:a,opcodes:E}=t(9188);const{MessageEvent:g,ErrorEvent:Q}=t(2611);function isEstablished(A){return A[r]===a.OPEN}function isClosing(A){return A[r]===a.CLOSING}function isClosed(A){return A[r]===a.CLOSED}function fireEvent(A,e,t=Event,r){const s=new t(A,r);e.dispatchEvent(s)}function websocketMessageReceived(A,e,t){if(A[r]!==a.OPEN){return}let s;if(e===E.TEXT){try{s=new TextDecoder("utf-8",{fatal:true}).decode(t)}catch{failWebsocketConnection(A,"Received invalid UTF-8 in text frame.");return}}else if(e===E.BINARY){if(A[n]==="blob"){s=new Blob([t])}else{s=new Uint8Array(t).buffer}}fireEvent("message",A,g,{origin:A[i].origin,data:s})}function isValidSubprotocol(A){if(A.length===0){return false}for(const e of A){const A=e.charCodeAt(0);if(A<33||A>126||e==="("||e===")"||e==="<"||e===">"||e==="@"||e===","||e===";"||e===":"||e==="\\"||e==='"'||e==="/"||e==="["||e==="]"||e==="?"||e==="="||e==="{"||e==="}"||A===32||A===9){return false}}return true}function isValidStatusCode(A){if(A>=1e3&&A<1015){return A!==1004&&A!==1005&&A!==1006}return A>=3e3&&A<=4999}function failWebsocketConnection(A,e){const{[s]:t,[o]:r}=A;t.abort();if(r?.socket&&!r.socket.destroyed){r.socket.destroy()}if(e){fireEvent("error",A,Q,{error:new Error(e)})}}A.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},4284:(A,e,t)=>{"use strict";const{webidl:r}=t(1744);const{DOMException:s}=t(1037);const{URLSerializer:o}=t(685);const{getGlobalOrigin:n}=t(1246);const{staticPropertyDescriptors:i,states:a,opcodes:E,emptyBuffer:g}=t(9188);const{kWebSocketURL:Q,kReadyState:c,kController:C,kBinaryType:B,kResponse:I,kSentClose:h,kByteParser:l}=t(7578);const{isEstablished:u,isClosing:d,isValidSubprotocol:f,failWebsocketConnection:p,fireEvent:y}=t(5515);const{establishWebSocketConnection:R}=t(5354);const{WebsocketFrameSend:D}=t(5444);const{ByteParser:w}=t(1688);const{kEnumerableProperty:k,isBlobLike:m}=t(3983);const{getGlobalDispatcher:b}=t(1892);const{types:F}=t(3837);let S=false;class WebSocket extends EventTarget{#Q={open:null,error:null,close:null,message:null};#c=0;#C="";#B="";constructor(A,e=[]){super();r.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!S){S=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const t=r.converters["DOMString or sequence or WebSocketInit"](e);A=r.converters.USVString(A);e=t.protocols;const o=n();let i;try{i=new URL(A,o)}catch(A){throw new s(A,"SyntaxError")}if(i.protocol==="http:"){i.protocol="ws:"}else if(i.protocol==="https:"){i.protocol="wss:"}if(i.protocol!=="ws:"&&i.protocol!=="wss:"){throw new s(`Expected a ws: or wss: protocol, got ${i.protocol}`,"SyntaxError")}if(i.hash||i.href.endsWith("#")){throw new s("Got fragment","SyntaxError")}if(typeof e==="string"){e=[e]}if(e.length!==new Set(e.map((A=>A.toLowerCase()))).size){throw new s("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(e.length>0&&!e.every((A=>f(A)))){throw new s("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[Q]=new URL(i.href);this[C]=R(i,e,this,(A=>this.#I(A)),t);this[c]=WebSocket.CONNECTING;this[B]="blob"}close(A=undefined,e=undefined){r.brandCheck(this,WebSocket);if(A!==undefined){A=r.converters["unsigned short"](A,{clamp:true})}if(e!==undefined){e=r.converters.USVString(e)}if(A!==undefined){if(A!==1e3&&(A<3e3||A>4999)){throw new s("invalid code","InvalidAccessError")}}let t=0;if(e!==undefined){t=Buffer.byteLength(e);if(t>123){throw new s(`Reason must be less than 123 bytes; received ${t}`,"SyntaxError")}}if(this[c]===WebSocket.CLOSING||this[c]===WebSocket.CLOSED){}else if(!u(this)){p(this,"Connection was closed before it was established.");this[c]=WebSocket.CLOSING}else if(!d(this)){const r=new D;if(A!==undefined&&e===undefined){r.frameData=Buffer.allocUnsafe(2);r.frameData.writeUInt16BE(A,0)}else if(A!==undefined&&e!==undefined){r.frameData=Buffer.allocUnsafe(2+t);r.frameData.writeUInt16BE(A,0);r.frameData.write(e,2,"utf-8")}else{r.frameData=g}const s=this[I].socket;s.write(r.createFrame(E.CLOSE),(A=>{if(!A){this[h]=true}}));this[c]=a.CLOSING}else{this[c]=WebSocket.CLOSING}}send(A){r.brandCheck(this,WebSocket);r.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});A=r.converters.WebSocketSendData(A);if(this[c]===WebSocket.CONNECTING){throw new s("Sent before connected.","InvalidStateError")}if(!u(this)||d(this)){return}const e=this[I].socket;if(typeof A==="string"){const t=Buffer.from(A);const r=new D(t);const s=r.createFrame(E.TEXT);this.#c+=t.byteLength;e.write(s,(()=>{this.#c-=t.byteLength}))}else if(F.isArrayBuffer(A)){const t=Buffer.from(A);const r=new D(t);const s=r.createFrame(E.BINARY);this.#c+=t.byteLength;e.write(s,(()=>{this.#c-=t.byteLength}))}else if(ArrayBuffer.isView(A)){const t=Buffer.from(A,A.byteOffset,A.byteLength);const r=new D(t);const s=r.createFrame(E.BINARY);this.#c+=t.byteLength;e.write(s,(()=>{this.#c-=t.byteLength}))}else if(m(A)){const t=new D;A.arrayBuffer().then((A=>{const r=Buffer.from(A);t.frameData=r;const s=t.createFrame(E.BINARY);this.#c+=r.byteLength;e.write(s,(()=>{this.#c-=r.byteLength}))}))}}get readyState(){r.brandCheck(this,WebSocket);return this[c]}get bufferedAmount(){r.brandCheck(this,WebSocket);return this.#c}get url(){r.brandCheck(this,WebSocket);return o(this[Q])}get extensions(){r.brandCheck(this,WebSocket);return this.#B}get protocol(){r.brandCheck(this,WebSocket);return this.#C}get onopen(){r.brandCheck(this,WebSocket);return this.#Q.open}set onopen(A){r.brandCheck(this,WebSocket);if(this.#Q.open){this.removeEventListener("open",this.#Q.open)}if(typeof A==="function"){this.#Q.open=A;this.addEventListener("open",A)}else{this.#Q.open=null}}get onerror(){r.brandCheck(this,WebSocket);return this.#Q.error}set onerror(A){r.brandCheck(this,WebSocket);if(this.#Q.error){this.removeEventListener("error",this.#Q.error)}if(typeof A==="function"){this.#Q.error=A;this.addEventListener("error",A)}else{this.#Q.error=null}}get onclose(){r.brandCheck(this,WebSocket);return this.#Q.close}set onclose(A){r.brandCheck(this,WebSocket);if(this.#Q.close){this.removeEventListener("close",this.#Q.close)}if(typeof A==="function"){this.#Q.close=A;this.addEventListener("close",A)}else{this.#Q.close=null}}get onmessage(){r.brandCheck(this,WebSocket);return this.#Q.message}set onmessage(A){r.brandCheck(this,WebSocket);if(this.#Q.message){this.removeEventListener("message",this.#Q.message)}if(typeof A==="function"){this.#Q.message=A;this.addEventListener("message",A)}else{this.#Q.message=null}}get binaryType(){r.brandCheck(this,WebSocket);return this[B]}set binaryType(A){r.brandCheck(this,WebSocket);if(A!=="blob"&&A!=="arraybuffer"){this[B]="blob"}else{this[B]=A}}#I(A){this[I]=A;const e=new w(this);e.on("drain",(function onParserDrain(){this.ws[I].socket.resume()}));A.socket.ws=this;this[l]=e;this[c]=a.OPEN;const t=A.headersList.get("sec-websocket-extensions");if(t!==null){this.#B=t}const r=A.headersList.get("sec-websocket-protocol");if(r!==null){this.#C=r}y("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=a.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=a.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=a.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=a.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:i,OPEN:i,CLOSING:i,CLOSED:i,url:k,readyState:k,bufferedAmount:k,onopen:k,onerror:k,onclose:k,close:k,onmessage:k,binaryType:k,send:k,extensions:k,protocol:k,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:i,OPEN:i,CLOSING:i,CLOSED:i});r.converters["sequence"]=r.sequenceConverter(r.converters.DOMString);r.converters["DOMString or sequence"]=function(A){if(r.util.Type(A)==="Object"&&Symbol.iterator in A){return r.converters["sequence"](A)}return r.converters.DOMString(A)};r.converters.WebSocketInit=r.dictionaryConverter([{key:"protocols",converter:r.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:A=>A,get defaultValue(){return b()}},{key:"headers",converter:r.nullableConverter(r.converters.HeadersInit)}]);r.converters["DOMString or sequence or WebSocketInit"]=function(A){if(r.util.Type(A)==="Object"&&!(Symbol.iterator in A)){return r.converters.WebSocketInit(A)}return{protocols:r.converters["DOMString or sequence"](A)}};r.converters.WebSocketSendData=function(A){if(r.util.Type(A)==="Object"){if(m(A)){return r.converters.Blob(A,{strict:false})}if(ArrayBuffer.isView(A)||F.isAnyArrayBuffer(A)){return r.converters.BufferSource(A)}}return r.converters.USVString(A)};A.exports={WebSocket:WebSocket}},4700:function(A,e,t){"use strict";var r=this&&this.__createBinding||(Object.create?function(A,e,t,r){if(r===undefined)r=t;var s=Object.getOwnPropertyDescriptor(e,t);if(!s||("get"in s?!e.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return e[t]}}}Object.defineProperty(A,r,s)}:function(A,e,t,r){if(r===undefined)r=t;A[r]=e[t]});var s=this&&this.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:true,value:e})}:function(A,e){A["default"]=e});var o=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)if(t!=="default"&&Object.prototype.hasOwnProperty.call(A,t))r(e,A,t);s(e,A);return e};Object.defineProperty(e,"__esModule",{value:true});e.facade=void 0;const n=o(t(2186));const i=t(7261);const a=/"[^"]+"|'[^']+'|\S+/g;const E={foo:{type:"boolean",short:"f"},alg:{type:"string"}};async function facade(A=process.argv.slice(2).join(" ")){try{if(process.env.GITHUB_ACTION){A=n.getInput("transmute")}const e=A.match(a)||[];const t=(0,i.parseArgs)({args:e,options:E,allowPositionals:true});console.log(t)}catch(A){n.setFailed("💀 Internal Error.")}}e.facade=facade},9491:A=>{"use strict";A.exports=require("assert")},852:A=>{"use strict";A.exports=require("async_hooks")},4300:A=>{"use strict";A.exports=require("buffer")},6206:A=>{"use strict";A.exports=require("console")},6113:A=>{"use strict";A.exports=require("crypto")},7643:A=>{"use strict";A.exports=require("diagnostics_channel")},2361:A=>{"use strict";A.exports=require("events")},7147:A=>{"use strict";A.exports=require("fs")},3685:A=>{"use strict";A.exports=require("http")},5158:A=>{"use strict";A.exports=require("http2")},5687:A=>{"use strict";A.exports=require("https")},1808:A=>{"use strict";A.exports=require("net")},5673:A=>{"use strict";A.exports=require("node:events")},4492:A=>{"use strict";A.exports=require("node:stream")},7261:A=>{"use strict";A.exports=require("node:util")},2037:A=>{"use strict";A.exports=require("os")},1017:A=>{"use strict";A.exports=require("path")},4074:A=>{"use strict";A.exports=require("perf_hooks")},3477:A=>{"use strict";A.exports=require("querystring")},2781:A=>{"use strict";A.exports=require("stream")},5356:A=>{"use strict";A.exports=require("stream/web")},1576:A=>{"use strict";A.exports=require("string_decoder")},4404:A=>{"use strict";A.exports=require("tls")},7310:A=>{"use strict";A.exports=require("url")},3837:A=>{"use strict";A.exports=require("util")},9830:A=>{"use strict";A.exports=require("util/types")},1267:A=>{"use strict";A.exports=require("worker_threads")},9796:A=>{"use strict";A.exports=require("zlib")},2960:(A,e,t)=>{"use strict";const r=t(4492).Writable;const s=t(7261).inherits;const o=t(1142);const n=t(1620);const i=t(2032);const a=45;const E=Buffer.from("-");const g=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(A){if(!(this instanceof Dicer)){return new Dicer(A)}r.call(this,A);if(!A||!A.headerFirst&&typeof A.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof A.boundary==="string"){this.setBoundary(A.boundary)}else{this._bparser=undefined}this._headerFirst=A.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:A.partHwm};this._pause=false;const e=this;this._hparser=new i(A);this._hparser.on("header",(function(A){e._inHeader=false;e._part.emit("header",A)}))}s(Dicer,r);Dicer.prototype.emit=function(A){if(A==="finish"&&!this._realFinish){if(!this._finished){const A=this;process.nextTick((function(){A.emit("error",new Error("Unexpected end of multipart data"));if(A._part&&!A._ignoreData){const e=A._isPreamble?"Preamble":"Part";A._part.emit("error",new Error(e+" terminated early due to unexpected end of multipart data"));A._part.push(null);process.nextTick((function(){A._realFinish=true;A.emit("finish");A._realFinish=false}));return}A._realFinish=true;A.emit("finish");A._realFinish=false}))}}else{r.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(A,e,t){if(!this._hparser&&!this._bparser){return t()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new n(this._partOpts);if(this.listenerCount("preamble")!==0){this.emit("preamble",this._part)}else{this._ignore()}}const e=this._hparser.push(A);if(!this._inHeader&&e!==undefined&&e{"use strict";const r=t(5673).EventEmitter;const s=t(7261).inherits;const o=t(1467);const n=t(1142);const i=Buffer.from("\r\n\r\n");const a=/\r\n/g;const E=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(A){r.call(this);A=A||{};const e=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=o(A,"maxHeaderPairs",2e3);this.maxHeaderSize=o(A,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new n(i);this.ss.on("info",(function(A,t,r,s){if(t&&!e.maxed){if(e.nread+s-r>=e.maxHeaderSize){s=e.maxHeaderSize-e.nread+r;e.nread=e.maxHeaderSize;e.maxed=true}else{e.nread+=s-r}e.buffer+=t.toString("binary",r,s)}if(A){e._finish()}}))}s(HeaderParser,r);HeaderParser.prototype.push=function(A){const e=this.ss.push(A);if(this.finished){return e}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const A=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",A)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const A=this.buffer.split(a);const e=A.length;let t,r;for(var s=0;s{"use strict";const r=t(7261).inherits;const s=t(4492).Readable;function PartStream(A){s.call(this,A)}r(PartStream,s);PartStream.prototype._read=function(A){};A.exports=PartStream},1142:(A,e,t)=>{"use strict";const r=t(5673).EventEmitter;const s=t(7261).inherits;function SBMH(A){if(typeof A==="string"){A=Buffer.from(A)}if(!Buffer.isBuffer(A)){throw new TypeError("The needle has to be a String or a Buffer.")}const e=A.length;if(e===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(e>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(e);this._lookbehind_size=0;this._needle=A;this._bufpos=0;this._lookbehind=Buffer.alloc(e);for(var t=0;t=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const t=this._lookbehind_size+o;if(t>0){this.emit("info",false,this._lookbehind,0,t)}this._lookbehind.copy(this._lookbehind,0,t,this._lookbehind_size-t);this._lookbehind_size-=t;A.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=e;this._bufpos=e;return e}}o+=(o>=0)*this._bufpos;if(A.indexOf(t,o)!==-1){o=A.indexOf(t,o);++this.matches;if(o>0){this.emit("info",true,A,this._bufpos,o)}else{this.emit("info",true)}return this._bufpos=o+r}else{o=e-r}while(o0){this.emit("info",false,A,this._bufpos,o{"use strict";const r=t(4492).Writable;const{inherits:s}=t(7261);const o=t(2960);const n=t(2183);const i=t(8306);const a=t(1854);function Busboy(A){if(!(this instanceof Busboy)){return new Busboy(A)}if(typeof A!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof A.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof A.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:e,...t}=A;this.opts={autoDestroy:false,...t};r.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(e);this._finished=false}s(Busboy,r);Busboy.prototype.emit=function(A){if(A==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}r.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(A){const e=a(A["content-type"]);const t={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:A,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:e,preservePath:this.opts.preservePath};if(n.detect.test(e[0])){return new n(this,t)}if(i.detect.test(e[0])){return new i(this,t)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(A,e,t){this._parser.write(A,t)};A.exports=Busboy;A.exports["default"]=Busboy;A.exports.Busboy=Busboy;A.exports.Dicer=o},2183:(A,e,t)=>{"use strict";const{Readable:r}=t(4492);const{inherits:s}=t(7261);const o=t(2960);const n=t(1854);const i=t(4619);const a=t(8647);const E=t(1467);const g=/^boundary$/i;const Q=/^form-data$/i;const c=/^charset$/i;const C=/^filename$/i;const B=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(A,e){let t;let r;const s=this;let I;const h=e.limits;const l=e.isPartAFile||((A,e,t)=>e==="application/octet-stream"||t!==undefined);const u=e.parsedConType||[];const d=e.defCharset||"utf8";const f=e.preservePath;const p={highWaterMark:e.fileHwm};for(t=0,r=u.length;tk){s.parser.removeListener("part",onPart);s.parser.on("part",skipPart);A.hitPartsLimit=true;A.emit("partsLimit");return skipPart(e)}if(L){const A=L;A.emit("end");A.removeAllListeners("end")}e.on("header",(function(o){let E;let g;let I;let h;let u;let k;let m=0;if(o["content-type"]){I=n(o["content-type"][0]);if(I[0]){E=I[0].toLowerCase();for(t=0,r=I.length;tR){const r=R-m+A.length;if(r>0){t.push(A.slice(0,r))}t.truncated=true;t.bytesRead=R;e.removeAllListeners("data");t.emit("limit");return}else if(!t.push(A)){s._pause=true}t.bytesRead=m};M=function(){U=undefined;t.push(null)}}else{if(S===w){if(!A.hitFieldsLimit){A.hitFieldsLimit=true;A.emit("fieldsLimit")}return skipPart(e)}++S;++N;let t="";let r=false;L=e;b=function(A){if((m+=A.length)>y){const s=y-(m-A.length);t+=A.toString("binary",0,s);r=true;e.removeAllListeners("data")}else{t+=A.toString("binary")}};M=function(){L=undefined;if(t.length){t=i(t,"binary",h)}A.emit("field",g,t,false,r,u,E);--N;checkFinished()}}e._readableState.sync=false;e.on("data",b);e.on("end",M)})).on("error",(function(A){if(U){U.emit("error",A)}}))})).on("error",(function(e){A.emit("error",e)})).on("finish",(function(){M=true;checkFinished()}))}Multipart.prototype.write=function(A,e){const t=this.parser.write(A);if(t&&!this._pause){e()}else{this._needDrain=!t;this._cb=e}};Multipart.prototype.end=function(){const A=this;if(A.parser.writable){A.parser.end()}else if(!A._boy._done){process.nextTick((function(){A._boy._done=true;A._boy.emit("finish")}))}};function skipPart(A){A.resume()}function FileStream(A){r.call(this,A);this.bytesRead=0;this.truncated=false}s(FileStream,r);FileStream.prototype._read=function(A){};A.exports=Multipart},8306:(A,e,t)=>{"use strict";const r=t(7100);const s=t(4619);const o=t(1467);const n=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(A,e){const t=e.limits;const s=e.parsedConType;this.boy=A;this.fieldSizeLimit=o(t,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=o(t,"fieldNameSize",100);this.fieldsLimit=o(t,"fields",Infinity);let i;for(var a=0,E=s.length;an){this._key+=this.decoder.write(A.toString("binary",n,t))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();n=t+1}else if(r!==undefined){++this._fields;let t;const o=this._keyTrunc;if(r>n){t=this._key+=this.decoder.write(A.toString("binary",n,r))}else{t=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(t.length){this.boy.emit("field",s(t,"binary",this.charset),"",o,false)}n=r+1;if(this._fields===this.fieldsLimit){return e()}}else if(this._hitLimit){if(o>n){this._key+=this.decoder.write(A.toString("binary",n,o))}n=o;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(nn){this._val+=this.decoder.write(A.toString("binary",n,r))}this.boy.emit("field",s(this._key,"binary",this.charset),s(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();n=r+1;if(this._fields===this.fieldsLimit){return e()}}else if(this._hitLimit){if(o>n){this._val+=this.decoder.write(A.toString("binary",n,o))}n=o;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(n0){this.boy.emit("field",s(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",s(this._key,"binary",this.charset),s(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};A.exports=UrlEncoded},7100:A=>{"use strict";const e=/\+/g;const t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(A){A=A.replace(e," ");let r="";let s=0;let o=0;const n=A.length;for(;so){r+=A.substring(o,s);o=s}this.buffer="";++o}}if(o{"use strict";A.exports=function basename(A){if(typeof A!=="string"){return""}for(var e=A.length-1;e>=0;--e){switch(A.charCodeAt(e)){case 47:case 92:A=A.slice(e+1);return A===".."||A==="."?"":A}}return A===".."||A==="."?"":A}},4619:function(A){"use strict";const e=new TextDecoder("utf-8");const t=new Map([["utf-8",e],["utf8",e]]);function getDecoder(A){let e;while(true){switch(A){case"utf-8":case"utf8":return r.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 r.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return r.utf16le;case"base64":return r.base64;default:if(e===undefined){e=true;A=A.toLowerCase();continue}return r.other.bind(A)}}}const r={utf8:(A,e)=>{if(A.length===0){return""}if(typeof A==="string"){A=Buffer.from(A,e)}return A.utf8Slice(0,A.length)},latin1:(A,e)=>{if(A.length===0){return""}if(typeof A==="string"){return A}return A.latin1Slice(0,A.length)},utf16le:(A,e)=>{if(A.length===0){return""}if(typeof A==="string"){A=Buffer.from(A,e)}return A.ucs2Slice(0,A.length)},base64:(A,e)=>{if(A.length===0){return""}if(typeof A==="string"){A=Buffer.from(A,e)}return A.base64Slice(0,A.length)},other:(A,e)=>{if(A.length===0){return""}if(typeof A==="string"){A=Buffer.from(A,e)}if(t.has(this.toString())){try{return t.get(this).decode(A)}catch{}}return typeof A==="string"?A:A.toString()}};function decodeText(A,e,t){if(A){return getDecoder(t)(A,e)}return A}A.exports=decodeText},1467:A=>{"use strict";A.exports=function getLimit(A,e,t){if(!A||A[e]===undefined||A[e]===null){return t}if(typeof A[e]!=="number"||isNaN(A[e])){throw new TypeError("Limit "+e+" is not a valid number")}return A[e]}},1854:(A,e,t)=>{"use strict";const r=t(4619);const s=/%[a-fA-F0-9][a-fA-F0-9]/g;const o={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"","%08":"\b","%09":"\t","%0a":"\n","%0A":"\n","%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"","%1B":"","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"","%7F":"","%80":"€","%81":"","%82":"‚","%83":"ƒ","%84":"„","%85":"…","%86":"†","%87":"‡","%88":"ˆ","%89":"‰","%8a":"Š","%8A":"Š","%8b":"‹","%8B":"‹","%8c":"Œ","%8C":"Œ","%8d":"","%8D":"","%8e":"Ž","%8E":"Ž","%8f":"","%8F":"","%90":"","%91":"‘","%92":"’","%93":"“","%94":"”","%95":"•","%96":"–","%97":"—","%98":"˜","%99":"™","%9a":"š","%9A":"š","%9b":"›","%9B":"›","%9c":"œ","%9C":"œ","%9d":"","%9D":"","%9e":"ž","%9E":"ž","%9f":"Ÿ","%9F":"Ÿ","%a0":" ","%A0":" ","%a1":"¡","%A1":"¡","%a2":"¢","%A2":"¢","%a3":"£","%A3":"£","%a4":"¤","%A4":"¤","%a5":"¥","%A5":"¥","%a6":"¦","%A6":"¦","%a7":"§","%A7":"§","%a8":"¨","%A8":"¨","%a9":"©","%A9":"©","%aa":"ª","%Aa":"ª","%aA":"ª","%AA":"ª","%ab":"«","%Ab":"«","%aB":"«","%AB":"«","%ac":"¬","%Ac":"¬","%aC":"¬","%AC":"¬","%ad":"­","%Ad":"­","%aD":"­","%AD":"­","%ae":"®","%Ae":"®","%aE":"®","%AE":"®","%af":"¯","%Af":"¯","%aF":"¯","%AF":"¯","%b0":"°","%B0":"°","%b1":"±","%B1":"±","%b2":"²","%B2":"²","%b3":"³","%B3":"³","%b4":"´","%B4":"´","%b5":"µ","%B5":"µ","%b6":"¶","%B6":"¶","%b7":"·","%B7":"·","%b8":"¸","%B8":"¸","%b9":"¹","%B9":"¹","%ba":"º","%Ba":"º","%bA":"º","%BA":"º","%bb":"»","%Bb":"»","%bB":"»","%BB":"»","%bc":"¼","%Bc":"¼","%bC":"¼","%BC":"¼","%bd":"½","%Bd":"½","%bD":"½","%BD":"½","%be":"¾","%Be":"¾","%bE":"¾","%BE":"¾","%bf":"¿","%Bf":"¿","%bF":"¿","%BF":"¿","%c0":"À","%C0":"À","%c1":"Á","%C1":"Á","%c2":"Â","%C2":"Â","%c3":"Ã","%C3":"Ã","%c4":"Ä","%C4":"Ä","%c5":"Å","%C5":"Å","%c6":"Æ","%C6":"Æ","%c7":"Ç","%C7":"Ç","%c8":"È","%C8":"È","%c9":"É","%C9":"É","%ca":"Ê","%Ca":"Ê","%cA":"Ê","%CA":"Ê","%cb":"Ë","%Cb":"Ë","%cB":"Ë","%CB":"Ë","%cc":"Ì","%Cc":"Ì","%cC":"Ì","%CC":"Ì","%cd":"Í","%Cd":"Í","%cD":"Í","%CD":"Í","%ce":"Î","%Ce":"Î","%cE":"Î","%CE":"Î","%cf":"Ï","%Cf":"Ï","%cF":"Ï","%CF":"Ï","%d0":"Ð","%D0":"Ð","%d1":"Ñ","%D1":"Ñ","%d2":"Ò","%D2":"Ò","%d3":"Ó","%D3":"Ó","%d4":"Ô","%D4":"Ô","%d5":"Õ","%D5":"Õ","%d6":"Ö","%D6":"Ö","%d7":"×","%D7":"×","%d8":"Ø","%D8":"Ø","%d9":"Ù","%D9":"Ù","%da":"Ú","%Da":"Ú","%dA":"Ú","%DA":"Ú","%db":"Û","%Db":"Û","%dB":"Û","%DB":"Û","%dc":"Ü","%Dc":"Ü","%dC":"Ü","%DC":"Ü","%dd":"Ý","%Dd":"Ý","%dD":"Ý","%DD":"Ý","%de":"Þ","%De":"Þ","%dE":"Þ","%DE":"Þ","%df":"ß","%Df":"ß","%dF":"ß","%DF":"ß","%e0":"à","%E0":"à","%e1":"á","%E1":"á","%e2":"â","%E2":"â","%e3":"ã","%E3":"ã","%e4":"ä","%E4":"ä","%e5":"å","%E5":"å","%e6":"æ","%E6":"æ","%e7":"ç","%E7":"ç","%e8":"è","%E8":"è","%e9":"é","%E9":"é","%ea":"ê","%Ea":"ê","%eA":"ê","%EA":"ê","%eb":"ë","%Eb":"ë","%eB":"ë","%EB":"ë","%ec":"ì","%Ec":"ì","%eC":"ì","%EC":"ì","%ed":"í","%Ed":"í","%eD":"í","%ED":"í","%ee":"î","%Ee":"î","%eE":"î","%EE":"î","%ef":"ï","%Ef":"ï","%eF":"ï","%EF":"ï","%f0":"ð","%F0":"ð","%f1":"ñ","%F1":"ñ","%f2":"ò","%F2":"ò","%f3":"ó","%F3":"ó","%f4":"ô","%F4":"ô","%f5":"õ","%F5":"õ","%f6":"ö","%F6":"ö","%f7":"÷","%F7":"÷","%f8":"ø","%F8":"ø","%f9":"ù","%F9":"ù","%fa":"ú","%Fa":"ú","%fA":"ú","%FA":"ú","%fb":"û","%Fb":"û","%fB":"û","%FB":"û","%fc":"ü","%Fc":"ü","%fC":"ü","%FC":"ü","%fd":"ý","%Fd":"ý","%fD":"ý","%FD":"ý","%fe":"þ","%Fe":"þ","%fE":"þ","%FE":"þ","%ff":"ÿ","%Ff":"ÿ","%fF":"ÿ","%FF":"ÿ"};function encodedReplacer(A){return o[A]}const n=0;const i=1;const a=2;const E=3;function parseParams(A){const e=[];let t=n;let o="";let g=false;let Q=false;let c=0;let C="";const B=A.length;for(var I=0;I{"use strict";var A=t;Object.defineProperty(A,"__esModule",{value:true});const e=__nccwpck_require__(4700);(0,e.facade)()})();module.exports=t})(); \ No newline at end of file diff --git a/package.json b/package.json index 91fe081a..bd4a3305 100644 --- a/package.json +++ b/package.json @@ -49,9 +49,7 @@ }, "homepage": "https://github.com/transmute-industries/transmute#readme", "dependencies": { - "@actions/core": "^1.10.1", - "dotenv": "^16.4.5", - "yargs": "^17.7.2" + "@actions/core": "^1.10.1" }, "devDependencies": { "@types/jest": "^29.2.6", @@ -64,4 +62,4 @@ "ts-jest": "^29.0.3", "typescript": "^4.9.4" } -} +} \ No newline at end of file diff --git a/scripts/bundle-contexts.js b/scripts/bundle-contexts.js deleted file mode 100644 index 2dfc3202..00000000 --- a/scripts/bundle-contexts.js +++ /dev/null @@ -1,24 +0,0 @@ -/* eslint-disable @typescript-eslint/no-var-requires */ -/* eslint-disable no-undef */ -const fs = require('fs'); -const axios = require('axios'); -const contextsUrls = [ - 'https://www.w3.org/ns/credentials/v2', - 'https://www.w3.org/2018/credentials/v1', - 'https://w3id.org/security/data-integrity/v1', - 'https://w3id.org/vc-revocation-list-2020/v1', - 'https://w3id.org/vc/status-list/2021/v1', - 'https://w3id.org/traceability/v1', - 'https://www.w3.org/ns/did/v1', - 'https://www.w3.org/ns/credentials/examples/v2' -]; - -(async ()=>{ - console.log('💀 @context drift...'); - const contexts = {} - for (const contextUrl of contextsUrls){ - const response = await axios.get(contextUrl) - contexts[contextUrl] = response.data - } - fs.writeFileSync(`./src/api/rdf/contexts/contexts.json`, Buffer.from(JSON.stringify(contexts))) -})() \ No newline at end of file diff --git a/scripts/local-sanity.sh b/scripts/local-sanity.sh new file mode 100755 index 00000000..fb9a0a68 --- /dev/null +++ b/scripts/local-sanity.sh @@ -0,0 +1 @@ +npm run transmute -- jose key generate --alg ES256 \ No newline at end of file diff --git a/src/action/facade.ts b/src/action/facade.ts new file mode 100644 index 00000000..2793c8c2 --- /dev/null +++ b/src/action/facade.ts @@ -0,0 +1,30 @@ +import * as core from '@actions/core' + +import { parseArgs } from "node:util"; + +// https://stackoverflow.com/questions/29655760/convert-a-string-into-shell-arguments +const re = /"[^"]+"|'[^']+'|\S+/g + +// prefer to parse options deeper +const options = { + foo: { + type: 'boolean' as "string" | "boolean", + short: 'f', + }, + alg: { + type: 'string' as "string" | "boolean", + }, +}; + +export async function facade(prompt: string = process.argv.slice(2).join(' ')) { + try { + if (process.env.GITHUB_ACTION) { + prompt = core.getInput("transmute") + } + const promptArgs = prompt.match(re) || [] + const parsed = parseArgs({ args: promptArgs, options, allowPositionals: true }); + console.log(parsed) + } catch (error) { + core.setFailed('💀 Internal Error.') + } +} diff --git a/src/action/run.ts b/src/action/run.ts index 597fe111..33270098 100644 --- a/src/action/run.ts +++ b/src/action/run.ts @@ -1,19 +1,5 @@ #!/usr/bin/env node -import * as core from '@actions/core' +import { facade } from "./facade" -import cli from '../cli' - -async function run() { - if (process.env.GITHUB_ACTION) { - try { - console.warn('todo github action') - } catch (error) { - core.setFailed((error as Error).message) - } - } else { - await cli.init() - } -} - -run() +facade() diff --git a/src/cli/index.ts b/src/cli/index.ts deleted file mode 100644 index 4b98eb68..00000000 --- a/src/cli/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -import yargs from 'yargs' - -import jose from './jose' - -const init = () => { - yargs.scriptName('✨') - - yargs.command(jose) - - yargs.help().alias('help', 'h').demandCommand().argv -} - -const cli = { init } - -export default cli diff --git a/src/cli/jose/index.ts b/src/cli/jose/index.ts deleted file mode 100644 index 83fc14e7..00000000 --- a/src/cli/jose/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -import * as jose from './module' -export default jose \ No newline at end of file diff --git a/src/cli/jose/key/generate.ts b/src/cli/jose/key/generate.ts deleted file mode 100644 index f2959c75..00000000 --- a/src/cli/jose/key/generate.ts +++ /dev/null @@ -1,27 +0,0 @@ -import fs from "fs" -import path from "path" - -interface RequestDiagnose { - input: string // path to input file - output?: string // path to output file -} - -const generate = async (argv: RequestDiagnose) => { - // const { input, output } = argv - - // const payload = fs.readFileSync(path.resolve(process.cwd(), input)) - // // TODO: use @transmute/edn - // const edn = await cose.cbor.diagnose(payload) - // if (output) { - // fs.writeFileSync( - // path.resolve(process.cwd(), output), - // edn - // ) - // } else { - // console.info(edn) - // } - console.log('todo jose key generate') - -} - -export default generate \ No newline at end of file diff --git a/src/cli/jose/key/index.ts b/src/cli/jose/key/index.ts deleted file mode 100644 index 6acab981..00000000 --- a/src/cli/jose/key/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import generate from "./generate" - - -const key = { generate } - -export default key \ No newline at end of file diff --git a/src/cli/jose/module.ts b/src/cli/jose/module.ts deleted file mode 100644 index 82f04542..00000000 --- a/src/cli/jose/module.ts +++ /dev/null @@ -1,33 +0,0 @@ - - -import key from "./key" - -export const action = `jose` - -export const command = `${action} ` - -export const describe = `${action} operations` - -const resources = { - key -} - -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', { - describe: `The ${action} resource`, - type: 'string', - }) - .positional('action', { - describe: `The operation on the ${action} resource`, - type: 'string', - }) -} - diff --git a/src/index.ts b/src/index.ts index 377eaec2..d0680df1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,5 @@ -const cli = {} +import { facade } from './action/facade' + +const cli = { facade } export default cli \ No newline at end of file diff --git a/tests/cli.test.ts b/tests/cli.test.ts index 7759ef61..f94da2c5 100644 --- a/tests/cli.test.ts +++ b/tests/cli.test.ts @@ -1,5 +1,7 @@ import cli from '../src' -it('src exports cli', () => { - expect(cli).toBeDefined() +it('cli exports facade', async () => { + await cli.facade(` +jose key generate --alg ES256 +`) }) \ No newline at end of file