From 8c58c21901d253963653ae5c948cc3a4b32e2f9b Mon Sep 17 00:00:00 2001 From: yujunyan <1789295172@qq.com> Date: Wed, 23 Jun 2021 13:47:06 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../6.18\344\275\234\344\270\232/button.html" | 34 ++++++++++++ .../6.18\344\275\234\344\270\232/input.html" | 53 +++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 "\344\275\231\344\277\212\347\207\225/6.18\344\275\234\344\270\232/button.html" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.18\344\275\234\344\270\232/input.html" diff --git "a/\344\275\231\344\277\212\347\207\225/6.18\344\275\234\344\270\232/button.html" "b/\344\275\231\344\277\212\347\207\225/6.18\344\275\234\344\270\232/button.html" new file mode 100644 index 00000000..204b7c21 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.18\344\275\234\344\270\232/button.html" @@ -0,0 +1,34 @@ + + + + + 封装一个简单按钮组件,可以显示如下几个按钮 + + + +
+ +
+ + + + diff --git "a/\344\275\231\344\277\212\347\207\225/6.18\344\275\234\344\270\232/input.html" "b/\344\275\231\344\277\212\347\207\225/6.18\344\275\234\344\270\232/input.html" new file mode 100644 index 00000000..1b91b3fa --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.18\344\275\234\344\270\232/input.html" @@ -0,0 +1,53 @@ + + + + + + + +
+ + +
+ + + + -- Gitee From 12ea4c98546cba07f07fe519b23971a5af1ebd9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E4=BF=8A=E7=87=95?= <1789295172@qq.com> Date: Tue, 29 Jun 2021 09:00:59 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\347\220\206\347\263\273\347\273\237.html" | 69 ++++++++++++++++ ...\344\273\266\345\260\201\350\243\205.html" | 38 +++++++++ .../\347\273\204\344\273\266-button.html" | 27 +++++++ ...\346\217\220\347\244\272\346\241\206.html" | 80 +++++++++++++++++++ 4 files changed, 214 insertions(+) create mode 100644 "\344\275\231\344\277\212\347\207\225/6.22\344\275\234\344\270\232/\344\273\273\345\212\241\347\256\241\347\220\206\347\263\273\347\273\237.html" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.22\344\275\234\344\270\232/\347\273\204\344\273\266\345\260\201\350\243\205.html" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.24\344\275\234\344\270\232/\347\273\204\344\273\266-button.html" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.24\344\275\234\344\270\232/\347\273\204\344\273\266-\346\217\220\347\244\272\346\241\206.html" diff --git "a/\344\275\231\344\277\212\347\207\225/6.22\344\275\234\344\270\232/\344\273\273\345\212\241\347\256\241\347\220\206\347\263\273\347\273\237.html" "b/\344\275\231\344\277\212\347\207\225/6.22\344\275\234\344\270\232/\344\273\273\345\212\241\347\256\241\347\220\206\347\263\273\347\273\237.html" new file mode 100644 index 00000000..d36a5ac8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.22\344\275\234\344\270\232/\344\273\273\345\212\241\347\256\241\347\220\206\347\263\273\347\273\237.html" @@ -0,0 +1,69 @@ + + + + + + + +
+ + +
+ + + + diff --git "a/\344\275\231\344\277\212\347\207\225/6.22\344\275\234\344\270\232/\347\273\204\344\273\266\345\260\201\350\243\205.html" "b/\344\275\231\344\277\212\347\207\225/6.22\344\275\234\344\270\232/\347\273\204\344\273\266\345\260\201\350\243\205.html" new file mode 100644 index 00000000..a8bd721f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.22\344\275\234\344\270\232/\347\273\204\344\273\266\345\260\201\350\243\205.html" @@ -0,0 +1,38 @@ + + + + + + + +
+ +
+ + + + diff --git "a/\344\275\231\344\277\212\347\207\225/6.24\344\275\234\344\270\232/\347\273\204\344\273\266-button.html" "b/\344\275\231\344\277\212\347\207\225/6.24\344\275\234\344\270\232/\347\273\204\344\273\266-button.html" new file mode 100644 index 00000000..a3c75537 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.24\344\275\234\344\270\232/\347\273\204\344\273\266-button.html" @@ -0,0 +1,27 @@ + + + + + + + +
+ + + +
+ + + + + -- Gitee From ef38d7dd6063d5c9536b4498f50f67ff28da5c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E4=BF=8A=E7=87=95?= <1789295172@qq.com> Date: Tue, 29 Jun 2021 11:01:53 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/dist/index.html" | 10 + .../app/dist/main.js" | 132 + .../app/index.html" | 11 + .../app/node_modules/lodash/LICENSE" | 47 + .../app/node_modules/lodash/README.md" | 39 + .../app/node_modules/lodash/_DataView.js" | 7 + .../app/node_modules/lodash/_Hash.js" | 32 + .../app/node_modules/lodash/_LazyWrapper.js" | 28 + .../app/node_modules/lodash/_ListCache.js" | 32 + .../node_modules/lodash/_LodashWrapper.js" | 22 + .../app/node_modules/lodash/_Map.js" | 7 + .../app/node_modules/lodash/_MapCache.js" | 32 + .../app/node_modules/lodash/_Promise.js" | 7 + .../app/node_modules/lodash/_Set.js" | 7 + .../app/node_modules/lodash/_SetCache.js" | 27 + .../app/node_modules/lodash/_Stack.js" | 27 + .../app/node_modules/lodash/_Symbol.js" | 6 + .../app/node_modules/lodash/_Uint8Array.js" | 6 + .../app/node_modules/lodash/_WeakMap.js" | 7 + .../app/node_modules/lodash/_apply.js" | 21 + .../node_modules/lodash/_arrayAggregator.js" | 22 + .../app/node_modules/lodash/_arrayEach.js" | 22 + .../node_modules/lodash/_arrayEachRight.js" | 21 + .../app/node_modules/lodash/_arrayEvery.js" | 23 + .../app/node_modules/lodash/_arrayFilter.js" | 25 + .../node_modules/lodash/_arrayIncludes.js" | 17 + .../lodash/_arrayIncludesWith.js" | 22 + .../node_modules/lodash/_arrayLikeKeys.js" | 49 + .../app/node_modules/lodash/_arrayMap.js" | 21 + .../app/node_modules/lodash/_arrayPush.js" | 20 + .../app/node_modules/lodash/_arrayReduce.js" | 26 + .../node_modules/lodash/_arrayReduceRight.js" | 24 + .../app/node_modules/lodash/_arraySample.js" | 15 + .../node_modules/lodash/_arraySampleSize.js" | 17 + .../app/node_modules/lodash/_arrayShuffle.js" | 15 + .../app/node_modules/lodash/_arraySome.js" | 23 + .../app/node_modules/lodash/_asciiSize.js" | 12 + .../app/node_modules/lodash/_asciiToArray.js" | 12 + .../app/node_modules/lodash/_asciiWords.js" | 15 + .../node_modules/lodash/_assignMergeValue.js" | 20 + .../app/node_modules/lodash/_assignValue.js" | 28 + .../app/node_modules/lodash/_assocIndexOf.js" | 21 + .../node_modules/lodash/_baseAggregator.js" | 21 + .../app/node_modules/lodash/_baseAssign.js" | 17 + .../app/node_modules/lodash/_baseAssignIn.js" | 17 + .../node_modules/lodash/_baseAssignValue.js" | 25 + .../app/node_modules/lodash/_baseAt.js" | 23 + .../app/node_modules/lodash/_baseClamp.js" | 22 + .../app/node_modules/lodash/_baseClone.js" | 166 + .../app/node_modules/lodash/_baseConforms.js" | 18 + .../node_modules/lodash/_baseConformsTo.js" | 27 + .../app/node_modules/lodash/_baseCreate.js" | 30 + .../app/node_modules/lodash/_baseDelay.js" | 21 + .../node_modules/lodash/_baseDifference.js" | 67 + .../app/node_modules/lodash/_baseEach.js" | 14 + .../node_modules/lodash/_baseEachRight.js" | 14 + .../app/node_modules/lodash/_baseEvery.js" | 21 + .../app/node_modules/lodash/_baseExtremum.js" | 32 + .../app/node_modules/lodash/_baseFill.js" | 32 + .../app/node_modules/lodash/_baseFilter.js" | 21 + .../node_modules/lodash/_baseFindIndex.js" | 24 + .../app/node_modules/lodash/_baseFindKey.js" | 23 + .../app/node_modules/lodash/_baseFlatten.js" | 38 + .../app/node_modules/lodash/_baseFor.js" | 16 + .../app/node_modules/lodash/_baseForOwn.js" | 16 + .../node_modules/lodash/_baseForOwnRight.js" | 16 + .../app/node_modules/lodash/_baseForRight.js" | 15 + .../node_modules/lodash/_baseFunctions.js" | 19 + .../app/node_modules/lodash/_baseGet.js" | 24 + .../node_modules/lodash/_baseGetAllKeys.js" | 20 + .../app/node_modules/lodash/_baseGetTag.js" | 28 + .../app/node_modules/lodash/_baseGt.js" | 14 + .../app/node_modules/lodash/_baseHas.js" | 19 + .../app/node_modules/lodash/_baseHasIn.js" | 13 + .../app/node_modules/lodash/_baseInRange.js" | 18 + .../app/node_modules/lodash/_baseIndexOf.js" | 20 + .../node_modules/lodash/_baseIndexOfWith.js" | 23 + .../node_modules/lodash/_baseIntersection.js" | 74 + .../app/node_modules/lodash/_baseInverter.js" | 21 + .../app/node_modules/lodash/_baseInvoke.js" | 24 + .../node_modules/lodash/_baseIsArguments.js" | 18 + .../lodash/_baseIsArrayBuffer.js" | 17 + .../app/node_modules/lodash/_baseIsDate.js" | 18 + .../app/node_modules/lodash/_baseIsEqual.js" | 28 + .../node_modules/lodash/_baseIsEqualDeep.js" | 83 + .../app/node_modules/lodash/_baseIsMap.js" | 18 + .../app/node_modules/lodash/_baseIsMatch.js" | 62 + .../app/node_modules/lodash/_baseIsNaN.js" | 12 + .../app/node_modules/lodash/_baseIsNative.js" | 47 + .../app/node_modules/lodash/_baseIsRegExp.js" | 18 + .../app/node_modules/lodash/_baseIsSet.js" | 18 + .../node_modules/lodash/_baseIsTypedArray.js" | 60 + .../app/node_modules/lodash/_baseIteratee.js" | 31 + .../app/node_modules/lodash/_baseKeys.js" | 30 + .../app/node_modules/lodash/_baseKeysIn.js" | 33 + .../app/node_modules/lodash/_baseLodash.js" | 10 + .../app/node_modules/lodash/_baseLt.js" | 14 + .../app/node_modules/lodash/_baseMap.js" | 22 + .../app/node_modules/lodash/_baseMatches.js" | 22 + .../lodash/_baseMatchesProperty.js" | 33 + .../app/node_modules/lodash/_baseMean.js" | 20 + .../app/node_modules/lodash/_baseMerge.js" | 42 + .../node_modules/lodash/_baseMergeDeep.js" | 94 + .../app/node_modules/lodash/_baseNth.js" | 20 + .../app/node_modules/lodash/_baseOrderBy.js" | 49 + .../app/node_modules/lodash/_basePick.js" | 19 + .../app/node_modules/lodash/_basePickBy.js" | 30 + .../app/node_modules/lodash/_baseProperty.js" | 14 + .../node_modules/lodash/_basePropertyDeep.js" | 16 + .../node_modules/lodash/_basePropertyOf.js" | 14 + .../app/node_modules/lodash/_basePullAll.js" | 51 + .../app/node_modules/lodash/_basePullAt.js" | 37 + .../app/node_modules/lodash/_baseRandom.js" | 18 + .../app/node_modules/lodash/_baseRange.js" | 28 + .../app/node_modules/lodash/_baseReduce.js" | 23 + .../app/node_modules/lodash/_baseRepeat.js" | 35 + .../app/node_modules/lodash/_baseRest.js" | 17 + .../app/node_modules/lodash/_baseSample.js" | 15 + .../node_modules/lodash/_baseSampleSize.js" | 18 + .../app/node_modules/lodash/_baseSet.js" | 51 + .../app/node_modules/lodash/_baseSetData.js" | 17 + .../node_modules/lodash/_baseSetToString.js" | 22 + .../app/node_modules/lodash/_baseShuffle.js" | 15 + .../app/node_modules/lodash/_baseSlice.js" | 31 + .../app/node_modules/lodash/_baseSome.js" | 22 + .../app/node_modules/lodash/_baseSortBy.js" | 21 + .../node_modules/lodash/_baseSortedIndex.js" | 42 + .../lodash/_baseSortedIndexBy.js" | 67 + .../node_modules/lodash/_baseSortedUniq.js" | 30 + .../app/node_modules/lodash/_baseSum.js" | 24 + .../app/node_modules/lodash/_baseTimes.js" | 20 + .../app/node_modules/lodash/_baseToNumber.js" | 24 + .../app/node_modules/lodash/_baseToPairs.js" | 18 + .../app/node_modules/lodash/_baseToString.js" | 37 + .../app/node_modules/lodash/_baseTrim.js" | 19 + .../app/node_modules/lodash/_baseUnary.js" | 14 + .../app/node_modules/lodash/_baseUniq.js" | 72 + .../app/node_modules/lodash/_baseUnset.js" | 20 + .../app/node_modules/lodash/_baseUpdate.js" | 18 + .../app/node_modules/lodash/_baseValues.js" | 19 + .../app/node_modules/lodash/_baseWhile.js" | 26 + .../node_modules/lodash/_baseWrapperValue.js" | 25 + .../app/node_modules/lodash/_baseXor.js" | 36 + .../node_modules/lodash/_baseZipObject.js" | 23 + .../app/node_modules/lodash/_cacheHas.js" | 13 + .../lodash/_castArrayLikeObject.js" | 14 + .../app/node_modules/lodash/_castFunction.js" | 14 + .../app/node_modules/lodash/_castPath.js" | 21 + .../app/node_modules/lodash/_castRest.js" | 14 + .../app/node_modules/lodash/_castSlice.js" | 18 + .../node_modules/lodash/_charsEndIndex.js" | 19 + .../node_modules/lodash/_charsStartIndex.js" | 20 + .../node_modules/lodash/_cloneArrayBuffer.js" | 16 + .../app/node_modules/lodash/_cloneBuffer.js" | 35 + .../node_modules/lodash/_cloneDataView.js" | 16 + .../app/node_modules/lodash/_cloneRegExp.js" | 17 + .../app/node_modules/lodash/_cloneSymbol.js" | 18 + .../node_modules/lodash/_cloneTypedArray.js" | 16 + .../node_modules/lodash/_compareAscending.js" | 41 + .../node_modules/lodash/_compareMultiple.js" | 44 + .../app/node_modules/lodash/_composeArgs.js" | 39 + .../node_modules/lodash/_composeArgsRight.js" | 41 + .../app/node_modules/lodash/_copyArray.js" | 20 + .../app/node_modules/lodash/_copyObject.js" | 40 + .../app/node_modules/lodash/_copySymbols.js" | 16 + .../node_modules/lodash/_copySymbolsIn.js" | 16 + .../app/node_modules/lodash/_coreJsData.js" | 6 + .../app/node_modules/lodash/_countHolders.js" | 21 + .../node_modules/lodash/_createAggregator.js" | 23 + .../node_modules/lodash/_createAssigner.js" | 37 + .../node_modules/lodash/_createBaseEach.js" | 32 + .../node_modules/lodash/_createBaseFor.js" | 25 + .../app/node_modules/lodash/_createBind.js" | 28 + .../node_modules/lodash/_createCaseFirst.js" | 33 + .../node_modules/lodash/_createCompounder.js" | 24 + .../app/node_modules/lodash/_createCtor.js" | 37 + .../app/node_modules/lodash/_createCurry.js" | 46 + .../app/node_modules/lodash/_createFind.js" | 25 + .../app/node_modules/lodash/_createFlow.js" | 78 + .../app/node_modules/lodash/_createHybrid.js" | 92 + .../node_modules/lodash/_createInverter.js" | 17 + .../lodash/_createMathOperation.js" | 38 + .../app/node_modules/lodash/_createOver.js" | 27 + .../node_modules/lodash/_createPadding.js" | 33 + .../node_modules/lodash/_createPartial.js" | 43 + .../app/node_modules/lodash/_createRange.js" | 30 + .../node_modules/lodash/_createRecurry.js" | 56 + .../lodash/_createRelationalOperation.js" | 20 + .../app/node_modules/lodash/_createRound.js" | 35 + .../app/node_modules/lodash/_createSet.js" | 19 + .../node_modules/lodash/_createToPairs.js" | 30 + .../app/node_modules/lodash/_createWrap.js" | 106 + .../lodash/_customDefaultsAssignIn.js" | 29 + .../lodash/_customDefaultsMerge.js" | 28 + .../node_modules/lodash/_customOmitClone.js" | 16 + .../app/node_modules/lodash/_deburrLetter.js" | 71 + .../node_modules/lodash/_defineProperty.js" | 11 + .../app/node_modules/lodash/_equalArrays.js" | 84 + .../app/node_modules/lodash/_equalByTag.js" | 112 + .../app/node_modules/lodash/_equalObjects.js" | 90 + .../node_modules/lodash/_escapeHtmlChar.js" | 21 + .../node_modules/lodash/_escapeStringChar.js" | 22 + .../app/node_modules/lodash/_flatRest.js" | 16 + .../app/node_modules/lodash/_freeGlobal.js" | 4 + .../app/node_modules/lodash/_getAllKeys.js" | 16 + .../app/node_modules/lodash/_getAllKeysIn.js" | 17 + .../app/node_modules/lodash/_getData.js" | 15 + .../app/node_modules/lodash/_getFuncName.js" | 31 + .../app/node_modules/lodash/_getHolder.js" | 13 + .../app/node_modules/lodash/_getMapData.js" | 18 + .../app/node_modules/lodash/_getMatchData.js" | 24 + .../app/node_modules/lodash/_getNative.js" | 17 + .../app/node_modules/lodash/_getPrototype.js" | 6 + .../app/node_modules/lodash/_getRawTag.js" | 46 + .../app/node_modules/lodash/_getSymbols.js" | 30 + .../app/node_modules/lodash/_getSymbolsIn.js" | 25 + .../app/node_modules/lodash/_getTag.js" | 58 + .../app/node_modules/lodash/_getValue.js" | 13 + .../app/node_modules/lodash/_getView.js" | 33 + .../node_modules/lodash/_getWrapDetails.js" | 17 + .../app/node_modules/lodash/_hasPath.js" | 39 + .../app/node_modules/lodash/_hasUnicode.js" | 26 + .../node_modules/lodash/_hasUnicodeWord.js" | 15 + .../app/node_modules/lodash/_hashClear.js" | 15 + .../app/node_modules/lodash/_hashDelete.js" | 17 + .../app/node_modules/lodash/_hashGet.js" | 30 + .../app/node_modules/lodash/_hashHas.js" | 23 + .../app/node_modules/lodash/_hashSet.js" | 23 + .../node_modules/lodash/_initCloneArray.js" | 26 + .../node_modules/lodash/_initCloneByTag.js" | 77 + .../node_modules/lodash/_initCloneObject.js" | 18 + .../lodash/_insertWrapDetails.js" | 23 + .../node_modules/lodash/_isFlattenable.js" | 20 + .../app/node_modules/lodash/_isIndex.js" | 25 + .../node_modules/lodash/_isIterateeCall.js" | 30 + .../app/node_modules/lodash/_isKey.js" | 29 + .../app/node_modules/lodash/_isKeyable.js" | 15 + .../app/node_modules/lodash/_isLaziable.js" | 28 + .../app/node_modules/lodash/_isMaskable.js" | 14 + .../app/node_modules/lodash/_isMasked.js" | 20 + .../app/node_modules/lodash/_isPrototype.js" | 18 + .../lodash/_isStrictComparable.js" | 15 + .../node_modules/lodash/_iteratorToArray.js" | 18 + .../app/node_modules/lodash/_lazyClone.js" | 23 + .../app/node_modules/lodash/_lazyReverse.js" | 23 + .../app/node_modules/lodash/_lazyValue.js" | 69 + .../node_modules/lodash/_listCacheClear.js" | 13 + .../node_modules/lodash/_listCacheDelete.js" | 35 + .../app/node_modules/lodash/_listCacheGet.js" | 19 + .../app/node_modules/lodash/_listCacheHas.js" | 16 + .../app/node_modules/lodash/_listCacheSet.js" | 26 + .../node_modules/lodash/_mapCacheClear.js" | 21 + .../node_modules/lodash/_mapCacheDelete.js" | 18 + .../app/node_modules/lodash/_mapCacheGet.js" | 16 + .../app/node_modules/lodash/_mapCacheHas.js" | 16 + .../app/node_modules/lodash/_mapCacheSet.js" | 22 + .../app/node_modules/lodash/_mapToArray.js" | 18 + .../lodash/_matchesStrictComparable.js" | 20 + .../node_modules/lodash/_memoizeCapped.js" | 26 + .../app/node_modules/lodash/_mergeData.js" | 90 + .../app/node_modules/lodash/_metaMap.js" | 6 + .../app/node_modules/lodash/_nativeCreate.js" | 6 + .../app/node_modules/lodash/_nativeKeys.js" | 6 + .../app/node_modules/lodash/_nativeKeysIn.js" | 20 + .../app/node_modules/lodash/_nodeUtil.js" | 30 + .../node_modules/lodash/_objectToString.js" | 22 + .../app/node_modules/lodash/_overArg.js" | 15 + .../app/node_modules/lodash/_overRest.js" | 36 + .../app/node_modules/lodash/_parent.js" | 16 + .../app/node_modules/lodash/_reEscape.js" | 4 + .../app/node_modules/lodash/_reEvaluate.js" | 4 + .../node_modules/lodash/_reInterpolate.js" | 4 + .../app/node_modules/lodash/_realNames.js" | 4 + .../app/node_modules/lodash/_reorder.js" | 29 + .../node_modules/lodash/_replaceHolders.js" | 29 + .../app/node_modules/lodash/_root.js" | 9 + .../app/node_modules/lodash/_safeGet.js" | 21 + .../app/node_modules/lodash/_setCacheAdd.js" | 19 + .../app/node_modules/lodash/_setCacheHas.js" | 14 + .../app/node_modules/lodash/_setData.js" | 20 + .../app/node_modules/lodash/_setToArray.js" | 18 + .../app/node_modules/lodash/_setToPairs.js" | 18 + .../app/node_modules/lodash/_setToString.js" | 14 + .../node_modules/lodash/_setWrapToString.js" | 21 + .../app/node_modules/lodash/_shortOut.js" | 37 + .../app/node_modules/lodash/_shuffleSelf.js" | 28 + .../app/node_modules/lodash/_stackClear.js" | 15 + .../app/node_modules/lodash/_stackDelete.js" | 18 + .../app/node_modules/lodash/_stackGet.js" | 14 + .../app/node_modules/lodash/_stackHas.js" | 14 + .../app/node_modules/lodash/_stackSet.js" | 34 + .../node_modules/lodash/_strictIndexOf.js" | 23 + .../lodash/_strictLastIndexOf.js" | 21 + .../app/node_modules/lodash/_stringSize.js" | 18 + .../node_modules/lodash/_stringToArray.js" | 18 + .../app/node_modules/lodash/_stringToPath.js" | 27 + .../app/node_modules/lodash/_toKey.js" | 21 + .../app/node_modules/lodash/_toSource.js" | 26 + .../node_modules/lodash/_trimmedEndIndex.js" | 19 + .../node_modules/lodash/_unescapeHtmlChar.js" | 21 + .../app/node_modules/lodash/_unicodeSize.js" | 44 + .../node_modules/lodash/_unicodeToArray.js" | 40 + .../app/node_modules/lodash/_unicodeWords.js" | 69 + .../lodash/_updateWrapDetails.js" | 46 + .../app/node_modules/lodash/_wrapperClone.js" | 23 + .../app/node_modules/lodash/add.js" | 22 + .../app/node_modules/lodash/after.js" | 42 + .../app/node_modules/lodash/array.js" | 67 + .../app/node_modules/lodash/ary.js" | 29 + .../app/node_modules/lodash/assign.js" | 58 + .../app/node_modules/lodash/assignIn.js" | 40 + .../app/node_modules/lodash/assignInWith.js" | 38 + .../app/node_modules/lodash/assignWith.js" | 37 + .../app/node_modules/lodash/at.js" | 23 + .../app/node_modules/lodash/attempt.js" | 35 + .../app/node_modules/lodash/before.js" | 40 + .../app/node_modules/lodash/bind.js" | 57 + .../app/node_modules/lodash/bindAll.js" | 41 + .../app/node_modules/lodash/bindKey.js" | 68 + .../app/node_modules/lodash/camelCase.js" | 29 + .../app/node_modules/lodash/capitalize.js" | 23 + .../app/node_modules/lodash/castArray.js" | 44 + .../app/node_modules/lodash/ceil.js" | 26 + .../app/node_modules/lodash/chain.js" | 38 + .../app/node_modules/lodash/chunk.js" | 50 + .../app/node_modules/lodash/clamp.js" | 39 + .../app/node_modules/lodash/clone.js" | 36 + .../app/node_modules/lodash/cloneDeep.js" | 29 + .../app/node_modules/lodash/cloneDeepWith.js" | 40 + .../app/node_modules/lodash/cloneWith.js" | 42 + .../app/node_modules/lodash/collection.js" | 30 + .../app/node_modules/lodash/commit.js" | 33 + .../app/node_modules/lodash/compact.js" | 31 + .../app/node_modules/lodash/concat.js" | 43 + .../app/node_modules/lodash/cond.js" | 60 + .../app/node_modules/lodash/conforms.js" | 35 + .../app/node_modules/lodash/conformsTo.js" | 32 + .../app/node_modules/lodash/constant.js" | 26 + .../app/node_modules/lodash/core.js" | 3877 ++++ .../app/node_modules/lodash/core.min.js" | 29 + .../app/node_modules/lodash/countBy.js" | 40 + .../app/node_modules/lodash/create.js" | 43 + .../app/node_modules/lodash/curry.js" | 57 + .../app/node_modules/lodash/curryRight.js" | 54 + .../app/node_modules/lodash/date.js" | 3 + .../app/node_modules/lodash/debounce.js" | 191 + .../app/node_modules/lodash/deburr.js" | 45 + .../app/node_modules/lodash/defaultTo.js" | 25 + .../app/node_modules/lodash/defaults.js" | 64 + .../app/node_modules/lodash/defaultsDeep.js" | 30 + .../app/node_modules/lodash/defer.js" | 26 + .../app/node_modules/lodash/delay.js" | 28 + .../app/node_modules/lodash/difference.js" | 33 + .../app/node_modules/lodash/differenceBy.js" | 44 + .../node_modules/lodash/differenceWith.js" | 40 + .../app/node_modules/lodash/divide.js" | 22 + .../app/node_modules/lodash/drop.js" | 38 + .../app/node_modules/lodash/dropRight.js" | 39 + .../node_modules/lodash/dropRightWhile.js" | 45 + .../app/node_modules/lodash/dropWhile.js" | 45 + .../app/node_modules/lodash/each.js" | 1 + .../app/node_modules/lodash/eachRight.js" | 1 + .../app/node_modules/lodash/endsWith.js" | 43 + .../app/node_modules/lodash/entries.js" | 1 + .../app/node_modules/lodash/entriesIn.js" | 1 + .../app/node_modules/lodash/eq.js" | 37 + .../app/node_modules/lodash/escape.js" | 43 + .../app/node_modules/lodash/escapeRegExp.js" | 32 + .../app/node_modules/lodash/every.js" | 56 + .../app/node_modules/lodash/extend.js" | 1 + .../app/node_modules/lodash/extendWith.js" | 1 + .../app/node_modules/lodash/fill.js" | 45 + .../app/node_modules/lodash/filter.js" | 52 + .../app/node_modules/lodash/find.js" | 42 + .../app/node_modules/lodash/findIndex.js" | 55 + .../app/node_modules/lodash/findKey.js" | 44 + .../app/node_modules/lodash/findLast.js" | 25 + .../app/node_modules/lodash/findLastIndex.js" | 59 + .../app/node_modules/lodash/findLastKey.js" | 44 + .../app/node_modules/lodash/first.js" | 1 + .../app/node_modules/lodash/flake.lock" | 40 + .../app/node_modules/lodash/flake.nix" | 20 + .../app/node_modules/lodash/flatMap.js" | 29 + .../app/node_modules/lodash/flatMapDeep.js" | 31 + .../app/node_modules/lodash/flatMapDepth.js" | 31 + .../app/node_modules/lodash/flatten.js" | 22 + .../app/node_modules/lodash/flattenDeep.js" | 25 + .../app/node_modules/lodash/flattenDepth.js" | 33 + .../app/node_modules/lodash/flip.js" | 28 + .../app/node_modules/lodash/floor.js" | 26 + .../app/node_modules/lodash/flow.js" | 27 + .../app/node_modules/lodash/flowRight.js" | 26 + .../app/node_modules/lodash/forEach.js" | 41 + .../app/node_modules/lodash/forEachRight.js" | 31 + .../app/node_modules/lodash/forIn.js" | 39 + .../app/node_modules/lodash/forInRight.js" | 37 + .../app/node_modules/lodash/forOwn.js" | 36 + .../app/node_modules/lodash/forOwnRight.js" | 34 + .../app/node_modules/lodash/fp.js" | 2 + .../app/node_modules/lodash/fp/F.js" | 1 + .../app/node_modules/lodash/fp/T.js" | 1 + .../app/node_modules/lodash/fp/__.js" | 1 + .../node_modules/lodash/fp/_baseConvert.js" | 569 + .../lodash/fp/_convertBrowser.js" | 18 + .../node_modules/lodash/fp/_falseOptions.js" | 7 + .../app/node_modules/lodash/fp/_mapping.js" | 358 + .../app/node_modules/lodash/fp/_util.js" | 16 + .../app/node_modules/lodash/fp/add.js" | 5 + .../app/node_modules/lodash/fp/after.js" | 5 + .../app/node_modules/lodash/fp/all.js" | 1 + .../app/node_modules/lodash/fp/allPass.js" | 1 + .../app/node_modules/lodash/fp/always.js" | 1 + .../app/node_modules/lodash/fp/any.js" | 1 + .../app/node_modules/lodash/fp/anyPass.js" | 1 + .../app/node_modules/lodash/fp/apply.js" | 1 + .../app/node_modules/lodash/fp/array.js" | 2 + .../app/node_modules/lodash/fp/ary.js" | 5 + .../app/node_modules/lodash/fp/assign.js" | 5 + .../app/node_modules/lodash/fp/assignAll.js" | 5 + .../node_modules/lodash/fp/assignAllWith.js" | 5 + .../app/node_modules/lodash/fp/assignIn.js" | 5 + .../node_modules/lodash/fp/assignInAll.js" | 5 + .../lodash/fp/assignInAllWith.js" | 5 + .../node_modules/lodash/fp/assignInWith.js" | 5 + .../app/node_modules/lodash/fp/assignWith.js" | 5 + .../app/node_modules/lodash/fp/assoc.js" | 1 + .../app/node_modules/lodash/fp/assocPath.js" | 1 + .../app/node_modules/lodash/fp/at.js" | 5 + .../app/node_modules/lodash/fp/attempt.js" | 5 + .../app/node_modules/lodash/fp/before.js" | 5 + .../app/node_modules/lodash/fp/bind.js" | 5 + .../app/node_modules/lodash/fp/bindAll.js" | 5 + .../app/node_modules/lodash/fp/bindKey.js" | 5 + .../app/node_modules/lodash/fp/camelCase.js" | 5 + .../app/node_modules/lodash/fp/capitalize.js" | 5 + .../app/node_modules/lodash/fp/castArray.js" | 5 + .../app/node_modules/lodash/fp/ceil.js" | 5 + .../app/node_modules/lodash/fp/chain.js" | 5 + .../app/node_modules/lodash/fp/chunk.js" | 5 + .../app/node_modules/lodash/fp/clamp.js" | 5 + .../app/node_modules/lodash/fp/clone.js" | 5 + .../app/node_modules/lodash/fp/cloneDeep.js" | 5 + .../node_modules/lodash/fp/cloneDeepWith.js" | 5 + .../app/node_modules/lodash/fp/cloneWith.js" | 5 + .../app/node_modules/lodash/fp/collection.js" | 2 + .../app/node_modules/lodash/fp/commit.js" | 5 + .../app/node_modules/lodash/fp/compact.js" | 5 + .../app/node_modules/lodash/fp/complement.js" | 1 + .../app/node_modules/lodash/fp/compose.js" | 1 + .../app/node_modules/lodash/fp/concat.js" | 5 + .../app/node_modules/lodash/fp/cond.js" | 5 + .../app/node_modules/lodash/fp/conforms.js" | 1 + .../app/node_modules/lodash/fp/conformsTo.js" | 5 + .../app/node_modules/lodash/fp/constant.js" | 5 + .../app/node_modules/lodash/fp/contains.js" | 1 + .../app/node_modules/lodash/fp/convert.js" | 18 + .../app/node_modules/lodash/fp/countBy.js" | 5 + .../app/node_modules/lodash/fp/create.js" | 5 + .../app/node_modules/lodash/fp/curry.js" | 5 + .../app/node_modules/lodash/fp/curryN.js" | 5 + .../app/node_modules/lodash/fp/curryRight.js" | 5 + .../node_modules/lodash/fp/curryRightN.js" | 5 + .../app/node_modules/lodash/fp/date.js" | 2 + .../app/node_modules/lodash/fp/debounce.js" | 5 + .../app/node_modules/lodash/fp/deburr.js" | 5 + .../app/node_modules/lodash/fp/defaultTo.js" | 5 + .../app/node_modules/lodash/fp/defaults.js" | 5 + .../node_modules/lodash/fp/defaultsAll.js" | 5 + .../node_modules/lodash/fp/defaultsDeep.js" | 5 + .../lodash/fp/defaultsDeepAll.js" | 5 + .../app/node_modules/lodash/fp/defer.js" | 5 + .../app/node_modules/lodash/fp/delay.js" | 5 + .../app/node_modules/lodash/fp/difference.js" | 5 + .../node_modules/lodash/fp/differenceBy.js" | 5 + .../node_modules/lodash/fp/differenceWith.js" | 5 + .../app/node_modules/lodash/fp/dissoc.js" | 1 + .../app/node_modules/lodash/fp/dissocPath.js" | 1 + .../app/node_modules/lodash/fp/divide.js" | 5 + .../app/node_modules/lodash/fp/drop.js" | 5 + .../app/node_modules/lodash/fp/dropLast.js" | 1 + .../node_modules/lodash/fp/dropLastWhile.js" | 1 + .../app/node_modules/lodash/fp/dropRight.js" | 5 + .../node_modules/lodash/fp/dropRightWhile.js" | 5 + .../app/node_modules/lodash/fp/dropWhile.js" | 5 + .../app/node_modules/lodash/fp/each.js" | 1 + .../app/node_modules/lodash/fp/eachRight.js" | 1 + .../app/node_modules/lodash/fp/endsWith.js" | 5 + .../app/node_modules/lodash/fp/entries.js" | 1 + .../app/node_modules/lodash/fp/entriesIn.js" | 1 + .../app/node_modules/lodash/fp/eq.js" | 5 + .../app/node_modules/lodash/fp/equals.js" | 1 + .../app/node_modules/lodash/fp/escape.js" | 5 + .../node_modules/lodash/fp/escapeRegExp.js" | 5 + .../app/node_modules/lodash/fp/every.js" | 5 + .../app/node_modules/lodash/fp/extend.js" | 1 + .../app/node_modules/lodash/fp/extendAll.js" | 1 + .../node_modules/lodash/fp/extendAllWith.js" | 1 + .../app/node_modules/lodash/fp/extendWith.js" | 1 + .../app/node_modules/lodash/fp/fill.js" | 5 + .../app/node_modules/lodash/fp/filter.js" | 5 + .../app/node_modules/lodash/fp/find.js" | 5 + .../app/node_modules/lodash/fp/findFrom.js" | 5 + .../app/node_modules/lodash/fp/findIndex.js" | 5 + .../node_modules/lodash/fp/findIndexFrom.js" | 5 + .../app/node_modules/lodash/fp/findKey.js" | 5 + .../app/node_modules/lodash/fp/findLast.js" | 5 + .../node_modules/lodash/fp/findLastFrom.js" | 5 + .../node_modules/lodash/fp/findLastIndex.js" | 5 + .../lodash/fp/findLastIndexFrom.js" | 5 + .../node_modules/lodash/fp/findLastKey.js" | 5 + .../app/node_modules/lodash/fp/first.js" | 1 + .../app/node_modules/lodash/fp/flatMap.js" | 5 + .../node_modules/lodash/fp/flatMapDeep.js" | 5 + .../node_modules/lodash/fp/flatMapDepth.js" | 5 + .../app/node_modules/lodash/fp/flatten.js" | 5 + .../node_modules/lodash/fp/flattenDeep.js" | 5 + .../node_modules/lodash/fp/flattenDepth.js" | 5 + .../app/node_modules/lodash/fp/flip.js" | 5 + .../app/node_modules/lodash/fp/floor.js" | 5 + .../app/node_modules/lodash/fp/flow.js" | 5 + .../app/node_modules/lodash/fp/flowRight.js" | 5 + .../app/node_modules/lodash/fp/forEach.js" | 5 + .../node_modules/lodash/fp/forEachRight.js" | 5 + .../app/node_modules/lodash/fp/forIn.js" | 5 + .../app/node_modules/lodash/fp/forInRight.js" | 5 + .../app/node_modules/lodash/fp/forOwn.js" | 5 + .../node_modules/lodash/fp/forOwnRight.js" | 5 + .../app/node_modules/lodash/fp/fromPairs.js" | 5 + .../app/node_modules/lodash/fp/function.js" | 2 + .../app/node_modules/lodash/fp/functions.js" | 5 + .../node_modules/lodash/fp/functionsIn.js" | 5 + .../app/node_modules/lodash/fp/get.js" | 5 + .../app/node_modules/lodash/fp/getOr.js" | 5 + .../app/node_modules/lodash/fp/groupBy.js" | 5 + .../app/node_modules/lodash/fp/gt.js" | 5 + .../app/node_modules/lodash/fp/gte.js" | 5 + .../app/node_modules/lodash/fp/has.js" | 5 + .../app/node_modules/lodash/fp/hasIn.js" | 5 + .../app/node_modules/lodash/fp/head.js" | 5 + .../app/node_modules/lodash/fp/identical.js" | 1 + .../app/node_modules/lodash/fp/identity.js" | 5 + .../app/node_modules/lodash/fp/inRange.js" | 5 + .../app/node_modules/lodash/fp/includes.js" | 5 + .../node_modules/lodash/fp/includesFrom.js" | 5 + .../app/node_modules/lodash/fp/indexBy.js" | 1 + .../app/node_modules/lodash/fp/indexOf.js" | 5 + .../node_modules/lodash/fp/indexOfFrom.js" | 5 + .../app/node_modules/lodash/fp/init.js" | 1 + .../app/node_modules/lodash/fp/initial.js" | 5 + .../node_modules/lodash/fp/intersection.js" | 5 + .../node_modules/lodash/fp/intersectionBy.js" | 5 + .../lodash/fp/intersectionWith.js" | 5 + .../app/node_modules/lodash/fp/invert.js" | 5 + .../app/node_modules/lodash/fp/invertBy.js" | 5 + .../app/node_modules/lodash/fp/invertObj.js" | 1 + .../app/node_modules/lodash/fp/invoke.js" | 5 + .../app/node_modules/lodash/fp/invokeArgs.js" | 5 + .../node_modules/lodash/fp/invokeArgsMap.js" | 5 + .../app/node_modules/lodash/fp/invokeMap.js" | 5 + .../node_modules/lodash/fp/isArguments.js" | 5 + .../app/node_modules/lodash/fp/isArray.js" | 5 + .../node_modules/lodash/fp/isArrayBuffer.js" | 5 + .../node_modules/lodash/fp/isArrayLike.js" | 5 + .../lodash/fp/isArrayLikeObject.js" | 5 + .../app/node_modules/lodash/fp/isBoolean.js" | 5 + .../app/node_modules/lodash/fp/isBuffer.js" | 5 + .../app/node_modules/lodash/fp/isDate.js" | 5 + .../app/node_modules/lodash/fp/isElement.js" | 5 + .../app/node_modules/lodash/fp/isEmpty.js" | 5 + .../app/node_modules/lodash/fp/isEqual.js" | 5 + .../node_modules/lodash/fp/isEqualWith.js" | 5 + .../app/node_modules/lodash/fp/isError.js" | 5 + .../app/node_modules/lodash/fp/isFinite.js" | 5 + .../app/node_modules/lodash/fp/isFunction.js" | 5 + .../app/node_modules/lodash/fp/isInteger.js" | 5 + .../app/node_modules/lodash/fp/isLength.js" | 5 + .../app/node_modules/lodash/fp/isMap.js" | 5 + .../app/node_modules/lodash/fp/isMatch.js" | 5 + .../node_modules/lodash/fp/isMatchWith.js" | 5 + .../app/node_modules/lodash/fp/isNaN.js" | 5 + .../app/node_modules/lodash/fp/isNative.js" | 5 + .../app/node_modules/lodash/fp/isNil.js" | 5 + .../app/node_modules/lodash/fp/isNull.js" | 5 + .../app/node_modules/lodash/fp/isNumber.js" | 5 + .../app/node_modules/lodash/fp/isObject.js" | 5 + .../node_modules/lodash/fp/isObjectLike.js" | 5 + .../node_modules/lodash/fp/isPlainObject.js" | 5 + .../app/node_modules/lodash/fp/isRegExp.js" | 5 + .../node_modules/lodash/fp/isSafeInteger.js" | 5 + .../app/node_modules/lodash/fp/isSet.js" | 5 + .../app/node_modules/lodash/fp/isString.js" | 5 + .../app/node_modules/lodash/fp/isSymbol.js" | 5 + .../node_modules/lodash/fp/isTypedArray.js" | 5 + .../node_modules/lodash/fp/isUndefined.js" | 5 + .../app/node_modules/lodash/fp/isWeakMap.js" | 5 + .../app/node_modules/lodash/fp/isWeakSet.js" | 5 + .../app/node_modules/lodash/fp/iteratee.js" | 5 + .../app/node_modules/lodash/fp/join.js" | 5 + .../app/node_modules/lodash/fp/juxt.js" | 1 + .../app/node_modules/lodash/fp/kebabCase.js" | 5 + .../app/node_modules/lodash/fp/keyBy.js" | 5 + .../app/node_modules/lodash/fp/keys.js" | 5 + .../app/node_modules/lodash/fp/keysIn.js" | 5 + .../app/node_modules/lodash/fp/lang.js" | 2 + .../app/node_modules/lodash/fp/last.js" | 5 + .../node_modules/lodash/fp/lastIndexOf.js" | 5 + .../lodash/fp/lastIndexOfFrom.js" | 5 + .../app/node_modules/lodash/fp/lowerCase.js" | 5 + .../app/node_modules/lodash/fp/lowerFirst.js" | 5 + .../app/node_modules/lodash/fp/lt.js" | 5 + .../app/node_modules/lodash/fp/lte.js" | 5 + .../app/node_modules/lodash/fp/map.js" | 5 + .../app/node_modules/lodash/fp/mapKeys.js" | 5 + .../app/node_modules/lodash/fp/mapValues.js" | 5 + .../app/node_modules/lodash/fp/matches.js" | 1 + .../lodash/fp/matchesProperty.js" | 5 + .../app/node_modules/lodash/fp/math.js" | 2 + .../app/node_modules/lodash/fp/max.js" | 5 + .../app/node_modules/lodash/fp/maxBy.js" | 5 + .../app/node_modules/lodash/fp/mean.js" | 5 + .../app/node_modules/lodash/fp/meanBy.js" | 5 + .../app/node_modules/lodash/fp/memoize.js" | 5 + .../app/node_modules/lodash/fp/merge.js" | 5 + .../app/node_modules/lodash/fp/mergeAll.js" | 5 + .../node_modules/lodash/fp/mergeAllWith.js" | 5 + .../app/node_modules/lodash/fp/mergeWith.js" | 5 + .../app/node_modules/lodash/fp/method.js" | 5 + .../app/node_modules/lodash/fp/methodOf.js" | 5 + .../app/node_modules/lodash/fp/min.js" | 5 + .../app/node_modules/lodash/fp/minBy.js" | 5 + .../app/node_modules/lodash/fp/mixin.js" | 5 + .../app/node_modules/lodash/fp/multiply.js" | 5 + .../app/node_modules/lodash/fp/nAry.js" | 1 + .../app/node_modules/lodash/fp/negate.js" | 5 + .../app/node_modules/lodash/fp/next.js" | 5 + .../app/node_modules/lodash/fp/noop.js" | 5 + .../app/node_modules/lodash/fp/now.js" | 5 + .../app/node_modules/lodash/fp/nth.js" | 5 + .../app/node_modules/lodash/fp/nthArg.js" | 5 + .../app/node_modules/lodash/fp/number.js" | 2 + .../app/node_modules/lodash/fp/object.js" | 2 + .../app/node_modules/lodash/fp/omit.js" | 5 + .../app/node_modules/lodash/fp/omitAll.js" | 1 + .../app/node_modules/lodash/fp/omitBy.js" | 5 + .../app/node_modules/lodash/fp/once.js" | 5 + .../app/node_modules/lodash/fp/orderBy.js" | 5 + .../app/node_modules/lodash/fp/over.js" | 5 + .../app/node_modules/lodash/fp/overArgs.js" | 5 + .../app/node_modules/lodash/fp/overEvery.js" | 5 + .../app/node_modules/lodash/fp/overSome.js" | 5 + .../app/node_modules/lodash/fp/pad.js" | 5 + .../app/node_modules/lodash/fp/padChars.js" | 5 + .../node_modules/lodash/fp/padCharsEnd.js" | 5 + .../node_modules/lodash/fp/padCharsStart.js" | 5 + .../app/node_modules/lodash/fp/padEnd.js" | 5 + .../app/node_modules/lodash/fp/padStart.js" | 5 + .../app/node_modules/lodash/fp/parseInt.js" | 5 + .../app/node_modules/lodash/fp/partial.js" | 5 + .../node_modules/lodash/fp/partialRight.js" | 5 + .../app/node_modules/lodash/fp/partition.js" | 5 + .../app/node_modules/lodash/fp/path.js" | 1 + .../app/node_modules/lodash/fp/pathEq.js" | 1 + .../app/node_modules/lodash/fp/pathOr.js" | 1 + .../app/node_modules/lodash/fp/paths.js" | 1 + .../app/node_modules/lodash/fp/pick.js" | 5 + .../app/node_modules/lodash/fp/pickAll.js" | 1 + .../app/node_modules/lodash/fp/pickBy.js" | 5 + .../app/node_modules/lodash/fp/pipe.js" | 1 + .../node_modules/lodash/fp/placeholder.js" | 6 + .../app/node_modules/lodash/fp/plant.js" | 5 + .../app/node_modules/lodash/fp/pluck.js" | 1 + .../app/node_modules/lodash/fp/prop.js" | 1 + .../app/node_modules/lodash/fp/propEq.js" | 1 + .../app/node_modules/lodash/fp/propOr.js" | 1 + .../app/node_modules/lodash/fp/property.js" | 1 + .../app/node_modules/lodash/fp/propertyOf.js" | 5 + .../app/node_modules/lodash/fp/props.js" | 1 + .../app/node_modules/lodash/fp/pull.js" | 5 + .../app/node_modules/lodash/fp/pullAll.js" | 5 + .../app/node_modules/lodash/fp/pullAllBy.js" | 5 + .../node_modules/lodash/fp/pullAllWith.js" | 5 + .../app/node_modules/lodash/fp/pullAt.js" | 5 + .../app/node_modules/lodash/fp/random.js" | 5 + .../app/node_modules/lodash/fp/range.js" | 5 + .../app/node_modules/lodash/fp/rangeRight.js" | 5 + .../app/node_modules/lodash/fp/rangeStep.js" | 5 + .../node_modules/lodash/fp/rangeStepRight.js" | 5 + .../app/node_modules/lodash/fp/rearg.js" | 5 + .../app/node_modules/lodash/fp/reduce.js" | 5 + .../node_modules/lodash/fp/reduceRight.js" | 5 + .../app/node_modules/lodash/fp/reject.js" | 5 + .../app/node_modules/lodash/fp/remove.js" | 5 + .../app/node_modules/lodash/fp/repeat.js" | 5 + .../app/node_modules/lodash/fp/replace.js" | 5 + .../app/node_modules/lodash/fp/rest.js" | 5 + .../app/node_modules/lodash/fp/restFrom.js" | 5 + .../app/node_modules/lodash/fp/result.js" | 5 + .../app/node_modules/lodash/fp/reverse.js" | 5 + .../app/node_modules/lodash/fp/round.js" | 5 + .../app/node_modules/lodash/fp/sample.js" | 5 + .../app/node_modules/lodash/fp/sampleSize.js" | 5 + .../app/node_modules/lodash/fp/seq.js" | 2 + .../app/node_modules/lodash/fp/set.js" | 5 + .../app/node_modules/lodash/fp/setWith.js" | 5 + .../app/node_modules/lodash/fp/shuffle.js" | 5 + .../app/node_modules/lodash/fp/size.js" | 5 + .../app/node_modules/lodash/fp/slice.js" | 5 + .../app/node_modules/lodash/fp/snakeCase.js" | 5 + .../app/node_modules/lodash/fp/some.js" | 5 + .../app/node_modules/lodash/fp/sortBy.js" | 5 + .../node_modules/lodash/fp/sortedIndex.js" | 5 + .../node_modules/lodash/fp/sortedIndexBy.js" | 5 + .../node_modules/lodash/fp/sortedIndexOf.js" | 5 + .../lodash/fp/sortedLastIndex.js" | 5 + .../lodash/fp/sortedLastIndexBy.js" | 5 + .../lodash/fp/sortedLastIndexOf.js" | 5 + .../app/node_modules/lodash/fp/sortedUniq.js" | 5 + .../node_modules/lodash/fp/sortedUniqBy.js" | 5 + .../app/node_modules/lodash/fp/split.js" | 5 + .../app/node_modules/lodash/fp/spread.js" | 5 + .../app/node_modules/lodash/fp/spreadFrom.js" | 5 + .../app/node_modules/lodash/fp/startCase.js" | 5 + .../app/node_modules/lodash/fp/startsWith.js" | 5 + .../app/node_modules/lodash/fp/string.js" | 2 + .../app/node_modules/lodash/fp/stubArray.js" | 5 + .../app/node_modules/lodash/fp/stubFalse.js" | 5 + .../app/node_modules/lodash/fp/stubObject.js" | 5 + .../app/node_modules/lodash/fp/stubString.js" | 5 + .../app/node_modules/lodash/fp/stubTrue.js" | 5 + .../app/node_modules/lodash/fp/subtract.js" | 5 + .../app/node_modules/lodash/fp/sum.js" | 5 + .../app/node_modules/lodash/fp/sumBy.js" | 5 + .../lodash/fp/symmetricDifference.js" | 1 + .../lodash/fp/symmetricDifferenceBy.js" | 1 + .../lodash/fp/symmetricDifferenceWith.js" | 1 + .../app/node_modules/lodash/fp/tail.js" | 5 + .../app/node_modules/lodash/fp/take.js" | 5 + .../app/node_modules/lodash/fp/takeLast.js" | 1 + .../node_modules/lodash/fp/takeLastWhile.js" | 1 + .../app/node_modules/lodash/fp/takeRight.js" | 5 + .../node_modules/lodash/fp/takeRightWhile.js" | 5 + .../app/node_modules/lodash/fp/takeWhile.js" | 5 + .../app/node_modules/lodash/fp/tap.js" | 5 + .../app/node_modules/lodash/fp/template.js" | 5 + .../lodash/fp/templateSettings.js" | 5 + .../app/node_modules/lodash/fp/throttle.js" | 5 + .../app/node_modules/lodash/fp/thru.js" | 5 + .../app/node_modules/lodash/fp/times.js" | 5 + .../app/node_modules/lodash/fp/toArray.js" | 5 + .../app/node_modules/lodash/fp/toFinite.js" | 5 + .../app/node_modules/lodash/fp/toInteger.js" | 5 + .../app/node_modules/lodash/fp/toIterator.js" | 5 + .../app/node_modules/lodash/fp/toJSON.js" | 5 + .../app/node_modules/lodash/fp/toLength.js" | 5 + .../app/node_modules/lodash/fp/toLower.js" | 5 + .../app/node_modules/lodash/fp/toNumber.js" | 5 + .../app/node_modules/lodash/fp/toPairs.js" | 5 + .../app/node_modules/lodash/fp/toPairsIn.js" | 5 + .../app/node_modules/lodash/fp/toPath.js" | 5 + .../node_modules/lodash/fp/toPlainObject.js" | 5 + .../node_modules/lodash/fp/toSafeInteger.js" | 5 + .../app/node_modules/lodash/fp/toString.js" | 5 + .../app/node_modules/lodash/fp/toUpper.js" | 5 + .../app/node_modules/lodash/fp/transform.js" | 5 + .../app/node_modules/lodash/fp/trim.js" | 5 + .../app/node_modules/lodash/fp/trimChars.js" | 5 + .../node_modules/lodash/fp/trimCharsEnd.js" | 5 + .../node_modules/lodash/fp/trimCharsStart.js" | 5 + .../app/node_modules/lodash/fp/trimEnd.js" | 5 + .../app/node_modules/lodash/fp/trimStart.js" | 5 + .../app/node_modules/lodash/fp/truncate.js" | 5 + .../app/node_modules/lodash/fp/unapply.js" | 1 + .../app/node_modules/lodash/fp/unary.js" | 5 + .../app/node_modules/lodash/fp/unescape.js" | 5 + .../app/node_modules/lodash/fp/union.js" | 5 + .../app/node_modules/lodash/fp/unionBy.js" | 5 + .../app/node_modules/lodash/fp/unionWith.js" | 5 + .../app/node_modules/lodash/fp/uniq.js" | 5 + .../app/node_modules/lodash/fp/uniqBy.js" | 5 + .../app/node_modules/lodash/fp/uniqWith.js" | 5 + .../app/node_modules/lodash/fp/uniqueId.js" | 5 + .../app/node_modules/lodash/fp/unnest.js" | 1 + .../app/node_modules/lodash/fp/unset.js" | 5 + .../app/node_modules/lodash/fp/unzip.js" | 5 + .../app/node_modules/lodash/fp/unzipWith.js" | 5 + .../app/node_modules/lodash/fp/update.js" | 5 + .../app/node_modules/lodash/fp/updateWith.js" | 5 + .../app/node_modules/lodash/fp/upperCase.js" | 5 + .../app/node_modules/lodash/fp/upperFirst.js" | 5 + .../app/node_modules/lodash/fp/useWith.js" | 1 + .../app/node_modules/lodash/fp/util.js" | 2 + .../app/node_modules/lodash/fp/value.js" | 5 + .../app/node_modules/lodash/fp/valueOf.js" | 5 + .../app/node_modules/lodash/fp/values.js" | 5 + .../app/node_modules/lodash/fp/valuesIn.js" | 5 + .../app/node_modules/lodash/fp/where.js" | 1 + .../app/node_modules/lodash/fp/whereEq.js" | 1 + .../app/node_modules/lodash/fp/without.js" | 5 + .../app/node_modules/lodash/fp/words.js" | 5 + .../app/node_modules/lodash/fp/wrap.js" | 5 + .../app/node_modules/lodash/fp/wrapperAt.js" | 5 + .../node_modules/lodash/fp/wrapperChain.js" | 5 + .../node_modules/lodash/fp/wrapperLodash.js" | 5 + .../node_modules/lodash/fp/wrapperReverse.js" | 5 + .../node_modules/lodash/fp/wrapperValue.js" | 5 + .../app/node_modules/lodash/fp/xor.js" | 5 + .../app/node_modules/lodash/fp/xorBy.js" | 5 + .../app/node_modules/lodash/fp/xorWith.js" | 5 + .../app/node_modules/lodash/fp/zip.js" | 5 + .../app/node_modules/lodash/fp/zipAll.js" | 5 + .../app/node_modules/lodash/fp/zipObj.js" | 1 + .../app/node_modules/lodash/fp/zipObject.js" | 5 + .../node_modules/lodash/fp/zipObjectDeep.js" | 5 + .../app/node_modules/lodash/fp/zipWith.js" | 5 + .../app/node_modules/lodash/fromPairs.js" | 28 + .../app/node_modules/lodash/function.js" | 25 + .../app/node_modules/lodash/functions.js" | 31 + .../app/node_modules/lodash/functionsIn.js" | 31 + .../app/node_modules/lodash/get.js" | 33 + .../app/node_modules/lodash/groupBy.js" | 41 + .../app/node_modules/lodash/gt.js" | 29 + .../app/node_modules/lodash/gte.js" | 30 + .../app/node_modules/lodash/has.js" | 35 + .../app/node_modules/lodash/hasIn.js" | 34 + .../app/node_modules/lodash/head.js" | 23 + .../app/node_modules/lodash/identity.js" | 21 + .../app/node_modules/lodash/inRange.js" | 55 + .../app/node_modules/lodash/includes.js" | 53 + .../app/node_modules/lodash/index.js" | 1 + .../app/node_modules/lodash/indexOf.js" | 42 + .../app/node_modules/lodash/initial.js" | 22 + .../app/node_modules/lodash/intersection.js" | 30 + .../node_modules/lodash/intersectionBy.js" | 45 + .../node_modules/lodash/intersectionWith.js" | 41 + .../app/node_modules/lodash/invert.js" | 42 + .../app/node_modules/lodash/invertBy.js" | 56 + .../app/node_modules/lodash/invoke.js" | 24 + .../app/node_modules/lodash/invokeMap.js" | 41 + .../app/node_modules/lodash/isArguments.js" | 36 + .../app/node_modules/lodash/isArray.js" | 26 + .../app/node_modules/lodash/isArrayBuffer.js" | 27 + .../app/node_modules/lodash/isArrayLike.js" | 33 + .../node_modules/lodash/isArrayLikeObject.js" | 33 + .../app/node_modules/lodash/isBoolean.js" | 29 + .../app/node_modules/lodash/isBuffer.js" | 38 + .../app/node_modules/lodash/isDate.js" | 27 + .../app/node_modules/lodash/isElement.js" | 25 + .../app/node_modules/lodash/isEmpty.js" | 77 + .../app/node_modules/lodash/isEqual.js" | 35 + .../app/node_modules/lodash/isEqualWith.js" | 41 + .../app/node_modules/lodash/isError.js" | 36 + .../app/node_modules/lodash/isFinite.js" | 36 + .../app/node_modules/lodash/isFunction.js" | 37 + .../app/node_modules/lodash/isInteger.js" | 33 + .../app/node_modules/lodash/isLength.js" | 35 + .../app/node_modules/lodash/isMap.js" | 27 + .../app/node_modules/lodash/isMatch.js" | 36 + .../app/node_modules/lodash/isMatchWith.js" | 41 + .../app/node_modules/lodash/isNaN.js" | 38 + .../app/node_modules/lodash/isNative.js" | 40 + .../app/node_modules/lodash/isNil.js" | 25 + .../app/node_modules/lodash/isNull.js" | 22 + .../app/node_modules/lodash/isNumber.js" | 38 + .../app/node_modules/lodash/isObject.js" | 31 + .../app/node_modules/lodash/isObjectLike.js" | 29 + .../app/node_modules/lodash/isPlainObject.js" | 62 + .../app/node_modules/lodash/isRegExp.js" | 27 + .../app/node_modules/lodash/isSafeInteger.js" | 37 + .../app/node_modules/lodash/isSet.js" | 27 + .../app/node_modules/lodash/isString.js" | 30 + .../app/node_modules/lodash/isSymbol.js" | 29 + .../app/node_modules/lodash/isTypedArray.js" | 27 + .../app/node_modules/lodash/isUndefined.js" | 22 + .../app/node_modules/lodash/isWeakMap.js" | 28 + .../app/node_modules/lodash/isWeakSet.js" | 28 + .../app/node_modules/lodash/iteratee.js" | 53 + .../app/node_modules/lodash/join.js" | 26 + .../app/node_modules/lodash/kebabCase.js" | 28 + .../app/node_modules/lodash/keyBy.js" | 36 + .../app/node_modules/lodash/keys.js" | 37 + .../app/node_modules/lodash/keysIn.js" | 32 + .../app/node_modules/lodash/lang.js" | 58 + .../app/node_modules/lodash/last.js" | 20 + .../app/node_modules/lodash/lastIndexOf.js" | 46 + .../app/node_modules/lodash/lodash.js" | 17209 ++++++++++++++++ .../app/node_modules/lodash/lodash.min.js" | 140 + .../app/node_modules/lodash/lowerCase.js" | 27 + .../app/node_modules/lodash/lowerFirst.js" | 22 + .../app/node_modules/lodash/lt.js" | 29 + .../app/node_modules/lodash/lte.js" | 30 + .../app/node_modules/lodash/map.js" | 53 + .../app/node_modules/lodash/mapKeys.js" | 36 + .../app/node_modules/lodash/mapValues.js" | 43 + .../app/node_modules/lodash/matches.js" | 46 + .../node_modules/lodash/matchesProperty.js" | 44 + .../app/node_modules/lodash/math.js" | 17 + .../app/node_modules/lodash/max.js" | 29 + .../app/node_modules/lodash/maxBy.js" | 34 + .../app/node_modules/lodash/mean.js" | 22 + .../app/node_modules/lodash/meanBy.js" | 31 + .../app/node_modules/lodash/memoize.js" | 73 + .../app/node_modules/lodash/merge.js" | 39 + .../app/node_modules/lodash/mergeWith.js" | 39 + .../app/node_modules/lodash/method.js" | 34 + .../app/node_modules/lodash/methodOf.js" | 33 + .../app/node_modules/lodash/min.js" | 29 + .../app/node_modules/lodash/minBy.js" | 34 + .../app/node_modules/lodash/mixin.js" | 74 + .../app/node_modules/lodash/multiply.js" | 22 + .../app/node_modules/lodash/negate.js" | 40 + .../app/node_modules/lodash/next.js" | 35 + .../app/node_modules/lodash/noop.js" | 17 + .../app/node_modules/lodash/now.js" | 23 + .../app/node_modules/lodash/nth.js" | 29 + .../app/node_modules/lodash/nthArg.js" | 32 + .../app/node_modules/lodash/number.js" | 5 + .../app/node_modules/lodash/object.js" | 49 + .../app/node_modules/lodash/omit.js" | 57 + .../app/node_modules/lodash/omitBy.js" | 29 + .../app/node_modules/lodash/once.js" | 25 + .../app/node_modules/lodash/orderBy.js" | 47 + .../app/node_modules/lodash/over.js" | 24 + .../app/node_modules/lodash/overArgs.js" | 61 + .../app/node_modules/lodash/overEvery.js" | 34 + .../app/node_modules/lodash/overSome.js" | 37 + .../app/node_modules/lodash/package.json" | 64 + .../app/node_modules/lodash/pad.js" | 49 + .../app/node_modules/lodash/padEnd.js" | 39 + .../app/node_modules/lodash/padStart.js" | 39 + .../app/node_modules/lodash/parseInt.js" | 43 + .../app/node_modules/lodash/partial.js" | 50 + .../app/node_modules/lodash/partialRight.js" | 49 + .../app/node_modules/lodash/partition.js" | 43 + .../app/node_modules/lodash/pick.js" | 25 + .../app/node_modules/lodash/pickBy.js" | 37 + .../app/node_modules/lodash/plant.js" | 48 + .../app/node_modules/lodash/property.js" | 32 + .../app/node_modules/lodash/propertyOf.js" | 30 + .../app/node_modules/lodash/pull.js" | 29 + .../app/node_modules/lodash/pullAll.js" | 29 + .../app/node_modules/lodash/pullAllBy.js" | 33 + .../app/node_modules/lodash/pullAllWith.js" | 32 + .../app/node_modules/lodash/pullAt.js" | 43 + .../app/node_modules/lodash/random.js" | 82 + .../app/node_modules/lodash/range.js" | 46 + .../app/node_modules/lodash/rangeRight.js" | 41 + .../app/node_modules/lodash/rearg.js" | 33 + .../app/node_modules/lodash/reduce.js" | 51 + .../app/node_modules/lodash/reduceRight.js" | 36 + .../app/node_modules/lodash/reject.js" | 46 + .../app/node_modules/lodash/release.md" | 48 + .../app/node_modules/lodash/remove.js" | 53 + .../app/node_modules/lodash/repeat.js" | 37 + .../app/node_modules/lodash/replace.js" | 29 + .../app/node_modules/lodash/rest.js" | 40 + .../app/node_modules/lodash/result.js" | 56 + .../app/node_modules/lodash/reverse.js" | 34 + .../app/node_modules/lodash/round.js" | 26 + .../app/node_modules/lodash/sample.js" | 24 + .../app/node_modules/lodash/sampleSize.js" | 37 + .../app/node_modules/lodash/seq.js" | 16 + .../app/node_modules/lodash/set.js" | 35 + .../app/node_modules/lodash/setWith.js" | 32 + .../app/node_modules/lodash/shuffle.js" | 25 + .../app/node_modules/lodash/size.js" | 46 + .../app/node_modules/lodash/slice.js" | 37 + .../app/node_modules/lodash/snakeCase.js" | 28 + .../app/node_modules/lodash/some.js" | 51 + .../app/node_modules/lodash/sortBy.js" | 48 + .../app/node_modules/lodash/sortedIndex.js" | 24 + .../app/node_modules/lodash/sortedIndexBy.js" | 33 + .../app/node_modules/lodash/sortedIndexOf.js" | 31 + .../node_modules/lodash/sortedLastIndex.js" | 25 + .../node_modules/lodash/sortedLastIndexBy.js" | 33 + .../node_modules/lodash/sortedLastIndexOf.js" | 31 + .../app/node_modules/lodash/sortedUniq.js" | 24 + .../app/node_modules/lodash/sortedUniqBy.js" | 26 + .../app/node_modules/lodash/split.js" | 52 + .../app/node_modules/lodash/spread.js" | 63 + .../app/node_modules/lodash/startCase.js" | 29 + .../app/node_modules/lodash/startsWith.js" | 39 + .../app/node_modules/lodash/string.js" | 33 + .../app/node_modules/lodash/stubArray.js" | 23 + .../app/node_modules/lodash/stubFalse.js" | 18 + .../app/node_modules/lodash/stubObject.js" | 23 + .../app/node_modules/lodash/stubString.js" | 18 + .../app/node_modules/lodash/stubTrue.js" | 18 + .../app/node_modules/lodash/subtract.js" | 22 + .../app/node_modules/lodash/sum.js" | 24 + .../app/node_modules/lodash/sumBy.js" | 33 + .../app/node_modules/lodash/tail.js" | 22 + .../app/node_modules/lodash/take.js" | 37 + .../app/node_modules/lodash/takeRight.js" | 39 + .../node_modules/lodash/takeRightWhile.js" | 45 + .../app/node_modules/lodash/takeWhile.js" | 45 + .../app/node_modules/lodash/tap.js" | 29 + .../app/node_modules/lodash/template.js" | 272 + .../node_modules/lodash/templateSettings.js" | 67 + .../app/node_modules/lodash/throttle.js" | 69 + .../app/node_modules/lodash/thru.js" | 28 + .../app/node_modules/lodash/times.js" | 51 + .../app/node_modules/lodash/toArray.js" | 58 + .../app/node_modules/lodash/toFinite.js" | 42 + .../app/node_modules/lodash/toInteger.js" | 36 + .../app/node_modules/lodash/toIterator.js" | 23 + .../app/node_modules/lodash/toJSON.js" | 1 + .../app/node_modules/lodash/toLength.js" | 38 + .../app/node_modules/lodash/toLower.js" | 28 + .../app/node_modules/lodash/toNumber.js" | 64 + .../app/node_modules/lodash/toPairs.js" | 30 + .../app/node_modules/lodash/toPairsIn.js" | 30 + .../app/node_modules/lodash/toPath.js" | 33 + .../app/node_modules/lodash/toPlainObject.js" | 32 + .../app/node_modules/lodash/toSafeInteger.js" | 37 + .../app/node_modules/lodash/toString.js" | 28 + .../app/node_modules/lodash/toUpper.js" | 28 + .../app/node_modules/lodash/transform.js" | 65 + .../app/node_modules/lodash/trim.js" | 47 + .../app/node_modules/lodash/trimEnd.js" | 41 + .../app/node_modules/lodash/trimStart.js" | 43 + .../app/node_modules/lodash/truncate.js" | 111 + .../app/node_modules/lodash/unary.js" | 22 + .../app/node_modules/lodash/unescape.js" | 34 + .../app/node_modules/lodash/union.js" | 26 + .../app/node_modules/lodash/unionBy.js" | 39 + .../app/node_modules/lodash/unionWith.js" | 34 + .../app/node_modules/lodash/uniq.js" | 25 + .../app/node_modules/lodash/uniqBy.js" | 31 + .../app/node_modules/lodash/uniqWith.js" | 28 + .../app/node_modules/lodash/uniqueId.js" | 28 + .../app/node_modules/lodash/unset.js" | 34 + .../app/node_modules/lodash/unzip.js" | 45 + .../app/node_modules/lodash/unzipWith.js" | 39 + .../app/node_modules/lodash/update.js" | 35 + .../app/node_modules/lodash/updateWith.js" | 33 + .../app/node_modules/lodash/upperCase.js" | 27 + .../app/node_modules/lodash/upperFirst.js" | 22 + .../app/node_modules/lodash/util.js" | 34 + .../app/node_modules/lodash/value.js" | 1 + .../app/node_modules/lodash/valueOf.js" | 1 + .../app/node_modules/lodash/values.js" | 34 + .../app/node_modules/lodash/valuesIn.js" | 32 + .../app/node_modules/lodash/without.js" | 31 + .../app/node_modules/lodash/words.js" | 35 + .../app/node_modules/lodash/wrap.js" | 30 + .../app/node_modules/lodash/wrapperAt.js" | 48 + .../app/node_modules/lodash/wrapperChain.js" | 34 + .../app/node_modules/lodash/wrapperLodash.js" | 147 + .../node_modules/lodash/wrapperReverse.js" | 44 + .../app/node_modules/lodash/wrapperValue.js" | 21 + .../app/node_modules/lodash/xor.js" | 28 + .../app/node_modules/lodash/xorBy.js" | 39 + .../app/node_modules/lodash/xorWith.js" | 34 + .../app/node_modules/lodash/zip.js" | 22 + .../app/node_modules/lodash/zipObject.js" | 24 + .../app/node_modules/lodash/zipObjectDeep.js" | 23 + .../app/node_modules/lodash/zipWith.js" | 32 + .../app/package-lock.json" | 13 + .../app/package.json" | 15 + .../app/src/index.js" | 9 + .../app/webpack.config.js" | 10 + .../6.29\344\275\234\344\270\232/hello.js" | 1 + .../6.29\344\275\234\344\270\232/md5.js" | 2 + .../node_modules/charenc/LICENSE.mkd" | 27 + .../node_modules/charenc/README.js" | 1 + .../node_modules/charenc/charenc.js" | 33 + .../node_modules/charenc/package.json" | 54 + .../node_modules/crypt/LICENSE.mkd" | 27 + .../node_modules/crypt/README.mkd" | 1 + .../node_modules/crypt/crypt.js" | 96 + .../node_modules/crypt/package.json" | 52 + .../node_modules/is-buffer/LICENSE" | 21 + .../node_modules/is-buffer/README.md" | 53 + .../node_modules/is-buffer/index.js" | 21 + .../node_modules/is-buffer/package.json" | 77 + .../node_modules/is-buffer/test/basic.js" | 24 + .../node_modules/md5/.travis.yml" | 7 + .../node_modules/md5/LICENSE" | 27 + .../node_modules/md5/README.md" | 111 + .../node_modules/md5/demo/index.html" | 48 + .../node_modules/md5/dist/md5.min.js" | 7 + .../node_modules/md5/md5.js" | 160 + .../node_modules/md5/package.json" | 71 + .../node_modules/md5/test.js" | 75 + .../node_modules/md5/webpack.config.js" | 13 + .../package-lock.json" | 31 + 1086 files changed, 45552 insertions(+) create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/dist/index.html" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/dist/main.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/index.html" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/LICENSE" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/README.md" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_DataView.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Hash.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_LazyWrapper.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_ListCache.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_LodashWrapper.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Map.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_MapCache.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Promise.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Set.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_SetCache.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Stack.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Symbol.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Uint8Array.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_WeakMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_apply.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayAggregator.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayEach.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayEachRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayEvery.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayFilter.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayIncludes.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayIncludesWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayLikeKeys.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayPush.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayReduce.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayReduceRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arraySample.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arraySampleSize.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayShuffle.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arraySome.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_asciiSize.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_asciiToArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_asciiWords.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_assignMergeValue.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_assignValue.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_assocIndexOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAggregator.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAssign.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAssignIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAssignValue.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseClamp.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseClone.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseConforms.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseConformsTo.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseCreate.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseDelay.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseDifference.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseEach.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseEachRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseEvery.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseExtremum.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFill.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFilter.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFindIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFindKey.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFlatten.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFor.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseForOwn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseForOwnRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseForRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFunctions.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGetAllKeys.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGetTag.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseHas.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseHasIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseInRange.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIndexOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIndexOfWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIntersection.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseInverter.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseInvoke.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsArguments.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsArrayBuffer.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsDate.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsEqual.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsEqualDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsMatch.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsNaN.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsNative.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsRegExp.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsSet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsTypedArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIteratee.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseKeys.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseKeysIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseLodash.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseLt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMatches.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMatchesProperty.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMean.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMerge.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMergeDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseNth.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseOrderBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePick.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePickBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseProperty.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePropertyDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePropertyOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePullAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePullAt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRandom.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRange.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseReduce.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRepeat.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRest.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSample.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSampleSize.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSetData.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSetToString.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseShuffle.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSlice.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSome.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortedIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortedIndexBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortedUniq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSum.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseTimes.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseToNumber.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseToPairs.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseToString.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseTrim.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUnary.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUniq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUnset.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUpdate.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseValues.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseWhile.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseWrapperValue.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseXor.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseZipObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cacheHas.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castArrayLikeObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castFunction.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castPath.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castRest.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castSlice.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_charsEndIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_charsStartIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneArrayBuffer.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneBuffer.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneDataView.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneRegExp.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneSymbol.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneTypedArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_compareAscending.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_compareMultiple.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_composeArgs.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_composeArgsRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copyArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copyObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copySymbols.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copySymbolsIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_coreJsData.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_countHolders.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createAggregator.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createAssigner.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createBaseEach.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createBaseFor.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createBind.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCaseFirst.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCompounder.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCtor.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCurry.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createFind.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createFlow.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createHybrid.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createInverter.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createMathOperation.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createOver.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createPadding.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createPartial.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRange.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRecurry.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRelationalOperation.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRound.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createSet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createToPairs.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createWrap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_customDefaultsAssignIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_customDefaultsMerge.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_customOmitClone.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_deburrLetter.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_defineProperty.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_equalArrays.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_equalByTag.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_equalObjects.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_escapeHtmlChar.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_escapeStringChar.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_flatRest.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_freeGlobal.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getAllKeys.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getAllKeysIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getData.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getFuncName.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getHolder.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getMapData.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getMatchData.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getNative.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getPrototype.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getRawTag.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getSymbols.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getSymbolsIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getTag.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getValue.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getView.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getWrapDetails.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hasPath.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hasUnicode.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hasUnicodeWord.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashClear.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashDelete.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashGet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashHas.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashSet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_initCloneArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_initCloneByTag.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_initCloneObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_insertWrapDetails.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isFlattenable.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isIterateeCall.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isKey.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isKeyable.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isLaziable.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isMaskable.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isMasked.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isPrototype.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isStrictComparable.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_iteratorToArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_lazyClone.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_lazyReverse.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_lazyValue.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheClear.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheDelete.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheGet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheHas.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheSet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheClear.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheDelete.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheGet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheHas.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheSet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapToArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_matchesStrictComparable.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_memoizeCapped.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mergeData.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_metaMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nativeCreate.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nativeKeys.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nativeKeysIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nodeUtil.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_objectToString.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_overArg.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_overRest.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_parent.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reEscape.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reEvaluate.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reInterpolate.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_realNames.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reorder.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_replaceHolders.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_root.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_safeGet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setCacheAdd.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setCacheHas.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setData.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setToArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setToPairs.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setToString.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setWrapToString.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_shortOut.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_shuffleSelf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackClear.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackDelete.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackGet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackHas.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackSet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_strictIndexOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_strictLastIndexOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stringSize.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stringToArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stringToPath.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_toKey.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_toSource.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_trimmedEndIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unescapeHtmlChar.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unicodeSize.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unicodeToArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unicodeWords.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_updateWrapDetails.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_wrapperClone.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/add.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/after.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/array.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/ary.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assign.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assignIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assignInWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assignWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/at.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/attempt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/before.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/bind.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/bindAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/bindKey.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/camelCase.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/capitalize.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/castArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/ceil.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/chain.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/chunk.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/clamp.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/clone.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cloneDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cloneDeepWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cloneWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/collection.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/commit.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/compact.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/concat.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cond.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/conforms.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/conformsTo.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/constant.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/core.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/core.min.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/countBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/create.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/curry.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/curryRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/date.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/debounce.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/deburr.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defaultTo.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defaults.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defaultsDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defer.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/delay.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/difference.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/differenceBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/differenceWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/divide.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/drop.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/dropRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/dropRightWhile.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/dropWhile.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/each.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/eachRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/endsWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/entries.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/entriesIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/eq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/escape.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/escapeRegExp.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/every.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/extend.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/extendWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fill.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/filter.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/find.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findKey.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findLast.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findLastIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findLastKey.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/first.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flake.lock" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flake.nix" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatMapDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatMapDepth.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatten.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flattenDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flattenDepth.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flip.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/floor.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flow.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flowRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forEach.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forEachRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forInRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forOwn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forOwnRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/F.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/T.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/__.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_baseConvert.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_convertBrowser.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_falseOptions.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_mapping.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_util.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/add.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/after.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/all.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/allPass.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/always.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/any.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/anyPass.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/apply.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/array.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/ary.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assign.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignAllWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignInAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignInAllWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignInWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assoc.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assocPath.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/at.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/attempt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/before.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/bind.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/bindAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/bindKey.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/camelCase.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/capitalize.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/castArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/ceil.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/chain.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/chunk.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/clamp.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/clone.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cloneDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cloneDeepWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cloneWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/collection.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/commit.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/compact.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/complement.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/compose.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/concat.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cond.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/conforms.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/conformsTo.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/constant.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/contains.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/convert.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/countBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/create.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curry.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curryN.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curryRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curryRightN.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/date.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/debounce.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/deburr.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultTo.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaults.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultsAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultsDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultsDeepAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defer.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/delay.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/difference.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/differenceBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/differenceWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dissoc.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dissocPath.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/divide.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/drop.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropLast.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropLastWhile.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropRightWhile.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropWhile.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/each.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/eachRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/endsWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/entries.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/entriesIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/eq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/equals.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/escape.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/escapeRegExp.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/every.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extend.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extendAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extendAllWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extendWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/fill.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/filter.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/find.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findFrom.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findIndexFrom.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findKey.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLast.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastFrom.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastIndexFrom.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastKey.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/first.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatMapDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatMapDepth.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatten.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flattenDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flattenDepth.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flip.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/floor.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flow.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flowRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forEach.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forEachRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forInRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forOwn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forOwnRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/fromPairs.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/function.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/functions.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/functionsIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/get.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/getOr.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/groupBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/gt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/gte.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/has.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/hasIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/head.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/identical.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/identity.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/inRange.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/includes.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/includesFrom.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/indexBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/indexOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/indexOfFrom.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/init.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/initial.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/intersection.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/intersectionBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/intersectionWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invert.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invertBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invertObj.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invoke.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invokeArgs.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invokeArgsMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invokeMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArguments.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArrayBuffer.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArrayLike.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArrayLikeObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isBoolean.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isBuffer.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isDate.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isElement.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isEmpty.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isEqual.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isEqualWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isError.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isFinite.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isFunction.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isInteger.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isLength.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isMatch.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isMatchWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNaN.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNative.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNil.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNull.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNumber.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isObjectLike.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isPlainObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isRegExp.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isSafeInteger.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isSet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isString.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isSymbol.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isTypedArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isUndefined.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isWeakMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isWeakSet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/iteratee.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/join.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/juxt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/kebabCase.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/keyBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/keys.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/keysIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lang.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/last.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lastIndexOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lastIndexOfFrom.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lowerCase.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lowerFirst.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lte.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/map.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mapKeys.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mapValues.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/matches.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/matchesProperty.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/math.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/max.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/maxBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mean.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/meanBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/memoize.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/merge.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mergeAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mergeAllWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mergeWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/method.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/methodOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/min.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/minBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mixin.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/multiply.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/nAry.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/negate.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/next.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/noop.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/now.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/nth.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/nthArg.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/number.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/object.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/omit.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/omitAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/omitBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/once.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/orderBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/over.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/overArgs.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/overEvery.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/overSome.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pad.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padChars.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padCharsEnd.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padCharsStart.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padEnd.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padStart.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/parseInt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/partial.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/partialRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/partition.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/path.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pathEq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pathOr.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/paths.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pick.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pickAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pickBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pipe.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/placeholder.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/plant.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pluck.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/prop.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/propEq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/propOr.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/property.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/propertyOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/props.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pull.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAllBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAllWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/random.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/range.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rangeRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rangeStep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rangeStepRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rearg.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reduce.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reduceRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/remove.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/repeat.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/replace.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rest.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/restFrom.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/result.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reverse.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/round.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sample.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sampleSize.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/seq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/set.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/setWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/shuffle.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/size.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/slice.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/snakeCase.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/some.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedIndexBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedIndexOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedLastIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedLastIndexBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedLastIndexOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedUniq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedUniqBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/split.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/spread.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/spreadFrom.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/startCase.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/startsWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/string.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubFalse.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubString.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubTrue.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/subtract.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sum.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sumBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/symmetricDifference.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/symmetricDifferenceBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/symmetricDifferenceWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/tail.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/take.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeLast.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeLastWhile.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeRightWhile.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeWhile.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/tap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/template.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/templateSettings.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/throttle.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/thru.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/times.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toFinite.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toInteger.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toIterator.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toJSON.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toLength.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toLower.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toNumber.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPairs.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPairsIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPath.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPlainObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toSafeInteger.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toString.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toUpper.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/transform.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trim.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimChars.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimCharsEnd.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimCharsStart.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimEnd.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimStart.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/truncate.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unapply.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unary.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unescape.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/union.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unionBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unionWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniqBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniqWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniqueId.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unnest.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unset.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unzip.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unzipWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/update.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/updateWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/upperCase.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/upperFirst.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/useWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/util.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/value.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/valueOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/values.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/valuesIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/where.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/whereEq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/without.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/words.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperAt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperChain.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperLodash.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperReverse.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperValue.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/xor.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/xorBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/xorWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zip.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipObj.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipObjectDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fromPairs.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/function.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/functions.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/functionsIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/get.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/groupBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/gt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/gte.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/has.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/hasIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/head.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/identity.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/inRange.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/includes.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/index.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/indexOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/initial.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/intersection.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/intersectionBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/intersectionWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invert.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invertBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invoke.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invokeMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArguments.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArrayBuffer.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArrayLike.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArrayLikeObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isBoolean.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isBuffer.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isDate.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isElement.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isEmpty.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isEqual.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isEqualWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isError.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isFinite.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isFunction.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isInteger.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isLength.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isMatch.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isMatchWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNaN.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNative.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNil.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNull.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNumber.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isObjectLike.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isPlainObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isRegExp.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isSafeInteger.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isSet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isString.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isSymbol.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isTypedArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isUndefined.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isWeakMap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isWeakSet.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/iteratee.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/join.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/kebabCase.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/keyBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/keys.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/keysIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lang.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/last.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lastIndexOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lodash.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lodash.min.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lowerCase.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lowerFirst.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lte.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/map.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/mapKeys.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/mapValues.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/matches.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/matchesProperty.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/math.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/max.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/maxBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/mean.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/meanBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/memoize.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/merge.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/mergeWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/method.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/methodOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/min.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/minBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/mixin.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/multiply.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/negate.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/next.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/noop.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/now.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/nth.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/nthArg.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/number.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/object.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/omit.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/omitBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/once.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/orderBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/over.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/overArgs.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/overEvery.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/overSome.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/package.json" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/pad.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/padEnd.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/padStart.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/parseInt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/partial.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/partialRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/partition.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/pick.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/pickBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/plant.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/property.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/propertyOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/pull.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/pullAll.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/pullAllBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/pullAllWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/pullAt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/random.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/range.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/rangeRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/rearg.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/reduce.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/reduceRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/reject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/release.md" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/remove.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/repeat.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/replace.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/rest.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/result.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/reverse.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/round.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sample.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sampleSize.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/seq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/set.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/setWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/shuffle.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/size.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/slice.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/snakeCase.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/some.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sortBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sortedIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sortedIndexBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sortedIndexOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sortedLastIndex.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sortedLastIndexBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sortedLastIndexOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sortedUniq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sortedUniqBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/split.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/spread.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/startCase.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/startsWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/string.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/stubArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/stubFalse.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/stubObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/stubString.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/stubTrue.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/subtract.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sum.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/sumBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/tail.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/take.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/takeRight.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/takeRightWhile.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/takeWhile.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/tap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/template.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/templateSettings.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/throttle.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/thru.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/times.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toArray.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toFinite.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toInteger.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toIterator.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toJSON.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toLength.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toLower.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toNumber.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toPairs.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toPairsIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toPath.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toPlainObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toSafeInteger.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toString.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/toUpper.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/transform.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/trim.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/trimEnd.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/trimStart.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/truncate.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/unary.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/unescape.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/union.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/unionBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/unionWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/uniq.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/uniqBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/uniqWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/uniqueId.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/unset.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/unzip.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/unzipWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/update.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/updateWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/upperCase.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/upperFirst.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/util.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/value.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/valueOf.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/values.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/valuesIn.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/without.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/words.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/wrap.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/wrapperAt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/wrapperChain.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/wrapperLodash.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/wrapperReverse.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/wrapperValue.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/xor.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/xorBy.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/xorWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/zip.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/zipObject.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/zipObjectDeep.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/zipWith.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/package-lock.json" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/package.json" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/src/index.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/webpack.config.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/hello.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/md5.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/charenc/LICENSE.mkd" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/charenc/README.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/charenc/charenc.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/charenc/package.json" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/crypt/LICENSE.mkd" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/crypt/README.mkd" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/crypt/crypt.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/crypt/package.json" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/is-buffer/LICENSE" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/is-buffer/README.md" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/is-buffer/index.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/is-buffer/package.json" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/is-buffer/test/basic.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/.travis.yml" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/LICENSE" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/README.md" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/demo/index.html" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/dist/md5.min.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/md5.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/package.json" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/test.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/webpack.config.js" create mode 100644 "\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/package-lock.json" diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/dist/index.html" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/dist/index.html" new file mode 100644 index 00000000..191e4297 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/dist/index.html" @@ -0,0 +1,10 @@ + + + + + 起步 + + + + + \ No newline at end of file diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/dist/main.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/dist/main.js" new file mode 100644 index 00000000..516441a1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/dist/main.js" @@ -0,0 +1,132 @@ +/* + * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./node_modules/lodash/lodash.js": +/*!***************************************!*\ + !*** ./node_modules/lodash/lodash.js ***! + \***************************************/ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* module decorator */ module = __webpack_require__.nmd(module);\nvar __WEBPACK_AMD_DEFINE_RESULT__;/**\n * @license\n * Lodash \n * Copyright OpenJS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n\n /** Used as the semantic version number. */\n var VERSION = '4.17.21';\n\n /** Used as the size to enable large array optimizations. */\n var LARGE_ARRAY_SIZE = 200;\n\n /** Error message constants. */\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function',\n INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';\n\n /** Used to stand-in for `undefined` hash values. */\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n /** Used as the maximum memoize cache size. */\n var MAX_MEMOIZE_SIZE = 500;\n\n /** Used as the internal argument placeholder. */\n var PLACEHOLDER = '__lodash_placeholder__';\n\n /** Used to compose bitmasks for cloning. */\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n /** Used to compose bitmasks for value comparisons. */\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n /** Used to compose bitmasks for function metadata. */\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n\n /** Used as default options for `_.truncate`. */\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n /** Used to indicate the type of lazy iteratees. */\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n\n /** Used as references for various `Number` constants. */\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n /** Used as references for the maximum length and index of an array. */\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n /** Used to associate wrap methods with their bit flags. */\n var wrapFlags = [\n ['ary', WRAP_ARY_FLAG],\n ['bind', WRAP_BIND_FLAG],\n ['bindKey', WRAP_BIND_KEY_FLAG],\n ['curry', WRAP_CURRY_FLAG],\n ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n ['flip', WRAP_FLIP_FLAG],\n ['partial', WRAP_PARTIAL_FLAG],\n ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n ['rearg', WRAP_REARG_FLAG]\n ];\n\n /** `Object#toString` result references. */\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n\n var arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n /** Used to match empty string literals in compiled template source. */\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n /** Used to match template delimiters. */\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n /** Used to match property names within property paths. */\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n /** Used to match leading whitespace. */\n var reTrimStart = /^\\s+/;\n\n /** Used to match a single whitespace character. */\n var reWhitespace = /\\s/;\n\n /** Used to match wrap detail comments. */\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n\n /** Used to match words composed of alphanumeric characters. */\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n /**\n * Used to validate the `validate` option in `_.template` variable.\n *\n * Forbids characters which could potentially change the meaning of the function argument definition:\n * - \"(),\" (modification of function parameters)\n * - \"=\" (default value)\n * - \"[]{}\" (destructuring of function parameters)\n * - \"/\" (beginning of a comment)\n * - whitespace\n */\n var reForbiddenIdentifierChars = /[()=,{}\\[\\]\\/\\s]/;\n\n /** Used to match backslashes in property paths. */\n var reEscapeChar = /\\\\(\\\\)?/g;\n\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n /** Used to match `RegExp` flags from their coerced string values. */\n var reFlags = /\\w*$/;\n\n /** Used to detect bad signed hexadecimal string values. */\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n /** Used to detect binary string values. */\n var reIsBinary = /^0b[01]+$/i;\n\n /** Used to detect host constructors (Safari). */\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n /** Used to detect octal string values. */\n var reIsOctal = /^0o[0-7]+$/i;\n\n /** Used to detect unsigned integer values. */\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n /** Used to ensure capturing order of template delimiters. */\n var reNoMatch = /($^)/;\n\n /** Used to match unescaped characters in compiled string literals. */\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n /** Used to compose unicode character classes. */\n var rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n /** Used to compose unicode capture groups. */\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n /** Used to compose unicode regexes. */\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n /** Used to match apostrophes. */\n var reApos = RegExp(rsApos, 'g');\n\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n var reComboMark = RegExp(rsCombo, 'g');\n\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n /** Used to match complex or compound words. */\n var reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n ].join('|'), 'g');\n\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n /** Used to detect strings that need a more robust regexp to match words. */\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n /** Used to assign default `context` object properties. */\n var contextProps = [\n 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n ];\n\n /** Used to make template sourceURLs easier to identify. */\n var templateCounter = -1;\n\n /** Used to identify `toStringTag` values of typed arrays. */\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n typedArrayTags[setTag] = typedArrayTags[stringTag] =\n typedArrayTags[weakMapTag] = false;\n\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] =\n cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n cloneableTags[boolTag] = cloneableTags[dateTag] =\n cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n cloneableTags[int32Tag] = cloneableTags[mapTag] =\n cloneableTags[numberTag] = cloneableTags[objectTag] =\n cloneableTags[regexpTag] = cloneableTags[setTag] =\n cloneableTags[stringTag] = cloneableTags[symbolTag] =\n cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] =\n cloneableTags[weakMapTag] = false;\n\n /** Used to map Latin Unicode letters to basic Latin letters. */\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 's'\n };\n\n /** Used to map characters to HTML entities. */\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n\n /** Used to map HTML entities to characters. */\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n\n /** Used to escape characters for inclusion in compiled string literals. */\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n /** Built-in method references without a dependency on `root`. */\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;\n\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n\n /** Detect free variable `exports`. */\n var freeExports = true && exports && !exports.nodeType && exports;\n\n /** Detect free variable `module`. */\n var freeModule = freeExports && \"object\" == 'object' && module && !module.nodeType && module;\n\n /** Detect the popular CommonJS extension `module.exports`. */\n var moduleExports = freeModule && freeModule.exports === freeExports;\n\n /** Detect free variable `process` from Node.js. */\n var freeProcess = moduleExports && freeGlobal.process;\n\n /** Used to access faster Node.js helpers. */\n var nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n }());\n\n /* Node.js helper references. */\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\n function apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n }\n\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n }\n\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n if (initAccum && length) {\n accumulator = array[--length];\n }\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n var asciiSize = baseProperty('length');\n\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function asciiToArray(string) {\n return string.split('');\n }\n\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function(value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n function baseIsNaN(value) {\n return value !== value;\n }\n\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? (baseSum(array, iteratee) / length) : NAN;\n }\n\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n function baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\n function baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n function baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n }\n\n /**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\n function baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n }\n\n /**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\n function baseUnary(func) {\n return function(value) {\n return func(value);\n };\n }\n\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n function baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n }\n\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n return result;\n }\n\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n var deburrLetter = basePropertyOf(deburredLetters);\n\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n\n /**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n return result;\n }\n\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\n\n /**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\n function overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n }\n\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n return result;\n }\n\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n }\n\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = [value, value];\n });\n return result;\n }\n\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n return index;\n }\n\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n function stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n }\n\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\n function trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n }\n\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n }\n\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n var runInContext = (function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n /** Built-in constructor references. */\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n\n /** Used for built-in method references. */\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n /** Used to detect overreaching core-js shims. */\n var coreJsData = context['__core-js_shared__'];\n\n /** Used to resolve the decompiled source of functions. */\n var funcToString = funcProto.toString;\n\n /** Used to check objects for own properties. */\n var hasOwnProperty = objectProto.hasOwnProperty;\n\n /** Used to generate unique IDs. */\n var idCounter = 0;\n\n /** Used to detect methods masquerading as native. */\n var maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n }());\n\n /**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n var nativeObjectToString = objectProto.toString;\n\n /** Used to infer the `Object` constructor. */\n var objectCtorString = funcToString.call(Object);\n\n /** Used to restore the original `_` reference in `_.noConflict`. */\n var oldDash = root._;\n\n /** Used to detect if a method is native. */\n var reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n );\n\n /** Built-in value references. */\n var Buffer = moduleExports ? context.Buffer : undefined,\n Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n symIterator = Symbol ? Symbol.iterator : undefined,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n var defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }());\n\n /** Mocked built-ins. */\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n /* Built-in method references for those with the same name as other `lodash` methods. */\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n\n /* Built-in method references that are verified to be native. */\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n /** Used to store function metadata. */\n var metaMap = WeakMap && new WeakMap;\n\n /** Used to lookup unminified function names. */\n var realNames = {};\n\n /** Used to detect maps, sets, and weakmaps. */\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n /** Used to convert symbols to primitives and strings. */\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n return new LodashWrapper(value);\n }\n\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n var baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n }());\n\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n function baseLodash() {\n // No operation performed.\n }\n\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n lodash.templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n };\n\n // Ensure wrappers are instances of `baseLodash`.\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n return result;\n }\n\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : (start - 1),\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n return baseWrapperValue(array, this.__actions__);\n }\n var result = [];\n\n outer:\n while (length-- && resIndex < takeCount) {\n index += dir;\n\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n result[resIndex++] = value;\n }\n return result;\n }\n\n // Ensure `LazyWrapper` is an instance of `baseLodash`.\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n }\n\n /**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n }\n\n /**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n }\n\n // Add methods to `Hash`.\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n }\n\n /**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n }\n\n /**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\n\n /**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n function listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n }\n\n // Add methods to `ListCache`.\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n }\n\n /**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\n\n /**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\n\n /**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n function mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n }\n\n // Add methods to `MapCache`.\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n }\n\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n }\n\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n function setCacheHas(value) {\n return this.__data__.has(value);\n }\n\n // Add methods to `SetCache`.\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n function stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n }\n\n /**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function stackGet(key) {\n return this.__data__.get(key);\n }\n\n /**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function stackHas(key) {\n return this.__data__.has(key);\n }\n\n /**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n function stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n }\n\n // Add methods to `Stack`.\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\n\n /**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\n\n /**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n return number;\n }\n\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n function baseConforms(source) {\n var props = keys(source);\n return function(object) {\n return baseConformsTo(object, source, props);\n };\n }\n\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n function baseConformsTo(object, source, props) {\n var length = props.length;\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if ((value === undefined && !(key in object)) || !predicate(value)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n }\n\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEach = createBaseEach(baseForOwn);\n\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function(value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n function baseFill(array, value, start, end) {\n var length = array.length;\n\n start = toInteger(start);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : toInteger(end);\n if (end < 0) {\n end += length;\n }\n end = start > end ? 0 : toLength(end);\n while (start < end) {\n array[start++] = value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseFor = createBaseFor();\n\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseForRight = createBaseFor(true);\n\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n function baseFunctions(object, props) {\n return arrayFilter(props, function(key) {\n return isFunction(object[key]);\n });\n }\n\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n function baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n }\n\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\n\n /**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n }\n\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n function baseGt(value, other) {\n return value > other;\n }\n\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function(value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\n\n /**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\n\n /**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n function baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n }\n\n /**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n function baseLt(value, other) {\n return value < other;\n }\n\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\n\n /**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n }\n\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n }\n\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n function baseNth(array, n) {\n var length = array.length;\n if (!length) {\n return;\n }\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n function baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n function basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n }\n\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n }\n\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n splice.call(array, fromIndex, 1);\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n if (length == lastIndex || index !== previous) {\n var previous = index;\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n }\n\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n function baseRepeat(string, n) {\n var result = '';\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\n\n /**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n }\n\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var baseSetData = !metaMap ? identity : function(func, data) {\n metaMap.set(func, data);\n return func;\n };\n\n /**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = (low + high) >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) &&\n (retHighest ? (computed <= value) : (computed < value))) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return high;\n }\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n var low = 0,\n high = array == null ? 0 : array.length;\n if (high === 0) {\n return 0;\n }\n\n value = iteratee(value);\n var valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? (computed <= value) : (computed < value);\n }\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n return +value;\n }\n\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) &&\n predicate(array[index], index, array)) {}\n\n return isDrop\n ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n }\n\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n function baseWrapperValue(value, actions) {\n var result = value;\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n return arrayReduce(actions, function(result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n }\n\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n var castRest = baseRest;\n\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n }\n\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n var clearTimeout = ctxClearTimeout || function(id) {\n return root.clearTimeout(id);\n };\n\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n }\n\n /**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\n\n /**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n }\n\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n }\n\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n var offset = argsIndex;\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n return result;\n }\n\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n function copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n }\n\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\n function copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n }\n\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n function createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\n\n /**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n function createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n }\n\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n }\n\n /**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n function createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n }\n\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n function createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCtor(Ctor) {\n return function() {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n switch (args.length) {\n case 0: return new Ctor;\n case 1: return new Ctor(args[0]);\n case 2: return new Ctor(args[0], args[1]);\n case 3: return new Ctor(args[0], args[1], args[2]);\n case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args);\n\n // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n return isObject(result) ? result : thisBinding;\n };\n }\n\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n ? []\n : replaceHolders(args, placeholder);\n\n length -= holders.length;\n if (length < arity) {\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, undefined,\n args, holders, undefined, undefined, arity - length);\n }\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return apply(fn, this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n function createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n function createFlow(fromRight) {\n return flatRest(function(funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n while (index--) {\n var func = funcs[index];\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n index = wrapper ? index : length;\n while (++index < length) {\n func = funcs[index];\n\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) &&\n data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n !data[4].length && data[9] == 1\n ) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = (func.length == 1 && isLaziable(func))\n ? wrapper[funcName]()\n : wrapper.thru(func);\n }\n }\n return function() {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n return result;\n };\n });\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n length -= holdersCount;\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n args, newHolders, argPos, ary, arity - length\n );\n }\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n\n length = args.length;\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n if (isAry && ary < length) {\n args.length = ary;\n }\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n return fn.apply(thisBinding, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n function createInverter(setter, toIteratee) {\n return function(object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n function createMathOperation(operator, defaultValue) {\n return function(value, other) {\n var result;\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n if (value !== undefined) {\n result = value;\n }\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n result = operator(value, other);\n }\n return result;\n };\n }\n\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n function createOver(arrayFunc) {\n return flatRest(function(iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function(args) {\n var thisArg = this;\n return arrayFunc(iteratees, function(iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n\n var charsLength = chars.length;\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars)\n ? castSlice(stringToArray(result), 0, length).join('')\n : result.slice(0, length);\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n return apply(fn, isBind ? thisArg : this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n function createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n function createRelationalOperation(operator) {\n return function(value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n return operator(value, other);\n };\n }\n\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n\n bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n var newData = [\n func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n newHoldersRight, argPos, ary, arity\n ];\n\n var result = wrapFunc.apply(undefined, newData);\n if (isLaziable(func)) {\n setData(result, newData);\n }\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n function createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n if (precision && nativeIsFinite(number)) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n return func(number);\n };\n }\n\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n };\n\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n function createToPairs(keysFunc) {\n return function(object) {\n var tag = getTag(object);\n if (tag == mapTag) {\n return mapToArray(object);\n }\n if (tag == setTag) {\n return setToPairs(object);\n }\n return baseToPairs(object, keysFunc(object));\n };\n }\n\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = partials ? partials.length : 0;\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n\n partials = holders = undefined;\n }\n var data = isBindKey ? undefined : getData(func);\n\n var newData = [\n func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n argPos, ary, arity\n ];\n\n if (data) {\n mergeData(newData, data);\n }\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined\n ? (isBindKey ? 0 : func.length)\n : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined ||\n (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n return srcValue;\n }\n return objValue;\n }\n\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n return objValue;\n }\n\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n var getData = !metaMap ? noop : function(func) {\n return metaMap.get(func);\n };\n\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n function getFuncName(func) {\n var result = (func.name + ''),\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n return result;\n }\n\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\n\n /**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n }\n\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n }\n\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\n\n /**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n function getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n }\n\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n };\n\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n var getTag = baseGetTag;\n\n // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n }\n\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop': start += size; break;\n case 'dropRight': end -= size; break;\n case 'take': end = nativeMin(end, start + size); break;\n case 'takeRight': start = nativeMax(start, end - size); break;\n }\n }\n return { 'start': start, 'end': end };\n }\n\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n }\n\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n function initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n }\n\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n }\n\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n function insertWrapDetails(source, details) {\n var length = details.length;\n if (!length) {\n return source;\n }\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\n\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n function isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n }\n\n /**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n }\n\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n }\n\n /**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\n function isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n }\n\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n if (func === other) {\n return true;\n }\n var data = getData(other);\n return !!data && func === data[0];\n }\n\n /**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n function isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n }\n\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n var isMaskable = coreJsData ? isFunction : stubFalse;\n\n /**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n }\n\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n }\n\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n function memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n }\n\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n var isCombo =\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n // Exit early if metadata can't be merged.\n if (!(isCommon || isCombo)) {\n return data;\n }\n // Use source `thisArg` if available.\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2];\n // Set when currying a bound function.\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n }\n // Compose partial arguments.\n var value = source[3];\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n }\n // Compose partial right arguments.\n value = source[5];\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n }\n // Use source `argPos` if available.\n value = source[7];\n if (value) {\n data[7] = value;\n }\n // Use source `ary` if it's smaller.\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n }\n // Use source `arity` if one is not provided.\n if (data[9] == null) {\n data[9] = source[9];\n }\n // Use source `func` and merge bitmasks.\n data[0] = source[0];\n data[1] = newBitmask;\n\n return data;\n }\n\n /**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\n\n /**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\n function overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n }\n\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n return array;\n }\n\n /**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n }\n\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var setData = shortOut(baseSetData);\n\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n var setTimeout = ctxSetTimeout || function(func, wait) {\n return root.setTimeout(func, wait);\n };\n\n /**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var setToString = shortOut(baseSetToString);\n\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n function setWrapToString(wrapper, reference, bitmask) {\n var source = (reference + '');\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\n\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n }\n\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n\n size = size === undefined ? length : size;\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n\n array[rand] = array[index];\n array[index] = value;\n }\n array.length = size;\n return array;\n }\n\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n var stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n }\n\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function(pair) {\n var value = '_.' + pair[0];\n if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n function chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n }\n\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n function concat() {\n var length = arguments.length;\n if (!length) {\n return [];\n }\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n var difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var differenceBy = baseRest(function(array, values) {\n var iteratee = last(values);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n var differenceWith = baseRest(function(array, values) {\n var comparator = last(values);\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n : [];\n });\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true)\n : [];\n }\n\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n return baseFill(array, value, start, end);\n }\n\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n }\n\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n function head(array) {\n return (array && array.length) ? array[0] : undefined;\n }\n\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseIndexOf(array, value, index);\n }\n\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n var intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n var intersectionBy = baseRest(function(arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n var intersectionWith = baseRest(function(arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n comparator = typeof comparator == 'function' ? comparator : undefined;\n if (comparator) {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, undefined, comparator)\n : [];\n });\n\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n return value === value\n ? strictLastIndexOf(array, value, index)\n : baseFindIndex(array, baseIsNaN, index, true);\n }\n\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n function nth(array, n) {\n return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n }\n\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n var pull = baseRest(pullAll);\n\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n function pullAll(array, values) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values)\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n function pullAllBy(array, values, iteratee) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, getIteratee(iteratee, 2))\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n function pullAllWith(array, values, comparator) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, undefined, comparator)\n : array;\n }\n\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n var pullAt = flatRest(function(array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n\n basePullAt(array, arrayMap(indexes, function(index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n\n return result;\n });\n\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n function remove(array, predicate) {\n var result = [];\n if (!(array && array.length)) {\n return result;\n }\n var index = -1,\n indexes = [],\n length = array.length;\n\n predicate = getIteratee(predicate, 3);\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n basePullAt(array, indexes);\n return result;\n }\n\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n }\n else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n return baseSlice(array, start, end);\n }\n\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value);\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n if (eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n function sortedUniq(array) {\n return (array && array.length)\n ? baseSortedUniq(array)\n : [];\n }\n\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n function sortedUniqBy(array, iteratee) {\n return (array && array.length)\n ? baseSortedUniq(array, getIteratee(iteratee, 2))\n : [];\n }\n\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n function takeRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), false, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n function takeWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3))\n : [];\n }\n\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n var union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n var unionBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var unionWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n function uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n function uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n }\n\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n var length = 0;\n array = arrayFilter(array, function(group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function(index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n var result = unzip(array);\n if (iteratee == null) {\n return result;\n }\n return arrayMap(result, function(group) {\n return apply(iteratee, undefined, group);\n });\n }\n\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n var without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n });\n\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n var xor = baseRest(function(arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var xorBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var xorWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n var zip = baseRest(unzip);\n\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n var zipWith = baseRest(function(arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n function thru(value, interceptor) {\n return interceptor(value);\n }\n\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n var wrapperAt = flatRest(function(paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function(object) { return baseAt(object, paths); };\n\n if (length > 1 || this.__actions__.length ||\n !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n value = value.slice(start, +start + (length ? 1 : 0));\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n return new LodashWrapper(value, this.__chain__).thru(function(array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n return array;\n });\n });\n\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n function wrapperChain() {\n return chain(this);\n }\n\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n\n return { 'done': done, 'value': value };\n }\n\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n function wrapperToIterator() {\n return this;\n }\n\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n var previous = clone;\n parent = parent.__wrapped__;\n }\n previous.__wrapped__ = value;\n return result;\n }\n\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function wrapperReverse() {\n var value = this.__wrapped__;\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n wrapped = wrapped.reverse();\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n return new LodashWrapper(wrapped, this.__chain__);\n }\n return this.thru(reverse);\n }\n\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n var countBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n var find = createFind(findIndex);\n\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n var findLast = createFind(findLastIndex);\n\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n var groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n }\n\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n var invokeMap = baseRest(function(collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n var keyBy = createAggregator(function(result, value, key) {\n baseAssignValue(result, key, value);\n });\n\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n }\n\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n var partition = createAggregator(function(result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function() { return [[], []]; });\n\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n function sampleSize(collection, n, guard) {\n if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n }\n\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\n var sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n var now = ctxNow || function() {\n return root.Date.now();\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = (func && n == null) ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n function before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n var bind = baseRest(function(func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n var bindKey = baseRest(function(object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(key, bitmask, object, partials, holders);\n });\n\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n var defer = baseRest(function(func, args) {\n return baseDelay(func, 1, args);\n });\n\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n var delay = baseRest(function(func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n\n // Expose `MapCache`.\n memoize.Cache = MapCache;\n\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n }\n\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n function once(func) {\n return before(2, func);\n }\n\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n var overArgs = castRest(function(func, transforms) {\n transforms = (transforms.length == 1 && isArray(transforms[0]))\n ? arrayMap(transforms[0], baseUnary(getIteratee()))\n : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n var funcsLength = transforms.length;\n return baseRest(function(args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n return apply(func, this, args);\n });\n });\n\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n var partial = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n var partialRight = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n var rearg = flatRest(function(func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function(args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n return apply(func, this, otherArgs);\n });\n }\n\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n function unary(func) {\n return ary(func, 1);\n }\n\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '

' + func(text) + '

';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => '

fred, barney, & pebbles

'\n */\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\n\n /**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n var gt = createRelationalOperation(baseGt);\n\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n var gte = createRelationalOperation(function(value, other) {\n return value >= other;\n });\n\n /**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n };\n\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\n var isArray = Array.isArray;\n\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n /**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\n\n /**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n function isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n }\n\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n var isBuffer = nativeIsBuffer || stubFalse;\n\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n /**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] 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);\n * // => true\n */\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag ||\n (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n }\n\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n function isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n }\n\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\n\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n function isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n function isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n }\n\n /**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n function isObjectLike(value) {\n return value != null && typeof value == 'object';\n }\n\n /**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n return baseIsNative(value);\n }\n\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n function isNull(value) {\n return value === null;\n }\n\n /**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n function isNil(value) {\n return value == null;\n }\n\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n function isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n }\n\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n function isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n }\n\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n function isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n }\n\n /**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n function isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n }\n\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n function isUndefined(value) {\n return value === undefined;\n }\n\n /**\n * Checks if `value` is classified as a `WeakMap` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n\n /**\n * Checks if `value` is classified as a `WeakSet` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n var lt = createRelationalOperation(baseLt);\n\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n var lte = createRelationalOperation(function(value, other) {\n return value <= other;\n });\n\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n function toArray(value) {\n if (!value) {\n return [];\n }\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n return func(value);\n }\n\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n }\n\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n }\n\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n }\n\n /**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n function toSafeInteger(value) {\n return value\n ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n : (value === 0 ? value : 0);\n }\n\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n var assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n var assignIn = createAssigner(function(object, source) {\n copyObject(source, keysIn(source), object);\n });\n\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n var at = flatRest(baseAt);\n\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n });\n\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n var defaultsDeep = baseRest(function(args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n function forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n function forInRight(object, iteratee) {\n return object == null\n ? object\n : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n var invert = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n result[value] = key;\n }, constant(identity));\n\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n var invertBy = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n var invoke = baseRest(baseInvoke);\n\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\n\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\n\n /**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\n var merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n var omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n });\n\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n var pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n var props = arrayMap(getAllKeysIn(object), function(prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function(value, path) {\n return predicate(value, path[0]);\n });\n }\n\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length;\n\n // Ensure the loop is entered when path is empty.\n if (!length) {\n length = 1;\n object = undefined;\n }\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n object = isFunction(value) ? value.call(object) : value;\n }\n return object;\n }\n\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n var toPairs = createToPairs(keys);\n\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n var toPairsIn = createToPairs(keysIn);\n\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = getIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n return baseClamp(toNumber(number), lower, upper);\n }\n\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n function inRange(number, start, end) {\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n }\n else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n }\n else {\n lower = toFinite(lower);\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n }\n return baseRandom(lower, upper);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n var camelCase = createCompounder(function(result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n\n var length = string.length;\n position = position === undefined\n ? length\n : baseClamp(toInteger(position), 0, length);\n\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n }\n\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n function escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n }\n\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n var kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n var lowerCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n var lowerFirst = createCaseFirst('toLowerCase');\n\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n if (!length || strLength >= length) {\n return string;\n }\n var mid = (length - strLength) / 2;\n return (\n createPadding(nativeFloor(mid), chars) +\n string +\n createPadding(nativeCeil(mid), chars)\n );\n }\n\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (string + createPadding(length - strLength, chars))\n : string;\n }\n\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (createPadding(length - strLength, chars) + string)\n : string;\n }\n\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n function repeat(string, n, guard) {\n if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n return baseRepeat(toString(string), n);\n }\n\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n var snakeCase = createCompounder(function(result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n if (!limit) {\n return [];\n }\n string = toString(string);\n if (string && (\n typeof separator == 'string' ||\n (separator != null && !isRegExp(separator))\n )) {\n separator = baseToString(separator);\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n return string.split(separator, limit);\n }\n\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n var startCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null\n ? 0\n : baseClamp(toInteger(position), 0, string.length);\n\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': ' + + + + + \ No newline at end of file diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/LICENSE" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/LICENSE" new file mode 100644 index 00000000..77c42f14 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/LICENSE" @@ -0,0 +1,47 @@ +Copyright OpenJS Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/README.md" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/README.md" new file mode 100644 index 00000000..3ab1a05c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/README.md" @@ -0,0 +1,39 @@ +# lodash v4.17.21 + +The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules. + +## Installation + +Using npm: +```shell +$ npm i -g npm +$ npm i --save lodash +``` + +In Node.js: +```js +// Load the full build. +var _ = require('lodash'); +// Load the core build. +var _ = require('lodash/core'); +// Load the FP build for immutable auto-curried iteratee-first data-last methods. +var fp = require('lodash/fp'); + +// Load method categories. +var array = require('lodash/array'); +var object = require('lodash/fp/object'); + +// Cherry-pick methods for smaller browserify/rollup/webpack bundles. +var at = require('lodash/at'); +var curryN = require('lodash/fp/curryN'); +``` + +See the [package source](https://github.com/lodash/lodash/tree/4.17.21-npm) for more details. + +**Note:**
+Install [n_](https://www.npmjs.com/package/n_) for Lodash use in the Node.js < 6 REPL. + +## Support + +Tested in Chrome 74-75, Firefox 66-67, IE 11, Edge 18, Safari 11-12, & Node.js 8-12.
+Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available. diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_DataView.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_DataView.js" new file mode 100644 index 00000000..ac2d57ca --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_DataView.js" @@ -0,0 +1,7 @@ +var getNative = require('./_getNative'), + root = require('./_root'); + +/* Built-in method references that are verified to be native. */ +var DataView = getNative(root, 'DataView'); + +module.exports = DataView; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Hash.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Hash.js" new file mode 100644 index 00000000..b504fe34 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Hash.js" @@ -0,0 +1,32 @@ +var hashClear = require('./_hashClear'), + hashDelete = require('./_hashDelete'), + hashGet = require('./_hashGet'), + hashHas = require('./_hashHas'), + hashSet = require('./_hashSet'); + +/** + * Creates a hash object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function Hash(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } +} + +// Add methods to `Hash`. +Hash.prototype.clear = hashClear; +Hash.prototype['delete'] = hashDelete; +Hash.prototype.get = hashGet; +Hash.prototype.has = hashHas; +Hash.prototype.set = hashSet; + +module.exports = Hash; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_LazyWrapper.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_LazyWrapper.js" new file mode 100644 index 00000000..81786c7f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_LazyWrapper.js" @@ -0,0 +1,28 @@ +var baseCreate = require('./_baseCreate'), + baseLodash = require('./_baseLodash'); + +/** Used as references for the maximum length and index of an array. */ +var MAX_ARRAY_LENGTH = 4294967295; + +/** + * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation. + * + * @private + * @constructor + * @param {*} value The value to wrap. + */ +function LazyWrapper(value) { + this.__wrapped__ = value; + this.__actions__ = []; + this.__dir__ = 1; + this.__filtered__ = false; + this.__iteratees__ = []; + this.__takeCount__ = MAX_ARRAY_LENGTH; + this.__views__ = []; +} + +// Ensure `LazyWrapper` is an instance of `baseLodash`. +LazyWrapper.prototype = baseCreate(baseLodash.prototype); +LazyWrapper.prototype.constructor = LazyWrapper; + +module.exports = LazyWrapper; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_ListCache.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_ListCache.js" new file mode 100644 index 00000000..26895c3a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_ListCache.js" @@ -0,0 +1,32 @@ +var listCacheClear = require('./_listCacheClear'), + listCacheDelete = require('./_listCacheDelete'), + listCacheGet = require('./_listCacheGet'), + listCacheHas = require('./_listCacheHas'), + listCacheSet = require('./_listCacheSet'); + +/** + * Creates an list cache object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function ListCache(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } +} + +// Add methods to `ListCache`. +ListCache.prototype.clear = listCacheClear; +ListCache.prototype['delete'] = listCacheDelete; +ListCache.prototype.get = listCacheGet; +ListCache.prototype.has = listCacheHas; +ListCache.prototype.set = listCacheSet; + +module.exports = ListCache; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_LodashWrapper.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_LodashWrapper.js" new file mode 100644 index 00000000..c1e4d9df --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_LodashWrapper.js" @@ -0,0 +1,22 @@ +var baseCreate = require('./_baseCreate'), + baseLodash = require('./_baseLodash'); + +/** + * The base constructor for creating `lodash` wrapper objects. + * + * @private + * @param {*} value The value to wrap. + * @param {boolean} [chainAll] Enable explicit method chain sequences. + */ +function LodashWrapper(value, chainAll) { + this.__wrapped__ = value; + this.__actions__ = []; + this.__chain__ = !!chainAll; + this.__index__ = 0; + this.__values__ = undefined; +} + +LodashWrapper.prototype = baseCreate(baseLodash.prototype); +LodashWrapper.prototype.constructor = LodashWrapper; + +module.exports = LodashWrapper; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Map.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Map.js" new file mode 100644 index 00000000..b73f29a0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Map.js" @@ -0,0 +1,7 @@ +var getNative = require('./_getNative'), + root = require('./_root'); + +/* Built-in method references that are verified to be native. */ +var Map = getNative(root, 'Map'); + +module.exports = Map; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_MapCache.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_MapCache.js" new file mode 100644 index 00000000..4a4eea7b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_MapCache.js" @@ -0,0 +1,32 @@ +var mapCacheClear = require('./_mapCacheClear'), + mapCacheDelete = require('./_mapCacheDelete'), + mapCacheGet = require('./_mapCacheGet'), + mapCacheHas = require('./_mapCacheHas'), + mapCacheSet = require('./_mapCacheSet'); + +/** + * Creates a map cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function MapCache(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } +} + +// Add methods to `MapCache`. +MapCache.prototype.clear = mapCacheClear; +MapCache.prototype['delete'] = mapCacheDelete; +MapCache.prototype.get = mapCacheGet; +MapCache.prototype.has = mapCacheHas; +MapCache.prototype.set = mapCacheSet; + +module.exports = MapCache; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Promise.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Promise.js" new file mode 100644 index 00000000..247b9e1b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Promise.js" @@ -0,0 +1,7 @@ +var getNative = require('./_getNative'), + root = require('./_root'); + +/* Built-in method references that are verified to be native. */ +var Promise = getNative(root, 'Promise'); + +module.exports = Promise; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Set.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Set.js" new file mode 100644 index 00000000..b3c8dcbf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Set.js" @@ -0,0 +1,7 @@ +var getNative = require('./_getNative'), + root = require('./_root'); + +/* Built-in method references that are verified to be native. */ +var Set = getNative(root, 'Set'); + +module.exports = Set; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_SetCache.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_SetCache.js" new file mode 100644 index 00000000..6468b064 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_SetCache.js" @@ -0,0 +1,27 @@ +var MapCache = require('./_MapCache'), + setCacheAdd = require('./_setCacheAdd'), + setCacheHas = require('./_setCacheHas'); + +/** + * + * Creates an array cache object to store unique values. + * + * @private + * @constructor + * @param {Array} [values] The values to cache. + */ +function SetCache(values) { + var index = -1, + length = values == null ? 0 : values.length; + + this.__data__ = new MapCache; + while (++index < length) { + this.add(values[index]); + } +} + +// Add methods to `SetCache`. +SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; +SetCache.prototype.has = setCacheHas; + +module.exports = SetCache; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Stack.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Stack.js" new file mode 100644 index 00000000..80b2cf1b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Stack.js" @@ -0,0 +1,27 @@ +var ListCache = require('./_ListCache'), + stackClear = require('./_stackClear'), + stackDelete = require('./_stackDelete'), + stackGet = require('./_stackGet'), + stackHas = require('./_stackHas'), + stackSet = require('./_stackSet'); + +/** + * Creates a stack cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function Stack(entries) { + var data = this.__data__ = new ListCache(entries); + this.size = data.size; +} + +// Add methods to `Stack`. +Stack.prototype.clear = stackClear; +Stack.prototype['delete'] = stackDelete; +Stack.prototype.get = stackGet; +Stack.prototype.has = stackHas; +Stack.prototype.set = stackSet; + +module.exports = Stack; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Symbol.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Symbol.js" new file mode 100644 index 00000000..a013f7c5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Symbol.js" @@ -0,0 +1,6 @@ +var root = require('./_root'); + +/** Built-in value references. */ +var Symbol = root.Symbol; + +module.exports = Symbol; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Uint8Array.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Uint8Array.js" new file mode 100644 index 00000000..2fb30e15 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_Uint8Array.js" @@ -0,0 +1,6 @@ +var root = require('./_root'); + +/** Built-in value references. */ +var Uint8Array = root.Uint8Array; + +module.exports = Uint8Array; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_WeakMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_WeakMap.js" new file mode 100644 index 00000000..567f86c6 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_WeakMap.js" @@ -0,0 +1,7 @@ +var getNative = require('./_getNative'), + root = require('./_root'); + +/* Built-in method references that are verified to be native. */ +var WeakMap = getNative(root, 'WeakMap'); + +module.exports = WeakMap; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_apply.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_apply.js" new file mode 100644 index 00000000..36436dda --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_apply.js" @@ -0,0 +1,21 @@ +/** + * 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); +} + +module.exports = apply; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayAggregator.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayAggregator.js" new file mode 100644 index 00000000..d96c3ca4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayAggregator.js" @@ -0,0 +1,22 @@ +/** + * A specialized version of `baseAggregator` for arrays. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} setter The function to set `accumulator` values. + * @param {Function} iteratee The iteratee to transform keys. + * @param {Object} accumulator The initial aggregated object. + * @returns {Function} Returns `accumulator`. + */ +function arrayAggregator(array, setter, iteratee, accumulator) { + var index = -1, + length = array == null ? 0 : array.length; + + while (++index < length) { + var value = array[index]; + setter(accumulator, value, iteratee(value), array); + } + return accumulator; +} + +module.exports = arrayAggregator; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayEach.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayEach.js" new file mode 100644 index 00000000..2c5f5796 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayEach.js" @@ -0,0 +1,22 @@ +/** + * 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) { + var index = -1, + length = array == null ? 0 : array.length; + + while (++index < length) { + if (iteratee(array[index], index, array) === false) { + break; + } + } + return array; +} + +module.exports = arrayEach; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayEachRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayEachRight.js" new file mode 100644 index 00000000..976ca5c2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayEachRight.js" @@ -0,0 +1,21 @@ +/** + * A specialized version of `_.forEachRight` 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 arrayEachRight(array, iteratee) { + var length = array == null ? 0 : array.length; + + while (length--) { + if (iteratee(array[length], length, array) === false) { + break; + } + } + return array; +} + +module.exports = arrayEachRight; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayEvery.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayEvery.js" new file mode 100644 index 00000000..e26a9184 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayEvery.js" @@ -0,0 +1,23 @@ +/** + * A specialized version of `_.every` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {boolean} Returns `true` if all elements pass the predicate check, + * else `false`. + */ +function arrayEvery(array, predicate) { + var index = -1, + length = array == null ? 0 : array.length; + + while (++index < length) { + if (!predicate(array[index], index, array)) { + return false; + } + } + return true; +} + +module.exports = arrayEvery; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayFilter.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayFilter.js" new file mode 100644 index 00000000..75ea2544 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayFilter.js" @@ -0,0 +1,25 @@ +/** + * A specialized version of `_.filter` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {Array} Returns the new filtered array. + */ +function arrayFilter(array, predicate) { + var index = -1, + length = array == null ? 0 : array.length, + resIndex = 0, + result = []; + + while (++index < length) { + var value = array[index]; + if (predicate(value, index, array)) { + result[resIndex++] = value; + } + } + return result; +} + +module.exports = arrayFilter; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayIncludes.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayIncludes.js" new file mode 100644 index 00000000..3737a6d9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayIncludes.js" @@ -0,0 +1,17 @@ +var baseIndexOf = require('./_baseIndexOf'); + +/** + * A specialized version of `_.includes` for arrays without support for + * specifying an index to search from. + * + * @private + * @param {Array} [array] The array to inspect. + * @param {*} target The value to search for. + * @returns {boolean} Returns `true` if `target` is found, else `false`. + */ +function arrayIncludes(array, value) { + var length = array == null ? 0 : array.length; + return !!length && baseIndexOf(array, value, 0) > -1; +} + +module.exports = arrayIncludes; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayIncludesWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayIncludesWith.js" new file mode 100644 index 00000000..235fd975 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayIncludesWith.js" @@ -0,0 +1,22 @@ +/** + * This function is like `arrayIncludes` except that it accepts a comparator. + * + * @private + * @param {Array} [array] The array to inspect. + * @param {*} target The value to search for. + * @param {Function} comparator The comparator invoked per element. + * @returns {boolean} Returns `true` if `target` is found, else `false`. + */ +function arrayIncludesWith(array, value, comparator) { + var index = -1, + length = array == null ? 0 : array.length; + + while (++index < length) { + if (comparator(value, array[index])) { + return true; + } + } + return false; +} + +module.exports = arrayIncludesWith; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayLikeKeys.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayLikeKeys.js" new file mode 100644 index 00000000..b2ec9ce7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayLikeKeys.js" @@ -0,0 +1,49 @@ +var baseTimes = require('./_baseTimes'), + isArguments = require('./isArguments'), + isArray = require('./isArray'), + isBuffer = require('./isBuffer'), + isIndex = require('./_isIndex'), + isTypedArray = require('./isTypedArray'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.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, inherited) { + var isArr = isArray(value), + isArg = !isArr && isArguments(value), + isBuff = !isArr && !isArg && isBuffer(value), + isType = !isArr && !isArg && !isBuff && isTypedArray(value), + skipIndexes = isArr || isArg || isBuff || isType, + result = skipIndexes ? baseTimes(value.length, String) : [], + length = result.length; + + for (var key in value) { + if ((inherited || hasOwnProperty.call(value, key)) && + !(skipIndexes && ( + // Safari 9 has enumerable `arguments.length` in strict mode. + key == 'length' || + // Node.js 0.10 has enumerable non-index properties on buffers. + (isBuff && (key == 'offset' || key == 'parent')) || + // PhantomJS 2 has enumerable non-index properties on typed arrays. + (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || + // Skip index properties. + isIndex(key, length) + ))) { + result.push(key); + } + } + return result; +} + +module.exports = arrayLikeKeys; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayMap.js" new file mode 100644 index 00000000..22b22464 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayMap.js" @@ -0,0 +1,21 @@ +/** + * 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) { + var index = -1, + length = array == null ? 0 : array.length, + result = Array(length); + + while (++index < length) { + result[index] = iteratee(array[index], index, array); + } + return result; +} + +module.exports = arrayMap; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayPush.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayPush.js" new file mode 100644 index 00000000..7d742b38 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayPush.js" @@ -0,0 +1,20 @@ +/** + * Appends the elements of `values` to `array`. + * + * @private + * @param {Array} array The array to modify. + * @param {Array} values The values to append. + * @returns {Array} Returns `array`. + */ +function arrayPush(array, values) { + var index = -1, + length = values.length, + offset = array.length; + + while (++index < length) { + array[offset + index] = values[index]; + } + return array; +} + +module.exports = arrayPush; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayReduce.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayReduce.js" new file mode 100644 index 00000000..de8b79b2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayReduce.js" @@ -0,0 +1,26 @@ +/** + * A specialized version of `_.reduce` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {*} [accumulator] The initial value. + * @param {boolean} [initAccum] Specify using the first element of `array` as + * the initial value. + * @returns {*} Returns the accumulated value. + */ +function arrayReduce(array, iteratee, accumulator, initAccum) { + var index = -1, + length = array == null ? 0 : array.length; + + if (initAccum && length) { + accumulator = array[++index]; + } + while (++index < length) { + accumulator = iteratee(accumulator, array[index], index, array); + } + return accumulator; +} + +module.exports = arrayReduce; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayReduceRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayReduceRight.js" new file mode 100644 index 00000000..22d8976d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayReduceRight.js" @@ -0,0 +1,24 @@ +/** + * A specialized version of `_.reduceRight` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {*} [accumulator] The initial value. + * @param {boolean} [initAccum] Specify using the last element of `array` as + * the initial value. + * @returns {*} Returns the accumulated value. + */ +function arrayReduceRight(array, iteratee, accumulator, initAccum) { + var length = array == null ? 0 : array.length; + if (initAccum && length) { + accumulator = array[--length]; + } + while (length--) { + accumulator = iteratee(accumulator, array[length], length, array); + } + return accumulator; +} + +module.exports = arrayReduceRight; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arraySample.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arraySample.js" new file mode 100644 index 00000000..fcab0105 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arraySample.js" @@ -0,0 +1,15 @@ +var baseRandom = require('./_baseRandom'); + +/** + * A specialized version of `_.sample` for arrays. + * + * @private + * @param {Array} array The array to sample. + * @returns {*} Returns the random element. + */ +function arraySample(array) { + var length = array.length; + return length ? array[baseRandom(0, length - 1)] : undefined; +} + +module.exports = arraySample; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arraySampleSize.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arraySampleSize.js" new file mode 100644 index 00000000..8c7e364f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arraySampleSize.js" @@ -0,0 +1,17 @@ +var baseClamp = require('./_baseClamp'), + copyArray = require('./_copyArray'), + shuffleSelf = require('./_shuffleSelf'); + +/** + * A specialized version of `_.sampleSize` for arrays. + * + * @private + * @param {Array} array The array to sample. + * @param {number} n The number of elements to sample. + * @returns {Array} Returns the random elements. + */ +function arraySampleSize(array, n) { + return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length)); +} + +module.exports = arraySampleSize; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayShuffle.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayShuffle.js" new file mode 100644 index 00000000..46313a39 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arrayShuffle.js" @@ -0,0 +1,15 @@ +var copyArray = require('./_copyArray'), + shuffleSelf = require('./_shuffleSelf'); + +/** + * A specialized version of `_.shuffle` for arrays. + * + * @private + * @param {Array} array The array to shuffle. + * @returns {Array} Returns the new shuffled array. + */ +function arrayShuffle(array) { + return shuffleSelf(copyArray(array)); +} + +module.exports = arrayShuffle; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arraySome.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arraySome.js" new file mode 100644 index 00000000..6fd02fd4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_arraySome.js" @@ -0,0 +1,23 @@ +/** + * A specialized version of `_.some` for arrays without support for iteratee + * shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {boolean} Returns `true` if any element passes the predicate check, + * else `false`. + */ +function arraySome(array, predicate) { + var index = -1, + length = array == null ? 0 : array.length; + + while (++index < length) { + if (predicate(array[index], index, array)) { + return true; + } + } + return false; +} + +module.exports = arraySome; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_asciiSize.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_asciiSize.js" new file mode 100644 index 00000000..11d29c33 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_asciiSize.js" @@ -0,0 +1,12 @@ +var baseProperty = require('./_baseProperty'); + +/** + * Gets the size of an ASCII `string`. + * + * @private + * @param {string} string The string inspect. + * @returns {number} Returns the string size. + */ +var asciiSize = baseProperty('length'); + +module.exports = asciiSize; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_asciiToArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_asciiToArray.js" new file mode 100644 index 00000000..8e3dd5b4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_asciiToArray.js" @@ -0,0 +1,12 @@ +/** + * Converts an ASCII `string` to an array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the converted array. + */ +function asciiToArray(string) { + return string.split(''); +} + +module.exports = asciiToArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_asciiWords.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_asciiWords.js" new file mode 100644 index 00000000..d765f0f7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_asciiWords.js" @@ -0,0 +1,15 @@ +/** Used to match words composed of alphanumeric characters. */ +var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; + +/** + * Splits an ASCII `string` into an array of its words. + * + * @private + * @param {string} The string to inspect. + * @returns {Array} Returns the words of `string`. + */ +function asciiWords(string) { + return string.match(reAsciiWord) || []; +} + +module.exports = asciiWords; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_assignMergeValue.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_assignMergeValue.js" new file mode 100644 index 00000000..cb1185e9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_assignMergeValue.js" @@ -0,0 +1,20 @@ +var baseAssignValue = require('./_baseAssignValue'), + eq = require('./eq'); + +/** + * This function is like `assignValue` except that it doesn't assign + * `undefined` values. + * + * @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 assignMergeValue(object, key, value) { + if ((value !== undefined && !eq(object[key], value)) || + (value === undefined && !(key in object))) { + baseAssignValue(object, key, value); + } +} + +module.exports = assignMergeValue; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_assignValue.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_assignValue.js" new file mode 100644 index 00000000..40839575 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_assignValue.js" @@ -0,0 +1,28 @@ +var baseAssignValue = require('./_baseAssignValue'), + eq = require('./eq'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.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) { + var objValue = object[key]; + if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || + (value === undefined && !(key in object))) { + baseAssignValue(object, key, value); + } +} + +module.exports = assignValue; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_assocIndexOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_assocIndexOf.js" new file mode 100644 index 00000000..5b77a2bd --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_assocIndexOf.js" @@ -0,0 +1,21 @@ +var eq = require('./eq'); + +/** + * Gets the index at which the `key` is found in `array` of key-value pairs. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} key The key to search for. + * @returns {number} Returns the index of the matched value, else `-1`. + */ +function assocIndexOf(array, key) { + var length = array.length; + while (length--) { + if (eq(array[length][0], key)) { + return length; + } + } + return -1; +} + +module.exports = assocIndexOf; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAggregator.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAggregator.js" new file mode 100644 index 00000000..4bc9e91f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAggregator.js" @@ -0,0 +1,21 @@ +var baseEach = require('./_baseEach'); + +/** + * Aggregates elements of `collection` on `accumulator` with keys transformed + * by `iteratee` and values set by `setter`. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} setter The function to set `accumulator` values. + * @param {Function} iteratee The iteratee to transform keys. + * @param {Object} accumulator The initial aggregated object. + * @returns {Function} Returns `accumulator`. + */ +function baseAggregator(collection, setter, iteratee, accumulator) { + baseEach(collection, function(value, key, collection) { + setter(accumulator, value, iteratee(value), collection); + }); + return accumulator; +} + +module.exports = baseAggregator; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAssign.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAssign.js" new file mode 100644 index 00000000..e5c4a1a5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAssign.js" @@ -0,0 +1,17 @@ +var copyObject = require('./_copyObject'), + keys = require('./keys'); + +/** + * The base implementation of `_.assign` without support for multiple sources + * or `customizer` functions. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @returns {Object} Returns `object`. + */ +function baseAssign(object, source) { + return object && copyObject(source, keys(source), object); +} + +module.exports = baseAssign; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAssignIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAssignIn.js" new file mode 100644 index 00000000..6624f900 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAssignIn.js" @@ -0,0 +1,17 @@ +var copyObject = require('./_copyObject'), + keysIn = require('./keysIn'); + +/** + * The base implementation of `_.assignIn` without support for multiple sources + * or `customizer` functions. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @returns {Object} Returns `object`. + */ +function baseAssignIn(object, source) { + return object && copyObject(source, keysIn(source), object); +} + +module.exports = baseAssignIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAssignValue.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAssignValue.js" new file mode 100644 index 00000000..d6f66ef3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAssignValue.js" @@ -0,0 +1,25 @@ +var defineProperty = require('./_defineProperty'); + +/** + * 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) { + if (key == '__proto__' && defineProperty) { + defineProperty(object, key, { + 'configurable': true, + 'enumerable': true, + 'value': value, + 'writable': true + }); + } else { + object[key] = value; + } +} + +module.exports = baseAssignValue; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAt.js" new file mode 100644 index 00000000..90e4237a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseAt.js" @@ -0,0 +1,23 @@ +var get = require('./get'); + +/** + * The base implementation of `_.at` without support for individual paths. + * + * @private + * @param {Object} object The object to iterate over. + * @param {string[]} paths The property paths to pick. + * @returns {Array} Returns the picked elements. + */ +function baseAt(object, paths) { + var index = -1, + length = paths.length, + result = Array(length), + skip = object == null; + + while (++index < length) { + result[index] = skip ? undefined : get(object, paths[index]); + } + return result; +} + +module.exports = baseAt; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseClamp.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseClamp.js" new file mode 100644 index 00000000..a1c56929 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseClamp.js" @@ -0,0 +1,22 @@ +/** + * The base implementation of `_.clamp` which doesn't coerce arguments. + * + * @private + * @param {number} number The number to clamp. + * @param {number} [lower] The lower bound. + * @param {number} upper The upper bound. + * @returns {number} Returns the clamped number. + */ +function baseClamp(number, lower, upper) { + if (number === number) { + if (upper !== undefined) { + number = number <= upper ? number : upper; + } + if (lower !== undefined) { + number = number >= lower ? number : lower; + } + } + return number; +} + +module.exports = baseClamp; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseClone.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseClone.js" new file mode 100644 index 00000000..69f87054 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseClone.js" @@ -0,0 +1,166 @@ +var Stack = require('./_Stack'), + arrayEach = require('./_arrayEach'), + assignValue = require('./_assignValue'), + baseAssign = require('./_baseAssign'), + baseAssignIn = require('./_baseAssignIn'), + cloneBuffer = require('./_cloneBuffer'), + copyArray = require('./_copyArray'), + copySymbols = require('./_copySymbols'), + copySymbolsIn = require('./_copySymbolsIn'), + getAllKeys = require('./_getAllKeys'), + getAllKeysIn = require('./_getAllKeysIn'), + getTag = require('./_getTag'), + initCloneArray = require('./_initCloneArray'), + initCloneByTag = require('./_initCloneByTag'), + initCloneObject = require('./_initCloneObject'), + isArray = require('./isArray'), + isBuffer = require('./isBuffer'), + isMap = require('./isMap'), + isObject = require('./isObject'), + isSet = require('./isSet'), + keys = require('./keys'), + keysIn = require('./keysIn'); + +/** Used to compose bitmasks for cloning. */ +var CLONE_DEEP_FLAG = 1, + CLONE_FLAT_FLAG = 2, + CLONE_SYMBOLS_FLAG = 4; + +/** `Object#toString` result references. */ +var argsTag = '[object Arguments]', + arrayTag = '[object Array]', + boolTag = '[object Boolean]', + dateTag = '[object Date]', + errorTag = '[object Error]', + funcTag = '[object Function]', + genTag = '[object GeneratorFunction]', + mapTag = '[object Map]', + numberTag = '[object Number]', + objectTag = '[object Object]', + regexpTag = '[object RegExp]', + setTag = '[object Set]', + stringTag = '[object String]', + symbolTag = '[object Symbol]', + weakMapTag = '[object WeakMap]'; + +var arrayBufferTag = '[object ArrayBuffer]', + dataViewTag = '[object DataView]', + float32Tag = '[object Float32Array]', + float64Tag = '[object Float64Array]', + int8Tag = '[object Int8Array]', + int16Tag = '[object Int16Array]', + int32Tag = '[object Int32Array]', + uint8Tag = '[object Uint8Array]', + uint8ClampedTag = '[object Uint8ClampedArray]', + uint16Tag = '[object Uint16Array]', + uint32Tag = '[object Uint32Array]'; + +/** Used to identify `toStringTag` values supported by `_.clone`. */ +var cloneableTags = {}; +cloneableTags[argsTag] = cloneableTags[arrayTag] = +cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = +cloneableTags[boolTag] = cloneableTags[dateTag] = +cloneableTags[float32Tag] = cloneableTags[float64Tag] = +cloneableTags[int8Tag] = cloneableTags[int16Tag] = +cloneableTags[int32Tag] = cloneableTags[mapTag] = +cloneableTags[numberTag] = cloneableTags[objectTag] = +cloneableTags[regexpTag] = cloneableTags[setTag] = +cloneableTags[stringTag] = cloneableTags[symbolTag] = +cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = +cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true; +cloneableTags[errorTag] = cloneableTags[funcTag] = +cloneableTags[weakMapTag] = false; + +/** + * The base implementation of `_.clone` and `_.cloneDeep` which tracks + * traversed objects. + * + * @private + * @param {*} value The value to clone. + * @param {boolean} bitmask The bitmask flags. + * 1 - Deep clone + * 2 - Flatten inherited properties + * 4 - Clone symbols + * @param {Function} [customizer] The function to customize cloning. + * @param {string} [key] The key of `value`. + * @param {Object} [object] The parent object of `value`. + * @param {Object} [stack] Tracks traversed objects and their clone counterparts. + * @returns {*} Returns the cloned value. + */ +function baseClone(value, bitmask, customizer, key, object, stack) { + var result, + isDeep = bitmask & CLONE_DEEP_FLAG, + isFlat = bitmask & CLONE_FLAT_FLAG, + isFull = bitmask & CLONE_SYMBOLS_FLAG; + + if (customizer) { + result = object ? customizer(value, key, object, stack) : customizer(value); + } + if (result !== undefined) { + return result; + } + if (!isObject(value)) { + return value; + } + var isArr = isArray(value); + if (isArr) { + result = initCloneArray(value); + if (!isDeep) { + return copyArray(value, result); + } + } else { + var tag = getTag(value), + isFunc = tag == funcTag || tag == genTag; + + if (isBuffer(value)) { + return cloneBuffer(value, isDeep); + } + if (tag == objectTag || tag == argsTag || (isFunc && !object)) { + result = (isFlat || isFunc) ? {} : initCloneObject(value); + if (!isDeep) { + return isFlat + ? copySymbolsIn(value, baseAssignIn(result, value)) + : copySymbols(value, baseAssign(result, value)); + } + } else { + if (!cloneableTags[tag]) { + return object ? value : {}; + } + result = initCloneByTag(value, tag, isDeep); + } + } + // Check for circular references and return its corresponding clone. + stack || (stack = new Stack); + var stacked = stack.get(value); + if (stacked) { + return stacked; + } + stack.set(value, result); + + if (isSet(value)) { + value.forEach(function(subValue) { + result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack)); + }); + } else if (isMap(value)) { + value.forEach(function(subValue, key) { + result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack)); + }); + } + + var keysFunc = isFull + ? (isFlat ? getAllKeysIn : getAllKeys) + : (isFlat ? keysIn : keys); + + var props = isArr ? undefined : keysFunc(value); + arrayEach(props || value, function(subValue, key) { + if (props) { + key = subValue; + subValue = value[key]; + } + // Recursively populate clone (susceptible to call stack limits). + assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack)); + }); + return result; +} + +module.exports = baseClone; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseConforms.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseConforms.js" new file mode 100644 index 00000000..947e20d4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseConforms.js" @@ -0,0 +1,18 @@ +var baseConformsTo = require('./_baseConformsTo'), + keys = require('./keys'); + +/** + * The base implementation of `_.conforms` which doesn't clone `source`. + * + * @private + * @param {Object} source The object of property predicates to conform to. + * @returns {Function} Returns the new spec function. + */ +function baseConforms(source) { + var props = keys(source); + return function(object) { + return baseConformsTo(object, source, props); + }; +} + +module.exports = baseConforms; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseConformsTo.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseConformsTo.js" new file mode 100644 index 00000000..e449cb84 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseConformsTo.js" @@ -0,0 +1,27 @@ +/** + * The base implementation of `_.conformsTo` which accepts `props` to check. + * + * @private + * @param {Object} object The object to inspect. + * @param {Object} source The object of property predicates to conform to. + * @returns {boolean} Returns `true` if `object` conforms, else `false`. + */ +function baseConformsTo(object, source, props) { + var length = props.length; + if (object == null) { + return !length; + } + object = Object(object); + while (length--) { + var key = props[length], + predicate = source[key], + value = object[key]; + + if ((value === undefined && !(key in object)) || !predicate(value)) { + return false; + } + } + return true; +} + +module.exports = baseConformsTo; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseCreate.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseCreate.js" new file mode 100644 index 00000000..ffa6a52a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseCreate.js" @@ -0,0 +1,30 @@ +var isObject = require('./isObject'); + +/** 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(proto)) { + return {}; + } + if (objectCreate) { + return objectCreate(proto); + } + object.prototype = proto; + var result = new object; + object.prototype = undefined; + return result; + }; +}()); + +module.exports = baseCreate; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseDelay.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseDelay.js" new file mode 100644 index 00000000..1486d697 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseDelay.js" @@ -0,0 +1,21 @@ +/** Error message constants. */ +var FUNC_ERROR_TEXT = 'Expected a function'; + +/** + * The base implementation of `_.delay` and `_.defer` which accepts `args` + * to provide to `func`. + * + * @private + * @param {Function} func The function to delay. + * @param {number} wait The number of milliseconds to delay invocation. + * @param {Array} args The arguments to provide to `func`. + * @returns {number|Object} Returns the timer id or timeout object. + */ +function baseDelay(func, wait, args) { + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + return setTimeout(function() { func.apply(undefined, args); }, wait); +} + +module.exports = baseDelay; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseDifference.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseDifference.js" new file mode 100644 index 00000000..343ac19f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseDifference.js" @@ -0,0 +1,67 @@ +var SetCache = require('./_SetCache'), + arrayIncludes = require('./_arrayIncludes'), + arrayIncludesWith = require('./_arrayIncludesWith'), + arrayMap = require('./_arrayMap'), + baseUnary = require('./_baseUnary'), + cacheHas = require('./_cacheHas'); + +/** Used as the size to enable large array optimizations. */ +var LARGE_ARRAY_SIZE = 200; + +/** + * The base implementation of methods like `_.difference` without support + * for excluding multiple arrays or iteratee shorthands. + * + * @private + * @param {Array} array The array to inspect. + * @param {Array} values The values to exclude. + * @param {Function} [iteratee] The iteratee invoked per element. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new array of filtered values. + */ +function baseDifference(array, values, iteratee, comparator) { + var index = -1, + includes = arrayIncludes, + isCommon = true, + length = array.length, + result = [], + valuesLength = values.length; + + if (!length) { + return result; + } + if (iteratee) { + values = arrayMap(values, baseUnary(iteratee)); + } + if (comparator) { + includes = arrayIncludesWith; + isCommon = false; + } + else if (values.length >= LARGE_ARRAY_SIZE) { + includes = cacheHas; + isCommon = false; + values = new SetCache(values); + } + outer: + while (++index < length) { + var value = array[index], + computed = iteratee == null ? value : iteratee(value); + + value = (comparator || value !== 0) ? value : 0; + if (isCommon && computed === computed) { + var valuesIndex = valuesLength; + while (valuesIndex--) { + if (values[valuesIndex] === computed) { + continue outer; + } + } + result.push(value); + } + else if (!includes(values, computed, comparator)) { + result.push(value); + } + } + return result; +} + +module.exports = baseDifference; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseEach.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseEach.js" new file mode 100644 index 00000000..512c0676 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseEach.js" @@ -0,0 +1,14 @@ +var baseForOwn = require('./_baseForOwn'), + createBaseEach = require('./_createBaseEach'); + +/** + * The base implementation of `_.forEach` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. + */ +var baseEach = createBaseEach(baseForOwn); + +module.exports = baseEach; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseEachRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseEachRight.js" new file mode 100644 index 00000000..0a8feeca --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseEachRight.js" @@ -0,0 +1,14 @@ +var baseForOwnRight = require('./_baseForOwnRight'), + createBaseEach = require('./_createBaseEach'); + +/** + * The base implementation of `_.forEachRight` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. + */ +var baseEachRight = createBaseEach(baseForOwnRight, true); + +module.exports = baseEachRight; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseEvery.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseEvery.js" new file mode 100644 index 00000000..fa52f7bc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseEvery.js" @@ -0,0 +1,21 @@ +var baseEach = require('./_baseEach'); + +/** + * The base implementation of `_.every` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {boolean} Returns `true` if all elements pass the predicate check, + * else `false` + */ +function baseEvery(collection, predicate) { + var result = true; + baseEach(collection, function(value, index, collection) { + result = !!predicate(value, index, collection); + return result; + }); + return result; +} + +module.exports = baseEvery; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseExtremum.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseExtremum.js" new file mode 100644 index 00000000..9d6aa77e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseExtremum.js" @@ -0,0 +1,32 @@ +var isSymbol = require('./isSymbol'); + +/** + * The base implementation of methods like `_.max` and `_.min` which accepts a + * `comparator` to determine the extremum value. + * + * @private + * @param {Array} array The array to iterate over. + * @param {Function} iteratee The iteratee invoked per iteration. + * @param {Function} comparator The comparator used to compare values. + * @returns {*} Returns the extremum value. + */ +function baseExtremum(array, iteratee, comparator) { + var index = -1, + length = array.length; + + while (++index < length) { + var value = array[index], + current = iteratee(value); + + if (current != null && (computed === undefined + ? (current === current && !isSymbol(current)) + : comparator(current, computed) + )) { + var computed = current, + result = value; + } + } + return result; +} + +module.exports = baseExtremum; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFill.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFill.js" new file mode 100644 index 00000000..46ef9c76 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFill.js" @@ -0,0 +1,32 @@ +var toInteger = require('./toInteger'), + toLength = require('./toLength'); + +/** + * The base implementation of `_.fill` without an iteratee call guard. + * + * @private + * @param {Array} array The array to fill. + * @param {*} value The value to fill `array` with. + * @param {number} [start=0] The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns `array`. + */ +function baseFill(array, value, start, end) { + var length = array.length; + + start = toInteger(start); + if (start < 0) { + start = -start > length ? 0 : (length + start); + } + end = (end === undefined || end > length) ? length : toInteger(end); + if (end < 0) { + end += length; + } + end = start > end ? 0 : toLength(end); + while (start < end) { + array[start++] = value; + } + return array; +} + +module.exports = baseFill; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFilter.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFilter.js" new file mode 100644 index 00000000..46784773 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFilter.js" @@ -0,0 +1,21 @@ +var baseEach = require('./_baseEach'); + +/** + * The base implementation of `_.filter` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {Array} Returns the new filtered array. + */ +function baseFilter(collection, predicate) { + var result = []; + baseEach(collection, function(value, index, collection) { + if (predicate(value, index, collection)) { + result.push(value); + } + }); + return result; +} + +module.exports = baseFilter; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFindIndex.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFindIndex.js" new file mode 100644 index 00000000..e3f5d8aa --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFindIndex.js" @@ -0,0 +1,24 @@ +/** + * 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 = fromIndex + (fromRight ? 1 : -1); + + while ((fromRight ? index-- : ++index < length)) { + if (predicate(array[index], index, array)) { + return index; + } + } + return -1; +} + +module.exports = baseFindIndex; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFindKey.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFindKey.js" new file mode 100644 index 00000000..2e430f3a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFindKey.js" @@ -0,0 +1,23 @@ +/** + * The base implementation of methods like `_.findKey` and `_.findLastKey`, + * without support for iteratee shorthands, which iterates over `collection` + * using `eachFunc`. + * + * @private + * @param {Array|Object} collection The collection to inspect. + * @param {Function} predicate The function invoked per iteration. + * @param {Function} eachFunc The function to iterate over `collection`. + * @returns {*} Returns the found element or its key, else `undefined`. + */ +function baseFindKey(collection, predicate, eachFunc) { + var result; + eachFunc(collection, function(value, key, collection) { + if (predicate(value, key, collection)) { + result = key; + return false; + } + }); + return result; +} + +module.exports = baseFindKey; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFlatten.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFlatten.js" new file mode 100644 index 00000000..4b1e009b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFlatten.js" @@ -0,0 +1,38 @@ +var arrayPush = require('./_arrayPush'), + isFlattenable = require('./_isFlattenable'); + +/** + * The base implementation of `_.flatten` with support for restricting flattening. + * + * @private + * @param {Array} array The array to flatten. + * @param {number} depth The maximum recursion depth. + * @param {boolean} [predicate=isFlattenable] The function invoked per iteration. + * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks. + * @param {Array} [result=[]] The initial result value. + * @returns {Array} Returns the new flattened array. + */ +function baseFlatten(array, depth, predicate, isStrict, result) { + var index = -1, + length = array.length; + + predicate || (predicate = isFlattenable); + result || (result = []); + + while (++index < length) { + var value = array[index]; + if (depth > 0 && predicate(value)) { + if (depth > 1) { + // Recursively flatten arrays (susceptible to call stack limits). + baseFlatten(value, depth - 1, predicate, isStrict, result); + } else { + arrayPush(result, value); + } + } else if (!isStrict) { + result[result.length] = value; + } + } + return result; +} + +module.exports = baseFlatten; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFor.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFor.js" new file mode 100644 index 00000000..d946590f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFor.js" @@ -0,0 +1,16 @@ +var createBaseFor = require('./_createBaseFor'); + +/** + * The base implementation of `baseForOwn` which iterates over `object` + * properties returned by `keysFunc` and invokes `iteratee` for each property. + * Iteratee functions may exit iteration early by explicitly returning `false`. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {Function} keysFunc The function to get the keys of `object`. + * @returns {Object} Returns `object`. + */ +var baseFor = createBaseFor(); + +module.exports = baseFor; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseForOwn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseForOwn.js" new file mode 100644 index 00000000..503d5234 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseForOwn.js" @@ -0,0 +1,16 @@ +var baseFor = require('./_baseFor'), + keys = require('./keys'); + +/** + * The base implementation of `_.forOwn` without support for iteratee shorthands. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Object} Returns `object`. + */ +function baseForOwn(object, iteratee) { + return object && baseFor(object, iteratee, keys); +} + +module.exports = baseForOwn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseForOwnRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseForOwnRight.js" new file mode 100644 index 00000000..a4b10e6c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseForOwnRight.js" @@ -0,0 +1,16 @@ +var baseForRight = require('./_baseForRight'), + keys = require('./keys'); + +/** + * The base implementation of `_.forOwnRight` without support for iteratee shorthands. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Object} Returns `object`. + */ +function baseForOwnRight(object, iteratee) { + return object && baseForRight(object, iteratee, keys); +} + +module.exports = baseForOwnRight; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseForRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseForRight.js" new file mode 100644 index 00000000..32842cd8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseForRight.js" @@ -0,0 +1,15 @@ +var createBaseFor = require('./_createBaseFor'); + +/** + * This function is like `baseFor` except that it iterates over properties + * in the opposite order. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {Function} keysFunc The function to get the keys of `object`. + * @returns {Object} Returns `object`. + */ +var baseForRight = createBaseFor(true); + +module.exports = baseForRight; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFunctions.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFunctions.js" new file mode 100644 index 00000000..d23bc9b4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseFunctions.js" @@ -0,0 +1,19 @@ +var arrayFilter = require('./_arrayFilter'), + isFunction = require('./isFunction'); + +/** + * The base implementation of `_.functions` which creates an array of + * `object` function property names filtered from `props`. + * + * @private + * @param {Object} object The object to inspect. + * @param {Array} props The property names to filter. + * @returns {Array} Returns the function names. + */ +function baseFunctions(object, props) { + return arrayFilter(props, function(key) { + return isFunction(object[key]); + }); +} + +module.exports = baseFunctions; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGet.js" new file mode 100644 index 00000000..a194913d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGet.js" @@ -0,0 +1,24 @@ +var castPath = require('./_castPath'), + toKey = require('./_toKey'); + +/** + * The base implementation of `_.get` without support for default values. + * + * @private + * @param {Object} object The object to query. + * @param {Array|string} path The path of the property to get. + * @returns {*} Returns the resolved value. + */ +function baseGet(object, path) { + path = castPath(path, object); + + var index = 0, + length = path.length; + + while (object != null && index < length) { + object = object[toKey(path[index++])]; + } + return (index && index == length) ? object : undefined; +} + +module.exports = baseGet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGetAllKeys.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGetAllKeys.js" new file mode 100644 index 00000000..8ad204ea --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGetAllKeys.js" @@ -0,0 +1,20 @@ +var arrayPush = require('./_arrayPush'), + isArray = require('./isArray'); + +/** + * The base implementation of `getAllKeys` and `getAllKeysIn` which uses + * `keysFunc` and `symbolsFunc` to get the enumerable property names and + * symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @param {Function} keysFunc The function to get the keys of `object`. + * @param {Function} symbolsFunc The function to get the symbols of `object`. + * @returns {Array} Returns the array of property names and symbols. + */ +function baseGetAllKeys(object, keysFunc, symbolsFunc) { + var result = keysFunc(object); + return isArray(object) ? result : arrayPush(result, symbolsFunc(object)); +} + +module.exports = baseGetAllKeys; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGetTag.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGetTag.js" new file mode 100644 index 00000000..b927ccc1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGetTag.js" @@ -0,0 +1,28 @@ +var Symbol = require('./_Symbol'), + getRawTag = require('./_getRawTag'), + objectToString = require('./_objectToString'); + +/** `Object#toString` result references. */ +var nullTag = '[object Null]', + undefinedTag = '[object Undefined]'; + +/** Built-in value references. */ +var symToStringTag = Symbol ? Symbol.toStringTag : undefined; + +/** + * 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) { + if (value == null) { + return value === undefined ? undefinedTag : nullTag; + } + return (symToStringTag && symToStringTag in Object(value)) + ? getRawTag(value) + : objectToString(value); +} + +module.exports = baseGetTag; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGt.js" new file mode 100644 index 00000000..502d273c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseGt.js" @@ -0,0 +1,14 @@ +/** + * The base implementation of `_.gt` which doesn't coerce arguments. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is greater than `other`, + * else `false`. + */ +function baseGt(value, other) { + return value > other; +} + +module.exports = baseGt; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseHas.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseHas.js" new file mode 100644 index 00000000..1b730321 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseHas.js" @@ -0,0 +1,19 @@ +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * The base implementation of `_.has` without support for deep paths. + * + * @private + * @param {Object} [object] The object to query. + * @param {Array|string} key The key to check. + * @returns {boolean} Returns `true` if `key` exists, else `false`. + */ +function baseHas(object, key) { + return object != null && hasOwnProperty.call(object, key); +} + +module.exports = baseHas; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseHasIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseHasIn.js" new file mode 100644 index 00000000..2e0d0426 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseHasIn.js" @@ -0,0 +1,13 @@ +/** + * The base implementation of `_.hasIn` without support for deep paths. + * + * @private + * @param {Object} [object] The object to query. + * @param {Array|string} key The key to check. + * @returns {boolean} Returns `true` if `key` exists, else `false`. + */ +function baseHasIn(object, key) { + return object != null && key in Object(object); +} + +module.exports = baseHasIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseInRange.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseInRange.js" new file mode 100644 index 00000000..ec956661 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseInRange.js" @@ -0,0 +1,18 @@ +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max, + nativeMin = Math.min; + +/** + * The base implementation of `_.inRange` which doesn't coerce arguments. + * + * @private + * @param {number} number The number to check. + * @param {number} start The start of the range. + * @param {number} end The end of the range. + * @returns {boolean} Returns `true` if `number` is in the range, else `false`. + */ +function baseInRange(number, start, end) { + return number >= nativeMin(start, end) && number < nativeMax(start, end); +} + +module.exports = baseInRange; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIndexOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIndexOf.js" new file mode 100644 index 00000000..167e706e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIndexOf.js" @@ -0,0 +1,20 @@ +var baseFindIndex = require('./_baseFindIndex'), + baseIsNaN = require('./_baseIsNaN'), + strictIndexOf = require('./_strictIndexOf'); + +/** + * 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, fromIndex) { + return value === value + ? strictIndexOf(array, value, fromIndex) + : baseFindIndex(array, baseIsNaN, fromIndex); +} + +module.exports = baseIndexOf; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIndexOfWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIndexOfWith.js" new file mode 100644 index 00000000..f815fe0d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIndexOfWith.js" @@ -0,0 +1,23 @@ +/** + * This function is like `baseIndexOf` except that it accepts a comparator. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} value The value to search for. + * @param {number} fromIndex The index to search from. + * @param {Function} comparator The comparator invoked per element. + * @returns {number} Returns the index of the matched value, else `-1`. + */ +function baseIndexOfWith(array, value, fromIndex, comparator) { + var index = fromIndex - 1, + length = array.length; + + while (++index < length) { + if (comparator(array[index], value)) { + return index; + } + } + return -1; +} + +module.exports = baseIndexOfWith; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIntersection.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIntersection.js" new file mode 100644 index 00000000..c1d250c2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIntersection.js" @@ -0,0 +1,74 @@ +var SetCache = require('./_SetCache'), + arrayIncludes = require('./_arrayIncludes'), + arrayIncludesWith = require('./_arrayIncludesWith'), + arrayMap = require('./_arrayMap'), + baseUnary = require('./_baseUnary'), + cacheHas = require('./_cacheHas'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMin = Math.min; + +/** + * The base implementation of methods like `_.intersection`, without support + * for iteratee shorthands, that accepts an array of arrays to inspect. + * + * @private + * @param {Array} arrays The arrays to inspect. + * @param {Function} [iteratee] The iteratee invoked per element. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new array of shared values. + */ +function baseIntersection(arrays, iteratee, comparator) { + var includes = comparator ? arrayIncludesWith : arrayIncludes, + length = arrays[0].length, + othLength = arrays.length, + othIndex = othLength, + caches = Array(othLength), + maxLength = Infinity, + result = []; + + while (othIndex--) { + var array = arrays[othIndex]; + if (othIndex && iteratee) { + array = arrayMap(array, baseUnary(iteratee)); + } + maxLength = nativeMin(array.length, maxLength); + caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120)) + ? new SetCache(othIndex && array) + : undefined; + } + array = arrays[0]; + + var index = -1, + seen = caches[0]; + + outer: + while (++index < length && result.length < maxLength) { + var value = array[index], + computed = iteratee ? iteratee(value) : value; + + value = (comparator || value !== 0) ? value : 0; + if (!(seen + ? cacheHas(seen, computed) + : includes(result, computed, comparator) + )) { + othIndex = othLength; + while (--othIndex) { + var cache = caches[othIndex]; + if (!(cache + ? cacheHas(cache, computed) + : includes(arrays[othIndex], computed, comparator)) + ) { + continue outer; + } + } + if (seen) { + seen.push(computed); + } + result.push(value); + } + } + return result; +} + +module.exports = baseIntersection; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseInverter.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseInverter.js" new file mode 100644 index 00000000..fbc337f0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseInverter.js" @@ -0,0 +1,21 @@ +var baseForOwn = require('./_baseForOwn'); + +/** + * The base implementation of `_.invert` and `_.invertBy` which inverts + * `object` with values transformed by `iteratee` and set by `setter`. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} setter The function to set `accumulator` values. + * @param {Function} iteratee The iteratee to transform values. + * @param {Object} accumulator The initial inverted object. + * @returns {Function} Returns `accumulator`. + */ +function baseInverter(object, setter, iteratee, accumulator) { + baseForOwn(object, function(value, key, object) { + setter(accumulator, iteratee(value), key, object); + }); + return accumulator; +} + +module.exports = baseInverter; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseInvoke.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseInvoke.js" new file mode 100644 index 00000000..49bcf3c3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseInvoke.js" @@ -0,0 +1,24 @@ +var apply = require('./_apply'), + castPath = require('./_castPath'), + last = require('./last'), + parent = require('./_parent'), + toKey = require('./_toKey'); + +/** + * The base implementation of `_.invoke` without support for individual + * method arguments. + * + * @private + * @param {Object} object The object to query. + * @param {Array|string} path The path of the method to invoke. + * @param {Array} args The arguments to invoke the method with. + * @returns {*} Returns the result of the invoked method. + */ +function baseInvoke(object, path, args) { + path = castPath(path, object); + object = parent(object, path); + var func = object == null ? object : object[toKey(last(path))]; + return func == null ? undefined : apply(func, object, args); +} + +module.exports = baseInvoke; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsArguments.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsArguments.js" new file mode 100644 index 00000000..b3562cca --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsArguments.js" @@ -0,0 +1,18 @@ +var baseGetTag = require('./_baseGetTag'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var argsTag = '[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) { + return isObjectLike(value) && baseGetTag(value) == argsTag; +} + +module.exports = baseIsArguments; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsArrayBuffer.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsArrayBuffer.js" new file mode 100644 index 00000000..a2c4f30a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsArrayBuffer.js" @@ -0,0 +1,17 @@ +var baseGetTag = require('./_baseGetTag'), + isObjectLike = require('./isObjectLike'); + +var arrayBufferTag = '[object ArrayBuffer]'; + +/** + * The base implementation of `_.isArrayBuffer` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. + */ +function baseIsArrayBuffer(value) { + return isObjectLike(value) && baseGetTag(value) == arrayBufferTag; +} + +module.exports = baseIsArrayBuffer; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsDate.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsDate.js" new file mode 100644 index 00000000..ba67c785 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsDate.js" @@ -0,0 +1,18 @@ +var baseGetTag = require('./_baseGetTag'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var dateTag = '[object Date]'; + +/** + * The base implementation of `_.isDate` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a date object, else `false`. + */ +function baseIsDate(value) { + return isObjectLike(value) && baseGetTag(value) == dateTag; +} + +module.exports = baseIsDate; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsEqual.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsEqual.js" new file mode 100644 index 00000000..00a68a4f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsEqual.js" @@ -0,0 +1,28 @@ +var baseIsEqualDeep = require('./_baseIsEqualDeep'), + isObjectLike = require('./isObjectLike'); + +/** + * The base implementation of `_.isEqual` which supports partial comparisons + * and tracks traversed objects. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @param {boolean} bitmask The bitmask flags. + * 1 - Unordered comparison + * 2 - Partial comparison + * @param {Function} [customizer] The function to customize comparisons. + * @param {Object} [stack] Tracks traversed `value` and `other` objects. + * @returns {boolean} Returns `true` if the values are equivalent, else `false`. + */ +function baseIsEqual(value, other, bitmask, customizer, stack) { + if (value === other) { + return true; + } + if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { + return value !== value && other !== other; + } + return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); +} + +module.exports = baseIsEqual; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsEqualDeep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsEqualDeep.js" new file mode 100644 index 00000000..e3cfd6a8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsEqualDeep.js" @@ -0,0 +1,83 @@ +var Stack = require('./_Stack'), + equalArrays = require('./_equalArrays'), + equalByTag = require('./_equalByTag'), + equalObjects = require('./_equalObjects'), + getTag = require('./_getTag'), + isArray = require('./isArray'), + isBuffer = require('./isBuffer'), + isTypedArray = require('./isTypedArray'); + +/** Used to compose bitmasks for value comparisons. */ +var COMPARE_PARTIAL_FLAG = 1; + +/** `Object#toString` result references. */ +var argsTag = '[object Arguments]', + arrayTag = '[object Array]', + objectTag = '[object Object]'; + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * A specialized version of `baseIsEqual` for arrays and objects which performs + * deep comparisons and tracks traversed objects enabling objects with circular + * references to be compared. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} [stack] Tracks traversed `object` and `other` objects. + * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. + */ +function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { + var objIsArr = isArray(object), + othIsArr = isArray(other), + objTag = objIsArr ? arrayTag : getTag(object), + othTag = othIsArr ? arrayTag : getTag(other); + + objTag = objTag == argsTag ? objectTag : objTag; + othTag = othTag == argsTag ? objectTag : othTag; + + var objIsObj = objTag == objectTag, + othIsObj = othTag == objectTag, + isSameTag = objTag == othTag; + + if (isSameTag && isBuffer(object)) { + if (!isBuffer(other)) { + return false; + } + objIsArr = true; + objIsObj = false; + } + if (isSameTag && !objIsObj) { + stack || (stack = new Stack); + return (objIsArr || isTypedArray(object)) + ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) + : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); + } + if (!(bitmask & COMPARE_PARTIAL_FLAG)) { + var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), + othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); + + if (objIsWrapped || othIsWrapped) { + var objUnwrapped = objIsWrapped ? object.value() : object, + othUnwrapped = othIsWrapped ? other.value() : other; + + stack || (stack = new Stack); + return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); + } + } + if (!isSameTag) { + return false; + } + stack || (stack = new Stack); + return equalObjects(object, other, bitmask, customizer, equalFunc, stack); +} + +module.exports = baseIsEqualDeep; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsMap.js" new file mode 100644 index 00000000..02a4021c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsMap.js" @@ -0,0 +1,18 @@ +var getTag = require('./_getTag'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var mapTag = '[object Map]'; + +/** + * The base implementation of `_.isMap` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a map, else `false`. + */ +function baseIsMap(value) { + return isObjectLike(value) && getTag(value) == mapTag; +} + +module.exports = baseIsMap; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsMatch.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsMatch.js" new file mode 100644 index 00000000..72494bed --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsMatch.js" @@ -0,0 +1,62 @@ +var Stack = require('./_Stack'), + baseIsEqual = require('./_baseIsEqual'); + +/** Used to compose bitmasks for value comparisons. */ +var COMPARE_PARTIAL_FLAG = 1, + COMPARE_UNORDERED_FLAG = 2; + +/** + * The base implementation of `_.isMatch` without support for iteratee shorthands. + * + * @private + * @param {Object} object The object to inspect. + * @param {Object} source The object of property values to match. + * @param {Array} matchData The property names, values, and compare flags to match. + * @param {Function} [customizer] The function to customize comparisons. + * @returns {boolean} Returns `true` if `object` is a match, else `false`. + */ +function baseIsMatch(object, source, matchData, customizer) { + var index = matchData.length, + length = index, + noCustomizer = !customizer; + + if (object == null) { + return !length; + } + object = Object(object); + while (index--) { + var data = matchData[index]; + if ((noCustomizer && data[2]) + ? data[1] !== object[data[0]] + : !(data[0] in object) + ) { + return false; + } + } + while (++index < length) { + data = matchData[index]; + var key = data[0], + objValue = object[key], + srcValue = data[1]; + + if (noCustomizer && data[2]) { + if (objValue === undefined && !(key in object)) { + return false; + } + } else { + var stack = new Stack; + if (customizer) { + var result = customizer(objValue, srcValue, key, object, source, stack); + } + if (!(result === undefined + ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) + : result + )) { + return false; + } + } + } + return true; +} + +module.exports = baseIsMatch; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsNaN.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsNaN.js" new file mode 100644 index 00000000..316f1eb1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsNaN.js" @@ -0,0 +1,12 @@ +/** + * 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) { + return value !== value; +} + +module.exports = baseIsNaN; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsNative.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsNative.js" new file mode 100644 index 00000000..87023304 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsNative.js" @@ -0,0 +1,47 @@ +var isFunction = require('./isFunction'), + isMasked = require('./_isMasked'), + isObject = require('./isObject'), + toSource = require('./_toSource'); + +/** + * 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 = Object.prototype; + +/** Used to resolve the decompiled source of functions. */ +var funcToString = funcProto.toString; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** Used to detect if a method is native. */ +var reIsNative = RegExp('^' + + funcToString.call(hasOwnProperty).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) { + if (!isObject(value) || isMasked(value)) { + return false; + } + var pattern = isFunction(value) ? reIsNative : reIsHostCtor; + return pattern.test(toSource(value)); +} + +module.exports = baseIsNative; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsRegExp.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsRegExp.js" new file mode 100644 index 00000000..6cd7c1ae --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsRegExp.js" @@ -0,0 +1,18 @@ +var baseGetTag = require('./_baseGetTag'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var regexpTag = '[object RegExp]'; + +/** + * The base implementation of `_.isRegExp` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. + */ +function baseIsRegExp(value) { + return isObjectLike(value) && baseGetTag(value) == regexpTag; +} + +module.exports = baseIsRegExp; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsSet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsSet.js" new file mode 100644 index 00000000..6dee3671 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsSet.js" @@ -0,0 +1,18 @@ +var getTag = require('./_getTag'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var setTag = '[object Set]'; + +/** + * The base implementation of `_.isSet` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a set, else `false`. + */ +function baseIsSet(value) { + return isObjectLike(value) && getTag(value) == setTag; +} + +module.exports = baseIsSet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsTypedArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsTypedArray.js" new file mode 100644 index 00000000..1edb32ff --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIsTypedArray.js" @@ -0,0 +1,60 @@ +var baseGetTag = require('./_baseGetTag'), + isLength = require('./isLength'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var argsTag = '[object Arguments]', + arrayTag = '[object Array]', + boolTag = '[object Boolean]', + dateTag = '[object Date]', + errorTag = '[object Error]', + funcTag = '[object Function]', + mapTag = '[object Map]', + numberTag = '[object Number]', + objectTag = '[object Object]', + regexpTag = '[object RegExp]', + setTag = '[object Set]', + stringTag = '[object String]', + weakMapTag = '[object WeakMap]'; + +var arrayBufferTag = '[object ArrayBuffer]', + dataViewTag = '[object DataView]', + float32Tag = '[object Float32Array]', + float64Tag = '[object Float64Array]', + int8Tag = '[object Int8Array]', + int16Tag = '[object Int16Array]', + int32Tag = '[object Int32Array]', + uint8Tag = '[object Uint8Array]', + uint8ClampedTag = '[object Uint8ClampedArray]', + uint16Tag = '[object Uint16Array]', + uint32Tag = '[object Uint32Array]'; + +/** Used to identify `toStringTag` values of typed arrays. */ +var typedArrayTags = {}; +typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = +typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = +typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = +typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = +typedArrayTags[uint32Tag] = true; +typedArrayTags[argsTag] = typedArrayTags[arrayTag] = +typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = +typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = +typedArrayTags[errorTag] = typedArrayTags[funcTag] = +typedArrayTags[mapTag] = typedArrayTags[numberTag] = +typedArrayTags[objectTag] = typedArrayTags[regexpTag] = +typedArrayTags[setTag] = typedArrayTags[stringTag] = +typedArrayTags[weakMapTag] = 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) { + return isObjectLike(value) && + isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; +} + +module.exports = baseIsTypedArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIteratee.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIteratee.js" new file mode 100644 index 00000000..995c2575 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseIteratee.js" @@ -0,0 +1,31 @@ +var baseMatches = require('./_baseMatches'), + baseMatchesProperty = require('./_baseMatchesProperty'), + identity = require('./identity'), + isArray = require('./isArray'), + property = require('./property'); + +/** + * The base implementation of `_.iteratee`. + * + * @private + * @param {*} [value=_.identity] The value to convert to an iteratee. + * @returns {Function} Returns the iteratee. + */ +function baseIteratee(value) { + // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9. + // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details. + if (typeof value == 'function') { + return value; + } + if (value == null) { + return identity; + } + if (typeof value == 'object') { + return isArray(value) + ? baseMatchesProperty(value[0], value[1]) + : baseMatches(value); + } + return property(value); +} + +module.exports = baseIteratee; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseKeys.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseKeys.js" new file mode 100644 index 00000000..45e9e6f3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseKeys.js" @@ -0,0 +1,30 @@ +var isPrototype = require('./_isPrototype'), + nativeKeys = require('./_nativeKeys'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.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(object)) { + return nativeKeys(object); + } + var result = []; + for (var key in Object(object)) { + if (hasOwnProperty.call(object, key) && key != 'constructor') { + result.push(key); + } + } + return result; +} + +module.exports = baseKeys; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseKeysIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseKeysIn.js" new file mode 100644 index 00000000..ea8a0a17 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseKeysIn.js" @@ -0,0 +1,33 @@ +var isObject = require('./isObject'), + isPrototype = require('./_isPrototype'), + nativeKeysIn = require('./_nativeKeysIn'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.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(object)) { + return nativeKeysIn(object); + } + var isProto = isPrototype(object), + result = []; + + for (var key in object) { + if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { + result.push(key); + } + } + return result; +} + +module.exports = baseKeysIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseLodash.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseLodash.js" new file mode 100644 index 00000000..f76c790e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseLodash.js" @@ -0,0 +1,10 @@ +/** + * The function whose prototype chain sequence wrappers inherit from. + * + * @private + */ +function baseLodash() { + // No operation performed. +} + +module.exports = baseLodash; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseLt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseLt.js" new file mode 100644 index 00000000..8674d294 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseLt.js" @@ -0,0 +1,14 @@ +/** + * The base implementation of `_.lt` which doesn't coerce arguments. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is less than `other`, + * else `false`. + */ +function baseLt(value, other) { + return value < other; +} + +module.exports = baseLt; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMap.js" new file mode 100644 index 00000000..0bf5cead --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMap.js" @@ -0,0 +1,22 @@ +var baseEach = require('./_baseEach'), + isArrayLike = require('./isArrayLike'); + +/** + * The base implementation of `_.map` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns the new mapped array. + */ +function baseMap(collection, iteratee) { + var index = -1, + result = isArrayLike(collection) ? Array(collection.length) : []; + + baseEach(collection, function(value, key, collection) { + result[++index] = iteratee(value, key, collection); + }); + return result; +} + +module.exports = baseMap; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMatches.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMatches.js" new file mode 100644 index 00000000..e56582ad --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMatches.js" @@ -0,0 +1,22 @@ +var baseIsMatch = require('./_baseIsMatch'), + getMatchData = require('./_getMatchData'), + matchesStrictComparable = require('./_matchesStrictComparable'); + +/** + * The base implementation of `_.matches` which doesn't clone `source`. + * + * @private + * @param {Object} source The object of property values to match. + * @returns {Function} Returns the new spec function. + */ +function baseMatches(source) { + var matchData = getMatchData(source); + if (matchData.length == 1 && matchData[0][2]) { + return matchesStrictComparable(matchData[0][0], matchData[0][1]); + } + return function(object) { + return object === source || baseIsMatch(object, source, matchData); + }; +} + +module.exports = baseMatches; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMatchesProperty.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMatchesProperty.js" new file mode 100644 index 00000000..24afd893 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMatchesProperty.js" @@ -0,0 +1,33 @@ +var baseIsEqual = require('./_baseIsEqual'), + get = require('./get'), + hasIn = require('./hasIn'), + isKey = require('./_isKey'), + isStrictComparable = require('./_isStrictComparable'), + matchesStrictComparable = require('./_matchesStrictComparable'), + toKey = require('./_toKey'); + +/** Used to compose bitmasks for value comparisons. */ +var COMPARE_PARTIAL_FLAG = 1, + COMPARE_UNORDERED_FLAG = 2; + +/** + * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`. + * + * @private + * @param {string} path The path of the property to get. + * @param {*} srcValue The value to match. + * @returns {Function} Returns the new spec function. + */ +function baseMatchesProperty(path, srcValue) { + if (isKey(path) && isStrictComparable(srcValue)) { + return matchesStrictComparable(toKey(path), srcValue); + } + return function(object) { + var objValue = get(object, path); + return (objValue === undefined && objValue === srcValue) + ? hasIn(object, path) + : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); + }; +} + +module.exports = baseMatchesProperty; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMean.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMean.js" new file mode 100644 index 00000000..fa9e00a0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMean.js" @@ -0,0 +1,20 @@ +var baseSum = require('./_baseSum'); + +/** Used as references for various `Number` constants. */ +var NAN = 0 / 0; + +/** + * The base implementation of `_.mean` and `_.meanBy` without support for + * iteratee shorthands. + * + * @private + * @param {Array} array The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {number} Returns the mean. + */ +function baseMean(array, iteratee) { + var length = array == null ? 0 : array.length; + return length ? (baseSum(array, iteratee) / length) : NAN; +} + +module.exports = baseMean; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMerge.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMerge.js" new file mode 100644 index 00000000..c98b5eb0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMerge.js" @@ -0,0 +1,42 @@ +var Stack = require('./_Stack'), + assignMergeValue = require('./_assignMergeValue'), + baseFor = require('./_baseFor'), + baseMergeDeep = require('./_baseMergeDeep'), + isObject = require('./isObject'), + keysIn = require('./keysIn'), + safeGet = require('./_safeGet'); + +/** + * The base implementation of `_.merge` without support for multiple sources. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @param {number} srcIndex The index of `source`. + * @param {Function} [customizer] The function to customize merged values. + * @param {Object} [stack] Tracks traversed source values and their merged + * counterparts. + */ +function baseMerge(object, source, srcIndex, customizer, stack) { + if (object === source) { + return; + } + baseFor(source, function(srcValue, key) { + stack || (stack = new Stack); + if (isObject(srcValue)) { + baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack); + } + else { + var newValue = customizer + ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack) + : undefined; + + if (newValue === undefined) { + newValue = srcValue; + } + assignMergeValue(object, key, newValue); + } + }, keysIn); +} + +module.exports = baseMerge; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMergeDeep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMergeDeep.js" new file mode 100644 index 00000000..4679e8dc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseMergeDeep.js" @@ -0,0 +1,94 @@ +var assignMergeValue = require('./_assignMergeValue'), + cloneBuffer = require('./_cloneBuffer'), + cloneTypedArray = require('./_cloneTypedArray'), + copyArray = require('./_copyArray'), + initCloneObject = require('./_initCloneObject'), + isArguments = require('./isArguments'), + isArray = require('./isArray'), + isArrayLikeObject = require('./isArrayLikeObject'), + isBuffer = require('./isBuffer'), + isFunction = require('./isFunction'), + isObject = require('./isObject'), + isPlainObject = require('./isPlainObject'), + isTypedArray = require('./isTypedArray'), + safeGet = require('./_safeGet'), + toPlainObject = require('./toPlainObject'); + +/** + * A specialized version of `baseMerge` for arrays and objects which performs + * deep merges and tracks traversed objects enabling objects with circular + * references to be merged. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @param {string} key The key of the value to merge. + * @param {number} srcIndex The index of `source`. + * @param {Function} mergeFunc The function to merge values. + * @param {Function} [customizer] The function to customize assigned values. + * @param {Object} [stack] Tracks traversed source values and their merged + * counterparts. + */ +function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { + var objValue = safeGet(object, key), + srcValue = safeGet(source, key), + stacked = stack.get(srcValue); + + if (stacked) { + assignMergeValue(object, key, stacked); + return; + } + var newValue = customizer + ? customizer(objValue, srcValue, (key + ''), object, source, stack) + : undefined; + + var isCommon = newValue === undefined; + + if (isCommon) { + var isArr = isArray(srcValue), + isBuff = !isArr && isBuffer(srcValue), + isTyped = !isArr && !isBuff && isTypedArray(srcValue); + + newValue = srcValue; + if (isArr || isBuff || isTyped) { + if (isArray(objValue)) { + newValue = objValue; + } + else if (isArrayLikeObject(objValue)) { + newValue = copyArray(objValue); + } + else if (isBuff) { + isCommon = false; + newValue = cloneBuffer(srcValue, true); + } + else if (isTyped) { + isCommon = false; + newValue = cloneTypedArray(srcValue, true); + } + else { + newValue = []; + } + } + else if (isPlainObject(srcValue) || isArguments(srcValue)) { + newValue = objValue; + if (isArguments(objValue)) { + newValue = toPlainObject(objValue); + } + else if (!isObject(objValue) || isFunction(objValue)) { + newValue = initCloneObject(srcValue); + } + } + else { + isCommon = false; + } + } + if (isCommon) { + // Recursively merge objects and arrays (susceptible to call stack limits). + stack.set(srcValue, newValue); + mergeFunc(newValue, srcValue, srcIndex, customizer, stack); + stack['delete'](srcValue); + } + assignMergeValue(object, key, newValue); +} + +module.exports = baseMergeDeep; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseNth.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseNth.js" new file mode 100644 index 00000000..0403c2a3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseNth.js" @@ -0,0 +1,20 @@ +var isIndex = require('./_isIndex'); + +/** + * The base implementation of `_.nth` which doesn't coerce arguments. + * + * @private + * @param {Array} array The array to query. + * @param {number} n The index of the element to return. + * @returns {*} Returns the nth element of `array`. + */ +function baseNth(array, n) { + var length = array.length; + if (!length) { + return; + } + n += n < 0 ? length : 0; + return isIndex(n, length) ? array[n] : undefined; +} + +module.exports = baseNth; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseOrderBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseOrderBy.js" new file mode 100644 index 00000000..775a0174 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseOrderBy.js" @@ -0,0 +1,49 @@ +var arrayMap = require('./_arrayMap'), + baseGet = require('./_baseGet'), + baseIteratee = require('./_baseIteratee'), + baseMap = require('./_baseMap'), + baseSortBy = require('./_baseSortBy'), + baseUnary = require('./_baseUnary'), + compareMultiple = require('./_compareMultiple'), + identity = require('./identity'), + isArray = require('./isArray'); + +/** + * The base implementation of `_.orderBy` without param guards. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by. + * @param {string[]} orders The sort orders of `iteratees`. + * @returns {Array} Returns the new sorted array. + */ +function baseOrderBy(collection, iteratees, orders) { + if (iteratees.length) { + iteratees = arrayMap(iteratees, function(iteratee) { + if (isArray(iteratee)) { + return function(value) { + return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee); + } + } + return iteratee; + }); + } else { + iteratees = [identity]; + } + + var index = -1; + iteratees = arrayMap(iteratees, baseUnary(baseIteratee)); + + var result = baseMap(collection, function(value, key, collection) { + var criteria = arrayMap(iteratees, function(iteratee) { + return iteratee(value); + }); + return { 'criteria': criteria, 'index': ++index, 'value': value }; + }); + + return baseSortBy(result, function(object, other) { + return compareMultiple(object, other, orders); + }); +} + +module.exports = baseOrderBy; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePick.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePick.js" new file mode 100644 index 00000000..09b458a6 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePick.js" @@ -0,0 +1,19 @@ +var basePickBy = require('./_basePickBy'), + hasIn = require('./hasIn'); + +/** + * The base implementation of `_.pick` without support for individual + * property identifiers. + * + * @private + * @param {Object} object The source object. + * @param {string[]} paths The property paths to pick. + * @returns {Object} Returns the new object. + */ +function basePick(object, paths) { + return basePickBy(object, paths, function(value, path) { + return hasIn(object, path); + }); +} + +module.exports = basePick; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePickBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePickBy.js" new file mode 100644 index 00000000..85be68c8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePickBy.js" @@ -0,0 +1,30 @@ +var baseGet = require('./_baseGet'), + baseSet = require('./_baseSet'), + castPath = require('./_castPath'); + +/** + * The base implementation of `_.pickBy` without support for iteratee shorthands. + * + * @private + * @param {Object} object The source object. + * @param {string[]} paths The property paths to pick. + * @param {Function} predicate The function invoked per property. + * @returns {Object} Returns the new object. + */ +function basePickBy(object, paths, predicate) { + var index = -1, + length = paths.length, + result = {}; + + while (++index < length) { + var path = paths[index], + value = baseGet(object, path); + + if (predicate(value, path)) { + baseSet(result, castPath(path, object), value); + } + } + return result; +} + +module.exports = basePickBy; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseProperty.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseProperty.js" new file mode 100644 index 00000000..496281ec --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseProperty.js" @@ -0,0 +1,14 @@ +/** + * The base implementation of `_.property` without support for deep paths. + * + * @private + * @param {string} key The key of the property to get. + * @returns {Function} Returns the new accessor function. + */ +function baseProperty(key) { + return function(object) { + return object == null ? undefined : object[key]; + }; +} + +module.exports = baseProperty; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePropertyDeep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePropertyDeep.js" new file mode 100644 index 00000000..1e5aae50 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePropertyDeep.js" @@ -0,0 +1,16 @@ +var baseGet = require('./_baseGet'); + +/** + * A specialized version of `baseProperty` which supports deep paths. + * + * @private + * @param {Array|string} path The path of the property to get. + * @returns {Function} Returns the new accessor function. + */ +function basePropertyDeep(path) { + return function(object) { + return baseGet(object, path); + }; +} + +module.exports = basePropertyDeep; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePropertyOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePropertyOf.js" new file mode 100644 index 00000000..46173999 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePropertyOf.js" @@ -0,0 +1,14 @@ +/** + * The base implementation of `_.propertyOf` without support for deep paths. + * + * @private + * @param {Object} object The object to query. + * @returns {Function} Returns the new accessor function. + */ +function basePropertyOf(object) { + return function(key) { + return object == null ? undefined : object[key]; + }; +} + +module.exports = basePropertyOf; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePullAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePullAll.js" new file mode 100644 index 00000000..305720ed --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePullAll.js" @@ -0,0 +1,51 @@ +var arrayMap = require('./_arrayMap'), + baseIndexOf = require('./_baseIndexOf'), + baseIndexOfWith = require('./_baseIndexOfWith'), + baseUnary = require('./_baseUnary'), + copyArray = require('./_copyArray'); + +/** Used for built-in method references. */ +var arrayProto = Array.prototype; + +/** Built-in value references. */ +var splice = arrayProto.splice; + +/** + * The base implementation of `_.pullAllBy` without support for iteratee + * shorthands. + * + * @private + * @param {Array} array The array to modify. + * @param {Array} values The values to remove. + * @param {Function} [iteratee] The iteratee invoked per element. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns `array`. + */ +function basePullAll(array, values, iteratee, comparator) { + var indexOf = comparator ? baseIndexOfWith : baseIndexOf, + index = -1, + length = values.length, + seen = array; + + if (array === values) { + values = copyArray(values); + } + if (iteratee) { + seen = arrayMap(array, baseUnary(iteratee)); + } + while (++index < length) { + var fromIndex = 0, + value = values[index], + computed = iteratee ? iteratee(value) : value; + + while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) { + if (seen !== array) { + splice.call(seen, fromIndex, 1); + } + splice.call(array, fromIndex, 1); + } + } + return array; +} + +module.exports = basePullAll; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePullAt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePullAt.js" new file mode 100644 index 00000000..c3e9e710 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_basePullAt.js" @@ -0,0 +1,37 @@ +var baseUnset = require('./_baseUnset'), + isIndex = require('./_isIndex'); + +/** Used for built-in method references. */ +var arrayProto = Array.prototype; + +/** Built-in value references. */ +var splice = arrayProto.splice; + +/** + * The base implementation of `_.pullAt` without support for individual + * indexes or capturing the removed elements. + * + * @private + * @param {Array} array The array to modify. + * @param {number[]} indexes The indexes of elements to remove. + * @returns {Array} Returns `array`. + */ +function basePullAt(array, indexes) { + var length = array ? indexes.length : 0, + lastIndex = length - 1; + + while (length--) { + var index = indexes[length]; + if (length == lastIndex || index !== previous) { + var previous = index; + if (isIndex(index)) { + splice.call(array, index, 1); + } else { + baseUnset(array, index); + } + } + } + return array; +} + +module.exports = basePullAt; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRandom.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRandom.js" new file mode 100644 index 00000000..94f76a76 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRandom.js" @@ -0,0 +1,18 @@ +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeFloor = Math.floor, + nativeRandom = Math.random; + +/** + * The base implementation of `_.random` without support for returning + * floating-point numbers. + * + * @private + * @param {number} lower The lower bound. + * @param {number} upper The upper bound. + * @returns {number} Returns the random number. + */ +function baseRandom(lower, upper) { + return lower + nativeFloor(nativeRandom() * (upper - lower + 1)); +} + +module.exports = baseRandom; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRange.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRange.js" new file mode 100644 index 00000000..0fb8e419 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRange.js" @@ -0,0 +1,28 @@ +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeCeil = Math.ceil, + nativeMax = Math.max; + +/** + * The base implementation of `_.range` and `_.rangeRight` which doesn't + * coerce arguments. + * + * @private + * @param {number} start The start of the range. + * @param {number} end The end of the range. + * @param {number} step The value to increment or decrement by. + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Array} Returns the range of numbers. + */ +function baseRange(start, end, step, fromRight) { + var index = -1, + length = nativeMax(nativeCeil((end - start) / (step || 1)), 0), + result = Array(length); + + while (length--) { + result[fromRight ? length : ++index] = start; + start += step; + } + return result; +} + +module.exports = baseRange; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseReduce.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseReduce.js" new file mode 100644 index 00000000..5a1f8b57 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseReduce.js" @@ -0,0 +1,23 @@ +/** + * The base implementation of `_.reduce` and `_.reduceRight`, without support + * for iteratee shorthands, which iterates over `collection` using `eachFunc`. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {*} accumulator The initial value. + * @param {boolean} initAccum Specify using the first or last element of + * `collection` as the initial value. + * @param {Function} eachFunc The function to iterate over `collection`. + * @returns {*} Returns the accumulated value. + */ +function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) { + eachFunc(collection, function(value, index, collection) { + accumulator = initAccum + ? (initAccum = false, value) + : iteratee(accumulator, value, index, collection); + }); + return accumulator; +} + +module.exports = baseReduce; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRepeat.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRepeat.js" new file mode 100644 index 00000000..ee44c31a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRepeat.js" @@ -0,0 +1,35 @@ +/** Used as references for various `Number` constants. */ +var MAX_SAFE_INTEGER = 9007199254740991; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeFloor = Math.floor; + +/** + * The base implementation of `_.repeat` which doesn't coerce arguments. + * + * @private + * @param {string} string The string to repeat. + * @param {number} n The number of times to repeat the string. + * @returns {string} Returns the repeated string. + */ +function baseRepeat(string, n) { + var result = ''; + if (!string || n < 1 || n > MAX_SAFE_INTEGER) { + return result; + } + // Leverage the exponentiation by squaring algorithm for a faster repeat. + // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details. + do { + if (n % 2) { + result += string; + } + n = nativeFloor(n / 2); + if (n) { + string += string; + } + } while (n); + + return result; +} + +module.exports = baseRepeat; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRest.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRest.js" new file mode 100644 index 00000000..d0dc4bdd --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseRest.js" @@ -0,0 +1,17 @@ +var identity = require('./identity'), + overRest = require('./_overRest'), + setToString = require('./_setToString'); + +/** + * 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(overRest(func, start, identity), func + ''); +} + +module.exports = baseRest; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSample.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSample.js" new file mode 100644 index 00000000..58582b91 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSample.js" @@ -0,0 +1,15 @@ +var arraySample = require('./_arraySample'), + values = require('./values'); + +/** + * The base implementation of `_.sample`. + * + * @private + * @param {Array|Object} collection The collection to sample. + * @returns {*} Returns the random element. + */ +function baseSample(collection) { + return arraySample(values(collection)); +} + +module.exports = baseSample; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSampleSize.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSampleSize.js" new file mode 100644 index 00000000..5c90ec51 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSampleSize.js" @@ -0,0 +1,18 @@ +var baseClamp = require('./_baseClamp'), + shuffleSelf = require('./_shuffleSelf'), + values = require('./values'); + +/** + * The base implementation of `_.sampleSize` without param guards. + * + * @private + * @param {Array|Object} collection The collection to sample. + * @param {number} n The number of elements to sample. + * @returns {Array} Returns the random elements. + */ +function baseSampleSize(collection, n) { + var array = values(collection); + return shuffleSelf(array, baseClamp(n, 0, array.length)); +} + +module.exports = baseSampleSize; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSet.js" new file mode 100644 index 00000000..99f4fbf9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSet.js" @@ -0,0 +1,51 @@ +var assignValue = require('./_assignValue'), + castPath = require('./_castPath'), + isIndex = require('./_isIndex'), + isObject = require('./isObject'), + toKey = require('./_toKey'); + +/** + * The base implementation of `_.set`. + * + * @private + * @param {Object} object The object to modify. + * @param {Array|string} path The path of the property to set. + * @param {*} value The value to set. + * @param {Function} [customizer] The function to customize path creation. + * @returns {Object} Returns `object`. + */ +function baseSet(object, path, value, customizer) { + if (!isObject(object)) { + return object; + } + path = castPath(path, object); + + var index = -1, + length = path.length, + lastIndex = length - 1, + nested = object; + + while (nested != null && ++index < length) { + var key = toKey(path[index]), + newValue = value; + + if (key === '__proto__' || key === 'constructor' || key === 'prototype') { + return object; + } + + if (index != lastIndex) { + var objValue = nested[key]; + newValue = customizer ? customizer(objValue, key, nested) : undefined; + if (newValue === undefined) { + newValue = isObject(objValue) + ? objValue + : (isIndex(path[index + 1]) ? [] : {}); + } + } + assignValue(nested, key, newValue); + nested = nested[key]; + } + return object; +} + +module.exports = baseSet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSetData.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSetData.js" new file mode 100644 index 00000000..c409947d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSetData.js" @@ -0,0 +1,17 @@ +var identity = require('./identity'), + metaMap = require('./_metaMap'); + +/** + * The base implementation of `setData` without support for hot loop shorting. + * + * @private + * @param {Function} func The function to associate metadata with. + * @param {*} data The metadata. + * @returns {Function} Returns `func`. + */ +var baseSetData = !metaMap ? identity : function(func, data) { + metaMap.set(func, data); + return func; +}; + +module.exports = baseSetData; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSetToString.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSetToString.js" new file mode 100644 index 00000000..89eaca38 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSetToString.js" @@ -0,0 +1,22 @@ +var constant = require('./constant'), + defineProperty = require('./_defineProperty'), + identity = require('./identity'); + +/** + * 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 ? identity : function(func, string) { + return defineProperty(func, 'toString', { + 'configurable': true, + 'enumerable': false, + 'value': constant(string), + 'writable': true + }); +}; + +module.exports = baseSetToString; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseShuffle.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseShuffle.js" new file mode 100644 index 00000000..023077ac --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseShuffle.js" @@ -0,0 +1,15 @@ +var shuffleSelf = require('./_shuffleSelf'), + values = require('./values'); + +/** + * The base implementation of `_.shuffle`. + * + * @private + * @param {Array|Object} collection The collection to shuffle. + * @returns {Array} Returns the new shuffled array. + */ +function baseShuffle(collection) { + return shuffleSelf(values(collection)); +} + +module.exports = baseShuffle; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSlice.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSlice.js" new file mode 100644 index 00000000..786f6c99 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSlice.js" @@ -0,0 +1,31 @@ +/** + * The base implementation of `_.slice` without an iteratee call guard. + * + * @private + * @param {Array} array The array to slice. + * @param {number} [start=0] The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns the slice of `array`. + */ +function baseSlice(array, start, end) { + var index = -1, + length = array.length; + + if (start < 0) { + start = -start > length ? 0 : (length + start); + } + end = end > length ? length : end; + if (end < 0) { + end += length; + } + length = start > end ? 0 : ((end - start) >>> 0); + start >>>= 0; + + var result = Array(length); + while (++index < length) { + result[index] = array[index + start]; + } + return result; +} + +module.exports = baseSlice; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSome.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSome.js" new file mode 100644 index 00000000..58f3f447 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSome.js" @@ -0,0 +1,22 @@ +var baseEach = require('./_baseEach'); + +/** + * The base implementation of `_.some` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {boolean} Returns `true` if any element passes the predicate check, + * else `false`. + */ +function baseSome(collection, predicate) { + var result; + + baseEach(collection, function(value, index, collection) { + result = predicate(value, index, collection); + return !result; + }); + return !!result; +} + +module.exports = baseSome; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortBy.js" new file mode 100644 index 00000000..a25c92ed --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortBy.js" @@ -0,0 +1,21 @@ +/** + * The base implementation of `_.sortBy` which uses `comparer` to define the + * sort order of `array` and replaces criteria objects with their corresponding + * values. + * + * @private + * @param {Array} array The array to sort. + * @param {Function} comparer The function to define sort order. + * @returns {Array} Returns `array`. + */ +function baseSortBy(array, comparer) { + var length = array.length; + + array.sort(comparer); + while (length--) { + array[length] = array[length].value; + } + return array; +} + +module.exports = baseSortBy; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortedIndex.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortedIndex.js" new file mode 100644 index 00000000..638c366c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortedIndex.js" @@ -0,0 +1,42 @@ +var baseSortedIndexBy = require('./_baseSortedIndexBy'), + identity = require('./identity'), + isSymbol = require('./isSymbol'); + +/** Used as references for the maximum length and index of an array. */ +var MAX_ARRAY_LENGTH = 4294967295, + HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1; + +/** + * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which + * performs a binary search of `array` to determine the index at which `value` + * should be inserted into `array` in order to maintain its sort order. + * + * @private + * @param {Array} array The sorted array to inspect. + * @param {*} value The value to evaluate. + * @param {boolean} [retHighest] Specify returning the highest qualified index. + * @returns {number} Returns the index at which `value` should be inserted + * into `array`. + */ +function baseSortedIndex(array, value, retHighest) { + var low = 0, + high = array == null ? low : array.length; + + if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) { + while (low < high) { + var mid = (low + high) >>> 1, + computed = array[mid]; + + if (computed !== null && !isSymbol(computed) && + (retHighest ? (computed <= value) : (computed < value))) { + low = mid + 1; + } else { + high = mid; + } + } + return high; + } + return baseSortedIndexBy(array, value, identity, retHighest); +} + +module.exports = baseSortedIndex; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortedIndexBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortedIndexBy.js" new file mode 100644 index 00000000..c247b377 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortedIndexBy.js" @@ -0,0 +1,67 @@ +var isSymbol = require('./isSymbol'); + +/** Used as references for the maximum length and index of an array. */ +var MAX_ARRAY_LENGTH = 4294967295, + MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeFloor = Math.floor, + nativeMin = Math.min; + +/** + * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy` + * which invokes `iteratee` for `value` and each element of `array` to compute + * their sort ranking. The iteratee is invoked with one argument; (value). + * + * @private + * @param {Array} array The sorted array to inspect. + * @param {*} value The value to evaluate. + * @param {Function} iteratee The iteratee invoked per element. + * @param {boolean} [retHighest] Specify returning the highest qualified index. + * @returns {number} Returns the index at which `value` should be inserted + * into `array`. + */ +function baseSortedIndexBy(array, value, iteratee, retHighest) { + var low = 0, + high = array == null ? 0 : array.length; + if (high === 0) { + return 0; + } + + value = iteratee(value); + var valIsNaN = value !== value, + valIsNull = value === null, + valIsSymbol = isSymbol(value), + valIsUndefined = value === undefined; + + while (low < high) { + var mid = nativeFloor((low + high) / 2), + computed = iteratee(array[mid]), + othIsDefined = computed !== undefined, + othIsNull = computed === null, + othIsReflexive = computed === computed, + othIsSymbol = isSymbol(computed); + + if (valIsNaN) { + var setLow = retHighest || othIsReflexive; + } else if (valIsUndefined) { + setLow = othIsReflexive && (retHighest || othIsDefined); + } else if (valIsNull) { + setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull); + } else if (valIsSymbol) { + setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol); + } else if (othIsNull || othIsSymbol) { + setLow = false; + } else { + setLow = retHighest ? (computed <= value) : (computed < value); + } + if (setLow) { + low = mid + 1; + } else { + high = mid; + } + } + return nativeMin(high, MAX_ARRAY_INDEX); +} + +module.exports = baseSortedIndexBy; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortedUniq.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortedUniq.js" new file mode 100644 index 00000000..802159a3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSortedUniq.js" @@ -0,0 +1,30 @@ +var eq = require('./eq'); + +/** + * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without + * support for iteratee shorthands. + * + * @private + * @param {Array} array The array to inspect. + * @param {Function} [iteratee] The iteratee invoked per element. + * @returns {Array} Returns the new duplicate free array. + */ +function baseSortedUniq(array, iteratee) { + var index = -1, + length = array.length, + resIndex = 0, + result = []; + + while (++index < length) { + var value = array[index], + computed = iteratee ? iteratee(value) : value; + + if (!index || !eq(computed, seen)) { + var seen = computed; + result[resIndex++] = value === 0 ? 0 : value; + } + } + return result; +} + +module.exports = baseSortedUniq; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSum.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSum.js" new file mode 100644 index 00000000..a9e84c13 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseSum.js" @@ -0,0 +1,24 @@ +/** + * The base implementation of `_.sum` and `_.sumBy` without support for + * iteratee shorthands. + * + * @private + * @param {Array} array The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {number} Returns the sum. + */ +function baseSum(array, iteratee) { + var result, + index = -1, + length = array.length; + + while (++index < length) { + var current = iteratee(array[index]); + if (current !== undefined) { + result = result === undefined ? current : (result + current); + } + } + return result; +} + +module.exports = baseSum; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseTimes.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseTimes.js" new file mode 100644 index 00000000..0603fc37 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseTimes.js" @@ -0,0 +1,20 @@ +/** + * 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) { + var index = -1, + result = Array(n); + + while (++index < n) { + result[index] = iteratee(index); + } + return result; +} + +module.exports = baseTimes; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseToNumber.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseToNumber.js" new file mode 100644 index 00000000..04859f39 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseToNumber.js" @@ -0,0 +1,24 @@ +var isSymbol = require('./isSymbol'); + +/** Used as references for various `Number` constants. */ +var NAN = 0 / 0; + +/** + * The base implementation of `_.toNumber` which doesn't ensure correct + * conversions of binary, hexadecimal, or octal string values. + * + * @private + * @param {*} value The value to process. + * @returns {number} Returns the number. + */ +function baseToNumber(value) { + if (typeof value == 'number') { + return value; + } + if (isSymbol(value)) { + return NAN; + } + return +value; +} + +module.exports = baseToNumber; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseToPairs.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseToPairs.js" new file mode 100644 index 00000000..bff19912 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseToPairs.js" @@ -0,0 +1,18 @@ +var arrayMap = require('./_arrayMap'); + +/** + * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array + * of key-value pairs for `object` corresponding to the property names of `props`. + * + * @private + * @param {Object} object The object to query. + * @param {Array} props The property names to get values for. + * @returns {Object} Returns the key-value pairs. + */ +function baseToPairs(object, props) { + return arrayMap(props, function(key) { + return [key, object[key]]; + }); +} + +module.exports = baseToPairs; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseToString.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseToString.js" new file mode 100644 index 00000000..ada6ad29 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseToString.js" @@ -0,0 +1,37 @@ +var Symbol = require('./_Symbol'), + arrayMap = require('./_arrayMap'), + isArray = require('./isArray'), + isSymbol = require('./isSymbol'); + +/** Used as references for various `Number` constants. */ +var INFINITY = 1 / 0; + +/** Used to convert symbols to primitives and strings. */ +var symbolProto = Symbol ? Symbol.prototype : undefined, + symbolToString = symbolProto ? symbolProto.toString : undefined; + +/** + * 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) { + // Exit early for strings to avoid a performance hit in some environments. + if (typeof value == 'string') { + return value; + } + if (isArray(value)) { + // Recursively convert values (susceptible to call stack limits). + return arrayMap(value, baseToString) + ''; + } + if (isSymbol(value)) { + return symbolToString ? symbolToString.call(value) : ''; + } + var result = (value + ''); + return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; +} + +module.exports = baseToString; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseTrim.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseTrim.js" new file mode 100644 index 00000000..3e2797d9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseTrim.js" @@ -0,0 +1,19 @@ +var trimmedEndIndex = require('./_trimmedEndIndex'); + +/** 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(string) + 1).replace(reTrimStart, '') + : string; +} + +module.exports = baseTrim; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUnary.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUnary.js" new file mode 100644 index 00000000..98639e92 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUnary.js" @@ -0,0 +1,14 @@ +/** + * 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) { + return func(value); + }; +} + +module.exports = baseUnary; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUniq.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUniq.js" new file mode 100644 index 00000000..aea459dc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUniq.js" @@ -0,0 +1,72 @@ +var SetCache = require('./_SetCache'), + arrayIncludes = require('./_arrayIncludes'), + arrayIncludesWith = require('./_arrayIncludesWith'), + cacheHas = require('./_cacheHas'), + createSet = require('./_createSet'), + setToArray = require('./_setToArray'); + +/** Used as the size to enable large array optimizations. */ +var LARGE_ARRAY_SIZE = 200; + +/** + * The base implementation of `_.uniqBy` without support for iteratee shorthands. + * + * @private + * @param {Array} array The array to inspect. + * @param {Function} [iteratee] The iteratee invoked per element. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new duplicate free array. + */ +function baseUniq(array, iteratee, comparator) { + var index = -1, + includes = arrayIncludes, + length = array.length, + isCommon = true, + result = [], + seen = result; + + if (comparator) { + isCommon = false; + includes = arrayIncludesWith; + } + else if (length >= LARGE_ARRAY_SIZE) { + var set = iteratee ? null : createSet(array); + if (set) { + return setToArray(set); + } + isCommon = false; + includes = cacheHas; + seen = new SetCache; + } + else { + seen = iteratee ? [] : result; + } + outer: + while (++index < length) { + var value = array[index], + computed = iteratee ? iteratee(value) : value; + + value = (comparator || value !== 0) ? value : 0; + if (isCommon && computed === computed) { + var seenIndex = seen.length; + while (seenIndex--) { + if (seen[seenIndex] === computed) { + continue outer; + } + } + if (iteratee) { + seen.push(computed); + } + result.push(value); + } + else if (!includes(seen, computed, comparator)) { + if (seen !== result) { + seen.push(computed); + } + result.push(value); + } + } + return result; +} + +module.exports = baseUniq; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUnset.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUnset.js" new file mode 100644 index 00000000..eefc6e37 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUnset.js" @@ -0,0 +1,20 @@ +var castPath = require('./_castPath'), + last = require('./last'), + parent = require('./_parent'), + toKey = require('./_toKey'); + +/** + * The base implementation of `_.unset`. + * + * @private + * @param {Object} object The object to modify. + * @param {Array|string} path The property path to unset. + * @returns {boolean} Returns `true` if the property is deleted, else `false`. + */ +function baseUnset(object, path) { + path = castPath(path, object); + object = parent(object, path); + return object == null || delete object[toKey(last(path))]; +} + +module.exports = baseUnset; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUpdate.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUpdate.js" new file mode 100644 index 00000000..92a62377 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseUpdate.js" @@ -0,0 +1,18 @@ +var baseGet = require('./_baseGet'), + baseSet = require('./_baseSet'); + +/** + * The base implementation of `_.update`. + * + * @private + * @param {Object} object The object to modify. + * @param {Array|string} path The path of the property to update. + * @param {Function} updater The function to produce the updated value. + * @param {Function} [customizer] The function to customize path creation. + * @returns {Object} Returns `object`. + */ +function baseUpdate(object, path, updater, customizer) { + return baseSet(object, path, updater(baseGet(object, path)), customizer); +} + +module.exports = baseUpdate; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseValues.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseValues.js" new file mode 100644 index 00000000..b95faadc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseValues.js" @@ -0,0 +1,19 @@ +var arrayMap = require('./_arrayMap'); + +/** + * The base implementation of `_.values` and `_.valuesIn` which creates an + * array of `object` property values corresponding to the property names + * of `props`. + * + * @private + * @param {Object} object The object to query. + * @param {Array} props The property names to get values for. + * @returns {Object} Returns the array of property values. + */ +function baseValues(object, props) { + return arrayMap(props, function(key) { + return object[key]; + }); +} + +module.exports = baseValues; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseWhile.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseWhile.js" new file mode 100644 index 00000000..07eac61b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseWhile.js" @@ -0,0 +1,26 @@ +var baseSlice = require('./_baseSlice'); + +/** + * The base implementation of methods like `_.dropWhile` and `_.takeWhile` + * without support for iteratee shorthands. + * + * @private + * @param {Array} array The array to query. + * @param {Function} predicate The function invoked per iteration. + * @param {boolean} [isDrop] Specify dropping elements instead of taking them. + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Array} Returns the slice of `array`. + */ +function baseWhile(array, predicate, isDrop, fromRight) { + var length = array.length, + index = fromRight ? length : -1; + + while ((fromRight ? index-- : ++index < length) && + predicate(array[index], index, array)) {} + + return isDrop + ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length)) + : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index)); +} + +module.exports = baseWhile; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseWrapperValue.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseWrapperValue.js" new file mode 100644 index 00000000..443e0df5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseWrapperValue.js" @@ -0,0 +1,25 @@ +var LazyWrapper = require('./_LazyWrapper'), + arrayPush = require('./_arrayPush'), + arrayReduce = require('./_arrayReduce'); + +/** + * The base implementation of `wrapperValue` which returns the result of + * performing a sequence of actions on the unwrapped `value`, where each + * successive action is supplied the return value of the previous. + * + * @private + * @param {*} value The unwrapped value. + * @param {Array} actions Actions to perform to resolve the unwrapped value. + * @returns {*} Returns the resolved value. + */ +function baseWrapperValue(value, actions) { + var result = value; + if (result instanceof LazyWrapper) { + result = result.value(); + } + return arrayReduce(actions, function(result, action) { + return action.func.apply(action.thisArg, arrayPush([result], action.args)); + }, result); +} + +module.exports = baseWrapperValue; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseXor.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseXor.js" new file mode 100644 index 00000000..8e69338b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseXor.js" @@ -0,0 +1,36 @@ +var baseDifference = require('./_baseDifference'), + baseFlatten = require('./_baseFlatten'), + baseUniq = require('./_baseUniq'); + +/** + * The base implementation of methods like `_.xor`, without support for + * iteratee shorthands, that accepts an array of arrays to inspect. + * + * @private + * @param {Array} arrays The arrays to inspect. + * @param {Function} [iteratee] The iteratee invoked per element. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new array of values. + */ +function baseXor(arrays, iteratee, comparator) { + var length = arrays.length; + if (length < 2) { + return length ? baseUniq(arrays[0]) : []; + } + var index = -1, + result = Array(length); + + while (++index < length) { + var array = arrays[index], + othIndex = -1; + + while (++othIndex < length) { + if (othIndex != index) { + result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator); + } + } + } + return baseUniq(baseFlatten(result, 1), iteratee, comparator); +} + +module.exports = baseXor; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseZipObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseZipObject.js" new file mode 100644 index 00000000..401f85be --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_baseZipObject.js" @@ -0,0 +1,23 @@ +/** + * This base implementation of `_.zipObject` which assigns values using `assignFunc`. + * + * @private + * @param {Array} props The property identifiers. + * @param {Array} values The property values. + * @param {Function} assignFunc The function to assign values. + * @returns {Object} Returns the new object. + */ +function baseZipObject(props, values, assignFunc) { + var index = -1, + length = props.length, + valsLength = values.length, + result = {}; + + while (++index < length) { + var value = index < valsLength ? values[index] : undefined; + assignFunc(result, props[index], value); + } + return result; +} + +module.exports = baseZipObject; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cacheHas.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cacheHas.js" new file mode 100644 index 00000000..2dec8926 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cacheHas.js" @@ -0,0 +1,13 @@ +/** + * Checks if a `cache` value for `key` exists. + * + * @private + * @param {Object} cache The cache to query. + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function cacheHas(cache, key) { + return cache.has(key); +} + +module.exports = cacheHas; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castArrayLikeObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castArrayLikeObject.js" new file mode 100644 index 00000000..92c75fa1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castArrayLikeObject.js" @@ -0,0 +1,14 @@ +var isArrayLikeObject = require('./isArrayLikeObject'); + +/** + * Casts `value` to an empty array if it's not an array like object. + * + * @private + * @param {*} value The value to inspect. + * @returns {Array|Object} Returns the cast array-like object. + */ +function castArrayLikeObject(value) { + return isArrayLikeObject(value) ? value : []; +} + +module.exports = castArrayLikeObject; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castFunction.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castFunction.js" new file mode 100644 index 00000000..98c91ae6 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castFunction.js" @@ -0,0 +1,14 @@ +var identity = require('./identity'); + +/** + * Casts `value` to `identity` if it's not a function. + * + * @private + * @param {*} value The value to inspect. + * @returns {Function} Returns cast function. + */ +function castFunction(value) { + return typeof value == 'function' ? value : identity; +} + +module.exports = castFunction; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castPath.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castPath.js" new file mode 100644 index 00000000..017e4c1b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castPath.js" @@ -0,0 +1,21 @@ +var isArray = require('./isArray'), + isKey = require('./_isKey'), + stringToPath = require('./_stringToPath'), + toString = require('./toString'); + +/** + * Casts `value` to a path array if it's not one. + * + * @private + * @param {*} value The value to inspect. + * @param {Object} [object] The object to query keys on. + * @returns {Array} Returns the cast property path array. + */ +function castPath(value, object) { + if (isArray(value)) { + return value; + } + return isKey(value, object) ? [value] : stringToPath(toString(value)); +} + +module.exports = castPath; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castRest.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castRest.js" new file mode 100644 index 00000000..213c66f1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castRest.js" @@ -0,0 +1,14 @@ +var baseRest = require('./_baseRest'); + +/** + * A `baseRest` alias which can be replaced with `identity` by module + * replacement plugins. + * + * @private + * @type {Function} + * @param {Function} func The function to apply a rest parameter to. + * @returns {Function} Returns the new function. + */ +var castRest = baseRest; + +module.exports = castRest; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castSlice.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castSlice.js" new file mode 100644 index 00000000..071faeba --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_castSlice.js" @@ -0,0 +1,18 @@ +var baseSlice = require('./_baseSlice'); + +/** + * Casts `array` to a slice if it's needed. + * + * @private + * @param {Array} array The array to inspect. + * @param {number} start The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns the cast slice. + */ +function castSlice(array, start, end) { + var length = array.length; + end = end === undefined ? length : end; + return (!start && end >= length) ? array : baseSlice(array, start, end); +} + +module.exports = castSlice; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_charsEndIndex.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_charsEndIndex.js" new file mode 100644 index 00000000..07908ff3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_charsEndIndex.js" @@ -0,0 +1,19 @@ +var baseIndexOf = require('./_baseIndexOf'); + +/** + * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol + * that is not found in the character symbols. + * + * @private + * @param {Array} strSymbols The string symbols to inspect. + * @param {Array} chrSymbols The character symbols to find. + * @returns {number} Returns the index of the last unmatched string symbol. + */ +function charsEndIndex(strSymbols, chrSymbols) { + var index = strSymbols.length; + + while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} + return index; +} + +module.exports = charsEndIndex; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_charsStartIndex.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_charsStartIndex.js" new file mode 100644 index 00000000..b17afd25 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_charsStartIndex.js" @@ -0,0 +1,20 @@ +var baseIndexOf = require('./_baseIndexOf'); + +/** + * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol + * that is not found in the character symbols. + * + * @private + * @param {Array} strSymbols The string symbols to inspect. + * @param {Array} chrSymbols The character symbols to find. + * @returns {number} Returns the index of the first unmatched string symbol. + */ +function charsStartIndex(strSymbols, chrSymbols) { + var index = -1, + length = strSymbols.length; + + while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} + return index; +} + +module.exports = charsStartIndex; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneArrayBuffer.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneArrayBuffer.js" new file mode 100644 index 00000000..c3d8f6e3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneArrayBuffer.js" @@ -0,0 +1,16 @@ +var Uint8Array = require('./_Uint8Array'); + +/** + * Creates a clone of `arrayBuffer`. + * + * @private + * @param {ArrayBuffer} arrayBuffer The array buffer to clone. + * @returns {ArrayBuffer} Returns the cloned array buffer. + */ +function cloneArrayBuffer(arrayBuffer) { + var result = new arrayBuffer.constructor(arrayBuffer.byteLength); + new Uint8Array(result).set(new Uint8Array(arrayBuffer)); + return result; +} + +module.exports = cloneArrayBuffer; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneBuffer.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneBuffer.js" new file mode 100644 index 00000000..27c48109 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneBuffer.js" @@ -0,0 +1,35 @@ +var root = require('./_root'); + +/** Detect free variable `exports`. */ +var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; + +/** Detect free variable `module`. */ +var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; + +/** Detect the popular CommonJS extension `module.exports`. */ +var moduleExports = freeModule && freeModule.exports === freeExports; + +/** Built-in value references. */ +var Buffer = moduleExports ? root.Buffer : undefined, + allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined; + +/** + * Creates a clone of `buffer`. + * + * @private + * @param {Buffer} buffer The buffer to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Buffer} Returns the cloned buffer. + */ +function cloneBuffer(buffer, isDeep) { + if (isDeep) { + return buffer.slice(); + } + var length = buffer.length, + result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); + + buffer.copy(result); + return result; +} + +module.exports = cloneBuffer; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneDataView.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneDataView.js" new file mode 100644 index 00000000..9c9b7b05 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneDataView.js" @@ -0,0 +1,16 @@ +var cloneArrayBuffer = require('./_cloneArrayBuffer'); + +/** + * Creates a clone of `dataView`. + * + * @private + * @param {Object} dataView The data view to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the cloned data view. + */ +function cloneDataView(dataView, isDeep) { + var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer; + return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength); +} + +module.exports = cloneDataView; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneRegExp.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneRegExp.js" new file mode 100644 index 00000000..64a30dfb --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneRegExp.js" @@ -0,0 +1,17 @@ +/** Used to match `RegExp` flags from their coerced string values. */ +var reFlags = /\w*$/; + +/** + * Creates a clone of `regexp`. + * + * @private + * @param {Object} regexp The regexp to clone. + * @returns {Object} Returns the cloned regexp. + */ +function cloneRegExp(regexp) { + var result = new regexp.constructor(regexp.source, reFlags.exec(regexp)); + result.lastIndex = regexp.lastIndex; + return result; +} + +module.exports = cloneRegExp; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneSymbol.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneSymbol.js" new file mode 100644 index 00000000..bede39f5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneSymbol.js" @@ -0,0 +1,18 @@ +var Symbol = require('./_Symbol'); + +/** Used to convert symbols to primitives and strings. */ +var symbolProto = Symbol ? Symbol.prototype : undefined, + symbolValueOf = symbolProto ? symbolProto.valueOf : undefined; + +/** + * Creates a clone of the `symbol` object. + * + * @private + * @param {Object} symbol The symbol object to clone. + * @returns {Object} Returns the cloned symbol object. + */ +function cloneSymbol(symbol) { + return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {}; +} + +module.exports = cloneSymbol; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneTypedArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneTypedArray.js" new file mode 100644 index 00000000..7aad84d4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_cloneTypedArray.js" @@ -0,0 +1,16 @@ +var cloneArrayBuffer = require('./_cloneArrayBuffer'); + +/** + * Creates a clone of `typedArray`. + * + * @private + * @param {Object} typedArray The typed array to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the cloned typed array. + */ +function cloneTypedArray(typedArray, isDeep) { + var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; + return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); +} + +module.exports = cloneTypedArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_compareAscending.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_compareAscending.js" new file mode 100644 index 00000000..8dc27910 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_compareAscending.js" @@ -0,0 +1,41 @@ +var isSymbol = require('./isSymbol'); + +/** + * Compares values to sort them in ascending order. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {number} Returns the sort order indicator for `value`. + */ +function compareAscending(value, other) { + if (value !== other) { + var valIsDefined = value !== undefined, + valIsNull = value === null, + valIsReflexive = value === value, + valIsSymbol = isSymbol(value); + + var othIsDefined = other !== undefined, + othIsNull = other === null, + othIsReflexive = other === other, + othIsSymbol = isSymbol(other); + + if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) || + (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) || + (valIsNull && othIsDefined && othIsReflexive) || + (!valIsDefined && othIsReflexive) || + !valIsReflexive) { + return 1; + } + if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) || + (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) || + (othIsNull && valIsDefined && valIsReflexive) || + (!othIsDefined && valIsReflexive) || + !othIsReflexive) { + return -1; + } + } + return 0; +} + +module.exports = compareAscending; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_compareMultiple.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_compareMultiple.js" new file mode 100644 index 00000000..ad61f0fb --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_compareMultiple.js" @@ -0,0 +1,44 @@ +var compareAscending = require('./_compareAscending'); + +/** + * Used by `_.orderBy` to compare multiple properties of a value to another + * and stable sort them. + * + * If `orders` is unspecified, all values are sorted in ascending order. Otherwise, + * specify an order of "desc" for descending or "asc" for ascending sort order + * of corresponding values. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {boolean[]|string[]} orders The order to sort by for each property. + * @returns {number} Returns the sort order indicator for `object`. + */ +function compareMultiple(object, other, orders) { + var index = -1, + objCriteria = object.criteria, + othCriteria = other.criteria, + length = objCriteria.length, + ordersLength = orders.length; + + while (++index < length) { + var result = compareAscending(objCriteria[index], othCriteria[index]); + if (result) { + if (index >= ordersLength) { + return result; + } + var order = orders[index]; + return result * (order == 'desc' ? -1 : 1); + } + } + // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications + // that causes it, under certain circumstances, to provide the same value for + // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247 + // for more details. + // + // This also ensures a stable sort in V8 and other engines. + // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details. + return object.index - other.index; +} + +module.exports = compareMultiple; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_composeArgs.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_composeArgs.js" new file mode 100644 index 00000000..1ce40f4f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_composeArgs.js" @@ -0,0 +1,39 @@ +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max; + +/** + * Creates an array that is the composition of partially applied arguments, + * placeholders, and provided arguments into a single array of arguments. + * + * @private + * @param {Array} args The provided arguments. + * @param {Array} partials The arguments to prepend to those provided. + * @param {Array} holders The `partials` placeholder indexes. + * @params {boolean} [isCurried] Specify composing for a curried function. + * @returns {Array} Returns the new array of composed arguments. + */ +function composeArgs(args, partials, holders, isCurried) { + var argsIndex = -1, + argsLength = args.length, + holdersLength = holders.length, + leftIndex = -1, + leftLength = partials.length, + rangeLength = nativeMax(argsLength - holdersLength, 0), + result = Array(leftLength + rangeLength), + isUncurried = !isCurried; + + while (++leftIndex < leftLength) { + result[leftIndex] = partials[leftIndex]; + } + while (++argsIndex < holdersLength) { + if (isUncurried || argsIndex < argsLength) { + result[holders[argsIndex]] = args[argsIndex]; + } + } + while (rangeLength--) { + result[leftIndex++] = args[argsIndex++]; + } + return result; +} + +module.exports = composeArgs; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_composeArgsRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_composeArgsRight.js" new file mode 100644 index 00000000..8dc588d0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_composeArgsRight.js" @@ -0,0 +1,41 @@ +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max; + +/** + * This function is like `composeArgs` except that the arguments composition + * is tailored for `_.partialRight`. + * + * @private + * @param {Array} args The provided arguments. + * @param {Array} partials The arguments to append to those provided. + * @param {Array} holders The `partials` placeholder indexes. + * @params {boolean} [isCurried] Specify composing for a curried function. + * @returns {Array} Returns the new array of composed arguments. + */ +function composeArgsRight(args, partials, holders, isCurried) { + var argsIndex = -1, + argsLength = args.length, + holdersIndex = -1, + holdersLength = holders.length, + rightIndex = -1, + rightLength = partials.length, + rangeLength = nativeMax(argsLength - holdersLength, 0), + result = Array(rangeLength + rightLength), + isUncurried = !isCurried; + + while (++argsIndex < rangeLength) { + result[argsIndex] = args[argsIndex]; + } + var offset = argsIndex; + while (++rightIndex < rightLength) { + result[offset + rightIndex] = partials[rightIndex]; + } + while (++holdersIndex < holdersLength) { + if (isUncurried || argsIndex < argsLength) { + result[offset + holders[holdersIndex]] = args[argsIndex++]; + } + } + return result; +} + +module.exports = composeArgsRight; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copyArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copyArray.js" new file mode 100644 index 00000000..cd94d5d0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copyArray.js" @@ -0,0 +1,20 @@ +/** + * 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, + length = source.length; + + array || (array = Array(length)); + while (++index < length) { + array[index] = source[index]; + } + return array; +} + +module.exports = copyArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copyObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copyObject.js" new file mode 100644 index 00000000..2f2a5c23 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copyObject.js" @@ -0,0 +1,40 @@ +var assignValue = require('./_assignValue'), + baseAssignValue = require('./_baseAssignValue'); + +/** + * 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, + length = props.length; + + while (++index < length) { + var key = props[index]; + + var newValue = customizer + ? customizer(object[key], source[key], key, object, source) + : undefined; + + if (newValue === undefined) { + newValue = source[key]; + } + if (isNew) { + baseAssignValue(object, key, newValue); + } else { + assignValue(object, key, newValue); + } + } + return object; +} + +module.exports = copyObject; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copySymbols.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copySymbols.js" new file mode 100644 index 00000000..c35944ab --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copySymbols.js" @@ -0,0 +1,16 @@ +var copyObject = require('./_copyObject'), + getSymbols = require('./_getSymbols'); + +/** + * Copies own symbols of `source` to `object`. + * + * @private + * @param {Object} source The object to copy symbols from. + * @param {Object} [object={}] The object to copy symbols to. + * @returns {Object} Returns `object`. + */ +function copySymbols(source, object) { + return copyObject(source, getSymbols(source), object); +} + +module.exports = copySymbols; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copySymbolsIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copySymbolsIn.js" new file mode 100644 index 00000000..fdf20a73 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_copySymbolsIn.js" @@ -0,0 +1,16 @@ +var copyObject = require('./_copyObject'), + getSymbolsIn = require('./_getSymbolsIn'); + +/** + * Copies own and inherited symbols of `source` to `object`. + * + * @private + * @param {Object} source The object to copy symbols from. + * @param {Object} [object={}] The object to copy symbols to. + * @returns {Object} Returns `object`. + */ +function copySymbolsIn(source, object) { + return copyObject(source, getSymbolsIn(source), object); +} + +module.exports = copySymbolsIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_coreJsData.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_coreJsData.js" new file mode 100644 index 00000000..f8e5b4e3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_coreJsData.js" @@ -0,0 +1,6 @@ +var root = require('./_root'); + +/** Used to detect overreaching core-js shims. */ +var coreJsData = root['__core-js_shared__']; + +module.exports = coreJsData; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_countHolders.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_countHolders.js" new file mode 100644 index 00000000..718fcdaa --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_countHolders.js" @@ -0,0 +1,21 @@ +/** + * Gets the number of `placeholder` occurrences in `array`. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} placeholder The placeholder to search for. + * @returns {number} Returns the placeholder count. + */ +function countHolders(array, placeholder) { + var length = array.length, + result = 0; + + while (length--) { + if (array[length] === placeholder) { + ++result; + } + } + return result; +} + +module.exports = countHolders; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createAggregator.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createAggregator.js" new file mode 100644 index 00000000..0be42c41 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createAggregator.js" @@ -0,0 +1,23 @@ +var arrayAggregator = require('./_arrayAggregator'), + baseAggregator = require('./_baseAggregator'), + baseIteratee = require('./_baseIteratee'), + isArray = require('./isArray'); + +/** + * Creates a function like `_.groupBy`. + * + * @private + * @param {Function} setter The function to set accumulator values. + * @param {Function} [initializer] The accumulator object initializer. + * @returns {Function} Returns the new aggregator function. + */ +function createAggregator(setter, initializer) { + return function(collection, iteratee) { + var func = isArray(collection) ? arrayAggregator : baseAggregator, + accumulator = initializer ? initializer() : {}; + + return func(collection, setter, baseIteratee(iteratee, 2), accumulator); + }; +} + +module.exports = createAggregator; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createAssigner.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createAssigner.js" new file mode 100644 index 00000000..1f904c51 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createAssigner.js" @@ -0,0 +1,37 @@ +var baseRest = require('./_baseRest'), + isIterateeCall = require('./_isIterateeCall'); + +/** + * Creates a function like `_.assign`. + * + * @private + * @param {Function} assigner The function to assign values. + * @returns {Function} Returns the new assigner function. + */ +function createAssigner(assigner) { + return baseRest(function(object, sources) { + var index = -1, + length = sources.length, + customizer = length > 1 ? sources[length - 1] : undefined, + guard = length > 2 ? sources[2] : undefined; + + customizer = (assigner.length > 3 && typeof customizer == 'function') + ? (length--, customizer) + : undefined; + + if (guard && isIterateeCall(sources[0], sources[1], guard)) { + customizer = length < 3 ? undefined : customizer; + length = 1; + } + object = Object(object); + while (++index < length) { + var source = sources[index]; + if (source) { + assigner(object, source, index, customizer); + } + } + return object; + }); +} + +module.exports = createAssigner; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createBaseEach.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createBaseEach.js" new file mode 100644 index 00000000..d24fdd1b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createBaseEach.js" @@ -0,0 +1,32 @@ +var isArrayLike = require('./isArrayLike'); + +/** + * Creates a `baseEach` or `baseEachRight` function. + * + * @private + * @param {Function} eachFunc The function to iterate over a collection. + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new base function. + */ +function createBaseEach(eachFunc, fromRight) { + return function(collection, iteratee) { + if (collection == null) { + return collection; + } + if (!isArrayLike(collection)) { + return eachFunc(collection, iteratee); + } + var length = collection.length, + index = fromRight ? length : -1, + iterable = Object(collection); + + while ((fromRight ? index-- : ++index < length)) { + if (iteratee(iterable[index], index, iterable) === false) { + break; + } + } + return collection; + }; +} + +module.exports = createBaseEach; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createBaseFor.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createBaseFor.js" new file mode 100644 index 00000000..94cbf297 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createBaseFor.js" @@ -0,0 +1,25 @@ +/** + * Creates a base function for methods like `_.forIn` and `_.forOwn`. + * + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new base function. + */ +function createBaseFor(fromRight) { + return function(object, iteratee, keysFunc) { + var index = -1, + iterable = Object(object), + props = keysFunc(object), + length = props.length; + + while (length--) { + var key = props[fromRight ? length : ++index]; + if (iteratee(iterable[key], key, iterable) === false) { + break; + } + } + return object; + }; +} + +module.exports = createBaseFor; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createBind.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createBind.js" new file mode 100644 index 00000000..07cb99f4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createBind.js" @@ -0,0 +1,28 @@ +var createCtor = require('./_createCtor'), + root = require('./_root'); + +/** Used to compose bitmasks for function metadata. */ +var WRAP_BIND_FLAG = 1; + +/** + * Creates a function that wraps `func` to invoke it with the optional `this` + * binding of `thisArg`. + * + * @private + * @param {Function} func The function to wrap. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @param {*} [thisArg] The `this` binding of `func`. + * @returns {Function} Returns the new wrapped function. + */ +function createBind(func, bitmask, thisArg) { + var isBind = bitmask & WRAP_BIND_FLAG, + Ctor = createCtor(func); + + function wrapper() { + var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; + return fn.apply(isBind ? thisArg : this, arguments); + } + return wrapper; +} + +module.exports = createBind; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCaseFirst.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCaseFirst.js" new file mode 100644 index 00000000..fe8ea483 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCaseFirst.js" @@ -0,0 +1,33 @@ +var castSlice = require('./_castSlice'), + hasUnicode = require('./_hasUnicode'), + stringToArray = require('./_stringToArray'), + toString = require('./toString'); + +/** + * Creates a function like `_.lowerFirst`. + * + * @private + * @param {string} methodName The name of the `String` case method to use. + * @returns {Function} Returns the new case function. + */ +function createCaseFirst(methodName) { + return function(string) { + string = toString(string); + + var strSymbols = hasUnicode(string) + ? stringToArray(string) + : undefined; + + var chr = strSymbols + ? strSymbols[0] + : string.charAt(0); + + var trailing = strSymbols + ? castSlice(strSymbols, 1).join('') + : string.slice(1); + + return chr[methodName]() + trailing; + }; +} + +module.exports = createCaseFirst; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCompounder.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCompounder.js" new file mode 100644 index 00000000..8d4cee2c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCompounder.js" @@ -0,0 +1,24 @@ +var arrayReduce = require('./_arrayReduce'), + deburr = require('./deburr'), + words = require('./words'); + +/** Used to compose unicode capture groups. */ +var rsApos = "['\u2019]"; + +/** Used to match apostrophes. */ +var reApos = RegExp(rsApos, 'g'); + +/** + * Creates a function like `_.camelCase`. + * + * @private + * @param {Function} callback The function to combine each word. + * @returns {Function} Returns the new compounder function. + */ +function createCompounder(callback) { + return function(string) { + return arrayReduce(words(deburr(string).replace(reApos, '')), callback, ''); + }; +} + +module.exports = createCompounder; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCtor.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCtor.js" new file mode 100644 index 00000000..9047aa5f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCtor.js" @@ -0,0 +1,37 @@ +var baseCreate = require('./_baseCreate'), + isObject = require('./isObject'); + +/** + * Creates a function that produces an instance of `Ctor` regardless of + * whether it was invoked as part of a `new` expression or by `call` or `apply`. + * + * @private + * @param {Function} Ctor The constructor to wrap. + * @returns {Function} Returns the new wrapped function. + */ +function createCtor(Ctor) { + return function() { + // Use a `switch` statement to work with class constructors. See + // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist + // for more details. + var args = arguments; + switch (args.length) { + case 0: return new Ctor; + case 1: return new Ctor(args[0]); + case 2: return new Ctor(args[0], args[1]); + case 3: return new Ctor(args[0], args[1], args[2]); + case 4: return new Ctor(args[0], args[1], args[2], args[3]); + case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]); + case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]); + case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]); + } + var thisBinding = baseCreate(Ctor.prototype), + result = Ctor.apply(thisBinding, args); + + // Mimic the constructor's `return` behavior. + // See https://es5.github.io/#x13.2.2 for more details. + return isObject(result) ? result : thisBinding; + }; +} + +module.exports = createCtor; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCurry.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCurry.js" new file mode 100644 index 00000000..f06c2cdd --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createCurry.js" @@ -0,0 +1,46 @@ +var apply = require('./_apply'), + createCtor = require('./_createCtor'), + createHybrid = require('./_createHybrid'), + createRecurry = require('./_createRecurry'), + getHolder = require('./_getHolder'), + replaceHolders = require('./_replaceHolders'), + root = require('./_root'); + +/** + * Creates a function that wraps `func` to enable currying. + * + * @private + * @param {Function} func The function to wrap. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @param {number} arity The arity of `func`. + * @returns {Function} Returns the new wrapped function. + */ +function createCurry(func, bitmask, arity) { + var Ctor = createCtor(func); + + function wrapper() { + var length = arguments.length, + args = Array(length), + index = length, + placeholder = getHolder(wrapper); + + while (index--) { + args[index] = arguments[index]; + } + var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder) + ? [] + : replaceHolders(args, placeholder); + + length -= holders.length; + if (length < arity) { + return createRecurry( + func, bitmask, createHybrid, wrapper.placeholder, undefined, + args, holders, undefined, undefined, arity - length); + } + var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; + return apply(fn, this, args); + } + return wrapper; +} + +module.exports = createCurry; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createFind.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createFind.js" new file mode 100644 index 00000000..8859ff89 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createFind.js" @@ -0,0 +1,25 @@ +var baseIteratee = require('./_baseIteratee'), + isArrayLike = require('./isArrayLike'), + keys = require('./keys'); + +/** + * Creates a `_.find` or `_.findLast` function. + * + * @private + * @param {Function} findIndexFunc The function to find the collection index. + * @returns {Function} Returns the new find function. + */ +function createFind(findIndexFunc) { + return function(collection, predicate, fromIndex) { + var iterable = Object(collection); + if (!isArrayLike(collection)) { + var iteratee = baseIteratee(predicate, 3); + collection = keys(collection); + predicate = function(key) { return iteratee(iterable[key], key, iterable); }; + } + var index = findIndexFunc(collection, predicate, fromIndex); + return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined; + }; +} + +module.exports = createFind; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createFlow.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createFlow.js" new file mode 100644 index 00000000..baaddbf5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createFlow.js" @@ -0,0 +1,78 @@ +var LodashWrapper = require('./_LodashWrapper'), + flatRest = require('./_flatRest'), + getData = require('./_getData'), + getFuncName = require('./_getFuncName'), + isArray = require('./isArray'), + isLaziable = require('./_isLaziable'); + +/** Error message constants. */ +var FUNC_ERROR_TEXT = 'Expected a function'; + +/** Used to compose bitmasks for function metadata. */ +var WRAP_CURRY_FLAG = 8, + WRAP_PARTIAL_FLAG = 32, + WRAP_ARY_FLAG = 128, + WRAP_REARG_FLAG = 256; + +/** + * Creates a `_.flow` or `_.flowRight` function. + * + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new flow function. + */ +function createFlow(fromRight) { + return flatRest(function(funcs) { + var length = funcs.length, + index = length, + prereq = LodashWrapper.prototype.thru; + + if (fromRight) { + funcs.reverse(); + } + while (index--) { + var func = funcs[index]; + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + if (prereq && !wrapper && getFuncName(func) == 'wrapper') { + var wrapper = new LodashWrapper([], true); + } + } + index = wrapper ? index : length; + while (++index < length) { + func = funcs[index]; + + var funcName = getFuncName(func), + data = funcName == 'wrapper' ? getData(func) : undefined; + + if (data && isLaziable(data[0]) && + data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && + !data[4].length && data[9] == 1 + ) { + wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]); + } else { + wrapper = (func.length == 1 && isLaziable(func)) + ? wrapper[funcName]() + : wrapper.thru(func); + } + } + return function() { + var args = arguments, + value = args[0]; + + if (wrapper && args.length == 1 && isArray(value)) { + return wrapper.plant(value).value(); + } + var index = 0, + result = length ? funcs[index].apply(this, args) : value; + + while (++index < length) { + result = funcs[index].call(this, result); + } + return result; + }; + }); +} + +module.exports = createFlow; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createHybrid.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createHybrid.js" new file mode 100644 index 00000000..b671bd11 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createHybrid.js" @@ -0,0 +1,92 @@ +var composeArgs = require('./_composeArgs'), + composeArgsRight = require('./_composeArgsRight'), + countHolders = require('./_countHolders'), + createCtor = require('./_createCtor'), + createRecurry = require('./_createRecurry'), + getHolder = require('./_getHolder'), + reorder = require('./_reorder'), + replaceHolders = require('./_replaceHolders'), + root = require('./_root'); + +/** Used to compose bitmasks for function metadata. */ +var WRAP_BIND_FLAG = 1, + WRAP_BIND_KEY_FLAG = 2, + WRAP_CURRY_FLAG = 8, + WRAP_CURRY_RIGHT_FLAG = 16, + WRAP_ARY_FLAG = 128, + WRAP_FLIP_FLAG = 512; + +/** + * Creates a function that wraps `func` to invoke it with optional `this` + * binding of `thisArg`, partial application, and currying. + * + * @private + * @param {Function|string} func The function or method name to wrap. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @param {*} [thisArg] The `this` binding of `func`. + * @param {Array} [partials] The arguments to prepend to those provided to + * the new function. + * @param {Array} [holders] The `partials` placeholder indexes. + * @param {Array} [partialsRight] The arguments to append to those provided + * to the new function. + * @param {Array} [holdersRight] The `partialsRight` placeholder indexes. + * @param {Array} [argPos] The argument positions of the new function. + * @param {number} [ary] The arity cap of `func`. + * @param {number} [arity] The arity of `func`. + * @returns {Function} Returns the new wrapped function. + */ +function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) { + var isAry = bitmask & WRAP_ARY_FLAG, + isBind = bitmask & WRAP_BIND_FLAG, + isBindKey = bitmask & WRAP_BIND_KEY_FLAG, + isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG), + isFlip = bitmask & WRAP_FLIP_FLAG, + Ctor = isBindKey ? undefined : createCtor(func); + + function wrapper() { + var length = arguments.length, + args = Array(length), + index = length; + + while (index--) { + args[index] = arguments[index]; + } + if (isCurried) { + var placeholder = getHolder(wrapper), + holdersCount = countHolders(args, placeholder); + } + if (partials) { + args = composeArgs(args, partials, holders, isCurried); + } + if (partialsRight) { + args = composeArgsRight(args, partialsRight, holdersRight, isCurried); + } + length -= holdersCount; + if (isCurried && length < arity) { + var newHolders = replaceHolders(args, placeholder); + return createRecurry( + func, bitmask, createHybrid, wrapper.placeholder, thisArg, + args, newHolders, argPos, ary, arity - length + ); + } + var thisBinding = isBind ? thisArg : this, + fn = isBindKey ? thisBinding[func] : func; + + length = args.length; + if (argPos) { + args = reorder(args, argPos); + } else if (isFlip && length > 1) { + args.reverse(); + } + if (isAry && ary < length) { + args.length = ary; + } + if (this && this !== root && this instanceof wrapper) { + fn = Ctor || createCtor(fn); + } + return fn.apply(thisBinding, args); + } + return wrapper; +} + +module.exports = createHybrid; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createInverter.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createInverter.js" new file mode 100644 index 00000000..6c0c5629 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createInverter.js" @@ -0,0 +1,17 @@ +var baseInverter = require('./_baseInverter'); + +/** + * Creates a function like `_.invertBy`. + * + * @private + * @param {Function} setter The function to set accumulator values. + * @param {Function} toIteratee The function to resolve iteratees. + * @returns {Function} Returns the new inverter function. + */ +function createInverter(setter, toIteratee) { + return function(object, iteratee) { + return baseInverter(object, setter, toIteratee(iteratee), {}); + }; +} + +module.exports = createInverter; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createMathOperation.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createMathOperation.js" new file mode 100644 index 00000000..f1e238ac --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createMathOperation.js" @@ -0,0 +1,38 @@ +var baseToNumber = require('./_baseToNumber'), + baseToString = require('./_baseToString'); + +/** + * Creates a function that performs a mathematical operation on two values. + * + * @private + * @param {Function} operator The function to perform the operation. + * @param {number} [defaultValue] The value used for `undefined` arguments. + * @returns {Function} Returns the new mathematical operation function. + */ +function createMathOperation(operator, defaultValue) { + return function(value, other) { + var result; + if (value === undefined && other === undefined) { + return defaultValue; + } + if (value !== undefined) { + result = value; + } + if (other !== undefined) { + if (result === undefined) { + return other; + } + if (typeof value == 'string' || typeof other == 'string') { + value = baseToString(value); + other = baseToString(other); + } else { + value = baseToNumber(value); + other = baseToNumber(other); + } + result = operator(value, other); + } + return result; + }; +} + +module.exports = createMathOperation; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createOver.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createOver.js" new file mode 100644 index 00000000..3b945516 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createOver.js" @@ -0,0 +1,27 @@ +var apply = require('./_apply'), + arrayMap = require('./_arrayMap'), + baseIteratee = require('./_baseIteratee'), + baseRest = require('./_baseRest'), + baseUnary = require('./_baseUnary'), + flatRest = require('./_flatRest'); + +/** + * Creates a function like `_.over`. + * + * @private + * @param {Function} arrayFunc The function to iterate over iteratees. + * @returns {Function} Returns the new over function. + */ +function createOver(arrayFunc) { + return flatRest(function(iteratees) { + iteratees = arrayMap(iteratees, baseUnary(baseIteratee)); + return baseRest(function(args) { + var thisArg = this; + return arrayFunc(iteratees, function(iteratee) { + return apply(iteratee, thisArg, args); + }); + }); + }); +} + +module.exports = createOver; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createPadding.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createPadding.js" new file mode 100644 index 00000000..2124612b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createPadding.js" @@ -0,0 +1,33 @@ +var baseRepeat = require('./_baseRepeat'), + baseToString = require('./_baseToString'), + castSlice = require('./_castSlice'), + hasUnicode = require('./_hasUnicode'), + stringSize = require('./_stringSize'), + stringToArray = require('./_stringToArray'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeCeil = Math.ceil; + +/** + * Creates the padding for `string` based on `length`. The `chars` string + * is truncated if the number of characters exceeds `length`. + * + * @private + * @param {number} length The padding length. + * @param {string} [chars=' '] The string used as padding. + * @returns {string} Returns the padding for `string`. + */ +function createPadding(length, chars) { + chars = chars === undefined ? ' ' : baseToString(chars); + + var charsLength = chars.length; + if (charsLength < 2) { + return charsLength ? baseRepeat(chars, length) : chars; + } + var result = baseRepeat(chars, nativeCeil(length / stringSize(chars))); + return hasUnicode(chars) + ? castSlice(stringToArray(result), 0, length).join('') + : result.slice(0, length); +} + +module.exports = createPadding; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createPartial.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createPartial.js" new file mode 100644 index 00000000..e16c248b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createPartial.js" @@ -0,0 +1,43 @@ +var apply = require('./_apply'), + createCtor = require('./_createCtor'), + root = require('./_root'); + +/** Used to compose bitmasks for function metadata. */ +var WRAP_BIND_FLAG = 1; + +/** + * Creates a function that wraps `func` to invoke it with the `this` binding + * of `thisArg` and `partials` prepended to the arguments it receives. + * + * @private + * @param {Function} func The function to wrap. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @param {*} thisArg The `this` binding of `func`. + * @param {Array} partials The arguments to prepend to those provided to + * the new function. + * @returns {Function} Returns the new wrapped function. + */ +function createPartial(func, bitmask, thisArg, partials) { + var isBind = bitmask & WRAP_BIND_FLAG, + Ctor = createCtor(func); + + function wrapper() { + var argsIndex = -1, + argsLength = arguments.length, + leftIndex = -1, + leftLength = partials.length, + args = Array(leftLength + argsLength), + fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; + + while (++leftIndex < leftLength) { + args[leftIndex] = partials[leftIndex]; + } + while (argsLength--) { + args[leftIndex++] = arguments[++argsIndex]; + } + return apply(fn, isBind ? thisArg : this, args); + } + return wrapper; +} + +module.exports = createPartial; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRange.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRange.js" new file mode 100644 index 00000000..9f52c779 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRange.js" @@ -0,0 +1,30 @@ +var baseRange = require('./_baseRange'), + isIterateeCall = require('./_isIterateeCall'), + toFinite = require('./toFinite'); + +/** + * Creates a `_.range` or `_.rangeRight` function. + * + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new range function. + */ +function createRange(fromRight) { + return function(start, end, step) { + if (step && typeof step != 'number' && isIterateeCall(start, end, step)) { + end = step = undefined; + } + // Ensure the sign of `-0` is preserved. + start = toFinite(start); + if (end === undefined) { + end = start; + start = 0; + } else { + end = toFinite(end); + } + step = step === undefined ? (start < end ? 1 : -1) : toFinite(step); + return baseRange(start, end, step, fromRight); + }; +} + +module.exports = createRange; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRecurry.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRecurry.js" new file mode 100644 index 00000000..eb29fb24 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRecurry.js" @@ -0,0 +1,56 @@ +var isLaziable = require('./_isLaziable'), + setData = require('./_setData'), + setWrapToString = require('./_setWrapToString'); + +/** Used to compose bitmasks for function metadata. */ +var WRAP_BIND_FLAG = 1, + WRAP_BIND_KEY_FLAG = 2, + WRAP_CURRY_BOUND_FLAG = 4, + WRAP_CURRY_FLAG = 8, + WRAP_PARTIAL_FLAG = 32, + WRAP_PARTIAL_RIGHT_FLAG = 64; + +/** + * Creates a function that wraps `func` to continue currying. + * + * @private + * @param {Function} func The function to wrap. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @param {Function} wrapFunc The function to create the `func` wrapper. + * @param {*} placeholder The placeholder value. + * @param {*} [thisArg] The `this` binding of `func`. + * @param {Array} [partials] The arguments to prepend to those provided to + * the new function. + * @param {Array} [holders] The `partials` placeholder indexes. + * @param {Array} [argPos] The argument positions of the new function. + * @param {number} [ary] The arity cap of `func`. + * @param {number} [arity] The arity of `func`. + * @returns {Function} Returns the new wrapped function. + */ +function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) { + var isCurry = bitmask & WRAP_CURRY_FLAG, + newHolders = isCurry ? holders : undefined, + newHoldersRight = isCurry ? undefined : holders, + newPartials = isCurry ? partials : undefined, + newPartialsRight = isCurry ? undefined : partials; + + bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG); + bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG); + + if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) { + bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG); + } + var newData = [ + func, bitmask, thisArg, newPartials, newHolders, newPartialsRight, + newHoldersRight, argPos, ary, arity + ]; + + var result = wrapFunc.apply(undefined, newData); + if (isLaziable(func)) { + setData(result, newData); + } + result.placeholder = placeholder; + return setWrapToString(result, func, bitmask); +} + +module.exports = createRecurry; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRelationalOperation.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRelationalOperation.js" new file mode 100644 index 00000000..a17c6b5e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRelationalOperation.js" @@ -0,0 +1,20 @@ +var toNumber = require('./toNumber'); + +/** + * Creates a function that performs a relational operation on two values. + * + * @private + * @param {Function} operator The function to perform the operation. + * @returns {Function} Returns the new relational operation function. + */ +function createRelationalOperation(operator) { + return function(value, other) { + if (!(typeof value == 'string' && typeof other == 'string')) { + value = toNumber(value); + other = toNumber(other); + } + return operator(value, other); + }; +} + +module.exports = createRelationalOperation; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRound.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRound.js" new file mode 100644 index 00000000..88be5df3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createRound.js" @@ -0,0 +1,35 @@ +var root = require('./_root'), + toInteger = require('./toInteger'), + toNumber = require('./toNumber'), + toString = require('./toString'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeIsFinite = root.isFinite, + nativeMin = Math.min; + +/** + * Creates a function like `_.round`. + * + * @private + * @param {string} methodName The name of the `Math` method to use when rounding. + * @returns {Function} Returns the new round function. + */ +function createRound(methodName) { + var func = Math[methodName]; + return function(number, precision) { + number = toNumber(number); + precision = precision == null ? 0 : nativeMin(toInteger(precision), 292); + if (precision && nativeIsFinite(number)) { + // Shift with exponential notation to avoid floating-point issues. + // See [MDN](https://mdn.io/round#Examples) for more details. + var pair = (toString(number) + 'e').split('e'), + value = func(pair[0] + 'e' + (+pair[1] + precision)); + + pair = (toString(value) + 'e').split('e'); + return +(pair[0] + 'e' + (+pair[1] - precision)); + } + return func(number); + }; +} + +module.exports = createRound; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createSet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createSet.js" new file mode 100644 index 00000000..0f644eea --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createSet.js" @@ -0,0 +1,19 @@ +var Set = require('./_Set'), + noop = require('./noop'), + setToArray = require('./_setToArray'); + +/** Used as references for various `Number` constants. */ +var INFINITY = 1 / 0; + +/** + * Creates a set object of `values`. + * + * @private + * @param {Array} values The values to add to the set. + * @returns {Object} Returns the new set. + */ +var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) { + return new Set(values); +}; + +module.exports = createSet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createToPairs.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createToPairs.js" new file mode 100644 index 00000000..568417af --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createToPairs.js" @@ -0,0 +1,30 @@ +var baseToPairs = require('./_baseToPairs'), + getTag = require('./_getTag'), + mapToArray = require('./_mapToArray'), + setToPairs = require('./_setToPairs'); + +/** `Object#toString` result references. */ +var mapTag = '[object Map]', + setTag = '[object Set]'; + +/** + * Creates a `_.toPairs` or `_.toPairsIn` function. + * + * @private + * @param {Function} keysFunc The function to get the keys of a given object. + * @returns {Function} Returns the new pairs function. + */ +function createToPairs(keysFunc) { + return function(object) { + var tag = getTag(object); + if (tag == mapTag) { + return mapToArray(object); + } + if (tag == setTag) { + return setToPairs(object); + } + return baseToPairs(object, keysFunc(object)); + }; +} + +module.exports = createToPairs; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createWrap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createWrap.js" new file mode 100644 index 00000000..33f0633e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_createWrap.js" @@ -0,0 +1,106 @@ +var baseSetData = require('./_baseSetData'), + createBind = require('./_createBind'), + createCurry = require('./_createCurry'), + createHybrid = require('./_createHybrid'), + createPartial = require('./_createPartial'), + getData = require('./_getData'), + mergeData = require('./_mergeData'), + setData = require('./_setData'), + setWrapToString = require('./_setWrapToString'), + toInteger = require('./toInteger'); + +/** Error message constants. */ +var FUNC_ERROR_TEXT = 'Expected a function'; + +/** Used to compose bitmasks for function metadata. */ +var WRAP_BIND_FLAG = 1, + WRAP_BIND_KEY_FLAG = 2, + WRAP_CURRY_FLAG = 8, + WRAP_CURRY_RIGHT_FLAG = 16, + WRAP_PARTIAL_FLAG = 32, + WRAP_PARTIAL_RIGHT_FLAG = 64; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max; + +/** + * Creates a function that either curries or invokes `func` with optional + * `this` binding and partially applied arguments. + * + * @private + * @param {Function|string} func The function or method name to wrap. + * @param {number} bitmask The bitmask flags. + * 1 - `_.bind` + * 2 - `_.bindKey` + * 4 - `_.curry` or `_.curryRight` of a bound function + * 8 - `_.curry` + * 16 - `_.curryRight` + * 32 - `_.partial` + * 64 - `_.partialRight` + * 128 - `_.rearg` + * 256 - `_.ary` + * 512 - `_.flip` + * @param {*} [thisArg] The `this` binding of `func`. + * @param {Array} [partials] The arguments to be partially applied. + * @param {Array} [holders] The `partials` placeholder indexes. + * @param {Array} [argPos] The argument positions of the new function. + * @param {number} [ary] The arity cap of `func`. + * @param {number} [arity] The arity of `func`. + * @returns {Function} Returns the new wrapped function. + */ +function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) { + var isBindKey = bitmask & WRAP_BIND_KEY_FLAG; + if (!isBindKey && typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + var length = partials ? partials.length : 0; + if (!length) { + bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG); + partials = holders = undefined; + } + ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0); + arity = arity === undefined ? arity : toInteger(arity); + length -= holders ? holders.length : 0; + + if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) { + var partialsRight = partials, + holdersRight = holders; + + partials = holders = undefined; + } + var data = isBindKey ? undefined : getData(func); + + var newData = [ + func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, + argPos, ary, arity + ]; + + if (data) { + mergeData(newData, data); + } + func = newData[0]; + bitmask = newData[1]; + thisArg = newData[2]; + partials = newData[3]; + holders = newData[4]; + arity = newData[9] = newData[9] === undefined + ? (isBindKey ? 0 : func.length) + : nativeMax(newData[9] - length, 0); + + if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) { + bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG); + } + if (!bitmask || bitmask == WRAP_BIND_FLAG) { + var result = createBind(func, bitmask, thisArg); + } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) { + result = createCurry(func, bitmask, arity); + } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) { + result = createPartial(func, bitmask, thisArg, partials); + } else { + result = createHybrid.apply(undefined, newData); + } + var setter = data ? baseSetData : setData; + return setWrapToString(setter(result, newData), func, bitmask); +} + +module.exports = createWrap; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_customDefaultsAssignIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_customDefaultsAssignIn.js" new file mode 100644 index 00000000..1f49e6fc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_customDefaultsAssignIn.js" @@ -0,0 +1,29 @@ +var eq = require('./eq'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Used by `_.defaults` to customize its `_.assignIn` use to assign properties + * of source objects to the destination object for all destination properties + * that resolve to `undefined`. + * + * @private + * @param {*} objValue The destination value. + * @param {*} srcValue The source value. + * @param {string} key The key of the property to assign. + * @param {Object} object The parent object of `objValue`. + * @returns {*} Returns the value to assign. + */ +function customDefaultsAssignIn(objValue, srcValue, key, object) { + if (objValue === undefined || + (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) { + return srcValue; + } + return objValue; +} + +module.exports = customDefaultsAssignIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_customDefaultsMerge.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_customDefaultsMerge.js" new file mode 100644 index 00000000..4cab3175 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_customDefaultsMerge.js" @@ -0,0 +1,28 @@ +var baseMerge = require('./_baseMerge'), + isObject = require('./isObject'); + +/** + * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source + * objects into destination objects that are passed thru. + * + * @private + * @param {*} objValue The destination value. + * @param {*} srcValue The source value. + * @param {string} key The key of the property to merge. + * @param {Object} object The parent object of `objValue`. + * @param {Object} source The parent object of `srcValue`. + * @param {Object} [stack] Tracks traversed source values and their merged + * counterparts. + * @returns {*} Returns the value to assign. + */ +function customDefaultsMerge(objValue, srcValue, key, object, source, stack) { + if (isObject(objValue) && isObject(srcValue)) { + // Recursively merge objects and arrays (susceptible to call stack limits). + stack.set(srcValue, objValue); + baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack); + stack['delete'](srcValue); + } + return objValue; +} + +module.exports = customDefaultsMerge; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_customOmitClone.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_customOmitClone.js" new file mode 100644 index 00000000..968db2ef --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_customOmitClone.js" @@ -0,0 +1,16 @@ +var isPlainObject = require('./isPlainObject'); + +/** + * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain + * objects. + * + * @private + * @param {*} value The value to inspect. + * @param {string} key The key of the property to inspect. + * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`. + */ +function customOmitClone(value) { + return isPlainObject(value) ? undefined : value; +} + +module.exports = customOmitClone; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_deburrLetter.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_deburrLetter.js" new file mode 100644 index 00000000..3e531edc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_deburrLetter.js" @@ -0,0 +1,71 @@ +var basePropertyOf = require('./_basePropertyOf'); + +/** Used to map Latin Unicode letters to basic Latin letters. */ +var deburredLetters = { + // Latin-1 Supplement block. + '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A', + '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a', + '\xc7': 'C', '\xe7': 'c', + '\xd0': 'D', '\xf0': 'd', + '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E', + '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e', + '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I', + '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i', + '\xd1': 'N', '\xf1': 'n', + '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O', + '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o', + '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U', + '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u', + '\xdd': 'Y', '\xfd': 'y', '\xff': 'y', + '\xc6': 'Ae', '\xe6': 'ae', + '\xde': 'Th', '\xfe': 'th', + '\xdf': 'ss', + // Latin Extended-A block. + '\u0100': 'A', '\u0102': 'A', '\u0104': 'A', + '\u0101': 'a', '\u0103': 'a', '\u0105': 'a', + '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C', + '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c', + '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd', + '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E', + '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e', + '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G', + '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g', + '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h', + '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I', + '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i', + '\u0134': 'J', '\u0135': 'j', + '\u0136': 'K', '\u0137': 'k', '\u0138': 'k', + '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L', + '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l', + '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N', + '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n', + '\u014c': 'O', '\u014e': 'O', '\u0150': 'O', + '\u014d': 'o', '\u014f': 'o', '\u0151': 'o', + '\u0154': 'R', '\u0156': 'R', '\u0158': 'R', + '\u0155': 'r', '\u0157': 'r', '\u0159': 'r', + '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S', + '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's', + '\u0162': 'T', '\u0164': 'T', '\u0166': 'T', + '\u0163': 't', '\u0165': 't', '\u0167': 't', + '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U', + '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u', + '\u0174': 'W', '\u0175': 'w', + '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y', + '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z', + '\u017a': 'z', '\u017c': 'z', '\u017e': 'z', + '\u0132': 'IJ', '\u0133': 'ij', + '\u0152': 'Oe', '\u0153': 'oe', + '\u0149': "'n", '\u017f': 's' +}; + +/** + * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A + * letters to basic Latin letters. + * + * @private + * @param {string} letter The matched letter to deburr. + * @returns {string} Returns the deburred letter. + */ +var deburrLetter = basePropertyOf(deburredLetters); + +module.exports = deburrLetter; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_defineProperty.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_defineProperty.js" new file mode 100644 index 00000000..b6116d92 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_defineProperty.js" @@ -0,0 +1,11 @@ +var getNative = require('./_getNative'); + +var defineProperty = (function() { + try { + var func = getNative(Object, 'defineProperty'); + func({}, '', {}); + return func; + } catch (e) {} +}()); + +module.exports = defineProperty; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_equalArrays.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_equalArrays.js" new file mode 100644 index 00000000..824228c7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_equalArrays.js" @@ -0,0 +1,84 @@ +var SetCache = require('./_SetCache'), + arraySome = require('./_arraySome'), + cacheHas = require('./_cacheHas'); + +/** Used to compose bitmasks for value comparisons. */ +var COMPARE_PARTIAL_FLAG = 1, + COMPARE_UNORDERED_FLAG = 2; + +/** + * A specialized version of `baseIsEqualDeep` for arrays with support for + * partial deep comparisons. + * + * @private + * @param {Array} array The array to compare. + * @param {Array} other The other array to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} stack Tracks traversed `array` and `other` objects. + * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. + */ +function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { + var isPartial = bitmask & COMPARE_PARTIAL_FLAG, + arrLength = array.length, + othLength = other.length; + + if (arrLength != othLength && !(isPartial && othLength > arrLength)) { + return false; + } + // Check that cyclic values are equal. + var arrStacked = stack.get(array); + var othStacked = stack.get(other); + if (arrStacked && othStacked) { + return arrStacked == other && othStacked == array; + } + var index = -1, + result = true, + seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined; + + stack.set(array, other); + stack.set(other, array); + + // Ignore non-index properties. + while (++index < arrLength) { + var arrValue = array[index], + othValue = other[index]; + + if (customizer) { + var compared = isPartial + ? customizer(othValue, arrValue, index, other, array, stack) + : customizer(arrValue, othValue, index, array, other, stack); + } + if (compared !== undefined) { + if (compared) { + continue; + } + result = false; + break; + } + // Recursively compare arrays (susceptible to call stack limits). + if (seen) { + if (!arraySome(other, function(othValue, othIndex) { + if (!cacheHas(seen, othIndex) && + (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { + return seen.push(othIndex); + } + })) { + result = false; + break; + } + } else if (!( + arrValue === othValue || + equalFunc(arrValue, othValue, bitmask, customizer, stack) + )) { + result = false; + break; + } + } + stack['delete'](array); + stack['delete'](other); + return result; +} + +module.exports = equalArrays; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_equalByTag.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_equalByTag.js" new file mode 100644 index 00000000..71919e86 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_equalByTag.js" @@ -0,0 +1,112 @@ +var Symbol = require('./_Symbol'), + Uint8Array = require('./_Uint8Array'), + eq = require('./eq'), + equalArrays = require('./_equalArrays'), + mapToArray = require('./_mapToArray'), + setToArray = require('./_setToArray'); + +/** Used to compose bitmasks for value comparisons. */ +var COMPARE_PARTIAL_FLAG = 1, + COMPARE_UNORDERED_FLAG = 2; + +/** `Object#toString` result references. */ +var boolTag = '[object Boolean]', + dateTag = '[object Date]', + errorTag = '[object Error]', + mapTag = '[object Map]', + numberTag = '[object Number]', + regexpTag = '[object RegExp]', + setTag = '[object Set]', + stringTag = '[object String]', + symbolTag = '[object Symbol]'; + +var arrayBufferTag = '[object ArrayBuffer]', + dataViewTag = '[object DataView]'; + +/** Used to convert symbols to primitives and strings. */ +var symbolProto = Symbol ? Symbol.prototype : undefined, + symbolValueOf = symbolProto ? symbolProto.valueOf : undefined; + +/** + * A specialized version of `baseIsEqualDeep` for comparing objects of + * the same `toStringTag`. + * + * **Note:** This function only supports comparing values with tags of + * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {string} tag The `toStringTag` of the objects to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} stack Tracks traversed `object` and `other` objects. + * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. + */ +function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { + switch (tag) { + case dataViewTag: + if ((object.byteLength != other.byteLength) || + (object.byteOffset != other.byteOffset)) { + return false; + } + object = object.buffer; + other = other.buffer; + + case arrayBufferTag: + if ((object.byteLength != other.byteLength) || + !equalFunc(new Uint8Array(object), new Uint8Array(other))) { + return false; + } + return true; + + case boolTag: + case dateTag: + case numberTag: + // Coerce booleans to `1` or `0` and dates to milliseconds. + // Invalid dates are coerced to `NaN`. + return eq(+object, +other); + + case errorTag: + return object.name == other.name && object.message == other.message; + + case regexpTag: + case stringTag: + // Coerce regexes to strings and treat strings, primitives and objects, + // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring + // for more details. + return object == (other + ''); + + case mapTag: + var convert = mapToArray; + + case setTag: + var isPartial = bitmask & COMPARE_PARTIAL_FLAG; + convert || (convert = setToArray); + + if (object.size != other.size && !isPartial) { + return false; + } + // Assume cyclic values are equal. + var stacked = stack.get(object); + if (stacked) { + return stacked == other; + } + bitmask |= COMPARE_UNORDERED_FLAG; + + // Recursively compare objects (susceptible to call stack limits). + stack.set(object, other); + var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack); + stack['delete'](object); + return result; + + case symbolTag: + if (symbolValueOf) { + return symbolValueOf.call(object) == symbolValueOf.call(other); + } + } + return false; +} + +module.exports = equalByTag; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_equalObjects.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_equalObjects.js" new file mode 100644 index 00000000..cdaacd2d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_equalObjects.js" @@ -0,0 +1,90 @@ +var getAllKeys = require('./_getAllKeys'); + +/** Used to compose bitmasks for value comparisons. */ +var COMPARE_PARTIAL_FLAG = 1; + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * A specialized version of `baseIsEqualDeep` for objects with support for + * partial deep comparisons. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} stack Tracks traversed `object` and `other` objects. + * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. + */ +function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { + var isPartial = bitmask & COMPARE_PARTIAL_FLAG, + objProps = getAllKeys(object), + objLength = objProps.length, + othProps = getAllKeys(other), + othLength = othProps.length; + + if (objLength != othLength && !isPartial) { + return false; + } + var index = objLength; + while (index--) { + var key = objProps[index]; + if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) { + return false; + } + } + // Check that cyclic values are equal. + var objStacked = stack.get(object); + var othStacked = stack.get(other); + if (objStacked && othStacked) { + return objStacked == other && othStacked == object; + } + var result = true; + stack.set(object, other); + stack.set(other, object); + + var skipCtor = isPartial; + while (++index < objLength) { + key = objProps[index]; + var objValue = object[key], + othValue = other[key]; + + if (customizer) { + var compared = isPartial + ? customizer(othValue, objValue, key, other, object, stack) + : customizer(objValue, othValue, key, object, other, stack); + } + // Recursively compare objects (susceptible to call stack limits). + if (!(compared === undefined + ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack)) + : compared + )) { + result = false; + break; + } + skipCtor || (skipCtor = key == 'constructor'); + } + if (result && !skipCtor) { + var objCtor = object.constructor, + othCtor = other.constructor; + + // Non `Object` object instances with different constructors are not equal. + if (objCtor != othCtor && + ('constructor' in object && 'constructor' in other) && + !(typeof objCtor == 'function' && objCtor instanceof objCtor && + typeof othCtor == 'function' && othCtor instanceof othCtor)) { + result = false; + } + } + stack['delete'](object); + stack['delete'](other); + return result; +} + +module.exports = equalObjects; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_escapeHtmlChar.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_escapeHtmlChar.js" new file mode 100644 index 00000000..7ca68ee6 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_escapeHtmlChar.js" @@ -0,0 +1,21 @@ +var basePropertyOf = require('./_basePropertyOf'); + +/** Used to map characters to HTML entities. */ +var htmlEscapes = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + "'": ''' +}; + +/** + * Used by `_.escape` to convert characters to HTML entities. + * + * @private + * @param {string} chr The matched character to escape. + * @returns {string} Returns the escaped character. + */ +var escapeHtmlChar = basePropertyOf(htmlEscapes); + +module.exports = escapeHtmlChar; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_escapeStringChar.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_escapeStringChar.js" new file mode 100644 index 00000000..44eca96c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_escapeStringChar.js" @@ -0,0 +1,22 @@ +/** Used to escape characters for inclusion in compiled string literals. */ +var stringEscapes = { + '\\': '\\', + "'": "'", + '\n': 'n', + '\r': 'r', + '\u2028': 'u2028', + '\u2029': 'u2029' +}; + +/** + * Used by `_.template` to escape characters for inclusion in compiled string literals. + * + * @private + * @param {string} chr The matched character to escape. + * @returns {string} Returns the escaped character. + */ +function escapeStringChar(chr) { + return '\\' + stringEscapes[chr]; +} + +module.exports = escapeStringChar; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_flatRest.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_flatRest.js" new file mode 100644 index 00000000..94ab6cca --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_flatRest.js" @@ -0,0 +1,16 @@ +var flatten = require('./flatten'), + overRest = require('./_overRest'), + setToString = require('./_setToString'); + +/** + * A specialized version of `baseRest` which flattens the rest array. + * + * @private + * @param {Function} func The function to apply a rest parameter to. + * @returns {Function} Returns the new function. + */ +function flatRest(func) { + return setToString(overRest(func, undefined, flatten), func + ''); +} + +module.exports = flatRest; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_freeGlobal.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_freeGlobal.js" new file mode 100644 index 00000000..bbec998f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_freeGlobal.js" @@ -0,0 +1,4 @@ +/** Detect free variable `global` from Node.js. */ +var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; + +module.exports = freeGlobal; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getAllKeys.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getAllKeys.js" new file mode 100644 index 00000000..a9ce6995 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getAllKeys.js" @@ -0,0 +1,16 @@ +var baseGetAllKeys = require('./_baseGetAllKeys'), + getSymbols = require('./_getSymbols'), + keys = require('./keys'); + +/** + * Creates an array of own enumerable property names and symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names and symbols. + */ +function getAllKeys(object) { + return baseGetAllKeys(object, keys, getSymbols); +} + +module.exports = getAllKeys; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getAllKeysIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getAllKeysIn.js" new file mode 100644 index 00000000..1b466784 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getAllKeysIn.js" @@ -0,0 +1,17 @@ +var baseGetAllKeys = require('./_baseGetAllKeys'), + getSymbolsIn = require('./_getSymbolsIn'), + keysIn = require('./keysIn'); + +/** + * Creates an array of own and inherited enumerable property names and + * symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names and symbols. + */ +function getAllKeysIn(object) { + return baseGetAllKeys(object, keysIn, getSymbolsIn); +} + +module.exports = getAllKeysIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getData.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getData.js" new file mode 100644 index 00000000..a1fe7b77 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getData.js" @@ -0,0 +1,15 @@ +var metaMap = require('./_metaMap'), + noop = require('./noop'); + +/** + * Gets metadata for `func`. + * + * @private + * @param {Function} func The function to query. + * @returns {*} Returns the metadata for `func`. + */ +var getData = !metaMap ? noop : function(func) { + return metaMap.get(func); +}; + +module.exports = getData; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getFuncName.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getFuncName.js" new file mode 100644 index 00000000..21e15b33 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getFuncName.js" @@ -0,0 +1,31 @@ +var realNames = require('./_realNames'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Gets the name of `func`. + * + * @private + * @param {Function} func The function to query. + * @returns {string} Returns the function name. + */ +function getFuncName(func) { + var result = (func.name + ''), + array = realNames[result], + length = hasOwnProperty.call(realNames, result) ? array.length : 0; + + while (length--) { + var data = array[length], + otherFunc = data.func; + if (otherFunc == null || otherFunc == func) { + return data.name; + } + } + return result; +} + +module.exports = getFuncName; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getHolder.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getHolder.js" new file mode 100644 index 00000000..65e94b5c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getHolder.js" @@ -0,0 +1,13 @@ +/** + * Gets the argument placeholder value for `func`. + * + * @private + * @param {Function} func The function to inspect. + * @returns {*} Returns the placeholder value. + */ +function getHolder(func) { + var object = func; + return object.placeholder; +} + +module.exports = getHolder; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getMapData.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getMapData.js" new file mode 100644 index 00000000..17f63032 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getMapData.js" @@ -0,0 +1,18 @@ +var isKeyable = require('./_isKeyable'); + +/** + * Gets the data for `map`. + * + * @private + * @param {Object} map The map to query. + * @param {string} key The reference key. + * @returns {*} Returns the map data. + */ +function getMapData(map, key) { + var data = map.__data__; + return isKeyable(key) + ? data[typeof key == 'string' ? 'string' : 'hash'] + : data.map; +} + +module.exports = getMapData; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getMatchData.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getMatchData.js" new file mode 100644 index 00000000..2cc70f91 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getMatchData.js" @@ -0,0 +1,24 @@ +var isStrictComparable = require('./_isStrictComparable'), + keys = require('./keys'); + +/** + * Gets the property names, values, and compare flags of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the match data of `object`. + */ +function getMatchData(object) { + var result = keys(object), + length = result.length; + + while (length--) { + var key = result[length], + value = object[key]; + + result[length] = [key, value, isStrictComparable(value)]; + } + return result; +} + +module.exports = getMatchData; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getNative.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getNative.js" new file mode 100644 index 00000000..97a622b8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getNative.js" @@ -0,0 +1,17 @@ +var baseIsNative = require('./_baseIsNative'), + getValue = require('./_getValue'); + +/** + * 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 = getValue(object, key); + return baseIsNative(value) ? value : undefined; +} + +module.exports = getNative; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getPrototype.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getPrototype.js" new file mode 100644 index 00000000..e8086121 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getPrototype.js" @@ -0,0 +1,6 @@ +var overArg = require('./_overArg'); + +/** Built-in value references. */ +var getPrototype = overArg(Object.getPrototypeOf, Object); + +module.exports = getPrototype; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getRawTag.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getRawTag.js" new file mode 100644 index 00000000..49a95c9c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getRawTag.js" @@ -0,0 +1,46 @@ +var Symbol = require('./_Symbol'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var nativeObjectToString = objectProto.toString; + +/** Built-in value references. */ +var symToStringTag = Symbol ? Symbol.toStringTag : undefined; + +/** + * 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) { + var isOwn = hasOwnProperty.call(value, symToStringTag), + tag = value[symToStringTag]; + + try { + value[symToStringTag] = undefined; + var unmasked = true; + } catch (e) {} + + var result = nativeObjectToString.call(value); + if (unmasked) { + if (isOwn) { + value[symToStringTag] = tag; + } else { + delete value[symToStringTag]; + } + } + return result; +} + +module.exports = getRawTag; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getSymbols.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getSymbols.js" new file mode 100644 index 00000000..7d6eafeb --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getSymbols.js" @@ -0,0 +1,30 @@ +var arrayFilter = require('./_arrayFilter'), + stubArray = require('./stubArray'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Built-in value references. */ +var propertyIsEnumerable = objectProto.propertyIsEnumerable; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeGetSymbols = Object.getOwnPropertySymbols; + +/** + * Creates an array of the own enumerable symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of symbols. + */ +var getSymbols = !nativeGetSymbols ? stubArray : function(object) { + if (object == null) { + return []; + } + object = Object(object); + return arrayFilter(nativeGetSymbols(object), function(symbol) { + return propertyIsEnumerable.call(object, symbol); + }); +}; + +module.exports = getSymbols; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getSymbolsIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getSymbolsIn.js" new file mode 100644 index 00000000..cec0855a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getSymbolsIn.js" @@ -0,0 +1,25 @@ +var arrayPush = require('./_arrayPush'), + getPrototype = require('./_getPrototype'), + getSymbols = require('./_getSymbols'), + stubArray = require('./stubArray'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeGetSymbols = Object.getOwnPropertySymbols; + +/** + * Creates an array of the own and inherited enumerable symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of symbols. + */ +var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) { + var result = []; + while (object) { + arrayPush(result, getSymbols(object)); + object = getPrototype(object); + } + return result; +}; + +module.exports = getSymbolsIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getTag.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getTag.js" new file mode 100644 index 00000000..deaf89d5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getTag.js" @@ -0,0 +1,58 @@ +var DataView = require('./_DataView'), + Map = require('./_Map'), + Promise = require('./_Promise'), + Set = require('./_Set'), + WeakMap = require('./_WeakMap'), + baseGetTag = require('./_baseGetTag'), + toSource = require('./_toSource'); + +/** `Object#toString` result references. */ +var mapTag = '[object Map]', + objectTag = '[object Object]', + promiseTag = '[object Promise]', + setTag = '[object Set]', + weakMapTag = '[object WeakMap]'; + +var dataViewTag = '[object DataView]'; + +/** Used to detect maps, sets, and weakmaps. */ +var dataViewCtorString = toSource(DataView), + mapCtorString = toSource(Map), + promiseCtorString = toSource(Promise), + setCtorString = toSource(Set), + weakMapCtorString = toSource(WeakMap); + +/** + * Gets the `toStringTag` of `value`. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. + */ +var getTag = baseGetTag; + +// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6. +if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || + (Map && getTag(new Map) != mapTag) || + (Promise && getTag(Promise.resolve()) != promiseTag) || + (Set && getTag(new Set) != setTag) || + (WeakMap && getTag(new WeakMap) != weakMapTag)) { + getTag = function(value) { + var result = baseGetTag(value), + Ctor = result == objectTag ? value.constructor : undefined, + ctorString = Ctor ? toSource(Ctor) : ''; + + if (ctorString) { + switch (ctorString) { + case dataViewCtorString: return dataViewTag; + case mapCtorString: return mapTag; + case promiseCtorString: return promiseTag; + case setCtorString: return setTag; + case weakMapCtorString: return weakMapTag; + } + } + return result; + }; +} + +module.exports = getTag; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getValue.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getValue.js" new file mode 100644 index 00000000..5f7d7736 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getValue.js" @@ -0,0 +1,13 @@ +/** + * 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 ? undefined : object[key]; +} + +module.exports = getValue; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getView.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getView.js" new file mode 100644 index 00000000..df1e5d44 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getView.js" @@ -0,0 +1,33 @@ +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max, + nativeMin = Math.min; + +/** + * Gets the view, applying any `transforms` to the `start` and `end` positions. + * + * @private + * @param {number} start The start of the view. + * @param {number} end The end of the view. + * @param {Array} transforms The transformations to apply to the view. + * @returns {Object} Returns an object containing the `start` and `end` + * positions of the view. + */ +function getView(start, end, transforms) { + var index = -1, + length = transforms.length; + + while (++index < length) { + var data = transforms[index], + size = data.size; + + switch (data.type) { + case 'drop': start += size; break; + case 'dropRight': end -= size; break; + case 'take': end = nativeMin(end, start + size); break; + case 'takeRight': start = nativeMax(start, end - size); break; + } + } + return { 'start': start, 'end': end }; +} + +module.exports = getView; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getWrapDetails.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getWrapDetails.js" new file mode 100644 index 00000000..3bcc6e48 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_getWrapDetails.js" @@ -0,0 +1,17 @@ +/** Used to match wrap detail comments. */ +var reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, + reSplitDetails = /,? & /; + +/** + * Extracts wrapper details from the `source` body comment. + * + * @private + * @param {string} source The source to inspect. + * @returns {Array} Returns the wrapper details. + */ +function getWrapDetails(source) { + var match = source.match(reWrapDetails); + return match ? match[1].split(reSplitDetails) : []; +} + +module.exports = getWrapDetails; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hasPath.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hasPath.js" new file mode 100644 index 00000000..93dbde15 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hasPath.js" @@ -0,0 +1,39 @@ +var castPath = require('./_castPath'), + isArguments = require('./isArguments'), + isArray = require('./isArray'), + isIndex = require('./_isIndex'), + isLength = require('./isLength'), + toKey = require('./_toKey'); + +/** + * Checks if `path` exists on `object`. + * + * @private + * @param {Object} object The object to query. + * @param {Array|string} path The path to check. + * @param {Function} hasFunc The function to check properties. + * @returns {boolean} Returns `true` if `path` exists, else `false`. + */ +function hasPath(object, path, hasFunc) { + path = castPath(path, object); + + var index = -1, + length = path.length, + result = false; + + while (++index < length) { + var key = toKey(path[index]); + if (!(result = object != null && hasFunc(object, key))) { + break; + } + object = object[key]; + } + if (result || ++index != length) { + return result; + } + length = object == null ? 0 : object.length; + return !!length && isLength(length) && isIndex(key, length) && + (isArray(object) || isArguments(object)); +} + +module.exports = hasPath; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hasUnicode.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hasUnicode.js" new file mode 100644 index 00000000..cb6ca15f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hasUnicode.js" @@ -0,0 +1,26 @@ +/** Used to compose unicode character classes. */ +var rsAstralRange = '\\ud800-\\udfff', + rsComboMarksRange = '\\u0300-\\u036f', + reComboHalfMarksRange = '\\ufe20-\\ufe2f', + rsComboSymbolsRange = '\\u20d0-\\u20ff', + rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, + rsVarRange = '\\ufe0e\\ufe0f'; + +/** Used to compose unicode capture groups. */ +var rsZWJ = '\\u200d'; + +/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */ +var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']'); + +/** + * Checks if `string` contains Unicode symbols. + * + * @private + * @param {string} string The string to inspect. + * @returns {boolean} Returns `true` if a symbol is found, else `false`. + */ +function hasUnicode(string) { + return reHasUnicode.test(string); +} + +module.exports = hasUnicode; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hasUnicodeWord.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hasUnicodeWord.js" new file mode 100644 index 00000000..95d52c44 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hasUnicodeWord.js" @@ -0,0 +1,15 @@ +/** Used to detect strings that need a more robust regexp to match words. */ +var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/; + +/** + * Checks if `string` contains a word composed of Unicode symbols. + * + * @private + * @param {string} string The string to inspect. + * @returns {boolean} Returns `true` if a word is found, else `false`. + */ +function hasUnicodeWord(string) { + return reHasUnicodeWord.test(string); +} + +module.exports = hasUnicodeWord; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashClear.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashClear.js" new file mode 100644 index 00000000..5d4b70cc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashClear.js" @@ -0,0 +1,15 @@ +var nativeCreate = require('./_nativeCreate'); + +/** + * Removes all key-value entries from the hash. + * + * @private + * @name clear + * @memberOf Hash + */ +function hashClear() { + this.__data__ = nativeCreate ? nativeCreate(null) : {}; + this.size = 0; +} + +module.exports = hashClear; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashDelete.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashDelete.js" new file mode 100644 index 00000000..ea9dabf1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashDelete.js" @@ -0,0 +1,17 @@ +/** + * Removes `key` and its value from the hash. + * + * @private + * @name delete + * @memberOf Hash + * @param {Object} hash The hash to modify. + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function hashDelete(key) { + var result = this.has(key) && delete this.__data__[key]; + this.size -= result ? 1 : 0; + return result; +} + +module.exports = hashDelete; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashGet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashGet.js" new file mode 100644 index 00000000..1fc2f34b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashGet.js" @@ -0,0 +1,30 @@ +var nativeCreate = require('./_nativeCreate'); + +/** Used to stand-in for `undefined` hash values. */ +var HASH_UNDEFINED = '__lodash_hash_undefined__'; + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Gets the hash value for `key`. + * + * @private + * @name get + * @memberOf Hash + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function hashGet(key) { + var data = this.__data__; + if (nativeCreate) { + var result = data[key]; + return result === HASH_UNDEFINED ? undefined : result; + } + return hasOwnProperty.call(data, key) ? data[key] : undefined; +} + +module.exports = hashGet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashHas.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashHas.js" new file mode 100644 index 00000000..281a5517 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashHas.js" @@ -0,0 +1,23 @@ +var nativeCreate = require('./_nativeCreate'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Checks if a hash value for `key` exists. + * + * @private + * @name has + * @memberOf Hash + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function hashHas(key) { + var data = this.__data__; + return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); +} + +module.exports = hashHas; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashSet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashSet.js" new file mode 100644 index 00000000..e1055283 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_hashSet.js" @@ -0,0 +1,23 @@ +var nativeCreate = require('./_nativeCreate'); + +/** Used to stand-in for `undefined` hash values. */ +var HASH_UNDEFINED = '__lodash_hash_undefined__'; + +/** + * Sets the hash `key` to `value`. + * + * @private + * @name set + * @memberOf Hash + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the hash instance. + */ +function hashSet(key, value) { + var data = this.__data__; + this.size += this.has(key) ? 0 : 1; + data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; + return this; +} + +module.exports = hashSet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_initCloneArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_initCloneArray.js" new file mode 100644 index 00000000..078c15af --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_initCloneArray.js" @@ -0,0 +1,26 @@ +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Initializes an array clone. + * + * @private + * @param {Array} array The array to clone. + * @returns {Array} Returns the initialized clone. + */ +function initCloneArray(array) { + var length = array.length, + result = new array.constructor(length); + + // Add properties assigned by `RegExp#exec`. + if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) { + result.index = array.index; + result.input = array.input; + } + return result; +} + +module.exports = initCloneArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_initCloneByTag.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_initCloneByTag.js" new file mode 100644 index 00000000..f69a008c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_initCloneByTag.js" @@ -0,0 +1,77 @@ +var cloneArrayBuffer = require('./_cloneArrayBuffer'), + cloneDataView = require('./_cloneDataView'), + cloneRegExp = require('./_cloneRegExp'), + cloneSymbol = require('./_cloneSymbol'), + cloneTypedArray = require('./_cloneTypedArray'); + +/** `Object#toString` result references. */ +var boolTag = '[object Boolean]', + dateTag = '[object Date]', + mapTag = '[object Map]', + numberTag = '[object Number]', + regexpTag = '[object RegExp]', + setTag = '[object Set]', + stringTag = '[object String]', + symbolTag = '[object Symbol]'; + +var arrayBufferTag = '[object ArrayBuffer]', + dataViewTag = '[object DataView]', + float32Tag = '[object Float32Array]', + float64Tag = '[object Float64Array]', + int8Tag = '[object Int8Array]', + int16Tag = '[object Int16Array]', + int32Tag = '[object Int32Array]', + uint8Tag = '[object Uint8Array]', + uint8ClampedTag = '[object Uint8ClampedArray]', + uint16Tag = '[object Uint16Array]', + uint32Tag = '[object Uint32Array]'; + +/** + * Initializes an object clone based on its `toStringTag`. + * + * **Note:** This function only supports cloning values with tags of + * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`. + * + * @private + * @param {Object} object The object to clone. + * @param {string} tag The `toStringTag` of the object to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the initialized clone. + */ +function initCloneByTag(object, tag, isDeep) { + var Ctor = object.constructor; + switch (tag) { + case arrayBufferTag: + return cloneArrayBuffer(object); + + case boolTag: + case dateTag: + return new Ctor(+object); + + case dataViewTag: + return cloneDataView(object, isDeep); + + case float32Tag: case float64Tag: + case int8Tag: case int16Tag: case int32Tag: + case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag: + return cloneTypedArray(object, isDeep); + + case mapTag: + return new Ctor; + + case numberTag: + case stringTag: + return new Ctor(object); + + case regexpTag: + return cloneRegExp(object); + + case setTag: + return new Ctor; + + case symbolTag: + return cloneSymbol(object); + } +} + +module.exports = initCloneByTag; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_initCloneObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_initCloneObject.js" new file mode 100644 index 00000000..5a13e64a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_initCloneObject.js" @@ -0,0 +1,18 @@ +var baseCreate = require('./_baseCreate'), + getPrototype = require('./_getPrototype'), + isPrototype = require('./_isPrototype'); + +/** + * Initializes an object clone. + * + * @private + * @param {Object} object The object to clone. + * @returns {Object} Returns the initialized clone. + */ +function initCloneObject(object) { + return (typeof object.constructor == 'function' && !isPrototype(object)) + ? baseCreate(getPrototype(object)) + : {}; +} + +module.exports = initCloneObject; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_insertWrapDetails.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_insertWrapDetails.js" new file mode 100644 index 00000000..e7908086 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_insertWrapDetails.js" @@ -0,0 +1,23 @@ +/** Used to match wrap detail comments. */ +var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/; + +/** + * Inserts wrapper `details` in a comment at the top of the `source` body. + * + * @private + * @param {string} source The source to modify. + * @returns {Array} details The details to insert. + * @returns {string} Returns the modified source. + */ +function insertWrapDetails(source, details) { + var length = details.length; + if (!length) { + return source; + } + var lastIndex = length - 1; + details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex]; + details = details.join(length > 2 ? ', ' : ' '); + return source.replace(reWrapComment, '{\n/* [wrapped with ' + details + '] */\n'); +} + +module.exports = insertWrapDetails; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isFlattenable.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isFlattenable.js" new file mode 100644 index 00000000..4cc2c249 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isFlattenable.js" @@ -0,0 +1,20 @@ +var Symbol = require('./_Symbol'), + isArguments = require('./isArguments'), + isArray = require('./isArray'); + +/** Built-in value references. */ +var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined; + +/** + * Checks if `value` is a flattenable `arguments` object or array. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is flattenable, else `false`. + */ +function isFlattenable(value) { + return isArray(value) || isArguments(value) || + !!(spreadableSymbol && value && value[spreadableSymbol]); +} + +module.exports = isFlattenable; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isIndex.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isIndex.js" new file mode 100644 index 00000000..061cd390 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isIndex.js" @@ -0,0 +1,25 @@ +/** Used as references for various `Number` constants. */ +var MAX_SAFE_INTEGER = 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, length) { + var type = typeof value; + length = length == null ? MAX_SAFE_INTEGER : length; + + return !!length && + (type == 'number' || + (type != 'symbol' && reIsUint.test(value))) && + (value > -1 && value % 1 == 0 && value < length); +} + +module.exports = isIndex; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isIterateeCall.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isIterateeCall.js" new file mode 100644 index 00000000..a0bb5a9c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isIterateeCall.js" @@ -0,0 +1,30 @@ +var eq = require('./eq'), + isArrayLike = require('./isArrayLike'), + isIndex = require('./_isIndex'), + isObject = require('./isObject'); + +/** + * 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, index, object) { + if (!isObject(object)) { + return false; + } + var type = typeof index; + if (type == 'number' + ? (isArrayLike(object) && isIndex(index, object.length)) + : (type == 'string' && index in object) + ) { + return eq(object[index], value); + } + return false; +} + +module.exports = isIterateeCall; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isKey.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isKey.js" new file mode 100644 index 00000000..ff08b068 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isKey.js" @@ -0,0 +1,29 @@ +var isArray = require('./isArray'), + isSymbol = require('./isSymbol'); + +/** Used to match property names within property paths. */ +var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, + reIsPlainProp = /^\w*$/; + +/** + * Checks if `value` is a property name and not a property path. + * + * @private + * @param {*} value The value to check. + * @param {Object} [object] The object to query keys on. + * @returns {boolean} Returns `true` if `value` is a property name, else `false`. + */ +function isKey(value, object) { + if (isArray(value)) { + return false; + } + var type = typeof value; + if (type == 'number' || type == 'symbol' || type == 'boolean' || + value == null || isSymbol(value)) { + return true; + } + return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || + (object != null && value in Object(object)); +} + +module.exports = isKey; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isKeyable.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isKeyable.js" new file mode 100644 index 00000000..39f1828d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isKeyable.js" @@ -0,0 +1,15 @@ +/** + * Checks if `value` is suitable for use as unique object key. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is suitable, else `false`. + */ +function isKeyable(value) { + var type = typeof value; + return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') + ? (value !== '__proto__') + : (value === null); +} + +module.exports = isKeyable; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isLaziable.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isLaziable.js" new file mode 100644 index 00000000..a57c4f2d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isLaziable.js" @@ -0,0 +1,28 @@ +var LazyWrapper = require('./_LazyWrapper'), + getData = require('./_getData'), + getFuncName = require('./_getFuncName'), + lodash = require('./wrapperLodash'); + +/** + * Checks if `func` has a lazy counterpart. + * + * @private + * @param {Function} func The function to check. + * @returns {boolean} Returns `true` if `func` has a lazy counterpart, + * else `false`. + */ +function isLaziable(func) { + var funcName = getFuncName(func), + other = lodash[funcName]; + + if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) { + return false; + } + if (func === other) { + return true; + } + var data = getData(other); + return !!data && func === data[0]; +} + +module.exports = isLaziable; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isMaskable.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isMaskable.js" new file mode 100644 index 00000000..eb98d09f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isMaskable.js" @@ -0,0 +1,14 @@ +var coreJsData = require('./_coreJsData'), + isFunction = require('./isFunction'), + stubFalse = require('./stubFalse'); + +/** + * Checks if `func` is capable of being masked. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `func` is maskable, else `false`. + */ +var isMaskable = coreJsData ? isFunction : stubFalse; + +module.exports = isMaskable; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isMasked.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isMasked.js" new file mode 100644 index 00000000..4b0f21ba --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isMasked.js" @@ -0,0 +1,20 @@ +var coreJsData = require('./_coreJsData'); + +/** Used to detect methods masquerading as native. */ +var maskSrcKey = (function() { + var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.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); +} + +module.exports = isMasked; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isPrototype.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isPrototype.js" new file mode 100644 index 00000000..0f29498d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isPrototype.js" @@ -0,0 +1,18 @@ +/** Used for built-in method references. */ +var objectProto = 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) { + var Ctor = value && value.constructor, + proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; + + return value === proto; +} + +module.exports = isPrototype; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isStrictComparable.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isStrictComparable.js" new file mode 100644 index 00000000..b59f40b8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_isStrictComparable.js" @@ -0,0 +1,15 @@ +var isObject = require('./isObject'); + +/** + * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` if suitable for strict + * equality comparisons, else `false`. + */ +function isStrictComparable(value) { + return value === value && !isObject(value); +} + +module.exports = isStrictComparable; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_iteratorToArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_iteratorToArray.js" new file mode 100644 index 00000000..47685664 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_iteratorToArray.js" @@ -0,0 +1,18 @@ +/** + * Converts `iterator` to an array. + * + * @private + * @param {Object} iterator The iterator to convert. + * @returns {Array} Returns the converted array. + */ +function iteratorToArray(iterator) { + var data, + result = []; + + while (!(data = iterator.next()).done) { + result.push(data.value); + } + return result; +} + +module.exports = iteratorToArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_lazyClone.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_lazyClone.js" new file mode 100644 index 00000000..d8a51f87 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_lazyClone.js" @@ -0,0 +1,23 @@ +var LazyWrapper = require('./_LazyWrapper'), + copyArray = require('./_copyArray'); + +/** + * Creates a clone of the lazy wrapper object. + * + * @private + * @name clone + * @memberOf LazyWrapper + * @returns {Object} Returns the cloned `LazyWrapper` object. + */ +function lazyClone() { + var result = new LazyWrapper(this.__wrapped__); + result.__actions__ = copyArray(this.__actions__); + result.__dir__ = this.__dir__; + result.__filtered__ = this.__filtered__; + result.__iteratees__ = copyArray(this.__iteratees__); + result.__takeCount__ = this.__takeCount__; + result.__views__ = copyArray(this.__views__); + return result; +} + +module.exports = lazyClone; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_lazyReverse.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_lazyReverse.js" new file mode 100644 index 00000000..c5b52190 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_lazyReverse.js" @@ -0,0 +1,23 @@ +var LazyWrapper = require('./_LazyWrapper'); + +/** + * Reverses the direction of lazy iteration. + * + * @private + * @name reverse + * @memberOf LazyWrapper + * @returns {Object} Returns the new reversed `LazyWrapper` object. + */ +function lazyReverse() { + if (this.__filtered__) { + var result = new LazyWrapper(this); + result.__dir__ = -1; + result.__filtered__ = true; + } else { + result = this.clone(); + result.__dir__ *= -1; + } + return result; +} + +module.exports = lazyReverse; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_lazyValue.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_lazyValue.js" new file mode 100644 index 00000000..371ca8d2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_lazyValue.js" @@ -0,0 +1,69 @@ +var baseWrapperValue = require('./_baseWrapperValue'), + getView = require('./_getView'), + isArray = require('./isArray'); + +/** Used to indicate the type of lazy iteratees. */ +var LAZY_FILTER_FLAG = 1, + LAZY_MAP_FLAG = 2; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMin = Math.min; + +/** + * Extracts the unwrapped value from its lazy wrapper. + * + * @private + * @name value + * @memberOf LazyWrapper + * @returns {*} Returns the unwrapped value. + */ +function lazyValue() { + var array = this.__wrapped__.value(), + dir = this.__dir__, + isArr = isArray(array), + isRight = dir < 0, + arrLength = isArr ? array.length : 0, + view = getView(0, arrLength, this.__views__), + start = view.start, + end = view.end, + length = end - start, + index = isRight ? end : (start - 1), + iteratees = this.__iteratees__, + iterLength = iteratees.length, + resIndex = 0, + takeCount = nativeMin(length, this.__takeCount__); + + if (!isArr || (!isRight && arrLength == length && takeCount == length)) { + return baseWrapperValue(array, this.__actions__); + } + var result = []; + + outer: + while (length-- && resIndex < takeCount) { + index += dir; + + var iterIndex = -1, + value = array[index]; + + while (++iterIndex < iterLength) { + var data = iteratees[iterIndex], + iteratee = data.iteratee, + type = data.type, + computed = iteratee(value); + + if (type == LAZY_MAP_FLAG) { + value = computed; + } else if (!computed) { + if (type == LAZY_FILTER_FLAG) { + continue outer; + } else { + break outer; + } + } + } + result[resIndex++] = value; + } + return result; +} + +module.exports = lazyValue; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheClear.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheClear.js" new file mode 100644 index 00000000..acbe39a5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheClear.js" @@ -0,0 +1,13 @@ +/** + * Removes all key-value entries from the list cache. + * + * @private + * @name clear + * @memberOf ListCache + */ +function listCacheClear() { + this.__data__ = []; + this.size = 0; +} + +module.exports = listCacheClear; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheDelete.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheDelete.js" new file mode 100644 index 00000000..b1384ade --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheDelete.js" @@ -0,0 +1,35 @@ +var assocIndexOf = require('./_assocIndexOf'); + +/** Used for built-in method references. */ +var arrayProto = Array.prototype; + +/** Built-in value references. */ +var splice = arrayProto.splice; + +/** + * Removes `key` and its value from the list cache. + * + * @private + * @name delete + * @memberOf ListCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function listCacheDelete(key) { + var data = this.__data__, + index = assocIndexOf(data, key); + + if (index < 0) { + return false; + } + var lastIndex = data.length - 1; + if (index == lastIndex) { + data.pop(); + } else { + splice.call(data, index, 1); + } + --this.size; + return true; +} + +module.exports = listCacheDelete; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheGet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheGet.js" new file mode 100644 index 00000000..f8192fc3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheGet.js" @@ -0,0 +1,19 @@ +var assocIndexOf = require('./_assocIndexOf'); + +/** + * Gets the list cache value for `key`. + * + * @private + * @name get + * @memberOf ListCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function listCacheGet(key) { + var data = this.__data__, + index = assocIndexOf(data, key); + + return index < 0 ? undefined : data[index][1]; +} + +module.exports = listCacheGet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheHas.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheHas.js" new file mode 100644 index 00000000..2adf6714 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheHas.js" @@ -0,0 +1,16 @@ +var assocIndexOf = require('./_assocIndexOf'); + +/** + * Checks if a list cache value for `key` exists. + * + * @private + * @name has + * @memberOf ListCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function listCacheHas(key) { + return assocIndexOf(this.__data__, key) > -1; +} + +module.exports = listCacheHas; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheSet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheSet.js" new file mode 100644 index 00000000..5855c95e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_listCacheSet.js" @@ -0,0 +1,26 @@ +var assocIndexOf = require('./_assocIndexOf'); + +/** + * Sets the list cache `key` to `value`. + * + * @private + * @name set + * @memberOf ListCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the list cache instance. + */ +function listCacheSet(key, value) { + var data = this.__data__, + index = assocIndexOf(data, key); + + if (index < 0) { + ++this.size; + data.push([key, value]); + } else { + data[index][1] = value; + } + return this; +} + +module.exports = listCacheSet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheClear.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheClear.js" new file mode 100644 index 00000000..bc9ca204 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheClear.js" @@ -0,0 +1,21 @@ +var Hash = require('./_Hash'), + ListCache = require('./_ListCache'), + Map = require('./_Map'); + +/** + * Removes all key-value entries from the map. + * + * @private + * @name clear + * @memberOf MapCache + */ +function mapCacheClear() { + this.size = 0; + this.__data__ = { + 'hash': new Hash, + 'map': new (Map || ListCache), + 'string': new Hash + }; +} + +module.exports = mapCacheClear; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheDelete.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheDelete.js" new file mode 100644 index 00000000..946ca3c9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheDelete.js" @@ -0,0 +1,18 @@ +var getMapData = require('./_getMapData'); + +/** + * Removes `key` and its value from the map. + * + * @private + * @name delete + * @memberOf MapCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function mapCacheDelete(key) { + var result = getMapData(this, key)['delete'](key); + this.size -= result ? 1 : 0; + return result; +} + +module.exports = mapCacheDelete; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheGet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheGet.js" new file mode 100644 index 00000000..f29f55cf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheGet.js" @@ -0,0 +1,16 @@ +var getMapData = require('./_getMapData'); + +/** + * Gets the map value for `key`. + * + * @private + * @name get + * @memberOf MapCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function mapCacheGet(key) { + return getMapData(this, key).get(key); +} + +module.exports = mapCacheGet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheHas.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheHas.js" new file mode 100644 index 00000000..a1214c02 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheHas.js" @@ -0,0 +1,16 @@ +var getMapData = require('./_getMapData'); + +/** + * Checks if a map value for `key` exists. + * + * @private + * @name has + * @memberOf MapCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function mapCacheHas(key) { + return getMapData(this, key).has(key); +} + +module.exports = mapCacheHas; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheSet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheSet.js" new file mode 100644 index 00000000..73468492 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapCacheSet.js" @@ -0,0 +1,22 @@ +var getMapData = require('./_getMapData'); + +/** + * Sets the map `key` to `value`. + * + * @private + * @name set + * @memberOf MapCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the map cache instance. + */ +function mapCacheSet(key, value) { + var data = getMapData(this, key), + size = data.size; + + data.set(key, value); + this.size += data.size == size ? 0 : 1; + return this; +} + +module.exports = mapCacheSet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapToArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapToArray.js" new file mode 100644 index 00000000..fe3dd531 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mapToArray.js" @@ -0,0 +1,18 @@ +/** + * Converts `map` to its key-value pairs. + * + * @private + * @param {Object} map The map to convert. + * @returns {Array} Returns the key-value pairs. + */ +function mapToArray(map) { + var index = -1, + result = Array(map.size); + + map.forEach(function(value, key) { + result[++index] = [key, value]; + }); + return result; +} + +module.exports = mapToArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_matchesStrictComparable.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_matchesStrictComparable.js" new file mode 100644 index 00000000..f608af9e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_matchesStrictComparable.js" @@ -0,0 +1,20 @@ +/** + * A specialized version of `matchesProperty` for source values suitable + * for strict equality comparisons, i.e. `===`. + * + * @private + * @param {string} key The key of the property to get. + * @param {*} srcValue The value to match. + * @returns {Function} Returns the new spec function. + */ +function matchesStrictComparable(key, srcValue) { + return function(object) { + if (object == null) { + return false; + } + return object[key] === srcValue && + (srcValue !== undefined || (key in Object(object))); + }; +} + +module.exports = matchesStrictComparable; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_memoizeCapped.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_memoizeCapped.js" new file mode 100644 index 00000000..7f71c8fb --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_memoizeCapped.js" @@ -0,0 +1,26 @@ +var memoize = require('./memoize'); + +/** Used as the maximum memoize cache size. */ +var MAX_MEMOIZE_SIZE = 500; + +/** + * A specialized version of `_.memoize` which clears the memoized function's + * cache when it exceeds `MAX_MEMOIZE_SIZE`. + * + * @private + * @param {Function} func The function to have its output memoized. + * @returns {Function} Returns the new memoized function. + */ +function memoizeCapped(func) { + var result = memoize(func, function(key) { + if (cache.size === MAX_MEMOIZE_SIZE) { + cache.clear(); + } + return key; + }); + + var cache = result.cache; + return result; +} + +module.exports = memoizeCapped; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mergeData.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mergeData.js" new file mode 100644 index 00000000..cb570f97 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_mergeData.js" @@ -0,0 +1,90 @@ +var composeArgs = require('./_composeArgs'), + composeArgsRight = require('./_composeArgsRight'), + replaceHolders = require('./_replaceHolders'); + +/** Used as the internal argument placeholder. */ +var PLACEHOLDER = '__lodash_placeholder__'; + +/** Used to compose bitmasks for function metadata. */ +var WRAP_BIND_FLAG = 1, + WRAP_BIND_KEY_FLAG = 2, + WRAP_CURRY_BOUND_FLAG = 4, + WRAP_CURRY_FLAG = 8, + WRAP_ARY_FLAG = 128, + WRAP_REARG_FLAG = 256; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMin = Math.min; + +/** + * Merges the function metadata of `source` into `data`. + * + * Merging metadata reduces the number of wrappers used to invoke a function. + * This is possible because methods like `_.bind`, `_.curry`, and `_.partial` + * may be applied regardless of execution order. Methods like `_.ary` and + * `_.rearg` modify function arguments, making the order in which they are + * executed important, preventing the merging of metadata. However, we make + * an exception for a safe combined case where curried functions have `_.ary` + * and or `_.rearg` applied. + * + * @private + * @param {Array} data The destination metadata. + * @param {Array} source The source metadata. + * @returns {Array} Returns `data`. + */ +function mergeData(data, source) { + var bitmask = data[1], + srcBitmask = source[1], + newBitmask = bitmask | srcBitmask, + isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG); + + var isCombo = + ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) || + ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) || + ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG)); + + // Exit early if metadata can't be merged. + if (!(isCommon || isCombo)) { + return data; + } + // Use source `thisArg` if available. + if (srcBitmask & WRAP_BIND_FLAG) { + data[2] = source[2]; + // Set when currying a bound function. + newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG; + } + // Compose partial arguments. + var value = source[3]; + if (value) { + var partials = data[3]; + data[3] = partials ? composeArgs(partials, value, source[4]) : value; + data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4]; + } + // Compose partial right arguments. + value = source[5]; + if (value) { + partials = data[5]; + data[5] = partials ? composeArgsRight(partials, value, source[6]) : value; + data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6]; + } + // Use source `argPos` if available. + value = source[7]; + if (value) { + data[7] = value; + } + // Use source `ary` if it's smaller. + if (srcBitmask & WRAP_ARY_FLAG) { + data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]); + } + // Use source `arity` if one is not provided. + if (data[9] == null) { + data[9] = source[9]; + } + // Use source `func` and merge bitmasks. + data[0] = source[0]; + data[1] = newBitmask; + + return data; +} + +module.exports = mergeData; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_metaMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_metaMap.js" new file mode 100644 index 00000000..0157a0b0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_metaMap.js" @@ -0,0 +1,6 @@ +var WeakMap = require('./_WeakMap'); + +/** Used to store function metadata. */ +var metaMap = WeakMap && new WeakMap; + +module.exports = metaMap; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nativeCreate.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nativeCreate.js" new file mode 100644 index 00000000..c7aede85 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nativeCreate.js" @@ -0,0 +1,6 @@ +var getNative = require('./_getNative'); + +/* Built-in method references that are verified to be native. */ +var nativeCreate = getNative(Object, 'create'); + +module.exports = nativeCreate; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nativeKeys.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nativeKeys.js" new file mode 100644 index 00000000..479a104a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nativeKeys.js" @@ -0,0 +1,6 @@ +var overArg = require('./_overArg'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeKeys = overArg(Object.keys, Object); + +module.exports = nativeKeys; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nativeKeysIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nativeKeysIn.js" new file mode 100644 index 00000000..00ee5059 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nativeKeysIn.js" @@ -0,0 +1,20 @@ +/** + * 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 = []; + if (object != null) { + for (var key in Object(object)) { + result.push(key); + } + } + return result; +} + +module.exports = nativeKeysIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nodeUtil.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nodeUtil.js" new file mode 100644 index 00000000..983d78f7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_nodeUtil.js" @@ -0,0 +1,30 @@ +var freeGlobal = require('./_freeGlobal'); + +/** Detect free variable `exports`. */ +var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; + +/** Detect free variable `module`. */ +var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; + +/** Detect the popular CommonJS extension `module.exports`. */ +var moduleExports = freeModule && freeModule.exports === freeExports; + +/** Detect free variable `process` from Node.js. */ +var freeProcess = moduleExports && freeGlobal.process; + +/** Used to access faster Node.js helpers. */ +var nodeUtil = (function() { + try { + // Use `util.types` for Node.js 10+. + var types = freeModule && freeModule.require && freeModule.require('util').types; + + if (types) { + return types; + } + + // Legacy `process.binding('util')` for Node.js < 10. + return freeProcess && freeProcess.binding && freeProcess.binding('util'); + } catch (e) {} +}()); + +module.exports = nodeUtil; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_objectToString.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_objectToString.js" new file mode 100644 index 00000000..c614ec09 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_objectToString.js" @@ -0,0 +1,22 @@ +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var nativeObjectToString = objectProto.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) { + return nativeObjectToString.call(value); +} + +module.exports = objectToString; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_overArg.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_overArg.js" new file mode 100644 index 00000000..651c5c55 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_overArg.js" @@ -0,0 +1,15 @@ +/** + * 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) { + return function(arg) { + return func(transform(arg)); + }; +} + +module.exports = overArg; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_overRest.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_overRest.js" new file mode 100644 index 00000000..c7cdef33 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_overRest.js" @@ -0,0 +1,36 @@ +var apply = require('./_apply'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = 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) { + start = nativeMax(start === undefined ? (func.length - 1) : start, 0); + return function() { + var args = arguments, + index = -1, + length = nativeMax(args.length - start, 0), + array = Array(length); + + while (++index < length) { + array[index] = args[start + index]; + } + index = -1; + var otherArgs = Array(start + 1); + while (++index < start) { + otherArgs[index] = args[index]; + } + otherArgs[start] = transform(array); + return apply(func, this, otherArgs); + }; +} + +module.exports = overRest; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_parent.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_parent.js" new file mode 100644 index 00000000..f174328f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_parent.js" @@ -0,0 +1,16 @@ +var baseGet = require('./_baseGet'), + baseSlice = require('./_baseSlice'); + +/** + * Gets the parent value at `path` of `object`. + * + * @private + * @param {Object} object The object to query. + * @param {Array} path The path to get the parent value of. + * @returns {*} Returns the parent value. + */ +function parent(object, path) { + return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1)); +} + +module.exports = parent; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reEscape.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reEscape.js" new file mode 100644 index 00000000..7f47eda6 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reEscape.js" @@ -0,0 +1,4 @@ +/** Used to match template delimiters. */ +var reEscape = /<%-([\s\S]+?)%>/g; + +module.exports = reEscape; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reEvaluate.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reEvaluate.js" new file mode 100644 index 00000000..6adfc312 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reEvaluate.js" @@ -0,0 +1,4 @@ +/** Used to match template delimiters. */ +var reEvaluate = /<%([\s\S]+?)%>/g; + +module.exports = reEvaluate; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reInterpolate.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reInterpolate.js" new file mode 100644 index 00000000..d02ff0b2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reInterpolate.js" @@ -0,0 +1,4 @@ +/** Used to match template delimiters. */ +var reInterpolate = /<%=([\s\S]+?)%>/g; + +module.exports = reInterpolate; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_realNames.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_realNames.js" new file mode 100644 index 00000000..aa0d5292 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_realNames.js" @@ -0,0 +1,4 @@ +/** Used to lookup unminified function names. */ +var realNames = {}; + +module.exports = realNames; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reorder.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reorder.js" new file mode 100644 index 00000000..a3502b05 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_reorder.js" @@ -0,0 +1,29 @@ +var copyArray = require('./_copyArray'), + isIndex = require('./_isIndex'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMin = Math.min; + +/** + * Reorder `array` according to the specified indexes where the element at + * the first index is assigned as the first element, the element at + * the second index is assigned as the second element, and so on. + * + * @private + * @param {Array} array The array to reorder. + * @param {Array} indexes The arranged array indexes. + * @returns {Array} Returns `array`. + */ +function reorder(array, indexes) { + var arrLength = array.length, + length = nativeMin(indexes.length, arrLength), + oldArray = copyArray(array); + + while (length--) { + var index = indexes[length]; + array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined; + } + return array; +} + +module.exports = reorder; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_replaceHolders.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_replaceHolders.js" new file mode 100644 index 00000000..74360ec4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_replaceHolders.js" @@ -0,0 +1,29 @@ +/** Used as the internal argument placeholder. */ +var PLACEHOLDER = '__lodash_placeholder__'; + +/** + * Replaces all `placeholder` elements in `array` with an internal placeholder + * and returns an array of their indexes. + * + * @private + * @param {Array} array The array to modify. + * @param {*} placeholder The placeholder to replace. + * @returns {Array} Returns the new array of placeholder indexes. + */ +function replaceHolders(array, placeholder) { + var index = -1, + length = array.length, + resIndex = 0, + result = []; + + while (++index < length) { + var value = array[index]; + if (value === placeholder || value === PLACEHOLDER) { + array[index] = PLACEHOLDER; + result[resIndex++] = index; + } + } + return result; +} + +module.exports = replaceHolders; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_root.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_root.js" new file mode 100644 index 00000000..d2852bed --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_root.js" @@ -0,0 +1,9 @@ +var freeGlobal = require('./_freeGlobal'); + +/** 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 || freeSelf || Function('return this')(); + +module.exports = root; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_safeGet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_safeGet.js" new file mode 100644 index 00000000..b070897d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_safeGet.js" @@ -0,0 +1,21 @@ +/** + * Gets the value at `key`, unless `key` is "__proto__" or "constructor". + * + * @private + * @param {Object} object The object to query. + * @param {string} key The key of the property to get. + * @returns {*} Returns the property value. + */ +function safeGet(object, key) { + if (key === 'constructor' && typeof object[key] === 'function') { + return; + } + + if (key == '__proto__') { + return; + } + + return object[key]; +} + +module.exports = safeGet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setCacheAdd.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setCacheAdd.js" new file mode 100644 index 00000000..1081a744 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setCacheAdd.js" @@ -0,0 +1,19 @@ +/** Used to stand-in for `undefined` hash values. */ +var HASH_UNDEFINED = '__lodash_hash_undefined__'; + +/** + * Adds `value` to the array cache. + * + * @private + * @name add + * @memberOf SetCache + * @alias push + * @param {*} value The value to cache. + * @returns {Object} Returns the cache instance. + */ +function setCacheAdd(value) { + this.__data__.set(value, HASH_UNDEFINED); + return this; +} + +module.exports = setCacheAdd; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setCacheHas.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setCacheHas.js" new file mode 100644 index 00000000..9a492556 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setCacheHas.js" @@ -0,0 +1,14 @@ +/** + * Checks if `value` is in the array cache. + * + * @private + * @name has + * @memberOf SetCache + * @param {*} value The value to search for. + * @returns {number} Returns `true` if `value` is found, else `false`. + */ +function setCacheHas(value) { + return this.__data__.has(value); +} + +module.exports = setCacheHas; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setData.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setData.js" new file mode 100644 index 00000000..e5cf3eb9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setData.js" @@ -0,0 +1,20 @@ +var baseSetData = require('./_baseSetData'), + shortOut = require('./_shortOut'); + +/** + * Sets metadata for `func`. + * + * **Note:** If this function becomes hot, i.e. is invoked a lot in a short + * period of time, it will trip its breaker and transition to an identity + * function to avoid garbage collection pauses in V8. See + * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070) + * for more details. + * + * @private + * @param {Function} func The function to associate metadata with. + * @param {*} data The metadata. + * @returns {Function} Returns `func`. + */ +var setData = shortOut(baseSetData); + +module.exports = setData; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setToArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setToArray.js" new file mode 100644 index 00000000..b87f0741 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setToArray.js" @@ -0,0 +1,18 @@ +/** + * Converts `set` to an array of its values. + * + * @private + * @param {Object} set The set to convert. + * @returns {Array} Returns the values. + */ +function setToArray(set) { + var index = -1, + result = Array(set.size); + + set.forEach(function(value) { + result[++index] = value; + }); + return result; +} + +module.exports = setToArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setToPairs.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setToPairs.js" new file mode 100644 index 00000000..36ad37a0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setToPairs.js" @@ -0,0 +1,18 @@ +/** + * Converts `set` to its value-value pairs. + * + * @private + * @param {Object} set The set to convert. + * @returns {Array} Returns the value-value pairs. + */ +function setToPairs(set) { + var index = -1, + result = Array(set.size); + + set.forEach(function(value) { + result[++index] = [value, value]; + }); + return result; +} + +module.exports = setToPairs; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setToString.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setToString.js" new file mode 100644 index 00000000..6ca84196 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setToString.js" @@ -0,0 +1,14 @@ +var baseSetToString = require('./_baseSetToString'), + shortOut = require('./_shortOut'); + +/** + * 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(baseSetToString); + +module.exports = setToString; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setWrapToString.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setWrapToString.js" new file mode 100644 index 00000000..decdc449 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_setWrapToString.js" @@ -0,0 +1,21 @@ +var getWrapDetails = require('./_getWrapDetails'), + insertWrapDetails = require('./_insertWrapDetails'), + setToString = require('./_setToString'), + updateWrapDetails = require('./_updateWrapDetails'); + +/** + * Sets the `toString` method of `wrapper` to mimic the source of `reference` + * with wrapper details in a comment at the top of the source body. + * + * @private + * @param {Function} wrapper The function to modify. + * @param {Function} reference The reference function. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @returns {Function} Returns `wrapper`. + */ +function setWrapToString(wrapper, reference, bitmask) { + var source = (reference + ''); + return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask))); +} + +module.exports = setWrapToString; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_shortOut.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_shortOut.js" new file mode 100644 index 00000000..3300a079 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_shortOut.js" @@ -0,0 +1,37 @@ +/** Used to detect hot functions by number of calls within a span of milliseconds. */ +var HOT_COUNT = 800, + HOT_SPAN = 16; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +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(undefined, arguments); + }; +} + +module.exports = shortOut; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_shuffleSelf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_shuffleSelf.js" new file mode 100644 index 00000000..8bcc4f5c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_shuffleSelf.js" @@ -0,0 +1,28 @@ +var baseRandom = require('./_baseRandom'); + +/** + * A specialized version of `_.shuffle` which mutates and sets the size of `array`. + * + * @private + * @param {Array} array The array to shuffle. + * @param {number} [size=array.length] The size of `array`. + * @returns {Array} Returns `array`. + */ +function shuffleSelf(array, size) { + var index = -1, + length = array.length, + lastIndex = length - 1; + + size = size === undefined ? length : size; + while (++index < size) { + var rand = baseRandom(index, lastIndex), + value = array[rand]; + + array[rand] = array[index]; + array[index] = value; + } + array.length = size; + return array; +} + +module.exports = shuffleSelf; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackClear.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackClear.js" new file mode 100644 index 00000000..ce8e5a92 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackClear.js" @@ -0,0 +1,15 @@ +var ListCache = require('./_ListCache'); + +/** + * Removes all key-value entries from the stack. + * + * @private + * @name clear + * @memberOf Stack + */ +function stackClear() { + this.__data__ = new ListCache; + this.size = 0; +} + +module.exports = stackClear; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackDelete.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackDelete.js" new file mode 100644 index 00000000..ff9887ab --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackDelete.js" @@ -0,0 +1,18 @@ +/** + * Removes `key` and its value from the stack. + * + * @private + * @name delete + * @memberOf Stack + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function stackDelete(key) { + var data = this.__data__, + result = data['delete'](key); + + this.size = data.size; + return result; +} + +module.exports = stackDelete; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackGet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackGet.js" new file mode 100644 index 00000000..1cdf0040 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackGet.js" @@ -0,0 +1,14 @@ +/** + * Gets the stack value for `key`. + * + * @private + * @name get + * @memberOf Stack + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function stackGet(key) { + return this.__data__.get(key); +} + +module.exports = stackGet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackHas.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackHas.js" new file mode 100644 index 00000000..16a3ad11 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackHas.js" @@ -0,0 +1,14 @@ +/** + * Checks if a stack value for `key` exists. + * + * @private + * @name has + * @memberOf Stack + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function stackHas(key) { + return this.__data__.has(key); +} + +module.exports = stackHas; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackSet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackSet.js" new file mode 100644 index 00000000..b790ac5f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stackSet.js" @@ -0,0 +1,34 @@ +var ListCache = require('./_ListCache'), + Map = require('./_Map'), + MapCache = require('./_MapCache'); + +/** Used as the size to enable large array optimizations. */ +var LARGE_ARRAY_SIZE = 200; + +/** + * Sets the stack `key` to `value`. + * + * @private + * @name set + * @memberOf Stack + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the stack cache instance. + */ +function stackSet(key, value) { + var data = this.__data__; + if (data instanceof ListCache) { + var pairs = data.__data__; + if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { + pairs.push([key, value]); + this.size = ++data.size; + return this; + } + data = this.__data__ = new MapCache(pairs); + } + data.set(key, value); + this.size = data.size; + return this; +} + +module.exports = stackSet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_strictIndexOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_strictIndexOf.js" new file mode 100644 index 00000000..0486a495 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_strictIndexOf.js" @@ -0,0 +1,23 @@ +/** + * 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, fromIndex) { + var index = fromIndex - 1, + length = array.length; + + while (++index < length) { + if (array[index] === value) { + return index; + } + } + return -1; +} + +module.exports = strictIndexOf; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_strictLastIndexOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_strictLastIndexOf.js" new file mode 100644 index 00000000..d7310dcc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_strictLastIndexOf.js" @@ -0,0 +1,21 @@ +/** + * A specialized version of `_.lastIndexOf` 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 strictLastIndexOf(array, value, fromIndex) { + var index = fromIndex + 1; + while (index--) { + if (array[index] === value) { + return index; + } + } + return index; +} + +module.exports = strictLastIndexOf; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stringSize.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stringSize.js" new file mode 100644 index 00000000..17ef462a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stringSize.js" @@ -0,0 +1,18 @@ +var asciiSize = require('./_asciiSize'), + hasUnicode = require('./_hasUnicode'), + unicodeSize = require('./_unicodeSize'); + +/** + * Gets the number of symbols in `string`. + * + * @private + * @param {string} string The string to inspect. + * @returns {number} Returns the string size. + */ +function stringSize(string) { + return hasUnicode(string) + ? unicodeSize(string) + : asciiSize(string); +} + +module.exports = stringSize; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stringToArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stringToArray.js" new file mode 100644 index 00000000..d161158c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stringToArray.js" @@ -0,0 +1,18 @@ +var asciiToArray = require('./_asciiToArray'), + hasUnicode = require('./_hasUnicode'), + unicodeToArray = require('./_unicodeToArray'); + +/** + * Converts `string` to an array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the converted array. + */ +function stringToArray(string) { + return hasUnicode(string) + ? unicodeToArray(string) + : asciiToArray(string); +} + +module.exports = stringToArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stringToPath.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stringToPath.js" new file mode 100644 index 00000000..8f39f8a2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_stringToPath.js" @@ -0,0 +1,27 @@ +var memoizeCapped = require('./_memoizeCapped'); + +/** Used to match property names within property paths. */ +var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; + +/** Used to match backslashes in property paths. */ +var reEscapeChar = /\\(\\)?/g; + +/** + * Converts `string` to a property path array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the property path array. + */ +var stringToPath = memoizeCapped(function(string) { + var result = []; + if (string.charCodeAt(0) === 46 /* . */) { + result.push(''); + } + string.replace(rePropName, function(match, number, quote, subString) { + result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match)); + }); + return result; +}); + +module.exports = stringToPath; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_toKey.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_toKey.js" new file mode 100644 index 00000000..c6d645c4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_toKey.js" @@ -0,0 +1,21 @@ +var isSymbol = require('./isSymbol'); + +/** Used as references for various `Number` constants. */ +var INFINITY = 1 / 0; + +/** + * Converts `value` to a string key if it's not a string or symbol. + * + * @private + * @param {*} value The value to inspect. + * @returns {string|symbol} Returns the key. + */ +function toKey(value) { + if (typeof value == 'string' || isSymbol(value)) { + return value; + } + var result = (value + ''); + return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; +} + +module.exports = toKey; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_toSource.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_toSource.js" new file mode 100644 index 00000000..a020b386 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_toSource.js" @@ -0,0 +1,26 @@ +/** Used for built-in method references. */ +var funcProto = Function.prototype; + +/** Used to resolve the decompiled source of functions. */ +var funcToString = funcProto.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.call(func); + } catch (e) {} + try { + return (func + ''); + } catch (e) {} + } + return ''; +} + +module.exports = toSource; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_trimmedEndIndex.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_trimmedEndIndex.js" new file mode 100644 index 00000000..139439ad --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_trimmedEndIndex.js" @@ -0,0 +1,19 @@ +/** 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 = string.length; + + while (index-- && reWhitespace.test(string.charAt(index))) {} + return index; +} + +module.exports = trimmedEndIndex; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unescapeHtmlChar.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unescapeHtmlChar.js" new file mode 100644 index 00000000..a71fecb3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unescapeHtmlChar.js" @@ -0,0 +1,21 @@ +var basePropertyOf = require('./_basePropertyOf'); + +/** Used to map HTML entities to characters. */ +var htmlUnescapes = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + ''': "'" +}; + +/** + * Used by `_.unescape` to convert HTML entities to characters. + * + * @private + * @param {string} chr The matched character to unescape. + * @returns {string} Returns the unescaped character. + */ +var unescapeHtmlChar = basePropertyOf(htmlUnescapes); + +module.exports = unescapeHtmlChar; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unicodeSize.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unicodeSize.js" new file mode 100644 index 00000000..68137ec2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unicodeSize.js" @@ -0,0 +1,44 @@ +/** Used to compose unicode character classes. */ +var rsAstralRange = '\\ud800-\\udfff', + rsComboMarksRange = '\\u0300-\\u036f', + reComboHalfMarksRange = '\\ufe20-\\ufe2f', + rsComboSymbolsRange = '\\u20d0-\\u20ff', + rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, + rsVarRange = '\\ufe0e\\ufe0f'; + +/** Used to compose unicode capture groups. */ +var rsAstral = '[' + rsAstralRange + ']', + rsCombo = '[' + rsComboRange + ']', + rsFitz = '\\ud83c[\\udffb-\\udfff]', + rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')', + rsNonAstral = '[^' + rsAstralRange + ']', + rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}', + rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]', + rsZWJ = '\\u200d'; + +/** Used to compose unicode regexes. */ +var reOptMod = rsModifier + '?', + rsOptVar = '[' + rsVarRange + ']?', + rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*', + rsSeq = rsOptVar + reOptMod + rsOptJoin, + rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')'; + +/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */ +var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g'); + +/** + * Gets the size of a Unicode `string`. + * + * @private + * @param {string} string The string inspect. + * @returns {number} Returns the string size. + */ +function unicodeSize(string) { + var result = reUnicode.lastIndex = 0; + while (reUnicode.test(string)) { + ++result; + } + return result; +} + +module.exports = unicodeSize; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unicodeToArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unicodeToArray.js" new file mode 100644 index 00000000..2a725c06 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unicodeToArray.js" @@ -0,0 +1,40 @@ +/** Used to compose unicode character classes. */ +var rsAstralRange = '\\ud800-\\udfff', + rsComboMarksRange = '\\u0300-\\u036f', + reComboHalfMarksRange = '\\ufe20-\\ufe2f', + rsComboSymbolsRange = '\\u20d0-\\u20ff', + rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, + rsVarRange = '\\ufe0e\\ufe0f'; + +/** Used to compose unicode capture groups. */ +var rsAstral = '[' + rsAstralRange + ']', + rsCombo = '[' + rsComboRange + ']', + rsFitz = '\\ud83c[\\udffb-\\udfff]', + rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')', + rsNonAstral = '[^' + rsAstralRange + ']', + rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}', + rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]', + rsZWJ = '\\u200d'; + +/** Used to compose unicode regexes. */ +var reOptMod = rsModifier + '?', + rsOptVar = '[' + rsVarRange + ']?', + rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*', + rsSeq = rsOptVar + reOptMod + rsOptJoin, + rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')'; + +/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */ +var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g'); + +/** + * Converts a Unicode `string` to an array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the converted array. + */ +function unicodeToArray(string) { + return string.match(reUnicode) || []; +} + +module.exports = unicodeToArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unicodeWords.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unicodeWords.js" new file mode 100644 index 00000000..e72e6e0f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_unicodeWords.js" @@ -0,0 +1,69 @@ +/** Used to compose unicode character classes. */ +var rsAstralRange = '\\ud800-\\udfff', + rsComboMarksRange = '\\u0300-\\u036f', + reComboHalfMarksRange = '\\ufe20-\\ufe2f', + rsComboSymbolsRange = '\\u20d0-\\u20ff', + rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, + rsDingbatRange = '\\u2700-\\u27bf', + rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff', + rsMathOpRange = '\\xac\\xb1\\xd7\\xf7', + rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf', + rsPunctuationRange = '\\u2000-\\u206f', + rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000', + rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde', + rsVarRange = '\\ufe0e\\ufe0f', + rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange; + +/** Used to compose unicode capture groups. */ +var rsApos = "['\u2019]", + rsBreak = '[' + rsBreakRange + ']', + rsCombo = '[' + rsComboRange + ']', + rsDigits = '\\d+', + rsDingbat = '[' + rsDingbatRange + ']', + rsLower = '[' + rsLowerRange + ']', + rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']', + rsFitz = '\\ud83c[\\udffb-\\udfff]', + rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')', + rsNonAstral = '[^' + rsAstralRange + ']', + rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}', + rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]', + rsUpper = '[' + rsUpperRange + ']', + rsZWJ = '\\u200d'; + +/** Used to compose unicode regexes. */ +var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')', + rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')', + rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?', + rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?', + reOptMod = rsModifier + '?', + rsOptVar = '[' + rsVarRange + ']?', + rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*', + rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])', + rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])', + rsSeq = rsOptVar + reOptMod + rsOptJoin, + rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq; + +/** Used to match complex or compound words. */ +var reUnicodeWord = RegExp([ + rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')', + rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')', + rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower, + rsUpper + '+' + rsOptContrUpper, + rsOrdUpper, + rsOrdLower, + rsDigits, + rsEmoji +].join('|'), 'g'); + +/** + * Splits a Unicode `string` into an array of its words. + * + * @private + * @param {string} The string to inspect. + * @returns {Array} Returns the words of `string`. + */ +function unicodeWords(string) { + return string.match(reUnicodeWord) || []; +} + +module.exports = unicodeWords; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_updateWrapDetails.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_updateWrapDetails.js" new file mode 100644 index 00000000..8759fbdf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_updateWrapDetails.js" @@ -0,0 +1,46 @@ +var arrayEach = require('./_arrayEach'), + arrayIncludes = require('./_arrayIncludes'); + +/** Used to compose bitmasks for function metadata. */ +var WRAP_BIND_FLAG = 1, + WRAP_BIND_KEY_FLAG = 2, + WRAP_CURRY_FLAG = 8, + WRAP_CURRY_RIGHT_FLAG = 16, + WRAP_PARTIAL_FLAG = 32, + WRAP_PARTIAL_RIGHT_FLAG = 64, + WRAP_ARY_FLAG = 128, + WRAP_REARG_FLAG = 256, + WRAP_FLIP_FLAG = 512; + +/** Used to associate wrap methods with their bit flags. */ +var wrapFlags = [ + ['ary', WRAP_ARY_FLAG], + ['bind', WRAP_BIND_FLAG], + ['bindKey', WRAP_BIND_KEY_FLAG], + ['curry', WRAP_CURRY_FLAG], + ['curryRight', WRAP_CURRY_RIGHT_FLAG], + ['flip', WRAP_FLIP_FLAG], + ['partial', WRAP_PARTIAL_FLAG], + ['partialRight', WRAP_PARTIAL_RIGHT_FLAG], + ['rearg', WRAP_REARG_FLAG] +]; + +/** + * Updates wrapper `details` based on `bitmask` flags. + * + * @private + * @returns {Array} details The details to modify. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @returns {Array} Returns `details`. + */ +function updateWrapDetails(details, bitmask) { + arrayEach(wrapFlags, function(pair) { + var value = '_.' + pair[0]; + if ((bitmask & pair[1]) && !arrayIncludes(details, value)) { + details.push(value); + } + }); + return details.sort(); +} + +module.exports = updateWrapDetails; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_wrapperClone.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_wrapperClone.js" new file mode 100644 index 00000000..7bb58a2e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/_wrapperClone.js" @@ -0,0 +1,23 @@ +var LazyWrapper = require('./_LazyWrapper'), + LodashWrapper = require('./_LodashWrapper'), + copyArray = require('./_copyArray'); + +/** + * Creates a clone of `wrapper`. + * + * @private + * @param {Object} wrapper The wrapper to clone. + * @returns {Object} Returns the cloned wrapper. + */ +function wrapperClone(wrapper) { + if (wrapper instanceof LazyWrapper) { + return wrapper.clone(); + } + var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__); + result.__actions__ = copyArray(wrapper.__actions__); + result.__index__ = wrapper.__index__; + result.__values__ = wrapper.__values__; + return result; +} + +module.exports = wrapperClone; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/add.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/add.js" new file mode 100644 index 00000000..f0695156 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/add.js" @@ -0,0 +1,22 @@ +var createMathOperation = require('./_createMathOperation'); + +/** + * Adds two numbers. + * + * @static + * @memberOf _ + * @since 3.4.0 + * @category Math + * @param {number} augend The first number in an addition. + * @param {number} addend The second number in an addition. + * @returns {number} Returns the total. + * @example + * + * _.add(6, 4); + * // => 10 + */ +var add = createMathOperation(function(augend, addend) { + return augend + addend; +}, 0); + +module.exports = add; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/after.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/after.js" new file mode 100644 index 00000000..3900c979 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/after.js" @@ -0,0 +1,42 @@ +var toInteger = require('./toInteger'); + +/** Error message constants. */ +var FUNC_ERROR_TEXT = 'Expected a function'; + +/** + * The opposite of `_.before`; this method creates a function that invokes + * `func` once it's called `n` or more times. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {number} n The number of calls before `func` is invoked. + * @param {Function} func The function to restrict. + * @returns {Function} Returns the new restricted function. + * @example + * + * var saves = ['profile', 'settings']; + * + * var done = _.after(saves.length, function() { + * console.log('done saving!'); + * }); + * + * _.forEach(saves, function(type) { + * asyncSave({ 'type': type, 'complete': done }); + * }); + * // => Logs 'done saving!' after the two async saves have completed. + */ +function after(n, func) { + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + n = toInteger(n); + return function() { + if (--n < 1) { + return func.apply(this, arguments); + } + }; +} + +module.exports = after; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/array.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/array.js" new file mode 100644 index 00000000..af688d3e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/array.js" @@ -0,0 +1,67 @@ +module.exports = { + 'chunk': require('./chunk'), + 'compact': require('./compact'), + 'concat': require('./concat'), + 'difference': require('./difference'), + 'differenceBy': require('./differenceBy'), + 'differenceWith': require('./differenceWith'), + 'drop': require('./drop'), + 'dropRight': require('./dropRight'), + 'dropRightWhile': require('./dropRightWhile'), + 'dropWhile': require('./dropWhile'), + 'fill': require('./fill'), + 'findIndex': require('./findIndex'), + 'findLastIndex': require('./findLastIndex'), + 'first': require('./first'), + 'flatten': require('./flatten'), + 'flattenDeep': require('./flattenDeep'), + 'flattenDepth': require('./flattenDepth'), + 'fromPairs': require('./fromPairs'), + 'head': require('./head'), + 'indexOf': require('./indexOf'), + 'initial': require('./initial'), + 'intersection': require('./intersection'), + 'intersectionBy': require('./intersectionBy'), + 'intersectionWith': require('./intersectionWith'), + 'join': require('./join'), + 'last': require('./last'), + 'lastIndexOf': require('./lastIndexOf'), + 'nth': require('./nth'), + 'pull': require('./pull'), + 'pullAll': require('./pullAll'), + 'pullAllBy': require('./pullAllBy'), + 'pullAllWith': require('./pullAllWith'), + 'pullAt': require('./pullAt'), + 'remove': require('./remove'), + 'reverse': require('./reverse'), + 'slice': require('./slice'), + 'sortedIndex': require('./sortedIndex'), + 'sortedIndexBy': require('./sortedIndexBy'), + 'sortedIndexOf': require('./sortedIndexOf'), + 'sortedLastIndex': require('./sortedLastIndex'), + 'sortedLastIndexBy': require('./sortedLastIndexBy'), + 'sortedLastIndexOf': require('./sortedLastIndexOf'), + 'sortedUniq': require('./sortedUniq'), + 'sortedUniqBy': require('./sortedUniqBy'), + 'tail': require('./tail'), + 'take': require('./take'), + 'takeRight': require('./takeRight'), + 'takeRightWhile': require('./takeRightWhile'), + 'takeWhile': require('./takeWhile'), + 'union': require('./union'), + 'unionBy': require('./unionBy'), + 'unionWith': require('./unionWith'), + 'uniq': require('./uniq'), + 'uniqBy': require('./uniqBy'), + 'uniqWith': require('./uniqWith'), + 'unzip': require('./unzip'), + 'unzipWith': require('./unzipWith'), + 'without': require('./without'), + 'xor': require('./xor'), + 'xorBy': require('./xorBy'), + 'xorWith': require('./xorWith'), + 'zip': require('./zip'), + 'zipObject': require('./zipObject'), + 'zipObjectDeep': require('./zipObjectDeep'), + 'zipWith': require('./zipWith') +}; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/ary.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/ary.js" new file mode 100644 index 00000000..70c87d09 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/ary.js" @@ -0,0 +1,29 @@ +var createWrap = require('./_createWrap'); + +/** Used to compose bitmasks for function metadata. */ +var WRAP_ARY_FLAG = 128; + +/** + * Creates a function that invokes `func`, with up to `n` arguments, + * ignoring any additional arguments. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Function + * @param {Function} func The function to cap arguments for. + * @param {number} [n=func.length] The arity cap. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Function} Returns the new capped function. + * @example + * + * _.map(['6', '8', '10'], _.ary(parseInt, 1)); + * // => [6, 8, 10] + */ +function ary(func, n, guard) { + n = guard ? undefined : n; + n = (func && n == null) ? func.length : n; + return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n); +} + +module.exports = ary; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assign.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assign.js" new file mode 100644 index 00000000..909db26a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assign.js" @@ -0,0 +1,58 @@ +var assignValue = require('./_assignValue'), + copyObject = require('./_copyObject'), + createAssigner = require('./_createAssigner'), + isArrayLike = require('./isArrayLike'), + isPrototype = require('./_isPrototype'), + keys = require('./keys'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Assigns own enumerable string keyed properties of source objects to the + * destination object. Source objects are applied from left to right. + * Subsequent sources overwrite property assignments of previous sources. + * + * **Note:** This method mutates `object` and is loosely based on + * [`Object.assign`](https://mdn.io/Object/assign). + * + * @static + * @memberOf _ + * @since 0.10.0 + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @see _.assignIn + * @example + * + * function Foo() { + * this.a = 1; + * } + * + * function Bar() { + * this.c = 3; + * } + * + * Foo.prototype.b = 2; + * Bar.prototype.d = 4; + * + * _.assign({ 'a': 0 }, new Foo, new Bar); + * // => { 'a': 1, 'c': 3 } + */ +var assign = createAssigner(function(object, source) { + if (isPrototype(source) || isArrayLike(source)) { + copyObject(source, keys(source), object); + return; + } + for (var key in source) { + if (hasOwnProperty.call(source, key)) { + assignValue(object, key, source[key]); + } + } +}); + +module.exports = assign; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assignIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assignIn.js" new file mode 100644 index 00000000..e663473a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assignIn.js" @@ -0,0 +1,40 @@ +var copyObject = require('./_copyObject'), + createAssigner = require('./_createAssigner'), + keysIn = require('./keysIn'); + +/** + * This method is like `_.assign` except that it iterates over own and + * inherited source properties. + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @alias extend + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @see _.assign + * @example + * + * function Foo() { + * this.a = 1; + * } + * + * function Bar() { + * this.c = 3; + * } + * + * Foo.prototype.b = 2; + * Bar.prototype.d = 4; + * + * _.assignIn({ 'a': 0 }, new Foo, new Bar); + * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 } + */ +var assignIn = createAssigner(function(object, source) { + copyObject(source, keysIn(source), object); +}); + +module.exports = assignIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assignInWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assignInWith.js" new file mode 100644 index 00000000..68fcc0b0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assignInWith.js" @@ -0,0 +1,38 @@ +var copyObject = require('./_copyObject'), + createAssigner = require('./_createAssigner'), + keysIn = require('./keysIn'); + +/** + * This method is like `_.assignIn` except that it accepts `customizer` + * which is invoked to produce the assigned values. If `customizer` returns + * `undefined`, assignment is handled by the method instead. The `customizer` + * is invoked with five arguments: (objValue, srcValue, key, object, source). + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @alias extendWith + * @category Object + * @param {Object} object The destination object. + * @param {...Object} sources The source objects. + * @param {Function} [customizer] The function to customize assigned values. + * @returns {Object} Returns `object`. + * @see _.assignWith + * @example + * + * function customizer(objValue, srcValue) { + * return _.isUndefined(objValue) ? srcValue : objValue; + * } + * + * var defaults = _.partialRight(_.assignInWith, customizer); + * + * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ +var assignInWith = createAssigner(function(object, source, srcIndex, customizer) { + copyObject(source, keysIn(source), object, customizer); +}); + +module.exports = assignInWith; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assignWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assignWith.js" new file mode 100644 index 00000000..7dc6c761 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/assignWith.js" @@ -0,0 +1,37 @@ +var copyObject = require('./_copyObject'), + createAssigner = require('./_createAssigner'), + keys = require('./keys'); + +/** + * This method is like `_.assign` except that it accepts `customizer` + * which is invoked to produce the assigned values. If `customizer` returns + * `undefined`, assignment is handled by the method instead. The `customizer` + * is invoked with five arguments: (objValue, srcValue, key, object, source). + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The destination object. + * @param {...Object} sources The source objects. + * @param {Function} [customizer] The function to customize assigned values. + * @returns {Object} Returns `object`. + * @see _.assignInWith + * @example + * + * function customizer(objValue, srcValue) { + * return _.isUndefined(objValue) ? srcValue : objValue; + * } + * + * var defaults = _.partialRight(_.assignWith, customizer); + * + * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ +var assignWith = createAssigner(function(object, source, srcIndex, customizer) { + copyObject(source, keys(source), object, customizer); +}); + +module.exports = assignWith; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/at.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/at.js" new file mode 100644 index 00000000..781ee9e5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/at.js" @@ -0,0 +1,23 @@ +var baseAt = require('./_baseAt'), + flatRest = require('./_flatRest'); + +/** + * Creates an array of values corresponding to `paths` of `object`. + * + * @static + * @memberOf _ + * @since 1.0.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {...(string|string[])} [paths] The property paths to pick. + * @returns {Array} Returns the picked values. + * @example + * + * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] }; + * + * _.at(object, ['a[0].b.c', 'a[1]']); + * // => [3, 4] + */ +var at = flatRest(baseAt); + +module.exports = at; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/attempt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/attempt.js" new file mode 100644 index 00000000..624d0152 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/attempt.js" @@ -0,0 +1,35 @@ +var apply = require('./_apply'), + baseRest = require('./_baseRest'), + isError = require('./isError'); + +/** + * Attempts to invoke `func`, returning either the result or the caught error + * object. Any additional arguments are provided to `func` when it's invoked. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Util + * @param {Function} func The function to attempt. + * @param {...*} [args] The arguments to invoke `func` with. + * @returns {*} Returns the `func` result or error object. + * @example + * + * // Avoid throwing errors for invalid selectors. + * var elements = _.attempt(function(selector) { + * return document.querySelectorAll(selector); + * }, '>_>'); + * + * if (_.isError(elements)) { + * elements = []; + * } + */ +var attempt = baseRest(function(func, args) { + try { + return apply(func, undefined, args); + } catch (e) { + return isError(e) ? e : new Error(e); + } +}); + +module.exports = attempt; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/before.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/before.js" new file mode 100644 index 00000000..a3e0a16c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/before.js" @@ -0,0 +1,40 @@ +var toInteger = require('./toInteger'); + +/** Error message constants. */ +var FUNC_ERROR_TEXT = 'Expected a function'; + +/** + * Creates a function that invokes `func`, with the `this` binding and arguments + * of the created function, while it's called less than `n` times. Subsequent + * calls to the created function return the result of the last `func` invocation. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Function + * @param {number} n The number of calls at which `func` is no longer invoked. + * @param {Function} func The function to restrict. + * @returns {Function} Returns the new restricted function. + * @example + * + * jQuery(element).on('click', _.before(5, addContactToList)); + * // => Allows adding up to 4 contacts to the list. + */ +function before(n, func) { + var result; + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + n = toInteger(n); + return function() { + if (--n > 0) { + result = func.apply(this, arguments); + } + if (n <= 1) { + func = undefined; + } + return result; + }; +} + +module.exports = before; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/bind.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/bind.js" new file mode 100644 index 00000000..b1076e93 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/bind.js" @@ -0,0 +1,57 @@ +var baseRest = require('./_baseRest'), + createWrap = require('./_createWrap'), + getHolder = require('./_getHolder'), + replaceHolders = require('./_replaceHolders'); + +/** Used to compose bitmasks for function metadata. */ +var WRAP_BIND_FLAG = 1, + WRAP_PARTIAL_FLAG = 32; + +/** + * Creates a function that invokes `func` with the `this` binding of `thisArg` + * and `partials` prepended to the arguments it receives. + * + * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds, + * may be used as a placeholder for partially applied arguments. + * + * **Note:** Unlike native `Function#bind`, this method doesn't set the "length" + * property of bound functions. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to bind. + * @param {*} thisArg The `this` binding of `func`. + * @param {...*} [partials] The arguments to be partially applied. + * @returns {Function} Returns the new bound function. + * @example + * + * function greet(greeting, punctuation) { + * return greeting + ' ' + this.user + punctuation; + * } + * + * var object = { 'user': 'fred' }; + * + * var bound = _.bind(greet, object, 'hi'); + * bound('!'); + * // => 'hi fred!' + * + * // Bound with placeholders. + * var bound = _.bind(greet, object, _, '!'); + * bound('hi'); + * // => 'hi fred!' + */ +var bind = baseRest(function(func, thisArg, partials) { + var bitmask = WRAP_BIND_FLAG; + if (partials.length) { + var holders = replaceHolders(partials, getHolder(bind)); + bitmask |= WRAP_PARTIAL_FLAG; + } + return createWrap(func, bitmask, thisArg, partials, holders); +}); + +// Assign default placeholders. +bind.placeholder = {}; + +module.exports = bind; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/bindAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/bindAll.js" new file mode 100644 index 00000000..a35706de --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/bindAll.js" @@ -0,0 +1,41 @@ +var arrayEach = require('./_arrayEach'), + baseAssignValue = require('./_baseAssignValue'), + bind = require('./bind'), + flatRest = require('./_flatRest'), + toKey = require('./_toKey'); + +/** + * Binds methods of an object to the object itself, overwriting the existing + * method. + * + * **Note:** This method doesn't set the "length" property of bound functions. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Util + * @param {Object} object The object to bind and assign the bound methods to. + * @param {...(string|string[])} methodNames The object method names to bind. + * @returns {Object} Returns `object`. + * @example + * + * var view = { + * 'label': 'docs', + * 'click': function() { + * console.log('clicked ' + this.label); + * } + * }; + * + * _.bindAll(view, ['click']); + * jQuery(element).on('click', view.click); + * // => Logs 'clicked docs' when clicked. + */ +var bindAll = flatRest(function(object, methodNames) { + arrayEach(methodNames, function(key) { + key = toKey(key); + baseAssignValue(object, key, bind(object[key], object)); + }); + return object; +}); + +module.exports = bindAll; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/bindKey.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/bindKey.js" new file mode 100644 index 00000000..f7fd64cd --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/bindKey.js" @@ -0,0 +1,68 @@ +var baseRest = require('./_baseRest'), + createWrap = require('./_createWrap'), + getHolder = require('./_getHolder'), + replaceHolders = require('./_replaceHolders'); + +/** Used to compose bitmasks for function metadata. */ +var WRAP_BIND_FLAG = 1, + WRAP_BIND_KEY_FLAG = 2, + WRAP_PARTIAL_FLAG = 32; + +/** + * Creates a function that invokes the method at `object[key]` with `partials` + * prepended to the arguments it receives. + * + * This method differs from `_.bind` by allowing bound functions to reference + * methods that may be redefined or don't yet exist. See + * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern) + * for more details. + * + * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic + * builds, may be used as a placeholder for partially applied arguments. + * + * @static + * @memberOf _ + * @since 0.10.0 + * @category Function + * @param {Object} object The object to invoke the method on. + * @param {string} key The key of the method. + * @param {...*} [partials] The arguments to be partially applied. + * @returns {Function} Returns the new bound function. + * @example + * + * var object = { + * 'user': 'fred', + * 'greet': function(greeting, punctuation) { + * return greeting + ' ' + this.user + punctuation; + * } + * }; + * + * var bound = _.bindKey(object, 'greet', 'hi'); + * bound('!'); + * // => 'hi fred!' + * + * object.greet = function(greeting, punctuation) { + * return greeting + 'ya ' + this.user + punctuation; + * }; + * + * bound('!'); + * // => 'hiya fred!' + * + * // Bound with placeholders. + * var bound = _.bindKey(object, 'greet', _, '!'); + * bound('hi'); + * // => 'hiya fred!' + */ +var bindKey = baseRest(function(object, key, partials) { + var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG; + if (partials.length) { + var holders = replaceHolders(partials, getHolder(bindKey)); + bitmask |= WRAP_PARTIAL_FLAG; + } + return createWrap(key, bitmask, object, partials, holders); +}); + +// Assign default placeholders. +bindKey.placeholder = {}; + +module.exports = bindKey; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/camelCase.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/camelCase.js" new file mode 100644 index 00000000..d7390def --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/camelCase.js" @@ -0,0 +1,29 @@ +var capitalize = require('./capitalize'), + createCompounder = require('./_createCompounder'); + +/** + * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to convert. + * @returns {string} Returns the camel cased string. + * @example + * + * _.camelCase('Foo Bar'); + * // => 'fooBar' + * + * _.camelCase('--foo-bar--'); + * // => 'fooBar' + * + * _.camelCase('__FOO_BAR__'); + * // => 'fooBar' + */ +var camelCase = createCompounder(function(result, word, index) { + word = word.toLowerCase(); + return result + (index ? capitalize(word) : word); +}); + +module.exports = camelCase; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/capitalize.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/capitalize.js" new file mode 100644 index 00000000..3e1600e7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/capitalize.js" @@ -0,0 +1,23 @@ +var toString = require('./toString'), + upperFirst = require('./upperFirst'); + +/** + * Converts the first character of `string` to upper case and the remaining + * to lower case. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to capitalize. + * @returns {string} Returns the capitalized string. + * @example + * + * _.capitalize('FRED'); + * // => 'Fred' + */ +function capitalize(string) { + return upperFirst(toString(string).toLowerCase()); +} + +module.exports = capitalize; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/castArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/castArray.js" new file mode 100644 index 00000000..e470bdb9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/castArray.js" @@ -0,0 +1,44 @@ +var isArray = require('./isArray'); + +/** + * Casts `value` as an array if it's not one. + * + * @static + * @memberOf _ + * @since 4.4.0 + * @category Lang + * @param {*} value The value to inspect. + * @returns {Array} Returns the cast array. + * @example + * + * _.castArray(1); + * // => [1] + * + * _.castArray({ 'a': 1 }); + * // => [{ 'a': 1 }] + * + * _.castArray('abc'); + * // => ['abc'] + * + * _.castArray(null); + * // => [null] + * + * _.castArray(undefined); + * // => [undefined] + * + * _.castArray(); + * // => [] + * + * var array = [1, 2, 3]; + * console.log(_.castArray(array) === array); + * // => true + */ +function castArray() { + if (!arguments.length) { + return []; + } + var value = arguments[0]; + return isArray(value) ? value : [value]; +} + +module.exports = castArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/ceil.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/ceil.js" new file mode 100644 index 00000000..56c8722c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/ceil.js" @@ -0,0 +1,26 @@ +var createRound = require('./_createRound'); + +/** + * Computes `number` rounded up to `precision`. + * + * @static + * @memberOf _ + * @since 3.10.0 + * @category Math + * @param {number} number The number to round up. + * @param {number} [precision=0] The precision to round up to. + * @returns {number} Returns the rounded up number. + * @example + * + * _.ceil(4.006); + * // => 5 + * + * _.ceil(6.004, 2); + * // => 6.01 + * + * _.ceil(6040, -2); + * // => 6100 + */ +var ceil = createRound('ceil'); + +module.exports = ceil; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/chain.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/chain.js" new file mode 100644 index 00000000..f6cd6475 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/chain.js" @@ -0,0 +1,38 @@ +var lodash = require('./wrapperLodash'); + +/** + * Creates a `lodash` wrapper instance that wraps `value` with explicit method + * chain sequences enabled. The result of such sequences must be unwrapped + * with `_#value`. + * + * @static + * @memberOf _ + * @since 1.3.0 + * @category Seq + * @param {*} value The value to wrap. + * @returns {Object} Returns the new `lodash` wrapper instance. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 40 }, + * { 'user': 'pebbles', 'age': 1 } + * ]; + * + * var youngest = _ + * .chain(users) + * .sortBy('age') + * .map(function(o) { + * return o.user + ' is ' + o.age; + * }) + * .head() + * .value(); + * // => 'pebbles is 1' + */ +function chain(value) { + var result = lodash(value); + result.__chain__ = true; + return result; +} + +module.exports = chain; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/chunk.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/chunk.js" new file mode 100644 index 00000000..5b562fef --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/chunk.js" @@ -0,0 +1,50 @@ +var baseSlice = require('./_baseSlice'), + isIterateeCall = require('./_isIterateeCall'), + toInteger = require('./toInteger'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeCeil = Math.ceil, + nativeMax = Math.max; + +/** + * Creates an array of elements split into groups the length of `size`. + * If `array` can't be split evenly, the final chunk will be the remaining + * elements. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to process. + * @param {number} [size=1] The length of each chunk + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Array} Returns the new array of chunks. + * @example + * + * _.chunk(['a', 'b', 'c', 'd'], 2); + * // => [['a', 'b'], ['c', 'd']] + * + * _.chunk(['a', 'b', 'c', 'd'], 3); + * // => [['a', 'b', 'c'], ['d']] + */ +function chunk(array, size, guard) { + if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) { + size = 1; + } else { + size = nativeMax(toInteger(size), 0); + } + var length = array == null ? 0 : array.length; + if (!length || size < 1) { + return []; + } + var index = 0, + resIndex = 0, + result = Array(nativeCeil(length / size)); + + while (index < length) { + result[resIndex++] = baseSlice(array, index, (index += size)); + } + return result; +} + +module.exports = chunk; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/clamp.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/clamp.js" new file mode 100644 index 00000000..91a72c97 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/clamp.js" @@ -0,0 +1,39 @@ +var baseClamp = require('./_baseClamp'), + toNumber = require('./toNumber'); + +/** + * Clamps `number` within the inclusive `lower` and `upper` bounds. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Number + * @param {number} number The number to clamp. + * @param {number} [lower] The lower bound. + * @param {number} upper The upper bound. + * @returns {number} Returns the clamped number. + * @example + * + * _.clamp(-10, -5, 5); + * // => -5 + * + * _.clamp(10, -5, 5); + * // => 5 + */ +function clamp(number, lower, upper) { + if (upper === undefined) { + upper = lower; + lower = undefined; + } + if (upper !== undefined) { + upper = toNumber(upper); + upper = upper === upper ? upper : 0; + } + if (lower !== undefined) { + lower = toNumber(lower); + lower = lower === lower ? lower : 0; + } + return baseClamp(toNumber(number), lower, upper); +} + +module.exports = clamp; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/clone.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/clone.js" new file mode 100644 index 00000000..dd439d63 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/clone.js" @@ -0,0 +1,36 @@ +var baseClone = require('./_baseClone'); + +/** Used to compose bitmasks for cloning. */ +var CLONE_SYMBOLS_FLAG = 4; + +/** + * Creates a shallow clone of `value`. + * + * **Note:** This method is loosely based on the + * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm) + * and supports cloning arrays, array buffers, booleans, date objects, maps, + * numbers, `Object` objects, regexes, sets, strings, symbols, and typed + * arrays. The own enumerable properties of `arguments` objects are cloned + * as plain objects. An empty object is returned for uncloneable values such + * as error objects, functions, DOM nodes, and WeakMaps. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to clone. + * @returns {*} Returns the cloned value. + * @see _.cloneDeep + * @example + * + * var objects = [{ 'a': 1 }, { 'b': 2 }]; + * + * var shallow = _.clone(objects); + * console.log(shallow[0] === objects[0]); + * // => true + */ +function clone(value) { + return baseClone(value, CLONE_SYMBOLS_FLAG); +} + +module.exports = clone; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cloneDeep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cloneDeep.js" new file mode 100644 index 00000000..4425fbe8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cloneDeep.js" @@ -0,0 +1,29 @@ +var baseClone = require('./_baseClone'); + +/** Used to compose bitmasks for cloning. */ +var CLONE_DEEP_FLAG = 1, + CLONE_SYMBOLS_FLAG = 4; + +/** + * This method is like `_.clone` except that it recursively clones `value`. + * + * @static + * @memberOf _ + * @since 1.0.0 + * @category Lang + * @param {*} value The value to recursively clone. + * @returns {*} Returns the deep cloned value. + * @see _.clone + * @example + * + * var objects = [{ 'a': 1 }, { 'b': 2 }]; + * + * var deep = _.cloneDeep(objects); + * console.log(deep[0] === objects[0]); + * // => false + */ +function cloneDeep(value) { + return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG); +} + +module.exports = cloneDeep; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cloneDeepWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cloneDeepWith.js" new file mode 100644 index 00000000..fd9c6c05 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cloneDeepWith.js" @@ -0,0 +1,40 @@ +var baseClone = require('./_baseClone'); + +/** Used to compose bitmasks for cloning. */ +var CLONE_DEEP_FLAG = 1, + CLONE_SYMBOLS_FLAG = 4; + +/** + * This method is like `_.cloneWith` except that it recursively clones `value`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to recursively clone. + * @param {Function} [customizer] The function to customize cloning. + * @returns {*} Returns the deep cloned value. + * @see _.cloneWith + * @example + * + * function customizer(value) { + * if (_.isElement(value)) { + * return value.cloneNode(true); + * } + * } + * + * var el = _.cloneDeepWith(document.body, customizer); + * + * console.log(el === document.body); + * // => false + * console.log(el.nodeName); + * // => 'BODY' + * console.log(el.childNodes.length); + * // => 20 + */ +function cloneDeepWith(value, customizer) { + customizer = typeof customizer == 'function' ? customizer : undefined; + return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer); +} + +module.exports = cloneDeepWith; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cloneWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cloneWith.js" new file mode 100644 index 00000000..d2f4e756 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cloneWith.js" @@ -0,0 +1,42 @@ +var baseClone = require('./_baseClone'); + +/** Used to compose bitmasks for cloning. */ +var CLONE_SYMBOLS_FLAG = 4; + +/** + * This method is like `_.clone` except that it accepts `customizer` which + * is invoked to produce the cloned value. If `customizer` returns `undefined`, + * cloning is handled by the method instead. The `customizer` is invoked with + * up to four arguments; (value [, index|key, object, stack]). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to clone. + * @param {Function} [customizer] The function to customize cloning. + * @returns {*} Returns the cloned value. + * @see _.cloneDeepWith + * @example + * + * function customizer(value) { + * if (_.isElement(value)) { + * return value.cloneNode(false); + * } + * } + * + * var el = _.cloneWith(document.body, customizer); + * + * console.log(el === document.body); + * // => false + * console.log(el.nodeName); + * // => 'BODY' + * console.log(el.childNodes.length); + * // => 0 + */ +function cloneWith(value, customizer) { + customizer = typeof customizer == 'function' ? customizer : undefined; + return baseClone(value, CLONE_SYMBOLS_FLAG, customizer); +} + +module.exports = cloneWith; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/collection.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/collection.js" new file mode 100644 index 00000000..77fe837f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/collection.js" @@ -0,0 +1,30 @@ +module.exports = { + 'countBy': require('./countBy'), + 'each': require('./each'), + 'eachRight': require('./eachRight'), + 'every': require('./every'), + 'filter': require('./filter'), + 'find': require('./find'), + 'findLast': require('./findLast'), + 'flatMap': require('./flatMap'), + 'flatMapDeep': require('./flatMapDeep'), + 'flatMapDepth': require('./flatMapDepth'), + 'forEach': require('./forEach'), + 'forEachRight': require('./forEachRight'), + 'groupBy': require('./groupBy'), + 'includes': require('./includes'), + 'invokeMap': require('./invokeMap'), + 'keyBy': require('./keyBy'), + 'map': require('./map'), + 'orderBy': require('./orderBy'), + 'partition': require('./partition'), + 'reduce': require('./reduce'), + 'reduceRight': require('./reduceRight'), + 'reject': require('./reject'), + 'sample': require('./sample'), + 'sampleSize': require('./sampleSize'), + 'shuffle': require('./shuffle'), + 'size': require('./size'), + 'some': require('./some'), + 'sortBy': require('./sortBy') +}; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/commit.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/commit.js" new file mode 100644 index 00000000..fe4db717 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/commit.js" @@ -0,0 +1,33 @@ +var LodashWrapper = require('./_LodashWrapper'); + +/** + * Executes the chain sequence and returns the wrapped result. + * + * @name commit + * @memberOf _ + * @since 3.2.0 + * @category Seq + * @returns {Object} Returns the new `lodash` wrapper instance. + * @example + * + * var array = [1, 2]; + * var wrapped = _(array).push(3); + * + * console.log(array); + * // => [1, 2] + * + * wrapped = wrapped.commit(); + * console.log(array); + * // => [1, 2, 3] + * + * wrapped.last(); + * // => 3 + * + * console.log(array); + * // => [1, 2, 3] + */ +function wrapperCommit() { + return new LodashWrapper(this.value(), this.__chain__); +} + +module.exports = wrapperCommit; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/compact.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/compact.js" new file mode 100644 index 00000000..031fab4e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/compact.js" @@ -0,0 +1,31 @@ +/** + * Creates an array with all falsey values removed. The values `false`, `null`, + * `0`, `""`, `undefined`, and `NaN` are falsey. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to compact. + * @returns {Array} Returns the new array of filtered values. + * @example + * + * _.compact([0, 1, false, 2, '', 3]); + * // => [1, 2, 3] + */ +function compact(array) { + var index = -1, + length = array == null ? 0 : array.length, + resIndex = 0, + result = []; + + while (++index < length) { + var value = array[index]; + if (value) { + result[resIndex++] = value; + } + } + return result; +} + +module.exports = compact; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/concat.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/concat.js" new file mode 100644 index 00000000..1da48a4f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/concat.js" @@ -0,0 +1,43 @@ +var arrayPush = require('./_arrayPush'), + baseFlatten = require('./_baseFlatten'), + copyArray = require('./_copyArray'), + isArray = require('./isArray'); + +/** + * Creates a new array concatenating `array` with any additional arrays + * and/or values. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to concatenate. + * @param {...*} [values] The values to concatenate. + * @returns {Array} Returns the new concatenated array. + * @example + * + * var array = [1]; + * var other = _.concat(array, 2, [3], [[4]]); + * + * console.log(other); + * // => [1, 2, 3, [4]] + * + * console.log(array); + * // => [1] + */ +function concat() { + var length = arguments.length; + if (!length) { + return []; + } + var args = Array(length - 1), + array = arguments[0], + index = length; + + while (index--) { + args[index - 1] = arguments[index]; + } + return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1)); +} + +module.exports = concat; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cond.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cond.js" new file mode 100644 index 00000000..64555986 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/cond.js" @@ -0,0 +1,60 @@ +var apply = require('./_apply'), + arrayMap = require('./_arrayMap'), + baseIteratee = require('./_baseIteratee'), + baseRest = require('./_baseRest'); + +/** Error message constants. */ +var FUNC_ERROR_TEXT = 'Expected a function'; + +/** + * Creates a function that iterates over `pairs` and invokes the corresponding + * function of the first predicate to return truthy. The predicate-function + * pairs are invoked with the `this` binding and arguments of the created + * function. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Util + * @param {Array} pairs The predicate-function pairs. + * @returns {Function} Returns the new composite function. + * @example + * + * var func = _.cond([ + * [_.matches({ 'a': 1 }), _.constant('matches A')], + * [_.conforms({ 'b': _.isNumber }), _.constant('matches B')], + * [_.stubTrue, _.constant('no match')] + * ]); + * + * func({ 'a': 1, 'b': 2 }); + * // => 'matches A' + * + * func({ 'a': 0, 'b': 1 }); + * // => 'matches B' + * + * func({ 'a': '1', 'b': '2' }); + * // => 'no match' + */ +function cond(pairs) { + var length = pairs == null ? 0 : pairs.length, + toIteratee = baseIteratee; + + pairs = !length ? [] : arrayMap(pairs, function(pair) { + if (typeof pair[1] != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + return [toIteratee(pair[0]), pair[1]]; + }); + + return baseRest(function(args) { + var index = -1; + while (++index < length) { + var pair = pairs[index]; + if (apply(pair[0], this, args)) { + return apply(pair[1], this, args); + } + } + }); +} + +module.exports = cond; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/conforms.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/conforms.js" new file mode 100644 index 00000000..5501a949 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/conforms.js" @@ -0,0 +1,35 @@ +var baseClone = require('./_baseClone'), + baseConforms = require('./_baseConforms'); + +/** Used to compose bitmasks for cloning. */ +var CLONE_DEEP_FLAG = 1; + +/** + * Creates a function that invokes the predicate properties of `source` with + * the corresponding property values of a given object, returning `true` if + * all predicates return truthy, else `false`. + * + * **Note:** The created function is equivalent to `_.conformsTo` with + * `source` partially applied. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Util + * @param {Object} source The object of property predicates to conform to. + * @returns {Function} Returns the new spec function. + * @example + * + * var objects = [ + * { 'a': 2, 'b': 1 }, + * { 'a': 1, 'b': 2 } + * ]; + * + * _.filter(objects, _.conforms({ 'b': function(n) { return n > 1; } })); + * // => [{ 'a': 1, 'b': 2 }] + */ +function conforms(source) { + return baseConforms(baseClone(source, CLONE_DEEP_FLAG)); +} + +module.exports = conforms; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/conformsTo.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/conformsTo.js" new file mode 100644 index 00000000..b8a93ebf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/conformsTo.js" @@ -0,0 +1,32 @@ +var baseConformsTo = require('./_baseConformsTo'), + keys = require('./keys'); + +/** + * Checks if `object` conforms to `source` by invoking the predicate + * properties of `source` with the corresponding property values of `object`. + * + * **Note:** This method is equivalent to `_.conforms` when `source` is + * partially applied. + * + * @static + * @memberOf _ + * @since 4.14.0 + * @category Lang + * @param {Object} object The object to inspect. + * @param {Object} source The object of property predicates to conform to. + * @returns {boolean} Returns `true` if `object` conforms, else `false`. + * @example + * + * var object = { 'a': 1, 'b': 2 }; + * + * _.conformsTo(object, { 'b': function(n) { return n > 1; } }); + * // => true + * + * _.conformsTo(object, { 'b': function(n) { return n > 2; } }); + * // => false + */ +function conformsTo(object, source) { + return source == null || baseConformsTo(object, source, keys(source)); +} + +module.exports = conformsTo; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/constant.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/constant.js" new file mode 100644 index 00000000..655ece3f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/constant.js" @@ -0,0 +1,26 @@ +/** + * 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(value) { + return function() { + return value; + }; +} + +module.exports = constant; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/core.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/core.js" new file mode 100644 index 00000000..be1d567d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/core.js" @@ -0,0 +1,3877 @@ +/** + * @license + * Lodash (Custom Build) + * Build: `lodash core -o ./dist/lodash.core.js` + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ +;(function() { + + /** Used as a safe reference for `undefined` in pre-ES5 environments. */ + var undefined; + + /** Used as the semantic version number. */ + var VERSION = '4.17.21'; + + /** Error message constants. */ + var FUNC_ERROR_TEXT = 'Expected a function'; + + /** Used to compose bitmasks for value comparisons. */ + var COMPARE_PARTIAL_FLAG = 1, + COMPARE_UNORDERED_FLAG = 2; + + /** Used to compose bitmasks for function metadata. */ + var WRAP_BIND_FLAG = 1, + WRAP_PARTIAL_FLAG = 32; + + /** Used as references for various `Number` constants. */ + var INFINITY = 1 / 0, + MAX_SAFE_INTEGER = 9007199254740991; + + /** `Object#toString` result references. */ + var argsTag = '[object Arguments]', + arrayTag = '[object Array]', + asyncTag = '[object AsyncFunction]', + boolTag = '[object Boolean]', + dateTag = '[object Date]', + errorTag = '[object Error]', + funcTag = '[object Function]', + genTag = '[object GeneratorFunction]', + numberTag = '[object Number]', + objectTag = '[object Object]', + proxyTag = '[object Proxy]', + regexpTag = '[object RegExp]', + stringTag = '[object String]'; + + /** Used to match HTML entities and HTML characters. */ + var reUnescapedHtml = /[&<>"']/g, + reHasUnescapedHtml = RegExp(reUnescapedHtml.source); + + /** Used to detect unsigned integer values. */ + var reIsUint = /^(?:0|[1-9]\d*)$/; + + /** Used to map characters to HTML entities. */ + var htmlEscapes = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + "'": ''' + }; + + /** Detect free variable `global` from Node.js. */ + var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; + + /** 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 || freeSelf || Function('return this')(); + + /** Detect free variable `exports`. */ + var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; + + /** Detect free variable `module`. */ + var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; + + /*--------------------------------------------------------------------------*/ + + /** + * Appends the elements of `values` to `array`. + * + * @private + * @param {Array} array The array to modify. + * @param {Array} values The values to append. + * @returns {Array} Returns `array`. + */ + function arrayPush(array, values) { + array.push.apply(array, values); + return array; + } + + /** + * 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 = fromIndex + (fromRight ? 1 : -1); + + while ((fromRight ? index-- : ++index < length)) { + if (predicate(array[index], index, array)) { + return index; + } + } + return -1; + } + + /** + * The base implementation of `_.property` without support for deep paths. + * + * @private + * @param {string} key The key of the property to get. + * @returns {Function} Returns the new accessor function. + */ + function baseProperty(key) { + return function(object) { + return object == null ? undefined : object[key]; + }; + } + + /** + * The base implementation of `_.propertyOf` without support for deep paths. + * + * @private + * @param {Object} object The object to query. + * @returns {Function} Returns the new accessor function. + */ + function basePropertyOf(object) { + return function(key) { + return object == null ? undefined : object[key]; + }; + } + + /** + * The base implementation of `_.reduce` and `_.reduceRight`, without support + * for iteratee shorthands, which iterates over `collection` using `eachFunc`. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {*} accumulator The initial value. + * @param {boolean} initAccum Specify using the first or last element of + * `collection` as the initial value. + * @param {Function} eachFunc The function to iterate over `collection`. + * @returns {*} Returns the accumulated value. + */ + function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) { + eachFunc(collection, function(value, index, collection) { + accumulator = initAccum + ? (initAccum = false, value) + : iteratee(accumulator, value, index, collection); + }); + return accumulator; + } + + /** + * The base implementation of `_.values` and `_.valuesIn` which creates an + * array of `object` property values corresponding to the property names + * of `props`. + * + * @private + * @param {Object} object The object to query. + * @param {Array} props The property names to get values for. + * @returns {Object} Returns the array of property values. + */ + function baseValues(object, props) { + return baseMap(props, function(key) { + return object[key]; + }); + } + + /** + * Used by `_.escape` to convert characters to HTML entities. + * + * @private + * @param {string} chr The matched character to escape. + * @returns {string} Returns the escaped character. + */ + var escapeHtmlChar = basePropertyOf(htmlEscapes); + + /** + * 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) { + return function(arg) { + return func(transform(arg)); + }; + } + + /*--------------------------------------------------------------------------*/ + + /** Used for built-in method references. */ + var arrayProto = Array.prototype, + objectProto = Object.prototype; + + /** Used to check objects for own properties. */ + var hasOwnProperty = objectProto.hasOwnProperty; + + /** Used to generate unique IDs. */ + var idCounter = 0; + + /** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ + var nativeObjectToString = objectProto.toString; + + /** Used to restore the original `_` reference in `_.noConflict`. */ + var oldDash = root._; + + /** Built-in value references. */ + var objectCreate = Object.create, + propertyIsEnumerable = objectProto.propertyIsEnumerable; + + /* Built-in method references for those with the same name as other `lodash` methods. */ + var nativeIsFinite = root.isFinite, + nativeKeys = overArg(Object.keys, Object), + nativeMax = Math.max; + + /*------------------------------------------------------------------------*/ + + /** + * Creates a `lodash` object which wraps `value` to enable implicit method + * chain sequences. Methods that operate on and return arrays, collections, + * and functions can be chained together. Methods that retrieve a single value + * or may return a primitive value will automatically end the chain sequence + * and return the unwrapped value. Otherwise, the value must be unwrapped + * with `_#value`. + * + * Explicit chain sequences, which must be unwrapped with `_#value`, may be + * enabled using `_.chain`. + * + * The execution of chained methods is lazy, that is, it's deferred until + * `_#value` is implicitly or explicitly called. + * + * Lazy evaluation allows several methods to support shortcut fusion. + * Shortcut fusion is an optimization to merge iteratee calls; this avoids + * the creation of intermediate arrays and can greatly reduce the number of + * iteratee executions. Sections of a chain sequence qualify for shortcut + * fusion if the section is applied to an array and iteratees accept only + * one argument. The heuristic for whether a section qualifies for shortcut + * fusion is subject to change. + * + * Chaining is supported in custom builds as long as the `_#value` method is + * directly or indirectly included in the build. + * + * In addition to lodash methods, wrappers have `Array` and `String` methods. + * + * The wrapper `Array` methods are: + * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift` + * + * The wrapper `String` methods are: + * `replace` and `split` + * + * The wrapper methods that support shortcut fusion are: + * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`, + * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`, + * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray` + * + * The chainable wrapper methods are: + * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`, + * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`, + * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`, + * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`, + * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`, + * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`, + * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`, + * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`, + * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`, + * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`, + * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`, + * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`, + * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`, + * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`, + * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`, + * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`, + * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`, + * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`, + * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`, + * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`, + * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`, + * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`, + * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`, + * `zipObject`, `zipObjectDeep`, and `zipWith` + * + * The wrapper methods that are **not** chainable by default are: + * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`, + * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`, + * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`, + * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`, + * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`, + * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`, + * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`, + * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`, + * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`, + * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`, + * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`, + * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`, + * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`, + * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`, + * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`, + * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`, + * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`, + * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`, + * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`, + * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`, + * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`, + * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`, + * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`, + * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`, + * `upperFirst`, `value`, and `words` + * + * @name _ + * @constructor + * @category Seq + * @param {*} value The value to wrap in a `lodash` instance. + * @returns {Object} Returns the new `lodash` wrapper instance. + * @example + * + * function square(n) { + * return n * n; + * } + * + * var wrapped = _([1, 2, 3]); + * + * // Returns an unwrapped value. + * wrapped.reduce(_.add); + * // => 6 + * + * // Returns a wrapped value. + * var squares = wrapped.map(square); + * + * _.isArray(squares); + * // => false + * + * _.isArray(squares.value()); + * // => true + */ + function lodash(value) { + return value instanceof LodashWrapper + ? value + : new LodashWrapper(value); + } + + /** + * 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(proto)) { + return {}; + } + if (objectCreate) { + return objectCreate(proto); + } + object.prototype = proto; + var result = new object; + object.prototype = undefined; + return result; + }; + }()); + + /** + * The base constructor for creating `lodash` wrapper objects. + * + * @private + * @param {*} value The value to wrap. + * @param {boolean} [chainAll] Enable explicit method chain sequences. + */ + function LodashWrapper(value, chainAll) { + this.__wrapped__ = value; + this.__actions__ = []; + this.__chain__ = !!chainAll; + } + + LodashWrapper.prototype = baseCreate(lodash.prototype); + LodashWrapper.prototype.constructor = LodashWrapper; + + /*------------------------------------------------------------------------*/ + + /** + * 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) { + var objValue = object[key]; + if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || + (value === undefined && !(key in object))) { + baseAssignValue(object, key, value); + } + } + + /** + * 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) { + object[key] = value; + } + + /** + * The base implementation of `_.delay` and `_.defer` which accepts `args` + * to provide to `func`. + * + * @private + * @param {Function} func The function to delay. + * @param {number} wait The number of milliseconds to delay invocation. + * @param {Array} args The arguments to provide to `func`. + * @returns {number|Object} Returns the timer id or timeout object. + */ + function baseDelay(func, wait, args) { + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + return setTimeout(function() { func.apply(undefined, args); }, wait); + } + + /** + * The base implementation of `_.forEach` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. + */ + var baseEach = createBaseEach(baseForOwn); + + /** + * The base implementation of `_.every` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {boolean} Returns `true` if all elements pass the predicate check, + * else `false` + */ + function baseEvery(collection, predicate) { + var result = true; + baseEach(collection, function(value, index, collection) { + result = !!predicate(value, index, collection); + return result; + }); + return result; + } + + /** + * The base implementation of methods like `_.max` and `_.min` which accepts a + * `comparator` to determine the extremum value. + * + * @private + * @param {Array} array The array to iterate over. + * @param {Function} iteratee The iteratee invoked per iteration. + * @param {Function} comparator The comparator used to compare values. + * @returns {*} Returns the extremum value. + */ + function baseExtremum(array, iteratee, comparator) { + var index = -1, + length = array.length; + + while (++index < length) { + var value = array[index], + current = iteratee(value); + + if (current != null && (computed === undefined + ? (current === current && !false) + : comparator(current, computed) + )) { + var computed = current, + result = value; + } + } + return result; + } + + /** + * The base implementation of `_.filter` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {Array} Returns the new filtered array. + */ + function baseFilter(collection, predicate) { + var result = []; + baseEach(collection, function(value, index, collection) { + if (predicate(value, index, collection)) { + result.push(value); + } + }); + return result; + } + + /** + * The base implementation of `_.flatten` with support for restricting flattening. + * + * @private + * @param {Array} array The array to flatten. + * @param {number} depth The maximum recursion depth. + * @param {boolean} [predicate=isFlattenable] The function invoked per iteration. + * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks. + * @param {Array} [result=[]] The initial result value. + * @returns {Array} Returns the new flattened array. + */ + function baseFlatten(array, depth, predicate, isStrict, result) { + var index = -1, + length = array.length; + + predicate || (predicate = isFlattenable); + result || (result = []); + + while (++index < length) { + var value = array[index]; + if (depth > 0 && predicate(value)) { + if (depth > 1) { + // Recursively flatten arrays (susceptible to call stack limits). + baseFlatten(value, depth - 1, predicate, isStrict, result); + } else { + arrayPush(result, value); + } + } else if (!isStrict) { + result[result.length] = value; + } + } + return result; + } + + /** + * The base implementation of `baseForOwn` which iterates over `object` + * properties returned by `keysFunc` and invokes `iteratee` for each property. + * Iteratee functions may exit iteration early by explicitly returning `false`. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {Function} keysFunc The function to get the keys of `object`. + * @returns {Object} Returns `object`. + */ + var baseFor = createBaseFor(); + + /** + * The base implementation of `_.forOwn` without support for iteratee shorthands. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Object} Returns `object`. + */ + function baseForOwn(object, iteratee) { + return object && baseFor(object, iteratee, keys); + } + + /** + * The base implementation of `_.functions` which creates an array of + * `object` function property names filtered from `props`. + * + * @private + * @param {Object} object The object to inspect. + * @param {Array} props The property names to filter. + * @returns {Array} Returns the function names. + */ + function baseFunctions(object, props) { + return baseFilter(props, function(key) { + return isFunction(object[key]); + }); + } + + /** + * 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) { + return objectToString(value); + } + + /** + * The base implementation of `_.gt` which doesn't coerce arguments. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is greater than `other`, + * else `false`. + */ + function baseGt(value, other) { + return value > other; + } + + /** + * The base implementation of `_.isArguments`. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + */ + var baseIsArguments = noop; + + /** + * The base implementation of `_.isDate` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a date object, else `false`. + */ + function baseIsDate(value) { + return isObjectLike(value) && baseGetTag(value) == dateTag; + } + + /** + * The base implementation of `_.isEqual` which supports partial comparisons + * and tracks traversed objects. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @param {boolean} bitmask The bitmask flags. + * 1 - Unordered comparison + * 2 - Partial comparison + * @param {Function} [customizer] The function to customize comparisons. + * @param {Object} [stack] Tracks traversed `value` and `other` objects. + * @returns {boolean} Returns `true` if the values are equivalent, else `false`. + */ + function baseIsEqual(value, other, bitmask, customizer, stack) { + if (value === other) { + return true; + } + if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { + return value !== value && other !== other; + } + return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); + } + + /** + * A specialized version of `baseIsEqual` for arrays and objects which performs + * deep comparisons and tracks traversed objects enabling objects with circular + * references to be compared. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} [stack] Tracks traversed `object` and `other` objects. + * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. + */ + function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { + var objIsArr = isArray(object), + othIsArr = isArray(other), + objTag = objIsArr ? arrayTag : baseGetTag(object), + othTag = othIsArr ? arrayTag : baseGetTag(other); + + objTag = objTag == argsTag ? objectTag : objTag; + othTag = othTag == argsTag ? objectTag : othTag; + + var objIsObj = objTag == objectTag, + othIsObj = othTag == objectTag, + isSameTag = objTag == othTag; + + stack || (stack = []); + var objStack = find(stack, function(entry) { + return entry[0] == object; + }); + var othStack = find(stack, function(entry) { + return entry[0] == other; + }); + if (objStack && othStack) { + return objStack[1] == other; + } + stack.push([object, other]); + stack.push([other, object]); + if (isSameTag && !objIsObj) { + var result = (objIsArr) + ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) + : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); + stack.pop(); + return result; + } + if (!(bitmask & COMPARE_PARTIAL_FLAG)) { + var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), + othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); + + if (objIsWrapped || othIsWrapped) { + var objUnwrapped = objIsWrapped ? object.value() : object, + othUnwrapped = othIsWrapped ? other.value() : other; + + var result = equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); + stack.pop(); + return result; + } + } + if (!isSameTag) { + return false; + } + var result = equalObjects(object, other, bitmask, customizer, equalFunc, stack); + stack.pop(); + return result; + } + + /** + * The base implementation of `_.isRegExp` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. + */ + function baseIsRegExp(value) { + return isObjectLike(value) && baseGetTag(value) == regexpTag; + } + + /** + * The base implementation of `_.iteratee`. + * + * @private + * @param {*} [value=_.identity] The value to convert to an iteratee. + * @returns {Function} Returns the iteratee. + */ + function baseIteratee(func) { + if (typeof func == 'function') { + return func; + } + if (func == null) { + return identity; + } + return (typeof func == 'object' ? baseMatches : baseProperty)(func); + } + + /** + * The base implementation of `_.lt` which doesn't coerce arguments. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is less than `other`, + * else `false`. + */ + function baseLt(value, other) { + return value < other; + } + + /** + * The base implementation of `_.map` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns the new mapped array. + */ + function baseMap(collection, iteratee) { + var index = -1, + result = isArrayLike(collection) ? Array(collection.length) : []; + + baseEach(collection, function(value, key, collection) { + result[++index] = iteratee(value, key, collection); + }); + return result; + } + + /** + * The base implementation of `_.matches` which doesn't clone `source`. + * + * @private + * @param {Object} source The object of property values to match. + * @returns {Function} Returns the new spec function. + */ + function baseMatches(source) { + var props = nativeKeys(source); + return function(object) { + var length = props.length; + if (object == null) { + return !length; + } + object = Object(object); + while (length--) { + var key = props[length]; + if (!(key in object && + baseIsEqual(source[key], object[key], COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG) + )) { + return false; + } + } + return true; + }; + } + + /** + * The base implementation of `_.pick` without support for individual + * property identifiers. + * + * @private + * @param {Object} object The source object. + * @param {string[]} paths The property paths to pick. + * @returns {Object} Returns the new object. + */ + function basePick(object, props) { + object = Object(object); + return reduce(props, function(result, key) { + if (key in object) { + result[key] = object[key]; + } + return result; + }, {}); + } + + /** + * 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(overRest(func, start, identity), func + ''); + } + + /** + * The base implementation of `_.slice` without an iteratee call guard. + * + * @private + * @param {Array} array The array to slice. + * @param {number} [start=0] The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns the slice of `array`. + */ + function baseSlice(array, start, end) { + var index = -1, + length = array.length; + + if (start < 0) { + start = -start > length ? 0 : (length + start); + } + end = end > length ? length : end; + if (end < 0) { + end += length; + } + length = start > end ? 0 : ((end - start) >>> 0); + start >>>= 0; + + var result = Array(length); + while (++index < length) { + result[index] = array[index + start]; + } + return result; + } + + /** + * 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) { + return baseSlice(source, 0, source.length); + } + + /** + * The base implementation of `_.some` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {boolean} Returns `true` if any element passes the predicate check, + * else `false`. + */ + function baseSome(collection, predicate) { + var result; + + baseEach(collection, function(value, index, collection) { + result = predicate(value, index, collection); + return !result; + }); + return !!result; + } + + /** + * The base implementation of `wrapperValue` which returns the result of + * performing a sequence of actions on the unwrapped `value`, where each + * successive action is supplied the return value of the previous. + * + * @private + * @param {*} value The unwrapped value. + * @param {Array} actions Actions to perform to resolve the unwrapped value. + * @returns {*} Returns the resolved value. + */ + function baseWrapperValue(value, actions) { + var result = value; + return reduce(actions, function(result, action) { + return action.func.apply(action.thisArg, arrayPush([result], action.args)); + }, result); + } + + /** + * Compares values to sort them in ascending order. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {number} Returns the sort order indicator for `value`. + */ + function compareAscending(value, other) { + if (value !== other) { + var valIsDefined = value !== undefined, + valIsNull = value === null, + valIsReflexive = value === value, + valIsSymbol = false; + + var othIsDefined = other !== undefined, + othIsNull = other === null, + othIsReflexive = other === other, + othIsSymbol = false; + + if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) || + (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) || + (valIsNull && othIsDefined && othIsReflexive) || + (!valIsDefined && othIsReflexive) || + !valIsReflexive) { + return 1; + } + if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) || + (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) || + (othIsNull && valIsDefined && valIsReflexive) || + (!othIsDefined && valIsReflexive) || + !othIsReflexive) { + return -1; + } + } + return 0; + } + + /** + * 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, + length = props.length; + + while (++index < length) { + var key = props[index]; + + var newValue = customizer + ? customizer(object[key], source[key], key, object, source) + : undefined; + + if (newValue === undefined) { + newValue = source[key]; + } + if (isNew) { + baseAssignValue(object, key, newValue); + } else { + assignValue(object, key, newValue); + } + } + return object; + } + + /** + * Creates a function like `_.assign`. + * + * @private + * @param {Function} assigner The function to assign values. + * @returns {Function} Returns the new assigner function. + */ + function createAssigner(assigner) { + return baseRest(function(object, sources) { + var index = -1, + length = sources.length, + customizer = length > 1 ? sources[length - 1] : undefined; + + customizer = (assigner.length > 3 && typeof customizer == 'function') + ? (length--, customizer) + : undefined; + + object = Object(object); + while (++index < length) { + var source = sources[index]; + if (source) { + assigner(object, source, index, customizer); + } + } + return object; + }); + } + + /** + * Creates a `baseEach` or `baseEachRight` function. + * + * @private + * @param {Function} eachFunc The function to iterate over a collection. + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new base function. + */ + function createBaseEach(eachFunc, fromRight) { + return function(collection, iteratee) { + if (collection == null) { + return collection; + } + if (!isArrayLike(collection)) { + return eachFunc(collection, iteratee); + } + var length = collection.length, + index = fromRight ? length : -1, + iterable = Object(collection); + + while ((fromRight ? index-- : ++index < length)) { + if (iteratee(iterable[index], index, iterable) === false) { + break; + } + } + return collection; + }; + } + + /** + * Creates a base function for methods like `_.forIn` and `_.forOwn`. + * + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new base function. + */ + function createBaseFor(fromRight) { + return function(object, iteratee, keysFunc) { + var index = -1, + iterable = Object(object), + props = keysFunc(object), + length = props.length; + + while (length--) { + var key = props[fromRight ? length : ++index]; + if (iteratee(iterable[key], key, iterable) === false) { + break; + } + } + return object; + }; + } + + /** + * Creates a function that produces an instance of `Ctor` regardless of + * whether it was invoked as part of a `new` expression or by `call` or `apply`. + * + * @private + * @param {Function} Ctor The constructor to wrap. + * @returns {Function} Returns the new wrapped function. + */ + function createCtor(Ctor) { + return function() { + // Use a `switch` statement to work with class constructors. See + // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist + // for more details. + var args = arguments; + var thisBinding = baseCreate(Ctor.prototype), + result = Ctor.apply(thisBinding, args); + + // Mimic the constructor's `return` behavior. + // See https://es5.github.io/#x13.2.2 for more details. + return isObject(result) ? result : thisBinding; + }; + } + + /** + * Creates a `_.find` or `_.findLast` function. + * + * @private + * @param {Function} findIndexFunc The function to find the collection index. + * @returns {Function} Returns the new find function. + */ + function createFind(findIndexFunc) { + return function(collection, predicate, fromIndex) { + var iterable = Object(collection); + if (!isArrayLike(collection)) { + var iteratee = baseIteratee(predicate, 3); + collection = keys(collection); + predicate = function(key) { return iteratee(iterable[key], key, iterable); }; + } + var index = findIndexFunc(collection, predicate, fromIndex); + return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined; + }; + } + + /** + * Creates a function that wraps `func` to invoke it with the `this` binding + * of `thisArg` and `partials` prepended to the arguments it receives. + * + * @private + * @param {Function} func The function to wrap. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @param {*} thisArg The `this` binding of `func`. + * @param {Array} partials The arguments to prepend to those provided to + * the new function. + * @returns {Function} Returns the new wrapped function. + */ + function createPartial(func, bitmask, thisArg, partials) { + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + var isBind = bitmask & WRAP_BIND_FLAG, + Ctor = createCtor(func); + + function wrapper() { + var argsIndex = -1, + argsLength = arguments.length, + leftIndex = -1, + leftLength = partials.length, + args = Array(leftLength + argsLength), + fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; + + while (++leftIndex < leftLength) { + args[leftIndex] = partials[leftIndex]; + } + while (argsLength--) { + args[leftIndex++] = arguments[++argsIndex]; + } + return fn.apply(isBind ? thisArg : this, args); + } + return wrapper; + } + + /** + * A specialized version of `baseIsEqualDeep` for arrays with support for + * partial deep comparisons. + * + * @private + * @param {Array} array The array to compare. + * @param {Array} other The other array to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} stack Tracks traversed `array` and `other` objects. + * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. + */ + function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { + var isPartial = bitmask & COMPARE_PARTIAL_FLAG, + arrLength = array.length, + othLength = other.length; + + if (arrLength != othLength && !(isPartial && othLength > arrLength)) { + return false; + } + // Check that cyclic values are equal. + var arrStacked = stack.get(array); + var othStacked = stack.get(other); + if (arrStacked && othStacked) { + return arrStacked == other && othStacked == array; + } + var index = -1, + result = true, + seen = (bitmask & COMPARE_UNORDERED_FLAG) ? [] : undefined; + + // Ignore non-index properties. + while (++index < arrLength) { + var arrValue = array[index], + othValue = other[index]; + + var compared; + if (compared !== undefined) { + if (compared) { + continue; + } + result = false; + break; + } + // Recursively compare arrays (susceptible to call stack limits). + if (seen) { + if (!baseSome(other, function(othValue, othIndex) { + if (!indexOf(seen, othIndex) && + (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { + return seen.push(othIndex); + } + })) { + result = false; + break; + } + } else if (!( + arrValue === othValue || + equalFunc(arrValue, othValue, bitmask, customizer, stack) + )) { + result = false; + break; + } + } + return result; + } + + /** + * A specialized version of `baseIsEqualDeep` for comparing objects of + * the same `toStringTag`. + * + * **Note:** This function only supports comparing values with tags of + * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {string} tag The `toStringTag` of the objects to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} stack Tracks traversed `object` and `other` objects. + * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. + */ + function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { + switch (tag) { + + case boolTag: + case dateTag: + case numberTag: + // Coerce booleans to `1` or `0` and dates to milliseconds. + // Invalid dates are coerced to `NaN`. + return eq(+object, +other); + + case errorTag: + return object.name == other.name && object.message == other.message; + + case regexpTag: + case stringTag: + // Coerce regexes to strings and treat strings, primitives and objects, + // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring + // for more details. + return object == (other + ''); + + } + return false; + } + + /** + * A specialized version of `baseIsEqualDeep` for objects with support for + * partial deep comparisons. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} stack Tracks traversed `object` and `other` objects. + * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. + */ + function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { + var isPartial = bitmask & COMPARE_PARTIAL_FLAG, + objProps = keys(object), + objLength = objProps.length, + othProps = keys(other), + othLength = othProps.length; + + if (objLength != othLength && !isPartial) { + return false; + } + var index = objLength; + while (index--) { + var key = objProps[index]; + if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) { + return false; + } + } + // Check that cyclic values are equal. + var objStacked = stack.get(object); + var othStacked = stack.get(other); + if (objStacked && othStacked) { + return objStacked == other && othStacked == object; + } + var result = true; + + var skipCtor = isPartial; + while (++index < objLength) { + key = objProps[index]; + var objValue = object[key], + othValue = other[key]; + + var compared; + // Recursively compare objects (susceptible to call stack limits). + if (!(compared === undefined + ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack)) + : compared + )) { + result = false; + break; + } + skipCtor || (skipCtor = key == 'constructor'); + } + if (result && !skipCtor) { + var objCtor = object.constructor, + othCtor = other.constructor; + + // Non `Object` object instances with different constructors are not equal. + if (objCtor != othCtor && + ('constructor' in object && 'constructor' in other) && + !(typeof objCtor == 'function' && objCtor instanceof objCtor && + typeof othCtor == 'function' && othCtor instanceof othCtor)) { + result = false; + } + } + return result; + } + + /** + * A specialized version of `baseRest` which flattens the rest array. + * + * @private + * @param {Function} func The function to apply a rest parameter to. + * @returns {Function} Returns the new function. + */ + function flatRest(func) { + return setToString(overRest(func, undefined, flatten), func + ''); + } + + /** + * Checks if `value` is a flattenable `arguments` object or array. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is flattenable, else `false`. + */ + function isFlattenable(value) { + return isArray(value) || isArguments(value); + } + + /** + * 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, length) { + var type = typeof value; + length = length == null ? MAX_SAFE_INTEGER : length; + + return !!length && + (type == 'number' || + (type != 'symbol' && reIsUint.test(value))) && + (value > -1 && value % 1 == 0 && value < length); + } + + /** + * 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, index, object) { + if (!isObject(object)) { + return false; + } + var type = typeof index; + if (type == 'number' + ? (isArrayLike(object) && isIndex(index, object.length)) + : (type == 'string' && index in object) + ) { + return eq(object[index], value); + } + return false; + } + + /** + * 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 = []; + if (object != null) { + for (var key in Object(object)) { + result.push(key); + } + } + return result; + } + + /** + * 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) { + return nativeObjectToString.call(value); + } + + /** + * 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) { + start = nativeMax(start === undefined ? (func.length - 1) : start, 0); + return function() { + var args = arguments, + index = -1, + length = nativeMax(args.length - start, 0), + array = Array(length); + + while (++index < length) { + array[index] = args[start + index]; + } + index = -1; + var otherArgs = Array(start + 1); + while (++index < start) { + otherArgs[index] = args[index]; + } + otherArgs[start] = transform(array); + return func.apply(this, otherArgs); + }; + } + + /** + * 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 = identity; + + /*------------------------------------------------------------------------*/ + + /** + * Creates an array with all falsey values removed. The values `false`, `null`, + * `0`, `""`, `undefined`, and `NaN` are falsey. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to compact. + * @returns {Array} Returns the new array of filtered values. + * @example + * + * _.compact([0, 1, false, 2, '', 3]); + * // => [1, 2, 3] + */ + function compact(array) { + return baseFilter(array, Boolean); + } + + /** + * Creates a new array concatenating `array` with any additional arrays + * and/or values. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to concatenate. + * @param {...*} [values] The values to concatenate. + * @returns {Array} Returns the new concatenated array. + * @example + * + * var array = [1]; + * var other = _.concat(array, 2, [3], [[4]]); + * + * console.log(other); + * // => [1, 2, 3, [4]] + * + * console.log(array); + * // => [1] + */ + function concat() { + var length = arguments.length; + if (!length) { + return []; + } + var args = Array(length - 1), + array = arguments[0], + index = length; + + while (index--) { + args[index - 1] = arguments[index]; + } + return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1)); + } + + /** + * This method is like `_.find` except that it returns the index of the first + * element `predicate` returns truthy for instead of the element itself. + * + * @static + * @memberOf _ + * @since 1.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param {number} [fromIndex=0] The index to search from. + * @returns {number} Returns the index of the found element, else `-1`. + * @example + * + * var users = [ + * { 'user': 'barney', 'active': false }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': true } + * ]; + * + * _.findIndex(users, function(o) { return o.user == 'barney'; }); + * // => 0 + * + * // The `_.matches` iteratee shorthand. + * _.findIndex(users, { 'user': 'fred', 'active': false }); + * // => 1 + * + * // The `_.matchesProperty` iteratee shorthand. + * _.findIndex(users, ['active', false]); + * // => 0 + * + * // The `_.property` iteratee shorthand. + * _.findIndex(users, 'active'); + * // => 2 + */ + function findIndex(array, predicate, fromIndex) { + var length = array == null ? 0 : array.length; + if (!length) { + return -1; + } + var index = fromIndex == null ? 0 : toInteger(fromIndex); + if (index < 0) { + index = nativeMax(length + index, 0); + } + return baseFindIndex(array, baseIteratee(predicate, 3), index); + } + + /** + * Flattens `array` a single level deep. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to flatten. + * @returns {Array} Returns the new flattened array. + * @example + * + * _.flatten([1, [2, [3, [4]], 5]]); + * // => [1, 2, [3, [4]], 5] + */ + function flatten(array) { + var length = array == null ? 0 : array.length; + return length ? baseFlatten(array, 1) : []; + } + + /** + * Recursively flattens `array`. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to flatten. + * @returns {Array} Returns the new flattened array. + * @example + * + * _.flattenDeep([1, [2, [3, [4]], 5]]); + * // => [1, 2, 3, 4, 5] + */ + function flattenDeep(array) { + var length = array == null ? 0 : array.length; + return length ? baseFlatten(array, INFINITY) : []; + } + + /** + * Gets the first element of `array`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @alias first + * @category Array + * @param {Array} array The array to query. + * @returns {*} Returns the first element of `array`. + * @example + * + * _.head([1, 2, 3]); + * // => 1 + * + * _.head([]); + * // => undefined + */ + function head(array) { + return (array && array.length) ? array[0] : undefined; + } + + /** + * Gets the index at which the first occurrence of `value` is found in `array` + * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. If `fromIndex` is negative, it's used as the + * offset from the end of `array`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {*} value The value to search for. + * @param {number} [fromIndex=0] The index to search from. + * @returns {number} Returns the index of the matched value, else `-1`. + * @example + * + * _.indexOf([1, 2, 1, 2], 2); + * // => 1 + * + * // Search from the `fromIndex`. + * _.indexOf([1, 2, 1, 2], 2, 2); + * // => 3 + */ + function indexOf(array, value, fromIndex) { + var length = array == null ? 0 : array.length; + if (typeof fromIndex == 'number') { + fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex; + } else { + fromIndex = 0; + } + var index = (fromIndex || 0) - 1, + isReflexive = value === value; + + while (++index < length) { + var other = array[index]; + if ((isReflexive ? other === value : other !== other)) { + return index; + } + } + return -1; + } + + /** + * Gets the last element of `array`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to query. + * @returns {*} Returns the last element of `array`. + * @example + * + * _.last([1, 2, 3]); + * // => 3 + */ + function last(array) { + var length = array == null ? 0 : array.length; + return length ? array[length - 1] : undefined; + } + + /** + * Creates a slice of `array` from `start` up to, but not including, `end`. + * + * **Note:** This method is used instead of + * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are + * returned. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to slice. + * @param {number} [start=0] The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns the slice of `array`. + */ + function slice(array, start, end) { + var length = array == null ? 0 : array.length; + start = start == null ? 0 : +start; + end = end === undefined ? length : +end; + return length ? baseSlice(array, start, end) : []; + } + + /*------------------------------------------------------------------------*/ + + /** + * Creates a `lodash` wrapper instance that wraps `value` with explicit method + * chain sequences enabled. The result of such sequences must be unwrapped + * with `_#value`. + * + * @static + * @memberOf _ + * @since 1.3.0 + * @category Seq + * @param {*} value The value to wrap. + * @returns {Object} Returns the new `lodash` wrapper instance. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 40 }, + * { 'user': 'pebbles', 'age': 1 } + * ]; + * + * var youngest = _ + * .chain(users) + * .sortBy('age') + * .map(function(o) { + * return o.user + ' is ' + o.age; + * }) + * .head() + * .value(); + * // => 'pebbles is 1' + */ + function chain(value) { + var result = lodash(value); + result.__chain__ = true; + return result; + } + + /** + * This method invokes `interceptor` and returns `value`. The interceptor + * is invoked with one argument; (value). The purpose of this method is to + * "tap into" a method chain sequence in order to modify intermediate results. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Seq + * @param {*} value The value to provide to `interceptor`. + * @param {Function} interceptor The function to invoke. + * @returns {*} Returns `value`. + * @example + * + * _([1, 2, 3]) + * .tap(function(array) { + * // Mutate input array. + * array.pop(); + * }) + * .reverse() + * .value(); + * // => [2, 1] + */ + function tap(value, interceptor) { + interceptor(value); + return value; + } + + /** + * This method is like `_.tap` except that it returns the result of `interceptor`. + * The purpose of this method is to "pass thru" values replacing intermediate + * results in a method chain sequence. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Seq + * @param {*} value The value to provide to `interceptor`. + * @param {Function} interceptor The function to invoke. + * @returns {*} Returns the result of `interceptor`. + * @example + * + * _(' abc ') + * .chain() + * .trim() + * .thru(function(value) { + * return [value]; + * }) + * .value(); + * // => ['abc'] + */ + function thru(value, interceptor) { + return interceptor(value); + } + + /** + * Creates a `lodash` wrapper instance with explicit method chain sequences enabled. + * + * @name chain + * @memberOf _ + * @since 0.1.0 + * @category Seq + * @returns {Object} Returns the new `lodash` wrapper instance. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 40 } + * ]; + * + * // A sequence without explicit chaining. + * _(users).head(); + * // => { 'user': 'barney', 'age': 36 } + * + * // A sequence with explicit chaining. + * _(users) + * .chain() + * .head() + * .pick('user') + * .value(); + * // => { 'user': 'barney' } + */ + function wrapperChain() { + return chain(this); + } + + /** + * Executes the chain sequence to resolve the unwrapped value. + * + * @name value + * @memberOf _ + * @since 0.1.0 + * @alias toJSON, valueOf + * @category Seq + * @returns {*} Returns the resolved unwrapped value. + * @example + * + * _([1, 2, 3]).value(); + * // => [1, 2, 3] + */ + function wrapperValue() { + return baseWrapperValue(this.__wrapped__, this.__actions__); + } + + /*------------------------------------------------------------------------*/ + + /** + * Checks if `predicate` returns truthy for **all** elements of `collection`. + * Iteration is stopped once `predicate` returns falsey. The predicate is + * invoked with three arguments: (value, index|key, collection). + * + * **Note:** This method returns `true` for + * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because + * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of + * elements of empty collections. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {boolean} Returns `true` if all elements pass the predicate check, + * else `false`. + * @example + * + * _.every([true, 1, null, 'yes'], Boolean); + * // => false + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': false }, + * { 'user': 'fred', 'age': 40, 'active': false } + * ]; + * + * // The `_.matches` iteratee shorthand. + * _.every(users, { 'user': 'barney', 'active': false }); + * // => false + * + * // The `_.matchesProperty` iteratee shorthand. + * _.every(users, ['active', false]); + * // => true + * + * // The `_.property` iteratee shorthand. + * _.every(users, 'active'); + * // => false + */ + function every(collection, predicate, guard) { + predicate = guard ? undefined : predicate; + return baseEvery(collection, baseIteratee(predicate)); + } + + /** + * Iterates over elements of `collection`, returning an array of all elements + * `predicate` returns truthy for. The predicate is invoked with three + * arguments: (value, index|key, collection). + * + * **Note:** Unlike `_.remove`, this method returns a new array. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {Array} Returns the new filtered array. + * @see _.reject + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': true }, + * { 'user': 'fred', 'age': 40, 'active': false } + * ]; + * + * _.filter(users, function(o) { return !o.active; }); + * // => objects for ['fred'] + * + * // The `_.matches` iteratee shorthand. + * _.filter(users, { 'age': 36, 'active': true }); + * // => objects for ['barney'] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.filter(users, ['active', false]); + * // => objects for ['fred'] + * + * // The `_.property` iteratee shorthand. + * _.filter(users, 'active'); + * // => objects for ['barney'] + * + * // Combining several predicates using `_.overEvery` or `_.overSome`. + * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]])); + * // => objects for ['fred', 'barney'] + */ + function filter(collection, predicate) { + return baseFilter(collection, baseIteratee(predicate)); + } + + /** + * Iterates over elements of `collection`, returning the first element + * `predicate` returns truthy for. The predicate is invoked with three + * arguments: (value, index|key, collection). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param {number} [fromIndex=0] The index to search from. + * @returns {*} Returns the matched element, else `undefined`. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': true }, + * { 'user': 'fred', 'age': 40, 'active': false }, + * { 'user': 'pebbles', 'age': 1, 'active': true } + * ]; + * + * _.find(users, function(o) { return o.age < 40; }); + * // => object for 'barney' + * + * // The `_.matches` iteratee shorthand. + * _.find(users, { 'age': 1, 'active': true }); + * // => object for 'pebbles' + * + * // The `_.matchesProperty` iteratee shorthand. + * _.find(users, ['active', false]); + * // => object for 'fred' + * + * // The `_.property` iteratee shorthand. + * _.find(users, 'active'); + * // => object for 'barney' + */ + var find = createFind(findIndex); + + /** + * Iterates over elements of `collection` and invokes `iteratee` for each element. + * The iteratee is invoked with three arguments: (value, index|key, collection). + * Iteratee functions may exit iteration early by explicitly returning `false`. + * + * **Note:** As with other "Collections" methods, objects with a "length" + * property are iterated like arrays. To avoid this behavior use `_.forIn` + * or `_.forOwn` for object iteration. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @alias each + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. + * @see _.forEachRight + * @example + * + * _.forEach([1, 2], function(value) { + * console.log(value); + * }); + * // => Logs `1` then `2`. + * + * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) { + * console.log(key); + * }); + * // => Logs 'a' then 'b' (iteration order is not guaranteed). + */ + function forEach(collection, iteratee) { + return baseEach(collection, baseIteratee(iteratee)); + } + + /** + * Creates an array of values by running each element in `collection` thru + * `iteratee`. The iteratee is invoked with three arguments: + * (value, index|key, collection). + * + * Many lodash methods are guarded to work as iteratees for methods like + * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`. + * + * The guarded methods are: + * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`, + * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`, + * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`, + * `template`, `trim`, `trimEnd`, `trimStart`, and `words` + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Array} Returns the new mapped array. + * @example + * + * function square(n) { + * return n * n; + * } + * + * _.map([4, 8], square); + * // => [16, 64] + * + * _.map({ 'a': 4, 'b': 8 }, square); + * // => [16, 64] (iteration order is not guaranteed) + * + * var users = [ + * { 'user': 'barney' }, + * { 'user': 'fred' } + * ]; + * + * // The `_.property` iteratee shorthand. + * _.map(users, 'user'); + * // => ['barney', 'fred'] + */ + function map(collection, iteratee) { + return baseMap(collection, baseIteratee(iteratee)); + } + + /** + * Reduces `collection` to a value which is the accumulated result of running + * each element in `collection` thru `iteratee`, where each successive + * invocation is supplied the return value of the previous. If `accumulator` + * is not given, the first element of `collection` is used as the initial + * value. The iteratee is invoked with four arguments: + * (accumulator, value, index|key, collection). + * + * Many lodash methods are guarded to work as iteratees for methods like + * `_.reduce`, `_.reduceRight`, and `_.transform`. + * + * The guarded methods are: + * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`, + * and `sortBy` + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @param {*} [accumulator] The initial value. + * @returns {*} Returns the accumulated value. + * @see _.reduceRight + * @example + * + * _.reduce([1, 2], function(sum, n) { + * return sum + n; + * }, 0); + * // => 3 + * + * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) { + * (result[value] || (result[value] = [])).push(key); + * return result; + * }, {}); + * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed) + */ + function reduce(collection, iteratee, accumulator) { + return baseReduce(collection, baseIteratee(iteratee), accumulator, arguments.length < 3, baseEach); + } + + /** + * Gets the size of `collection` by returning its length for array-like + * values or the number of own enumerable string keyed properties for objects. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object|string} collection The collection to inspect. + * @returns {number} Returns the collection size. + * @example + * + * _.size([1, 2, 3]); + * // => 3 + * + * _.size({ 'a': 1, 'b': 2 }); + * // => 2 + * + * _.size('pebbles'); + * // => 7 + */ + function size(collection) { + if (collection == null) { + return 0; + } + collection = isArrayLike(collection) ? collection : nativeKeys(collection); + return collection.length; + } + + /** + * Checks if `predicate` returns truthy for **any** element of `collection`. + * Iteration is stopped once `predicate` returns truthy. The predicate is + * invoked with three arguments: (value, index|key, collection). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {boolean} Returns `true` if any element passes the predicate check, + * else `false`. + * @example + * + * _.some([null, 0, 'yes', false], Boolean); + * // => true + * + * var users = [ + * { 'user': 'barney', 'active': true }, + * { 'user': 'fred', 'active': false } + * ]; + * + * // The `_.matches` iteratee shorthand. + * _.some(users, { 'user': 'barney', 'active': false }); + * // => false + * + * // The `_.matchesProperty` iteratee shorthand. + * _.some(users, ['active', false]); + * // => true + * + * // The `_.property` iteratee shorthand. + * _.some(users, 'active'); + * // => true + */ + function some(collection, predicate, guard) { + predicate = guard ? undefined : predicate; + return baseSome(collection, baseIteratee(predicate)); + } + + /** + * Creates an array of elements, sorted in ascending order by the results of + * running each element in a collection thru each iteratee. This method + * performs a stable sort, that is, it preserves the original sort order of + * equal elements. The iteratees are invoked with one argument: (value). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {...(Function|Function[])} [iteratees=[_.identity]] + * The iteratees to sort by. + * @returns {Array} Returns the new sorted array. + * @example + * + * var users = [ + * { 'user': 'fred', 'age': 48 }, + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 30 }, + * { 'user': 'barney', 'age': 34 } + * ]; + * + * _.sortBy(users, [function(o) { return o.user; }]); + * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]] + * + * _.sortBy(users, ['user', 'age']); + * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]] + */ + function sortBy(collection, iteratee) { + var index = 0; + iteratee = baseIteratee(iteratee); + + return baseMap(baseMap(collection, function(value, key, collection) { + return { 'value': value, 'index': index++, 'criteria': iteratee(value, key, collection) }; + }).sort(function(object, other) { + return compareAscending(object.criteria, other.criteria) || (object.index - other.index); + }), baseProperty('value')); + } + + /*------------------------------------------------------------------------*/ + + /** + * Creates a function that invokes `func`, with the `this` binding and arguments + * of the created function, while it's called less than `n` times. Subsequent + * calls to the created function return the result of the last `func` invocation. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Function + * @param {number} n The number of calls at which `func` is no longer invoked. + * @param {Function} func The function to restrict. + * @returns {Function} Returns the new restricted function. + * @example + * + * jQuery(element).on('click', _.before(5, addContactToList)); + * // => Allows adding up to 4 contacts to the list. + */ + function before(n, func) { + var result; + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + n = toInteger(n); + return function() { + if (--n > 0) { + result = func.apply(this, arguments); + } + if (n <= 1) { + func = undefined; + } + return result; + }; + } + + /** + * Creates a function that invokes `func` with the `this` binding of `thisArg` + * and `partials` prepended to the arguments it receives. + * + * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds, + * may be used as a placeholder for partially applied arguments. + * + * **Note:** Unlike native `Function#bind`, this method doesn't set the "length" + * property of bound functions. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to bind. + * @param {*} thisArg The `this` binding of `func`. + * @param {...*} [partials] The arguments to be partially applied. + * @returns {Function} Returns the new bound function. + * @example + * + * function greet(greeting, punctuation) { + * return greeting + ' ' + this.user + punctuation; + * } + * + * var object = { 'user': 'fred' }; + * + * var bound = _.bind(greet, object, 'hi'); + * bound('!'); + * // => 'hi fred!' + * + * // Bound with placeholders. + * var bound = _.bind(greet, object, _, '!'); + * bound('hi'); + * // => 'hi fred!' + */ + var bind = baseRest(function(func, thisArg, partials) { + return createPartial(func, WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG, thisArg, partials); + }); + + /** + * Defers invoking the `func` until the current call stack has cleared. Any + * additional arguments are provided to `func` when it's invoked. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to defer. + * @param {...*} [args] The arguments to invoke `func` with. + * @returns {number} Returns the timer id. + * @example + * + * _.defer(function(text) { + * console.log(text); + * }, 'deferred'); + * // => Logs 'deferred' after one millisecond. + */ + var defer = baseRest(function(func, args) { + return baseDelay(func, 1, args); + }); + + /** + * Invokes `func` after `wait` milliseconds. Any additional arguments are + * provided to `func` when it's invoked. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to delay. + * @param {number} wait The number of milliseconds to delay invocation. + * @param {...*} [args] The arguments to invoke `func` with. + * @returns {number} Returns the timer id. + * @example + * + * _.delay(function(text) { + * console.log(text); + * }, 1000, 'later'); + * // => Logs 'later' after one second. + */ + var delay = baseRest(function(func, wait, args) { + return baseDelay(func, toNumber(wait) || 0, args); + }); + + /** + * Creates a function that negates the result of the predicate `func`. The + * `func` predicate is invoked with the `this` binding and arguments of the + * created function. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Function + * @param {Function} predicate The predicate to negate. + * @returns {Function} Returns the new negated function. + * @example + * + * function isEven(n) { + * return n % 2 == 0; + * } + * + * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven)); + * // => [1, 3, 5] + */ + function negate(predicate) { + if (typeof predicate != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + return function() { + var args = arguments; + return !predicate.apply(this, args); + }; + } + + /** + * Creates a function that is restricted to invoking `func` once. Repeat calls + * to the function return the value of the first invocation. The `func` is + * invoked with the `this` binding and arguments of the created function. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to restrict. + * @returns {Function} Returns the new restricted function. + * @example + * + * var initialize = _.once(createApplication); + * initialize(); + * initialize(); + * // => `createApplication` is invoked once + */ + function once(func) { + return before(2, func); + } + + /*------------------------------------------------------------------------*/ + + /** + * Creates a shallow clone of `value`. + * + * **Note:** This method is loosely based on the + * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm) + * and supports cloning arrays, array buffers, booleans, date objects, maps, + * numbers, `Object` objects, regexes, sets, strings, symbols, and typed + * arrays. The own enumerable properties of `arguments` objects are cloned + * as plain objects. An empty object is returned for uncloneable values such + * as error objects, functions, DOM nodes, and WeakMaps. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to clone. + * @returns {*} Returns the cloned value. + * @see _.cloneDeep + * @example + * + * var objects = [{ 'a': 1 }, { 'b': 2 }]; + * + * var shallow = _.clone(objects); + * console.log(shallow[0] === objects[0]); + * // => true + */ + function clone(value) { + if (!isObject(value)) { + return value; + } + return isArray(value) ? copyArray(value) : copyObject(value, nativeKeys(value)); + } + + /** + * 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(value, other) { + return value === other || (value !== value && other !== other); + } + + /** + * 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 = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { + return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && + !propertyIsEnumerable.call(value, 'callee'); + }; + + /** + * 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 = Array.isArray; + + /** + * 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(value) { + return value != null && isLength(value.length) && !isFunction(value); + } + + /** + * Checks if `value` is classified as a boolean primitive or object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a boolean, else `false`. + * @example + * + * _.isBoolean(false); + * // => true + * + * _.isBoolean(null); + * // => false + */ + function isBoolean(value) { + return value === true || value === false || + (isObjectLike(value) && baseGetTag(value) == boolTag); + } + + /** + * Checks if `value` is classified as a `Date` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a date object, else `false`. + * @example + * + * _.isDate(new Date); + * // => true + * + * _.isDate('Mon April 23 2012'); + * // => false + */ + var isDate = baseIsDate; + + /** + * Checks if `value` is an empty object, collection, map, or set. + * + * Objects are considered empty if they have no own enumerable string keyed + * properties. + * + * Array-like values such as `arguments` objects, arrays, buffers, strings, or + * jQuery-like collections are considered empty if they have a `length` of `0`. + * Similarly, maps and sets are considered empty if they have a `size` of `0`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is empty, else `false`. + * @example + * + * _.isEmpty(null); + * // => true + * + * _.isEmpty(true); + * // => true + * + * _.isEmpty(1); + * // => true + * + * _.isEmpty([1, 2, 3]); + * // => false + * + * _.isEmpty({ 'a': 1 }); + * // => false + */ + function isEmpty(value) { + if (isArrayLike(value) && + (isArray(value) || isString(value) || + isFunction(value.splice) || isArguments(value))) { + return !value.length; + } + return !nativeKeys(value).length; + } + + /** + * Performs a deep comparison between two values to determine if they are + * equivalent. + * + * **Note:** This method supports comparing arrays, array buffers, booleans, + * date objects, error objects, maps, numbers, `Object` objects, regexes, + * sets, strings, symbols, and typed arrays. `Object` objects are compared + * by their own, not inherited, enumerable properties. Functions and DOM + * nodes are compared by strict equality, i.e. `===`. + * + * @static + * @memberOf _ + * @since 0.1.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 }; + * + * _.isEqual(object, other); + * // => true + * + * object === other; + * // => false + */ + function isEqual(value, other) { + return baseIsEqual(value, other); + } + + /** + * Checks if `value` is a finite primitive number. + * + * **Note:** This method is based on + * [`Number.isFinite`](https://mdn.io/Number/isFinite). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a finite number, else `false`. + * @example + * + * _.isFinite(3); + * // => true + * + * _.isFinite(Number.MIN_VALUE); + * // => true + * + * _.isFinite(Infinity); + * // => false + * + * _.isFinite('3'); + * // => false + */ + function isFinite(value) { + return typeof value == 'number' && nativeIsFinite(value); + } + + /** + * 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(value) { + if (!isObject(value)) { + return false; + } + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 9 which returns 'object' for typed arrays and other constructors. + var tag = baseGetTag(value); + return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; + } + + /** + * 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(value) { + return typeof value == 'number' && + value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; + } + + /** + * 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(value) { + var type = typeof value; + return value != null && (type == 'object' || type == 'function'); + } + + /** + * 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(value) { + return value != null && typeof value == 'object'; + } + + /** + * Checks if `value` is `NaN`. + * + * **Note:** This method is based on + * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as + * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for + * `undefined` and other non-number values. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. + * @example + * + * _.isNaN(NaN); + * // => true + * + * _.isNaN(new Number(NaN)); + * // => true + * + * isNaN(undefined); + * // => true + * + * _.isNaN(undefined); + * // => false + */ + function isNaN(value) { + // An `NaN` primitive is the only value that is not equal to itself. + // Perform the `toStringTag` check first to avoid errors with some + // ActiveX objects in IE. + return isNumber(value) && value != +value; + } + + /** + * Checks if `value` is `null`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is `null`, else `false`. + * @example + * + * _.isNull(null); + * // => true + * + * _.isNull(void 0); + * // => false + */ + function isNull(value) { + return value === null; + } + + /** + * Checks if `value` is classified as a `Number` primitive or object. + * + * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are + * classified as numbers, use the `_.isFinite` method. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a number, else `false`. + * @example + * + * _.isNumber(3); + * // => true + * + * _.isNumber(Number.MIN_VALUE); + * // => true + * + * _.isNumber(Infinity); + * // => true + * + * _.isNumber('3'); + * // => false + */ + function isNumber(value) { + return typeof value == 'number' || + (isObjectLike(value) && baseGetTag(value) == numberTag); + } + + /** + * Checks if `value` is classified as a `RegExp` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. + * @example + * + * _.isRegExp(/abc/); + * // => true + * + * _.isRegExp('/abc/'); + * // => false + */ + var isRegExp = baseIsRegExp; + + /** + * Checks if `value` is classified as a `String` primitive or object. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a string, else `false`. + * @example + * + * _.isString('abc'); + * // => true + * + * _.isString(1); + * // => false + */ + function isString(value) { + return typeof value == 'string' || + (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag); + } + + /** + * Checks if `value` is `undefined`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. + * @example + * + * _.isUndefined(void 0); + * // => true + * + * _.isUndefined(null); + * // => false + */ + function isUndefined(value) { + return value === undefined; + } + + /** + * Converts `value` to an array. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Lang + * @param {*} value The value to convert. + * @returns {Array} Returns the converted array. + * @example + * + * _.toArray({ 'a': 1, 'b': 2 }); + * // => [1, 2] + * + * _.toArray('abc'); + * // => ['a', 'b', 'c'] + * + * _.toArray(1); + * // => [] + * + * _.toArray(null); + * // => [] + */ + function toArray(value) { + if (!isArrayLike(value)) { + return values(value); + } + return value.length ? copyArray(value) : []; + } + + /** + * 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 + */ + var toInteger = Number; + + /** + * 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 + */ + var toNumber = Number; + + /** + * Converts `value` to a string. An empty string is returned for `null` + * and `undefined` values. The sign of `-0` is preserved. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to convert. + * @returns {string} Returns the converted string. + * @example + * + * _.toString(null); + * // => '' + * + * _.toString(-0); + * // => '-0' + * + * _.toString([1, 2, 3]); + * // => '1,2,3' + */ + function toString(value) { + if (typeof value == 'string') { + return value; + } + return value == null ? '' : (value + ''); + } + + /*------------------------------------------------------------------------*/ + + /** + * Assigns own enumerable string keyed properties of source objects to the + * destination object. Source objects are applied from left to right. + * Subsequent sources overwrite property assignments of previous sources. + * + * **Note:** This method mutates `object` and is loosely based on + * [`Object.assign`](https://mdn.io/Object/assign). + * + * @static + * @memberOf _ + * @since 0.10.0 + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @see _.assignIn + * @example + * + * function Foo() { + * this.a = 1; + * } + * + * function Bar() { + * this.c = 3; + * } + * + * Foo.prototype.b = 2; + * Bar.prototype.d = 4; + * + * _.assign({ 'a': 0 }, new Foo, new Bar); + * // => { 'a': 1, 'c': 3 } + */ + var assign = createAssigner(function(object, source) { + copyObject(source, nativeKeys(source), object); + }); + + /** + * This method is like `_.assign` except that it iterates over own and + * inherited source properties. + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @alias extend + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @see _.assign + * @example + * + * function Foo() { + * this.a = 1; + * } + * + * function Bar() { + * this.c = 3; + * } + * + * Foo.prototype.b = 2; + * Bar.prototype.d = 4; + * + * _.assignIn({ 'a': 0 }, new Foo, new Bar); + * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 } + */ + var assignIn = createAssigner(function(object, source) { + copyObject(source, nativeKeysIn(source), object); + }); + + /** + * Creates an object that inherits from the `prototype` object. If a + * `properties` object is given, its own enumerable string keyed properties + * are assigned to the created object. + * + * @static + * @memberOf _ + * @since 2.3.0 + * @category Object + * @param {Object} prototype The object to inherit from. + * @param {Object} [properties] The properties to assign to the object. + * @returns {Object} Returns the new object. + * @example + * + * function Shape() { + * this.x = 0; + * this.y = 0; + * } + * + * function Circle() { + * Shape.call(this); + * } + * + * Circle.prototype = _.create(Shape.prototype, { + * 'constructor': Circle + * }); + * + * var circle = new Circle; + * circle instanceof Circle; + * // => true + * + * circle instanceof Shape; + * // => true + */ + function create(prototype, properties) { + var result = baseCreate(prototype); + return properties == null ? result : assign(result, properties); + } + + /** + * Assigns own and inherited enumerable string keyed properties of source + * objects to the destination object for all destination properties that + * resolve to `undefined`. Source objects are applied from left to right. + * Once a property is set, additional values of the same property are ignored. + * + * **Note:** This method mutates `object`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @see _.defaultsDeep + * @example + * + * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ + var defaults = baseRest(function(object, sources) { + object = Object(object); + + var index = -1; + var length = sources.length; + var guard = length > 2 ? sources[2] : undefined; + + if (guard && isIterateeCall(sources[0], sources[1], guard)) { + length = 1; + } + + while (++index < length) { + var source = sources[index]; + var props = keysIn(source); + var propsIndex = -1; + var propsLength = props.length; + + while (++propsIndex < propsLength) { + var key = props[propsIndex]; + var value = object[key]; + + if (value === undefined || + (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) { + object[key] = source[key]; + } + } + } + + return object; + }); + + /** + * Checks if `path` is a direct property of `object`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path to check. + * @returns {boolean} Returns `true` if `path` exists, else `false`. + * @example + * + * var object = { 'a': { 'b': 2 } }; + * var other = _.create({ 'a': _.create({ 'b': 2 }) }); + * + * _.has(object, 'a'); + * // => true + * + * _.has(object, 'a.b'); + * // => true + * + * _.has(object, ['a', 'b']); + * // => true + * + * _.has(other, 'a'); + * // => false + */ + function has(object, path) { + return object != null && hasOwnProperty.call(object, path); + } + + /** + * 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'] + */ + var keys = nativeKeys; + + /** + * 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) + */ + var keysIn = nativeKeysIn; + + /** + * Creates an object composed of the picked `object` properties. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The source object. + * @param {...(string|string[])} [paths] The property paths to pick. + * @returns {Object} Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.pick(object, ['a', 'c']); + * // => { 'a': 1, 'c': 3 } + */ + var pick = flatRest(function(object, paths) { + return object == null ? {} : basePick(object, paths); + }); + + /** + * This method is like `_.get` except that if the resolved value is a + * function it's invoked with the `this` binding of its parent object and + * its result is returned. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path of the property to resolve. + * @param {*} [defaultValue] The value returned for `undefined` resolved values. + * @returns {*} Returns the resolved value. + * @example + * + * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] }; + * + * _.result(object, 'a[0].b.c1'); + * // => 3 + * + * _.result(object, 'a[0].b.c2'); + * // => 4 + * + * _.result(object, 'a[0].b.c3', 'default'); + * // => 'default' + * + * _.result(object, 'a[0].b.c3', _.constant('default')); + * // => 'default' + */ + function result(object, path, defaultValue) { + var value = object == null ? undefined : object[path]; + if (value === undefined) { + value = defaultValue; + } + return isFunction(value) ? value.call(object) : value; + } + + /** + * Creates an array of the own enumerable string keyed property values of `object`. + * + * **Note:** Non-object values are coerced to objects. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property values. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.values(new Foo); + * // => [1, 2] (iteration order is not guaranteed) + * + * _.values('hi'); + * // => ['h', 'i'] + */ + function values(object) { + return object == null ? [] : baseValues(object, keys(object)); + } + + /*------------------------------------------------------------------------*/ + + /** + * Converts the characters "&", "<", ">", '"', and "'" in `string` to their + * corresponding HTML entities. + * + * **Note:** No other characters are escaped. To escape additional + * characters use a third-party library like [_he_](https://mths.be/he). + * + * Though the ">" character is escaped for symmetry, characters like + * ">" and "/" don't need escaping in HTML and have no special meaning + * unless they're part of a tag or unquoted attribute value. See + * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands) + * (under "semi-related fun fact") for more details. + * + * When working with HTML you should always + * [quote attribute values](http://wonko.com/post/html-escaping) to reduce + * XSS vectors. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category String + * @param {string} [string=''] The string to escape. + * @returns {string} Returns the escaped string. + * @example + * + * _.escape('fred, barney, & pebbles'); + * // => 'fred, barney, & pebbles' + */ + function escape(string) { + string = toString(string); + return (string && reHasUnescapedHtml.test(string)) + ? string.replace(reUnescapedHtml, escapeHtmlChar) + : string; + } + + /*------------------------------------------------------------------------*/ + + /** + * 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(value) { + return value; + } + + /** + * Creates a function that invokes `func` with the arguments of the created + * function. If `func` is a property name, the created function returns the + * property value for a given element. If `func` is an array or object, the + * created function returns `true` for elements that contain the equivalent + * source properties, otherwise it returns `false`. + * + * @static + * @since 4.0.0 + * @memberOf _ + * @category Util + * @param {*} [func=_.identity] The value to convert to a callback. + * @returns {Function} Returns the callback. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': true }, + * { 'user': 'fred', 'age': 40, 'active': false } + * ]; + * + * // The `_.matches` iteratee shorthand. + * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true })); + * // => [{ 'user': 'barney', 'age': 36, 'active': true }] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.filter(users, _.iteratee(['user', 'fred'])); + * // => [{ 'user': 'fred', 'age': 40 }] + * + * // The `_.property` iteratee shorthand. + * _.map(users, _.iteratee('user')); + * // => ['barney', 'fred'] + * + * // Create custom iteratee shorthands. + * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) { + * return !_.isRegExp(func) ? iteratee(func) : function(string) { + * return func.test(string); + * }; + * }); + * + * _.filter(['abc', 'def'], /ef/); + * // => ['def'] + */ + var iteratee = baseIteratee; + + /** + * Creates a function that performs a partial deep comparison between a given + * object and `source`, returning `true` if the given object has equivalent + * property values, else `false`. + * + * **Note:** The created function is equivalent to `_.isMatch` with `source` + * partially applied. + * + * Partial comparisons will match empty array and empty object `source` + * values against any array or object value, respectively. See `_.isEqual` + * for a list of supported value comparisons. + * + * **Note:** Multiple values can be checked by combining several matchers + * using `_.overSome` + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Util + * @param {Object} source The object of property values to match. + * @returns {Function} Returns the new spec function. + * @example + * + * var objects = [ + * { 'a': 1, 'b': 2, 'c': 3 }, + * { 'a': 4, 'b': 5, 'c': 6 } + * ]; + * + * _.filter(objects, _.matches({ 'a': 4, 'c': 6 })); + * // => [{ 'a': 4, 'b': 5, 'c': 6 }] + * + * // Checking for several possible values + * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })])); + * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }] + */ + function matches(source) { + return baseMatches(assign({}, source)); + } + + /** + * Adds all own enumerable string keyed function properties of a source + * object to the destination object. If `object` is a function, then methods + * are added to its prototype as well. + * + * **Note:** Use `_.runInContext` to create a pristine `lodash` function to + * avoid conflicts caused by modifying the original. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Util + * @param {Function|Object} [object=lodash] The destination object. + * @param {Object} source The object of functions to add. + * @param {Object} [options={}] The options object. + * @param {boolean} [options.chain=true] Specify whether mixins are chainable. + * @returns {Function|Object} Returns `object`. + * @example + * + * function vowels(string) { + * return _.filter(string, function(v) { + * return /[aeiou]/i.test(v); + * }); + * } + * + * _.mixin({ 'vowels': vowels }); + * _.vowels('fred'); + * // => ['e'] + * + * _('fred').vowels().value(); + * // => ['e'] + * + * _.mixin({ 'vowels': vowels }, { 'chain': false }); + * _('fred').vowels(); + * // => ['e'] + */ + function mixin(object, source, options) { + var props = keys(source), + methodNames = baseFunctions(source, props); + + if (options == null && + !(isObject(source) && (methodNames.length || !props.length))) { + options = source; + source = object; + object = this; + methodNames = baseFunctions(source, keys(source)); + } + var chain = !(isObject(options) && 'chain' in options) || !!options.chain, + isFunc = isFunction(object); + + baseEach(methodNames, function(methodName) { + var func = source[methodName]; + object[methodName] = func; + if (isFunc) { + object.prototype[methodName] = function() { + var chainAll = this.__chain__; + if (chain || chainAll) { + var result = object(this.__wrapped__), + actions = result.__actions__ = copyArray(this.__actions__); + + actions.push({ 'func': func, 'args': arguments, 'thisArg': object }); + result.__chain__ = chainAll; + return result; + } + return func.apply(object, arrayPush([this.value()], arguments)); + }; + } + }); + + return object; + } + + /** + * Reverts the `_` variable to its previous value and returns a reference to + * the `lodash` function. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Util + * @returns {Function} Returns the `lodash` function. + * @example + * + * var lodash = _.noConflict(); + */ + function noConflict() { + if (root._ === this) { + root._ = oldDash; + } + return this; + } + + /** + * This method returns `undefined`. + * + * @static + * @memberOf _ + * @since 2.3.0 + * @category Util + * @example + * + * _.times(2, _.noop); + * // => [undefined, undefined] + */ + function noop() { + // No operation performed. + } + + /** + * Generates a unique ID. If `prefix` is given, the ID is appended to it. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Util + * @param {string} [prefix=''] The value to prefix the ID with. + * @returns {string} Returns the unique ID. + * @example + * + * _.uniqueId('contact_'); + * // => 'contact_104' + * + * _.uniqueId(); + * // => '105' + */ + function uniqueId(prefix) { + var id = ++idCounter; + return toString(prefix) + id; + } + + /*------------------------------------------------------------------------*/ + + /** + * Computes the maximum value of `array`. If `array` is empty or falsey, + * `undefined` is returned. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Math + * @param {Array} array The array to iterate over. + * @returns {*} Returns the maximum value. + * @example + * + * _.max([4, 2, 8, 6]); + * // => 8 + * + * _.max([]); + * // => undefined + */ + function max(array) { + return (array && array.length) + ? baseExtremum(array, identity, baseGt) + : undefined; + } + + /** + * Computes the minimum value of `array`. If `array` is empty or falsey, + * `undefined` is returned. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Math + * @param {Array} array The array to iterate over. + * @returns {*} Returns the minimum value. + * @example + * + * _.min([4, 2, 8, 6]); + * // => 2 + * + * _.min([]); + * // => undefined + */ + function min(array) { + return (array && array.length) + ? baseExtremum(array, identity, baseLt) + : undefined; + } + + /*------------------------------------------------------------------------*/ + + // Add methods that return wrapped values in chain sequences. + lodash.assignIn = assignIn; + lodash.before = before; + lodash.bind = bind; + lodash.chain = chain; + lodash.compact = compact; + lodash.concat = concat; + lodash.create = create; + lodash.defaults = defaults; + lodash.defer = defer; + lodash.delay = delay; + lodash.filter = filter; + lodash.flatten = flatten; + lodash.flattenDeep = flattenDeep; + lodash.iteratee = iteratee; + lodash.keys = keys; + lodash.map = map; + lodash.matches = matches; + lodash.mixin = mixin; + lodash.negate = negate; + lodash.once = once; + lodash.pick = pick; + lodash.slice = slice; + lodash.sortBy = sortBy; + lodash.tap = tap; + lodash.thru = thru; + lodash.toArray = toArray; + lodash.values = values; + + // Add aliases. + lodash.extend = assignIn; + + // Add methods to `lodash.prototype`. + mixin(lodash, lodash); + + /*------------------------------------------------------------------------*/ + + // Add methods that return unwrapped values in chain sequences. + lodash.clone = clone; + lodash.escape = escape; + lodash.every = every; + lodash.find = find; + lodash.forEach = forEach; + lodash.has = has; + lodash.head = head; + lodash.identity = identity; + lodash.indexOf = indexOf; + lodash.isArguments = isArguments; + lodash.isArray = isArray; + lodash.isBoolean = isBoolean; + lodash.isDate = isDate; + lodash.isEmpty = isEmpty; + lodash.isEqual = isEqual; + lodash.isFinite = isFinite; + lodash.isFunction = isFunction; + lodash.isNaN = isNaN; + lodash.isNull = isNull; + lodash.isNumber = isNumber; + lodash.isObject = isObject; + lodash.isRegExp = isRegExp; + lodash.isString = isString; + lodash.isUndefined = isUndefined; + lodash.last = last; + lodash.max = max; + lodash.min = min; + lodash.noConflict = noConflict; + lodash.noop = noop; + lodash.reduce = reduce; + lodash.result = result; + lodash.size = size; + lodash.some = some; + lodash.uniqueId = uniqueId; + + // Add aliases. + lodash.each = forEach; + lodash.first = head; + + mixin(lodash, (function() { + var source = {}; + baseForOwn(lodash, function(func, methodName) { + if (!hasOwnProperty.call(lodash.prototype, methodName)) { + source[methodName] = func; + } + }); + return source; + }()), { 'chain': false }); + + /*------------------------------------------------------------------------*/ + + /** + * The semantic version number. + * + * @static + * @memberOf _ + * @type {string} + */ + lodash.VERSION = VERSION; + + // Add `Array` methods to `lodash.prototype`. + baseEach(['pop', 'join', 'replace', 'reverse', 'split', 'push', 'shift', 'sort', 'splice', 'unshift'], function(methodName) { + var func = (/^(?:replace|split)$/.test(methodName) ? String.prototype : arrayProto)[methodName], + chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru', + retUnwrapped = /^(?:pop|join|replace|shift)$/.test(methodName); + + lodash.prototype[methodName] = function() { + var args = arguments; + if (retUnwrapped && !this.__chain__) { + var value = this.value(); + return func.apply(isArray(value) ? value : [], args); + } + return this[chainName](function(value) { + return func.apply(isArray(value) ? value : [], args); + }); + }; + }); + + // Add chain sequence methods to the `lodash` wrapper. + lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue; + + /*--------------------------------------------------------------------------*/ + + // Some AMD build optimizers, like r.js, check for condition patterns like: + if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) { + // Expose Lodash on the global object to prevent errors when Lodash is + // loaded by a script tag in the presence of an AMD loader. + // See http://requirejs.org/docs/errors.html#mismatch for more details. + // Use `_.noConflict` to remove Lodash from the global object. + root._ = lodash; + + // Define as an anonymous module so, through path mapping, it can be + // referenced as the "underscore" module. + define(function() { + return lodash; + }); + } + // Check for `exports` after `define` in case a build optimizer adds it. + else if (freeModule) { + // Export for Node.js. + (freeModule.exports = lodash)._ = lodash; + // Export for CommonJS support. + freeExports._ = lodash; + } + else { + // Export to the global object. + root._ = lodash; + } +}.call(this)); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/core.min.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/core.min.js" new file mode 100644 index 00000000..e425e4d4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/core.min.js" @@ -0,0 +1,29 @@ +/** + * @license + * Lodash (Custom Build) lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE + * Build: `lodash core -o ./dist/lodash.core.js` + */ +;(function(){function n(n){return H(n)&&pn.call(n,"callee")&&!yn.call(n,"callee")}function t(n,t){return n.push.apply(n,t),n}function r(n){return function(t){return null==t?Z:t[n]}}function e(n,t,r,e,u){return u(n,function(n,u,o){r=e?(e=false,n):t(r,n,u,o)}),r}function u(n,t){return j(t,function(t){return n[t]})}function o(n){return n instanceof i?n:new i(n)}function i(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t}function c(n,t,r){if(typeof n!="function")throw new TypeError("Expected a function"); +return setTimeout(function(){n.apply(Z,r)},t)}function f(n,t){var r=true;return mn(n,function(n,e,u){return r=!!t(n,e,u)}),r}function a(n,t,r){for(var e=-1,u=n.length;++et}function b(n,t,r,e,u){return n===t||(null==n||null==t||!H(n)&&!H(t)?n!==n&&t!==t:y(n,t,r,e,b,u))}function y(n,t,r,e,u,o){var i=Nn(n),c=Nn(t),f=i?"[object Array]":hn.call(n),a=c?"[object Array]":hn.call(t),f="[object Arguments]"==f?"[object Object]":f,a="[object Arguments]"==a?"[object Object]":a,l="[object Object]"==f,c="[object Object]"==a,a=f==a;o||(o=[]);var p=An(o,function(t){return t[0]==n}),s=An(o,function(n){ +return n[0]==t});if(p&&s)return p[1]==t;if(o.push([n,t]),o.push([t,n]),a&&!l){if(i)r=T(n,t,r,e,u,o);else n:{switch(f){case"[object Boolean]":case"[object Date]":case"[object Number]":r=J(+n,+t);break n;case"[object Error]":r=n.name==t.name&&n.message==t.message;break n;case"[object RegExp]":case"[object String]":r=n==t+"";break n}r=false}return o.pop(),r}return 1&r||(i=l&&pn.call(n,"__wrapped__"),f=c&&pn.call(t,"__wrapped__"),!i&&!f)?!!a&&(r=B(n,t,r,e,u,o),o.pop(),r):(i=i?n.value():n,f=f?t.value():t, +r=u(i,f,r,e,o),o.pop(),r)}function g(n){return typeof n=="function"?n:null==n?X:(typeof n=="object"?d:r)(n)}function _(n,t){return nt&&(t=-t>u?0:u+t),r=r>u?u:r,0>r&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0,r=Array(u);++ei))return false;var c=o.get(n),f=o.get(t);if(c&&f)return c==t&&f==n;for(var c=-1,f=true,a=2&r?[]:Z;++cr?jn(e+r,0):r:0,r=(r||0)-1;for(var u=t===t;++rarguments.length,mn); +}function G(n,t){var r;if(typeof t!="function")throw new TypeError("Expected a function");return n=Fn(n),function(){return 0<--n&&(r=t.apply(this,arguments)),1>=n&&(t=Z),r}}function J(n,t){return n===t||n!==n&&t!==t}function M(n){var t;return(t=null!=n)&&(t=n.length,t=typeof t=="number"&&-1=t),t&&!U(n)}function U(n){return!!V(n)&&(n=hn.call(n),"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n)}function V(n){var t=typeof n; +return null!=n&&("object"==t||"function"==t)}function H(n){return null!=n&&typeof n=="object"}function K(n){return typeof n=="number"||H(n)&&"[object Number]"==hn.call(n)}function L(n){return typeof n=="string"||!Nn(n)&&H(n)&&"[object String]"==hn.call(n)}function Q(n){return typeof n=="string"?n:null==n?"":n+""}function W(n){return null==n?[]:u(n,Dn(n))}function X(n){return n}function Y(n,r,e){var u=Dn(r),o=h(r,u);null!=e||V(r)&&(o.length||!u.length)||(e=r,r=n,n=this,o=h(r,Dn(r)));var i=!(V(e)&&"chain"in e&&!e.chain),c=U(n); +return mn(o,function(e){var u=r[e];n[e]=u,c&&(n.prototype[e]=function(){var r=this.__chain__;if(i||r){var e=n(this.__wrapped__);return(e.__actions__=A(this.__actions__)).push({func:u,args:arguments,thisArg:n}),e.__chain__=r,e}return u.apply(n,t([this.value()],arguments))})}),n}var Z,nn=1/0,tn=/[&<>"']/g,rn=RegExp(tn.source),en=/^(?:0|[1-9]\d*)$/,un=typeof self=="object"&&self&&self.Object===Object&&self,on=typeof global=="object"&&global&&global.Object===Object&&global||un||Function("return this")(),cn=(un=typeof exports=="object"&&exports&&!exports.nodeType&&exports)&&typeof module=="object"&&module&&!module.nodeType&&module,fn=function(n){ +return function(t){return null==n?Z:n[t]}}({"&":"&","<":"<",">":">",'"':""","'":"'"}),an=Array.prototype,ln=Object.prototype,pn=ln.hasOwnProperty,sn=0,hn=ln.toString,vn=on._,bn=Object.create,yn=ln.propertyIsEnumerable,gn=on.isFinite,_n=function(n,t){return function(r){return n(t(r))}}(Object.keys,Object),jn=Math.max,dn=function(){function n(){}return function(t){return V(t)?bn?bn(t):(n.prototype=t,t=new n,n.prototype=Z,t):{}}}();i.prototype=dn(o.prototype),i.prototype.constructor=i; +var mn=function(n,t){return function(r,e){if(null==r)return r;if(!M(r))return n(r,e);for(var u=r.length,o=t?u:-1,i=Object(r);(t?o--:++or&&(r=jn(e+r,0));n:{for(t=g(t),e=n.length,r+=-1;++re||o&&c&&a||!u&&a||!i){r=1;break n}if(!o&&r { '4': 1, '6': 2 } + * + * // The `_.property` iteratee shorthand. + * _.countBy(['one', 'two', 'three'], 'length'); + * // => { '3': 2, '5': 1 } + */ +var countBy = createAggregator(function(result, value, key) { + if (hasOwnProperty.call(result, key)) { + ++result[key]; + } else { + baseAssignValue(result, key, 1); + } +}); + +module.exports = countBy; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/create.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/create.js" new file mode 100644 index 00000000..919edb85 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/create.js" @@ -0,0 +1,43 @@ +var baseAssign = require('./_baseAssign'), + baseCreate = require('./_baseCreate'); + +/** + * Creates an object that inherits from the `prototype` object. If a + * `properties` object is given, its own enumerable string keyed properties + * are assigned to the created object. + * + * @static + * @memberOf _ + * @since 2.3.0 + * @category Object + * @param {Object} prototype The object to inherit from. + * @param {Object} [properties] The properties to assign to the object. + * @returns {Object} Returns the new object. + * @example + * + * function Shape() { + * this.x = 0; + * this.y = 0; + * } + * + * function Circle() { + * Shape.call(this); + * } + * + * Circle.prototype = _.create(Shape.prototype, { + * 'constructor': Circle + * }); + * + * var circle = new Circle; + * circle instanceof Circle; + * // => true + * + * circle instanceof Shape; + * // => true + */ +function create(prototype, properties) { + var result = baseCreate(prototype); + return properties == null ? result : baseAssign(result, properties); +} + +module.exports = create; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/curry.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/curry.js" new file mode 100644 index 00000000..918db1a4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/curry.js" @@ -0,0 +1,57 @@ +var createWrap = require('./_createWrap'); + +/** Used to compose bitmasks for function metadata. */ +var WRAP_CURRY_FLAG = 8; + +/** + * Creates a function that accepts arguments of `func` and either invokes + * `func` returning its result, if at least `arity` number of arguments have + * been provided, or returns a function that accepts the remaining `func` + * arguments, and so on. The arity of `func` may be specified if `func.length` + * is not sufficient. + * + * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds, + * may be used as a placeholder for provided arguments. + * + * **Note:** This method doesn't set the "length" property of curried functions. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Function + * @param {Function} func The function to curry. + * @param {number} [arity=func.length] The arity of `func`. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Function} Returns the new curried function. + * @example + * + * var abc = function(a, b, c) { + * return [a, b, c]; + * }; + * + * var curried = _.curry(abc); + * + * curried(1)(2)(3); + * // => [1, 2, 3] + * + * curried(1, 2)(3); + * // => [1, 2, 3] + * + * curried(1, 2, 3); + * // => [1, 2, 3] + * + * // Curried with placeholders. + * curried(1)(_, 3)(2); + * // => [1, 2, 3] + */ +function curry(func, arity, guard) { + arity = guard ? undefined : arity; + var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity); + result.placeholder = curry.placeholder; + return result; +} + +// Assign default placeholders. +curry.placeholder = {}; + +module.exports = curry; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/curryRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/curryRight.js" new file mode 100644 index 00000000..c85b6f33 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/curryRight.js" @@ -0,0 +1,54 @@ +var createWrap = require('./_createWrap'); + +/** Used to compose bitmasks for function metadata. */ +var WRAP_CURRY_RIGHT_FLAG = 16; + +/** + * This method is like `_.curry` except that arguments are applied to `func` + * in the manner of `_.partialRight` instead of `_.partial`. + * + * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic + * builds, may be used as a placeholder for provided arguments. + * + * **Note:** This method doesn't set the "length" property of curried functions. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Function + * @param {Function} func The function to curry. + * @param {number} [arity=func.length] The arity of `func`. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Function} Returns the new curried function. + * @example + * + * var abc = function(a, b, c) { + * return [a, b, c]; + * }; + * + * var curried = _.curryRight(abc); + * + * curried(3)(2)(1); + * // => [1, 2, 3] + * + * curried(2, 3)(1); + * // => [1, 2, 3] + * + * curried(1, 2, 3); + * // => [1, 2, 3] + * + * // Curried with placeholders. + * curried(3)(1, _)(2); + * // => [1, 2, 3] + */ +function curryRight(func, arity, guard) { + arity = guard ? undefined : arity; + var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity); + result.placeholder = curryRight.placeholder; + return result; +} + +// Assign default placeholders. +curryRight.placeholder = {}; + +module.exports = curryRight; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/date.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/date.js" new file mode 100644 index 00000000..cbf5b410 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/date.js" @@ -0,0 +1,3 @@ +module.exports = { + 'now': require('./now') +}; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/debounce.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/debounce.js" new file mode 100644 index 00000000..8f751d53 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/debounce.js" @@ -0,0 +1,191 @@ +var isObject = require('./isObject'), + now = require('./now'), + toNumber = require('./toNumber'); + +/** Error message constants. */ +var FUNC_ERROR_TEXT = 'Expected a function'; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max, + nativeMin = Math.min; + +/** + * Creates a debounced function that delays invoking `func` until after `wait` + * milliseconds have elapsed since the last time the debounced function was + * invoked. The debounced function comes with a `cancel` method to cancel + * delayed `func` invocations and a `flush` method to immediately invoke them. + * Provide `options` to indicate whether `func` should be invoked on the + * leading and/or trailing edge of the `wait` timeout. The `func` is invoked + * with the last arguments provided to the debounced function. Subsequent + * calls to the debounced function return the result of the last `func` + * invocation. + * + * **Note:** If `leading` and `trailing` options are `true`, `func` is + * invoked on the trailing edge of the timeout only if the debounced function + * is invoked more than once during the `wait` timeout. + * + * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred + * until to the next tick, similar to `setTimeout` with a timeout of `0`. + * + * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) + * for details over the differences between `_.debounce` and `_.throttle`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to debounce. + * @param {number} [wait=0] The number of milliseconds to delay. + * @param {Object} [options={}] The options object. + * @param {boolean} [options.leading=false] + * Specify invoking on the leading edge of the timeout. + * @param {number} [options.maxWait] + * The maximum time `func` is allowed to be delayed before it's invoked. + * @param {boolean} [options.trailing=true] + * Specify invoking on the trailing edge of the timeout. + * @returns {Function} Returns the new debounced function. + * @example + * + * // Avoid costly calculations while the window size is in flux. + * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); + * + * // Invoke `sendMail` when clicked, debouncing subsequent calls. + * jQuery(element).on('click', _.debounce(sendMail, 300, { + * 'leading': true, + * 'trailing': false + * })); + * + * // Ensure `batchLog` is invoked once after 1 second of debounced calls. + * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); + * var source = new EventSource('/stream'); + * jQuery(source).on('message', debounced); + * + * // Cancel the trailing debounced invocation. + * jQuery(window).on('popstate', debounced.cancel); + */ +function debounce(func, wait, options) { + var lastArgs, + lastThis, + maxWait, + result, + timerId, + lastCallTime, + lastInvokeTime = 0, + leading = false, + maxing = false, + trailing = true; + + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + wait = toNumber(wait) || 0; + if (isObject(options)) { + leading = !!options.leading; + maxing = 'maxWait' in options; + maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; + trailing = 'trailing' in options ? !!options.trailing : trailing; + } + + function invokeFunc(time) { + var args = lastArgs, + thisArg = lastThis; + + lastArgs = lastThis = undefined; + lastInvokeTime = time; + result = func.apply(thisArg, args); + return result; + } + + function leadingEdge(time) { + // Reset any `maxWait` timer. + lastInvokeTime = time; + // Start the timer for the trailing edge. + timerId = setTimeout(timerExpired, wait); + // Invoke the leading edge. + return leading ? invokeFunc(time) : result; + } + + function remainingWait(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime, + timeWaiting = wait - timeSinceLastCall; + + return maxing + ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) + : timeWaiting; + } + + function shouldInvoke(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime; + + // Either this is the first call, activity has stopped and we're at the + // trailing edge, the system time has gone backwards and we're treating + // it as the trailing edge, or we've hit the `maxWait` limit. + return (lastCallTime === undefined || (timeSinceLastCall >= wait) || + (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); + } + + function timerExpired() { + var time = now(); + if (shouldInvoke(time)) { + return trailingEdge(time); + } + // Restart the timer. + timerId = setTimeout(timerExpired, remainingWait(time)); + } + + function trailingEdge(time) { + timerId = undefined; + + // Only invoke if we have `lastArgs` which means `func` has been + // debounced at least once. + if (trailing && lastArgs) { + return invokeFunc(time); + } + lastArgs = lastThis = undefined; + return result; + } + + function cancel() { + if (timerId !== undefined) { + clearTimeout(timerId); + } + lastInvokeTime = 0; + lastArgs = lastCallTime = lastThis = timerId = undefined; + } + + function flush() { + return timerId === undefined ? result : trailingEdge(now()); + } + + function debounced() { + var time = now(), + isInvoking = shouldInvoke(time); + + lastArgs = arguments; + lastThis = this; + lastCallTime = time; + + if (isInvoking) { + if (timerId === undefined) { + return leadingEdge(lastCallTime); + } + if (maxing) { + // Handle invocations in a tight loop. + clearTimeout(timerId); + timerId = setTimeout(timerExpired, wait); + return invokeFunc(lastCallTime); + } + } + if (timerId === undefined) { + timerId = setTimeout(timerExpired, wait); + } + return result; + } + debounced.cancel = cancel; + debounced.flush = flush; + return debounced; +} + +module.exports = debounce; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/deburr.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/deburr.js" new file mode 100644 index 00000000..f85e314a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/deburr.js" @@ -0,0 +1,45 @@ +var deburrLetter = require('./_deburrLetter'), + toString = require('./toString'); + +/** Used to match Latin Unicode letters (excluding mathematical operators). */ +var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g; + +/** Used to compose unicode character classes. */ +var rsComboMarksRange = '\\u0300-\\u036f', + reComboHalfMarksRange = '\\ufe20-\\ufe2f', + rsComboSymbolsRange = '\\u20d0-\\u20ff', + rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange; + +/** Used to compose unicode capture groups. */ +var rsCombo = '[' + rsComboRange + ']'; + +/** + * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and + * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols). + */ +var reComboMark = RegExp(rsCombo, 'g'); + +/** + * Deburrs `string` by converting + * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) + * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A) + * letters to basic Latin letters and removing + * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to deburr. + * @returns {string} Returns the deburred string. + * @example + * + * _.deburr('déjà vu'); + * // => 'deja vu' + */ +function deburr(string) { + string = toString(string); + return string && string.replace(reLatin, deburrLetter).replace(reComboMark, ''); +} + +module.exports = deburr; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defaultTo.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defaultTo.js" new file mode 100644 index 00000000..5b333592 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defaultTo.js" @@ -0,0 +1,25 @@ +/** + * Checks `value` to determine whether a default value should be returned in + * its place. The `defaultValue` is returned if `value` is `NaN`, `null`, + * or `undefined`. + * + * @static + * @memberOf _ + * @since 4.14.0 + * @category Util + * @param {*} value The value to check. + * @param {*} defaultValue The default value. + * @returns {*} Returns the resolved value. + * @example + * + * _.defaultTo(1, 10); + * // => 1 + * + * _.defaultTo(undefined, 10); + * // => 10 + */ +function defaultTo(value, defaultValue) { + return (value == null || value !== value) ? defaultValue : value; +} + +module.exports = defaultTo; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defaults.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defaults.js" new file mode 100644 index 00000000..c74df044 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defaults.js" @@ -0,0 +1,64 @@ +var baseRest = require('./_baseRest'), + eq = require('./eq'), + isIterateeCall = require('./_isIterateeCall'), + keysIn = require('./keysIn'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Assigns own and inherited enumerable string keyed properties of source + * objects to the destination object for all destination properties that + * resolve to `undefined`. Source objects are applied from left to right. + * Once a property is set, additional values of the same property are ignored. + * + * **Note:** This method mutates `object`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @see _.defaultsDeep + * @example + * + * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ +var defaults = baseRest(function(object, sources) { + object = Object(object); + + var index = -1; + var length = sources.length; + var guard = length > 2 ? sources[2] : undefined; + + if (guard && isIterateeCall(sources[0], sources[1], guard)) { + length = 1; + } + + while (++index < length) { + var source = sources[index]; + var props = keysIn(source); + var propsIndex = -1; + var propsLength = props.length; + + while (++propsIndex < propsLength) { + var key = props[propsIndex]; + var value = object[key]; + + if (value === undefined || + (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) { + object[key] = source[key]; + } + } + } + + return object; +}); + +module.exports = defaults; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defaultsDeep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defaultsDeep.js" new file mode 100644 index 00000000..9b5fa3ee --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defaultsDeep.js" @@ -0,0 +1,30 @@ +var apply = require('./_apply'), + baseRest = require('./_baseRest'), + customDefaultsMerge = require('./_customDefaultsMerge'), + mergeWith = require('./mergeWith'); + +/** + * This method is like `_.defaults` except that it recursively assigns + * default properties. + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 3.10.0 + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @see _.defaults + * @example + * + * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } }); + * // => { 'a': { 'b': 2, 'c': 3 } } + */ +var defaultsDeep = baseRest(function(args) { + args.push(undefined, customDefaultsMerge); + return apply(mergeWith, undefined, args); +}); + +module.exports = defaultsDeep; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defer.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defer.js" new file mode 100644 index 00000000..f6d6c6fa --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/defer.js" @@ -0,0 +1,26 @@ +var baseDelay = require('./_baseDelay'), + baseRest = require('./_baseRest'); + +/** + * Defers invoking the `func` until the current call stack has cleared. Any + * additional arguments are provided to `func` when it's invoked. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to defer. + * @param {...*} [args] The arguments to invoke `func` with. + * @returns {number} Returns the timer id. + * @example + * + * _.defer(function(text) { + * console.log(text); + * }, 'deferred'); + * // => Logs 'deferred' after one millisecond. + */ +var defer = baseRest(function(func, args) { + return baseDelay(func, 1, args); +}); + +module.exports = defer; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/delay.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/delay.js" new file mode 100644 index 00000000..bd554796 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/delay.js" @@ -0,0 +1,28 @@ +var baseDelay = require('./_baseDelay'), + baseRest = require('./_baseRest'), + toNumber = require('./toNumber'); + +/** + * Invokes `func` after `wait` milliseconds. Any additional arguments are + * provided to `func` when it's invoked. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to delay. + * @param {number} wait The number of milliseconds to delay invocation. + * @param {...*} [args] The arguments to invoke `func` with. + * @returns {number} Returns the timer id. + * @example + * + * _.delay(function(text) { + * console.log(text); + * }, 1000, 'later'); + * // => Logs 'later' after one second. + */ +var delay = baseRest(function(func, wait, args) { + return baseDelay(func, toNumber(wait) || 0, args); +}); + +module.exports = delay; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/difference.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/difference.js" new file mode 100644 index 00000000..fa28bb30 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/difference.js" @@ -0,0 +1,33 @@ +var baseDifference = require('./_baseDifference'), + baseFlatten = require('./_baseFlatten'), + baseRest = require('./_baseRest'), + isArrayLikeObject = require('./isArrayLikeObject'); + +/** + * Creates an array of `array` values not included in the other given arrays + * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. The order and references of result values are + * determined by the first array. + * + * **Note:** Unlike `_.pullAll`, this method returns a new array. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {...Array} [values] The values to exclude. + * @returns {Array} Returns the new array of filtered values. + * @see _.without, _.xor + * @example + * + * _.difference([2, 1], [2, 3]); + * // => [1] + */ +var difference = baseRest(function(array, values) { + return isArrayLikeObject(array) + ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true)) + : []; +}); + +module.exports = difference; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/differenceBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/differenceBy.js" new file mode 100644 index 00000000..2cd63e7e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/differenceBy.js" @@ -0,0 +1,44 @@ +var baseDifference = require('./_baseDifference'), + baseFlatten = require('./_baseFlatten'), + baseIteratee = require('./_baseIteratee'), + baseRest = require('./_baseRest'), + isArrayLikeObject = require('./isArrayLikeObject'), + last = require('./last'); + +/** + * This method is like `_.difference` except that it accepts `iteratee` which + * is invoked for each element of `array` and `values` to generate the criterion + * by which they're compared. The order and references of result values are + * determined by the first array. The iteratee is invoked with one argument: + * (value). + * + * **Note:** Unlike `_.pullAllBy`, this method returns a new array. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {...Array} [values] The values to exclude. + * @param {Function} [iteratee=_.identity] The iteratee invoked per element. + * @returns {Array} Returns the new array of filtered values. + * @example + * + * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor); + * // => [1.2] + * + * // The `_.property` iteratee shorthand. + * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x'); + * // => [{ 'x': 2 }] + */ +var differenceBy = baseRest(function(array, values) { + var iteratee = last(values); + if (isArrayLikeObject(iteratee)) { + iteratee = undefined; + } + return isArrayLikeObject(array) + ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), baseIteratee(iteratee, 2)) + : []; +}); + +module.exports = differenceBy; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/differenceWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/differenceWith.js" new file mode 100644 index 00000000..c0233f4b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/differenceWith.js" @@ -0,0 +1,40 @@ +var baseDifference = require('./_baseDifference'), + baseFlatten = require('./_baseFlatten'), + baseRest = require('./_baseRest'), + isArrayLikeObject = require('./isArrayLikeObject'), + last = require('./last'); + +/** + * This method is like `_.difference` except that it accepts `comparator` + * which is invoked to compare elements of `array` to `values`. The order and + * references of result values are determined by the first array. The comparator + * is invoked with two arguments: (arrVal, othVal). + * + * **Note:** Unlike `_.pullAllWith`, this method returns a new array. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {...Array} [values] The values to exclude. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new array of filtered values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * + * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual); + * // => [{ 'x': 2, 'y': 1 }] + */ +var differenceWith = baseRest(function(array, values) { + var comparator = last(values); + if (isArrayLikeObject(comparator)) { + comparator = undefined; + } + return isArrayLikeObject(array) + ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator) + : []; +}); + +module.exports = differenceWith; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/divide.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/divide.js" new file mode 100644 index 00000000..8cae0cd1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/divide.js" @@ -0,0 +1,22 @@ +var createMathOperation = require('./_createMathOperation'); + +/** + * Divide two numbers. + * + * @static + * @memberOf _ + * @since 4.7.0 + * @category Math + * @param {number} dividend The first number in a division. + * @param {number} divisor The second number in a division. + * @returns {number} Returns the quotient. + * @example + * + * _.divide(6, 4); + * // => 1.5 + */ +var divide = createMathOperation(function(dividend, divisor) { + return dividend / divisor; +}, 1); + +module.exports = divide; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/drop.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/drop.js" new file mode 100644 index 00000000..d5c3cbaa --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/drop.js" @@ -0,0 +1,38 @@ +var baseSlice = require('./_baseSlice'), + toInteger = require('./toInteger'); + +/** + * Creates a slice of `array` with `n` elements dropped from the beginning. + * + * @static + * @memberOf _ + * @since 0.5.0 + * @category Array + * @param {Array} array The array to query. + * @param {number} [n=1] The number of elements to drop. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Array} Returns the slice of `array`. + * @example + * + * _.drop([1, 2, 3]); + * // => [2, 3] + * + * _.drop([1, 2, 3], 2); + * // => [3] + * + * _.drop([1, 2, 3], 5); + * // => [] + * + * _.drop([1, 2, 3], 0); + * // => [1, 2, 3] + */ +function drop(array, n, guard) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; + } + n = (guard || n === undefined) ? 1 : toInteger(n); + return baseSlice(array, n < 0 ? 0 : n, length); +} + +module.exports = drop; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/dropRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/dropRight.js" new file mode 100644 index 00000000..441fe996 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/dropRight.js" @@ -0,0 +1,39 @@ +var baseSlice = require('./_baseSlice'), + toInteger = require('./toInteger'); + +/** + * Creates a slice of `array` with `n` elements dropped from the end. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to query. + * @param {number} [n=1] The number of elements to drop. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Array} Returns the slice of `array`. + * @example + * + * _.dropRight([1, 2, 3]); + * // => [1, 2] + * + * _.dropRight([1, 2, 3], 2); + * // => [1] + * + * _.dropRight([1, 2, 3], 5); + * // => [] + * + * _.dropRight([1, 2, 3], 0); + * // => [1, 2, 3] + */ +function dropRight(array, n, guard) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; + } + n = (guard || n === undefined) ? 1 : toInteger(n); + n = length - n; + return baseSlice(array, 0, n < 0 ? 0 : n); +} + +module.exports = dropRight; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/dropRightWhile.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/dropRightWhile.js" new file mode 100644 index 00000000..9ad36a04 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/dropRightWhile.js" @@ -0,0 +1,45 @@ +var baseIteratee = require('./_baseIteratee'), + baseWhile = require('./_baseWhile'); + +/** + * Creates a slice of `array` excluding elements dropped from the end. + * Elements are dropped until `predicate` returns falsey. The predicate is + * invoked with three arguments: (value, index, array). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to query. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {Array} Returns the slice of `array`. + * @example + * + * var users = [ + * { 'user': 'barney', 'active': true }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': false } + * ]; + * + * _.dropRightWhile(users, function(o) { return !o.active; }); + * // => objects for ['barney'] + * + * // The `_.matches` iteratee shorthand. + * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false }); + * // => objects for ['barney', 'fred'] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.dropRightWhile(users, ['active', false]); + * // => objects for ['barney'] + * + * // The `_.property` iteratee shorthand. + * _.dropRightWhile(users, 'active'); + * // => objects for ['barney', 'fred', 'pebbles'] + */ +function dropRightWhile(array, predicate) { + return (array && array.length) + ? baseWhile(array, baseIteratee(predicate, 3), true, true) + : []; +} + +module.exports = dropRightWhile; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/dropWhile.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/dropWhile.js" new file mode 100644 index 00000000..903ef568 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/dropWhile.js" @@ -0,0 +1,45 @@ +var baseIteratee = require('./_baseIteratee'), + baseWhile = require('./_baseWhile'); + +/** + * Creates a slice of `array` excluding elements dropped from the beginning. + * Elements are dropped until `predicate` returns falsey. The predicate is + * invoked with three arguments: (value, index, array). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to query. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {Array} Returns the slice of `array`. + * @example + * + * var users = [ + * { 'user': 'barney', 'active': false }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': true } + * ]; + * + * _.dropWhile(users, function(o) { return !o.active; }); + * // => objects for ['pebbles'] + * + * // The `_.matches` iteratee shorthand. + * _.dropWhile(users, { 'user': 'barney', 'active': false }); + * // => objects for ['fred', 'pebbles'] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.dropWhile(users, ['active', false]); + * // => objects for ['pebbles'] + * + * // The `_.property` iteratee shorthand. + * _.dropWhile(users, 'active'); + * // => objects for ['barney', 'fred', 'pebbles'] + */ +function dropWhile(array, predicate) { + return (array && array.length) + ? baseWhile(array, baseIteratee(predicate, 3), true) + : []; +} + +module.exports = dropWhile; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/each.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/each.js" new file mode 100644 index 00000000..8800f420 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/each.js" @@ -0,0 +1 @@ +module.exports = require('./forEach'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/eachRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/eachRight.js" new file mode 100644 index 00000000..3252b2ab --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/eachRight.js" @@ -0,0 +1 @@ +module.exports = require('./forEachRight'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/endsWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/endsWith.js" new file mode 100644 index 00000000..76fc866e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/endsWith.js" @@ -0,0 +1,43 @@ +var baseClamp = require('./_baseClamp'), + baseToString = require('./_baseToString'), + toInteger = require('./toInteger'), + toString = require('./toString'); + +/** + * Checks if `string` ends with the given target string. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to inspect. + * @param {string} [target] The string to search for. + * @param {number} [position=string.length] The position to search up to. + * @returns {boolean} Returns `true` if `string` ends with `target`, + * else `false`. + * @example + * + * _.endsWith('abc', 'c'); + * // => true + * + * _.endsWith('abc', 'b'); + * // => false + * + * _.endsWith('abc', 'b', 2); + * // => true + */ +function endsWith(string, target, position) { + string = toString(string); + target = baseToString(target); + + var length = string.length; + position = position === undefined + ? length + : baseClamp(toInteger(position), 0, length); + + var end = position; + position -= target.length; + return position >= 0 && string.slice(position, end) == target; +} + +module.exports = endsWith; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/entries.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/entries.js" new file mode 100644 index 00000000..7a88df20 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/entries.js" @@ -0,0 +1 @@ +module.exports = require('./toPairs'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/entriesIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/entriesIn.js" new file mode 100644 index 00000000..f6c6331c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/entriesIn.js" @@ -0,0 +1 @@ +module.exports = require('./toPairsIn'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/eq.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/eq.js" new file mode 100644 index 00000000..a9406880 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/eq.js" @@ -0,0 +1,37 @@ +/** + * 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(value, other) { + return value === other || (value !== value && other !== other); +} + +module.exports = eq; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/escape.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/escape.js" new file mode 100644 index 00000000..9247e002 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/escape.js" @@ -0,0 +1,43 @@ +var escapeHtmlChar = require('./_escapeHtmlChar'), + toString = require('./toString'); + +/** Used to match HTML entities and HTML characters. */ +var reUnescapedHtml = /[&<>"']/g, + reHasUnescapedHtml = RegExp(reUnescapedHtml.source); + +/** + * Converts the characters "&", "<", ">", '"', and "'" in `string` to their + * corresponding HTML entities. + * + * **Note:** No other characters are escaped. To escape additional + * characters use a third-party library like [_he_](https://mths.be/he). + * + * Though the ">" character is escaped for symmetry, characters like + * ">" and "/" don't need escaping in HTML and have no special meaning + * unless they're part of a tag or unquoted attribute value. See + * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands) + * (under "semi-related fun fact") for more details. + * + * When working with HTML you should always + * [quote attribute values](http://wonko.com/post/html-escaping) to reduce + * XSS vectors. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category String + * @param {string} [string=''] The string to escape. + * @returns {string} Returns the escaped string. + * @example + * + * _.escape('fred, barney, & pebbles'); + * // => 'fred, barney, & pebbles' + */ +function escape(string) { + string = toString(string); + return (string && reHasUnescapedHtml.test(string)) + ? string.replace(reUnescapedHtml, escapeHtmlChar) + : string; +} + +module.exports = escape; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/escapeRegExp.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/escapeRegExp.js" new file mode 100644 index 00000000..0a58c69f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/escapeRegExp.js" @@ -0,0 +1,32 @@ +var toString = require('./toString'); + +/** + * Used to match `RegExp` + * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). + */ +var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, + reHasRegExpChar = RegExp(reRegExpChar.source); + +/** + * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+", + * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to escape. + * @returns {string} Returns the escaped string. + * @example + * + * _.escapeRegExp('[lodash](https://lodash.com/)'); + * // => '\[lodash\]\(https://lodash\.com/\)' + */ +function escapeRegExp(string) { + string = toString(string); + return (string && reHasRegExpChar.test(string)) + ? string.replace(reRegExpChar, '\\$&') + : string; +} + +module.exports = escapeRegExp; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/every.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/every.js" new file mode 100644 index 00000000..25080dac --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/every.js" @@ -0,0 +1,56 @@ +var arrayEvery = require('./_arrayEvery'), + baseEvery = require('./_baseEvery'), + baseIteratee = require('./_baseIteratee'), + isArray = require('./isArray'), + isIterateeCall = require('./_isIterateeCall'); + +/** + * Checks if `predicate` returns truthy for **all** elements of `collection`. + * Iteration is stopped once `predicate` returns falsey. The predicate is + * invoked with three arguments: (value, index|key, collection). + * + * **Note:** This method returns `true` for + * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because + * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of + * elements of empty collections. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {boolean} Returns `true` if all elements pass the predicate check, + * else `false`. + * @example + * + * _.every([true, 1, null, 'yes'], Boolean); + * // => false + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': false }, + * { 'user': 'fred', 'age': 40, 'active': false } + * ]; + * + * // The `_.matches` iteratee shorthand. + * _.every(users, { 'user': 'barney', 'active': false }); + * // => false + * + * // The `_.matchesProperty` iteratee shorthand. + * _.every(users, ['active', false]); + * // => true + * + * // The `_.property` iteratee shorthand. + * _.every(users, 'active'); + * // => false + */ +function every(collection, predicate, guard) { + var func = isArray(collection) ? arrayEvery : baseEvery; + if (guard && isIterateeCall(collection, predicate, guard)) { + predicate = undefined; + } + return func(collection, baseIteratee(predicate, 3)); +} + +module.exports = every; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/extend.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/extend.js" new file mode 100644 index 00000000..e00166c2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/extend.js" @@ -0,0 +1 @@ +module.exports = require('./assignIn'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/extendWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/extendWith.js" new file mode 100644 index 00000000..dbdcb3b4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/extendWith.js" @@ -0,0 +1 @@ +module.exports = require('./assignInWith'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fill.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fill.js" new file mode 100644 index 00000000..ae13aa1c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fill.js" @@ -0,0 +1,45 @@ +var baseFill = require('./_baseFill'), + isIterateeCall = require('./_isIterateeCall'); + +/** + * Fills elements of `array` with `value` from `start` up to, but not + * including, `end`. + * + * **Note:** This method mutates `array`. + * + * @static + * @memberOf _ + * @since 3.2.0 + * @category Array + * @param {Array} array The array to fill. + * @param {*} value The value to fill `array` with. + * @param {number} [start=0] The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns `array`. + * @example + * + * var array = [1, 2, 3]; + * + * _.fill(array, 'a'); + * console.log(array); + * // => ['a', 'a', 'a'] + * + * _.fill(Array(3), 2); + * // => [2, 2, 2] + * + * _.fill([4, 6, 8, 10], '*', 1, 3); + * // => [4, '*', '*', 10] + */ +function fill(array, value, start, end) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; + } + if (start && typeof start != 'number' && isIterateeCall(array, value, start)) { + start = 0; + end = length; + } + return baseFill(array, value, start, end); +} + +module.exports = fill; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/filter.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/filter.js" new file mode 100644 index 00000000..89e0c8c4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/filter.js" @@ -0,0 +1,52 @@ +var arrayFilter = require('./_arrayFilter'), + baseFilter = require('./_baseFilter'), + baseIteratee = require('./_baseIteratee'), + isArray = require('./isArray'); + +/** + * Iterates over elements of `collection`, returning an array of all elements + * `predicate` returns truthy for. The predicate is invoked with three + * arguments: (value, index|key, collection). + * + * **Note:** Unlike `_.remove`, this method returns a new array. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {Array} Returns the new filtered array. + * @see _.reject + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': true }, + * { 'user': 'fred', 'age': 40, 'active': false } + * ]; + * + * _.filter(users, function(o) { return !o.active; }); + * // => objects for ['fred'] + * + * // The `_.matches` iteratee shorthand. + * _.filter(users, { 'age': 36, 'active': true }); + * // => objects for ['barney'] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.filter(users, ['active', false]); + * // => objects for ['fred'] + * + * // The `_.property` iteratee shorthand. + * _.filter(users, 'active'); + * // => objects for ['barney'] + * + * // Combining several predicates using `_.overEvery` or `_.overSome`. + * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]])); + * // => objects for ['fred', 'barney'] + */ +function filter(collection, predicate) { + var func = isArray(collection) ? arrayFilter : baseFilter; + return func(collection, baseIteratee(predicate, 3)); +} + +module.exports = filter; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/find.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/find.js" new file mode 100644 index 00000000..de732ccb --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/find.js" @@ -0,0 +1,42 @@ +var createFind = require('./_createFind'), + findIndex = require('./findIndex'); + +/** + * Iterates over elements of `collection`, returning the first element + * `predicate` returns truthy for. The predicate is invoked with three + * arguments: (value, index|key, collection). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param {number} [fromIndex=0] The index to search from. + * @returns {*} Returns the matched element, else `undefined`. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': true }, + * { 'user': 'fred', 'age': 40, 'active': false }, + * { 'user': 'pebbles', 'age': 1, 'active': true } + * ]; + * + * _.find(users, function(o) { return o.age < 40; }); + * // => object for 'barney' + * + * // The `_.matches` iteratee shorthand. + * _.find(users, { 'age': 1, 'active': true }); + * // => object for 'pebbles' + * + * // The `_.matchesProperty` iteratee shorthand. + * _.find(users, ['active', false]); + * // => object for 'fred' + * + * // The `_.property` iteratee shorthand. + * _.find(users, 'active'); + * // => object for 'barney' + */ +var find = createFind(findIndex); + +module.exports = find; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findIndex.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findIndex.js" new file mode 100644 index 00000000..4689069f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findIndex.js" @@ -0,0 +1,55 @@ +var baseFindIndex = require('./_baseFindIndex'), + baseIteratee = require('./_baseIteratee'), + toInteger = require('./toInteger'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max; + +/** + * This method is like `_.find` except that it returns the index of the first + * element `predicate` returns truthy for instead of the element itself. + * + * @static + * @memberOf _ + * @since 1.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param {number} [fromIndex=0] The index to search from. + * @returns {number} Returns the index of the found element, else `-1`. + * @example + * + * var users = [ + * { 'user': 'barney', 'active': false }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': true } + * ]; + * + * _.findIndex(users, function(o) { return o.user == 'barney'; }); + * // => 0 + * + * // The `_.matches` iteratee shorthand. + * _.findIndex(users, { 'user': 'fred', 'active': false }); + * // => 1 + * + * // The `_.matchesProperty` iteratee shorthand. + * _.findIndex(users, ['active', false]); + * // => 0 + * + * // The `_.property` iteratee shorthand. + * _.findIndex(users, 'active'); + * // => 2 + */ +function findIndex(array, predicate, fromIndex) { + var length = array == null ? 0 : array.length; + if (!length) { + return -1; + } + var index = fromIndex == null ? 0 : toInteger(fromIndex); + if (index < 0) { + index = nativeMax(length + index, 0); + } + return baseFindIndex(array, baseIteratee(predicate, 3), index); +} + +module.exports = findIndex; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findKey.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findKey.js" new file mode 100644 index 00000000..cac0248a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findKey.js" @@ -0,0 +1,44 @@ +var baseFindKey = require('./_baseFindKey'), + baseForOwn = require('./_baseForOwn'), + baseIteratee = require('./_baseIteratee'); + +/** + * This method is like `_.find` except that it returns the key of the first + * element `predicate` returns truthy for instead of the element itself. + * + * @static + * @memberOf _ + * @since 1.1.0 + * @category Object + * @param {Object} object The object to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {string|undefined} Returns the key of the matched element, + * else `undefined`. + * @example + * + * var users = { + * 'barney': { 'age': 36, 'active': true }, + * 'fred': { 'age': 40, 'active': false }, + * 'pebbles': { 'age': 1, 'active': true } + * }; + * + * _.findKey(users, function(o) { return o.age < 40; }); + * // => 'barney' (iteration order is not guaranteed) + * + * // The `_.matches` iteratee shorthand. + * _.findKey(users, { 'age': 1, 'active': true }); + * // => 'pebbles' + * + * // The `_.matchesProperty` iteratee shorthand. + * _.findKey(users, ['active', false]); + * // => 'fred' + * + * // The `_.property` iteratee shorthand. + * _.findKey(users, 'active'); + * // => 'barney' + */ +function findKey(object, predicate) { + return baseFindKey(object, baseIteratee(predicate, 3), baseForOwn); +} + +module.exports = findKey; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findLast.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findLast.js" new file mode 100644 index 00000000..70b4271d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findLast.js" @@ -0,0 +1,25 @@ +var createFind = require('./_createFind'), + findLastIndex = require('./findLastIndex'); + +/** + * This method is like `_.find` except that it iterates over elements of + * `collection` from right to left. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Collection + * @param {Array|Object} collection The collection to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param {number} [fromIndex=collection.length-1] The index to search from. + * @returns {*} Returns the matched element, else `undefined`. + * @example + * + * _.findLast([1, 2, 3, 4], function(n) { + * return n % 2 == 1; + * }); + * // => 3 + */ +var findLast = createFind(findLastIndex); + +module.exports = findLast; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findLastIndex.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findLastIndex.js" new file mode 100644 index 00000000..7da3431f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findLastIndex.js" @@ -0,0 +1,59 @@ +var baseFindIndex = require('./_baseFindIndex'), + baseIteratee = require('./_baseIteratee'), + toInteger = require('./toInteger'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max, + nativeMin = Math.min; + +/** + * This method is like `_.findIndex` except that it iterates over elements + * of `collection` from right to left. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param {number} [fromIndex=array.length-1] The index to search from. + * @returns {number} Returns the index of the found element, else `-1`. + * @example + * + * var users = [ + * { 'user': 'barney', 'active': true }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': false } + * ]; + * + * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; }); + * // => 2 + * + * // The `_.matches` iteratee shorthand. + * _.findLastIndex(users, { 'user': 'barney', 'active': true }); + * // => 0 + * + * // The `_.matchesProperty` iteratee shorthand. + * _.findLastIndex(users, ['active', false]); + * // => 2 + * + * // The `_.property` iteratee shorthand. + * _.findLastIndex(users, 'active'); + * // => 0 + */ +function findLastIndex(array, predicate, fromIndex) { + var length = array == null ? 0 : array.length; + if (!length) { + return -1; + } + var index = length - 1; + if (fromIndex !== undefined) { + index = toInteger(fromIndex); + index = fromIndex < 0 + ? nativeMax(length + index, 0) + : nativeMin(index, length - 1); + } + return baseFindIndex(array, baseIteratee(predicate, 3), index, true); +} + +module.exports = findLastIndex; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findLastKey.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findLastKey.js" new file mode 100644 index 00000000..66fb9fbc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/findLastKey.js" @@ -0,0 +1,44 @@ +var baseFindKey = require('./_baseFindKey'), + baseForOwnRight = require('./_baseForOwnRight'), + baseIteratee = require('./_baseIteratee'); + +/** + * This method is like `_.findKey` except that it iterates over elements of + * a collection in the opposite order. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Object + * @param {Object} object The object to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {string|undefined} Returns the key of the matched element, + * else `undefined`. + * @example + * + * var users = { + * 'barney': { 'age': 36, 'active': true }, + * 'fred': { 'age': 40, 'active': false }, + * 'pebbles': { 'age': 1, 'active': true } + * }; + * + * _.findLastKey(users, function(o) { return o.age < 40; }); + * // => returns 'pebbles' assuming `_.findKey` returns 'barney' + * + * // The `_.matches` iteratee shorthand. + * _.findLastKey(users, { 'age': 36, 'active': true }); + * // => 'barney' + * + * // The `_.matchesProperty` iteratee shorthand. + * _.findLastKey(users, ['active', false]); + * // => 'fred' + * + * // The `_.property` iteratee shorthand. + * _.findLastKey(users, 'active'); + * // => 'pebbles' + */ +function findLastKey(object, predicate) { + return baseFindKey(object, baseIteratee(predicate, 3), baseForOwnRight); +} + +module.exports = findLastKey; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/first.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/first.js" new file mode 100644 index 00000000..53f4ad13 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/first.js" @@ -0,0 +1 @@ +module.exports = require('./head'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flake.lock" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flake.lock" new file mode 100644 index 00000000..dd032521 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flake.lock" @@ -0,0 +1,40 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1613582597, + "narHash": "sha256-6LvipIvFuhyorHpUqK3HjySC5Y6gshXHFBhU9EJ4DoM=", + "path": "/nix/store/srvplqq673sqd9vyfhyc5w1p88y1gfm4-source", + "rev": "6b1057b452c55bb3b463f0d7055bc4ec3fd1f381", + "type": "path" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs", + "utils": "utils" + } + }, + "utils": { + "locked": { + "lastModified": 1610051610, + "narHash": "sha256-U9rPz/usA1/Aohhk7Cmc2gBrEEKRzcW4nwPWMPwja4Y=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "3982c9903e93927c2164caa727cd3f6a0e6d14cc", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flake.nix" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flake.nix" new file mode 100644 index 00000000..15a451c6 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flake.nix" @@ -0,0 +1,20 @@ +{ + inputs = { + utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, utils }: + utils.lib.eachDefaultSystem (system: + let + pkgs = nixpkgs.legacyPackages."${system}"; + in rec { + devShell = pkgs.mkShell { + nativeBuildInputs = with pkgs; [ + yarn + nodejs-14_x + nodePackages.typescript-language-server + nodePackages.eslint + ]; + }; + }); +} diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatMap.js" new file mode 100644 index 00000000..e6685068 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatMap.js" @@ -0,0 +1,29 @@ +var baseFlatten = require('./_baseFlatten'), + map = require('./map'); + +/** + * Creates a flattened array of values by running each element in `collection` + * thru `iteratee` and flattening the mapped results. The iteratee is invoked + * with three arguments: (value, index|key, collection). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Array} Returns the new flattened array. + * @example + * + * function duplicate(n) { + * return [n, n]; + * } + * + * _.flatMap([1, 2], duplicate); + * // => [1, 1, 2, 2] + */ +function flatMap(collection, iteratee) { + return baseFlatten(map(collection, iteratee), 1); +} + +module.exports = flatMap; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatMapDeep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatMapDeep.js" new file mode 100644 index 00000000..4653d603 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatMapDeep.js" @@ -0,0 +1,31 @@ +var baseFlatten = require('./_baseFlatten'), + map = require('./map'); + +/** Used as references for various `Number` constants. */ +var INFINITY = 1 / 0; + +/** + * This method is like `_.flatMap` except that it recursively flattens the + * mapped results. + * + * @static + * @memberOf _ + * @since 4.7.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Array} Returns the new flattened array. + * @example + * + * function duplicate(n) { + * return [[[n, n]]]; + * } + * + * _.flatMapDeep([1, 2], duplicate); + * // => [1, 1, 2, 2] + */ +function flatMapDeep(collection, iteratee) { + return baseFlatten(map(collection, iteratee), INFINITY); +} + +module.exports = flatMapDeep; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatMapDepth.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatMapDepth.js" new file mode 100644 index 00000000..6d72005c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatMapDepth.js" @@ -0,0 +1,31 @@ +var baseFlatten = require('./_baseFlatten'), + map = require('./map'), + toInteger = require('./toInteger'); + +/** + * This method is like `_.flatMap` except that it recursively flattens the + * mapped results up to `depth` times. + * + * @static + * @memberOf _ + * @since 4.7.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @param {number} [depth=1] The maximum recursion depth. + * @returns {Array} Returns the new flattened array. + * @example + * + * function duplicate(n) { + * return [[[n, n]]]; + * } + * + * _.flatMapDepth([1, 2], duplicate, 2); + * // => [[1, 1], [2, 2]] + */ +function flatMapDepth(collection, iteratee, depth) { + depth = depth === undefined ? 1 : toInteger(depth); + return baseFlatten(map(collection, iteratee), depth); +} + +module.exports = flatMapDepth; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatten.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatten.js" new file mode 100644 index 00000000..3f09f7f7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flatten.js" @@ -0,0 +1,22 @@ +var baseFlatten = require('./_baseFlatten'); + +/** + * Flattens `array` a single level deep. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to flatten. + * @returns {Array} Returns the new flattened array. + * @example + * + * _.flatten([1, [2, [3, [4]], 5]]); + * // => [1, 2, [3, [4]], 5] + */ +function flatten(array) { + var length = array == null ? 0 : array.length; + return length ? baseFlatten(array, 1) : []; +} + +module.exports = flatten; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flattenDeep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flattenDeep.js" new file mode 100644 index 00000000..8ad585cf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flattenDeep.js" @@ -0,0 +1,25 @@ +var baseFlatten = require('./_baseFlatten'); + +/** Used as references for various `Number` constants. */ +var INFINITY = 1 / 0; + +/** + * Recursively flattens `array`. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to flatten. + * @returns {Array} Returns the new flattened array. + * @example + * + * _.flattenDeep([1, [2, [3, [4]], 5]]); + * // => [1, 2, 3, 4, 5] + */ +function flattenDeep(array) { + var length = array == null ? 0 : array.length; + return length ? baseFlatten(array, INFINITY) : []; +} + +module.exports = flattenDeep; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flattenDepth.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flattenDepth.js" new file mode 100644 index 00000000..441fdcc2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flattenDepth.js" @@ -0,0 +1,33 @@ +var baseFlatten = require('./_baseFlatten'), + toInteger = require('./toInteger'); + +/** + * Recursively flatten `array` up to `depth` times. + * + * @static + * @memberOf _ + * @since 4.4.0 + * @category Array + * @param {Array} array The array to flatten. + * @param {number} [depth=1] The maximum recursion depth. + * @returns {Array} Returns the new flattened array. + * @example + * + * var array = [1, [2, [3, [4]], 5]]; + * + * _.flattenDepth(array, 1); + * // => [1, 2, [3, [4]], 5] + * + * _.flattenDepth(array, 2); + * // => [1, 2, 3, [4], 5] + */ +function flattenDepth(array, depth) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; + } + depth = depth === undefined ? 1 : toInteger(depth); + return baseFlatten(array, depth); +} + +module.exports = flattenDepth; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flip.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flip.js" new file mode 100644 index 00000000..c28dd789 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flip.js" @@ -0,0 +1,28 @@ +var createWrap = require('./_createWrap'); + +/** Used to compose bitmasks for function metadata. */ +var WRAP_FLIP_FLAG = 512; + +/** + * Creates a function that invokes `func` with arguments reversed. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Function + * @param {Function} func The function to flip arguments for. + * @returns {Function} Returns the new flipped function. + * @example + * + * var flipped = _.flip(function() { + * return _.toArray(arguments); + * }); + * + * flipped('a', 'b', 'c', 'd'); + * // => ['d', 'c', 'b', 'a'] + */ +function flip(func) { + return createWrap(func, WRAP_FLIP_FLAG); +} + +module.exports = flip; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/floor.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/floor.js" new file mode 100644 index 00000000..ab6dfa28 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/floor.js" @@ -0,0 +1,26 @@ +var createRound = require('./_createRound'); + +/** + * Computes `number` rounded down to `precision`. + * + * @static + * @memberOf _ + * @since 3.10.0 + * @category Math + * @param {number} number The number to round down. + * @param {number} [precision=0] The precision to round down to. + * @returns {number} Returns the rounded down number. + * @example + * + * _.floor(4.006); + * // => 4 + * + * _.floor(0.046, 2); + * // => 0.04 + * + * _.floor(4060, -2); + * // => 4000 + */ +var floor = createRound('floor'); + +module.exports = floor; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flow.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flow.js" new file mode 100644 index 00000000..74b6b62d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flow.js" @@ -0,0 +1,27 @@ +var createFlow = require('./_createFlow'); + +/** + * Creates a function that returns the result of invoking the given functions + * with the `this` binding of the created function, where each successive + * invocation is supplied the return value of the previous. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Util + * @param {...(Function|Function[])} [funcs] The functions to invoke. + * @returns {Function} Returns the new composite function. + * @see _.flowRight + * @example + * + * function square(n) { + * return n * n; + * } + * + * var addSquare = _.flow([_.add, square]); + * addSquare(1, 2); + * // => 9 + */ +var flow = createFlow(); + +module.exports = flow; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flowRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flowRight.js" new file mode 100644 index 00000000..11461410 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/flowRight.js" @@ -0,0 +1,26 @@ +var createFlow = require('./_createFlow'); + +/** + * This method is like `_.flow` except that it creates a function that + * invokes the given functions from right to left. + * + * @static + * @since 3.0.0 + * @memberOf _ + * @category Util + * @param {...(Function|Function[])} [funcs] The functions to invoke. + * @returns {Function} Returns the new composite function. + * @see _.flow + * @example + * + * function square(n) { + * return n * n; + * } + * + * var addSquare = _.flowRight([square, _.add]); + * addSquare(1, 2); + * // => 9 + */ +var flowRight = createFlow(true); + +module.exports = flowRight; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forEach.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forEach.js" new file mode 100644 index 00000000..c64eaa73 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forEach.js" @@ -0,0 +1,41 @@ +var arrayEach = require('./_arrayEach'), + baseEach = require('./_baseEach'), + castFunction = require('./_castFunction'), + isArray = require('./isArray'); + +/** + * Iterates over elements of `collection` and invokes `iteratee` for each element. + * The iteratee is invoked with three arguments: (value, index|key, collection). + * Iteratee functions may exit iteration early by explicitly returning `false`. + * + * **Note:** As with other "Collections" methods, objects with a "length" + * property are iterated like arrays. To avoid this behavior use `_.forIn` + * or `_.forOwn` for object iteration. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @alias each + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. + * @see _.forEachRight + * @example + * + * _.forEach([1, 2], function(value) { + * console.log(value); + * }); + * // => Logs `1` then `2`. + * + * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) { + * console.log(key); + * }); + * // => Logs 'a' then 'b' (iteration order is not guaranteed). + */ +function forEach(collection, iteratee) { + var func = isArray(collection) ? arrayEach : baseEach; + return func(collection, castFunction(iteratee)); +} + +module.exports = forEach; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forEachRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forEachRight.js" new file mode 100644 index 00000000..7390ebaf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forEachRight.js" @@ -0,0 +1,31 @@ +var arrayEachRight = require('./_arrayEachRight'), + baseEachRight = require('./_baseEachRight'), + castFunction = require('./_castFunction'), + isArray = require('./isArray'); + +/** + * This method is like `_.forEach` except that it iterates over elements of + * `collection` from right to left. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @alias eachRight + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. + * @see _.forEach + * @example + * + * _.forEachRight([1, 2], function(value) { + * console.log(value); + * }); + * // => Logs `2` then `1`. + */ +function forEachRight(collection, iteratee) { + var func = isArray(collection) ? arrayEachRight : baseEachRight; + return func(collection, castFunction(iteratee)); +} + +module.exports = forEachRight; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forIn.js" new file mode 100644 index 00000000..583a5963 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forIn.js" @@ -0,0 +1,39 @@ +var baseFor = require('./_baseFor'), + castFunction = require('./_castFunction'), + keysIn = require('./keysIn'); + +/** + * Iterates over own and inherited enumerable string keyed properties of an + * object and invokes `iteratee` for each property. The iteratee is invoked + * with three arguments: (value, key, object). Iteratee functions may exit + * iteration early by explicitly returning `false`. + * + * @static + * @memberOf _ + * @since 0.3.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Object} Returns `object`. + * @see _.forInRight + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.forIn(new Foo, function(value, key) { + * console.log(key); + * }); + * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed). + */ +function forIn(object, iteratee) { + return object == null + ? object + : baseFor(object, castFunction(iteratee), keysIn); +} + +module.exports = forIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forInRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forInRight.js" new file mode 100644 index 00000000..4aedf58a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forInRight.js" @@ -0,0 +1,37 @@ +var baseForRight = require('./_baseForRight'), + castFunction = require('./_castFunction'), + keysIn = require('./keysIn'); + +/** + * This method is like `_.forIn` except that it iterates over properties of + * `object` in the opposite order. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Object} Returns `object`. + * @see _.forIn + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.forInRight(new Foo, function(value, key) { + * console.log(key); + * }); + * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'. + */ +function forInRight(object, iteratee) { + return object == null + ? object + : baseForRight(object, castFunction(iteratee), keysIn); +} + +module.exports = forInRight; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forOwn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forOwn.js" new file mode 100644 index 00000000..94eed840 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forOwn.js" @@ -0,0 +1,36 @@ +var baseForOwn = require('./_baseForOwn'), + castFunction = require('./_castFunction'); + +/** + * Iterates over own enumerable string keyed properties of an object and + * invokes `iteratee` for each property. The iteratee is invoked with three + * arguments: (value, key, object). Iteratee functions may exit iteration + * early by explicitly returning `false`. + * + * @static + * @memberOf _ + * @since 0.3.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Object} Returns `object`. + * @see _.forOwnRight + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.forOwn(new Foo, function(value, key) { + * console.log(key); + * }); + * // => Logs 'a' then 'b' (iteration order is not guaranteed). + */ +function forOwn(object, iteratee) { + return object && baseForOwn(object, castFunction(iteratee)); +} + +module.exports = forOwn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forOwnRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forOwnRight.js" new file mode 100644 index 00000000..86f338f0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/forOwnRight.js" @@ -0,0 +1,34 @@ +var baseForOwnRight = require('./_baseForOwnRight'), + castFunction = require('./_castFunction'); + +/** + * This method is like `_.forOwn` except that it iterates over properties of + * `object` in the opposite order. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Object} Returns `object`. + * @see _.forOwn + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.forOwnRight(new Foo, function(value, key) { + * console.log(key); + * }); + * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'. + */ +function forOwnRight(object, iteratee) { + return object && baseForOwnRight(object, castFunction(iteratee)); +} + +module.exports = forOwnRight; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp.js" new file mode 100644 index 00000000..e372dbbd --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp.js" @@ -0,0 +1,2 @@ +var _ = require('./lodash.min').runInContext(); +module.exports = require('./fp/_baseConvert')(_, _); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/F.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/F.js" new file mode 100644 index 00000000..a05a63ad --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/F.js" @@ -0,0 +1 @@ +module.exports = require('./stubFalse'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/T.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/T.js" new file mode 100644 index 00000000..e2ba8ea5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/T.js" @@ -0,0 +1 @@ +module.exports = require('./stubTrue'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/__.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/__.js" new file mode 100644 index 00000000..4af98deb --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/__.js" @@ -0,0 +1 @@ +module.exports = require('./placeholder'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_baseConvert.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_baseConvert.js" new file mode 100644 index 00000000..9baf8e19 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_baseConvert.js" @@ -0,0 +1,569 @@ +var mapping = require('./_mapping'), + fallbackHolder = require('./placeholder'); + +/** Built-in value reference. */ +var push = Array.prototype.push; + +/** + * Creates a function, with an arity of `n`, that invokes `func` with the + * arguments it receives. + * + * @private + * @param {Function} func The function to wrap. + * @param {number} n The arity of the new function. + * @returns {Function} Returns the new function. + */ +function baseArity(func, n) { + return n == 2 + ? function(a, b) { return func.apply(undefined, arguments); } + : function(a) { return func.apply(undefined, arguments); }; +} + +/** + * Creates a function that invokes `func`, with up to `n` arguments, ignoring + * any additional arguments. + * + * @private + * @param {Function} func The function to cap arguments for. + * @param {number} n The arity cap. + * @returns {Function} Returns the new function. + */ +function baseAry(func, n) { + return n == 2 + ? function(a, b) { return func(a, b); } + : function(a) { return func(a); }; +} + +/** + * Creates a clone of `array`. + * + * @private + * @param {Array} array The array to clone. + * @returns {Array} Returns the cloned array. + */ +function cloneArray(array) { + var length = array ? array.length : 0, + result = Array(length); + + while (length--) { + result[length] = array[length]; + } + return result; +} + +/** + * Creates a function that clones a given object using the assignment `func`. + * + * @private + * @param {Function} func The assignment function. + * @returns {Function} Returns the new cloner function. + */ +function createCloner(func) { + return function(object) { + return func({}, object); + }; +} + +/** + * A specialized version of `_.spread` which flattens the spread array into + * the arguments of the invoked `func`. + * + * @private + * @param {Function} func The function to spread arguments over. + * @param {number} start The start position of the spread. + * @returns {Function} Returns the new function. + */ +function flatSpread(func, start) { + return function() { + var length = arguments.length, + lastIndex = length - 1, + args = Array(length); + + while (length--) { + args[length] = arguments[length]; + } + var array = args[start], + otherArgs = args.slice(0, start); + + if (array) { + push.apply(otherArgs, array); + } + if (start != lastIndex) { + push.apply(otherArgs, args.slice(start + 1)); + } + return func.apply(this, otherArgs); + }; +} + +/** + * Creates a function that wraps `func` and uses `cloner` to clone the first + * argument it receives. + * + * @private + * @param {Function} func The function to wrap. + * @param {Function} cloner The function to clone arguments. + * @returns {Function} Returns the new immutable function. + */ +function wrapImmutable(func, cloner) { + return function() { + var length = arguments.length; + if (!length) { + return; + } + var args = Array(length); + while (length--) { + args[length] = arguments[length]; + } + var result = args[0] = cloner.apply(undefined, args); + func.apply(undefined, args); + return result; + }; +} + +/** + * The base implementation of `convert` which accepts a `util` object of methods + * required to perform conversions. + * + * @param {Object} util The util object. + * @param {string} name The name of the function to convert. + * @param {Function} func The function to convert. + * @param {Object} [options] The options object. + * @param {boolean} [options.cap=true] Specify capping iteratee arguments. + * @param {boolean} [options.curry=true] Specify currying. + * @param {boolean} [options.fixed=true] Specify fixed arity. + * @param {boolean} [options.immutable=true] Specify immutable operations. + * @param {boolean} [options.rearg=true] Specify rearranging arguments. + * @returns {Function|Object} Returns the converted function or object. + */ +function baseConvert(util, name, func, options) { + var isLib = typeof name == 'function', + isObj = name === Object(name); + + if (isObj) { + options = func; + func = name; + name = undefined; + } + if (func == null) { + throw new TypeError; + } + options || (options = {}); + + var config = { + 'cap': 'cap' in options ? options.cap : true, + 'curry': 'curry' in options ? options.curry : true, + 'fixed': 'fixed' in options ? options.fixed : true, + 'immutable': 'immutable' in options ? options.immutable : true, + 'rearg': 'rearg' in options ? options.rearg : true + }; + + var defaultHolder = isLib ? func : fallbackHolder, + forceCurry = ('curry' in options) && options.curry, + forceFixed = ('fixed' in options) && options.fixed, + forceRearg = ('rearg' in options) && options.rearg, + pristine = isLib ? func.runInContext() : undefined; + + var helpers = isLib ? func : { + 'ary': util.ary, + 'assign': util.assign, + 'clone': util.clone, + 'curry': util.curry, + 'forEach': util.forEach, + 'isArray': util.isArray, + 'isError': util.isError, + 'isFunction': util.isFunction, + 'isWeakMap': util.isWeakMap, + 'iteratee': util.iteratee, + 'keys': util.keys, + 'rearg': util.rearg, + 'toInteger': util.toInteger, + 'toPath': util.toPath + }; + + var ary = helpers.ary, + assign = helpers.assign, + clone = helpers.clone, + curry = helpers.curry, + each = helpers.forEach, + isArray = helpers.isArray, + isError = helpers.isError, + isFunction = helpers.isFunction, + isWeakMap = helpers.isWeakMap, + keys = helpers.keys, + rearg = helpers.rearg, + toInteger = helpers.toInteger, + toPath = helpers.toPath; + + var aryMethodKeys = keys(mapping.aryMethod); + + var wrappers = { + 'castArray': function(castArray) { + return function() { + var value = arguments[0]; + return isArray(value) + ? castArray(cloneArray(value)) + : castArray.apply(undefined, arguments); + }; + }, + 'iteratee': function(iteratee) { + return function() { + var func = arguments[0], + arity = arguments[1], + result = iteratee(func, arity), + length = result.length; + + if (config.cap && typeof arity == 'number') { + arity = arity > 2 ? (arity - 2) : 1; + return (length && length <= arity) ? result : baseAry(result, arity); + } + return result; + }; + }, + 'mixin': function(mixin) { + return function(source) { + var func = this; + if (!isFunction(func)) { + return mixin(func, Object(source)); + } + var pairs = []; + each(keys(source), function(key) { + if (isFunction(source[key])) { + pairs.push([key, func.prototype[key]]); + } + }); + + mixin(func, Object(source)); + + each(pairs, function(pair) { + var value = pair[1]; + if (isFunction(value)) { + func.prototype[pair[0]] = value; + } else { + delete func.prototype[pair[0]]; + } + }); + return func; + }; + }, + 'nthArg': function(nthArg) { + return function(n) { + var arity = n < 0 ? 1 : (toInteger(n) + 1); + return curry(nthArg(n), arity); + }; + }, + 'rearg': function(rearg) { + return function(func, indexes) { + var arity = indexes ? indexes.length : 0; + return curry(rearg(func, indexes), arity); + }; + }, + 'runInContext': function(runInContext) { + return function(context) { + return baseConvert(util, runInContext(context), options); + }; + } + }; + + /*--------------------------------------------------------------------------*/ + + /** + * Casts `func` to a function with an arity capped iteratee if needed. + * + * @private + * @param {string} name The name of the function to inspect. + * @param {Function} func The function to inspect. + * @returns {Function} Returns the cast function. + */ + function castCap(name, func) { + if (config.cap) { + var indexes = mapping.iterateeRearg[name]; + if (indexes) { + return iterateeRearg(func, indexes); + } + var n = !isLib && mapping.iterateeAry[name]; + if (n) { + return iterateeAry(func, n); + } + } + return func; + } + + /** + * Casts `func` to a curried function if needed. + * + * @private + * @param {string} name The name of the function to inspect. + * @param {Function} func The function to inspect. + * @param {number} n The arity of `func`. + * @returns {Function} Returns the cast function. + */ + function castCurry(name, func, n) { + return (forceCurry || (config.curry && n > 1)) + ? curry(func, n) + : func; + } + + /** + * Casts `func` to a fixed arity function if needed. + * + * @private + * @param {string} name The name of the function to inspect. + * @param {Function} func The function to inspect. + * @param {number} n The arity cap. + * @returns {Function} Returns the cast function. + */ + function castFixed(name, func, n) { + if (config.fixed && (forceFixed || !mapping.skipFixed[name])) { + var data = mapping.methodSpread[name], + start = data && data.start; + + return start === undefined ? ary(func, n) : flatSpread(func, start); + } + return func; + } + + /** + * Casts `func` to an rearged function if needed. + * + * @private + * @param {string} name The name of the function to inspect. + * @param {Function} func The function to inspect. + * @param {number} n The arity of `func`. + * @returns {Function} Returns the cast function. + */ + function castRearg(name, func, n) { + return (config.rearg && n > 1 && (forceRearg || !mapping.skipRearg[name])) + ? rearg(func, mapping.methodRearg[name] || mapping.aryRearg[n]) + : func; + } + + /** + * Creates a clone of `object` by `path`. + * + * @private + * @param {Object} object The object to clone. + * @param {Array|string} path The path to clone by. + * @returns {Object} Returns the cloned object. + */ + function cloneByPath(object, path) { + path = toPath(path); + + var index = -1, + length = path.length, + lastIndex = length - 1, + result = clone(Object(object)), + nested = result; + + while (nested != null && ++index < length) { + var key = path[index], + value = nested[key]; + + if (value != null && + !(isFunction(value) || isError(value) || isWeakMap(value))) { + nested[key] = clone(index == lastIndex ? value : Object(value)); + } + nested = nested[key]; + } + return result; + } + + /** + * Converts `lodash` to an immutable auto-curried iteratee-first data-last + * version with conversion `options` applied. + * + * @param {Object} [options] The options object. See `baseConvert` for more details. + * @returns {Function} Returns the converted `lodash`. + */ + function convertLib(options) { + return _.runInContext.convert(options)(undefined); + } + + /** + * Create a converter function for `func` of `name`. + * + * @param {string} name The name of the function to convert. + * @param {Function} func The function to convert. + * @returns {Function} Returns the new converter function. + */ + function createConverter(name, func) { + var realName = mapping.aliasToReal[name] || name, + methodName = mapping.remap[realName] || realName, + oldOptions = options; + + return function(options) { + var newUtil = isLib ? pristine : helpers, + newFunc = isLib ? pristine[methodName] : func, + newOptions = assign(assign({}, oldOptions), options); + + return baseConvert(newUtil, realName, newFunc, newOptions); + }; + } + + /** + * Creates a function that wraps `func` to invoke its iteratee, with up to `n` + * arguments, ignoring any additional arguments. + * + * @private + * @param {Function} func The function to cap iteratee arguments for. + * @param {number} n The arity cap. + * @returns {Function} Returns the new function. + */ + function iterateeAry(func, n) { + return overArg(func, function(func) { + return typeof func == 'function' ? baseAry(func, n) : func; + }); + } + + /** + * Creates a function that wraps `func` to invoke its iteratee with arguments + * arranged according to the specified `indexes` where the argument value at + * the first index is provided as the first argument, the argument value at + * the second index is provided as the second argument, and so on. + * + * @private + * @param {Function} func The function to rearrange iteratee arguments for. + * @param {number[]} indexes The arranged argument indexes. + * @returns {Function} Returns the new function. + */ + function iterateeRearg(func, indexes) { + return overArg(func, function(func) { + var n = indexes.length; + return baseArity(rearg(baseAry(func, n), indexes), n); + }); + } + + /** + * Creates a function that invokes `func` with its first 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) { + return function() { + var length = arguments.length; + if (!length) { + return func(); + } + var args = Array(length); + while (length--) { + args[length] = arguments[length]; + } + var index = config.rearg ? 0 : (length - 1); + args[index] = transform(args[index]); + return func.apply(undefined, args); + }; + } + + /** + * Creates a function that wraps `func` and applys the conversions + * rules by `name`. + * + * @private + * @param {string} name The name of the function to wrap. + * @param {Function} func The function to wrap. + * @returns {Function} Returns the converted function. + */ + function wrap(name, func, placeholder) { + var result, + realName = mapping.aliasToReal[name] || name, + wrapped = func, + wrapper = wrappers[realName]; + + if (wrapper) { + wrapped = wrapper(func); + } + else if (config.immutable) { + if (mapping.mutate.array[realName]) { + wrapped = wrapImmutable(func, cloneArray); + } + else if (mapping.mutate.object[realName]) { + wrapped = wrapImmutable(func, createCloner(func)); + } + else if (mapping.mutate.set[realName]) { + wrapped = wrapImmutable(func, cloneByPath); + } + } + each(aryMethodKeys, function(aryKey) { + each(mapping.aryMethod[aryKey], function(otherName) { + if (realName == otherName) { + var data = mapping.methodSpread[realName], + afterRearg = data && data.afterRearg; + + result = afterRearg + ? castFixed(realName, castRearg(realName, wrapped, aryKey), aryKey) + : castRearg(realName, castFixed(realName, wrapped, aryKey), aryKey); + + result = castCap(realName, result); + result = castCurry(realName, result, aryKey); + return false; + } + }); + return !result; + }); + + result || (result = wrapped); + if (result == func) { + result = forceCurry ? curry(result, 1) : function() { + return func.apply(this, arguments); + }; + } + result.convert = createConverter(realName, func); + result.placeholder = func.placeholder = placeholder; + + return result; + } + + /*--------------------------------------------------------------------------*/ + + if (!isObj) { + return wrap(name, func, defaultHolder); + } + var _ = func; + + // Convert methods by ary cap. + var pairs = []; + each(aryMethodKeys, function(aryKey) { + each(mapping.aryMethod[aryKey], function(key) { + var func = _[mapping.remap[key] || key]; + if (func) { + pairs.push([key, wrap(key, func, _)]); + } + }); + }); + + // Convert remaining methods. + each(keys(_), function(key) { + var func = _[key]; + if (typeof func == 'function') { + var length = pairs.length; + while (length--) { + if (pairs[length][0] == key) { + return; + } + } + func.convert = createConverter(key, func); + pairs.push([key, func]); + } + }); + + // Assign to `_` leaving `_.prototype` unchanged to allow chaining. + each(pairs, function(pair) { + _[pair[0]] = pair[1]; + }); + + _.convert = convertLib; + _.placeholder = _; + + // Assign aliases. + each(keys(_), function(key) { + each(mapping.realToAlias[key] || [], function(alias) { + _[alias] = _[key]; + }); + }); + + return _; +} + +module.exports = baseConvert; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_convertBrowser.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_convertBrowser.js" new file mode 100644 index 00000000..bde030dc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_convertBrowser.js" @@ -0,0 +1,18 @@ +var baseConvert = require('./_baseConvert'); + +/** + * Converts `lodash` to an immutable auto-curried iteratee-first data-last + * version with conversion `options` applied. + * + * @param {Function} lodash The lodash function to convert. + * @param {Object} [options] The options object. See `baseConvert` for more details. + * @returns {Function} Returns the converted `lodash`. + */ +function browserConvert(lodash, options) { + return baseConvert(lodash, lodash, options); +} + +if (typeof _ == 'function' && typeof _.runInContext == 'function') { + _ = browserConvert(_.runInContext()); +} +module.exports = browserConvert; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_falseOptions.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_falseOptions.js" new file mode 100644 index 00000000..773235e3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_falseOptions.js" @@ -0,0 +1,7 @@ +module.exports = { + 'cap': false, + 'curry': false, + 'fixed': false, + 'immutable': false, + 'rearg': false +}; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_mapping.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_mapping.js" new file mode 100644 index 00000000..a642ec05 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_mapping.js" @@ -0,0 +1,358 @@ +/** Used to map aliases to their real names. */ +exports.aliasToReal = { + + // Lodash aliases. + 'each': 'forEach', + 'eachRight': 'forEachRight', + 'entries': 'toPairs', + 'entriesIn': 'toPairsIn', + 'extend': 'assignIn', + 'extendAll': 'assignInAll', + 'extendAllWith': 'assignInAllWith', + 'extendWith': 'assignInWith', + 'first': 'head', + + // Methods that are curried variants of others. + 'conforms': 'conformsTo', + 'matches': 'isMatch', + 'property': 'get', + + // Ramda aliases. + '__': 'placeholder', + 'F': 'stubFalse', + 'T': 'stubTrue', + 'all': 'every', + 'allPass': 'overEvery', + 'always': 'constant', + 'any': 'some', + 'anyPass': 'overSome', + 'apply': 'spread', + 'assoc': 'set', + 'assocPath': 'set', + 'complement': 'negate', + 'compose': 'flowRight', + 'contains': 'includes', + 'dissoc': 'unset', + 'dissocPath': 'unset', + 'dropLast': 'dropRight', + 'dropLastWhile': 'dropRightWhile', + 'equals': 'isEqual', + 'identical': 'eq', + 'indexBy': 'keyBy', + 'init': 'initial', + 'invertObj': 'invert', + 'juxt': 'over', + 'omitAll': 'omit', + 'nAry': 'ary', + 'path': 'get', + 'pathEq': 'matchesProperty', + 'pathOr': 'getOr', + 'paths': 'at', + 'pickAll': 'pick', + 'pipe': 'flow', + 'pluck': 'map', + 'prop': 'get', + 'propEq': 'matchesProperty', + 'propOr': 'getOr', + 'props': 'at', + 'symmetricDifference': 'xor', + 'symmetricDifferenceBy': 'xorBy', + 'symmetricDifferenceWith': 'xorWith', + 'takeLast': 'takeRight', + 'takeLastWhile': 'takeRightWhile', + 'unapply': 'rest', + 'unnest': 'flatten', + 'useWith': 'overArgs', + 'where': 'conformsTo', + 'whereEq': 'isMatch', + 'zipObj': 'zipObject' +}; + +/** Used to map ary to method names. */ +exports.aryMethod = { + '1': [ + 'assignAll', 'assignInAll', 'attempt', 'castArray', 'ceil', 'create', + 'curry', 'curryRight', 'defaultsAll', 'defaultsDeepAll', 'floor', 'flow', + 'flowRight', 'fromPairs', 'invert', 'iteratee', 'memoize', 'method', 'mergeAll', + 'methodOf', 'mixin', 'nthArg', 'over', 'overEvery', 'overSome','rest', 'reverse', + 'round', 'runInContext', 'spread', 'template', 'trim', 'trimEnd', 'trimStart', + 'uniqueId', 'words', 'zipAll' + ], + '2': [ + 'add', 'after', 'ary', 'assign', 'assignAllWith', 'assignIn', 'assignInAllWith', + 'at', 'before', 'bind', 'bindAll', 'bindKey', 'chunk', 'cloneDeepWith', + 'cloneWith', 'concat', 'conformsTo', 'countBy', 'curryN', 'curryRightN', + 'debounce', 'defaults', 'defaultsDeep', 'defaultTo', 'delay', 'difference', + 'divide', 'drop', 'dropRight', 'dropRightWhile', 'dropWhile', 'endsWith', 'eq', + 'every', 'filter', 'find', 'findIndex', 'findKey', 'findLast', 'findLastIndex', + 'findLastKey', 'flatMap', 'flatMapDeep', 'flattenDepth', 'forEach', + 'forEachRight', 'forIn', 'forInRight', 'forOwn', 'forOwnRight', 'get', + 'groupBy', 'gt', 'gte', 'has', 'hasIn', 'includes', 'indexOf', 'intersection', + 'invertBy', 'invoke', 'invokeMap', 'isEqual', 'isMatch', 'join', 'keyBy', + 'lastIndexOf', 'lt', 'lte', 'map', 'mapKeys', 'mapValues', 'matchesProperty', + 'maxBy', 'meanBy', 'merge', 'mergeAllWith', 'minBy', 'multiply', 'nth', 'omit', + 'omitBy', 'overArgs', 'pad', 'padEnd', 'padStart', 'parseInt', 'partial', + 'partialRight', 'partition', 'pick', 'pickBy', 'propertyOf', 'pull', 'pullAll', + 'pullAt', 'random', 'range', 'rangeRight', 'rearg', 'reject', 'remove', + 'repeat', 'restFrom', 'result', 'sampleSize', 'some', 'sortBy', 'sortedIndex', + 'sortedIndexOf', 'sortedLastIndex', 'sortedLastIndexOf', 'sortedUniqBy', + 'split', 'spreadFrom', 'startsWith', 'subtract', 'sumBy', 'take', 'takeRight', + 'takeRightWhile', 'takeWhile', 'tap', 'throttle', 'thru', 'times', 'trimChars', + 'trimCharsEnd', 'trimCharsStart', 'truncate', 'union', 'uniqBy', 'uniqWith', + 'unset', 'unzipWith', 'without', 'wrap', 'xor', 'zip', 'zipObject', + 'zipObjectDeep' + ], + '3': [ + 'assignInWith', 'assignWith', 'clamp', 'differenceBy', 'differenceWith', + 'findFrom', 'findIndexFrom', 'findLastFrom', 'findLastIndexFrom', 'getOr', + 'includesFrom', 'indexOfFrom', 'inRange', 'intersectionBy', 'intersectionWith', + 'invokeArgs', 'invokeArgsMap', 'isEqualWith', 'isMatchWith', 'flatMapDepth', + 'lastIndexOfFrom', 'mergeWith', 'orderBy', 'padChars', 'padCharsEnd', + 'padCharsStart', 'pullAllBy', 'pullAllWith', 'rangeStep', 'rangeStepRight', + 'reduce', 'reduceRight', 'replace', 'set', 'slice', 'sortedIndexBy', + 'sortedLastIndexBy', 'transform', 'unionBy', 'unionWith', 'update', 'xorBy', + 'xorWith', 'zipWith' + ], + '4': [ + 'fill', 'setWith', 'updateWith' + ] +}; + +/** Used to map ary to rearg configs. */ +exports.aryRearg = { + '2': [1, 0], + '3': [2, 0, 1], + '4': [3, 2, 0, 1] +}; + +/** Used to map method names to their iteratee ary. */ +exports.iterateeAry = { + 'dropRightWhile': 1, + 'dropWhile': 1, + 'every': 1, + 'filter': 1, + 'find': 1, + 'findFrom': 1, + 'findIndex': 1, + 'findIndexFrom': 1, + 'findKey': 1, + 'findLast': 1, + 'findLastFrom': 1, + 'findLastIndex': 1, + 'findLastIndexFrom': 1, + 'findLastKey': 1, + 'flatMap': 1, + 'flatMapDeep': 1, + 'flatMapDepth': 1, + 'forEach': 1, + 'forEachRight': 1, + 'forIn': 1, + 'forInRight': 1, + 'forOwn': 1, + 'forOwnRight': 1, + 'map': 1, + 'mapKeys': 1, + 'mapValues': 1, + 'partition': 1, + 'reduce': 2, + 'reduceRight': 2, + 'reject': 1, + 'remove': 1, + 'some': 1, + 'takeRightWhile': 1, + 'takeWhile': 1, + 'times': 1, + 'transform': 2 +}; + +/** Used to map method names to iteratee rearg configs. */ +exports.iterateeRearg = { + 'mapKeys': [1], + 'reduceRight': [1, 0] +}; + +/** Used to map method names to rearg configs. */ +exports.methodRearg = { + 'assignInAllWith': [1, 0], + 'assignInWith': [1, 2, 0], + 'assignAllWith': [1, 0], + 'assignWith': [1, 2, 0], + 'differenceBy': [1, 2, 0], + 'differenceWith': [1, 2, 0], + 'getOr': [2, 1, 0], + 'intersectionBy': [1, 2, 0], + 'intersectionWith': [1, 2, 0], + 'isEqualWith': [1, 2, 0], + 'isMatchWith': [2, 1, 0], + 'mergeAllWith': [1, 0], + 'mergeWith': [1, 2, 0], + 'padChars': [2, 1, 0], + 'padCharsEnd': [2, 1, 0], + 'padCharsStart': [2, 1, 0], + 'pullAllBy': [2, 1, 0], + 'pullAllWith': [2, 1, 0], + 'rangeStep': [1, 2, 0], + 'rangeStepRight': [1, 2, 0], + 'setWith': [3, 1, 2, 0], + 'sortedIndexBy': [2, 1, 0], + 'sortedLastIndexBy': [2, 1, 0], + 'unionBy': [1, 2, 0], + 'unionWith': [1, 2, 0], + 'updateWith': [3, 1, 2, 0], + 'xorBy': [1, 2, 0], + 'xorWith': [1, 2, 0], + 'zipWith': [1, 2, 0] +}; + +/** Used to map method names to spread configs. */ +exports.methodSpread = { + 'assignAll': { 'start': 0 }, + 'assignAllWith': { 'start': 0 }, + 'assignInAll': { 'start': 0 }, + 'assignInAllWith': { 'start': 0 }, + 'defaultsAll': { 'start': 0 }, + 'defaultsDeepAll': { 'start': 0 }, + 'invokeArgs': { 'start': 2 }, + 'invokeArgsMap': { 'start': 2 }, + 'mergeAll': { 'start': 0 }, + 'mergeAllWith': { 'start': 0 }, + 'partial': { 'start': 1 }, + 'partialRight': { 'start': 1 }, + 'without': { 'start': 1 }, + 'zipAll': { 'start': 0 } +}; + +/** Used to identify methods which mutate arrays or objects. */ +exports.mutate = { + 'array': { + 'fill': true, + 'pull': true, + 'pullAll': true, + 'pullAllBy': true, + 'pullAllWith': true, + 'pullAt': true, + 'remove': true, + 'reverse': true + }, + 'object': { + 'assign': true, + 'assignAll': true, + 'assignAllWith': true, + 'assignIn': true, + 'assignInAll': true, + 'assignInAllWith': true, + 'assignInWith': true, + 'assignWith': true, + 'defaults': true, + 'defaultsAll': true, + 'defaultsDeep': true, + 'defaultsDeepAll': true, + 'merge': true, + 'mergeAll': true, + 'mergeAllWith': true, + 'mergeWith': true, + }, + 'set': { + 'set': true, + 'setWith': true, + 'unset': true, + 'update': true, + 'updateWith': true + } +}; + +/** Used to map real names to their aliases. */ +exports.realToAlias = (function() { + var hasOwnProperty = Object.prototype.hasOwnProperty, + object = exports.aliasToReal, + result = {}; + + for (var key in object) { + var value = object[key]; + if (hasOwnProperty.call(result, value)) { + result[value].push(key); + } else { + result[value] = [key]; + } + } + return result; +}()); + +/** Used to map method names to other names. */ +exports.remap = { + 'assignAll': 'assign', + 'assignAllWith': 'assignWith', + 'assignInAll': 'assignIn', + 'assignInAllWith': 'assignInWith', + 'curryN': 'curry', + 'curryRightN': 'curryRight', + 'defaultsAll': 'defaults', + 'defaultsDeepAll': 'defaultsDeep', + 'findFrom': 'find', + 'findIndexFrom': 'findIndex', + 'findLastFrom': 'findLast', + 'findLastIndexFrom': 'findLastIndex', + 'getOr': 'get', + 'includesFrom': 'includes', + 'indexOfFrom': 'indexOf', + 'invokeArgs': 'invoke', + 'invokeArgsMap': 'invokeMap', + 'lastIndexOfFrom': 'lastIndexOf', + 'mergeAll': 'merge', + 'mergeAllWith': 'mergeWith', + 'padChars': 'pad', + 'padCharsEnd': 'padEnd', + 'padCharsStart': 'padStart', + 'propertyOf': 'get', + 'rangeStep': 'range', + 'rangeStepRight': 'rangeRight', + 'restFrom': 'rest', + 'spreadFrom': 'spread', + 'trimChars': 'trim', + 'trimCharsEnd': 'trimEnd', + 'trimCharsStart': 'trimStart', + 'zipAll': 'zip' +}; + +/** Used to track methods that skip fixing their arity. */ +exports.skipFixed = { + 'castArray': true, + 'flow': true, + 'flowRight': true, + 'iteratee': true, + 'mixin': true, + 'rearg': true, + 'runInContext': true +}; + +/** Used to track methods that skip rearranging arguments. */ +exports.skipRearg = { + 'add': true, + 'assign': true, + 'assignIn': true, + 'bind': true, + 'bindKey': true, + 'concat': true, + 'difference': true, + 'divide': true, + 'eq': true, + 'gt': true, + 'gte': true, + 'isEqual': true, + 'lt': true, + 'lte': true, + 'matchesProperty': true, + 'merge': true, + 'multiply': true, + 'overArgs': true, + 'partial': true, + 'partialRight': true, + 'propertyOf': true, + 'random': true, + 'range': true, + 'rangeRight': true, + 'subtract': true, + 'zip': true, + 'zipObject': true, + 'zipObjectDeep': true +}; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_util.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_util.js" new file mode 100644 index 00000000..1dbf36f5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/_util.js" @@ -0,0 +1,16 @@ +module.exports = { + 'ary': require('../ary'), + 'assign': require('../_baseAssign'), + 'clone': require('../clone'), + 'curry': require('../curry'), + 'forEach': require('../_arrayEach'), + 'isArray': require('../isArray'), + 'isError': require('../isError'), + 'isFunction': require('../isFunction'), + 'isWeakMap': require('../isWeakMap'), + 'iteratee': require('../iteratee'), + 'keys': require('../_baseKeys'), + 'rearg': require('../rearg'), + 'toInteger': require('../toInteger'), + 'toPath': require('../toPath') +}; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/add.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/add.js" new file mode 100644 index 00000000..816eeece --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/add.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('add', require('../add')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/after.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/after.js" new file mode 100644 index 00000000..21a0167a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/after.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('after', require('../after')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/all.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/all.js" new file mode 100644 index 00000000..d0839f77 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/all.js" @@ -0,0 +1 @@ +module.exports = require('./every'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/allPass.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/allPass.js" new file mode 100644 index 00000000..79b73ef8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/allPass.js" @@ -0,0 +1 @@ +module.exports = require('./overEvery'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/always.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/always.js" new file mode 100644 index 00000000..98877030 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/always.js" @@ -0,0 +1 @@ +module.exports = require('./constant'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/any.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/any.js" new file mode 100644 index 00000000..900ac25e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/any.js" @@ -0,0 +1 @@ +module.exports = require('./some'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/anyPass.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/anyPass.js" new file mode 100644 index 00000000..2774ab37 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/anyPass.js" @@ -0,0 +1 @@ +module.exports = require('./overSome'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/apply.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/apply.js" new file mode 100644 index 00000000..2b757129 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/apply.js" @@ -0,0 +1 @@ +module.exports = require('./spread'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/array.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/array.js" new file mode 100644 index 00000000..fe939c2c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/array.js" @@ -0,0 +1,2 @@ +var convert = require('./convert'); +module.exports = convert(require('../array')); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/ary.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/ary.js" new file mode 100644 index 00000000..8edf1877 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/ary.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('ary', require('../ary')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assign.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assign.js" new file mode 100644 index 00000000..23f47af1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assign.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('assign', require('../assign')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignAll.js" new file mode 100644 index 00000000..b1d36c7e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignAll.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('assignAll', require('../assign')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignAllWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignAllWith.js" new file mode 100644 index 00000000..21e836e6 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignAllWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('assignAllWith', require('../assignWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignIn.js" new file mode 100644 index 00000000..6e7c65fa --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignIn.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('assignIn', require('../assignIn')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignInAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignInAll.js" new file mode 100644 index 00000000..7ba75dba --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignInAll.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('assignInAll', require('../assignIn')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignInAllWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignInAllWith.js" new file mode 100644 index 00000000..e766903d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignInAllWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('assignInAllWith', require('../assignInWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignInWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignInWith.js" new file mode 100644 index 00000000..acb59236 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignInWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('assignInWith', require('../assignInWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignWith.js" new file mode 100644 index 00000000..eb925212 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assignWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('assignWith', require('../assignWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assoc.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assoc.js" new file mode 100644 index 00000000..7648820c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assoc.js" @@ -0,0 +1 @@ +module.exports = require('./set'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assocPath.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assocPath.js" new file mode 100644 index 00000000..7648820c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/assocPath.js" @@ -0,0 +1 @@ +module.exports = require('./set'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/at.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/at.js" new file mode 100644 index 00000000..cc39d257 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/at.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('at', require('../at')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/attempt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/attempt.js" new file mode 100644 index 00000000..26ca42ea --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/attempt.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('attempt', require('../attempt')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/before.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/before.js" new file mode 100644 index 00000000..7a2de65d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/before.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('before', require('../before')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/bind.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/bind.js" new file mode 100644 index 00000000..5cbe4f30 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/bind.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('bind', require('../bind')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/bindAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/bindAll.js" new file mode 100644 index 00000000..6b4a4a0f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/bindAll.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('bindAll', require('../bindAll')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/bindKey.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/bindKey.js" new file mode 100644 index 00000000..6a46c6b1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/bindKey.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('bindKey', require('../bindKey')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/camelCase.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/camelCase.js" new file mode 100644 index 00000000..87b77b49 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/camelCase.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('camelCase', require('../camelCase'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/capitalize.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/capitalize.js" new file mode 100644 index 00000000..cac74e14 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/capitalize.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('capitalize', require('../capitalize'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/castArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/castArray.js" new file mode 100644 index 00000000..8681c099 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/castArray.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('castArray', require('../castArray')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/ceil.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/ceil.js" new file mode 100644 index 00000000..f416b729 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/ceil.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('ceil', require('../ceil')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/chain.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/chain.js" new file mode 100644 index 00000000..604fe398 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/chain.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('chain', require('../chain'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/chunk.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/chunk.js" new file mode 100644 index 00000000..871ab085 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/chunk.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('chunk', require('../chunk')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/clamp.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/clamp.js" new file mode 100644 index 00000000..3b06c01c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/clamp.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('clamp', require('../clamp')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/clone.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/clone.js" new file mode 100644 index 00000000..cadb59c9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/clone.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('clone', require('../clone'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cloneDeep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cloneDeep.js" new file mode 100644 index 00000000..a6107aac --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cloneDeep.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('cloneDeep', require('../cloneDeep'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cloneDeepWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cloneDeepWith.js" new file mode 100644 index 00000000..6f01e44a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cloneDeepWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('cloneDeepWith', require('../cloneDeepWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cloneWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cloneWith.js" new file mode 100644 index 00000000..aa885781 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cloneWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('cloneWith', require('../cloneWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/collection.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/collection.js" new file mode 100644 index 00000000..fc8b328a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/collection.js" @@ -0,0 +1,2 @@ +var convert = require('./convert'); +module.exports = convert(require('../collection')); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/commit.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/commit.js" new file mode 100644 index 00000000..130a894f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/commit.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('commit', require('../commit'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/compact.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/compact.js" new file mode 100644 index 00000000..ce8f7a1a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/compact.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('compact', require('../compact'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/complement.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/complement.js" new file mode 100644 index 00000000..93eb462b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/complement.js" @@ -0,0 +1 @@ +module.exports = require('./negate'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/compose.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/compose.js" new file mode 100644 index 00000000..1954e942 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/compose.js" @@ -0,0 +1 @@ +module.exports = require('./flowRight'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/concat.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/concat.js" new file mode 100644 index 00000000..e59346ad --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/concat.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('concat', require('../concat')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cond.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cond.js" new file mode 100644 index 00000000..6a0120ef --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/cond.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('cond', require('../cond'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/conforms.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/conforms.js" new file mode 100644 index 00000000..3247f64a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/conforms.js" @@ -0,0 +1 @@ +module.exports = require('./conformsTo'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/conformsTo.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/conformsTo.js" new file mode 100644 index 00000000..aa7f41ec --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/conformsTo.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('conformsTo', require('../conformsTo')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/constant.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/constant.js" new file mode 100644 index 00000000..9e406fc0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/constant.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('constant', require('../constant'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/contains.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/contains.js" new file mode 100644 index 00000000..594722af --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/contains.js" @@ -0,0 +1 @@ +module.exports = require('./includes'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/convert.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/convert.js" new file mode 100644 index 00000000..4795dc42 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/convert.js" @@ -0,0 +1,18 @@ +var baseConvert = require('./_baseConvert'), + util = require('./_util'); + +/** + * Converts `func` of `name` to an immutable auto-curried iteratee-first data-last + * version with conversion `options` applied. If `name` is an object its methods + * will be converted. + * + * @param {string} name The name of the function to wrap. + * @param {Function} [func] The function to wrap. + * @param {Object} [options] The options object. See `baseConvert` for more details. + * @returns {Function|Object} Returns the converted function or object. + */ +function convert(name, func, options) { + return baseConvert(util, name, func, options); +} + +module.exports = convert; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/countBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/countBy.js" new file mode 100644 index 00000000..dfa46432 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/countBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('countBy', require('../countBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/create.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/create.js" new file mode 100644 index 00000000..752025fb --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/create.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('create', require('../create')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curry.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curry.js" new file mode 100644 index 00000000..b0b4168c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curry.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('curry', require('../curry')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curryN.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curryN.js" new file mode 100644 index 00000000..2ae7d00a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curryN.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('curryN', require('../curry')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curryRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curryRight.js" new file mode 100644 index 00000000..cb619eb5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curryRight.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('curryRight', require('../curryRight')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curryRightN.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curryRightN.js" new file mode 100644 index 00000000..2495afc8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/curryRightN.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('curryRightN', require('../curryRight')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/date.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/date.js" new file mode 100644 index 00000000..82cb952b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/date.js" @@ -0,0 +1,2 @@ +var convert = require('./convert'); +module.exports = convert(require('../date')); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/debounce.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/debounce.js" new file mode 100644 index 00000000..26122293 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/debounce.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('debounce', require('../debounce')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/deburr.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/deburr.js" new file mode 100644 index 00000000..96463ab8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/deburr.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('deburr', require('../deburr'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultTo.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultTo.js" new file mode 100644 index 00000000..d6b52a44 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultTo.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('defaultTo', require('../defaultTo')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaults.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaults.js" new file mode 100644 index 00000000..e1a8e6e7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaults.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('defaults', require('../defaults')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultsAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultsAll.js" new file mode 100644 index 00000000..238fcc3c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultsAll.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('defaultsAll', require('../defaults')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultsDeep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultsDeep.js" new file mode 100644 index 00000000..1f172ff9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultsDeep.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('defaultsDeep', require('../defaultsDeep')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultsDeepAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultsDeepAll.js" new file mode 100644 index 00000000..6835f2f0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defaultsDeepAll.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('defaultsDeepAll', require('../defaultsDeep')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defer.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defer.js" new file mode 100644 index 00000000..ec7990fe --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/defer.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('defer', require('../defer'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/delay.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/delay.js" new file mode 100644 index 00000000..556dbd56 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/delay.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('delay', require('../delay')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/difference.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/difference.js" new file mode 100644 index 00000000..2d037654 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/difference.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('difference', require('../difference')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/differenceBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/differenceBy.js" new file mode 100644 index 00000000..2f914910 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/differenceBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('differenceBy', require('../differenceBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/differenceWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/differenceWith.js" new file mode 100644 index 00000000..bcf5ad2e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/differenceWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('differenceWith', require('../differenceWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dissoc.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dissoc.js" new file mode 100644 index 00000000..7ec7be19 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dissoc.js" @@ -0,0 +1 @@ +module.exports = require('./unset'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dissocPath.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dissocPath.js" new file mode 100644 index 00000000..7ec7be19 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dissocPath.js" @@ -0,0 +1 @@ +module.exports = require('./unset'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/divide.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/divide.js" new file mode 100644 index 00000000..82048c5e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/divide.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('divide', require('../divide')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/drop.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/drop.js" new file mode 100644 index 00000000..2fa9b4fa --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/drop.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('drop', require('../drop')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropLast.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropLast.js" new file mode 100644 index 00000000..174e5255 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropLast.js" @@ -0,0 +1 @@ +module.exports = require('./dropRight'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropLastWhile.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropLastWhile.js" new file mode 100644 index 00000000..be2a9d24 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropLastWhile.js" @@ -0,0 +1 @@ +module.exports = require('./dropRightWhile'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropRight.js" new file mode 100644 index 00000000..e98881fc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropRight.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('dropRight', require('../dropRight')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropRightWhile.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropRightWhile.js" new file mode 100644 index 00000000..cacaa701 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropRightWhile.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('dropRightWhile', require('../dropRightWhile')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropWhile.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropWhile.js" new file mode 100644 index 00000000..285f864d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/dropWhile.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('dropWhile', require('../dropWhile')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/each.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/each.js" new file mode 100644 index 00000000..8800f420 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/each.js" @@ -0,0 +1 @@ +module.exports = require('./forEach'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/eachRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/eachRight.js" new file mode 100644 index 00000000..3252b2ab --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/eachRight.js" @@ -0,0 +1 @@ +module.exports = require('./forEachRight'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/endsWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/endsWith.js" new file mode 100644 index 00000000..17dc2a49 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/endsWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('endsWith', require('../endsWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/entries.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/entries.js" new file mode 100644 index 00000000..7a88df20 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/entries.js" @@ -0,0 +1 @@ +module.exports = require('./toPairs'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/entriesIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/entriesIn.js" new file mode 100644 index 00000000..f6c6331c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/entriesIn.js" @@ -0,0 +1 @@ +module.exports = require('./toPairsIn'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/eq.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/eq.js" new file mode 100644 index 00000000..9a3d21bf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/eq.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('eq', require('../eq')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/equals.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/equals.js" new file mode 100644 index 00000000..e6a5ce0c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/equals.js" @@ -0,0 +1 @@ +module.exports = require('./isEqual'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/escape.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/escape.js" new file mode 100644 index 00000000..52c1fbba --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/escape.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('escape', require('../escape'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/escapeRegExp.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/escapeRegExp.js" new file mode 100644 index 00000000..369b2eff --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/escapeRegExp.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('escapeRegExp', require('../escapeRegExp'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/every.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/every.js" new file mode 100644 index 00000000..95c2776c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/every.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('every', require('../every')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extend.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extend.js" new file mode 100644 index 00000000..e00166c2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extend.js" @@ -0,0 +1 @@ +module.exports = require('./assignIn'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extendAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extendAll.js" new file mode 100644 index 00000000..cc55b64f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extendAll.js" @@ -0,0 +1 @@ +module.exports = require('./assignInAll'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extendAllWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extendAllWith.js" new file mode 100644 index 00000000..6679d208 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extendAllWith.js" @@ -0,0 +1 @@ +module.exports = require('./assignInAllWith'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extendWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extendWith.js" new file mode 100644 index 00000000..dbdcb3b4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/extendWith.js" @@ -0,0 +1 @@ +module.exports = require('./assignInWith'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/fill.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/fill.js" new file mode 100644 index 00000000..b2d47e84 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/fill.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('fill', require('../fill')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/filter.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/filter.js" new file mode 100644 index 00000000..796d501c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/filter.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('filter', require('../filter')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/find.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/find.js" new file mode 100644 index 00000000..f805d336 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/find.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('find', require('../find')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findFrom.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findFrom.js" new file mode 100644 index 00000000..da8275e8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findFrom.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('findFrom', require('../find')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findIndex.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findIndex.js" new file mode 100644 index 00000000..8c15fd11 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findIndex.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('findIndex', require('../findIndex')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findIndexFrom.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findIndexFrom.js" new file mode 100644 index 00000000..32e98cb9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findIndexFrom.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('findIndexFrom', require('../findIndex')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findKey.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findKey.js" new file mode 100644 index 00000000..475bcfa8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findKey.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('findKey', require('../findKey')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLast.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLast.js" new file mode 100644 index 00000000..093fe94e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLast.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('findLast', require('../findLast')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastFrom.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastFrom.js" new file mode 100644 index 00000000..76c38fba --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastFrom.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('findLastFrom', require('../findLast')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastIndex.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastIndex.js" new file mode 100644 index 00000000..36986df0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastIndex.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('findLastIndex', require('../findLastIndex')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastIndexFrom.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastIndexFrom.js" new file mode 100644 index 00000000..34c8176c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastIndexFrom.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('findLastIndexFrom', require('../findLastIndex')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastKey.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastKey.js" new file mode 100644 index 00000000..5f81b604 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/findLastKey.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('findLastKey', require('../findLastKey')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/first.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/first.js" new file mode 100644 index 00000000..53f4ad13 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/first.js" @@ -0,0 +1 @@ +module.exports = require('./head'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatMap.js" new file mode 100644 index 00000000..d01dc4d0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatMap.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('flatMap', require('../flatMap')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatMapDeep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatMapDeep.js" new file mode 100644 index 00000000..569c42eb --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatMapDeep.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('flatMapDeep', require('../flatMapDeep')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatMapDepth.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatMapDepth.js" new file mode 100644 index 00000000..6eb68fde --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatMapDepth.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('flatMapDepth', require('../flatMapDepth')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatten.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatten.js" new file mode 100644 index 00000000..30425d89 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flatten.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('flatten', require('../flatten'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flattenDeep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flattenDeep.js" new file mode 100644 index 00000000..aed5db27 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flattenDeep.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('flattenDeep', require('../flattenDeep'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flattenDepth.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flattenDepth.js" new file mode 100644 index 00000000..ad65e378 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flattenDepth.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('flattenDepth', require('../flattenDepth')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flip.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flip.js" new file mode 100644 index 00000000..0547e7b4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flip.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('flip', require('../flip'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/floor.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/floor.js" new file mode 100644 index 00000000..a6cf3358 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/floor.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('floor', require('../floor')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flow.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flow.js" new file mode 100644 index 00000000..cd83677a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flow.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('flow', require('../flow')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flowRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flowRight.js" new file mode 100644 index 00000000..972a5b9b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/flowRight.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('flowRight', require('../flowRight')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forEach.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forEach.js" new file mode 100644 index 00000000..2f494521 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forEach.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('forEach', require('../forEach')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forEachRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forEachRight.js" new file mode 100644 index 00000000..3ff97336 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forEachRight.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('forEachRight', require('../forEachRight')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forIn.js" new file mode 100644 index 00000000..9341749b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forIn.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('forIn', require('../forIn')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forInRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forInRight.js" new file mode 100644 index 00000000..cecf8bbf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forInRight.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('forInRight', require('../forInRight')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forOwn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forOwn.js" new file mode 100644 index 00000000..246449e9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forOwn.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('forOwn', require('../forOwn')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forOwnRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forOwnRight.js" new file mode 100644 index 00000000..c5e826e0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/forOwnRight.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('forOwnRight', require('../forOwnRight')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/fromPairs.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/fromPairs.js" new file mode 100644 index 00000000..f8cc5968 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/fromPairs.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('fromPairs', require('../fromPairs')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/function.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/function.js" new file mode 100644 index 00000000..dfe69b1f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/function.js" @@ -0,0 +1,2 @@ +var convert = require('./convert'); +module.exports = convert(require('../function')); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/functions.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/functions.js" new file mode 100644 index 00000000..09d1bb1b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/functions.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('functions', require('../functions'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/functionsIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/functionsIn.js" new file mode 100644 index 00000000..2cfeb83e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/functionsIn.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('functionsIn', require('../functionsIn'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/get.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/get.js" new file mode 100644 index 00000000..6d3a3286 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/get.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('get', require('../get')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/getOr.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/getOr.js" new file mode 100644 index 00000000..7dbf771f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/getOr.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('getOr', require('../get')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/groupBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/groupBy.js" new file mode 100644 index 00000000..fc0bc78a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/groupBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('groupBy', require('../groupBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/gt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/gt.js" new file mode 100644 index 00000000..9e57c808 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/gt.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('gt', require('../gt')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/gte.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/gte.js" new file mode 100644 index 00000000..45847863 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/gte.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('gte', require('../gte')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/has.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/has.js" new file mode 100644 index 00000000..b9012983 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/has.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('has', require('../has')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/hasIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/hasIn.js" new file mode 100644 index 00000000..b3c3d1a3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/hasIn.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('hasIn', require('../hasIn')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/head.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/head.js" new file mode 100644 index 00000000..2694f0a2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/head.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('head', require('../head'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/identical.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/identical.js" new file mode 100644 index 00000000..85563f4a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/identical.js" @@ -0,0 +1 @@ +module.exports = require('./eq'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/identity.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/identity.js" new file mode 100644 index 00000000..096415a5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/identity.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('identity', require('../identity'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/inRange.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/inRange.js" new file mode 100644 index 00000000..202d940b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/inRange.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('inRange', require('../inRange')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/includes.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/includes.js" new file mode 100644 index 00000000..11467805 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/includes.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('includes', require('../includes')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/includesFrom.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/includesFrom.js" new file mode 100644 index 00000000..683afdb4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/includesFrom.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('includesFrom', require('../includes')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/indexBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/indexBy.js" new file mode 100644 index 00000000..7e64bc0f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/indexBy.js" @@ -0,0 +1 @@ +module.exports = require('./keyBy'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/indexOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/indexOf.js" new file mode 100644 index 00000000..524658eb --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/indexOf.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('indexOf', require('../indexOf')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/indexOfFrom.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/indexOfFrom.js" new file mode 100644 index 00000000..d99c822f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/indexOfFrom.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('indexOfFrom', require('../indexOf')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/init.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/init.js" new file mode 100644 index 00000000..2f88d8b0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/init.js" @@ -0,0 +1 @@ +module.exports = require('./initial'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/initial.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/initial.js" new file mode 100644 index 00000000..b732ba0b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/initial.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('initial', require('../initial'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/intersection.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/intersection.js" new file mode 100644 index 00000000..52936d56 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/intersection.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('intersection', require('../intersection')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/intersectionBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/intersectionBy.js" new file mode 100644 index 00000000..72629f27 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/intersectionBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('intersectionBy', require('../intersectionBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/intersectionWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/intersectionWith.js" new file mode 100644 index 00000000..e064f400 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/intersectionWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('intersectionWith', require('../intersectionWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invert.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invert.js" new file mode 100644 index 00000000..2d5d1f0d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invert.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('invert', require('../invert')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invertBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invertBy.js" new file mode 100644 index 00000000..63ca97ec --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invertBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('invertBy', require('../invertBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invertObj.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invertObj.js" new file mode 100644 index 00000000..f1d842e4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invertObj.js" @@ -0,0 +1 @@ +module.exports = require('./invert'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invoke.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invoke.js" new file mode 100644 index 00000000..fcf17f0d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invoke.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('invoke', require('../invoke')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invokeArgs.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invokeArgs.js" new file mode 100644 index 00000000..d3f2953f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invokeArgs.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('invokeArgs', require('../invoke')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invokeArgsMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invokeArgsMap.js" new file mode 100644 index 00000000..eaa9f84f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invokeArgsMap.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('invokeArgsMap', require('../invokeMap')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invokeMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invokeMap.js" new file mode 100644 index 00000000..6515fd73 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/invokeMap.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('invokeMap', require('../invokeMap')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArguments.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArguments.js" new file mode 100644 index 00000000..1d93c9e5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArguments.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isArguments', require('../isArguments'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArray.js" new file mode 100644 index 00000000..ba7ade8d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArray.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isArray', require('../isArray'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArrayBuffer.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArrayBuffer.js" new file mode 100644 index 00000000..5088513f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArrayBuffer.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isArrayBuffer', require('../isArrayBuffer'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArrayLike.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArrayLike.js" new file mode 100644 index 00000000..8f1856bf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArrayLike.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isArrayLike', require('../isArrayLike'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArrayLikeObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArrayLikeObject.js" new file mode 100644 index 00000000..21084984 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isArrayLikeObject.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isArrayLikeObject', require('../isArrayLikeObject'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isBoolean.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isBoolean.js" new file mode 100644 index 00000000..9339f75b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isBoolean.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isBoolean', require('../isBoolean'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isBuffer.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isBuffer.js" new file mode 100644 index 00000000..e60b1238 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isBuffer.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isBuffer', require('../isBuffer'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isDate.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isDate.js" new file mode 100644 index 00000000..dc41d089 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isDate.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isDate', require('../isDate'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isElement.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isElement.js" new file mode 100644 index 00000000..18ee039a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isElement.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isElement', require('../isElement'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isEmpty.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isEmpty.js" new file mode 100644 index 00000000..0f4ae841 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isEmpty.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isEmpty', require('../isEmpty'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isEqual.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isEqual.js" new file mode 100644 index 00000000..41383865 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isEqual.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isEqual', require('../isEqual')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isEqualWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isEqualWith.js" new file mode 100644 index 00000000..029ff5cd --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isEqualWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isEqualWith', require('../isEqualWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isError.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isError.js" new file mode 100644 index 00000000..3dfd81cc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isError.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isError', require('../isError'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isFinite.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isFinite.js" new file mode 100644 index 00000000..0b647b84 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isFinite.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isFinite', require('../isFinite'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isFunction.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isFunction.js" new file mode 100644 index 00000000..ff8e5c45 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isFunction.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isFunction', require('../isFunction'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isInteger.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isInteger.js" new file mode 100644 index 00000000..67af4ff6 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isInteger.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isInteger', require('../isInteger'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isLength.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isLength.js" new file mode 100644 index 00000000..fc101c5a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isLength.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isLength', require('../isLength'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isMap.js" new file mode 100644 index 00000000..a209aa66 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isMap.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isMap', require('../isMap'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isMatch.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isMatch.js" new file mode 100644 index 00000000..6264ca17 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isMatch.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isMatch', require('../isMatch')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isMatchWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isMatchWith.js" new file mode 100644 index 00000000..d95f3193 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isMatchWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isMatchWith', require('../isMatchWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNaN.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNaN.js" new file mode 100644 index 00000000..66a978f1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNaN.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isNaN', require('../isNaN'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNative.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNative.js" new file mode 100644 index 00000000..3d775ba9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNative.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isNative', require('../isNative'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNil.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNil.js" new file mode 100644 index 00000000..5952c028 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNil.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isNil', require('../isNil'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNull.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNull.js" new file mode 100644 index 00000000..f201a354 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNull.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isNull', require('../isNull'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNumber.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNumber.js" new file mode 100644 index 00000000..a2b5fa04 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isNumber.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isNumber', require('../isNumber'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isObject.js" new file mode 100644 index 00000000..231ace03 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isObject.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isObject', require('../isObject'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isObjectLike.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isObjectLike.js" new file mode 100644 index 00000000..f16082e6 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isObjectLike.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isObjectLike', require('../isObjectLike'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isPlainObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isPlainObject.js" new file mode 100644 index 00000000..b5bea90d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isPlainObject.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isPlainObject', require('../isPlainObject'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isRegExp.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isRegExp.js" new file mode 100644 index 00000000..12a1a3d7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isRegExp.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isRegExp', require('../isRegExp'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isSafeInteger.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isSafeInteger.js" new file mode 100644 index 00000000..7230f552 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isSafeInteger.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isSafeInteger', require('../isSafeInteger'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isSet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isSet.js" new file mode 100644 index 00000000..35c01f6f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isSet.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isSet', require('../isSet'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isString.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isString.js" new file mode 100644 index 00000000..1fd0679e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isString.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isString', require('../isString'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isSymbol.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isSymbol.js" new file mode 100644 index 00000000..38676956 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isSymbol.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isSymbol', require('../isSymbol'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isTypedArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isTypedArray.js" new file mode 100644 index 00000000..85679538 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isTypedArray.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isTypedArray', require('../isTypedArray'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isUndefined.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isUndefined.js" new file mode 100644 index 00000000..ddbca31c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isUndefined.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isUndefined', require('../isUndefined'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isWeakMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isWeakMap.js" new file mode 100644 index 00000000..ef60c613 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isWeakMap.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isWeakMap', require('../isWeakMap'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isWeakSet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isWeakSet.js" new file mode 100644 index 00000000..c99bfaa6 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/isWeakSet.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('isWeakSet', require('../isWeakSet'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/iteratee.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/iteratee.js" new file mode 100644 index 00000000..9f0f7173 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/iteratee.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('iteratee', require('../iteratee')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/join.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/join.js" new file mode 100644 index 00000000..a220e003 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/join.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('join', require('../join')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/juxt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/juxt.js" new file mode 100644 index 00000000..f71e04e0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/juxt.js" @@ -0,0 +1 @@ +module.exports = require('./over'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/kebabCase.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/kebabCase.js" new file mode 100644 index 00000000..60737f17 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/kebabCase.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('kebabCase', require('../kebabCase'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/keyBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/keyBy.js" new file mode 100644 index 00000000..9a6a85d4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/keyBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('keyBy', require('../keyBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/keys.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/keys.js" new file mode 100644 index 00000000..e12bb07f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/keys.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('keys', require('../keys'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/keysIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/keysIn.js" new file mode 100644 index 00000000..f3eb36a8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/keysIn.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('keysIn', require('../keysIn'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lang.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lang.js" new file mode 100644 index 00000000..08cc9c14 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lang.js" @@ -0,0 +1,2 @@ +var convert = require('./convert'); +module.exports = convert(require('../lang')); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/last.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/last.js" new file mode 100644 index 00000000..0f716993 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/last.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('last', require('../last'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lastIndexOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lastIndexOf.js" new file mode 100644 index 00000000..ddf39c30 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lastIndexOf.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('lastIndexOf', require('../lastIndexOf')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lastIndexOfFrom.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lastIndexOfFrom.js" new file mode 100644 index 00000000..1ff6a0b5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lastIndexOfFrom.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('lastIndexOfFrom', require('../lastIndexOf')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lowerCase.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lowerCase.js" new file mode 100644 index 00000000..ea64bc15 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lowerCase.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('lowerCase', require('../lowerCase'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lowerFirst.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lowerFirst.js" new file mode 100644 index 00000000..539720a3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lowerFirst.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('lowerFirst', require('../lowerFirst'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lt.js" new file mode 100644 index 00000000..a31d21ec --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lt.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('lt', require('../lt')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lte.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lte.js" new file mode 100644 index 00000000..d795d10e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/lte.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('lte', require('../lte')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/map.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/map.js" new file mode 100644 index 00000000..cf987943 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/map.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('map', require('../map')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mapKeys.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mapKeys.js" new file mode 100644 index 00000000..16845870 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mapKeys.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('mapKeys', require('../mapKeys')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mapValues.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mapValues.js" new file mode 100644 index 00000000..40049727 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mapValues.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('mapValues', require('../mapValues')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/matches.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/matches.js" new file mode 100644 index 00000000..29d1e1e4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/matches.js" @@ -0,0 +1 @@ +module.exports = require('./isMatch'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/matchesProperty.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/matchesProperty.js" new file mode 100644 index 00000000..4575bd24 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/matchesProperty.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('matchesProperty', require('../matchesProperty')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/math.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/math.js" new file mode 100644 index 00000000..e8f50f79 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/math.js" @@ -0,0 +1,2 @@ +var convert = require('./convert'); +module.exports = convert(require('../math')); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/max.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/max.js" new file mode 100644 index 00000000..a66acac2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/max.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('max', require('../max'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/maxBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/maxBy.js" new file mode 100644 index 00000000..d083fd64 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/maxBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('maxBy', require('../maxBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mean.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mean.js" new file mode 100644 index 00000000..31172460 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mean.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('mean', require('../mean'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/meanBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/meanBy.js" new file mode 100644 index 00000000..556f25ed --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/meanBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('meanBy', require('../meanBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/memoize.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/memoize.js" new file mode 100644 index 00000000..638eec63 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/memoize.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('memoize', require('../memoize')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/merge.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/merge.js" new file mode 100644 index 00000000..ac66adde --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/merge.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('merge', require('../merge')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mergeAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mergeAll.js" new file mode 100644 index 00000000..a3674d67 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mergeAll.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('mergeAll', require('../merge')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mergeAllWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mergeAllWith.js" new file mode 100644 index 00000000..4bd4206d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mergeAllWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('mergeAllWith', require('../mergeWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mergeWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mergeWith.js" new file mode 100644 index 00000000..00d44d5e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mergeWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('mergeWith', require('../mergeWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/method.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/method.js" new file mode 100644 index 00000000..f4060c68 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/method.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('method', require('../method')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/methodOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/methodOf.js" new file mode 100644 index 00000000..61399056 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/methodOf.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('methodOf', require('../methodOf')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/min.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/min.js" new file mode 100644 index 00000000..d12c6b40 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/min.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('min', require('../min'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/minBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/minBy.js" new file mode 100644 index 00000000..fdb9e24d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/minBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('minBy', require('../minBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mixin.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mixin.js" new file mode 100644 index 00000000..332e6fbf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/mixin.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('mixin', require('../mixin')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/multiply.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/multiply.js" new file mode 100644 index 00000000..4dcf0b0d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/multiply.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('multiply', require('../multiply')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/nAry.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/nAry.js" new file mode 100644 index 00000000..f262a76c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/nAry.js" @@ -0,0 +1 @@ +module.exports = require('./ary'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/negate.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/negate.js" new file mode 100644 index 00000000..8b6dc7c5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/negate.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('negate', require('../negate'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/next.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/next.js" new file mode 100644 index 00000000..140155e2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/next.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('next', require('../next'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/noop.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/noop.js" new file mode 100644 index 00000000..b9e32cc8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/noop.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('noop', require('../noop'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/now.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/now.js" new file mode 100644 index 00000000..6de2068a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/now.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('now', require('../now'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/nth.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/nth.js" new file mode 100644 index 00000000..da4fda74 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/nth.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('nth', require('../nth')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/nthArg.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/nthArg.js" new file mode 100644 index 00000000..fce31659 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/nthArg.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('nthArg', require('../nthArg')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/number.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/number.js" new file mode 100644 index 00000000..5c10b884 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/number.js" @@ -0,0 +1,2 @@ +var convert = require('./convert'); +module.exports = convert(require('../number')); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/object.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/object.js" new file mode 100644 index 00000000..ae39a134 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/object.js" @@ -0,0 +1,2 @@ +var convert = require('./convert'); +module.exports = convert(require('../object')); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/omit.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/omit.js" new file mode 100644 index 00000000..fd685291 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/omit.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('omit', require('../omit')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/omitAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/omitAll.js" new file mode 100644 index 00000000..144cf4b9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/omitAll.js" @@ -0,0 +1 @@ +module.exports = require('./omit'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/omitBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/omitBy.js" new file mode 100644 index 00000000..90df7380 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/omitBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('omitBy', require('../omitBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/once.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/once.js" new file mode 100644 index 00000000..f8f0a5c7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/once.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('once', require('../once'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/orderBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/orderBy.js" new file mode 100644 index 00000000..848e2107 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/orderBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('orderBy', require('../orderBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/over.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/over.js" new file mode 100644 index 00000000..01eba7b9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/over.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('over', require('../over')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/overArgs.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/overArgs.js" new file mode 100644 index 00000000..738556f0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/overArgs.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('overArgs', require('../overArgs')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/overEvery.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/overEvery.js" new file mode 100644 index 00000000..9f5a032d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/overEvery.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('overEvery', require('../overEvery')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/overSome.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/overSome.js" new file mode 100644 index 00000000..15939d58 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/overSome.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('overSome', require('../overSome')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pad.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pad.js" new file mode 100644 index 00000000..f1dea4a9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pad.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('pad', require('../pad')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padChars.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padChars.js" new file mode 100644 index 00000000..d6e0804c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padChars.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('padChars', require('../pad')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padCharsEnd.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padCharsEnd.js" new file mode 100644 index 00000000..d4ab79ad --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padCharsEnd.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('padCharsEnd', require('../padEnd')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padCharsStart.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padCharsStart.js" new file mode 100644 index 00000000..a08a3000 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padCharsStart.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('padCharsStart', require('../padStart')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padEnd.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padEnd.js" new file mode 100644 index 00000000..a8522ec3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padEnd.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('padEnd', require('../padEnd')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padStart.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padStart.js" new file mode 100644 index 00000000..f4ca79d4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/padStart.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('padStart', require('../padStart')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/parseInt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/parseInt.js" new file mode 100644 index 00000000..27314ccb --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/parseInt.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('parseInt', require('../parseInt')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/partial.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/partial.js" new file mode 100644 index 00000000..5d460159 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/partial.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('partial', require('../partial')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/partialRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/partialRight.js" new file mode 100644 index 00000000..7f05fed0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/partialRight.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('partialRight', require('../partialRight')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/partition.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/partition.js" new file mode 100644 index 00000000..2ebcacc1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/partition.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('partition', require('../partition')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/path.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/path.js" new file mode 100644 index 00000000..b29cfb21 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/path.js" @@ -0,0 +1 @@ +module.exports = require('./get'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pathEq.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pathEq.js" new file mode 100644 index 00000000..36c027a3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pathEq.js" @@ -0,0 +1 @@ +module.exports = require('./matchesProperty'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pathOr.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pathOr.js" new file mode 100644 index 00000000..4ab58209 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pathOr.js" @@ -0,0 +1 @@ +module.exports = require('./getOr'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/paths.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/paths.js" new file mode 100644 index 00000000..1eb7950a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/paths.js" @@ -0,0 +1 @@ +module.exports = require('./at'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pick.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pick.js" new file mode 100644 index 00000000..197393de --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pick.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('pick', require('../pick')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pickAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pickAll.js" new file mode 100644 index 00000000..a8ecd461 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pickAll.js" @@ -0,0 +1 @@ +module.exports = require('./pick'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pickBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pickBy.js" new file mode 100644 index 00000000..d832d16b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pickBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('pickBy', require('../pickBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pipe.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pipe.js" new file mode 100644 index 00000000..b2e1e2cc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pipe.js" @@ -0,0 +1 @@ +module.exports = require('./flow'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/placeholder.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/placeholder.js" new file mode 100644 index 00000000..1ce17393 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/placeholder.js" @@ -0,0 +1,6 @@ +/** + * The default argument placeholder value for methods. + * + * @type {Object} + */ +module.exports = {}; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/plant.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/plant.js" new file mode 100644 index 00000000..eca8f32b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/plant.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('plant', require('../plant'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pluck.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pluck.js" new file mode 100644 index 00000000..0d1e1abf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pluck.js" @@ -0,0 +1 @@ +module.exports = require('./map'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/prop.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/prop.js" new file mode 100644 index 00000000..b29cfb21 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/prop.js" @@ -0,0 +1 @@ +module.exports = require('./get'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/propEq.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/propEq.js" new file mode 100644 index 00000000..36c027a3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/propEq.js" @@ -0,0 +1 @@ +module.exports = require('./matchesProperty'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/propOr.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/propOr.js" new file mode 100644 index 00000000..4ab58209 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/propOr.js" @@ -0,0 +1 @@ +module.exports = require('./getOr'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/property.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/property.js" new file mode 100644 index 00000000..b29cfb21 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/property.js" @@ -0,0 +1 @@ +module.exports = require('./get'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/propertyOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/propertyOf.js" new file mode 100644 index 00000000..f6273ee4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/propertyOf.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('propertyOf', require('../get')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/props.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/props.js" new file mode 100644 index 00000000..1eb7950a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/props.js" @@ -0,0 +1 @@ +module.exports = require('./at'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pull.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pull.js" new file mode 100644 index 00000000..8d7084f0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pull.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('pull', require('../pull')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAll.js" new file mode 100644 index 00000000..98d5c9a7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAll.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('pullAll', require('../pullAll')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAllBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAllBy.js" new file mode 100644 index 00000000..876bc3bf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAllBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('pullAllBy', require('../pullAllBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAllWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAllWith.js" new file mode 100644 index 00000000..f71ba4d7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAllWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('pullAllWith', require('../pullAllWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAt.js" new file mode 100644 index 00000000..e8b3bb61 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/pullAt.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('pullAt', require('../pullAt')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/random.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/random.js" new file mode 100644 index 00000000..99d852e4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/random.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('random', require('../random')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/range.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/range.js" new file mode 100644 index 00000000..a6bb5911 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/range.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('range', require('../range')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rangeRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rangeRight.js" new file mode 100644 index 00000000..fdb712f9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rangeRight.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('rangeRight', require('../rangeRight')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rangeStep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rangeStep.js" new file mode 100644 index 00000000..d72dfc20 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rangeStep.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('rangeStep', require('../range')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rangeStepRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rangeStepRight.js" new file mode 100644 index 00000000..8b2a67bc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rangeStepRight.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('rangeStepRight', require('../rangeRight')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rearg.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rearg.js" new file mode 100644 index 00000000..678e02a3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rearg.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('rearg', require('../rearg')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reduce.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reduce.js" new file mode 100644 index 00000000..4cef0a00 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reduce.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('reduce', require('../reduce')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reduceRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reduceRight.js" new file mode 100644 index 00000000..caf5bb51 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reduceRight.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('reduceRight', require('../reduceRight')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reject.js" new file mode 100644 index 00000000..c1632738 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reject.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('reject', require('../reject')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/remove.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/remove.js" new file mode 100644 index 00000000..e9d13273 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/remove.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('remove', require('../remove')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/repeat.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/repeat.js" new file mode 100644 index 00000000..08470f24 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/repeat.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('repeat', require('../repeat')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/replace.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/replace.js" new file mode 100644 index 00000000..2227db62 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/replace.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('replace', require('../replace')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rest.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rest.js" new file mode 100644 index 00000000..c1f3d64b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/rest.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('rest', require('../rest')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/restFrom.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/restFrom.js" new file mode 100644 index 00000000..714e42b5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/restFrom.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('restFrom', require('../rest')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/result.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/result.js" new file mode 100644 index 00000000..f86ce071 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/result.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('result', require('../result')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reverse.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reverse.js" new file mode 100644 index 00000000..07c9f5e4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/reverse.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('reverse', require('../reverse')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/round.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/round.js" new file mode 100644 index 00000000..4c0e5c82 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/round.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('round', require('../round')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sample.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sample.js" new file mode 100644 index 00000000..6bea1254 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sample.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sample', require('../sample'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sampleSize.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sampleSize.js" new file mode 100644 index 00000000..359ed6fc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sampleSize.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sampleSize', require('../sampleSize')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/seq.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/seq.js" new file mode 100644 index 00000000..d8f42b0a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/seq.js" @@ -0,0 +1,2 @@ +var convert = require('./convert'); +module.exports = convert(require('../seq')); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/set.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/set.js" new file mode 100644 index 00000000..0b56a56c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/set.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('set', require('../set')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/setWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/setWith.js" new file mode 100644 index 00000000..0b584952 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/setWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('setWith', require('../setWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/shuffle.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/shuffle.js" new file mode 100644 index 00000000..aa3a1ca5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/shuffle.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('shuffle', require('../shuffle'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/size.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/size.js" new file mode 100644 index 00000000..7490136e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/size.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('size', require('../size'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/slice.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/slice.js" new file mode 100644 index 00000000..15945d32 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/slice.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('slice', require('../slice')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/snakeCase.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/snakeCase.js" new file mode 100644 index 00000000..a0ff7808 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/snakeCase.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('snakeCase', require('../snakeCase'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/some.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/some.js" new file mode 100644 index 00000000..a4fa2d00 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/some.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('some', require('../some')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortBy.js" new file mode 100644 index 00000000..e0790ad5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sortBy', require('../sortBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedIndex.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedIndex.js" new file mode 100644 index 00000000..364a0543 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedIndex.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sortedIndex', require('../sortedIndex')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedIndexBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedIndexBy.js" new file mode 100644 index 00000000..9593dbd1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedIndexBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sortedIndexBy', require('../sortedIndexBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedIndexOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedIndexOf.js" new file mode 100644 index 00000000..c9084cab --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedIndexOf.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sortedIndexOf', require('../sortedIndexOf')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedLastIndex.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedLastIndex.js" new file mode 100644 index 00000000..47fe241a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedLastIndex.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sortedLastIndex', require('../sortedLastIndex')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedLastIndexBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedLastIndexBy.js" new file mode 100644 index 00000000..0f9a3473 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedLastIndexBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sortedLastIndexBy', require('../sortedLastIndexBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedLastIndexOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedLastIndexOf.js" new file mode 100644 index 00000000..0d4d9327 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedLastIndexOf.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sortedLastIndexOf', require('../sortedLastIndexOf')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedUniq.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedUniq.js" new file mode 100644 index 00000000..882d2837 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedUniq.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sortedUniq', require('../sortedUniq'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedUniqBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedUniqBy.js" new file mode 100644 index 00000000..033db91c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sortedUniqBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sortedUniqBy', require('../sortedUniqBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/split.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/split.js" new file mode 100644 index 00000000..14de1a7e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/split.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('split', require('../split')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/spread.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/spread.js" new file mode 100644 index 00000000..2d11b707 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/spread.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('spread', require('../spread')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/spreadFrom.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/spreadFrom.js" new file mode 100644 index 00000000..0b630df1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/spreadFrom.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('spreadFrom', require('../spread')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/startCase.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/startCase.js" new file mode 100644 index 00000000..ada98c94 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/startCase.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('startCase', require('../startCase'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/startsWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/startsWith.js" new file mode 100644 index 00000000..985e2f29 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/startsWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('startsWith', require('../startsWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/string.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/string.js" new file mode 100644 index 00000000..773b0370 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/string.js" @@ -0,0 +1,2 @@ +var convert = require('./convert'); +module.exports = convert(require('../string')); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubArray.js" new file mode 100644 index 00000000..cd604cb4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubArray.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('stubArray', require('../stubArray'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubFalse.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubFalse.js" new file mode 100644 index 00000000..32966645 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubFalse.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('stubFalse', require('../stubFalse'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubObject.js" new file mode 100644 index 00000000..c6c8ec47 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubObject.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('stubObject', require('../stubObject'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubString.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubString.js" new file mode 100644 index 00000000..701051e8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubString.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('stubString', require('../stubString'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubTrue.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubTrue.js" new file mode 100644 index 00000000..9249082c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/stubTrue.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('stubTrue', require('../stubTrue'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/subtract.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/subtract.js" new file mode 100644 index 00000000..d32b16d4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/subtract.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('subtract', require('../subtract')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sum.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sum.js" new file mode 100644 index 00000000..5cce12b3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sum.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sum', require('../sum'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sumBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sumBy.js" new file mode 100644 index 00000000..c8826565 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/sumBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('sumBy', require('../sumBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/symmetricDifference.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/symmetricDifference.js" new file mode 100644 index 00000000..78c16add --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/symmetricDifference.js" @@ -0,0 +1 @@ +module.exports = require('./xor'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/symmetricDifferenceBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/symmetricDifferenceBy.js" new file mode 100644 index 00000000..298fc7ff --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/symmetricDifferenceBy.js" @@ -0,0 +1 @@ +module.exports = require('./xorBy'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/symmetricDifferenceWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/symmetricDifferenceWith.js" new file mode 100644 index 00000000..70bc6faf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/symmetricDifferenceWith.js" @@ -0,0 +1 @@ +module.exports = require('./xorWith'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/tail.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/tail.js" new file mode 100644 index 00000000..f122f0ac --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/tail.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('tail', require('../tail'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/take.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/take.js" new file mode 100644 index 00000000..9af98a7b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/take.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('take', require('../take')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeLast.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeLast.js" new file mode 100644 index 00000000..e98c84a1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeLast.js" @@ -0,0 +1 @@ +module.exports = require('./takeRight'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeLastWhile.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeLastWhile.js" new file mode 100644 index 00000000..5367968a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeLastWhile.js" @@ -0,0 +1 @@ +module.exports = require('./takeRightWhile'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeRight.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeRight.js" new file mode 100644 index 00000000..b82950a6 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeRight.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('takeRight', require('../takeRight')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeRightWhile.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeRightWhile.js" new file mode 100644 index 00000000..8ffb0a28 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeRightWhile.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('takeRightWhile', require('../takeRightWhile')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeWhile.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeWhile.js" new file mode 100644 index 00000000..28136644 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/takeWhile.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('takeWhile', require('../takeWhile')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/tap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/tap.js" new file mode 100644 index 00000000..d33ad6ec --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/tap.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('tap', require('../tap')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/template.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/template.js" new file mode 100644 index 00000000..74857e1c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/template.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('template', require('../template')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/templateSettings.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/templateSettings.js" new file mode 100644 index 00000000..7bcc0a82 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/templateSettings.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('templateSettings', require('../templateSettings'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/throttle.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/throttle.js" new file mode 100644 index 00000000..77fff142 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/throttle.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('throttle', require('../throttle')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/thru.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/thru.js" new file mode 100644 index 00000000..d42b3b1d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/thru.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('thru', require('../thru')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/times.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/times.js" new file mode 100644 index 00000000..0dab06da --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/times.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('times', require('../times')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toArray.js" new file mode 100644 index 00000000..f0c360ac --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toArray.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toArray', require('../toArray'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toFinite.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toFinite.js" new file mode 100644 index 00000000..3a47687d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toFinite.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toFinite', require('../toFinite'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toInteger.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toInteger.js" new file mode 100644 index 00000000..e0af6a75 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toInteger.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toInteger', require('../toInteger'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toIterator.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toIterator.js" new file mode 100644 index 00000000..65e6baa9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toIterator.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toIterator', require('../toIterator'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toJSON.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toJSON.js" new file mode 100644 index 00000000..2d718d0b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toJSON.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toJSON', require('../toJSON'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toLength.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toLength.js" new file mode 100644 index 00000000..b97cdd93 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toLength.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toLength', require('../toLength'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toLower.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toLower.js" new file mode 100644 index 00000000..616ef36a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toLower.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toLower', require('../toLower'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toNumber.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toNumber.js" new file mode 100644 index 00000000..d0c6f4d3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toNumber.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toNumber', require('../toNumber'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPairs.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPairs.js" new file mode 100644 index 00000000..af783786 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPairs.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toPairs', require('../toPairs'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPairsIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPairsIn.js" new file mode 100644 index 00000000..66504abf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPairsIn.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toPairsIn', require('../toPairsIn'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPath.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPath.js" new file mode 100644 index 00000000..b4d5e50f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPath.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toPath', require('../toPath'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPlainObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPlainObject.js" new file mode 100644 index 00000000..278bb863 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toPlainObject.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toPlainObject', require('../toPlainObject'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toSafeInteger.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toSafeInteger.js" new file mode 100644 index 00000000..367a26fd --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toSafeInteger.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toSafeInteger', require('../toSafeInteger'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toString.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toString.js" new file mode 100644 index 00000000..cec4f8e2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toString.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toString', require('../toString'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toUpper.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toUpper.js" new file mode 100644 index 00000000..54f9a560 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/toUpper.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('toUpper', require('../toUpper'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/transform.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/transform.js" new file mode 100644 index 00000000..759d088f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/transform.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('transform', require('../transform')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trim.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trim.js" new file mode 100644 index 00000000..e6319a74 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trim.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('trim', require('../trim')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimChars.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimChars.js" new file mode 100644 index 00000000..c9294de4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimChars.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('trimChars', require('../trim')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimCharsEnd.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimCharsEnd.js" new file mode 100644 index 00000000..284bc2f8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimCharsEnd.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('trimCharsEnd', require('../trimEnd')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimCharsStart.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimCharsStart.js" new file mode 100644 index 00000000..ff0ee65d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimCharsStart.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('trimCharsStart', require('../trimStart')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimEnd.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimEnd.js" new file mode 100644 index 00000000..71908805 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimEnd.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('trimEnd', require('../trimEnd')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimStart.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimStart.js" new file mode 100644 index 00000000..fda902c3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/trimStart.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('trimStart', require('../trimStart')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/truncate.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/truncate.js" new file mode 100644 index 00000000..d265c1de --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/truncate.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('truncate', require('../truncate')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unapply.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unapply.js" new file mode 100644 index 00000000..c5dfe779 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unapply.js" @@ -0,0 +1 @@ +module.exports = require('./rest'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unary.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unary.js" new file mode 100644 index 00000000..286c945f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unary.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('unary', require('../unary'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unescape.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unescape.js" new file mode 100644 index 00000000..fddcb46e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unescape.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('unescape', require('../unescape'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/union.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/union.js" new file mode 100644 index 00000000..ef8228d7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/union.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('union', require('../union')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unionBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unionBy.js" new file mode 100644 index 00000000..603687a1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unionBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('unionBy', require('../unionBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unionWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unionWith.js" new file mode 100644 index 00000000..65bb3a79 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unionWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('unionWith', require('../unionWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniq.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniq.js" new file mode 100644 index 00000000..bc185249 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniq.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('uniq', require('../uniq'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniqBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniqBy.js" new file mode 100644 index 00000000..634c6a8b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniqBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('uniqBy', require('../uniqBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniqWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniqWith.js" new file mode 100644 index 00000000..0ec601a9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniqWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('uniqWith', require('../uniqWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniqueId.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniqueId.js" new file mode 100644 index 00000000..aa8fc2f7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/uniqueId.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('uniqueId', require('../uniqueId')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unnest.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unnest.js" new file mode 100644 index 00000000..5d34060a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unnest.js" @@ -0,0 +1 @@ +module.exports = require('./flatten'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unset.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unset.js" new file mode 100644 index 00000000..ea203a0f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unset.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('unset', require('../unset')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unzip.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unzip.js" new file mode 100644 index 00000000..cc364b3c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unzip.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('unzip', require('../unzip'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unzipWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unzipWith.js" new file mode 100644 index 00000000..182eaa10 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/unzipWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('unzipWith', require('../unzipWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/update.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/update.js" new file mode 100644 index 00000000..b8ce2cc9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/update.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('update', require('../update')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/updateWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/updateWith.js" new file mode 100644 index 00000000..d5e8282d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/updateWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('updateWith', require('../updateWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/upperCase.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/upperCase.js" new file mode 100644 index 00000000..c886f202 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/upperCase.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('upperCase', require('../upperCase'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/upperFirst.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/upperFirst.js" new file mode 100644 index 00000000..d8c04df5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/upperFirst.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('upperFirst', require('../upperFirst'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/useWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/useWith.js" new file mode 100644 index 00000000..d8b3df5a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/useWith.js" @@ -0,0 +1 @@ +module.exports = require('./overArgs'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/util.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/util.js" new file mode 100644 index 00000000..18c00bae --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/util.js" @@ -0,0 +1,2 @@ +var convert = require('./convert'); +module.exports = convert(require('../util')); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/value.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/value.js" new file mode 100644 index 00000000..555eec7a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/value.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('value', require('../value'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/valueOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/valueOf.js" new file mode 100644 index 00000000..f968807d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/valueOf.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('valueOf', require('../valueOf'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/values.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/values.js" new file mode 100644 index 00000000..2dfc5613 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/values.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('values', require('../values'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/valuesIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/valuesIn.js" new file mode 100644 index 00000000..a1b2bb87 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/valuesIn.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('valuesIn', require('../valuesIn'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/where.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/where.js" new file mode 100644 index 00000000..3247f64a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/where.js" @@ -0,0 +1 @@ +module.exports = require('./conformsTo'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/whereEq.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/whereEq.js" new file mode 100644 index 00000000..29d1e1e4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/whereEq.js" @@ -0,0 +1 @@ +module.exports = require('./isMatch'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/without.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/without.js" new file mode 100644 index 00000000..bad9e125 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/without.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('without', require('../without')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/words.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/words.js" new file mode 100644 index 00000000..4a901414 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/words.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('words', require('../words')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrap.js" new file mode 100644 index 00000000..e93bd8a1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrap.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('wrap', require('../wrap')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperAt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperAt.js" new file mode 100644 index 00000000..8f0a310f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperAt.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('wrapperAt', require('../wrapperAt'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperChain.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperChain.js" new file mode 100644 index 00000000..2a48ea2b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperChain.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('wrapperChain', require('../wrapperChain'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperLodash.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperLodash.js" new file mode 100644 index 00000000..a7162d08 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperLodash.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('wrapperLodash', require('../wrapperLodash'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperReverse.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperReverse.js" new file mode 100644 index 00000000..e1481aab --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperReverse.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('wrapperReverse', require('../wrapperReverse'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperValue.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperValue.js" new file mode 100644 index 00000000..8eb9112f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/wrapperValue.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('wrapperValue', require('../wrapperValue'), require('./_falseOptions')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/xor.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/xor.js" new file mode 100644 index 00000000..29e28194 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/xor.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('xor', require('../xor')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/xorBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/xorBy.js" new file mode 100644 index 00000000..b355686d --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/xorBy.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('xorBy', require('../xorBy')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/xorWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/xorWith.js" new file mode 100644 index 00000000..8e05739a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/xorWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('xorWith', require('../xorWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zip.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zip.js" new file mode 100644 index 00000000..69e147a4 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zip.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('zip', require('../zip')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipAll.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipAll.js" new file mode 100644 index 00000000..efa8ccbf --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipAll.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('zipAll', require('../zip')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipObj.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipObj.js" new file mode 100644 index 00000000..f4a34531 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipObj.js" @@ -0,0 +1 @@ +module.exports = require('./zipObject'); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipObject.js" new file mode 100644 index 00000000..462dbb68 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipObject.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('zipObject', require('../zipObject')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipObjectDeep.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipObjectDeep.js" new file mode 100644 index 00000000..53a5d338 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipObjectDeep.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('zipObjectDeep', require('../zipObjectDeep')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipWith.js" new file mode 100644 index 00000000..c5cf9e21 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fp/zipWith.js" @@ -0,0 +1,5 @@ +var convert = require('./convert'), + func = convert('zipWith', require('../zipWith')); + +func.placeholder = require('./placeholder'); +module.exports = func; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fromPairs.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fromPairs.js" new file mode 100644 index 00000000..ee7940d2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/fromPairs.js" @@ -0,0 +1,28 @@ +/** + * The inverse of `_.toPairs`; this method returns an object composed + * from key-value `pairs`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} pairs The key-value pairs. + * @returns {Object} Returns the new object. + * @example + * + * _.fromPairs([['a', 1], ['b', 2]]); + * // => { 'a': 1, 'b': 2 } + */ +function fromPairs(pairs) { + var index = -1, + length = pairs == null ? 0 : pairs.length, + result = {}; + + while (++index < length) { + var pair = pairs[index]; + result[pair[0]] = pair[1]; + } + return result; +} + +module.exports = fromPairs; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/function.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/function.js" new file mode 100644 index 00000000..b0fc6d93 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/function.js" @@ -0,0 +1,25 @@ +module.exports = { + 'after': require('./after'), + 'ary': require('./ary'), + 'before': require('./before'), + 'bind': require('./bind'), + 'bindKey': require('./bindKey'), + 'curry': require('./curry'), + 'curryRight': require('./curryRight'), + 'debounce': require('./debounce'), + 'defer': require('./defer'), + 'delay': require('./delay'), + 'flip': require('./flip'), + 'memoize': require('./memoize'), + 'negate': require('./negate'), + 'once': require('./once'), + 'overArgs': require('./overArgs'), + 'partial': require('./partial'), + 'partialRight': require('./partialRight'), + 'rearg': require('./rearg'), + 'rest': require('./rest'), + 'spread': require('./spread'), + 'throttle': require('./throttle'), + 'unary': require('./unary'), + 'wrap': require('./wrap') +}; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/functions.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/functions.js" new file mode 100644 index 00000000..9722928f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/functions.js" @@ -0,0 +1,31 @@ +var baseFunctions = require('./_baseFunctions'), + keys = require('./keys'); + +/** + * Creates an array of function property names from own enumerable properties + * of `object`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to inspect. + * @returns {Array} Returns the function names. + * @see _.functionsIn + * @example + * + * function Foo() { + * this.a = _.constant('a'); + * this.b = _.constant('b'); + * } + * + * Foo.prototype.c = _.constant('c'); + * + * _.functions(new Foo); + * // => ['a', 'b'] + */ +function functions(object) { + return object == null ? [] : baseFunctions(object, keys(object)); +} + +module.exports = functions; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/functionsIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/functionsIn.js" new file mode 100644 index 00000000..f00345d0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/functionsIn.js" @@ -0,0 +1,31 @@ +var baseFunctions = require('./_baseFunctions'), + keysIn = require('./keysIn'); + +/** + * Creates an array of function property names from own and inherited + * enumerable properties of `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The object to inspect. + * @returns {Array} Returns the function names. + * @see _.functions + * @example + * + * function Foo() { + * this.a = _.constant('a'); + * this.b = _.constant('b'); + * } + * + * Foo.prototype.c = _.constant('c'); + * + * _.functionsIn(new Foo); + * // => ['a', 'b', 'c'] + */ +function functionsIn(object) { + return object == null ? [] : baseFunctions(object, keysIn(object)); +} + +module.exports = functionsIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/get.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/get.js" new file mode 100644 index 00000000..8805ff92 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/get.js" @@ -0,0 +1,33 @@ +var baseGet = require('./_baseGet'); + +/** + * Gets the value at `path` of `object`. If the resolved value is + * `undefined`, the `defaultValue` is returned in its place. + * + * @static + * @memberOf _ + * @since 3.7.0 + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path of the property to get. + * @param {*} [defaultValue] The value returned for `undefined` resolved values. + * @returns {*} Returns the resolved value. + * @example + * + * var object = { 'a': [{ 'b': { 'c': 3 } }] }; + * + * _.get(object, 'a[0].b.c'); + * // => 3 + * + * _.get(object, ['a', '0', 'b', 'c']); + * // => 3 + * + * _.get(object, 'a.b.c', 'default'); + * // => 'default' + */ +function get(object, path, defaultValue) { + var result = object == null ? undefined : baseGet(object, path); + return result === undefined ? defaultValue : result; +} + +module.exports = get; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/groupBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/groupBy.js" new file mode 100644 index 00000000..babf4f6b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/groupBy.js" @@ -0,0 +1,41 @@ +var baseAssignValue = require('./_baseAssignValue'), + createAggregator = require('./_createAggregator'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Creates an object composed of keys generated from the results of running + * each element of `collection` thru `iteratee`. The order of grouped values + * is determined by the order they occur in `collection`. The corresponding + * value of each key is an array of elements responsible for generating the + * key. The iteratee is invoked with one argument: (value). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The iteratee to transform keys. + * @returns {Object} Returns the composed aggregate object. + * @example + * + * _.groupBy([6.1, 4.2, 6.3], Math.floor); + * // => { '4': [4.2], '6': [6.1, 6.3] } + * + * // The `_.property` iteratee shorthand. + * _.groupBy(['one', 'two', 'three'], 'length'); + * // => { '3': ['one', 'two'], '5': ['three'] } + */ +var groupBy = createAggregator(function(result, value, key) { + if (hasOwnProperty.call(result, key)) { + result[key].push(value); + } else { + baseAssignValue(result, key, [value]); + } +}); + +module.exports = groupBy; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/gt.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/gt.js" new file mode 100644 index 00000000..3a662828 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/gt.js" @@ -0,0 +1,29 @@ +var baseGt = require('./_baseGt'), + createRelationalOperation = require('./_createRelationalOperation'); + +/** + * Checks if `value` is greater than `other`. + * + * @static + * @memberOf _ + * @since 3.9.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is greater than `other`, + * else `false`. + * @see _.lt + * @example + * + * _.gt(3, 1); + * // => true + * + * _.gt(3, 3); + * // => false + * + * _.gt(1, 3); + * // => false + */ +var gt = createRelationalOperation(baseGt); + +module.exports = gt; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/gte.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/gte.js" new file mode 100644 index 00000000..4180a687 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/gte.js" @@ -0,0 +1,30 @@ +var createRelationalOperation = require('./_createRelationalOperation'); + +/** + * Checks if `value` is greater than or equal to `other`. + * + * @static + * @memberOf _ + * @since 3.9.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is greater than or equal to + * `other`, else `false`. + * @see _.lte + * @example + * + * _.gte(3, 1); + * // => true + * + * _.gte(3, 3); + * // => true + * + * _.gte(1, 3); + * // => false + */ +var gte = createRelationalOperation(function(value, other) { + return value >= other; +}); + +module.exports = gte; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/has.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/has.js" new file mode 100644 index 00000000..34df55e8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/has.js" @@ -0,0 +1,35 @@ +var baseHas = require('./_baseHas'), + hasPath = require('./_hasPath'); + +/** + * Checks if `path` is a direct property of `object`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path to check. + * @returns {boolean} Returns `true` if `path` exists, else `false`. + * @example + * + * var object = { 'a': { 'b': 2 } }; + * var other = _.create({ 'a': _.create({ 'b': 2 }) }); + * + * _.has(object, 'a'); + * // => true + * + * _.has(object, 'a.b'); + * // => true + * + * _.has(object, ['a', 'b']); + * // => true + * + * _.has(other, 'a'); + * // => false + */ +function has(object, path) { + return object != null && hasPath(object, path, baseHas); +} + +module.exports = has; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/hasIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/hasIn.js" new file mode 100644 index 00000000..06a36865 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/hasIn.js" @@ -0,0 +1,34 @@ +var baseHasIn = require('./_baseHasIn'), + hasPath = require('./_hasPath'); + +/** + * Checks if `path` is a direct or inherited property of `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path to check. + * @returns {boolean} Returns `true` if `path` exists, else `false`. + * @example + * + * var object = _.create({ 'a': _.create({ 'b': 2 }) }); + * + * _.hasIn(object, 'a'); + * // => true + * + * _.hasIn(object, 'a.b'); + * // => true + * + * _.hasIn(object, ['a', 'b']); + * // => true + * + * _.hasIn(object, 'b'); + * // => false + */ +function hasIn(object, path) { + return object != null && hasPath(object, path, baseHasIn); +} + +module.exports = hasIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/head.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/head.js" new file mode 100644 index 00000000..dee9d1f1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/head.js" @@ -0,0 +1,23 @@ +/** + * Gets the first element of `array`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @alias first + * @category Array + * @param {Array} array The array to query. + * @returns {*} Returns the first element of `array`. + * @example + * + * _.head([1, 2, 3]); + * // => 1 + * + * _.head([]); + * // => undefined + */ +function head(array) { + return (array && array.length) ? array[0] : undefined; +} + +module.exports = head; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/identity.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/identity.js" new file mode 100644 index 00000000..2d5d963c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/identity.js" @@ -0,0 +1,21 @@ +/** + * 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(value) { + return value; +} + +module.exports = identity; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/inRange.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/inRange.js" new file mode 100644 index 00000000..f20728d9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/inRange.js" @@ -0,0 +1,55 @@ +var baseInRange = require('./_baseInRange'), + toFinite = require('./toFinite'), + toNumber = require('./toNumber'); + +/** + * Checks if `n` is between `start` and up to, but not including, `end`. If + * `end` is not specified, it's set to `start` with `start` then set to `0`. + * If `start` is greater than `end` the params are swapped to support + * negative ranges. + * + * @static + * @memberOf _ + * @since 3.3.0 + * @category Number + * @param {number} number The number to check. + * @param {number} [start=0] The start of the range. + * @param {number} end The end of the range. + * @returns {boolean} Returns `true` if `number` is in the range, else `false`. + * @see _.range, _.rangeRight + * @example + * + * _.inRange(3, 2, 4); + * // => true + * + * _.inRange(4, 8); + * // => true + * + * _.inRange(4, 2); + * // => false + * + * _.inRange(2, 2); + * // => false + * + * _.inRange(1.2, 2); + * // => true + * + * _.inRange(5.2, 4); + * // => false + * + * _.inRange(-3, -2, -6); + * // => true + */ +function inRange(number, start, end) { + start = toFinite(start); + if (end === undefined) { + end = start; + start = 0; + } else { + end = toFinite(end); + } + number = toNumber(number); + return baseInRange(number, start, end); +} + +module.exports = inRange; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/includes.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/includes.js" new file mode 100644 index 00000000..ae0deedc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/includes.js" @@ -0,0 +1,53 @@ +var baseIndexOf = require('./_baseIndexOf'), + isArrayLike = require('./isArrayLike'), + isString = require('./isString'), + toInteger = require('./toInteger'), + values = require('./values'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max; + +/** + * Checks if `value` is in `collection`. If `collection` is a string, it's + * checked for a substring of `value`, otherwise + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * is used for equality comparisons. If `fromIndex` is negative, it's used as + * the offset from the end of `collection`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object|string} collection The collection to inspect. + * @param {*} value The value to search for. + * @param {number} [fromIndex=0] The index to search from. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`. + * @returns {boolean} Returns `true` if `value` is found, else `false`. + * @example + * + * _.includes([1, 2, 3], 1); + * // => true + * + * _.includes([1, 2, 3], 1, 2); + * // => false + * + * _.includes({ 'a': 1, 'b': 2 }, 1); + * // => true + * + * _.includes('abcd', 'bc'); + * // => true + */ +function includes(collection, value, fromIndex, guard) { + collection = isArrayLike(collection) ? collection : values(collection); + fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0; + + var length = collection.length; + if (fromIndex < 0) { + fromIndex = nativeMax(length + fromIndex, 0); + } + return isString(collection) + ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1) + : (!!length && baseIndexOf(collection, value, fromIndex) > -1); +} + +module.exports = includes; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/index.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/index.js" new file mode 100644 index 00000000..5d063e21 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/index.js" @@ -0,0 +1 @@ +module.exports = require('./lodash'); \ No newline at end of file diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/indexOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/indexOf.js" new file mode 100644 index 00000000..3c644af2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/indexOf.js" @@ -0,0 +1,42 @@ +var baseIndexOf = require('./_baseIndexOf'), + toInteger = require('./toInteger'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max; + +/** + * Gets the index at which the first occurrence of `value` is found in `array` + * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. If `fromIndex` is negative, it's used as the + * offset from the end of `array`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {*} value The value to search for. + * @param {number} [fromIndex=0] The index to search from. + * @returns {number} Returns the index of the matched value, else `-1`. + * @example + * + * _.indexOf([1, 2, 1, 2], 2); + * // => 1 + * + * // Search from the `fromIndex`. + * _.indexOf([1, 2, 1, 2], 2, 2); + * // => 3 + */ +function indexOf(array, value, fromIndex) { + var length = array == null ? 0 : array.length; + if (!length) { + return -1; + } + var index = fromIndex == null ? 0 : toInteger(fromIndex); + if (index < 0) { + index = nativeMax(length + index, 0); + } + return baseIndexOf(array, value, index); +} + +module.exports = indexOf; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/initial.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/initial.js" new file mode 100644 index 00000000..f47fc509 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/initial.js" @@ -0,0 +1,22 @@ +var baseSlice = require('./_baseSlice'); + +/** + * Gets all but the last element of `array`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to query. + * @returns {Array} Returns the slice of `array`. + * @example + * + * _.initial([1, 2, 3]); + * // => [1, 2] + */ +function initial(array) { + var length = array == null ? 0 : array.length; + return length ? baseSlice(array, 0, -1) : []; +} + +module.exports = initial; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/intersection.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/intersection.js" new file mode 100644 index 00000000..a94c1351 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/intersection.js" @@ -0,0 +1,30 @@ +var arrayMap = require('./_arrayMap'), + baseIntersection = require('./_baseIntersection'), + baseRest = require('./_baseRest'), + castArrayLikeObject = require('./_castArrayLikeObject'); + +/** + * Creates an array of unique values that are included in all given arrays + * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. The order and references of result values are + * determined by the first array. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @returns {Array} Returns the new array of intersecting values. + * @example + * + * _.intersection([2, 1], [2, 3]); + * // => [2] + */ +var intersection = baseRest(function(arrays) { + var mapped = arrayMap(arrays, castArrayLikeObject); + return (mapped.length && mapped[0] === arrays[0]) + ? baseIntersection(mapped) + : []; +}); + +module.exports = intersection; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/intersectionBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/intersectionBy.js" new file mode 100644 index 00000000..31461aae --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/intersectionBy.js" @@ -0,0 +1,45 @@ +var arrayMap = require('./_arrayMap'), + baseIntersection = require('./_baseIntersection'), + baseIteratee = require('./_baseIteratee'), + baseRest = require('./_baseRest'), + castArrayLikeObject = require('./_castArrayLikeObject'), + last = require('./last'); + +/** + * This method is like `_.intersection` except that it accepts `iteratee` + * which is invoked for each element of each `arrays` to generate the criterion + * by which they're compared. The order and references of result values are + * determined by the first array. The iteratee is invoked with one argument: + * (value). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @param {Function} [iteratee=_.identity] The iteratee invoked per element. + * @returns {Array} Returns the new array of intersecting values. + * @example + * + * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor); + * // => [2.1] + * + * // The `_.property` iteratee shorthand. + * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 1 }] + */ +var intersectionBy = baseRest(function(arrays) { + var iteratee = last(arrays), + mapped = arrayMap(arrays, castArrayLikeObject); + + if (iteratee === last(mapped)) { + iteratee = undefined; + } else { + mapped.pop(); + } + return (mapped.length && mapped[0] === arrays[0]) + ? baseIntersection(mapped, baseIteratee(iteratee, 2)) + : []; +}); + +module.exports = intersectionBy; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/intersectionWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/intersectionWith.js" new file mode 100644 index 00000000..63cabfaa --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/intersectionWith.js" @@ -0,0 +1,41 @@ +var arrayMap = require('./_arrayMap'), + baseIntersection = require('./_baseIntersection'), + baseRest = require('./_baseRest'), + castArrayLikeObject = require('./_castArrayLikeObject'), + last = require('./last'); + +/** + * This method is like `_.intersection` except that it accepts `comparator` + * which is invoked to compare elements of `arrays`. The order and references + * of result values are determined by the first array. The comparator is + * invoked with two arguments: (arrVal, othVal). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new array of intersecting values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; + * + * _.intersectionWith(objects, others, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }] + */ +var intersectionWith = baseRest(function(arrays) { + var comparator = last(arrays), + mapped = arrayMap(arrays, castArrayLikeObject); + + comparator = typeof comparator == 'function' ? comparator : undefined; + if (comparator) { + mapped.pop(); + } + return (mapped.length && mapped[0] === arrays[0]) + ? baseIntersection(mapped, undefined, comparator) + : []; +}); + +module.exports = intersectionWith; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invert.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invert.js" new file mode 100644 index 00000000..8c479509 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invert.js" @@ -0,0 +1,42 @@ +var constant = require('./constant'), + createInverter = require('./_createInverter'), + identity = require('./identity'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var nativeObjectToString = objectProto.toString; + +/** + * Creates an object composed of the inverted keys and values of `object`. + * If `object` contains duplicate values, subsequent values overwrite + * property assignments of previous values. + * + * @static + * @memberOf _ + * @since 0.7.0 + * @category Object + * @param {Object} object The object to invert. + * @returns {Object} Returns the new inverted object. + * @example + * + * var object = { 'a': 1, 'b': 2, 'c': 1 }; + * + * _.invert(object); + * // => { '1': 'c', '2': 'b' } + */ +var invert = createInverter(function(result, value, key) { + if (value != null && + typeof value.toString != 'function') { + value = nativeObjectToString.call(value); + } + + result[value] = key; +}, constant(identity)); + +module.exports = invert; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invertBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invertBy.js" new file mode 100644 index 00000000..3f4f7e53 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invertBy.js" @@ -0,0 +1,56 @@ +var baseIteratee = require('./_baseIteratee'), + createInverter = require('./_createInverter'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var nativeObjectToString = objectProto.toString; + +/** + * This method is like `_.invert` except that the inverted object is generated + * from the results of running each element of `object` thru `iteratee`. The + * corresponding inverted value of each inverted key is an array of keys + * responsible for generating the inverted value. The iteratee is invoked + * with one argument: (value). + * + * @static + * @memberOf _ + * @since 4.1.0 + * @category Object + * @param {Object} object The object to invert. + * @param {Function} [iteratee=_.identity] The iteratee invoked per element. + * @returns {Object} Returns the new inverted object. + * @example + * + * var object = { 'a': 1, 'b': 2, 'c': 1 }; + * + * _.invertBy(object); + * // => { '1': ['a', 'c'], '2': ['b'] } + * + * _.invertBy(object, function(value) { + * return 'group' + value; + * }); + * // => { 'group1': ['a', 'c'], 'group2': ['b'] } + */ +var invertBy = createInverter(function(result, value, key) { + if (value != null && + typeof value.toString != 'function') { + value = nativeObjectToString.call(value); + } + + if (hasOwnProperty.call(result, value)) { + result[value].push(key); + } else { + result[value] = [key]; + } +}, baseIteratee); + +module.exports = invertBy; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invoke.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invoke.js" new file mode 100644 index 00000000..97d51eb5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invoke.js" @@ -0,0 +1,24 @@ +var baseInvoke = require('./_baseInvoke'), + baseRest = require('./_baseRest'); + +/** + * Invokes the method at `path` of `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path of the method to invoke. + * @param {...*} [args] The arguments to invoke the method with. + * @returns {*} Returns the result of the invoked method. + * @example + * + * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] }; + * + * _.invoke(object, 'a[0].b.c.slice', 1, 3); + * // => [2, 3] + */ +var invoke = baseRest(baseInvoke); + +module.exports = invoke; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invokeMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invokeMap.js" new file mode 100644 index 00000000..8da5126c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/invokeMap.js" @@ -0,0 +1,41 @@ +var apply = require('./_apply'), + baseEach = require('./_baseEach'), + baseInvoke = require('./_baseInvoke'), + baseRest = require('./_baseRest'), + isArrayLike = require('./isArrayLike'); + +/** + * Invokes the method at `path` of each element in `collection`, returning + * an array of the results of each invoked method. Any additional arguments + * are provided to each invoked method. If `path` is a function, it's invoked + * for, and `this` bound to, each element in `collection`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Array|Function|string} path The path of the method to invoke or + * the function invoked per iteration. + * @param {...*} [args] The arguments to invoke each method with. + * @returns {Array} Returns the array of results. + * @example + * + * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort'); + * // => [[1, 5, 7], [1, 2, 3]] + * + * _.invokeMap([123, 456], String.prototype.split, ''); + * // => [['1', '2', '3'], ['4', '5', '6']] + */ +var invokeMap = baseRest(function(collection, path, args) { + var index = -1, + isFunc = typeof path == 'function', + result = isArrayLike(collection) ? Array(collection.length) : []; + + baseEach(collection, function(value) { + result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args); + }); + return result; +}); + +module.exports = invokeMap; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArguments.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArguments.js" new file mode 100644 index 00000000..8b9ed66c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArguments.js" @@ -0,0 +1,36 @@ +var baseIsArguments = require('./_baseIsArguments'), + isObjectLike = require('./isObjectLike'); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** Built-in value references. */ +var propertyIsEnumerable = objectProto.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 = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { + return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && + !propertyIsEnumerable.call(value, 'callee'); +}; + +module.exports = isArguments; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArray.js" new file mode 100644 index 00000000..88ab55fd --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArray.js" @@ -0,0 +1,26 @@ +/** + * 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 = Array.isArray; + +module.exports = isArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArrayBuffer.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArrayBuffer.js" new file mode 100644 index 00000000..12904a64 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArrayBuffer.js" @@ -0,0 +1,27 @@ +var baseIsArrayBuffer = require('./_baseIsArrayBuffer'), + baseUnary = require('./_baseUnary'), + nodeUtil = require('./_nodeUtil'); + +/* Node.js helper references. */ +var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer; + +/** + * Checks if `value` is classified as an `ArrayBuffer` object. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. + * @example + * + * _.isArrayBuffer(new ArrayBuffer(2)); + * // => true + * + * _.isArrayBuffer(new Array(2)); + * // => false + */ +var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer; + +module.exports = isArrayBuffer; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArrayLike.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArrayLike.js" new file mode 100644 index 00000000..0f966805 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArrayLike.js" @@ -0,0 +1,33 @@ +var isFunction = require('./isFunction'), + isLength = require('./isLength'); + +/** + * 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(value) { + return value != null && isLength(value.length) && !isFunction(value); +} + +module.exports = isArrayLike; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArrayLikeObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArrayLikeObject.js" new file mode 100644 index 00000000..6c4812a8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isArrayLikeObject.js" @@ -0,0 +1,33 @@ +var isArrayLike = require('./isArrayLike'), + isObjectLike = require('./isObjectLike'); + +/** + * This method is like `_.isArrayLike` except that it also checks if `value` + * is an object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array-like object, + * else `false`. + * @example + * + * _.isArrayLikeObject([1, 2, 3]); + * // => true + * + * _.isArrayLikeObject(document.body.children); + * // => true + * + * _.isArrayLikeObject('abc'); + * // => false + * + * _.isArrayLikeObject(_.noop); + * // => false + */ +function isArrayLikeObject(value) { + return isObjectLike(value) && isArrayLike(value); +} + +module.exports = isArrayLikeObject; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isBoolean.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isBoolean.js" new file mode 100644 index 00000000..a43ed4b8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isBoolean.js" @@ -0,0 +1,29 @@ +var baseGetTag = require('./_baseGetTag'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var boolTag = '[object Boolean]'; + +/** + * Checks if `value` is classified as a boolean primitive or object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a boolean, else `false`. + * @example + * + * _.isBoolean(false); + * // => true + * + * _.isBoolean(null); + * // => false + */ +function isBoolean(value) { + return value === true || value === false || + (isObjectLike(value) && baseGetTag(value) == boolTag); +} + +module.exports = isBoolean; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isBuffer.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isBuffer.js" new file mode 100644 index 00000000..c103cc74 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isBuffer.js" @@ -0,0 +1,38 @@ +var root = require('./_root'), + stubFalse = require('./stubFalse'); + +/** Detect free variable `exports`. */ +var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; + +/** Detect free variable `module`. */ +var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; + +/** Detect the popular CommonJS extension `module.exports`. */ +var moduleExports = freeModule && freeModule.exports === freeExports; + +/** Built-in value references. */ +var Buffer = moduleExports ? root.Buffer : undefined; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined; + +/** + * 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 = nativeIsBuffer || stubFalse; + +module.exports = isBuffer; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isDate.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isDate.js" new file mode 100644 index 00000000..7f0209fc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isDate.js" @@ -0,0 +1,27 @@ +var baseIsDate = require('./_baseIsDate'), + baseUnary = require('./_baseUnary'), + nodeUtil = require('./_nodeUtil'); + +/* Node.js helper references. */ +var nodeIsDate = nodeUtil && nodeUtil.isDate; + +/** + * Checks if `value` is classified as a `Date` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a date object, else `false`. + * @example + * + * _.isDate(new Date); + * // => true + * + * _.isDate('Mon April 23 2012'); + * // => false + */ +var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate; + +module.exports = isDate; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isElement.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isElement.js" new file mode 100644 index 00000000..76ae29c3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isElement.js" @@ -0,0 +1,25 @@ +var isObjectLike = require('./isObjectLike'), + isPlainObject = require('./isPlainObject'); + +/** + * Checks if `value` is likely a DOM element. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`. + * @example + * + * _.isElement(document.body); + * // => true + * + * _.isElement(''); + * // => false + */ +function isElement(value) { + return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value); +} + +module.exports = isElement; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isEmpty.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isEmpty.js" new file mode 100644 index 00000000..3597294a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isEmpty.js" @@ -0,0 +1,77 @@ +var baseKeys = require('./_baseKeys'), + getTag = require('./_getTag'), + isArguments = require('./isArguments'), + isArray = require('./isArray'), + isArrayLike = require('./isArrayLike'), + isBuffer = require('./isBuffer'), + isPrototype = require('./_isPrototype'), + isTypedArray = require('./isTypedArray'); + +/** `Object#toString` result references. */ +var mapTag = '[object Map]', + setTag = '[object Set]'; + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Checks if `value` is an empty object, collection, map, or set. + * + * Objects are considered empty if they have no own enumerable string keyed + * properties. + * + * Array-like values such as `arguments` objects, arrays, buffers, strings, or + * jQuery-like collections are considered empty if they have a `length` of `0`. + * Similarly, maps and sets are considered empty if they have a `size` of `0`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is empty, else `false`. + * @example + * + * _.isEmpty(null); + * // => true + * + * _.isEmpty(true); + * // => true + * + * _.isEmpty(1); + * // => true + * + * _.isEmpty([1, 2, 3]); + * // => false + * + * _.isEmpty({ 'a': 1 }); + * // => false + */ +function isEmpty(value) { + if (value == null) { + return true; + } + if (isArrayLike(value) && + (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' || + isBuffer(value) || isTypedArray(value) || isArguments(value))) { + return !value.length; + } + var tag = getTag(value); + if (tag == mapTag || tag == setTag) { + return !value.size; + } + if (isPrototype(value)) { + return !baseKeys(value).length; + } + for (var key in value) { + if (hasOwnProperty.call(value, key)) { + return false; + } + } + return true; +} + +module.exports = isEmpty; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isEqual.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isEqual.js" new file mode 100644 index 00000000..5e23e76c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isEqual.js" @@ -0,0 +1,35 @@ +var baseIsEqual = require('./_baseIsEqual'); + +/** + * Performs a deep comparison between two values to determine if they are + * equivalent. + * + * **Note:** This method supports comparing arrays, array buffers, booleans, + * date objects, error objects, maps, numbers, `Object` objects, regexes, + * sets, strings, symbols, and typed arrays. `Object` objects are compared + * by their own, not inherited, enumerable properties. Functions and DOM + * nodes are compared by strict equality, i.e. `===`. + * + * @static + * @memberOf _ + * @since 0.1.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 }; + * + * _.isEqual(object, other); + * // => true + * + * object === other; + * // => false + */ +function isEqual(value, other) { + return baseIsEqual(value, other); +} + +module.exports = isEqual; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isEqualWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isEqualWith.js" new file mode 100644 index 00000000..21bdc7ff --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isEqualWith.js" @@ -0,0 +1,41 @@ +var baseIsEqual = require('./_baseIsEqual'); + +/** + * This method is like `_.isEqual` except that it accepts `customizer` which + * is invoked to compare values. If `customizer` returns `undefined`, comparisons + * are handled by the method instead. The `customizer` is invoked with up to + * six arguments: (objValue, othValue [, index|key, object, other, stack]). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @param {Function} [customizer] The function to customize comparisons. + * @returns {boolean} Returns `true` if the values are equivalent, else `false`. + * @example + * + * function isGreeting(value) { + * return /^h(?:i|ello)$/.test(value); + * } + * + * function customizer(objValue, othValue) { + * if (isGreeting(objValue) && isGreeting(othValue)) { + * return true; + * } + * } + * + * var array = ['hello', 'goodbye']; + * var other = ['hi', 'goodbye']; + * + * _.isEqualWith(array, other, customizer); + * // => true + */ +function isEqualWith(value, other, customizer) { + customizer = typeof customizer == 'function' ? customizer : undefined; + var result = customizer ? customizer(value, other) : undefined; + return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result; +} + +module.exports = isEqualWith; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isError.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isError.js" new file mode 100644 index 00000000..b4f41e00 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isError.js" @@ -0,0 +1,36 @@ +var baseGetTag = require('./_baseGetTag'), + isObjectLike = require('./isObjectLike'), + isPlainObject = require('./isPlainObject'); + +/** `Object#toString` result references. */ +var domExcTag = '[object DOMException]', + errorTag = '[object Error]'; + +/** + * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`, + * `SyntaxError`, `TypeError`, or `URIError` object. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an error object, else `false`. + * @example + * + * _.isError(new Error); + * // => true + * + * _.isError(Error); + * // => false + */ +function isError(value) { + if (!isObjectLike(value)) { + return false; + } + var tag = baseGetTag(value); + return tag == errorTag || tag == domExcTag || + (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value)); +} + +module.exports = isError; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isFinite.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isFinite.js" new file mode 100644 index 00000000..601842bc --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isFinite.js" @@ -0,0 +1,36 @@ +var root = require('./_root'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeIsFinite = root.isFinite; + +/** + * Checks if `value` is a finite primitive number. + * + * **Note:** This method is based on + * [`Number.isFinite`](https://mdn.io/Number/isFinite). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a finite number, else `false`. + * @example + * + * _.isFinite(3); + * // => true + * + * _.isFinite(Number.MIN_VALUE); + * // => true + * + * _.isFinite(Infinity); + * // => false + * + * _.isFinite('3'); + * // => false + */ +function isFinite(value) { + return typeof value == 'number' && nativeIsFinite(value); +} + +module.exports = isFinite; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isFunction.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isFunction.js" new file mode 100644 index 00000000..907a8cd8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isFunction.js" @@ -0,0 +1,37 @@ +var baseGetTag = require('./_baseGetTag'), + isObject = require('./isObject'); + +/** `Object#toString` result references. */ +var asyncTag = '[object AsyncFunction]', + funcTag = '[object Function]', + genTag = '[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(value) { + if (!isObject(value)) { + return false; + } + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 9 which returns 'object' for typed arrays and other constructors. + var tag = baseGetTag(value); + return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; +} + +module.exports = isFunction; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isInteger.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isInteger.js" new file mode 100644 index 00000000..66aa87d5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isInteger.js" @@ -0,0 +1,33 @@ +var toInteger = require('./toInteger'); + +/** + * Checks if `value` is an integer. + * + * **Note:** This method is based on + * [`Number.isInteger`](https://mdn.io/Number/isInteger). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an integer, else `false`. + * @example + * + * _.isInteger(3); + * // => true + * + * _.isInteger(Number.MIN_VALUE); + * // => false + * + * _.isInteger(Infinity); + * // => false + * + * _.isInteger('3'); + * // => false + */ +function isInteger(value) { + return typeof value == 'number' && value == toInteger(value); +} + +module.exports = isInteger; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isLength.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isLength.js" new file mode 100644 index 00000000..3a95caa9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isLength.js" @@ -0,0 +1,35 @@ +/** 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(value) { + return typeof value == 'number' && + value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; +} + +module.exports = isLength; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isMap.js" new file mode 100644 index 00000000..44f8517e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isMap.js" @@ -0,0 +1,27 @@ +var baseIsMap = require('./_baseIsMap'), + baseUnary = require('./_baseUnary'), + nodeUtil = require('./_nodeUtil'); + +/* Node.js helper references. */ +var nodeIsMap = nodeUtil && nodeUtil.isMap; + +/** + * Checks if `value` is classified as a `Map` object. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a map, else `false`. + * @example + * + * _.isMap(new Map); + * // => true + * + * _.isMap(new WeakMap); + * // => false + */ +var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap; + +module.exports = isMap; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isMatch.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isMatch.js" new file mode 100644 index 00000000..9773a18c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isMatch.js" @@ -0,0 +1,36 @@ +var baseIsMatch = require('./_baseIsMatch'), + getMatchData = require('./_getMatchData'); + +/** + * Performs a partial deep comparison between `object` and `source` to + * determine if `object` contains equivalent property values. + * + * **Note:** This method is equivalent to `_.matches` when `source` is + * partially applied. + * + * Partial comparisons will match empty array and empty object `source` + * values against any array or object value, respectively. See `_.isEqual` + * for a list of supported value comparisons. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Lang + * @param {Object} object The object to inspect. + * @param {Object} source The object of property values to match. + * @returns {boolean} Returns `true` if `object` is a match, else `false`. + * @example + * + * var object = { 'a': 1, 'b': 2 }; + * + * _.isMatch(object, { 'b': 2 }); + * // => true + * + * _.isMatch(object, { 'b': 1 }); + * // => false + */ +function isMatch(object, source) { + return object === source || baseIsMatch(object, source, getMatchData(source)); +} + +module.exports = isMatch; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isMatchWith.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isMatchWith.js" new file mode 100644 index 00000000..187b6a61 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isMatchWith.js" @@ -0,0 +1,41 @@ +var baseIsMatch = require('./_baseIsMatch'), + getMatchData = require('./_getMatchData'); + +/** + * This method is like `_.isMatch` except that it accepts `customizer` which + * is invoked to compare values. If `customizer` returns `undefined`, comparisons + * are handled by the method instead. The `customizer` is invoked with five + * arguments: (objValue, srcValue, index|key, object, source). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {Object} object The object to inspect. + * @param {Object} source The object of property values to match. + * @param {Function} [customizer] The function to customize comparisons. + * @returns {boolean} Returns `true` if `object` is a match, else `false`. + * @example + * + * function isGreeting(value) { + * return /^h(?:i|ello)$/.test(value); + * } + * + * function customizer(objValue, srcValue) { + * if (isGreeting(objValue) && isGreeting(srcValue)) { + * return true; + * } + * } + * + * var object = { 'greeting': 'hello' }; + * var source = { 'greeting': 'hi' }; + * + * _.isMatchWith(object, source, customizer); + * // => true + */ +function isMatchWith(object, source, customizer) { + customizer = typeof customizer == 'function' ? customizer : undefined; + return baseIsMatch(object, source, getMatchData(source), customizer); +} + +module.exports = isMatchWith; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNaN.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNaN.js" new file mode 100644 index 00000000..7d0d783b --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNaN.js" @@ -0,0 +1,38 @@ +var isNumber = require('./isNumber'); + +/** + * Checks if `value` is `NaN`. + * + * **Note:** This method is based on + * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as + * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for + * `undefined` and other non-number values. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. + * @example + * + * _.isNaN(NaN); + * // => true + * + * _.isNaN(new Number(NaN)); + * // => true + * + * isNaN(undefined); + * // => true + * + * _.isNaN(undefined); + * // => false + */ +function isNaN(value) { + // An `NaN` primitive is the only value that is not equal to itself. + // Perform the `toStringTag` check first to avoid errors with some + // ActiveX objects in IE. + return isNumber(value) && value != +value; +} + +module.exports = isNaN; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNative.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNative.js" new file mode 100644 index 00000000..f0cb8d58 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNative.js" @@ -0,0 +1,40 @@ +var baseIsNative = require('./_baseIsNative'), + isMaskable = require('./_isMaskable'); + +/** Error message constants. */ +var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.'; + +/** + * Checks if `value` is a pristine native function. + * + * **Note:** This method can't reliably detect native functions in the presence + * of the core-js package because core-js circumvents this kind of detection. + * Despite multiple requests, the core-js maintainer has made it clear: any + * attempt to fix the detection will be obstructed. As a result, we're left + * with little choice but to throw an error. Unfortunately, this also affects + * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill), + * which rely on core-js. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a native function, + * else `false`. + * @example + * + * _.isNative(Array.prototype.push); + * // => true + * + * _.isNative(_); + * // => false + */ +function isNative(value) { + if (isMaskable(value)) { + throw new Error(CORE_ERROR_TEXT); + } + return baseIsNative(value); +} + +module.exports = isNative; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNil.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNil.js" new file mode 100644 index 00000000..79f05052 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNil.js" @@ -0,0 +1,25 @@ +/** + * Checks if `value` is `null` or `undefined`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is nullish, else `false`. + * @example + * + * _.isNil(null); + * // => true + * + * _.isNil(void 0); + * // => true + * + * _.isNil(NaN); + * // => false + */ +function isNil(value) { + return value == null; +} + +module.exports = isNil; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNull.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNull.js" new file mode 100644 index 00000000..c0a374d7 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNull.js" @@ -0,0 +1,22 @@ +/** + * Checks if `value` is `null`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is `null`, else `false`. + * @example + * + * _.isNull(null); + * // => true + * + * _.isNull(void 0); + * // => false + */ +function isNull(value) { + return value === null; +} + +module.exports = isNull; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNumber.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNumber.js" new file mode 100644 index 00000000..cd34ee46 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isNumber.js" @@ -0,0 +1,38 @@ +var baseGetTag = require('./_baseGetTag'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var numberTag = '[object Number]'; + +/** + * Checks if `value` is classified as a `Number` primitive or object. + * + * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are + * classified as numbers, use the `_.isFinite` method. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a number, else `false`. + * @example + * + * _.isNumber(3); + * // => true + * + * _.isNumber(Number.MIN_VALUE); + * // => true + * + * _.isNumber(Infinity); + * // => true + * + * _.isNumber('3'); + * // => false + */ +function isNumber(value) { + return typeof value == 'number' || + (isObjectLike(value) && baseGetTag(value) == numberTag); +} + +module.exports = isNumber; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isObject.js" new file mode 100644 index 00000000..1dc89391 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isObject.js" @@ -0,0 +1,31 @@ +/** + * 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(value) { + var type = typeof value; + return value != null && (type == 'object' || type == 'function'); +} + +module.exports = isObject; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isObjectLike.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isObjectLike.js" new file mode 100644 index 00000000..301716b5 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isObjectLike.js" @@ -0,0 +1,29 @@ +/** + * 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(value) { + return value != null && typeof value == 'object'; +} + +module.exports = isObjectLike; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isPlainObject.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isPlainObject.js" new file mode 100644 index 00000000..23873731 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isPlainObject.js" @@ -0,0 +1,62 @@ +var baseGetTag = require('./_baseGetTag'), + getPrototype = require('./_getPrototype'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var objectTag = '[object Object]'; + +/** Used for built-in method references. */ +var funcProto = Function.prototype, + objectProto = Object.prototype; + +/** Used to resolve the decompiled source of functions. */ +var funcToString = funcProto.toString; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** Used to infer the `Object` constructor. */ +var objectCtorString = funcToString.call(Object); + +/** + * Checks if `value` is a plain object, that is, an object created by the + * `Object` constructor or one with a `[[Prototype]]` of `null`. + * + * @static + * @memberOf _ + * @since 0.8.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. + * @example + * + * function Foo() { + * this.a = 1; + * } + * + * _.isPlainObject(new Foo); + * // => false + * + * _.isPlainObject([1, 2, 3]); + * // => false + * + * _.isPlainObject({ 'x': 0, 'y': 0 }); + * // => true + * + * _.isPlainObject(Object.create(null)); + * // => true + */ +function isPlainObject(value) { + if (!isObjectLike(value) || baseGetTag(value) != objectTag) { + return false; + } + var proto = getPrototype(value); + if (proto === null) { + return true; + } + var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor; + return typeof Ctor == 'function' && Ctor instanceof Ctor && + funcToString.call(Ctor) == objectCtorString; +} + +module.exports = isPlainObject; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isRegExp.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isRegExp.js" new file mode 100644 index 00000000..76c9b6e9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isRegExp.js" @@ -0,0 +1,27 @@ +var baseIsRegExp = require('./_baseIsRegExp'), + baseUnary = require('./_baseUnary'), + nodeUtil = require('./_nodeUtil'); + +/* Node.js helper references. */ +var nodeIsRegExp = nodeUtil && nodeUtil.isRegExp; + +/** + * Checks if `value` is classified as a `RegExp` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. + * @example + * + * _.isRegExp(/abc/); + * // => true + * + * _.isRegExp('/abc/'); + * // => false + */ +var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp; + +module.exports = isRegExp; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isSafeInteger.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isSafeInteger.js" new file mode 100644 index 00000000..2a48526e --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isSafeInteger.js" @@ -0,0 +1,37 @@ +var isInteger = require('./isInteger'); + +/** Used as references for various `Number` constants. */ +var MAX_SAFE_INTEGER = 9007199254740991; + +/** + * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754 + * double precision number which isn't the result of a rounded unsafe integer. + * + * **Note:** This method is based on + * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`. + * @example + * + * _.isSafeInteger(3); + * // => true + * + * _.isSafeInteger(Number.MIN_VALUE); + * // => false + * + * _.isSafeInteger(Infinity); + * // => false + * + * _.isSafeInteger('3'); + * // => false + */ +function isSafeInteger(value) { + return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER; +} + +module.exports = isSafeInteger; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isSet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isSet.js" new file mode 100644 index 00000000..ab88bdf8 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isSet.js" @@ -0,0 +1,27 @@ +var baseIsSet = require('./_baseIsSet'), + baseUnary = require('./_baseUnary'), + nodeUtil = require('./_nodeUtil'); + +/* Node.js helper references. */ +var nodeIsSet = nodeUtil && nodeUtil.isSet; + +/** + * Checks if `value` is classified as a `Set` object. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a set, else `false`. + * @example + * + * _.isSet(new Set); + * // => true + * + * _.isSet(new WeakSet); + * // => false + */ +var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet; + +module.exports = isSet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isString.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isString.js" new file mode 100644 index 00000000..627eb9c3 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isString.js" @@ -0,0 +1,30 @@ +var baseGetTag = require('./_baseGetTag'), + isArray = require('./isArray'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var stringTag = '[object String]'; + +/** + * Checks if `value` is classified as a `String` primitive or object. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a string, else `false`. + * @example + * + * _.isString('abc'); + * // => true + * + * _.isString(1); + * // => false + */ +function isString(value) { + return typeof value == 'string' || + (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag); +} + +module.exports = isString; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isSymbol.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isSymbol.js" new file mode 100644 index 00000000..dfb60b97 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isSymbol.js" @@ -0,0 +1,29 @@ +var baseGetTag = require('./_baseGetTag'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var symbolTag = '[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(value) { + return typeof value == 'symbol' || + (isObjectLike(value) && baseGetTag(value) == symbolTag); +} + +module.exports = isSymbol; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isTypedArray.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isTypedArray.js" new file mode 100644 index 00000000..da3f8dd1 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isTypedArray.js" @@ -0,0 +1,27 @@ +var baseIsTypedArray = require('./_baseIsTypedArray'), + baseUnary = require('./_baseUnary'), + nodeUtil = require('./_nodeUtil'); + +/* Node.js helper references. */ +var nodeIsTypedArray = nodeUtil && nodeUtil.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 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; + +module.exports = isTypedArray; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isUndefined.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isUndefined.js" new file mode 100644 index 00000000..377d121a --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isUndefined.js" @@ -0,0 +1,22 @@ +/** + * Checks if `value` is `undefined`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. + * @example + * + * _.isUndefined(void 0); + * // => true + * + * _.isUndefined(null); + * // => false + */ +function isUndefined(value) { + return value === undefined; +} + +module.exports = isUndefined; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isWeakMap.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isWeakMap.js" new file mode 100644 index 00000000..8d36f663 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isWeakMap.js" @@ -0,0 +1,28 @@ +var getTag = require('./_getTag'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var weakMapTag = '[object WeakMap]'; + +/** + * Checks if `value` is classified as a `WeakMap` object. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a weak map, else `false`. + * @example + * + * _.isWeakMap(new WeakMap); + * // => true + * + * _.isWeakMap(new Map); + * // => false + */ +function isWeakMap(value) { + return isObjectLike(value) && getTag(value) == weakMapTag; +} + +module.exports = isWeakMap; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isWeakSet.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isWeakSet.js" new file mode 100644 index 00000000..e628b261 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/isWeakSet.js" @@ -0,0 +1,28 @@ +var baseGetTag = require('./_baseGetTag'), + isObjectLike = require('./isObjectLike'); + +/** `Object#toString` result references. */ +var weakSetTag = '[object WeakSet]'; + +/** + * Checks if `value` is classified as a `WeakSet` object. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a weak set, else `false`. + * @example + * + * _.isWeakSet(new WeakSet); + * // => true + * + * _.isWeakSet(new Set); + * // => false + */ +function isWeakSet(value) { + return isObjectLike(value) && baseGetTag(value) == weakSetTag; +} + +module.exports = isWeakSet; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/iteratee.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/iteratee.js" new file mode 100644 index 00000000..61b73a8c --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/iteratee.js" @@ -0,0 +1,53 @@ +var baseClone = require('./_baseClone'), + baseIteratee = require('./_baseIteratee'); + +/** Used to compose bitmasks for cloning. */ +var CLONE_DEEP_FLAG = 1; + +/** + * Creates a function that invokes `func` with the arguments of the created + * function. If `func` is a property name, the created function returns the + * property value for a given element. If `func` is an array or object, the + * created function returns `true` for elements that contain the equivalent + * source properties, otherwise it returns `false`. + * + * @static + * @since 4.0.0 + * @memberOf _ + * @category Util + * @param {*} [func=_.identity] The value to convert to a callback. + * @returns {Function} Returns the callback. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': true }, + * { 'user': 'fred', 'age': 40, 'active': false } + * ]; + * + * // The `_.matches` iteratee shorthand. + * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true })); + * // => [{ 'user': 'barney', 'age': 36, 'active': true }] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.filter(users, _.iteratee(['user', 'fred'])); + * // => [{ 'user': 'fred', 'age': 40 }] + * + * // The `_.property` iteratee shorthand. + * _.map(users, _.iteratee('user')); + * // => ['barney', 'fred'] + * + * // Create custom iteratee shorthands. + * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) { + * return !_.isRegExp(func) ? iteratee(func) : function(string) { + * return func.test(string); + * }; + * }); + * + * _.filter(['abc', 'def'], /ef/); + * // => ['def'] + */ +function iteratee(func) { + return baseIteratee(typeof func == 'function' ? func : baseClone(func, CLONE_DEEP_FLAG)); +} + +module.exports = iteratee; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/join.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/join.js" new file mode 100644 index 00000000..45de079f --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/join.js" @@ -0,0 +1,26 @@ +/** Used for built-in method references. */ +var arrayProto = Array.prototype; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeJoin = arrayProto.join; + +/** + * Converts all elements in `array` into a string separated by `separator`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to convert. + * @param {string} [separator=','] The element separator. + * @returns {string} Returns the joined string. + * @example + * + * _.join(['a', 'b', 'c'], '~'); + * // => 'a~b~c' + */ +function join(array, separator) { + return array == null ? '' : nativeJoin.call(array, separator); +} + +module.exports = join; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/kebabCase.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/kebabCase.js" new file mode 100644 index 00000000..8a52be64 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/kebabCase.js" @@ -0,0 +1,28 @@ +var createCompounder = require('./_createCompounder'); + +/** + * Converts `string` to + * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to convert. + * @returns {string} Returns the kebab cased string. + * @example + * + * _.kebabCase('Foo Bar'); + * // => 'foo-bar' + * + * _.kebabCase('fooBar'); + * // => 'foo-bar' + * + * _.kebabCase('__FOO_BAR__'); + * // => 'foo-bar' + */ +var kebabCase = createCompounder(function(result, word, index) { + return result + (index ? '-' : '') + word.toLowerCase(); +}); + +module.exports = kebabCase; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/keyBy.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/keyBy.js" new file mode 100644 index 00000000..acc007a0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/keyBy.js" @@ -0,0 +1,36 @@ +var baseAssignValue = require('./_baseAssignValue'), + createAggregator = require('./_createAggregator'); + +/** + * Creates an object composed of keys generated from the results of running + * each element of `collection` thru `iteratee`. The corresponding value of + * each key is the last element responsible for generating the key. The + * iteratee is invoked with one argument: (value). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The iteratee to transform keys. + * @returns {Object} Returns the composed aggregate object. + * @example + * + * var array = [ + * { 'dir': 'left', 'code': 97 }, + * { 'dir': 'right', 'code': 100 } + * ]; + * + * _.keyBy(array, function(o) { + * return String.fromCharCode(o.code); + * }); + * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } } + * + * _.keyBy(array, 'dir'); + * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } } + */ +var keyBy = createAggregator(function(result, value, key) { + baseAssignValue(result, key, value); +}); + +module.exports = keyBy; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/keys.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/keys.js" new file mode 100644 index 00000000..d143c718 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/keys.js" @@ -0,0 +1,37 @@ +var arrayLikeKeys = require('./_arrayLikeKeys'), + baseKeys = require('./_baseKeys'), + isArrayLike = require('./isArrayLike'); + +/** + * 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(object) { + return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); +} + +module.exports = keys; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/keysIn.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/keysIn.js" new file mode 100644 index 00000000..a62308f2 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/keysIn.js" @@ -0,0 +1,32 @@ +var arrayLikeKeys = require('./_arrayLikeKeys'), + baseKeysIn = require('./_baseKeysIn'), + isArrayLike = require('./isArrayLike'); + +/** + * 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(object) { + return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object); +} + +module.exports = keysIn; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lang.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lang.js" new file mode 100644 index 00000000..a3962169 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lang.js" @@ -0,0 +1,58 @@ +module.exports = { + 'castArray': require('./castArray'), + 'clone': require('./clone'), + 'cloneDeep': require('./cloneDeep'), + 'cloneDeepWith': require('./cloneDeepWith'), + 'cloneWith': require('./cloneWith'), + 'conformsTo': require('./conformsTo'), + 'eq': require('./eq'), + 'gt': require('./gt'), + 'gte': require('./gte'), + 'isArguments': require('./isArguments'), + 'isArray': require('./isArray'), + 'isArrayBuffer': require('./isArrayBuffer'), + 'isArrayLike': require('./isArrayLike'), + 'isArrayLikeObject': require('./isArrayLikeObject'), + 'isBoolean': require('./isBoolean'), + 'isBuffer': require('./isBuffer'), + 'isDate': require('./isDate'), + 'isElement': require('./isElement'), + 'isEmpty': require('./isEmpty'), + 'isEqual': require('./isEqual'), + 'isEqualWith': require('./isEqualWith'), + 'isError': require('./isError'), + 'isFinite': require('./isFinite'), + 'isFunction': require('./isFunction'), + 'isInteger': require('./isInteger'), + 'isLength': require('./isLength'), + 'isMap': require('./isMap'), + 'isMatch': require('./isMatch'), + 'isMatchWith': require('./isMatchWith'), + 'isNaN': require('./isNaN'), + 'isNative': require('./isNative'), + 'isNil': require('./isNil'), + 'isNull': require('./isNull'), + 'isNumber': require('./isNumber'), + 'isObject': require('./isObject'), + 'isObjectLike': require('./isObjectLike'), + 'isPlainObject': require('./isPlainObject'), + 'isRegExp': require('./isRegExp'), + 'isSafeInteger': require('./isSafeInteger'), + 'isSet': require('./isSet'), + 'isString': require('./isString'), + 'isSymbol': require('./isSymbol'), + 'isTypedArray': require('./isTypedArray'), + 'isUndefined': require('./isUndefined'), + 'isWeakMap': require('./isWeakMap'), + 'isWeakSet': require('./isWeakSet'), + 'lt': require('./lt'), + 'lte': require('./lte'), + 'toArray': require('./toArray'), + 'toFinite': require('./toFinite'), + 'toInteger': require('./toInteger'), + 'toLength': require('./toLength'), + 'toNumber': require('./toNumber'), + 'toPlainObject': require('./toPlainObject'), + 'toSafeInteger': require('./toSafeInteger'), + 'toString': require('./toString') +}; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/last.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/last.js" new file mode 100644 index 00000000..cad1eafa --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/last.js" @@ -0,0 +1,20 @@ +/** + * Gets the last element of `array`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to query. + * @returns {*} Returns the last element of `array`. + * @example + * + * _.last([1, 2, 3]); + * // => 3 + */ +function last(array) { + var length = array == null ? 0 : array.length; + return length ? array[length - 1] : undefined; +} + +module.exports = last; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lastIndexOf.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lastIndexOf.js" new file mode 100644 index 00000000..dabfb613 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lastIndexOf.js" @@ -0,0 +1,46 @@ +var baseFindIndex = require('./_baseFindIndex'), + baseIsNaN = require('./_baseIsNaN'), + strictLastIndexOf = require('./_strictLastIndexOf'), + toInteger = require('./toInteger'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max, + nativeMin = Math.min; + +/** + * This method is like `_.indexOf` except that it iterates over elements of + * `array` from right to left. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {*} value The value to search for. + * @param {number} [fromIndex=array.length-1] The index to search from. + * @returns {number} Returns the index of the matched value, else `-1`. + * @example + * + * _.lastIndexOf([1, 2, 1, 2], 2); + * // => 3 + * + * // Search from the `fromIndex`. + * _.lastIndexOf([1, 2, 1, 2], 2, 2); + * // => 1 + */ +function lastIndexOf(array, value, fromIndex) { + var length = array == null ? 0 : array.length; + if (!length) { + return -1; + } + var index = length; + if (fromIndex !== undefined) { + index = toInteger(fromIndex); + index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1); + } + return value === value + ? strictLastIndexOf(array, value, index) + : baseFindIndex(array, baseIsNaN, index, true); +} + +module.exports = lastIndexOf; diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lodash.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lodash.js" new file mode 100644 index 00000000..4131e936 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/app/node_modules/lodash/lodash.js" @@ -0,0 +1,17209 @@ +/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ +;(function() { + + /** Used as a safe reference for `undefined` in pre-ES5 environments. */ + var undefined; + + /** Used as the semantic version number. */ + var VERSION = '4.17.21'; + + /** Used as the size to enable large array optimizations. */ + var LARGE_ARRAY_SIZE = 200; + + /** Error message constants. */ + var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.', + FUNC_ERROR_TEXT = 'Expected a function', + INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`'; + + /** Used to stand-in for `undefined` hash values. */ + var HASH_UNDEFINED = '__lodash_hash_undefined__'; + + /** Used as the maximum memoize cache size. */ + var MAX_MEMOIZE_SIZE = 500; + + /** Used as the internal argument placeholder. */ + var PLACEHOLDER = '__lodash_placeholder__'; + + /** Used to compose bitmasks for cloning. */ + var CLONE_DEEP_FLAG = 1, + CLONE_FLAT_FLAG = 2, + CLONE_SYMBOLS_FLAG = 4; + + /** Used to compose bitmasks for value comparisons. */ + var COMPARE_PARTIAL_FLAG = 1, + COMPARE_UNORDERED_FLAG = 2; + + /** Used to compose bitmasks for function metadata. */ + var WRAP_BIND_FLAG = 1, + WRAP_BIND_KEY_FLAG = 2, + WRAP_CURRY_BOUND_FLAG = 4, + WRAP_CURRY_FLAG = 8, + WRAP_CURRY_RIGHT_FLAG = 16, + WRAP_PARTIAL_FLAG = 32, + WRAP_PARTIAL_RIGHT_FLAG = 64, + WRAP_ARY_FLAG = 128, + WRAP_REARG_FLAG = 256, + WRAP_FLIP_FLAG = 512; + + /** Used as default options for `_.truncate`. */ + var DEFAULT_TRUNC_LENGTH = 30, + DEFAULT_TRUNC_OMISSION = '...'; + + /** Used to detect hot functions by number of calls within a span of milliseconds. */ + var HOT_COUNT = 800, + HOT_SPAN = 16; + + /** Used to indicate the type of lazy iteratees. */ + var LAZY_FILTER_FLAG = 1, + LAZY_MAP_FLAG = 2, + LAZY_WHILE_FLAG = 3; + + /** Used as references for various `Number` constants. */ + var INFINITY = 1 / 0, + MAX_SAFE_INTEGER = 9007199254740991, + MAX_INTEGER = 1.7976931348623157e+308, + NAN = 0 / 0; + + /** Used as references for the maximum length and index of an array. */ + var MAX_ARRAY_LENGTH = 4294967295, + MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1, + HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1; + + /** Used to associate wrap methods with their bit flags. */ + var wrapFlags = [ + ['ary', WRAP_ARY_FLAG], + ['bind', WRAP_BIND_FLAG], + ['bindKey', WRAP_BIND_KEY_FLAG], + ['curry', WRAP_CURRY_FLAG], + ['curryRight', WRAP_CURRY_RIGHT_FLAG], + ['flip', WRAP_FLIP_FLAG], + ['partial', WRAP_PARTIAL_FLAG], + ['partialRight', WRAP_PARTIAL_RIGHT_FLAG], + ['rearg', WRAP_REARG_FLAG] + ]; + + /** `Object#toString` result references. */ + var argsTag = '[object Arguments]', + arrayTag = '[object Array]', + asyncTag = '[object AsyncFunction]', + boolTag = '[object Boolean]', + dateTag = '[object Date]', + domExcTag = '[object DOMException]', + errorTag = '[object Error]', + funcTag = '[object Function]', + genTag = '[object GeneratorFunction]', + mapTag = '[object Map]', + numberTag = '[object Number]', + nullTag = '[object Null]', + objectTag = '[object Object]', + promiseTag = '[object Promise]', + proxyTag = '[object Proxy]', + regexpTag = '[object RegExp]', + setTag = '[object Set]', + stringTag = '[object String]', + symbolTag = '[object Symbol]', + undefinedTag = '[object Undefined]', + weakMapTag = '[object WeakMap]', + weakSetTag = '[object WeakSet]'; + + var arrayBufferTag = '[object ArrayBuffer]', + dataViewTag = '[object DataView]', + float32Tag = '[object Float32Array]', + float64Tag = '[object Float64Array]', + int8Tag = '[object Int8Array]', + int16Tag = '[object Int16Array]', + int32Tag = '[object Int32Array]', + uint8Tag = '[object Uint8Array]', + uint8ClampedTag = '[object Uint8ClampedArray]', + uint16Tag = '[object Uint16Array]', + uint32Tag = '[object Uint32Array]'; + + /** Used to match empty string literals in compiled template source. */ + var reEmptyStringLeading = /\b__p \+= '';/g, + reEmptyStringMiddle = /\b(__p \+=) '' \+/g, + reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g; + + /** Used to match HTML entities and HTML characters. */ + var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g, + reUnescapedHtml = /[&<>"']/g, + reHasEscapedHtml = RegExp(reEscapedHtml.source), + reHasUnescapedHtml = RegExp(reUnescapedHtml.source); + + /** Used to match template delimiters. */ + var reEscape = /<%-([\s\S]+?)%>/g, + reEvaluate = /<%([\s\S]+?)%>/g, + reInterpolate = /<%=([\s\S]+?)%>/g; + + /** Used to match property names within property paths. */ + var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, + reIsPlainProp = /^\w*$/, + rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; + + /** + * Used to match `RegExp` + * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). + */ + var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, + reHasRegExpChar = RegExp(reRegExpChar.source); + + /** Used to match leading whitespace. */ + var reTrimStart = /^\s+/; + + /** Used to match a single whitespace character. */ + var reWhitespace = /\s/; + + /** Used to match wrap detail comments. */ + var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, + reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, + reSplitDetails = /,? & /; + + /** Used to match words composed of alphanumeric characters. */ + var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; + + /** + * Used to validate the `validate` option in `_.template` variable. + * + * Forbids characters which could potentially change the meaning of the function argument definition: + * - "()," (modification of function parameters) + * - "=" (default value) + * - "[]{}" (destructuring of function parameters) + * - "/" (beginning of a comment) + * - whitespace + */ + var reForbiddenIdentifierChars = /[()=,{}\[\]\/\s]/; + + /** Used to match backslashes in property paths. */ + var reEscapeChar = /\\(\\)?/g; + + /** + * Used to match + * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components). + */ + var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g; + + /** Used to match `RegExp` flags from their coerced string values. */ + var reFlags = /\w*$/; + + /** 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 host constructors (Safari). */ + var reIsHostCtor = /^\[object .+?Constructor\]$/; + + /** Used to detect octal string values. */ + var reIsOctal = /^0o[0-7]+$/i; + + /** Used to detect unsigned integer values. */ + var reIsUint = /^(?:0|[1-9]\d*)$/; + + /** Used to match Latin Unicode letters (excluding mathematical operators). */ + var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g; + + /** Used to ensure capturing order of template delimiters. */ + var reNoMatch = /($^)/; + + /** Used to match unescaped characters in compiled string literals. */ + var reUnescapedString = /['\n\r\u2028\u2029\\]/g; + + /** Used to compose unicode character classes. */ + var rsAstralRange = '\\ud800-\\udfff', + rsComboMarksRange = '\\u0300-\\u036f', + reComboHalfMarksRange = '\\ufe20-\\ufe2f', + rsComboSymbolsRange = '\\u20d0-\\u20ff', + rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, + rsDingbatRange = '\\u2700-\\u27bf', + rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff', + rsMathOpRange = '\\xac\\xb1\\xd7\\xf7', + rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf', + rsPunctuationRange = '\\u2000-\\u206f', + rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000', + rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde', + rsVarRange = '\\ufe0e\\ufe0f', + rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange; + + /** Used to compose unicode capture groups. */ + var rsApos = "['\u2019]", + rsAstral = '[' + rsAstralRange + ']', + rsBreak = '[' + rsBreakRange + ']', + rsCombo = '[' + rsComboRange + ']', + rsDigits = '\\d+', + rsDingbat = '[' + rsDingbatRange + ']', + rsLower = '[' + rsLowerRange + ']', + rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']', + rsFitz = '\\ud83c[\\udffb-\\udfff]', + rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')', + rsNonAstral = '[^' + rsAstralRange + ']', + rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}', + rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]', + rsUpper = '[' + rsUpperRange + ']', + rsZWJ = '\\u200d'; + + /** Used to compose unicode regexes. */ + var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')', + rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')', + rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?', + rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?', + reOptMod = rsModifier + '?', + rsOptVar = '[' + rsVarRange + ']?', + rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*', + rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])', + rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])', + rsSeq = rsOptVar + reOptMod + rsOptJoin, + rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq, + rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')'; + + /** Used to match apostrophes. */ + var reApos = RegExp(rsApos, 'g'); + + /** + * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and + * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols). + */ + var reComboMark = RegExp(rsCombo, 'g'); + + /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */ + var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g'); + + /** Used to match complex or compound words. */ + var reUnicodeWord = RegExp([ + rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')', + rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')', + rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower, + rsUpper + '+' + rsOptContrUpper, + rsOrdUpper, + rsOrdLower, + rsDigits, + rsEmoji + ].join('|'), 'g'); + + /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */ + var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']'); + + /** Used to detect strings that need a more robust regexp to match words. */ + var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/; + + /** Used to assign default `context` object properties. */ + var contextProps = [ + 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array', + 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object', + 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array', + 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap', + '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout' + ]; + + /** Used to make template sourceURLs easier to identify. */ + var templateCounter = -1; + + /** Used to identify `toStringTag` values of typed arrays. */ + var typedArrayTags = {}; + typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = + typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = + typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = + typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = + typedArrayTags[uint32Tag] = true; + typedArrayTags[argsTag] = typedArrayTags[arrayTag] = + typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = + typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = + typedArrayTags[errorTag] = typedArrayTags[funcTag] = + typedArrayTags[mapTag] = typedArrayTags[numberTag] = + typedArrayTags[objectTag] = typedArrayTags[regexpTag] = + typedArrayTags[setTag] = typedArrayTags[stringTag] = + typedArrayTags[weakMapTag] = false; + + /** Used to identify `toStringTag` values supported by `_.clone`. */ + var cloneableTags = {}; + cloneableTags[argsTag] = cloneableTags[arrayTag] = + cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = + cloneableTags[boolTag] = cloneableTags[dateTag] = + cloneableTags[float32Tag] = cloneableTags[float64Tag] = + cloneableTags[int8Tag] = cloneableTags[int16Tag] = + cloneableTags[int32Tag] = cloneableTags[mapTag] = + cloneableTags[numberTag] = cloneableTags[objectTag] = + cloneableTags[regexpTag] = cloneableTags[setTag] = + cloneableTags[stringTag] = cloneableTags[symbolTag] = + cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = + cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true; + cloneableTags[errorTag] = cloneableTags[funcTag] = + cloneableTags[weakMapTag] = false; + + /** Used to map Latin Unicode letters to basic Latin letters. */ + var deburredLetters = { + // Latin-1 Supplement block. + '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A', + '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a', + '\xc7': 'C', '\xe7': 'c', + '\xd0': 'D', '\xf0': 'd', + '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E', + '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e', + '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I', + '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i', + '\xd1': 'N', '\xf1': 'n', + '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O', + '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o', + '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U', + '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u', + '\xdd': 'Y', '\xfd': 'y', '\xff': 'y', + '\xc6': 'Ae', '\xe6': 'ae', + '\xde': 'Th', '\xfe': 'th', + '\xdf': 'ss', + // Latin Extended-A block. + '\u0100': 'A', '\u0102': 'A', '\u0104': 'A', + '\u0101': 'a', '\u0103': 'a', '\u0105': 'a', + '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C', + '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c', + '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd', + '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E', + '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e', + '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G', + '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g', + '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h', + '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I', + '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i', + '\u0134': 'J', '\u0135': 'j', + '\u0136': 'K', '\u0137': 'k', '\u0138': 'k', + '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L', + '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l', + '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N', + '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n', + '\u014c': 'O', '\u014e': 'O', '\u0150': 'O', + '\u014d': 'o', '\u014f': 'o', '\u0151': 'o', + '\u0154': 'R', '\u0156': 'R', '\u0158': 'R', + '\u0155': 'r', '\u0157': 'r', '\u0159': 'r', + '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S', + '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's', + '\u0162': 'T', '\u0164': 'T', '\u0166': 'T', + '\u0163': 't', '\u0165': 't', '\u0167': 't', + '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U', + '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u', + '\u0174': 'W', '\u0175': 'w', + '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y', + '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z', + '\u017a': 'z', '\u017c': 'z', '\u017e': 'z', + '\u0132': 'IJ', '\u0133': 'ij', + '\u0152': 'Oe', '\u0153': 'oe', + '\u0149': "'n", '\u017f': 's' + }; + + /** Used to map characters to HTML entities. */ + var htmlEscapes = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + "'": ''' + }; + + /** Used to map HTML entities to characters. */ + var htmlUnescapes = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + ''': "'" + }; + + /** Used to escape characters for inclusion in compiled string literals. */ + var stringEscapes = { + '\\': '\\', + "'": "'", + '\n': 'n', + '\r': 'r', + '\u2028': 'u2028', + '\u2029': 'u2029' + }; + + /** Built-in method references without a dependency on `root`. */ + var freeParseFloat = parseFloat, + freeParseInt = parseInt; + + /** Detect free variable `global` from Node.js. */ + var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; + + /** 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 || freeSelf || Function('return this')(); + + /** Detect free variable `exports`. */ + var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; + + /** Detect free variable `module`. */ + var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; + + /** Detect the popular CommonJS extension `module.exports`. */ + var moduleExports = freeModule && freeModule.exports === freeExports; + + /** Detect free variable `process` from Node.js. */ + var freeProcess = moduleExports && freeGlobal.process; + + /** Used to access faster Node.js helpers. */ + var nodeUtil = (function() { + try { + // Use `util.types` for Node.js 10+. + var types = freeModule && freeModule.require && freeModule.require('util').types; + + if (types) { + return types; + } + + // Legacy `process.binding('util')` for Node.js < 10. + return freeProcess && freeProcess.binding && freeProcess.binding('util'); + } catch (e) {} + }()); + + /* Node.js helper references. */ + var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, + nodeIsDate = nodeUtil && nodeUtil.isDate, + nodeIsMap = nodeUtil && nodeUtil.isMap, + nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, + nodeIsSet = nodeUtil && nodeUtil.isSet, + nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; + + /*--------------------------------------------------------------------------*/ + + /** + * 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); + } + + /** + * A specialized version of `baseAggregator` for arrays. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} setter The function to set `accumulator` values. + * @param {Function} iteratee The iteratee to transform keys. + * @param {Object} accumulator The initial aggregated object. + * @returns {Function} Returns `accumulator`. + */ + function arrayAggregator(array, setter, iteratee, accumulator) { + var index = -1, + length = array == null ? 0 : array.length; + + while (++index < length) { + var value = array[index]; + setter(accumulator, value, iteratee(value), array); + } + return accumulator; + } + + /** + * 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) { + var index = -1, + length = array == null ? 0 : array.length; + + while (++index < length) { + if (iteratee(array[index], index, array) === false) { + break; + } + } + return array; + } + + /** + * A specialized version of `_.forEachRight` 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 arrayEachRight(array, iteratee) { + var length = array == null ? 0 : array.length; + + while (length--) { + if (iteratee(array[length], length, array) === false) { + break; + } + } + return array; + } + + /** + * A specialized version of `_.every` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {boolean} Returns `true` if all elements pass the predicate check, + * else `false`. + */ + function arrayEvery(array, predicate) { + var index = -1, + length = array == null ? 0 : array.length; + + while (++index < length) { + if (!predicate(array[index], index, array)) { + return false; + } + } + return true; + } + + /** + * A specialized version of `_.filter` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {Array} Returns the new filtered array. + */ + function arrayFilter(array, predicate) { + var index = -1, + length = array == null ? 0 : array.length, + resIndex = 0, + result = []; + + while (++index < length) { + var value = array[index]; + if (predicate(value, index, array)) { + result[resIndex++] = value; + } + } + return result; + } + + /** + * A specialized version of `_.includes` for arrays without support for + * specifying an index to search from. + * + * @private + * @param {Array} [array] The array to inspect. + * @param {*} target The value to search for. + * @returns {boolean} Returns `true` if `target` is found, else `false`. + */ + function arrayIncludes(array, value) { + var length = array == null ? 0 : array.length; + return !!length && baseIndexOf(array, value, 0) > -1; + } + + /** + * This function is like `arrayIncludes` except that it accepts a comparator. + * + * @private + * @param {Array} [array] The array to inspect. + * @param {*} target The value to search for. + * @param {Function} comparator The comparator invoked per element. + * @returns {boolean} Returns `true` if `target` is found, else `false`. + */ + function arrayIncludesWith(array, value, comparator) { + var index = -1, + length = array == null ? 0 : array.length; + + while (++index < length) { + if (comparator(value, array[index])) { + return true; + } + } + return false; + } + + /** + * 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) { + var index = -1, + length = array == null ? 0 : array.length, + result = Array(length); + + while (++index < length) { + result[index] = iteratee(array[index], index, array); + } + return result; + } + + /** + * Appends the elements of `values` to `array`. + * + * @private + * @param {Array} array The array to modify. + * @param {Array} values The values to append. + * @returns {Array} Returns `array`. + */ + function arrayPush(array, values) { + var index = -1, + length = values.length, + offset = array.length; + + while (++index < length) { + array[offset + index] = values[index]; + } + return array; + } + + /** + * A specialized version of `_.reduce` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {*} [accumulator] The initial value. + * @param {boolean} [initAccum] Specify using the first element of `array` as + * the initial value. + * @returns {*} Returns the accumulated value. + */ + function arrayReduce(array, iteratee, accumulator, initAccum) { + var index = -1, + length = array == null ? 0 : array.length; + + if (initAccum && length) { + accumulator = array[++index]; + } + while (++index < length) { + accumulator = iteratee(accumulator, array[index], index, array); + } + return accumulator; + } + + /** + * A specialized version of `_.reduceRight` for arrays without support for + * iteratee shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {*} [accumulator] The initial value. + * @param {boolean} [initAccum] Specify using the last element of `array` as + * the initial value. + * @returns {*} Returns the accumulated value. + */ + function arrayReduceRight(array, iteratee, accumulator, initAccum) { + var length = array == null ? 0 : array.length; + if (initAccum && length) { + accumulator = array[--length]; + } + while (length--) { + accumulator = iteratee(accumulator, array[length], length, array); + } + return accumulator; + } + + /** + * A specialized version of `_.some` for arrays without support for iteratee + * shorthands. + * + * @private + * @param {Array} [array] The array to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {boolean} Returns `true` if any element passes the predicate check, + * else `false`. + */ + function arraySome(array, predicate) { + var index = -1, + length = array == null ? 0 : array.length; + + while (++index < length) { + if (predicate(array[index], index, array)) { + return true; + } + } + return false; + } + + /** + * Gets the size of an ASCII `string`. + * + * @private + * @param {string} string The string inspect. + * @returns {number} Returns the string size. + */ + var asciiSize = baseProperty('length'); + + /** + * Converts an ASCII `string` to an array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the converted array. + */ + function asciiToArray(string) { + return string.split(''); + } + + /** + * Splits an ASCII `string` into an array of its words. + * + * @private + * @param {string} The string to inspect. + * @returns {Array} Returns the words of `string`. + */ + function asciiWords(string) { + return string.match(reAsciiWord) || []; + } + + /** + * The base implementation of methods like `_.findKey` and `_.findLastKey`, + * without support for iteratee shorthands, which iterates over `collection` + * using `eachFunc`. + * + * @private + * @param {Array|Object} collection The collection to inspect. + * @param {Function} predicate The function invoked per iteration. + * @param {Function} eachFunc The function to iterate over `collection`. + * @returns {*} Returns the found element or its key, else `undefined`. + */ + function baseFindKey(collection, predicate, eachFunc) { + var result; + eachFunc(collection, function(value, key, collection) { + if (predicate(value, key, collection)) { + result = key; + return false; + } + }); + return result; + } + + /** + * 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 = fromIndex + (fromRight ? 1 : -1); + + while ((fromRight ? index-- : ++index < length)) { + if (predicate(array[index], index, array)) { + return index; + } + } + return -1; + } + + /** + * 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, fromIndex) { + return value === value + ? strictIndexOf(array, value, fromIndex) + : baseFindIndex(array, baseIsNaN, fromIndex); + } + + /** + * This function is like `baseIndexOf` except that it accepts a comparator. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} value The value to search for. + * @param {number} fromIndex The index to search from. + * @param {Function} comparator The comparator invoked per element. + * @returns {number} Returns the index of the matched value, else `-1`. + */ + function baseIndexOfWith(array, value, fromIndex, comparator) { + var index = fromIndex - 1, + length = array.length; + + while (++index < length) { + if (comparator(array[index], value)) { + return index; + } + } + return -1; + } + + /** + * 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) { + return value !== value; + } + + /** + * The base implementation of `_.mean` and `_.meanBy` without support for + * iteratee shorthands. + * + * @private + * @param {Array} array The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {number} Returns the mean. + */ + function baseMean(array, iteratee) { + var length = array == null ? 0 : array.length; + return length ? (baseSum(array, iteratee) / length) : NAN; + } + + /** + * The base implementation of `_.property` without support for deep paths. + * + * @private + * @param {string} key The key of the property to get. + * @returns {Function} Returns the new accessor function. + */ + function baseProperty(key) { + return function(object) { + return object == null ? undefined : object[key]; + }; + } + + /** + * The base implementation of `_.propertyOf` without support for deep paths. + * + * @private + * @param {Object} object The object to query. + * @returns {Function} Returns the new accessor function. + */ + function basePropertyOf(object) { + return function(key) { + return object == null ? undefined : object[key]; + }; + } + + /** + * The base implementation of `_.reduce` and `_.reduceRight`, without support + * for iteratee shorthands, which iterates over `collection` using `eachFunc`. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {*} accumulator The initial value. + * @param {boolean} initAccum Specify using the first or last element of + * `collection` as the initial value. + * @param {Function} eachFunc The function to iterate over `collection`. + * @returns {*} Returns the accumulated value. + */ + function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) { + eachFunc(collection, function(value, index, collection) { + accumulator = initAccum + ? (initAccum = false, value) + : iteratee(accumulator, value, index, collection); + }); + return accumulator; + } + + /** + * The base implementation of `_.sortBy` which uses `comparer` to define the + * sort order of `array` and replaces criteria objects with their corresponding + * values. + * + * @private + * @param {Array} array The array to sort. + * @param {Function} comparer The function to define sort order. + * @returns {Array} Returns `array`. + */ + function baseSortBy(array, comparer) { + var length = array.length; + + array.sort(comparer); + while (length--) { + array[length] = array[length].value; + } + return array; + } + + /** + * The base implementation of `_.sum` and `_.sumBy` without support for + * iteratee shorthands. + * + * @private + * @param {Array} array The array to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {number} Returns the sum. + */ + function baseSum(array, iteratee) { + var result, + index = -1, + length = array.length; + + while (++index < length) { + var current = iteratee(array[index]); + if (current !== undefined) { + result = result === undefined ? current : (result + current); + } + } + return result; + } + + /** + * 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) { + var index = -1, + result = Array(n); + + while (++index < n) { + result[index] = iteratee(index); + } + return result; + } + + /** + * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array + * of key-value pairs for `object` corresponding to the property names of `props`. + * + * @private + * @param {Object} object The object to query. + * @param {Array} props The property names to get values for. + * @returns {Object} Returns the key-value pairs. + */ + function baseToPairs(object, props) { + return arrayMap(props, function(key) { + return [key, object[key]]; + }); + } + + /** + * 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(string) + 1).replace(reTrimStart, '') + : string; + } + + /** + * 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) { + return func(value); + }; + } + + /** + * The base implementation of `_.values` and `_.valuesIn` which creates an + * array of `object` property values corresponding to the property names + * of `props`. + * + * @private + * @param {Object} object The object to query. + * @param {Array} props The property names to get values for. + * @returns {Object} Returns the array of property values. + */ + function baseValues(object, props) { + return arrayMap(props, function(key) { + return object[key]; + }); + } + + /** + * Checks if a `cache` value for `key` exists. + * + * @private + * @param {Object} cache The cache to query. + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function cacheHas(cache, key) { + return cache.has(key); + } + + /** + * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol + * that is not found in the character symbols. + * + * @private + * @param {Array} strSymbols The string symbols to inspect. + * @param {Array} chrSymbols The character symbols to find. + * @returns {number} Returns the index of the first unmatched string symbol. + */ + function charsStartIndex(strSymbols, chrSymbols) { + var index = -1, + length = strSymbols.length; + + while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} + return index; + } + + /** + * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol + * that is not found in the character symbols. + * + * @private + * @param {Array} strSymbols The string symbols to inspect. + * @param {Array} chrSymbols The character symbols to find. + * @returns {number} Returns the index of the last unmatched string symbol. + */ + function charsEndIndex(strSymbols, chrSymbols) { + var index = strSymbols.length; + + while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} + return index; + } + + /** + * Gets the number of `placeholder` occurrences in `array`. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} placeholder The placeholder to search for. + * @returns {number} Returns the placeholder count. + */ + function countHolders(array, placeholder) { + var length = array.length, + result = 0; + + while (length--) { + if (array[length] === placeholder) { + ++result; + } + } + return result; + } + + /** + * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A + * letters to basic Latin letters. + * + * @private + * @param {string} letter The matched letter to deburr. + * @returns {string} Returns the deburred letter. + */ + var deburrLetter = basePropertyOf(deburredLetters); + + /** + * Used by `_.escape` to convert characters to HTML entities. + * + * @private + * @param {string} chr The matched character to escape. + * @returns {string} Returns the escaped character. + */ + var escapeHtmlChar = basePropertyOf(htmlEscapes); + + /** + * Used by `_.template` to escape characters for inclusion in compiled string literals. + * + * @private + * @param {string} chr The matched character to escape. + * @returns {string} Returns the escaped character. + */ + function escapeStringChar(chr) { + return '\\' + stringEscapes[chr]; + } + + /** + * 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 ? undefined : object[key]; + } + + /** + * Checks if `string` contains Unicode symbols. + * + * @private + * @param {string} string The string to inspect. + * @returns {boolean} Returns `true` if a symbol is found, else `false`. + */ + function hasUnicode(string) { + return reHasUnicode.test(string); + } + + /** + * Checks if `string` contains a word composed of Unicode symbols. + * + * @private + * @param {string} string The string to inspect. + * @returns {boolean} Returns `true` if a word is found, else `false`. + */ + function hasUnicodeWord(string) { + return reHasUnicodeWord.test(string); + } + + /** + * Converts `iterator` to an array. + * + * @private + * @param {Object} iterator The iterator to convert. + * @returns {Array} Returns the converted array. + */ + function iteratorToArray(iterator) { + var data, + result = []; + + while (!(data = iterator.next()).done) { + result.push(data.value); + } + return result; + } + + /** + * Converts `map` to its key-value pairs. + * + * @private + * @param {Object} map The map to convert. + * @returns {Array} Returns the key-value pairs. + */ + function mapToArray(map) { + var index = -1, + result = Array(map.size); + + map.forEach(function(value, key) { + result[++index] = [key, value]; + }); + return result; + } + + /** + * 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) { + return function(arg) { + return func(transform(arg)); + }; + } + + /** + * Replaces all `placeholder` elements in `array` with an internal placeholder + * and returns an array of their indexes. + * + * @private + * @param {Array} array The array to modify. + * @param {*} placeholder The placeholder to replace. + * @returns {Array} Returns the new array of placeholder indexes. + */ + function replaceHolders(array, placeholder) { + var index = -1, + length = array.length, + resIndex = 0, + result = []; + + while (++index < length) { + var value = array[index]; + if (value === placeholder || value === PLACEHOLDER) { + array[index] = PLACEHOLDER; + result[resIndex++] = index; + } + } + return result; + } + + /** + * Converts `set` to an array of its values. + * + * @private + * @param {Object} set The set to convert. + * @returns {Array} Returns the values. + */ + function setToArray(set) { + var index = -1, + result = Array(set.size); + + set.forEach(function(value) { + result[++index] = value; + }); + return result; + } + + /** + * Converts `set` to its value-value pairs. + * + * @private + * @param {Object} set The set to convert. + * @returns {Array} Returns the value-value pairs. + */ + function setToPairs(set) { + var index = -1, + result = Array(set.size); + + set.forEach(function(value) { + result[++index] = [value, value]; + }); + return result; + } + + /** + * 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, fromIndex) { + var index = fromIndex - 1, + length = array.length; + + while (++index < length) { + if (array[index] === value) { + return index; + } + } + return -1; + } + + /** + * A specialized version of `_.lastIndexOf` 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 strictLastIndexOf(array, value, fromIndex) { + var index = fromIndex + 1; + while (index--) { + if (array[index] === value) { + return index; + } + } + return index; + } + + /** + * Gets the number of symbols in `string`. + * + * @private + * @param {string} string The string to inspect. + * @returns {number} Returns the string size. + */ + function stringSize(string) { + return hasUnicode(string) + ? unicodeSize(string) + : asciiSize(string); + } + + /** + * Converts `string` to an array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the converted array. + */ + function stringToArray(string) { + return hasUnicode(string) + ? unicodeToArray(string) + : asciiToArray(string); + } + + /** + * 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 = string.length; + + while (index-- && reWhitespace.test(string.charAt(index))) {} + return index; + } + + /** + * Used by `_.unescape` to convert HTML entities to characters. + * + * @private + * @param {string} chr The matched character to unescape. + * @returns {string} Returns the unescaped character. + */ + var unescapeHtmlChar = basePropertyOf(htmlUnescapes); + + /** + * Gets the size of a Unicode `string`. + * + * @private + * @param {string} string The string inspect. + * @returns {number} Returns the string size. + */ + function unicodeSize(string) { + var result = reUnicode.lastIndex = 0; + while (reUnicode.test(string)) { + ++result; + } + return result; + } + + /** + * Converts a Unicode `string` to an array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the converted array. + */ + function unicodeToArray(string) { + return string.match(reUnicode) || []; + } + + /** + * Splits a Unicode `string` into an array of its words. + * + * @private + * @param {string} The string to inspect. + * @returns {Array} Returns the words of `string`. + */ + function unicodeWords(string) { + return string.match(reUnicodeWord) || []; + } + + /*--------------------------------------------------------------------------*/ + + /** + * Create a new pristine `lodash` function using the `context` object. + * + * @static + * @memberOf _ + * @since 1.1.0 + * @category Util + * @param {Object} [context=root] The context object. + * @returns {Function} Returns a new `lodash` function. + * @example + * + * _.mixin({ 'foo': _.constant('foo') }); + * + * var lodash = _.runInContext(); + * lodash.mixin({ 'bar': lodash.constant('bar') }); + * + * _.isFunction(_.foo); + * // => true + * _.isFunction(_.bar); + * // => false + * + * lodash.isFunction(lodash.foo); + * // => false + * lodash.isFunction(lodash.bar); + * // => true + * + * // Create a suped-up `defer` in Node.js. + * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer; + */ + var runInContext = (function runInContext(context) { + context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps)); + + /** Built-in constructor references. */ + var Array = context.Array, + Date = context.Date, + Error = context.Error, + Function = context.Function, + Math = context.Math, + Object = context.Object, + RegExp = context.RegExp, + String = context.String, + TypeError = context.TypeError; + + /** Used for built-in method references. */ + var arrayProto = Array.prototype, + funcProto = Function.prototype, + objectProto = Object.prototype; + + /** Used to detect overreaching core-js shims. */ + var coreJsData = context['__core-js_shared__']; + + /** Used to resolve the decompiled source of functions. */ + var funcToString = funcProto.toString; + + /** Used to check objects for own properties. */ + var hasOwnProperty = objectProto.hasOwnProperty; + + /** Used to generate unique IDs. */ + var idCounter = 0; + + /** Used to detect methods masquerading as native. */ + var maskSrcKey = (function() { + var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); + return uid ? ('Symbol(src)_1.' + uid) : ''; + }()); + + /** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ + var nativeObjectToString = objectProto.toString; + + /** Used to infer the `Object` constructor. */ + var objectCtorString = funcToString.call(Object); + + /** Used to restore the original `_` reference in `_.noConflict`. */ + var oldDash = root._; + + /** Used to detect if a method is native. */ + var reIsNative = RegExp('^' + + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') + .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' + ); + + /** Built-in value references. */ + var Buffer = moduleExports ? context.Buffer : undefined, + Symbol = context.Symbol, + Uint8Array = context.Uint8Array, + allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined, + getPrototype = overArg(Object.getPrototypeOf, Object), + objectCreate = Object.create, + propertyIsEnumerable = objectProto.propertyIsEnumerable, + splice = arrayProto.splice, + spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined, + symIterator = Symbol ? Symbol.iterator : undefined, + symToStringTag = Symbol ? Symbol.toStringTag : undefined; + + var defineProperty = (function() { + try { + var func = getNative(Object, 'defineProperty'); + func({}, '', {}); + return func; + } catch (e) {} + }()); + + /** Mocked built-ins. */ + var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, + ctxNow = Date && Date.now !== root.Date.now && Date.now, + ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout; + + /* Built-in method references for those with the same name as other `lodash` methods. */ + var nativeCeil = Math.ceil, + nativeFloor = Math.floor, + nativeGetSymbols = Object.getOwnPropertySymbols, + nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined, + nativeIsFinite = context.isFinite, + nativeJoin = arrayProto.join, + nativeKeys = overArg(Object.keys, Object), + nativeMax = Math.max, + nativeMin = Math.min, + nativeNow = Date.now, + nativeParseInt = context.parseInt, + nativeRandom = Math.random, + nativeReverse = arrayProto.reverse; + + /* Built-in method references that are verified to be native. */ + var DataView = getNative(context, 'DataView'), + Map = getNative(context, 'Map'), + Promise = getNative(context, 'Promise'), + Set = getNative(context, 'Set'), + WeakMap = getNative(context, 'WeakMap'), + nativeCreate = getNative(Object, 'create'); + + /** Used to store function metadata. */ + var metaMap = WeakMap && new WeakMap; + + /** Used to lookup unminified function names. */ + var realNames = {}; + + /** Used to detect maps, sets, and weakmaps. */ + var dataViewCtorString = toSource(DataView), + mapCtorString = toSource(Map), + promiseCtorString = toSource(Promise), + setCtorString = toSource(Set), + weakMapCtorString = toSource(WeakMap); + + /** Used to convert symbols to primitives and strings. */ + var symbolProto = Symbol ? Symbol.prototype : undefined, + symbolValueOf = symbolProto ? symbolProto.valueOf : undefined, + symbolToString = symbolProto ? symbolProto.toString : undefined; + + /*------------------------------------------------------------------------*/ + + /** + * Creates a `lodash` object which wraps `value` to enable implicit method + * chain sequences. Methods that operate on and return arrays, collections, + * and functions can be chained together. Methods that retrieve a single value + * or may return a primitive value will automatically end the chain sequence + * and return the unwrapped value. Otherwise, the value must be unwrapped + * with `_#value`. + * + * Explicit chain sequences, which must be unwrapped with `_#value`, may be + * enabled using `_.chain`. + * + * The execution of chained methods is lazy, that is, it's deferred until + * `_#value` is implicitly or explicitly called. + * + * Lazy evaluation allows several methods to support shortcut fusion. + * Shortcut fusion is an optimization to merge iteratee calls; this avoids + * the creation of intermediate arrays and can greatly reduce the number of + * iteratee executions. Sections of a chain sequence qualify for shortcut + * fusion if the section is applied to an array and iteratees accept only + * one argument. The heuristic for whether a section qualifies for shortcut + * fusion is subject to change. + * + * Chaining is supported in custom builds as long as the `_#value` method is + * directly or indirectly included in the build. + * + * In addition to lodash methods, wrappers have `Array` and `String` methods. + * + * The wrapper `Array` methods are: + * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift` + * + * The wrapper `String` methods are: + * `replace` and `split` + * + * The wrapper methods that support shortcut fusion are: + * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`, + * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`, + * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray` + * + * The chainable wrapper methods are: + * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`, + * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`, + * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`, + * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`, + * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`, + * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`, + * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`, + * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`, + * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`, + * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`, + * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`, + * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`, + * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`, + * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`, + * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`, + * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`, + * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`, + * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`, + * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`, + * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`, + * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`, + * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`, + * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`, + * `zipObject`, `zipObjectDeep`, and `zipWith` + * + * The wrapper methods that are **not** chainable by default are: + * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`, + * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`, + * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`, + * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`, + * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`, + * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`, + * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`, + * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`, + * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`, + * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`, + * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`, + * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`, + * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`, + * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`, + * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`, + * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`, + * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`, + * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`, + * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`, + * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`, + * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`, + * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`, + * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`, + * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`, + * `upperFirst`, `value`, and `words` + * + * @name _ + * @constructor + * @category Seq + * @param {*} value The value to wrap in a `lodash` instance. + * @returns {Object} Returns the new `lodash` wrapper instance. + * @example + * + * function square(n) { + * return n * n; + * } + * + * var wrapped = _([1, 2, 3]); + * + * // Returns an unwrapped value. + * wrapped.reduce(_.add); + * // => 6 + * + * // Returns a wrapped value. + * var squares = wrapped.map(square); + * + * _.isArray(squares); + * // => false + * + * _.isArray(squares.value()); + * // => true + */ + function lodash(value) { + if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) { + if (value instanceof LodashWrapper) { + return value; + } + if (hasOwnProperty.call(value, '__wrapped__')) { + return wrapperClone(value); + } + } + return new LodashWrapper(value); + } + + /** + * 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(proto)) { + return {}; + } + if (objectCreate) { + return objectCreate(proto); + } + object.prototype = proto; + var result = new object; + object.prototype = undefined; + return result; + }; + }()); + + /** + * The function whose prototype chain sequence wrappers inherit from. + * + * @private + */ + function baseLodash() { + // No operation performed. + } + + /** + * The base constructor for creating `lodash` wrapper objects. + * + * @private + * @param {*} value The value to wrap. + * @param {boolean} [chainAll] Enable explicit method chain sequences. + */ + function LodashWrapper(value, chainAll) { + this.__wrapped__ = value; + this.__actions__ = []; + this.__chain__ = !!chainAll; + this.__index__ = 0; + this.__values__ = undefined; + } + + /** + * By default, the template delimiters used by lodash are like those in + * embedded Ruby (ERB) as well as ES2015 template strings. Change the + * following template settings to use alternative delimiters. + * + * @static + * @memberOf _ + * @type {Object} + */ + lodash.templateSettings = { + + /** + * Used to detect `data` property values to be HTML-escaped. + * + * @memberOf _.templateSettings + * @type {RegExp} + */ + 'escape': reEscape, + + /** + * Used to detect code to be evaluated. + * + * @memberOf _.templateSettings + * @type {RegExp} + */ + 'evaluate': reEvaluate, + + /** + * Used to detect `data` property values to inject. + * + * @memberOf _.templateSettings + * @type {RegExp} + */ + 'interpolate': reInterpolate, + + /** + * Used to reference the data object in the template text. + * + * @memberOf _.templateSettings + * @type {string} + */ + 'variable': '', + + /** + * Used to import variables into the compiled template. + * + * @memberOf _.templateSettings + * @type {Object} + */ + 'imports': { + + /** + * A reference to the `lodash` function. + * + * @memberOf _.templateSettings.imports + * @type {Function} + */ + '_': lodash + } + }; + + // Ensure wrappers are instances of `baseLodash`. + lodash.prototype = baseLodash.prototype; + lodash.prototype.constructor = lodash; + + LodashWrapper.prototype = baseCreate(baseLodash.prototype); + LodashWrapper.prototype.constructor = LodashWrapper; + + /*------------------------------------------------------------------------*/ + + /** + * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation. + * + * @private + * @constructor + * @param {*} value The value to wrap. + */ + function LazyWrapper(value) { + this.__wrapped__ = value; + this.__actions__ = []; + this.__dir__ = 1; + this.__filtered__ = false; + this.__iteratees__ = []; + this.__takeCount__ = MAX_ARRAY_LENGTH; + this.__views__ = []; + } + + /** + * Creates a clone of the lazy wrapper object. + * + * @private + * @name clone + * @memberOf LazyWrapper + * @returns {Object} Returns the cloned `LazyWrapper` object. + */ + function lazyClone() { + var result = new LazyWrapper(this.__wrapped__); + result.__actions__ = copyArray(this.__actions__); + result.__dir__ = this.__dir__; + result.__filtered__ = this.__filtered__; + result.__iteratees__ = copyArray(this.__iteratees__); + result.__takeCount__ = this.__takeCount__; + result.__views__ = copyArray(this.__views__); + return result; + } + + /** + * Reverses the direction of lazy iteration. + * + * @private + * @name reverse + * @memberOf LazyWrapper + * @returns {Object} Returns the new reversed `LazyWrapper` object. + */ + function lazyReverse() { + if (this.__filtered__) { + var result = new LazyWrapper(this); + result.__dir__ = -1; + result.__filtered__ = true; + } else { + result = this.clone(); + result.__dir__ *= -1; + } + return result; + } + + /** + * Extracts the unwrapped value from its lazy wrapper. + * + * @private + * @name value + * @memberOf LazyWrapper + * @returns {*} Returns the unwrapped value. + */ + function lazyValue() { + var array = this.__wrapped__.value(), + dir = this.__dir__, + isArr = isArray(array), + isRight = dir < 0, + arrLength = isArr ? array.length : 0, + view = getView(0, arrLength, this.__views__), + start = view.start, + end = view.end, + length = end - start, + index = isRight ? end : (start - 1), + iteratees = this.__iteratees__, + iterLength = iteratees.length, + resIndex = 0, + takeCount = nativeMin(length, this.__takeCount__); + + if (!isArr || (!isRight && arrLength == length && takeCount == length)) { + return baseWrapperValue(array, this.__actions__); + } + var result = []; + + outer: + while (length-- && resIndex < takeCount) { + index += dir; + + var iterIndex = -1, + value = array[index]; + + while (++iterIndex < iterLength) { + var data = iteratees[iterIndex], + iteratee = data.iteratee, + type = data.type, + computed = iteratee(value); + + if (type == LAZY_MAP_FLAG) { + value = computed; + } else if (!computed) { + if (type == LAZY_FILTER_FLAG) { + continue outer; + } else { + break outer; + } + } + } + result[resIndex++] = value; + } + return result; + } + + // Ensure `LazyWrapper` is an instance of `baseLodash`. + LazyWrapper.prototype = baseCreate(baseLodash.prototype); + LazyWrapper.prototype.constructor = LazyWrapper; + + /*------------------------------------------------------------------------*/ + + /** + * Creates a hash object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ + function Hash(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } + } + + /** + * Removes all key-value entries from the hash. + * + * @private + * @name clear + * @memberOf Hash + */ + function hashClear() { + this.__data__ = nativeCreate ? nativeCreate(null) : {}; + this.size = 0; + } + + /** + * Removes `key` and its value from the hash. + * + * @private + * @name delete + * @memberOf Hash + * @param {Object} hash The hash to modify. + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ + function hashDelete(key) { + var result = this.has(key) && delete this.__data__[key]; + this.size -= result ? 1 : 0; + return result; + } + + /** + * Gets the hash value for `key`. + * + * @private + * @name get + * @memberOf Hash + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ + function hashGet(key) { + var data = this.__data__; + if (nativeCreate) { + var result = data[key]; + return result === HASH_UNDEFINED ? undefined : result; + } + return hasOwnProperty.call(data, key) ? data[key] : undefined; + } + + /** + * Checks if a hash value for `key` exists. + * + * @private + * @name has + * @memberOf Hash + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function hashHas(key) { + var data = this.__data__; + return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); + } + + /** + * Sets the hash `key` to `value`. + * + * @private + * @name set + * @memberOf Hash + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the hash instance. + */ + function hashSet(key, value) { + var data = this.__data__; + this.size += this.has(key) ? 0 : 1; + data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; + return this; + } + + // Add methods to `Hash`. + Hash.prototype.clear = hashClear; + Hash.prototype['delete'] = hashDelete; + Hash.prototype.get = hashGet; + Hash.prototype.has = hashHas; + Hash.prototype.set = hashSet; + + /*------------------------------------------------------------------------*/ + + /** + * Creates an list cache object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ + function ListCache(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } + } + + /** + * Removes all key-value entries from the list cache. + * + * @private + * @name clear + * @memberOf ListCache + */ + function listCacheClear() { + this.__data__ = []; + this.size = 0; + } + + /** + * Removes `key` and its value from the list cache. + * + * @private + * @name delete + * @memberOf ListCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ + function listCacheDelete(key) { + var data = this.__data__, + index = assocIndexOf(data, key); + + if (index < 0) { + return false; + } + var lastIndex = data.length - 1; + if (index == lastIndex) { + data.pop(); + } else { + splice.call(data, index, 1); + } + --this.size; + return true; + } + + /** + * Gets the list cache value for `key`. + * + * @private + * @name get + * @memberOf ListCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ + function listCacheGet(key) { + var data = this.__data__, + index = assocIndexOf(data, key); + + return index < 0 ? undefined : data[index][1]; + } + + /** + * Checks if a list cache value for `key` exists. + * + * @private + * @name has + * @memberOf ListCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function listCacheHas(key) { + return assocIndexOf(this.__data__, key) > -1; + } + + /** + * Sets the list cache `key` to `value`. + * + * @private + * @name set + * @memberOf ListCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the list cache instance. + */ + function listCacheSet(key, value) { + var data = this.__data__, + index = assocIndexOf(data, key); + + if (index < 0) { + ++this.size; + data.push([key, value]); + } else { + data[index][1] = value; + } + return this; + } + + // Add methods to `ListCache`. + ListCache.prototype.clear = listCacheClear; + ListCache.prototype['delete'] = listCacheDelete; + ListCache.prototype.get = listCacheGet; + ListCache.prototype.has = listCacheHas; + ListCache.prototype.set = listCacheSet; + + /*------------------------------------------------------------------------*/ + + /** + * Creates a map cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ + function MapCache(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } + } + + /** + * Removes all key-value entries from the map. + * + * @private + * @name clear + * @memberOf MapCache + */ + function mapCacheClear() { + this.size = 0; + this.__data__ = { + 'hash': new Hash, + 'map': new (Map || ListCache), + 'string': new Hash + }; + } + + /** + * Removes `key` and its value from the map. + * + * @private + * @name delete + * @memberOf MapCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ + function mapCacheDelete(key) { + var result = getMapData(this, key)['delete'](key); + this.size -= result ? 1 : 0; + return result; + } + + /** + * Gets the map value for `key`. + * + * @private + * @name get + * @memberOf MapCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ + function mapCacheGet(key) { + return getMapData(this, key).get(key); + } + + /** + * Checks if a map value for `key` exists. + * + * @private + * @name has + * @memberOf MapCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function mapCacheHas(key) { + return getMapData(this, key).has(key); + } + + /** + * Sets the map `key` to `value`. + * + * @private + * @name set + * @memberOf MapCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the map cache instance. + */ + function mapCacheSet(key, value) { + var data = getMapData(this, key), + size = data.size; + + data.set(key, value); + this.size += data.size == size ? 0 : 1; + return this; + } + + // Add methods to `MapCache`. + MapCache.prototype.clear = mapCacheClear; + MapCache.prototype['delete'] = mapCacheDelete; + MapCache.prototype.get = mapCacheGet; + MapCache.prototype.has = mapCacheHas; + MapCache.prototype.set = mapCacheSet; + + /*------------------------------------------------------------------------*/ + + /** + * + * Creates an array cache object to store unique values. + * + * @private + * @constructor + * @param {Array} [values] The values to cache. + */ + function SetCache(values) { + var index = -1, + length = values == null ? 0 : values.length; + + this.__data__ = new MapCache; + while (++index < length) { + this.add(values[index]); + } + } + + /** + * Adds `value` to the array cache. + * + * @private + * @name add + * @memberOf SetCache + * @alias push + * @param {*} value The value to cache. + * @returns {Object} Returns the cache instance. + */ + function setCacheAdd(value) { + this.__data__.set(value, HASH_UNDEFINED); + return this; + } + + /** + * Checks if `value` is in the array cache. + * + * @private + * @name has + * @memberOf SetCache + * @param {*} value The value to search for. + * @returns {number} Returns `true` if `value` is found, else `false`. + */ + function setCacheHas(value) { + return this.__data__.has(value); + } + + // Add methods to `SetCache`. + SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; + SetCache.prototype.has = setCacheHas; + + /*------------------------------------------------------------------------*/ + + /** + * Creates a stack cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ + function Stack(entries) { + var data = this.__data__ = new ListCache(entries); + this.size = data.size; + } + + /** + * Removes all key-value entries from the stack. + * + * @private + * @name clear + * @memberOf Stack + */ + function stackClear() { + this.__data__ = new ListCache; + this.size = 0; + } + + /** + * Removes `key` and its value from the stack. + * + * @private + * @name delete + * @memberOf Stack + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ + function stackDelete(key) { + var data = this.__data__, + result = data['delete'](key); + + this.size = data.size; + return result; + } + + /** + * Gets the stack value for `key`. + * + * @private + * @name get + * @memberOf Stack + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ + function stackGet(key) { + return this.__data__.get(key); + } + + /** + * Checks if a stack value for `key` exists. + * + * @private + * @name has + * @memberOf Stack + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ + function stackHas(key) { + return this.__data__.has(key); + } + + /** + * Sets the stack `key` to `value`. + * + * @private + * @name set + * @memberOf Stack + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the stack cache instance. + */ + function stackSet(key, value) { + var data = this.__data__; + if (data instanceof ListCache) { + var pairs = data.__data__; + if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { + pairs.push([key, value]); + this.size = ++data.size; + return this; + } + data = this.__data__ = new MapCache(pairs); + } + data.set(key, value); + this.size = data.size; + return this; + } + + // Add methods to `Stack`. + Stack.prototype.clear = stackClear; + Stack.prototype['delete'] = stackDelete; + Stack.prototype.get = stackGet; + Stack.prototype.has = stackHas; + Stack.prototype.set = stackSet; + + /*------------------------------------------------------------------------*/ + + /** + * 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, inherited) { + var isArr = isArray(value), + isArg = !isArr && isArguments(value), + isBuff = !isArr && !isArg && isBuffer(value), + isType = !isArr && !isArg && !isBuff && isTypedArray(value), + skipIndexes = isArr || isArg || isBuff || isType, + result = skipIndexes ? baseTimes(value.length, String) : [], + length = result.length; + + for (var key in value) { + if ((inherited || hasOwnProperty.call(value, key)) && + !(skipIndexes && ( + // Safari 9 has enumerable `arguments.length` in strict mode. + key == 'length' || + // Node.js 0.10 has enumerable non-index properties on buffers. + (isBuff && (key == 'offset' || key == 'parent')) || + // PhantomJS 2 has enumerable non-index properties on typed arrays. + (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || + // Skip index properties. + isIndex(key, length) + ))) { + result.push(key); + } + } + return result; + } + + /** + * A specialized version of `_.sample` for arrays. + * + * @private + * @param {Array} array The array to sample. + * @returns {*} Returns the random element. + */ + function arraySample(array) { + var length = array.length; + return length ? array[baseRandom(0, length - 1)] : undefined; + } + + /** + * A specialized version of `_.sampleSize` for arrays. + * + * @private + * @param {Array} array The array to sample. + * @param {number} n The number of elements to sample. + * @returns {Array} Returns the random elements. + */ + function arraySampleSize(array, n) { + return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length)); + } + + /** + * A specialized version of `_.shuffle` for arrays. + * + * @private + * @param {Array} array The array to shuffle. + * @returns {Array} Returns the new shuffled array. + */ + function arrayShuffle(array) { + return shuffleSelf(copyArray(array)); + } + + /** + * This function is like `assignValue` except that it doesn't assign + * `undefined` values. + * + * @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 assignMergeValue(object, key, value) { + if ((value !== undefined && !eq(object[key], value)) || + (value === undefined && !(key in object))) { + baseAssignValue(object, key, value); + } + } + + /** + * 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) { + var objValue = object[key]; + if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || + (value === undefined && !(key in object))) { + baseAssignValue(object, key, value); + } + } + + /** + * Gets the index at which the `key` is found in `array` of key-value pairs. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} key The key to search for. + * @returns {number} Returns the index of the matched value, else `-1`. + */ + function assocIndexOf(array, key) { + var length = array.length; + while (length--) { + if (eq(array[length][0], key)) { + return length; + } + } + return -1; + } + + /** + * Aggregates elements of `collection` on `accumulator` with keys transformed + * by `iteratee` and values set by `setter`. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} setter The function to set `accumulator` values. + * @param {Function} iteratee The iteratee to transform keys. + * @param {Object} accumulator The initial aggregated object. + * @returns {Function} Returns `accumulator`. + */ + function baseAggregator(collection, setter, iteratee, accumulator) { + baseEach(collection, function(value, key, collection) { + setter(accumulator, value, iteratee(value), collection); + }); + return accumulator; + } + + /** + * The base implementation of `_.assign` without support for multiple sources + * or `customizer` functions. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @returns {Object} Returns `object`. + */ + function baseAssign(object, source) { + return object && copyObject(source, keys(source), object); + } + + /** + * The base implementation of `_.assignIn` without support for multiple sources + * or `customizer` functions. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @returns {Object} Returns `object`. + */ + function baseAssignIn(object, source) { + return object && copyObject(source, keysIn(source), object); + } + + /** + * 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) { + if (key == '__proto__' && defineProperty) { + defineProperty(object, key, { + 'configurable': true, + 'enumerable': true, + 'value': value, + 'writable': true + }); + } else { + object[key] = value; + } + } + + /** + * The base implementation of `_.at` without support for individual paths. + * + * @private + * @param {Object} object The object to iterate over. + * @param {string[]} paths The property paths to pick. + * @returns {Array} Returns the picked elements. + */ + function baseAt(object, paths) { + var index = -1, + length = paths.length, + result = Array(length), + skip = object == null; + + while (++index < length) { + result[index] = skip ? undefined : get(object, paths[index]); + } + return result; + } + + /** + * The base implementation of `_.clamp` which doesn't coerce arguments. + * + * @private + * @param {number} number The number to clamp. + * @param {number} [lower] The lower bound. + * @param {number} upper The upper bound. + * @returns {number} Returns the clamped number. + */ + function baseClamp(number, lower, upper) { + if (number === number) { + if (upper !== undefined) { + number = number <= upper ? number : upper; + } + if (lower !== undefined) { + number = number >= lower ? number : lower; + } + } + return number; + } + + /** + * The base implementation of `_.clone` and `_.cloneDeep` which tracks + * traversed objects. + * + * @private + * @param {*} value The value to clone. + * @param {boolean} bitmask The bitmask flags. + * 1 - Deep clone + * 2 - Flatten inherited properties + * 4 - Clone symbols + * @param {Function} [customizer] The function to customize cloning. + * @param {string} [key] The key of `value`. + * @param {Object} [object] The parent object of `value`. + * @param {Object} [stack] Tracks traversed objects and their clone counterparts. + * @returns {*} Returns the cloned value. + */ + function baseClone(value, bitmask, customizer, key, object, stack) { + var result, + isDeep = bitmask & CLONE_DEEP_FLAG, + isFlat = bitmask & CLONE_FLAT_FLAG, + isFull = bitmask & CLONE_SYMBOLS_FLAG; + + if (customizer) { + result = object ? customizer(value, key, object, stack) : customizer(value); + } + if (result !== undefined) { + return result; + } + if (!isObject(value)) { + return value; + } + var isArr = isArray(value); + if (isArr) { + result = initCloneArray(value); + if (!isDeep) { + return copyArray(value, result); + } + } else { + var tag = getTag(value), + isFunc = tag == funcTag || tag == genTag; + + if (isBuffer(value)) { + return cloneBuffer(value, isDeep); + } + if (tag == objectTag || tag == argsTag || (isFunc && !object)) { + result = (isFlat || isFunc) ? {} : initCloneObject(value); + if (!isDeep) { + return isFlat + ? copySymbolsIn(value, baseAssignIn(result, value)) + : copySymbols(value, baseAssign(result, value)); + } + } else { + if (!cloneableTags[tag]) { + return object ? value : {}; + } + result = initCloneByTag(value, tag, isDeep); + } + } + // Check for circular references and return its corresponding clone. + stack || (stack = new Stack); + var stacked = stack.get(value); + if (stacked) { + return stacked; + } + stack.set(value, result); + + if (isSet(value)) { + value.forEach(function(subValue) { + result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack)); + }); + } else if (isMap(value)) { + value.forEach(function(subValue, key) { + result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack)); + }); + } + + var keysFunc = isFull + ? (isFlat ? getAllKeysIn : getAllKeys) + : (isFlat ? keysIn : keys); + + var props = isArr ? undefined : keysFunc(value); + arrayEach(props || value, function(subValue, key) { + if (props) { + key = subValue; + subValue = value[key]; + } + // Recursively populate clone (susceptible to call stack limits). + assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack)); + }); + return result; + } + + /** + * The base implementation of `_.conforms` which doesn't clone `source`. + * + * @private + * @param {Object} source The object of property predicates to conform to. + * @returns {Function} Returns the new spec function. + */ + function baseConforms(source) { + var props = keys(source); + return function(object) { + return baseConformsTo(object, source, props); + }; + } + + /** + * The base implementation of `_.conformsTo` which accepts `props` to check. + * + * @private + * @param {Object} object The object to inspect. + * @param {Object} source The object of property predicates to conform to. + * @returns {boolean} Returns `true` if `object` conforms, else `false`. + */ + function baseConformsTo(object, source, props) { + var length = props.length; + if (object == null) { + return !length; + } + object = Object(object); + while (length--) { + var key = props[length], + predicate = source[key], + value = object[key]; + + if ((value === undefined && !(key in object)) || !predicate(value)) { + return false; + } + } + return true; + } + + /** + * The base implementation of `_.delay` and `_.defer` which accepts `args` + * to provide to `func`. + * + * @private + * @param {Function} func The function to delay. + * @param {number} wait The number of milliseconds to delay invocation. + * @param {Array} args The arguments to provide to `func`. + * @returns {number|Object} Returns the timer id or timeout object. + */ + function baseDelay(func, wait, args) { + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + return setTimeout(function() { func.apply(undefined, args); }, wait); + } + + /** + * The base implementation of methods like `_.difference` without support + * for excluding multiple arrays or iteratee shorthands. + * + * @private + * @param {Array} array The array to inspect. + * @param {Array} values The values to exclude. + * @param {Function} [iteratee] The iteratee invoked per element. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new array of filtered values. + */ + function baseDifference(array, values, iteratee, comparator) { + var index = -1, + includes = arrayIncludes, + isCommon = true, + length = array.length, + result = [], + valuesLength = values.length; + + if (!length) { + return result; + } + if (iteratee) { + values = arrayMap(values, baseUnary(iteratee)); + } + if (comparator) { + includes = arrayIncludesWith; + isCommon = false; + } + else if (values.length >= LARGE_ARRAY_SIZE) { + includes = cacheHas; + isCommon = false; + values = new SetCache(values); + } + outer: + while (++index < length) { + var value = array[index], + computed = iteratee == null ? value : iteratee(value); + + value = (comparator || value !== 0) ? value : 0; + if (isCommon && computed === computed) { + var valuesIndex = valuesLength; + while (valuesIndex--) { + if (values[valuesIndex] === computed) { + continue outer; + } + } + result.push(value); + } + else if (!includes(values, computed, comparator)) { + result.push(value); + } + } + return result; + } + + /** + * The base implementation of `_.forEach` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. + */ + var baseEach = createBaseEach(baseForOwn); + + /** + * The base implementation of `_.forEachRight` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. + */ + var baseEachRight = createBaseEach(baseForOwnRight, true); + + /** + * The base implementation of `_.every` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {boolean} Returns `true` if all elements pass the predicate check, + * else `false` + */ + function baseEvery(collection, predicate) { + var result = true; + baseEach(collection, function(value, index, collection) { + result = !!predicate(value, index, collection); + return result; + }); + return result; + } + + /** + * The base implementation of methods like `_.max` and `_.min` which accepts a + * `comparator` to determine the extremum value. + * + * @private + * @param {Array} array The array to iterate over. + * @param {Function} iteratee The iteratee invoked per iteration. + * @param {Function} comparator The comparator used to compare values. + * @returns {*} Returns the extremum value. + */ + function baseExtremum(array, iteratee, comparator) { + var index = -1, + length = array.length; + + while (++index < length) { + var value = array[index], + current = iteratee(value); + + if (current != null && (computed === undefined + ? (current === current && !isSymbol(current)) + : comparator(current, computed) + )) { + var computed = current, + result = value; + } + } + return result; + } + + /** + * The base implementation of `_.fill` without an iteratee call guard. + * + * @private + * @param {Array} array The array to fill. + * @param {*} value The value to fill `array` with. + * @param {number} [start=0] The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns `array`. + */ + function baseFill(array, value, start, end) { + var length = array.length; + + start = toInteger(start); + if (start < 0) { + start = -start > length ? 0 : (length + start); + } + end = (end === undefined || end > length) ? length : toInteger(end); + if (end < 0) { + end += length; + } + end = start > end ? 0 : toLength(end); + while (start < end) { + array[start++] = value; + } + return array; + } + + /** + * The base implementation of `_.filter` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {Array} Returns the new filtered array. + */ + function baseFilter(collection, predicate) { + var result = []; + baseEach(collection, function(value, index, collection) { + if (predicate(value, index, collection)) { + result.push(value); + } + }); + return result; + } + + /** + * The base implementation of `_.flatten` with support for restricting flattening. + * + * @private + * @param {Array} array The array to flatten. + * @param {number} depth The maximum recursion depth. + * @param {boolean} [predicate=isFlattenable] The function invoked per iteration. + * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks. + * @param {Array} [result=[]] The initial result value. + * @returns {Array} Returns the new flattened array. + */ + function baseFlatten(array, depth, predicate, isStrict, result) { + var index = -1, + length = array.length; + + predicate || (predicate = isFlattenable); + result || (result = []); + + while (++index < length) { + var value = array[index]; + if (depth > 0 && predicate(value)) { + if (depth > 1) { + // Recursively flatten arrays (susceptible to call stack limits). + baseFlatten(value, depth - 1, predicate, isStrict, result); + } else { + arrayPush(result, value); + } + } else if (!isStrict) { + result[result.length] = value; + } + } + return result; + } + + /** + * The base implementation of `baseForOwn` which iterates over `object` + * properties returned by `keysFunc` and invokes `iteratee` for each property. + * Iteratee functions may exit iteration early by explicitly returning `false`. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {Function} keysFunc The function to get the keys of `object`. + * @returns {Object} Returns `object`. + */ + var baseFor = createBaseFor(); + + /** + * This function is like `baseFor` except that it iterates over properties + * in the opposite order. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {Function} keysFunc The function to get the keys of `object`. + * @returns {Object} Returns `object`. + */ + var baseForRight = createBaseFor(true); + + /** + * The base implementation of `_.forOwn` without support for iteratee shorthands. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Object} Returns `object`. + */ + function baseForOwn(object, iteratee) { + return object && baseFor(object, iteratee, keys); + } + + /** + * The base implementation of `_.forOwnRight` without support for iteratee shorthands. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Object} Returns `object`. + */ + function baseForOwnRight(object, iteratee) { + return object && baseForRight(object, iteratee, keys); + } + + /** + * The base implementation of `_.functions` which creates an array of + * `object` function property names filtered from `props`. + * + * @private + * @param {Object} object The object to inspect. + * @param {Array} props The property names to filter. + * @returns {Array} Returns the function names. + */ + function baseFunctions(object, props) { + return arrayFilter(props, function(key) { + return isFunction(object[key]); + }); + } + + /** + * The base implementation of `_.get` without support for default values. + * + * @private + * @param {Object} object The object to query. + * @param {Array|string} path The path of the property to get. + * @returns {*} Returns the resolved value. + */ + function baseGet(object, path) { + path = castPath(path, object); + + var index = 0, + length = path.length; + + while (object != null && index < length) { + object = object[toKey(path[index++])]; + } + return (index && index == length) ? object : undefined; + } + + /** + * The base implementation of `getAllKeys` and `getAllKeysIn` which uses + * `keysFunc` and `symbolsFunc` to get the enumerable property names and + * symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @param {Function} keysFunc The function to get the keys of `object`. + * @param {Function} symbolsFunc The function to get the symbols of `object`. + * @returns {Array} Returns the array of property names and symbols. + */ + function baseGetAllKeys(object, keysFunc, symbolsFunc) { + var result = keysFunc(object); + return isArray(object) ? result : arrayPush(result, symbolsFunc(object)); + } + + /** + * 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) { + if (value == null) { + return value === undefined ? undefinedTag : nullTag; + } + return (symToStringTag && symToStringTag in Object(value)) + ? getRawTag(value) + : objectToString(value); + } + + /** + * The base implementation of `_.gt` which doesn't coerce arguments. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is greater than `other`, + * else `false`. + */ + function baseGt(value, other) { + return value > other; + } + + /** + * The base implementation of `_.has` without support for deep paths. + * + * @private + * @param {Object} [object] The object to query. + * @param {Array|string} key The key to check. + * @returns {boolean} Returns `true` if `key` exists, else `false`. + */ + function baseHas(object, key) { + return object != null && hasOwnProperty.call(object, key); + } + + /** + * The base implementation of `_.hasIn` without support for deep paths. + * + * @private + * @param {Object} [object] The object to query. + * @param {Array|string} key The key to check. + * @returns {boolean} Returns `true` if `key` exists, else `false`. + */ + function baseHasIn(object, key) { + return object != null && key in Object(object); + } + + /** + * The base implementation of `_.inRange` which doesn't coerce arguments. + * + * @private + * @param {number} number The number to check. + * @param {number} start The start of the range. + * @param {number} end The end of the range. + * @returns {boolean} Returns `true` if `number` is in the range, else `false`. + */ + function baseInRange(number, start, end) { + return number >= nativeMin(start, end) && number < nativeMax(start, end); + } + + /** + * The base implementation of methods like `_.intersection`, without support + * for iteratee shorthands, that accepts an array of arrays to inspect. + * + * @private + * @param {Array} arrays The arrays to inspect. + * @param {Function} [iteratee] The iteratee invoked per element. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new array of shared values. + */ + function baseIntersection(arrays, iteratee, comparator) { + var includes = comparator ? arrayIncludesWith : arrayIncludes, + length = arrays[0].length, + othLength = arrays.length, + othIndex = othLength, + caches = Array(othLength), + maxLength = Infinity, + result = []; + + while (othIndex--) { + var array = arrays[othIndex]; + if (othIndex && iteratee) { + array = arrayMap(array, baseUnary(iteratee)); + } + maxLength = nativeMin(array.length, maxLength); + caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120)) + ? new SetCache(othIndex && array) + : undefined; + } + array = arrays[0]; + + var index = -1, + seen = caches[0]; + + outer: + while (++index < length && result.length < maxLength) { + var value = array[index], + computed = iteratee ? iteratee(value) : value; + + value = (comparator || value !== 0) ? value : 0; + if (!(seen + ? cacheHas(seen, computed) + : includes(result, computed, comparator) + )) { + othIndex = othLength; + while (--othIndex) { + var cache = caches[othIndex]; + if (!(cache + ? cacheHas(cache, computed) + : includes(arrays[othIndex], computed, comparator)) + ) { + continue outer; + } + } + if (seen) { + seen.push(computed); + } + result.push(value); + } + } + return result; + } + + /** + * The base implementation of `_.invert` and `_.invertBy` which inverts + * `object` with values transformed by `iteratee` and set by `setter`. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} setter The function to set `accumulator` values. + * @param {Function} iteratee The iteratee to transform values. + * @param {Object} accumulator The initial inverted object. + * @returns {Function} Returns `accumulator`. + */ + function baseInverter(object, setter, iteratee, accumulator) { + baseForOwn(object, function(value, key, object) { + setter(accumulator, iteratee(value), key, object); + }); + return accumulator; + } + + /** + * The base implementation of `_.invoke` without support for individual + * method arguments. + * + * @private + * @param {Object} object The object to query. + * @param {Array|string} path The path of the method to invoke. + * @param {Array} args The arguments to invoke the method with. + * @returns {*} Returns the result of the invoked method. + */ + function baseInvoke(object, path, args) { + path = castPath(path, object); + object = parent(object, path); + var func = object == null ? object : object[toKey(last(path))]; + return func == null ? undefined : apply(func, object, args); + } + + /** + * 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) { + return isObjectLike(value) && baseGetTag(value) == argsTag; + } + + /** + * The base implementation of `_.isArrayBuffer` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. + */ + function baseIsArrayBuffer(value) { + return isObjectLike(value) && baseGetTag(value) == arrayBufferTag; + } + + /** + * The base implementation of `_.isDate` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a date object, else `false`. + */ + function baseIsDate(value) { + return isObjectLike(value) && baseGetTag(value) == dateTag; + } + + /** + * The base implementation of `_.isEqual` which supports partial comparisons + * and tracks traversed objects. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @param {boolean} bitmask The bitmask flags. + * 1 - Unordered comparison + * 2 - Partial comparison + * @param {Function} [customizer] The function to customize comparisons. + * @param {Object} [stack] Tracks traversed `value` and `other` objects. + * @returns {boolean} Returns `true` if the values are equivalent, else `false`. + */ + function baseIsEqual(value, other, bitmask, customizer, stack) { + if (value === other) { + return true; + } + if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { + return value !== value && other !== other; + } + return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); + } + + /** + * A specialized version of `baseIsEqual` for arrays and objects which performs + * deep comparisons and tracks traversed objects enabling objects with circular + * references to be compared. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} [stack] Tracks traversed `object` and `other` objects. + * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. + */ + function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { + var objIsArr = isArray(object), + othIsArr = isArray(other), + objTag = objIsArr ? arrayTag : getTag(object), + othTag = othIsArr ? arrayTag : getTag(other); + + objTag = objTag == argsTag ? objectTag : objTag; + othTag = othTag == argsTag ? objectTag : othTag; + + var objIsObj = objTag == objectTag, + othIsObj = othTag == objectTag, + isSameTag = objTag == othTag; + + if (isSameTag && isBuffer(object)) { + if (!isBuffer(other)) { + return false; + } + objIsArr = true; + objIsObj = false; + } + if (isSameTag && !objIsObj) { + stack || (stack = new Stack); + return (objIsArr || isTypedArray(object)) + ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) + : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); + } + if (!(bitmask & COMPARE_PARTIAL_FLAG)) { + var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), + othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); + + if (objIsWrapped || othIsWrapped) { + var objUnwrapped = objIsWrapped ? object.value() : object, + othUnwrapped = othIsWrapped ? other.value() : other; + + stack || (stack = new Stack); + return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); + } + } + if (!isSameTag) { + return false; + } + stack || (stack = new Stack); + return equalObjects(object, other, bitmask, customizer, equalFunc, stack); + } + + /** + * The base implementation of `_.isMap` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a map, else `false`. + */ + function baseIsMap(value) { + return isObjectLike(value) && getTag(value) == mapTag; + } + + /** + * The base implementation of `_.isMatch` without support for iteratee shorthands. + * + * @private + * @param {Object} object The object to inspect. + * @param {Object} source The object of property values to match. + * @param {Array} matchData The property names, values, and compare flags to match. + * @param {Function} [customizer] The function to customize comparisons. + * @returns {boolean} Returns `true` if `object` is a match, else `false`. + */ + function baseIsMatch(object, source, matchData, customizer) { + var index = matchData.length, + length = index, + noCustomizer = !customizer; + + if (object == null) { + return !length; + } + object = Object(object); + while (index--) { + var data = matchData[index]; + if ((noCustomizer && data[2]) + ? data[1] !== object[data[0]] + : !(data[0] in object) + ) { + return false; + } + } + while (++index < length) { + data = matchData[index]; + var key = data[0], + objValue = object[key], + srcValue = data[1]; + + if (noCustomizer && data[2]) { + if (objValue === undefined && !(key in object)) { + return false; + } + } else { + var stack = new Stack; + if (customizer) { + var result = customizer(objValue, srcValue, key, object, source, stack); + } + if (!(result === undefined + ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) + : result + )) { + return false; + } + } + } + return true; + } + + /** + * 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) { + if (!isObject(value) || isMasked(value)) { + return false; + } + var pattern = isFunction(value) ? reIsNative : reIsHostCtor; + return pattern.test(toSource(value)); + } + + /** + * The base implementation of `_.isRegExp` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. + */ + function baseIsRegExp(value) { + return isObjectLike(value) && baseGetTag(value) == regexpTag; + } + + /** + * The base implementation of `_.isSet` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a set, else `false`. + */ + function baseIsSet(value) { + return isObjectLike(value) && getTag(value) == setTag; + } + + /** + * 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) { + return isObjectLike(value) && + isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; + } + + /** + * The base implementation of `_.iteratee`. + * + * @private + * @param {*} [value=_.identity] The value to convert to an iteratee. + * @returns {Function} Returns the iteratee. + */ + function baseIteratee(value) { + // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9. + // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details. + if (typeof value == 'function') { + return value; + } + if (value == null) { + return identity; + } + if (typeof value == 'object') { + return isArray(value) + ? baseMatchesProperty(value[0], value[1]) + : baseMatches(value); + } + return property(value); + } + + /** + * 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(object)) { + return nativeKeys(object); + } + var result = []; + for (var key in Object(object)) { + if (hasOwnProperty.call(object, key) && key != 'constructor') { + result.push(key); + } + } + return result; + } + + /** + * 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(object)) { + return nativeKeysIn(object); + } + var isProto = isPrototype(object), + result = []; + + for (var key in object) { + if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { + result.push(key); + } + } + return result; + } + + /** + * The base implementation of `_.lt` which doesn't coerce arguments. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is less than `other`, + * else `false`. + */ + function baseLt(value, other) { + return value < other; + } + + /** + * The base implementation of `_.map` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns the new mapped array. + */ + function baseMap(collection, iteratee) { + var index = -1, + result = isArrayLike(collection) ? Array(collection.length) : []; + + baseEach(collection, function(value, key, collection) { + result[++index] = iteratee(value, key, collection); + }); + return result; + } + + /** + * The base implementation of `_.matches` which doesn't clone `source`. + * + * @private + * @param {Object} source The object of property values to match. + * @returns {Function} Returns the new spec function. + */ + function baseMatches(source) { + var matchData = getMatchData(source); + if (matchData.length == 1 && matchData[0][2]) { + return matchesStrictComparable(matchData[0][0], matchData[0][1]); + } + return function(object) { + return object === source || baseIsMatch(object, source, matchData); + }; + } + + /** + * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`. + * + * @private + * @param {string} path The path of the property to get. + * @param {*} srcValue The value to match. + * @returns {Function} Returns the new spec function. + */ + function baseMatchesProperty(path, srcValue) { + if (isKey(path) && isStrictComparable(srcValue)) { + return matchesStrictComparable(toKey(path), srcValue); + } + return function(object) { + var objValue = get(object, path); + return (objValue === undefined && objValue === srcValue) + ? hasIn(object, path) + : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); + }; + } + + /** + * The base implementation of `_.merge` without support for multiple sources. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @param {number} srcIndex The index of `source`. + * @param {Function} [customizer] The function to customize merged values. + * @param {Object} [stack] Tracks traversed source values and their merged + * counterparts. + */ + function baseMerge(object, source, srcIndex, customizer, stack) { + if (object === source) { + return; + } + baseFor(source, function(srcValue, key) { + stack || (stack = new Stack); + if (isObject(srcValue)) { + baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack); + } + else { + var newValue = customizer + ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack) + : undefined; + + if (newValue === undefined) { + newValue = srcValue; + } + assignMergeValue(object, key, newValue); + } + }, keysIn); + } + + /** + * A specialized version of `baseMerge` for arrays and objects which performs + * deep merges and tracks traversed objects enabling objects with circular + * references to be merged. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @param {string} key The key of the value to merge. + * @param {number} srcIndex The index of `source`. + * @param {Function} mergeFunc The function to merge values. + * @param {Function} [customizer] The function to customize assigned values. + * @param {Object} [stack] Tracks traversed source values and their merged + * counterparts. + */ + function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { + var objValue = safeGet(object, key), + srcValue = safeGet(source, key), + stacked = stack.get(srcValue); + + if (stacked) { + assignMergeValue(object, key, stacked); + return; + } + var newValue = customizer + ? customizer(objValue, srcValue, (key + ''), object, source, stack) + : undefined; + + var isCommon = newValue === undefined; + + if (isCommon) { + var isArr = isArray(srcValue), + isBuff = !isArr && isBuffer(srcValue), + isTyped = !isArr && !isBuff && isTypedArray(srcValue); + + newValue = srcValue; + if (isArr || isBuff || isTyped) { + if (isArray(objValue)) { + newValue = objValue; + } + else if (isArrayLikeObject(objValue)) { + newValue = copyArray(objValue); + } + else if (isBuff) { + isCommon = false; + newValue = cloneBuffer(srcValue, true); + } + else if (isTyped) { + isCommon = false; + newValue = cloneTypedArray(srcValue, true); + } + else { + newValue = []; + } + } + else if (isPlainObject(srcValue) || isArguments(srcValue)) { + newValue = objValue; + if (isArguments(objValue)) { + newValue = toPlainObject(objValue); + } + else if (!isObject(objValue) || isFunction(objValue)) { + newValue = initCloneObject(srcValue); + } + } + else { + isCommon = false; + } + } + if (isCommon) { + // Recursively merge objects and arrays (susceptible to call stack limits). + stack.set(srcValue, newValue); + mergeFunc(newValue, srcValue, srcIndex, customizer, stack); + stack['delete'](srcValue); + } + assignMergeValue(object, key, newValue); + } + + /** + * The base implementation of `_.nth` which doesn't coerce arguments. + * + * @private + * @param {Array} array The array to query. + * @param {number} n The index of the element to return. + * @returns {*} Returns the nth element of `array`. + */ + function baseNth(array, n) { + var length = array.length; + if (!length) { + return; + } + n += n < 0 ? length : 0; + return isIndex(n, length) ? array[n] : undefined; + } + + /** + * The base implementation of `_.orderBy` without param guards. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by. + * @param {string[]} orders The sort orders of `iteratees`. + * @returns {Array} Returns the new sorted array. + */ + function baseOrderBy(collection, iteratees, orders) { + if (iteratees.length) { + iteratees = arrayMap(iteratees, function(iteratee) { + if (isArray(iteratee)) { + return function(value) { + return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee); + } + } + return iteratee; + }); + } else { + iteratees = [identity]; + } + + var index = -1; + iteratees = arrayMap(iteratees, baseUnary(getIteratee())); + + var result = baseMap(collection, function(value, key, collection) { + var criteria = arrayMap(iteratees, function(iteratee) { + return iteratee(value); + }); + return { 'criteria': criteria, 'index': ++index, 'value': value }; + }); + + return baseSortBy(result, function(object, other) { + return compareMultiple(object, other, orders); + }); + } + + /** + * The base implementation of `_.pick` without support for individual + * property identifiers. + * + * @private + * @param {Object} object The source object. + * @param {string[]} paths The property paths to pick. + * @returns {Object} Returns the new object. + */ + function basePick(object, paths) { + return basePickBy(object, paths, function(value, path) { + return hasIn(object, path); + }); + } + + /** + * The base implementation of `_.pickBy` without support for iteratee shorthands. + * + * @private + * @param {Object} object The source object. + * @param {string[]} paths The property paths to pick. + * @param {Function} predicate The function invoked per property. + * @returns {Object} Returns the new object. + */ + function basePickBy(object, paths, predicate) { + var index = -1, + length = paths.length, + result = {}; + + while (++index < length) { + var path = paths[index], + value = baseGet(object, path); + + if (predicate(value, path)) { + baseSet(result, castPath(path, object), value); + } + } + return result; + } + + /** + * A specialized version of `baseProperty` which supports deep paths. + * + * @private + * @param {Array|string} path The path of the property to get. + * @returns {Function} Returns the new accessor function. + */ + function basePropertyDeep(path) { + return function(object) { + return baseGet(object, path); + }; + } + + /** + * The base implementation of `_.pullAllBy` without support for iteratee + * shorthands. + * + * @private + * @param {Array} array The array to modify. + * @param {Array} values The values to remove. + * @param {Function} [iteratee] The iteratee invoked per element. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns `array`. + */ + function basePullAll(array, values, iteratee, comparator) { + var indexOf = comparator ? baseIndexOfWith : baseIndexOf, + index = -1, + length = values.length, + seen = array; + + if (array === values) { + values = copyArray(values); + } + if (iteratee) { + seen = arrayMap(array, baseUnary(iteratee)); + } + while (++index < length) { + var fromIndex = 0, + value = values[index], + computed = iteratee ? iteratee(value) : value; + + while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) { + if (seen !== array) { + splice.call(seen, fromIndex, 1); + } + splice.call(array, fromIndex, 1); + } + } + return array; + } + + /** + * The base implementation of `_.pullAt` without support for individual + * indexes or capturing the removed elements. + * + * @private + * @param {Array} array The array to modify. + * @param {number[]} indexes The indexes of elements to remove. + * @returns {Array} Returns `array`. + */ + function basePullAt(array, indexes) { + var length = array ? indexes.length : 0, + lastIndex = length - 1; + + while (length--) { + var index = indexes[length]; + if (length == lastIndex || index !== previous) { + var previous = index; + if (isIndex(index)) { + splice.call(array, index, 1); + } else { + baseUnset(array, index); + } + } + } + return array; + } + + /** + * The base implementation of `_.random` without support for returning + * floating-point numbers. + * + * @private + * @param {number} lower The lower bound. + * @param {number} upper The upper bound. + * @returns {number} Returns the random number. + */ + function baseRandom(lower, upper) { + return lower + nativeFloor(nativeRandom() * (upper - lower + 1)); + } + + /** + * The base implementation of `_.range` and `_.rangeRight` which doesn't + * coerce arguments. + * + * @private + * @param {number} start The start of the range. + * @param {number} end The end of the range. + * @param {number} step The value to increment or decrement by. + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Array} Returns the range of numbers. + */ + function baseRange(start, end, step, fromRight) { + var index = -1, + length = nativeMax(nativeCeil((end - start) / (step || 1)), 0), + result = Array(length); + + while (length--) { + result[fromRight ? length : ++index] = start; + start += step; + } + return result; + } + + /** + * The base implementation of `_.repeat` which doesn't coerce arguments. + * + * @private + * @param {string} string The string to repeat. + * @param {number} n The number of times to repeat the string. + * @returns {string} Returns the repeated string. + */ + function baseRepeat(string, n) { + var result = ''; + if (!string || n < 1 || n > MAX_SAFE_INTEGER) { + return result; + } + // Leverage the exponentiation by squaring algorithm for a faster repeat. + // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details. + do { + if (n % 2) { + result += string; + } + n = nativeFloor(n / 2); + if (n) { + string += string; + } + } while (n); + + return result; + } + + /** + * 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(overRest(func, start, identity), func + ''); + } + + /** + * The base implementation of `_.sample`. + * + * @private + * @param {Array|Object} collection The collection to sample. + * @returns {*} Returns the random element. + */ + function baseSample(collection) { + return arraySample(values(collection)); + } + + /** + * The base implementation of `_.sampleSize` without param guards. + * + * @private + * @param {Array|Object} collection The collection to sample. + * @param {number} n The number of elements to sample. + * @returns {Array} Returns the random elements. + */ + function baseSampleSize(collection, n) { + var array = values(collection); + return shuffleSelf(array, baseClamp(n, 0, array.length)); + } + + /** + * The base implementation of `_.set`. + * + * @private + * @param {Object} object The object to modify. + * @param {Array|string} path The path of the property to set. + * @param {*} value The value to set. + * @param {Function} [customizer] The function to customize path creation. + * @returns {Object} Returns `object`. + */ + function baseSet(object, path, value, customizer) { + if (!isObject(object)) { + return object; + } + path = castPath(path, object); + + var index = -1, + length = path.length, + lastIndex = length - 1, + nested = object; + + while (nested != null && ++index < length) { + var key = toKey(path[index]), + newValue = value; + + if (key === '__proto__' || key === 'constructor' || key === 'prototype') { + return object; + } + + if (index != lastIndex) { + var objValue = nested[key]; + newValue = customizer ? customizer(objValue, key, nested) : undefined; + if (newValue === undefined) { + newValue = isObject(objValue) + ? objValue + : (isIndex(path[index + 1]) ? [] : {}); + } + } + assignValue(nested, key, newValue); + nested = nested[key]; + } + return object; + } + + /** + * The base implementation of `setData` without support for hot loop shorting. + * + * @private + * @param {Function} func The function to associate metadata with. + * @param {*} data The metadata. + * @returns {Function} Returns `func`. + */ + var baseSetData = !metaMap ? identity : function(func, data) { + metaMap.set(func, data); + return func; + }; + + /** + * 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 ? identity : function(func, string) { + return defineProperty(func, 'toString', { + 'configurable': true, + 'enumerable': false, + 'value': constant(string), + 'writable': true + }); + }; + + /** + * The base implementation of `_.shuffle`. + * + * @private + * @param {Array|Object} collection The collection to shuffle. + * @returns {Array} Returns the new shuffled array. + */ + function baseShuffle(collection) { + return shuffleSelf(values(collection)); + } + + /** + * The base implementation of `_.slice` without an iteratee call guard. + * + * @private + * @param {Array} array The array to slice. + * @param {number} [start=0] The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns the slice of `array`. + */ + function baseSlice(array, start, end) { + var index = -1, + length = array.length; + + if (start < 0) { + start = -start > length ? 0 : (length + start); + } + end = end > length ? length : end; + if (end < 0) { + end += length; + } + length = start > end ? 0 : ((end - start) >>> 0); + start >>>= 0; + + var result = Array(length); + while (++index < length) { + result[index] = array[index + start]; + } + return result; + } + + /** + * The base implementation of `_.some` without support for iteratee shorthands. + * + * @private + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} predicate The function invoked per iteration. + * @returns {boolean} Returns `true` if any element passes the predicate check, + * else `false`. + */ + function baseSome(collection, predicate) { + var result; + + baseEach(collection, function(value, index, collection) { + result = predicate(value, index, collection); + return !result; + }); + return !!result; + } + + /** + * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which + * performs a binary search of `array` to determine the index at which `value` + * should be inserted into `array` in order to maintain its sort order. + * + * @private + * @param {Array} array The sorted array to inspect. + * @param {*} value The value to evaluate. + * @param {boolean} [retHighest] Specify returning the highest qualified index. + * @returns {number} Returns the index at which `value` should be inserted + * into `array`. + */ + function baseSortedIndex(array, value, retHighest) { + var low = 0, + high = array == null ? low : array.length; + + if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) { + while (low < high) { + var mid = (low + high) >>> 1, + computed = array[mid]; + + if (computed !== null && !isSymbol(computed) && + (retHighest ? (computed <= value) : (computed < value))) { + low = mid + 1; + } else { + high = mid; + } + } + return high; + } + return baseSortedIndexBy(array, value, identity, retHighest); + } + + /** + * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy` + * which invokes `iteratee` for `value` and each element of `array` to compute + * their sort ranking. The iteratee is invoked with one argument; (value). + * + * @private + * @param {Array} array The sorted array to inspect. + * @param {*} value The value to evaluate. + * @param {Function} iteratee The iteratee invoked per element. + * @param {boolean} [retHighest] Specify returning the highest qualified index. + * @returns {number} Returns the index at which `value` should be inserted + * into `array`. + */ + function baseSortedIndexBy(array, value, iteratee, retHighest) { + var low = 0, + high = array == null ? 0 : array.length; + if (high === 0) { + return 0; + } + + value = iteratee(value); + var valIsNaN = value !== value, + valIsNull = value === null, + valIsSymbol = isSymbol(value), + valIsUndefined = value === undefined; + + while (low < high) { + var mid = nativeFloor((low + high) / 2), + computed = iteratee(array[mid]), + othIsDefined = computed !== undefined, + othIsNull = computed === null, + othIsReflexive = computed === computed, + othIsSymbol = isSymbol(computed); + + if (valIsNaN) { + var setLow = retHighest || othIsReflexive; + } else if (valIsUndefined) { + setLow = othIsReflexive && (retHighest || othIsDefined); + } else if (valIsNull) { + setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull); + } else if (valIsSymbol) { + setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol); + } else if (othIsNull || othIsSymbol) { + setLow = false; + } else { + setLow = retHighest ? (computed <= value) : (computed < value); + } + if (setLow) { + low = mid + 1; + } else { + high = mid; + } + } + return nativeMin(high, MAX_ARRAY_INDEX); + } + + /** + * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without + * support for iteratee shorthands. + * + * @private + * @param {Array} array The array to inspect. + * @param {Function} [iteratee] The iteratee invoked per element. + * @returns {Array} Returns the new duplicate free array. + */ + function baseSortedUniq(array, iteratee) { + var index = -1, + length = array.length, + resIndex = 0, + result = []; + + while (++index < length) { + var value = array[index], + computed = iteratee ? iteratee(value) : value; + + if (!index || !eq(computed, seen)) { + var seen = computed; + result[resIndex++] = value === 0 ? 0 : value; + } + } + return result; + } + + /** + * The base implementation of `_.toNumber` which doesn't ensure correct + * conversions of binary, hexadecimal, or octal string values. + * + * @private + * @param {*} value The value to process. + * @returns {number} Returns the number. + */ + function baseToNumber(value) { + if (typeof value == 'number') { + return value; + } + if (isSymbol(value)) { + return NAN; + } + return +value; + } + + /** + * 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) { + // Exit early for strings to avoid a performance hit in some environments. + if (typeof value == 'string') { + return value; + } + if (isArray(value)) { + // Recursively convert values (susceptible to call stack limits). + return arrayMap(value, baseToString) + ''; + } + if (isSymbol(value)) { + return symbolToString ? symbolToString.call(value) : ''; + } + var result = (value + ''); + return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; + } + + /** + * The base implementation of `_.uniqBy` without support for iteratee shorthands. + * + * @private + * @param {Array} array The array to inspect. + * @param {Function} [iteratee] The iteratee invoked per element. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new duplicate free array. + */ + function baseUniq(array, iteratee, comparator) { + var index = -1, + includes = arrayIncludes, + length = array.length, + isCommon = true, + result = [], + seen = result; + + if (comparator) { + isCommon = false; + includes = arrayIncludesWith; + } + else if (length >= LARGE_ARRAY_SIZE) { + var set = iteratee ? null : createSet(array); + if (set) { + return setToArray(set); + } + isCommon = false; + includes = cacheHas; + seen = new SetCache; + } + else { + seen = iteratee ? [] : result; + } + outer: + while (++index < length) { + var value = array[index], + computed = iteratee ? iteratee(value) : value; + + value = (comparator || value !== 0) ? value : 0; + if (isCommon && computed === computed) { + var seenIndex = seen.length; + while (seenIndex--) { + if (seen[seenIndex] === computed) { + continue outer; + } + } + if (iteratee) { + seen.push(computed); + } + result.push(value); + } + else if (!includes(seen, computed, comparator)) { + if (seen !== result) { + seen.push(computed); + } + result.push(value); + } + } + return result; + } + + /** + * The base implementation of `_.unset`. + * + * @private + * @param {Object} object The object to modify. + * @param {Array|string} path The property path to unset. + * @returns {boolean} Returns `true` if the property is deleted, else `false`. + */ + function baseUnset(object, path) { + path = castPath(path, object); + object = parent(object, path); + return object == null || delete object[toKey(last(path))]; + } + + /** + * The base implementation of `_.update`. + * + * @private + * @param {Object} object The object to modify. + * @param {Array|string} path The path of the property to update. + * @param {Function} updater The function to produce the updated value. + * @param {Function} [customizer] The function to customize path creation. + * @returns {Object} Returns `object`. + */ + function baseUpdate(object, path, updater, customizer) { + return baseSet(object, path, updater(baseGet(object, path)), customizer); + } + + /** + * The base implementation of methods like `_.dropWhile` and `_.takeWhile` + * without support for iteratee shorthands. + * + * @private + * @param {Array} array The array to query. + * @param {Function} predicate The function invoked per iteration. + * @param {boolean} [isDrop] Specify dropping elements instead of taking them. + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Array} Returns the slice of `array`. + */ + function baseWhile(array, predicate, isDrop, fromRight) { + var length = array.length, + index = fromRight ? length : -1; + + while ((fromRight ? index-- : ++index < length) && + predicate(array[index], index, array)) {} + + return isDrop + ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length)) + : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index)); + } + + /** + * The base implementation of `wrapperValue` which returns the result of + * performing a sequence of actions on the unwrapped `value`, where each + * successive action is supplied the return value of the previous. + * + * @private + * @param {*} value The unwrapped value. + * @param {Array} actions Actions to perform to resolve the unwrapped value. + * @returns {*} Returns the resolved value. + */ + function baseWrapperValue(value, actions) { + var result = value; + if (result instanceof LazyWrapper) { + result = result.value(); + } + return arrayReduce(actions, function(result, action) { + return action.func.apply(action.thisArg, arrayPush([result], action.args)); + }, result); + } + + /** + * The base implementation of methods like `_.xor`, without support for + * iteratee shorthands, that accepts an array of arrays to inspect. + * + * @private + * @param {Array} arrays The arrays to inspect. + * @param {Function} [iteratee] The iteratee invoked per element. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new array of values. + */ + function baseXor(arrays, iteratee, comparator) { + var length = arrays.length; + if (length < 2) { + return length ? baseUniq(arrays[0]) : []; + } + var index = -1, + result = Array(length); + + while (++index < length) { + var array = arrays[index], + othIndex = -1; + + while (++othIndex < length) { + if (othIndex != index) { + result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator); + } + } + } + return baseUniq(baseFlatten(result, 1), iteratee, comparator); + } + + /** + * This base implementation of `_.zipObject` which assigns values using `assignFunc`. + * + * @private + * @param {Array} props The property identifiers. + * @param {Array} values The property values. + * @param {Function} assignFunc The function to assign values. + * @returns {Object} Returns the new object. + */ + function baseZipObject(props, values, assignFunc) { + var index = -1, + length = props.length, + valsLength = values.length, + result = {}; + + while (++index < length) { + var value = index < valsLength ? values[index] : undefined; + assignFunc(result, props[index], value); + } + return result; + } + + /** + * Casts `value` to an empty array if it's not an array like object. + * + * @private + * @param {*} value The value to inspect. + * @returns {Array|Object} Returns the cast array-like object. + */ + function castArrayLikeObject(value) { + return isArrayLikeObject(value) ? value : []; + } + + /** + * Casts `value` to `identity` if it's not a function. + * + * @private + * @param {*} value The value to inspect. + * @returns {Function} Returns cast function. + */ + function castFunction(value) { + return typeof value == 'function' ? value : identity; + } + + /** + * Casts `value` to a path array if it's not one. + * + * @private + * @param {*} value The value to inspect. + * @param {Object} [object] The object to query keys on. + * @returns {Array} Returns the cast property path array. + */ + function castPath(value, object) { + if (isArray(value)) { + return value; + } + return isKey(value, object) ? [value] : stringToPath(toString(value)); + } + + /** + * A `baseRest` alias which can be replaced with `identity` by module + * replacement plugins. + * + * @private + * @type {Function} + * @param {Function} func The function to apply a rest parameter to. + * @returns {Function} Returns the new function. + */ + var castRest = baseRest; + + /** + * Casts `array` to a slice if it's needed. + * + * @private + * @param {Array} array The array to inspect. + * @param {number} start The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns the cast slice. + */ + function castSlice(array, start, end) { + var length = array.length; + end = end === undefined ? length : end; + return (!start && end >= length) ? array : baseSlice(array, start, end); + } + + /** + * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout). + * + * @private + * @param {number|Object} id The timer id or timeout object of the timer to clear. + */ + var clearTimeout = ctxClearTimeout || function(id) { + return root.clearTimeout(id); + }; + + /** + * Creates a clone of `buffer`. + * + * @private + * @param {Buffer} buffer The buffer to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Buffer} Returns the cloned buffer. + */ + function cloneBuffer(buffer, isDeep) { + if (isDeep) { + return buffer.slice(); + } + var length = buffer.length, + result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); + + buffer.copy(result); + return result; + } + + /** + * Creates a clone of `arrayBuffer`. + * + * @private + * @param {ArrayBuffer} arrayBuffer The array buffer to clone. + * @returns {ArrayBuffer} Returns the cloned array buffer. + */ + function cloneArrayBuffer(arrayBuffer) { + var result = new arrayBuffer.constructor(arrayBuffer.byteLength); + new Uint8Array(result).set(new Uint8Array(arrayBuffer)); + return result; + } + + /** + * Creates a clone of `dataView`. + * + * @private + * @param {Object} dataView The data view to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the cloned data view. + */ + function cloneDataView(dataView, isDeep) { + var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer; + return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength); + } + + /** + * Creates a clone of `regexp`. + * + * @private + * @param {Object} regexp The regexp to clone. + * @returns {Object} Returns the cloned regexp. + */ + function cloneRegExp(regexp) { + var result = new regexp.constructor(regexp.source, reFlags.exec(regexp)); + result.lastIndex = regexp.lastIndex; + return result; + } + + /** + * Creates a clone of the `symbol` object. + * + * @private + * @param {Object} symbol The symbol object to clone. + * @returns {Object} Returns the cloned symbol object. + */ + function cloneSymbol(symbol) { + return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {}; + } + + /** + * Creates a clone of `typedArray`. + * + * @private + * @param {Object} typedArray The typed array to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the cloned typed array. + */ + function cloneTypedArray(typedArray, isDeep) { + var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; + return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); + } + + /** + * Compares values to sort them in ascending order. + * + * @private + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {number} Returns the sort order indicator for `value`. + */ + function compareAscending(value, other) { + if (value !== other) { + var valIsDefined = value !== undefined, + valIsNull = value === null, + valIsReflexive = value === value, + valIsSymbol = isSymbol(value); + + var othIsDefined = other !== undefined, + othIsNull = other === null, + othIsReflexive = other === other, + othIsSymbol = isSymbol(other); + + if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) || + (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) || + (valIsNull && othIsDefined && othIsReflexive) || + (!valIsDefined && othIsReflexive) || + !valIsReflexive) { + return 1; + } + if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) || + (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) || + (othIsNull && valIsDefined && valIsReflexive) || + (!othIsDefined && valIsReflexive) || + !othIsReflexive) { + return -1; + } + } + return 0; + } + + /** + * Used by `_.orderBy` to compare multiple properties of a value to another + * and stable sort them. + * + * If `orders` is unspecified, all values are sorted in ascending order. Otherwise, + * specify an order of "desc" for descending or "asc" for ascending sort order + * of corresponding values. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {boolean[]|string[]} orders The order to sort by for each property. + * @returns {number} Returns the sort order indicator for `object`. + */ + function compareMultiple(object, other, orders) { + var index = -1, + objCriteria = object.criteria, + othCriteria = other.criteria, + length = objCriteria.length, + ordersLength = orders.length; + + while (++index < length) { + var result = compareAscending(objCriteria[index], othCriteria[index]); + if (result) { + if (index >= ordersLength) { + return result; + } + var order = orders[index]; + return result * (order == 'desc' ? -1 : 1); + } + } + // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications + // that causes it, under certain circumstances, to provide the same value for + // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247 + // for more details. + // + // This also ensures a stable sort in V8 and other engines. + // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details. + return object.index - other.index; + } + + /** + * Creates an array that is the composition of partially applied arguments, + * placeholders, and provided arguments into a single array of arguments. + * + * @private + * @param {Array} args The provided arguments. + * @param {Array} partials The arguments to prepend to those provided. + * @param {Array} holders The `partials` placeholder indexes. + * @params {boolean} [isCurried] Specify composing for a curried function. + * @returns {Array} Returns the new array of composed arguments. + */ + function composeArgs(args, partials, holders, isCurried) { + var argsIndex = -1, + argsLength = args.length, + holdersLength = holders.length, + leftIndex = -1, + leftLength = partials.length, + rangeLength = nativeMax(argsLength - holdersLength, 0), + result = Array(leftLength + rangeLength), + isUncurried = !isCurried; + + while (++leftIndex < leftLength) { + result[leftIndex] = partials[leftIndex]; + } + while (++argsIndex < holdersLength) { + if (isUncurried || argsIndex < argsLength) { + result[holders[argsIndex]] = args[argsIndex]; + } + } + while (rangeLength--) { + result[leftIndex++] = args[argsIndex++]; + } + return result; + } + + /** + * This function is like `composeArgs` except that the arguments composition + * is tailored for `_.partialRight`. + * + * @private + * @param {Array} args The provided arguments. + * @param {Array} partials The arguments to append to those provided. + * @param {Array} holders The `partials` placeholder indexes. + * @params {boolean} [isCurried] Specify composing for a curried function. + * @returns {Array} Returns the new array of composed arguments. + */ + function composeArgsRight(args, partials, holders, isCurried) { + var argsIndex = -1, + argsLength = args.length, + holdersIndex = -1, + holdersLength = holders.length, + rightIndex = -1, + rightLength = partials.length, + rangeLength = nativeMax(argsLength - holdersLength, 0), + result = Array(rangeLength + rightLength), + isUncurried = !isCurried; + + while (++argsIndex < rangeLength) { + result[argsIndex] = args[argsIndex]; + } + var offset = argsIndex; + while (++rightIndex < rightLength) { + result[offset + rightIndex] = partials[rightIndex]; + } + while (++holdersIndex < holdersLength) { + if (isUncurried || argsIndex < argsLength) { + result[offset + holders[holdersIndex]] = args[argsIndex++]; + } + } + return result; + } + + /** + * 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, + length = source.length; + + array || (array = Array(length)); + while (++index < length) { + array[index] = source[index]; + } + return array; + } + + /** + * 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, + length = props.length; + + while (++index < length) { + var key = props[index]; + + var newValue = customizer + ? customizer(object[key], source[key], key, object, source) + : undefined; + + if (newValue === undefined) { + newValue = source[key]; + } + if (isNew) { + baseAssignValue(object, key, newValue); + } else { + assignValue(object, key, newValue); + } + } + return object; + } + + /** + * Copies own symbols of `source` to `object`. + * + * @private + * @param {Object} source The object to copy symbols from. + * @param {Object} [object={}] The object to copy symbols to. + * @returns {Object} Returns `object`. + */ + function copySymbols(source, object) { + return copyObject(source, getSymbols(source), object); + } + + /** + * Copies own and inherited symbols of `source` to `object`. + * + * @private + * @param {Object} source The object to copy symbols from. + * @param {Object} [object={}] The object to copy symbols to. + * @returns {Object} Returns `object`. + */ + function copySymbolsIn(source, object) { + return copyObject(source, getSymbolsIn(source), object); + } + + /** + * Creates a function like `_.groupBy`. + * + * @private + * @param {Function} setter The function to set accumulator values. + * @param {Function} [initializer] The accumulator object initializer. + * @returns {Function} Returns the new aggregator function. + */ + function createAggregator(setter, initializer) { + return function(collection, iteratee) { + var func = isArray(collection) ? arrayAggregator : baseAggregator, + accumulator = initializer ? initializer() : {}; + + return func(collection, setter, getIteratee(iteratee, 2), accumulator); + }; + } + + /** + * Creates a function like `_.assign`. + * + * @private + * @param {Function} assigner The function to assign values. + * @returns {Function} Returns the new assigner function. + */ + function createAssigner(assigner) { + return baseRest(function(object, sources) { + var index = -1, + length = sources.length, + customizer = length > 1 ? sources[length - 1] : undefined, + guard = length > 2 ? sources[2] : undefined; + + customizer = (assigner.length > 3 && typeof customizer == 'function') + ? (length--, customizer) + : undefined; + + if (guard && isIterateeCall(sources[0], sources[1], guard)) { + customizer = length < 3 ? undefined : customizer; + length = 1; + } + object = Object(object); + while (++index < length) { + var source = sources[index]; + if (source) { + assigner(object, source, index, customizer); + } + } + return object; + }); + } + + /** + * Creates a `baseEach` or `baseEachRight` function. + * + * @private + * @param {Function} eachFunc The function to iterate over a collection. + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new base function. + */ + function createBaseEach(eachFunc, fromRight) { + return function(collection, iteratee) { + if (collection == null) { + return collection; + } + if (!isArrayLike(collection)) { + return eachFunc(collection, iteratee); + } + var length = collection.length, + index = fromRight ? length : -1, + iterable = Object(collection); + + while ((fromRight ? index-- : ++index < length)) { + if (iteratee(iterable[index], index, iterable) === false) { + break; + } + } + return collection; + }; + } + + /** + * Creates a base function for methods like `_.forIn` and `_.forOwn`. + * + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new base function. + */ + function createBaseFor(fromRight) { + return function(object, iteratee, keysFunc) { + var index = -1, + iterable = Object(object), + props = keysFunc(object), + length = props.length; + + while (length--) { + var key = props[fromRight ? length : ++index]; + if (iteratee(iterable[key], key, iterable) === false) { + break; + } + } + return object; + }; + } + + /** + * Creates a function that wraps `func` to invoke it with the optional `this` + * binding of `thisArg`. + * + * @private + * @param {Function} func The function to wrap. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @param {*} [thisArg] The `this` binding of `func`. + * @returns {Function} Returns the new wrapped function. + */ + function createBind(func, bitmask, thisArg) { + var isBind = bitmask & WRAP_BIND_FLAG, + Ctor = createCtor(func); + + function wrapper() { + var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; + return fn.apply(isBind ? thisArg : this, arguments); + } + return wrapper; + } + + /** + * Creates a function like `_.lowerFirst`. + * + * @private + * @param {string} methodName The name of the `String` case method to use. + * @returns {Function} Returns the new case function. + */ + function createCaseFirst(methodName) { + return function(string) { + string = toString(string); + + var strSymbols = hasUnicode(string) + ? stringToArray(string) + : undefined; + + var chr = strSymbols + ? strSymbols[0] + : string.charAt(0); + + var trailing = strSymbols + ? castSlice(strSymbols, 1).join('') + : string.slice(1); + + return chr[methodName]() + trailing; + }; + } + + /** + * Creates a function like `_.camelCase`. + * + * @private + * @param {Function} callback The function to combine each word. + * @returns {Function} Returns the new compounder function. + */ + function createCompounder(callback) { + return function(string) { + return arrayReduce(words(deburr(string).replace(reApos, '')), callback, ''); + }; + } + + /** + * Creates a function that produces an instance of `Ctor` regardless of + * whether it was invoked as part of a `new` expression or by `call` or `apply`. + * + * @private + * @param {Function} Ctor The constructor to wrap. + * @returns {Function} Returns the new wrapped function. + */ + function createCtor(Ctor) { + return function() { + // Use a `switch` statement to work with class constructors. See + // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist + // for more details. + var args = arguments; + switch (args.length) { + case 0: return new Ctor; + case 1: return new Ctor(args[0]); + case 2: return new Ctor(args[0], args[1]); + case 3: return new Ctor(args[0], args[1], args[2]); + case 4: return new Ctor(args[0], args[1], args[2], args[3]); + case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]); + case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]); + case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]); + } + var thisBinding = baseCreate(Ctor.prototype), + result = Ctor.apply(thisBinding, args); + + // Mimic the constructor's `return` behavior. + // See https://es5.github.io/#x13.2.2 for more details. + return isObject(result) ? result : thisBinding; + }; + } + + /** + * Creates a function that wraps `func` to enable currying. + * + * @private + * @param {Function} func The function to wrap. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @param {number} arity The arity of `func`. + * @returns {Function} Returns the new wrapped function. + */ + function createCurry(func, bitmask, arity) { + var Ctor = createCtor(func); + + function wrapper() { + var length = arguments.length, + args = Array(length), + index = length, + placeholder = getHolder(wrapper); + + while (index--) { + args[index] = arguments[index]; + } + var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder) + ? [] + : replaceHolders(args, placeholder); + + length -= holders.length; + if (length < arity) { + return createRecurry( + func, bitmask, createHybrid, wrapper.placeholder, undefined, + args, holders, undefined, undefined, arity - length); + } + var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; + return apply(fn, this, args); + } + return wrapper; + } + + /** + * Creates a `_.find` or `_.findLast` function. + * + * @private + * @param {Function} findIndexFunc The function to find the collection index. + * @returns {Function} Returns the new find function. + */ + function createFind(findIndexFunc) { + return function(collection, predicate, fromIndex) { + var iterable = Object(collection); + if (!isArrayLike(collection)) { + var iteratee = getIteratee(predicate, 3); + collection = keys(collection); + predicate = function(key) { return iteratee(iterable[key], key, iterable); }; + } + var index = findIndexFunc(collection, predicate, fromIndex); + return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined; + }; + } + + /** + * Creates a `_.flow` or `_.flowRight` function. + * + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new flow function. + */ + function createFlow(fromRight) { + return flatRest(function(funcs) { + var length = funcs.length, + index = length, + prereq = LodashWrapper.prototype.thru; + + if (fromRight) { + funcs.reverse(); + } + while (index--) { + var func = funcs[index]; + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + if (prereq && !wrapper && getFuncName(func) == 'wrapper') { + var wrapper = new LodashWrapper([], true); + } + } + index = wrapper ? index : length; + while (++index < length) { + func = funcs[index]; + + var funcName = getFuncName(func), + data = funcName == 'wrapper' ? getData(func) : undefined; + + if (data && isLaziable(data[0]) && + data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && + !data[4].length && data[9] == 1 + ) { + wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]); + } else { + wrapper = (func.length == 1 && isLaziable(func)) + ? wrapper[funcName]() + : wrapper.thru(func); + } + } + return function() { + var args = arguments, + value = args[0]; + + if (wrapper && args.length == 1 && isArray(value)) { + return wrapper.plant(value).value(); + } + var index = 0, + result = length ? funcs[index].apply(this, args) : value; + + while (++index < length) { + result = funcs[index].call(this, result); + } + return result; + }; + }); + } + + /** + * Creates a function that wraps `func` to invoke it with optional `this` + * binding of `thisArg`, partial application, and currying. + * + * @private + * @param {Function|string} func The function or method name to wrap. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @param {*} [thisArg] The `this` binding of `func`. + * @param {Array} [partials] The arguments to prepend to those provided to + * the new function. + * @param {Array} [holders] The `partials` placeholder indexes. + * @param {Array} [partialsRight] The arguments to append to those provided + * to the new function. + * @param {Array} [holdersRight] The `partialsRight` placeholder indexes. + * @param {Array} [argPos] The argument positions of the new function. + * @param {number} [ary] The arity cap of `func`. + * @param {number} [arity] The arity of `func`. + * @returns {Function} Returns the new wrapped function. + */ + function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) { + var isAry = bitmask & WRAP_ARY_FLAG, + isBind = bitmask & WRAP_BIND_FLAG, + isBindKey = bitmask & WRAP_BIND_KEY_FLAG, + isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG), + isFlip = bitmask & WRAP_FLIP_FLAG, + Ctor = isBindKey ? undefined : createCtor(func); + + function wrapper() { + var length = arguments.length, + args = Array(length), + index = length; + + while (index--) { + args[index] = arguments[index]; + } + if (isCurried) { + var placeholder = getHolder(wrapper), + holdersCount = countHolders(args, placeholder); + } + if (partials) { + args = composeArgs(args, partials, holders, isCurried); + } + if (partialsRight) { + args = composeArgsRight(args, partialsRight, holdersRight, isCurried); + } + length -= holdersCount; + if (isCurried && length < arity) { + var newHolders = replaceHolders(args, placeholder); + return createRecurry( + func, bitmask, createHybrid, wrapper.placeholder, thisArg, + args, newHolders, argPos, ary, arity - length + ); + } + var thisBinding = isBind ? thisArg : this, + fn = isBindKey ? thisBinding[func] : func; + + length = args.length; + if (argPos) { + args = reorder(args, argPos); + } else if (isFlip && length > 1) { + args.reverse(); + } + if (isAry && ary < length) { + args.length = ary; + } + if (this && this !== root && this instanceof wrapper) { + fn = Ctor || createCtor(fn); + } + return fn.apply(thisBinding, args); + } + return wrapper; + } + + /** + * Creates a function like `_.invertBy`. + * + * @private + * @param {Function} setter The function to set accumulator values. + * @param {Function} toIteratee The function to resolve iteratees. + * @returns {Function} Returns the new inverter function. + */ + function createInverter(setter, toIteratee) { + return function(object, iteratee) { + return baseInverter(object, setter, toIteratee(iteratee), {}); + }; + } + + /** + * Creates a function that performs a mathematical operation on two values. + * + * @private + * @param {Function} operator The function to perform the operation. + * @param {number} [defaultValue] The value used for `undefined` arguments. + * @returns {Function} Returns the new mathematical operation function. + */ + function createMathOperation(operator, defaultValue) { + return function(value, other) { + var result; + if (value === undefined && other === undefined) { + return defaultValue; + } + if (value !== undefined) { + result = value; + } + if (other !== undefined) { + if (result === undefined) { + return other; + } + if (typeof value == 'string' || typeof other == 'string') { + value = baseToString(value); + other = baseToString(other); + } else { + value = baseToNumber(value); + other = baseToNumber(other); + } + result = operator(value, other); + } + return result; + }; + } + + /** + * Creates a function like `_.over`. + * + * @private + * @param {Function} arrayFunc The function to iterate over iteratees. + * @returns {Function} Returns the new over function. + */ + function createOver(arrayFunc) { + return flatRest(function(iteratees) { + iteratees = arrayMap(iteratees, baseUnary(getIteratee())); + return baseRest(function(args) { + var thisArg = this; + return arrayFunc(iteratees, function(iteratee) { + return apply(iteratee, thisArg, args); + }); + }); + }); + } + + /** + * Creates the padding for `string` based on `length`. The `chars` string + * is truncated if the number of characters exceeds `length`. + * + * @private + * @param {number} length The padding length. + * @param {string} [chars=' '] The string used as padding. + * @returns {string} Returns the padding for `string`. + */ + function createPadding(length, chars) { + chars = chars === undefined ? ' ' : baseToString(chars); + + var charsLength = chars.length; + if (charsLength < 2) { + return charsLength ? baseRepeat(chars, length) : chars; + } + var result = baseRepeat(chars, nativeCeil(length / stringSize(chars))); + return hasUnicode(chars) + ? castSlice(stringToArray(result), 0, length).join('') + : result.slice(0, length); + } + + /** + * Creates a function that wraps `func` to invoke it with the `this` binding + * of `thisArg` and `partials` prepended to the arguments it receives. + * + * @private + * @param {Function} func The function to wrap. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @param {*} thisArg The `this` binding of `func`. + * @param {Array} partials The arguments to prepend to those provided to + * the new function. + * @returns {Function} Returns the new wrapped function. + */ + function createPartial(func, bitmask, thisArg, partials) { + var isBind = bitmask & WRAP_BIND_FLAG, + Ctor = createCtor(func); + + function wrapper() { + var argsIndex = -1, + argsLength = arguments.length, + leftIndex = -1, + leftLength = partials.length, + args = Array(leftLength + argsLength), + fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; + + while (++leftIndex < leftLength) { + args[leftIndex] = partials[leftIndex]; + } + while (argsLength--) { + args[leftIndex++] = arguments[++argsIndex]; + } + return apply(fn, isBind ? thisArg : this, args); + } + return wrapper; + } + + /** + * Creates a `_.range` or `_.rangeRight` function. + * + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new range function. + */ + function createRange(fromRight) { + return function(start, end, step) { + if (step && typeof step != 'number' && isIterateeCall(start, end, step)) { + end = step = undefined; + } + // Ensure the sign of `-0` is preserved. + start = toFinite(start); + if (end === undefined) { + end = start; + start = 0; + } else { + end = toFinite(end); + } + step = step === undefined ? (start < end ? 1 : -1) : toFinite(step); + return baseRange(start, end, step, fromRight); + }; + } + + /** + * Creates a function that performs a relational operation on two values. + * + * @private + * @param {Function} operator The function to perform the operation. + * @returns {Function} Returns the new relational operation function. + */ + function createRelationalOperation(operator) { + return function(value, other) { + if (!(typeof value == 'string' && typeof other == 'string')) { + value = toNumber(value); + other = toNumber(other); + } + return operator(value, other); + }; + } + + /** + * Creates a function that wraps `func` to continue currying. + * + * @private + * @param {Function} func The function to wrap. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @param {Function} wrapFunc The function to create the `func` wrapper. + * @param {*} placeholder The placeholder value. + * @param {*} [thisArg] The `this` binding of `func`. + * @param {Array} [partials] The arguments to prepend to those provided to + * the new function. + * @param {Array} [holders] The `partials` placeholder indexes. + * @param {Array} [argPos] The argument positions of the new function. + * @param {number} [ary] The arity cap of `func`. + * @param {number} [arity] The arity of `func`. + * @returns {Function} Returns the new wrapped function. + */ + function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) { + var isCurry = bitmask & WRAP_CURRY_FLAG, + newHolders = isCurry ? holders : undefined, + newHoldersRight = isCurry ? undefined : holders, + newPartials = isCurry ? partials : undefined, + newPartialsRight = isCurry ? undefined : partials; + + bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG); + bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG); + + if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) { + bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG); + } + var newData = [ + func, bitmask, thisArg, newPartials, newHolders, newPartialsRight, + newHoldersRight, argPos, ary, arity + ]; + + var result = wrapFunc.apply(undefined, newData); + if (isLaziable(func)) { + setData(result, newData); + } + result.placeholder = placeholder; + return setWrapToString(result, func, bitmask); + } + + /** + * Creates a function like `_.round`. + * + * @private + * @param {string} methodName The name of the `Math` method to use when rounding. + * @returns {Function} Returns the new round function. + */ + function createRound(methodName) { + var func = Math[methodName]; + return function(number, precision) { + number = toNumber(number); + precision = precision == null ? 0 : nativeMin(toInteger(precision), 292); + if (precision && nativeIsFinite(number)) { + // Shift with exponential notation to avoid floating-point issues. + // See [MDN](https://mdn.io/round#Examples) for more details. + var pair = (toString(number) + 'e').split('e'), + value = func(pair[0] + 'e' + (+pair[1] + precision)); + + pair = (toString(value) + 'e').split('e'); + return +(pair[0] + 'e' + (+pair[1] - precision)); + } + return func(number); + }; + } + + /** + * Creates a set object of `values`. + * + * @private + * @param {Array} values The values to add to the set. + * @returns {Object} Returns the new set. + */ + var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) { + return new Set(values); + }; + + /** + * Creates a `_.toPairs` or `_.toPairsIn` function. + * + * @private + * @param {Function} keysFunc The function to get the keys of a given object. + * @returns {Function} Returns the new pairs function. + */ + function createToPairs(keysFunc) { + return function(object) { + var tag = getTag(object); + if (tag == mapTag) { + return mapToArray(object); + } + if (tag == setTag) { + return setToPairs(object); + } + return baseToPairs(object, keysFunc(object)); + }; + } + + /** + * Creates a function that either curries or invokes `func` with optional + * `this` binding and partially applied arguments. + * + * @private + * @param {Function|string} func The function or method name to wrap. + * @param {number} bitmask The bitmask flags. + * 1 - `_.bind` + * 2 - `_.bindKey` + * 4 - `_.curry` or `_.curryRight` of a bound function + * 8 - `_.curry` + * 16 - `_.curryRight` + * 32 - `_.partial` + * 64 - `_.partialRight` + * 128 - `_.rearg` + * 256 - `_.ary` + * 512 - `_.flip` + * @param {*} [thisArg] The `this` binding of `func`. + * @param {Array} [partials] The arguments to be partially applied. + * @param {Array} [holders] The `partials` placeholder indexes. + * @param {Array} [argPos] The argument positions of the new function. + * @param {number} [ary] The arity cap of `func`. + * @param {number} [arity] The arity of `func`. + * @returns {Function} Returns the new wrapped function. + */ + function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) { + var isBindKey = bitmask & WRAP_BIND_KEY_FLAG; + if (!isBindKey && typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + var length = partials ? partials.length : 0; + if (!length) { + bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG); + partials = holders = undefined; + } + ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0); + arity = arity === undefined ? arity : toInteger(arity); + length -= holders ? holders.length : 0; + + if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) { + var partialsRight = partials, + holdersRight = holders; + + partials = holders = undefined; + } + var data = isBindKey ? undefined : getData(func); + + var newData = [ + func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, + argPos, ary, arity + ]; + + if (data) { + mergeData(newData, data); + } + func = newData[0]; + bitmask = newData[1]; + thisArg = newData[2]; + partials = newData[3]; + holders = newData[4]; + arity = newData[9] = newData[9] === undefined + ? (isBindKey ? 0 : func.length) + : nativeMax(newData[9] - length, 0); + + if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) { + bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG); + } + if (!bitmask || bitmask == WRAP_BIND_FLAG) { + var result = createBind(func, bitmask, thisArg); + } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) { + result = createCurry(func, bitmask, arity); + } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) { + result = createPartial(func, bitmask, thisArg, partials); + } else { + result = createHybrid.apply(undefined, newData); + } + var setter = data ? baseSetData : setData; + return setWrapToString(setter(result, newData), func, bitmask); + } + + /** + * Used by `_.defaults` to customize its `_.assignIn` use to assign properties + * of source objects to the destination object for all destination properties + * that resolve to `undefined`. + * + * @private + * @param {*} objValue The destination value. + * @param {*} srcValue The source value. + * @param {string} key The key of the property to assign. + * @param {Object} object The parent object of `objValue`. + * @returns {*} Returns the value to assign. + */ + function customDefaultsAssignIn(objValue, srcValue, key, object) { + if (objValue === undefined || + (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) { + return srcValue; + } + return objValue; + } + + /** + * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source + * objects into destination objects that are passed thru. + * + * @private + * @param {*} objValue The destination value. + * @param {*} srcValue The source value. + * @param {string} key The key of the property to merge. + * @param {Object} object The parent object of `objValue`. + * @param {Object} source The parent object of `srcValue`. + * @param {Object} [stack] Tracks traversed source values and their merged + * counterparts. + * @returns {*} Returns the value to assign. + */ + function customDefaultsMerge(objValue, srcValue, key, object, source, stack) { + if (isObject(objValue) && isObject(srcValue)) { + // Recursively merge objects and arrays (susceptible to call stack limits). + stack.set(srcValue, objValue); + baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack); + stack['delete'](srcValue); + } + return objValue; + } + + /** + * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain + * objects. + * + * @private + * @param {*} value The value to inspect. + * @param {string} key The key of the property to inspect. + * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`. + */ + function customOmitClone(value) { + return isPlainObject(value) ? undefined : value; + } + + /** + * A specialized version of `baseIsEqualDeep` for arrays with support for + * partial deep comparisons. + * + * @private + * @param {Array} array The array to compare. + * @param {Array} other The other array to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} stack Tracks traversed `array` and `other` objects. + * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. + */ + function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { + var isPartial = bitmask & COMPARE_PARTIAL_FLAG, + arrLength = array.length, + othLength = other.length; + + if (arrLength != othLength && !(isPartial && othLength > arrLength)) { + return false; + } + // Check that cyclic values are equal. + var arrStacked = stack.get(array); + var othStacked = stack.get(other); + if (arrStacked && othStacked) { + return arrStacked == other && othStacked == array; + } + var index = -1, + result = true, + seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined; + + stack.set(array, other); + stack.set(other, array); + + // Ignore non-index properties. + while (++index < arrLength) { + var arrValue = array[index], + othValue = other[index]; + + if (customizer) { + var compared = isPartial + ? customizer(othValue, arrValue, index, other, array, stack) + : customizer(arrValue, othValue, index, array, other, stack); + } + if (compared !== undefined) { + if (compared) { + continue; + } + result = false; + break; + } + // Recursively compare arrays (susceptible to call stack limits). + if (seen) { + if (!arraySome(other, function(othValue, othIndex) { + if (!cacheHas(seen, othIndex) && + (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { + return seen.push(othIndex); + } + })) { + result = false; + break; + } + } else if (!( + arrValue === othValue || + equalFunc(arrValue, othValue, bitmask, customizer, stack) + )) { + result = false; + break; + } + } + stack['delete'](array); + stack['delete'](other); + return result; + } + + /** + * A specialized version of `baseIsEqualDeep` for comparing objects of + * the same `toStringTag`. + * + * **Note:** This function only supports comparing values with tags of + * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {string} tag The `toStringTag` of the objects to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} stack Tracks traversed `object` and `other` objects. + * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. + */ + function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { + switch (tag) { + case dataViewTag: + if ((object.byteLength != other.byteLength) || + (object.byteOffset != other.byteOffset)) { + return false; + } + object = object.buffer; + other = other.buffer; + + case arrayBufferTag: + if ((object.byteLength != other.byteLength) || + !equalFunc(new Uint8Array(object), new Uint8Array(other))) { + return false; + } + return true; + + case boolTag: + case dateTag: + case numberTag: + // Coerce booleans to `1` or `0` and dates to milliseconds. + // Invalid dates are coerced to `NaN`. + return eq(+object, +other); + + case errorTag: + return object.name == other.name && object.message == other.message; + + case regexpTag: + case stringTag: + // Coerce regexes to strings and treat strings, primitives and objects, + // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring + // for more details. + return object == (other + ''); + + case mapTag: + var convert = mapToArray; + + case setTag: + var isPartial = bitmask & COMPARE_PARTIAL_FLAG; + convert || (convert = setToArray); + + if (object.size != other.size && !isPartial) { + return false; + } + // Assume cyclic values are equal. + var stacked = stack.get(object); + if (stacked) { + return stacked == other; + } + bitmask |= COMPARE_UNORDERED_FLAG; + + // Recursively compare objects (susceptible to call stack limits). + stack.set(object, other); + var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack); + stack['delete'](object); + return result; + + case symbolTag: + if (symbolValueOf) { + return symbolValueOf.call(object) == symbolValueOf.call(other); + } + } + return false; + } + + /** + * A specialized version of `baseIsEqualDeep` for objects with support for + * partial deep comparisons. + * + * @private + * @param {Object} object The object to compare. + * @param {Object} other The other object to compare. + * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. + * @param {Function} customizer The function to customize comparisons. + * @param {Function} equalFunc The function to determine equivalents of values. + * @param {Object} stack Tracks traversed `object` and `other` objects. + * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. + */ + function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { + var isPartial = bitmask & COMPARE_PARTIAL_FLAG, + objProps = getAllKeys(object), + objLength = objProps.length, + othProps = getAllKeys(other), + othLength = othProps.length; + + if (objLength != othLength && !isPartial) { + return false; + } + var index = objLength; + while (index--) { + var key = objProps[index]; + if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) { + return false; + } + } + // Check that cyclic values are equal. + var objStacked = stack.get(object); + var othStacked = stack.get(other); + if (objStacked && othStacked) { + return objStacked == other && othStacked == object; + } + var result = true; + stack.set(object, other); + stack.set(other, object); + + var skipCtor = isPartial; + while (++index < objLength) { + key = objProps[index]; + var objValue = object[key], + othValue = other[key]; + + if (customizer) { + var compared = isPartial + ? customizer(othValue, objValue, key, other, object, stack) + : customizer(objValue, othValue, key, object, other, stack); + } + // Recursively compare objects (susceptible to call stack limits). + if (!(compared === undefined + ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack)) + : compared + )) { + result = false; + break; + } + skipCtor || (skipCtor = key == 'constructor'); + } + if (result && !skipCtor) { + var objCtor = object.constructor, + othCtor = other.constructor; + + // Non `Object` object instances with different constructors are not equal. + if (objCtor != othCtor && + ('constructor' in object && 'constructor' in other) && + !(typeof objCtor == 'function' && objCtor instanceof objCtor && + typeof othCtor == 'function' && othCtor instanceof othCtor)) { + result = false; + } + } + stack['delete'](object); + stack['delete'](other); + return result; + } + + /** + * A specialized version of `baseRest` which flattens the rest array. + * + * @private + * @param {Function} func The function to apply a rest parameter to. + * @returns {Function} Returns the new function. + */ + function flatRest(func) { + return setToString(overRest(func, undefined, flatten), func + ''); + } + + /** + * Creates an array of own enumerable property names and symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names and symbols. + */ + function getAllKeys(object) { + return baseGetAllKeys(object, keys, getSymbols); + } + + /** + * Creates an array of own and inherited enumerable property names and + * symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names and symbols. + */ + function getAllKeysIn(object) { + return baseGetAllKeys(object, keysIn, getSymbolsIn); + } + + /** + * Gets metadata for `func`. + * + * @private + * @param {Function} func The function to query. + * @returns {*} Returns the metadata for `func`. + */ + var getData = !metaMap ? noop : function(func) { + return metaMap.get(func); + }; + + /** + * Gets the name of `func`. + * + * @private + * @param {Function} func The function to query. + * @returns {string} Returns the function name. + */ + function getFuncName(func) { + var result = (func.name + ''), + array = realNames[result], + length = hasOwnProperty.call(realNames, result) ? array.length : 0; + + while (length--) { + var data = array[length], + otherFunc = data.func; + if (otherFunc == null || otherFunc == func) { + return data.name; + } + } + return result; + } + + /** + * Gets the argument placeholder value for `func`. + * + * @private + * @param {Function} func The function to inspect. + * @returns {*} Returns the placeholder value. + */ + function getHolder(func) { + var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func; + return object.placeholder; + } + + /** + * Gets the appropriate "iteratee" function. If `_.iteratee` is customized, + * this function returns the custom method, otherwise it returns `baseIteratee`. + * If arguments are provided, the chosen function is invoked with them and + * its result is returned. + * + * @private + * @param {*} [value] The value to convert to an iteratee. + * @param {number} [arity] The arity of the created iteratee. + * @returns {Function} Returns the chosen function or its result. + */ + function getIteratee() { + var result = lodash.iteratee || iteratee; + result = result === iteratee ? baseIteratee : result; + return arguments.length ? result(arguments[0], arguments[1]) : result; + } + + /** + * Gets the data for `map`. + * + * @private + * @param {Object} map The map to query. + * @param {string} key The reference key. + * @returns {*} Returns the map data. + */ + function getMapData(map, key) { + var data = map.__data__; + return isKeyable(key) + ? data[typeof key == 'string' ? 'string' : 'hash'] + : data.map; + } + + /** + * Gets the property names, values, and compare flags of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the match data of `object`. + */ + function getMatchData(object) { + var result = keys(object), + length = result.length; + + while (length--) { + var key = result[length], + value = object[key]; + + result[length] = [key, value, isStrictComparable(value)]; + } + return result; + } + + /** + * 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 = getValue(object, key); + return baseIsNative(value) ? value : undefined; + } + + /** + * 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) { + var isOwn = hasOwnProperty.call(value, symToStringTag), + tag = value[symToStringTag]; + + try { + value[symToStringTag] = undefined; + var unmasked = true; + } catch (e) {} + + var result = nativeObjectToString.call(value); + if (unmasked) { + if (isOwn) { + value[symToStringTag] = tag; + } else { + delete value[symToStringTag]; + } + } + return result; + } + + /** + * Creates an array of the own enumerable symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of symbols. + */ + var getSymbols = !nativeGetSymbols ? stubArray : function(object) { + if (object == null) { + return []; + } + object = Object(object); + return arrayFilter(nativeGetSymbols(object), function(symbol) { + return propertyIsEnumerable.call(object, symbol); + }); + }; + + /** + * Creates an array of the own and inherited enumerable symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of symbols. + */ + var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) { + var result = []; + while (object) { + arrayPush(result, getSymbols(object)); + object = getPrototype(object); + } + return result; + }; + + /** + * Gets the `toStringTag` of `value`. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. + */ + var getTag = baseGetTag; + + // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6. + if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || + (Map && getTag(new Map) != mapTag) || + (Promise && getTag(Promise.resolve()) != promiseTag) || + (Set && getTag(new Set) != setTag) || + (WeakMap && getTag(new WeakMap) != weakMapTag)) { + getTag = function(value) { + var result = baseGetTag(value), + Ctor = result == objectTag ? value.constructor : undefined, + ctorString = Ctor ? toSource(Ctor) : ''; + + if (ctorString) { + switch (ctorString) { + case dataViewCtorString: return dataViewTag; + case mapCtorString: return mapTag; + case promiseCtorString: return promiseTag; + case setCtorString: return setTag; + case weakMapCtorString: return weakMapTag; + } + } + return result; + }; + } + + /** + * Gets the view, applying any `transforms` to the `start` and `end` positions. + * + * @private + * @param {number} start The start of the view. + * @param {number} end The end of the view. + * @param {Array} transforms The transformations to apply to the view. + * @returns {Object} Returns an object containing the `start` and `end` + * positions of the view. + */ + function getView(start, end, transforms) { + var index = -1, + length = transforms.length; + + while (++index < length) { + var data = transforms[index], + size = data.size; + + switch (data.type) { + case 'drop': start += size; break; + case 'dropRight': end -= size; break; + case 'take': end = nativeMin(end, start + size); break; + case 'takeRight': start = nativeMax(start, end - size); break; + } + } + return { 'start': start, 'end': end }; + } + + /** + * Extracts wrapper details from the `source` body comment. + * + * @private + * @param {string} source The source to inspect. + * @returns {Array} Returns the wrapper details. + */ + function getWrapDetails(source) { + var match = source.match(reWrapDetails); + return match ? match[1].split(reSplitDetails) : []; + } + + /** + * Checks if `path` exists on `object`. + * + * @private + * @param {Object} object The object to query. + * @param {Array|string} path The path to check. + * @param {Function} hasFunc The function to check properties. + * @returns {boolean} Returns `true` if `path` exists, else `false`. + */ + function hasPath(object, path, hasFunc) { + path = castPath(path, object); + + var index = -1, + length = path.length, + result = false; + + while (++index < length) { + var key = toKey(path[index]); + if (!(result = object != null && hasFunc(object, key))) { + break; + } + object = object[key]; + } + if (result || ++index != length) { + return result; + } + length = object == null ? 0 : object.length; + return !!length && isLength(length) && isIndex(key, length) && + (isArray(object) || isArguments(object)); + } + + /** + * Initializes an array clone. + * + * @private + * @param {Array} array The array to clone. + * @returns {Array} Returns the initialized clone. + */ + function initCloneArray(array) { + var length = array.length, + result = new array.constructor(length); + + // Add properties assigned by `RegExp#exec`. + if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) { + result.index = array.index; + result.input = array.input; + } + return result; + } + + /** + * Initializes an object clone. + * + * @private + * @param {Object} object The object to clone. + * @returns {Object} Returns the initialized clone. + */ + function initCloneObject(object) { + return (typeof object.constructor == 'function' && !isPrototype(object)) + ? baseCreate(getPrototype(object)) + : {}; + } + + /** + * Initializes an object clone based on its `toStringTag`. + * + * **Note:** This function only supports cloning values with tags of + * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`. + * + * @private + * @param {Object} object The object to clone. + * @param {string} tag The `toStringTag` of the object to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the initialized clone. + */ + function initCloneByTag(object, tag, isDeep) { + var Ctor = object.constructor; + switch (tag) { + case arrayBufferTag: + return cloneArrayBuffer(object); + + case boolTag: + case dateTag: + return new Ctor(+object); + + case dataViewTag: + return cloneDataView(object, isDeep); + + case float32Tag: case float64Tag: + case int8Tag: case int16Tag: case int32Tag: + case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag: + return cloneTypedArray(object, isDeep); + + case mapTag: + return new Ctor; + + case numberTag: + case stringTag: + return new Ctor(object); + + case regexpTag: + return cloneRegExp(object); + + case setTag: + return new Ctor; + + case symbolTag: + return cloneSymbol(object); + } + } + + /** + * Inserts wrapper `details` in a comment at the top of the `source` body. + * + * @private + * @param {string} source The source to modify. + * @returns {Array} details The details to insert. + * @returns {string} Returns the modified source. + */ + function insertWrapDetails(source, details) { + var length = details.length; + if (!length) { + return source; + } + var lastIndex = length - 1; + details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex]; + details = details.join(length > 2 ? ', ' : ' '); + return source.replace(reWrapComment, '{\n/* [wrapped with ' + details + '] */\n'); + } + + /** + * Checks if `value` is a flattenable `arguments` object or array. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is flattenable, else `false`. + */ + function isFlattenable(value) { + return isArray(value) || isArguments(value) || + !!(spreadableSymbol && value && value[spreadableSymbol]); + } + + /** + * 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, length) { + var type = typeof value; + length = length == null ? MAX_SAFE_INTEGER : length; + + return !!length && + (type == 'number' || + (type != 'symbol' && reIsUint.test(value))) && + (value > -1 && value % 1 == 0 && value < length); + } + + /** + * 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, index, object) { + if (!isObject(object)) { + return false; + } + var type = typeof index; + if (type == 'number' + ? (isArrayLike(object) && isIndex(index, object.length)) + : (type == 'string' && index in object) + ) { + return eq(object[index], value); + } + return false; + } + + /** + * Checks if `value` is a property name and not a property path. + * + * @private + * @param {*} value The value to check. + * @param {Object} [object] The object to query keys on. + * @returns {boolean} Returns `true` if `value` is a property name, else `false`. + */ + function isKey(value, object) { + if (isArray(value)) { + return false; + } + var type = typeof value; + if (type == 'number' || type == 'symbol' || type == 'boolean' || + value == null || isSymbol(value)) { + return true; + } + return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || + (object != null && value in Object(object)); + } + + /** + * Checks if `value` is suitable for use as unique object key. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is suitable, else `false`. + */ + function isKeyable(value) { + var type = typeof value; + return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') + ? (value !== '__proto__') + : (value === null); + } + + /** + * Checks if `func` has a lazy counterpart. + * + * @private + * @param {Function} func The function to check. + * @returns {boolean} Returns `true` if `func` has a lazy counterpart, + * else `false`. + */ + function isLaziable(func) { + var funcName = getFuncName(func), + other = lodash[funcName]; + + if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) { + return false; + } + if (func === other) { + return true; + } + var data = getData(other); + return !!data && func === data[0]; + } + + /** + * 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); + } + + /** + * Checks if `func` is capable of being masked. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `func` is maskable, else `false`. + */ + var isMaskable = coreJsData ? isFunction : stubFalse; + + /** + * 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) { + var Ctor = value && value.constructor, + proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; + + return value === proto; + } + + /** + * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` if suitable for strict + * equality comparisons, else `false`. + */ + function isStrictComparable(value) { + return value === value && !isObject(value); + } + + /** + * A specialized version of `matchesProperty` for source values suitable + * for strict equality comparisons, i.e. `===`. + * + * @private + * @param {string} key The key of the property to get. + * @param {*} srcValue The value to match. + * @returns {Function} Returns the new spec function. + */ + function matchesStrictComparable(key, srcValue) { + return function(object) { + if (object == null) { + return false; + } + return object[key] === srcValue && + (srcValue !== undefined || (key in Object(object))); + }; + } + + /** + * A specialized version of `_.memoize` which clears the memoized function's + * cache when it exceeds `MAX_MEMOIZE_SIZE`. + * + * @private + * @param {Function} func The function to have its output memoized. + * @returns {Function} Returns the new memoized function. + */ + function memoizeCapped(func) { + var result = memoize(func, function(key) { + if (cache.size === MAX_MEMOIZE_SIZE) { + cache.clear(); + } + return key; + }); + + var cache = result.cache; + return result; + } + + /** + * Merges the function metadata of `source` into `data`. + * + * Merging metadata reduces the number of wrappers used to invoke a function. + * This is possible because methods like `_.bind`, `_.curry`, and `_.partial` + * may be applied regardless of execution order. Methods like `_.ary` and + * `_.rearg` modify function arguments, making the order in which they are + * executed important, preventing the merging of metadata. However, we make + * an exception for a safe combined case where curried functions have `_.ary` + * and or `_.rearg` applied. + * + * @private + * @param {Array} data The destination metadata. + * @param {Array} source The source metadata. + * @returns {Array} Returns `data`. + */ + function mergeData(data, source) { + var bitmask = data[1], + srcBitmask = source[1], + newBitmask = bitmask | srcBitmask, + isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG); + + var isCombo = + ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) || + ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) || + ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG)); + + // Exit early if metadata can't be merged. + if (!(isCommon || isCombo)) { + return data; + } + // Use source `thisArg` if available. + if (srcBitmask & WRAP_BIND_FLAG) { + data[2] = source[2]; + // Set when currying a bound function. + newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG; + } + // Compose partial arguments. + var value = source[3]; + if (value) { + var partials = data[3]; + data[3] = partials ? composeArgs(partials, value, source[4]) : value; + data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4]; + } + // Compose partial right arguments. + value = source[5]; + if (value) { + partials = data[5]; + data[5] = partials ? composeArgsRight(partials, value, source[6]) : value; + data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6]; + } + // Use source `argPos` if available. + value = source[7]; + if (value) { + data[7] = value; + } + // Use source `ary` if it's smaller. + if (srcBitmask & WRAP_ARY_FLAG) { + data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]); + } + // Use source `arity` if one is not provided. + if (data[9] == null) { + data[9] = source[9]; + } + // Use source `func` and merge bitmasks. + data[0] = source[0]; + data[1] = newBitmask; + + return data; + } + + /** + * 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 = []; + if (object != null) { + for (var key in Object(object)) { + result.push(key); + } + } + return result; + } + + /** + * 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) { + return nativeObjectToString.call(value); + } + + /** + * 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) { + start = nativeMax(start === undefined ? (func.length - 1) : start, 0); + return function() { + var args = arguments, + index = -1, + length = nativeMax(args.length - start, 0), + array = Array(length); + + while (++index < length) { + array[index] = args[start + index]; + } + index = -1; + var otherArgs = Array(start + 1); + while (++index < start) { + otherArgs[index] = args[index]; + } + otherArgs[start] = transform(array); + return apply(func, this, otherArgs); + }; + } + + /** + * Gets the parent value at `path` of `object`. + * + * @private + * @param {Object} object The object to query. + * @param {Array} path The path to get the parent value of. + * @returns {*} Returns the parent value. + */ + function parent(object, path) { + return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1)); + } + + /** + * Reorder `array` according to the specified indexes where the element at + * the first index is assigned as the first element, the element at + * the second index is assigned as the second element, and so on. + * + * @private + * @param {Array} array The array to reorder. + * @param {Array} indexes The arranged array indexes. + * @returns {Array} Returns `array`. + */ + function reorder(array, indexes) { + var arrLength = array.length, + length = nativeMin(indexes.length, arrLength), + oldArray = copyArray(array); + + while (length--) { + var index = indexes[length]; + array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined; + } + return array; + } + + /** + * Gets the value at `key`, unless `key` is "__proto__" or "constructor". + * + * @private + * @param {Object} object The object to query. + * @param {string} key The key of the property to get. + * @returns {*} Returns the property value. + */ + function safeGet(object, key) { + if (key === 'constructor' && typeof object[key] === 'function') { + return; + } + + if (key == '__proto__') { + return; + } + + return object[key]; + } + + /** + * Sets metadata for `func`. + * + * **Note:** If this function becomes hot, i.e. is invoked a lot in a short + * period of time, it will trip its breaker and transition to an identity + * function to avoid garbage collection pauses in V8. See + * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070) + * for more details. + * + * @private + * @param {Function} func The function to associate metadata with. + * @param {*} data The metadata. + * @returns {Function} Returns `func`. + */ + var setData = shortOut(baseSetData); + + /** + * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout). + * + * @private + * @param {Function} func The function to delay. + * @param {number} wait The number of milliseconds to delay invocation. + * @returns {number|Object} Returns the timer id or timeout object. + */ + var setTimeout = ctxSetTimeout || function(func, wait) { + return root.setTimeout(func, wait); + }; + + /** + * 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(baseSetToString); + + /** + * Sets the `toString` method of `wrapper` to mimic the source of `reference` + * with wrapper details in a comment at the top of the source body. + * + * @private + * @param {Function} wrapper The function to modify. + * @param {Function} reference The reference function. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @returns {Function} Returns `wrapper`. + */ + function setWrapToString(wrapper, reference, bitmask) { + var source = (reference + ''); + return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask))); + } + + /** + * 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(undefined, arguments); + }; + } + + /** + * A specialized version of `_.shuffle` which mutates and sets the size of `array`. + * + * @private + * @param {Array} array The array to shuffle. + * @param {number} [size=array.length] The size of `array`. + * @returns {Array} Returns `array`. + */ + function shuffleSelf(array, size) { + var index = -1, + length = array.length, + lastIndex = length - 1; + + size = size === undefined ? length : size; + while (++index < size) { + var rand = baseRandom(index, lastIndex), + value = array[rand]; + + array[rand] = array[index]; + array[index] = value; + } + array.length = size; + return array; + } + + /** + * Converts `string` to a property path array. + * + * @private + * @param {string} string The string to convert. + * @returns {Array} Returns the property path array. + */ + var stringToPath = memoizeCapped(function(string) { + var result = []; + if (string.charCodeAt(0) === 46 /* . */) { + result.push(''); + } + string.replace(rePropName, function(match, number, quote, subString) { + result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match)); + }); + return result; + }); + + /** + * Converts `value` to a string key if it's not a string or symbol. + * + * @private + * @param {*} value The value to inspect. + * @returns {string|symbol} Returns the key. + */ + function toKey(value) { + if (typeof value == 'string' || isSymbol(value)) { + return value; + } + var result = (value + ''); + return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; + } + + /** + * 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.call(func); + } catch (e) {} + try { + return (func + ''); + } catch (e) {} + } + return ''; + } + + /** + * Updates wrapper `details` based on `bitmask` flags. + * + * @private + * @returns {Array} details The details to modify. + * @param {number} bitmask The bitmask flags. See `createWrap` for more details. + * @returns {Array} Returns `details`. + */ + function updateWrapDetails(details, bitmask) { + arrayEach(wrapFlags, function(pair) { + var value = '_.' + pair[0]; + if ((bitmask & pair[1]) && !arrayIncludes(details, value)) { + details.push(value); + } + }); + return details.sort(); + } + + /** + * Creates a clone of `wrapper`. + * + * @private + * @param {Object} wrapper The wrapper to clone. + * @returns {Object} Returns the cloned wrapper. + */ + function wrapperClone(wrapper) { + if (wrapper instanceof LazyWrapper) { + return wrapper.clone(); + } + var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__); + result.__actions__ = copyArray(wrapper.__actions__); + result.__index__ = wrapper.__index__; + result.__values__ = wrapper.__values__; + return result; + } + + /*------------------------------------------------------------------------*/ + + /** + * Creates an array of elements split into groups the length of `size`. + * If `array` can't be split evenly, the final chunk will be the remaining + * elements. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to process. + * @param {number} [size=1] The length of each chunk + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Array} Returns the new array of chunks. + * @example + * + * _.chunk(['a', 'b', 'c', 'd'], 2); + * // => [['a', 'b'], ['c', 'd']] + * + * _.chunk(['a', 'b', 'c', 'd'], 3); + * // => [['a', 'b', 'c'], ['d']] + */ + function chunk(array, size, guard) { + if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) { + size = 1; + } else { + size = nativeMax(toInteger(size), 0); + } + var length = array == null ? 0 : array.length; + if (!length || size < 1) { + return []; + } + var index = 0, + resIndex = 0, + result = Array(nativeCeil(length / size)); + + while (index < length) { + result[resIndex++] = baseSlice(array, index, (index += size)); + } + return result; + } + + /** + * Creates an array with all falsey values removed. The values `false`, `null`, + * `0`, `""`, `undefined`, and `NaN` are falsey. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to compact. + * @returns {Array} Returns the new array of filtered values. + * @example + * + * _.compact([0, 1, false, 2, '', 3]); + * // => [1, 2, 3] + */ + function compact(array) { + var index = -1, + length = array == null ? 0 : array.length, + resIndex = 0, + result = []; + + while (++index < length) { + var value = array[index]; + if (value) { + result[resIndex++] = value; + } + } + return result; + } + + /** + * Creates a new array concatenating `array` with any additional arrays + * and/or values. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to concatenate. + * @param {...*} [values] The values to concatenate. + * @returns {Array} Returns the new concatenated array. + * @example + * + * var array = [1]; + * var other = _.concat(array, 2, [3], [[4]]); + * + * console.log(other); + * // => [1, 2, 3, [4]] + * + * console.log(array); + * // => [1] + */ + function concat() { + var length = arguments.length; + if (!length) { + return []; + } + var args = Array(length - 1), + array = arguments[0], + index = length; + + while (index--) { + args[index - 1] = arguments[index]; + } + return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1)); + } + + /** + * Creates an array of `array` values not included in the other given arrays + * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. The order and references of result values are + * determined by the first array. + * + * **Note:** Unlike `_.pullAll`, this method returns a new array. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {...Array} [values] The values to exclude. + * @returns {Array} Returns the new array of filtered values. + * @see _.without, _.xor + * @example + * + * _.difference([2, 1], [2, 3]); + * // => [1] + */ + var difference = baseRest(function(array, values) { + return isArrayLikeObject(array) + ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true)) + : []; + }); + + /** + * This method is like `_.difference` except that it accepts `iteratee` which + * is invoked for each element of `array` and `values` to generate the criterion + * by which they're compared. The order and references of result values are + * determined by the first array. The iteratee is invoked with one argument: + * (value). + * + * **Note:** Unlike `_.pullAllBy`, this method returns a new array. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {...Array} [values] The values to exclude. + * @param {Function} [iteratee=_.identity] The iteratee invoked per element. + * @returns {Array} Returns the new array of filtered values. + * @example + * + * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor); + * // => [1.2] + * + * // The `_.property` iteratee shorthand. + * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x'); + * // => [{ 'x': 2 }] + */ + var differenceBy = baseRest(function(array, values) { + var iteratee = last(values); + if (isArrayLikeObject(iteratee)) { + iteratee = undefined; + } + return isArrayLikeObject(array) + ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)) + : []; + }); + + /** + * This method is like `_.difference` except that it accepts `comparator` + * which is invoked to compare elements of `array` to `values`. The order and + * references of result values are determined by the first array. The comparator + * is invoked with two arguments: (arrVal, othVal). + * + * **Note:** Unlike `_.pullAllWith`, this method returns a new array. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {...Array} [values] The values to exclude. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new array of filtered values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * + * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual); + * // => [{ 'x': 2, 'y': 1 }] + */ + var differenceWith = baseRest(function(array, values) { + var comparator = last(values); + if (isArrayLikeObject(comparator)) { + comparator = undefined; + } + return isArrayLikeObject(array) + ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator) + : []; + }); + + /** + * Creates a slice of `array` with `n` elements dropped from the beginning. + * + * @static + * @memberOf _ + * @since 0.5.0 + * @category Array + * @param {Array} array The array to query. + * @param {number} [n=1] The number of elements to drop. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Array} Returns the slice of `array`. + * @example + * + * _.drop([1, 2, 3]); + * // => [2, 3] + * + * _.drop([1, 2, 3], 2); + * // => [3] + * + * _.drop([1, 2, 3], 5); + * // => [] + * + * _.drop([1, 2, 3], 0); + * // => [1, 2, 3] + */ + function drop(array, n, guard) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; + } + n = (guard || n === undefined) ? 1 : toInteger(n); + return baseSlice(array, n < 0 ? 0 : n, length); + } + + /** + * Creates a slice of `array` with `n` elements dropped from the end. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to query. + * @param {number} [n=1] The number of elements to drop. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Array} Returns the slice of `array`. + * @example + * + * _.dropRight([1, 2, 3]); + * // => [1, 2] + * + * _.dropRight([1, 2, 3], 2); + * // => [1] + * + * _.dropRight([1, 2, 3], 5); + * // => [] + * + * _.dropRight([1, 2, 3], 0); + * // => [1, 2, 3] + */ + function dropRight(array, n, guard) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; + } + n = (guard || n === undefined) ? 1 : toInteger(n); + n = length - n; + return baseSlice(array, 0, n < 0 ? 0 : n); + } + + /** + * Creates a slice of `array` excluding elements dropped from the end. + * Elements are dropped until `predicate` returns falsey. The predicate is + * invoked with three arguments: (value, index, array). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to query. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {Array} Returns the slice of `array`. + * @example + * + * var users = [ + * { 'user': 'barney', 'active': true }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': false } + * ]; + * + * _.dropRightWhile(users, function(o) { return !o.active; }); + * // => objects for ['barney'] + * + * // The `_.matches` iteratee shorthand. + * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false }); + * // => objects for ['barney', 'fred'] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.dropRightWhile(users, ['active', false]); + * // => objects for ['barney'] + * + * // The `_.property` iteratee shorthand. + * _.dropRightWhile(users, 'active'); + * // => objects for ['barney', 'fred', 'pebbles'] + */ + function dropRightWhile(array, predicate) { + return (array && array.length) + ? baseWhile(array, getIteratee(predicate, 3), true, true) + : []; + } + + /** + * Creates a slice of `array` excluding elements dropped from the beginning. + * Elements are dropped until `predicate` returns falsey. The predicate is + * invoked with three arguments: (value, index, array). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to query. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {Array} Returns the slice of `array`. + * @example + * + * var users = [ + * { 'user': 'barney', 'active': false }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': true } + * ]; + * + * _.dropWhile(users, function(o) { return !o.active; }); + * // => objects for ['pebbles'] + * + * // The `_.matches` iteratee shorthand. + * _.dropWhile(users, { 'user': 'barney', 'active': false }); + * // => objects for ['fred', 'pebbles'] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.dropWhile(users, ['active', false]); + * // => objects for ['pebbles'] + * + * // The `_.property` iteratee shorthand. + * _.dropWhile(users, 'active'); + * // => objects for ['barney', 'fred', 'pebbles'] + */ + function dropWhile(array, predicate) { + return (array && array.length) + ? baseWhile(array, getIteratee(predicate, 3), true) + : []; + } + + /** + * Fills elements of `array` with `value` from `start` up to, but not + * including, `end`. + * + * **Note:** This method mutates `array`. + * + * @static + * @memberOf _ + * @since 3.2.0 + * @category Array + * @param {Array} array The array to fill. + * @param {*} value The value to fill `array` with. + * @param {number} [start=0] The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns `array`. + * @example + * + * var array = [1, 2, 3]; + * + * _.fill(array, 'a'); + * console.log(array); + * // => ['a', 'a', 'a'] + * + * _.fill(Array(3), 2); + * // => [2, 2, 2] + * + * _.fill([4, 6, 8, 10], '*', 1, 3); + * // => [4, '*', '*', 10] + */ + function fill(array, value, start, end) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; + } + if (start && typeof start != 'number' && isIterateeCall(array, value, start)) { + start = 0; + end = length; + } + return baseFill(array, value, start, end); + } + + /** + * This method is like `_.find` except that it returns the index of the first + * element `predicate` returns truthy for instead of the element itself. + * + * @static + * @memberOf _ + * @since 1.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param {number} [fromIndex=0] The index to search from. + * @returns {number} Returns the index of the found element, else `-1`. + * @example + * + * var users = [ + * { 'user': 'barney', 'active': false }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': true } + * ]; + * + * _.findIndex(users, function(o) { return o.user == 'barney'; }); + * // => 0 + * + * // The `_.matches` iteratee shorthand. + * _.findIndex(users, { 'user': 'fred', 'active': false }); + * // => 1 + * + * // The `_.matchesProperty` iteratee shorthand. + * _.findIndex(users, ['active', false]); + * // => 0 + * + * // The `_.property` iteratee shorthand. + * _.findIndex(users, 'active'); + * // => 2 + */ + function findIndex(array, predicate, fromIndex) { + var length = array == null ? 0 : array.length; + if (!length) { + return -1; + } + var index = fromIndex == null ? 0 : toInteger(fromIndex); + if (index < 0) { + index = nativeMax(length + index, 0); + } + return baseFindIndex(array, getIteratee(predicate, 3), index); + } + + /** + * This method is like `_.findIndex` except that it iterates over elements + * of `collection` from right to left. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param {number} [fromIndex=array.length-1] The index to search from. + * @returns {number} Returns the index of the found element, else `-1`. + * @example + * + * var users = [ + * { 'user': 'barney', 'active': true }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': false } + * ]; + * + * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; }); + * // => 2 + * + * // The `_.matches` iteratee shorthand. + * _.findLastIndex(users, { 'user': 'barney', 'active': true }); + * // => 0 + * + * // The `_.matchesProperty` iteratee shorthand. + * _.findLastIndex(users, ['active', false]); + * // => 2 + * + * // The `_.property` iteratee shorthand. + * _.findLastIndex(users, 'active'); + * // => 0 + */ + function findLastIndex(array, predicate, fromIndex) { + var length = array == null ? 0 : array.length; + if (!length) { + return -1; + } + var index = length - 1; + if (fromIndex !== undefined) { + index = toInteger(fromIndex); + index = fromIndex < 0 + ? nativeMax(length + index, 0) + : nativeMin(index, length - 1); + } + return baseFindIndex(array, getIteratee(predicate, 3), index, true); + } + + /** + * Flattens `array` a single level deep. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to flatten. + * @returns {Array} Returns the new flattened array. + * @example + * + * _.flatten([1, [2, [3, [4]], 5]]); + * // => [1, 2, [3, [4]], 5] + */ + function flatten(array) { + var length = array == null ? 0 : array.length; + return length ? baseFlatten(array, 1) : []; + } + + /** + * Recursively flattens `array`. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to flatten. + * @returns {Array} Returns the new flattened array. + * @example + * + * _.flattenDeep([1, [2, [3, [4]], 5]]); + * // => [1, 2, 3, 4, 5] + */ + function flattenDeep(array) { + var length = array == null ? 0 : array.length; + return length ? baseFlatten(array, INFINITY) : []; + } + + /** + * Recursively flatten `array` up to `depth` times. + * + * @static + * @memberOf _ + * @since 4.4.0 + * @category Array + * @param {Array} array The array to flatten. + * @param {number} [depth=1] The maximum recursion depth. + * @returns {Array} Returns the new flattened array. + * @example + * + * var array = [1, [2, [3, [4]], 5]]; + * + * _.flattenDepth(array, 1); + * // => [1, 2, [3, [4]], 5] + * + * _.flattenDepth(array, 2); + * // => [1, 2, 3, [4], 5] + */ + function flattenDepth(array, depth) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; + } + depth = depth === undefined ? 1 : toInteger(depth); + return baseFlatten(array, depth); + } + + /** + * The inverse of `_.toPairs`; this method returns an object composed + * from key-value `pairs`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} pairs The key-value pairs. + * @returns {Object} Returns the new object. + * @example + * + * _.fromPairs([['a', 1], ['b', 2]]); + * // => { 'a': 1, 'b': 2 } + */ + function fromPairs(pairs) { + var index = -1, + length = pairs == null ? 0 : pairs.length, + result = {}; + + while (++index < length) { + var pair = pairs[index]; + result[pair[0]] = pair[1]; + } + return result; + } + + /** + * Gets the first element of `array`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @alias first + * @category Array + * @param {Array} array The array to query. + * @returns {*} Returns the first element of `array`. + * @example + * + * _.head([1, 2, 3]); + * // => 1 + * + * _.head([]); + * // => undefined + */ + function head(array) { + return (array && array.length) ? array[0] : undefined; + } + + /** + * Gets the index at which the first occurrence of `value` is found in `array` + * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. If `fromIndex` is negative, it's used as the + * offset from the end of `array`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {*} value The value to search for. + * @param {number} [fromIndex=0] The index to search from. + * @returns {number} Returns the index of the matched value, else `-1`. + * @example + * + * _.indexOf([1, 2, 1, 2], 2); + * // => 1 + * + * // Search from the `fromIndex`. + * _.indexOf([1, 2, 1, 2], 2, 2); + * // => 3 + */ + function indexOf(array, value, fromIndex) { + var length = array == null ? 0 : array.length; + if (!length) { + return -1; + } + var index = fromIndex == null ? 0 : toInteger(fromIndex); + if (index < 0) { + index = nativeMax(length + index, 0); + } + return baseIndexOf(array, value, index); + } + + /** + * Gets all but the last element of `array`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to query. + * @returns {Array} Returns the slice of `array`. + * @example + * + * _.initial([1, 2, 3]); + * // => [1, 2] + */ + function initial(array) { + var length = array == null ? 0 : array.length; + return length ? baseSlice(array, 0, -1) : []; + } + + /** + * Creates an array of unique values that are included in all given arrays + * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. The order and references of result values are + * determined by the first array. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @returns {Array} Returns the new array of intersecting values. + * @example + * + * _.intersection([2, 1], [2, 3]); + * // => [2] + */ + var intersection = baseRest(function(arrays) { + var mapped = arrayMap(arrays, castArrayLikeObject); + return (mapped.length && mapped[0] === arrays[0]) + ? baseIntersection(mapped) + : []; + }); + + /** + * This method is like `_.intersection` except that it accepts `iteratee` + * which is invoked for each element of each `arrays` to generate the criterion + * by which they're compared. The order and references of result values are + * determined by the first array. The iteratee is invoked with one argument: + * (value). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @param {Function} [iteratee=_.identity] The iteratee invoked per element. + * @returns {Array} Returns the new array of intersecting values. + * @example + * + * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor); + * // => [2.1] + * + * // The `_.property` iteratee shorthand. + * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 1 }] + */ + var intersectionBy = baseRest(function(arrays) { + var iteratee = last(arrays), + mapped = arrayMap(arrays, castArrayLikeObject); + + if (iteratee === last(mapped)) { + iteratee = undefined; + } else { + mapped.pop(); + } + return (mapped.length && mapped[0] === arrays[0]) + ? baseIntersection(mapped, getIteratee(iteratee, 2)) + : []; + }); + + /** + * This method is like `_.intersection` except that it accepts `comparator` + * which is invoked to compare elements of `arrays`. The order and references + * of result values are determined by the first array. The comparator is + * invoked with two arguments: (arrVal, othVal). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new array of intersecting values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; + * + * _.intersectionWith(objects, others, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }] + */ + var intersectionWith = baseRest(function(arrays) { + var comparator = last(arrays), + mapped = arrayMap(arrays, castArrayLikeObject); + + comparator = typeof comparator == 'function' ? comparator : undefined; + if (comparator) { + mapped.pop(); + } + return (mapped.length && mapped[0] === arrays[0]) + ? baseIntersection(mapped, undefined, comparator) + : []; + }); + + /** + * Converts all elements in `array` into a string separated by `separator`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to convert. + * @param {string} [separator=','] The element separator. + * @returns {string} Returns the joined string. + * @example + * + * _.join(['a', 'b', 'c'], '~'); + * // => 'a~b~c' + */ + function join(array, separator) { + return array == null ? '' : nativeJoin.call(array, separator); + } + + /** + * Gets the last element of `array`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to query. + * @returns {*} Returns the last element of `array`. + * @example + * + * _.last([1, 2, 3]); + * // => 3 + */ + function last(array) { + var length = array == null ? 0 : array.length; + return length ? array[length - 1] : undefined; + } + + /** + * This method is like `_.indexOf` except that it iterates over elements of + * `array` from right to left. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {*} value The value to search for. + * @param {number} [fromIndex=array.length-1] The index to search from. + * @returns {number} Returns the index of the matched value, else `-1`. + * @example + * + * _.lastIndexOf([1, 2, 1, 2], 2); + * // => 3 + * + * // Search from the `fromIndex`. + * _.lastIndexOf([1, 2, 1, 2], 2, 2); + * // => 1 + */ + function lastIndexOf(array, value, fromIndex) { + var length = array == null ? 0 : array.length; + if (!length) { + return -1; + } + var index = length; + if (fromIndex !== undefined) { + index = toInteger(fromIndex); + index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1); + } + return value === value + ? strictLastIndexOf(array, value, index) + : baseFindIndex(array, baseIsNaN, index, true); + } + + /** + * Gets the element at index `n` of `array`. If `n` is negative, the nth + * element from the end is returned. + * + * @static + * @memberOf _ + * @since 4.11.0 + * @category Array + * @param {Array} array The array to query. + * @param {number} [n=0] The index of the element to return. + * @returns {*} Returns the nth element of `array`. + * @example + * + * var array = ['a', 'b', 'c', 'd']; + * + * _.nth(array, 1); + * // => 'b' + * + * _.nth(array, -2); + * // => 'c'; + */ + function nth(array, n) { + return (array && array.length) ? baseNth(array, toInteger(n)) : undefined; + } + + /** + * Removes all given values from `array` using + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. + * + * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove` + * to remove elements from an array by predicate. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Array + * @param {Array} array The array to modify. + * @param {...*} [values] The values to remove. + * @returns {Array} Returns `array`. + * @example + * + * var array = ['a', 'b', 'c', 'a', 'b', 'c']; + * + * _.pull(array, 'a', 'c'); + * console.log(array); + * // => ['b', 'b'] + */ + var pull = baseRest(pullAll); + + /** + * This method is like `_.pull` except that it accepts an array of values to remove. + * + * **Note:** Unlike `_.difference`, this method mutates `array`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to modify. + * @param {Array} values The values to remove. + * @returns {Array} Returns `array`. + * @example + * + * var array = ['a', 'b', 'c', 'a', 'b', 'c']; + * + * _.pullAll(array, ['a', 'c']); + * console.log(array); + * // => ['b', 'b'] + */ + function pullAll(array, values) { + return (array && array.length && values && values.length) + ? basePullAll(array, values) + : array; + } + + /** + * This method is like `_.pullAll` except that it accepts `iteratee` which is + * invoked for each element of `array` and `values` to generate the criterion + * by which they're compared. The iteratee is invoked with one argument: (value). + * + * **Note:** Unlike `_.differenceBy`, this method mutates `array`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to modify. + * @param {Array} values The values to remove. + * @param {Function} [iteratee=_.identity] The iteratee invoked per element. + * @returns {Array} Returns `array`. + * @example + * + * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }]; + * + * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x'); + * console.log(array); + * // => [{ 'x': 2 }] + */ + function pullAllBy(array, values, iteratee) { + return (array && array.length && values && values.length) + ? basePullAll(array, values, getIteratee(iteratee, 2)) + : array; + } + + /** + * This method is like `_.pullAll` except that it accepts `comparator` which + * is invoked to compare elements of `array` to `values`. The comparator is + * invoked with two arguments: (arrVal, othVal). + * + * **Note:** Unlike `_.differenceWith`, this method mutates `array`. + * + * @static + * @memberOf _ + * @since 4.6.0 + * @category Array + * @param {Array} array The array to modify. + * @param {Array} values The values to remove. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns `array`. + * @example + * + * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }]; + * + * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual); + * console.log(array); + * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }] + */ + function pullAllWith(array, values, comparator) { + return (array && array.length && values && values.length) + ? basePullAll(array, values, undefined, comparator) + : array; + } + + /** + * Removes elements from `array` corresponding to `indexes` and returns an + * array of removed elements. + * + * **Note:** Unlike `_.at`, this method mutates `array`. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to modify. + * @param {...(number|number[])} [indexes] The indexes of elements to remove. + * @returns {Array} Returns the new array of removed elements. + * @example + * + * var array = ['a', 'b', 'c', 'd']; + * var pulled = _.pullAt(array, [1, 3]); + * + * console.log(array); + * // => ['a', 'c'] + * + * console.log(pulled); + * // => ['b', 'd'] + */ + var pullAt = flatRest(function(array, indexes) { + var length = array == null ? 0 : array.length, + result = baseAt(array, indexes); + + basePullAt(array, arrayMap(indexes, function(index) { + return isIndex(index, length) ? +index : index; + }).sort(compareAscending)); + + return result; + }); + + /** + * Removes all elements from `array` that `predicate` returns truthy for + * and returns an array of the removed elements. The predicate is invoked + * with three arguments: (value, index, array). + * + * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull` + * to pull elements from an array by value. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Array + * @param {Array} array The array to modify. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {Array} Returns the new array of removed elements. + * @example + * + * var array = [1, 2, 3, 4]; + * var evens = _.remove(array, function(n) { + * return n % 2 == 0; + * }); + * + * console.log(array); + * // => [1, 3] + * + * console.log(evens); + * // => [2, 4] + */ + function remove(array, predicate) { + var result = []; + if (!(array && array.length)) { + return result; + } + var index = -1, + indexes = [], + length = array.length; + + predicate = getIteratee(predicate, 3); + while (++index < length) { + var value = array[index]; + if (predicate(value, index, array)) { + result.push(value); + indexes.push(index); + } + } + basePullAt(array, indexes); + return result; + } + + /** + * Reverses `array` so that the first element becomes the last, the second + * element becomes the second to last, and so on. + * + * **Note:** This method mutates `array` and is based on + * [`Array#reverse`](https://mdn.io/Array/reverse). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to modify. + * @returns {Array} Returns `array`. + * @example + * + * var array = [1, 2, 3]; + * + * _.reverse(array); + * // => [3, 2, 1] + * + * console.log(array); + * // => [3, 2, 1] + */ + function reverse(array) { + return array == null ? array : nativeReverse.call(array); + } + + /** + * Creates a slice of `array` from `start` up to, but not including, `end`. + * + * **Note:** This method is used instead of + * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are + * returned. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to slice. + * @param {number} [start=0] The start position. + * @param {number} [end=array.length] The end position. + * @returns {Array} Returns the slice of `array`. + */ + function slice(array, start, end) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; + } + if (end && typeof end != 'number' && isIterateeCall(array, start, end)) { + start = 0; + end = length; + } + else { + start = start == null ? 0 : toInteger(start); + end = end === undefined ? length : toInteger(end); + } + return baseSlice(array, start, end); + } + + /** + * Uses a binary search to determine the lowest index at which `value` + * should be inserted into `array` in order to maintain its sort order. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The sorted array to inspect. + * @param {*} value The value to evaluate. + * @returns {number} Returns the index at which `value` should be inserted + * into `array`. + * @example + * + * _.sortedIndex([30, 50], 40); + * // => 1 + */ + function sortedIndex(array, value) { + return baseSortedIndex(array, value); + } + + /** + * This method is like `_.sortedIndex` except that it accepts `iteratee` + * which is invoked for `value` and each element of `array` to compute their + * sort ranking. The iteratee is invoked with one argument: (value). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The sorted array to inspect. + * @param {*} value The value to evaluate. + * @param {Function} [iteratee=_.identity] The iteratee invoked per element. + * @returns {number} Returns the index at which `value` should be inserted + * into `array`. + * @example + * + * var objects = [{ 'x': 4 }, { 'x': 5 }]; + * + * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); + * // => 0 + * + * // The `_.property` iteratee shorthand. + * _.sortedIndexBy(objects, { 'x': 4 }, 'x'); + * // => 0 + */ + function sortedIndexBy(array, value, iteratee) { + return baseSortedIndexBy(array, value, getIteratee(iteratee, 2)); + } + + /** + * This method is like `_.indexOf` except that it performs a binary + * search on a sorted `array`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {*} value The value to search for. + * @returns {number} Returns the index of the matched value, else `-1`. + * @example + * + * _.sortedIndexOf([4, 5, 5, 5, 6], 5); + * // => 1 + */ + function sortedIndexOf(array, value) { + var length = array == null ? 0 : array.length; + if (length) { + var index = baseSortedIndex(array, value); + if (index < length && eq(array[index], value)) { + return index; + } + } + return -1; + } + + /** + * This method is like `_.sortedIndex` except that it returns the highest + * index at which `value` should be inserted into `array` in order to + * maintain its sort order. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The sorted array to inspect. + * @param {*} value The value to evaluate. + * @returns {number} Returns the index at which `value` should be inserted + * into `array`. + * @example + * + * _.sortedLastIndex([4, 5, 5, 5, 6], 5); + * // => 4 + */ + function sortedLastIndex(array, value) { + return baseSortedIndex(array, value, true); + } + + /** + * This method is like `_.sortedLastIndex` except that it accepts `iteratee` + * which is invoked for `value` and each element of `array` to compute their + * sort ranking. The iteratee is invoked with one argument: (value). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The sorted array to inspect. + * @param {*} value The value to evaluate. + * @param {Function} [iteratee=_.identity] The iteratee invoked per element. + * @returns {number} Returns the index at which `value` should be inserted + * into `array`. + * @example + * + * var objects = [{ 'x': 4 }, { 'x': 5 }]; + * + * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); + * // => 1 + * + * // The `_.property` iteratee shorthand. + * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x'); + * // => 1 + */ + function sortedLastIndexBy(array, value, iteratee) { + return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true); + } + + /** + * This method is like `_.lastIndexOf` except that it performs a binary + * search on a sorted `array`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {*} value The value to search for. + * @returns {number} Returns the index of the matched value, else `-1`. + * @example + * + * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5); + * // => 3 + */ + function sortedLastIndexOf(array, value) { + var length = array == null ? 0 : array.length; + if (length) { + var index = baseSortedIndex(array, value, true) - 1; + if (eq(array[index], value)) { + return index; + } + } + return -1; + } + + /** + * This method is like `_.uniq` except that it's designed and optimized + * for sorted arrays. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @returns {Array} Returns the new duplicate free array. + * @example + * + * _.sortedUniq([1, 1, 2]); + * // => [1, 2] + */ + function sortedUniq(array) { + return (array && array.length) + ? baseSortedUniq(array) + : []; + } + + /** + * This method is like `_.uniqBy` except that it's designed and optimized + * for sorted arrays. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {Function} [iteratee] The iteratee invoked per element. + * @returns {Array} Returns the new duplicate free array. + * @example + * + * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); + * // => [1.1, 2.3] + */ + function sortedUniqBy(array, iteratee) { + return (array && array.length) + ? baseSortedUniq(array, getIteratee(iteratee, 2)) + : []; + } + + /** + * Gets all but the first element of `array`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to query. + * @returns {Array} Returns the slice of `array`. + * @example + * + * _.tail([1, 2, 3]); + * // => [2, 3] + */ + function tail(array) { + var length = array == null ? 0 : array.length; + return length ? baseSlice(array, 1, length) : []; + } + + /** + * Creates a slice of `array` with `n` elements taken from the beginning. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to query. + * @param {number} [n=1] The number of elements to take. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Array} Returns the slice of `array`. + * @example + * + * _.take([1, 2, 3]); + * // => [1] + * + * _.take([1, 2, 3], 2); + * // => [1, 2] + * + * _.take([1, 2, 3], 5); + * // => [1, 2, 3] + * + * _.take([1, 2, 3], 0); + * // => [] + */ + function take(array, n, guard) { + if (!(array && array.length)) { + return []; + } + n = (guard || n === undefined) ? 1 : toInteger(n); + return baseSlice(array, 0, n < 0 ? 0 : n); + } + + /** + * Creates a slice of `array` with `n` elements taken from the end. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to query. + * @param {number} [n=1] The number of elements to take. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Array} Returns the slice of `array`. + * @example + * + * _.takeRight([1, 2, 3]); + * // => [3] + * + * _.takeRight([1, 2, 3], 2); + * // => [2, 3] + * + * _.takeRight([1, 2, 3], 5); + * // => [1, 2, 3] + * + * _.takeRight([1, 2, 3], 0); + * // => [] + */ + function takeRight(array, n, guard) { + var length = array == null ? 0 : array.length; + if (!length) { + return []; + } + n = (guard || n === undefined) ? 1 : toInteger(n); + n = length - n; + return baseSlice(array, n < 0 ? 0 : n, length); + } + + /** + * Creates a slice of `array` with elements taken from the end. Elements are + * taken until `predicate` returns falsey. The predicate is invoked with + * three arguments: (value, index, array). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to query. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {Array} Returns the slice of `array`. + * @example + * + * var users = [ + * { 'user': 'barney', 'active': true }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': false } + * ]; + * + * _.takeRightWhile(users, function(o) { return !o.active; }); + * // => objects for ['fred', 'pebbles'] + * + * // The `_.matches` iteratee shorthand. + * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false }); + * // => objects for ['pebbles'] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.takeRightWhile(users, ['active', false]); + * // => objects for ['fred', 'pebbles'] + * + * // The `_.property` iteratee shorthand. + * _.takeRightWhile(users, 'active'); + * // => [] + */ + function takeRightWhile(array, predicate) { + return (array && array.length) + ? baseWhile(array, getIteratee(predicate, 3), false, true) + : []; + } + + /** + * Creates a slice of `array` with elements taken from the beginning. Elements + * are taken until `predicate` returns falsey. The predicate is invoked with + * three arguments: (value, index, array). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Array + * @param {Array} array The array to query. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {Array} Returns the slice of `array`. + * @example + * + * var users = [ + * { 'user': 'barney', 'active': false }, + * { 'user': 'fred', 'active': false }, + * { 'user': 'pebbles', 'active': true } + * ]; + * + * _.takeWhile(users, function(o) { return !o.active; }); + * // => objects for ['barney', 'fred'] + * + * // The `_.matches` iteratee shorthand. + * _.takeWhile(users, { 'user': 'barney', 'active': false }); + * // => objects for ['barney'] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.takeWhile(users, ['active', false]); + * // => objects for ['barney', 'fred'] + * + * // The `_.property` iteratee shorthand. + * _.takeWhile(users, 'active'); + * // => [] + */ + function takeWhile(array, predicate) { + return (array && array.length) + ? baseWhile(array, getIteratee(predicate, 3)) + : []; + } + + /** + * Creates an array of unique values, in order, from all given arrays using + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @returns {Array} Returns the new array of combined values. + * @example + * + * _.union([2], [1, 2]); + * // => [2, 1] + */ + var union = baseRest(function(arrays) { + return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true)); + }); + + /** + * This method is like `_.union` except that it accepts `iteratee` which is + * invoked for each element of each `arrays` to generate the criterion by + * which uniqueness is computed. Result values are chosen from the first + * array in which the value occurs. The iteratee is invoked with one argument: + * (value). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @param {Function} [iteratee=_.identity] The iteratee invoked per element. + * @returns {Array} Returns the new array of combined values. + * @example + * + * _.unionBy([2.1], [1.2, 2.3], Math.floor); + * // => [2.1, 1.2] + * + * // The `_.property` iteratee shorthand. + * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 1 }, { 'x': 2 }] + */ + var unionBy = baseRest(function(arrays) { + var iteratee = last(arrays); + if (isArrayLikeObject(iteratee)) { + iteratee = undefined; + } + return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)); + }); + + /** + * This method is like `_.union` except that it accepts `comparator` which + * is invoked to compare elements of `arrays`. Result values are chosen from + * the first array in which the value occurs. The comparator is invoked + * with two arguments: (arrVal, othVal). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new array of combined values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; + * + * _.unionWith(objects, others, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] + */ + var unionWith = baseRest(function(arrays) { + var comparator = last(arrays); + comparator = typeof comparator == 'function' ? comparator : undefined; + return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator); + }); + + /** + * Creates a duplicate-free version of an array, using + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons, in which only the first occurrence of each element + * is kept. The order of result values is determined by the order they occur + * in the array. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @returns {Array} Returns the new duplicate free array. + * @example + * + * _.uniq([2, 1, 2]); + * // => [2, 1] + */ + function uniq(array) { + return (array && array.length) ? baseUniq(array) : []; + } + + /** + * This method is like `_.uniq` except that it accepts `iteratee` which is + * invoked for each element in `array` to generate the criterion by which + * uniqueness is computed. The order of result values is determined by the + * order they occur in the array. The iteratee is invoked with one argument: + * (value). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {Function} [iteratee=_.identity] The iteratee invoked per element. + * @returns {Array} Returns the new duplicate free array. + * @example + * + * _.uniqBy([2.1, 1.2, 2.3], Math.floor); + * // => [2.1, 1.2] + * + * // The `_.property` iteratee shorthand. + * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 1 }, { 'x': 2 }] + */ + function uniqBy(array, iteratee) { + return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : []; + } + + /** + * This method is like `_.uniq` except that it accepts `comparator` which + * is invoked to compare elements of `array`. The order of result values is + * determined by the order they occur in the array.The comparator is invoked + * with two arguments: (arrVal, othVal). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new duplicate free array. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }]; + * + * _.uniqWith(objects, _.isEqual); + * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }] + */ + function uniqWith(array, comparator) { + comparator = typeof comparator == 'function' ? comparator : undefined; + return (array && array.length) ? baseUniq(array, undefined, comparator) : []; + } + + /** + * This method is like `_.zip` except that it accepts an array of grouped + * elements and creates an array regrouping the elements to their pre-zip + * configuration. + * + * @static + * @memberOf _ + * @since 1.2.0 + * @category Array + * @param {Array} array The array of grouped elements to process. + * @returns {Array} Returns the new array of regrouped elements. + * @example + * + * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]); + * // => [['a', 1, true], ['b', 2, false]] + * + * _.unzip(zipped); + * // => [['a', 'b'], [1, 2], [true, false]] + */ + function unzip(array) { + if (!(array && array.length)) { + return []; + } + var length = 0; + array = arrayFilter(array, function(group) { + if (isArrayLikeObject(group)) { + length = nativeMax(group.length, length); + return true; + } + }); + return baseTimes(length, function(index) { + return arrayMap(array, baseProperty(index)); + }); + } + + /** + * This method is like `_.unzip` except that it accepts `iteratee` to specify + * how regrouped values should be combined. The iteratee is invoked with the + * elements of each group: (...group). + * + * @static + * @memberOf _ + * @since 3.8.0 + * @category Array + * @param {Array} array The array of grouped elements to process. + * @param {Function} [iteratee=_.identity] The function to combine + * regrouped values. + * @returns {Array} Returns the new array of regrouped elements. + * @example + * + * var zipped = _.zip([1, 2], [10, 20], [100, 200]); + * // => [[1, 10, 100], [2, 20, 200]] + * + * _.unzipWith(zipped, _.add); + * // => [3, 30, 300] + */ + function unzipWith(array, iteratee) { + if (!(array && array.length)) { + return []; + } + var result = unzip(array); + if (iteratee == null) { + return result; + } + return arrayMap(result, function(group) { + return apply(iteratee, undefined, group); + }); + } + + /** + * Creates an array excluding all given values using + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. + * + * **Note:** Unlike `_.pull`, this method returns a new array. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {Array} array The array to inspect. + * @param {...*} [values] The values to exclude. + * @returns {Array} Returns the new array of filtered values. + * @see _.difference, _.xor + * @example + * + * _.without([2, 1, 2, 3], 1, 2); + * // => [3] + */ + var without = baseRest(function(array, values) { + return isArrayLikeObject(array) + ? baseDifference(array, values) + : []; + }); + + /** + * Creates an array of unique values that is the + * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference) + * of the given arrays. The order of result values is determined by the order + * they occur in the arrays. + * + * @static + * @memberOf _ + * @since 2.4.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @returns {Array} Returns the new array of filtered values. + * @see _.difference, _.without + * @example + * + * _.xor([2, 1], [2, 3]); + * // => [1, 3] + */ + var xor = baseRest(function(arrays) { + return baseXor(arrayFilter(arrays, isArrayLikeObject)); + }); + + /** + * This method is like `_.xor` except that it accepts `iteratee` which is + * invoked for each element of each `arrays` to generate the criterion by + * which by which they're compared. The order of result values is determined + * by the order they occur in the arrays. The iteratee is invoked with one + * argument: (value). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @param {Function} [iteratee=_.identity] The iteratee invoked per element. + * @returns {Array} Returns the new array of filtered values. + * @example + * + * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor); + * // => [1.2, 3.4] + * + * // The `_.property` iteratee shorthand. + * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); + * // => [{ 'x': 2 }] + */ + var xorBy = baseRest(function(arrays) { + var iteratee = last(arrays); + if (isArrayLikeObject(iteratee)) { + iteratee = undefined; + } + return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2)); + }); + + /** + * This method is like `_.xor` except that it accepts `comparator` which is + * invoked to compare elements of `arrays`. The order of result values is + * determined by the order they occur in the arrays. The comparator is invoked + * with two arguments: (arrVal, othVal). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Array + * @param {...Array} [arrays] The arrays to inspect. + * @param {Function} [comparator] The comparator invoked per element. + * @returns {Array} Returns the new array of filtered values. + * @example + * + * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; + * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; + * + * _.xorWith(objects, others, _.isEqual); + * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] + */ + var xorWith = baseRest(function(arrays) { + var comparator = last(arrays); + comparator = typeof comparator == 'function' ? comparator : undefined; + return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator); + }); + + /** + * Creates an array of grouped elements, the first of which contains the + * first elements of the given arrays, the second of which contains the + * second elements of the given arrays, and so on. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Array + * @param {...Array} [arrays] The arrays to process. + * @returns {Array} Returns the new array of grouped elements. + * @example + * + * _.zip(['a', 'b'], [1, 2], [true, false]); + * // => [['a', 1, true], ['b', 2, false]] + */ + var zip = baseRest(unzip); + + /** + * This method is like `_.fromPairs` except that it accepts two arrays, + * one of property identifiers and one of corresponding values. + * + * @static + * @memberOf _ + * @since 0.4.0 + * @category Array + * @param {Array} [props=[]] The property identifiers. + * @param {Array} [values=[]] The property values. + * @returns {Object} Returns the new object. + * @example + * + * _.zipObject(['a', 'b'], [1, 2]); + * // => { 'a': 1, 'b': 2 } + */ + function zipObject(props, values) { + return baseZipObject(props || [], values || [], assignValue); + } + + /** + * This method is like `_.zipObject` except that it supports property paths. + * + * @static + * @memberOf _ + * @since 4.1.0 + * @category Array + * @param {Array} [props=[]] The property identifiers. + * @param {Array} [values=[]] The property values. + * @returns {Object} Returns the new object. + * @example + * + * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]); + * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } } + */ + function zipObjectDeep(props, values) { + return baseZipObject(props || [], values || [], baseSet); + } + + /** + * This method is like `_.zip` except that it accepts `iteratee` to specify + * how grouped values should be combined. The iteratee is invoked with the + * elements of each group: (...group). + * + * @static + * @memberOf _ + * @since 3.8.0 + * @category Array + * @param {...Array} [arrays] The arrays to process. + * @param {Function} [iteratee=_.identity] The function to combine + * grouped values. + * @returns {Array} Returns the new array of grouped elements. + * @example + * + * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) { + * return a + b + c; + * }); + * // => [111, 222] + */ + var zipWith = baseRest(function(arrays) { + var length = arrays.length, + iteratee = length > 1 ? arrays[length - 1] : undefined; + + iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined; + return unzipWith(arrays, iteratee); + }); + + /*------------------------------------------------------------------------*/ + + /** + * Creates a `lodash` wrapper instance that wraps `value` with explicit method + * chain sequences enabled. The result of such sequences must be unwrapped + * with `_#value`. + * + * @static + * @memberOf _ + * @since 1.3.0 + * @category Seq + * @param {*} value The value to wrap. + * @returns {Object} Returns the new `lodash` wrapper instance. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 40 }, + * { 'user': 'pebbles', 'age': 1 } + * ]; + * + * var youngest = _ + * .chain(users) + * .sortBy('age') + * .map(function(o) { + * return o.user + ' is ' + o.age; + * }) + * .head() + * .value(); + * // => 'pebbles is 1' + */ + function chain(value) { + var result = lodash(value); + result.__chain__ = true; + return result; + } + + /** + * This method invokes `interceptor` and returns `value`. The interceptor + * is invoked with one argument; (value). The purpose of this method is to + * "tap into" a method chain sequence in order to modify intermediate results. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Seq + * @param {*} value The value to provide to `interceptor`. + * @param {Function} interceptor The function to invoke. + * @returns {*} Returns `value`. + * @example + * + * _([1, 2, 3]) + * .tap(function(array) { + * // Mutate input array. + * array.pop(); + * }) + * .reverse() + * .value(); + * // => [2, 1] + */ + function tap(value, interceptor) { + interceptor(value); + return value; + } + + /** + * This method is like `_.tap` except that it returns the result of `interceptor`. + * The purpose of this method is to "pass thru" values replacing intermediate + * results in a method chain sequence. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Seq + * @param {*} value The value to provide to `interceptor`. + * @param {Function} interceptor The function to invoke. + * @returns {*} Returns the result of `interceptor`. + * @example + * + * _(' abc ') + * .chain() + * .trim() + * .thru(function(value) { + * return [value]; + * }) + * .value(); + * // => ['abc'] + */ + function thru(value, interceptor) { + return interceptor(value); + } + + /** + * This method is the wrapper version of `_.at`. + * + * @name at + * @memberOf _ + * @since 1.0.0 + * @category Seq + * @param {...(string|string[])} [paths] The property paths to pick. + * @returns {Object} Returns the new `lodash` wrapper instance. + * @example + * + * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] }; + * + * _(object).at(['a[0].b.c', 'a[1]']).value(); + * // => [3, 4] + */ + var wrapperAt = flatRest(function(paths) { + var length = paths.length, + start = length ? paths[0] : 0, + value = this.__wrapped__, + interceptor = function(object) { return baseAt(object, paths); }; + + if (length > 1 || this.__actions__.length || + !(value instanceof LazyWrapper) || !isIndex(start)) { + return this.thru(interceptor); + } + value = value.slice(start, +start + (length ? 1 : 0)); + value.__actions__.push({ + 'func': thru, + 'args': [interceptor], + 'thisArg': undefined + }); + return new LodashWrapper(value, this.__chain__).thru(function(array) { + if (length && !array.length) { + array.push(undefined); + } + return array; + }); + }); + + /** + * Creates a `lodash` wrapper instance with explicit method chain sequences enabled. + * + * @name chain + * @memberOf _ + * @since 0.1.0 + * @category Seq + * @returns {Object} Returns the new `lodash` wrapper instance. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 40 } + * ]; + * + * // A sequence without explicit chaining. + * _(users).head(); + * // => { 'user': 'barney', 'age': 36 } + * + * // A sequence with explicit chaining. + * _(users) + * .chain() + * .head() + * .pick('user') + * .value(); + * // => { 'user': 'barney' } + */ + function wrapperChain() { + return chain(this); + } + + /** + * Executes the chain sequence and returns the wrapped result. + * + * @name commit + * @memberOf _ + * @since 3.2.0 + * @category Seq + * @returns {Object} Returns the new `lodash` wrapper instance. + * @example + * + * var array = [1, 2]; + * var wrapped = _(array).push(3); + * + * console.log(array); + * // => [1, 2] + * + * wrapped = wrapped.commit(); + * console.log(array); + * // => [1, 2, 3] + * + * wrapped.last(); + * // => 3 + * + * console.log(array); + * // => [1, 2, 3] + */ + function wrapperCommit() { + return new LodashWrapper(this.value(), this.__chain__); + } + + /** + * Gets the next value on a wrapped object following the + * [iterator protocol](https://mdn.io/iteration_protocols#iterator). + * + * @name next + * @memberOf _ + * @since 4.0.0 + * @category Seq + * @returns {Object} Returns the next iterator value. + * @example + * + * var wrapped = _([1, 2]); + * + * wrapped.next(); + * // => { 'done': false, 'value': 1 } + * + * wrapped.next(); + * // => { 'done': false, 'value': 2 } + * + * wrapped.next(); + * // => { 'done': true, 'value': undefined } + */ + function wrapperNext() { + if (this.__values__ === undefined) { + this.__values__ = toArray(this.value()); + } + var done = this.__index__ >= this.__values__.length, + value = done ? undefined : this.__values__[this.__index__++]; + + return { 'done': done, 'value': value }; + } + + /** + * Enables the wrapper to be iterable. + * + * @name Symbol.iterator + * @memberOf _ + * @since 4.0.0 + * @category Seq + * @returns {Object} Returns the wrapper object. + * @example + * + * var wrapped = _([1, 2]); + * + * wrapped[Symbol.iterator]() === wrapped; + * // => true + * + * Array.from(wrapped); + * // => [1, 2] + */ + function wrapperToIterator() { + return this; + } + + /** + * Creates a clone of the chain sequence planting `value` as the wrapped value. + * + * @name plant + * @memberOf _ + * @since 3.2.0 + * @category Seq + * @param {*} value The value to plant. + * @returns {Object} Returns the new `lodash` wrapper instance. + * @example + * + * function square(n) { + * return n * n; + * } + * + * var wrapped = _([1, 2]).map(square); + * var other = wrapped.plant([3, 4]); + * + * other.value(); + * // => [9, 16] + * + * wrapped.value(); + * // => [1, 4] + */ + function wrapperPlant(value) { + var result, + parent = this; + + while (parent instanceof baseLodash) { + var clone = wrapperClone(parent); + clone.__index__ = 0; + clone.__values__ = undefined; + if (result) { + previous.__wrapped__ = clone; + } else { + result = clone; + } + var previous = clone; + parent = parent.__wrapped__; + } + previous.__wrapped__ = value; + return result; + } + + /** + * This method is the wrapper version of `_.reverse`. + * + * **Note:** This method mutates the wrapped array. + * + * @name reverse + * @memberOf _ + * @since 0.1.0 + * @category Seq + * @returns {Object} Returns the new `lodash` wrapper instance. + * @example + * + * var array = [1, 2, 3]; + * + * _(array).reverse().value() + * // => [3, 2, 1] + * + * console.log(array); + * // => [3, 2, 1] + */ + function wrapperReverse() { + var value = this.__wrapped__; + if (value instanceof LazyWrapper) { + var wrapped = value; + if (this.__actions__.length) { + wrapped = new LazyWrapper(this); + } + wrapped = wrapped.reverse(); + wrapped.__actions__.push({ + 'func': thru, + 'args': [reverse], + 'thisArg': undefined + }); + return new LodashWrapper(wrapped, this.__chain__); + } + return this.thru(reverse); + } + + /** + * Executes the chain sequence to resolve the unwrapped value. + * + * @name value + * @memberOf _ + * @since 0.1.0 + * @alias toJSON, valueOf + * @category Seq + * @returns {*} Returns the resolved unwrapped value. + * @example + * + * _([1, 2, 3]).value(); + * // => [1, 2, 3] + */ + function wrapperValue() { + return baseWrapperValue(this.__wrapped__, this.__actions__); + } + + /*------------------------------------------------------------------------*/ + + /** + * Creates an object composed of keys generated from the results of running + * each element of `collection` thru `iteratee`. The corresponding value of + * each key is the number of times the key was returned by `iteratee`. The + * iteratee is invoked with one argument: (value). + * + * @static + * @memberOf _ + * @since 0.5.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The iteratee to transform keys. + * @returns {Object} Returns the composed aggregate object. + * @example + * + * _.countBy([6.1, 4.2, 6.3], Math.floor); + * // => { '4': 1, '6': 2 } + * + * // The `_.property` iteratee shorthand. + * _.countBy(['one', 'two', 'three'], 'length'); + * // => { '3': 2, '5': 1 } + */ + var countBy = createAggregator(function(result, value, key) { + if (hasOwnProperty.call(result, key)) { + ++result[key]; + } else { + baseAssignValue(result, key, 1); + } + }); + + /** + * Checks if `predicate` returns truthy for **all** elements of `collection`. + * Iteration is stopped once `predicate` returns falsey. The predicate is + * invoked with three arguments: (value, index|key, collection). + * + * **Note:** This method returns `true` for + * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because + * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of + * elements of empty collections. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {boolean} Returns `true` if all elements pass the predicate check, + * else `false`. + * @example + * + * _.every([true, 1, null, 'yes'], Boolean); + * // => false + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': false }, + * { 'user': 'fred', 'age': 40, 'active': false } + * ]; + * + * // The `_.matches` iteratee shorthand. + * _.every(users, { 'user': 'barney', 'active': false }); + * // => false + * + * // The `_.matchesProperty` iteratee shorthand. + * _.every(users, ['active', false]); + * // => true + * + * // The `_.property` iteratee shorthand. + * _.every(users, 'active'); + * // => false + */ + function every(collection, predicate, guard) { + var func = isArray(collection) ? arrayEvery : baseEvery; + if (guard && isIterateeCall(collection, predicate, guard)) { + predicate = undefined; + } + return func(collection, getIteratee(predicate, 3)); + } + + /** + * Iterates over elements of `collection`, returning an array of all elements + * `predicate` returns truthy for. The predicate is invoked with three + * arguments: (value, index|key, collection). + * + * **Note:** Unlike `_.remove`, this method returns a new array. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {Array} Returns the new filtered array. + * @see _.reject + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': true }, + * { 'user': 'fred', 'age': 40, 'active': false } + * ]; + * + * _.filter(users, function(o) { return !o.active; }); + * // => objects for ['fred'] + * + * // The `_.matches` iteratee shorthand. + * _.filter(users, { 'age': 36, 'active': true }); + * // => objects for ['barney'] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.filter(users, ['active', false]); + * // => objects for ['fred'] + * + * // The `_.property` iteratee shorthand. + * _.filter(users, 'active'); + * // => objects for ['barney'] + * + * // Combining several predicates using `_.overEvery` or `_.overSome`. + * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]])); + * // => objects for ['fred', 'barney'] + */ + function filter(collection, predicate) { + var func = isArray(collection) ? arrayFilter : baseFilter; + return func(collection, getIteratee(predicate, 3)); + } + + /** + * Iterates over elements of `collection`, returning the first element + * `predicate` returns truthy for. The predicate is invoked with three + * arguments: (value, index|key, collection). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param {number} [fromIndex=0] The index to search from. + * @returns {*} Returns the matched element, else `undefined`. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': true }, + * { 'user': 'fred', 'age': 40, 'active': false }, + * { 'user': 'pebbles', 'age': 1, 'active': true } + * ]; + * + * _.find(users, function(o) { return o.age < 40; }); + * // => object for 'barney' + * + * // The `_.matches` iteratee shorthand. + * _.find(users, { 'age': 1, 'active': true }); + * // => object for 'pebbles' + * + * // The `_.matchesProperty` iteratee shorthand. + * _.find(users, ['active', false]); + * // => object for 'fred' + * + * // The `_.property` iteratee shorthand. + * _.find(users, 'active'); + * // => object for 'barney' + */ + var find = createFind(findIndex); + + /** + * This method is like `_.find` except that it iterates over elements of + * `collection` from right to left. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Collection + * @param {Array|Object} collection The collection to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param {number} [fromIndex=collection.length-1] The index to search from. + * @returns {*} Returns the matched element, else `undefined`. + * @example + * + * _.findLast([1, 2, 3, 4], function(n) { + * return n % 2 == 1; + * }); + * // => 3 + */ + var findLast = createFind(findLastIndex); + + /** + * Creates a flattened array of values by running each element in `collection` + * thru `iteratee` and flattening the mapped results. The iteratee is invoked + * with three arguments: (value, index|key, collection). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Array} Returns the new flattened array. + * @example + * + * function duplicate(n) { + * return [n, n]; + * } + * + * _.flatMap([1, 2], duplicate); + * // => [1, 1, 2, 2] + */ + function flatMap(collection, iteratee) { + return baseFlatten(map(collection, iteratee), 1); + } + + /** + * This method is like `_.flatMap` except that it recursively flattens the + * mapped results. + * + * @static + * @memberOf _ + * @since 4.7.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Array} Returns the new flattened array. + * @example + * + * function duplicate(n) { + * return [[[n, n]]]; + * } + * + * _.flatMapDeep([1, 2], duplicate); + * // => [1, 1, 2, 2] + */ + function flatMapDeep(collection, iteratee) { + return baseFlatten(map(collection, iteratee), INFINITY); + } + + /** + * This method is like `_.flatMap` except that it recursively flattens the + * mapped results up to `depth` times. + * + * @static + * @memberOf _ + * @since 4.7.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @param {number} [depth=1] The maximum recursion depth. + * @returns {Array} Returns the new flattened array. + * @example + * + * function duplicate(n) { + * return [[[n, n]]]; + * } + * + * _.flatMapDepth([1, 2], duplicate, 2); + * // => [[1, 1], [2, 2]] + */ + function flatMapDepth(collection, iteratee, depth) { + depth = depth === undefined ? 1 : toInteger(depth); + return baseFlatten(map(collection, iteratee), depth); + } + + /** + * Iterates over elements of `collection` and invokes `iteratee` for each element. + * The iteratee is invoked with three arguments: (value, index|key, collection). + * Iteratee functions may exit iteration early by explicitly returning `false`. + * + * **Note:** As with other "Collections" methods, objects with a "length" + * property are iterated like arrays. To avoid this behavior use `_.forIn` + * or `_.forOwn` for object iteration. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @alias each + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. + * @see _.forEachRight + * @example + * + * _.forEach([1, 2], function(value) { + * console.log(value); + * }); + * // => Logs `1` then `2`. + * + * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) { + * console.log(key); + * }); + * // => Logs 'a' then 'b' (iteration order is not guaranteed). + */ + function forEach(collection, iteratee) { + var func = isArray(collection) ? arrayEach : baseEach; + return func(collection, getIteratee(iteratee, 3)); + } + + /** + * This method is like `_.forEach` except that it iterates over elements of + * `collection` from right to left. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @alias eachRight + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Array|Object} Returns `collection`. + * @see _.forEach + * @example + * + * _.forEachRight([1, 2], function(value) { + * console.log(value); + * }); + * // => Logs `2` then `1`. + */ + function forEachRight(collection, iteratee) { + var func = isArray(collection) ? arrayEachRight : baseEachRight; + return func(collection, getIteratee(iteratee, 3)); + } + + /** + * Creates an object composed of keys generated from the results of running + * each element of `collection` thru `iteratee`. The order of grouped values + * is determined by the order they occur in `collection`. The corresponding + * value of each key is an array of elements responsible for generating the + * key. The iteratee is invoked with one argument: (value). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The iteratee to transform keys. + * @returns {Object} Returns the composed aggregate object. + * @example + * + * _.groupBy([6.1, 4.2, 6.3], Math.floor); + * // => { '4': [4.2], '6': [6.1, 6.3] } + * + * // The `_.property` iteratee shorthand. + * _.groupBy(['one', 'two', 'three'], 'length'); + * // => { '3': ['one', 'two'], '5': ['three'] } + */ + var groupBy = createAggregator(function(result, value, key) { + if (hasOwnProperty.call(result, key)) { + result[key].push(value); + } else { + baseAssignValue(result, key, [value]); + } + }); + + /** + * Checks if `value` is in `collection`. If `collection` is a string, it's + * checked for a substring of `value`, otherwise + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * is used for equality comparisons. If `fromIndex` is negative, it's used as + * the offset from the end of `collection`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object|string} collection The collection to inspect. + * @param {*} value The value to search for. + * @param {number} [fromIndex=0] The index to search from. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`. + * @returns {boolean} Returns `true` if `value` is found, else `false`. + * @example + * + * _.includes([1, 2, 3], 1); + * // => true + * + * _.includes([1, 2, 3], 1, 2); + * // => false + * + * _.includes({ 'a': 1, 'b': 2 }, 1); + * // => true + * + * _.includes('abcd', 'bc'); + * // => true + */ + function includes(collection, value, fromIndex, guard) { + collection = isArrayLike(collection) ? collection : values(collection); + fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0; + + var length = collection.length; + if (fromIndex < 0) { + fromIndex = nativeMax(length + fromIndex, 0); + } + return isString(collection) + ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1) + : (!!length && baseIndexOf(collection, value, fromIndex) > -1); + } + + /** + * Invokes the method at `path` of each element in `collection`, returning + * an array of the results of each invoked method. Any additional arguments + * are provided to each invoked method. If `path` is a function, it's invoked + * for, and `this` bound to, each element in `collection`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Array|Function|string} path The path of the method to invoke or + * the function invoked per iteration. + * @param {...*} [args] The arguments to invoke each method with. + * @returns {Array} Returns the array of results. + * @example + * + * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort'); + * // => [[1, 5, 7], [1, 2, 3]] + * + * _.invokeMap([123, 456], String.prototype.split, ''); + * // => [['1', '2', '3'], ['4', '5', '6']] + */ + var invokeMap = baseRest(function(collection, path, args) { + var index = -1, + isFunc = typeof path == 'function', + result = isArrayLike(collection) ? Array(collection.length) : []; + + baseEach(collection, function(value) { + result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args); + }); + return result; + }); + + /** + * Creates an object composed of keys generated from the results of running + * each element of `collection` thru `iteratee`. The corresponding value of + * each key is the last element responsible for generating the key. The + * iteratee is invoked with one argument: (value). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The iteratee to transform keys. + * @returns {Object} Returns the composed aggregate object. + * @example + * + * var array = [ + * { 'dir': 'left', 'code': 97 }, + * { 'dir': 'right', 'code': 100 } + * ]; + * + * _.keyBy(array, function(o) { + * return String.fromCharCode(o.code); + * }); + * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } } + * + * _.keyBy(array, 'dir'); + * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } } + */ + var keyBy = createAggregator(function(result, value, key) { + baseAssignValue(result, key, value); + }); + + /** + * Creates an array of values by running each element in `collection` thru + * `iteratee`. The iteratee is invoked with three arguments: + * (value, index|key, collection). + * + * Many lodash methods are guarded to work as iteratees for methods like + * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`. + * + * The guarded methods are: + * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`, + * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`, + * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`, + * `template`, `trim`, `trimEnd`, `trimStart`, and `words` + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Array} Returns the new mapped array. + * @example + * + * function square(n) { + * return n * n; + * } + * + * _.map([4, 8], square); + * // => [16, 64] + * + * _.map({ 'a': 4, 'b': 8 }, square); + * // => [16, 64] (iteration order is not guaranteed) + * + * var users = [ + * { 'user': 'barney' }, + * { 'user': 'fred' } + * ]; + * + * // The `_.property` iteratee shorthand. + * _.map(users, 'user'); + * // => ['barney', 'fred'] + */ + function map(collection, iteratee) { + var func = isArray(collection) ? arrayMap : baseMap; + return func(collection, getIteratee(iteratee, 3)); + } + + /** + * This method is like `_.sortBy` except that it allows specifying the sort + * orders of the iteratees to sort by. If `orders` is unspecified, all values + * are sorted in ascending order. Otherwise, specify an order of "desc" for + * descending or "asc" for ascending sort order of corresponding values. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]] + * The iteratees to sort by. + * @param {string[]} [orders] The sort orders of `iteratees`. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`. + * @returns {Array} Returns the new sorted array. + * @example + * + * var users = [ + * { 'user': 'fred', 'age': 48 }, + * { 'user': 'barney', 'age': 34 }, + * { 'user': 'fred', 'age': 40 }, + * { 'user': 'barney', 'age': 36 } + * ]; + * + * // Sort by `user` in ascending order and by `age` in descending order. + * _.orderBy(users, ['user', 'age'], ['asc', 'desc']); + * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]] + */ + function orderBy(collection, iteratees, orders, guard) { + if (collection == null) { + return []; + } + if (!isArray(iteratees)) { + iteratees = iteratees == null ? [] : [iteratees]; + } + orders = guard ? undefined : orders; + if (!isArray(orders)) { + orders = orders == null ? [] : [orders]; + } + return baseOrderBy(collection, iteratees, orders); + } + + /** + * Creates an array of elements split into two groups, the first of which + * contains elements `predicate` returns truthy for, the second of which + * contains elements `predicate` returns falsey for. The predicate is + * invoked with one argument: (value). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {Array} Returns the array of grouped elements. + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': false }, + * { 'user': 'fred', 'age': 40, 'active': true }, + * { 'user': 'pebbles', 'age': 1, 'active': false } + * ]; + * + * _.partition(users, function(o) { return o.active; }); + * // => objects for [['fred'], ['barney', 'pebbles']] + * + * // The `_.matches` iteratee shorthand. + * _.partition(users, { 'age': 1, 'active': false }); + * // => objects for [['pebbles'], ['barney', 'fred']] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.partition(users, ['active', false]); + * // => objects for [['barney', 'pebbles'], ['fred']] + * + * // The `_.property` iteratee shorthand. + * _.partition(users, 'active'); + * // => objects for [['fred'], ['barney', 'pebbles']] + */ + var partition = createAggregator(function(result, value, key) { + result[key ? 0 : 1].push(value); + }, function() { return [[], []]; }); + + /** + * Reduces `collection` to a value which is the accumulated result of running + * each element in `collection` thru `iteratee`, where each successive + * invocation is supplied the return value of the previous. If `accumulator` + * is not given, the first element of `collection` is used as the initial + * value. The iteratee is invoked with four arguments: + * (accumulator, value, index|key, collection). + * + * Many lodash methods are guarded to work as iteratees for methods like + * `_.reduce`, `_.reduceRight`, and `_.transform`. + * + * The guarded methods are: + * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`, + * and `sortBy` + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @param {*} [accumulator] The initial value. + * @returns {*} Returns the accumulated value. + * @see _.reduceRight + * @example + * + * _.reduce([1, 2], function(sum, n) { + * return sum + n; + * }, 0); + * // => 3 + * + * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) { + * (result[value] || (result[value] = [])).push(key); + * return result; + * }, {}); + * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed) + */ + function reduce(collection, iteratee, accumulator) { + var func = isArray(collection) ? arrayReduce : baseReduce, + initAccum = arguments.length < 3; + + return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach); + } + + /** + * This method is like `_.reduce` except that it iterates over elements of + * `collection` from right to left. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @param {*} [accumulator] The initial value. + * @returns {*} Returns the accumulated value. + * @see _.reduce + * @example + * + * var array = [[0, 1], [2, 3], [4, 5]]; + * + * _.reduceRight(array, function(flattened, other) { + * return flattened.concat(other); + * }, []); + * // => [4, 5, 2, 3, 0, 1] + */ + function reduceRight(collection, iteratee, accumulator) { + var func = isArray(collection) ? arrayReduceRight : baseReduce, + initAccum = arguments.length < 3; + + return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight); + } + + /** + * The opposite of `_.filter`; this method returns the elements of `collection` + * that `predicate` does **not** return truthy for. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {Array} Returns the new filtered array. + * @see _.filter + * @example + * + * var users = [ + * { 'user': 'barney', 'age': 36, 'active': false }, + * { 'user': 'fred', 'age': 40, 'active': true } + * ]; + * + * _.reject(users, function(o) { return !o.active; }); + * // => objects for ['fred'] + * + * // The `_.matches` iteratee shorthand. + * _.reject(users, { 'age': 40, 'active': true }); + * // => objects for ['barney'] + * + * // The `_.matchesProperty` iteratee shorthand. + * _.reject(users, ['active', false]); + * // => objects for ['fred'] + * + * // The `_.property` iteratee shorthand. + * _.reject(users, 'active'); + * // => objects for ['barney'] + */ + function reject(collection, predicate) { + var func = isArray(collection) ? arrayFilter : baseFilter; + return func(collection, negate(getIteratee(predicate, 3))); + } + + /** + * Gets a random element from `collection`. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Collection + * @param {Array|Object} collection The collection to sample. + * @returns {*} Returns the random element. + * @example + * + * _.sample([1, 2, 3, 4]); + * // => 2 + */ + function sample(collection) { + var func = isArray(collection) ? arraySample : baseSample; + return func(collection); + } + + /** + * Gets `n` random elements at unique keys from `collection` up to the + * size of `collection`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Collection + * @param {Array|Object} collection The collection to sample. + * @param {number} [n=1] The number of elements to sample. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Array} Returns the random elements. + * @example + * + * _.sampleSize([1, 2, 3], 2); + * // => [3, 1] + * + * _.sampleSize([1, 2, 3], 4); + * // => [2, 3, 1] + */ + function sampleSize(collection, n, guard) { + if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) { + n = 1; + } else { + n = toInteger(n); + } + var func = isArray(collection) ? arraySampleSize : baseSampleSize; + return func(collection, n); + } + + /** + * Creates an array of shuffled values, using a version of the + * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to shuffle. + * @returns {Array} Returns the new shuffled array. + * @example + * + * _.shuffle([1, 2, 3, 4]); + * // => [4, 1, 3, 2] + */ + function shuffle(collection) { + var func = isArray(collection) ? arrayShuffle : baseShuffle; + return func(collection); + } + + /** + * Gets the size of `collection` by returning its length for array-like + * values or the number of own enumerable string keyed properties for objects. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object|string} collection The collection to inspect. + * @returns {number} Returns the collection size. + * @example + * + * _.size([1, 2, 3]); + * // => 3 + * + * _.size({ 'a': 1, 'b': 2 }); + * // => 2 + * + * _.size('pebbles'); + * // => 7 + */ + function size(collection) { + if (collection == null) { + return 0; + } + if (isArrayLike(collection)) { + return isString(collection) ? stringSize(collection) : collection.length; + } + var tag = getTag(collection); + if (tag == mapTag || tag == setTag) { + return collection.size; + } + return baseKeys(collection).length; + } + + /** + * Checks if `predicate` returns truthy for **any** element of `collection`. + * Iteration is stopped once `predicate` returns truthy. The predicate is + * invoked with three arguments: (value, index|key, collection). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {boolean} Returns `true` if any element passes the predicate check, + * else `false`. + * @example + * + * _.some([null, 0, 'yes', false], Boolean); + * // => true + * + * var users = [ + * { 'user': 'barney', 'active': true }, + * { 'user': 'fred', 'active': false } + * ]; + * + * // The `_.matches` iteratee shorthand. + * _.some(users, { 'user': 'barney', 'active': false }); + * // => false + * + * // The `_.matchesProperty` iteratee shorthand. + * _.some(users, ['active', false]); + * // => true + * + * // The `_.property` iteratee shorthand. + * _.some(users, 'active'); + * // => true + */ + function some(collection, predicate, guard) { + var func = isArray(collection) ? arraySome : baseSome; + if (guard && isIterateeCall(collection, predicate, guard)) { + predicate = undefined; + } + return func(collection, getIteratee(predicate, 3)); + } + + /** + * Creates an array of elements, sorted in ascending order by the results of + * running each element in a collection thru each iteratee. This method + * performs a stable sort, that is, it preserves the original sort order of + * equal elements. The iteratees are invoked with one argument: (value). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Collection + * @param {Array|Object} collection The collection to iterate over. + * @param {...(Function|Function[])} [iteratees=[_.identity]] + * The iteratees to sort by. + * @returns {Array} Returns the new sorted array. + * @example + * + * var users = [ + * { 'user': 'fred', 'age': 48 }, + * { 'user': 'barney', 'age': 36 }, + * { 'user': 'fred', 'age': 30 }, + * { 'user': 'barney', 'age': 34 } + * ]; + * + * _.sortBy(users, [function(o) { return o.user; }]); + * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]] + * + * _.sortBy(users, ['user', 'age']); + * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]] + */ + var sortBy = baseRest(function(collection, iteratees) { + if (collection == null) { + return []; + } + var length = iteratees.length; + if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) { + iteratees = []; + } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) { + iteratees = [iteratees[0]]; + } + return baseOrderBy(collection, baseFlatten(iteratees, 1), []); + }); + + /*------------------------------------------------------------------------*/ + + /** + * Gets the timestamp of the number of milliseconds that have elapsed since + * the Unix epoch (1 January 1970 00:00:00 UTC). + * + * @static + * @memberOf _ + * @since 2.4.0 + * @category Date + * @returns {number} Returns the timestamp. + * @example + * + * _.defer(function(stamp) { + * console.log(_.now() - stamp); + * }, _.now()); + * // => Logs the number of milliseconds it took for the deferred invocation. + */ + var now = ctxNow || function() { + return root.Date.now(); + }; + + /*------------------------------------------------------------------------*/ + + /** + * The opposite of `_.before`; this method creates a function that invokes + * `func` once it's called `n` or more times. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {number} n The number of calls before `func` is invoked. + * @param {Function} func The function to restrict. + * @returns {Function} Returns the new restricted function. + * @example + * + * var saves = ['profile', 'settings']; + * + * var done = _.after(saves.length, function() { + * console.log('done saving!'); + * }); + * + * _.forEach(saves, function(type) { + * asyncSave({ 'type': type, 'complete': done }); + * }); + * // => Logs 'done saving!' after the two async saves have completed. + */ + function after(n, func) { + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + n = toInteger(n); + return function() { + if (--n < 1) { + return func.apply(this, arguments); + } + }; + } + + /** + * Creates a function that invokes `func`, with up to `n` arguments, + * ignoring any additional arguments. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Function + * @param {Function} func The function to cap arguments for. + * @param {number} [n=func.length] The arity cap. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Function} Returns the new capped function. + * @example + * + * _.map(['6', '8', '10'], _.ary(parseInt, 1)); + * // => [6, 8, 10] + */ + function ary(func, n, guard) { + n = guard ? undefined : n; + n = (func && n == null) ? func.length : n; + return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n); + } + + /** + * Creates a function that invokes `func`, with the `this` binding and arguments + * of the created function, while it's called less than `n` times. Subsequent + * calls to the created function return the result of the last `func` invocation. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Function + * @param {number} n The number of calls at which `func` is no longer invoked. + * @param {Function} func The function to restrict. + * @returns {Function} Returns the new restricted function. + * @example + * + * jQuery(element).on('click', _.before(5, addContactToList)); + * // => Allows adding up to 4 contacts to the list. + */ + function before(n, func) { + var result; + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + n = toInteger(n); + return function() { + if (--n > 0) { + result = func.apply(this, arguments); + } + if (n <= 1) { + func = undefined; + } + return result; + }; + } + + /** + * Creates a function that invokes `func` with the `this` binding of `thisArg` + * and `partials` prepended to the arguments it receives. + * + * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds, + * may be used as a placeholder for partially applied arguments. + * + * **Note:** Unlike native `Function#bind`, this method doesn't set the "length" + * property of bound functions. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to bind. + * @param {*} thisArg The `this` binding of `func`. + * @param {...*} [partials] The arguments to be partially applied. + * @returns {Function} Returns the new bound function. + * @example + * + * function greet(greeting, punctuation) { + * return greeting + ' ' + this.user + punctuation; + * } + * + * var object = { 'user': 'fred' }; + * + * var bound = _.bind(greet, object, 'hi'); + * bound('!'); + * // => 'hi fred!' + * + * // Bound with placeholders. + * var bound = _.bind(greet, object, _, '!'); + * bound('hi'); + * // => 'hi fred!' + */ + var bind = baseRest(function(func, thisArg, partials) { + var bitmask = WRAP_BIND_FLAG; + if (partials.length) { + var holders = replaceHolders(partials, getHolder(bind)); + bitmask |= WRAP_PARTIAL_FLAG; + } + return createWrap(func, bitmask, thisArg, partials, holders); + }); + + /** + * Creates a function that invokes the method at `object[key]` with `partials` + * prepended to the arguments it receives. + * + * This method differs from `_.bind` by allowing bound functions to reference + * methods that may be redefined or don't yet exist. See + * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern) + * for more details. + * + * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic + * builds, may be used as a placeholder for partially applied arguments. + * + * @static + * @memberOf _ + * @since 0.10.0 + * @category Function + * @param {Object} object The object to invoke the method on. + * @param {string} key The key of the method. + * @param {...*} [partials] The arguments to be partially applied. + * @returns {Function} Returns the new bound function. + * @example + * + * var object = { + * 'user': 'fred', + * 'greet': function(greeting, punctuation) { + * return greeting + ' ' + this.user + punctuation; + * } + * }; + * + * var bound = _.bindKey(object, 'greet', 'hi'); + * bound('!'); + * // => 'hi fred!' + * + * object.greet = function(greeting, punctuation) { + * return greeting + 'ya ' + this.user + punctuation; + * }; + * + * bound('!'); + * // => 'hiya fred!' + * + * // Bound with placeholders. + * var bound = _.bindKey(object, 'greet', _, '!'); + * bound('hi'); + * // => 'hiya fred!' + */ + var bindKey = baseRest(function(object, key, partials) { + var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG; + if (partials.length) { + var holders = replaceHolders(partials, getHolder(bindKey)); + bitmask |= WRAP_PARTIAL_FLAG; + } + return createWrap(key, bitmask, object, partials, holders); + }); + + /** + * Creates a function that accepts arguments of `func` and either invokes + * `func` returning its result, if at least `arity` number of arguments have + * been provided, or returns a function that accepts the remaining `func` + * arguments, and so on. The arity of `func` may be specified if `func.length` + * is not sufficient. + * + * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds, + * may be used as a placeholder for provided arguments. + * + * **Note:** This method doesn't set the "length" property of curried functions. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Function + * @param {Function} func The function to curry. + * @param {number} [arity=func.length] The arity of `func`. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Function} Returns the new curried function. + * @example + * + * var abc = function(a, b, c) { + * return [a, b, c]; + * }; + * + * var curried = _.curry(abc); + * + * curried(1)(2)(3); + * // => [1, 2, 3] + * + * curried(1, 2)(3); + * // => [1, 2, 3] + * + * curried(1, 2, 3); + * // => [1, 2, 3] + * + * // Curried with placeholders. + * curried(1)(_, 3)(2); + * // => [1, 2, 3] + */ + function curry(func, arity, guard) { + arity = guard ? undefined : arity; + var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity); + result.placeholder = curry.placeholder; + return result; + } + + /** + * This method is like `_.curry` except that arguments are applied to `func` + * in the manner of `_.partialRight` instead of `_.partial`. + * + * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic + * builds, may be used as a placeholder for provided arguments. + * + * **Note:** This method doesn't set the "length" property of curried functions. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Function + * @param {Function} func The function to curry. + * @param {number} [arity=func.length] The arity of `func`. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Function} Returns the new curried function. + * @example + * + * var abc = function(a, b, c) { + * return [a, b, c]; + * }; + * + * var curried = _.curryRight(abc); + * + * curried(3)(2)(1); + * // => [1, 2, 3] + * + * curried(2, 3)(1); + * // => [1, 2, 3] + * + * curried(1, 2, 3); + * // => [1, 2, 3] + * + * // Curried with placeholders. + * curried(3)(1, _)(2); + * // => [1, 2, 3] + */ + function curryRight(func, arity, guard) { + arity = guard ? undefined : arity; + var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity); + result.placeholder = curryRight.placeholder; + return result; + } + + /** + * Creates a debounced function that delays invoking `func` until after `wait` + * milliseconds have elapsed since the last time the debounced function was + * invoked. The debounced function comes with a `cancel` method to cancel + * delayed `func` invocations and a `flush` method to immediately invoke them. + * Provide `options` to indicate whether `func` should be invoked on the + * leading and/or trailing edge of the `wait` timeout. The `func` is invoked + * with the last arguments provided to the debounced function. Subsequent + * calls to the debounced function return the result of the last `func` + * invocation. + * + * **Note:** If `leading` and `trailing` options are `true`, `func` is + * invoked on the trailing edge of the timeout only if the debounced function + * is invoked more than once during the `wait` timeout. + * + * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred + * until to the next tick, similar to `setTimeout` with a timeout of `0`. + * + * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) + * for details over the differences between `_.debounce` and `_.throttle`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to debounce. + * @param {number} [wait=0] The number of milliseconds to delay. + * @param {Object} [options={}] The options object. + * @param {boolean} [options.leading=false] + * Specify invoking on the leading edge of the timeout. + * @param {number} [options.maxWait] + * The maximum time `func` is allowed to be delayed before it's invoked. + * @param {boolean} [options.trailing=true] + * Specify invoking on the trailing edge of the timeout. + * @returns {Function} Returns the new debounced function. + * @example + * + * // Avoid costly calculations while the window size is in flux. + * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); + * + * // Invoke `sendMail` when clicked, debouncing subsequent calls. + * jQuery(element).on('click', _.debounce(sendMail, 300, { + * 'leading': true, + * 'trailing': false + * })); + * + * // Ensure `batchLog` is invoked once after 1 second of debounced calls. + * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); + * var source = new EventSource('/stream'); + * jQuery(source).on('message', debounced); + * + * // Cancel the trailing debounced invocation. + * jQuery(window).on('popstate', debounced.cancel); + */ + function debounce(func, wait, options) { + var lastArgs, + lastThis, + maxWait, + result, + timerId, + lastCallTime, + lastInvokeTime = 0, + leading = false, + maxing = false, + trailing = true; + + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + wait = toNumber(wait) || 0; + if (isObject(options)) { + leading = !!options.leading; + maxing = 'maxWait' in options; + maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; + trailing = 'trailing' in options ? !!options.trailing : trailing; + } + + function invokeFunc(time) { + var args = lastArgs, + thisArg = lastThis; + + lastArgs = lastThis = undefined; + lastInvokeTime = time; + result = func.apply(thisArg, args); + return result; + } + + function leadingEdge(time) { + // Reset any `maxWait` timer. + lastInvokeTime = time; + // Start the timer for the trailing edge. + timerId = setTimeout(timerExpired, wait); + // Invoke the leading edge. + return leading ? invokeFunc(time) : result; + } + + function remainingWait(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime, + timeWaiting = wait - timeSinceLastCall; + + return maxing + ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) + : timeWaiting; + } + + function shouldInvoke(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime; + + // Either this is the first call, activity has stopped and we're at the + // trailing edge, the system time has gone backwards and we're treating + // it as the trailing edge, or we've hit the `maxWait` limit. + return (lastCallTime === undefined || (timeSinceLastCall >= wait) || + (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); + } + + function timerExpired() { + var time = now(); + if (shouldInvoke(time)) { + return trailingEdge(time); + } + // Restart the timer. + timerId = setTimeout(timerExpired, remainingWait(time)); + } + + function trailingEdge(time) { + timerId = undefined; + + // Only invoke if we have `lastArgs` which means `func` has been + // debounced at least once. + if (trailing && lastArgs) { + return invokeFunc(time); + } + lastArgs = lastThis = undefined; + return result; + } + + function cancel() { + if (timerId !== undefined) { + clearTimeout(timerId); + } + lastInvokeTime = 0; + lastArgs = lastCallTime = lastThis = timerId = undefined; + } + + function flush() { + return timerId === undefined ? result : trailingEdge(now()); + } + + function debounced() { + var time = now(), + isInvoking = shouldInvoke(time); + + lastArgs = arguments; + lastThis = this; + lastCallTime = time; + + if (isInvoking) { + if (timerId === undefined) { + return leadingEdge(lastCallTime); + } + if (maxing) { + // Handle invocations in a tight loop. + clearTimeout(timerId); + timerId = setTimeout(timerExpired, wait); + return invokeFunc(lastCallTime); + } + } + if (timerId === undefined) { + timerId = setTimeout(timerExpired, wait); + } + return result; + } + debounced.cancel = cancel; + debounced.flush = flush; + return debounced; + } + + /** + * Defers invoking the `func` until the current call stack has cleared. Any + * additional arguments are provided to `func` when it's invoked. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to defer. + * @param {...*} [args] The arguments to invoke `func` with. + * @returns {number} Returns the timer id. + * @example + * + * _.defer(function(text) { + * console.log(text); + * }, 'deferred'); + * // => Logs 'deferred' after one millisecond. + */ + var defer = baseRest(function(func, args) { + return baseDelay(func, 1, args); + }); + + /** + * Invokes `func` after `wait` milliseconds. Any additional arguments are + * provided to `func` when it's invoked. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to delay. + * @param {number} wait The number of milliseconds to delay invocation. + * @param {...*} [args] The arguments to invoke `func` with. + * @returns {number} Returns the timer id. + * @example + * + * _.delay(function(text) { + * console.log(text); + * }, 1000, 'later'); + * // => Logs 'later' after one second. + */ + var delay = baseRest(function(func, wait, args) { + return baseDelay(func, toNumber(wait) || 0, args); + }); + + /** + * Creates a function that invokes `func` with arguments reversed. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Function + * @param {Function} func The function to flip arguments for. + * @returns {Function} Returns the new flipped function. + * @example + * + * var flipped = _.flip(function() { + * return _.toArray(arguments); + * }); + * + * flipped('a', 'b', 'c', 'd'); + * // => ['d', 'c', 'b', 'a'] + */ + function flip(func) { + return createWrap(func, WRAP_FLIP_FLAG); + } + + /** + * Creates a function that memoizes the result of `func`. If `resolver` is + * provided, it determines the cache key for storing the result based on the + * arguments provided to the memoized function. By default, the first argument + * provided to the memoized function is used as the map cache key. The `func` + * is invoked with the `this` binding of the memoized function. + * + * **Note:** The cache is exposed as the `cache` property on the memoized + * function. Its creation may be customized by replacing the `_.memoize.Cache` + * constructor with one whose instances implement the + * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object) + * method interface of `clear`, `delete`, `get`, `has`, and `set`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to have its output memoized. + * @param {Function} [resolver] The function to resolve the cache key. + * @returns {Function} Returns the new memoized function. + * @example + * + * var object = { 'a': 1, 'b': 2 }; + * var other = { 'c': 3, 'd': 4 }; + * + * var values = _.memoize(_.values); + * values(object); + * // => [1, 2] + * + * values(other); + * // => [3, 4] + * + * object.a = 2; + * values(object); + * // => [1, 2] + * + * // Modify the result cache. + * values.cache.set(object, ['a', 'b']); + * values(object); + * // => ['a', 'b'] + * + * // Replace `_.memoize.Cache`. + * _.memoize.Cache = WeakMap; + */ + function memoize(func, resolver) { + if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) { + throw new TypeError(FUNC_ERROR_TEXT); + } + var memoized = function() { + var args = arguments, + key = resolver ? resolver.apply(this, args) : args[0], + cache = memoized.cache; + + if (cache.has(key)) { + return cache.get(key); + } + var result = func.apply(this, args); + memoized.cache = cache.set(key, result) || cache; + return result; + }; + memoized.cache = new (memoize.Cache || MapCache); + return memoized; + } + + // Expose `MapCache`. + memoize.Cache = MapCache; + + /** + * Creates a function that negates the result of the predicate `func`. The + * `func` predicate is invoked with the `this` binding and arguments of the + * created function. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Function + * @param {Function} predicate The predicate to negate. + * @returns {Function} Returns the new negated function. + * @example + * + * function isEven(n) { + * return n % 2 == 0; + * } + * + * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven)); + * // => [1, 3, 5] + */ + function negate(predicate) { + if (typeof predicate != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + return function() { + var args = arguments; + switch (args.length) { + case 0: return !predicate.call(this); + case 1: return !predicate.call(this, args[0]); + case 2: return !predicate.call(this, args[0], args[1]); + case 3: return !predicate.call(this, args[0], args[1], args[2]); + } + return !predicate.apply(this, args); + }; + } + + /** + * Creates a function that is restricted to invoking `func` once. Repeat calls + * to the function return the value of the first invocation. The `func` is + * invoked with the `this` binding and arguments of the created function. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to restrict. + * @returns {Function} Returns the new restricted function. + * @example + * + * var initialize = _.once(createApplication); + * initialize(); + * initialize(); + * // => `createApplication` is invoked once + */ + function once(func) { + return before(2, func); + } + + /** + * Creates a function that invokes `func` with its arguments transformed. + * + * @static + * @since 4.0.0 + * @memberOf _ + * @category Function + * @param {Function} func The function to wrap. + * @param {...(Function|Function[])} [transforms=[_.identity]] + * The argument transforms. + * @returns {Function} Returns the new function. + * @example + * + * function doubled(n) { + * return n * 2; + * } + * + * function square(n) { + * return n * n; + * } + * + * var func = _.overArgs(function(x, y) { + * return [x, y]; + * }, [square, doubled]); + * + * func(9, 3); + * // => [81, 6] + * + * func(10, 5); + * // => [100, 10] + */ + var overArgs = castRest(function(func, transforms) { + transforms = (transforms.length == 1 && isArray(transforms[0])) + ? arrayMap(transforms[0], baseUnary(getIteratee())) + : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee())); + + var funcsLength = transforms.length; + return baseRest(function(args) { + var index = -1, + length = nativeMin(args.length, funcsLength); + + while (++index < length) { + args[index] = transforms[index].call(this, args[index]); + } + return apply(func, this, args); + }); + }); + + /** + * Creates a function that invokes `func` with `partials` prepended to the + * arguments it receives. This method is like `_.bind` except it does **not** + * alter the `this` binding. + * + * The `_.partial.placeholder` value, which defaults to `_` in monolithic + * builds, may be used as a placeholder for partially applied arguments. + * + * **Note:** This method doesn't set the "length" property of partially + * applied functions. + * + * @static + * @memberOf _ + * @since 0.2.0 + * @category Function + * @param {Function} func The function to partially apply arguments to. + * @param {...*} [partials] The arguments to be partially applied. + * @returns {Function} Returns the new partially applied function. + * @example + * + * function greet(greeting, name) { + * return greeting + ' ' + name; + * } + * + * var sayHelloTo = _.partial(greet, 'hello'); + * sayHelloTo('fred'); + * // => 'hello fred' + * + * // Partially applied with placeholders. + * var greetFred = _.partial(greet, _, 'fred'); + * greetFred('hi'); + * // => 'hi fred' + */ + var partial = baseRest(function(func, partials) { + var holders = replaceHolders(partials, getHolder(partial)); + return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders); + }); + + /** + * This method is like `_.partial` except that partially applied arguments + * are appended to the arguments it receives. + * + * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic + * builds, may be used as a placeholder for partially applied arguments. + * + * **Note:** This method doesn't set the "length" property of partially + * applied functions. + * + * @static + * @memberOf _ + * @since 1.0.0 + * @category Function + * @param {Function} func The function to partially apply arguments to. + * @param {...*} [partials] The arguments to be partially applied. + * @returns {Function} Returns the new partially applied function. + * @example + * + * function greet(greeting, name) { + * return greeting + ' ' + name; + * } + * + * var greetFred = _.partialRight(greet, 'fred'); + * greetFred('hi'); + * // => 'hi fred' + * + * // Partially applied with placeholders. + * var sayHelloTo = _.partialRight(greet, 'hello', _); + * sayHelloTo('fred'); + * // => 'hello fred' + */ + var partialRight = baseRest(function(func, partials) { + var holders = replaceHolders(partials, getHolder(partialRight)); + return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders); + }); + + /** + * Creates a function that invokes `func` with arguments arranged according + * to the specified `indexes` where the argument value at the first index is + * provided as the first argument, the argument value at the second index is + * provided as the second argument, and so on. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Function + * @param {Function} func The function to rearrange arguments for. + * @param {...(number|number[])} indexes The arranged argument indexes. + * @returns {Function} Returns the new function. + * @example + * + * var rearged = _.rearg(function(a, b, c) { + * return [a, b, c]; + * }, [2, 0, 1]); + * + * rearged('b', 'c', 'a') + * // => ['a', 'b', 'c'] + */ + var rearg = flatRest(function(func, indexes) { + return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes); + }); + + /** + * Creates a function that invokes `func` with the `this` binding of the + * created function and arguments from `start` and beyond provided as + * an array. + * + * **Note:** This method is based on the + * [rest parameter](https://mdn.io/rest_parameters). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Function + * @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. + * @example + * + * var say = _.rest(function(what, names) { + * return what + ' ' + _.initial(names).join(', ') + + * (_.size(names) > 1 ? ', & ' : '') + _.last(names); + * }); + * + * say('hello', 'fred', 'barney', 'pebbles'); + * // => 'hello fred, barney, & pebbles' + */ + function rest(func, start) { + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + start = start === undefined ? start : toInteger(start); + return baseRest(func, start); + } + + /** + * Creates a function that invokes `func` with the `this` binding of the + * create function and an array of arguments much like + * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply). + * + * **Note:** This method is based on the + * [spread operator](https://mdn.io/spread_operator). + * + * @static + * @memberOf _ + * @since 3.2.0 + * @category Function + * @param {Function} func The function to spread arguments over. + * @param {number} [start=0] The start position of the spread. + * @returns {Function} Returns the new function. + * @example + * + * var say = _.spread(function(who, what) { + * return who + ' says ' + what; + * }); + * + * say(['fred', 'hello']); + * // => 'fred says hello' + * + * var numbers = Promise.all([ + * Promise.resolve(40), + * Promise.resolve(36) + * ]); + * + * numbers.then(_.spread(function(x, y) { + * return x + y; + * })); + * // => a Promise of 76 + */ + function spread(func, start) { + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + start = start == null ? 0 : nativeMax(toInteger(start), 0); + return baseRest(function(args) { + var array = args[start], + otherArgs = castSlice(args, 0, start); + + if (array) { + arrayPush(otherArgs, array); + } + return apply(func, this, otherArgs); + }); + } + + /** + * Creates a throttled function that only invokes `func` at most once per + * every `wait` milliseconds. The throttled function comes with a `cancel` + * method to cancel delayed `func` invocations and a `flush` method to + * immediately invoke them. Provide `options` to indicate whether `func` + * should be invoked on the leading and/or trailing edge of the `wait` + * timeout. The `func` is invoked with the last arguments provided to the + * throttled function. Subsequent calls to the throttled function return the + * result of the last `func` invocation. + * + * **Note:** If `leading` and `trailing` options are `true`, `func` is + * invoked on the trailing edge of the timeout only if the throttled function + * is invoked more than once during the `wait` timeout. + * + * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred + * until to the next tick, similar to `setTimeout` with a timeout of `0`. + * + * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) + * for details over the differences between `_.throttle` and `_.debounce`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to throttle. + * @param {number} [wait=0] The number of milliseconds to throttle invocations to. + * @param {Object} [options={}] The options object. + * @param {boolean} [options.leading=true] + * Specify invoking on the leading edge of the timeout. + * @param {boolean} [options.trailing=true] + * Specify invoking on the trailing edge of the timeout. + * @returns {Function} Returns the new throttled function. + * @example + * + * // Avoid excessively updating the position while scrolling. + * jQuery(window).on('scroll', _.throttle(updatePosition, 100)); + * + * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes. + * var throttled = _.throttle(renewToken, 300000, { 'trailing': false }); + * jQuery(element).on('click', throttled); + * + * // Cancel the trailing throttled invocation. + * jQuery(window).on('popstate', throttled.cancel); + */ + function throttle(func, wait, options) { + var leading = true, + trailing = true; + + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + if (isObject(options)) { + leading = 'leading' in options ? !!options.leading : leading; + trailing = 'trailing' in options ? !!options.trailing : trailing; + } + return debounce(func, wait, { + 'leading': leading, + 'maxWait': wait, + 'trailing': trailing + }); + } + + /** + * Creates a function that accepts up to one argument, ignoring any + * additional arguments. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Function + * @param {Function} func The function to cap arguments for. + * @returns {Function} Returns the new capped function. + * @example + * + * _.map(['6', '8', '10'], _.unary(parseInt)); + * // => [6, 8, 10] + */ + function unary(func) { + return ary(func, 1); + } + + /** + * Creates a function that provides `value` to `wrapper` as its first + * argument. Any additional arguments provided to the function are appended + * to those provided to the `wrapper`. The wrapper is invoked with the `this` + * binding of the created function. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {*} value The value to wrap. + * @param {Function} [wrapper=identity] The wrapper function. + * @returns {Function} Returns the new function. + * @example + * + * var p = _.wrap(_.escape, function(func, text) { + * return '

' + func(text) + '

'; + * }); + * + * p('fred, barney, & pebbles'); + * // => '

fred, barney, & pebbles

' + */ + function wrap(value, wrapper) { + return partial(castFunction(wrapper), value); + } + + /*------------------------------------------------------------------------*/ + + /** + * Casts `value` as an array if it's not one. + * + * @static + * @memberOf _ + * @since 4.4.0 + * @category Lang + * @param {*} value The value to inspect. + * @returns {Array} Returns the cast array. + * @example + * + * _.castArray(1); + * // => [1] + * + * _.castArray({ 'a': 1 }); + * // => [{ 'a': 1 }] + * + * _.castArray('abc'); + * // => ['abc'] + * + * _.castArray(null); + * // => [null] + * + * _.castArray(undefined); + * // => [undefined] + * + * _.castArray(); + * // => [] + * + * var array = [1, 2, 3]; + * console.log(_.castArray(array) === array); + * // => true + */ + function castArray() { + if (!arguments.length) { + return []; + } + var value = arguments[0]; + return isArray(value) ? value : [value]; + } + + /** + * Creates a shallow clone of `value`. + * + * **Note:** This method is loosely based on the + * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm) + * and supports cloning arrays, array buffers, booleans, date objects, maps, + * numbers, `Object` objects, regexes, sets, strings, symbols, and typed + * arrays. The own enumerable properties of `arguments` objects are cloned + * as plain objects. An empty object is returned for uncloneable values such + * as error objects, functions, DOM nodes, and WeakMaps. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to clone. + * @returns {*} Returns the cloned value. + * @see _.cloneDeep + * @example + * + * var objects = [{ 'a': 1 }, { 'b': 2 }]; + * + * var shallow = _.clone(objects); + * console.log(shallow[0] === objects[0]); + * // => true + */ + function clone(value) { + return baseClone(value, CLONE_SYMBOLS_FLAG); + } + + /** + * This method is like `_.clone` except that it accepts `customizer` which + * is invoked to produce the cloned value. If `customizer` returns `undefined`, + * cloning is handled by the method instead. The `customizer` is invoked with + * up to four arguments; (value [, index|key, object, stack]). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to clone. + * @param {Function} [customizer] The function to customize cloning. + * @returns {*} Returns the cloned value. + * @see _.cloneDeepWith + * @example + * + * function customizer(value) { + * if (_.isElement(value)) { + * return value.cloneNode(false); + * } + * } + * + * var el = _.cloneWith(document.body, customizer); + * + * console.log(el === document.body); + * // => false + * console.log(el.nodeName); + * // => 'BODY' + * console.log(el.childNodes.length); + * // => 0 + */ + function cloneWith(value, customizer) { + customizer = typeof customizer == 'function' ? customizer : undefined; + return baseClone(value, CLONE_SYMBOLS_FLAG, customizer); + } + + /** + * This method is like `_.clone` except that it recursively clones `value`. + * + * @static + * @memberOf _ + * @since 1.0.0 + * @category Lang + * @param {*} value The value to recursively clone. + * @returns {*} Returns the deep cloned value. + * @see _.clone + * @example + * + * var objects = [{ 'a': 1 }, { 'b': 2 }]; + * + * var deep = _.cloneDeep(objects); + * console.log(deep[0] === objects[0]); + * // => false + */ + function cloneDeep(value) { + return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG); + } + + /** + * This method is like `_.cloneWith` except that it recursively clones `value`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to recursively clone. + * @param {Function} [customizer] The function to customize cloning. + * @returns {*} Returns the deep cloned value. + * @see _.cloneWith + * @example + * + * function customizer(value) { + * if (_.isElement(value)) { + * return value.cloneNode(true); + * } + * } + * + * var el = _.cloneDeepWith(document.body, customizer); + * + * console.log(el === document.body); + * // => false + * console.log(el.nodeName); + * // => 'BODY' + * console.log(el.childNodes.length); + * // => 20 + */ + function cloneDeepWith(value, customizer) { + customizer = typeof customizer == 'function' ? customizer : undefined; + return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer); + } + + /** + * Checks if `object` conforms to `source` by invoking the predicate + * properties of `source` with the corresponding property values of `object`. + * + * **Note:** This method is equivalent to `_.conforms` when `source` is + * partially applied. + * + * @static + * @memberOf _ + * @since 4.14.0 + * @category Lang + * @param {Object} object The object to inspect. + * @param {Object} source The object of property predicates to conform to. + * @returns {boolean} Returns `true` if `object` conforms, else `false`. + * @example + * + * var object = { 'a': 1, 'b': 2 }; + * + * _.conformsTo(object, { 'b': function(n) { return n > 1; } }); + * // => true + * + * _.conformsTo(object, { 'b': function(n) { return n > 2; } }); + * // => false + */ + function conformsTo(object, source) { + return source == null || baseConformsTo(object, source, keys(source)); + } + + /** + * 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(value, other) { + return value === other || (value !== value && other !== other); + } + + /** + * Checks if `value` is greater than `other`. + * + * @static + * @memberOf _ + * @since 3.9.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is greater than `other`, + * else `false`. + * @see _.lt + * @example + * + * _.gt(3, 1); + * // => true + * + * _.gt(3, 3); + * // => false + * + * _.gt(1, 3); + * // => false + */ + var gt = createRelationalOperation(baseGt); + + /** + * Checks if `value` is greater than or equal to `other`. + * + * @static + * @memberOf _ + * @since 3.9.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is greater than or equal to + * `other`, else `false`. + * @see _.lte + * @example + * + * _.gte(3, 1); + * // => true + * + * _.gte(3, 3); + * // => true + * + * _.gte(1, 3); + * // => false + */ + var gte = createRelationalOperation(function(value, other) { + return value >= other; + }); + + /** + * 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 = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { + return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && + !propertyIsEnumerable.call(value, 'callee'); + }; + + /** + * 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 = Array.isArray; + + /** + * Checks if `value` is classified as an `ArrayBuffer` object. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. + * @example + * + * _.isArrayBuffer(new ArrayBuffer(2)); + * // => true + * + * _.isArrayBuffer(new Array(2)); + * // => false + */ + var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer; + + /** + * 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(value) { + return value != null && isLength(value.length) && !isFunction(value); + } + + /** + * This method is like `_.isArrayLike` except that it also checks if `value` + * is an object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array-like object, + * else `false`. + * @example + * + * _.isArrayLikeObject([1, 2, 3]); + * // => true + * + * _.isArrayLikeObject(document.body.children); + * // => true + * + * _.isArrayLikeObject('abc'); + * // => false + * + * _.isArrayLikeObject(_.noop); + * // => false + */ + function isArrayLikeObject(value) { + return isObjectLike(value) && isArrayLike(value); + } + + /** + * Checks if `value` is classified as a boolean primitive or object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a boolean, else `false`. + * @example + * + * _.isBoolean(false); + * // => true + * + * _.isBoolean(null); + * // => false + */ + function isBoolean(value) { + return value === true || value === false || + (isObjectLike(value) && baseGetTag(value) == boolTag); + } + + /** + * 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 = nativeIsBuffer || stubFalse; + + /** + * Checks if `value` is classified as a `Date` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a date object, else `false`. + * @example + * + * _.isDate(new Date); + * // => true + * + * _.isDate('Mon April 23 2012'); + * // => false + */ + var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate; + + /** + * Checks if `value` is likely a DOM element. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`. + * @example + * + * _.isElement(document.body); + * // => true + * + * _.isElement(''); + * // => false + */ + function isElement(value) { + return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value); + } + + /** + * Checks if `value` is an empty object, collection, map, or set. + * + * Objects are considered empty if they have no own enumerable string keyed + * properties. + * + * Array-like values such as `arguments` objects, arrays, buffers, strings, or + * jQuery-like collections are considered empty if they have a `length` of `0`. + * Similarly, maps and sets are considered empty if they have a `size` of `0`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is empty, else `false`. + * @example + * + * _.isEmpty(null); + * // => true + * + * _.isEmpty(true); + * // => true + * + * _.isEmpty(1); + * // => true + * + * _.isEmpty([1, 2, 3]); + * // => false + * + * _.isEmpty({ 'a': 1 }); + * // => false + */ + function isEmpty(value) { + if (value == null) { + return true; + } + if (isArrayLike(value) && + (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' || + isBuffer(value) || isTypedArray(value) || isArguments(value))) { + return !value.length; + } + var tag = getTag(value); + if (tag == mapTag || tag == setTag) { + return !value.size; + } + if (isPrototype(value)) { + return !baseKeys(value).length; + } + for (var key in value) { + if (hasOwnProperty.call(value, key)) { + return false; + } + } + return true; + } + + /** + * Performs a deep comparison between two values to determine if they are + * equivalent. + * + * **Note:** This method supports comparing arrays, array buffers, booleans, + * date objects, error objects, maps, numbers, `Object` objects, regexes, + * sets, strings, symbols, and typed arrays. `Object` objects are compared + * by their own, not inherited, enumerable properties. Functions and DOM + * nodes are compared by strict equality, i.e. `===`. + * + * @static + * @memberOf _ + * @since 0.1.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 }; + * + * _.isEqual(object, other); + * // => true + * + * object === other; + * // => false + */ + function isEqual(value, other) { + return baseIsEqual(value, other); + } + + /** + * This method is like `_.isEqual` except that it accepts `customizer` which + * is invoked to compare values. If `customizer` returns `undefined`, comparisons + * are handled by the method instead. The `customizer` is invoked with up to + * six arguments: (objValue, othValue [, index|key, object, other, stack]). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @param {Function} [customizer] The function to customize comparisons. + * @returns {boolean} Returns `true` if the values are equivalent, else `false`. + * @example + * + * function isGreeting(value) { + * return /^h(?:i|ello)$/.test(value); + * } + * + * function customizer(objValue, othValue) { + * if (isGreeting(objValue) && isGreeting(othValue)) { + * return true; + * } + * } + * + * var array = ['hello', 'goodbye']; + * var other = ['hi', 'goodbye']; + * + * _.isEqualWith(array, other, customizer); + * // => true + */ + function isEqualWith(value, other, customizer) { + customizer = typeof customizer == 'function' ? customizer : undefined; + var result = customizer ? customizer(value, other) : undefined; + return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result; + } + + /** + * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`, + * `SyntaxError`, `TypeError`, or `URIError` object. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an error object, else `false`. + * @example + * + * _.isError(new Error); + * // => true + * + * _.isError(Error); + * // => false + */ + function isError(value) { + if (!isObjectLike(value)) { + return false; + } + var tag = baseGetTag(value); + return tag == errorTag || tag == domExcTag || + (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value)); + } + + /** + * Checks if `value` is a finite primitive number. + * + * **Note:** This method is based on + * [`Number.isFinite`](https://mdn.io/Number/isFinite). + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a finite number, else `false`. + * @example + * + * _.isFinite(3); + * // => true + * + * _.isFinite(Number.MIN_VALUE); + * // => true + * + * _.isFinite(Infinity); + * // => false + * + * _.isFinite('3'); + * // => false + */ + function isFinite(value) { + return typeof value == 'number' && nativeIsFinite(value); + } + + /** + * 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(value) { + if (!isObject(value)) { + return false; + } + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 9 which returns 'object' for typed arrays and other constructors. + var tag = baseGetTag(value); + return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; + } + + /** + * Checks if `value` is an integer. + * + * **Note:** This method is based on + * [`Number.isInteger`](https://mdn.io/Number/isInteger). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an integer, else `false`. + * @example + * + * _.isInteger(3); + * // => true + * + * _.isInteger(Number.MIN_VALUE); + * // => false + * + * _.isInteger(Infinity); + * // => false + * + * _.isInteger('3'); + * // => false + */ + function isInteger(value) { + return typeof value == 'number' && value == toInteger(value); + } + + /** + * 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(value) { + return typeof value == 'number' && + value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; + } + + /** + * 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(value) { + var type = typeof value; + return value != null && (type == 'object' || type == 'function'); + } + + /** + * 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(value) { + return value != null && typeof value == 'object'; + } + + /** + * Checks if `value` is classified as a `Map` object. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a map, else `false`. + * @example + * + * _.isMap(new Map); + * // => true + * + * _.isMap(new WeakMap); + * // => false + */ + var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap; + + /** + * Performs a partial deep comparison between `object` and `source` to + * determine if `object` contains equivalent property values. + * + * **Note:** This method is equivalent to `_.matches` when `source` is + * partially applied. + * + * Partial comparisons will match empty array and empty object `source` + * values against any array or object value, respectively. See `_.isEqual` + * for a list of supported value comparisons. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Lang + * @param {Object} object The object to inspect. + * @param {Object} source The object of property values to match. + * @returns {boolean} Returns `true` if `object` is a match, else `false`. + * @example + * + * var object = { 'a': 1, 'b': 2 }; + * + * _.isMatch(object, { 'b': 2 }); + * // => true + * + * _.isMatch(object, { 'b': 1 }); + * // => false + */ + function isMatch(object, source) { + return object === source || baseIsMatch(object, source, getMatchData(source)); + } + + /** + * This method is like `_.isMatch` except that it accepts `customizer` which + * is invoked to compare values. If `customizer` returns `undefined`, comparisons + * are handled by the method instead. The `customizer` is invoked with five + * arguments: (objValue, srcValue, index|key, object, source). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {Object} object The object to inspect. + * @param {Object} source The object of property values to match. + * @param {Function} [customizer] The function to customize comparisons. + * @returns {boolean} Returns `true` if `object` is a match, else `false`. + * @example + * + * function isGreeting(value) { + * return /^h(?:i|ello)$/.test(value); + * } + * + * function customizer(objValue, srcValue) { + * if (isGreeting(objValue) && isGreeting(srcValue)) { + * return true; + * } + * } + * + * var object = { 'greeting': 'hello' }; + * var source = { 'greeting': 'hi' }; + * + * _.isMatchWith(object, source, customizer); + * // => true + */ + function isMatchWith(object, source, customizer) { + customizer = typeof customizer == 'function' ? customizer : undefined; + return baseIsMatch(object, source, getMatchData(source), customizer); + } + + /** + * Checks if `value` is `NaN`. + * + * **Note:** This method is based on + * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as + * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for + * `undefined` and other non-number values. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. + * @example + * + * _.isNaN(NaN); + * // => true + * + * _.isNaN(new Number(NaN)); + * // => true + * + * isNaN(undefined); + * // => true + * + * _.isNaN(undefined); + * // => false + */ + function isNaN(value) { + // An `NaN` primitive is the only value that is not equal to itself. + // Perform the `toStringTag` check first to avoid errors with some + // ActiveX objects in IE. + return isNumber(value) && value != +value; + } + + /** + * Checks if `value` is a pristine native function. + * + * **Note:** This method can't reliably detect native functions in the presence + * of the core-js package because core-js circumvents this kind of detection. + * Despite multiple requests, the core-js maintainer has made it clear: any + * attempt to fix the detection will be obstructed. As a result, we're left + * with little choice but to throw an error. Unfortunately, this also affects + * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill), + * which rely on core-js. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a native function, + * else `false`. + * @example + * + * _.isNative(Array.prototype.push); + * // => true + * + * _.isNative(_); + * // => false + */ + function isNative(value) { + if (isMaskable(value)) { + throw new Error(CORE_ERROR_TEXT); + } + return baseIsNative(value); + } + + /** + * Checks if `value` is `null`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is `null`, else `false`. + * @example + * + * _.isNull(null); + * // => true + * + * _.isNull(void 0); + * // => false + */ + function isNull(value) { + return value === null; + } + + /** + * Checks if `value` is `null` or `undefined`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is nullish, else `false`. + * @example + * + * _.isNil(null); + * // => true + * + * _.isNil(void 0); + * // => true + * + * _.isNil(NaN); + * // => false + */ + function isNil(value) { + return value == null; + } + + /** + * Checks if `value` is classified as a `Number` primitive or object. + * + * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are + * classified as numbers, use the `_.isFinite` method. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a number, else `false`. + * @example + * + * _.isNumber(3); + * // => true + * + * _.isNumber(Number.MIN_VALUE); + * // => true + * + * _.isNumber(Infinity); + * // => true + * + * _.isNumber('3'); + * // => false + */ + function isNumber(value) { + return typeof value == 'number' || + (isObjectLike(value) && baseGetTag(value) == numberTag); + } + + /** + * Checks if `value` is a plain object, that is, an object created by the + * `Object` constructor or one with a `[[Prototype]]` of `null`. + * + * @static + * @memberOf _ + * @since 0.8.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. + * @example + * + * function Foo() { + * this.a = 1; + * } + * + * _.isPlainObject(new Foo); + * // => false + * + * _.isPlainObject([1, 2, 3]); + * // => false + * + * _.isPlainObject({ 'x': 0, 'y': 0 }); + * // => true + * + * _.isPlainObject(Object.create(null)); + * // => true + */ + function isPlainObject(value) { + if (!isObjectLike(value) || baseGetTag(value) != objectTag) { + return false; + } + var proto = getPrototype(value); + if (proto === null) { + return true; + } + var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor; + return typeof Ctor == 'function' && Ctor instanceof Ctor && + funcToString.call(Ctor) == objectCtorString; + } + + /** + * Checks if `value` is classified as a `RegExp` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. + * @example + * + * _.isRegExp(/abc/); + * // => true + * + * _.isRegExp('/abc/'); + * // => false + */ + var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp; + + /** + * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754 + * double precision number which isn't the result of a rounded unsafe integer. + * + * **Note:** This method is based on + * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`. + * @example + * + * _.isSafeInteger(3); + * // => true + * + * _.isSafeInteger(Number.MIN_VALUE); + * // => false + * + * _.isSafeInteger(Infinity); + * // => false + * + * _.isSafeInteger('3'); + * // => false + */ + function isSafeInteger(value) { + return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER; + } + + /** + * Checks if `value` is classified as a `Set` object. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a set, else `false`. + * @example + * + * _.isSet(new Set); + * // => true + * + * _.isSet(new WeakSet); + * // => false + */ + var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet; + + /** + * Checks if `value` is classified as a `String` primitive or object. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a string, else `false`. + * @example + * + * _.isString('abc'); + * // => true + * + * _.isString(1); + * // => false + */ + function isString(value) { + return typeof value == 'string' || + (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag); + } + + /** + * 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(value) { + return typeof value == 'symbol' || + (isObjectLike(value) && baseGetTag(value) == symbolTag); + } + + /** + * 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 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; + + /** + * Checks if `value` is `undefined`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. + * @example + * + * _.isUndefined(void 0); + * // => true + * + * _.isUndefined(null); + * // => false + */ + function isUndefined(value) { + return value === undefined; + } + + /** + * Checks if `value` is classified as a `WeakMap` object. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a weak map, else `false`. + * @example + * + * _.isWeakMap(new WeakMap); + * // => true + * + * _.isWeakMap(new Map); + * // => false + */ + function isWeakMap(value) { + return isObjectLike(value) && getTag(value) == weakMapTag; + } + + /** + * Checks if `value` is classified as a `WeakSet` object. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a weak set, else `false`. + * @example + * + * _.isWeakSet(new WeakSet); + * // => true + * + * _.isWeakSet(new Set); + * // => false + */ + function isWeakSet(value) { + return isObjectLike(value) && baseGetTag(value) == weakSetTag; + } + + /** + * Checks if `value` is less than `other`. + * + * @static + * @memberOf _ + * @since 3.9.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is less than `other`, + * else `false`. + * @see _.gt + * @example + * + * _.lt(1, 3); + * // => true + * + * _.lt(3, 3); + * // => false + * + * _.lt(3, 1); + * // => false + */ + var lt = createRelationalOperation(baseLt); + + /** + * Checks if `value` is less than or equal to `other`. + * + * @static + * @memberOf _ + * @since 3.9.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is less than or equal to + * `other`, else `false`. + * @see _.gte + * @example + * + * _.lte(1, 3); + * // => true + * + * _.lte(3, 3); + * // => true + * + * _.lte(3, 1); + * // => false + */ + var lte = createRelationalOperation(function(value, other) { + return value <= other; + }); + + /** + * Converts `value` to an array. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Lang + * @param {*} value The value to convert. + * @returns {Array} Returns the converted array. + * @example + * + * _.toArray({ 'a': 1, 'b': 2 }); + * // => [1, 2] + * + * _.toArray('abc'); + * // => ['a', 'b', 'c'] + * + * _.toArray(1); + * // => [] + * + * _.toArray(null); + * // => [] + */ + function toArray(value) { + if (!value) { + return []; + } + if (isArrayLike(value)) { + return isString(value) ? stringToArray(value) : copyArray(value); + } + if (symIterator && value[symIterator]) { + return iteratorToArray(value[symIterator]()); + } + var tag = getTag(value), + func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values); + + return func(value); + } + + /** + * 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(value) { + if (!value) { + return value === 0 ? value : 0; + } + value = toNumber(value); + if (value === INFINITY || value === -INFINITY) { + var sign = (value < 0 ? -1 : 1); + return sign * MAX_INTEGER; + } + return value === value ? value : 0; + } + + /** + * 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(value) { + var result = toFinite(value), + remainder = result % 1; + + return result === result ? (remainder ? result - remainder : result) : 0; + } + + /** + * Converts `value` to an integer suitable for use as the length of an + * array-like object. + * + * **Note:** This method is 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 convert. + * @returns {number} Returns the converted integer. + * @example + * + * _.toLength(3.2); + * // => 3 + * + * _.toLength(Number.MIN_VALUE); + * // => 0 + * + * _.toLength(Infinity); + * // => 4294967295 + * + * _.toLength('3.2'); + * // => 3 + */ + function toLength(value) { + return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0; + } + + /** + * 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(value) { + if (typeof value == 'number') { + return value; + } + if (isSymbol(value)) { + return NAN; + } + if (isObject(value)) { + var other = typeof value.valueOf == 'function' ? value.valueOf() : value; + value = isObject(other) ? (other + '') : other; + } + if (typeof value != 'string') { + return value === 0 ? value : +value; + } + value = baseTrim(value); + var isBinary = reIsBinary.test(value); + return (isBinary || reIsOctal.test(value)) + ? freeParseInt(value.slice(2), isBinary ? 2 : 8) + : (reIsBadHex.test(value) ? NAN : +value); + } + + /** + * Converts `value` to a plain object flattening inherited enumerable string + * keyed properties of `value` to own properties of the plain object. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Lang + * @param {*} value The value to convert. + * @returns {Object} Returns the converted plain object. + * @example + * + * function Foo() { + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.assign({ 'a': 1 }, new Foo); + * // => { 'a': 1, 'b': 2 } + * + * _.assign({ 'a': 1 }, _.toPlainObject(new Foo)); + * // => { 'a': 1, 'b': 2, 'c': 3 } + */ + function toPlainObject(value) { + return copyObject(value, keysIn(value)); + } + + /** + * Converts `value` to a safe integer. A safe integer can be compared and + * represented correctly. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to convert. + * @returns {number} Returns the converted integer. + * @example + * + * _.toSafeInteger(3.2); + * // => 3 + * + * _.toSafeInteger(Number.MIN_VALUE); + * // => 0 + * + * _.toSafeInteger(Infinity); + * // => 9007199254740991 + * + * _.toSafeInteger('3.2'); + * // => 3 + */ + function toSafeInteger(value) { + return value + ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) + : (value === 0 ? value : 0); + } + + /** + * Converts `value` to a string. An empty string is returned for `null` + * and `undefined` values. The sign of `-0` is preserved. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to convert. + * @returns {string} Returns the converted string. + * @example + * + * _.toString(null); + * // => '' + * + * _.toString(-0); + * // => '-0' + * + * _.toString([1, 2, 3]); + * // => '1,2,3' + */ + function toString(value) { + return value == null ? '' : baseToString(value); + } + + /*------------------------------------------------------------------------*/ + + /** + * Assigns own enumerable string keyed properties of source objects to the + * destination object. Source objects are applied from left to right. + * Subsequent sources overwrite property assignments of previous sources. + * + * **Note:** This method mutates `object` and is loosely based on + * [`Object.assign`](https://mdn.io/Object/assign). + * + * @static + * @memberOf _ + * @since 0.10.0 + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @see _.assignIn + * @example + * + * function Foo() { + * this.a = 1; + * } + * + * function Bar() { + * this.c = 3; + * } + * + * Foo.prototype.b = 2; + * Bar.prototype.d = 4; + * + * _.assign({ 'a': 0 }, new Foo, new Bar); + * // => { 'a': 1, 'c': 3 } + */ + var assign = createAssigner(function(object, source) { + if (isPrototype(source) || isArrayLike(source)) { + copyObject(source, keys(source), object); + return; + } + for (var key in source) { + if (hasOwnProperty.call(source, key)) { + assignValue(object, key, source[key]); + } + } + }); + + /** + * This method is like `_.assign` except that it iterates over own and + * inherited source properties. + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @alias extend + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @see _.assign + * @example + * + * function Foo() { + * this.a = 1; + * } + * + * function Bar() { + * this.c = 3; + * } + * + * Foo.prototype.b = 2; + * Bar.prototype.d = 4; + * + * _.assignIn({ 'a': 0 }, new Foo, new Bar); + * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 } + */ + var assignIn = createAssigner(function(object, source) { + copyObject(source, keysIn(source), object); + }); + + /** + * This method is like `_.assignIn` except that it accepts `customizer` + * which is invoked to produce the assigned values. If `customizer` returns + * `undefined`, assignment is handled by the method instead. The `customizer` + * is invoked with five arguments: (objValue, srcValue, key, object, source). + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @alias extendWith + * @category Object + * @param {Object} object The destination object. + * @param {...Object} sources The source objects. + * @param {Function} [customizer] The function to customize assigned values. + * @returns {Object} Returns `object`. + * @see _.assignWith + * @example + * + * function customizer(objValue, srcValue) { + * return _.isUndefined(objValue) ? srcValue : objValue; + * } + * + * var defaults = _.partialRight(_.assignInWith, customizer); + * + * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ + var assignInWith = createAssigner(function(object, source, srcIndex, customizer) { + copyObject(source, keysIn(source), object, customizer); + }); + + /** + * This method is like `_.assign` except that it accepts `customizer` + * which is invoked to produce the assigned values. If `customizer` returns + * `undefined`, assignment is handled by the method instead. The `customizer` + * is invoked with five arguments: (objValue, srcValue, key, object, source). + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The destination object. + * @param {...Object} sources The source objects. + * @param {Function} [customizer] The function to customize assigned values. + * @returns {Object} Returns `object`. + * @see _.assignInWith + * @example + * + * function customizer(objValue, srcValue) { + * return _.isUndefined(objValue) ? srcValue : objValue; + * } + * + * var defaults = _.partialRight(_.assignWith, customizer); + * + * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ + var assignWith = createAssigner(function(object, source, srcIndex, customizer) { + copyObject(source, keys(source), object, customizer); + }); + + /** + * Creates an array of values corresponding to `paths` of `object`. + * + * @static + * @memberOf _ + * @since 1.0.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {...(string|string[])} [paths] The property paths to pick. + * @returns {Array} Returns the picked values. + * @example + * + * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] }; + * + * _.at(object, ['a[0].b.c', 'a[1]']); + * // => [3, 4] + */ + var at = flatRest(baseAt); + + /** + * Creates an object that inherits from the `prototype` object. If a + * `properties` object is given, its own enumerable string keyed properties + * are assigned to the created object. + * + * @static + * @memberOf _ + * @since 2.3.0 + * @category Object + * @param {Object} prototype The object to inherit from. + * @param {Object} [properties] The properties to assign to the object. + * @returns {Object} Returns the new object. + * @example + * + * function Shape() { + * this.x = 0; + * this.y = 0; + * } + * + * function Circle() { + * Shape.call(this); + * } + * + * Circle.prototype = _.create(Shape.prototype, { + * 'constructor': Circle + * }); + * + * var circle = new Circle; + * circle instanceof Circle; + * // => true + * + * circle instanceof Shape; + * // => true + */ + function create(prototype, properties) { + var result = baseCreate(prototype); + return properties == null ? result : baseAssign(result, properties); + } + + /** + * Assigns own and inherited enumerable string keyed properties of source + * objects to the destination object for all destination properties that + * resolve to `undefined`. Source objects are applied from left to right. + * Once a property is set, additional values of the same property are ignored. + * + * **Note:** This method mutates `object`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @see _.defaultsDeep + * @example + * + * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); + * // => { 'a': 1, 'b': 2 } + */ + var defaults = baseRest(function(object, sources) { + object = Object(object); + + var index = -1; + var length = sources.length; + var guard = length > 2 ? sources[2] : undefined; + + if (guard && isIterateeCall(sources[0], sources[1], guard)) { + length = 1; + } + + while (++index < length) { + var source = sources[index]; + var props = keysIn(source); + var propsIndex = -1; + var propsLength = props.length; + + while (++propsIndex < propsLength) { + var key = props[propsIndex]; + var value = object[key]; + + if (value === undefined || + (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) { + object[key] = source[key]; + } + } + } + + return object; + }); + + /** + * This method is like `_.defaults` except that it recursively assigns + * default properties. + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 3.10.0 + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @see _.defaults + * @example + * + * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } }); + * // => { 'a': { 'b': 2, 'c': 3 } } + */ + var defaultsDeep = baseRest(function(args) { + args.push(undefined, customDefaultsMerge); + return apply(mergeWith, undefined, args); + }); + + /** + * This method is like `_.find` except that it returns the key of the first + * element `predicate` returns truthy for instead of the element itself. + * + * @static + * @memberOf _ + * @since 1.1.0 + * @category Object + * @param {Object} object The object to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {string|undefined} Returns the key of the matched element, + * else `undefined`. + * @example + * + * var users = { + * 'barney': { 'age': 36, 'active': true }, + * 'fred': { 'age': 40, 'active': false }, + * 'pebbles': { 'age': 1, 'active': true } + * }; + * + * _.findKey(users, function(o) { return o.age < 40; }); + * // => 'barney' (iteration order is not guaranteed) + * + * // The `_.matches` iteratee shorthand. + * _.findKey(users, { 'age': 1, 'active': true }); + * // => 'pebbles' + * + * // The `_.matchesProperty` iteratee shorthand. + * _.findKey(users, ['active', false]); + * // => 'fred' + * + * // The `_.property` iteratee shorthand. + * _.findKey(users, 'active'); + * // => 'barney' + */ + function findKey(object, predicate) { + return baseFindKey(object, getIteratee(predicate, 3), baseForOwn); + } + + /** + * This method is like `_.findKey` except that it iterates over elements of + * a collection in the opposite order. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Object + * @param {Object} object The object to inspect. + * @param {Function} [predicate=_.identity] The function invoked per iteration. + * @returns {string|undefined} Returns the key of the matched element, + * else `undefined`. + * @example + * + * var users = { + * 'barney': { 'age': 36, 'active': true }, + * 'fred': { 'age': 40, 'active': false }, + * 'pebbles': { 'age': 1, 'active': true } + * }; + * + * _.findLastKey(users, function(o) { return o.age < 40; }); + * // => returns 'pebbles' assuming `_.findKey` returns 'barney' + * + * // The `_.matches` iteratee shorthand. + * _.findLastKey(users, { 'age': 36, 'active': true }); + * // => 'barney' + * + * // The `_.matchesProperty` iteratee shorthand. + * _.findLastKey(users, ['active', false]); + * // => 'fred' + * + * // The `_.property` iteratee shorthand. + * _.findLastKey(users, 'active'); + * // => 'pebbles' + */ + function findLastKey(object, predicate) { + return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight); + } + + /** + * Iterates over own and inherited enumerable string keyed properties of an + * object and invokes `iteratee` for each property. The iteratee is invoked + * with three arguments: (value, key, object). Iteratee functions may exit + * iteration early by explicitly returning `false`. + * + * @static + * @memberOf _ + * @since 0.3.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Object} Returns `object`. + * @see _.forInRight + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.forIn(new Foo, function(value, key) { + * console.log(key); + * }); + * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed). + */ + function forIn(object, iteratee) { + return object == null + ? object + : baseFor(object, getIteratee(iteratee, 3), keysIn); + } + + /** + * This method is like `_.forIn` except that it iterates over properties of + * `object` in the opposite order. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Object} Returns `object`. + * @see _.forIn + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.forInRight(new Foo, function(value, key) { + * console.log(key); + * }); + * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'. + */ + function forInRight(object, iteratee) { + return object == null + ? object + : baseForRight(object, getIteratee(iteratee, 3), keysIn); + } + + /** + * Iterates over own enumerable string keyed properties of an object and + * invokes `iteratee` for each property. The iteratee is invoked with three + * arguments: (value, key, object). Iteratee functions may exit iteration + * early by explicitly returning `false`. + * + * @static + * @memberOf _ + * @since 0.3.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Object} Returns `object`. + * @see _.forOwnRight + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.forOwn(new Foo, function(value, key) { + * console.log(key); + * }); + * // => Logs 'a' then 'b' (iteration order is not guaranteed). + */ + function forOwn(object, iteratee) { + return object && baseForOwn(object, getIteratee(iteratee, 3)); + } + + /** + * This method is like `_.forOwn` except that it iterates over properties of + * `object` in the opposite order. + * + * @static + * @memberOf _ + * @since 2.0.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Object} Returns `object`. + * @see _.forOwn + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.forOwnRight(new Foo, function(value, key) { + * console.log(key); + * }); + * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'. + */ + function forOwnRight(object, iteratee) { + return object && baseForOwnRight(object, getIteratee(iteratee, 3)); + } + + /** + * Creates an array of function property names from own enumerable properties + * of `object`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to inspect. + * @returns {Array} Returns the function names. + * @see _.functionsIn + * @example + * + * function Foo() { + * this.a = _.constant('a'); + * this.b = _.constant('b'); + * } + * + * Foo.prototype.c = _.constant('c'); + * + * _.functions(new Foo); + * // => ['a', 'b'] + */ + function functions(object) { + return object == null ? [] : baseFunctions(object, keys(object)); + } + + /** + * Creates an array of function property names from own and inherited + * enumerable properties of `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The object to inspect. + * @returns {Array} Returns the function names. + * @see _.functions + * @example + * + * function Foo() { + * this.a = _.constant('a'); + * this.b = _.constant('b'); + * } + * + * Foo.prototype.c = _.constant('c'); + * + * _.functionsIn(new Foo); + * // => ['a', 'b', 'c'] + */ + function functionsIn(object) { + return object == null ? [] : baseFunctions(object, keysIn(object)); + } + + /** + * Gets the value at `path` of `object`. If the resolved value is + * `undefined`, the `defaultValue` is returned in its place. + * + * @static + * @memberOf _ + * @since 3.7.0 + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path of the property to get. + * @param {*} [defaultValue] The value returned for `undefined` resolved values. + * @returns {*} Returns the resolved value. + * @example + * + * var object = { 'a': [{ 'b': { 'c': 3 } }] }; + * + * _.get(object, 'a[0].b.c'); + * // => 3 + * + * _.get(object, ['a', '0', 'b', 'c']); + * // => 3 + * + * _.get(object, 'a.b.c', 'default'); + * // => 'default' + */ + function get(object, path, defaultValue) { + var result = object == null ? undefined : baseGet(object, path); + return result === undefined ? defaultValue : result; + } + + /** + * Checks if `path` is a direct property of `object`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path to check. + * @returns {boolean} Returns `true` if `path` exists, else `false`. + * @example + * + * var object = { 'a': { 'b': 2 } }; + * var other = _.create({ 'a': _.create({ 'b': 2 }) }); + * + * _.has(object, 'a'); + * // => true + * + * _.has(object, 'a.b'); + * // => true + * + * _.has(object, ['a', 'b']); + * // => true + * + * _.has(other, 'a'); + * // => false + */ + function has(object, path) { + return object != null && hasPath(object, path, baseHas); + } + + /** + * Checks if `path` is a direct or inherited property of `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path to check. + * @returns {boolean} Returns `true` if `path` exists, else `false`. + * @example + * + * var object = _.create({ 'a': _.create({ 'b': 2 }) }); + * + * _.hasIn(object, 'a'); + * // => true + * + * _.hasIn(object, 'a.b'); + * // => true + * + * _.hasIn(object, ['a', 'b']); + * // => true + * + * _.hasIn(object, 'b'); + * // => false + */ + function hasIn(object, path) { + return object != null && hasPath(object, path, baseHasIn); + } + + /** + * Creates an object composed of the inverted keys and values of `object`. + * If `object` contains duplicate values, subsequent values overwrite + * property assignments of previous values. + * + * @static + * @memberOf _ + * @since 0.7.0 + * @category Object + * @param {Object} object The object to invert. + * @returns {Object} Returns the new inverted object. + * @example + * + * var object = { 'a': 1, 'b': 2, 'c': 1 }; + * + * _.invert(object); + * // => { '1': 'c', '2': 'b' } + */ + var invert = createInverter(function(result, value, key) { + if (value != null && + typeof value.toString != 'function') { + value = nativeObjectToString.call(value); + } + + result[value] = key; + }, constant(identity)); + + /** + * This method is like `_.invert` except that the inverted object is generated + * from the results of running each element of `object` thru `iteratee`. The + * corresponding inverted value of each inverted key is an array of keys + * responsible for generating the inverted value. The iteratee is invoked + * with one argument: (value). + * + * @static + * @memberOf _ + * @since 4.1.0 + * @category Object + * @param {Object} object The object to invert. + * @param {Function} [iteratee=_.identity] The iteratee invoked per element. + * @returns {Object} Returns the new inverted object. + * @example + * + * var object = { 'a': 1, 'b': 2, 'c': 1 }; + * + * _.invertBy(object); + * // => { '1': ['a', 'c'], '2': ['b'] } + * + * _.invertBy(object, function(value) { + * return 'group' + value; + * }); + * // => { 'group1': ['a', 'c'], 'group2': ['b'] } + */ + var invertBy = createInverter(function(result, value, key) { + if (value != null && + typeof value.toString != 'function') { + value = nativeObjectToString.call(value); + } + + if (hasOwnProperty.call(result, value)) { + result[value].push(key); + } else { + result[value] = [key]; + } + }, getIteratee); + + /** + * Invokes the method at `path` of `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path of the method to invoke. + * @param {...*} [args] The arguments to invoke the method with. + * @returns {*} Returns the result of the invoked method. + * @example + * + * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] }; + * + * _.invoke(object, 'a[0].b.c.slice', 1, 3); + * // => [2, 3] + */ + var invoke = baseRest(baseInvoke); + + /** + * 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(object) { + return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); + } + + /** + * 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(object) { + return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object); + } + + /** + * The opposite of `_.mapValues`; this method creates an object with the + * same values as `object` and keys generated by running each own enumerable + * string keyed property of `object` thru `iteratee`. The iteratee is invoked + * with three arguments: (value, key, object). + * + * @static + * @memberOf _ + * @since 3.8.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Object} Returns the new mapped object. + * @see _.mapValues + * @example + * + * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) { + * return key + value; + * }); + * // => { 'a1': 1, 'b2': 2 } + */ + function mapKeys(object, iteratee) { + var result = {}; + iteratee = getIteratee(iteratee, 3); + + baseForOwn(object, function(value, key, object) { + baseAssignValue(result, iteratee(value, key, object), value); + }); + return result; + } + + /** + * Creates an object with the same keys as `object` and values generated + * by running each own enumerable string keyed property of `object` thru + * `iteratee`. The iteratee is invoked with three arguments: + * (value, key, object). + * + * @static + * @memberOf _ + * @since 2.4.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @returns {Object} Returns the new mapped object. + * @see _.mapKeys + * @example + * + * var users = { + * 'fred': { 'user': 'fred', 'age': 40 }, + * 'pebbles': { 'user': 'pebbles', 'age': 1 } + * }; + * + * _.mapValues(users, function(o) { return o.age; }); + * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed) + * + * // The `_.property` iteratee shorthand. + * _.mapValues(users, 'age'); + * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed) + */ + function mapValues(object, iteratee) { + var result = {}; + iteratee = getIteratee(iteratee, 3); + + baseForOwn(object, function(value, key, object) { + baseAssignValue(result, key, iteratee(value, key, object)); + }); + return result; + } + + /** + * This method is like `_.assign` except that it recursively merges own and + * inherited enumerable string keyed properties of source objects into the + * destination object. Source properties that resolve to `undefined` are + * skipped if a destination value exists. Array and plain object properties + * are merged recursively. Other objects and value types are overridden by + * assignment. Source objects are applied from left to right. Subsequent + * sources overwrite property assignments of previous sources. + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 0.5.0 + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @example + * + * var object = { + * 'a': [{ 'b': 2 }, { 'd': 4 }] + * }; + * + * var other = { + * 'a': [{ 'c': 3 }, { 'e': 5 }] + * }; + * + * _.merge(object, other); + * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] } + */ + var merge = createAssigner(function(object, source, srcIndex) { + baseMerge(object, source, srcIndex); + }); + + /** + * This method is like `_.merge` except that it accepts `customizer` which + * is invoked to produce the merged values of the destination and source + * properties. If `customizer` returns `undefined`, merging is handled by the + * method instead. The `customizer` is invoked with six arguments: + * (objValue, srcValue, key, object, source, stack). + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The destination object. + * @param {...Object} sources The source objects. + * @param {Function} customizer The function to customize assigned values. + * @returns {Object} Returns `object`. + * @example + * + * function customizer(objValue, srcValue) { + * if (_.isArray(objValue)) { + * return objValue.concat(srcValue); + * } + * } + * + * var object = { 'a': [1], 'b': [2] }; + * var other = { 'a': [3], 'b': [4] }; + * + * _.mergeWith(object, other, customizer); + * // => { 'a': [1, 3], 'b': [2, 4] } + */ + var mergeWith = createAssigner(function(object, source, srcIndex, customizer) { + baseMerge(object, source, srcIndex, customizer); + }); + + /** + * The opposite of `_.pick`; this method creates an object composed of the + * own and inherited enumerable property paths of `object` that are not omitted. + * + * **Note:** This method is considerably slower than `_.pick`. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The source object. + * @param {...(string|string[])} [paths] The property paths to omit. + * @returns {Object} Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.omit(object, ['a', 'c']); + * // => { 'b': '2' } + */ + var omit = flatRest(function(object, paths) { + var result = {}; + if (object == null) { + return result; + } + var isDeep = false; + paths = arrayMap(paths, function(path) { + path = castPath(path, object); + isDeep || (isDeep = path.length > 1); + return path; + }); + copyObject(object, getAllKeysIn(object), result); + if (isDeep) { + result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone); + } + var length = paths.length; + while (length--) { + baseUnset(result, paths[length]); + } + return result; + }); + + /** + * The opposite of `_.pickBy`; this method creates an object composed of + * the own and inherited enumerable string keyed properties of `object` that + * `predicate` doesn't return truthy for. The predicate is invoked with two + * arguments: (value, key). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The source object. + * @param {Function} [predicate=_.identity] The function invoked per property. + * @returns {Object} Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.omitBy(object, _.isNumber); + * // => { 'b': '2' } + */ + function omitBy(object, predicate) { + return pickBy(object, negate(getIteratee(predicate))); + } + + /** + * Creates an object composed of the picked `object` properties. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The source object. + * @param {...(string|string[])} [paths] The property paths to pick. + * @returns {Object} Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.pick(object, ['a', 'c']); + * // => { 'a': 1, 'c': 3 } + */ + var pick = flatRest(function(object, paths) { + return object == null ? {} : basePick(object, paths); + }); + + /** + * Creates an object composed of the `object` properties `predicate` returns + * truthy for. The predicate is invoked with two arguments: (value, key). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The source object. + * @param {Function} [predicate=_.identity] The function invoked per property. + * @returns {Object} Returns the new object. + * @example + * + * var object = { 'a': 1, 'b': '2', 'c': 3 }; + * + * _.pickBy(object, _.isNumber); + * // => { 'a': 1, 'c': 3 } + */ + function pickBy(object, predicate) { + if (object == null) { + return {}; + } + var props = arrayMap(getAllKeysIn(object), function(prop) { + return [prop]; + }); + predicate = getIteratee(predicate); + return basePickBy(object, props, function(value, path) { + return predicate(value, path[0]); + }); + } + + /** + * This method is like `_.get` except that if the resolved value is a + * function it's invoked with the `this` binding of its parent object and + * its result is returned. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path of the property to resolve. + * @param {*} [defaultValue] The value returned for `undefined` resolved values. + * @returns {*} Returns the resolved value. + * @example + * + * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] }; + * + * _.result(object, 'a[0].b.c1'); + * // => 3 + * + * _.result(object, 'a[0].b.c2'); + * // => 4 + * + * _.result(object, 'a[0].b.c3', 'default'); + * // => 'default' + * + * _.result(object, 'a[0].b.c3', _.constant('default')); + * // => 'default' + */ + function result(object, path, defaultValue) { + path = castPath(path, object); + + var index = -1, + length = path.length; + + // Ensure the loop is entered when path is empty. + if (!length) { + length = 1; + object = undefined; + } + while (++index < length) { + var value = object == null ? undefined : object[toKey(path[index])]; + if (value === undefined) { + index = length; + value = defaultValue; + } + object = isFunction(value) ? value.call(object) : value; + } + return object; + } + + /** + * Sets the value at `path` of `object`. If a portion of `path` doesn't exist, + * it's created. Arrays are created for missing index properties while objects + * are created for all other missing properties. Use `_.setWith` to customize + * `path` creation. + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 3.7.0 + * @category Object + * @param {Object} object The object to modify. + * @param {Array|string} path The path of the property to set. + * @param {*} value The value to set. + * @returns {Object} Returns `object`. + * @example + * + * var object = { 'a': [{ 'b': { 'c': 3 } }] }; + * + * _.set(object, 'a[0].b.c', 4); + * console.log(object.a[0].b.c); + * // => 4 + * + * _.set(object, ['x', '0', 'y', 'z'], 5); + * console.log(object.x[0].y.z); + * // => 5 + */ + function set(object, path, value) { + return object == null ? object : baseSet(object, path, value); + } + + /** + * This method is like `_.set` except that it accepts `customizer` which is + * invoked to produce the objects of `path`. If `customizer` returns `undefined` + * path creation is handled by the method instead. The `customizer` is invoked + * with three arguments: (nsValue, key, nsObject). + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The object to modify. + * @param {Array|string} path The path of the property to set. + * @param {*} value The value to set. + * @param {Function} [customizer] The function to customize assigned values. + * @returns {Object} Returns `object`. + * @example + * + * var object = {}; + * + * _.setWith(object, '[0][1]', 'a', Object); + * // => { '0': { '1': 'a' } } + */ + function setWith(object, path, value, customizer) { + customizer = typeof customizer == 'function' ? customizer : undefined; + return object == null ? object : baseSet(object, path, value, customizer); + } + + /** + * Creates an array of own enumerable string keyed-value pairs for `object` + * which can be consumed by `_.fromPairs`. If `object` is a map or set, its + * entries are returned. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @alias entries + * @category Object + * @param {Object} object The object to query. + * @returns {Array} Returns the key-value pairs. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.toPairs(new Foo); + * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed) + */ + var toPairs = createToPairs(keys); + + /** + * Creates an array of own and inherited enumerable string keyed-value pairs + * for `object` which can be consumed by `_.fromPairs`. If `object` is a map + * or set, its entries are returned. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @alias entriesIn + * @category Object + * @param {Object} object The object to query. + * @returns {Array} Returns the key-value pairs. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.toPairsIn(new Foo); + * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed) + */ + var toPairsIn = createToPairs(keysIn); + + /** + * An alternative to `_.reduce`; this method transforms `object` to a new + * `accumulator` object which is the result of running each of its own + * enumerable string keyed properties thru `iteratee`, with each invocation + * potentially mutating the `accumulator` object. If `accumulator` is not + * provided, a new object with the same `[[Prototype]]` will be used. The + * iteratee is invoked with four arguments: (accumulator, value, key, object). + * Iteratee functions may exit iteration early by explicitly returning `false`. + * + * @static + * @memberOf _ + * @since 1.3.0 + * @category Object + * @param {Object} object The object to iterate over. + * @param {Function} [iteratee=_.identity] The function invoked per iteration. + * @param {*} [accumulator] The custom accumulator value. + * @returns {*} Returns the accumulated value. + * @example + * + * _.transform([2, 3, 4], function(result, n) { + * result.push(n *= n); + * return n % 2 == 0; + * }, []); + * // => [4, 9] + * + * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) { + * (result[value] || (result[value] = [])).push(key); + * }, {}); + * // => { '1': ['a', 'c'], '2': ['b'] } + */ + function transform(object, iteratee, accumulator) { + var isArr = isArray(object), + isArrLike = isArr || isBuffer(object) || isTypedArray(object); + + iteratee = getIteratee(iteratee, 4); + if (accumulator == null) { + var Ctor = object && object.constructor; + if (isArrLike) { + accumulator = isArr ? new Ctor : []; + } + else if (isObject(object)) { + accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {}; + } + else { + accumulator = {}; + } + } + (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) { + return iteratee(accumulator, value, index, object); + }); + return accumulator; + } + + /** + * Removes the property at `path` of `object`. + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The object to modify. + * @param {Array|string} path The path of the property to unset. + * @returns {boolean} Returns `true` if the property is deleted, else `false`. + * @example + * + * var object = { 'a': [{ 'b': { 'c': 7 } }] }; + * _.unset(object, 'a[0].b.c'); + * // => true + * + * console.log(object); + * // => { 'a': [{ 'b': {} }] }; + * + * _.unset(object, ['a', '0', 'b', 'c']); + * // => true + * + * console.log(object); + * // => { 'a': [{ 'b': {} }] }; + */ + function unset(object, path) { + return object == null ? true : baseUnset(object, path); + } + + /** + * This method is like `_.set` except that accepts `updater` to produce the + * value to set. Use `_.updateWith` to customize `path` creation. The `updater` + * is invoked with one argument: (value). + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.6.0 + * @category Object + * @param {Object} object The object to modify. + * @param {Array|string} path The path of the property to set. + * @param {Function} updater The function to produce the updated value. + * @returns {Object} Returns `object`. + * @example + * + * var object = { 'a': [{ 'b': { 'c': 3 } }] }; + * + * _.update(object, 'a[0].b.c', function(n) { return n * n; }); + * console.log(object.a[0].b.c); + * // => 9 + * + * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; }); + * console.log(object.x[0].y.z); + * // => 0 + */ + function update(object, path, updater) { + return object == null ? object : baseUpdate(object, path, castFunction(updater)); + } + + /** + * This method is like `_.update` except that it accepts `customizer` which is + * invoked to produce the objects of `path`. If `customizer` returns `undefined` + * path creation is handled by the method instead. The `customizer` is invoked + * with three arguments: (nsValue, key, nsObject). + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 4.6.0 + * @category Object + * @param {Object} object The object to modify. + * @param {Array|string} path The path of the property to set. + * @param {Function} updater The function to produce the updated value. + * @param {Function} [customizer] The function to customize assigned values. + * @returns {Object} Returns `object`. + * @example + * + * var object = {}; + * + * _.updateWith(object, '[0][1]', _.constant('a'), Object); + * // => { '0': { '1': 'a' } } + */ + function updateWith(object, path, updater, customizer) { + customizer = typeof customizer == 'function' ? customizer : undefined; + return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer); + } + + /** + * Creates an array of the own enumerable string keyed property values of `object`. + * + * **Note:** Non-object values are coerced to objects. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Object + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property values. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.values(new Foo); + * // => [1, 2] (iteration order is not guaranteed) + * + * _.values('hi'); + * // => ['h', 'i'] + */ + function values(object) { + return object == null ? [] : baseValues(object, keys(object)); + } + + /** + * Creates an array of the own and inherited enumerable string keyed property + * values 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 values. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.valuesIn(new Foo); + * // => [1, 2, 3] (iteration order is not guaranteed) + */ + function valuesIn(object) { + return object == null ? [] : baseValues(object, keysIn(object)); + } + + /*------------------------------------------------------------------------*/ + + /** + * Clamps `number` within the inclusive `lower` and `upper` bounds. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Number + * @param {number} number The number to clamp. + * @param {number} [lower] The lower bound. + * @param {number} upper The upper bound. + * @returns {number} Returns the clamped number. + * @example + * + * _.clamp(-10, -5, 5); + * // => -5 + * + * _.clamp(10, -5, 5); + * // => 5 + */ + function clamp(number, lower, upper) { + if (upper === undefined) { + upper = lower; + lower = undefined; + } + if (upper !== undefined) { + upper = toNumber(upper); + upper = upper === upper ? upper : 0; + } + if (lower !== undefined) { + lower = toNumber(lower); + lower = lower === lower ? lower : 0; + } + return baseClamp(toNumber(number), lower, upper); + } + + /** + * Checks if `n` is between `start` and up to, but not including, `end`. If + * `end` is not specified, it's set to `start` with `start` then set to `0`. + * If `start` is greater than `end` the params are swapped to support + * negative ranges. + * + * @static + * @memberOf _ + * @since 3.3.0 + * @category Number + * @param {number} number The number to check. + * @param {number} [start=0] The start of the range. + * @param {number} end The end of the range. + * @returns {boolean} Returns `true` if `number` is in the range, else `false`. + * @see _.range, _.rangeRight + * @example + * + * _.inRange(3, 2, 4); + * // => true + * + * _.inRange(4, 8); + * // => true + * + * _.inRange(4, 2); + * // => false + * + * _.inRange(2, 2); + * // => false + * + * _.inRange(1.2, 2); + * // => true + * + * _.inRange(5.2, 4); + * // => false + * + * _.inRange(-3, -2, -6); + * // => true + */ + function inRange(number, start, end) { + start = toFinite(start); + if (end === undefined) { + end = start; + start = 0; + } else { + end = toFinite(end); + } + number = toNumber(number); + return baseInRange(number, start, end); + } + + /** + * Produces a random number between the inclusive `lower` and `upper` bounds. + * If only one argument is provided a number between `0` and the given number + * is returned. If `floating` is `true`, or either `lower` or `upper` are + * floats, a floating-point number is returned instead of an integer. + * + * **Note:** JavaScript follows the IEEE-754 standard for resolving + * floating-point values which can produce unexpected results. + * + * @static + * @memberOf _ + * @since 0.7.0 + * @category Number + * @param {number} [lower=0] The lower bound. + * @param {number} [upper=1] The upper bound. + * @param {boolean} [floating] Specify returning a floating-point number. + * @returns {number} Returns the random number. + * @example + * + * _.random(0, 5); + * // => an integer between 0 and 5 + * + * _.random(5); + * // => also an integer between 0 and 5 + * + * _.random(5, true); + * // => a floating-point number between 0 and 5 + * + * _.random(1.2, 5.2); + * // => a floating-point number between 1.2 and 5.2 + */ + function random(lower, upper, floating) { + if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) { + upper = floating = undefined; + } + if (floating === undefined) { + if (typeof upper == 'boolean') { + floating = upper; + upper = undefined; + } + else if (typeof lower == 'boolean') { + floating = lower; + lower = undefined; + } + } + if (lower === undefined && upper === undefined) { + lower = 0; + upper = 1; + } + else { + lower = toFinite(lower); + if (upper === undefined) { + upper = lower; + lower = 0; + } else { + upper = toFinite(upper); + } + } + if (lower > upper) { + var temp = lower; + lower = upper; + upper = temp; + } + if (floating || lower % 1 || upper % 1) { + var rand = nativeRandom(); + return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper); + } + return baseRandom(lower, upper); + } + + /*------------------------------------------------------------------------*/ + + /** + * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to convert. + * @returns {string} Returns the camel cased string. + * @example + * + * _.camelCase('Foo Bar'); + * // => 'fooBar' + * + * _.camelCase('--foo-bar--'); + * // => 'fooBar' + * + * _.camelCase('__FOO_BAR__'); + * // => 'fooBar' + */ + var camelCase = createCompounder(function(result, word, index) { + word = word.toLowerCase(); + return result + (index ? capitalize(word) : word); + }); + + /** + * Converts the first character of `string` to upper case and the remaining + * to lower case. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to capitalize. + * @returns {string} Returns the capitalized string. + * @example + * + * _.capitalize('FRED'); + * // => 'Fred' + */ + function capitalize(string) { + return upperFirst(toString(string).toLowerCase()); + } + + /** + * Deburrs `string` by converting + * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) + * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A) + * letters to basic Latin letters and removing + * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to deburr. + * @returns {string} Returns the deburred string. + * @example + * + * _.deburr('déjà vu'); + * // => 'deja vu' + */ + function deburr(string) { + string = toString(string); + return string && string.replace(reLatin, deburrLetter).replace(reComboMark, ''); + } + + /** + * Checks if `string` ends with the given target string. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to inspect. + * @param {string} [target] The string to search for. + * @param {number} [position=string.length] The position to search up to. + * @returns {boolean} Returns `true` if `string` ends with `target`, + * else `false`. + * @example + * + * _.endsWith('abc', 'c'); + * // => true + * + * _.endsWith('abc', 'b'); + * // => false + * + * _.endsWith('abc', 'b', 2); + * // => true + */ + function endsWith(string, target, position) { + string = toString(string); + target = baseToString(target); + + var length = string.length; + position = position === undefined + ? length + : baseClamp(toInteger(position), 0, length); + + var end = position; + position -= target.length; + return position >= 0 && string.slice(position, end) == target; + } + + /** + * Converts the characters "&", "<", ">", '"', and "'" in `string` to their + * corresponding HTML entities. + * + * **Note:** No other characters are escaped. To escape additional + * characters use a third-party library like [_he_](https://mths.be/he). + * + * Though the ">" character is escaped for symmetry, characters like + * ">" and "/" don't need escaping in HTML and have no special meaning + * unless they're part of a tag or unquoted attribute value. See + * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands) + * (under "semi-related fun fact") for more details. + * + * When working with HTML you should always + * [quote attribute values](http://wonko.com/post/html-escaping) to reduce + * XSS vectors. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category String + * @param {string} [string=''] The string to escape. + * @returns {string} Returns the escaped string. + * @example + * + * _.escape('fred, barney, & pebbles'); + * // => 'fred, barney, & pebbles' + */ + function escape(string) { + string = toString(string); + return (string && reHasUnescapedHtml.test(string)) + ? string.replace(reUnescapedHtml, escapeHtmlChar) + : string; + } + + /** + * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+", + * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to escape. + * @returns {string} Returns the escaped string. + * @example + * + * _.escapeRegExp('[lodash](https://lodash.com/)'); + * // => '\[lodash\]\(https://lodash\.com/\)' + */ + function escapeRegExp(string) { + string = toString(string); + return (string && reHasRegExpChar.test(string)) + ? string.replace(reRegExpChar, '\\$&') + : string; + } + + /** + * Converts `string` to + * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to convert. + * @returns {string} Returns the kebab cased string. + * @example + * + * _.kebabCase('Foo Bar'); + * // => 'foo-bar' + * + * _.kebabCase('fooBar'); + * // => 'foo-bar' + * + * _.kebabCase('__FOO_BAR__'); + * // => 'foo-bar' + */ + var kebabCase = createCompounder(function(result, word, index) { + return result + (index ? '-' : '') + word.toLowerCase(); + }); + + /** + * Converts `string`, as space separated words, to lower case. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category String + * @param {string} [string=''] The string to convert. + * @returns {string} Returns the lower cased string. + * @example + * + * _.lowerCase('--Foo-Bar--'); + * // => 'foo bar' + * + * _.lowerCase('fooBar'); + * // => 'foo bar' + * + * _.lowerCase('__FOO_BAR__'); + * // => 'foo bar' + */ + var lowerCase = createCompounder(function(result, word, index) { + return result + (index ? ' ' : '') + word.toLowerCase(); + }); + + /** + * Converts the first character of `string` to lower case. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category String + * @param {string} [string=''] The string to convert. + * @returns {string} Returns the converted string. + * @example + * + * _.lowerFirst('Fred'); + * // => 'fred' + * + * _.lowerFirst('FRED'); + * // => 'fRED' + */ + var lowerFirst = createCaseFirst('toLowerCase'); + + /** + * Pads `string` on the left and right sides if it's shorter than `length`. + * Padding characters are truncated if they can't be evenly divided by `length`. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to pad. + * @param {number} [length=0] The padding length. + * @param {string} [chars=' '] The string used as padding. + * @returns {string} Returns the padded string. + * @example + * + * _.pad('abc', 8); + * // => ' abc ' + * + * _.pad('abc', 8, '_-'); + * // => '_-abc_-_' + * + * _.pad('abc', 3); + * // => 'abc' + */ + function pad(string, length, chars) { + string = toString(string); + length = toInteger(length); + + var strLength = length ? stringSize(string) : 0; + if (!length || strLength >= length) { + return string; + } + var mid = (length - strLength) / 2; + return ( + createPadding(nativeFloor(mid), chars) + + string + + createPadding(nativeCeil(mid), chars) + ); + } + + /** + * Pads `string` on the right side if it's shorter than `length`. Padding + * characters are truncated if they exceed `length`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category String + * @param {string} [string=''] The string to pad. + * @param {number} [length=0] The padding length. + * @param {string} [chars=' '] The string used as padding. + * @returns {string} Returns the padded string. + * @example + * + * _.padEnd('abc', 6); + * // => 'abc ' + * + * _.padEnd('abc', 6, '_-'); + * // => 'abc_-_' + * + * _.padEnd('abc', 3); + * // => 'abc' + */ + function padEnd(string, length, chars) { + string = toString(string); + length = toInteger(length); + + var strLength = length ? stringSize(string) : 0; + return (length && strLength < length) + ? (string + createPadding(length - strLength, chars)) + : string; + } + + /** + * Pads `string` on the left side if it's shorter than `length`. Padding + * characters are truncated if they exceed `length`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category String + * @param {string} [string=''] The string to pad. + * @param {number} [length=0] The padding length. + * @param {string} [chars=' '] The string used as padding. + * @returns {string} Returns the padded string. + * @example + * + * _.padStart('abc', 6); + * // => ' abc' + * + * _.padStart('abc', 6, '_-'); + * // => '_-_abc' + * + * _.padStart('abc', 3); + * // => 'abc' + */ + function padStart(string, length, chars) { + string = toString(string); + length = toInteger(length); + + var strLength = length ? stringSize(string) : 0; + return (length && strLength < length) + ? (createPadding(length - strLength, chars) + string) + : string; + } + + /** + * Converts `string` to an integer of the specified radix. If `radix` is + * `undefined` or `0`, a `radix` of `10` is used unless `value` is a + * hexadecimal, in which case a `radix` of `16` is used. + * + * **Note:** This method aligns with the + * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`. + * + * @static + * @memberOf _ + * @since 1.1.0 + * @category String + * @param {string} string The string to convert. + * @param {number} [radix=10] The radix to interpret `value` by. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {number} Returns the converted integer. + * @example + * + * _.parseInt('08'); + * // => 8 + * + * _.map(['6', '08', '10'], _.parseInt); + * // => [6, 8, 10] + */ + function parseInt(string, radix, guard) { + if (guard || radix == null) { + radix = 0; + } else if (radix) { + radix = +radix; + } + return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0); + } + + /** + * Repeats the given string `n` times. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to repeat. + * @param {number} [n=1] The number of times to repeat the string. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {string} Returns the repeated string. + * @example + * + * _.repeat('*', 3); + * // => '***' + * + * _.repeat('abc', 2); + * // => 'abcabc' + * + * _.repeat('abc', 0); + * // => '' + */ + function repeat(string, n, guard) { + if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) { + n = 1; + } else { + n = toInteger(n); + } + return baseRepeat(toString(string), n); + } + + /** + * Replaces matches for `pattern` in `string` with `replacement`. + * + * **Note:** This method is based on + * [`String#replace`](https://mdn.io/String/replace). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category String + * @param {string} [string=''] The string to modify. + * @param {RegExp|string} pattern The pattern to replace. + * @param {Function|string} replacement The match replacement. + * @returns {string} Returns the modified string. + * @example + * + * _.replace('Hi Fred', 'Fred', 'Barney'); + * // => 'Hi Barney' + */ + function replace() { + var args = arguments, + string = toString(args[0]); + + return args.length < 3 ? string : string.replace(args[1], args[2]); + } + + /** + * Converts `string` to + * [snake case](https://en.wikipedia.org/wiki/Snake_case). + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to convert. + * @returns {string} Returns the snake cased string. + * @example + * + * _.snakeCase('Foo Bar'); + * // => 'foo_bar' + * + * _.snakeCase('fooBar'); + * // => 'foo_bar' + * + * _.snakeCase('--FOO-BAR--'); + * // => 'foo_bar' + */ + var snakeCase = createCompounder(function(result, word, index) { + return result + (index ? '_' : '') + word.toLowerCase(); + }); + + /** + * Splits `string` by `separator`. + * + * **Note:** This method is based on + * [`String#split`](https://mdn.io/String/split). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category String + * @param {string} [string=''] The string to split. + * @param {RegExp|string} separator The separator pattern to split by. + * @param {number} [limit] The length to truncate results to. + * @returns {Array} Returns the string segments. + * @example + * + * _.split('a-b-c', '-', 2); + * // => ['a', 'b'] + */ + function split(string, separator, limit) { + if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) { + separator = limit = undefined; + } + limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0; + if (!limit) { + return []; + } + string = toString(string); + if (string && ( + typeof separator == 'string' || + (separator != null && !isRegExp(separator)) + )) { + separator = baseToString(separator); + if (!separator && hasUnicode(string)) { + return castSlice(stringToArray(string), 0, limit); + } + } + return string.split(separator, limit); + } + + /** + * Converts `string` to + * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage). + * + * @static + * @memberOf _ + * @since 3.1.0 + * @category String + * @param {string} [string=''] The string to convert. + * @returns {string} Returns the start cased string. + * @example + * + * _.startCase('--foo-bar--'); + * // => 'Foo Bar' + * + * _.startCase('fooBar'); + * // => 'Foo Bar' + * + * _.startCase('__FOO_BAR__'); + * // => 'FOO BAR' + */ + var startCase = createCompounder(function(result, word, index) { + return result + (index ? ' ' : '') + upperFirst(word); + }); + + /** + * Checks if `string` starts with the given target string. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category String + * @param {string} [string=''] The string to inspect. + * @param {string} [target] The string to search for. + * @param {number} [position=0] The position to search from. + * @returns {boolean} Returns `true` if `string` starts with `target`, + * else `false`. + * @example + * + * _.startsWith('abc', 'a'); + * // => true + * + * _.startsWith('abc', 'b'); + * // => false + * + * _.startsWith('abc', 'b', 1); + * // => true + */ + function startsWith(string, target, position) { + string = toString(string); + position = position == null + ? 0 + : baseClamp(toInteger(position), 0, string.length); + + target = baseToString(target); + return string.slice(position, position + target.length) == target; + } + + /** + * Creates a compiled template function that can interpolate data properties + * in "interpolate" delimiters, HTML-escape interpolated data properties in + * "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data + * properties may be accessed as free variables in the template. If a setting + * object is given, it takes precedence over `_.templateSettings` values. + * + * **Note:** In the development build `_.template` utilizes + * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) + * for easier debugging. + * + * For more information on precompiling templates see + * [lodash's custom builds documentation](https://lodash.com/custom-builds). + * + * For more information on Chrome extension sandboxes see + * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval). + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category String + * @param {string} [string=''] The template string. + * @param {Object} [options={}] The options object. + * @param {RegExp} [options.escape=_.templateSettings.escape] + * The HTML "escape" delimiter. + * @param {RegExp} [options.evaluate=_.templateSettings.evaluate] + * The "evaluate" delimiter. + * @param {Object} [options.imports=_.templateSettings.imports] + * An object to import into the template as free variables. + * @param {RegExp} [options.interpolate=_.templateSettings.interpolate] + * The "interpolate" delimiter. + * @param {string} [options.sourceURL='lodash.templateSources[n]'] + * The sourceURL of the compiled template. + * @param {string} [options.variable='obj'] + * The data object variable name. + * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. + * @returns {Function} Returns the compiled template function. + * @example + * + * // Use the "interpolate" delimiter to create a compiled template. + * var compiled = _.template('hello <%= user %>!'); + * compiled({ 'user': 'fred' }); + * // => 'hello fred!' + * + * // Use the HTML "escape" delimiter to escape data property values. + * var compiled = _.template('<%- value %>'); + * compiled({ 'value': ' + diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/dist/md5.min.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/dist/md5.min.js" new file mode 100644 index 00000000..250ab735 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/dist/md5.min.js" @@ -0,0 +1,7 @@ +var MD5=function(r){function n(o){if(t[o])return t[o].exports;var e=t[o]={i:o,l:!1,exports:{}};return r[o].call(e.exports,e,e.exports,n),e.l=!0,e.exports}var t={};return n.m=r,n.c=t,n.i=function(r){return r},n.d=function(r,t,o){n.o(r,t)||Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(t,"a",t),t},n.o=function(r,n){return Object.prototype.hasOwnProperty.call(r,n)},n.p="",n(n.s=4)}([function(r,n){var t={utf8:{stringToBytes:function(r){return t.bin.stringToBytes(unescape(encodeURIComponent(r)))},bytesToString:function(r){return decodeURIComponent(escape(t.bin.bytesToString(r)))}},bin:{stringToBytes:function(r){for(var n=[],t=0;t>>24)|4278255360&(f[h]<<24|f[h]>>>8);f[s>>>5]|=128<>>9<<4)]=s;for(var p=i._ff,y=i._gg,v=i._hh,d=i._ii,h=0;h>>0,a=a+T>>>0,l=l+x>>>0,g=g+B>>>0}return n.endian([c,a,l,g])};i._ff=function(r,n,t,o,e,u,i){var f=r+(n&t|~n&o)+(e>>>0)+i;return(f<>>32-u)+n},i._gg=function(r,n,t,o,e,u,i){var f=r+(n&o|t&~o)+(e>>>0)+i;return(f<>>32-u)+n},i._hh=function(r,n,t,o,e,u,i){var f=r+(n^t^o)+(e>>>0)+i;return(f<>>32-u)+n},i._ii=function(r,n,t,o,e,u,i){var f=r+(t^(n|~o))+(e>>>0)+i;return(f<>>32-u)+n},i._blocksize=16,i._digestsize=16,r.exports=function(r,t){if(void 0===r||null===r)throw new Error("Illegal argument "+r);var o=n.wordsToBytes(i(r,t));return t&&t.asBytes?o:t&&t.asString?u.bytesToString(o):n.bytesToHex(o)}}()},function(r,n){!function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(r,n){return r<>>32-n},rotr:function(r,n){return r<<32-n|r>>>n},endian:function(r){if(r.constructor==Number)return 16711935&t.rotl(r,8)|4278255360&t.rotl(r,24);for(var n=0;n0;r--)n.push(Math.floor(256*Math.random()));return n},bytesToWords:function(r){for(var n=[],t=0,o=0;t>>5]|=r[t]<<24-o%32;return n},wordsToBytes:function(r){for(var n=[],t=0;t<32*r.length;t+=8)n.push(r[t>>>5]>>>24-t%32&255);return n},bytesToHex:function(r){for(var n=[],t=0;t>>4).toString(16)),n.push((15&r[t]).toString(16));return n.join("")},hexToBytes:function(r){for(var n=[],t=0;t>>6*(3-u)&63)):t.push("=");return t.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],o=0,e=0;o>>6-2*e);return t}};r.exports=t}()},function(r,n){function t(r){return!!r.constructor&&"function"==typeof r.constructor.isBuffer&&r.constructor.isBuffer(r)}function o(r){return"function"==typeof r.readFloatLE&&"function"==typeof r.slice&&t(r.slice(0,0))}/*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh + * @license MIT + */ +r.exports=function(r){return null!=r&&(t(r)||o(r)||!!r._isBuffer)}},function(r,n,t){r.exports=t(1)}]); \ No newline at end of file diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/md5.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/md5.js" new file mode 100644 index 00000000..64f0be26 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/md5.js" @@ -0,0 +1,160 @@ +(function(){ + var crypt = require('crypt'), + utf8 = require('charenc').utf8, + isBuffer = require('is-buffer'), + bin = require('charenc').bin, + + // The core + md5 = function (message, options) { + // Convert to byte array + if (message.constructor == String) + if (options && options.encoding === 'binary') + message = bin.stringToBytes(message); + else + message = utf8.stringToBytes(message); + else if (isBuffer(message)) + message = Array.prototype.slice.call(message, 0); + else if (!Array.isArray(message) && message.constructor !== Uint8Array) + message = message.toString(); + // else, assume byte array already + + var m = crypt.bytesToWords(message), + l = message.length * 8, + a = 1732584193, + b = -271733879, + c = -1732584194, + d = 271733878; + + // Swap endian + for (var i = 0; i < m.length; i++) { + m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF | + ((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00; + } + + // Padding + m[l >>> 5] |= 0x80 << (l % 32); + m[(((l + 64) >>> 9) << 4) + 14] = l; + + // Method shortcuts + var FF = md5._ff, + GG = md5._gg, + HH = md5._hh, + II = md5._ii; + + for (var i = 0; i < m.length; i += 16) { + + var aa = a, + bb = b, + cc = c, + dd = d; + + a = FF(a, b, c, d, m[i+ 0], 7, -680876936); + d = FF(d, a, b, c, m[i+ 1], 12, -389564586); + c = FF(c, d, a, b, m[i+ 2], 17, 606105819); + b = FF(b, c, d, a, m[i+ 3], 22, -1044525330); + a = FF(a, b, c, d, m[i+ 4], 7, -176418897); + d = FF(d, a, b, c, m[i+ 5], 12, 1200080426); + c = FF(c, d, a, b, m[i+ 6], 17, -1473231341); + b = FF(b, c, d, a, m[i+ 7], 22, -45705983); + a = FF(a, b, c, d, m[i+ 8], 7, 1770035416); + d = FF(d, a, b, c, m[i+ 9], 12, -1958414417); + c = FF(c, d, a, b, m[i+10], 17, -42063); + b = FF(b, c, d, a, m[i+11], 22, -1990404162); + a = FF(a, b, c, d, m[i+12], 7, 1804603682); + d = FF(d, a, b, c, m[i+13], 12, -40341101); + c = FF(c, d, a, b, m[i+14], 17, -1502002290); + b = FF(b, c, d, a, m[i+15], 22, 1236535329); + + a = GG(a, b, c, d, m[i+ 1], 5, -165796510); + d = GG(d, a, b, c, m[i+ 6], 9, -1069501632); + c = GG(c, d, a, b, m[i+11], 14, 643717713); + b = GG(b, c, d, a, m[i+ 0], 20, -373897302); + a = GG(a, b, c, d, m[i+ 5], 5, -701558691); + d = GG(d, a, b, c, m[i+10], 9, 38016083); + c = GG(c, d, a, b, m[i+15], 14, -660478335); + b = GG(b, c, d, a, m[i+ 4], 20, -405537848); + a = GG(a, b, c, d, m[i+ 9], 5, 568446438); + d = GG(d, a, b, c, m[i+14], 9, -1019803690); + c = GG(c, d, a, b, m[i+ 3], 14, -187363961); + b = GG(b, c, d, a, m[i+ 8], 20, 1163531501); + a = GG(a, b, c, d, m[i+13], 5, -1444681467); + d = GG(d, a, b, c, m[i+ 2], 9, -51403784); + c = GG(c, d, a, b, m[i+ 7], 14, 1735328473); + b = GG(b, c, d, a, m[i+12], 20, -1926607734); + + a = HH(a, b, c, d, m[i+ 5], 4, -378558); + d = HH(d, a, b, c, m[i+ 8], 11, -2022574463); + c = HH(c, d, a, b, m[i+11], 16, 1839030562); + b = HH(b, c, d, a, m[i+14], 23, -35309556); + a = HH(a, b, c, d, m[i+ 1], 4, -1530992060); + d = HH(d, a, b, c, m[i+ 4], 11, 1272893353); + c = HH(c, d, a, b, m[i+ 7], 16, -155497632); + b = HH(b, c, d, a, m[i+10], 23, -1094730640); + a = HH(a, b, c, d, m[i+13], 4, 681279174); + d = HH(d, a, b, c, m[i+ 0], 11, -358537222); + c = HH(c, d, a, b, m[i+ 3], 16, -722521979); + b = HH(b, c, d, a, m[i+ 6], 23, 76029189); + a = HH(a, b, c, d, m[i+ 9], 4, -640364487); + d = HH(d, a, b, c, m[i+12], 11, -421815835); + c = HH(c, d, a, b, m[i+15], 16, 530742520); + b = HH(b, c, d, a, m[i+ 2], 23, -995338651); + + a = II(a, b, c, d, m[i+ 0], 6, -198630844); + d = II(d, a, b, c, m[i+ 7], 10, 1126891415); + c = II(c, d, a, b, m[i+14], 15, -1416354905); + b = II(b, c, d, a, m[i+ 5], 21, -57434055); + a = II(a, b, c, d, m[i+12], 6, 1700485571); + d = II(d, a, b, c, m[i+ 3], 10, -1894986606); + c = II(c, d, a, b, m[i+10], 15, -1051523); + b = II(b, c, d, a, m[i+ 1], 21, -2054922799); + a = II(a, b, c, d, m[i+ 8], 6, 1873313359); + d = II(d, a, b, c, m[i+15], 10, -30611744); + c = II(c, d, a, b, m[i+ 6], 15, -1560198380); + b = II(b, c, d, a, m[i+13], 21, 1309151649); + a = II(a, b, c, d, m[i+ 4], 6, -145523070); + d = II(d, a, b, c, m[i+11], 10, -1120210379); + c = II(c, d, a, b, m[i+ 2], 15, 718787259); + b = II(b, c, d, a, m[i+ 9], 21, -343485551); + + a = (a + aa) >>> 0; + b = (b + bb) >>> 0; + c = (c + cc) >>> 0; + d = (d + dd) >>> 0; + } + + return crypt.endian([a, b, c, d]); + }; + + // Auxiliary functions + md5._ff = function (a, b, c, d, x, s, t) { + var n = a + (b & c | ~b & d) + (x >>> 0) + t; + return ((n << s) | (n >>> (32 - s))) + b; + }; + md5._gg = function (a, b, c, d, x, s, t) { + var n = a + (b & d | c & ~d) + (x >>> 0) + t; + return ((n << s) | (n >>> (32 - s))) + b; + }; + md5._hh = function (a, b, c, d, x, s, t) { + var n = a + (b ^ c ^ d) + (x >>> 0) + t; + return ((n << s) | (n >>> (32 - s))) + b; + }; + md5._ii = function (a, b, c, d, x, s, t) { + var n = a + (c ^ (b | ~d)) + (x >>> 0) + t; + return ((n << s) | (n >>> (32 - s))) + b; + }; + + // Package private blocksize + md5._blocksize = 16; + md5._digestsize = 16; + + module.exports = function (message, options) { + if (message === undefined || message === null) + throw new Error('Illegal argument ' + message); + + var digestbytes = crypt.wordsToBytes(md5(message, options)); + return options && options.asBytes ? digestbytes : + options && options.asString ? bin.bytesToString(digestbytes) : + crypt.bytesToHex(digestbytes); + }; + +})(); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/package.json" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/package.json" new file mode 100644 index 00000000..286f44e9 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/package.json" @@ -0,0 +1,71 @@ +{ + "_from": "md5", + "_id": "md5@2.3.0", + "_inBundle": false, + "_integrity": "sha1-w9qaaq46MLRreww0m4exENw72k8=", + "_location": "/md5", + "_phantomChildren": {}, + "_requested": { + "type": "tag", + "registry": true, + "raw": "md5", + "name": "md5", + "escapedName": "md5", + "rawSpec": "", + "saveSpec": null, + "fetchSpec": "latest" + }, + "_requiredBy": [ + "#USER", + "/" + ], + "_resolved": "https://registry.npm.taobao.org/md5/download/md5-2.3.0.tgz?cache=0&sync_timestamp=1596365225537&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmd5%2Fdownload%2Fmd5-2.3.0.tgz", + "_shasum": "c3da9a6aae3a30b46b7b0c349b87b110dc3bda4f", + "_spec": "md5", + "_where": "C:\\Users\\Administrator\\Documents\\HBuilderProjects\\6.29作业", + "author": { + "name": "Paul Vorbach", + "email": "paul@vorba.ch", + "url": "http://paul.vorba.ch" + }, + "bugs": { + "url": "https://github.com/pvorb/node-md5/issues" + }, + "bundleDependencies": false, + "contributors": [ + { + "name": "salba" + } + ], + "dependencies": { + "charenc": "0.0.2", + "crypt": "0.0.2", + "is-buffer": "~1.1.6" + }, + "deprecated": false, + "description": "js function for hashing messages with MD5", + "devDependencies": { + "mocha": "~2.3.4", + "webpack": "~2.4.1" + }, + "homepage": "https://github.com/pvorb/node-md5#readme", + "license": "BSD-3-Clause", + "main": "md5.js", + "name": "md5", + "optionalDependencies": {}, + "repository": { + "type": "git", + "url": "git://github.com/pvorb/node-md5.git" + }, + "scripts": { + "test": "mocha", + "webpack": "webpack -p" + }, + "tags": [ + "md5", + "hash", + "encryption", + "message digest" + ], + "version": "2.3.0" +} diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/test.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/test.js" new file mode 100644 index 00000000..db78c254 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/test.js" @@ -0,0 +1,75 @@ +var md5 = require('./md5.js'); +var assert = require('assert'); + +describe('md5', function () { + + it('should throw an error for an undefined value', function() { + assert.throws(function() { + md5(undefined); + }); + }); + + it('should allow the hashing of the string `undefined`', function() { + assert.equal('5e543256c480ac577d30f76f9120eb74', md5('undefined')); + }); + + it('should throw an error for `null`', function() { + assert.throws(function() { + md5(null); + }); + }); + + it('should return the expected MD5 hash for "message"', function() { + assert.equal('78e731027d8fd50ed642340b7c9a63b3', md5('message')); + }); + + it('should not return the same hash for random numbers twice', function() { + var msg1 = Math.floor((Math.random() * 100000) + 1) + (new Date).getTime(); + var msg2 = Math.floor((Math.random() * 100000) + 1) + (new Date).getTime(); + + if (msg1 !== msg2) { + assert.notEqual(md5(msg1), md5(msg2)); + } else { + assert.equal(md5(msg1), md5(msg1)); + } + }); + + it('should support Node.js Buffers', function() { + var buffer = new Buffer('message áßäöü', 'utf8'); + + assert.equal(md5(buffer), md5('message áßäöü')); + }) + + it('should be able to use a binary encoded string', function() { + var hash1 = md5('abc', { asString: true }); + var hash2 = md5(hash1 + 'a', { asString: true, encoding : 'binary' }); + var hash3 = md5(hash1 + 'a', { encoding : 'binary' }); + assert.equal(hash3, '131f0ac52813044f5110e4aec638c169'); + }); + + it('should support Uint8Array', function() { + // Polyfills + if (!Array.from) { + Array.from = function(src, fn) { + var result = new Array(src.length); + for (var i = 0; i < src.length; ++i) + result[i] = fn(src[i]); + return result; + }; + } + if (!Uint8Array.from) { + Uint8Array.from = function(src) { + var result = new Uint8Array(src.length); + for (var i = 0; i < src.length; ++i) + result[i] = src[i]; + return result; + }; + } + + var message = 'foobarbaz'; + var u8arr = Uint8Array.from( + Array.from(message, function(c) { return c.charCodeAt(0); })); + var u8aHash = md5(u8arr); + assert.equal(u8aHash, md5(message)); + }); +}); diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/webpack.config.js" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/webpack.config.js" new file mode 100644 index 00000000..310eb375 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/node_modules/md5/webpack.config.js" @@ -0,0 +1,13 @@ +const {resolve} = require('path'); + +module.exports = { + entry: [ + './md5.js' + ], + output: { + path: resolve('./dist'), + filename: 'md5.min.js', + libraryTarget: "var", + library: "MD5" + } +}; \ No newline at end of file diff --git "a/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/package-lock.json" "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/package-lock.json" new file mode 100644 index 00000000..e997bbd0 --- /dev/null +++ "b/\344\275\231\344\277\212\347\207\225/6.29\344\275\234\344\270\232/package-lock.json" @@ -0,0 +1,31 @@ +{ + "requires": true, + "lockfileVersion": 1, + "dependencies": { + "charenc": { + "version": "0.0.2", + "resolved": "https://registry.npm.taobao.org/charenc/download/charenc-0.0.2.tgz", + "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=" + }, + "crypt": { + "version": "0.0.2", + "resolved": "https://registry.npm.taobao.org/crypt/download/crypt-0.0.2.tgz", + "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=" + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npm.taobao.org/is-buffer/download/is-buffer-1.1.6.tgz?cache=0&sync_timestamp=1604432378894&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-buffer%2Fdownload%2Fis-buffer-1.1.6.tgz", + "integrity": "sha1-76ouqdqg16suoTqXsritUf776L4=" + }, + "md5": { + "version": "2.3.0", + "resolved": "https://registry.npm.taobao.org/md5/download/md5-2.3.0.tgz?cache=0&sync_timestamp=1596365225537&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmd5%2Fdownload%2Fmd5-2.3.0.tgz", + "integrity": "sha1-w9qaaq46MLRreww0m4exENw72k8=", + "requires": { + "charenc": "0.0.2", + "crypt": "0.0.2", + "is-buffer": "~1.1.6" + } + } + } +} -- Gitee