"use strict";
/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
exports.id = "vendors-node_modules_ky_distribution_index_js";
exports.ids = ["vendors-node_modules_ky_distribution_index_js"];
exports.modules = {

/***/ "../node_modules/ky/distribution/core/Ky.js":
/*!**************************************************!*\
  !*** ../node_modules/ky/distribution/core/Ky.js ***!
  \**************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Ky: () => (/* binding */ Ky)\n/* harmony export */ });\n/* harmony import */ var _errors_HTTPError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../errors/HTTPError.js */ \"../node_modules/ky/distribution/errors/HTTPError.js\");\n/* harmony import */ var _errors_TimeoutError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../errors/TimeoutError.js */ \"../node_modules/ky/distribution/errors/TimeoutError.js\");\n/* harmony import */ var _utils_merge_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/merge.js */ \"../node_modules/ky/distribution/utils/merge.js\");\n/* harmony import */ var _utils_normalize_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/normalize.js */ \"../node_modules/ky/distribution/utils/normalize.js\");\n/* harmony import */ var _utils_timeout_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/timeout.js */ \"../node_modules/ky/distribution/utils/timeout.js\");\n/* harmony import */ var _utils_delay_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/delay.js */ \"../node_modules/ky/distribution/utils/delay.js\");\n/* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants.js */ \"../node_modules/ky/distribution/core/constants.js\");\n\n\n\n\n\n\n\nclass Ky {\n    // eslint-disable-next-line @typescript-eslint/promise-function-async\n    static create(input, options) {\n        const ky = new Ky(input, options);\n        const fn = async () => {\n            if (ky._options.timeout > _constants_js__WEBPACK_IMPORTED_MODULE_0__.maxSafeTimeout) {\n                throw new RangeError(`The \\`timeout\\` option cannot be greater than ${_constants_js__WEBPACK_IMPORTED_MODULE_0__.maxSafeTimeout}`);\n            }\n            // Delay the fetch so that body method shortcuts can set the Accept header\n            await Promise.resolve();\n            let response = await ky._fetch();\n            for (const hook of ky._options.hooks.afterResponse) {\n                // eslint-disable-next-line no-await-in-loop\n                const modifiedResponse = await hook(ky.request, ky._options, ky._decorateResponse(response.clone()));\n                if (modifiedResponse instanceof globalThis.Response) {\n                    response = modifiedResponse;\n                }\n            }\n            ky._decorateResponse(response);\n            if (!response.ok && ky._options.throwHttpErrors) {\n                let error = new _errors_HTTPError_js__WEBPACK_IMPORTED_MODULE_1__.HTTPError(response, ky.request, ky._options);\n                for (const hook of ky._options.hooks.beforeError) {\n                    // eslint-disable-next-line no-await-in-loop\n                    error = await hook(error);\n                }\n                throw error;\n            }\n            // If `onDownloadProgress` is passed, it uses the stream API internally\n            /* istanbul ignore next */\n            if (ky._options.onDownloadProgress) {\n                if (typeof ky._options.onDownloadProgress !== 'function') {\n                    throw new TypeError('The `onDownloadProgress` option must be a function');\n                }\n                if (!_constants_js__WEBPACK_IMPORTED_MODULE_0__.supportsResponseStreams) {\n                    throw new Error('Streams are not supported in your environment. `ReadableStream` is missing.');\n                }\n                return ky._stream(response.clone(), ky._options.onDownloadProgress);\n            }\n            return response;\n        };\n        const isRetriableMethod = ky._options.retry.methods.includes(ky.request.method.toLowerCase());\n        const result = (isRetriableMethod ? ky._retry(fn) : fn());\n        for (const [type, mimeType] of Object.entries(_constants_js__WEBPACK_IMPORTED_MODULE_0__.responseTypes)) {\n            result[type] = async () => {\n                // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n                ky.request.headers.set('accept', ky.request.headers.get('accept') || mimeType);\n                const awaitedResult = await result;\n                const response = awaitedResult.clone();\n                if (type === 'json') {\n                    if (response.status === 204) {\n                        return '';\n                    }\n                    const arrayBuffer = await response.clone().arrayBuffer();\n                    const responseSize = arrayBuffer.byteLength;\n                    if (responseSize === 0) {\n                        return '';\n                    }\n                    if (options.parseJson) {\n                        return options.parseJson(await response.text());\n                    }\n                }\n                return response[type]();\n            };\n        }\n        return result;\n    }\n    // eslint-disable-next-line complexity\n    constructor(input, options = {}) {\n        Object.defineProperty(this, \"request\", {\n            enumerable: true,\n            configurable: true,\n            writable: true,\n            value: void 0\n        });\n        Object.defineProperty(this, \"abortController\", {\n            enumerable: true,\n            configurable: true,\n            writable: true,\n            value: void 0\n        });\n        Object.defineProperty(this, \"_retryCount\", {\n            enumerable: true,\n            configurable: true,\n            writable: true,\n            value: 0\n        });\n        Object.defineProperty(this, \"_input\", {\n            enumerable: true,\n            configurable: true,\n            writable: true,\n            value: void 0\n        });\n        Object.defineProperty(this, \"_options\", {\n            enumerable: true,\n            configurable: true,\n            writable: true,\n            value: void 0\n        });\n        this._input = input;\n        this._options = {\n            // TODO: credentials can be removed when the spec change is implemented in all browsers. Context: https://www.chromestatus.com/feature/4539473312350208\n            credentials: this._input.credentials || 'same-origin',\n            ...options,\n            headers: (0,_utils_merge_js__WEBPACK_IMPORTED_MODULE_2__.mergeHeaders)(this._input.headers, options.headers),\n            hooks: (0,_utils_merge_js__WEBPACK_IMPORTED_MODULE_2__.deepMerge)({\n                beforeRequest: [],\n                beforeRetry: [],\n                beforeError: [],\n                afterResponse: [],\n            }, options.hooks),\n            method: (0,_utils_normalize_js__WEBPACK_IMPORTED_MODULE_3__.normalizeRequestMethod)(options.method ?? this._input.method),\n            // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n            prefixUrl: String(options.prefixUrl || ''),\n            retry: (0,_utils_normalize_js__WEBPACK_IMPORTED_MODULE_3__.normalizeRetryOptions)(options.retry),\n            throwHttpErrors: options.throwHttpErrors !== false,\n            timeout: typeof options.timeout === 'undefined' ? 10000 : options.timeout,\n            fetch: options.fetch ?? globalThis.fetch.bind(globalThis),\n        };\n        if (typeof this._input !== 'string' && !(this._input instanceof URL || this._input instanceof globalThis.Request)) {\n            throw new TypeError('`input` must be a string, URL, or Request');\n        }\n        if (this._options.prefixUrl && typeof this._input === 'string') {\n            if (this._input.startsWith('/')) {\n                throw new Error('`input` must not begin with a slash when using `prefixUrl`');\n            }\n            if (!this._options.prefixUrl.endsWith('/')) {\n                this._options.prefixUrl += '/';\n            }\n            this._input = this._options.prefixUrl + this._input;\n        }\n        if (_constants_js__WEBPACK_IMPORTED_MODULE_0__.supportsAbortController) {\n            this.abortController = new globalThis.AbortController();\n            if (this._options.signal) {\n                const originalSignal = this._options.signal;\n                this._options.signal.addEventListener('abort', () => {\n                    this.abortController.abort(originalSignal.reason);\n                });\n            }\n            this._options.signal = this.abortController.signal;\n        }\n        if (_constants_js__WEBPACK_IMPORTED_MODULE_0__.supportsRequestStreams) {\n            // @ts-expect-error - Types are outdated.\n            this._options.duplex = 'half';\n        }\n        this.request = new globalThis.Request(this._input, this._options);\n        if (this._options.searchParams) {\n            // eslint-disable-next-line unicorn/prevent-abbreviations\n            const textSearchParams = typeof this._options.searchParams === 'string'\n                ? this._options.searchParams.replace(/^\\?/, '')\n                : new URLSearchParams(this._options.searchParams).toString();\n            // eslint-disable-next-line unicorn/prevent-abbreviations\n            const searchParams = '?' + textSearchParams;\n            const url = this.request.url.replace(/(?:\\?.*?)?(?=#|$)/, searchParams);\n            // To provide correct form boundary, Content-Type header should be deleted each time when new Request instantiated from another one\n            if (((_constants_js__WEBPACK_IMPORTED_MODULE_0__.supportsFormData && this._options.body instanceof globalThis.FormData)\n                || this._options.body instanceof URLSearchParams) && !(this._options.headers && this._options.headers['content-type'])) {\n                this.request.headers.delete('content-type');\n            }\n            // The spread of `this.request` is required as otherwise it misses the `duplex` option for some reason and throws.\n            this.request = new globalThis.Request(new globalThis.Request(url, { ...this.request }), this._options);\n        }\n        if (this._options.json !== undefined) {\n            this._options.body = JSON.stringify(this._options.json);\n            this.request.headers.set('content-type', this._options.headers.get('content-type') ?? 'application/json');\n            this.request = new globalThis.Request(this.request, { body: this._options.body });\n        }\n    }\n    _calculateRetryDelay(error) {\n        this._retryCount++;\n        if (this._retryCount < this._options.retry.limit && !(error instanceof _errors_TimeoutError_js__WEBPACK_IMPORTED_MODULE_4__.TimeoutError)) {\n            if (error instanceof _errors_HTTPError_js__WEBPACK_IMPORTED_MODULE_1__.HTTPError) {\n                if (!this._options.retry.statusCodes.includes(error.response.status)) {\n                    return 0;\n                }\n                const retryAfter = error.response.headers.get('Retry-After');\n                if (retryAfter && this._options.retry.afterStatusCodes.includes(error.response.status)) {\n                    let after = Number(retryAfter);\n                    if (Number.isNaN(after)) {\n                        after = Date.parse(retryAfter) - Date.now();\n                    }\n                    else {\n                        after *= 1000;\n                    }\n                    if (typeof this._options.retry.maxRetryAfter !== 'undefined' && after > this._options.retry.maxRetryAfter) {\n                        return 0;\n                    }\n                    return after;\n                }\n                if (error.response.status === 413) {\n                    return 0;\n                }\n            }\n            const BACKOFF_FACTOR = 0.3;\n            return Math.min(this._options.retry.backoffLimit, BACKOFF_FACTOR * (2 ** (this._retryCount - 1)) * 1000);\n        }\n        return 0;\n    }\n    _decorateResponse(response) {\n        if (this._options.parseJson) {\n            response.json = async () => this._options.parseJson(await response.text());\n        }\n        return response;\n    }\n    async _retry(fn) {\n        try {\n            return await fn();\n            // eslint-disable-next-line @typescript-eslint/no-implicit-any-catch\n        }\n        catch (error) {\n            const ms = Math.min(this._calculateRetryDelay(error), _constants_js__WEBPACK_IMPORTED_MODULE_0__.maxSafeTimeout);\n            if (ms !== 0 && this._retryCount > 0) {\n                await (0,_utils_delay_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(ms, { signal: this._options.signal });\n                for (const hook of this._options.hooks.beforeRetry) {\n                    // eslint-disable-next-line no-await-in-loop\n                    const hookResult = await hook({\n                        request: this.request,\n                        options: this._options,\n                        error: error,\n                        retryCount: this._retryCount,\n                    });\n                    // If `stop` is returned from the hook, the retry process is stopped\n                    if (hookResult === _constants_js__WEBPACK_IMPORTED_MODULE_0__.stop) {\n                        return;\n                    }\n                }\n                return this._retry(fn);\n            }\n            throw error;\n        }\n    }\n    async _fetch() {\n        for (const hook of this._options.hooks.beforeRequest) {\n            // eslint-disable-next-line no-await-in-loop\n            const result = await hook(this.request, this._options);\n            if (result instanceof Request) {\n                this.request = result;\n                break;\n            }\n            if (result instanceof Response) {\n                return result;\n            }\n        }\n        if (this._options.timeout === false) {\n            return this._options.fetch(this.request.clone());\n        }\n        return (0,_utils_timeout_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(this.request.clone(), this.abortController, this._options);\n    }\n    /* istanbul ignore next */\n    _stream(response, onDownloadProgress) {\n        const totalBytes = Number(response.headers.get('content-length')) || 0;\n        let transferredBytes = 0;\n        if (response.status === 204) {\n            if (onDownloadProgress) {\n                onDownloadProgress({ percent: 1, totalBytes, transferredBytes }, new Uint8Array());\n            }\n            return new globalThis.Response(null, {\n                status: response.status,\n                statusText: response.statusText,\n                headers: response.headers,\n            });\n        }\n        return new globalThis.Response(new globalThis.ReadableStream({\n            async start(controller) {\n                const reader = response.body.getReader();\n                if (onDownloadProgress) {\n                    onDownloadProgress({ percent: 0, transferredBytes: 0, totalBytes }, new Uint8Array());\n                }\n                async function read() {\n                    const { done, value } = await reader.read();\n                    if (done) {\n                        controller.close();\n                        return;\n                    }\n                    if (onDownloadProgress) {\n                        transferredBytes += value.byteLength;\n                        const percent = totalBytes === 0 ? 0 : transferredBytes / totalBytes;\n                        onDownloadProgress({ percent, transferredBytes, totalBytes }, value);\n                    }\n                    controller.enqueue(value);\n                    await read();\n                }\n                await read();\n            },\n        }), {\n            status: response.status,\n            statusText: response.statusText,\n            headers: response.headers,\n        });\n    }\n}\n//# sourceMappingURL=Ky.js.map\n\n//# sourceURL=webpack:///../node_modules/ky/distribution/core/Ky.js?");

