@unicom-cloud/utils 0.1.38 → 0.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.virtual/_rolldown/runtime.js +13 -0
- package/.vite/license.md +3 -0
- package/.vite/manifest.json +10047 -0
- package/array/index.d.ts +2 -0
- package/array/index.js +8 -0
- package/assert/index.js +25 -33
- package/case-name/index.js +23 -22
- package/class-name/index.js +10 -9
- package/clipboard-copy/index.js +34 -33
- package/constant/address.js +14488 -5305
- package/constant/chineseCharacters.js +7 -5
- package/constant/constellations.js +19 -17
- package/constant/domain.js +7 -269
- package/constant/identity.js +20 -18
- package/constant/index.js +18 -31
- package/constant/isMobile.js +6 -7
- package/constant/keyboardCode.js +97 -101
- package/constant/licensePlate.js +10 -43
- package/constant/name.js +12 -667
- package/constant/platform.js +26 -20
- package/constant/protocol.js +20 -18
- package/constant/string.js +7 -5
- package/constant/ui.js +23 -19
- package/content-disposition/index.js +44 -54
- package/cookie/api.js +46 -0
- package/cookie/assign.js +12 -0
- package/cookie/converter.js +13 -0
- package/cookie/index.d.ts +1 -116
- package/cookie/index.js +4 -5
- package/date/convertTime.js +66 -59
- package/date/convertToDuration.js +36 -17
- package/date/index.js +10 -12
- package/decimal/decimal.js +792 -1054
- package/decimal/index.js +4 -6
- package/dom-helpers/activeElement.js +13 -12
- package/dom-helpers/addClass.js +8 -10
- package/dom-helpers/addEventListener.js +25 -32
- package/dom-helpers/animate.d.ts +19 -0
- package/dom-helpers/animate.js +38 -48
- package/dom-helpers/animationFrame.js +23 -19
- package/dom-helpers/attribute.js +10 -10
- package/dom-helpers/camelize.js +8 -7
- package/dom-helpers/camelizeStyle.d.ts +2 -0
- package/dom-helpers/camelizeStyle.js +9 -8
- package/dom-helpers/canUseDOM.js +6 -5
- package/dom-helpers/childElements.js +7 -6
- package/dom-helpers/childNodes.js +8 -7
- package/dom-helpers/clear.js +11 -11
- package/dom-helpers/closest.js +14 -13
- package/dom-helpers/collectElements.js +9 -10
- package/dom-helpers/collectSiblings.js +13 -14
- package/dom-helpers/contains.js +8 -8
- package/dom-helpers/css.d.ts +3 -0
- package/dom-helpers/css.js +15 -15
- package/dom-helpers/filterEventHandler.d.ts +2 -0
- package/dom-helpers/filterEventHandler.js +12 -11
- package/dom-helpers/getComputedStyle.js +8 -7
- package/dom-helpers/getElementCoordinates.js +42 -45
- package/dom-helpers/getScrollAccessor.js +14 -14
- package/dom-helpers/hasClass.js +7 -8
- package/dom-helpers/height.js +10 -9
- package/dom-helpers/hyphenate.js +8 -7
- package/dom-helpers/hyphenateStyle.d.ts +7 -0
- package/dom-helpers/hyphenateStyle.js +9 -8
- package/dom-helpers/index.js +96 -141
- package/dom-helpers/insertAfter.js +7 -6
- package/dom-helpers/isDocument.js +7 -6
- package/dom-helpers/isInput.js +8 -7
- package/dom-helpers/isTransform.js +8 -7
- package/dom-helpers/isVisible.js +7 -6
- package/dom-helpers/isWindow.js +8 -7
- package/dom-helpers/listen.d.ts +3 -0
- package/dom-helpers/listen.js +11 -10
- package/dom-helpers/matches.js +12 -11
- package/dom-helpers/nextUntil.js +8 -7
- package/dom-helpers/offset.js +22 -18
- package/dom-helpers/offsetParent.js +12 -13
- package/dom-helpers/ownerDocument.js +7 -6
- package/dom-helpers/ownerWindow.js +8 -7
- package/dom-helpers/parents.js +8 -7
- package/dom-helpers/position.js +31 -28
- package/dom-helpers/prepend.js +7 -6
- package/dom-helpers/querySelectorAll.js +8 -7
- package/dom-helpers/reflow.js +20 -25
- package/dom-helpers/remove.js +7 -6
- package/dom-helpers/removeClass.js +9 -17
- package/dom-helpers/removeEventListener.d.ts +11 -0
- package/dom-helpers/removeEventListener.js +8 -7
- package/dom-helpers/scrollLeft.js +6 -5
- package/dom-helpers/scrollParent.js +15 -15
- package/dom-helpers/scrollTo.js +27 -25
- package/dom-helpers/scrollTop.js +7 -6
- package/dom-helpers/scrollbarSize.js +13 -12
- package/dom-helpers/siblings.js +8 -10
- package/dom-helpers/text.js +9 -8
- package/dom-helpers/toggleClass.js +10 -9
- package/dom-helpers/transitionEnd.js +26 -31
- package/dom-helpers/triggerEvent.js +10 -9
- package/dom-helpers/types.d.ts +6 -0
- package/dom-helpers/types.js +6 -5
- package/dom-helpers/width.js +10 -9
- package/emitter/index.d.ts +75 -0
- package/emitter/index.js +68 -4
- package/emoji/emoji.js +57396 -52076
- package/emoji/emojis.js +6 -1920
- package/emoji/index.js +28 -32
- package/escape/index.js +9 -9
- package/file/fileRead.js +47 -54
- package/file/fileToDataURL.js +8 -8
- package/file/index.js +6 -9
- package/file/saveAs.js +61 -73
- package/filesize/LICENSE +1 -1
- package/filesize/constants.js +101 -0
- package/filesize/filesize.d.ts +89 -0
- package/filesize/filesize.js +50 -0
- package/filesize/helpers.d.ts +58 -0
- package/filesize/helpers.js +70 -0
- package/filesize/index.d.ts +2 -0
- package/filesize/index.js +4 -0
- package/function/index.js +8 -50
- package/idb/async-iterators.js +35 -32
- package/idb/database-extras.js +31 -26
- package/idb/entry.js +16 -36
- package/idb/index-.d.ts +18 -0
- package/idb/index-.js +82 -101
- package/idb/index.js +5 -9
- package/idb/util.js +6 -5
- package/idb/wrap-idb-value.d.ts +34 -0
- package/idb/wrap-idb-value.js +77 -80
- package/index.js +3 -4
- package/invariant/index.js +15 -21
- package/is/index.d.ts +89 -0
- package/is/index.js +142 -223
- package/is/lib/isAscii.d.ts +1 -0
- package/is/lib/isAscii.js +9 -8
- package/is/lib/isBase64.d.ts +4 -0
- package/is/lib/isBase64.js +16 -12
- package/is/lib/isChinese.d.ts +4 -0
- package/is/lib/isChinese.js +17 -17
- package/is/lib/isDataURI.d.ts +1 -0
- package/is/lib/isDataURI.js +18 -24
- package/is/lib/isEmail.js +59 -69
- package/is/lib/isFQDN.js +18 -25
- package/is/lib/isFullWidth.js +9 -9
- package/is/lib/isHSL.js +11 -10
- package/is/lib/isHalfWidth.js +9 -9
- package/is/lib/isHash.js +22 -21
- package/is/lib/isHexColor.js +10 -11
- package/is/lib/isIMEI.js +18 -19
- package/is/lib/isIP.js +16 -20
- package/is/lib/isIPRange.js +23 -24
- package/is/lib/isIdentityCard.js +112 -188
- package/is/lib/isJWT.js +11 -13
- package/is/lib/isMACAddress.js +9 -8
- package/is/lib/isMD5.js +8 -7
- package/is/lib/isMimeType.js +9 -8
- package/is/lib/isMobilePhone.js +180 -190
- package/is/lib/isPort.js +7 -6
- package/is/lib/isRgbColor.js +17 -17
- package/is/lib/isSemVer.js +16 -18
- package/is/lib/isSlug.js +8 -7
- package/is/lib/isStrongPassword.js +45 -43
- package/is/lib/isURL.js +64 -77
- package/is/lib/isUUID.js +22 -22
- package/is/lib/isVariableWidth.js +10 -9
- package/lodash/_DataView.js +8 -0
- package/lodash/_Hash.js +18 -0
- package/lodash/_LazyWrapper.js +12 -0
- package/lodash/_ListCache.js +18 -0
- package/lodash/_LodashWrapper.js +11 -0
- package/lodash/_Map.js +8 -0
- package/lodash/_MapCache.js +18 -0
- package/lodash/_Promise.js +8 -0
- package/lodash/_Set.js +8 -0
- package/lodash/_SetCache.js +13 -0
- package/lodash/_Stack.js +15 -0
- package/lodash/_Symbol.js +7 -0
- package/lodash/_Uint8Array.js +7 -0
- package/lodash/_WeakMap.js +8 -0
- package/lodash/_addMapEntry.js +8 -0
- package/lodash/_addSetEntry.js +8 -0
- package/lodash/_apply.js +14 -0
- package/lodash/_arrayAggregator.js +12 -0
- package/lodash/_arrayEach.js +9 -0
- package/lodash/_arrayEachRight.js +9 -0
- package/lodash/_arrayEvery.js +9 -0
- package/lodash/_arrayFilter.js +12 -0
- package/lodash/_arrayIncludes.js +9 -0
- package/lodash/_arrayIncludesWith.js +9 -0
- package/lodash/_arrayLikeKeys.js +17 -0
- package/lodash/_arrayMap.js +9 -0
- package/lodash/_arrayPush.js +9 -0
- package/lodash/_arrayReduce.js +10 -0
- package/lodash/_arrayReduceRight.js +10 -0
- package/lodash/_arraySample.js +10 -0
- package/lodash/_arraySampleSize.js +11 -0
- package/lodash/_arrayShuffle.js +10 -0
- package/lodash/_arraySome.js +9 -0
- package/lodash/_asciiSize.js +7 -0
- package/lodash/_asciiToArray.js +8 -0
- package/lodash/_asciiWords.js +9 -0
- package/lodash/_assignMergeValue.js +10 -0
- package/lodash/_assignValue.js +12 -0
- package/lodash/_assocIndexOf.js +10 -0
- package/lodash/_baseAggregator.js +11 -0
- package/lodash/_baseAssign.js +10 -0
- package/lodash/_baseAssignIn.js +10 -0
- package/lodash/_baseAssignValue.js +14 -0
- package/lodash/_baseAt.js +10 -0
- package/lodash/_baseClamp.js +8 -0
- package/lodash/_baseClone.js +59 -0
- package/lodash/_baseConforms.js +13 -0
- package/lodash/_baseConformsTo.js +14 -0
- package/lodash/_baseCreate.js +16 -0
- package/lodash/_baseDelay.js +12 -0
- package/lodash/_baseDifference.js +25 -0
- package/lodash/_baseEach.js +8 -0
- package/lodash/_baseEachRight.js +8 -0
- package/lodash/_baseEvery.js +12 -0
- package/lodash/_baseExtremum.js +13 -0
- package/lodash/_baseFill.js +12 -0
- package/lodash/_baseFilter.js +12 -0
- package/lodash/_baseFindIndex.js +9 -0
- package/lodash/_baseFindKey.js +11 -0
- package/lodash/_baseFlatten.js +15 -0
- package/lodash/_baseFor.js +7 -0
- package/lodash/_baseForOwn.js +10 -0
- package/lodash/_baseForOwnRight.js +10 -0
- package/lodash/_baseForRight.js +7 -0
- package/lodash/_baseFunctions.js +12 -0
- package/lodash/_baseGet.js +12 -0
- package/lodash/_baseGetAllKeys.js +11 -0
- package/lodash/_baseGetTag.js +12 -0
- package/lodash/_baseGt.js +8 -0
- package/lodash/_baseHas.js +9 -0
- package/lodash/_baseHasIn.js +8 -0
- package/lodash/_baseInRange.js +9 -0
- package/lodash/_baseIndexOf.js +11 -0
- package/lodash/_baseIndexOfWith.js +9 -0
- package/lodash/_baseIntersection.js +31 -0
- package/lodash/_baseInverter.js +11 -0
- package/lodash/_baseInvoke.js +15 -0
- package/lodash/_baseIsArguments.js +11 -0
- package/lodash/_baseIsArrayBuffer.js +11 -0
- package/lodash/_baseIsDate.js +11 -0
- package/lodash/_baseIsEqual.js +10 -0
- package/lodash/_baseIsEqualDeep.js +32 -0
- package/lodash/_baseIsMap.js +11 -0
- package/lodash/_baseIsMatch.js +28 -0
- package/lodash/_baseIsNaN.js +8 -0
- package/lodash/_baseIsNative.js +13 -0
- package/lodash/_baseIsRegExp.js +11 -0
- package/lodash/_baseIsSet.js +11 -0
- package/lodash/_baseIsTypedArray.js +13 -0
- package/lodash/_baseIteratee.js +13 -0
- package/lodash/_baseKeys.js +14 -0
- package/lodash/_baseKeysIn.js +15 -0
- package/lodash/_baseLodash.js +6 -0
- package/lodash/_baseLt.js +8 -0
- package/lodash/_baseMap.js +13 -0
- package/lodash/_baseMatches.js +14 -0
- package/lodash/_baseMatchesProperty.js +19 -0
- package/lodash/_baseMean.js +11 -0
- package/lodash/_baseMerge.js +21 -0
- package/lodash/_baseMergeDeep.js +33 -0
- package/lodash/_baseNth.js +10 -0
- package/lodash/_baseOrderBy.js +33 -0
- package/lodash/_basePick.js +12 -0
- package/lodash/_basePickBy.js +15 -0
- package/lodash/_baseProperty.js +10 -0
- package/lodash/_basePropertyDeep.js +11 -0
- package/lodash/_basePropertyOf.js +10 -0
- package/lodash/_basePullAll.js +16 -0
- package/lodash/_basePullAt.js +18 -0
- package/lodash/_baseRandom.js +9 -0
- package/lodash/_baseRange.js +10 -0
- package/lodash/_baseReduce.js +10 -0
- package/lodash/_baseRepeat.js +14 -0
- package/lodash/_baseRest.js +11 -0
- package/lodash/_baseSample.js +10 -0
- package/lodash/_baseSampleSize.js +12 -0
- package/lodash/_baseSet.js +24 -0
- package/lodash/_baseSetData.js +10 -0
- package/lodash/_baseSetToString.js +16 -0
- package/lodash/_baseShuffle.js +10 -0
- package/lodash/_baseSlice.js +11 -0
- package/lodash/_baseSome.js +12 -0
- package/lodash/_baseSortBy.js +10 -0
- package/lodash/_baseSortedIndex.js +20 -0
- package/lodash/_baseSortedIndexBy.js +19 -0
- package/lodash/_baseSortedUniq.js +16 -0
- package/lodash/_baseSum.js +12 -0
- package/lodash/_baseTimes.js +9 -0
- package/lodash/_baseToNumber.js +10 -0
- package/lodash/_baseToPairs.js +11 -0
- package/lodash/_baseToString.js +17 -0
- package/lodash/_baseTrim.js +10 -0
- package/lodash/_baseUnary.js +10 -0
- package/lodash/_baseUniq.js +29 -0
- package/lodash/_baseUnset.js +21 -0
- package/lodash/_baseUpdate.js +10 -0
- package/lodash/_baseValues.js +11 -0
- package/lodash/_baseWhile.js +10 -0
- package/lodash/_baseWrapperValue.js +14 -0
- package/lodash/_baseXor.js +14 -0
- package/lodash/_baseZipObject.js +12 -0
- package/lodash/_cacheHas.js +8 -0
- package/lodash/_castArrayLikeObject.js +9 -0
- package/lodash/_castFunction.js +9 -0
- package/lodash/_castPath.js +12 -0
- package/lodash/_castRest.js +7 -0
- package/lodash/_castSlice.js +10 -0
- package/lodash/_charsEndIndex.js +10 -0
- package/lodash/_charsStartIndex.js +10 -0
- package/lodash/_cloneArrayBuffer.js +10 -0
- package/lodash/_cloneBuffer.js +12 -0
- package/lodash/_cloneDataView.js +10 -0
- package/lodash/_cloneMap.js +12 -0
- package/lodash/_cloneRegExp.js +10 -0
- package/lodash/_cloneSet.js +12 -0
- package/lodash/_cloneSymbol.js +10 -0
- package/lodash/_cloneTypedArray.js +10 -0
- package/lodash/_compareAscending.js +14 -0
- package/lodash/_compareMultiple.js +13 -0
- package/lodash/_composeArgs.js +12 -0
- package/lodash/_composeArgsRight.js +12 -0
- package/lodash/_copyArray.js +10 -0
- package/lodash/_copyObject.js +16 -0
- package/lodash/_copySymbols.js +10 -0
- package/lodash/_copySymbolsIn.js +10 -0
- package/lodash/_coreJsData.js +7 -0
- package/lodash/_countHolders.js +9 -0
- package/lodash/_createAggregator.js +15 -0
- package/lodash/_createAssigner.js +17 -0
- package/lodash/_createBaseEach.js +14 -0
- package/lodash/_createBaseFor.js +14 -0
- package/lodash/_createBind.js +15 -0
- package/lodash/_createCaseFirst.js +16 -0
- package/lodash/_createCompounder.js +14 -0
- package/lodash/_createCtor.js +24 -0
- package/lodash/_createCurry.js +21 -0
- package/lodash/_createFind.js +21 -0
- package/lodash/_createFlow.js +33 -0
- package/lodash/_createHybrid.js +29 -0
- package/lodash/_createInverter.js +11 -0
- package/lodash/_createMathOperation.js +18 -0
- package/lodash/_createOver.js +21 -0
- package/lodash/_createPadding.js +19 -0
- package/lodash/_createPartial.js +18 -0
- package/lodash/_createRange.js +13 -0
- package/lodash/_createRecurry.js +26 -0
- package/lodash/_createRelationalOperation.js +11 -0
- package/lodash/_createRound.js +20 -0
- package/lodash/_createSet.js +11 -0
- package/lodash/_createToPairs.js +16 -0
- package/lodash/_createWrap.js +40 -0
- package/lodash/_customDefaultsAssignIn.js +10 -0
- package/lodash/_customDefaultsMerge.js +10 -0
- package/lodash/_customOmitClone.js +9 -0
- package/lodash/_deburrLetter.js +198 -0
- package/lodash/_defineProperty.js +12 -0
- package/lodash/_equalArrays.js +37 -0
- package/lodash/_equalByTag.js +37 -0
- package/lodash/_equalObjects.js +34 -0
- package/lodash/_escapeHtmlChar.js +13 -0
- package/lodash/_escapeStringChar.js +16 -0
- package/lodash/_flatRest.js +11 -0
- package/lodash/_freeGlobal.js +6 -0
- package/lodash/_getAllKeys.js +11 -0
- package/lodash/_getAllKeysIn.js +11 -0
- package/lodash/_getData.js +10 -0
- package/lodash/_getFuncName.js +14 -0
- package/lodash/_getHolder.js +8 -0
- package/lodash/_getMapData.js +10 -0
- package/lodash/_getMatchData.js +18 -0
- package/lodash/_getNative.js +11 -0
- package/lodash/_getPrototype.js +7 -0
- package/lodash/_getRawTag.js +16 -0
- package/lodash/_getSymbols.js +12 -0
- package/lodash/_getSymbolsIn.js +13 -0
- package/lodash/_getTag.js +25 -0
- package/lodash/_getValue.js +8 -0
- package/lodash/_getView.js +29 -0
- package/lodash/_getWrapDetails.js +10 -0
- package/lodash/_hasPath.js +20 -0
- package/lodash/_hasUnicode.js +9 -0
- package/lodash/_hasUnicodeWord.js +9 -0
- package/lodash/_hashClear.js +9 -0
- package/lodash/_hashDelete.js +9 -0
- package/lodash/_hashGet.js +15 -0
- package/lodash/_hashHas.js +11 -0
- package/lodash/_hashSet.js +11 -0
- package/lodash/_initCloneArray.js +10 -0
- package/lodash/_initCloneByTag.js +35 -0
- package/lodash/_initCloneObject.js +11 -0
- package/lodash/_insertWrapDetails.js +12 -0
- package/lodash/_isFlattenable.js +12 -0
- package/lodash/_isIndex.js +10 -0
- package/lodash/_isIterateeCall.js +14 -0
- package/lodash/_isKey.js +13 -0
- package/lodash/_isKeyable.js +9 -0
- package/lodash/_isLaziable.js +16 -0
- package/lodash/_isMaskable.js +9 -0
- package/lodash/_isMasked.js +13 -0
- package/lodash/_isPrototype.js +10 -0
- package/lodash/_isStrictComparable.js +9 -0
- package/lodash/_iteratorToArray.js +9 -0
- package/lodash/_lazyClone.js +11 -0
- package/lodash/_lazyReverse.js +13 -0
- package/lodash/_lazyValue.js +27 -0
- package/lodash/_listCacheClear.js +8 -0
- package/lodash/_listCacheDelete.js +11 -0
- package/lodash/_listCacheGet.js +10 -0
- package/lodash/_listCacheHas.js +9 -0
- package/lodash/_listCacheSet.js +10 -0
- package/lodash/_mapCacheClear.js +15 -0
- package/lodash/_mapCacheDelete.js +10 -0
- package/lodash/_mapCacheGet.js +9 -0
- package/lodash/_mapCacheHas.js +9 -0
- package/lodash/_mapCacheSet.js +10 -0
- package/lodash/_mapToArray.js +11 -0
- package/lodash/_matchesStrictComparable.js +10 -0
- package/lodash/_memoizeCapped.js +13 -0
- package/lodash/_mergeData.js +20 -0
- package/lodash/_metaMap.js +7 -0
- package/lodash/_nativeCreate.js +7 -0
- package/lodash/_nativeKeys.js +7 -0
- package/lodash/_nativeKeysIn.js +10 -0
- package/lodash/_nodeUtil.js +11 -0
- package/lodash/_objectToString.js +9 -0
- package/lodash/_overArg.js +10 -0
- package/lodash/_overRest.js +15 -0
- package/lodash/_parent.js +10 -0
- package/lodash/_reEscape.js +6 -0
- package/lodash/_reEvaluate.js +6 -0
- package/lodash/_reInterpolate.js +6 -0
- package/lodash/_realNames.js +6 -0
- package/lodash/_reorder.js +15 -0
- package/lodash/_replaceHolders.js +13 -0
- package/lodash/_root.js +7 -0
- package/lodash/_safeGet.js +8 -0
- package/lodash/_setCacheAdd.js +9 -0
- package/lodash/_setCacheHas.d.ts +11 -0
- package/lodash/_setCacheHas.js +8 -0
- package/lodash/_setData.js +8 -0
- package/lodash/_setToArray.js +11 -0
- package/lodash/_setToPairs.js +11 -0
- package/lodash/_setToString.js +8 -0
- package/lodash/_setWrapToString.js +13 -0
- package/lodash/_shortOut.js +16 -0
- package/lodash/_shuffleSelf.js +14 -0
- package/lodash/_stackClear.js +9 -0
- package/lodash/_stackDelete.js +9 -0
- package/lodash/_stackGet.js +8 -0
- package/lodash/_stackHas.js +8 -0
- package/lodash/_stackSet.js +18 -0
- package/lodash/_strictIndexOf.js +9 -0
- package/lodash/_strictLastIndexOf.js +9 -0
- package/lodash/_stringSize.js +11 -0
- package/lodash/_stringToArray.js +11 -0
- package/lodash/_stringToPath.js +12 -0
- package/lodash/_toKey.js +12 -0
- package/lodash/_toSource.js +17 -0
- package/lodash/_trimmedEndIndex.js +10 -0
- package/lodash/_unescapeHtmlChar.js +13 -0
- package/lodash/_unicodeSize.js +20 -0
- package/lodash/_unicodeToArray.js +19 -0
- package/lodash/_unicodeWords.js +34 -0
- package/lodash/_updateWrapDetails.js +24 -0
- package/lodash/_wrapperClone.js +13 -0
- package/lodash/add.js +9 -0
- package/lodash/after.js +13 -0
- package/lodash/array.default.js +136 -0
- package/lodash/array.js +68 -0
- package/lodash/ary.js +10 -0
- package/lodash/assign.js +18 -0
- package/lodash/assignIn.js +11 -0
- package/lodash/assignInWith.js +11 -0
- package/lodash/assignWith.js +11 -0
- package/lodash/at.js +8 -0
- package/lodash/attempt.js +15 -0
- package/lodash/before.js +14 -0
- package/lodash/bind.js +18 -0
- package/lodash/bindAll.js +15 -0
- package/lodash/bindKey.js +18 -0
- package/lodash/camelCase.js +10 -0
- package/lodash/capitalize.js +10 -0
- package/lodash/castArray.js +11 -0
- package/lodash/ceil.js +7 -0
- package/lodash/chain.js +10 -0
- package/lodash/chunk.js +16 -0
- package/lodash/clamp.js +10 -0
- package/lodash/clone.js +10 -0
- package/lodash/cloneDeep.js +10 -0
- package/lodash/cloneDeepWith.js +10 -0
- package/lodash/cloneWith.js +10 -0
- package/lodash/collection.default.js +63 -0
- package/lodash/collection.js +32 -0
- package/lodash/commit.js +9 -0
- package/lodash/compact.d.ts +17 -0
- package/lodash/compact.js +12 -0
- package/lodash/concat.js +15 -0
- package/lodash/cond.js +22 -0
- package/lodash/conforms.js +11 -0
- package/lodash/conformsTo.js +10 -0
- package/lodash/constant.js +10 -0
- package/lodash/countBy.js +10 -0
- package/lodash/create.js +11 -0
- package/lodash/curry.js +13 -0
- package/lodash/curryRight.js +13 -0
- package/lodash/date.default.js +7 -0
- package/lodash/date.js +5 -0
- package/lodash/debounce.js +52 -0
- package/lodash/deburr.js +11 -0
- package/lodash/defaultTo.js +8 -0
- package/lodash/defaults.js +18 -0
- package/lodash/defaultsDeep.js +12 -0
- package/lodash/defer.js +10 -0
- package/lodash/delay.js +11 -0
- package/lodash/difference.js +12 -0
- package/lodash/differenceBy.js +15 -0
- package/lodash/differenceWith.js +14 -0
- package/lodash/divide.js +9 -0
- package/lodash/drop.js +11 -0
- package/lodash/dropRight.js +11 -0
- package/lodash/dropRightWhile.js +10 -0
- package/lodash/dropWhile.js +10 -0
- package/lodash/each.js +4 -0
- package/lodash/eachRight.js +4 -0
- package/lodash/endsWith.js +16 -0
- package/lodash/entries.js +4 -0
- package/lodash/entriesIn.js +4 -0
- package/lodash/eq.js +8 -0
- package/lodash/escape.js +11 -0
- package/lodash/escapeRegExp.js +10 -0
- package/lodash/every.js +14 -0
- package/lodash/extend.js +4 -0
- package/lodash/extendWith.js +4 -0
- package/lodash/fill.js +11 -0
- package/lodash/filter.js +12 -0
- package/lodash/find.js +8 -0
- package/lodash/findIndex.js +15 -0
- package/lodash/findKey.js +11 -0
- package/lodash/findLast.js +8 -0
- package/lodash/findLastIndex.js +15 -0
- package/lodash/findLastKey.js +11 -0
- package/lodash/first.js +4 -0
- package/lodash/flatMap.js +10 -0
- package/lodash/flatMapDeep.js +11 -0
- package/lodash/flatMapDepth.js +11 -0
- package/lodash/flatten.js +9 -0
- package/lodash/flattenDeep.js +10 -0
- package/lodash/flattenDepth.js +10 -0
- package/lodash/flip.js +10 -0
- package/lodash/floor.js +7 -0
- package/lodash/flow.js +7 -0
- package/lodash/flowRight.js +7 -0
- package/lodash/forEach.js +12 -0
- package/lodash/forEachRight.js +12 -0
- package/lodash/forIn.js +11 -0
- package/lodash/forInRight.js +11 -0
- package/lodash/forOwn.js +10 -0
- package/lodash/forOwnRight.js +10 -0
- package/lodash/fromPairs.js +13 -0
- package/lodash/function.default.js +53 -0
- package/lodash/function.js +27 -0
- package/lodash/functions.js +10 -0
- package/lodash/functionsIn.js +10 -0
- package/lodash/get.js +10 -0
- package/lodash/groupBy.js +10 -0
- package/lodash/gt.js +8 -0
- package/lodash/gte.js +9 -0
- package/lodash/has.js +10 -0
- package/lodash/hasIn.js +10 -0
- package/lodash/head.js +8 -0
- package/lodash/identity.js +8 -0
- package/lodash/inRange.js +11 -0
- package/lodash/includes.js +16 -0
- package/lodash/index.js +312 -0
- package/lodash/indexOf.js +14 -0
- package/lodash/initial.js +9 -0
- package/lodash/intersection.js +13 -0
- package/lodash/intersectionBy.js +15 -0
- package/lodash/intersectionWith.js +14 -0
- package/lodash/invert.js +11 -0
- package/lodash/invertBy.js +10 -0
- package/lodash/invoke.js +8 -0
- package/lodash/invokeMap.js +16 -0
- package/lodash/isArguments.js +12 -0
- package/lodash/isArray.js +6 -0
- package/lodash/isArrayBuffer.js +9 -0
- package/lodash/isArrayLike.js +10 -0
- package/lodash/isArrayLikeObject.js +10 -0
- package/lodash/isBoolean.js +11 -0
- package/lodash/isBuffer.js +8 -0
- package/lodash/isDate.js +9 -0
- package/lodash/isElement.js +10 -0
- package/lodash/isEmpty.js +23 -0
- package/lodash/isEqual.js +9 -0
- package/lodash/isEqualWith.js +11 -0
- package/lodash/isError.js +14 -0
- package/lodash/isFinite.js +10 -0
- package/lodash/isFunction.js +13 -0
- package/lodash/isInteger.js +9 -0
- package/lodash/isLength.js +9 -0
- package/lodash/isMap.js +9 -0
- package/lodash/isMatch.js +10 -0
- package/lodash/isMatchWith.js +10 -0
- package/lodash/isNaN.js +9 -0
- package/lodash/isNative.js +12 -0
- package/lodash/isNil.js +8 -0
- package/lodash/isNull.js +8 -0
- package/lodash/isNumber.js +11 -0
- package/lodash/isObject.js +9 -0
- package/lodash/isObjectLike.js +8 -0
- package/lodash/isPlainObject.js +16 -0
- package/lodash/isPromise.d.ts +2 -0
- package/lodash/isPromise.js +11 -0
- package/lodash/isRegExp.js +9 -0
- package/lodash/isSafeInteger.js +10 -0
- package/lodash/isSet.js +9 -0
- package/lodash/isString.js +12 -0
- package/lodash/isSymbol.js +11 -0
- package/lodash/isTypedArray.js +9 -0
- package/lodash/isUndefined.js +8 -0
- package/lodash/isWeakMap.js +11 -0
- package/lodash/isWeakSet.js +11 -0
- package/lodash/iteratee.js +11 -0
- package/lodash/join.js +9 -0
- package/lodash/kebabCase.js +9 -0
- package/lodash/keyBy.js +10 -0
- package/lodash/keys.js +11 -0
- package/lodash/keysIn.js +11 -0
- package/lodash/lang.default.js +119 -0
- package/lodash/lang.js +60 -0
- package/lodash/last.js +9 -0
- package/lodash/lastIndexOf.js +16 -0
- package/lodash/lodash.d.ts +317 -0
- package/lodash/lodash.default.js +182 -0
- package/lodash/lodash.js +319 -0
- package/lodash/lowerCase.js +9 -0
- package/lodash/lowerFirst.js +7 -0
- package/lodash/lt.js +8 -0
- package/lodash/lte.js +9 -0
- package/lodash/map.js +12 -0
- package/lodash/mapKeys.js +14 -0
- package/lodash/mapValues.js +14 -0
- package/lodash/matches.js +11 -0
- package/lodash/matchesProperty.js +11 -0
- package/lodash/math.default.js +37 -0
- package/lodash/math.js +19 -0
- package/lodash/max.js +11 -0
- package/lodash/maxBy.js +11 -0
- package/lodash/mean.js +10 -0
- package/lodash/meanBy.js +10 -0
- package/lodash/memoize.js +18 -0
- package/lodash/merge.js +10 -0
- package/lodash/mergeWith.js +10 -0
- package/lodash/method.js +12 -0
- package/lodash/methodOf.js +12 -0
- package/lodash/min.js +11 -0
- package/lodash/minBy.js +11 -0
- package/lodash/mixin.js +30 -0
- package/lodash/multiply.js +9 -0
- package/lodash/negate.js +19 -0
- package/lodash/next.js +14 -0
- package/lodash/noop.js +6 -0
- package/lodash/now.js +9 -0
- package/lodash/nth.js +10 -0
- package/lodash/nthArg.js +13 -0
- package/lodash/number.default.js +13 -0
- package/lodash/number.js +7 -0
- package/lodash/object.default.js +101 -0
- package/lodash/object.js +51 -0
- package/lodash/omit.js +23 -0
- package/lodash/omitBy.js +11 -0
- package/lodash/once.js +9 -0
- package/lodash/orderBy.js +10 -0
- package/lodash/over.js +8 -0
- package/lodash/overArgs.js +21 -0
- package/lodash/overEvery.js +8 -0
- package/lodash/overSome.js +8 -0
- package/lodash/pad.js +17 -0
- package/lodash/padEnd.js +14 -0
- package/lodash/padStart.js +14 -0
- package/lodash/parseInt.js +11 -0
- package/lodash/partial.js +13 -0
- package/lodash/partialRight.js +13 -0
- package/lodash/partition.js +11 -0
- package/lodash/pick.js +10 -0
- package/lodash/pickBy.js +18 -0
- package/lodash/plant.js +16 -0
- package/lodash/property.js +12 -0
- package/lodash/propertyOf.js +11 -0
- package/lodash/pull.js +8 -0
- package/lodash/pullAll.js +9 -0
- package/lodash/pullAllBy.js +10 -0
- package/lodash/pullAllWith.js +9 -0
- package/lodash/pullAt.js +17 -0
- package/lodash/random.d.ts +42 -0
- package/lodash/random.js +20 -0
- package/lodash/range.js +7 -0
- package/lodash/rangeRight.js +7 -0
- package/lodash/rearg.js +10 -0
- package/lodash/reduce.js +14 -0
- package/lodash/reduceRight.js +14 -0
- package/lodash/reject.js +13 -0
- package/lodash/remove.js +17 -0
- package/lodash/repeat.js +12 -0
- package/lodash/replace.js +10 -0
- package/lodash/rest.js +12 -0
- package/lodash/result.js +17 -0
- package/lodash/reverse.js +9 -0
- package/lodash/round.js +7 -0
- package/lodash/sample.js +11 -0
- package/lodash/sampleSize.js +13 -0
- package/lodash/seq.default.js +35 -0
- package/lodash/seq.js +18 -0
- package/lodash/set.js +9 -0
- package/lodash/setWith.js +9 -0
- package/lodash/shuffle.js +11 -0
- package/lodash/size.js +17 -0
- package/lodash/slice.js +12 -0
- package/lodash/snakeCase.js +9 -0
- package/lodash/some.js +14 -0
- package/lodash/sortBy.js +14 -0
- package/lodash/sortedIndex.js +9 -0
- package/lodash/sortedIndexBy.js +10 -0
- package/lodash/sortedIndexOf.js +15 -0
- package/lodash/sortedLastIndex.js +9 -0
- package/lodash/sortedLastIndexBy.js +10 -0
- package/lodash/sortedLastIndexOf.js +14 -0
- package/lodash/sortedUniq.js +9 -0
- package/lodash/sortedUniqBy.js +10 -0
- package/lodash/split.js +16 -0
- package/lodash/spread.js +18 -0
- package/lodash/startCase.js +10 -0
- package/lodash/startsWith.js +12 -0
- package/lodash/string.default.js +69 -0
- package/lodash/string.js +35 -0
- package/lodash/stubArray.js +8 -0
- package/lodash/stubFalse.js +8 -0
- package/lodash/stubObject.js +8 -0
- package/lodash/stubString.js +8 -0
- package/lodash/stubTrue.js +8 -0
- package/lodash/subtract.js +9 -0
- package/lodash/sum.js +10 -0
- package/lodash/sumBy.js +10 -0
- package/lodash/tail.js +10 -0
- package/lodash/take.js +10 -0
- package/lodash/takeRight.js +11 -0
- package/lodash/takeRightWhile.js +10 -0
- package/lodash/takeWhile.js +10 -0
- package/lodash/tap.js +8 -0
- package/lodash/template.d.ts +117 -0
- package/lodash/template.js +39 -0
- package/lodash/templateSettings.d.ts +15 -0
- package/lodash/templateSettings.js +16 -0
- package/lodash/throttle.js +17 -0
- package/lodash/thru.js +8 -0
- package/lodash/times.js +16 -0
- package/lodash/toArray.js +23 -0
- package/lodash/toFinite.js +10 -0
- package/lodash/toInteger.js +10 -0
- package/lodash/toIterator.js +8 -0
- package/lodash/toJSON.js +4 -0
- package/lodash/toLength.js +11 -0
- package/lodash/toLower.js +9 -0
- package/lodash/toNumber.js +21 -0
- package/lodash/toPairs.js +8 -0
- package/lodash/toPairsIn.js +8 -0
- package/lodash/toPath.js +15 -0
- package/lodash/toPlainObject.js +10 -0
- package/lodash/toSafeInteger.js +11 -0
- package/lodash/toString.js +9 -0
- package/lodash/toUpper.js +9 -0
- package/lodash/transform.js +25 -0
- package/lodash/trim.js +18 -0
- package/lodash/trimEnd.js +17 -0
- package/lodash/trimStart.js +17 -0
- package/lodash/truncate.js +44 -0
- package/lodash/unary.js +9 -0
- package/lodash/unescape.js +11 -0
- package/lodash/union.js +12 -0
- package/lodash/unionBy.js +15 -0
- package/lodash/unionWith.js +14 -0
- package/lodash/uniq.js +9 -0
- package/lodash/uniqBy.js +10 -0
- package/lodash/uniqWith.js +9 -0
- package/lodash/uniqueId.js +11 -0
- package/lodash/unset.js +9 -0
- package/lodash/unzip.js +20 -0
- package/lodash/unzipWith.js +15 -0
- package/lodash/update.js +10 -0
- package/lodash/updateWith.js +10 -0
- package/lodash/upperCase.js +9 -0
- package/lodash/upperFirst.js +7 -0
- package/lodash/util.default.js +71 -0
- package/lodash/util.js +36 -0
- package/lodash/value.js +4 -0
- package/lodash/valueOf.js +4 -0
- package/lodash/values.js +10 -0
- package/lodash/valuesIn.js +10 -0
- package/lodash/without.js +11 -0
- package/lodash/words.js +12 -0
- package/lodash/wrap.js +10 -0
- package/lodash/wrapperAt.js +23 -0
- package/lodash/wrapperChain.js +9 -0
- package/lodash/wrapperLodash.js +20 -0
- package/lodash/wrapperReverse.js +21 -0
- package/lodash/wrapperValue.js +9 -0
- package/lodash/xor.js +12 -0
- package/lodash/xorBy.js +15 -0
- package/lodash/xorWith.js +14 -0
- package/lodash/zip.js +8 -0
- package/lodash/zipObject.js +10 -0
- package/lodash/zipObjectDeep.js +10 -0
- package/lodash/zipWith.js +11 -0
- package/math/index.js +20 -22
- package/md5/index.js +60 -66
- package/mock/MockWebSocket.js +80 -93
- package/mock/MockXMLHttpRequest.js +83 -82
- package/mock/index.js +5 -9
- package/normalize-wheel/ExecutionEnvironment.js +12 -12
- package/normalize-wheel/UserAgent_DEPRECATED.js +71 -145
- package/normalize-wheel/index.js +18 -12
- package/normalize-wheel/isEventSupported.js +14 -15
- package/number-to-chinese/index.js +105 -71
- package/nzh/cn.js +9 -8
- package/nzh/hk.js +9 -8
- package/nzh/index.js +4 -5
- package/nzh/nzh.d.ts +36 -74
- package/nzh/nzh.js +25 -21
- package/nzh/src/autoGet.js +28 -25
- package/nzh/src/index.js +80 -91
- package/nzh/src/langs/cn_b.js +13 -12
- package/nzh/src/langs/cn_s.js +10 -9
- package/nzh/src/langs/hk_b.js +13 -12
- package/nzh/src/langs/hk_s.js +10 -9
- package/nzh/src/utils.js +60 -72
- package/object/index.d.ts +7 -0
- package/object/index.js +14 -15
- package/package.json +1 -1
- package/pinyin/core.js +136 -0
- package/pinyin/index.d.ts +1 -6
- package/pinyin/index.js +4 -5
- package/pinyin/simplified.js +8 -5
- package/pinyin/simplified_dict.js +411 -0
- package/pinyin/traditional.js +8 -5
- package/pinyin/traditional_dict.js +404 -0
- package/query-string/base.d.ts +11 -807
- package/query-string/base.js +254 -277
- package/query-string/index.d.ts +0 -14
- package/query-string/index.js +7 -5
- package/query-string/splitOnFirst.js +11 -14
- package/random/address.js +28 -32
- package/random/constellation.js +9 -8
- package/random/image.js +11 -20
- package/random/index.d.ts +31 -0
- package/random/index.js +97 -82
- package/random/licensePlate.js +10 -11
- package/random/name.js +26 -25
- package/random/number.js +16 -15
- package/random/text.js +98 -117
- package/random/time.js +8 -8
- package/random/web.js +42 -37
- package/sanitize-url/index.js +18 -20
- package/screenfull/index.js +46 -49
- package/sleep/index.js +7 -6
- package/snapdom/api/preCache.d.ts +30 -0
- package/snapdom/api/preCache.js +73 -0
- package/snapdom/api/snapdom.js +233 -0
- package/snapdom/core/cache.d.ts +39 -0
- package/snapdom/core/cache.js +59 -0
- package/snapdom/core/capture.js +171 -0
- package/snapdom/core/clone.js +266 -0
- package/snapdom/core/context.d.ts +60 -0
- package/snapdom/core/context.js +41 -0
- package/snapdom/core/plugins.js +62 -0
- package/snapdom/core/prepare.js +97 -0
- package/snapdom/exporters/download.js +53 -0
- package/snapdom/exporters/toBlob.js +15 -0
- package/snapdom/exporters/toCanvas.js +88 -0
- package/snapdom/exporters/toImg.js +36 -0
- package/snapdom/index.browser.js +7 -0
- package/snapdom/index.js +5 -7
- package/snapdom/modules/CSSVar.js +82 -0
- package/snapdom/modules/background.js +85 -0
- package/snapdom/modules/changeCSS.js +53 -0
- package/snapdom/modules/counter.js +161 -0
- package/snapdom/modules/fonts.d.ts +85 -0
- package/snapdom/modules/fonts.js +594 -0
- package/snapdom/modules/iconFonts.js +139 -0
- package/snapdom/modules/images.js +89 -0
- package/snapdom/modules/lineClamp.d.ts +18 -0
- package/snapdom/modules/lineClamp.js +46 -0
- package/snapdom/modules/pseudo.js +301 -0
- package/snapdom/modules/rasterize.js +10 -0
- package/snapdom/modules/snapFetch.js +253 -0
- package/snapdom/modules/styles.js +198 -0
- package/snapdom/modules/svgDefs.js +98 -0
- package/snapdom/utils/browser.d.ts +11 -0
- package/snapdom/utils/browser.js +25 -0
- package/snapdom/utils/capture.helpers.d.ts +49 -0
- package/snapdom/utils/capture.helpers.js +156 -0
- package/snapdom/utils/clone.helpers.d.ts +127 -0
- package/snapdom/utils/clone.helpers.js +315 -0
- package/snapdom/utils/css.js +183 -0
- package/snapdom/utils/debug.d.ts +12 -0
- package/snapdom/utils/debug.js +9 -0
- package/snapdom/utils/helpers.d.ts +23 -0
- package/snapdom/utils/helpers.js +39 -0
- package/snapdom/utils/image.js +27 -0
- package/snapdom/utils/index.d.ts +5 -0
- package/snapdom/utils/index.js +7 -0
- package/snapdom/utils/prepare.helpers.d.ts +18 -0
- package/snapdom/utils/prepare.helpers.js +35 -0
- package/snapdom/utils/transforms.helpers.js +257 -0
- package/string/chars.js +333 -659
- package/string/index.d.ts +11 -0
- package/string/index.js +11 -14
- package/tinycolor/conversion.d.ts +79 -0
- package/tinycolor/conversion.js +168 -0
- package/tinycolor/css-color-names.js +155 -0
- package/tinycolor/format-input.d.ts +38 -0
- package/tinycolor/format-input.js +108 -0
- package/tinycolor/from-ratio.js +23 -0
- package/tinycolor/index.d.ts +216 -0
- package/tinycolor/index.js +271 -46
- package/tinycolor/interfaces.js +2 -0
- package/tinycolor/public_api.js +12 -0
- package/tinycolor/random.js +217 -0
- package/tinycolor/readability.d.ts +47 -0
- package/tinycolor/readability.js +38 -0
- package/tinycolor/to-ms-filter.d.ts +5 -0
- package/tinycolor/to-ms-filter.js +15 -0
- package/tinycolor/umd_api.js +25 -0
- package/tinycolor/utils.js +28 -0
- package/tree/index.d.ts +8 -0
- package/tree/index.js +58 -67
- package/tree/searchTree.js +86 -0
- package/tween/easing.js +68 -0
- package/tween/index.d.ts +4 -0
- package/tween/index.js +8 -8
- package/tween/tween.js +32 -0
- package/ui-color/compareColorByRange.d.ts +2 -0
- package/ui-color/compareColorByRange.js +10 -9
- package/ui-color/index.d.ts +158 -0
- package/ui-color/index.js +203 -158
- package/url-toolkit/index.js +61 -8
- package/validate/index.js +79 -25
- package/validate/interface.js +2 -0
- package/validate/locale/en-US.js +61 -0
- package/validate/locale/index.js +12 -0
- package/validate/locale/zh-CN.js +61 -0
- package/validate/rules/array.d.ts +12 -0
- package/validate/rules/array.js +51 -0
- package/validate/rules/base.d.ts +27 -0
- package/validate/rules/base.js +65 -0
- package/validate/rules/boolean.d.ts +8 -0
- package/validate/rules/boolean.js +21 -0
- package/validate/rules/custom.d.ts +7 -0
- package/validate/rules/custom.js +24 -0
- package/validate/rules/number.d.ts +12 -0
- package/validate/rules/number.js +36 -0
- package/validate/rules/object.d.ts +9 -0
- package/validate/rules/object.js +24 -0
- package/validate/rules/string.d.ts +12 -0
- package/validate/rules/string.js +34 -0
- package/validate/rules/type.d.ts +19 -0
- package/validate/rules/type.js +67 -0
- package/version/index.js +6 -6
- package/xlsx/crc32.js +34 -43
- package/xlsx/index.d.ts +2 -1138
- package/xlsx/index.js +4 -23
- package/xlsx/xlsx.js +22164 -28082
- package/assert.js +0 -9
- package/canvas-roundrect-polyfill/LICENSE +0 -21
- package/canvas-roundrect-polyfill/index.js +0 -210
- package/canvasRoundrectPolyfill.js +0 -2
- package/caseName.js +0 -12
- package/className.js +0 -6
- package/clipboardCopy.js +0 -6
- package/constant.js +0 -29
- package/contentDisposition.js +0 -9
- package/cookie/src/api.js +0 -57
- package/cookie/src/assign.js +0 -12
- package/cookie/src/converter.js +0 -15
- package/cookie.js +0 -5
- package/date.js +0 -11
- package/decimal.js +0 -6
- package/domHelpers.js +0 -96
- package/emitter/src/index.js +0 -109
- package/emitter.js +0 -5
- package/emoji.js +0 -11
- package/escape.js +0 -6
- package/file.js +0 -9
- package/filesize/types/constants.d.ts +0 -111
- package/filesize/types/filesize.d.ts +0 -97
- package/filesize/types/helpers.d.ts +0 -130
- package/function.js +0 -49
- package/idb.js +0 -11
- package/invariant.js +0 -5
- package/is.js +0 -154
- package/lunar/LICENSE +0 -20
- package/lunar/index.js +0 -37
- package/lunar/lib/Holiday.js +0 -39
- package/lunar/lib/HolidayUtil.js +0 -142
- package/lunar/lib/I18n.js +0 -426
- package/lunar/lib/JieQi.js +0 -37
- package/lunar/lib/Lunar.js +0 -588
- package/lunar/lib/LunarMonth.js +0 -88
- package/lunar/lib/LunarTime.js +0 -60
- package/lunar/lib/LunarUtil.js +0 -451
- package/lunar/lib/LunarYear.js +0 -524
- package/lunar/lib/ShouXingUtil.js +0 -6940
- package/lunar/lib/Solar.js +0 -287
- package/lunar/lib/SolarHalfYear.js +0 -44
- package/lunar/lib/SolarMonth.js +0 -54
- package/lunar/lib/SolarSeason.js +0 -41
- package/lunar/lib/SolarUtil.js +0 -269
- package/lunar/lib/SolarWeek.js +0 -150
- package/lunar/lib/SolarYear.js +0 -35
- package/lunar/lib/index.js +0 -36
- package/lunar.js +0 -37
- package/math.js +0 -10
- package/md5.js +0 -5
- package/mock.js +0 -9
- package/normalizeWheel.js +0 -7
- package/numberToChinese.js +0 -5
- package/nzh.js +0 -5
- package/object.js +0 -8
- package/pinyin/src/core.js +0 -145
- package/pinyin/src/simplified.js +0 -9
- package/pinyin/src/simplified_dict.js +0 -410
- package/pinyin/src/traditional.js +0 -9
- package/pinyin/src/traditional_dict.js +0 -403
- package/pinyin.js +0 -5
- package/promise-pool/LICENSE +0 -19
- package/promise-pool/index.js +0 -116
- package/promisePool.js +0 -5
- package/queryString.js +0 -5
- package/random.js +0 -16
- package/sanitizeUrl.js +0 -5
- package/screenfull.js +0 -6
- package/sleep.js +0 -5
- package/snapdom/src/api/preCache.js +0 -90
- package/snapdom/src/api/snapdom.js +0 -240
- package/snapdom/src/core/cache.js +0 -41
- package/snapdom/src/core/capture.js +0 -169
- package/snapdom/src/core/clone.js +0 -215
- package/snapdom/src/core/context.js +0 -59
- package/snapdom/src/core/plugins.js +0 -69
- package/snapdom/src/core/prepare.js +0 -77
- package/snapdom/src/exporters/download.js +0 -18
- package/snapdom/src/exporters/toBlob.js +0 -10
- package/snapdom/src/exporters/toCanvas.js +0 -113
- package/snapdom/src/exporters/toImg.js +0 -36
- package/snapdom/src/modules/CSSVar.js +0 -87
- package/snapdom/src/modules/background.js +0 -89
- package/snapdom/src/modules/changeCSS.js +0 -61
- package/snapdom/src/modules/counter.js +0 -179
- package/snapdom/src/modules/fonts.js +0 -678
- package/snapdom/src/modules/iconFonts.js +0 -177
- package/snapdom/src/modules/images.js +0 -63
- package/snapdom/src/modules/lineClamp.js +0 -42
- package/snapdom/src/modules/pseudo.js +0 -338
- package/snapdom/src/modules/rasterize.js +0 -9
- package/snapdom/src/modules/snapFetch.js +0 -263
- package/snapdom/src/modules/styles.js +0 -174
- package/snapdom/src/modules/svgDefs.js +0 -106
- package/snapdom/src/utils/browser.js +0 -18
- package/snapdom/src/utils/capture.helpers.js +0 -131
- package/snapdom/src/utils/clone.helpers.js +0 -283
- package/snapdom/src/utils/css.js +0 -191
- package/snapdom/src/utils/helpers.js +0 -31
- package/snapdom/src/utils/image.js +0 -30
- package/snapdom/src/utils/prepare.helpers.js +0 -8
- package/snapdom/src/utils/transforms.helpers.js +0 -211
- package/snapdom/types/snapdom.d.ts +0 -362
- package/snapdom.js +0 -7
- package/string.js +0 -11
- package/tinycolor/src/conversion.js +0 -144
- package/tinycolor/src/css-color-names.js +0 -154
- package/tinycolor/src/format-input.js +0 -78
- package/tinycolor/src/from-ratio.js +0 -23
- package/tinycolor/src/index.js +0 -388
- package/tinycolor/src/random.js +0 -223
- package/tinycolor/src/readability.js +0 -38
- package/tinycolor/src/to-ms-filter.js +0 -16
- package/tinycolor/src/utils.js +0 -33
- package/tinycolor.js +0 -47
- package/tree/search/index.js +0 -108
- package/tree.js +0 -16
- package/tween/src/easing.js +0 -62
- package/tween/src/tween.js +0 -47
- package/tween.js +0 -8
- package/types/canvas-roundrect-polyfill/index.d.ts +0 -0
- package/types/cookie/index.d.ts +0 -1
- package/types/dom-helpers/animate.d.ts +0 -19
- package/types/dom-helpers/camelizeStyle.d.ts +0 -2
- package/types/dom-helpers/css.d.ts +0 -3
- package/types/dom-helpers/filterEventHandler.d.ts +0 -2
- package/types/dom-helpers/hyphenateStyle.d.ts +0 -7
- package/types/dom-helpers/listen.d.ts +0 -3
- package/types/dom-helpers/removeEventListener.d.ts +0 -11
- package/types/dom-helpers/types.d.ts +0 -6
- package/types/emitter/index.d.ts +0 -2
- package/types/emitter/src/index.d.ts +0 -75
- package/types/filesize/benchmarks/basic-performance.d.ts +0 -1
- package/types/filesize/benchmarks/index.d.ts +0 -2
- package/types/filesize/benchmarks/options-benchmark.d.ts +0 -1
- package/types/filesize/benchmarks/partial-benchmark.d.ts +0 -1
- package/types/filesize/benchmarks/stress-test.d.ts +0 -1
- package/types/filesize/src/filesize.d.ts +0 -88
- package/types/filesize/src/helpers.d.ts +0 -55
- package/types/idb/index-.d.ts +0 -21
- package/types/idb/wrap-idb-value.d.ts +0 -34
- package/types/is/index.d.ts +0 -84
- package/types/is/lib/isAscii.d.ts +0 -1
- package/types/is/lib/isBase64.d.ts +0 -1
- package/types/is/lib/isChinese.d.ts +0 -4
- package/types/is/lib/isDataURI.d.ts +0 -1
- package/types/lodash/_setCacheHas.d.ts +0 -11
- package/types/lodash/compact.d.ts +0 -17
- package/types/lodash/isPromise.d.ts +0 -2
- package/types/lodash/lodash.d.ts +0 -317
- package/types/lodash/random.d.ts +0 -33
- package/types/lodash/template.d.ts +0 -113
- package/types/lodash/templateSettings.d.ts +0 -11
- package/types/lunar/index.d.ts +0 -3
- package/types/lunar/lib/Holiday.d.ts +0 -17
- package/types/lunar/lib/HolidayUtil.d.ts +0 -23
- package/types/lunar/lib/I18n.d.ts +0 -23
- package/types/lunar/lib/JieQi.d.ts +0 -15
- package/types/lunar/lib/Lunar.d.ts +0 -147
- package/types/lunar/lib/LunarMonth.d.ts +0 -23
- package/types/lunar/lib/LunarTime.d.ts +0 -18
- package/types/lunar/lib/LunarUtil.d.ts +0 -38
- package/types/lunar/lib/LunarYear.d.ts +0 -31
- package/types/lunar/lib/ShouXingUtil.d.ts +0 -38
- package/types/lunar/lib/Solar.d.ts +0 -46
- package/types/lunar/lib/SolarHalfYear.d.ts +0 -15
- package/types/lunar/lib/SolarMonth.d.ts +0 -16
- package/types/lunar/lib/SolarSeason.d.ts +0 -15
- package/types/lunar/lib/SolarUtil.d.ts +0 -20
- package/types/lunar/lib/SolarWeek.d.ts +0 -23
- package/types/lunar/lib/SolarYear.d.ts +0 -12
- package/types/lunar/lib/index.d.ts +0 -17
- package/types/nzh/nzh.d.ts +0 -36
- package/types/object/index.d.ts +0 -5
- package/types/pinyin/index.d.ts +0 -1
- package/types/pinyin/simplified.d.ts +0 -1
- package/types/pinyin/traditional.d.ts +0 -1
- package/types/query-string/base.d.ts +0 -11
- package/types/query-string/index.d.ts +0 -2
- package/types/random/index.d.ts +0 -31
- package/types/snapdom/index.d.ts +0 -1
- package/types/snapdom/src/api/preCache.d.ts +0 -28
- package/types/snapdom/src/core/cache.d.ts +0 -29
- package/types/snapdom/src/core/context.d.ts +0 -67
- package/types/snapdom/src/modules/fonts.d.ts +0 -83
- package/types/snapdom/src/modules/lineClamp.d.ts +0 -13
- package/types/snapdom/src/utils/browser.d.ts +0 -9
- package/types/snapdom/src/utils/capture.helpers.d.ts +0 -45
- package/types/snapdom/src/utils/clone.helpers.d.ts +0 -97
- package/types/snapdom/src/utils/helpers.d.ts +0 -16
- package/types/snapdom/src/utils/index.d.ts +0 -4
- package/types/snapdom/src/utils/prepare.helpers.d.ts +0 -9
- package/types/string/index.d.ts +0 -11
- package/types/tinycolor/index.d.ts +0 -2
- package/types/tinycolor/src/conversion.d.ts +0 -79
- package/types/tinycolor/src/format-input.d.ts +0 -38
- package/types/tinycolor/src/index.d.ts +0 -214
- package/types/tinycolor/src/readability.d.ts +0 -46
- package/types/tinycolor/src/to-ms-filter.d.ts +0 -5
- package/types/tree/index.d.ts +0 -8
- package/types/tween/index.d.ts +0 -1
- package/types/tween/src/index.d.ts +0 -3
- package/types/ui-color/compareColorByRange.d.ts +0 -2
- package/types/ui-color/index.d.ts +0 -208
- package/types/url-toolkit/index.d.ts +0 -2
- package/types/validate/index.d.ts +0 -3
- package/types/validate/src/rules/array.d.ts +0 -12
- package/types/validate/src/rules/base.d.ts +0 -27
- package/types/validate/src/rules/boolean.d.ts +0 -8
- package/types/validate/src/rules/custom.d.ts +0 -7
- package/types/validate/src/rules/number.d.ts +0 -12
- package/types/validate/src/rules/object.d.ts +0 -9
- package/types/validate/src/rules/string.d.ts +0 -12
- package/types/validate/src/rules/type.d.ts +0 -19
- package/types/xlsx/index.d.ts +0 -2
- package/uiColor.js +0 -31
- package/url-toolkit/src/url-toolkit.d.ts +0 -22
- package/url-toolkit/src/url-toolkit.js +0 -75
- package/urlToolkit.js +0 -9
- package/validate/src/index.js +0 -150
- package/validate/src/locale/en-US.js +0 -60
- package/validate/src/locale/index.js +0 -11
- package/validate/src/locale/zh-CN.js +0 -60
- package/validate/src/rules/array.js +0 -73
- package/validate/src/rules/base.js +0 -73
- package/validate/src/rules/boolean.js +0 -29
- package/validate/src/rules/custom.js +0 -26
- package/validate/src/rules/number.js +0 -54
- package/validate/src/rules/object.js +0 -39
- package/validate/src/rules/string.js +0 -55
- package/validate/src/rules/type.js +0 -105
- package/validate.js +0 -26
- package/version.js +0 -6
- package/xlsx.js +0 -23
- /package/{types/assert → assert}/index.d.ts +0 -0
- /package/{types/case-name → case-name}/index.d.ts +0 -0
- /package/{types/class-name → class-name}/index.d.ts +0 -0
- /package/{types/clipboard-copy → clipboard-copy}/index.d.ts +0 -0
- /package/{types/constant → constant}/address.d.ts +0 -0
- /package/{types/constant → constant}/chineseCharacters.d.ts +0 -0
- /package/{types/constant → constant}/constellations.d.ts +0 -0
- /package/{types/constant → constant}/domain.d.ts +0 -0
- /package/{types/constant → constant}/identity.d.ts +0 -0
- /package/{types/constant → constant}/index.d.ts +0 -0
- /package/{types/constant → constant}/isMobile.d.ts +0 -0
- /package/{types/constant → constant}/keyboardCode.d.ts +0 -0
- /package/{types/constant → constant}/licensePlate.d.ts +0 -0
- /package/{types/constant → constant}/name.d.ts +0 -0
- /package/{types/constant → constant}/platform.d.ts +0 -0
- /package/{types/constant → constant}/protocol.d.ts +0 -0
- /package/{types/constant → constant}/string.d.ts +0 -0
- /package/{types/constant → constant}/ui.d.ts +0 -0
- /package/{types/content-disposition → content-disposition}/index.d.ts +0 -0
- /package/{types/cookie/src/api.d.mts → cookie/api.d.ts} +0 -0
- /package/{types/cookie/src/assign.d.mts → cookie/assign.d.ts} +0 -0
- /package/{types/cookie/src/converter.d.mts → cookie/converter.d.ts} +0 -0
- /package/{types/date → date}/convertTime.d.ts +0 -0
- /package/{types/date → date}/convertToDuration.d.ts +0 -0
- /package/{types/date → date}/index.d.ts +0 -0
- /package/{types/decimal → decimal}/decimal.d.ts +0 -0
- /package/{types/decimal → decimal}/index.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/activeElement.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/addClass.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/addEventListener.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/animationFrame.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/attribute.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/camelize.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/canUseDOM.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/childElements.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/childNodes.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/clear.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/closest.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/collectElements.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/collectSiblings.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/contains.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/getComputedStyle.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/getElementCoordinates.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/getScrollAccessor.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/hasClass.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/height.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/hyphenate.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/index.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/insertAfter.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isDocument.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isInput.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isTransform.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isVisible.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/isWindow.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/matches.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/nextUntil.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/offset.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/offsetParent.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/ownerDocument.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/ownerWindow.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/parents.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/position.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/prepend.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/querySelectorAll.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/reflow.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/remove.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/removeClass.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollLeft.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollParent.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollTo.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollTop.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/scrollbarSize.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/siblings.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/text.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/toggleClass.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/transitionEnd.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/triggerEvent.d.ts +0 -0
- /package/{types/dom-helpers → dom-helpers}/width.d.ts +0 -0
- /package/{types/emoji → emoji}/emoji.d.ts +0 -0
- /package/{types/emoji → emoji}/emojis.d.ts +0 -0
- /package/{types/emoji → emoji}/index.d.ts +0 -0
- /package/{types/escape → escape}/index.d.ts +0 -0
- /package/{types/file → file}/fileRead.d.ts +0 -0
- /package/{types/file → file}/fileToDataURL.d.ts +0 -0
- /package/{types/file → file}/index.d.ts +0 -0
- /package/{types/file → file}/saveAs.d.ts +0 -0
- /package/{types/filesize/src → filesize}/constants.d.ts +0 -0
- /package/{types/function → function}/index.d.ts +0 -0
- /package/{types/idb → idb}/async-iterators.d.ts +0 -0
- /package/{types/idb → idb}/database-extras.d.ts +0 -0
- /package/{types/idb → idb}/entry.d.ts +0 -0
- /package/{types/idb → idb}/index.d.ts +0 -0
- /package/{types/idb → idb}/util.d.ts +0 -0
- /package/{types/index.d.ts → index.d.ts} +0 -0
- /package/{types/invariant → invariant}/index.d.ts +0 -0
- /package/{types/is → is}/lib/isEmail.d.ts +0 -0
- /package/{types/is → is}/lib/isFQDN.d.ts +0 -0
- /package/{types/is → is}/lib/isFullWidth.d.ts +0 -0
- /package/{types/is → is}/lib/isHSL.d.ts +0 -0
- /package/{types/is → is}/lib/isHalfWidth.d.ts +0 -0
- /package/{types/is → is}/lib/isHash.d.ts +0 -0
- /package/{types/is → is}/lib/isHexColor.d.ts +0 -0
- /package/{types/is → is}/lib/isIMEI.d.ts +0 -0
- /package/{types/is → is}/lib/isIP.d.ts +0 -0
- /package/{types/is → is}/lib/isIPRange.d.ts +0 -0
- /package/{types/is → is}/lib/isIdentityCard.d.ts +0 -0
- /package/{types/is → is}/lib/isJWT.d.ts +0 -0
- /package/{types/is → is}/lib/isMACAddress.d.ts +0 -0
- /package/{types/is → is}/lib/isMD5.d.ts +0 -0
- /package/{types/is → is}/lib/isMimeType.d.ts +0 -0
- /package/{types/is → is}/lib/isMobilePhone.d.ts +0 -0
- /package/{types/is → is}/lib/isOctal.d.ts +0 -0
- /package/{types/is → is}/lib/isPort.d.ts +0 -0
- /package/{types/is → is}/lib/isRgbColor.d.ts +0 -0
- /package/{types/is → is}/lib/isSemVer.d.ts +0 -0
- /package/{types/is → is}/lib/isSlug.d.ts +0 -0
- /package/{types/is → is}/lib/isStrongPassword.d.ts +0 -0
- /package/{types/is → is}/lib/isURL.d.ts +0 -0
- /package/{types/is → is}/lib/isUUID.d.ts +0 -0
- /package/{types/is → is}/lib/isVariableWidth.d.ts +0 -0
- /package/{types/lodash → lodash}/_DataView.d.ts +0 -0
- /package/{types/lodash → lodash}/_Hash.d.ts +0 -0
- /package/{types/lodash → lodash}/_LazyWrapper.d.ts +0 -0
- /package/{types/lodash → lodash}/_ListCache.d.ts +0 -0
- /package/{types/lodash → lodash}/_LodashWrapper.d.ts +0 -0
- /package/{types/lodash → lodash}/_Map.d.ts +0 -0
- /package/{types/lodash → lodash}/_MapCache.d.ts +0 -0
- /package/{types/lodash → lodash}/_Promise.d.ts +0 -0
- /package/{types/lodash → lodash}/_Set.d.ts +0 -0
- /package/{types/lodash → lodash}/_SetCache.d.ts +0 -0
- /package/{types/lodash → lodash}/_Stack.d.ts +0 -0
- /package/{types/lodash → lodash}/_Symbol.d.ts +0 -0
- /package/{types/lodash → lodash}/_Uint8Array.d.ts +0 -0
- /package/{types/lodash → lodash}/_WeakMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_addMapEntry.d.ts +0 -0
- /package/{types/lodash → lodash}/_addSetEntry.d.ts +0 -0
- /package/{types/lodash → lodash}/_apply.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayAggregator.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayEach.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayEachRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayEvery.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayFilter.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayIncludes.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayIncludesWith.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayLikeKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayPush.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayReduce.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayReduceRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_arraySample.d.ts +0 -0
- /package/{types/lodash → lodash}/_arraySampleSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_arrayShuffle.d.ts +0 -0
- /package/{types/lodash → lodash}/_arraySome.d.ts +0 -0
- /package/{types/lodash → lodash}/_asciiSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_asciiToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_asciiWords.d.ts +0 -0
- /package/{types/lodash → lodash}/_assignMergeValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_assignValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_assocIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAggregator.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAssign.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAssignIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAssignValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseAt.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseClamp.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseClone.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseConforms.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseConformsTo.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseCreate.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseDelay.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseDifference.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseEach.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseEachRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseEvery.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseExtremum.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFill.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFilter.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFindIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFindKey.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFlatten.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFor.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseForOwn.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseForOwnRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseForRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseFunctions.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseGetAllKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseGetTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseGt.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseHasIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseInRange.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIndexOfWith.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIntersection.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseInverter.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseInvoke.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsArguments.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsArrayBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsDate.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsEqual.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsEqualDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsMatch.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsNaN.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsNative.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsRegExp.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIsTypedArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseIteratee.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseKeysIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseLodash.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseLt.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMatches.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMatchesProperty.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMean.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMerge.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseMergeDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseNth.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseOrderBy.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePick.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePickBy.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseProperty.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePropertyDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePropertyOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePullAll.d.ts +0 -0
- /package/{types/lodash → lodash}/_basePullAt.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseRandom.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseRange.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseReduce.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseRepeat.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseRest.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSample.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSampleSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSetData.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSetToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseShuffle.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSlice.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSome.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSortBy.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSortedIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSortedIndexBy.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSortedUniq.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseSum.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseTimes.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseToNumber.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseToPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseTrim.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseUnary.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseUniq.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseUnset.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseUpdate.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseValues.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseWrapperValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseXor.d.ts +0 -0
- /package/{types/lodash → lodash}/_baseZipObject.d.ts +0 -0
- /package/{types/lodash → lodash}/_cacheHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_castArrayLikeObject.d.ts +0 -0
- /package/{types/lodash → lodash}/_castFunction.d.ts +0 -0
- /package/{types/lodash → lodash}/_castPath.d.ts +0 -0
- /package/{types/lodash → lodash}/_castRest.d.ts +0 -0
- /package/{types/lodash → lodash}/_castSlice.d.ts +0 -0
- /package/{types/lodash → lodash}/_charsEndIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_charsStartIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneArrayBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneDataView.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneRegExp.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneSymbol.d.ts +0 -0
- /package/{types/lodash → lodash}/_cloneTypedArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_compareAscending.d.ts +0 -0
- /package/{types/lodash → lodash}/_compareMultiple.d.ts +0 -0
- /package/{types/lodash → lodash}/_composeArgs.d.ts +0 -0
- /package/{types/lodash → lodash}/_composeArgsRight.d.ts +0 -0
- /package/{types/lodash → lodash}/_copyArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_copyObject.d.ts +0 -0
- /package/{types/lodash → lodash}/_copySymbols.d.ts +0 -0
- /package/{types/lodash → lodash}/_copySymbolsIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_coreJsData.d.ts +0 -0
- /package/{types/lodash → lodash}/_countHolders.d.ts +0 -0
- /package/{types/lodash → lodash}/_createAggregator.d.ts +0 -0
- /package/{types/lodash → lodash}/_createAssigner.d.ts +0 -0
- /package/{types/lodash → lodash}/_createBaseEach.d.ts +0 -0
- /package/{types/lodash → lodash}/_createBaseFor.d.ts +0 -0
- /package/{types/lodash → lodash}/_createBind.d.ts +0 -0
- /package/{types/lodash → lodash}/_createCaseFirst.d.ts +0 -0
- /package/{types/lodash → lodash}/_createCompounder.d.ts +0 -0
- /package/{types/lodash → lodash}/_createCtor.d.ts +0 -0
- /package/{types/lodash → lodash}/_createCurry.d.ts +0 -0
- /package/{types/lodash → lodash}/_createFind.d.ts +0 -0
- /package/{types/lodash → lodash}/_createFlow.d.ts +0 -0
- /package/{types/lodash → lodash}/_createHybrid.d.ts +0 -0
- /package/{types/lodash → lodash}/_createInverter.d.ts +0 -0
- /package/{types/lodash → lodash}/_createMathOperation.d.ts +0 -0
- /package/{types/lodash → lodash}/_createOver.d.ts +0 -0
- /package/{types/lodash → lodash}/_createPadding.d.ts +0 -0
- /package/{types/lodash → lodash}/_createPartial.d.ts +0 -0
- /package/{types/lodash → lodash}/_createRange.d.ts +0 -0
- /package/{types/lodash → lodash}/_createRecurry.d.ts +0 -0
- /package/{types/lodash → lodash}/_createRelationalOperation.d.ts +0 -0
- /package/{types/lodash → lodash}/_createRound.d.ts +0 -0
- /package/{types/lodash → lodash}/_createSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_createToPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/_createWrap.d.ts +0 -0
- /package/{types/lodash → lodash}/_customDefaultsAssignIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_customDefaultsMerge.d.ts +0 -0
- /package/{types/lodash → lodash}/_customOmitClone.d.ts +0 -0
- /package/{types/lodash → lodash}/_deburrLetter.d.ts +0 -0
- /package/{types/lodash → lodash}/_defineProperty.d.ts +0 -0
- /package/{types/lodash → lodash}/_equalArrays.d.ts +0 -0
- /package/{types/lodash → lodash}/_equalByTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_equalObjects.d.ts +0 -0
- /package/{types/lodash → lodash}/_escapeHtmlChar.d.ts +0 -0
- /package/{types/lodash → lodash}/_escapeStringChar.d.ts +0 -0
- /package/{types/lodash → lodash}/_flatRest.d.ts +0 -0
- /package/{types/lodash → lodash}/_freeGlobal.d.ts +0 -0
- /package/{types/lodash → lodash}/_getAllKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_getAllKeysIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_getData.d.ts +0 -0
- /package/{types/lodash → lodash}/_getFuncName.d.ts +0 -0
- /package/{types/lodash → lodash}/_getHolder.d.ts +0 -0
- /package/{types/lodash → lodash}/_getMapData.d.ts +0 -0
- /package/{types/lodash → lodash}/_getMatchData.d.ts +0 -0
- /package/{types/lodash → lodash}/_getNative.d.ts +0 -0
- /package/{types/lodash → lodash}/_getPrototype.d.ts +0 -0
- /package/{types/lodash → lodash}/_getRawTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_getSymbols.d.ts +0 -0
- /package/{types/lodash → lodash}/_getSymbolsIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_getTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_getValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_getView.d.ts +0 -0
- /package/{types/lodash → lodash}/_getWrapDetails.d.ts +0 -0
- /package/{types/lodash → lodash}/_hasPath.d.ts +0 -0
- /package/{types/lodash → lodash}/_hasUnicode.d.ts +0 -0
- /package/{types/lodash → lodash}/_hasUnicodeWord.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashClear.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashDelete.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_hashSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_initCloneArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_initCloneByTag.d.ts +0 -0
- /package/{types/lodash → lodash}/_initCloneObject.d.ts +0 -0
- /package/{types/lodash → lodash}/_insertWrapDetails.d.ts +0 -0
- /package/{types/lodash → lodash}/_isFlattenable.d.ts +0 -0
- /package/{types/lodash → lodash}/_isIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_isIterateeCall.d.ts +0 -0
- /package/{types/lodash → lodash}/_isKey.d.ts +0 -0
- /package/{types/lodash → lodash}/_isKeyable.d.ts +0 -0
- /package/{types/lodash → lodash}/_isLaziable.d.ts +0 -0
- /package/{types/lodash → lodash}/_isMaskable.d.ts +0 -0
- /package/{types/lodash → lodash}/_isMasked.d.ts +0 -0
- /package/{types/lodash → lodash}/_isPrototype.d.ts +0 -0
- /package/{types/lodash → lodash}/_isStrictComparable.d.ts +0 -0
- /package/{types/lodash → lodash}/_iteratorToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_lazyClone.d.ts +0 -0
- /package/{types/lodash → lodash}/_lazyReverse.d.ts +0 -0
- /package/{types/lodash → lodash}/_lazyValue.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheClear.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheDelete.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_listCacheSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheClear.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheDelete.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapCacheSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_mapToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_matchesStrictComparable.d.ts +0 -0
- /package/{types/lodash → lodash}/_memoizeCapped.d.ts +0 -0
- /package/{types/lodash → lodash}/_mergeData.d.ts +0 -0
- /package/{types/lodash → lodash}/_metaMap.d.ts +0 -0
- /package/{types/lodash → lodash}/_nativeCreate.d.ts +0 -0
- /package/{types/lodash → lodash}/_nativeKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/_nativeKeysIn.d.ts +0 -0
- /package/{types/lodash → lodash}/_nodeUtil.d.ts +0 -0
- /package/{types/lodash → lodash}/_objectToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_overArg.d.ts +0 -0
- /package/{types/lodash → lodash}/_overRest.d.ts +0 -0
- /package/{types/lodash → lodash}/_parent.d.ts +0 -0
- /package/{types/lodash → lodash}/_reEscape.d.ts +0 -0
- /package/{types/lodash → lodash}/_reEvaluate.d.ts +0 -0
- /package/{types/lodash → lodash}/_reInterpolate.d.ts +0 -0
- /package/{types/lodash → lodash}/_realNames.d.ts +0 -0
- /package/{types/lodash → lodash}/_reorder.d.ts +0 -0
- /package/{types/lodash → lodash}/_replaceHolders.d.ts +0 -0
- /package/{types/lodash → lodash}/_root.d.ts +0 -0
- /package/{types/lodash → lodash}/_safeGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_setCacheAdd.d.ts +0 -0
- /package/{types/lodash → lodash}/_setData.d.ts +0 -0
- /package/{types/lodash → lodash}/_setToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_setToPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/_setToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_setWrapToString.d.ts +0 -0
- /package/{types/lodash → lodash}/_shortOut.d.ts +0 -0
- /package/{types/lodash → lodash}/_shuffleSelf.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackClear.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackDelete.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackGet.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackHas.d.ts +0 -0
- /package/{types/lodash → lodash}/_stackSet.d.ts +0 -0
- /package/{types/lodash → lodash}/_strictIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_strictLastIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/_stringSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_stringToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_stringToPath.d.ts +0 -0
- /package/{types/lodash → lodash}/_toKey.d.ts +0 -0
- /package/{types/lodash → lodash}/_toSource.d.ts +0 -0
- /package/{types/lodash → lodash}/_trimmedEndIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/_unescapeHtmlChar.d.ts +0 -0
- /package/{types/lodash → lodash}/_unicodeSize.d.ts +0 -0
- /package/{types/lodash → lodash}/_unicodeToArray.d.ts +0 -0
- /package/{types/lodash → lodash}/_unicodeWords.d.ts +0 -0
- /package/{types/lodash → lodash}/_updateWrapDetails.d.ts +0 -0
- /package/{types/lodash → lodash}/_wrapperClone.d.ts +0 -0
- /package/{types/lodash → lodash}/add.d.ts +0 -0
- /package/{types/lodash → lodash}/after.d.ts +0 -0
- /package/{types/lodash → lodash}/array.d.ts +0 -0
- /package/{types/lodash → lodash}/array.default.d.ts +0 -0
- /package/{types/lodash → lodash}/ary.d.ts +0 -0
- /package/{types/lodash → lodash}/assign.d.ts +0 -0
- /package/{types/lodash → lodash}/assignIn.d.ts +0 -0
- /package/{types/lodash → lodash}/assignInWith.d.ts +0 -0
- /package/{types/lodash → lodash}/assignWith.d.ts +0 -0
- /package/{types/lodash → lodash}/at.d.ts +0 -0
- /package/{types/lodash → lodash}/attempt.d.ts +0 -0
- /package/{types/lodash → lodash}/before.d.ts +0 -0
- /package/{types/lodash → lodash}/bind.d.ts +0 -0
- /package/{types/lodash → lodash}/bindAll.d.ts +0 -0
- /package/{types/lodash → lodash}/bindKey.d.ts +0 -0
- /package/{types/lodash → lodash}/camelCase.d.ts +0 -0
- /package/{types/lodash → lodash}/capitalize.d.ts +0 -0
- /package/{types/lodash → lodash}/castArray.d.ts +0 -0
- /package/{types/lodash → lodash}/ceil.d.ts +0 -0
- /package/{types/lodash → lodash}/chain.d.ts +0 -0
- /package/{types/lodash → lodash}/chunk.d.ts +0 -0
- /package/{types/lodash → lodash}/clamp.d.ts +0 -0
- /package/{types/lodash → lodash}/clone.d.ts +0 -0
- /package/{types/lodash → lodash}/cloneDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/cloneDeepWith.d.ts +0 -0
- /package/{types/lodash → lodash}/cloneWith.d.ts +0 -0
- /package/{types/lodash → lodash}/collection.d.ts +0 -0
- /package/{types/lodash → lodash}/collection.default.d.ts +0 -0
- /package/{types/lodash → lodash}/commit.d.ts +0 -0
- /package/{types/lodash → lodash}/concat.d.ts +0 -0
- /package/{types/lodash → lodash}/cond.d.ts +0 -0
- /package/{types/lodash → lodash}/conforms.d.ts +0 -0
- /package/{types/lodash → lodash}/conformsTo.d.ts +0 -0
- /package/{types/lodash → lodash}/constant.d.ts +0 -0
- /package/{types/lodash → lodash}/countBy.d.ts +0 -0
- /package/{types/lodash → lodash}/create.d.ts +0 -0
- /package/{types/lodash → lodash}/curry.d.ts +0 -0
- /package/{types/lodash → lodash}/curryRight.d.ts +0 -0
- /package/{types/lodash → lodash}/date.d.ts +0 -0
- /package/{types/lodash → lodash}/date.default.d.ts +0 -0
- /package/{types/lodash → lodash}/debounce.d.ts +0 -0
- /package/{types/lodash → lodash}/deburr.d.ts +0 -0
- /package/{types/lodash → lodash}/defaultTo.d.ts +0 -0
- /package/{types/lodash → lodash}/defaults.d.ts +0 -0
- /package/{types/lodash → lodash}/defaultsDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/defer.d.ts +0 -0
- /package/{types/lodash → lodash}/delay.d.ts +0 -0
- /package/{types/lodash → lodash}/difference.d.ts +0 -0
- /package/{types/lodash → lodash}/differenceBy.d.ts +0 -0
- /package/{types/lodash → lodash}/differenceWith.d.ts +0 -0
- /package/{types/lodash → lodash}/divide.d.ts +0 -0
- /package/{types/lodash → lodash}/drop.d.ts +0 -0
- /package/{types/lodash → lodash}/dropRight.d.ts +0 -0
- /package/{types/lodash → lodash}/dropRightWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/dropWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/each.d.ts +0 -0
- /package/{types/lodash → lodash}/eachRight.d.ts +0 -0
- /package/{types/lodash → lodash}/endsWith.d.ts +0 -0
- /package/{types/lodash → lodash}/entries.d.ts +0 -0
- /package/{types/lodash → lodash}/entriesIn.d.ts +0 -0
- /package/{types/lodash → lodash}/eq.d.ts +0 -0
- /package/{types/lodash → lodash}/escape.d.ts +0 -0
- /package/{types/lodash → lodash}/escapeRegExp.d.ts +0 -0
- /package/{types/lodash → lodash}/every.d.ts +0 -0
- /package/{types/lodash → lodash}/extend.d.ts +0 -0
- /package/{types/lodash → lodash}/extendWith.d.ts +0 -0
- /package/{types/lodash → lodash}/fill.d.ts +0 -0
- /package/{types/lodash → lodash}/filter.d.ts +0 -0
- /package/{types/lodash → lodash}/find.d.ts +0 -0
- /package/{types/lodash → lodash}/findIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/findKey.d.ts +0 -0
- /package/{types/lodash → lodash}/findLast.d.ts +0 -0
- /package/{types/lodash → lodash}/findLastIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/findLastKey.d.ts +0 -0
- /package/{types/lodash → lodash}/first.d.ts +0 -0
- /package/{types/lodash → lodash}/flatMap.d.ts +0 -0
- /package/{types/lodash → lodash}/flatMapDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/flatMapDepth.d.ts +0 -0
- /package/{types/lodash → lodash}/flatten.d.ts +0 -0
- /package/{types/lodash → lodash}/flattenDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/flattenDepth.d.ts +0 -0
- /package/{types/lodash → lodash}/flip.d.ts +0 -0
- /package/{types/lodash → lodash}/floor.d.ts +0 -0
- /package/{types/lodash → lodash}/flow.d.ts +0 -0
- /package/{types/lodash → lodash}/flowRight.d.ts +0 -0
- /package/{types/lodash → lodash}/forEach.d.ts +0 -0
- /package/{types/lodash → lodash}/forEachRight.d.ts +0 -0
- /package/{types/lodash → lodash}/forIn.d.ts +0 -0
- /package/{types/lodash → lodash}/forInRight.d.ts +0 -0
- /package/{types/lodash → lodash}/forOwn.d.ts +0 -0
- /package/{types/lodash → lodash}/forOwnRight.d.ts +0 -0
- /package/{types/lodash → lodash}/fromPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/function.d.ts +0 -0
- /package/{types/lodash → lodash}/function.default.d.ts +0 -0
- /package/{types/lodash → lodash}/functions.d.ts +0 -0
- /package/{types/lodash → lodash}/functionsIn.d.ts +0 -0
- /package/{types/lodash → lodash}/get.d.ts +0 -0
- /package/{types/lodash → lodash}/groupBy.d.ts +0 -0
- /package/{types/lodash → lodash}/gt.d.ts +0 -0
- /package/{types/lodash → lodash}/gte.d.ts +0 -0
- /package/{types/lodash → lodash}/has.d.ts +0 -0
- /package/{types/lodash → lodash}/hasIn.d.ts +0 -0
- /package/{types/lodash → lodash}/head.d.ts +0 -0
- /package/{types/lodash → lodash}/identity.d.ts +0 -0
- /package/{types/lodash → lodash}/inRange.d.ts +0 -0
- /package/{types/lodash → lodash}/includes.d.ts +0 -0
- /package/{types/lodash → lodash}/index.d.ts +0 -0
- /package/{types/lodash → lodash}/indexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/initial.d.ts +0 -0
- /package/{types/lodash → lodash}/intersection.d.ts +0 -0
- /package/{types/lodash → lodash}/intersectionBy.d.ts +0 -0
- /package/{types/lodash → lodash}/intersectionWith.d.ts +0 -0
- /package/{types/lodash → lodash}/invert.d.ts +0 -0
- /package/{types/lodash → lodash}/invertBy.d.ts +0 -0
- /package/{types/lodash → lodash}/invoke.d.ts +0 -0
- /package/{types/lodash → lodash}/invokeMap.d.ts +0 -0
- /package/{types/lodash → lodash}/isArguments.d.ts +0 -0
- /package/{types/lodash → lodash}/isArray.d.ts +0 -0
- /package/{types/lodash → lodash}/isArrayBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/isArrayLike.d.ts +0 -0
- /package/{types/lodash → lodash}/isArrayLikeObject.d.ts +0 -0
- /package/{types/lodash → lodash}/isBoolean.d.ts +0 -0
- /package/{types/lodash → lodash}/isBuffer.d.ts +0 -0
- /package/{types/lodash → lodash}/isDate.d.ts +0 -0
- /package/{types/lodash → lodash}/isElement.d.ts +0 -0
- /package/{types/lodash → lodash}/isEmpty.d.ts +0 -0
- /package/{types/lodash → lodash}/isEqual.d.ts +0 -0
- /package/{types/lodash → lodash}/isEqualWith.d.ts +0 -0
- /package/{types/lodash → lodash}/isError.d.ts +0 -0
- /package/{types/lodash → lodash}/isFinite.d.ts +0 -0
- /package/{types/lodash → lodash}/isFunction.d.ts +0 -0
- /package/{types/lodash → lodash}/isInteger.d.ts +0 -0
- /package/{types/lodash → lodash}/isLength.d.ts +0 -0
- /package/{types/lodash → lodash}/isMap.d.ts +0 -0
- /package/{types/lodash → lodash}/isMatch.d.ts +0 -0
- /package/{types/lodash → lodash}/isMatchWith.d.ts +0 -0
- /package/{types/lodash → lodash}/isNaN.d.ts +0 -0
- /package/{types/lodash → lodash}/isNative.d.ts +0 -0
- /package/{types/lodash → lodash}/isNil.d.ts +0 -0
- /package/{types/lodash → lodash}/isNull.d.ts +0 -0
- /package/{types/lodash → lodash}/isNumber.d.ts +0 -0
- /package/{types/lodash → lodash}/isObject.d.ts +0 -0
- /package/{types/lodash → lodash}/isObjectLike.d.ts +0 -0
- /package/{types/lodash → lodash}/isPlainObject.d.ts +0 -0
- /package/{types/lodash → lodash}/isRegExp.d.ts +0 -0
- /package/{types/lodash → lodash}/isSafeInteger.d.ts +0 -0
- /package/{types/lodash → lodash}/isSet.d.ts +0 -0
- /package/{types/lodash → lodash}/isString.d.ts +0 -0
- /package/{types/lodash → lodash}/isSymbol.d.ts +0 -0
- /package/{types/lodash → lodash}/isTypedArray.d.ts +0 -0
- /package/{types/lodash → lodash}/isUndefined.d.ts +0 -0
- /package/{types/lodash → lodash}/isWeakMap.d.ts +0 -0
- /package/{types/lodash → lodash}/isWeakSet.d.ts +0 -0
- /package/{types/lodash → lodash}/iteratee.d.ts +0 -0
- /package/{types/lodash → lodash}/join.d.ts +0 -0
- /package/{types/lodash → lodash}/kebabCase.d.ts +0 -0
- /package/{types/lodash → lodash}/keyBy.d.ts +0 -0
- /package/{types/lodash → lodash}/keys.d.ts +0 -0
- /package/{types/lodash → lodash}/keysIn.d.ts +0 -0
- /package/{types/lodash → lodash}/lang.d.ts +0 -0
- /package/{types/lodash → lodash}/lang.default.d.ts +0 -0
- /package/{types/lodash → lodash}/last.d.ts +0 -0
- /package/{types/lodash → lodash}/lastIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/lodash.default.d.ts +0 -0
- /package/{types/lodash → lodash}/lowerCase.d.ts +0 -0
- /package/{types/lodash → lodash}/lowerFirst.d.ts +0 -0
- /package/{types/lodash → lodash}/lt.d.ts +0 -0
- /package/{types/lodash → lodash}/lte.d.ts +0 -0
- /package/{types/lodash → lodash}/map.d.ts +0 -0
- /package/{types/lodash → lodash}/mapKeys.d.ts +0 -0
- /package/{types/lodash → lodash}/mapValues.d.ts +0 -0
- /package/{types/lodash → lodash}/matches.d.ts +0 -0
- /package/{types/lodash → lodash}/matchesProperty.d.ts +0 -0
- /package/{types/lodash → lodash}/math.d.ts +0 -0
- /package/{types/lodash → lodash}/math.default.d.ts +0 -0
- /package/{types/lodash → lodash}/max.d.ts +0 -0
- /package/{types/lodash → lodash}/maxBy.d.ts +0 -0
- /package/{types/lodash → lodash}/mean.d.ts +0 -0
- /package/{types/lodash → lodash}/meanBy.d.ts +0 -0
- /package/{types/lodash → lodash}/memoize.d.ts +0 -0
- /package/{types/lodash → lodash}/merge.d.ts +0 -0
- /package/{types/lodash → lodash}/mergeWith.d.ts +0 -0
- /package/{types/lodash → lodash}/method.d.ts +0 -0
- /package/{types/lodash → lodash}/methodOf.d.ts +0 -0
- /package/{types/lodash → lodash}/min.d.ts +0 -0
- /package/{types/lodash → lodash}/minBy.d.ts +0 -0
- /package/{types/lodash → lodash}/mixin.d.ts +0 -0
- /package/{types/lodash → lodash}/multiply.d.ts +0 -0
- /package/{types/lodash → lodash}/negate.d.ts +0 -0
- /package/{types/lodash → lodash}/next.d.ts +0 -0
- /package/{types/lodash → lodash}/noop.d.ts +0 -0
- /package/{types/lodash → lodash}/now.d.ts +0 -0
- /package/{types/lodash → lodash}/nth.d.ts +0 -0
- /package/{types/lodash → lodash}/nthArg.d.ts +0 -0
- /package/{types/lodash → lodash}/number.d.ts +0 -0
- /package/{types/lodash → lodash}/number.default.d.ts +0 -0
- /package/{types/lodash → lodash}/object.d.ts +0 -0
- /package/{types/lodash → lodash}/object.default.d.ts +0 -0
- /package/{types/lodash → lodash}/omit.d.ts +0 -0
- /package/{types/lodash → lodash}/omitBy.d.ts +0 -0
- /package/{types/lodash → lodash}/once.d.ts +0 -0
- /package/{types/lodash → lodash}/orderBy.d.ts +0 -0
- /package/{types/lodash → lodash}/over.d.ts +0 -0
- /package/{types/lodash → lodash}/overArgs.d.ts +0 -0
- /package/{types/lodash → lodash}/overEvery.d.ts +0 -0
- /package/{types/lodash → lodash}/overSome.d.ts +0 -0
- /package/{types/lodash → lodash}/pad.d.ts +0 -0
- /package/{types/lodash → lodash}/padEnd.d.ts +0 -0
- /package/{types/lodash → lodash}/padStart.d.ts +0 -0
- /package/{types/lodash → lodash}/parseInt.d.ts +0 -0
- /package/{types/lodash → lodash}/partial.d.ts +0 -0
- /package/{types/lodash → lodash}/partialRight.d.ts +0 -0
- /package/{types/lodash → lodash}/partition.d.ts +0 -0
- /package/{types/lodash → lodash}/pick.d.ts +0 -0
- /package/{types/lodash → lodash}/pickBy.d.ts +0 -0
- /package/{types/lodash → lodash}/plant.d.ts +0 -0
- /package/{types/lodash → lodash}/property.d.ts +0 -0
- /package/{types/lodash → lodash}/propertyOf.d.ts +0 -0
- /package/{types/lodash → lodash}/pull.d.ts +0 -0
- /package/{types/lodash → lodash}/pullAll.d.ts +0 -0
- /package/{types/lodash → lodash}/pullAllBy.d.ts +0 -0
- /package/{types/lodash → lodash}/pullAllWith.d.ts +0 -0
- /package/{types/lodash → lodash}/pullAt.d.ts +0 -0
- /package/{types/lodash → lodash}/range.d.ts +0 -0
- /package/{types/lodash → lodash}/rangeRight.d.ts +0 -0
- /package/{types/lodash → lodash}/rearg.d.ts +0 -0
- /package/{types/lodash → lodash}/reduce.d.ts +0 -0
- /package/{types/lodash → lodash}/reduceRight.d.ts +0 -0
- /package/{types/lodash → lodash}/reject.d.ts +0 -0
- /package/{types/lodash → lodash}/remove.d.ts +0 -0
- /package/{types/lodash → lodash}/repeat.d.ts +0 -0
- /package/{types/lodash → lodash}/replace.d.ts +0 -0
- /package/{types/lodash → lodash}/rest.d.ts +0 -0
- /package/{types/lodash → lodash}/result.d.ts +0 -0
- /package/{types/lodash → lodash}/reverse.d.ts +0 -0
- /package/{types/lodash → lodash}/round.d.ts +0 -0
- /package/{types/lodash → lodash}/sample.d.ts +0 -0
- /package/{types/lodash → lodash}/sampleSize.d.ts +0 -0
- /package/{types/lodash → lodash}/seq.d.ts +0 -0
- /package/{types/lodash → lodash}/seq.default.d.ts +0 -0
- /package/{types/lodash → lodash}/set.d.ts +0 -0
- /package/{types/lodash → lodash}/setWith.d.ts +0 -0
- /package/{types/lodash → lodash}/shuffle.d.ts +0 -0
- /package/{types/lodash → lodash}/size.d.ts +0 -0
- /package/{types/lodash → lodash}/slice.d.ts +0 -0
- /package/{types/lodash → lodash}/snakeCase.d.ts +0 -0
- /package/{types/lodash → lodash}/some.d.ts +0 -0
- /package/{types/lodash → lodash}/sortBy.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedIndexBy.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedLastIndex.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedLastIndexBy.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedLastIndexOf.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedUniq.d.ts +0 -0
- /package/{types/lodash → lodash}/sortedUniqBy.d.ts +0 -0
- /package/{types/lodash → lodash}/split.d.ts +0 -0
- /package/{types/lodash → lodash}/spread.d.ts +0 -0
- /package/{types/lodash → lodash}/startCase.d.ts +0 -0
- /package/{types/lodash → lodash}/startsWith.d.ts +0 -0
- /package/{types/lodash → lodash}/string.d.ts +0 -0
- /package/{types/lodash → lodash}/string.default.d.ts +0 -0
- /package/{types/lodash → lodash}/stubArray.d.ts +0 -0
- /package/{types/lodash → lodash}/stubFalse.d.ts +0 -0
- /package/{types/lodash → lodash}/stubObject.d.ts +0 -0
- /package/{types/lodash → lodash}/stubString.d.ts +0 -0
- /package/{types/lodash → lodash}/stubTrue.d.ts +0 -0
- /package/{types/lodash → lodash}/subtract.d.ts +0 -0
- /package/{types/lodash → lodash}/sum.d.ts +0 -0
- /package/{types/lodash → lodash}/sumBy.d.ts +0 -0
- /package/{types/lodash → lodash}/tail.d.ts +0 -0
- /package/{types/lodash → lodash}/take.d.ts +0 -0
- /package/{types/lodash → lodash}/takeRight.d.ts +0 -0
- /package/{types/lodash → lodash}/takeRightWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/takeWhile.d.ts +0 -0
- /package/{types/lodash → lodash}/tap.d.ts +0 -0
- /package/{types/lodash → lodash}/throttle.d.ts +0 -0
- /package/{types/lodash → lodash}/thru.d.ts +0 -0
- /package/{types/lodash → lodash}/times.d.ts +0 -0
- /package/{types/lodash → lodash}/toArray.d.ts +0 -0
- /package/{types/lodash → lodash}/toFinite.d.ts +0 -0
- /package/{types/lodash → lodash}/toInteger.d.ts +0 -0
- /package/{types/lodash → lodash}/toIterator.d.ts +0 -0
- /package/{types/lodash → lodash}/toJSON.d.ts +0 -0
- /package/{types/lodash → lodash}/toLength.d.ts +0 -0
- /package/{types/lodash → lodash}/toLower.d.ts +0 -0
- /package/{types/lodash → lodash}/toNumber.d.ts +0 -0
- /package/{types/lodash → lodash}/toPairs.d.ts +0 -0
- /package/{types/lodash → lodash}/toPairsIn.d.ts +0 -0
- /package/{types/lodash → lodash}/toPath.d.ts +0 -0
- /package/{types/lodash → lodash}/toPlainObject.d.ts +0 -0
- /package/{types/lodash → lodash}/toSafeInteger.d.ts +0 -0
- /package/{types/lodash → lodash}/toString.d.ts +0 -0
- /package/{types/lodash → lodash}/toUpper.d.ts +0 -0
- /package/{types/lodash → lodash}/transform.d.ts +0 -0
- /package/{types/lodash → lodash}/trim.d.ts +0 -0
- /package/{types/lodash → lodash}/trimEnd.d.ts +0 -0
- /package/{types/lodash → lodash}/trimStart.d.ts +0 -0
- /package/{types/lodash → lodash}/truncate.d.ts +0 -0
- /package/{types/lodash → lodash}/unary.d.ts +0 -0
- /package/{types/lodash → lodash}/unescape.d.ts +0 -0
- /package/{types/lodash → lodash}/union.d.ts +0 -0
- /package/{types/lodash → lodash}/unionBy.d.ts +0 -0
- /package/{types/lodash → lodash}/unionWith.d.ts +0 -0
- /package/{types/lodash → lodash}/uniq.d.ts +0 -0
- /package/{types/lodash → lodash}/uniqBy.d.ts +0 -0
- /package/{types/lodash → lodash}/uniqWith.d.ts +0 -0
- /package/{types/lodash → lodash}/uniqueId.d.ts +0 -0
- /package/{types/lodash → lodash}/unset.d.ts +0 -0
- /package/{types/lodash → lodash}/unzip.d.ts +0 -0
- /package/{types/lodash → lodash}/unzipWith.d.ts +0 -0
- /package/{types/lodash → lodash}/update.d.ts +0 -0
- /package/{types/lodash → lodash}/updateWith.d.ts +0 -0
- /package/{types/lodash → lodash}/upperCase.d.ts +0 -0
- /package/{types/lodash → lodash}/upperFirst.d.ts +0 -0
- /package/{types/lodash → lodash}/util.d.ts +0 -0
- /package/{types/lodash → lodash}/util.default.d.ts +0 -0
- /package/{types/lodash → lodash}/value.d.ts +0 -0
- /package/{types/lodash → lodash}/valueOf.d.ts +0 -0
- /package/{types/lodash → lodash}/values.d.ts +0 -0
- /package/{types/lodash → lodash}/valuesIn.d.ts +0 -0
- /package/{types/lodash → lodash}/without.d.ts +0 -0
- /package/{types/lodash → lodash}/words.d.ts +0 -0
- /package/{types/lodash → lodash}/wrap.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperAt.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperChain.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperLodash.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperReverse.d.ts +0 -0
- /package/{types/lodash → lodash}/wrapperValue.d.ts +0 -0
- /package/{types/lodash → lodash}/xor.d.ts +0 -0
- /package/{types/lodash → lodash}/xorBy.d.ts +0 -0
- /package/{types/lodash → lodash}/xorWith.d.ts +0 -0
- /package/{types/lodash → lodash}/zip.d.ts +0 -0
- /package/{types/lodash → lodash}/zipObject.d.ts +0 -0
- /package/{types/lodash → lodash}/zipObjectDeep.d.ts +0 -0
- /package/{types/lodash → lodash}/zipWith.d.ts +0 -0
- /package/{types/math → math}/index.d.ts +0 -0
- /package/{types/md5 → md5}/index.d.ts +0 -0
- /package/{types/mock → mock}/MockWebSocket.d.ts +0 -0
- /package/{types/mock → mock}/MockXMLHttpRequest.d.ts +0 -0
- /package/{types/mock → mock}/index.d.ts +0 -0
- /package/{types/normalize-wheel → normalize-wheel}/ExecutionEnvironment.d.ts +0 -0
- /package/{types/normalize-wheel → normalize-wheel}/UserAgent_DEPRECATED.d.ts +0 -0
- /package/{types/normalize-wheel → normalize-wheel}/index.d.ts +0 -0
- /package/{types/normalize-wheel → normalize-wheel}/isEventSupported.d.ts +0 -0
- /package/{types/number-to-chinese → number-to-chinese}/index.d.ts +0 -0
- /package/{types/nzh → nzh}/cn.d.ts +0 -0
- /package/{types/nzh → nzh}/hk.d.ts +0 -0
- /package/{types/nzh → nzh}/index.d.ts +0 -0
- /package/{types/nzh → nzh}/src/autoGet.d.ts +0 -0
- /package/{types/nzh → nzh}/src/index.d.ts +0 -0
- /package/{types/nzh → nzh}/src/langs/cn_b.d.ts +0 -0
- /package/{types/nzh → nzh}/src/langs/cn_s.d.ts +0 -0
- /package/{types/nzh → nzh}/src/langs/hk_b.d.ts +0 -0
- /package/{types/nzh → nzh}/src/langs/hk_s.d.ts +0 -0
- /package/{types/nzh → nzh}/src/utils.d.ts +0 -0
- /package/{types/pinyin/src → pinyin}/core.d.ts +0 -0
- /package/{types/pinyin/src → pinyin}/simplified.d.ts +0 -0
- /package/{types/pinyin/src → pinyin}/simplified_dict.d.ts +0 -0
- /package/{types/pinyin/src → pinyin}/traditional.d.ts +0 -0
- /package/{types/pinyin/src → pinyin}/traditional_dict.d.ts +0 -0
- /package/{types/query-string → query-string}/splitOnFirst.d.ts +0 -0
- /package/{types/random → random}/address.d.ts +0 -0
- /package/{types/random → random}/constellation.d.ts +0 -0
- /package/{types/random → random}/image.d.ts +0 -0
- /package/{types/random → random}/licensePlate.d.ts +0 -0
- /package/{types/random → random}/name.d.ts +0 -0
- /package/{types/random → random}/number.d.ts +0 -0
- /package/{types/random → random}/text.d.ts +0 -0
- /package/{types/random → random}/time.d.ts +0 -0
- /package/{types/random → random}/web.d.ts +0 -0
- /package/{types/sanitize-url → sanitize-url}/index.d.ts +0 -0
- /package/{types/screenfull → screenfull}/index.d.ts +0 -0
- /package/{types/sleep → sleep}/index.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/api/snapdom.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/core/capture.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/core/clone.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/core/exporters.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/core/plugins.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/core/prepare.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/exporters/download.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/exporters/toBlob.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/exporters/toCanvas.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/exporters/toImg.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/exporters/toJpg.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/exporters/toPng.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/exporters/toSvg.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/exporters/toWebp.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/index.browser.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/index.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/modules/CSSVar.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/modules/background.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/modules/changeCSS.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/modules/counter.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/modules/iconFonts.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/modules/images.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/modules/pseudo.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/modules/rasterize.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/modules/snapFetch.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/modules/styles.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/modules/svgDefs.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/utils/css.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/utils/image.d.ts +0 -0
- /package/{types/snapdom/src → snapdom}/utils/transforms.helpers.d.ts +0 -0
- /package/{types/string → string}/chars.d.ts +0 -0
- /package/{types/tinycolor/src → tinycolor}/css-color-names.d.ts +0 -0
- /package/{types/tinycolor/src → tinycolor}/from-ratio.d.ts +0 -0
- /package/{types/tinycolor/src → tinycolor}/interfaces.d.ts +0 -0
- /package/{types/tinycolor/src → tinycolor}/public_api.d.ts +0 -0
- /package/{types/tinycolor/src → tinycolor}/random.d.ts +0 -0
- /package/{types/tinycolor/src → tinycolor}/umd_api.d.ts +0 -0
- /package/{types/tinycolor/src → tinycolor}/utils.d.ts +0 -0
- /package/{types/tree/search/index.d.ts → tree/searchTree.d.ts} +0 -0
- /package/{types/tween/src → tween}/easing.d.ts +0 -0
- /package/{types/tween/src → tween}/tween.d.ts +0 -0
- /package/{types/url-toolkit/src/url-toolkit.d.ts → url-toolkit/index.d.ts} +0 -0
- /package/{types/validate/src → validate}/index.d.ts +0 -0
- /package/{types/validate/src → validate}/interface.d.ts +0 -0
- /package/{types/validate/src → validate}/locale/en-US.d.ts +0 -0
- /package/{types/validate/src → validate}/locale/index.d.ts +0 -0
- /package/{types/validate/src → validate}/locale/zh-CN.d.ts +0 -0
- /package/{types/version → version}/index.d.ts +0 -0
- /package/{types/xlsx → xlsx}/crc32.d.ts +0 -0
- /package/{types/xlsx → xlsx}/xlsx.d.ts +0 -0
package/decimal/decimal.js
CHANGED
|
@@ -1,1064 +1,802 @@
|
|
|
1
|
-
/* 2026-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
}
|
|
147
|
-
d
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
d.
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
d.
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
d.
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
d.
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
t[s] = (t[s] + i) % R | 0;
|
|
382
|
-
}
|
|
383
|
-
for (; !t[--o]; ) t.pop();
|
|
384
|
-
return i ? ++n : t.shift(), e.d = t, e.e = re(t, n), m ? p(e, a.precision, a.rounding) : e;
|
|
385
|
-
};
|
|
386
|
-
d.toBinary = function(e, i) {
|
|
387
|
-
return he(this, 2, e, i);
|
|
388
|
-
};
|
|
389
|
-
d.toDecimalPlaces = d.toDP = function(e, i) {
|
|
390
|
-
var n = this, r = n.constructor;
|
|
391
|
-
return n = new r(n), e === void 0 ? n : (O(e, 0, V), i === void 0 ? i = r.rounding : O(i, 0, 8), p(n, e + n.e + 1, i));
|
|
392
|
-
};
|
|
393
|
-
d.toExponential = function(e, i) {
|
|
394
|
-
var n, r = this, s = r.constructor;
|
|
395
|
-
return e === void 0 ? n = Z(r, !0) : (O(e, 0, V), i === void 0 ? i = s.rounding : O(i, 0, 8), r = p(new s(r), e + 1, i), n = Z(r, !0, e + 1)), r.isNeg() && !r.isZero() ? "-" + n : n;
|
|
396
|
-
};
|
|
397
|
-
d.toFixed = function(e, i) {
|
|
398
|
-
var n, r, s = this, t = s.constructor;
|
|
399
|
-
return e === void 0 ? n = Z(s) : (O(e, 0, V), i === void 0 ? i = t.rounding : O(i, 0, 8), r = p(new t(s), e + s.e + 1, i), n = Z(r, !1, e + r.e + 1)), s.isNeg() && !s.isZero() ? "-" + n : n;
|
|
400
|
-
};
|
|
401
|
-
d.toFraction = function(e) {
|
|
402
|
-
var i, n, r, s, t, o, u, c, f, l, a, h, g = this, v = g.d, N = g.constructor;
|
|
403
|
-
if (!v) return new N(g);
|
|
404
|
-
if (f = n = new N(1), r = c = new N(0), i = new N(r), t = i.e = ke(v) - g.e - 1, o = t % w, i.d[0] = C(10, o < 0 ? w + o : o), e == null)
|
|
405
|
-
e = t > 0 ? i : f;
|
|
406
|
-
else {
|
|
407
|
-
if (u = new N(e), !u.isInt() || u.lt(f)) throw Error($ + u);
|
|
408
|
-
e = u.gt(i) ? t > 0 ? i : f : u;
|
|
409
|
-
}
|
|
410
|
-
for (m = !1, u = new N(P(v)), l = N.precision, N.precision = t = v.length * w * 2; a = k(u, i, 0, 1, 1), s = n.plus(a.times(r)), s.cmp(e) != 1; )
|
|
411
|
-
n = r, r = s, s = f, f = c.plus(a.times(s)), c = s, s = i, i = u.minus(a.times(s)), u = s;
|
|
412
|
-
return s = k(e.minus(n), r, 0, 1, 1), c = c.plus(s.times(f)), n = n.plus(s.times(r)), c.s = f.s = g.s, h = k(f, r, t, 1).minus(g).abs().cmp(k(c, n, t, 1).minus(g).abs()) < 1 ? [f, r] : [c, n], N.precision = l, m = !0, h;
|
|
413
|
-
};
|
|
414
|
-
d.toHexadecimal = d.toHex = function(e, i) {
|
|
415
|
-
return he(this, 16, e, i);
|
|
416
|
-
};
|
|
417
|
-
d.toNearest = function(e, i) {
|
|
418
|
-
var n = this, r = n.constructor;
|
|
419
|
-
if (n = new r(n), e == null) {
|
|
420
|
-
if (!n.d) return n;
|
|
421
|
-
e = new r(1), i = r.rounding;
|
|
422
|
-
} else {
|
|
423
|
-
if (e = new r(e), i === void 0 ? i = r.rounding : O(i, 0, 8), !n.d) return e.s ? n : e;
|
|
424
|
-
if (!e.d)
|
|
425
|
-
return e.s && (e.s = n.s), e;
|
|
426
|
-
}
|
|
427
|
-
return e.d[0] ? (m = !1, n = k(n, e, 0, i, 1).times(e), m = !0, p(n)) : (e.s = n.s, n = e), n;
|
|
428
|
-
};
|
|
429
|
-
d.toNumber = function() {
|
|
430
|
-
return +this;
|
|
431
|
-
};
|
|
432
|
-
d.toOctal = function(e, i) {
|
|
433
|
-
return he(this, 8, e, i);
|
|
434
|
-
};
|
|
435
|
-
d.toPower = d.pow = function(e) {
|
|
436
|
-
var i, n, r, s, t, o, u = this, c = u.constructor, f = +(e = new c(e));
|
|
437
|
-
if (!u.d || !e.d || !u.d[0] || !e.d[0]) return new c(C(+u, f));
|
|
438
|
-
if (u = new c(u), u.eq(1)) return u;
|
|
439
|
-
if (r = c.precision, t = c.rounding, e.eq(1)) return p(u, r, t);
|
|
440
|
-
if (i = L(e.e / w), i >= e.d.length - 1 && (n = f < 0 ? -f : f) <= Oe)
|
|
441
|
-
return s = Me(c, u, n, r), e.s < 0 ? new c(1).div(s) : p(s, r, t);
|
|
442
|
-
if (o = u.s, o < 0) {
|
|
443
|
-
if (i < e.d.length - 1) return new c(NaN);
|
|
444
|
-
if ((e.d[i] & 1) == 0 && (o = 1), u.e == 0 && u.d[0] == 1 && u.d.length == 1)
|
|
445
|
-
return u.s = o, u;
|
|
446
|
-
}
|
|
447
|
-
return n = C(+u, f), i = n == 0 || !isFinite(n) ? L(
|
|
448
|
-
f * (Math.log("0." + P(u.d)) / Math.LN10 + u.e + 1)
|
|
449
|
-
) : new c(n + "").e, i > c.maxE + 1 || i < c.minE - 1 ? new c(i > 0 ? o / 0 : 0) : (m = !1, c.rounding = u.s = 1, n = Math.min(12, (i + "").length), s = ae(e.times(H(u, r + n)), r), s.d && (s = p(s, r + 5, 1), J(s.d, r, t) && (i = r + 10, s = p(
|
|
450
|
-
ae(e.times(H(u, i + n)), i),
|
|
451
|
-
i + 5,
|
|
452
|
-
1
|
|
453
|
-
), +P(s.d).slice(r + 1, r + 15) + 1 == 1e14 && (s = p(s, r + 1, 0)))), s.s = o, m = !0, c.rounding = t, p(s, r, t));
|
|
454
|
-
};
|
|
455
|
-
d.toPrecision = function(e, i) {
|
|
456
|
-
var n, r = this, s = r.constructor;
|
|
457
|
-
return e === void 0 ? n = Z(r, r.e <= s.toExpNeg || r.e >= s.toExpPos) : (O(e, 1, V), i === void 0 ? i = s.rounding : O(i, 0, 8), r = p(new s(r), e, i), n = Z(r, e <= r.e || r.e <= s.toExpNeg, e)), r.isNeg() && !r.isZero() ? "-" + n : n;
|
|
458
|
-
};
|
|
459
|
-
d.toSignificantDigits = d.toSD = function(e, i) {
|
|
460
|
-
var n = this, r = n.constructor;
|
|
461
|
-
return e === void 0 ? (e = r.precision, i = r.rounding) : (O(e, 1, V), i === void 0 ? i = r.rounding : O(i, 0, 8)), p(new r(n), e, i);
|
|
462
|
-
};
|
|
463
|
-
d.toString = function() {
|
|
464
|
-
var e = this, i = e.constructor, n = Z(e, e.e <= i.toExpNeg || e.e >= i.toExpPos);
|
|
465
|
-
return e.isNeg() && !e.isZero() ? "-" + n : n;
|
|
466
|
-
};
|
|
467
|
-
d.truncated = d.trunc = function() {
|
|
468
|
-
return p(new this.constructor(this), this.e + 1, 1);
|
|
469
|
-
};
|
|
470
|
-
d.valueOf = d.toJSON = function() {
|
|
471
|
-
var e = this, i = e.constructor, n = Z(e, e.e <= i.toExpNeg || e.e >= i.toExpPos);
|
|
472
|
-
return e.isNeg() ? "-" + n : n;
|
|
473
|
-
};
|
|
474
|
-
function P(e) {
|
|
475
|
-
var i, n, r, s = e.length - 1, t = "", o = e[0];
|
|
476
|
-
if (s > 0) {
|
|
477
|
-
for (t += o, i = 1; i < s; i++)
|
|
478
|
-
r = e[i] + "", n = w - r.length, n && (t += B(n)), t += r;
|
|
479
|
-
o = e[i], r = o + "", n = w - r.length, n && (t += B(n));
|
|
480
|
-
} else if (o === 0)
|
|
481
|
-
return "0";
|
|
482
|
-
for (; o % 10 === 0; ) o /= 10;
|
|
483
|
-
return t + o;
|
|
484
|
-
}
|
|
485
|
-
function O(e, i, n) {
|
|
486
|
-
if (e !== ~~e || e < i || e > n)
|
|
487
|
-
throw Error($ + e);
|
|
488
|
-
}
|
|
489
|
-
function J(e, i, n, r) {
|
|
490
|
-
var s, t, o, u;
|
|
491
|
-
for (t = e[0]; t >= 10; t /= 10) --i;
|
|
492
|
-
return --i < 0 ? (i += w, s = 0) : (s = Math.ceil((i + 1) / w), i %= w), t = C(10, w - i), u = e[s] % t | 0, r == null ? i < 3 ? (i == 0 ? u = u / 100 | 0 : i == 1 && (u = u / 10 | 0), o = n < 4 && u == 99999 || n > 3 && u == 49999 || u == 5e4 || u == 0) : o = (n < 4 && u + 1 == t || n > 3 && u + 1 == t / 2) && (e[s + 1] / t / 100 | 0) == C(10, i - 2) - 1 || (u == t / 2 || u == 0) && (e[s + 1] / t / 100 | 0) == 0 : i < 4 ? (i == 0 ? u = u / 1e3 | 0 : i == 1 ? u = u / 100 | 0 : i == 2 && (u = u / 10 | 0), o = (r || n < 4) && u == 9999 || !r && n > 3 && u == 4999) : o = ((r || n < 4) && u + 1 == t || !r && n > 3 && u + 1 == t / 2) && (e[s + 1] / t / 1e3 | 0) == C(10, i - 3) - 1, o;
|
|
493
|
-
}
|
|
494
|
-
function z(e, i, n) {
|
|
495
|
-
for (var r, s = [0], t, o = 0, u = e.length; o < u; ) {
|
|
496
|
-
for (t = s.length; t--; ) s[t] *= i;
|
|
497
|
-
for (s[0] += fe.indexOf(e.charAt(o++)), r = 0; r < s.length; r++)
|
|
498
|
-
s[r] > n - 1 && (s[r + 1] === void 0 && (s[r + 1] = 0), s[r + 1] += s[r] / n | 0, s[r] %= n);
|
|
499
|
-
}
|
|
500
|
-
return s.reverse();
|
|
501
|
-
}
|
|
502
|
-
function Ie(e, i) {
|
|
503
|
-
var n, r, s;
|
|
504
|
-
if (i.isZero()) return i;
|
|
505
|
-
r = i.d.length, r < 32 ? (n = Math.ceil(r / 3), s = (1 / te(4, n)).toString()) : (n = 16, s = "2.3283064365386962890625e-10"), e.precision += n, i = W(e, 1, i.times(s), new e(1));
|
|
506
|
-
for (var t = n; t--; ) {
|
|
507
|
-
var o = i.times(i);
|
|
508
|
-
i = o.times(o).minus(o).times(8).plus(1);
|
|
509
|
-
}
|
|
510
|
-
return e.precision -= n, i;
|
|
511
|
-
}
|
|
512
|
-
var k = /* @__PURE__ */ (function() {
|
|
513
|
-
function e(r, s, t) {
|
|
514
|
-
var o, u = 0, c = r.length;
|
|
515
|
-
for (r = r.slice(); c--; )
|
|
516
|
-
o = r[c] * s + u, r[c] = o % t | 0, u = o / t | 0;
|
|
517
|
-
return u && r.unshift(u), r;
|
|
518
|
-
}
|
|
519
|
-
function i(r, s, t, o) {
|
|
520
|
-
var u, c;
|
|
521
|
-
if (t != o)
|
|
522
|
-
c = t > o ? 1 : -1;
|
|
523
|
-
else
|
|
524
|
-
for (u = c = 0; u < t; u++)
|
|
525
|
-
if (r[u] != s[u]) {
|
|
526
|
-
c = r[u] > s[u] ? 1 : -1;
|
|
527
|
-
break;
|
|
528
|
-
}
|
|
529
|
-
return c;
|
|
530
|
-
}
|
|
531
|
-
function n(r, s, t, o) {
|
|
532
|
-
for (var u = 0; t--; )
|
|
533
|
-
r[t] -= u, u = r[t] < s[t] ? 1 : 0, r[t] = u * o + r[t] - s[t];
|
|
534
|
-
for (; !r[0] && r.length > 1; ) r.shift();
|
|
535
|
-
}
|
|
536
|
-
return function(r, s, t, o, u, c) {
|
|
537
|
-
var f, l, a, h, g, v, N, F, q, D, E, S, K, U, se, Q, X, oe, I, Y, j = r.constructor, ue = r.s == s.s ? 1 : -1, A = r.d, M = s.d;
|
|
538
|
-
if (!A || !A[0] || !M || !M[0])
|
|
539
|
-
return new j(
|
|
540
|
-
// Return NaN if either NaN, or both Infinity or 0.
|
|
541
|
-
!r.s || !s.s || (A ? M && A[0] == M[0] : !M) ? NaN : (
|
|
542
|
-
// Return ±0 if x is 0 or y is ±Infinity, or return ±Infinity as y is 0.
|
|
543
|
-
A && A[0] == 0 || !M ? ue * 0 : ue / 0
|
|
544
|
-
)
|
|
545
|
-
);
|
|
546
|
-
for (c ? (g = 1, l = r.e - s.e) : (c = R, g = w, l = L(r.e / g) - L(s.e / g)), I = M.length, X = A.length, q = new j(ue), D = q.d = [], a = 0; M[a] == (A[a] || 0); a++) ;
|
|
547
|
-
if (M[a] > (A[a] || 0) && l--, t == null ? (U = t = j.precision, o = j.rounding) : u ? U = t + (r.e - s.e) + 1 : U = t, U < 0)
|
|
548
|
-
D.push(1), v = !0;
|
|
549
|
-
else {
|
|
550
|
-
if (U = U / g + 2 | 0, a = 0, I == 1) {
|
|
551
|
-
for (h = 0, M = M[0], U++; (a < X || h) && U--; a++)
|
|
552
|
-
se = h * c + (A[a] || 0), D[a] = se / M | 0, h = se % M | 0;
|
|
553
|
-
v = h || a < X;
|
|
554
|
-
} else {
|
|
555
|
-
for (h = c / (M[0] + 1) | 0, h > 1 && (M = e(M, h, c), A = e(A, h, c), I = M.length, X = A.length), Q = I, E = A.slice(0, I), S = E.length; S < I; ) E[S++] = 0;
|
|
556
|
-
Y = M.slice(), Y.unshift(0), oe = M[0], M[1] >= c / 2 && ++oe;
|
|
557
|
-
do
|
|
558
|
-
h = 0, f = i(M, E, I, S), f < 0 ? (K = E[0], I != S && (K = K * c + (E[1] || 0)), h = K / oe | 0, h > 1 ? (h >= c && (h = c - 1), N = e(M, h, c), F = N.length, S = E.length, f = i(N, E, F, S), f == 1 && (h--, n(N, I < F ? Y : M, F, c))) : (h == 0 && (f = h = 1), N = M.slice()), F = N.length, F < S && N.unshift(0), n(E, N, S, c), f == -1 && (S = E.length, f = i(M, E, I, S), f < 1 && (h++, n(E, I < S ? Y : M, S, c))), S = E.length) : f === 0 && (h++, E = [0]), D[a++] = h, f && E[0] ? E[S++] = A[Q] || 0 : (E = [A[Q]], S = 1);
|
|
559
|
-
while ((Q++ < X || E[0] !== void 0) && U--);
|
|
560
|
-
v = E[0] !== void 0;
|
|
561
|
-
}
|
|
562
|
-
D[0] || D.shift();
|
|
563
|
-
}
|
|
564
|
-
if (g == 1)
|
|
565
|
-
q.e = l, we = v;
|
|
566
|
-
else {
|
|
567
|
-
for (a = 1, h = D[0]; h >= 10; h /= 10) a++;
|
|
568
|
-
q.e = a + l * g - 1, p(q, u ? t + q.e + 1 : t, o, v);
|
|
569
|
-
}
|
|
570
|
-
return q;
|
|
571
|
-
};
|
|
1
|
+
/* 潘启宝 2026-04-03 14:06:50 星期五 */
|
|
2
|
+
//#region utils/decimal/decimal.js
|
|
3
|
+
var e = 9e15, t = 1e9, n = "0123456789abcdef", r = "2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058", i = "3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789", a = {
|
|
4
|
+
precision: 20,
|
|
5
|
+
rounding: 4,
|
|
6
|
+
modulo: 1,
|
|
7
|
+
toExpNeg: -7,
|
|
8
|
+
toExpPos: 21,
|
|
9
|
+
minE: -e,
|
|
10
|
+
maxE: e,
|
|
11
|
+
crypto: !1
|
|
12
|
+
}, o, s, c, l = !0, u = "[DecimalError] ", d = `${u}Invalid argument: `, f = `${u}Precision limit exceeded`, p = `${u}crypto unavailable`, m = "[object Decimal]", h = Math.floor, g = Math.pow, _ = /^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i, v = /^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i, y = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i, b = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, x = 1e7, S = 7, C = 9007199254740991, w = r.length - 1, T = i.length - 1, E = { toStringTag: m };
|
|
13
|
+
E.absoluteValue = E.abs = function() {
|
|
14
|
+
var e = new this.constructor(this);
|
|
15
|
+
return e.s < 0 && (e.s = 1), N(e);
|
|
16
|
+
}, E.ceil = function() {
|
|
17
|
+
return N(new this.constructor(this), this.e + 1, 2);
|
|
18
|
+
}, E.clampedTo = E.clamp = function(e, t) {
|
|
19
|
+
var n, r = this, i = r.constructor;
|
|
20
|
+
if (e = new i(e), t = new i(t), !e.s || !t.s) return new i(NaN);
|
|
21
|
+
if (e.gt(t)) throw Error(d + t);
|
|
22
|
+
return n = r.cmp(e), n < 0 ? e : r.cmp(t) > 0 ? t : new i(r);
|
|
23
|
+
}, E.comparedTo = E.cmp = function(e) {
|
|
24
|
+
var t, n, r, i, a = this, o = a.d, s = (e = new a.constructor(e)).d, c = a.s, l = e.s;
|
|
25
|
+
if (!o || !s) return !c || !l ? NaN : c === l ? o === s ? 0 : !o ^ c < 0 ? 1 : -1 : c;
|
|
26
|
+
if (!o[0] || !s[0]) return o[0] ? c : s[0] ? -l : 0;
|
|
27
|
+
if (c !== l) return c;
|
|
28
|
+
if (a.e !== e.e) return a.e > e.e ^ c < 0 ? 1 : -1;
|
|
29
|
+
for (r = o.length, i = s.length, t = 0, n = r < i ? r : i; t < n; ++t) if (o[t] !== s[t]) return o[t] > s[t] ^ c < 0 ? 1 : -1;
|
|
30
|
+
return r === i ? 0 : r > i ^ c < 0 ? 1 : -1;
|
|
31
|
+
}, E.cosine = E.cos = function() {
|
|
32
|
+
var e, t, n = this, r = n.constructor;
|
|
33
|
+
return n.d ? n.d[0] ? (e = r.precision, t = r.rounding, r.precision = e + Math.max(n.e, n.sd()) + S, r.rounding = 1, n = j(r, Y(r, n)), r.precision = e, r.rounding = t, N(c == 2 || c == 3 ? n.neg() : n, e, t, !0)) : new r(1) : new r(NaN);
|
|
34
|
+
}, E.cubeRoot = E.cbrt = function() {
|
|
35
|
+
var e, t, n, r, i, a, o, s, c, u, d = this, f = d.constructor;
|
|
36
|
+
if (!d.isFinite() || d.isZero()) return new f(d);
|
|
37
|
+
for (l = !1, a = d.s * g(d.s * d, 1 / 3), !a || Math.abs(a) == Infinity ? (n = D(d.d), e = d.e, (a = (e - n.length + 1) % 3) && (n += a == 1 || a == -2 ? "0" : "00"), a = g(n, 1 / 3), e = h((e + 1) / 3) - (e % 3 == (e < 0 ? -1 : 2)), a == Infinity ? n = "5e" + e : (n = a.toExponential(), n = n.slice(0, n.indexOf("e") + 1) + e), r = new f(n), r.s = d.s) : r = new f(a.toString()), o = (e = f.precision) + 3;;) if (s = r, c = s.times(s).times(s), u = c.plus(d), r = M(u.plus(d).times(s), u.plus(c), o + 2, 1), D(s.d).slice(0, o) === (n = D(r.d)).slice(0, o)) if (n = n.slice(o - 3, o + 1), n == "9999" || !i && n == "4999") {
|
|
38
|
+
if (!i && (N(s, e + 1, 0), s.times(s).times(s).eq(d))) {
|
|
39
|
+
r = s;
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
o += 4, i = 1;
|
|
43
|
+
} else {
|
|
44
|
+
(!+n || !+n.slice(1) && n.charAt(0) == "5") && (N(r, e + 1, 1), t = !r.times(r).times(r).eq(d));
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
return l = !0, N(r, e, f.rounding, t);
|
|
48
|
+
}, E.decimalPlaces = E.dp = function() {
|
|
49
|
+
var e, t = this.d, n = NaN;
|
|
50
|
+
if (t) {
|
|
51
|
+
if (e = t.length - 1, n = (e - h(this.e / S)) * S, e = t[e], e) for (; e % 10 == 0; e /= 10) n--;
|
|
52
|
+
n < 0 && (n = 0);
|
|
53
|
+
}
|
|
54
|
+
return n;
|
|
55
|
+
}, E.dividedBy = E.div = function(e) {
|
|
56
|
+
return M(this, new this.constructor(e));
|
|
57
|
+
}, E.dividedToIntegerBy = E.divToInt = function(e) {
|
|
58
|
+
var t = this, n = t.constructor;
|
|
59
|
+
return N(M(t, new n(e), 0, 1, 1), n.precision, n.rounding);
|
|
60
|
+
}, E.equals = E.eq = function(e) {
|
|
61
|
+
return this.cmp(e) === 0;
|
|
62
|
+
}, E.floor = function() {
|
|
63
|
+
return N(new this.constructor(this), this.e + 1, 3);
|
|
64
|
+
}, E.greaterThan = E.gt = function(e) {
|
|
65
|
+
return this.cmp(e) > 0;
|
|
66
|
+
}, E.greaterThanOrEqualTo = E.gte = function(e) {
|
|
67
|
+
var t = this.cmp(e);
|
|
68
|
+
return t == 1 || t === 0;
|
|
69
|
+
}, E.hyperbolicCosine = E.cosh = function() {
|
|
70
|
+
var e, t, n, r, i, a = this, o = a.constructor, s = new o(1);
|
|
71
|
+
if (!a.isFinite()) return new o(a.s ? Infinity : NaN);
|
|
72
|
+
if (a.isZero()) return s;
|
|
73
|
+
n = o.precision, r = o.rounding, o.precision = n + Math.max(a.e, a.sd()) + 4, o.rounding = 1, i = a.d.length, i < 32 ? (e = Math.ceil(i / 3), t = (1 / J(4, e)).toString()) : (e = 16, t = "2.3283064365386962890625e-10"), a = q(o, 1, a.times(t), new o(1), !0);
|
|
74
|
+
for (var c, l = e, u = new o(8); l--;) c = a.times(a), a = s.minus(c.times(u.minus(c.times(u))));
|
|
75
|
+
return N(a, o.precision = n, o.rounding = r, !0);
|
|
76
|
+
}, E.hyperbolicSine = E.sinh = function() {
|
|
77
|
+
var e, t, n, r, i = this, a = i.constructor;
|
|
78
|
+
if (!i.isFinite() || i.isZero()) return new a(i);
|
|
79
|
+
if (t = a.precision, n = a.rounding, a.precision = t + Math.max(i.e, i.sd()) + 4, a.rounding = 1, r = i.d.length, r < 3) i = q(a, 2, i, i, !0);
|
|
80
|
+
else {
|
|
81
|
+
e = 1.4 * Math.sqrt(r), e = e > 16 ? 16 : e | 0, i = i.times(1 / J(5, e)), i = q(a, 2, i, i, !0);
|
|
82
|
+
for (var o, s = new a(5), c = new a(16), l = new a(20); e--;) o = i.times(i), i = i.times(s.plus(o.times(c.times(o).plus(l))));
|
|
83
|
+
}
|
|
84
|
+
return a.precision = t, a.rounding = n, N(i, t, n, !0);
|
|
85
|
+
}, E.hyperbolicTangent = E.tanh = function() {
|
|
86
|
+
var e, t, n = this, r = n.constructor;
|
|
87
|
+
return n.isFinite() ? n.isZero() ? new r(n) : (e = r.precision, t = r.rounding, r.precision = e + 7, r.rounding = 1, M(n.sinh(), n.cosh(), r.precision = e, r.rounding = t)) : new r(n.s);
|
|
88
|
+
}, E.inverseCosine = E.acos = function() {
|
|
89
|
+
var e = this, t = e.constructor, n = e.abs().cmp(1), r = t.precision, i = t.rounding;
|
|
90
|
+
return n === -1 ? e.isZero() ? L(t, r + 4, i).times(.5) : (t.precision = r + 6, t.rounding = 1, e = new t(1).minus(e).div(e.plus(1)).sqrt().atan(), t.precision = r, t.rounding = i, e.times(2)) : n === 0 ? e.isNeg() ? L(t, r, i) : new t(0) : new t(NaN);
|
|
91
|
+
}, E.inverseHyperbolicCosine = E.acosh = function() {
|
|
92
|
+
var e, t, n = this, r = n.constructor;
|
|
93
|
+
return n.lte(1) ? new r(n.eq(1) ? 0 : NaN) : n.isFinite() ? (e = r.precision, t = r.rounding, r.precision = e + Math.max(Math.abs(n.e), n.sd()) + 4, r.rounding = 1, l = !1, n = n.times(n).minus(1).sqrt().plus(n), l = !0, r.precision = e, r.rounding = t, n.ln()) : new r(n);
|
|
94
|
+
}, E.inverseHyperbolicSine = E.asinh = function() {
|
|
95
|
+
var e, t, n = this, r = n.constructor;
|
|
96
|
+
return !n.isFinite() || n.isZero() ? new r(n) : (e = r.precision, t = r.rounding, r.precision = e + 2 * Math.max(Math.abs(n.e), n.sd()) + 6, r.rounding = 1, l = !1, n = n.times(n).plus(1).sqrt().plus(n), l = !0, r.precision = e, r.rounding = t, n.ln());
|
|
97
|
+
}, E.inverseHyperbolicTangent = E.atanh = function() {
|
|
98
|
+
var e, t, n, r, i = this, a = i.constructor;
|
|
99
|
+
return i.isFinite() ? i.e >= 0 ? new a(i.abs().eq(1) ? i.s / 0 : i.isZero() ? i : NaN) : (e = a.precision, t = a.rounding, r = i.sd(), Math.max(r, e) < 2 * -i.e - 1 ? N(new a(i), e, t, !0) : (a.precision = n = r - i.e, i = M(i.plus(1), new a(1).minus(i), n + e, 1), a.precision = e + 4, a.rounding = 1, i = i.ln(), a.precision = e, a.rounding = t, i.times(.5))) : new a(NaN);
|
|
100
|
+
}, E.inverseSine = E.asin = function() {
|
|
101
|
+
var e, t, n, r, i = this, a = i.constructor;
|
|
102
|
+
return i.isZero() ? new a(i) : (t = i.abs().cmp(1), n = a.precision, r = a.rounding, t === -1 ? (a.precision = n + 6, a.rounding = 1, i = i.div(new a(1).minus(i.times(i)).sqrt().plus(1)).atan(), a.precision = n, a.rounding = r, i.times(2)) : t === 0 ? (e = L(a, n + 4, r).times(.5), e.s = i.s, e) : new a(NaN));
|
|
103
|
+
}, E.inverseTangent = E.atan = function() {
|
|
104
|
+
var e, t, n, r, i, a, o, s, c, u = this, d = u.constructor, f = d.precision, p = d.rounding;
|
|
105
|
+
if (!u.isFinite()) {
|
|
106
|
+
if (!u.s) return new d(NaN);
|
|
107
|
+
if (f + 4 <= T) return o = L(d, f + 4, p).times(.5), o.s = u.s, o;
|
|
108
|
+
} else if (u.isZero()) return new d(u);
|
|
109
|
+
else if (u.abs().eq(1) && f + 4 <= T) return o = L(d, f + 4, p).times(.25), o.s = u.s, o;
|
|
110
|
+
for (d.precision = s = f + 10, d.rounding = 1, n = Math.min(28, s / S + 2 | 0), e = n; e; --e) u = u.div(u.times(u).plus(1).sqrt().plus(1));
|
|
111
|
+
for (l = !1, t = Math.ceil(s / S), r = 1, c = u.times(u), o = new d(u), i = u; e !== -1;) if (i = i.times(c), a = o.minus(i.div(r += 2)), i = i.times(c), o = a.plus(i.div(r += 2)), o.d[t] !== void 0) for (e = t; o.d[e] === a.d[e] && e--;);
|
|
112
|
+
return n && (o = o.times(2 << n - 1)), l = !0, N(o, d.precision = f, d.rounding = p, !0);
|
|
113
|
+
}, E.isFinite = function() {
|
|
114
|
+
return !!this.d;
|
|
115
|
+
}, E.isInteger = E.isInt = function() {
|
|
116
|
+
return !!this.d && h(this.e / S) > this.d.length - 2;
|
|
117
|
+
}, E.isNaN = function() {
|
|
118
|
+
return !this.s;
|
|
119
|
+
}, E.isNegative = E.isNeg = function() {
|
|
120
|
+
return this.s < 0;
|
|
121
|
+
}, E.isPositive = E.isPos = function() {
|
|
122
|
+
return this.s > 0;
|
|
123
|
+
}, E.isZero = function() {
|
|
124
|
+
return !!this.d && this.d[0] === 0;
|
|
125
|
+
}, E.lessThan = E.lt = function(e) {
|
|
126
|
+
return this.cmp(e) < 0;
|
|
127
|
+
}, E.lessThanOrEqualTo = E.lte = function(e) {
|
|
128
|
+
return this.cmp(e) < 1;
|
|
129
|
+
}, E.logarithm = E.log = function(e) {
|
|
130
|
+
var t, n, r, i, a, o, s, c, u = this, d = u.constructor, f = d.precision, p = d.rounding, m = 5;
|
|
131
|
+
if (e == null) e = new d(10), t = !0;
|
|
132
|
+
else {
|
|
133
|
+
if (e = new d(e), n = e.d, e.s < 0 || !n || !n[0] || e.eq(1)) return new d(NaN);
|
|
134
|
+
t = e.eq(10);
|
|
135
|
+
}
|
|
136
|
+
if (n = u.d, u.s < 0 || !n || !n[0] || u.eq(1)) return new d(n && !n[0] ? -Infinity : u.s == 1 ? n ? 0 : Infinity : NaN);
|
|
137
|
+
if (t) if (n.length > 1) a = !0;
|
|
138
|
+
else {
|
|
139
|
+
for (i = n[0]; i % 10 == 0;) i /= 10;
|
|
140
|
+
a = i !== 1;
|
|
141
|
+
}
|
|
142
|
+
if (l = !1, s = f + m, o = W(u, s), r = t ? I(d, s + 10) : W(e, s), c = M(o, r, s, 1), k(c.d, i = f, p)) do
|
|
143
|
+
if (s += 10, o = W(u, s), r = t ? I(d, s + 10) : W(e, s), c = M(o, r, s, 1), !a) {
|
|
144
|
+
+D(c.d).slice(i + 1, i + 15) + 1 == 0x5af3107a4000 && (c = N(c, f + 1, 0));
|
|
145
|
+
break;
|
|
146
|
+
}
|
|
147
|
+
while (k(c.d, i += 10, p));
|
|
148
|
+
return l = !0, N(c, f, p);
|
|
149
|
+
}, E.minus = E.sub = function(e) {
|
|
150
|
+
var t, n, r, i, a, o, s, c, u, d, f, p, m = this, g = m.constructor;
|
|
151
|
+
if (e = new g(e), !m.d || !e.d) return !m.s || !e.s ? e = new g(NaN) : m.d ? e.s = -e.s : e = new g(e.d || m.s !== e.s ? m : NaN), e;
|
|
152
|
+
if (m.s != e.s) return e.s = -e.s, m.plus(e);
|
|
153
|
+
if (u = m.d, p = e.d, s = g.precision, c = g.rounding, !u[0] || !p[0]) {
|
|
154
|
+
if (p[0]) e.s = -e.s;
|
|
155
|
+
else if (u[0]) e = new g(m);
|
|
156
|
+
else return new g(c === 3 ? -0 : 0);
|
|
157
|
+
return l ? N(e, s, c) : e;
|
|
158
|
+
}
|
|
159
|
+
if (n = h(e.e / S), d = h(m.e / S), u = u.slice(), a = d - n, a) {
|
|
160
|
+
for (f = a < 0, f ? (t = u, a = -a, o = p.length) : (t = p, n = d, o = u.length), r = Math.max(Math.ceil(s / S), o) + 2, a > r && (a = r, t.length = 1), t.reverse(), r = a; r--;) t.push(0);
|
|
161
|
+
t.reverse();
|
|
162
|
+
} else {
|
|
163
|
+
for (r = u.length, o = p.length, f = r < o, f && (o = r), r = 0; r < o; r++) if (u[r] != p[r]) {
|
|
164
|
+
f = u[r] < p[r];
|
|
165
|
+
break;
|
|
166
|
+
}
|
|
167
|
+
a = 0;
|
|
168
|
+
}
|
|
169
|
+
for (f && (t = u, u = p, p = t, e.s = -e.s), o = u.length, r = p.length - o; r > 0; --r) u[o++] = 0;
|
|
170
|
+
for (r = p.length; r > a;) {
|
|
171
|
+
if (u[--r] < p[r]) {
|
|
172
|
+
for (i = r; i && u[--i] === 0;) u[i] = x - 1;
|
|
173
|
+
--u[i], u[r] += x;
|
|
174
|
+
}
|
|
175
|
+
u[r] -= p[r];
|
|
176
|
+
}
|
|
177
|
+
for (; u[--o] === 0;) u.pop();
|
|
178
|
+
for (; u[0] === 0; u.shift()) --n;
|
|
179
|
+
return u[0] ? (e.d = u, e.e = F(u, n), l ? N(e, s, c) : e) : new g(c === 3 ? -0 : 0);
|
|
180
|
+
}, E.modulo = E.mod = function(e) {
|
|
181
|
+
var t, n = this, r = n.constructor;
|
|
182
|
+
return e = new r(e), !n.d || !e.s || e.d && !e.d[0] ? new r(NaN) : !e.d || n.d && !n.d[0] ? N(new r(n), r.precision, r.rounding) : (l = !1, r.modulo == 9 ? (t = M(n, e.abs(), 0, 3, 1), t.s *= e.s) : t = M(n, e, 0, r.modulo, 1), t = t.times(e), l = !0, n.minus(t));
|
|
183
|
+
}, E.naturalExponential = E.exp = function() {
|
|
184
|
+
return U(this);
|
|
185
|
+
}, E.naturalLogarithm = E.ln = function() {
|
|
186
|
+
return W(this);
|
|
187
|
+
}, E.negated = E.neg = function() {
|
|
188
|
+
var e = new this.constructor(this);
|
|
189
|
+
return e.s = -e.s, N(e);
|
|
190
|
+
}, E.plus = E.add = function(e) {
|
|
191
|
+
var t, n, r, i, a, o, s, c, u, d, f = this, p = f.constructor;
|
|
192
|
+
if (e = new p(e), !f.d || !e.d) return !f.s || !e.s ? e = new p(NaN) : f.d || (e = new p(e.d || f.s === e.s ? f : NaN)), e;
|
|
193
|
+
if (f.s != e.s) return e.s = -e.s, f.minus(e);
|
|
194
|
+
if (u = f.d, d = e.d, s = p.precision, c = p.rounding, !u[0] || !d[0]) return d[0] || (e = new p(f)), l ? N(e, s, c) : e;
|
|
195
|
+
if (a = h(f.e / S), r = h(e.e / S), u = u.slice(), i = a - r, i) {
|
|
196
|
+
for (i < 0 ? (n = u, i = -i, o = d.length) : (n = d, r = a, o = u.length), a = Math.ceil(s / S), o = a > o ? a + 1 : o + 1, i > o && (i = o, n.length = 1), n.reverse(); i--;) n.push(0);
|
|
197
|
+
n.reverse();
|
|
198
|
+
}
|
|
199
|
+
for (o = u.length, i = d.length, o - i < 0 && (i = o, n = d, d = u, u = n), t = 0; i;) t = (u[--i] = u[i] + d[i] + t) / x | 0, u[i] %= x;
|
|
200
|
+
for (t && (u.unshift(t), ++r), o = u.length; u[--o] == 0;) u.pop();
|
|
201
|
+
return e.d = u, e.e = F(u, r), l ? N(e, s, c) : e;
|
|
202
|
+
}, E.precision = E.sd = function(e) {
|
|
203
|
+
var t, n = this;
|
|
204
|
+
if (e !== void 0 && e !== !!e && e !== 1 && e !== 0) throw Error(d + e);
|
|
205
|
+
return n.d ? (t = R(n.d), e && n.e + 1 > t && (t = n.e + 1)) : t = NaN, t;
|
|
206
|
+
}, E.round = function() {
|
|
207
|
+
var e = this, t = e.constructor;
|
|
208
|
+
return N(new t(e), e.e + 1, t.rounding);
|
|
209
|
+
}, E.sine = E.sin = function() {
|
|
210
|
+
var e, t, n = this, r = n.constructor;
|
|
211
|
+
return n.isFinite() ? n.isZero() ? new r(n) : (e = r.precision, t = r.rounding, r.precision = e + Math.max(n.e, n.sd()) + S, r.rounding = 1, n = te(r, Y(r, n)), r.precision = e, r.rounding = t, N(c > 2 ? n.neg() : n, e, t, !0)) : new r(NaN);
|
|
212
|
+
}, E.squareRoot = E.sqrt = function() {
|
|
213
|
+
var e, t, n, r, i, a, o = this, s = o.d, c = o.e, u = o.s, d = o.constructor;
|
|
214
|
+
if (u !== 1 || !s || !s[0]) return new d(!u || u < 0 && (!s || s[0]) ? NaN : s ? o : Infinity);
|
|
215
|
+
for (l = !1, u = Math.sqrt(+o), u == 0 || u == Infinity ? (t = D(s), (t.length + c) % 2 == 0 && (t += "0"), u = Math.sqrt(t), c = h((c + 1) / 2) - (c < 0 || c % 2), u == Infinity ? t = "5e" + c : (t = u.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + c), r = new d(t)) : r = new d(u.toString()), n = (c = d.precision) + 3;;) if (a = r, r = a.plus(M(o, a, n + 2, 1)).times(.5), D(a.d).slice(0, n) === (t = D(r.d)).slice(0, n)) if (t = t.slice(n - 3, n + 1), t == "9999" || !i && t == "4999") {
|
|
216
|
+
if (!i && (N(a, c + 1, 0), a.times(a).eq(o))) {
|
|
217
|
+
r = a;
|
|
218
|
+
break;
|
|
219
|
+
}
|
|
220
|
+
n += 4, i = 1;
|
|
221
|
+
} else {
|
|
222
|
+
(!+t || !+t.slice(1) && t.charAt(0) == "5") && (N(r, c + 1, 1), e = !r.times(r).eq(o));
|
|
223
|
+
break;
|
|
224
|
+
}
|
|
225
|
+
return l = !0, N(r, c, d.rounding, e);
|
|
226
|
+
}, E.tangent = E.tan = function() {
|
|
227
|
+
var e, t, n = this, r = n.constructor;
|
|
228
|
+
return n.isFinite() ? n.isZero() ? new r(n) : (e = r.precision, t = r.rounding, r.precision = e + 10, r.rounding = 1, n = n.sin(), n.s = 1, n = M(n, new r(1).minus(n.times(n)).sqrt(), e + 10, 0), r.precision = e, r.rounding = t, N(c == 2 || c == 4 ? n.neg() : n, e, t, !0)) : new r(NaN);
|
|
229
|
+
}, E.times = E.mul = function(e) {
|
|
230
|
+
var t, n, r, i, a, o, s, c, u, d = this, f = d.constructor, p = d.d, m = (e = new f(e)).d;
|
|
231
|
+
if (e.s *= d.s, !p || !p[0] || !m || !m[0]) return new f(!e.s || p && !p[0] && !m || m && !m[0] && !p ? NaN : !p || !m ? e.s / 0 : e.s * 0);
|
|
232
|
+
for (n = h(d.e / S) + h(e.e / S), c = p.length, u = m.length, c < u && (a = p, p = m, m = a, o = c, c = u, u = o), a = [], o = c + u, r = o; r--;) a.push(0);
|
|
233
|
+
for (r = u; --r >= 0;) {
|
|
234
|
+
for (t = 0, i = c + r; i > r;) s = a[i] + m[r] * p[i - r - 1] + t, a[i--] = s % x | 0, t = s / x | 0;
|
|
235
|
+
a[i] = (a[i] + t) % x | 0;
|
|
236
|
+
}
|
|
237
|
+
for (; !a[--o];) a.pop();
|
|
238
|
+
return t ? ++n : a.shift(), e.d = a, e.e = F(a, n), l ? N(e, f.precision, f.rounding) : e;
|
|
239
|
+
}, E.toBinary = function(e, t) {
|
|
240
|
+
return X(this, 2, e, t);
|
|
241
|
+
}, E.toDecimalPlaces = E.toDP = function(e, n) {
|
|
242
|
+
var r = this, i = r.constructor;
|
|
243
|
+
return r = new i(r), e === void 0 ? r : (O(e, 0, t), n === void 0 ? n = i.rounding : O(n, 0, 8), N(r, e + r.e + 1, n));
|
|
244
|
+
}, E.toExponential = function(e, n) {
|
|
245
|
+
var r, i = this, a = i.constructor;
|
|
246
|
+
return e === void 0 ? r = P(i, !0) : (O(e, 0, t), n === void 0 ? n = a.rounding : O(n, 0, 8), i = N(new a(i), e + 1, n), r = P(i, !0, e + 1)), i.isNeg() && !i.isZero() ? "-" + r : r;
|
|
247
|
+
}, E.toFixed = function(e, n) {
|
|
248
|
+
var r, i, a = this, o = a.constructor;
|
|
249
|
+
return e === void 0 ? r = P(a) : (O(e, 0, t), n === void 0 ? n = o.rounding : O(n, 0, 8), i = N(new o(a), e + a.e + 1, n), r = P(i, !1, e + i.e + 1)), a.isNeg() && !a.isZero() ? "-" + r : r;
|
|
250
|
+
}, E.toFraction = function(e) {
|
|
251
|
+
var t, n, r, i, a, o, s, c, u, f, p, m, h = this, _ = h.d, v = h.constructor;
|
|
252
|
+
if (!_) return new v(h);
|
|
253
|
+
if (u = n = new v(1), r = c = new v(0), t = new v(r), a = t.e = R(_) - h.e - 1, o = a % S, t.d[0] = g(10, o < 0 ? S + o : o), e == null) e = a > 0 ? t : u;
|
|
254
|
+
else {
|
|
255
|
+
if (s = new v(e), !s.isInt() || s.lt(u)) throw Error(d + s);
|
|
256
|
+
e = s.gt(t) ? a > 0 ? t : u : s;
|
|
257
|
+
}
|
|
258
|
+
for (l = !1, s = new v(D(_)), f = v.precision, v.precision = a = _.length * S * 2; p = M(s, t, 0, 1, 1), i = n.plus(p.times(r)), i.cmp(e) != 1;) n = r, r = i, i = u, u = c.plus(p.times(i)), c = i, i = t, t = s.minus(p.times(i)), s = i;
|
|
259
|
+
return i = M(e.minus(n), r, 0, 1, 1), c = c.plus(i.times(u)), n = n.plus(i.times(r)), c.s = u.s = h.s, m = M(u, r, a, 1).minus(h).abs().cmp(M(c, n, a, 1).minus(h).abs()) < 1 ? [u, r] : [c, n], v.precision = f, l = !0, m;
|
|
260
|
+
}, E.toHexadecimal = E.toHex = function(e, t) {
|
|
261
|
+
return X(this, 16, e, t);
|
|
262
|
+
}, E.toNearest = function(e, t) {
|
|
263
|
+
var n = this, r = n.constructor;
|
|
264
|
+
if (n = new r(n), e == null) {
|
|
265
|
+
if (!n.d) return n;
|
|
266
|
+
e = new r(1), t = r.rounding;
|
|
267
|
+
} else {
|
|
268
|
+
if (e = new r(e), t === void 0 ? t = r.rounding : O(t, 0, 8), !n.d) return e.s ? n : e;
|
|
269
|
+
if (!e.d) return e.s &&= n.s, e;
|
|
270
|
+
}
|
|
271
|
+
return e.d[0] ? (l = !1, n = M(n, e, 0, t, 1).times(e), l = !0, N(n)) : (e.s = n.s, n = e), n;
|
|
272
|
+
}, E.toNumber = function() {
|
|
273
|
+
return +this;
|
|
274
|
+
}, E.toOctal = function(e, t) {
|
|
275
|
+
return X(this, 8, e, t);
|
|
276
|
+
}, E.toPower = E.pow = function(e) {
|
|
277
|
+
var t, n, r, i, a, o, s = this, c = s.constructor, u = +(e = new c(e));
|
|
278
|
+
if (!s.d || !e.d || !s.d[0] || !e.d[0]) return new c(g(+s, u));
|
|
279
|
+
if (s = new c(s), s.eq(1)) return s;
|
|
280
|
+
if (r = c.precision, a = c.rounding, e.eq(1)) return N(s, r, a);
|
|
281
|
+
if (t = h(e.e / S), t >= e.d.length - 1 && (n = u < 0 ? -u : u) <= C) return i = B(c, s, n, r), e.s < 0 ? new c(1).div(i) : N(i, r, a);
|
|
282
|
+
if (o = s.s, o < 0) {
|
|
283
|
+
if (t < e.d.length - 1) return new c(NaN);
|
|
284
|
+
if (e.d[t] & 1 || (o = 1), s.e == 0 && s.d[0] == 1 && s.d.length == 1) return s.s = o, s;
|
|
285
|
+
}
|
|
286
|
+
return n = g(+s, u), t = n == 0 || !isFinite(n) ? h(u * (Math.log("0." + D(s.d)) / Math.LN10 + s.e + 1)) : new c(n + "").e, t > c.maxE + 1 || t < c.minE - 1 ? new c(t > 0 ? o / 0 : 0) : (l = !1, c.rounding = s.s = 1, n = Math.min(12, (t + "").length), i = U(e.times(W(s, r + n)), r), i.d && (i = N(i, r + 5, 1), k(i.d, r, a) && (t = r + 10, i = N(U(e.times(W(s, t + n)), t), t + 5, 1), +D(i.d).slice(r + 1, r + 15) + 1 == 0x5af3107a4000 && (i = N(i, r + 1, 0)))), i.s = o, l = !0, c.rounding = a, N(i, r, a));
|
|
287
|
+
}, E.toPrecision = function(e, n) {
|
|
288
|
+
var r, i = this, a = i.constructor;
|
|
289
|
+
return e === void 0 ? r = P(i, i.e <= a.toExpNeg || i.e >= a.toExpPos) : (O(e, 1, t), n === void 0 ? n = a.rounding : O(n, 0, 8), i = N(new a(i), e, n), r = P(i, e <= i.e || i.e <= a.toExpNeg, e)), i.isNeg() && !i.isZero() ? "-" + r : r;
|
|
290
|
+
}, E.toSignificantDigits = E.toSD = function(e, n) {
|
|
291
|
+
var r = this, i = r.constructor;
|
|
292
|
+
return e === void 0 ? (e = i.precision, n = i.rounding) : (O(e, 1, t), n === void 0 ? n = i.rounding : O(n, 0, 8)), N(new i(r), e, n);
|
|
293
|
+
}, E.toString = function() {
|
|
294
|
+
var e = this, t = e.constructor, n = P(e, e.e <= t.toExpNeg || e.e >= t.toExpPos);
|
|
295
|
+
return e.isNeg() && !e.isZero() ? "-" + n : n;
|
|
296
|
+
}, E.truncated = E.trunc = function() {
|
|
297
|
+
return N(new this.constructor(this), this.e + 1, 1);
|
|
298
|
+
}, E.valueOf = E.toJSON = function() {
|
|
299
|
+
var e = this, t = e.constructor, n = P(e, e.e <= t.toExpNeg || e.e >= t.toExpPos);
|
|
300
|
+
return e.isNeg() ? "-" + n : n;
|
|
301
|
+
};
|
|
302
|
+
function D(e) {
|
|
303
|
+
var t, n, r, i = e.length - 1, a = "", o = e[0];
|
|
304
|
+
if (i > 0) {
|
|
305
|
+
for (a += o, t = 1; t < i; t++) r = e[t] + "", n = S - r.length, n && (a += z(n)), a += r;
|
|
306
|
+
o = e[t], r = o + "", n = S - r.length, n && (a += z(n));
|
|
307
|
+
} else if (o === 0) return "0";
|
|
308
|
+
for (; o % 10 == 0;) o /= 10;
|
|
309
|
+
return a + o;
|
|
310
|
+
}
|
|
311
|
+
function O(e, t, n) {
|
|
312
|
+
if (e !== ~~e || e < t || e > n) throw Error(d + e);
|
|
313
|
+
}
|
|
314
|
+
function k(e, t, n, r) {
|
|
315
|
+
var i, a, o, s;
|
|
316
|
+
for (a = e[0]; a >= 10; a /= 10) --t;
|
|
317
|
+
return --t < 0 ? (t += S, i = 0) : (i = Math.ceil((t + 1) / S), t %= S), a = g(10, S - t), s = e[i] % a | 0, r == null ? t < 3 ? (t == 0 ? s = s / 100 | 0 : t == 1 && (s = s / 10 | 0), o = n < 4 && s == 99999 || n > 3 && s == 49999 || s == 5e4 || s == 0) : o = (n < 4 && s + 1 == a || n > 3 && s + 1 == a / 2) && (e[i + 1] / a / 100 | 0) == g(10, t - 2) - 1 || (s == a / 2 || s == 0) && (e[i + 1] / a / 100 | 0) == 0 : t < 4 ? (t == 0 ? s = s / 1e3 | 0 : t == 1 ? s = s / 100 | 0 : t == 2 && (s = s / 10 | 0), o = (r || n < 4) && s == 9999 || !r && n > 3 && s == 4999) : o = ((r || n < 4) && s + 1 == a || !r && n > 3 && s + 1 == a / 2) && (e[i + 1] / a / 1e3 | 0) == g(10, t - 3) - 1, o;
|
|
318
|
+
}
|
|
319
|
+
function A(e, t, r) {
|
|
320
|
+
for (var i, a = [0], o, s = 0, c = e.length; s < c;) {
|
|
321
|
+
for (o = a.length; o--;) a[o] *= t;
|
|
322
|
+
for (a[0] += n.indexOf(e.charAt(s++)), i = 0; i < a.length; i++) a[i] > r - 1 && (a[i + 1] === void 0 && (a[i + 1] = 0), a[i + 1] += a[i] / r | 0, a[i] %= r);
|
|
323
|
+
}
|
|
324
|
+
return a.reverse();
|
|
325
|
+
}
|
|
326
|
+
function j(e, t) {
|
|
327
|
+
var n, r, i;
|
|
328
|
+
if (t.isZero()) return t;
|
|
329
|
+
r = t.d.length, r < 32 ? (n = Math.ceil(r / 3), i = (1 / J(4, n)).toString()) : (n = 16, i = "2.3283064365386962890625e-10"), e.precision += n, t = q(e, 1, t.times(i), new e(1));
|
|
330
|
+
for (var a = n; a--;) {
|
|
331
|
+
var o = t.times(t);
|
|
332
|
+
t = o.times(o).minus(o).times(8).plus(1);
|
|
333
|
+
}
|
|
334
|
+
return e.precision -= n, t;
|
|
335
|
+
}
|
|
336
|
+
var M = (function() {
|
|
337
|
+
function e(e, t, n) {
|
|
338
|
+
var r, i = 0, a = e.length;
|
|
339
|
+
for (e = e.slice(); a--;) r = e[a] * t + i, e[a] = r % n | 0, i = r / n | 0;
|
|
340
|
+
return i && e.unshift(i), e;
|
|
341
|
+
}
|
|
342
|
+
function t(e, t, n, r) {
|
|
343
|
+
var i, a;
|
|
344
|
+
if (n != r) a = n > r ? 1 : -1;
|
|
345
|
+
else for (i = a = 0; i < n; i++) if (e[i] != t[i]) {
|
|
346
|
+
a = e[i] > t[i] ? 1 : -1;
|
|
347
|
+
break;
|
|
348
|
+
}
|
|
349
|
+
return a;
|
|
350
|
+
}
|
|
351
|
+
function n(e, t, n, r) {
|
|
352
|
+
for (var i = 0; n--;) e[n] -= i, i = e[n] < t[n] ? 1 : 0, e[n] = i * r + e[n] - t[n];
|
|
353
|
+
for (; !e[0] && e.length > 1;) e.shift();
|
|
354
|
+
}
|
|
355
|
+
return function(r, i, a, o, c, l) {
|
|
356
|
+
var u, d, f, p, m, g, _, v, y, b, C, w, T, E, D, O, k, A, j, M, P = r.constructor, F = r.s == i.s ? 1 : -1, I = r.d, L = i.d;
|
|
357
|
+
if (!I || !I[0] || !L || !L[0]) return new P(!r.s || !i.s || (I ? L && I[0] == L[0] : !L) ? NaN : I && I[0] == 0 || !L ? F * 0 : F / 0);
|
|
358
|
+
for (l ? (m = 1, d = r.e - i.e) : (l = x, m = S, d = h(r.e / m) - h(i.e / m)), j = L.length, k = I.length, y = new P(F), b = y.d = [], f = 0; L[f] == (I[f] || 0); f++);
|
|
359
|
+
if (L[f] > (I[f] || 0) && d--, a == null ? (E = a = P.precision, o = P.rounding) : E = c ? a + (r.e - i.e) + 1 : a, E < 0) b.push(1), g = !0;
|
|
360
|
+
else {
|
|
361
|
+
if (E = E / m + 2 | 0, f = 0, j == 1) {
|
|
362
|
+
for (p = 0, L = L[0], E++; (f < k || p) && E--; f++) D = p * l + (I[f] || 0), b[f] = D / L | 0, p = D % L | 0;
|
|
363
|
+
g = p || f < k;
|
|
364
|
+
} else {
|
|
365
|
+
for (p = l / (L[0] + 1) | 0, p > 1 && (L = e(L, p, l), I = e(I, p, l), j = L.length, k = I.length), O = j, C = I.slice(0, j), w = C.length; w < j;) C[w++] = 0;
|
|
366
|
+
M = L.slice(), M.unshift(0), A = L[0], L[1] >= l / 2 && ++A;
|
|
367
|
+
do
|
|
368
|
+
p = 0, u = t(L, C, j, w), u < 0 ? (T = C[0], j != w && (T = T * l + (C[1] || 0)), p = T / A | 0, p > 1 ? (p >= l && (p = l - 1), _ = e(L, p, l), v = _.length, w = C.length, u = t(_, C, v, w), u == 1 && (p--, n(_, j < v ? M : L, v, l))) : (p == 0 && (u = p = 1), _ = L.slice()), v = _.length, v < w && _.unshift(0), n(C, _, w, l), u == -1 && (w = C.length, u = t(L, C, j, w), u < 1 && (p++, n(C, j < w ? M : L, w, l))), w = C.length) : u === 0 && (p++, C = [0]), b[f++] = p, u && C[0] ? C[w++] = I[O] || 0 : (C = [I[O]], w = 1);
|
|
369
|
+
while ((O++ < k || C[0] !== void 0) && E--);
|
|
370
|
+
g = C[0] !== void 0;
|
|
371
|
+
}
|
|
372
|
+
b[0] || b.shift();
|
|
373
|
+
}
|
|
374
|
+
if (m == 1) y.e = d, s = g;
|
|
375
|
+
else {
|
|
376
|
+
for (f = 1, p = b[0]; p >= 10; p /= 10) f++;
|
|
377
|
+
y.e = f + d * m - 1, N(y, c ? a + y.e + 1 : a, o, g);
|
|
378
|
+
}
|
|
379
|
+
return y;
|
|
380
|
+
};
|
|
572
381
|
})();
|
|
573
|
-
function
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
}
|
|
627
|
-
function
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
382
|
+
function N(e, t, n, r) {
|
|
383
|
+
var i, a, o, s, c, u, d, f, p, m = e.constructor;
|
|
384
|
+
out: if (t != null) {
|
|
385
|
+
if (f = e.d, !f) return e;
|
|
386
|
+
for (i = 1, s = f[0]; s >= 10; s /= 10) i++;
|
|
387
|
+
if (a = t - i, a < 0) a += S, o = t, d = f[p = 0], c = d / g(10, i - o - 1) % 10 | 0;
|
|
388
|
+
else if (p = Math.ceil((a + 1) / S), s = f.length, p >= s) if (r) {
|
|
389
|
+
for (; s++ <= p;) f.push(0);
|
|
390
|
+
d = c = 0, i = 1, a %= S, o = a - S + 1;
|
|
391
|
+
} else break out;
|
|
392
|
+
else {
|
|
393
|
+
for (d = s = f[p], i = 1; s >= 10; s /= 10) i++;
|
|
394
|
+
a %= S, o = a - S + i, c = o < 0 ? 0 : d / g(10, i - o - 1) % 10 | 0;
|
|
395
|
+
}
|
|
396
|
+
if (r = r || t < 0 || f[p + 1] !== void 0 || (o < 0 ? d : d % g(10, i - o - 1)), u = n < 4 ? (c || r) && (n == 0 || n == (e.s < 0 ? 3 : 2)) : c > 5 || c == 5 && (n == 4 || r || n == 6 && (a > 0 ? o > 0 ? d / g(10, i - o) : 0 : f[p - 1]) % 10 & 1 || n == (e.s < 0 ? 8 : 7)), t < 1 || !f[0]) return f.length = 0, u ? (t -= e.e + 1, f[0] = g(10, (S - t % S) % S), e.e = -t || 0) : f[0] = e.e = 0, e;
|
|
397
|
+
if (a == 0 ? (f.length = p, s = 1, p--) : (f.length = p + 1, s = g(10, S - a), f[p] = o > 0 ? (d / g(10, i - o) % g(10, o) | 0) * s : 0), u) for (;;) if (p == 0) {
|
|
398
|
+
for (a = 1, o = f[0]; o >= 10; o /= 10) a++;
|
|
399
|
+
for (o = f[0] += s, s = 1; o >= 10; o /= 10) s++;
|
|
400
|
+
a != s && (e.e++, f[0] == x && (f[0] = 1));
|
|
401
|
+
break;
|
|
402
|
+
} else {
|
|
403
|
+
if (f[p] += s, f[p] != x) break;
|
|
404
|
+
f[p--] = 0, s = 1;
|
|
405
|
+
}
|
|
406
|
+
for (a = f.length; f[--a] === 0;) f.pop();
|
|
407
|
+
}
|
|
408
|
+
return l && (e.e > m.maxE ? (e.d = null, e.e = NaN) : e.e < m.minE && (e.e = 0, e.d = [0])), e;
|
|
409
|
+
}
|
|
410
|
+
function P(e, t, n) {
|
|
411
|
+
if (!e.isFinite()) return G(e);
|
|
412
|
+
var r, i = e.e, a = D(e.d), o = a.length;
|
|
413
|
+
return t ? (n && (r = n - o) > 0 ? a = a.charAt(0) + "." + a.slice(1) + z(r) : o > 1 && (a = a.charAt(0) + "." + a.slice(1)), a = a + (e.e < 0 ? "e" : "e+") + e.e) : i < 0 ? (a = "0." + z(-i - 1) + a, n && (r = n - o) > 0 && (a += z(r))) : i >= o ? (a += z(i + 1 - o), n && (r = n - i - 1) > 0 && (a = a + "." + z(r))) : ((r = i + 1) < o && (a = a.slice(0, r) + "." + a.slice(r)), n && (r = n - o) > 0 && (i + 1 === o && (a += "."), a += z(r))), a;
|
|
414
|
+
}
|
|
415
|
+
function F(e, t) {
|
|
416
|
+
var n = e[0];
|
|
417
|
+
for (t *= S; n >= 10; n /= 10) t++;
|
|
418
|
+
return t;
|
|
419
|
+
}
|
|
420
|
+
function I(e, t, n) {
|
|
421
|
+
if (t > w) throw l = !0, n && (e.precision = n), Error(f);
|
|
422
|
+
return N(new e(r), t, 1, !0);
|
|
423
|
+
}
|
|
424
|
+
function L(e, t, n) {
|
|
425
|
+
if (t > T) throw Error(f);
|
|
426
|
+
return N(new e(i), t, n, !0);
|
|
427
|
+
}
|
|
428
|
+
function R(e) {
|
|
429
|
+
var t = e.length - 1, n = t * S + 1;
|
|
430
|
+
if (t = e[t], t) {
|
|
431
|
+
for (; t % 10 == 0; t /= 10) n--;
|
|
432
|
+
for (t = e[0]; t >= 10; t /= 10) n++;
|
|
433
|
+
}
|
|
434
|
+
return n;
|
|
435
|
+
}
|
|
436
|
+
function z(e) {
|
|
437
|
+
for (var t = ""; e--;) t += "0";
|
|
438
|
+
return t;
|
|
439
|
+
}
|
|
440
|
+
function B(e, t, n, r) {
|
|
441
|
+
var i, a = new e(1), o = Math.ceil(r / S + 4);
|
|
442
|
+
for (l = !1;;) {
|
|
443
|
+
if (n % 2 && (a = a.times(t), Z(a.d, o) && (i = !0)), n = h(n / 2), n === 0) {
|
|
444
|
+
n = a.d.length - 1, i && a.d[n] === 0 && ++a.d[n];
|
|
445
|
+
break;
|
|
446
|
+
}
|
|
447
|
+
t = t.times(t), Z(t.d, o);
|
|
448
|
+
}
|
|
449
|
+
return l = !0, a;
|
|
450
|
+
}
|
|
451
|
+
function V(e) {
|
|
452
|
+
return e.d[e.d.length - 1] & 1;
|
|
453
|
+
}
|
|
454
|
+
function H(e, t, n) {
|
|
455
|
+
for (var r, i, a = new e(t[0]), o = 0; ++o < t.length;) {
|
|
456
|
+
if (i = new e(t[o]), !i.s) {
|
|
457
|
+
a = i;
|
|
458
|
+
break;
|
|
459
|
+
}
|
|
460
|
+
r = a.cmp(i), (r === n || r === 0 && a.s === n) && (a = i);
|
|
461
|
+
}
|
|
462
|
+
return a;
|
|
463
|
+
}
|
|
464
|
+
function U(e, t) {
|
|
465
|
+
var n, r, i, a, o, s, c, u = 0, d = 0, f = 0, p = e.constructor, m = p.rounding, h = p.precision;
|
|
466
|
+
if (!e.d || !e.d[0] || e.e > 17) return new p(e.d ? e.d[0] ? e.s < 0 ? 0 : Infinity : 1 : e.s ? e.s < 0 ? 0 : e : NaN);
|
|
467
|
+
for (t == null ? (l = !1, c = h) : c = t, s = new p(.03125); e.e > -2;) e = e.times(s), f += 5;
|
|
468
|
+
for (r = Math.log(g(2, f)) / Math.LN10 * 2 + 5 | 0, c += r, n = a = o = new p(1), p.precision = c;;) {
|
|
469
|
+
if (a = N(a.times(e), c, 1), n = n.times(++d), s = o.plus(M(a, n, c, 1)), D(s.d).slice(0, c) === D(o.d).slice(0, c)) {
|
|
470
|
+
for (i = f; i--;) o = N(o.times(o), c, 1);
|
|
471
|
+
if (t == null) if (u < 3 && k(o.d, c - r, m, u)) p.precision = c += 10, n = a = s = new p(1), d = 0, u++;
|
|
472
|
+
else return N(o, p.precision = h, m, l = !0);
|
|
473
|
+
else return p.precision = h, o;
|
|
474
|
+
}
|
|
475
|
+
o = s;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
function W(e, t) {
|
|
479
|
+
var n, r, i, a, o, s, c, u, d, f, p, m = 1, h = 10, g = e, _ = g.d, v = g.constructor, y = v.rounding, b = v.precision;
|
|
480
|
+
if (g.s < 0 || !_ || !_[0] || !g.e && _[0] == 1 && _.length == 1) return new v(_ && !_[0] ? -Infinity : g.s == 1 ? _ ? 0 : g : NaN);
|
|
481
|
+
if (t == null ? (l = !1, d = b) : d = t, v.precision = d += h, n = D(_), r = n.charAt(0), Math.abs(a = g.e) < 0x5543df729c000) {
|
|
482
|
+
for (; r < 7 && r != 1 || r == 1 && n.charAt(1) > 3;) g = g.times(e), n = D(g.d), r = n.charAt(0), m++;
|
|
483
|
+
a = g.e, r > 1 ? (g = new v("0." + n), a++) : g = new v(r + "." + n.slice(1));
|
|
484
|
+
} else return u = I(v, d + 2, b).times(a + ""), g = W(new v(r + "." + n.slice(1)), d - h).plus(u), v.precision = b, t == null ? N(g, b, y, l = !0) : g;
|
|
485
|
+
for (f = g, c = o = g = M(g.minus(1), g.plus(1), d, 1), p = N(g.times(g), d, 1), i = 3;;) {
|
|
486
|
+
if (o = N(o.times(p), d, 1), u = c.plus(M(o, new v(i), d, 1)), D(u.d).slice(0, d) === D(c.d).slice(0, d)) if (c = c.times(2), a !== 0 && (c = c.plus(I(v, d + 2, b).times(a + ""))), c = M(c, new v(m), d, 1), t == null) if (k(c.d, d - h, y, s)) v.precision = d += h, u = o = g = M(f.minus(1), f.plus(1), d, 1), p = N(g.times(g), d, 1), i = s = 1;
|
|
487
|
+
else return N(c, v.precision = b, y, l = !0);
|
|
488
|
+
else return v.precision = b, c;
|
|
489
|
+
c = u, i += 2;
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
function G(e) {
|
|
493
|
+
return String(e.s * e.s / 0);
|
|
494
|
+
}
|
|
495
|
+
function K(e, t) {
|
|
496
|
+
var n, r, i;
|
|
497
|
+
for ((n = t.indexOf(".")) > -1 && (t = t.replace(".", "")), (r = t.search(/e/i)) > 0 ? (n < 0 && (n = r), n += +t.slice(r + 1), t = t.substring(0, r)) : n < 0 && (n = t.length), r = 0; t.charCodeAt(r) === 48; r++);
|
|
498
|
+
for (i = t.length; t.charCodeAt(i - 1) === 48; --i);
|
|
499
|
+
if (t = t.slice(r, i), t) {
|
|
500
|
+
if (i -= r, e.e = n = n - r - 1, e.d = [], r = (n + 1) % S, n < 0 && (r += S), r < i) {
|
|
501
|
+
for (r && e.d.push(+t.slice(0, r)), i -= S; r < i;) e.d.push(+t.slice(r, r += S));
|
|
502
|
+
t = t.slice(r), r = S - t.length;
|
|
503
|
+
} else r -= i;
|
|
504
|
+
for (; r--;) t += "0";
|
|
505
|
+
e.d.push(+t), l && (e.e > e.constructor.maxE ? (e.d = null, e.e = NaN) : e.e < e.constructor.minE && (e.e = 0, e.d = [0]));
|
|
506
|
+
} else e.e = 0, e.d = [0];
|
|
507
|
+
return e;
|
|
508
|
+
}
|
|
509
|
+
function ee(e, t) {
|
|
510
|
+
var n, r, i, a, s, c, u, f, p;
|
|
511
|
+
if (t.indexOf("_") > -1) {
|
|
512
|
+
if (t = t.replace(/(\d)_(?=\d)/g, "$1"), b.test(t)) return K(e, t);
|
|
513
|
+
} else if (t === "Infinity" || t === "NaN") return +t || (e.s = NaN), e.e = NaN, e.d = null, e;
|
|
514
|
+
if (v.test(t)) n = 16, t = t.toLowerCase();
|
|
515
|
+
else if (_.test(t)) n = 2;
|
|
516
|
+
else if (y.test(t)) n = 8;
|
|
517
|
+
else throw Error(d + t);
|
|
518
|
+
for (a = t.search(/p/i), a > 0 ? (u = +t.slice(a + 1), t = t.substring(2, a)) : t = t.slice(2), a = t.indexOf("."), s = a >= 0, r = e.constructor, s && (t = t.replace(".", ""), c = t.length, a = c - a, i = B(r, new r(n), a, a * 2)), f = A(t, n, x), p = f.length - 1, a = p; f[a] === 0; --a) f.pop();
|
|
519
|
+
return a < 0 ? new r(e.s * 0) : (e.e = F(f, p), e.d = f, l = !1, s && (e = M(e, i, c * 4)), u && (e = e.times(Math.abs(u) < 54 ? g(2, u) : o.pow(2, u))), l = !0, e);
|
|
520
|
+
}
|
|
521
|
+
function te(e, t) {
|
|
522
|
+
var n, r = t.d.length;
|
|
523
|
+
if (r < 3) return t.isZero() ? t : q(e, 2, t, t);
|
|
524
|
+
n = 1.4 * Math.sqrt(r), n = n > 16 ? 16 : n | 0, t = t.times(1 / J(5, n)), t = q(e, 2, t, t);
|
|
525
|
+
for (var i, a = new e(5), o = new e(16), s = new e(20); n--;) i = t.times(t), t = t.times(a.plus(i.times(o.times(i).minus(s))));
|
|
526
|
+
return t;
|
|
527
|
+
}
|
|
528
|
+
function q(e, t, n, r, i) {
|
|
529
|
+
var a, o, s, c, u = 1, d = e.precision, f = Math.ceil(d / S);
|
|
530
|
+
for (l = !1, c = n.times(n), s = new e(r);;) {
|
|
531
|
+
if (o = M(s.times(c), new e(t++ * t++), d, 1), s = i ? r.plus(o) : r.minus(o), r = M(o.times(c), new e(t++ * t++), d, 1), o = s.plus(r), o.d[f] !== void 0) {
|
|
532
|
+
for (a = f; o.d[a] === s.d[a] && a--;);
|
|
533
|
+
if (a == -1) break;
|
|
534
|
+
}
|
|
535
|
+
a = s, s = r, r = o, o = a, u++;
|
|
536
|
+
}
|
|
537
|
+
return l = !0, o.d.length = f + 1, o;
|
|
538
|
+
}
|
|
539
|
+
function J(e, t) {
|
|
540
|
+
for (var n = e; --t;) n *= e;
|
|
541
|
+
return n;
|
|
542
|
+
}
|
|
543
|
+
function Y(e, t) {
|
|
544
|
+
var n, r = t.s < 0, i = L(e, e.precision, 1), a = i.times(.5);
|
|
545
|
+
if (t = t.abs(), t.lte(a)) return c = r ? 4 : 1, t;
|
|
546
|
+
if (n = t.divToInt(i), n.isZero()) c = r ? 3 : 2;
|
|
547
|
+
else {
|
|
548
|
+
if (t = t.minus(n.times(i)), t.lte(a)) return c = V(n) ? r ? 2 : 3 : r ? 4 : 1, t;
|
|
549
|
+
c = V(n) ? r ? 1 : 4 : r ? 3 : 2;
|
|
550
|
+
}
|
|
551
|
+
return t.minus(i).abs();
|
|
552
|
+
}
|
|
553
|
+
function X(e, r, i, a) {
|
|
554
|
+
var o, c, l, u, d, f, p, m, h, g = e.constructor, _ = i !== void 0;
|
|
555
|
+
if (_ ? (O(i, 1, t), a === void 0 ? a = g.rounding : O(a, 0, 8)) : (i = g.precision, a = g.rounding), !e.isFinite()) p = G(e);
|
|
556
|
+
else {
|
|
557
|
+
for (p = P(e), l = p.indexOf("."), _ ? (o = 2, r == 16 ? i = i * 4 - 3 : r == 8 && (i = i * 3 - 2)) : o = r, l >= 0 && (p = p.replace(".", ""), h = new g(1), h.e = p.length - l, h.d = A(P(h), 10, o), h.e = h.d.length), m = A(p, 10, o), c = d = m.length; m[--d] == 0;) m.pop();
|
|
558
|
+
if (!m[0]) p = _ ? "0p+0" : "0";
|
|
559
|
+
else {
|
|
560
|
+
if (l < 0 ? c-- : (e = new g(e), e.d = m, e.e = c, e = M(e, h, i, a, 0, o), m = e.d, c = e.e, f = s), l = m[i], u = o / 2, f ||= m[i + 1] !== void 0, f = a < 4 ? (l !== void 0 || f) && (a === 0 || a === (e.s < 0 ? 3 : 2)) : l > u || l === u && (a === 4 || f || a === 6 && m[i - 1] & 1 || a === (e.s < 0 ? 8 : 7)), m.length = i, f) for (; ++m[--i] > o - 1;) m[i] = 0, i || (++c, m.unshift(1));
|
|
561
|
+
for (d = m.length; !m[d - 1]; --d);
|
|
562
|
+
for (l = 0, p = ""; l < d; l++) p += n.charAt(m[l]);
|
|
563
|
+
if (_) {
|
|
564
|
+
if (d > 1) if (r == 16 || r == 8) {
|
|
565
|
+
for (l = r == 16 ? 4 : 3, --d; d % l; d++) p += "0";
|
|
566
|
+
for (m = A(p, o, r), d = m.length; !m[d - 1]; --d);
|
|
567
|
+
for (l = 1, p = "1."; l < d; l++) p += n.charAt(m[l]);
|
|
568
|
+
} else p = p.charAt(0) + "." + p.slice(1);
|
|
569
|
+
p = p + (c < 0 ? "p" : "p+") + c;
|
|
570
|
+
} else if (c < 0) {
|
|
571
|
+
for (; ++c;) p = "0" + p;
|
|
572
|
+
p = "0." + p;
|
|
573
|
+
} else if (++c > d) for (c -= d; c--;) p += "0";
|
|
574
|
+
else c < d && (p = p.slice(0, c) + "." + p.slice(c));
|
|
575
|
+
}
|
|
576
|
+
p = (r == 16 ? "0x" : r == 2 ? "0b" : r == 8 ? "0o" : "") + p;
|
|
577
|
+
}
|
|
578
|
+
return e.s < 0 ? "-" + p : p;
|
|
579
|
+
}
|
|
580
|
+
function Z(e, t) {
|
|
581
|
+
if (e.length > t) return e.length = t, !0;
|
|
582
|
+
}
|
|
583
|
+
function ne(e) {
|
|
584
|
+
return new this(e).abs();
|
|
585
|
+
}
|
|
586
|
+
function re(e) {
|
|
587
|
+
return new this(e).acos();
|
|
588
|
+
}
|
|
589
|
+
function ie(e) {
|
|
590
|
+
return new this(e).acosh();
|
|
591
|
+
}
|
|
592
|
+
function ae(e, t) {
|
|
593
|
+
return new this(e).plus(t);
|
|
594
|
+
}
|
|
595
|
+
function oe(e) {
|
|
596
|
+
return new this(e).asin();
|
|
597
|
+
}
|
|
598
|
+
function se(e) {
|
|
599
|
+
return new this(e).asinh();
|
|
600
|
+
}
|
|
601
|
+
function ce(e) {
|
|
602
|
+
return new this(e).atan();
|
|
603
|
+
}
|
|
604
|
+
function le(e) {
|
|
605
|
+
return new this(e).atanh();
|
|
606
|
+
}
|
|
607
|
+
function ue(e, t) {
|
|
608
|
+
e = new this(e), t = new this(t);
|
|
609
|
+
var n, r = this.precision, i = this.rounding, a = r + 4;
|
|
610
|
+
return !e.s || !t.s ? n = new this(NaN) : !e.d && !t.d ? (n = L(this, a, 1).times(t.s > 0 ? .25 : .75), n.s = e.s) : !t.d || e.isZero() ? (n = t.s < 0 ? L(this, r, i) : new this(0), n.s = e.s) : !e.d || t.isZero() ? (n = L(this, a, 1).times(.5), n.s = e.s) : t.s < 0 ? (this.precision = a, this.rounding = 1, n = this.atan(M(e, t, a, 1)), t = L(this, a, 1), this.precision = r, this.rounding = i, n = e.s < 0 ? n.minus(t) : n.plus(t)) : n = this.atan(M(e, t, a, 1)), n;
|
|
649
611
|
}
|
|
650
612
|
function de(e) {
|
|
651
|
-
|
|
652
|
-
}
|
|
653
|
-
function
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
613
|
+
return new this(e).cbrt();
|
|
614
|
+
}
|
|
615
|
+
function fe(e) {
|
|
616
|
+
return N(e = new this(e), e.e + 1, 2);
|
|
617
|
+
}
|
|
618
|
+
function pe(e, t, n) {
|
|
619
|
+
return new this(e).clamp(t, n);
|
|
620
|
+
}
|
|
621
|
+
function me(n) {
|
|
622
|
+
if (!n || typeof n != "object") throw Error(u + "Object expected");
|
|
623
|
+
var r, i, o, s = n.defaults === !0, c = [
|
|
624
|
+
"precision",
|
|
625
|
+
1,
|
|
626
|
+
t,
|
|
627
|
+
"rounding",
|
|
628
|
+
0,
|
|
629
|
+
8,
|
|
630
|
+
"toExpNeg",
|
|
631
|
+
-e,
|
|
632
|
+
0,
|
|
633
|
+
"toExpPos",
|
|
634
|
+
0,
|
|
635
|
+
e,
|
|
636
|
+
"maxE",
|
|
637
|
+
0,
|
|
638
|
+
e,
|
|
639
|
+
"minE",
|
|
640
|
+
-e,
|
|
641
|
+
0,
|
|
642
|
+
"modulo",
|
|
643
|
+
0,
|
|
644
|
+
9
|
|
645
|
+
];
|
|
646
|
+
for (r = 0; r < c.length; r += 3) if (i = c[r], s && (this[i] = a[i]), (o = n[i]) !== void 0) if (h(o) === o && o >= c[r + 1] && o <= c[r + 2]) this[i] = o;
|
|
647
|
+
else throw Error(d + i + ": " + o);
|
|
648
|
+
if (i = "crypto", s && (this[i] = a[i]), (o = n[i]) !== void 0) if (o === !0 || o === !1 || o === 0 || o === 1) if (o) if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes)) this[i] = !0;
|
|
649
|
+
else throw Error(p);
|
|
650
|
+
else this[i] = !1;
|
|
651
|
+
else throw Error(d + i + ": " + o);
|
|
652
|
+
return this;
|
|
653
|
+
}
|
|
654
|
+
function he(e) {
|
|
655
|
+
return new this(e).cos();
|
|
656
|
+
}
|
|
657
|
+
function ge(e) {
|
|
658
|
+
return new this(e).cosh();
|
|
659
|
+
}
|
|
660
|
+
function Q(e) {
|
|
661
|
+
var t, n, r;
|
|
662
|
+
function i(e) {
|
|
663
|
+
var t, n, r, a = this;
|
|
664
|
+
if (!(a instanceof i)) return new i(e);
|
|
665
|
+
if (a.constructor = i, $(e)) {
|
|
666
|
+
a.s = e.s, l ? !e.d || e.e > i.maxE ? (a.e = NaN, a.d = null) : e.e < i.minE ? (a.e = 0, a.d = [0]) : (a.e = e.e, a.d = e.d.slice()) : (a.e = e.e, a.d = e.d ? e.d.slice() : e.d);
|
|
667
|
+
return;
|
|
668
|
+
}
|
|
669
|
+
if (r = typeof e, r === "number") {
|
|
670
|
+
if (e === 0) {
|
|
671
|
+
a.s = 1 / e < 0 ? -1 : 1, a.e = 0, a.d = [0];
|
|
672
|
+
return;
|
|
673
|
+
}
|
|
674
|
+
if (e < 0 ? (e = -e, a.s = -1) : a.s = 1, e === ~~e && e < 1e7) {
|
|
675
|
+
for (t = 0, n = e; n >= 10; n /= 10) t++;
|
|
676
|
+
l ? t > i.maxE ? (a.e = NaN, a.d = null) : t < i.minE ? (a.e = 0, a.d = [0]) : (a.e = t, a.d = [e]) : (a.e = t, a.d = [e]);
|
|
677
|
+
return;
|
|
678
|
+
}
|
|
679
|
+
if (e * 0 != 0) {
|
|
680
|
+
e || (a.s = NaN), a.e = NaN, a.d = null;
|
|
681
|
+
return;
|
|
682
|
+
}
|
|
683
|
+
return K(a, e.toString());
|
|
684
|
+
}
|
|
685
|
+
if (r === "string") return (n = e.charCodeAt(0)) === 45 ? (e = e.slice(1), a.s = -1) : (n === 43 && (e = e.slice(1)), a.s = 1), b.test(e) ? K(a, e) : ee(a, e);
|
|
686
|
+
if (r === "bigint") return e < 0 ? (e = -e, a.s = -1) : a.s = 1, K(a, e.toString());
|
|
687
|
+
throw Error(d + e);
|
|
688
|
+
}
|
|
689
|
+
if (i.prototype = E, i.ROUND_UP = 0, i.ROUND_DOWN = 1, i.ROUND_CEIL = 2, i.ROUND_FLOOR = 3, i.ROUND_HALF_UP = 4, i.ROUND_HALF_DOWN = 5, i.ROUND_HALF_EVEN = 6, i.ROUND_HALF_CEIL = 7, i.ROUND_HALF_FLOOR = 8, i.EUCLID = 9, i.config = i.set = me, i.clone = Q, i.isDecimal = $, i.abs = ne, i.acos = re, i.acosh = ie, i.add = ae, i.asin = oe, i.asinh = se, i.atan = ce, i.atanh = le, i.atan2 = ue, i.cbrt = de, i.ceil = fe, i.clamp = pe, i.cos = he, i.cosh = ge, i.div = _e, i.exp = ve, i.floor = ye, i.hypot = be, i.ln = xe, i.log = Se, i.log10 = we, i.log2 = Ce, i.max = Te, i.min = Ee, i.mod = De, i.mul = Oe, i.pow = ke, i.random = Ae, i.round = je, i.sign = Me, i.sin = Ne, i.sinh = Pe, i.sqrt = Fe, i.sub = Ie, i.sum = Le, i.tan = Re, i.tanh = ze, i.trunc = Be, e === void 0 && (e = {}), e && e.defaults !== !0) for (r = [
|
|
690
|
+
"precision",
|
|
691
|
+
"rounding",
|
|
692
|
+
"toExpNeg",
|
|
693
|
+
"toExpPos",
|
|
694
|
+
"maxE",
|
|
695
|
+
"minE",
|
|
696
|
+
"modulo",
|
|
697
|
+
"crypto"
|
|
698
|
+
], t = 0; t < r.length;) Object.prototype.hasOwnProperty.call(e, n = r[t++]) || (e[n] = this[n]);
|
|
699
|
+
return i.config(e), i;
|
|
700
|
+
}
|
|
701
|
+
function _e(e, t) {
|
|
702
|
+
return new this(e).div(t);
|
|
703
|
+
}
|
|
704
|
+
function ve(e) {
|
|
705
|
+
return new this(e).exp();
|
|
706
|
+
}
|
|
707
|
+
function ye(e) {
|
|
708
|
+
return N(e = new this(e), e.e + 1, 3);
|
|
709
|
+
}
|
|
710
|
+
function be() {
|
|
711
|
+
var e, t, n = new this(0);
|
|
712
|
+
for (l = !1, e = 0; e < arguments.length;) if (t = new this(arguments[e++]), t.d) n.d && (n = n.plus(t.times(t)));
|
|
713
|
+
else {
|
|
714
|
+
if (t.s) return l = !0, new this(Infinity);
|
|
715
|
+
n = t;
|
|
716
|
+
}
|
|
717
|
+
return l = !0, n.sqrt();
|
|
718
|
+
}
|
|
719
|
+
function $(e) {
|
|
720
|
+
return e instanceof o || e && e.toStringTag === m || !1;
|
|
721
|
+
}
|
|
722
|
+
function xe(e) {
|
|
723
|
+
return new this(e).ln();
|
|
724
|
+
}
|
|
725
|
+
function Se(e, t) {
|
|
726
|
+
return new this(e).log(t);
|
|
706
727
|
}
|
|
707
728
|
function Ce(e) {
|
|
708
|
-
|
|
709
|
-
}
|
|
710
|
-
function x(e, i) {
|
|
711
|
-
var n, r, s;
|
|
712
|
-
for ((n = i.indexOf(".")) > -1 && (i = i.replace(".", "")), (r = i.search(/e/i)) > 0 ? (n < 0 && (n = r), n += +i.slice(r + 1), i = i.substring(0, r)) : n < 0 && (n = i.length), r = 0; i.charCodeAt(r) === 48; r++) ;
|
|
713
|
-
for (s = i.length; i.charCodeAt(s - 1) === 48; --s) ;
|
|
714
|
-
if (i = i.slice(r, s), i) {
|
|
715
|
-
if (s -= r, e.e = n = n - r - 1, e.d = [], r = (n + 1) % w, n < 0 && (r += w), r < s) {
|
|
716
|
-
for (r && e.d.push(+i.slice(0, r)), s -= w; r < s; ) e.d.push(+i.slice(r, r += w));
|
|
717
|
-
i = i.slice(r), r = w - i.length;
|
|
718
|
-
} else
|
|
719
|
-
r -= s;
|
|
720
|
-
for (; r--; ) i += "0";
|
|
721
|
-
e.d.push(+i), m && (e.e > e.constructor.maxE ? (e.d = null, e.e = NaN) : e.e < e.constructor.minE && (e.e = 0, e.d = [0]));
|
|
722
|
-
} else
|
|
723
|
-
e.e = 0, e.d = [0];
|
|
724
|
-
return e;
|
|
725
|
-
}
|
|
726
|
-
function _e(e, i) {
|
|
727
|
-
var n, r, s, t, o, u, c, f, l;
|
|
728
|
-
if (i.indexOf("_") > -1) {
|
|
729
|
-
if (i = i.replace(/(\d)_(?=\d)/g, "$1"), Ee.test(i)) return x(e, i);
|
|
730
|
-
} else if (i === "Infinity" || i === "NaN")
|
|
731
|
-
return +i || (e.s = NaN), e.e = NaN, e.d = null, e;
|
|
732
|
-
if (Le.test(i))
|
|
733
|
-
n = 16, i = i.toLowerCase();
|
|
734
|
-
else if (Ae.test(i))
|
|
735
|
-
n = 2;
|
|
736
|
-
else if (Fe.test(i))
|
|
737
|
-
n = 8;
|
|
738
|
-
else
|
|
739
|
-
throw Error($ + i);
|
|
740
|
-
for (t = i.search(/p/i), t > 0 ? (c = +i.slice(t + 1), i = i.substring(2, t)) : i = i.slice(2), t = i.indexOf("."), o = t >= 0, r = e.constructor, o && (i = i.replace(".", ""), u = i.length, t = u - t, s = Me(r, new r(n), t, t * 2)), f = z(i, n, R), l = f.length - 1, t = l; f[t] === 0; --t) f.pop();
|
|
741
|
-
return t < 0 ? new r(e.s * 0) : (e.e = re(f, l), e.d = f, m = !1, o && (e = k(e, s, u * 4)), c && (e = e.times(Math.abs(c) < 54 ? C(2, c) : _.pow(2, c))), m = !0, e);
|
|
742
|
-
}
|
|
743
|
-
function Re(e, i) {
|
|
744
|
-
var n, r = i.d.length;
|
|
745
|
-
if (r < 3)
|
|
746
|
-
return i.isZero() ? i : W(e, 2, i, i);
|
|
747
|
-
n = 1.4 * Math.sqrt(r), n = n > 16 ? 16 : n | 0, i = i.times(1 / te(5, n)), i = W(e, 2, i, i);
|
|
748
|
-
for (var s, t = new e(5), o = new e(16), u = new e(20); n--; )
|
|
749
|
-
s = i.times(i), i = i.times(t.plus(s.times(o.times(s).minus(u))));
|
|
750
|
-
return i;
|
|
751
|
-
}
|
|
752
|
-
function W(e, i, n, r, s) {
|
|
753
|
-
var t, o, u, c, f = e.precision, l = Math.ceil(f / w);
|
|
754
|
-
for (m = !1, c = n.times(n), u = new e(r); ; ) {
|
|
755
|
-
if (o = k(u.times(c), new e(i++ * i++), f, 1), u = s ? r.plus(o) : r.minus(o), r = k(o.times(c), new e(i++ * i++), f, 1), o = u.plus(r), o.d[l] !== void 0) {
|
|
756
|
-
for (t = l; o.d[t] === u.d[t] && t--; ) ;
|
|
757
|
-
if (t == -1) break;
|
|
758
|
-
}
|
|
759
|
-
t = u, u = r, r = o, o = t;
|
|
760
|
-
}
|
|
761
|
-
return m = !0, o.d.length = l + 1, o;
|
|
762
|
-
}
|
|
763
|
-
function te(e, i) {
|
|
764
|
-
for (var n = e; --i; ) n *= e;
|
|
765
|
-
return n;
|
|
766
|
-
}
|
|
767
|
-
function Pe(e, i) {
|
|
768
|
-
var n, r = i.s < 0, s = T(e, e.precision, 1), t = s.times(0.5);
|
|
769
|
-
if (i = i.abs(), i.lte(t))
|
|
770
|
-
return b = r ? 4 : 1, i;
|
|
771
|
-
if (n = i.divToInt(s), n.isZero())
|
|
772
|
-
b = r ? 3 : 2;
|
|
773
|
-
else {
|
|
774
|
-
if (i = i.minus(n.times(s)), i.lte(t))
|
|
775
|
-
return b = de(n) ? r ? 2 : 3 : r ? 4 : 1, i;
|
|
776
|
-
b = de(n) ? r ? 1 : 4 : r ? 3 : 2;
|
|
777
|
-
}
|
|
778
|
-
return i.minus(s).abs();
|
|
779
|
-
}
|
|
780
|
-
function he(e, i, n, r) {
|
|
781
|
-
var s, t, o, u, c, f, l, a, h, g = e.constructor, v = n !== void 0;
|
|
782
|
-
if (v ? (O(n, 1, V), r === void 0 ? r = g.rounding : O(r, 0, 8)) : (n = g.precision, r = g.rounding), !e.isFinite())
|
|
783
|
-
l = Ce(e);
|
|
784
|
-
else {
|
|
785
|
-
for (l = Z(e), o = l.indexOf("."), v ? (s = 2, i == 16 ? n = n * 4 - 3 : i == 8 && (n = n * 3 - 2)) : s = i, o >= 0 && (l = l.replace(".", ""), h = new g(1), h.e = l.length - o, h.d = z(Z(h), 10, s), h.e = h.d.length), a = z(l, 10, s), t = c = a.length; a[--c] == 0; ) a.pop();
|
|
786
|
-
if (!a[0])
|
|
787
|
-
l = v ? "0p+0" : "0";
|
|
788
|
-
else {
|
|
789
|
-
if (o < 0 ? t-- : (e = new g(e), e.d = a, e.e = t, e = k(e, h, n, r, 0, s), a = e.d, t = e.e, f = we), o = a[n], u = s / 2, f = f || a[n + 1] !== void 0, f = r < 4 ? (o !== void 0 || f) && (r === 0 || r === (e.s < 0 ? 3 : 2)) : o > u || o === u && (r === 4 || f || r === 6 && a[n - 1] & 1 || r === (e.s < 0 ? 8 : 7)), a.length = n, f)
|
|
790
|
-
for (; ++a[--n] > s - 1; )
|
|
791
|
-
a[n] = 0, n || (++t, a.unshift(1));
|
|
792
|
-
for (c = a.length; !a[c - 1]; --c) ;
|
|
793
|
-
for (o = 0, l = ""; o < c; o++) l += fe.charAt(a[o]);
|
|
794
|
-
if (v) {
|
|
795
|
-
if (c > 1)
|
|
796
|
-
if (i == 16 || i == 8) {
|
|
797
|
-
for (o = i == 16 ? 4 : 3, --c; c % o; c++) l += "0";
|
|
798
|
-
for (a = z(l, s, i), c = a.length; !a[c - 1]; --c) ;
|
|
799
|
-
for (o = 1, l = "1."; o < c; o++) l += fe.charAt(a[o]);
|
|
800
|
-
} else
|
|
801
|
-
l = l.charAt(0) + "." + l.slice(1);
|
|
802
|
-
l = l + (t < 0 ? "p" : "p+") + t;
|
|
803
|
-
} else if (t < 0) {
|
|
804
|
-
for (; ++t; ) l = "0" + l;
|
|
805
|
-
l = "0." + l;
|
|
806
|
-
} else if (++t > c) for (t -= c; t--; ) l += "0";
|
|
807
|
-
else t < c && (l = l.slice(0, t) + "." + l.slice(t));
|
|
808
|
-
}
|
|
809
|
-
l = (i == 16 ? "0x" : i == 2 ? "0b" : i == 8 ? "0o" : "") + l;
|
|
810
|
-
}
|
|
811
|
-
return e.s < 0 ? "-" + l : l;
|
|
812
|
-
}
|
|
813
|
-
function pe(e, i) {
|
|
814
|
-
if (e.length > i)
|
|
815
|
-
return e.length = i, !0;
|
|
816
|
-
}
|
|
817
|
-
function Te(e) {
|
|
818
|
-
return new this(e).abs();
|
|
819
|
-
}
|
|
820
|
-
function Ze(e) {
|
|
821
|
-
return new this(e).acos();
|
|
822
|
-
}
|
|
823
|
-
function Ue(e) {
|
|
824
|
-
return new this(e).acosh();
|
|
825
|
-
}
|
|
826
|
-
function be(e, i) {
|
|
827
|
-
return new this(e).plus(i);
|
|
729
|
+
return new this(e).log(2);
|
|
828
730
|
}
|
|
829
|
-
function
|
|
830
|
-
|
|
831
|
-
}
|
|
832
|
-
function
|
|
833
|
-
|
|
834
|
-
}
|
|
835
|
-
function
|
|
836
|
-
|
|
837
|
-
}
|
|
838
|
-
function
|
|
839
|
-
|
|
840
|
-
}
|
|
841
|
-
function
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
this[n] = !0;
|
|
890
|
-
else
|
|
891
|
-
throw Error(Ne);
|
|
892
|
-
else
|
|
893
|
-
this[n] = !1;
|
|
894
|
-
else
|
|
895
|
-
throw Error($ + n + ": " + r);
|
|
896
|
-
return this;
|
|
897
|
-
}
|
|
898
|
-
function Qe(e) {
|
|
899
|
-
return new this(e).cos();
|
|
900
|
-
}
|
|
901
|
-
function Ye(e) {
|
|
902
|
-
return new this(e).cosh();
|
|
903
|
-
}
|
|
904
|
-
function Se(e) {
|
|
905
|
-
var i, n, r;
|
|
906
|
-
function s(t) {
|
|
907
|
-
var o, u, c, f = this;
|
|
908
|
-
if (!(f instanceof s)) return new s(t);
|
|
909
|
-
if (f.constructor = s, ge(t)) {
|
|
910
|
-
f.s = t.s, m ? !t.d || t.e > s.maxE ? (f.e = NaN, f.d = null) : t.e < s.minE ? (f.e = 0, f.d = [0]) : (f.e = t.e, f.d = t.d.slice()) : (f.e = t.e, f.d = t.d ? t.d.slice() : t.d);
|
|
911
|
-
return;
|
|
912
|
-
}
|
|
913
|
-
if (c = typeof t, c === "number") {
|
|
914
|
-
if (t === 0) {
|
|
915
|
-
f.s = 1 / t < 0 ? -1 : 1, f.e = 0, f.d = [0];
|
|
916
|
-
return;
|
|
917
|
-
}
|
|
918
|
-
if (t < 0 ? (t = -t, f.s = -1) : f.s = 1, t === ~~t && t < 1e7) {
|
|
919
|
-
for (o = 0, u = t; u >= 10; u /= 10) o++;
|
|
920
|
-
m ? o > s.maxE ? (f.e = NaN, f.d = null) : o < s.minE ? (f.e = 0, f.d = [0]) : (f.e = o, f.d = [t]) : (f.e = o, f.d = [t]);
|
|
921
|
-
return;
|
|
922
|
-
}
|
|
923
|
-
if (t * 0 !== 0) {
|
|
924
|
-
t || (f.s = NaN), f.e = NaN, f.d = null;
|
|
925
|
-
return;
|
|
926
|
-
}
|
|
927
|
-
return x(f, t.toString());
|
|
928
|
-
}
|
|
929
|
-
if (c === "string")
|
|
930
|
-
return (u = t.charCodeAt(0)) === 45 ? (t = t.slice(1), f.s = -1) : (u === 43 && (t = t.slice(1)), f.s = 1), Ee.test(t) ? x(f, t) : _e(f, t);
|
|
931
|
-
if (c === "bigint")
|
|
932
|
-
return t < 0 ? (t = -t, f.s = -1) : f.s = 1, x(f, t.toString());
|
|
933
|
-
throw Error($ + t);
|
|
934
|
-
}
|
|
935
|
-
if (s.prototype = d, s.ROUND_UP = 0, s.ROUND_DOWN = 1, s.ROUND_CEIL = 2, s.ROUND_FLOOR = 3, s.ROUND_HALF_UP = 4, s.ROUND_HALF_DOWN = 5, s.ROUND_HALF_EVEN = 6, s.ROUND_HALF_CEIL = 7, s.ROUND_HALF_FLOOR = 8, s.EUCLID = 9, s.config = s.set = Ke, s.clone = Se, s.isDecimal = ge, s.abs = Te, s.acos = Ze, s.acosh = Ue, s.add = be, s.asin = Be, s.asinh = He, s.atan = $e, s.atanh = Ve, s.atan2 = Ge, s.cbrt = We, s.ceil = Xe, s.clamp = Je, s.cos = Qe, s.cosh = Ye, s.div = je, s.exp = ze, s.floor = xe, s.hypot = ye, s.ln = ei, s.log = ii, s.log10 = ri, s.log2 = ni, s.max = ti, s.min = si, s.mod = oi, s.mul = ui, s.pow = fi, s.random = ci, s.round = li, s.sign = ai, s.sin = hi, s.sinh = di, s.sqrt = pi, s.sub = gi, s.sum = wi, s.tan = mi, s.tanh = Ni, s.trunc = vi, e === void 0 && (e = {}), e && e.defaults !== !0)
|
|
936
|
-
for (r = [
|
|
937
|
-
"precision",
|
|
938
|
-
"rounding",
|
|
939
|
-
"toExpNeg",
|
|
940
|
-
"toExpPos",
|
|
941
|
-
"maxE",
|
|
942
|
-
"minE",
|
|
943
|
-
"modulo",
|
|
944
|
-
"crypto"
|
|
945
|
-
], i = 0; i < r.length; )
|
|
946
|
-
Object.prototype.hasOwnProperty.call(e, n = r[i++]) || (e[n] = this[n]);
|
|
947
|
-
return s.config(e), s;
|
|
948
|
-
}
|
|
949
|
-
function je(e, i) {
|
|
950
|
-
return new this(e).div(i);
|
|
731
|
+
function we(e) {
|
|
732
|
+
return new this(e).log(10);
|
|
733
|
+
}
|
|
734
|
+
function Te() {
|
|
735
|
+
return H(this, arguments, -1);
|
|
736
|
+
}
|
|
737
|
+
function Ee() {
|
|
738
|
+
return H(this, arguments, 1);
|
|
739
|
+
}
|
|
740
|
+
function De(e, t) {
|
|
741
|
+
return new this(e).mod(t);
|
|
742
|
+
}
|
|
743
|
+
function Oe(e, t) {
|
|
744
|
+
return new this(e).mul(t);
|
|
745
|
+
}
|
|
746
|
+
function ke(e, t) {
|
|
747
|
+
return new this(e).pow(t);
|
|
748
|
+
}
|
|
749
|
+
function Ae(e) {
|
|
750
|
+
var n, r, i, a, o = 0, s = new this(1), c = [];
|
|
751
|
+
if (e === void 0 ? e = this.precision : O(e, 1, t), i = Math.ceil(e / S), !this.crypto) for (; o < i;) c[o++] = Math.random() * 1e7 | 0;
|
|
752
|
+
else if (crypto.getRandomValues) for (n = crypto.getRandomValues(new Uint32Array(i)); o < i;) a = n[o], a >= 429e7 ? n[o] = crypto.getRandomValues(new Uint32Array(1))[0] : c[o++] = a % 1e7;
|
|
753
|
+
else if (crypto.randomBytes) {
|
|
754
|
+
for (n = crypto.randomBytes(i *= 4); o < i;) a = n[o] + (n[o + 1] << 8) + (n[o + 2] << 16) + ((n[o + 3] & 127) << 24), a >= 214e7 ? crypto.randomBytes(4).copy(n, o) : (c.push(a % 1e7), o += 4);
|
|
755
|
+
o = i / 4;
|
|
756
|
+
} else throw Error(p);
|
|
757
|
+
for (i = c[--o], e %= S, i && e && (a = g(10, S - e), c[o] = (i / a | 0) * a); c[o] === 0; o--) c.pop();
|
|
758
|
+
if (o < 0) r = 0, c = [0];
|
|
759
|
+
else {
|
|
760
|
+
for (r = -1; c[0] === 0; r -= S) c.shift();
|
|
761
|
+
for (i = 1, a = c[0]; a >= 10; a /= 10) i++;
|
|
762
|
+
i < S && (r -= S - i);
|
|
763
|
+
}
|
|
764
|
+
return s.e = r, s.d = c, s;
|
|
765
|
+
}
|
|
766
|
+
function je(e) {
|
|
767
|
+
return N(e = new this(e), e.e + 1, this.rounding);
|
|
768
|
+
}
|
|
769
|
+
function Me(e) {
|
|
770
|
+
return e = new this(e), e.d ? e.d[0] ? e.s : 0 * e.s : e.s || NaN;
|
|
771
|
+
}
|
|
772
|
+
function Ne(e) {
|
|
773
|
+
return new this(e).sin();
|
|
774
|
+
}
|
|
775
|
+
function Pe(e) {
|
|
776
|
+
return new this(e).sinh();
|
|
777
|
+
}
|
|
778
|
+
function Fe(e) {
|
|
779
|
+
return new this(e).sqrt();
|
|
780
|
+
}
|
|
781
|
+
function Ie(e, t) {
|
|
782
|
+
return new this(e).sub(t);
|
|
783
|
+
}
|
|
784
|
+
function Le() {
|
|
785
|
+
var e = 0, t = arguments, n = new this(t[e]);
|
|
786
|
+
for (l = !1; n.s && ++e < t.length;) n = n.plus(t[e]);
|
|
787
|
+
return l = !0, N(n, this.precision, this.rounding);
|
|
788
|
+
}
|
|
789
|
+
function Re(e) {
|
|
790
|
+
return new this(e).tan();
|
|
951
791
|
}
|
|
952
792
|
function ze(e) {
|
|
953
|
-
|
|
793
|
+
return new this(e).tanh();
|
|
954
794
|
}
|
|
955
|
-
function
|
|
956
|
-
|
|
957
|
-
}
|
|
958
|
-
function ye() {
|
|
959
|
-
var e, i, n = new this(0);
|
|
960
|
-
for (m = !1, e = 0; e < arguments.length; )
|
|
961
|
-
if (i = new this(arguments[e++]), i.d)
|
|
962
|
-
n.d && (n = n.plus(i.times(i)));
|
|
963
|
-
else {
|
|
964
|
-
if (i.s)
|
|
965
|
-
return m = !0, new this(1 / 0);
|
|
966
|
-
n = i;
|
|
967
|
-
}
|
|
968
|
-
return m = !0, n.sqrt();
|
|
795
|
+
function Be(e) {
|
|
796
|
+
return N(e = new this(e), e.e + 1, 1);
|
|
969
797
|
}
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
}
|
|
976
|
-
function ii(e, i) {
|
|
977
|
-
return new this(e).log(i);
|
|
978
|
-
}
|
|
979
|
-
function ni(e) {
|
|
980
|
-
return new this(e).log(2);
|
|
981
|
-
}
|
|
982
|
-
function ri(e) {
|
|
983
|
-
return new this(e).log(10);
|
|
984
|
-
}
|
|
985
|
-
function ti() {
|
|
986
|
-
return qe(this, arguments, -1);
|
|
987
|
-
}
|
|
988
|
-
function si() {
|
|
989
|
-
return qe(this, arguments, 1);
|
|
990
|
-
}
|
|
991
|
-
function oi(e, i) {
|
|
992
|
-
return new this(e).mod(i);
|
|
993
|
-
}
|
|
994
|
-
function ui(e, i) {
|
|
995
|
-
return new this(e).mul(i);
|
|
996
|
-
}
|
|
997
|
-
function fi(e, i) {
|
|
998
|
-
return new this(e).pow(i);
|
|
999
|
-
}
|
|
1000
|
-
function ci(e) {
|
|
1001
|
-
var i, n, r, s, t = 0, o = new this(1), u = [];
|
|
1002
|
-
if (e === void 0 ? e = this.precision : O(e, 1, V), r = Math.ceil(e / w), this.crypto)
|
|
1003
|
-
if (crypto.getRandomValues)
|
|
1004
|
-
for (i = crypto.getRandomValues(new Uint32Array(r)); t < r; )
|
|
1005
|
-
s = i[t], s >= 429e7 ? i[t] = crypto.getRandomValues(new Uint32Array(1))[0] : u[t++] = s % 1e7;
|
|
1006
|
-
else if (crypto.randomBytes) {
|
|
1007
|
-
for (i = crypto.randomBytes(r *= 4); t < r; )
|
|
1008
|
-
s = i[t] + (i[t + 1] << 8) + (i[t + 2] << 16) + ((i[t + 3] & 127) << 24), s >= 214e7 ? crypto.randomBytes(4).copy(i, t) : (u.push(s % 1e7), t += 4);
|
|
1009
|
-
t = r / 4;
|
|
1010
|
-
} else
|
|
1011
|
-
throw Error(Ne);
|
|
1012
|
-
else for (; t < r; ) u[t++] = Math.random() * 1e7 | 0;
|
|
1013
|
-
for (r = u[--t], e %= w, r && e && (s = C(10, w - e), u[t] = (r / s | 0) * s); u[t] === 0; t--) u.pop();
|
|
1014
|
-
if (t < 0)
|
|
1015
|
-
n = 0, u = [0];
|
|
1016
|
-
else {
|
|
1017
|
-
for (n = -1; u[0] === 0; n -= w) u.shift();
|
|
1018
|
-
for (r = 1, s = u[0]; s >= 10; s /= 10) r++;
|
|
1019
|
-
r < w && (n -= w - r);
|
|
1020
|
-
}
|
|
1021
|
-
return o.e = n, o.d = u, o;
|
|
1022
|
-
}
|
|
1023
|
-
function li(e) {
|
|
1024
|
-
return p(e = new this(e), e.e + 1, this.rounding);
|
|
1025
|
-
}
|
|
1026
|
-
function ai(e) {
|
|
1027
|
-
return e = new this(e), e.d ? e.d[0] ? e.s : 0 * e.s : e.s || NaN;
|
|
1028
|
-
}
|
|
1029
|
-
function hi(e) {
|
|
1030
|
-
return new this(e).sin();
|
|
1031
|
-
}
|
|
1032
|
-
function di(e) {
|
|
1033
|
-
return new this(e).sinh();
|
|
1034
|
-
}
|
|
1035
|
-
function pi(e) {
|
|
1036
|
-
return new this(e).sqrt();
|
|
1037
|
-
}
|
|
1038
|
-
function gi(e, i) {
|
|
1039
|
-
return new this(e).sub(i);
|
|
1040
|
-
}
|
|
1041
|
-
function wi() {
|
|
1042
|
-
var e = 0, i = arguments, n = new this(i[e]);
|
|
1043
|
-
for (m = !1; n.s && ++e < i.length; ) n = n.plus(i[e]);
|
|
1044
|
-
return m = !0, p(n, this.precision, this.rounding);
|
|
1045
|
-
}
|
|
1046
|
-
function mi(e) {
|
|
1047
|
-
return new this(e).tan();
|
|
1048
|
-
}
|
|
1049
|
-
function Ni(e) {
|
|
1050
|
-
return new this(e).tanh();
|
|
1051
|
-
}
|
|
1052
|
-
function vi(e) {
|
|
1053
|
-
return p(e = new this(e), e.e + 1, 1);
|
|
1054
|
-
}
|
|
1055
|
-
_ = Se(ce);
|
|
1056
|
-
_.prototype.constructor = _;
|
|
1057
|
-
_.default = _.Decimal = _;
|
|
1058
|
-
y = new _(y);
|
|
1059
|
-
ee = new _(ee);
|
|
1060
|
-
const Ei = _;
|
|
1061
|
-
export {
|
|
1062
|
-
_ as Decimal,
|
|
1063
|
-
Ei as default
|
|
1064
|
-
};
|
|
798
|
+
o = Q(a), o.prototype.constructor = o, o.default = o.Decimal = o, r = new o(r), i = new o(i);
|
|
799
|
+
var Ve = o;
|
|
800
|
+
//#endregion
|
|
801
|
+
export { o as Decimal, Ve as default };
|
|
802
|
+
/* 独立思考,明辨是非 */
|