UNPKG

eslint-plugin-remeda

Version:
1,512 lines (1,443 loc) 724 kB
import { createRequire } from "module"; //#region rolldown:runtime var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __commonJS = (cb, mod) => function() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; var __export = (target, all) => { for (var name$1 in all) __defProp(target, name$1, { get: all[name$1], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") for (var keys$2 = __getOwnPropNames(from), i = 0, n = keys$2.length, key; i < n; i++) { key = keys$2[i]; if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: ((k) => from[k]).bind(null, key), enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod)); var __require = /* @__PURE__ */ createRequire(import.meta.url); //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js /** Detect free variable `global` from Node.js. */ var freeGlobal = typeof global == "object" && global && global.Object === Object && global; var _freeGlobal_default = freeGlobal; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js /** Detect free variable `self`. */ var freeSelf = typeof self == "object" && self && self.Object === Object && self; /** Used as a reference to the global object. */ var root = _freeGlobal_default || freeSelf || Function("return this")(); var _root_default = root; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js /** Built-in value references. */ var Symbol$1 = _root_default.Symbol; var _Symbol_default = Symbol$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js /** Used for built-in method references. */ var objectProto$17 = Object.prototype; /** Used to check objects for own properties. */ var hasOwnProperty$14 = objectProto$17.hasOwnProperty; /** * Used to resolve the * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) * of values. */ var nativeObjectToString$1 = objectProto$17.toString; /** Built-in value references. */ var symToStringTag$1 = _Symbol_default ? _Symbol_default.toStringTag : void 0; /** * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. * * @private * @param {*} value The value to query. * @returns {string} Returns the raw `toStringTag`. */ function getRawTag(value$1) { var isOwn = hasOwnProperty$14.call(value$1, symToStringTag$1), tag = value$1[symToStringTag$1]; try { value$1[symToStringTag$1] = void 0; var unmasked = true; } catch (e) {} var result$1 = nativeObjectToString$1.call(value$1); if (unmasked) if (isOwn) value$1[symToStringTag$1] = tag; else delete value$1[symToStringTag$1]; return result$1; } var _getRawTag_default = getRawTag; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js /** Used for built-in method references. */ var objectProto$16 = Object.prototype; /** * Used to resolve the * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) * of values. */ var nativeObjectToString = objectProto$16.toString; /** * Converts `value` to a string using `Object.prototype.toString`. * * @private * @param {*} value The value to convert. * @returns {string} Returns the converted string. */ function objectToString(value$1) { return nativeObjectToString.call(value$1); } var _objectToString_default = objectToString; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js /** `Object#toString` result references. */ var nullTag = "[object Null]", undefinedTag = "[object Undefined]"; /** Built-in value references. */ var symToStringTag = _Symbol_default ? _Symbol_default.toStringTag : void 0; /** * The base implementation of `getTag` without fallbacks for buggy environments. * * @private * @param {*} value The value to query. * @returns {string} Returns the `toStringTag`. */ function baseGetTag(value$1) { if (value$1 == null) return value$1 === void 0 ? undefinedTag : nullTag; return symToStringTag && symToStringTag in Object(value$1) ? _getRawTag_default(value$1) : _objectToString_default(value$1); } var _baseGetTag_default = baseGetTag; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.js /** * Checks if `value` is object-like. A value is object-like if it's not `null` * and has a `typeof` result of "object". * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is object-like, else `false`. * @example * * _.isObjectLike({}); * // => true * * _.isObjectLike([1, 2, 3]); * // => true * * _.isObjectLike(_.noop); * // => false * * _.isObjectLike(null); * // => false */ function isObjectLike$1(value$1) { return value$1 != null && typeof value$1 == "object"; } var isObjectLike_default = isObjectLike$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.js /** `Object#toString` result references. */ var symbolTag$3 = "[object Symbol]"; /** * Checks if `value` is classified as a `Symbol` primitive or object. * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. * @example * * _.isSymbol(Symbol.iterator); * // => true * * _.isSymbol('abc'); * // => false */ function isSymbol$1(value$1) { return typeof value$1 == "symbol" || isObjectLike_default(value$1) && _baseGetTag_default(value$1) == symbolTag$3; } var isSymbol_default = isSymbol$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.js /** * A specialized version of `_.map` for arrays without support for iteratee * shorthands. * * @private * @param {Array} [array] The array to iterate over. * @param {Function} iteratee The function invoked per iteration. * @returns {Array} Returns the new mapped array. */ function arrayMap(array, iteratee$1) { var index$1 = -1, length = array == null ? 0 : array.length, result$1 = Array(length); while (++index$1 < length) result$1[index$1] = iteratee$1(array[index$1], index$1, array); return result$1; } var _arrayMap_default = arrayMap; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.js /** * Checks if `value` is classified as an `Array` object. * * @static * @memberOf _ * @since 0.1.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is an array, else `false`. * @example * * _.isArray([1, 2, 3]); * // => true * * _.isArray(document.body.children); * // => false * * _.isArray('abc'); * // => false * * _.isArray(_.noop); * // => false */ var isArray$2 = Array.isArray; var isArray_default = isArray$2; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.js /** Used as references for various `Number` constants. */ var INFINITY$2 = Infinity; /** Used to convert symbols to primitives and strings. */ var symbolProto$2 = _Symbol_default ? _Symbol_default.prototype : void 0, symbolToString = symbolProto$2 ? symbolProto$2.toString : void 0; /** * The base implementation of `_.toString` which doesn't convert nullish * values to empty strings. * * @private * @param {*} value The value to process. * @returns {string} Returns the string. */ function baseToString(value$1) { if (typeof value$1 == "string") return value$1; if (isArray_default(value$1)) return _arrayMap_default(value$1, baseToString) + ""; if (isSymbol_default(value$1)) return symbolToString ? symbolToString.call(value$1) : ""; var result$1 = value$1 + ""; return result$1 == "0" && 1 / value$1 == -INFINITY$2 ? "-0" : result$1; } var _baseToString_default = baseToString; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_trimmedEndIndex.js /** Used to match a single whitespace character. */ var reWhitespace = /\s/; /** * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace * character of `string`. * * @private * @param {string} string The string to inspect. * @returns {number} Returns the index of the last non-whitespace character. */ function trimmedEndIndex(string) { var index$1 = string.length; while (index$1-- && reWhitespace.test(string.charAt(index$1))); return index$1; } var _trimmedEndIndex_default = trimmedEndIndex; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTrim.js /** Used to match leading whitespace. */ var reTrimStart = /^\s+/; /** * The base implementation of `_.trim`. * * @private * @param {string} string The string to trim. * @returns {string} Returns the trimmed string. */ function baseTrim(string) { return string ? string.slice(0, _trimmedEndIndex_default(string) + 1).replace(reTrimStart, "") : string; } var _baseTrim_default = baseTrim; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js /** * Checks if `value` is the * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) * * @static * @memberOf _ * @since 0.1.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is an object, else `false`. * @example * * _.isObject({}); * // => true * * _.isObject([1, 2, 3]); * // => true * * _.isObject(_.noop); * // => true * * _.isObject(null); * // => false */ function isObject$2(value$1) { var type$1 = typeof value$1; return value$1 != null && (type$1 == "object" || type$1 == "function"); } var isObject_default = isObject$2; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toNumber.js /** Used as references for various `Number` constants. */ var NAN = NaN; /** Used to detect bad signed hexadecimal string values. */ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; /** Used to detect binary string values. */ var reIsBinary = /^0b[01]+$/i; /** Used to detect octal string values. */ var reIsOctal = /^0o[0-7]+$/i; /** Built-in method references without a dependency on `root`. */ var freeParseInt = parseInt; /** * Converts `value` to a number. * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to process. * @returns {number} Returns the number. * @example * * _.toNumber(3.2); * // => 3.2 * * _.toNumber(Number.MIN_VALUE); * // => 5e-324 * * _.toNumber(Infinity); * // => Infinity * * _.toNumber('3.2'); * // => 3.2 */ function toNumber$1(value$1) { if (typeof value$1 == "number") return value$1; if (isSymbol_default(value$1)) return NAN; if (isObject_default(value$1)) { var other = typeof value$1.valueOf == "function" ? value$1.valueOf() : value$1; value$1 = isObject_default(other) ? other + "" : other; } if (typeof value$1 != "string") return value$1 === 0 ? value$1 : +value$1; value$1 = _baseTrim_default(value$1); var isBinary = reIsBinary.test(value$1); return isBinary || reIsOctal.test(value$1) ? freeParseInt(value$1.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value$1) ? NAN : +value$1; } var toNumber_default = toNumber$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toFinite.js /** Used as references for various `Number` constants. */ var INFINITY$1 = Infinity, MAX_INTEGER = 17976931348623157e292; /** * Converts `value` to a finite number. * * @static * @memberOf _ * @since 4.12.0 * @category Lang * @param {*} value The value to convert. * @returns {number} Returns the converted number. * @example * * _.toFinite(3.2); * // => 3.2 * * _.toFinite(Number.MIN_VALUE); * // => 5e-324 * * _.toFinite(Infinity); * // => 1.7976931348623157e+308 * * _.toFinite('3.2'); * // => 3.2 */ function toFinite$1(value$1) { if (!value$1) return value$1 === 0 ? value$1 : 0; value$1 = toNumber_default(value$1); if (value$1 === INFINITY$1 || value$1 === -INFINITY$1) { var sign = value$1 < 0 ? -1 : 1; return sign * MAX_INTEGER; } return value$1 === value$1 ? value$1 : 0; } var toFinite_default = toFinite$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toInteger.js /** * Converts `value` to an integer. * * **Note:** This method is loosely based on * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger). * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to convert. * @returns {number} Returns the converted integer. * @example * * _.toInteger(3.2); * // => 3 * * _.toInteger(Number.MIN_VALUE); * // => 0 * * _.toInteger(Infinity); * // => 1.7976931348623157e+308 * * _.toInteger('3.2'); * // => 3 */ function toInteger$1(value$1) { var result$1 = toFinite_default(value$1), remainder = result$1 % 1; return result$1 === result$1 ? remainder ? result$1 - remainder : result$1 : 0; } var toInteger_default = toInteger$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.js /** * This method returns the first argument it receives. * * @static * @since 0.1.0 * @memberOf _ * @category Util * @param {*} value Any value. * @returns {*} Returns `value`. * @example * * var object = { 'a': 1 }; * * console.log(_.identity(object) === object); * // => true */ function identity$1(value$1) { return value$1; } var identity_default = identity$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.js /** `Object#toString` result references. */ var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]"; /** * Checks if `value` is classified as a `Function` object. * * @static * @memberOf _ * @since 0.1.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a function, else `false`. * @example * * _.isFunction(_); * // => true * * _.isFunction(/abc/); * // => false */ function isFunction$1(value$1) { if (!isObject_default(value$1)) return false; var tag = _baseGetTag_default(value$1); return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag; } var isFunction_default = isFunction$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.js /** Used to detect overreaching core-js shims. */ var coreJsData = _root_default["__core-js_shared__"]; var _coreJsData_default = coreJsData; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.js /** Used to detect methods masquerading as native. */ var maskSrcKey = function() { var uid = /[^.]+$/.exec(_coreJsData_default && _coreJsData_default.keys && _coreJsData_default.keys.IE_PROTO || ""); return uid ? "Symbol(src)_1." + uid : ""; }(); /** * Checks if `func` has its source masked. * * @private * @param {Function} func The function to check. * @returns {boolean} Returns `true` if `func` is masked, else `false`. */ function isMasked(func) { return !!maskSrcKey && maskSrcKey in func; } var _isMasked_default = isMasked; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.js /** Used for built-in method references. */ var funcProto$1 = Function.prototype; /** Used to resolve the decompiled source of functions. */ var funcToString$1 = funcProto$1.toString; /** * Converts `func` to its source code. * * @private * @param {Function} func The function to convert. * @returns {string} Returns the source code. */ function toSource(func) { if (func != null) { try { return funcToString$1.call(func); } catch (e) {} try { return func + ""; } catch (e) {} } return ""; } var _toSource_default = toSource; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.js /** * Used to match `RegExp` * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). */ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; /** Used to detect host constructors (Safari). */ var reIsHostCtor = /^\[object .+?Constructor\]$/; /** Used for built-in method references. */ var funcProto = Function.prototype, objectProto$15 = Object.prototype; /** Used to resolve the decompiled source of functions. */ var funcToString = funcProto.toString; /** Used to check objects for own properties. */ var hasOwnProperty$13 = objectProto$15.hasOwnProperty; /** Used to detect if a method is native. */ var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$13).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"); /** * The base implementation of `_.isNative` without bad shim checks. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a native function, * else `false`. */ function baseIsNative(value$1) { if (!isObject_default(value$1) || _isMasked_default(value$1)) return false; var pattern = isFunction_default(value$1) ? reIsNative : reIsHostCtor; return pattern.test(_toSource_default(value$1)); } var _baseIsNative_default = baseIsNative; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.js /** * Gets the value at `key` of `object`. * * @private * @param {Object} [object] The object to query. * @param {string} key The key of the property to get. * @returns {*} Returns the property value. */ function getValue(object, key) { return object == null ? void 0 : object[key]; } var _getValue_default = getValue; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.js /** * Gets the native function at `key` of `object`. * * @private * @param {Object} object The object to query. * @param {string} key The key of the method to get. * @returns {*} Returns the function if it's native, else `undefined`. */ function getNative(object, key) { var value$1 = _getValue_default(object, key); return _baseIsNative_default(value$1) ? value$1 : void 0; } var _getNative_default = getNative; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.js var WeakMap$1 = _getNative_default(_root_default, "WeakMap"); var _WeakMap_default = WeakMap$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.js /** Built-in value references. */ var objectCreate = Object.create; /** * The base implementation of `_.create` without support for assigning * properties to the created object. * * @private * @param {Object} proto The object to inherit from. * @returns {Object} Returns the new object. */ var baseCreate = function() { function object() {} return function(proto) { if (!isObject_default(proto)) return {}; if (objectCreate) return objectCreate(proto); object.prototype = proto; var result$1 = new object(); object.prototype = void 0; return result$1; }; }(); var _baseCreate_default = baseCreate; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.js /** * A faster alternative to `Function#apply`, this function invokes `func` * with the `this` binding of `thisArg` and the arguments of `args`. * * @private * @param {Function} func The function to invoke. * @param {*} thisArg The `this` binding of `func`. * @param {Array} args The arguments to invoke `func` with. * @returns {*} Returns the result of `func`. */ function apply(func, thisArg, args) { switch (args.length) { case 0: return func.call(thisArg); case 1: return func.call(thisArg, args[0]); case 2: return func.call(thisArg, args[0], args[1]); case 3: return func.call(thisArg, args[0], args[1], args[2]); } return func.apply(thisArg, args); } var _apply_default = apply; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.js /** * Copies the values of `source` to `array`. * * @private * @param {Array} source The array to copy values from. * @param {Array} [array=[]] The array to copy values to. * @returns {Array} Returns `array`. */ function copyArray(source, array) { var index$1 = -1, length = source.length; array || (array = Array(length)); while (++index$1 < length) array[index$1] = source[index$1]; return array; } var _copyArray_default = copyArray; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.js /** Used to detect hot functions by number of calls within a span of milliseconds. */ var HOT_COUNT = 800, HOT_SPAN = 16; var nativeNow = Date.now; /** * Creates a function that'll short out and invoke `identity` instead * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN` * milliseconds. * * @private * @param {Function} func The function to restrict. * @returns {Function} Returns the new shortable function. */ function shortOut(func) { var count = 0, lastCalled = 0; return function() { var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled); lastCalled = stamp; if (remaining > 0) { if (++count >= HOT_COUNT) return arguments[0]; } else count = 0; return func.apply(void 0, arguments); }; } var _shortOut_default = shortOut; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.js /** * Creates a function that returns `value`. * * @static * @memberOf _ * @since 2.4.0 * @category Util * @param {*} value The value to return from the new function. * @returns {Function} Returns the new constant function. * @example * * var objects = _.times(2, _.constant({ 'a': 1 })); * * console.log(objects); * // => [{ 'a': 1 }, { 'a': 1 }] * * console.log(objects[0] === objects[1]); * // => true */ function constant$1(value$1) { return function() { return value$1; }; } var constant_default = constant$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.js var defineProperty = function() { try { var func = _getNative_default(Object, "defineProperty"); func({}, "", {}); return func; } catch (e) {} }(); var _defineProperty_default = defineProperty; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.js /** * The base implementation of `setToString` without support for hot loop shorting. * * @private * @param {Function} func The function to modify. * @param {Function} string The `toString` result. * @returns {Function} Returns `func`. */ var baseSetToString = !_defineProperty_default ? identity_default : function(func, string) { return _defineProperty_default(func, "toString", { "configurable": true, "enumerable": false, "value": constant_default(string), "writable": true }); }; var _baseSetToString_default = baseSetToString; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.js /** * Sets the `toString` method of `func` to return `string`. * * @private * @param {Function} func The function to modify. * @param {Function} string The `toString` result. * @returns {Function} Returns `func`. */ var setToString = _shortOut_default(_baseSetToString_default); var _setToString_default = setToString; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.js /** * A specialized version of `_.forEach` for arrays without support for * iteratee shorthands. * * @private * @param {Array} [array] The array to iterate over. * @param {Function} iteratee The function invoked per iteration. * @returns {Array} Returns `array`. */ function arrayEach(array, iteratee$1) { var index$1 = -1, length = array == null ? 0 : array.length; while (++index$1 < length) if (iteratee$1(array[index$1], index$1, array) === false) break; return array; } var _arrayEach_default = arrayEach; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.js /** * The base implementation of `_.findIndex` and `_.findLastIndex` without * support for iteratee shorthands. * * @private * @param {Array} array The array to inspect. * @param {Function} predicate The function invoked per iteration. * @param {number} fromIndex The index to search from. * @param {boolean} [fromRight] Specify iterating from right to left. * @returns {number} Returns the index of the matched value, else `-1`. */ function baseFindIndex(array, predicate, fromIndex, fromRight) { var length = array.length, index$1 = fromIndex + (fromRight ? 1 : -1); while (fromRight ? index$1-- : ++index$1 < length) if (predicate(array[index$1], index$1, array)) return index$1; return -1; } var _baseFindIndex_default = baseFindIndex; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.js /** * The base implementation of `_.isNaN` without support for number objects. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. */ function baseIsNaN(value$1) { return value$1 !== value$1; } var _baseIsNaN_default = baseIsNaN; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.js /** * A specialized version of `_.indexOf` which performs strict equality * comparisons of values, i.e. `===`. * * @private * @param {Array} array The array to inspect. * @param {*} value The value to search for. * @param {number} fromIndex The index to search from. * @returns {number} Returns the index of the matched value, else `-1`. */ function strictIndexOf(array, value$1, fromIndex) { var index$1 = fromIndex - 1, length = array.length; while (++index$1 < length) if (array[index$1] === value$1) return index$1; return -1; } var _strictIndexOf_default = strictIndexOf; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.js /** * The base implementation of `_.indexOf` without `fromIndex` bounds checks. * * @private * @param {Array} array The array to inspect. * @param {*} value The value to search for. * @param {number} fromIndex The index to search from. * @returns {number} Returns the index of the matched value, else `-1`. */ function baseIndexOf(array, value$1, fromIndex) { return value$1 === value$1 ? _strictIndexOf_default(array, value$1, fromIndex) : _baseFindIndex_default(array, _baseIsNaN_default, fromIndex); } var _baseIndexOf_default = baseIndexOf; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.js /** Used as references for various `Number` constants. */ var MAX_SAFE_INTEGER$1 = 9007199254740991; /** Used to detect unsigned integer values. */ var reIsUint = /^(?:0|[1-9]\d*)$/; /** * Checks if `value` is a valid array-like index. * * @private * @param {*} value The value to check. * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. */ function isIndex(value$1, length) { var type$1 = typeof value$1; length = length == null ? MAX_SAFE_INTEGER$1 : length; return !!length && (type$1 == "number" || type$1 != "symbol" && reIsUint.test(value$1)) && value$1 > -1 && value$1 % 1 == 0 && value$1 < length; } var _isIndex_default = isIndex; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.js /** * The base implementation of `assignValue` and `assignMergeValue` without * value checks. * * @private * @param {Object} object The object to modify. * @param {string} key The key of the property to assign. * @param {*} value The value to assign. */ function baseAssignValue(object, key, value$1) { if (key == "__proto__" && _defineProperty_default) _defineProperty_default(object, key, { "configurable": true, "enumerable": true, "value": value$1, "writable": true }); else object[key] = value$1; } var _baseAssignValue_default = baseAssignValue; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.js /** * Performs a * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) * comparison between two values to determine if they are equivalent. * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to compare. * @param {*} other The other value to compare. * @returns {boolean} Returns `true` if the values are equivalent, else `false`. * @example * * var object = { 'a': 1 }; * var other = { 'a': 1 }; * * _.eq(object, object); * // => true * * _.eq(object, other); * // => false * * _.eq('a', 'a'); * // => true * * _.eq('a', Object('a')); * // => false * * _.eq(NaN, NaN); * // => true */ function eq$1(value$1, other) { return value$1 === other || value$1 !== value$1 && other !== other; } var eq_default = eq$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.js /** Used for built-in method references. */ var objectProto$14 = Object.prototype; /** Used to check objects for own properties. */ var hasOwnProperty$12 = objectProto$14.hasOwnProperty; /** * Assigns `value` to `key` of `object` if the existing value is not equivalent * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) * for equality comparisons. * * @private * @param {Object} object The object to modify. * @param {string} key The key of the property to assign. * @param {*} value The value to assign. */ function assignValue(object, key, value$1) { var objValue = object[key]; if (!(hasOwnProperty$12.call(object, key) && eq_default(objValue, value$1)) || value$1 === void 0 && !(key in object)) _baseAssignValue_default(object, key, value$1); } var _assignValue_default = assignValue; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.js /** * Copies properties of `source` to `object`. * * @private * @param {Object} source The object to copy properties from. * @param {Array} props The property identifiers to copy. * @param {Object} [object={}] The object to copy properties to. * @param {Function} [customizer] The function to customize copied values. * @returns {Object} Returns `object`. */ function copyObject(source, props, object, customizer) { var isNew = !object; object || (object = {}); var index$1 = -1, length = props.length; while (++index$1 < length) { var key = props[index$1]; var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0; if (newValue === void 0) newValue = source[key]; if (isNew) _baseAssignValue_default(object, key, newValue); else _assignValue_default(object, key, newValue); } return object; } var _copyObject_default = copyObject; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.js var nativeMax$2 = Math.max; /** * A specialized version of `baseRest` which transforms the rest array. * * @private * @param {Function} func The function to apply a rest parameter to. * @param {number} [start=func.length-1] The start position of the rest parameter. * @param {Function} transform The rest array transform. * @returns {Function} Returns the new function. */ function overRest(func, start, transform$1) { start = nativeMax$2(start === void 0 ? func.length - 1 : start, 0); return function() { var args = arguments, index$1 = -1, length = nativeMax$2(args.length - start, 0), array = Array(length); while (++index$1 < length) array[index$1] = args[start + index$1]; index$1 = -1; var otherArgs = Array(start + 1); while (++index$1 < start) otherArgs[index$1] = args[index$1]; otherArgs[start] = transform$1(array); return _apply_default(func, this, otherArgs); }; } var _overRest_default = overRest; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.js /** * The base implementation of `_.rest` which doesn't validate or coerce arguments. * * @private * @param {Function} func The function to apply a rest parameter to. * @param {number} [start=func.length-1] The start position of the rest parameter. * @returns {Function} Returns the new function. */ function baseRest(func, start) { return _setToString_default(_overRest_default(func, start, identity_default), func + ""); } var _baseRest_default = baseRest; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.js /** Used as references for various `Number` constants. */ var MAX_SAFE_INTEGER = 9007199254740991; /** * Checks if `value` is a valid array-like length. * * **Note:** This method is loosely based on * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. * @example * * _.isLength(3); * // => true * * _.isLength(Number.MIN_VALUE); * // => false * * _.isLength(Infinity); * // => false * * _.isLength('3'); * // => false */ function isLength$1(value$1) { return typeof value$1 == "number" && value$1 > -1 && value$1 % 1 == 0 && value$1 <= MAX_SAFE_INTEGER; } var isLength_default = isLength$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.js /** * Checks if `value` is array-like. A value is considered array-like if it's * not a function and has a `value.length` that's an integer greater than or * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is array-like, else `false`. * @example * * _.isArrayLike([1, 2, 3]); * // => true * * _.isArrayLike(document.body.children); * // => true * * _.isArrayLike('abc'); * // => true * * _.isArrayLike(_.noop); * // => false */ function isArrayLike$1(value$1) { return value$1 != null && isLength_default(value$1.length) && !isFunction_default(value$1); } var isArrayLike_default = isArrayLike$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.js /** * Checks if the given arguments are from an iteratee call. * * @private * @param {*} value The potential iteratee value argument. * @param {*} index The potential iteratee index or key argument. * @param {*} object The potential iteratee object argument. * @returns {boolean} Returns `true` if the arguments are from an iteratee call, * else `false`. */ function isIterateeCall(value$1, index$1, object) { if (!isObject_default(object)) return false; var type$1 = typeof index$1; if (type$1 == "number" ? isArrayLike_default(object) && _isIndex_default(index$1, object.length) : type$1 == "string" && index$1 in object) return eq_default(object[index$1], value$1); return false; } var _isIterateeCall_default = isIterateeCall; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.js /** Used for built-in method references. */ var objectProto$13 = Object.prototype; /** * Checks if `value` is likely a prototype object. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. */ function isPrototype(value$1) { var Ctor = value$1 && value$1.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$13; return value$1 === proto; } var _isPrototype_default = isPrototype; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.js /** * The base implementation of `_.times` without support for iteratee shorthands * or max array length checks. * * @private * @param {number} n The number of times to invoke `iteratee`. * @param {Function} iteratee The function invoked per iteration. * @returns {Array} Returns the array of results. */ function baseTimes(n, iteratee$1) { var index$1 = -1, result$1 = Array(n); while (++index$1 < n) result$1[index$1] = iteratee$1(index$1); return result$1; } var _baseTimes_default = baseTimes; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.js /** `Object#toString` result references. */ var argsTag$3 = "[object Arguments]"; /** * The base implementation of `_.isArguments`. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is an `arguments` object, */ function baseIsArguments(value$1) { return isObjectLike_default(value$1) && _baseGetTag_default(value$1) == argsTag$3; } var _baseIsArguments_default = baseIsArguments; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.js /** Used for built-in method references. */ var objectProto$12 = Object.prototype; /** Used to check objects for own properties. */ var hasOwnProperty$11 = objectProto$12.hasOwnProperty; /** Built-in value references. */ var propertyIsEnumerable$1 = objectProto$12.propertyIsEnumerable; /** * Checks if `value` is likely an `arguments` object. * * @static * @memberOf _ * @since 0.1.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is an `arguments` object, * else `false`. * @example * * _.isArguments(function() { return arguments; }()); * // => true * * _.isArguments([1, 2, 3]); * // => false */ var isArguments$1 = _baseIsArguments_default(function() { return arguments; }()) ? _baseIsArguments_default : function(value$1) { return isObjectLike_default(value$1) && hasOwnProperty$11.call(value$1, "callee") && !propertyIsEnumerable$1.call(value$1, "callee"); }; var isArguments_default = isArguments$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.js /** * This method returns `false`. * * @static * @memberOf _ * @since 4.13.0 * @category Util * @returns {boolean} Returns `false`. * @example * * _.times(2, _.stubFalse); * // => [false, false] */ function stubFalse$1() { return false; } var stubFalse_default = stubFalse$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.js /** Detect free variable `exports`. */ var freeExports$2 = typeof exports == "object" && exports && !exports.nodeType && exports; /** Detect free variable `module`. */ var freeModule$2 = freeExports$2 && typeof module == "object" && module && !module.nodeType && module; /** Detect the popular CommonJS extension `module.exports`. */ var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2; /** Built-in value references. */ var Buffer$2 = moduleExports$2 ? _root_default.Buffer : void 0; var nativeIsBuffer = Buffer$2 ? Buffer$2.isBuffer : void 0; /** * Checks if `value` is a buffer. * * @static * @memberOf _ * @since 4.3.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. * @example * * _.isBuffer(new Buffer(2)); * // => true * * _.isBuffer(new Uint8Array(2)); * // => false */ var isBuffer$1 = nativeIsBuffer || stubFalse_default; var isBuffer_default = isBuffer$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.js /** `Object#toString` result references. */ var argsTag$2 = "[object Arguments]", arrayTag$2 = "[object Array]", boolTag$3 = "[object Boolean]", dateTag$3 = "[object Date]", errorTag$2 = "[object Error]", funcTag$1 = "[object Function]", mapTag$6 = "[object Map]", numberTag$4 = "[object Number]", objectTag$3 = "[object Object]", regexpTag$3 = "[object RegExp]", setTag$6 = "[object Set]", stringTag$4 = "[object String]", weakMapTag$2 = "[object WeakMap]"; var arrayBufferTag$3 = "[object ArrayBuffer]", dataViewTag$4 = "[object DataView]", float32Tag$2 = "[object Float32Array]", float64Tag$2 = "[object Float64Array]", int8Tag$2 = "[object Int8Array]", int16Tag$2 = "[object Int16Array]", int32Tag$2 = "[object Int32Array]", uint8Tag$2 = "[object Uint8Array]", uint8ClampedTag$2 = "[object Uint8ClampedArray]", uint16Tag$2 = "[object Uint16Array]", uint32Tag$2 = "[object Uint32Array]"; /** Used to identify `toStringTag` values of typed arrays. */ var typedArrayTags = {}; typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] = typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] = typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] = typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] = typedArrayTags[uint32Tag$2] = true; typedArrayTags[argsTag$2] = typedArrayTags[arrayTag$2] = typedArrayTags[arrayBufferTag$3] = typedArrayTags[boolTag$3] = typedArrayTags[dataViewTag$4] = typedArrayTags[dateTag$3] = typedArrayTags[errorTag$2] = typedArrayTags[funcTag$1] = typedArrayTags[mapTag$6] = typedArrayTags[numberTag$4] = typedArrayTags[objectTag$3] = typedArrayTags[regexpTag$3] = typedArrayTags[setTag$6] = typedArrayTags[stringTag$4] = typedArrayTags[weakMapTag$2] = false; /** * The base implementation of `_.isTypedArray` without Node.js optimizations. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. */ function baseIsTypedArray(value$1) { return isObjectLike_default(value$1) && isLength_default(value$1.length) && !!typedArrayTags[_baseGetTag_default(value$1)]; } var _baseIsTypedArray_default = baseIsTypedArray; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.js /** * The base implementation of `_.unary` without support for storing metadata. * * @private * @param {Function} func The function to cap arguments for. * @returns {Function} Returns the new capped function. */ function baseUnary(func) { return function(value$1) { return func(value$1); }; } var _baseUnary_default = baseUnary; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.js /** Detect free variable `exports`. */ var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports; /** Detect free variable `module`. */ var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module; /** Detect the popular CommonJS extension `module.exports`. */ var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1; /** Detect free variable `process` from Node.js. */ var freeProcess = moduleExports$1 && _freeGlobal_default.process; /** Used to access faster Node.js helpers. */ var nodeUtil = function() { try { var types = freeModule$1 && freeModule$1.require && freeModule$1.require("util").types; if (types) return types; return freeProcess && freeProcess.binding && freeProcess.binding("util"); } catch (e) {} }(); var _nodeUtil_default = nodeUtil; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.js var nodeIsTypedArray = _nodeUtil_default && _nodeUtil_default.isTypedArray; /** * Checks if `value` is classified as a typed array. * * @static * @memberOf _ * @since 3.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. * @example * * _.isTypedArray(new Uint8Array); * // => true * * _.isTypedArray([]); * // => false */ var isTypedArray$1 = nodeIsTypedArray ? _baseUnary_default(nodeIsTypedArray) : _baseIsTypedArray_default; var isTypedArray_default = isTypedArray$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.js /** Used for built-in method references. */ var objectProto$11 = Object.prototype; /** Used to check objects for own properties. */ var hasOwnProperty$10 = objectProto$11.hasOwnProperty; /** * Creates an array of the enumerable property names of the array-like `value`. * * @private * @param {*} value The value to query. * @param {boolean} inherited Specify returning inherited property names. * @returns {Array} Returns the array of property names. */ function arrayLikeKeys(value$1, inherited) { var isArr = isArray_default(value$1), isArg = !isArr && isArguments_default(value$1), isBuff = !isArr && !isArg && isBuffer_default(value$1), isType = !isArr && !isArg && !isBuff && isTypedArray_default(value$1), skipIndexes = isArr || isArg || isBuff || isType, result$1 = skipIndexes ? _baseTimes_default(value$1.length, String) : [], length = result$1.length; for (var key in value$1) if ((inherited || hasOwnProperty$10.call(value$1, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || _isIndex_default(key, length)))) result$1.push(key); return result$1; } var _arrayLikeKeys_default = arrayLikeKeys; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.js /** * Creates a unary function that invokes `func` with its argument transformed. * * @private * @param {Function} func The function to wrap. * @param {Function} transform The argument transform. * @returns {Function} Returns the new function. */ function overArg(func, transform$1) { return function(arg) { return func(transform$1(arg)); }; } var _overArg_default = overArg; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.js var nativeKeys = _overArg_default(Object.keys, Object); var _nativeKeys_default = nativeKeys; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.js /** Used for built-in method references. */ var objectProto$10 = Object.prototype; /** Used to check objects for own properties. */ var hasOwnProperty$9 = objectProto$10.hasOwnProperty; /** * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. * * @private * @param {Object} object The object to query. * @returns {Array} Returns the array of property names. */ function baseKeys(object) { if (!_isPrototype_default(object)) return _nativeKeys_default(object); var result$1 = []; for (var key in Object(object)) if (hasOwnProperty$9.call(object, key) && key != "constructor") result$1.push(key); return result$1; } var _baseKeys_default = baseKeys; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.js /** * Creates an array of the own enumerable property names of `object`. * * **Note:** Non-object values are coerced to objects. See the * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) * for more details. * * @static * @since 0.1.0 * @memberOf _ * @category Object * @param {Object} object The object to query. * @returns {Array} Returns the array of property names. * @example * * function Foo() { * this.a = 1; * this.b = 2; * } * * Foo.prototype.c = 3; * * _.keys(new Foo); * // => ['a', 'b'] (iteration order is not guaranteed) * * _.keys('hi'); * // => ['0', '1'] */ function keys$1(object) { return isArrayLike_default(object) ? _arrayLikeKeys_default(object) : _baseKeys_default(object); } var keys_default = keys$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.js /** * This function is like * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) * except that it includes inherited enumerable properties. * * @private * @param {Object} object The object to query. * @returns {Array} Returns the array of property names. */ function nativeKeysIn(object) { var result$1 = []; if (object != null) for (var key in Object(object)) result$1.push(key); return result$1; } var _nativeKeysIn_default = nativeKeysIn; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.js /** Used for built-in method references. */ var objectProto$9 = Object.prototype; /** Used to check objects for own properties. */ var hasOwnProperty$8 = objectProto$9.hasOwnProperty; /** * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. * * @private * @param {Object} object The object to query. * @returns {Array} Returns the array of property names. */ function baseKeysIn(object) { if (!isObject_default(object)) return _nativeKeysIn_default(object); var isProto = _isPrototype_default(object), result$1 = []; for (var key in object) if (!(key == "constructor" && (isProto || !hasOwnProperty$8.call(object, key)))) result$1.push(key); return result$1; } var _baseKeysIn_default = baseKeysIn; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.js /** * Creates an array of the own and inherited enumerable property names of `object`. * * **Note:** Non-object values are coerced to objects. * * @static * @memberOf _ * @since 3.0.0 * @category Object * @param {Object} object The object to query. * @returns {Array} Returns the array of property names. * @example * * function Foo() { * this.a = 1; * this.b = 2; * } * * Foo.prototype.c = 3; * * _.keysIn(new Foo); * // => ['a', 'b', 'c'] (iteration order is not guaranteed) */ function keysIn$1(object) { return isArrayLike_default(object) ? _arrayLikeKeys_default(object, true) : _baseKeysIn_default(object); } var keysIn_default = keysIn$1; //#endregion //#region node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.js /** Used to match property names within property paths. */ var reIsDeepProp = /\.|\[(?:[^[\]]*