/***/ }),

/***/ "../node_modules/ky/distribution/core/constants.js":
/*!*********************************************************!*\
  !*** ../node_modules/ky/distribution/core/constants.js ***!
  \*********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   maxSafeTimeout: () => (/* binding */ maxSafeTimeout),\n/* harmony export */   requestMethods: () => (/* binding */ requestMethods),\n/* harmony export */   responseTypes: () => (/* binding */ responseTypes),\n/* harmony export */   stop: () => (/* binding */ stop),\n/* harmony export */   supportsAbortController: () => (/* binding */ supportsAbortController),\n/* harmony export */   supportsFormData: () => (/* binding */ supportsFormData),\n/* harmony export */   supportsRequestStreams: () => (/* binding */ supportsRequestStreams),\n/* harmony export */   supportsResponseStreams: () => (/* binding */ supportsResponseStreams)\n/* harmony export */ });\nconst supportsRequestStreams = (() => {\n    let duplexAccessed = false;\n    let hasContentType = false;\n    const supportsReadableStream = typeof globalThis.ReadableStream === 'function';\n    const supportsRequest = typeof globalThis.Request === 'function';\n    if (supportsReadableStream && supportsRequest) {\n        hasContentType = new globalThis.Request('https://a.com', {\n            body: new globalThis.ReadableStream(),\n            method: 'POST',\n            // @ts-expect-error - Types are outdated.\n            get duplex() {\n                duplexAccessed = true;\n                return 'half';\n            },\n        }).headers.has('Content-Type');\n    }\n    return duplexAccessed && !hasContentType;\n})();\nconst supportsAbortController = typeof globalThis.AbortController === 'function';\nconst supportsResponseStreams = typeof globalThis.ReadableStream === 'function';\nconst supportsFormData = typeof globalThis.FormData === 'function';\nconst requestMethods = ['get', 'post', 'put', 'patch', 'head', 'delete'];\nconst validate = () => undefined;\nvalidate();\nconst responseTypes = {\n    json: 'application/json',\n    text: 'text/*',\n    formData: 'multipart/form-data',\n    arrayBuffer: '*/*',\n    blob: '*/*',\n};\n// The maximum value of a 32bit int (see issue #117)\nconst maxSafeTimeout = 2147483647;\nconst stop = Symbol('stop');\n//# sourceMappingURL=constants.js.map\n\n//# sourceURL=webpack:///../node_modules/ky/distribution/core/constants.js?");

/***/ }),

/***/ "../node_modules/ky/distribution/errors/DOMException.js":
/*!**************************************************************!*\
  !*** ../node_modules/ky/distribution/errors/DOMException.js ***!
  \**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   composeAbortError: () => (/* binding */ composeAbortError)\n/* harmony export */ });\n// DOMException is supported on most modern browsers and Node.js 18+.\n// @see https://developer.mozilla.org/en-US/docs/Web/API/DOMException#browser_compatibility\nconst isDomExceptionSupported = Boolean(globalThis.DOMException);\n// TODO: When targeting Node.js 18, use `signal.throwIfAborted()` (https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/throwIfAborted)\nfunction composeAbortError(signal) {\n    /*\n    NOTE: Use DomException with AbortError name as specified in MDN docs (https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort)\n    > When abort() is called, the fetch() promise rejects with an Error of type DOMException, with name AbortError.\n    */\n    if (isDomExceptionSupported) {\n        return new DOMException(signal?.reason ?? 'The operation was aborted.', 'AbortError');\n    }\n    // DOMException not supported. Fall back to use of error and override name.\n    const error = new Error(signal?.reason ?? 'The operation was aborted.');\n    error.name = 'AbortError';\n    return error;\n}\n//# sourceMappingURL=DOMException.js.map\n\n//# sourceURL=webpack:///../node_modules/ky/distribution/errors/DOMException.js?");

