@qlover/fe-corekit 1.2.5 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1 -7421
- package/dist/index.umd.js +1 -7446
- package/dist/interface/index.es.js +1 -269
- package/dist/interface/index.umd.js +1 -279
- package/dist/server/index.cjs.js +1 -170
- package/dist/server/index.es.js +1 -167
- package/package.json +10 -10
- package/dist/index.es.js.map +0 -1
- package/dist/index.umd.js.map +0 -1
- package/dist/interface/index.es.js.map +0 -1
- package/dist/interface/index.umd.js.map +0 -1
- package/dist/server/index.cjs.js.map +0 -1
- package/dist/server/index.es.js.map +0 -1
package/dist/index.umd.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":["../interface/executor/Executor.ts","../interface/executor/ExecutorError.ts","../interface/request/RequestError.ts","../common/executor/impl/AsyncExecutor.ts","../common/executor/impl/SyncExecutor.ts","../common/executor/plugins/RetryPlugin.ts","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/head.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/first.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/last.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getPrototype.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isString.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js","../common/logger/Logger.ts","../../../node_modules/.pnpm/merge@2.1.1/node_modules/merge/lib/src/index.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKey.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_memoizeCapped.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToPath.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toKey.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_defineProperty.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignValue.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSet.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePickBy.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseHasIn.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasPath.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePick.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isFlattenable.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFlatten.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/flatten.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_apply.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/constant.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSetToString.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_shortOut.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToString.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_flatRest.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js","../common/request/adapter/RequestAdapterFetch.ts","../common/request/adapter/RequestAdapterAxios.ts","../common/request/plugins/FetchAbortPlugin.ts","../common/request/plugins/FetchURLPlugin.ts","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignMergeValue.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseFor.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFor.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneBuffer.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneArrayBuffer.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneTypedArray.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyArray.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseCreate.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneObject.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLikeObject.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_safeGet.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyObject.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeysIn.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeysIn.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keysIn.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toPlainObject.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMerge.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseRest.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIterateeCall.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createAssigner.js","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.js","../common/request/managers/RequestManager.ts","../common/request/managers/RequestScheduler.ts","../common/request/managers/RequestTransaction.ts","../common/serializer/JSONSerializer.ts","../common/serializer/Base64Serializer.ts","../common/storage/impl/JSONStorage.ts"],"sourcesContent":["import { ExecutorError } from './ExecutorError';\nimport { ExecutorPlugin, Task } from './ExecutorPlugin';\n\n/**\n * Base executor class providing plugin management and execution pipeline\n *\n * The Executor pattern implements a pluggable execution pipeline that allows:\n * 1. Pre-processing of input data\n * 2. Post-processing of results\n * 3. Error handling\n * 4. Custom execution logic\n *\n * execNoError returns all errors as they are., and if there is a plugin onerror handler chain in which an error occurs, it will also return the error instead of throwing it.\n *\n * @abstract\n * @class Executor\n * @category Executor\n * @example\n * ```typescript\n * // Create an executor instance\n * const executor = new AsyncExecutor();\n *\n * // Add plugins\n * executor.use(new LoggerPlugin());\n * executor.use(new RetryPlugin({ maxAttempts: 3 }));\n *\n * // Execute a task\n * const result = await executor.exec(async (data) => {\n * return await someAsyncOperation(data);\n * });\n * ```\n */\nexport abstract class Executor<ExecutorConfig = unknown> {\n /**\n * Array of active plugins\n *\n * - Purpose: Stores and manages executor plugins\n * - Core Concept: Ordered plugin pipeline\n * - Main Features:\n * - Maintains plugin execution order\n * - Supports plugin lifecycle management\n * - Primary Use: Plugin orchestration and execution\n *\n * @example\n * ```typescript\n * protected plugins = [\n * new LoggerPlugin(),\n * new RetryPlugin()\n * ];\n * ```\n */\n protected plugins: ExecutorPlugin[] = [];\n\n /**\n * Creates a new Executor instance\n *\n * - Purpose: Initialize executor with optional configuration\n * - Core Concept: Configurable executor setup\n * - Main Features: Configuration injection\n * - Primary Use: Executor instantiation\n *\n * @param {ExecutorConfig} config - Optional configuration object\n *\n * @example\n * ```typescript\n * const executor = new Executor({\n * // config options\n * });\n * ```\n */\n constructor(protected config?: ExecutorConfig) {}\n\n /**\n * Add a plugin to the executor\n *\n * - Purpose: Extends executor functionality through plugins\n * - Core Concept: Plugin registration and deduplication\n * - Main Features:\n * - Prevents duplicate plugins if onlyOne is true\n * - Maintains plugin execution order\n * - Primary Use: Adding new capabilities to executor\n *\n * @param plugin - Plugin instance to add\n *\n * @example\n * ```typescript\n * executor.use(new LoggerPlugin());\n * executor.use(new RetryPlugin({ maxAttempts: 3 }));\n * ```\n *\n * @example\n *\n * Use a plain object as a plugin\n * ```typescript\n * executor.use({\n * onBefore: (data) => ({ ...data, modified: true })\n * });\n * ```\n */\n use(plugin: ExecutorPlugin): void {\n if (\n this.plugins.find(\n (p) =>\n p === plugin ||\n p.pluginName === plugin.pluginName ||\n p.constructor === plugin.constructor\n ) &&\n plugin.onlyOne\n ) {\n console.warn(`Plugin ${plugin.pluginName} is already used, skip adding`);\n return;\n }\n\n this.plugins.push(plugin);\n }\n\n /**\n * Execute a plugin hook\n *\n * - Purpose: Provides plugin hook execution mechanism\n * - Core Concept: Plugin lifecycle management\n * - Main Features:\n * - Dynamic hook execution\n * - Support for async and sync hooks\n * - Primary Use: Running plugin lifecycle methods\n *\n * @param plugins - Plugins to execute\n * @param name - Hook name to execute\n * @param args - Arguments for the hook\n *\n * @example\n * ```typescript\n * await executor.runHook(plugins, 'beforeExec', data);\n * ```\n */\n abstract runHooks(\n plugins: ExecutorPlugin[],\n name: keyof ExecutorPlugin,\n ...args: unknown[]\n ): void | unknown | Promise<void | unknown>;\n\n /**\n * Execute a task with plugin pipeline\n *\n * - Purpose: Core task execution with plugin support\n * - Core Concept: Task execution pipeline\n * - Main Features:\n * - Plugin hook integration\n * - Error handling\n * - Primary Use: Running tasks through the executor pipeline\n *\n * @param task - Task to execute\n * @param data - Optional input data for task\n * @throws {ExecutorError} If task execution fails\n *\n * @example\n * ```typescript\n * const result = await executor.exec(async (data) => {\n * return await processData(data);\n * });\n * ```\n */\n abstract exec<Result, Params = unknown>(\n task: Task<Result, Params>\n ): Promise<Result> | Result;\n\n /**\n * Execute a task with plugin pipeline and input data\n *\n * - Purpose: Core task execution with plugin support and input data\n * - Core Concept: Task execution pipeline with data\n * - Main Features:\n * - Plugin hook integration\n * - Error handling\n * - Primary Use: Running tasks with input data through the executor pipeline\n *\n * @param data - Input data for task\n * @param task - Task to execute\n * @throws {ExecutorError} If task execution fails\n *\n * @example\n * ```typescript\n * const result = await executor.exec(data, async (data) => {\n * return await processData(data);\n * });\n * ```\n */\n abstract exec<Result, Params = unknown>(\n data: unknown,\n task: Task<Result, Params>\n ): Promise<Result> | Result;\n\n /**\n * Execute a task without throwing errors\n *\n * - Purpose: Safe task execution with error wrapping\n * - Core Concept: Error-safe execution pipeline\n * - Main Features:\n * - Error wrapping in ExecutorError\n * - Non-throwing execution\n * - Primary Use: When error handling is preferred over exceptions\n *\n * @param task - Task to execute\n *\n * @example\n * ```typescript\n * const result = await executor.execNoError(async (data) => {\n * return await riskyOperation(data);\n * });\n * if (result instanceof ExecutorError) {\n * console.error('Task failed:', result);\n * }\n * ```\n */\n abstract execNoError<Result, Params = unknown>(\n task: Task<Result, Params>\n ): Promise<Result | ExecutorError> | Result | ExecutorError;\n\n /**\n * Execute a task with input data without throwing errors\n *\n * - Purpose: Safe task execution with error wrapping and input data\n * - Core Concept: Error-safe execution pipeline with data\n * - Main Features:\n * - Error wrapping in ExecutorError\n * - Non-throwing execution\n * - Primary Use: When error handling is preferred over exceptions with input data\n *\n * @param data - Input data for task\n * @param task - Task to execute\n *\n * @example\n * ```typescript\n * const result = await executor.execNoError(data, async (data) => {\n * return await riskyOperation(data);\n * });\n * if (result instanceof ExecutorError) {\n * console.error('Task failed:', result);\n * }\n * ```\n */\n abstract execNoError<Result, Params = unknown>(\n data: unknown,\n task: Task<Result, Params>\n ): Promise<Result | ExecutorError> | Result | ExecutorError;\n}\n","/**\n * Custom error class for executor operations.\n *\n * This class provides a structured way to handle errors that occur during executor operations.\n * It extends the standard Error class to include an error identification string, which can be used\n * to categorize and manage errors more effectively.\n *\n * @category Executor\n *\n * @example\n * ```typescript\n * try {\n * // some executor operation\n * } catch (error) {\n * throw new ExecutorError('EXECUTOR_ERROR', error);\n * }\n * ```\n *\n * @example\n *\n * create an error with a message from a string\n *\n * ```typescript\n * const error = new ExecutorError('ERROR_ID', 'This is an error message');\n *\n * // => error.message is 'This is an error message'\n * // => error.id is 'ERROR_ID'\n * ```\n */\nexport class ExecutorError extends Error {\n /**\n * Constructs a new ExecutorError.\n *\n * if originalError is a string, it will be used as the error message.\n * if originalError is an Error object, its message will be used as the error message.\n * if originalError is not provided, the error message will be the id.\n *\n * @param id - A unique identifier for the error, used for categorization and tracking.\n * @param originalError - The original error message or Error object that triggered this error.\n * This parameter is optional.\n */\n constructor(\n public id: string,\n originalError?: string | Error\n ) {\n super(\n originalError instanceof Error\n ? originalError.message\n : originalError || id\n );\n\n // if originalError is an Error object, use its stack\n if (originalError instanceof Error && 'stack' in originalError) {\n this.stack = originalError.stack;\n }\n\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n","import { ExecutorError } from '../executor';\n\n/**\n * Represents a custom error class for handling request-related errors in the application\n *\n * RequestError extends the base ExecutorError class to provide specific error handling\n * for HTTP requests and fetch operations. It works in conjunction with RequestErrorID\n * to categorize different types of request failures.\n *\n * @since 1.0.14\n *\n * @example\n * ```typescript\n * try {\n * await fetchData(url);\n * } catch (error) {\n * if (error instanceof RequestError) {\n * // Handle request specific error\n * console.error('Request failed:', error.message);\n * }\n * }\n * ```\n */\nexport class RequestError extends ExecutorError {}\n\n/**\n * Error IDs for different fetch request failure scenarios\n * Used to identify specific error types in error handling\n *\n * @description\n * This enum provides a standardized set of error identifiers that can be used\n * to categorize and handle different types of request failures in a consistent manner.\n * Each error ID represents a specific failure scenario that might occur during HTTP requests.\n *\n * @example\n * ```typescript\n * if (error.id === RequestErrorID.RESPONSE_NOT_OK) {\n * // Handle non-200 response\n * } else if (error.id === RequestErrorID.ABORT_ERROR) {\n * // Handle aborted request\n * }\n * ```\n */\nexport enum RequestErrorID {\n /** Generic fetch request error */\n REQUEST_ERROR = 'REQUEST_ERROR',\n /** Environment doesn't support fetch API */\n ENV_FETCH_NOT_SUPPORT = 'ENV_FETCH_NOT_SUPPORT',\n /** No fetcher function provided */\n FETCHER_NONE = 'FETCHER_NONE',\n /** Response status is not OK (not in 200-299 range) */\n RESPONSE_NOT_OK = 'RESPONSE_NOT_OK',\n /** Request was aborted */\n ABORT_ERROR = 'ABORT_ERROR',\n /** URL is not provided */\n URL_NONE = 'URL_NONE'\n}\n","import {\n Executor,\n ExecutorContext,\n ExecutorError,\n ExecutorPlugin,\n PromiseTask\n} from '../../../interface';\n\n/**\n * Asynchronous implementation of the Executor pattern\n *\n * - Purpose: Provides asynchronous task execution with plugin support\n * - Core Concept: Async execution pipeline with plugin hooks\n * - Main Features:\n * - Asynchronous plugin hook execution\n * - Promise-based task handling\n * - Error handling with plugin support\n * - Primary Use: Handling async operations with extensible middleware\n *\n * @example\n * ```typescript\n * const executor = new AsyncExecutor();\n * executor.use(new LogPlugin());\n *\n * const result = await executor.exec(async (data) => {\n * const response = await fetch('https://api.example.com/data');\n * return response.json();\n * });\n * ```\n *\n * @category AsyncExecutor\n */\nexport class AsyncExecutor<\n ExecutorConfig = unknown\n> extends Executor<ExecutorConfig> {\n /**\n * Execute plugin hook functions asynchronously\n *\n * - Purpose: Orchestrates asynchronous plugin hook execution\n * - Core Concept: Sequential async plugin pipeline\n * - Main Features:\n * - Plugin enablement checking\n * - Result chaining\n * - Error hook special handling\n * - Primary Use: Internal plugin lifecycle management\n *\n * Plugin execution flow:\n * 1. Check if plugin is enabled for the hook\n * 2. Execute plugin hook if available\n * 3. Handle plugin results and chain breaking conditions\n *\n * @param plugins - Array of plugins to execute\n * @param hookName - Name of the hook function to execute\n * @param args - Arguments to pass to the hook function\n * @returns Promise resolving to the hook execution result\n *\n * @example\n * ```typescript\n * const result = await this.runHook(\n * this.plugins,\n * 'beforeExec',\n * { userId: 123 }\n * );\n * ```\n */\n async runHooks<Params>(\n plugins: ExecutorPlugin[],\n /**\n * allow any string as hook name.\n * if the hook name is not a function, it will be skipped\n *\n * @since 1.1.3\n */\n hookName: string,\n context?: ExecutorContext<Params>,\n ...args: unknown[]\n ): Promise<unknown> {\n let _index = -1;\n let returnValue: unknown;\n\n const _context: ExecutorContext<Params> = context || {\n parameters: undefined as Params,\n hooksRuntimes: {}\n };\n\n // reset hooksRuntimes times and index\n _context.hooksRuntimes.times = 0;\n _context.hooksRuntimes.index = undefined;\n\n for (const plugin of plugins) {\n _index++;\n\n if (\n typeof plugin[hookName as keyof ExecutorPlugin] !== 'function' ||\n (typeof plugin.enabled == 'function' &&\n !plugin.enabled(hookName as keyof ExecutorPlugin, context))\n ) {\n continue;\n }\n\n // if breakChain is true, stop the chain\n if (_context.hooksRuntimes?.breakChain) {\n break;\n }\n\n _context.hooksRuntimes.pluginName = plugin.pluginName;\n _context.hooksRuntimes.hookName = hookName;\n _context.hooksRuntimes.times++;\n _context.hooksRuntimes.index = _index;\n\n // @ts-expect-error\n const pluginReturn = await plugin[hookName](context, ...args);\n\n if (pluginReturn !== undefined) {\n returnValue = pluginReturn;\n // set runtimes returnValue\n _context.hooksRuntimes.returnValue = pluginReturn;\n\n // When returnBreakChain is true, stop the chain\n if (_context.hooksRuntimes.returnBreakChain) {\n return returnValue;\n }\n }\n }\n\n return returnValue;\n }\n\n /**\n * Execute task without throwing errors\n *\n * - Purpose: Safe execution of async tasks\n * - Core Concept: Error wrapping and handling\n * - Main Features:\n * - Catches all execution errors\n * - Wraps errors in ExecutorError\n * - Returns either result or error object\n * - Primary Use: When you want to handle errors without try-catch\n *\n * @template T - Type of task return value\n * @param dataOrTask - Task data or task function\n * @param task - Task function (optional)\n * @returns Promise resolving to either result or ExecutorError\n *\n * @example\n * ```typescript\n * const result = await executor.execNoError(async () => {\n * const response = await riskyOperation();\n * return response.data;\n * });\n *\n * if (result instanceof ExecutorError) {\n * console.error('Operation failed:', result);\n * }\n * ```\n */\n async execNoError<Result, Params = unknown>(\n dataOrTask: unknown | PromiseTask<Result, Params>,\n task?: PromiseTask<Result, Params>\n ): Promise<Result | ExecutorError> {\n try {\n return await this.exec(dataOrTask as Params, task);\n } catch (error) {\n if (error instanceof ExecutorError) {\n return error;\n }\n\n return new ExecutorError('UNKNOWN_ASYNC_ERROR', error as Error);\n }\n }\n\n /**\n * Execute asynchronous task with full plugin pipeline\n *\n * - Purpose: Primary method for executing async tasks\n * - Core Concept: Full plugin pipeline execution\n * - Main Features:\n * - Plugin hook integration\n * - Task validation\n * - Custom execution support\n * - Primary Use: Running async tasks with plugin support\n *\n * Execution flow:\n * 1. Validate and prepare task\n * 2. Check for custom execution plugins\n * 3. Execute task with plugin pipeline\n *\n * @template T - Type of task return value\n * @template D - Type of task data\n * @param dataOrTask - Task data or task function\n * @param task - Task function (optional)\n * @throws {Error} When task is not an async function\n * @returns Promise resolving to task result\n *\n * @example\n * ```typescript\n * // With separate data and task\n * const data = { userId: 123 };\n * const result = await executor.exec(data, async (input) => {\n * return await fetchUserData(input.userId);\n * });\n *\n * // With combined task\n * const result = await executor.exec(async () => {\n * return await fetchData();\n * });\n * ```\n */\n exec<Result, Params = unknown>(\n dataOrTask: Params | PromiseTask<Result, Params>,\n task?: PromiseTask<Result, Params>\n ): Promise<Result> {\n const actualTask = (task || dataOrTask) as PromiseTask<Result, Params>;\n const data = (task ? dataOrTask : undefined) as Params;\n\n if (typeof actualTask !== 'function') {\n throw new Error('Task must be a async function!');\n }\n\n return this.run(data, actualTask);\n }\n\n /**\n * Core task execution method with plugin hooks\n *\n * - Purpose: Implements the complete execution pipeline\n * - Core Concept: Sequential hook execution with error handling\n * - Main Features:\n * - Before/After hooks\n * - Error handling hooks\n * - Result transformation\n * - Primary Use: Internal pipeline orchestration\n *\n * Pipeline stages:\n * 1. onBefore hooks - Pre-process input data\n * 2. Task execution - Run the actual task\n * 3. onSuccess hooks - Post-process results\n * 4. onError hooks - Handle any errors\n *\n * @template T - Type of task return value\n * @template D - Type of task data\n * @param data - Input data for the task\n * @param actualTask - Task function to execute\n * @throws {ExecutorError} When task execution fails\n * @returns Promise resolving to task result(context.returnValue)\n *\n * @example\n * ```typescript\n * private async run(data, task) {\n * try {\n * const preparedData = await this.runHook(this.plugins, 'onBefore', data);\n * const result = await task(preparedData);\n * return await this.runHook(this.plugins, 'onSuccess', result);\n * } catch (error) {\n * const handledError = await this.runHook(\n * this.plugins,\n * 'onError',\n * error,\n * data\n * );\n * throw new ExecutorError('EXECUTION_FAILED', handledError);\n * }\n * }\n * ```\n */\n async run<Result, Params = unknown>(\n data: Params,\n actualTask: PromiseTask<Result, Params>\n ): Promise<Result> {\n const context: ExecutorContext<Params> = {\n parameters: data,\n returnValue: undefined,\n error: undefined,\n hooksRuntimes: {\n pluginName: '',\n hookName: '',\n returnValue: undefined,\n returnBreakChain: false,\n times: 0\n }\n };\n\n const runExec = async (ctx: ExecutorContext<Params>): Promise<void> => {\n await this.runHooks(this.plugins, 'onExec', ctx, actualTask);\n\n // if exec times is 0, then execute task, otherwise return the result of the last hook\n if (ctx.hooksRuntimes.times === 0) {\n ctx.returnValue = await actualTask(ctx);\n return;\n }\n\n ctx.returnValue = ctx.hooksRuntimes.returnValue;\n };\n\n try {\n await this.runHooks(this.plugins, 'onBefore', context);\n\n await runExec(context);\n\n await this.runHooks(this.plugins, 'onSuccess', context);\n\n return context.returnValue as Result;\n } catch (error) {\n context.error = error as Error;\n\n await this.runHooks(this.plugins, 'onError', context);\n\n // if onError hook return a ExecutorError, then throw it\n if (context.hooksRuntimes.returnValue) {\n context.error = context.hooksRuntimes.returnValue as Error;\n }\n\n if (context.error instanceof ExecutorError) {\n throw context.error;\n }\n\n throw new ExecutorError('UNKNOWN_ASYNC_ERROR', context.error);\n } finally {\n // reset hooksRuntimes\n context.hooksRuntimes = {\n pluginName: '',\n hookName: '',\n returnValue: undefined,\n returnBreakChain: false,\n times: 0\n };\n }\n }\n}\n","import {\n Executor,\n ExecutorContext,\n ExecutorError,\n ExecutorPlugin,\n SyncTask\n} from '../../../interface';\n\n/**\n * Synchronous executor class that extends the base Executor\n * Provides synchronous task execution with plugin support\n *\n * Key features:\n * 1. Synchronous plugin hook execution\n * 2. No Promise-based operations\n * 3. Immediate error handling\n * 4. Direct execution flow\n *\n * Use this executor when:\n * 1. All operations are synchronous\n * 2. You need immediate results\n * 3. Performance is critical\n * 4. No async operations are involved\n *\n * @extends Executor\n *\n * @example\n * ```typescript\n * // Create a sync executor\n * const executor = new SyncExecutor();\n *\n * // Add plugins for different purposes\n * executor.use(new ValidationPlugin());\n * executor.use(new LoggerPlugin());\n *\n * // Example 1: Basic sync task execution\n * const result = executor.exec((data) => {\n * return data.toUpperCase();\n * });\n *\n * // Example 2: Execution with input data\n * const data = { value: 'hello' };\n * const result = executor.exec(data, (input) => {\n * return input.value.toUpperCase();\n * });\n *\n * // Example 3: Error handling with execNoError\n * const result = executor.execNoError(() => {\n * throw new Error('Validation Error');\n * }); // Returns ExecutorError instead of throwing\n * ```\n * @category SyncExecutor\n */\nexport class SyncExecutor<\n ExecutorConfig = unknown\n> extends Executor<ExecutorConfig> {\n /**\n * Execute plugin hook functions synchronously\n * Manages the plugin execution chain and handles results\n *\n * Plugin execution flow:\n * 1. Check if plugin is enabled for the hook\n * 2. Execute plugin hook if available\n * 3. Handle plugin results and chain breaking conditions\n *\n * Key differences from AsyncExecutor:\n * - All operations are synchronous\n * - Results are immediately available\n * - No await statements needed\n *\n * @param plugins - Array of plugins to execute\n * @param hookName - Name of the hook function to execute\n * @param args - Arguments to pass to the hook function\n * @returns Result of the hook function execution\n *\n * @example\n * ```typescript\n * // Internal usage example\n * const result = this.runHook(\n * this.plugins,\n * 'onBefore',\n * { value: 'test' }\n * );\n * ```\n */\n runHooks<Params>(\n plugins: ExecutorPlugin[],\n /**\n * allow any string as hook name.\n * if the hook name is not a function, it will be skipped\n *\n * @since 1.1.3\n */\n hookName: string,\n context?: ExecutorContext<Params>,\n ...args: unknown[]\n ): Params {\n let _index = -1;\n let returnValue: Params | undefined;\n\n const _context: ExecutorContext<Params> = context || {\n parameters: undefined as Params,\n hooksRuntimes: {}\n };\n\n // reset hooksRuntimes times and index\n _context.hooksRuntimes.times = 0;\n _context.hooksRuntimes.index = undefined;\n\n for (const plugin of plugins) {\n _index++;\n\n if (\n typeof plugin[hookName as keyof ExecutorPlugin] !== 'function' ||\n (typeof plugin.enabled == 'function' &&\n !plugin.enabled(hookName as keyof ExecutorPlugin, _context))\n ) {\n continue;\n }\n\n // if breakChain is true, stop the chain\n if (_context.hooksRuntimes?.breakChain) {\n break;\n }\n\n _context.hooksRuntimes.pluginName = plugin.pluginName;\n _context.hooksRuntimes.hookName = hookName;\n _context.hooksRuntimes.times++;\n _context.hooksRuntimes.index = _index;\n\n // @ts-expect-error\n const pluginReturn = plugin[hookName](context, ...args);\n\n if (pluginReturn !== undefined) {\n returnValue = pluginReturn as Params;\n // set runtimes returnValue\n _context.hooksRuntimes.returnValue = pluginReturn;\n\n // When returnBreakChain is true, stop the chain\n if (_context.hooksRuntimes.returnBreakChain) {\n return returnValue;\n }\n }\n }\n\n return returnValue as Params;\n }\n\n /**\n * Execute task without throwing errors\n * Wraps all errors in ExecutorError for safe error handling\n *\n * Advantages over try-catch:\n * 1. Standardized error handling\n * 2. No exception propagation\n * 3. Consistent error types\n *\n * @template T - Type of task return value\n * @param dataOrTask - Task data or task function\n * @param task - Task function (optional)\n * @returns Task result or ExecutorError\n *\n * @example\n * ```typescript\n * const result = executor.execNoError((data) => {\n * if (!data.isValid) {\n * throw new Error('Invalid data');\n * }\n * return data.value;\n * });\n *\n * if (result instanceof ExecutorError) {\n * console.log('Task failed:', result.message);\n * } else {\n * console.log('Task succeeded:', result);\n * }\n * ```\n */\n execNoError<Result, Params = unknown>(\n dataOrTask: Params | SyncTask<Result, Params>,\n task?: SyncTask<Result, Params>\n ): Result | ExecutorError {\n try {\n return this.exec(dataOrTask as Params, task);\n } catch (error) {\n if (error instanceof ExecutorError) {\n return error;\n }\n\n return new ExecutorError('UNKNOWN_SYNC_ERROR', error as Error);\n }\n }\n\n /**\n * Execute synchronous task with full plugin pipeline\n * Core method for task execution with plugin support\n *\n * Execution flow:\n * 1. Validate and prepare task\n * 2. Check for custom execution plugins\n * 3. Execute task with plugin pipeline\n *\n * Performance considerations:\n * - No async overhead\n * - Direct execution path\n * - Immediate results\n *\n * @template T - Type of task return value\n * @template D - Type of task data\n * @param dataOrTask - Task data or task function\n * @param task - Task function (optional)\n * @throws {Error} When task is not a function\n * @returns Task execution result\n *\n * @example\n * ```typescript\n * // Example with data transformation\n * const data = { numbers: [1, 2, 3] };\n * const task = (input) => {\n * return input.numbers.map(n => n * 2);\n * };\n *\n * const result = executor.exec(data, task);\n *\n * // Example with validation\n * const result = executor.exec((data) => {\n * if (typeof data !== 'string') {\n * throw new Error('Data must be string');\n * }\n * return data.trim();\n * });\n * ```\n */\n exec<Result, Params = unknown>(\n dataOrTask: Params | SyncTask<Result, Params>,\n task?: SyncTask<Result, Params>\n ): Result {\n const actualTask = (task || dataOrTask) as SyncTask<Result, Params>;\n const data = (task ? dataOrTask : undefined) as Params;\n\n if (typeof actualTask !== 'function') {\n throw new Error('Task must be a function!');\n }\n\n return this.run(data, actualTask);\n }\n\n /**\n * Core method to run synchronous task with plugin hooks\n * Implements the complete execution pipeline with all plugin hooks\n *\n * Pipeline stages:\n * 1. onBefore hooks - Pre-process input data\n * 2. Task execution - Run the actual task\n * 3. onSuccess hooks - Post-process results\n * 4. onError hooks - Handle any errors\n *\n * Error handling strategy:\n * - Catches all errors\n * - Passes errors through plugin chain\n * - Wraps unhandled errors in ExecutorError\n *\n * @template T - Type of task return value\n * @template D - Type of task data\n * @param data - Data to pass to the task\n * @param actualTask - Actual task function to execute\n * @throws {ExecutorError} When task execution fails\n * @returns Task execution result\n *\n * @example\n * ```typescript\n * // Internal implementation example\n * private run(data, task) {\n * try {\n * const preparedData = this.runHook(this.plugins, 'onBefore', data);\n * const result = task(preparedData);\n * return this.runHook(this.plugins, 'onSuccess', result);\n * } catch (error) {\n * const handledError = this.runHook(\n * this.plugins,\n * 'onError',\n * error,\n * data\n * );\n * // Error handling logic\n * }\n * }\n * ```\n */\n run<Result, Params = unknown>(\n data: Params,\n actualTask: SyncTask<Result, Params>\n ): Result {\n const context: ExecutorContext<Params> = {\n parameters: data,\n returnValue: undefined,\n error: undefined,\n hooksRuntimes: {\n pluginName: '',\n hookName: '',\n returnValue: undefined,\n returnBreakChain: false,\n times: 0\n }\n };\n\n const runExec = (ctx: ExecutorContext<Params>): void => {\n this.runHooks(this.plugins, 'onExec', ctx, actualTask);\n\n // if exec times is 0, then execute task, otherwise return the result of the last hook\n ctx.returnValue = !ctx.hooksRuntimes.times\n ? actualTask(ctx)\n : ctx.hooksRuntimes.returnValue;\n };\n\n try {\n this.runHooks(this.plugins, 'onBefore', context);\n\n runExec(context);\n\n this.runHooks(this.plugins, 'onSuccess', context);\n\n return context.returnValue as Result;\n } catch (error) {\n context.error = error as Error;\n\n this.runHooks(this.plugins, 'onError', context);\n\n // if onError hook return a ExecutorError, then throw it\n if (context.hooksRuntimes.returnValue) {\n context.error = context.hooksRuntimes.returnValue as Error;\n }\n\n if (context.error instanceof ExecutorError) {\n throw context.error;\n }\n\n throw new ExecutorError('UNKNOWN_SYNC_ERROR', context.error);\n } finally {\n // reset hooksRuntimes\n context.hooksRuntimes = {\n pluginName: '',\n hookName: '',\n returnValue: undefined,\n returnBreakChain: false,\n times: 0\n };\n }\n }\n}\n","import {\n ExecutorPlugin,\n PromiseTask,\n ExecutorError,\n ExecutorContext\n} from '../../../interface';\n\n/**\n * Configuration options for the RetryPlugin\n *\n * This interface defines the configuration options for the RetryPlugin,\n * which is used to control the retry behavior of task executions.\n *\n * - Core Idea: Provide a flexible configuration for retry logic.\n * - Main Function: Define retry parameters such as max retries, delay, and conditions.\n * - Main Purpose: Allow customization of retry behavior to suit different use cases.\n *\n * @category RetryPlugin\n *\n * @example\n * ```typescript\n * const options: RetryOptions = {\n * maxRetries: 5,\n * retryDelay: 2000,\n * useExponentialBackoff: true,\n * shouldRetry: (error) => error.message !== 'Invalid credentials'\n * };\n * ```\n */\nexport interface RetryOptions {\n /**\n * Maximum number of retry attempts (starting from 0)\n * Will be clamped between 1 and SAFE_MAX_RETRIES (16)\n * @default 3\n */\n maxRetries: number;\n\n /**\n * Base delay between retry attempts in milliseconds\n * Used directly for fixed delay, or as base for exponential backoff\n * @default 1000\n */\n retryDelay: number;\n\n /**\n * When true, implements exponential backoff delay strategy\n * Delay formula: retryDelay * (2 ^ attemptNumber)\n * @default false\n */\n useExponentialBackoff: boolean;\n\n /**\n * Custom function to determine if a retry should be attempted\n * @param error - The error that caused the failure\n * @returns boolean indicating if retry should be attempted\n * @default () => true (always retry)\n */\n shouldRetry: (error: Error) => boolean;\n}\n\n/**\n * Maximum safe number of retries to prevent excessive attempts\n * @category RetryPlugin\n */\nconst SAFE_MAX_RETRIES = 16;\n\n/**\n * Default number of retry attempts if not specified\n * @category RetryPlugin\n */\nconst DEFAULT_MAX_RETRIES = 3;\n\n/**\n * Default shouldRetry function that always returns true\n * @category RetryPlugin\n */\nconst defaultShouldRetry = (): boolean => true;\n\n/**\n * Plugin that implements retry logic for failed task executions\n *\n * This class provides a mechanism to retry failed tasks with configurable\n * options such as maximum retries, delay strategies, and custom retry conditions.\n *\n * - Core Idea: Enhance task execution reliability through retries.\n * - Main Function: Retry failed tasks based on specified conditions and strategies.\n * - Main Purpose: Improve success rates of task executions by handling transient errors.\n *\n * @implements {ExecutorPlugin}\n *\n * @example\n * ```typescript\n * const retryPlugin = new RetryPlugin({\n * maxRetries: 5,\n * retryDelay: 2000,\n * useExponentialBackoff: true,\n * shouldRetry: (error) => error.message !== 'Invalid credentials'\n * });\n * ```\n *\n * @category RetryPlugin\n */\nexport class RetryPlugin implements ExecutorPlugin {\n /**\n * The pluginName of the plugin\n */\n readonly pluginName = 'RetryPlugin';\n\n /**\n * Ensures only one instance of RetryPlugin is used per executor\n */\n readonly onlyOne = true;\n\n /**\n * Normalized options with defaults applied\n */\n private readonly options: RetryOptions;\n\n /**\n * Constructs a new instance of RetryPlugin with specified options.\n *\n * This constructor initializes the RetryPlugin with user-defined options,\n * applying default values where necessary and clamping the maxRetries value.\n *\n * @param options - Partial configuration options for retry behavior\n *\n * @example\n * ```typescript\n * const retryPlugin = new RetryPlugin({\n * maxRetries: 5,\n * retryDelay: 2000,\n * useExponentialBackoff: true\n * });\n * ```\n */\n constructor(options: Partial<RetryOptions> = {}) {\n this.options = {\n retryDelay: 1000,\n useExponentialBackoff: false,\n shouldRetry: defaultShouldRetry,\n ...options,\n // Clamp maxRetries between 1 and SAFE_MAX_RETRIES\n maxRetries: Math.min(\n Math.max(1, options.maxRetries ?? DEFAULT_MAX_RETRIES),\n SAFE_MAX_RETRIES\n )\n };\n }\n\n /**\n * Implements delay between retry attempts\n *\n * This method calculates and applies a delay between retry attempts,\n * using either a fixed delay or an exponential backoff strategy.\n *\n * @param attempt - Current attempt number\n * @returns Promise that resolves after the delay\n *\n * @example\n * ```typescript\n * await this.delay(2); // Applies delay for the third attempt\n * ```\n */\n private async delay(attempt: number): Promise<void> {\n const delayTime = this.options.useExponentialBackoff\n ? this.options.retryDelay * Math.pow(2, attempt)\n : this.options.retryDelay;\n\n return new Promise((resolve) => setTimeout(resolve, delayTime));\n }\n\n /**\n * Custom execution hook that implements retry logic\n *\n * This method intercepts task execution to add retry capability,\n * executing the task with the configured retry logic.\n *\n * @template T - Type of task return value\n * @param task - Task to be executed with retry support\n * @returns Promise resolving to task result\n *\n * @example\n * ```typescript\n * const result = await retryPlugin.onExec(() => fetchData());\n * ```\n */\n async onExec(\n context: ExecutorContext<unknown>,\n task: PromiseTask<unknown, unknown>\n ): Promise<unknown> {\n // no retry, just execute\n if (this.options.maxRetries < 1) {\n return task(context);\n }\n\n return this.retry(task, context, this.options, this.options.maxRetries);\n }\n\n /**\n * Determines if another retry attempt should be made\n *\n * This method checks if a retry should be attempted based on the\n * remaining retry count and a custom retry condition function.\n *\n * @param error - Error from failed attempt\n * @param retryCount - Number of retries remaining\n * @returns boolean indicating if retry should be attempted\n *\n * @example\n * ```typescript\n * if (this.shouldRetry({ error, retryCount })) {\n * // Proceed with retry\n * }\n * ```\n */\n private shouldRetry({\n error,\n retryCount\n }: {\n error: unknown;\n retryCount: number;\n }): boolean {\n return (\n // must be greater than 0\n retryCount > 0 &&\n // must satisfy should retry function\n this.options.shouldRetry(error as Error)\n );\n }\n\n /**\n * Core retry implementation\n *\n * This method recursively attempts to execute the task until it succeeds\n * or the maximum number of retries is reached, applying the configured delay strategy.\n *\n * @template T - Type of task return value\n * @param fn - Function to retry\n * @param options - Retry configuration options\n * @param retryCount - Number of retries remaining\n * @throws {ExecutorError} When all retry attempts fail\n * @returns Promise resolving to task result\n *\n * @example\n * ```typescript\n * const result = await this.retry(fetchData, options, 3);\n * ```\n */\n async retry<Result, Params = unknown>(\n fn: PromiseTask<Result, Params>,\n context: ExecutorContext<Params>,\n options: RetryOptions,\n retryCount: number\n ): Promise<Result | undefined> {\n try {\n return await fn(context);\n } catch (error) {\n if (!this.shouldRetry({ error, retryCount })) {\n throw new ExecutorError(\n 'RETRY_ERROR',\n `All ${options.maxRetries} attempts failed: ${(error as Error).message}`\n );\n }\n\n // console.info(\n // `Attempt ${options.maxRetries - retryCount + 1} failed. Retrying in ${options.retryDelay}ms... (${retryCount} attempts remaining)`\n // );\n\n await this.delay(options.maxRetries - retryCount);\n\n // decrement retry count\n retryCount--;\n\n return this.retry(fn, context, options, retryCount);\n }\n }\n}\n","/**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\nfunction head(array) {\n return (array && array.length) ? array[0] : undefined;\n}\n\nmodule.exports = head;\n","module.exports = require('./head');\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","import first from 'lodash/first';\nimport last from 'lodash/last';\nimport isPlainObject from 'lodash/isPlainObject';\nimport isString from 'lodash/isString';\nimport isArray from 'lodash/isArray';\nimport isObject from 'lodash/isObject';\n\n/**\n * Available log levels\n * Used to categorize and control log output\n */\nexport const LEVELS = {\n LOG: 'LOG', // General logging\n INFO: 'INFO', // Informational messages\n ERROR: 'ERROR', // Error messages\n WARN: 'WARN', // Warning messages\n DEBUG: 'DEBUG' // Debug information\n} as const;\n\nexport type LogLevel = (typeof LEVELS)[keyof typeof LEVELS];\nexport type LogArgument = unknown;\n\n/**\n * Options for execution logging\n * @interface ExecOptions\n */\nexport type ExecOptions = {\n /** When true, commands are only logged but not executed */\n isDryRun?: boolean;\n /** When true, indicates the command is from an external source */\n isExternal?: boolean;\n};\n\n/**\n * Logger class providing various logging methods\n *\n * The Logger class supports multiple log levels and can be configured\n * to operate in different environments such as CI, dry run, debug, and silent modes.\n *\n * - Core Idea: Provide a flexible and configurable logging utility.\n * - Main Function: Log messages at different levels with optional environment-specific behavior.\n * - Main Purpose: Facilitate debugging and monitoring by providing structured log output.\n *\n * @class Logger\n * @example\n * ```typescript\n * // Create a logger instance\n * const logger = new Logger({ debug: true });\n *\n * // Log messages at different levels\n * logger.info('This is an info message');\n * logger.error('This is an error message');\n * logger.debug('This is a debug message');\n * ```\n */\nexport class Logger {\n protected isCI: boolean;\n protected isDryRun: boolean;\n protected isDebug: boolean;\n protected isSilent: boolean;\n\n /**\n * Creates a new Logger instance\n *\n * This constructor initializes the Logger with configuration options\n * that determine its behavior in different environments.\n *\n * @param options - Logger configuration options\n * @param {boolean} options.isCI - Whether running in CI environment\n * @param {boolean} options.dryRun - Whether to perform dry run only\n * @param {boolean} options.debug - Whether to enable debug output\n * @param {boolean} options.silent - Whether to suppress all output\n *\n * @example\n * ```typescript\n * const logger = new Logger({ isCI: true, debug: true });\n * ```\n */\n constructor({\n isCI = false,\n dryRun = false,\n debug = false,\n silent = false\n } = {}) {\n this.isCI = isCI;\n this.isDryRun = dryRun;\n this.isDebug = debug;\n this.isSilent = silent;\n }\n\n /**\n * Core logging method\n * Handles actual console output based on configuration\n *\n * @param level - Log level for the message\n * @param args - Arguments to log\n *\n * @example\n * ```typescript\n * this.print(LEVELS.INFO, 'Information message');\n * ```\n */\n protected print(_level: LogLevel, ...args: LogArgument[]): void {\n if (!this.isSilent) {\n console.log(...args);\n }\n }\n\n /**\n * Adds prefix to log messages\n * Can be overridden to customize log format\n *\n * @param value - The prefix value\n * @param _level - Log level (optional)\n * @returns Formatted prefix string or array\n *\n * @example\n * ```typescript\n * const prefix = this.prefix('INFO');\n * ```\n */\n prefix(value: string, _level?: LogLevel): string | string[] {\n return value;\n }\n\n /**\n * Basic log output\n *\n * @param args - Values to log\n *\n * @example\n * ```typescript\n * logger.log('This is a log message');\n * ```\n */\n log(...args: LogArgument[]): void {\n this.print(LEVELS.LOG, ...args);\n }\n\n /**\n * Informational log output\n *\n * @param args - Values to log\n *\n * @example\n * ```typescript\n * logger.info('This is an info message');\n * ```\n */\n info(...args: LogArgument[]): void {\n this.print(LEVELS.INFO, this.prefix(LEVELS.INFO), ...args);\n }\n\n /**\n * Warning log output\n *\n * @param args - Values to log\n *\n * @example\n * ```typescript\n * logger.warn('This is a warning message');\n * ```\n */\n warn(...args: LogArgument[]): void {\n this.print(LEVELS.WARN, this.prefix(LEVELS.WARN), ...args);\n }\n\n /**\n * Error log output\n *\n * @param args - Values to log\n *\n * @example\n * ```typescript\n * logger.error('This is an error message');\n * ```\n */\n error(...args: LogArgument[]): void {\n this.print(LEVELS.ERROR, this.prefix(LEVELS.ERROR), ...args);\n }\n\n /**\n * Debug log output\n *\n * - Only active when debug mode is enabled\n * - Formats objects as JSON strings\n *\n * @param args - Values to log\n *\n * @example\n * ```typescript\n * logger.debug('This is a debug message');\n * ```\n */\n debug(...args: LogArgument[]): void {\n if (this.isDebug) {\n const firstArg = first(args);\n const firstValue = isObject(firstArg)\n ? JSON.stringify(firstArg)\n : String(firstArg);\n\n this.print(\n LEVELS.DEBUG,\n this.prefix(LEVELS.DEBUG),\n firstValue,\n ...args.slice(1)\n );\n }\n }\n\n /**\n * Verbose log output\n *\n * - Only active when debug mode is enabled\n * - Uses purple color for output\n *\n * @param args - Values to log\n *\n * @example\n * ```typescript\n * logger.verbose('This is a verbose message');\n * ```\n */\n verbose(...args: LogArgument[]): void {\n if (this.isDebug) {\n this.print(LEVELS.DEBUG, ...args);\n }\n }\n\n /**\n * Command execution logging\n * Supports dry run mode and external command indication\n *\n * @param args - Command arguments and options\n *\n * @example\n * ```typescript\n * logger.exec('npm', 'install', { isDryRun: true });\n * logger.exec(['git', 'commit', '-m', 'feat: update'], { isExternal: true });\n * ```\n */\n exec(...args: (LogArgument | ExecOptions)[]): void {\n const lastArg = isPlainObject(last(args)) ? last(args) : undefined;\n const { isDryRun, isExternal } = (lastArg || {}) as ExecOptions;\n\n if (isDryRun || this.isDryRun) {\n const prefix = isExternal == null ? '$' : '!';\n const command = args\n .slice(0, lastArg == null ? undefined : -1)\n .map((cmd) =>\n isString(cmd) ? cmd : isArray(cmd) ? cmd.join(' ') : String(cmd)\n )\n .join(' ');\n const message = [prefix, command].join(' ').trim();\n this.log(message);\n }\n }\n\n /**\n * Obtrusive log output\n * Adds extra line breaks in non-CI environments\n *\n * @param args - Values to log\n *\n * @example\n * ```typescript\n * logger.obtrusive('This is an important message');\n * ```\n */\n obtrusive(...args: LogArgument[]): void {\n if (!this.isCI) this.log();\n this.log(...args);\n if (!this.isCI) this.log();\n }\n}\n","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.isPlainObject = exports.clone = exports.recursive = exports.merge = exports.main = void 0;\r\nmodule.exports = exports = main;\r\nexports.default = main;\r\nfunction main() {\r\n var items = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n items[_i] = arguments[_i];\r\n }\r\n return merge.apply(void 0, items);\r\n}\r\nexports.main = main;\r\nmain.clone = clone;\r\nmain.isPlainObject = isPlainObject;\r\nmain.recursive = recursive;\r\nfunction merge() {\r\n var items = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n items[_i] = arguments[_i];\r\n }\r\n return _merge(items[0] === true, false, items);\r\n}\r\nexports.merge = merge;\r\nfunction recursive() {\r\n var items = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n items[_i] = arguments[_i];\r\n }\r\n return _merge(items[0] === true, true, items);\r\n}\r\nexports.recursive = recursive;\r\nfunction clone(input) {\r\n if (Array.isArray(input)) {\r\n var output = [];\r\n for (var index = 0; index < input.length; ++index)\r\n output.push(clone(input[index]));\r\n return output;\r\n }\r\n else if (isPlainObject(input)) {\r\n var output = {};\r\n for (var index in input)\r\n output[index] = clone(input[index]);\r\n return output;\r\n }\r\n else {\r\n return input;\r\n }\r\n}\r\nexports.clone = clone;\r\nfunction isPlainObject(input) {\r\n return input && typeof input === 'object' && !Array.isArray(input);\r\n}\r\nexports.isPlainObject = isPlainObject;\r\nfunction _recursiveMerge(base, extend) {\r\n if (!isPlainObject(base))\r\n return extend;\r\n for (var key in extend) {\r\n if (key === '__proto__' || key === 'constructor' || key === 'prototype')\r\n continue;\r\n base[key] = (isPlainObject(base[key]) && isPlainObject(extend[key])) ?\r\n _recursiveMerge(base[key], extend[key]) :\r\n extend[key];\r\n }\r\n return base;\r\n}\r\nfunction _merge(isClone, isRecursive, items) {\r\n var result;\r\n if (isClone || !isPlainObject(result = items.shift()))\r\n result = {};\r\n for (var index = 0; index < items.length; ++index) {\r\n var item = items[index];\r\n if (!isPlainObject(item))\r\n continue;\r\n for (var key in item) {\r\n if (key === '__proto__' || key === 'constructor' || key === 'prototype')\r\n continue;\r\n var value = isClone ? clone(item[key]) : item[key];\r\n result[key] = isRecursive ? _recursiveMerge(result[key], value) : value;\r\n }\r\n }\r\n return result;\r\n}\r\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n","var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","var assignValue = require('./_assignValue'),\n castPath = require('./_castPath'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\nfunction baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n}\n\nmodule.exports = baseSet;\n","var baseGet = require('./_baseGet'),\n baseSet = require('./_baseSet'),\n castPath = require('./_castPath');\n\n/**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\nfunction basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n}\n\nmodule.exports = basePickBy;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n","var basePickBy = require('./_basePickBy'),\n hasIn = require('./hasIn');\n\n/**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\nfunction basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n}\n\nmodule.exports = basePick;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n","var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n","var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseFlatten;\n","var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n","var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n","var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n","var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n","var basePick = require('./_basePick'),\n flatRest = require('./_flatRest');\n\n/**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\nvar pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n});\n\nmodule.exports = pick;\n","import {\n RequestAdapterInterface,\n RequestAdapterResponse,\n RequestAdapterConfig,\n ExecutorError,\n ExecutorPlugin,\n RequestErrorID,\n PromiseTask\n} from '../../../interface';\nimport { AsyncExecutor } from '../../executor';\nimport { merge } from 'merge';\nimport pick from 'lodash/pick';\n\n/**\n * Request adapter fetch configuration\n *\n * This type defines the configuration options for a request adapter.\n * It includes properties for URL, method, headers, and other request details.\n * The main purpose is to provide a flexible structure for configuring HTTP requests.\n *\n * @since 1.0.14\n */\nexport interface RequestAdapterFetchConfig<Request = unknown>\n extends RequestAdapterConfig<Request>,\n Omit<globalThis.RequestInit, 'headers'> {\n /**\n * The fetcher function\n *\n * You can override the default fetch function\n *\n * Some environments may not have a global fetch function, or you may want to override the default fetch logic.\n *\n * @example\n * ```typescript\n * const fetchRequest = new FetchRequest({ fetcher: customFetch });\n * ```\n *\n * @example Or configure it for each request\n * ```typescript\n * const fetchRequest = new FetchRequest();\n * fetchRequest.request({ url: '/data', fetcher: customFetch });\n * ```\n */\n fetcher?: typeof fetch;\n}\n\nconst reqInitAttrs = [\n 'cache',\n 'credentials',\n 'headers',\n 'integrity',\n 'keepalive',\n 'mode',\n 'priority',\n 'redirect',\n 'referrer',\n 'referrerPolicy',\n 'signal'\n];\nexport class RequestAdapterFetch\n implements RequestAdapterInterface<RequestAdapterFetchConfig>\n{\n readonly config: RequestAdapterFetchConfig;\n private executor: AsyncExecutor;\n\n /**\n * Creates a new FetchRequest instance\n * Automatically detects and configures fetch implementation\n *\n * - Core Idea: Simplify HTTP requests with built-in fetch support.\n * - Main Function: Initialize fetch requests with optional configuration.\n * - Main Purpose: Provide a flexible and extensible HTTP request utility.\n *\n * @param config - Request configuration options\n * @throws {FetchRequestError} When fetch is not available\n *\n * @example\n * ```typescript\n * const fetchRequest = new FetchRequest({ baseURL: 'https://api.example.com' });\n * ```\n */\n constructor(config: Partial<RequestAdapterFetchConfig> = {}) {\n if (!config.fetcher) {\n if (typeof fetch !== 'function') {\n throw new ExecutorError(RequestErrorID.ENV_FETCH_NOT_SUPPORT);\n }\n\n config.fetcher = fetch;\n }\n\n // use AsyncExecutor\n this.executor = new AsyncExecutor();\n\n this.config = config as RequestAdapterFetchConfig;\n }\n\n getConfig(): RequestAdapterFetchConfig {\n return this.config;\n }\n\n usePlugin(plugin: ExecutorPlugin): void {\n this.executor.use(plugin);\n }\n\n /**\n * Core request implementation\n * Merges configurations and executes fetch request\n *\n * - Core Idea: Execute HTTP requests with merged configurations.\n * - Main Function: Perform fetch requests using provided configurations.\n * - Main Purpose: Facilitate HTTP communication with error handling.\n *\n * @override\n * @param config - Request configuration\n * @returns Promise resolving to Response object\n * @throws {FetchRequestError} When fetcher is not available\n *\n * @example\n * ```typescript\n * const response = await fetchRequest.request({ url: '/data' });\n * ```\n */\n async request<Request, Response>(\n config: RequestAdapterFetchConfig<Request>\n ): Promise<RequestAdapterResponse<Request, Response>> {\n const thisConfig = this.getConfig();\n const mergedConfig = merge(\n {},\n thisConfig,\n config\n ) as RequestAdapterFetchConfig<Request>;\n const { fetcher, ...rest } = mergedConfig;\n\n if (typeof fetcher !== 'function') {\n throw new ExecutorError(RequestErrorID.FETCHER_NONE);\n }\n\n if (!rest.url) {\n throw new ExecutorError(RequestErrorID.URL_NONE);\n }\n\n const task: PromiseTask<\n RequestAdapterResponse<Request, Response>,\n RequestAdapterFetchConfig<Request>\n > = async (context) => {\n const response = await fetcher(\n this.parametersToRequest(context.parameters)\n );\n\n const result = this.toAdapterResponse(\n response,\n response,\n context.parameters\n );\n\n return result as RequestAdapterResponse<Request, Response>;\n };\n\n return this.executor.exec(rest, task);\n }\n\n parametersToRequest(parameters: RequestAdapterFetchConfig): Request {\n const { url = '/', method = 'GET', data } = parameters;\n const init = pick(parameters, reqInitAttrs);\n return new Request(\n url,\n Object.assign(init, {\n // FIXME: data is unknown type\n body: data as BodyInit,\n method: method.toUpperCase()\n })\n );\n }\n\n /**\n * Converts the raw fetch response into a standardized adapter response.\n *\n * @param data The data extracted from the response based on the response type.\n * @param response The original fetch Response object.\n * @param config The configuration used for the fetch request.\n * @returns A RequestAdapterResponse containing the processed response data.\n */\n toAdapterResponse<Request, Res = unknown>(\n data: Res,\n response: Response,\n config: RequestAdapterFetchConfig<Request>\n ): RequestAdapterResponse<Request, Res> {\n return {\n data,\n status: response.status,\n statusText: response.statusText,\n headers: this.getResponseHeaders(response),\n config,\n response\n };\n }\n\n /**\n * Extracts headers from the fetch Response object and returns them as a record.\n *\n * @param response The fetch Response object from which headers are extracted.\n * @returns A record of headers with header names as keys and header values as values.\n */\n getResponseHeaders(response: Response): Record<string, string> {\n const headersObj: Record<string, string> = {};\n\n response.headers.forEach((value, key) => {\n headersObj[key] = value;\n });\n return headersObj;\n }\n}\n","import { AxiosInstance, AxiosRequestConfig, AxiosStatic } from 'axios';\nimport {\n RequestAdapterInterface,\n RequestAdapterResponse\n} from '../../../interface';\n\n/**\n * Axios request adapter\n *\n * Only base config is supported\n *\n * @since 1.0.14\n */\nexport class RequestAdapterAxios\n implements RequestAdapterInterface<AxiosRequestConfig>\n{\n private axiosInstance: AxiosInstance;\n constructor(\n axios: AxiosStatic,\n readonly config: AxiosRequestConfig = {}\n ) {\n this.axiosInstance = axios.create(config);\n }\n\n getConfig(): AxiosRequestConfig {\n return this.config;\n }\n\n async request<Request, Response>(\n config: AxiosRequestConfig<Request>\n ): Promise<RequestAdapterResponse<Request, Response>> {\n return this.axiosInstance.request(config);\n }\n}\n","import {\n ExecutorPlugin,\n RequestErrorID,\n RequestError,\n ExecutorContext,\n RequestAdapterConfig\n} from '../../../interface';\n\n/**\n * Plugin for handling request cancellation\n * Provides abort functionality for fetch requests\n *\n * - Core Idea: Enhance request management with cancellation capabilities.\n * - Main Function: Allow requests to be aborted programmatically.\n * - Main Purpose: Improve control over network requests and resource management.\n *\n * Features:\n * - Request cancellation support\n * - Automatic cleanup of aborted requests\n * - Multiple concurrent request handling\n * - Custom abort callbacks\n *\n * **Not Support**\n * - Abort signal from outside\n *\n * Request parameters serialized to be used as unique identifiers.\n * Or you can pass in a specific requestid.\n *\n * You can also manually specify an onAbort callback that will be executed after termination.\n *\n * @implements {ExecutorPlugin}\n *\n * @example\n * ```typescript\n * // Basic usage\n * const abortPlugin = new AbortPlugin();\n * const client = new FetchRequest();\n * client.executor.use(abortPlugin);\n *\n * // Abort specific request\n * const config = { url: '/api/data' };\n * abortPlugin.abort(config);\n *\n * // Abort all pending requests\n * abortPlugin.abortAll();\n * ```\n *\n * @example\n *\n * Use RequestId to identify the request\n *\n * ```typescript\n * const abortPlugin = new AbortPlugin();\n * const client = new FetchRequest();\n * client.executor.use(abortPlugin);\n *\n * // Abort specific request\n * const config = { url: '/api/data', requestId: '123' };\n * abortPlugin.abort(config);\n * // or\n * abortPlugin.abort('123');\n * ```\n */\nexport class FetchAbortPlugin implements ExecutorPlugin {\n readonly pluginName = 'FetchAbortPlugin';\n readonly onlyOne = true;\n\n /**\n * Map to store active AbortControllers\n * Keys are generated from request config\n */\n private controllers: Map<string, AbortController> = new Map();\n\n /**\n * Generates unique key for request identification\n * Combines method, URL, params, and body to create unique identifier\n *\n * @param config - Request configuration\n * @returns Unique request identifier\n *\n * @example\n * ```typescript\n * const key = abortPlugin.generateRequestKey(config);\n * ```\n */\n private generateRequestKey(config: RequestAdapterConfig): string {\n if (config.requestId) {\n return config.requestId;\n }\n\n const params = config.params ? JSON.stringify(config.params) : '';\n const data = config.body ? JSON.stringify(config.body) : '';\n return `${config.method || 'GET'}-${config.url}-${params}-${data}`;\n }\n\n /**\n * Pre-request hook that sets up abort handling\n * Creates new AbortController and cancels any existing request with same key\n *\n * @param config - Request configuration\n * @returns Modified configuration with abort control\n *\n * @example\n * ```typescript\n * const modifiedConfig = abortPlugin.onBefore(config);\n * ```\n */\n onBefore(context: ExecutorContext<RequestAdapterConfig>): void {\n const key = this.generateRequestKey(context.parameters);\n\n // abort previous request\n if (this.controllers.has(key)) {\n this.abort(context.parameters);\n }\n\n // Check if config already has a signal\n if (!context.parameters.signal) {\n const controller = new AbortController();\n this.controllers.set(key, controller);\n\n // extends config with abort signal\n context.parameters.signal = controller.signal;\n }\n }\n\n onSuccess({ parameters }: ExecutorContext<RequestAdapterConfig>): void {\n // delete controller\n if (parameters) {\n this.controllers.delete(this.generateRequestKey(parameters));\n }\n }\n\n /**\n * Error handling hook for abort scenarios\n * Processes different types of abort errors and cleans up resources\n *\n * @param error - Original error\n * @param config - Request configuration\n * @returns RequestError or void\n *\n * @example\n * ```typescript\n * const error = abortPlugin.onError(new Error('AbortError'), config);\n * ```\n */\n onError({\n error,\n parameters\n }: ExecutorContext<RequestAdapterConfig>): RequestError | void {\n // only handle plugin related error,other error should be handled by other plugins\n if (this.isSameAbortError(error)) {\n if (parameters) {\n // controller may be deleted in .abort, this is will be undefined\n const key = this.generateRequestKey(parameters);\n const controller = this.controllers.get(key);\n this.controllers.delete(key);\n\n return new RequestError(\n RequestErrorID.ABORT_ERROR,\n controller?.signal.reason || error\n );\n }\n }\n }\n\n /**\n * Determines if the given error is an abort error.\n *\n * - Identify errors that are related to request abortion.\n * - Check error properties to determine if it's an abort error.\n * - Provide a unified method to recognize abort errors.\n *\n * @param error - The error to check\n * @returns True if the error is an abort error, false otherwise\n *\n */\n isSameAbortError(error?: Error): boolean {\n // Check if the error is an instance of AbortError\n if (error instanceof Error && error.name === 'AbortError') {\n return true;\n }\n\n // Check for DOMException with abort-related message\n if (error instanceof DOMException && error.name === 'AbortError') {\n return true;\n }\n\n // Check for Event with auto trigger abort\n // use: signal.addEventListener('abort')\n if (error instanceof Event && error.type === 'abort') {\n return true;\n }\n\n // Add any additional conditions that signify an abort error\n // For example, custom error types or specific error codes\n\n return false;\n }\n\n /**\n * Aborts a specific request\n * Triggers abort callback if provided\n *\n * @param config - Configuration of request to abort\n *\n * @example\n * ```typescript\n * abortPlugin.abort({\n * url: '/api/data',\n * onAbort: (config) => {\n * console.log('Request aborted:', config.url);\n * }\n * });\n * ```\n */\n abort(config: RequestAdapterConfig | string): void {\n const key =\n typeof config === 'string' ? config : this.generateRequestKey(config);\n const controller = this.controllers.get(key);\n if (controller) {\n controller.abort(\n new RequestError(\n RequestErrorID.ABORT_ERROR,\n 'The operation was aborted'\n )\n );\n // delete controller\n this.controllers.delete(key);\n\n if (typeof config !== 'string' && typeof config.onAbort === 'function') {\n config.onAbort.call(config, config);\n }\n }\n }\n\n /**\n * Aborts all pending requests\n * Clears all stored controllers\n *\n * @example\n * ```typescript\n * // Cancel all requests when component unmounts\n * useEffect(() => {\n * return () => abortPlugin.abortAll();\n * }, []);\n * ```\n */\n abortAll(): void {\n this.controllers.forEach((controller) => controller.abort());\n this.controllers.clear();\n }\n}\n","import {\n ExecutorPlugin,\n ExecutorContext,\n RequestError,\n RequestErrorID,\n RequestAdapterConfig,\n RequestAdapterResponse\n} from '../../../interface';\n\n/**\n * Plugin for URL manipulation and response handling\n * Provides URL composition and response status checking\n *\n * - Core Idea: Simplify URL handling and response validation.\n * - Main Function: Manage URL construction and check response status.\n * - Main Purpose: Ensure correct URL formation and response handling.\n *\n * Features:\n * - URL normalization\n * - Base URL handling\n * - Query parameter management\n * - Response status validation\n *\n * @implements {ExecutorPlugin}\n *\n * @example\n * ```typescript\n * // Basic usage\n * const urlPlugin = new FetchURLPlugin();\n * const client = new FetchRequest();\n * client.executor.use(urlPlugin);\n *\n * // Request with base URL and params\n * await client.get({\n * baseURL: 'https://api.example.com',\n * url: '/users',\n * params: { role: 'admin' }\n * });\n * ```\n */\nexport class FetchURLPlugin implements ExecutorPlugin {\n readonly pluginName = 'FetchURLPlugin';\n /**\n * Checks if URL is absolute (starts with http:// or https://)\n *\n * @param url - URL to check\n * @returns Boolean indicating if URL is absolute\n *\n * @example\n * ```typescript\n * const isAbsolute = urlPlugin.isFullURL('https://example.com');\n * ```\n */\n isFullURL(url: string): boolean {\n return url.startsWith('http://') || url.startsWith('https://');\n }\n\n /**\n * Appends query parameters to URL\n * Handles existing query parameters in URL\n *\n * @param url - Base URL\n * @param params - Parameters to append\n * @returns URL with query parameters\n *\n * @example\n * ```typescript\n * const url = urlPlugin.appendQueryParams(\n * 'https://api.example.com/users',\n * { role: 'admin', status: 'active' }\n * );\n * ```\n */\n appendQueryParams(url: string, params: Record<string, unknown> = {}): string {\n const opt = '?';\n const link = '&';\n const [path, search = ''] = url.split(opt);\n\n search.split(link).forEach((item) => {\n const [key, value] = item.split('=');\n if (key && value) {\n params[key] = value;\n }\n });\n\n const queryString = Object.entries(params)\n .map(([key, value]) => `${key}=${value}`)\n .join('&');\n\n return [path, queryString].join(opt);\n }\n\n /**\n * Combines base URL with path.\n *\n * Ensures proper slash handling\n *\n * @param url - URL path\n * @param baseURL - Base URL\n * @returns Combined URL\n *\n * @example\n * ```typescript\n * const fullUrl = urlPlugin.connectBaseURL('/users', 'https://api.example.com');\n * ```\n */\n connectBaseURL(url: string, baseURL: string): string {\n return `${baseURL}/${url}`;\n }\n\n /**\n * Builds complete URL from configuration.\n *\n * Handles base URL, path normalization, and query parameters.\n *\n * @param config - Request configuration\n * @returns Complete URL\n *\n * @example\n * ```typescript\n * const completeUrl = urlPlugin.buildUrl(config);\n * ```\n */\n buildUrl(config: RequestAdapterConfig): string {\n let { url = '' } = config;\n const { baseURL = '', params } = config;\n\n // has full url\n if (!this.isFullURL(url)) {\n // normalize baseUrl and path, only one slash\n const normalizedPath = url.startsWith('/') ? url.slice(1) : url;\n const normalizedBaseUrl = baseURL.endsWith('/')\n ? baseURL.slice(0, -1)\n : baseURL;\n url = this.connectBaseURL(normalizedPath, normalizedBaseUrl);\n }\n\n // handle params\n if (params && Object.keys(params).length > 0) {\n url = this.appendQueryParams(url, params);\n }\n\n return url;\n }\n\n /**\n * Pre-request hook that builds complete URL\n *\n * @param config - Request configuration\n *\n * @example\n * ```typescript\n * urlPlugin.onBefore(config);\n * ```\n */\n onBefore({ parameters }: ExecutorContext<RequestAdapterConfig>): void {\n // compose url and params\n parameters.url = this.buildUrl(parameters);\n }\n\n /**\n * Success hook that validates response status\n * Throws error for non-OK responses\n *\n * @param result - Fetch response\n * @returns Response if OK\n * @throws {RequestError} If response is not OK\n *\n * @example\n * ```typescript\n * const response = urlPlugin.onSuccess(fetchResponse);\n * ```\n */\n onSuccess({ returnValue }: ExecutorContext): void {\n const result = returnValue as RequestAdapterResponse<unknown, Response>;\n // if response is not ok, throw error\n if (!result.response.ok) {\n const requestError = new RequestError(\n RequestErrorID.RESPONSE_NOT_OK,\n `Request failed with status: ${result.status} ${result.statusText}`\n );\n\n // @ts-expect-error Experimental: add response to error\n requestError.response = result.response;\n\n throw requestError;\n }\n }\n\n /**\n * Error handling hook\n * Wraps non-RequestError errors\n *\n * @param error - Original error\n * @returns RequestError\n *\n * @example\n * ```typescript\n * const error = urlPlugin.onError(new Error('Network Error'));\n * ```\n */\n onError({ error }: ExecutorContext): RequestError {\n return error instanceof RequestError\n ? error\n : new RequestError(RequestErrorID.REQUEST_ERROR, error);\n }\n}\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n","var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n","var assignMergeValue = require('./_assignMergeValue'),\n cloneBuffer = require('./_cloneBuffer'),\n cloneTypedArray = require('./_cloneTypedArray'),\n copyArray = require('./_copyArray'),\n initCloneObject = require('./_initCloneObject'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLikeObject = require('./isArrayLikeObject'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isPlainObject = require('./isPlainObject'),\n isTypedArray = require('./isTypedArray'),\n safeGet = require('./_safeGet'),\n toPlainObject = require('./toPlainObject');\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n","var Stack = require('./_Stack'),\n assignMergeValue = require('./_assignMergeValue'),\n baseFor = require('./_baseFor'),\n baseMergeDeep = require('./_baseMergeDeep'),\n isObject = require('./isObject'),\n keysIn = require('./keysIn'),\n safeGet = require('./_safeGet');\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n","var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n","var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n","var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n","var baseMerge = require('./_baseMerge'),\n createAssigner = require('./_createAssigner');\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n","import { AsyncExecutor, ExecutorPlugin } from '../..';\nimport {\n RequestAdapterConfig,\n RequestAdapterInterface\n} from '../../../interface/request/RequestAdapter';\nimport merge from 'lodash/merge';\n\n/**\n * Represents a manager for handling HTTP requests.\n *\n * This interface defines a manager that contains an adapter and an executor.\n * It provides methods for adding plugins to the executor and making requests.\n *\n * Why this is an abstract class?\n *\n * - Because the Executor can be overridden at runtime, the type cannot be fixed,\n * so we need to reasonably flexibly control it.\n * - So we need to redefine the request type when implementing the current class.\n *\n * @since 1.2.2\n */\nexport abstract class RequestManager<Config extends RequestAdapterConfig> {\n constructor(\n protected readonly adapter: RequestAdapterInterface<Config>,\n protected readonly executor: AsyncExecutor = new AsyncExecutor()\n ) {}\n\n /**\n * Adds a plugin to the executor.\n *\n * @since 1.2.2\n *\n * @param plugin - The plugin to be used by the executor.\n * @returns The current instance of RequestManagerInterface for chaining.\n */\n usePlugin(plugin: ExecutorPlugin | ExecutorPlugin[]): this {\n if (Array.isArray(plugin)) {\n plugin.forEach((p) => this.executor.use(p));\n } else {\n this.executor.use(plugin);\n }\n return this;\n }\n\n /**\n * Executes a request with the given configuration.\n *\n * This method need to be overridden by the subclass, override type definition of request method.\n *\n * Of course, you can also override its logic.\n *\n * @param config - The configuration for the request.\n * @returns A promise that resolves to the response of the request.\n */\n request(config: unknown): Promise<unknown> {\n const mergedConfig = merge({}, this.adapter.getConfig(), config);\n return this.executor.exec(mergedConfig, (context) =>\n this.adapter.request(context.parameters)\n );\n }\n}\n","import {\n RequestAdapterResponse,\n RequestAdapterConfig\n} from '../../../interface';\nimport { RequestManager } from './RequestManager';\n\n/**\n * Represents a scheduler for managing HTTP requests.\n *\n * This class provides a unified API for making HTTP requests with support for plugins,\n * streaming responses, and request cancellation. Future enhancements may include caching,\n * upload/download progress, retries, timeouts, and mock data.\n *\n * @since 1.0.14\n * @example\n *\n * Create a Adapter\n *\n * ```typescript\n * class MockRequestAdapter implements RequestAdapterInterface<any> {\n * config: any;\n *\n * constructor(config: any = {}) {\n * this.config = config;\n * }\n *\n * getConfig(): any {\n * return this.config;\n * }\n * async request<Request, Response>(\n * config: any\n * ): Promise<RequestAdapterResponse<Response, Request>> {\n * const sendConfig = { ...this.config, ...config };\n * await new Promise((resolve) => setTimeout(resolve, 1000));\n *\n * return {\n * status: 200,\n * statusText: 'ok',\n * headers: {},\n * data: sendConfig.data,\n * config: sendConfig\n * };\n * }\n *\n * ```\n *\n * @example\n *\n * Execute a request using the adapter\n *\n * ```typescript\n * const adapter = new MockRequestAdapter();\n * const scheduler = new RequestScheduler();\n * const reqData = 'mock response';\n * const response = await scheduler.request({ url: '/test', data: reqData });\n * // => response.data is 'mock response'\n * ```\n *\n * @template Config - The configuration type extending RequestAdapterConfig.\n */\nexport class RequestScheduler<\n Config extends RequestAdapterConfig\n> extends RequestManager<Config> {\n /**\n * Executes a request with the given configuration.\n *\n * @since 1.0.14\n *\n * @override\n * @param config - The configuration for the request.\n * @returns A promise that resolves to the response of the request.\n */\n override request<Request, Response>(\n config: RequestAdapterConfig<Request>\n ): Promise<RequestAdapterResponse<Response, Request>> {\n return super.request(config) as Promise<\n RequestAdapterResponse<Response, Request>\n >;\n }\n\n /**\n * Executes a GET request.\n *\n * @param config - The configuration for the GET request.\n * @returns A promise that resolves to the response of the GET request.\n */\n async get<Request, Response>(\n url: string,\n config?: RequestAdapterConfig<Request>\n ): Promise<RequestAdapterResponse<Response, Request>> {\n return this.request<Request, Response>({ url, ...config, method: 'GET' });\n }\n\n /**\n * Executes a POST request.\n *\n * @param config - The configuration for the POST request.\n * @returns A promise that resolves to the response of the POST request.\n */\n async post<Request, Response>(\n url: string,\n config?: RequestAdapterConfig<Request>\n ): Promise<RequestAdapterResponse<Response, Request>> {\n return this.request<Request, Response>({ url, ...config, method: 'POST' });\n }\n\n /**\n * Executes a PUT request.\n *\n * @param config - The configuration for the PUT request.\n * @returns A promise that resolves to the response of the PUT request.\n */\n async put<Request, Response>(\n url: string,\n config?: RequestAdapterConfig<Request>\n ): Promise<RequestAdapterResponse<Response, Request>> {\n return this.request<Request, Response>({ url, ...config, method: 'PUT' });\n }\n\n /**\n * Executes a DELETE request.\n *\n * @param config - The configuration for the DELETE request.\n * @returns A promise that resolves to the response of the DELETE request.\n */\n async delete<Request, Response>(\n url: string,\n config?: RequestAdapterConfig<Request>\n ): Promise<RequestAdapterResponse<Response, Request>> {\n return this.request<Request, Response>({\n url,\n ...config,\n method: 'DELETE'\n });\n }\n\n /**\n * Executes a PATCH request.\n *\n * @param config - The configuration for the PATCH request.\n * @returns A promise that resolves to the response of the PATCH request.\n */\n async patch<Request, Response>(\n url: string,\n config?: RequestAdapterConfig<Request>\n ): Promise<RequestAdapterResponse<Response, Request>> {\n return this.request<Request, Response>({ url, ...config, method: 'PATCH' });\n }\n\n /**\n * Executes a HEAD request.\n *\n * @param config - The configuration for the HEAD request.\n * @returns A promise that resolves to the response of the HEAD request.\n */\n async head<Request, Response>(\n url: string,\n config?: RequestAdapterConfig<Request>\n ): Promise<RequestAdapterResponse<Response, Request>> {\n return this.request<Request, Response>({ url, ...config, method: 'HEAD' });\n }\n\n /**\n * Executes an OPTIONS request.\n *\n * @param config - The configuration for the OPTIONS request.\n * @returns A promise that resolves to the response of the OPTIONS request.\n */\n async options<Request, Response>(\n url: string,\n config?: RequestAdapterConfig<Request>\n ): Promise<RequestAdapterResponse<Response, Request>> {\n return this.request<Request, Response>({\n url,\n ...config,\n method: 'OPTIONS'\n });\n }\n\n /**\n * Executes a TRACE request.\n *\n * @param config - The configuration for the TRACE request.\n * @returns A promise that resolves to the response of the TRACE request.\n */\n async trace<Request, Response>(\n url: string,\n config?: RequestAdapterConfig<Request>\n ): Promise<RequestAdapterResponse<Response, Request>> {\n return this.request<Request, Response>({ url, ...config, method: 'TRACE' });\n }\n\n /**\n * Executes a CONNECT request.\n *\n * @param config - The configuration for the CONNECT request.\n * @returns A promise that resolves to the response of the CONNECT request.\n */\n async connect<Request, Response>(\n url: string,\n config?: RequestAdapterConfig<Request>\n ): Promise<RequestAdapterResponse<Response, Request>> {\n return this.request<Request, Response>({\n url,\n ...config,\n method: 'CONNECT'\n });\n }\n}\n","import {\n RequestAdapterConfig,\n RequestAdapterResponse,\n RequestTransactionInterface\n} from '../../../interface';\nimport { RequestManager } from './RequestManager';\n\n/**\n * Represents a transaction for managing HTTP requests.\n *\n * Now `RequestTransaction` and `RequestScheduler` have the same purpose, only different in form.\n *\n * If you want to override the return type of the request, you can use `RequestTransaction`.\n *\n * If you don't consider type, you can also use `requestScheduler`, just manually declare the return type.\n *\n * If you have the need to override the response or execution context, it is recommended to use `RequestTransaction`,\n * because it can match the type through typescript.\n *\n * The `request` method of `RequestTransaction` can do the following:\n * 1. Directly declare the return type through generics\n * 2. Declare the config type through generics\n * 3. Declare the request parameters and return values through `RequestTransactionInterface`\n *\n * Currently, it does not support passing parameters through generics, but you can use `RequestTransactionInterface`.\n *\n * @example Directly declare the return type through generics\n * ```typescript\n * const client = new RequestTransaction<CustomConfig>(new RequestAdapterFetch());\n *\n * client\n * .request<{\n * list: string[];\n * }>({ url: 'https://api.example.com/data', method: 'GET', hasCatchError: true })\n * .then((response) => {\n * console.log(response.data.list);\n * });\n * ```\n *\n * @example Declare the config type through generics\n * ```typescript\n * const client = new RequestTransaction<\n * RequestAdapterConfig & { hasCatchError?: boolean }\n * >(new RequestAdapterFetch());\n *\n * client.request({\n * url: 'https://api.example.com/data',\n * method: 'GET',\n * hasCatchError: true,\n * data: { name: 'John Doe' }\n * });\n * ```\n *\n * @example You can also extend the config type\n *\n * ```typescript\n * interface CustomConfig extends RequestAdapterConfig {\n * hasCatchError?: boolean;\n * }\n *\n * const client = new RequestTransaction<CustomConfig>(new RequestAdapterFetch());\n *\n * client.request({\n * url: 'https://api.example.com/data',\n * method: 'GET',\n * hasCatchError: true,\n * data: { name: 'John Doe' }\n * });\n * ```\n *\n * @example Directly declare the request parameters and return values through `RequestTransactionInterface`\n * ```typescript\n * interface CustomConfig extends RequestAdapterConfig {\n * hasCatchError?: boolean;\n * }\n * interface CustomResponse<T = unknown>\n * extends RequestAdapterResponse<unknown, T> {\n * catchError?: unknown;\n * }\n *\n * const client = new RequestTransaction<CustomConfig>(new RequestAdapterFetch());\n *\n * client\n * .request<\n * RequestTransactionInterface<\n * CustomConfig,\n * CustomResponse<{ list?: string[] }>\n * >\n * >({ url: 'https://api.example.com/data', method: 'GET', hasCatchError: true })\n * .then((response) => {\n * console.log(response.catchError);\n * // => (property) CustomResponse<T = unknown>.catchError?: unknown\n * console.log(response.data.list);\n * // => (property) list?: string[] | undefined\n * });\n * ```\n *\n * @example Finally, you can also use `RequestTransaction` to create a complete api client\n * ```typescript\n * // catch plugin\n * interface CatchPluginConfig {\n * hasCatchError?: boolean;\n * }\n * interface CatchPluginResponseData {\n * catchError?: unknown;\n * }\n *\n * // The main api client configuration\n * // You can inherit multiple config types from other plugins\n * interface ApiClientConfig extends RequestAdapterConfig, CatchPluginConfig {}\n *\n * // The main api client response type\n * // You can inherit multiple response types from other plugins\n * interface ApiClientResponse<T = unknown>\n * extends RequestAdapterResponse<unknown, T>,\n * CatchPluginResponseData {}\n *\n * // Independently declare a specific method Transaction\n * interface ApiTestTransaction\n * extends RequestTransactionInterface<\n * ApiClientConfig,\n * ApiClientResponse<{ list: string[] }>\n * > {}\n * class ApiClient extends RequestTransaction<ApiClientConfig> {\n * // If you don't require displaying the return type of the method\n * // Automatically deduce: Promise<ApiClientResponse<{ list: string[] }>>\n * test() {\n * return this.request<ApiTestTransaction>({\n * url: 'https://api.example.com/data',\n * method: 'GET',\n * hasCatchError: true\n * });\n * }\n *\n * // Displayly declare\n * test2(data: ApiTestTransaction['request']): Promise<ApiTestTransaction['response']> {\n * return this.request({\n * url: 'https://api.example.com/data',\n * method: 'GET',\n * hasCatchError: true,\n * data\n * });\n * }\n * }\n *\n * // Call the test method\n *\n * const req = new ApiClient(new RequestAdapterFetch());\n *\n * req.test().then((response) => {\n * console.log(response.catchError);\n * // => (property) CustomResponse<T = unknown>.catchError?: unknown\n * console.log(response.data.list);\n * // => (property) list?: string[] | undefined\n * });\n * ```\n *\n * If you are not satisfied with `RequestTransaction`, you can completely rewrite your own `RequestTransaction`.\n *\n * Only need to inherit `RequestManager` and override the `request` method.\n *\n * Finally, if you don't need typescript support, then it's basically the same as `RequestScheduler`,\n * except that some of the shortcuts have different parameters.\n *\n * @since 1.2.2\n */\nexport class RequestTransaction<\n Config extends RequestAdapterConfig<unknown>\n> extends RequestManager<Config> {\n /**\n * Makes an HTTP request with flexible type definitions\n * @template Transaction - Can be either the direct response data type or a RequestTransactionInterface\n * @param config - Request configuration object\n * @returns Promise of response data\n */\n request<Transaction = unknown>(\n config: Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['request']\n : Config\n ): Promise<\n Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['response']\n : RequestAdapterResponse<unknown, Transaction>\n > {\n return super.request(config) as Promise<\n Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['response']\n : RequestAdapterResponse<unknown, Transaction>\n >;\n }\n\n /**\n * Sends a GET request\n * @template Transaction - Response data type or RequestTransactionInterface\n * @param {string} url - The URL to send the request to\n * @param {Omit<Config, 'url' | 'method'>} [config] - Additional configuration options\n */\n get<Transaction = unknown>(\n url: string,\n config?: Omit<Config, 'url' | 'method'>\n ): Promise<\n Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['response']\n : RequestAdapterResponse<unknown, Transaction>\n > {\n return this.request<Transaction>({\n ...config,\n url,\n method: 'GET'\n } as Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['request']\n : Config);\n }\n\n /**\n * Sends a POST request\n * @template Transaction - Response data type or RequestTransactionInterface\n * @param {string} url - The URL to send the request to\n * @param {Transaction extends RequestTransactionInterface<Config, unknown> ? Transaction['request']['data'] : Config['data']} [data] - The data to be sent in the request body\n * @param {Omit<Config, 'url' | 'method' | 'data'>} [config] - Additional configuration options\n */\n post<Transaction = unknown>(\n url: string,\n data?: Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['request']['data']\n : Config['data'],\n config?: Omit<Config, 'url' | 'method' | 'data'>\n ): Promise<\n Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['response']\n : RequestAdapterResponse<unknown, Transaction>\n > {\n return this.request<Transaction>({\n ...config,\n url,\n method: 'POST',\n data\n } as Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['request']\n : Config);\n }\n\n /**\n * Sends a PUT request\n * @template Transaction - Response data type or RequestTransactionInterface\n * @param {string} url - The URL to send the request to\n * @param {Transaction extends RequestTransactionInterface<Config, unknown> ? Transaction['request']['data'] : Config['data']} [data] - The data to be sent in the request body\n * @param {Omit<Config, 'url' | 'method' | 'data'>} [config] - Additional configuration options\n */\n put<Transaction = unknown>(\n url: string,\n data?: Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['request']['data']\n : Config['data'],\n config?: Omit<Config, 'url' | 'method' | 'data'>\n ): Promise<\n Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['response']\n : RequestAdapterResponse<unknown, Transaction>\n > {\n return this.request<Transaction>({\n ...config,\n url,\n method: 'PUT',\n data\n } as Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['request']\n : Config);\n }\n\n /**\n * Sends a DELETE request\n * @template Transaction - Response data type or RequestTransactionInterface\n * @param {string} url - The URL to send the request to\n * @param {Omit<Config, 'url' | 'method'>} [config] - Additional configuration options\n */\n delete<Transaction = unknown>(\n url: string,\n config?: Omit<Config, 'url' | 'method'>\n ): Promise<\n Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['response']\n : RequestAdapterResponse<unknown, Transaction>\n > {\n return this.request<Transaction>({\n ...config,\n url,\n method: 'DELETE'\n } as Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['request']\n : Config);\n }\n\n /**\n * Sends a PATCH request\n * @template Transaction - Response data type or RequestTransactionInterface\n * @param {string} url - The URL to send the request to\n * @param {Transaction extends RequestTransactionInterface<Config, unknown> ? Transaction['request']['data'] : Config['data']} [data] - The data to be sent in the request body\n * @param {Omit<Config, 'url' | 'method' | 'data'>} [config] - Additional configuration options\n */\n patch<Transaction = unknown>(\n url: string,\n data?: Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['request']['data']\n : Config['data'],\n config?: Omit<Config, 'url' | 'method' | 'data'>\n ): Promise<\n Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['response']\n : RequestAdapterResponse<unknown, Transaction>\n > {\n return this.request<Transaction>({\n ...config,\n url,\n method: 'PATCH',\n data\n } as Transaction extends RequestTransactionInterface<Config, unknown>\n ? Transaction['request']\n : Config);\n }\n}\n","import { Serializer } from '../../interface';\n\n/**\n * Enhanced JSON serialization implementation that combines standard JSON API with additional features\n *\n * Why implement both Serializer and JSON interfaces:\n * 1. Serializer interface provides a consistent API across different serialization formats\n * 2. JSON interface maintains compatibility with native JSON methods\n * 3. Allows seamless integration with both existing JSON code and new serialization patterns\n *\n * Enhanced capabilities beyond standard JSON:\n * 1. Cross-platform line ending normalization (\\r\\n -> \\n)\n * 2. Built-in pretty printing configuration\n * 3. Default value support for failed deserialization\n * 4. Circular reference detection with clear error messages\n * 5. Type-safe interface with better TypeScript support\n *\n * Usage scenarios:\n * 1. Direct replacement for JSON global object\n * 2. Part of a pluggable serialization system\n * 3. Configuration file parsing with error handling\n * 4. Cross-platform data exchange\n *\n * @implements {Serializer<unknown, string>} - Generic serialization interface\n * @implements {JSON} - Standard JSON interface compatibility\n * @todo - If circular reference is detected, the error message is not very friendly, can use [flatted](https://www.npmjs.com/package/flatted) to improve it\n * @since 1.0.10\n *\n * @example\n * ```typescript\n * const serializer = new JSONSerializer({ pretty: true });\n *\n * // Using Serializer interface (with enhanced features)\n * const serialized = serializer.serialize({ name: \"test\" });\n * const deserialized = serializer.deserialize('invalid json', { fallback: true });\n *\n * // Using standard JSON API (maintains compatibility)\n * const json = serializer.stringify({ name: \"test\" });\n * const obj = serializer.parse(json);\n * ```\n *\n * @example\n *\n * `JSON.parse` may encounter errors, so we use `deserialize` method to handle them, set default value if needed\n *\n * ```typescript\n * const serializer = new JSONSerializer();\n * serializer.deserialize('invalid json', { fallback: true }); // returns { fallback: true }\n * ```\n *\n * @example\n * Or, use `JSONSerializer` replace native `JSON` methods\n *\n * ```typescript\n * const JSON = new JSONSerializer();\n *\n * JSON.stringify({ name: 'test' }); // same as JSON.stringify({ name: 'test' })\n * JSON.parse('{ \"name\": \"test\" }'); // same as JSON.parse('{ \"name\": \"test\" }')\n * ```\n */\nexport class JSONSerializer implements Serializer<unknown, string>, JSON {\n /**\n * Implements Symbol.toStringTag to properly identify this class\n * Required by JSON interface\n */\n readonly [Symbol.toStringTag] = 'JSONSerializer';\n\n constructor(\n private options: {\n /**\n * Enable pretty printing of JSON output\n * Adds automatic indentation and line breaks for better readability\n *\n * @since 1.0.10\n * @default false\n */\n pretty?: boolean;\n\n /**\n * Number of spaces to use for indentation when pretty printing\n * Only used when pretty is true\n *\n * @since 1.0.10\n * @default 2\n */\n indent?: number;\n\n /**\n * Custom replacer function for JSON.stringify\n * Allows custom transformation during serialization\n * Note: Will be wrapped to handle line endings\n *\n * @since 1.0.10\n */\n replacer?: (this: unknown, key: string, value: unknown) => unknown;\n } = {}\n ) {}\n\n /**\n * Creates a replacer function that handles line endings normalization\n *\n * Why normalize line endings:\n * 1. Ensures consistent output across different platforms (Windows, Unix)\n * 2. Prevents issues with source control systems\n * 3. Makes string comparisons reliable\n *\n * Handles three cases:\n * 1. Array replacer - Used for property filtering\n * 2. Function replacer - Wrapped to handle line endings\n * 3. Null/undefined - Creates default line ending handler\n *\n * @private\n * @param replacer - Custom replacer function or array of properties to include\n * @returns Replacer function or array of properties to include\n * @since 1.0.10\n */\n private createReplacer(\n replacer?:\n | ((this: unknown, key: string, value: unknown) => unknown)\n | (number | string)[]\n | null\n ):\n | ((this: unknown, key: string, value: unknown) => unknown)\n | (number | string)[]\n | null {\n // If it is an array type replacer, return it directly for property filtering\n if (Array.isArray(replacer)) {\n return replacer;\n }\n\n // If it is null, return the basic function that only handles line endings\n if (replacer === null) {\n return function (_key: string, val: unknown): unknown {\n return typeof val === 'string' ? val.replace(/\\r\\n/g, '\\n') : val;\n };\n }\n\n // If it is a function, wrap it to add line ending processing capability\n if (typeof replacer === 'function') {\n return function (this: unknown, key: string, val: unknown): unknown {\n const normalized =\n typeof val === 'string' ? val.replace(/\\r\\n/g, '\\n') : val;\n return replacer.call(this, key, normalized);\n };\n }\n\n // Default return the basic function that only handles line endings\n return function (_key: string, val: unknown): unknown {\n return typeof val === 'string' ? val.replace(/\\r\\n/g, '\\n') : val;\n };\n }\n\n /**\n * Enhanced JSON.stringify with additional features\n *\n * Enhancements:\n * 1. Line ending normalization\n * 2. Configurable pretty printing\n * 3. Better error messages for circular references\n * 4. Type-safe replacer handling\n *\n * **If circular reference is detected, the error message is not very friendly, can use [flatted](https://www.npmjs.com/package/flatted) to improve it**\n *\n * @since 1.0.10\n * @override\n * @returns Serialized string\n */\n stringify(\n value: unknown,\n replacer?:\n | ((this: unknown, key: string, value: unknown) => unknown)\n | (number | string)[]\n | null,\n space?: string | number\n ): string {\n try {\n const customReplacer = this.createReplacer(replacer);\n\n // Call different overloads based on replacer type to maintain type safety\n if (Array.isArray(customReplacer)) {\n return JSON.stringify(value, customReplacer, space);\n }\n\n return JSON.stringify(\n value,\n customReplacer as\n | ((this: unknown, key: string, value: unknown) => unknown)\n | undefined,\n space ?? (this.options.pretty ? this.options.indent || 2 : undefined)\n );\n } catch (error) {\n if (error instanceof TypeError && error.message.includes('circular')) {\n throw new TypeError('Cannot stringify data with circular references');\n }\n throw error;\n }\n }\n\n /**\n * Standard JSON.parse implementation\n * Note: Error handling is done in deserialize method\n *\n * @since 1.0.10\n * @override\n * @returns Parsed value\n */\n parse(\n text: string,\n reviver?: (this: unknown, key: string, value: unknown) => unknown\n ): unknown {\n return JSON.parse(text, reviver);\n }\n\n /**\n * Implements Serializer.serialize\n * Provides a simplified interface with configured options\n *\n * Benefits:\n * 1. Uses configured pretty printing\n * 2. Applies custom replacer if specified\n * 3. Maintains consistent line endings\n *\n * @override\n * @since 1.0.10\n * @returns Serialized string\n */\n serialize(data: unknown): string {\n return this.stringify(\n data,\n this.options.replacer || null,\n this.options.pretty ? this.options.indent || 2 : undefined\n );\n }\n\n /**\n * Implements Serializer.deserialize with enhanced error handling\n *\n * Benefits:\n * 1. Safe parsing with default value fallback\n * 2. No try-catch needed in calling code\n * 3. Predictable error handling\n *\n * @override\n * @since 1.0.10\n * @returns Parsed value\n */\n deserialize(data: string, defaultValue?: unknown): unknown {\n try {\n return this.parse(data);\n } catch {\n return defaultValue;\n }\n }\n\n /**\n * Optimized serialization for arrays of primitive values\n * Avoids object property enumeration\n *\n * @param arr - Array of primitive values to serialize\n * @returns JSON array string\n * @since 1.0.10\n */\n serializeArray(arr: (string | number | boolean)[]): string {\n // Use explicit type for Array.prototype.map\n const mapped = arr.map((value: string | number | boolean) =>\n JSON.stringify(value)\n );\n return '[' + mapped.join(',') + ']';\n }\n}\n","import { Serializer } from '../../interface';\n\n/**\n * Base64 serialization implementation\n * Provides string-to-base64 encoding/decoding with optional compression\n *\n * Features:\n * - Base64 encoding/decoding\n * - UTF-8 support\n * - URL-safe encoding option\n *\n * @implements {Serializer<string, string>}\n *\n * @since 1.0.10\n *\n * @example\n * ```typescript\n * const serializer = new Base64Serializer({ urlSafe: true });\n *\n * // Encode string to base64\n * const encoded = serializer.stringify(\"Hello World!\");\n *\n * // Decode base64 back to string\n * const decoded = serializer.parse(encoded);\n * ```\n */\nexport class Base64Serializer implements Serializer<string, string> {\n constructor(\n private options: {\n /**\n * Use URL-safe base64 encoding\n * @default false\n *\n * @since 1.0.10\n */\n urlSafe?: boolean;\n } = {}\n ) {}\n\n /**\n * Serializes string to base64\n * @override\n * @since 1.0.10\n * @param data - String to encode\n * @returns Base64 encoded string\n */\n serialize(data: string): string {\n const base64 = Buffer.from(data, 'utf8').toString('base64');\n if (this.options.urlSafe) {\n return this.makeUrlSafe(base64);\n }\n return base64;\n }\n\n /**\n * Deserializes base64 string back to original\n * @override\n * @since 1.0.10\n * @param data - Base64 string to decode\n * @param defaultValue - Optional default value if decoding fails\n * @returns Decoded string\n */\n deserialize(data: string, defaultValue?: string): string {\n try {\n if (!/^[A-Za-z0-9+/]*={0,2}$/.test(data)) {\n return defaultValue ?? '';\n }\n\n if (this.options.urlSafe) {\n data = this.makeUrlUnsafe(data);\n }\n return Buffer.from(data, 'base64').toString('utf8');\n } catch {\n return defaultValue ?? '';\n }\n }\n\n /**\n * Converts standard base64 to URL-safe base64\n * @since 1.0.10\n * @param base64 - Standard base64 string\n * @returns URL-safe base64 string\n */\n private makeUrlSafe(base64: string): string {\n return base64.replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=+$/, '');\n }\n\n /**\n * Converts URL-safe base64 back to standard base64\n * @private\n * @since 1.0.10\n * @param safe - URL-safe base64 string\n * @returns Standard base64 string\n */\n private makeUrlUnsafe(safe: string): string {\n safe = safe.replace(/-/g, '+').replace(/_/g, '/');\n while (safe.length % 4) {\n safe += '=';\n }\n return safe;\n }\n}\n","import { Serializer, SyncStorage } from '../../../interface';\nimport { JSONSerializer } from '../../serializer';\n\ntype JSONStorageValue<T> = {\n key: string;\n value: T;\n expire?: number;\n};\n\n/**\n * Represents a storage mechanism for JSON-serializable data.\n *\n * This class provides a way to store, retrieve, and manage JSON data\n * with optional expiration times. It can operate with a provided\n * synchronous storage backend or use an internal store.\n *\n * The main purpose of this class is to facilitate the storage of\n * complex data structures in a serialized JSON format, allowing\n * for easy retrieval and management.\n *\n * inner serializer is used by default, which is `JSONSerializer`.\n *\n * @since 1.0.17\n *\n * @example\n *\n * A simple example of how to use the JSONStorage class\n *\n * ```typescript\n * const storage = new JSONStorage();\n * storage.setItem('key', { data: 'value' }, 3600);\n * const value = storage.getItem('key');\n * // => { data: 'value' }\n * ```\n * @example\n *\n * If need persistent storage, you can use `localStorage` or `sessionStorage`\n *\n * ```typescript\n * const storage = new JSONStorage(localStorage);\n * storage.setItem('key', { data: 'value' }, 3600);\n * const value = storage.getItem('key');\n * // => { data: 'value' }\n * ```\n *\n * @example\n *\n * Or use custom serializer and storage\n *\n * ```typescript\n * // use native JSON\n * const customSerializer = {\n * serialize: JSON.stringify,\n * deserialize: JSON.parse,\n * };\n *\n * // can use localStorage or sessionStorage\n * const customStorage = {\n * setItem: (key: string, value: string) => {\n * localStorage.setItem(key, value);\n * },\n * getItem: (key: string) => {\n * return localStorage.getItem(key);\n * },\n * removeItem: (key: string) => {\n * localStorage.removeItem(key);\n * },\n * clear: () => {\n * localStorage.clear();\n * },\n * };\n *\n * const storage = new JSONStorage(customStorage, customSerializer);\n * storage.setItem('key', { data: 'value' }, 3600);\n * const value = storage.getItem('key');\n * ```\n *\n */\nexport class JSONStorage implements SyncStorage<string> {\n /**\n * The internal store for the JSONStorage class.\n *\n * If `storage` is not provided, it is stored in memory by default.\n */\n private store: Record<string, string> = {};\n\n /**\n * Initializes a new instance of the JSONStorage class.\n *\n * @param storage - An optional synchronous storage backend to use.\n */\n constructor(\n /**\n * The storage backend to use.\n */\n private readonly storage?: SyncStorage<string, string>,\n /**\n * The serializer used to serialize and deserialize the data.\n *\n * **serializer and deserialize is only support sync operation**\n */\n private readonly serializer: Serializer<\n unknown,\n string\n > = new JSONSerializer()\n ) {}\n\n /**\n * Gets the number of items stored in the local storage.\n *\n * @returns The number of stored items.\n */\n get length(): number {\n return this.storage ? this.storage.length : Object.keys(this.store).length;\n }\n\n /**\n * Stores a value with an optional expiration time.\n *\n * @param key - The key under which the value is stored.\n * @param value - The value to store, which must be JSON-serializable.\n * @param expire - Optional expiration time in milliseconds.\n */\n setItem<T>(key: string, value: T, expire?: number): void {\n const parameters = { key, value, expire } as JSONStorageValue<T>;\n\n if (typeof expire === 'number' && expire > 0) {\n parameters.expire = expire;\n }\n\n const valueString = this.serializer.serialize(parameters);\n if (this.storage) {\n this.storage.setItem(key, valueString);\n return;\n }\n\n this.store[key] = valueString;\n }\n\n /**\n * Retrieves a stored value by its key.\n *\n * @param key - The key of the value to retrieve.\n * @param defaultValue - An optional default value to return if the key is not found.\n * @returns The stored value or the default value if the key is not found or expired.\n */\n getItem<T>(key: string, defaultValue?: T): T | null {\n const item = this.storage ? this.storage.getItem(key) : this.store[key];\n const _dv = defaultValue ?? null;\n\n if (!item) {\n return _dv;\n }\n\n const value = this.serializer.deserialize(item, _dv) as JSONStorageValue<T>;\n\n if (typeof value === 'object') {\n if (typeof value.expire === 'number' && value.expire < Date.now()) {\n this.removeItem(key);\n return _dv;\n }\n\n return value?.value ?? _dv;\n }\n\n return _dv;\n }\n\n /**\n * Removes a stored item by its key.\n *\n * @param key - The key of the item to remove.\n */\n removeItem(key: string): void {\n if (this.storage) {\n this.storage.removeItem(key);\n return;\n }\n\n delete this.store[key];\n }\n\n /**\n * Clears all stored items.\n */\n clear(): void {\n if (this.storage) {\n this.storage.clear();\n return;\n }\n\n this.store = {};\n }\n}\n"],"names":["RequestErrorID","first","require$$0","global","require$$1","require$$2","require$$3","require$$4","require$$5","merge","require$$6","require$$7","require$$8","require$$9","require$$10","require$$11","require$$12","require$$13","require$$14"],"mappings":";;;;;;EAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BG;AACH,MAAA,QAAA,kBAAA,YAAA;EAqBE;;;;;;;;;;;;;;;;EAgBG;EACH,IAAA,SAAA,QAAA,CAAsB,MAAuB,EAAA;UAAvB,IAAM,CAAA,MAAA,GAAN,MAAM;EArC5B;;;;;;;;;;;;;;;;;EAiBG;UACO,IAAO,CAAA,OAAA,GAAqB,EAAE;;EAqBxC;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BG;MACH,QAAG,CAAA,SAAA,CAAA,GAAA,GAAH,UAAI,MAAsB,EAAA;EACxB,QAAA,IACE,IAAI,CAAC,OAAO,CAAC,IAAI,CACf,UAAC,CAAC,EAAA;cACA,OAAA,CAAC,KAAK,MAAM;EACZ,gBAAA,CAAC,CAAC,UAAU,KAAK,MAAM,CAAC,UAAU;EAClC,gBAAA,CAAC,CAAC,WAAW,KAAK,MAAM,CAAC,WAAW;EAFpC,SAEoC,CACvC;cACD,MAAM,CAAC,OAAO,EACd;cACA,OAAO,CAAC,IAAI,CAAC,SAAA,CAAA,MAAA,CAAU,MAAM,CAAC,UAAU,EAA+B,+BAAA,CAAA,CAAC;cACxE;;EAGF,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;OAC1B;MAmIH,O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AAI,IAAI,CAAC,OAAO,EAAE;EAChB,YAAA,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC;cAC5B;;EAGF,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC;OACvB;EAED;;EAEG;EACH,IAAA,WAAA,CAAA,SAAA,CAAA,KAAK,GAAL,YAAA;EACE,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE;EAChB,YAAA,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE;cACpB;;EAGF,QAAA,IAAI,CAAC,KAAK,GAAG,EAAE;OAChB;MACH,OAAC,WAAA;EAAD,CAAC,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134]}
|