1 |
- {"version":3,"sources":["index.js","contains.js","is-array-like.js","difference.js","filter.js","find.js","is-function.js","is-type.js","is-match.js","is-nil.js","keys.js","each.js","is-array.js","is-object.js","is-plain-object.js","is-object-like.js","find-index.js","first-value.js","flatten.js","flatten-deep.js","get-range.js","pull.js","pull-at.js","reduce.js","remove.js","sort-by.js","is-string.js","union.js","uniq.js","values-of-key.js","head.js","last.js","starts-with.js","ends-with.js","every.js","some.js","group.js","group-to-map.js","group-by.js","get-wrap-behavior.js","wrap-behavior.js","number2color.js","parse-radius.js","clamp.js","fixed-base.js","is-decimal.js","is-number.js","is-even.js","is-integer.js","is-negative.js","is-number-equal.js","is-odd.js","is-positive.js","max-by.js","min-by.js","mod.js","to-degree.js","to-integer.js","to-radian.js","for-in.js","has.js","has-key.js","has-value.js","values.js","lower-case.js","to-string.js","lower-first.js","substitute.js","upper-case.js","upper-first.js","get-type.js","is-arguments.js","is-boolean.js","is-date.js","is-error.js","is-finite.js","is-null.js","is-prototype.js","is-reg-exp.js","is-undefined.js","is-element.js","request-animation-frame.js","clear-animation-frame.js","augment.js","mix.js","clone.js","debounce.js","memoize.js","deep-mix.js","extend.js","index-of.js","is-empty.js","is-equal.js","is-equal-with.js","map.js","map-values.js","get.js","set.js","pick.js","throttle.js","to-array.js","unique-id.js","noop.js","identity.js","size.js","cache.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;ACFA,ADGA;ACFA,ADGA;ACFA,ADGA;ACFA,ADGA,AENA;ADIA,ADGA,AENA;ADIA,ADGA,AENA;ADIA,AENA,AHSA,AENA;ADIA,AENA,AHSA,AENA;ADIA,AENA,AHSA,AENA;ADIA,AENA,ACHA,AJYA,AENA;ADIA,AENA,ACHA,AJYA,AENA;ACFA,ACHA,AJYA,AENA;ACFA,ACHA,ACHA,ALeA,AENA;ACFA,ACHA,ACHA,ALeA,AENA;ACFA,ACHA,ACHA,ALeA,AENA;ACFA,ACHA,ACHA,ALeA,AENA,AIZA;AHUA,ACHA,ACHA,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jBA,AbuCA,AYpCA,ALeA;AMjBA,AbuCA,AYpCA,ALeA;AMjBA,AbuCA,AYpCA,ALeA;AMjBA,ADGA,ALeA;AMjBA,ADGA,ALeA;AMjBA,ADGA,ALeA;AMjBA,ADGA,ALeA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA,ANkBA;AMjBA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// array\nvar contains_1 = require(\"./contains\");\nexports.contains = contains_1.default;\nexports.includes = contains_1.default;\nvar difference_1 = require(\"./difference\");\nexports.difference = difference_1.default;\nvar find_1 = require(\"./find\");\nexports.find = find_1.default;\nvar find_index_1 = require(\"./find-index\");\nexports.findIndex = find_index_1.default;\nvar first_value_1 = require(\"./first-value\");\nexports.firstValue = first_value_1.default;\nvar flatten_1 = require(\"./flatten\");\nexports.flatten = flatten_1.default;\nvar flatten_deep_1 = require(\"./flatten-deep\");\nexports.flattenDeep = flatten_deep_1.default;\nvar get_range_1 = require(\"./get-range\");\nexports.getRange = get_range_1.default;\nvar pull_1 = require(\"./pull\");\nexports.pull = pull_1.default;\nvar pull_at_1 = require(\"./pull-at\");\nexports.pullAt = pull_at_1.default;\nvar reduce_1 = require(\"./reduce\");\nexports.reduce = reduce_1.default;\nvar remove_1 = require(\"./remove\");\nexports.remove = remove_1.default;\nvar sort_by_1 = require(\"./sort-by\");\nexports.sortBy = sort_by_1.default;\nvar union_1 = require(\"./union\");\nexports.union = union_1.default;\nvar uniq_1 = require(\"./uniq\");\nexports.uniq = uniq_1.default;\nvar values_of_key_1 = require(\"./values-of-key\");\nexports.valuesOfKey = values_of_key_1.default;\nvar head_1 = require(\"./head\");\nexports.head = head_1.default;\nvar last_1 = require(\"./last\");\nexports.last = last_1.default;\nvar starts_with_1 = require(\"./starts-with\");\nexports.startsWith = starts_with_1.default;\nvar ends_with_1 = require(\"./ends-with\");\nexports.endsWith = ends_with_1.default;\nvar filter_1 = require(\"./filter\");\nexports.filter = filter_1.default;\nvar every_1 = require(\"./every\");\nexports.every = every_1.default;\nvar some_1 = require(\"./some\");\nexports.some = some_1.default;\nvar group_1 = require(\"./group\");\nexports.group = group_1.default;\nvar group_by_1 = require(\"./group-by\");\nexports.groupBy = group_by_1.default;\nvar group_to_map_1 = require(\"./group-to-map\");\nexports.groupToMap = group_to_map_1.default;\n// event\nvar get_wrap_behavior_1 = require(\"./get-wrap-behavior\");\nexports.getWrapBehavior = get_wrap_behavior_1.default;\nvar wrap_behavior_1 = require(\"./wrap-behavior\");\nexports.wrapBehavior = wrap_behavior_1.default;\n// format\nvar number2color_1 = require(\"./number2color\");\nexports.number2color = number2color_1.default;\nvar parse_radius_1 = require(\"./parse-radius\");\nexports.parseRadius = parse_radius_1.default;\n// math\nvar clamp_1 = require(\"./clamp\");\nexports.clamp = clamp_1.default;\nvar fixed_base_1 = require(\"./fixed-base\");\nexports.fixedBase = fixed_base_1.default;\nvar is_decimal_1 = require(\"./is-decimal\");\nexports.isDecimal = is_decimal_1.default;\nvar is_even_1 = require(\"./is-even\");\nexports.isEven = is_even_1.default;\nvar is_integer_1 = require(\"./is-integer\");\nexports.isInteger = is_integer_1.default;\nvar is_negative_1 = require(\"./is-negative\");\nexports.isNegative = is_negative_1.default;\nvar is_number_equal_1 = require(\"./is-number-equal\");\nexports.isNumberEqual = is_number_equal_1.default;\nvar is_odd_1 = require(\"./is-odd\");\nexports.isOdd = is_odd_1.default;\nvar is_positive_1 = require(\"./is-positive\");\nexports.isPositive = is_positive_1.default;\nvar max_by_1 = require(\"./max-by\");\nexports.maxBy = max_by_1.default;\nvar min_by_1 = require(\"./min-by\");\nexports.minBy = min_by_1.default;\nvar mod_1 = require(\"./mod\");\nexports.mod = mod_1.default;\nvar to_degree_1 = require(\"./to-degree\");\nexports.toDegree = to_degree_1.default;\nvar to_integer_1 = require(\"./to-integer\");\nexports.toInteger = to_integer_1.default;\nvar to_radian_1 = require(\"./to-radian\");\nexports.toRadian = to_radian_1.default;\n// object\nvar for_in_1 = require(\"./for-in\");\nexports.forIn = for_in_1.default;\nvar has_1 = require(\"./has\");\nexports.has = has_1.default;\nvar has_key_1 = require(\"./has-key\");\nexports.hasKey = has_key_1.default;\nvar has_value_1 = require(\"./has-value\");\nexports.hasValue = has_value_1.default;\nvar keys_1 = require(\"./keys\");\nexports.keys = keys_1.default;\nvar is_match_1 = require(\"./is-match\");\nexports.isMatch = is_match_1.default;\nvar values_1 = require(\"./values\");\nexports.values = values_1.default;\n// string\nvar lower_case_1 = require(\"./lower-case\");\nexports.lowerCase = lower_case_1.default;\nvar lower_first_1 = require(\"./lower-first\");\nexports.lowerFirst = lower_first_1.default;\nvar substitute_1 = require(\"./substitute\");\nexports.substitute = substitute_1.default;\nvar upper_case_1 = require(\"./upper-case\");\nexports.upperCase = upper_case_1.default;\nvar upper_first_1 = require(\"./upper-first\");\nexports.upperFirst = upper_first_1.default;\n// type\nvar get_type_1 = require(\"./get-type\");\nexports.getType = get_type_1.default;\nvar is_arguments_1 = require(\"./is-arguments\");\nexports.isArguments = is_arguments_1.default;\nvar is_array_1 = require(\"./is-array\");\nexports.isArray = is_array_1.default;\nvar is_array_like_1 = require(\"./is-array-like\");\nexports.isArrayLike = is_array_like_1.default;\nvar is_boolean_1 = require(\"./is-boolean\");\nexports.isBoolean = is_boolean_1.default;\nvar is_date_1 = require(\"./is-date\");\nexports.isDate = is_date_1.default;\nvar is_error_1 = require(\"./is-error\");\nexports.isError = is_error_1.default;\nvar is_function_1 = require(\"./is-function\");\nexports.isFunction = is_function_1.default;\nvar is_finite_1 = require(\"./is-finite\");\nexports.isFinite = is_finite_1.default;\nvar is_nil_1 = require(\"./is-nil\");\nexports.isNil = is_nil_1.default;\nvar is_null_1 = require(\"./is-null\");\nexports.isNull = is_null_1.default;\nvar is_number_1 = require(\"./is-number\");\nexports.isNumber = is_number_1.default;\nvar is_object_1 = require(\"./is-object\");\nexports.isObject = is_object_1.default;\nvar is_object_like_1 = require(\"./is-object-like\");\nexports.isObjectLike = is_object_like_1.default;\nvar is_plain_object_1 = require(\"./is-plain-object\");\nexports.isPlainObject = is_plain_object_1.default;\nvar is_prototype_1 = require(\"./is-prototype\");\nexports.isPrototype = is_prototype_1.default;\nvar is_reg_exp_1 = require(\"./is-reg-exp\");\nexports.isRegExp = is_reg_exp_1.default;\nvar is_string_1 = require(\"./is-string\");\nexports.isString = is_string_1.default;\nvar is_type_1 = require(\"./is-type\");\nexports.isType = is_type_1.default;\nvar is_undefined_1 = require(\"./is-undefined\");\nexports.isUndefined = is_undefined_1.default;\nvar is_element_1 = require(\"./is-element\");\nexports.isElement = is_element_1.default;\nvar request_animation_frame_1 = require(\"./request-animation-frame\");\nexports.requestAnimationFrame = request_animation_frame_1.default;\nvar clear_animation_frame_1 = require(\"./clear-animation-frame\");\nexports.clearAnimationFrame = clear_animation_frame_1.default;\n// other\nvar augment_1 = require(\"./augment\");\nexports.augment = augment_1.default;\nvar clone_1 = require(\"./clone\");\nexports.clone = clone_1.default;\nvar debounce_1 = require(\"./debounce\");\nexports.debounce = debounce_1.default;\nvar memoize_1 = require(\"./memoize\");\nexports.memoize = memoize_1.default;\nvar deep_mix_1 = require(\"./deep-mix\");\nexports.deepMix = deep_mix_1.default;\nvar each_1 = require(\"./each\");\nexports.each = each_1.default;\nvar extend_1 = require(\"./extend\");\nexports.extend = extend_1.default;\nvar index_of_1 = require(\"./index-of\");\nexports.indexOf = index_of_1.default;\nvar is_empty_1 = require(\"./is-empty\");\nexports.isEmpty = is_empty_1.default;\nvar is_equal_1 = require(\"./is-equal\");\nexports.isEqual = is_equal_1.default;\nvar is_equal_with_1 = require(\"./is-equal-with\");\nexports.isEqualWith = is_equal_with_1.default;\nvar map_1 = require(\"./map\");\nexports.map = map_1.default;\nvar map_values_1 = require(\"./map-values\");\nexports.mapValues = map_values_1.default;\nvar mix_1 = require(\"./mix\");\nexports.mix = mix_1.default;\nexports.assign = mix_1.default;\nvar get_1 = require(\"./get\");\nexports.get = get_1.default;\nvar set_1 = require(\"./set\");\nexports.set = set_1.default;\nvar pick_1 = require(\"./pick\");\nexports.pick = pick_1.default;\nvar throttle_1 = require(\"./throttle\");\nexports.throttle = throttle_1.default;\nvar to_array_1 = require(\"./to-array\");\nexports.toArray = to_array_1.default;\nvar to_string_1 = require(\"./to-string\");\nexports.toString = to_string_1.default;\nvar unique_id_1 = require(\"./unique-id\");\nexports.uniqueId = unique_id_1.default;\nvar noop_1 = require(\"./noop\");\nexports.noop = noop_1.default;\nvar identity_1 = require(\"./identity\");\nexports.identity = identity_1.default;\nvar size_1 = require(\"./size\");\nexports.size = size_1.default;\n// 不知道为什么,需要把这个 export,不然 ts 会报类型错误\nvar cache_1 = require(\"./cache\");\nexports.Cache = cache_1.default;\n//# sourceMappingURL=index.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar contains = function (arr, value) {\n if (!is_array_like_1.default(arr)) {\n return false;\n }\n return arr.indexOf(value) > -1;\n};\nexports.default = contains;\n//# sourceMappingURL=contains.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isArrayLike = function (value) {\n /**\n * isArrayLike([1, 2, 3]) => true\n * isArrayLike(document.body.children) => true\n * isArrayLike('abc') => true\n * isArrayLike(Function) => false\n */\n return value !== null && typeof value !== 'function' && isFinite(value.length);\n};\nexports.default = isArrayLike;\n//# sourceMappingURL=is-array-like.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar filter_1 = require(\"./filter\");\nvar contains_1 = require(\"./contains\");\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to inspect.\n * @param {Array} values The values to exclude.\n * @return {Array} Returns the new array of filtered values.\n * @example\n * difference([2, 1], [2, 3]); // => [1]\n */\nvar difference = function (arr, values) {\n if (values === void 0) { values = []; }\n return filter_1.default(arr, function (value) { return !contains_1.default(values, value); });\n};\nexports.default = difference;\n//# sourceMappingURL=difference.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar filter = function (arr, func) {\n if (!is_array_like_1.default(arr)) {\n return arr;\n }\n var result = [];\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n if (func(value, index)) {\n result.push(value);\n }\n }\n return result;\n};\nexports.default = filter;\n//# sourceMappingURL=filter.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_function_1 = require(\"./is-function\");\nvar is_match_1 = require(\"./is-match\");\nvar is_array_1 = require(\"./is-array\");\nvar is_plain_object_1 = require(\"./is-plain-object\");\nfunction find(arr, predicate) {\n if (!is_array_1.default(arr))\n return null;\n var _predicate;\n if (is_function_1.default(predicate)) {\n _predicate = predicate;\n }\n if (is_plain_object_1.default(predicate)) {\n _predicate = function (a) { return is_match_1.default(a, predicate); };\n }\n if (_predicate) {\n for (var i = 0; i < arr.length; i += 1) {\n if (_predicate(arr[i])) {\n return arr[i];\n }\n }\n }\n return null;\n}\nexports.default = find;\n//# sourceMappingURL=find.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 是否为函数\n * @param {*} fn 对象\n * @return {Boolean} 是否函数\n */\nvar is_type_1 = require(\"./is-type\");\nexports.default = (function (value) {\n return is_type_1.default(value, 'Function');\n});\n//# sourceMappingURL=is-function.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar toString = {}.toString;\nvar isType = function (value, type) { return toString.call(value) === '[object ' + type + ']'; };\nexports.default = isType;\n//# sourceMappingURL=is-type.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar keys_1 = require(\"./keys\");\nfunction isMatch(obj, attrs) {\n var _keys = keys_1.default(attrs);\n var length = _keys.length;\n if (is_nil_1.default(obj))\n return !length;\n for (var i = 0; i < length; i += 1) {\n var key = _keys[i];\n if (attrs[key] !== obj[key] || !(key in obj)) {\n return false;\n }\n }\n return true;\n}\nexports.default = isMatch;\n//# sourceMappingURL=is-match.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// isFinite,\nvar isNil = function (value) {\n /**\n * isNil(null) => true\n * isNil() => true\n */\n return value === null || value === undefined;\n};\nexports.default = isNil;\n//# sourceMappingURL=is-nil.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_function_1 = require(\"./is-function\");\nvar keys = Object.keys ? function (obj) { return Object.keys(obj); } : function (obj) {\n var result = [];\n each_1.default(obj, function (value, key) {\n if (!(is_function_1.default(obj) && key === 'prototype')) {\n result.push(key);\n }\n });\n return result;\n};\nexports.default = keys;\n//# sourceMappingURL=keys.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_object_1 = require(\"./is-object\");\nfunction each(elements, func) {\n if (!elements) {\n return;\n }\n var rst;\n if (is_array_1.default(elements)) {\n for (var i = 0, len = elements.length; i < len; i++) {\n rst = func(elements[i], i);\n if (rst === false) {\n break;\n }\n }\n }\n else if (is_object_1.default(elements)) {\n for (var k in elements) {\n if (elements.hasOwnProperty(k)) {\n rst = func(elements[k], k);\n if (rst === false) {\n break;\n }\n }\n }\n }\n}\nexports.default = each;\n//# sourceMappingURL=each.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_type_1 = require(\"./is-type\");\nexports.default = (function (value) {\n return Array.isArray ?\n Array.isArray(value) :\n is_type_1.default(value, 'Array');\n});\n//# sourceMappingURL=is-array.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (value) {\n /**\n * isObject({}) => true\n * isObject([1, 2, 3]) => true\n * isObject(Function) => true\n * isObject(null) => false\n */\n var type = typeof value;\n return value !== null && type === 'object' || type === 'function';\n});\n//# sourceMappingURL=is-object.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_object_like_1 = require(\"./is-object-like\");\nvar is_type_1 = require(\"./is-type\");\nvar isPlainObject = function (value) {\n /**\n * isObjectLike(new Foo) => false\n * isObjectLike([1, 2, 3]) => false\n * isObjectLike({ x: 0, y: 0 }) => true\n * isObjectLike(Object.create(null)) => true\n */\n if (!is_object_like_1.default(value) || !is_type_1.default(value, 'Object')) {\n return false;\n }\n if (Object.getPrototypeOf(value) === null) {\n return true;\n }\n var proto = value;\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n return Object.getPrototypeOf(value) === proto;\n};\nexports.default = isPlainObject;\n//# sourceMappingURL=is-plain-object.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isObjectLike = function (value) {\n /**\n * isObjectLike({}) => true\n * isObjectLike([1, 2, 3]) => true\n * isObjectLike(Function) => false\n * isObjectLike(null) => false\n */\n return typeof value === 'object' && value !== null;\n};\nexports.default = isObjectLike;\n//# sourceMappingURL=is-object-like.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction findIndex(arr, predicate, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n for (var i = fromIndex; i < arr.length; i++) {\n if (predicate(arr[i], i)) {\n // 找到终止循环\n return i;\n }\n }\n return -1;\n}\nexports.default = findIndex;\n//# sourceMappingURL=find-index.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar is_array_1 = require(\"./is-array\");\nvar firstValue = function (data, name) {\n var rst = null;\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n if (!is_nil_1.default(value)) {\n if (is_array_1.default(value)) {\n rst = value[0]; // todo 这里是否应该使用递归,调用 firstValue @绝云\n }\n else {\n rst = value;\n }\n break;\n }\n }\n return rst;\n};\nexports.default = firstValue;\n//# sourceMappingURL=first-value.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to flatten.\n * @return {Array} Returns the new flattened array.\n * @example\n *\n * flatten([1, [2, [3, [4]], 5]]); // => [1, 2, [3, [4]], 5]\n */\nvar flatten = function (arr) {\n if (!is_array_1.default(arr)) {\n return [];\n }\n var rst = [];\n for (var i = 0; i < arr.length; i++) {\n rst = rst.concat(arr[i]);\n }\n return rst;\n};\nexports.default = flatten;\n//# sourceMappingURL=flatten.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to flatten.\n * @param {Array} result The array to return.\n * @return {Array} Returns the new flattened array.\n * @example\n *\n * flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]\n */\nvar flattenDeep = function (arr, result) {\n if (result === void 0) { result = []; }\n if (!is_array_1.default(arr)) {\n result.push(arr);\n }\n else {\n for (var i = 0; i < arr.length; i += 1) {\n flattenDeep(arr[i], result);\n }\n }\n return result;\n};\nexports.default = flattenDeep;\n//# sourceMappingURL=flatten-deep.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar getRange = function (values) {\n // 存在 NaN 时,min,max 判定会出问题\n var filterValues = values.filter(function (v) { return !isNaN(v); });\n if (!filterValues.length) { // 如果没有数值则直接返回0\n return {\n min: 0,\n max: 0,\n };\n }\n if (is_array_1.default(values[0])) {\n var tmp = [];\n for (var i = 0; i < values.length; i++) {\n tmp = tmp.concat(values[i]);\n }\n filterValues = tmp;\n }\n var max = Math.max.apply(null, filterValues);\n var min = Math.min.apply(null, filterValues);\n return {\n min: min,\n max: max,\n };\n};\nexports.default = getRange;\n//# sourceMappingURL=get-range.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar arrPrototype = Array.prototype;\nvar splice = arrPrototype.splice;\nvar indexOf = arrPrototype.indexOf;\nvar pull = function (arr) {\n var values = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n values[_i - 1] = arguments[_i];\n }\n for (var i = 0; i < values.length; i++) {\n var value = values[i];\n var fromIndex = -1;\n while ((fromIndex = indexOf.call(arr, value)) > -1) {\n splice.call(arr, fromIndex, 1);\n }\n }\n return arr;\n};\nexports.default = pull;\n//# sourceMappingURL=pull.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar splice = Array.prototype.splice;\nvar pullAt = function pullAt(arr, indexes) {\n if (!is_array_like_1.default(arr)) {\n return [];\n }\n var length = arr ? indexes.length : 0;\n var last = length - 1;\n while (length--) {\n var previous = void 0;\n var index = indexes[length];\n if (length === last || index !== previous) {\n previous = index;\n splice.call(arr, index, 1);\n }\n }\n return arr;\n};\nexports.default = pullAt;\n//# sourceMappingURL=pull-at.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_array_1 = require(\"./is-array\");\nvar is_plain_object_1 = require(\"./is-plain-object\");\nvar reduce = function (arr, fn, init) {\n if (!is_array_1.default(arr) && !is_plain_object_1.default(arr)) {\n return arr;\n }\n var result = init;\n each_1.default(arr, function (data, i) {\n result = fn(result, data, i);\n });\n return result;\n};\nexports.default = reduce;\n//# sourceMappingURL=reduce.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar pull_at_1 = require(\"./pull-at\");\nvar remove = function (arr, predicate) {\n /**\n * const arr = [1, 2, 3, 4]\n * const evens = remove(arr, n => n % 2 == 0)\n * console.log(arr) // => [1, 3]\n * console.log(evens) // => [2, 4]\n */\n var result = [];\n if (!is_array_like_1.default(arr)) {\n return result;\n }\n var i = -1;\n var indexes = [];\n var length = arr.length;\n while (++i < length) {\n var value = arr[i];\n if (predicate(value, i, arr)) {\n result.push(value);\n indexes.push(i);\n }\n }\n pull_at_1.default(arr, indexes);\n return result;\n};\nexports.default = remove;\n//# sourceMappingURL=remove.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_string_1 = require(\"./is-string\");\nvar is_function_1 = require(\"./is-function\");\nfunction sortBy(arr, key) {\n var comparer;\n if (is_function_1.default(key)) {\n comparer = function (a, b) { return key(a) - key(b); };\n }\n else {\n var keys_1 = [];\n if (is_string_1.default(key)) {\n keys_1.push(key);\n }\n else if (is_array_1.default(key)) {\n keys_1 = key;\n }\n comparer = function (a, b) {\n for (var i = 0; i < keys_1.length; i += 1) {\n var prop = keys_1[i];\n if (a[prop] > b[prop]) {\n return 1;\n }\n if (a[prop] < b[prop]) {\n return -1;\n }\n }\n return 0;\n };\n }\n arr.sort(comparer);\n return arr;\n}\nexports.default = sortBy;\n//# sourceMappingURL=sort-by.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_type_1 = require(\"./is-type\");\nexports.default = (function (str) {\n return is_type_1.default(str, 'String');\n});\n//# sourceMappingURL=is-string.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar uniq_1 = require(\"./uniq\");\nvar union = function () {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n return uniq_1.default([].concat.apply([], sources));\n};\nexports.default = union;\n//# sourceMappingURL=union.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar contains_1 = require(\"./contains\");\nvar each_1 = require(\"./each\");\nvar uniq = function (arr) {\n var resultArr = [];\n each_1.default(arr, function (item) {\n if (!contains_1.default(resultArr, item)) {\n resultArr.push(item);\n }\n });\n return resultArr;\n};\nexports.default = uniq;\n//# sourceMappingURL=uniq.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_nil_1 = require(\"./is-nil\");\nexports.default = (function (data, name) {\n var rst = [];\n var tmpMap = {};\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n if (!is_nil_1.default(value)) {\n // flatten\n if (!is_array_1.default(value)) {\n value = [value];\n }\n for (var j = 0; j < value.length; j++) {\n var val = value[j];\n // unique\n if (!tmpMap[val]) {\n rst.push(val);\n tmpMap[val] = true;\n }\n }\n }\n }\n return rst;\n});\n//# sourceMappingURL=values-of-key.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nfunction head(o) {\n if (is_array_like_1.default(o)) {\n return o[0];\n }\n return undefined;\n}\nexports.default = head;\n//# sourceMappingURL=head.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nfunction last(o) {\n if (is_array_like_1.default(o)) {\n var arr = o;\n return arr[arr.length - 1];\n }\n return undefined;\n}\nexports.default = last;\n//# sourceMappingURL=last.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_string_1 = require(\"./is-string\");\nfunction startsWith(arr, e) {\n return (is_array_1.default(arr) || is_string_1.default(arr)) ? arr[0] === e : false;\n}\nexports.default = startsWith;\n//# sourceMappingURL=starts-with.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_string_1 = require(\"./is-string\");\nfunction endsWith(arr, e) {\n return (is_array_1.default(arr) || is_string_1.default(arr)) ? arr[arr.length - 1] === e : false;\n}\nexports.default = endsWith;\n//# sourceMappingURL=ends-with.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 只要有一个不满足条件就返回 false\n * @param arr\n * @param func\n */\nvar every = function (arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (!func(arr[i], i))\n return false;\n }\n return true;\n};\nexports.default = every;\n//# sourceMappingURL=every.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 只要有一个满足条件就返回 true\n * @param arr\n * @param func\n */\nvar some = function (arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (func(arr[i], i))\n return true;\n }\n return false;\n};\nexports.default = some;\n//# sourceMappingURL=some.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar group_to_map_1 = require(\"./group-to-map\");\nexports.default = (function (data, condition) {\n if (!condition) {\n // 没有条件,则自身改成数组\n return [data];\n }\n var groups = group_to_map_1.default(data, condition);\n var array = [];\n for (var i in groups) {\n array.push(groups[i]);\n }\n return array;\n});\n//# sourceMappingURL=group.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_function_1 = require(\"./is-function\");\nvar group_by_1 = require(\"./group-by\");\nvar groupToMap = function (data, condition) {\n if (!condition) {\n return {\n 0: data,\n };\n }\n if (!is_function_1.default(condition)) {\n var paramsCondition_1 = is_array_1.default(condition) ? condition : condition.replace(/\\s+/g, '').split('*');\n condition = function (row) {\n var unique = '_'; // 避免出现数字作为Key的情况,会进行按照数字的排序\n for (var i = 0, l = paramsCondition_1.length; i < l; i++) {\n unique += row[paramsCondition_1[i]] && row[paramsCondition_1[i]].toString();\n }\n return unique;\n };\n }\n var groups = group_by_1.default(data, condition);\n return groups;\n};\nexports.default = groupToMap;\n//# sourceMappingURL=group-to-map.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_function_1 = require(\"./is-function\");\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction groupBy(data, condition) {\n if (!condition || !is_array_1.default(data)) {\n return {};\n }\n var result = {};\n // 兼容方法和 字符串的写法\n var predicate = is_function_1.default(condition) ? condition : function (item) { return item[condition]; };\n var key;\n for (var i = 0; i < data.length; i++) {\n var item = data[i];\n key = predicate(item);\n if (hasOwnProperty.call(result, key)) {\n result[key].push(item);\n }\n else {\n result[key] = [item];\n }\n }\n return result;\n}\nexports.default = groupBy;\n//# sourceMappingURL=group-by.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 获取封装的事件\n * @protected\n * @param {Object} obj 对象\n * @param {String} action 事件名称\n * @return {Function} 返回事件处理函数\n */\nfunction getWrapBehavior(obj, action) {\n return obj['_wrap_' + action];\n}\nexports.default = getWrapBehavior;\n//# sourceMappingURL=get-wrap-behavior.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 封装事件,便于使用上下文this,和便于解除事件时使用\n * @protected\n * @param {Object} obj 对象\n * @param {String} action 事件名称\n * @return {Function} 返回事件处理函数\n */\nfunction wrapBehavior(obj, action) {\n if (obj['_wrap_' + action]) {\n return obj['_wrap_' + action];\n }\n var method = function (e) {\n obj[action](e);\n };\n obj['_wrap_' + action] = method;\n return method;\n}\nexports.default = wrapBehavior;\n//# sourceMappingURL=wrap-behavior.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar numColorCache = {};\nfunction numberToColor(num) {\n // 增加缓存\n var color = numColorCache[num];\n if (!color) {\n var str = num.toString(16);\n for (var i = str.length; i < 6; i++) {\n str = '0' + str;\n }\n color = '#' + str;\n numColorCache[num] = color;\n }\n return color;\n}\nexports.default = numberToColor;\n//# sourceMappingURL=number2color.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nfunction parseRadius(radius) {\n var r1 = 0, r2 = 0, r3 = 0, r4 = 0;\n if (is_array_1.default(radius)) {\n if (radius.length === 1) {\n r1 = r2 = r3 = r4 = radius[0];\n }\n else if (radius.length === 2) {\n r1 = r3 = radius[0];\n r2 = r4 = radius[1];\n }\n else if (radius.length === 3) {\n r1 = radius[0];\n r2 = r4 = radius[1];\n r3 = radius[2];\n }\n else {\n r1 = radius[0];\n r2 = radius[1];\n r3 = radius[2];\n r4 = radius[3];\n }\n }\n else {\n r1 = r2 = r3 = r4 = radius;\n }\n return {\n r1: r1,\n r2: r2,\n r3: r3,\n r4: r4\n };\n}\nexports.default = parseRadius;\n//# sourceMappingURL=parse-radius.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar clamp = function (a, min, max) {\n if (a < min) {\n return min;\n }\n else if (a > max) {\n return max;\n }\n return a;\n};\nexports.default = clamp;\n//# sourceMappingURL=clamp.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fixedBase = function (v, base) {\n var str = base.toString();\n var index = str.indexOf('.');\n if (index === -1) {\n return Math.round(v);\n }\n var length = str.substr(index + 1).length;\n if (length > 20) {\n length = 20;\n }\n return parseFloat(v.toFixed(length));\n};\nexports.default = fixedBase;\n//# sourceMappingURL=fixed-base.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isDecimal = function (num) {\n return is_number_1.default(num) && num % 1 !== 0;\n};\nexports.default = isDecimal;\n//# sourceMappingURL=is-decimal.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 判断是否数字\n * @return {Boolean} 是否数字\n */\nvar is_type_1 = require(\"./is-type\");\nvar isNumber = function (value) {\n return is_type_1.default(value, 'Number');\n};\nexports.default = isNumber;\n//# sourceMappingURL=is-number.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isEven = function (num) {\n return is_number_1.default(num) && num % 2 === 0;\n};\nexports.default = isEven;\n//# sourceMappingURL=is-even.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isInteger = Number.isInteger ? Number.isInteger : function (num) {\n return is_number_1.default(num) && num % 1 === 0;\n};\nexports.default = isInteger;\n//# sourceMappingURL=is-integer.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isNegative = function (num) {\n return is_number_1.default(num) && num < 0;\n};\nexports.default = isNegative;\n//# sourceMappingURL=is-negative.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar PRECISION = 0.00001; // numbers less than this is considered as 0\nfunction isNumberEqual(a, b, precision) {\n if (precision === void 0) { precision = PRECISION; }\n return Math.abs((a - b)) < precision;\n}\nexports.default = isNumberEqual;\n;\n//# sourceMappingURL=is-number-equal.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isOdd = function (num) {\n return is_number_1.default(num) && num % 2 !== 0;\n};\nexports.default = isOdd;\n//# sourceMappingURL=is-odd.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isPositive = function (num) {\n return is_number_1.default(num) && num > 0;\n};\nexports.default = isPositive;\n//# sourceMappingURL=is-positive.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_array_1 = require(\"./is-array\");\nvar is_function_1 = require(\"./is-function\");\n/**\n * @param {Array} arr The array to iterate over.\n * @param {Function} [fn] The iteratee invoked per element.\n * @return {*} Returns the maximum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * maxBy(objects, function(o) { return o.n; });\n * // => { 'n': 2 }\n *\n * maxBy(objects, 'n');\n * // => { 'n': 2 }\n */\nexports.default = (function (arr, fn) {\n if (!is_array_1.default(arr)) {\n return undefined;\n }\n var max = arr[0];\n var maxData;\n if (is_function_1.default(fn)) {\n maxData = fn(arr[0]);\n }\n else {\n maxData = arr[0][fn];\n }\n var data;\n each_1.default(arr, function (val) {\n if (is_function_1.default(fn)) {\n data = fn(val);\n }\n else {\n data = val[fn];\n }\n if (data > maxData) {\n max = val;\n maxData = data;\n }\n });\n return max;\n});\n//# sourceMappingURL=max-by.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_array_1 = require(\"./is-array\");\nvar is_function_1 = require(\"./is-function\");\n/**\n * @param {Array} arr The array to iterate over.\n * @param {Function} [fn] The iteratee invoked per element.\n * @return {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * minBy(objects, 'n');\n * // => { 'n': 1 }\n */\nexports.default = (function (arr, fn) {\n if (!is_array_1.default(arr)) {\n return undefined;\n }\n var min = arr[0];\n var minData;\n if (is_function_1.default(fn)) {\n minData = fn(arr[0]);\n }\n else {\n minData = arr[0][fn];\n }\n var data;\n each_1.default(arr, function (val) {\n if (is_function_1.default(fn)) {\n data = fn(val);\n }\n else {\n data = val[fn];\n }\n if (data < minData) {\n min = val;\n minData = data;\n }\n });\n return min;\n});\n//# sourceMappingURL=min-by.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mod = function (n, m) {\n return ((n % m) + m) % m;\n};\nexports.default = mod;\n//# sourceMappingURL=mod.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DEGREE = 180 / Math.PI;\nvar toDegree = function (radian) {\n return DEGREE * radian;\n};\nexports.default = toDegree;\n//# sourceMappingURL=to-degree.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = parseInt;\n//# sourceMappingURL=to-integer.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar RADIAN = Math.PI / 180;\nvar toRadian = function (degree) {\n return RADIAN * degree;\n};\nexports.default = toRadian;\n//# sourceMappingURL=to-radian.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nexports.default = each_1.default;\n//# sourceMappingURL=for-in.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (obj, key) { return obj.hasOwnProperty(key); });\n//# sourceMappingURL=has.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar has_1 = require(\"./has\");\nexports.default = has_1.default;\n//# sourceMappingURL=has-key.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar contains_1 = require(\"./contains\");\nvar values_1 = require(\"./values\");\nexports.default = (function (obj, value) { return contains_1.default(values_1.default(obj), value); });\n//# sourceMappingURL=has-value.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_function_1 = require(\"./is-function\");\n// @ts-ignore\nvar values = Object.values ? function (obj) { return Object.values(obj); } : function (obj) {\n var result = [];\n each_1.default(obj, function (value, key) {\n if (!(is_function_1.default(obj) && key === 'prototype')) {\n result.push(value);\n }\n });\n return result;\n};\nexports.default = values;\n//# sourceMappingURL=values.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar to_string_1 = require(\"./to-string\");\nvar lowerCase = function (str) {\n return to_string_1.default(str).toLowerCase();\n};\nexports.default = lowerCase;\n//# sourceMappingURL=lower-case.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nexports.default = (function (value) {\n if (is_nil_1.default(value))\n return '';\n return value.toString();\n});\n//# sourceMappingURL=to-string.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar to_string_1 = require(\"./to-string\");\nvar lowerFirst = function (value) {\n var str = to_string_1.default(value);\n return str.charAt(0).toLowerCase() + str.substring(1);\n};\nexports.default = lowerFirst;\n//# sourceMappingURL=lower-first.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction substitute(str, o) {\n if (!str || !o) {\n return str;\n }\n return str.replace(/\\\\?\\{([^{}]+)\\}/g, function (match, name) {\n if (match.charAt(0) === '\\\\') {\n return match.slice(1);\n }\n return (o[name] === undefined) ? '' : o[name];\n });\n}\nexports.default = substitute;\n//# sourceMappingURL=substitute.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar to_string_1 = require(\"./to-string\");\nvar upperCase = function (str) {\n return to_string_1.default(str).toUpperCase();\n};\nexports.default = upperCase;\n//# sourceMappingURL=upper-case.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar to_string_1 = require(\"./to-string\");\nvar upperFirst = function (value) {\n var str = to_string_1.default(value);\n return str.charAt(0).toUpperCase() + str.substring(1);\n};\nexports.default = upperFirst;\n//# sourceMappingURL=upper-first.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar toString = {}.toString;\nvar getType = function (value) {\n return toString.call(value).replace(/^\\[object /, '').replace(/]$/, '');\n};\nexports.default = getType;\n//# sourceMappingURL=get-type.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nvar is_type_1 = require(\"./is-type\");\nvar isArguments = function (value) {\n return is_type_1.default(value, 'Arguments');\n};\nexports.default = isArguments;\n//# sourceMappingURL=is-arguments.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 是否是布尔类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nvar is_type_1 = require(\"./is-type\");\nvar isBoolean = function (value) {\n return is_type_1.default(value, 'Boolean');\n};\nexports.default = isBoolean;\n//# sourceMappingURL=is-boolean.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_type_1 = require(\"./is-type\");\nvar isDate = function (value) {\n return is_type_1.default(value, 'Date');\n};\nexports.default = isDate;\n//# sourceMappingURL=is-date.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nvar is_type_1 = require(\"./is-type\");\nvar isError = function (value) {\n return is_type_1.default(value, 'Error');\n};\nexports.default = isError;\n//# sourceMappingURL=is-error.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 判断是否为有限数\n * @return {Boolean}\n */\nvar is_number_1 = require(\"./is-number\");\nfunction default_1(value) {\n return is_number_1.default(value) && isFinite(value);\n}\nexports.default = default_1;\n//# sourceMappingURL=is-finite.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isNull = function (value) {\n return value === null;\n};\nexports.default = isNull;\n//# sourceMappingURL=is-null.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar objectProto = Object.prototype;\nvar isPrototype = function (value) {\n var Ctor = value && value.constructor;\n var proto = (typeof Ctor === 'function' && Ctor.prototype) || objectProto;\n return value === proto;\n};\nexports.default = isPrototype;\n//# sourceMappingURL=is-prototype.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_type_1 = require(\"./is-type\");\nvar isRegExp = function (str) {\n return is_type_1.default(str, 'RegExp');\n};\nexports.default = isRegExp;\n//# sourceMappingURL=is-reg-exp.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isUndefined = function (value) {\n return value === undefined;\n};\nexports.default = isUndefined;\n//# sourceMappingURL=is-undefined.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 判断是否HTML元素\n * @return {Boolean} 是否HTML元素\n */\nvar isElement = function (o) {\n return o instanceof Element || o instanceof HTMLDocument;\n};\nexports.default = isElement;\n//# sourceMappingURL=is-element.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction requestAnimationFrame(fn) {\n var method = window.requestAnimationFrame ||\n window.webkitRequestAnimationFrame ||\n // @ts-ignore\n window.mozRequestAnimationFrame ||\n // @ts-ignore\n window.msRequestAnimationFrame ||\n function (f) {\n return setTimeout(f, 16);\n };\n return method(fn);\n}\nexports.default = requestAnimationFrame;\n;\n//# sourceMappingURL=request-animation-frame.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction cancelAnimationFrame(handler) {\n var method = window.cancelAnimationFrame ||\n window.webkitCancelAnimationFrame ||\n // @ts-ignore\n window.mozCancelAnimationFrame ||\n // @ts-ignore\n window.msCancelAnimationFrame ||\n clearTimeout;\n method(handler);\n}\nexports.default = cancelAnimationFrame;\n;\n//# sourceMappingURL=clear-animation-frame.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mix_1 = require(\"./mix\");\nvar is_function_1 = require(\"./is-function\");\nvar augment = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var c = args[0];\n for (var i = 1; i < args.length; i++) {\n var obj = args[i];\n if (is_function_1.default(obj)) {\n obj = obj.prototype;\n }\n mix_1.default(c.prototype, obj);\n }\n};\nexports.default = augment;\n//# sourceMappingURL=augment.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// FIXME: Mutable param should be forbidden in static lang.\nfunction _mix(dist, obj) {\n for (var key in obj) {\n if (obj.hasOwnProperty(key) && key !== 'constructor' && obj[key] !== undefined) {\n dist[key] = obj[key];\n }\n }\n}\nfunction mix(dist, src1, src2, src3) {\n if (src1)\n _mix(dist, src1);\n if (src2)\n _mix(dist, src2);\n if (src3)\n _mix(dist, src3);\n return dist;\n}\nexports.default = mix;\n//# sourceMappingURL=mix.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar clone = function (obj) {\n if (typeof obj !== 'object' || obj === null) {\n return obj;\n }\n var rst;\n if (is_array_1.default(obj)) {\n rst = [];\n for (var i = 0, l = obj.length; i < l; i++) {\n if (typeof obj[i] === 'object' && obj[i] != null) {\n rst[i] = clone(obj[i]);\n }\n else {\n rst[i] = obj[i];\n }\n }\n }\n else {\n rst = {};\n for (var k in obj) {\n if (typeof obj[k] === 'object' && obj[k] != null) {\n rst[k] = clone(obj[k]);\n }\n else {\n rst[k] = obj[k];\n }\n }\n }\n return rst;\n};\nexports.default = clone;\n//# sourceMappingURL=clone.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction debounce(func, wait, immediate) {\n var timeout;\n return function () {\n var context = this, args = arguments;\n var later = function () {\n timeout = null;\n if (!immediate) {\n func.apply(context, args);\n }\n };\n var callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n if (callNow) {\n func.apply(context, args);\n }\n };\n}\nexports.default = debounce;\n//# sourceMappingURL=debounce.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_function_1 = require(\"./is-function\");\n/**\n * _.memoize(calColor);\n * _.memoize(calColor, (...args) => args[0]);\n * @param f\n * @param resolver\n */\nexports.default = (function (f, resolver) {\n if (!is_function_1.default(f)) {\n throw new TypeError('Expected a function');\n }\n var memoized = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n // 使用方法构造 key,如果不存在 resolver,则直接取第一个参数作为 key\n var key = resolver ? resolver.apply(this, args) : args[0];\n var cache = memoized.cache;\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = f.apply(this, args);\n // 缓存起来\n cache.set(key, result);\n return result;\n };\n memoized.cache = new Map();\n return memoized;\n});\n//# sourceMappingURL=memoize.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_plain_object_1 = require(\"./is-plain-object\");\nvar MAX_MIX_LEVEL = 5;\nfunction _deepMix(dist, src, level, maxLevel) {\n level = level || 0;\n maxLevel = maxLevel || MAX_MIX_LEVEL;\n for (var key in src) {\n if (src.hasOwnProperty(key)) {\n var value = src[key];\n if (value !== null && is_plain_object_1.default(value)) {\n if (!is_plain_object_1.default(dist[key])) {\n dist[key] = {};\n }\n if (level < maxLevel) {\n _deepMix(dist[key], value, level + 1, maxLevel);\n }\n else {\n dist[key] = src[key];\n }\n }\n else if (is_array_1.default(value)) {\n dist[key] = [];\n dist[key] = dist[key].concat(value);\n }\n else if (value !== undefined) {\n dist[key] = value;\n }\n }\n }\n}\n// todo 重写\nvar deepMix = function (rst) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n for (var i = 0; i < args.length; i += 1) {\n _deepMix(rst, args[i]);\n }\n return rst;\n};\nexports.default = deepMix;\n//# sourceMappingURL=deep-mix.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mix_1 = require(\"./mix\");\nvar is_function_1 = require(\"./is-function\");\nvar extend = function (subclass, superclass, overrides, staticOverrides) {\n // 如果只提供父类构造函数,则自动生成子类构造函数\n if (!is_function_1.default(superclass)) {\n overrides = superclass;\n superclass = subclass;\n subclass = function () { };\n }\n var create = Object.create ?\n function (proto, c) {\n return Object.create(proto, {\n constructor: {\n value: c\n }\n });\n } :\n function (proto, c) {\n function Tmp() { }\n Tmp.prototype = proto;\n var o = new Tmp();\n o.constructor = c;\n return o;\n };\n var superObj = create(superclass.prototype, subclass); // new superclass(),//实例化父类作为子类的prototype\n subclass.prototype = mix_1.default(superObj, subclass.prototype); // 指定子类的prototype\n subclass.superclass = create(superclass.prototype, superclass);\n mix_1.default(superObj, overrides);\n mix_1.default(subclass, staticOverrides);\n return subclass;\n};\nexports.default = extend;\n//# sourceMappingURL=extend.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar indexOf = function (arr, obj) {\n if (!is_array_like_1.default(arr)) {\n return -1;\n }\n var m = Array.prototype.indexOf;\n if (m) {\n return m.call(arr, obj);\n }\n var index = -1;\n for (var i = 0; i < arr.length; i++) {\n if (arr[i] === obj) {\n index = i;\n break;\n }\n }\n return index;\n};\nexports.default = indexOf;\n//# sourceMappingURL=index-of.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar is_array_like_1 = require(\"./is-array-like\");\nvar get_type_1 = require(\"./get-type\");\nvar is_prototype_1 = require(\"./is-prototype\");\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction isEmpty(value) {\n /**\n * isEmpty(null) => true\n * isEmpty() => true\n * isEmpty(true) => true\n * isEmpty(1) => true\n * isEmpty([1, 2, 3]) => false\n * isEmpty('abc') => false\n * isEmpty({ a: 1 }) => false\n */\n if (is_nil_1.default(value)) {\n return true;\n }\n if (is_array_like_1.default(value)) {\n return !value.length;\n }\n var type = get_type_1.default(value);\n if (type === 'Map' || type === 'Set') {\n return !value.size;\n }\n if (is_prototype_1.default(value)) {\n return !Object.keys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\nexports.default = isEmpty;\n//# sourceMappingURL=is-empty.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_object_like_1 = require(\"./is-object-like\");\nvar is_array_like_1 = require(\"./is-array-like\");\nvar is_string_1 = require(\"./is-string\");\nvar isEqual = function (value, other) {\n if (value === other) {\n return true;\n }\n if (!value || !other) {\n return false;\n }\n if (is_string_1.default(value) || is_string_1.default(other)) {\n return false;\n }\n if (is_array_like_1.default(value) || is_array_like_1.default(other)) {\n if (value.length !== other.length) {\n return false;\n }\n var rst = true;\n for (var i = 0; i < value.length; i++) {\n rst = isEqual(value[i], other[i]);\n if (!rst) {\n break;\n }\n }\n return rst;\n }\n if (is_object_like_1.default(value) || is_object_like_1.default(other)) {\n var valueKeys = Object.keys(value);\n var otherKeys = Object.keys(other);\n if (valueKeys.length !== otherKeys.length) {\n return false;\n }\n var rst = true;\n for (var i = 0; i < valueKeys.length; i++) {\n rst = isEqual(value[valueKeys[i]], other[valueKeys[i]]);\n if (!rst) {\n break;\n }\n }\n return rst;\n }\n return false;\n};\nexports.default = isEqual;\n//# sourceMappingURL=is-equal.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_function_1 = require(\"./is-function\");\nvar is_equal_1 = require(\"./is-equal\");\n/**\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [fn] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * isEqualWith(array, other, customizer); // => true\n */\nexports.default = (function (value, other, fn) {\n if (!is_function_1.default(fn)) {\n return is_equal_1.default(value, other);\n }\n return !!fn(value, other);\n});\n//# sourceMappingURL=is-equal-with.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar map = function (arr, func) {\n if (!is_array_like_1.default(arr)) {\n // @ts-ignore\n return arr;\n }\n var result = [];\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n result.push(func(value, index));\n }\n return result;\n};\nexports.default = map;\n//# sourceMappingURL=map.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar is_object_1 = require(\"./is-object\");\nvar identity = function (v) { return v; };\nexports.default = (function (object, func) {\n if (func === void 0) { func = identity; }\n var r = {};\n if (is_object_1.default(object) && !is_nil_1.default(object)) {\n Object.keys(object).forEach(function (key) {\n // @ts-ignore\n r[key] = func(object[key], key);\n });\n }\n return r;\n});\n//# sourceMappingURL=map-values.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_string_1 = require(\"./is-string\");\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param key\n * @param defaultValue\n */\nexports.default = (function (obj, key, defaultValue) {\n var p = 0;\n var keyArr = is_string_1.default(key) ? key.split('.') : key;\n while (obj && p < keyArr.length) {\n obj = obj[keyArr[p++]];\n }\n return (obj === undefined || p < keyArr.length) ? defaultValue : obj;\n});\n//# sourceMappingURL=get.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_object_1 = require(\"./is-object\");\nvar is_string_1 = require(\"./is-string\");\nvar is_number_1 = require(\"./is-number\");\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param path\n * @param value\n */\nexports.default = (function (obj, path, value) {\n var o = obj;\n var keyArr = is_string_1.default(path) ? path.split('.') : path;\n keyArr.forEach(function (key, idx) {\n // 不是最后一个\n if (idx < keyArr.length - 1) {\n if (!is_object_1.default(o[key])) {\n o[key] = is_number_1.default(keyArr[idx + 1]) ? [] : {};\n }\n o = o[key];\n }\n else {\n o[key] = value;\n }\n });\n return obj;\n});\n//# sourceMappingURL=set.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_plain_object_1 = require(\"./is-plain-object\");\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nexports.default = (function (object, keys) {\n if (object === null || !is_plain_object_1.default(object)) {\n return {};\n }\n var result = {};\n each_1.default(keys, function (key) {\n if (hasOwnProperty.call(object, key)) {\n result[key] = object[key];\n }\n });\n return result;\n});\n//# sourceMappingURL=pick.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (func, wait, options) {\n var timeout, context, args, result;\n var previous = 0;\n if (!options)\n options = {};\n var later = function () {\n previous = options.leading === false ? 0 : Date.now();\n timeout = null;\n result = func.apply(context, args);\n if (!timeout)\n context = args = null;\n };\n var throttled = function () {\n var now = Date.now();\n if (!previous && options.leading === false)\n previous = now;\n var remaining = wait - (now - previous);\n context = this;\n args = arguments;\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n previous = now;\n result = func.apply(context, args);\n if (!timeout)\n context = args = null;\n }\n else if (!timeout && options.trailing !== false) {\n timeout = setTimeout(later, remaining);\n }\n return result;\n };\n throttled.cancel = function () {\n clearTimeout(timeout);\n previous = 0;\n timeout = context = args = null;\n };\n return throttled;\n});\n//# sourceMappingURL=throttle.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nexports.default = (function (value) {\n return is_array_like_1.default(value) ? Array.prototype.slice.call(value) : [];\n});\n//# sourceMappingURL=to-array.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar map = {};\nexports.default = (function (prefix) {\n prefix = prefix || 'g';\n if (!map[prefix]) {\n map[prefix] = 1;\n }\n else {\n map[prefix] += 1;\n }\n return prefix + map[prefix];\n});\n//# sourceMappingURL=unique-id.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function () { });\n//# sourceMappingURL=noop.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (v) { return v; });\n//# sourceMappingURL=identity.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar is_array_like_1 = require(\"./is-array-like\");\nfunction size(o) {\n if (is_nil_1.default(o)) {\n return 0;\n }\n if (is_array_like_1.default(o)) {\n return o.length;\n }\n return Object.keys(o).length;\n}\nexports.default = size;\n//# sourceMappingURL=size.js.map","\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * k-v 存储\n */\nvar default_1 = /** @class */ (function () {\n function default_1() {\n this.map = {};\n }\n default_1.prototype.has = function (key) {\n return this.map[key] !== undefined;\n };\n default_1.prototype.get = function (key, def) {\n var v = this.map[key];\n return v === undefined ? def : v;\n };\n default_1.prototype.set = function (key, value) {\n this.map[key] = value;\n };\n default_1.prototype.clear = function () {\n this.map = {};\n };\n default_1.prototype.delete = function (key) {\n delete this.map[key];\n };\n default_1.prototype.size = function () {\n return Object.keys(this.map).length;\n };\n return default_1;\n}());\nexports.default = default_1;\n//# sourceMappingURL=cache.js.map"]}
|