/***/ }),

/***/ "../node_modules/ky/distribution/errors/HTTPError.js":
/*!***********************************************************!*\
  !*** ../node_modules/ky/distribution/errors/HTTPError.js ***!
  \***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   HTTPError: () => (/* binding */ HTTPError)\n/* harmony export */ });\n// eslint-lint-disable-next-line @typescript-eslint/naming-convention\nclass HTTPError extends Error {\n    constructor(response, request, options) {\n        const code = (response.status || response.status === 0) ? response.status : '';\n        const title = response.statusText || '';\n        const status = `${code} ${title}`.trim();\n        const reason = status ? `status code ${status}` : 'an unknown error';\n        super(`Request failed with ${reason}`);\n        Object.defineProperty(this, \"response\", {\n            enumerable: true,\n            configurable: true,\n            writable: true,\n            value: void 0\n        });\n        Object.defineProperty(this, \"request\", {\n            enumerable: true,\n            configurable: true,\n            writable: true,\n            value: void 0\n        });\n        Object.defineProperty(this, \"options\", {\n            enumerable: true,\n            configurable: true,\n            writable: true,\n            value: void 0\n        });\n        this.name = 'HTTPError';\n        this.response = response;\n        this.request = request;\n        this.options = options;\n    }\n}\n//# sourceMappingURL=HTTPError.js.map\n\n//# sourceURL=webpack:///../node_modules/ky/distribution/errors/HTTPError.js?");

/***/ }),

/***/ "../node_modules/ky/distribution/errors/TimeoutError.js":
/*!**************************************************************!*\
  !*** ../node_modules/ky/distribution/errors/TimeoutError.js ***!
  \**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   TimeoutError: () => (/* binding */ TimeoutError)\n/* harmony export */ });\nclass TimeoutError extends Error {\n    constructor(request) {\n        super('Request timed out');\n        Object.defineProperty(this, \"request\", {\n            enumerable: true,\n            configurable: true,\n            writable: true,\n            value: void 0\n        });\n        this.name = 'TimeoutError';\n        this.request = request;\n    }\n}\n//# sourceMappingURL=TimeoutError.js.map\n\n//# sourceURL=webpack:///../node_modules/ky/distribution/errors/TimeoutError.js?");

/***/ }),

/***/ "../node_modules/ky/distribution/index.js":
/*!************************************************!*\
  !*** ../node_modules/ky/distribution/index.js ***!
  \************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   HTTPError: () => (/* reexport safe */ _errors_HTTPError_js__WEBPACK_IMPORTED_MODULE_3__.HTTPError),\n/* harmony export */   TimeoutError: () => (/* reexport safe */ _errors_TimeoutError_js__WEBPACK_IMPORTED_MODULE_4__.TimeoutError),\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _core_Ky_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Ky.js */ \"../node_modules/ky/distribution/core/Ky.js\");\n/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./core/constants.js */ \"../node_modules/ky/distribution/core/constants.js\");\n/* harmony import */ var _utils_merge_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/merge.js */ \"../node_modules/ky/distribution/utils/merge.js\");\n/* harmony import */ var _errors_HTTPError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./errors/HTTPError.js */ \"../node_modules/ky/distribution/errors/HTTPError.js\");\n/* harmony import */ var _errors_TimeoutError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./errors/TimeoutError.js */ \"../node_modules/ky/distribution/errors/TimeoutError.js\");\n/*! MIT License © Sindre Sorhus */\n\n\n\nconst createInstance = (defaults) => {\n    // eslint-disable-next-line @typescript-eslint/promise-function-async\n    const ky = (input, options) => _core_Ky_js__WEBPACK_IMPORTED_MODULE_0__.Ky.create(input, (0,_utils_merge_js__WEBPACK_IMPORTED_MODULE_1__.validateAndMerge)(defaults, options));\n    for (const method of _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.requestMethods) {\n        // eslint-disable-next-line @typescript-eslint/promise-function-async\n        ky[method] = (input, options) => _core_Ky_js__WEBPACK_IMPORTED_MODULE_0__.Ky.create(input, (0,_utils_merge_js__WEBPACK_IMPORTED_MODULE_1__.validateAndMerge)(defaults, options, { method }));\n    }\n    ky.create = (newDefaults) => createInstance((0,_utils_merge_js__WEBPACK_IMPORTED_MODULE_1__.validateAndMerge)(newDefaults));\n    ky.extend = (newDefaults) => createInstance((0,_utils_merge_js__WEBPACK_IMPORTED_MODULE_1__.validateAndMerge)(defaults, newDefaults));\n    ky.stop = _core_constants_js__WEBPACK_IMPORTED_MODULE_2__.stop;\n    return ky;\n};\nconst ky = createInstance();\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ky);\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///../node_modules/ky/distribution/index.js?");

/***/ }),

/***/ "../node_modules/ky/distribution/utils/delay.js":
/*!******************************************************!*\
  !*** ../node_modules/ky/distribution/utils/delay.js ***!
  \******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ delay)\n/* harmony export */ });\n/* harmony import */ var _errors_DOMException_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../errors/DOMException.js */ \"../node_modules/ky/distribution/errors/DOMException.js\");\n// https://github.com/sindresorhus/delay/tree/ab98ae8dfcb38e1593286c94d934e70d14a4e111\n\nasync function delay(ms, { signal }) {\n    return new Promise((resolve, reject) => {\n        if (signal) {\n            if (signal.aborted) {\n                reject((0,_errors_DOMException_js__WEBPACK_IMPORTED_MODULE_0__.composeAbortError)(signal));\n                return;\n            }\n            signal.addEventListener('abort', handleAbort, { once: true });\n        }\n        function handleAbort() {\n            reject((0,_errors_DOMException_js__WEBPACK_IMPORTED_MODULE_0__.composeAbortError)(signal));\n            clearTimeout(timeoutId);\n        }\n        const timeoutId = setTimeout(() => {\n            signal?.removeEventListener('abort', handleAbort);\n            resolve();\n        }, ms);\n    });\n}\n//# sourceMappingURL=delay.js.map\n\n//# sourceURL=webpack:///../node_modules/ky/distribution/utils/delay.js?");

/***/ }),

/***/ "../node_modules/ky/distribution/utils/is.js":
/*!***************************************************!*\
  !*** ../node_modules/ky/distribution/utils/is.js ***!
  \***************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   isObject: () => (/* binding */ isObject)\n/* harmony export */ });\n// eslint-disable-next-line @typescript-eslint/ban-types\nconst isObject = (value) => value !== null && typeof value === 'object';\n//# sourceMappingURL=is.js.map\n\n//# sourceURL=webpack:///../node_modules/ky/distribution/utils/is.js?");

/***/ }),

/***/ "../node_modules/ky/distribution/utils/merge.js":
/*!******************************************************!*\
  !*** ../node_modules/ky/distribution/utils/merge.js ***!
  \******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   deepMerge: () => (/* binding */ deepMerge),\n/* harmony export */   mergeHeaders: () => (/* binding */ mergeHeaders),\n/* harmony export */   validateAndMerge: () => (/* binding */ validateAndMerge)\n/* harmony export */ });\n/* harmony import */ var _is_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./is.js */ \"../node_modules/ky/distribution/utils/is.js\");\n\nconst validateAndMerge = (...sources) => {\n    for (const source of sources) {\n        if ((!(0,_is_js__WEBPACK_IMPORTED_MODULE_0__.isObject)(source) || Array.isArray(source)) && typeof source !== 'undefined') {\n            throw new TypeError('The `options` argument must be an object');\n        }\n    }\n    return deepMerge({}, ...sources);\n};\nconst mergeHeaders = (source1 = {}, source2 = {}) => {\n    const result = new globalThis.Headers(source1);\n    const isHeadersInstance = source2 instanceof globalThis.Headers;\n    const source = new globalThis.Headers(source2);\n    for (const [key, value] of source.entries()) {\n        if ((isHeadersInstance && value === 'undefined') || value === undefined) {\n            result.delete(key);\n        }\n        else {\n            result.set(key, value);\n        }\n    }\n    return result;\n};\n// TODO: Make this strongly-typed (no `any`).\nconst deepMerge = (...sources) => {\n    let returnValue = {};\n    let headers = {};\n    for (const source of sources) {\n        if (Array.isArray(source)) {\n            if (!Array.isArray(returnValue)) {\n                returnValue = [];\n            }\n            returnValue = [...returnValue, ...source];\n        }\n        else if ((0,_is_js__WEBPACK_IMPORTED_MODULE_0__.isObject)(source)) {\n            for (let [key, value] of Object.entries(source)) {\n                if ((0,_is_js__WEBPACK_IMPORTED_MODULE_0__.isObject)(value) && key in returnValue) {\n                    value = deepMerge(returnValue[key], value);\n                }\n                returnValue = { ...returnValue, [key]: value };\n            }\n            if ((0,_is_js__WEBPACK_IMPORTED_MODULE_0__.isObject)(source.headers)) {\n                headers = mergeHeaders(headers, source.headers);\n                returnValue.headers = headers;\n            }\n        }\n    }\n    return returnValue;\n};\n//# sourceMappingURL=merge.js.map\n\n//# sourceURL=webpack:///../node_modules/ky/distribution/utils/merge.js?");

/***/ }),

/***/ "../node_modules/ky/distribution/utils/normalize.js":
/*!**********************************************************!*\
  !*** ../node_modules/ky/distribution/utils/normalize.js ***!
  \**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   normalizeRequestMethod: () => (/* binding */ normalizeRequestMethod),\n/* harmony export */   normalizeRetryOptions: () => (/* binding */ normalizeRetryOptions)\n/* harmony export */ });\n/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/constants.js */ \"../node_modules/ky/distribution/core/constants.js\");\n\nconst normalizeRequestMethod = (input) => _core_constants_js__WEBPACK_IMPORTED_MODULE_0__.requestMethods.includes(input) ? input.toUpperCase() : input;\nconst retryMethods = ['get', 'put', 'head', 'delete', 'options', 'trace'];\nconst retryStatusCodes = [408, 413, 429, 500, 502, 503, 504];\nconst retryAfterStatusCodes = [413, 429, 503];\nconst defaultRetryOptions = {\n    limit: 2,\n    methods: retryMethods,\n    statusCodes: retryStatusCodes,\n    afterStatusCodes: retryAfterStatusCodes,\n    maxRetryAfter: Number.POSITIVE_INFINITY,\n    backoffLimit: Number.POSITIVE_INFINITY,\n};\nconst normalizeRetryOptions = (retry = {}) => {\n    if (typeof retry === 'number') {\n        return {\n            ...defaultRetryOptions,\n            limit: retry,\n        };\n    }\n    if (retry.methods && !Array.isArray(retry.methods)) {\n        throw new Error('retry.methods must be an array');\n    }\n    if (retry.statusCodes && !Array.isArray(retry.statusCodes)) {\n        throw new Error('retry.statusCodes must be an array');\n    }\n    return {\n        ...defaultRetryOptions,\n        ...retry,\n        afterStatusCodes: retryAfterStatusCodes,\n    };\n};\n//# sourceMappingURL=normalize.js.map\n\n//# sourceURL=webpack:///../node_modules/ky/distribution/utils/normalize.js?");

/***/ }),

/***/ "../node_modules/ky/distribution/utils/timeout.js":
/*!********************************************************!*\
  !*** ../node_modules/ky/distribution/utils/timeout.js ***!
  \********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ timeout)\n/* harmony export */ });\n/* harmony import */ var _errors_TimeoutError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../errors/TimeoutError.js */ \"../node_modules/ky/distribution/errors/TimeoutError.js\");\n\n// `Promise.race()` workaround (#91)\nasync function timeout(request, abortController, options) {\n    return new Promise((resolve, reject) => {\n        const timeoutId = setTimeout(() => {\n            if (abortController) {\n                abortController.abort();\n            }\n            reject(new _errors_TimeoutError_js__WEBPACK_IMPORTED_MODULE_0__.TimeoutError(request));\n        }, options.timeout);\n        void options\n            .fetch(request)\n            .then(resolve)\n            .catch(reject)\n            .then(() => {\n            clearTimeout(timeoutId);\n        });\n    });\n}\n//# sourceMappingURL=timeout.js.map\n\n//# sourceURL=webpack:///../node_modules/ky/distribution/utils/timeout.js?");

/***/ })

};
;