@unicom-cloud/utils 0.1.45 → 0.1.46
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 +1 -1
- package/.vite/manifest.json +363 -29
- package/array/index.js +1 -1
- package/assert/index.js +1 -1
- package/case-name/index.js +1 -1
- package/class-name/index.js +1 -1
- package/clipboard-copy/index.js +1 -1
- package/constant/address.js +1 -1
- package/constant/chineseCharacters.js +1 -1
- package/constant/constellations.js +1 -1
- package/constant/domain.js +1 -1
- package/constant/identity.js +1 -1
- package/constant/index.js +1 -1
- package/constant/keyboardCode.js +1 -1
- package/constant/licensePlate.js +1 -1
- package/constant/name.js +1 -1
- package/constant/platform.js +1 -1
- package/constant/protocol.js +1 -1
- package/constant/string.js +1 -1
- package/constant/ui.js +1 -1
- package/content-disposition/index.js +1 -1
- package/cookie/api.js +1 -1
- package/cookie/assign.js +1 -1
- package/cookie/converter.js +1 -1
- package/cookie/index.js +1 -1
- package/date/convertTime.js +1 -1
- package/date/convertToDuration.js +1 -1
- package/date/index.js +1 -1
- package/decimal/decimal.js +1 -1
- package/decimal/index.js +1 -1
- package/dom-helpers/activeElement.js +1 -1
- package/dom-helpers/addClass.js +1 -1
- package/dom-helpers/addEventListener.js +1 -1
- package/dom-helpers/animate.js +1 -1
- package/dom-helpers/animationFrame.js +1 -1
- package/dom-helpers/attribute.js +1 -1
- package/dom-helpers/camelize.js +1 -1
- package/dom-helpers/camelizeStyle.js +1 -1
- package/dom-helpers/canUseDOM.js +1 -1
- package/dom-helpers/childElements.js +1 -1
- package/dom-helpers/childNodes.js +1 -1
- package/dom-helpers/clear.js +1 -1
- package/dom-helpers/closest.js +1 -1
- package/dom-helpers/collectElements.js +1 -1
- package/dom-helpers/collectSiblings.js +1 -1
- package/dom-helpers/contains.js +1 -1
- package/dom-helpers/css.js +1 -1
- package/dom-helpers/filterEventHandler.js +1 -1
- package/dom-helpers/getComputedStyle.js +1 -1
- package/dom-helpers/getElementCoordinates.js +1 -1
- package/dom-helpers/getScrollAccessor.js +1 -1
- package/dom-helpers/hasClass.js +1 -1
- package/dom-helpers/height.js +1 -1
- package/dom-helpers/hyphenate.js +1 -1
- package/dom-helpers/hyphenateStyle.js +1 -1
- package/dom-helpers/index.js +1 -1
- package/dom-helpers/insertAfter.js +1 -1
- package/dom-helpers/isDocument.js +1 -1
- package/dom-helpers/isInput.js +1 -1
- package/dom-helpers/isTransform.js +1 -1
- package/dom-helpers/isVisible.js +1 -1
- package/dom-helpers/isWindow.js +1 -1
- package/dom-helpers/listen.js +1 -1
- package/dom-helpers/matches.js +1 -1
- package/dom-helpers/nextUntil.js +1 -1
- package/dom-helpers/offset.js +1 -1
- package/dom-helpers/offsetParent.js +1 -1
- package/dom-helpers/ownerDocument.js +1 -1
- package/dom-helpers/ownerWindow.js +1 -1
- package/dom-helpers/parents.js +1 -1
- package/dom-helpers/position.js +1 -1
- package/dom-helpers/prepend.js +1 -1
- package/dom-helpers/querySelectorAll.js +1 -1
- package/dom-helpers/reflow.js +1 -1
- package/dom-helpers/remove.js +1 -1
- package/dom-helpers/removeClass.js +1 -1
- package/dom-helpers/removeEventListener.js +1 -1
- package/dom-helpers/scrollLeft.js +1 -1
- package/dom-helpers/scrollParent.js +1 -1
- package/dom-helpers/scrollTo.js +1 -1
- package/dom-helpers/scrollTop.js +1 -1
- package/dom-helpers/scrollbarSize.js +1 -1
- package/dom-helpers/siblings.js +1 -1
- package/dom-helpers/text.js +1 -1
- package/dom-helpers/toggleClass.js +1 -1
- package/dom-helpers/transitionEnd.js +1 -1
- package/dom-helpers/triggerEvent.js +1 -1
- package/dom-helpers/types.js +1 -1
- package/dom-helpers/width.js +1 -1
- package/emitter/index.js +1 -1
- package/emoji/emoji.js +1 -1
- package/emoji/emojis.js +1 -1
- package/emoji/index.js +1 -1
- package/escape/index.js +1 -1
- package/fflate/LICENSE +20 -0
- package/fflate/index.d.ts +1 -0
- package/fflate/index.js +4 -0
- package/fflate/src/index.d.ts +1538 -0
- package/fflate/src/index.js +1424 -0
- package/fflate/src/node-worker.d.ts +2 -0
- package/fflate/src/worker.d.ts +2 -0
- package/fflate/src/worker.js +15 -0
- package/file/fileRead.js +1 -1
- package/file/fileToDataURL.js +1 -1
- package/file/img.js +1 -1
- package/file/index.js +1 -1
- package/file/saveAs.js +1 -1
- package/filesize/index.js +1 -1
- package/filesize/src/constants.js +1 -1
- package/filesize/src/filesize.js +1 -1
- package/filesize/src/helpers.js +1 -1
- package/function/index.js +1 -1
- package/idb/async-iterators.js +1 -1
- package/idb/database-extras.js +1 -1
- package/idb/entry.js +1 -1
- package/idb/index-.js +1 -1
- package/idb/index.js +1 -1
- package/idb/util.js +1 -1
- package/idb/wrap-idb-value.js +1 -1
- package/index.js +1 -1
- package/invariant/index.js +1 -1
- package/is/index.js +1 -1
- package/is/lib/isAscii.js +1 -1
- package/is/lib/isBase64.js +1 -1
- package/is/lib/isChinese.js +1 -1
- package/is/lib/isDataURI.js +1 -1
- package/is/lib/isEmail.js +1 -1
- package/is/lib/isFQDN.js +1 -1
- package/is/lib/isFullWidth.js +1 -1
- package/is/lib/isHSL.js +1 -1
- package/is/lib/isHalfWidth.js +1 -1
- package/is/lib/isHash.js +1 -1
- package/is/lib/isHexColor.js +1 -1
- package/is/lib/isIMEI.js +1 -1
- package/is/lib/isIP.js +1 -1
- package/is/lib/isIPRange.js +1 -1
- package/is/lib/isIdentityCard.js +1 -1
- package/is/lib/isJWT.js +1 -1
- package/is/lib/isMACAddress.js +1 -1
- package/is/lib/isMD5.js +1 -1
- package/is/lib/isMimeType.js +1 -1
- package/is/lib/isMobilePhone.js +1 -1
- package/is/lib/isPort.js +1 -1
- package/is/lib/isRgbColor.js +1 -1
- package/is/lib/isSemVer.js +1 -1
- package/is/lib/isSlug.js +1 -1
- package/is/lib/isStrongPassword.js +1 -1
- package/is/lib/isURL.js +1 -1
- package/is/lib/isUUID.js +1 -1
- package/is/lib/isVariableWidth.js +1 -1
- package/lodash/_DataView.js +1 -1
- package/lodash/_Hash.js +1 -1
- package/lodash/_LazyWrapper.js +1 -1
- package/lodash/_ListCache.js +1 -1
- package/lodash/_LodashWrapper.js +1 -1
- package/lodash/_Map.js +1 -1
- package/lodash/_MapCache.js +1 -1
- package/lodash/_Promise.js +1 -1
- package/lodash/_Set.js +1 -1
- package/lodash/_SetCache.js +1 -1
- package/lodash/_Stack.js +1 -1
- package/lodash/_Symbol.js +1 -1
- package/lodash/_Uint8Array.js +1 -1
- package/lodash/_WeakMap.js +1 -1
- package/lodash/_addMapEntry.js +1 -1
- package/lodash/_addSetEntry.js +1 -1
- package/lodash/_apply.js +1 -1
- package/lodash/_arrayAggregator.js +1 -1
- package/lodash/_arrayEach.js +1 -1
- package/lodash/_arrayEachRight.js +1 -1
- package/lodash/_arrayEvery.js +1 -1
- package/lodash/_arrayFilter.js +1 -1
- package/lodash/_arrayIncludes.js +1 -1
- package/lodash/_arrayIncludesWith.js +1 -1
- package/lodash/_arrayLikeKeys.js +1 -1
- package/lodash/_arrayMap.js +1 -1
- package/lodash/_arrayPush.js +1 -1
- package/lodash/_arrayReduce.js +1 -1
- package/lodash/_arrayReduceRight.js +1 -1
- package/lodash/_arraySample.js +1 -1
- package/lodash/_arraySampleSize.js +1 -1
- package/lodash/_arrayShuffle.js +1 -1
- package/lodash/_arraySome.js +1 -1
- package/lodash/_asciiSize.js +1 -1
- package/lodash/_asciiToArray.js +1 -1
- package/lodash/_asciiWords.js +1 -1
- package/lodash/_assignMergeValue.js +1 -1
- package/lodash/_assignValue.js +1 -1
- package/lodash/_assocIndexOf.js +1 -1
- package/lodash/_baseAggregator.js +1 -1
- package/lodash/_baseAssign.js +1 -1
- package/lodash/_baseAssignIn.js +1 -1
- package/lodash/_baseAssignValue.js +1 -1
- package/lodash/_baseAt.js +1 -1
- package/lodash/_baseClamp.js +1 -1
- package/lodash/_baseClone.js +1 -1
- package/lodash/_baseConforms.js +1 -1
- package/lodash/_baseConformsTo.js +1 -1
- package/lodash/_baseCreate.js +1 -1
- package/lodash/_baseDelay.js +1 -1
- package/lodash/_baseDifference.js +1 -1
- package/lodash/_baseEach.js +1 -1
- package/lodash/_baseEachRight.js +1 -1
- package/lodash/_baseEvery.js +1 -1
- package/lodash/_baseExtremum.js +1 -1
- package/lodash/_baseFill.js +1 -1
- package/lodash/_baseFilter.js +1 -1
- package/lodash/_baseFindIndex.js +1 -1
- package/lodash/_baseFindKey.js +1 -1
- package/lodash/_baseFlatten.js +1 -1
- package/lodash/_baseFor.js +1 -1
- package/lodash/_baseForOwn.js +1 -1
- package/lodash/_baseForOwnRight.js +1 -1
- package/lodash/_baseForRight.js +1 -1
- package/lodash/_baseFunctions.js +1 -1
- package/lodash/_baseGet.js +1 -1
- package/lodash/_baseGetAllKeys.js +1 -1
- package/lodash/_baseGetTag.js +1 -1
- package/lodash/_baseGt.js +1 -1
- package/lodash/_baseHas.js +1 -1
- package/lodash/_baseHasIn.js +1 -1
- package/lodash/_baseInRange.js +1 -1
- package/lodash/_baseIndexOf.js +1 -1
- package/lodash/_baseIndexOfWith.js +1 -1
- package/lodash/_baseIntersection.js +1 -1
- package/lodash/_baseInverter.js +1 -1
- package/lodash/_baseInvoke.js +1 -1
- package/lodash/_baseIsArguments.js +1 -1
- package/lodash/_baseIsArrayBuffer.js +1 -1
- package/lodash/_baseIsDate.js +1 -1
- package/lodash/_baseIsEqual.js +1 -1
- package/lodash/_baseIsEqualDeep.js +1 -1
- package/lodash/_baseIsMap.js +1 -1
- package/lodash/_baseIsMatch.js +1 -1
- package/lodash/_baseIsNaN.js +1 -1
- package/lodash/_baseIsNative.js +1 -1
- package/lodash/_baseIsRegExp.js +1 -1
- package/lodash/_baseIsSet.js +1 -1
- package/lodash/_baseIsTypedArray.js +1 -1
- package/lodash/_baseIteratee.js +1 -1
- package/lodash/_baseKeys.js +1 -1
- package/lodash/_baseKeysIn.js +1 -1
- package/lodash/_baseLodash.js +1 -1
- package/lodash/_baseLt.js +1 -1
- package/lodash/_baseMap.js +1 -1
- package/lodash/_baseMatches.js +1 -1
- package/lodash/_baseMatchesProperty.js +1 -1
- package/lodash/_baseMean.js +1 -1
- package/lodash/_baseMerge.js +1 -1
- package/lodash/_baseMergeDeep.js +1 -1
- package/lodash/_baseNth.js +1 -1
- package/lodash/_baseOrderBy.js +1 -1
- package/lodash/_basePick.js +1 -1
- package/lodash/_basePickBy.js +1 -1
- package/lodash/_baseProperty.js +1 -1
- package/lodash/_basePropertyDeep.js +1 -1
- package/lodash/_basePropertyOf.js +1 -1
- package/lodash/_basePullAll.js +1 -1
- package/lodash/_basePullAt.js +1 -1
- package/lodash/_baseRandom.js +1 -1
- package/lodash/_baseRange.js +1 -1
- package/lodash/_baseReduce.js +1 -1
- package/lodash/_baseRepeat.js +1 -1
- package/lodash/_baseRest.js +1 -1
- package/lodash/_baseSample.js +1 -1
- package/lodash/_baseSampleSize.js +1 -1
- package/lodash/_baseSet.js +1 -1
- package/lodash/_baseSetData.js +1 -1
- package/lodash/_baseSetToString.js +1 -1
- package/lodash/_baseShuffle.js +1 -1
- package/lodash/_baseSlice.js +1 -1
- package/lodash/_baseSome.js +1 -1
- package/lodash/_baseSortBy.js +1 -1
- package/lodash/_baseSortedIndex.js +1 -1
- package/lodash/_baseSortedIndexBy.js +1 -1
- package/lodash/_baseSortedUniq.js +1 -1
- package/lodash/_baseSum.js +1 -1
- package/lodash/_baseTimes.js +1 -1
- package/lodash/_baseToNumber.js +1 -1
- package/lodash/_baseToPairs.js +1 -1
- package/lodash/_baseToString.js +1 -1
- package/lodash/_baseTrim.js +1 -1
- package/lodash/_baseUnary.js +1 -1
- package/lodash/_baseUniq.js +1 -1
- package/lodash/_baseUnset.js +1 -1
- package/lodash/_baseUpdate.js +1 -1
- package/lodash/_baseValues.js +1 -1
- package/lodash/_baseWhile.js +1 -1
- package/lodash/_baseWrapperValue.js +1 -1
- package/lodash/_baseXor.js +1 -1
- package/lodash/_baseZipObject.js +1 -1
- package/lodash/_cacheHas.js +1 -1
- package/lodash/_castArrayLikeObject.js +1 -1
- package/lodash/_castFunction.js +1 -1
- package/lodash/_castPath.js +1 -1
- package/lodash/_castRest.js +1 -1
- package/lodash/_castSlice.js +1 -1
- package/lodash/_charsEndIndex.js +1 -1
- package/lodash/_charsStartIndex.js +1 -1
- package/lodash/_cloneArrayBuffer.js +1 -1
- package/lodash/_cloneBuffer.js +1 -1
- package/lodash/_cloneDataView.js +1 -1
- package/lodash/_cloneMap.js +1 -1
- package/lodash/_cloneRegExp.js +1 -1
- package/lodash/_cloneSet.js +1 -1
- package/lodash/_cloneSymbol.js +1 -1
- package/lodash/_cloneTypedArray.js +1 -1
- package/lodash/_compareAscending.js +1 -1
- package/lodash/_compareMultiple.js +1 -1
- package/lodash/_composeArgs.js +1 -1
- package/lodash/_composeArgsRight.js +1 -1
- package/lodash/_copyArray.js +1 -1
- package/lodash/_copyObject.js +1 -1
- package/lodash/_copySymbols.js +1 -1
- package/lodash/_copySymbolsIn.js +1 -1
- package/lodash/_coreJsData.js +1 -1
- package/lodash/_countHolders.js +1 -1
- package/lodash/_createAggregator.js +1 -1
- package/lodash/_createAssigner.js +1 -1
- package/lodash/_createBaseEach.js +1 -1
- package/lodash/_createBaseFor.js +1 -1
- package/lodash/_createBind.js +1 -1
- package/lodash/_createCaseFirst.js +1 -1
- package/lodash/_createCompounder.js +1 -1
- package/lodash/_createCtor.js +1 -1
- package/lodash/_createCurry.js +1 -1
- package/lodash/_createFind.js +1 -1
- package/lodash/_createFlow.js +1 -1
- package/lodash/_createHybrid.js +1 -1
- package/lodash/_createInverter.js +1 -1
- package/lodash/_createMathOperation.js +1 -1
- package/lodash/_createOver.js +1 -1
- package/lodash/_createPadding.js +1 -1
- package/lodash/_createPartial.js +1 -1
- package/lodash/_createRange.js +1 -1
- package/lodash/_createRecurry.js +1 -1
- package/lodash/_createRelationalOperation.js +1 -1
- package/lodash/_createRound.js +1 -1
- package/lodash/_createSet.js +1 -1
- package/lodash/_createToPairs.js +1 -1
- package/lodash/_createWrap.js +1 -1
- package/lodash/_customDefaultsAssignIn.js +1 -1
- package/lodash/_customDefaultsMerge.js +1 -1
- package/lodash/_customOmitClone.js +1 -1
- package/lodash/_deburrLetter.js +1 -1
- package/lodash/_defineProperty.js +1 -1
- package/lodash/_equalArrays.js +1 -1
- package/lodash/_equalByTag.js +1 -1
- package/lodash/_equalObjects.js +1 -1
- package/lodash/_escapeHtmlChar.js +1 -1
- package/lodash/_escapeStringChar.js +1 -1
- package/lodash/_flatRest.js +1 -1
- package/lodash/_freeGlobal.js +1 -1
- package/lodash/_getAllKeys.js +1 -1
- package/lodash/_getAllKeysIn.js +1 -1
- package/lodash/_getData.js +1 -1
- package/lodash/_getFuncName.js +1 -1
- package/lodash/_getHolder.js +1 -1
- package/lodash/_getMapData.js +1 -1
- package/lodash/_getMatchData.js +1 -1
- package/lodash/_getNative.js +1 -1
- package/lodash/_getPrototype.js +1 -1
- package/lodash/_getRawTag.js +1 -1
- package/lodash/_getSymbols.js +1 -1
- package/lodash/_getSymbolsIn.js +1 -1
- package/lodash/_getTag.js +1 -1
- package/lodash/_getValue.js +1 -1
- package/lodash/_getView.js +1 -1
- package/lodash/_getWrapDetails.js +1 -1
- package/lodash/_hasPath.js +1 -1
- package/lodash/_hasUnicode.js +1 -1
- package/lodash/_hasUnicodeWord.js +1 -1
- package/lodash/_hashClear.js +1 -1
- package/lodash/_hashDelete.js +1 -1
- package/lodash/_hashGet.js +1 -1
- package/lodash/_hashHas.js +1 -1
- package/lodash/_hashSet.js +1 -1
- package/lodash/_initCloneArray.js +1 -1
- package/lodash/_initCloneByTag.js +1 -1
- package/lodash/_initCloneObject.js +1 -1
- package/lodash/_insertWrapDetails.js +1 -1
- package/lodash/_isFlattenable.js +1 -1
- package/lodash/_isIndex.js +1 -1
- package/lodash/_isIterateeCall.js +1 -1
- package/lodash/_isKey.js +1 -1
- package/lodash/_isKeyable.js +1 -1
- package/lodash/_isLaziable.js +1 -1
- package/lodash/_isMaskable.js +1 -1
- package/lodash/_isMasked.js +1 -1
- package/lodash/_isPrototype.js +1 -1
- package/lodash/_isStrictComparable.js +1 -1
- package/lodash/_iteratorToArray.js +1 -1
- package/lodash/_lazyClone.js +1 -1
- package/lodash/_lazyReverse.js +1 -1
- package/lodash/_lazyValue.js +1 -1
- package/lodash/_listCacheClear.js +1 -1
- package/lodash/_listCacheDelete.js +1 -1
- package/lodash/_listCacheGet.js +1 -1
- package/lodash/_listCacheHas.js +1 -1
- package/lodash/_listCacheSet.js +1 -1
- package/lodash/_mapCacheClear.js +1 -1
- package/lodash/_mapCacheDelete.js +1 -1
- package/lodash/_mapCacheGet.js +1 -1
- package/lodash/_mapCacheHas.js +1 -1
- package/lodash/_mapCacheSet.js +1 -1
- package/lodash/_mapToArray.js +1 -1
- package/lodash/_matchesStrictComparable.js +1 -1
- package/lodash/_memoizeCapped.js +1 -1
- package/lodash/_mergeData.js +1 -1
- package/lodash/_metaMap.js +1 -1
- package/lodash/_nativeCreate.js +1 -1
- package/lodash/_nativeKeys.js +1 -1
- package/lodash/_nativeKeysIn.js +1 -1
- package/lodash/_nodeUtil.js +1 -1
- package/lodash/_objectToString.js +1 -1
- package/lodash/_overArg.js +1 -1
- package/lodash/_overRest.js +1 -1
- package/lodash/_parent.js +1 -1
- package/lodash/_reEscape.js +1 -1
- package/lodash/_reEvaluate.js +1 -1
- package/lodash/_reInterpolate.js +1 -1
- package/lodash/_realNames.js +1 -1
- package/lodash/_reorder.js +1 -1
- package/lodash/_replaceHolders.js +1 -1
- package/lodash/_root.js +1 -1
- package/lodash/_safeGet.js +1 -1
- package/lodash/_setCacheAdd.js +1 -1
- package/lodash/_setCacheHas.js +1 -1
- package/lodash/_setData.js +1 -1
- package/lodash/_setToArray.js +1 -1
- package/lodash/_setToPairs.js +1 -1
- package/lodash/_setToString.js +1 -1
- package/lodash/_setWrapToString.js +1 -1
- package/lodash/_shortOut.js +1 -1
- package/lodash/_shuffleSelf.js +1 -1
- package/lodash/_stackClear.js +1 -1
- package/lodash/_stackDelete.js +1 -1
- package/lodash/_stackGet.js +1 -1
- package/lodash/_stackHas.js +1 -1
- package/lodash/_stackSet.js +1 -1
- package/lodash/_strictIndexOf.js +1 -1
- package/lodash/_strictLastIndexOf.js +1 -1
- package/lodash/_stringSize.js +1 -1
- package/lodash/_stringToArray.js +1 -1
- package/lodash/_stringToPath.js +1 -1
- package/lodash/_toKey.js +1 -1
- package/lodash/_toSource.js +1 -1
- package/lodash/_trimmedEndIndex.js +1 -1
- package/lodash/_unescapeHtmlChar.js +1 -1
- package/lodash/_unicodeSize.js +1 -1
- package/lodash/_unicodeToArray.js +1 -1
- package/lodash/_unicodeWords.js +1 -1
- package/lodash/_updateWrapDetails.js +1 -1
- package/lodash/_wrapperClone.js +1 -1
- package/lodash/add.js +1 -1
- package/lodash/after.js +1 -1
- package/lodash/array.default.js +1 -1
- package/lodash/array.js +1 -1
- package/lodash/ary.js +1 -1
- package/lodash/assign.js +1 -1
- package/lodash/assignIn.js +1 -1
- package/lodash/assignInWith.js +1 -1
- package/lodash/assignWith.js +1 -1
- package/lodash/at.js +1 -1
- package/lodash/attempt.js +1 -1
- package/lodash/before.js +1 -1
- package/lodash/bind.js +1 -1
- package/lodash/bindAll.js +1 -1
- package/lodash/bindKey.js +1 -1
- package/lodash/camelCase.js +1 -1
- package/lodash/capitalize.js +1 -1
- package/lodash/castArray.js +1 -1
- package/lodash/ceil.js +1 -1
- package/lodash/chain.js +1 -1
- package/lodash/chunk.js +1 -1
- package/lodash/clamp.js +1 -1
- package/lodash/clone.js +1 -1
- package/lodash/cloneDeep.js +1 -1
- package/lodash/cloneDeepWith.js +1 -1
- package/lodash/cloneWith.js +1 -1
- package/lodash/collection.default.js +1 -1
- package/lodash/collection.js +1 -1
- package/lodash/commit.js +1 -1
- package/lodash/compact.js +1 -1
- package/lodash/concat.js +1 -1
- package/lodash/cond.js +1 -1
- package/lodash/conforms.js +1 -1
- package/lodash/conformsTo.js +1 -1
- package/lodash/constant.js +1 -1
- package/lodash/countBy.js +1 -1
- package/lodash/create.js +1 -1
- package/lodash/curry.js +1 -1
- package/lodash/curryRight.js +1 -1
- package/lodash/date.default.js +1 -1
- package/lodash/date.js +1 -1
- package/lodash/debounce.js +1 -1
- package/lodash/deburr.js +1 -1
- package/lodash/defaultTo.js +1 -1
- package/lodash/defaults.js +1 -1
- package/lodash/defaultsDeep.js +1 -1
- package/lodash/defer.js +1 -1
- package/lodash/delay.js +1 -1
- package/lodash/difference.js +1 -1
- package/lodash/differenceBy.js +1 -1
- package/lodash/differenceWith.js +1 -1
- package/lodash/divide.js +1 -1
- package/lodash/drop.js +1 -1
- package/lodash/dropRight.js +1 -1
- package/lodash/dropRightWhile.js +1 -1
- package/lodash/dropWhile.js +1 -1
- package/lodash/each.js +1 -1
- package/lodash/eachRight.js +1 -1
- package/lodash/endsWith.js +1 -1
- package/lodash/entries.js +1 -1
- package/lodash/entriesIn.js +1 -1
- package/lodash/eq.js +1 -1
- package/lodash/escape.js +1 -1
- package/lodash/escapeRegExp.js +1 -1
- package/lodash/every.js +1 -1
- package/lodash/extend.js +1 -1
- package/lodash/extendWith.js +1 -1
- package/lodash/fill.js +1 -1
- package/lodash/filter.js +1 -1
- package/lodash/find.js +1 -1
- package/lodash/findIndex.js +1 -1
- package/lodash/findKey.js +1 -1
- package/lodash/findLast.js +1 -1
- package/lodash/findLastIndex.js +1 -1
- package/lodash/findLastKey.js +1 -1
- package/lodash/first.js +1 -1
- package/lodash/flatMap.js +1 -1
- package/lodash/flatMapDeep.js +1 -1
- package/lodash/flatMapDepth.js +1 -1
- package/lodash/flatten.js +1 -1
- package/lodash/flattenDeep.js +1 -1
- package/lodash/flattenDepth.js +1 -1
- package/lodash/flip.js +1 -1
- package/lodash/floor.js +1 -1
- package/lodash/flow.js +1 -1
- package/lodash/flowRight.js +1 -1
- package/lodash/forEach.js +1 -1
- package/lodash/forEachRight.js +1 -1
- package/lodash/forIn.js +1 -1
- package/lodash/forInRight.js +1 -1
- package/lodash/forOwn.js +1 -1
- package/lodash/forOwnRight.js +1 -1
- package/lodash/fromPairs.js +1 -1
- package/lodash/function.default.js +1 -1
- package/lodash/function.js +1 -1
- package/lodash/functions.js +1 -1
- package/lodash/functionsIn.js +1 -1
- package/lodash/get.js +1 -1
- package/lodash/groupBy.js +1 -1
- package/lodash/gt.js +1 -1
- package/lodash/gte.js +1 -1
- package/lodash/has.js +1 -1
- package/lodash/hasIn.js +1 -1
- package/lodash/head.js +1 -1
- package/lodash/identity.js +1 -1
- package/lodash/inRange.js +1 -1
- package/lodash/includes.js +1 -1
- package/lodash/index.js +1 -1
- package/lodash/indexOf.js +1 -1
- package/lodash/initial.js +1 -1
- package/lodash/intersection.js +1 -1
- package/lodash/intersectionBy.js +1 -1
- package/lodash/intersectionWith.js +1 -1
- package/lodash/invert.js +1 -1
- package/lodash/invertBy.js +1 -1
- package/lodash/invoke.js +1 -1
- package/lodash/invokeMap.js +1 -1
- package/lodash/isArguments.js +1 -1
- package/lodash/isArray.js +1 -1
- package/lodash/isArrayBuffer.js +1 -1
- package/lodash/isArrayLike.js +1 -1
- package/lodash/isArrayLikeObject.js +1 -1
- package/lodash/isBoolean.js +1 -1
- package/lodash/isBuffer.js +1 -1
- package/lodash/isDate.js +1 -1
- package/lodash/isElement.js +1 -1
- package/lodash/isEmpty.js +1 -1
- package/lodash/isEqual.js +1 -1
- package/lodash/isEqualWith.js +1 -1
- package/lodash/isError.js +1 -1
- package/lodash/isFinite.js +1 -1
- package/lodash/isFunction.js +1 -1
- package/lodash/isInteger.js +1 -1
- package/lodash/isLength.js +1 -1
- package/lodash/isMap.js +1 -1
- package/lodash/isMatch.js +1 -1
- package/lodash/isMatchWith.js +1 -1
- package/lodash/isNaN.js +1 -1
- package/lodash/isNative.js +1 -1
- package/lodash/isNil.js +1 -1
- package/lodash/isNull.js +1 -1
- package/lodash/isNumber.js +1 -1
- package/lodash/isObject.js +1 -1
- package/lodash/isObjectLike.js +1 -1
- package/lodash/isPlainObject.js +1 -1
- package/lodash/isPromise.js +1 -1
- package/lodash/isRegExp.js +1 -1
- package/lodash/isSafeInteger.js +1 -1
- package/lodash/isSet.js +1 -1
- package/lodash/isString.js +1 -1
- package/lodash/isSymbol.js +1 -1
- package/lodash/isTypedArray.js +1 -1
- package/lodash/isUndefined.js +1 -1
- package/lodash/isWeakMap.js +1 -1
- package/lodash/isWeakSet.js +1 -1
- package/lodash/iteratee.js +1 -1
- package/lodash/join.js +1 -1
- package/lodash/kebabCase.js +1 -1
- package/lodash/keyBy.js +1 -1
- package/lodash/keys.js +1 -1
- package/lodash/keysIn.js +1 -1
- package/lodash/lang.default.js +1 -1
- package/lodash/lang.js +1 -1
- package/lodash/last.js +1 -1
- package/lodash/lastIndexOf.js +1 -1
- package/lodash/lodash.default.js +1 -1
- package/lodash/lodash.js +1 -1
- package/lodash/lowerCase.js +1 -1
- package/lodash/lowerFirst.js +1 -1
- package/lodash/lt.js +1 -1
- package/lodash/lte.js +1 -1
- package/lodash/map.js +1 -1
- package/lodash/mapKeys.js +1 -1
- package/lodash/mapValues.js +1 -1
- package/lodash/matches.js +1 -1
- package/lodash/matchesProperty.js +1 -1
- package/lodash/math.default.js +1 -1
- package/lodash/math.js +1 -1
- package/lodash/max.js +1 -1
- package/lodash/maxBy.js +1 -1
- package/lodash/mean.js +1 -1
- package/lodash/meanBy.js +1 -1
- package/lodash/memoize.js +1 -1
- package/lodash/merge.js +1 -1
- package/lodash/mergeWith.js +1 -1
- package/lodash/method.js +1 -1
- package/lodash/methodOf.js +1 -1
- package/lodash/min.js +1 -1
- package/lodash/minBy.js +1 -1
- package/lodash/mixin.js +1 -1
- package/lodash/multiply.js +1 -1
- package/lodash/negate.js +1 -1
- package/lodash/next.js +1 -1
- package/lodash/noop.js +1 -1
- package/lodash/now.js +1 -1
- package/lodash/nth.js +1 -1
- package/lodash/nthArg.js +1 -1
- package/lodash/number.default.js +1 -1
- package/lodash/number.js +1 -1
- package/lodash/object.default.js +1 -1
- package/lodash/object.js +1 -1
- package/lodash/omit.js +1 -1
- package/lodash/omitBy.js +1 -1
- package/lodash/once.js +1 -1
- package/lodash/orderBy.js +1 -1
- package/lodash/over.js +1 -1
- package/lodash/overArgs.js +1 -1
- package/lodash/overEvery.js +1 -1
- package/lodash/overSome.js +1 -1
- package/lodash/pad.js +1 -1
- package/lodash/padEnd.js +1 -1
- package/lodash/padStart.js +1 -1
- package/lodash/parseInt.js +1 -1
- package/lodash/partial.js +1 -1
- package/lodash/partialRight.js +1 -1
- package/lodash/partition.js +1 -1
- package/lodash/pick.js +1 -1
- package/lodash/pickBy.js +1 -1
- package/lodash/plant.js +1 -1
- package/lodash/property.js +1 -1
- package/lodash/propertyOf.js +1 -1
- package/lodash/pull.js +1 -1
- package/lodash/pullAll.js +1 -1
- package/lodash/pullAllBy.js +1 -1
- package/lodash/pullAllWith.js +1 -1
- package/lodash/pullAt.js +1 -1
- package/lodash/random.js +1 -1
- package/lodash/range.js +1 -1
- package/lodash/rangeRight.js +1 -1
- package/lodash/rearg.js +1 -1
- package/lodash/reduce.js +1 -1
- package/lodash/reduceRight.js +1 -1
- package/lodash/reject.js +1 -1
- package/lodash/remove.js +1 -1
- package/lodash/repeat.js +1 -1
- package/lodash/replace.js +1 -1
- package/lodash/rest.js +1 -1
- package/lodash/result.js +1 -1
- package/lodash/reverse.js +1 -1
- package/lodash/round.js +1 -1
- package/lodash/sample.js +1 -1
- package/lodash/sampleSize.js +1 -1
- package/lodash/seq.default.js +1 -1
- package/lodash/seq.js +1 -1
- package/lodash/set.js +1 -1
- package/lodash/setWith.js +1 -1
- package/lodash/shuffle.js +1 -1
- package/lodash/size.js +1 -1
- package/lodash/slice.js +1 -1
- package/lodash/snakeCase.js +1 -1
- package/lodash/some.js +1 -1
- package/lodash/sortBy.js +1 -1
- package/lodash/sortedIndex.js +1 -1
- package/lodash/sortedIndexBy.js +1 -1
- package/lodash/sortedIndexOf.js +1 -1
- package/lodash/sortedLastIndex.js +1 -1
- package/lodash/sortedLastIndexBy.js +1 -1
- package/lodash/sortedLastIndexOf.js +1 -1
- package/lodash/sortedUniq.js +1 -1
- package/lodash/sortedUniqBy.js +1 -1
- package/lodash/split.js +1 -1
- package/lodash/spread.js +1 -1
- package/lodash/startCase.js +1 -1
- package/lodash/startsWith.js +1 -1
- package/lodash/string.default.js +1 -1
- package/lodash/string.js +1 -1
- package/lodash/stubArray.js +1 -1
- package/lodash/stubFalse.js +1 -1
- package/lodash/stubObject.js +1 -1
- package/lodash/stubString.js +1 -1
- package/lodash/stubTrue.js +1 -1
- package/lodash/subtract.js +1 -1
- package/lodash/sum.js +1 -1
- package/lodash/sumBy.js +1 -1
- package/lodash/tail.js +1 -1
- package/lodash/take.js +1 -1
- package/lodash/takeRight.js +1 -1
- package/lodash/takeRightWhile.js +1 -1
- package/lodash/takeWhile.js +1 -1
- package/lodash/tap.js +1 -1
- package/lodash/template.js +1 -1
- package/lodash/templateSettings.js +1 -1
- package/lodash/throttle.js +1 -1
- package/lodash/thru.js +1 -1
- package/lodash/times.js +1 -1
- package/lodash/toArray.js +1 -1
- package/lodash/toFinite.js +1 -1
- package/lodash/toInteger.js +1 -1
- package/lodash/toIterator.js +1 -1
- package/lodash/toJSON.js +1 -1
- package/lodash/toLength.js +1 -1
- package/lodash/toLower.js +1 -1
- package/lodash/toNumber.js +1 -1
- package/lodash/toPairs.js +1 -1
- package/lodash/toPairsIn.js +1 -1
- package/lodash/toPath.js +1 -1
- package/lodash/toPlainObject.js +1 -1
- package/lodash/toSafeInteger.js +1 -1
- package/lodash/toString.js +1 -1
- package/lodash/toUpper.js +1 -1
- package/lodash/transform.js +1 -1
- package/lodash/trim.js +1 -1
- package/lodash/trimEnd.js +1 -1
- package/lodash/trimStart.js +1 -1
- package/lodash/truncate.js +1 -1
- package/lodash/unary.js +1 -1
- package/lodash/unescape.js +1 -1
- package/lodash/union.js +1 -1
- package/lodash/unionBy.js +1 -1
- package/lodash/unionWith.js +1 -1
- package/lodash/uniq.js +1 -1
- package/lodash/uniqBy.js +1 -1
- package/lodash/uniqWith.js +1 -1
- package/lodash/uniqueId.js +1 -1
- package/lodash/unset.js +1 -1
- package/lodash/unzip.js +1 -1
- package/lodash/unzipWith.js +1 -1
- package/lodash/update.js +1 -1
- package/lodash/updateWith.js +1 -1
- package/lodash/upperCase.js +1 -1
- package/lodash/upperFirst.js +1 -1
- package/lodash/util.default.js +1 -1
- package/lodash/util.js +1 -1
- package/lodash/value.js +1 -1
- package/lodash/valueOf.js +1 -1
- package/lodash/values.js +1 -1
- package/lodash/valuesIn.js +1 -1
- package/lodash/without.js +1 -1
- package/lodash/words.js +1 -1
- package/lodash/wrap.js +1 -1
- package/lodash/wrapperAt.js +1 -1
- package/lodash/wrapperChain.js +1 -1
- package/lodash/wrapperLodash.js +1 -1
- package/lodash/wrapperReverse.js +1 -1
- package/lodash/wrapperValue.js +1 -1
- package/lodash/xor.js +1 -1
- package/lodash/xorBy.js +1 -1
- package/lodash/xorWith.js +1 -1
- package/lodash/zip.js +1 -1
- package/lodash/zipObject.js +1 -1
- package/lodash/zipObjectDeep.js +1 -1
- package/lodash/zipWith.js +1 -1
- package/math/index.js +1 -1
- package/md5/index.js +1 -1
- package/mock/MockWebSocket.js +1 -1
- package/mock/MockXMLHttpRequest.js +1 -1
- package/mock/index.js +1 -1
- package/normalize-wheel/ExecutionEnvironment.js +1 -1
- package/normalize-wheel/UserAgent_DEPRECATED.js +1 -1
- package/normalize-wheel/index.js +1 -1
- package/normalize-wheel/isEventSupported.js +1 -1
- package/number-to-chinese/index.js +1 -1
- package/nzh/cn.js +1 -1
- package/nzh/hk.js +1 -1
- package/nzh/index.js +1 -1
- package/nzh/nzh.js +1 -1
- package/nzh/src/autoGet.js +1 -1
- package/nzh/src/index.js +1 -1
- package/nzh/src/langs/cn_b.js +1 -1
- package/nzh/src/langs/cn_s.js +1 -1
- package/nzh/src/langs/hk_b.js +1 -1
- package/nzh/src/langs/hk_s.js +1 -1
- package/nzh/src/utils.js +1 -1
- package/object/index.js +1 -1
- package/package.json +1 -1
- package/pinyin/LICENSE +13 -12
- package/pinyin/index.d.ts +2 -1
- package/pinyin/index.js +14 -3
- package/pinyin/lib/common/constant.d.ts +16 -0
- package/pinyin/lib/common/constant.js +16 -0
- package/pinyin/lib/common/segmentit/AC.d.ts +18 -0
- package/pinyin/lib/common/segmentit/AC.js +95 -0
- package/pinyin/lib/common/segmentit/TrieNode.d.ts +30 -0
- package/pinyin/lib/common/segmentit/TrieNode.js +12 -0
- package/pinyin/lib/common/segmentit/index.d.ts +3 -0
- package/pinyin/lib/common/segmentit/index.js +21 -0
- package/pinyin/lib/common/segmentit/max-probability.d.ts +2 -0
- package/pinyin/lib/common/segmentit/max-probability.js +41 -0
- package/pinyin/lib/common/segmentit/min-tokenization.d.ts +2 -0
- package/pinyin/lib/common/segmentit/min-tokenization.js +35 -0
- package/pinyin/lib/common/segmentit/reverse-max-match.d.ts +2 -0
- package/pinyin/lib/common/segmentit/reverse-max-match.js +17 -0
- package/pinyin/lib/common/type.d.ts +69 -0
- package/pinyin/lib/common/utils.d.ts +10 -0
- package/pinyin/lib/common/utils.js +39 -0
- package/pinyin/lib/core/convert/index.d.ts +29 -0
- package/pinyin/lib/core/convert/index.js +128 -0
- package/pinyin/lib/core/custom/index.d.ts +25 -0
- package/pinyin/lib/core/custom/index.js +39 -0
- package/pinyin/lib/core/dict/index.d.ts +10 -0
- package/pinyin/lib/core/dict/index.js +48 -0
- package/pinyin/lib/core/html/index.d.ts +44 -0
- package/pinyin/lib/core/html/index.js +36 -0
- package/pinyin/lib/core/match/index.d.ts +35 -0
- package/pinyin/lib/core/match/index.js +103 -0
- package/pinyin/lib/core/pinyin/handle.d.ts +81 -0
- package/pinyin/lib/core/pinyin/handle.js +140 -0
- package/pinyin/lib/core/pinyin/index.d.ts +117 -0
- package/pinyin/lib/core/pinyin/index.js +32 -0
- package/pinyin/lib/core/pinyin/middlewares.d.ts +25 -0
- package/pinyin/lib/core/pinyin/middlewares.js +110 -0
- package/pinyin/lib/core/polyphonic/index.d.ts +87 -0
- package/pinyin/lib/core/polyphonic/index.js +60 -0
- package/pinyin/lib/core/segment/index.d.ts +87 -0
- package/pinyin/lib/core/segment/index.js +33 -0
- package/pinyin/lib/core/segment/middlewares.d.ts +55 -0
- package/pinyin/lib/core/segment/middlewares.js +67 -0
- package/pinyin/lib/core/traditional/index.d.ts +2 -0
- package/pinyin/lib/core/traditional/index.js +15 -0
- package/pinyin/lib/data/dict1-pinyin.d.ts +3 -0
- package/pinyin/lib/data/dict1.d.ts +3 -0
- package/pinyin/lib/data/dict1.js +13920 -0
- package/pinyin/lib/data/dict2.d.ts +6 -0
- package/pinyin/lib/data/dict2.js +2167 -0
- package/pinyin/lib/data/dict3.d.ts +6 -0
- package/pinyin/lib/data/dict3.js +338 -0
- package/pinyin/lib/data/dict4.d.ts +6 -0
- package/pinyin/lib/data/dict4.js +1608 -0
- package/pinyin/lib/data/dict5.d.ts +6 -0
- package/pinyin/lib/data/dict5.js +30 -0
- package/pinyin/lib/data/special.d.ts +45 -0
- package/pinyin/lib/data/special.js +180 -0
- package/pinyin/lib/data/surname.d.ts +6 -0
- package/pinyin/lib/data/surname.js +508 -0
- package/pinyin/lib/index.d.ts +10 -0
- package/pinyin/lib/index.js +13 -0
- package/query-string/base.js +1 -1
- package/query-string/index.js +1 -1
- package/query-string/splitOnFirst.js +1 -1
- package/random/address.js +1 -1
- package/random/constellation.js +1 -1
- package/random/image.js +1 -1
- package/random/index.js +1 -1
- package/random/licensePlate.js +1 -1
- package/random/name.js +1 -1
- package/random/number.js +1 -1
- package/random/text.js +1 -1
- package/random/time.js +1 -1
- package/random/web.js +1 -1
- package/sanitize-url/index.js +1 -1
- package/screenfull/index.js +1 -1
- package/sleep/index.js +1 -1
- package/snapdom/index.browser.js +1 -1
- package/snapdom/index.js +1 -1
- package/snapdom/src/api/preCache.js +1 -1
- package/snapdom/src/api/snapdom.js +1 -1
- package/snapdom/src/core/cache.js +1 -1
- package/snapdom/src/core/capture.js +1 -1
- package/snapdom/src/core/clone.js +1 -1
- package/snapdom/src/core/context.js +1 -1
- package/snapdom/src/core/plugins.js +1 -1
- package/snapdom/src/core/prepare.js +1 -1
- package/snapdom/src/exporters/download.js +1 -1
- package/snapdom/src/exporters/toBlob.js +1 -1
- package/snapdom/src/exporters/toCanvas.js +1 -1
- package/snapdom/src/exporters/toImg.js +1 -1
- package/snapdom/src/index.browser.js +1 -1
- package/snapdom/src/index.js +1 -1
- package/snapdom/src/modules/CSSVar.js +1 -1
- package/snapdom/src/modules/background.js +1 -1
- package/snapdom/src/modules/changeCSS.js +1 -1
- package/snapdom/src/modules/counter.js +1 -1
- package/snapdom/src/modules/fonts.js +1 -1
- package/snapdom/src/modules/iconFonts.js +1 -1
- package/snapdom/src/modules/images.js +1 -1
- package/snapdom/src/modules/lineClamp.js +1 -1
- package/snapdom/src/modules/pictureResolver.js +1 -1
- package/snapdom/src/modules/pseudo.js +1 -1
- package/snapdom/src/modules/rasterize.js +1 -1
- package/snapdom/src/modules/snapFetch.js +1 -1
- package/snapdom/src/modules/styles.js +1 -1
- package/snapdom/src/modules/svgDefs.js +1 -1
- package/snapdom/src/utils/browser.js +1 -1
- package/snapdom/src/utils/capture.helpers.js +1 -1
- package/snapdom/src/utils/clone.helpers.js +1 -1
- package/snapdom/src/utils/css.js +1 -1
- package/snapdom/src/utils/debug.js +1 -1
- package/snapdom/src/utils/helpers.js +1 -1
- package/snapdom/src/utils/image.js +1 -1
- package/snapdom/src/utils/index.js +1 -1
- package/snapdom/src/utils/prepare.helpers.js +1 -1
- package/snapdom/src/utils/transforms.helpers.js +1 -1
- package/string/chars.js +1 -1
- package/string/index.js +1 -1
- package/tinycolor/conversion.js +1 -1
- package/tinycolor/css-color-names.js +1 -1
- package/tinycolor/format-input.js +1 -1
- package/tinycolor/from-ratio.js +1 -1
- package/tinycolor/index.js +1 -1
- package/tinycolor/interfaces.js +1 -1
- package/tinycolor/public_api.js +1 -1
- package/tinycolor/random.js +1 -1
- package/tinycolor/readability.js +1 -1
- package/tinycolor/to-ms-filter.js +1 -1
- package/tinycolor/umd_api.js +1 -1
- package/tinycolor/utils.js +1 -1
- package/tree/index.js +1 -1
- package/tree/searchTree.js +1 -1
- package/tween/easing.js +1 -1
- package/tween/index.js +1 -1
- package/tween/tween.js +1 -1
- package/ui-color/compareColorByRange.js +1 -1
- package/ui-color/index.js +1 -1
- package/url-toolkit/index.js +1 -1
- package/validate/index.js +1 -1
- package/validate/interface.js +1 -1
- package/validate/locale/en-US.js +1 -1
- package/validate/locale/index.js +1 -1
- package/validate/locale/zh-CN.js +1 -1
- package/validate/rules/array.js +1 -1
- package/validate/rules/base.js +1 -1
- package/validate/rules/boolean.js +1 -1
- package/validate/rules/custom.js +1 -1
- package/validate/rules/number.js +1 -1
- package/validate/rules/object.js +1 -1
- package/validate/rules/string.js +1 -1
- package/validate/rules/type.js +1 -1
- package/version/index.js +1 -1
- package/xlsx/crc32.js +1 -1
- package/xlsx/index.js +1 -1
- package/xlsx/xlsx.js +1 -1
- package/pinyin/core.d.ts +0 -3
- package/pinyin/core.js +0 -136
- package/pinyin/simplified.d.ts +0 -4
- package/pinyin/simplified.js +0 -8
- package/pinyin/simplified_dict.d.ts +0 -408
- package/pinyin/simplified_dict.js +0 -411
- package/pinyin/traditional.d.ts +0 -4
- package/pinyin/traditional.js +0 -8
- package/pinyin/traditional_dict.d.ts +0 -401
- package/pinyin/traditional_dict.js +0 -404
|
@@ -0,0 +1,1424 @@
|
|
|
1
|
+
/* 潘启宝 2026-05-21 17:01:48 星期四 山东省济南市 */
|
|
2
|
+
import e from "./worker.js";
|
|
3
|
+
//#region utils/fflate/src/index.ts
|
|
4
|
+
var t = Uint8Array, n = Uint16Array, r = Int32Array, i = new t([
|
|
5
|
+
0,
|
|
6
|
+
0,
|
|
7
|
+
0,
|
|
8
|
+
0,
|
|
9
|
+
0,
|
|
10
|
+
0,
|
|
11
|
+
0,
|
|
12
|
+
0,
|
|
13
|
+
1,
|
|
14
|
+
1,
|
|
15
|
+
1,
|
|
16
|
+
1,
|
|
17
|
+
2,
|
|
18
|
+
2,
|
|
19
|
+
2,
|
|
20
|
+
2,
|
|
21
|
+
3,
|
|
22
|
+
3,
|
|
23
|
+
3,
|
|
24
|
+
3,
|
|
25
|
+
4,
|
|
26
|
+
4,
|
|
27
|
+
4,
|
|
28
|
+
4,
|
|
29
|
+
5,
|
|
30
|
+
5,
|
|
31
|
+
5,
|
|
32
|
+
5,
|
|
33
|
+
0,
|
|
34
|
+
0,
|
|
35
|
+
0,
|
|
36
|
+
0
|
|
37
|
+
]), a = new t([
|
|
38
|
+
0,
|
|
39
|
+
0,
|
|
40
|
+
0,
|
|
41
|
+
0,
|
|
42
|
+
1,
|
|
43
|
+
1,
|
|
44
|
+
2,
|
|
45
|
+
2,
|
|
46
|
+
3,
|
|
47
|
+
3,
|
|
48
|
+
4,
|
|
49
|
+
4,
|
|
50
|
+
5,
|
|
51
|
+
5,
|
|
52
|
+
6,
|
|
53
|
+
6,
|
|
54
|
+
7,
|
|
55
|
+
7,
|
|
56
|
+
8,
|
|
57
|
+
8,
|
|
58
|
+
9,
|
|
59
|
+
9,
|
|
60
|
+
10,
|
|
61
|
+
10,
|
|
62
|
+
11,
|
|
63
|
+
11,
|
|
64
|
+
12,
|
|
65
|
+
12,
|
|
66
|
+
13,
|
|
67
|
+
13,
|
|
68
|
+
0,
|
|
69
|
+
0
|
|
70
|
+
]), o = new t([
|
|
71
|
+
16,
|
|
72
|
+
17,
|
|
73
|
+
18,
|
|
74
|
+
0,
|
|
75
|
+
8,
|
|
76
|
+
7,
|
|
77
|
+
9,
|
|
78
|
+
6,
|
|
79
|
+
10,
|
|
80
|
+
5,
|
|
81
|
+
11,
|
|
82
|
+
4,
|
|
83
|
+
12,
|
|
84
|
+
3,
|
|
85
|
+
13,
|
|
86
|
+
2,
|
|
87
|
+
14,
|
|
88
|
+
1,
|
|
89
|
+
15
|
|
90
|
+
]), s = (e, t) => {
|
|
91
|
+
let i = new n(31);
|
|
92
|
+
for (let n = 0; n < 31; ++n) i[n] = t += 1 << e[n - 1];
|
|
93
|
+
let a = new r(i[30]);
|
|
94
|
+
for (let e = 1; e < 30; ++e) for (let t = i[e]; t < i[e + 1]; ++t) a[t] = t - i[e] << 5 | e;
|
|
95
|
+
return {
|
|
96
|
+
b: i,
|
|
97
|
+
r: a
|
|
98
|
+
};
|
|
99
|
+
}, { b: c, r: l } = s(i, 2);
|
|
100
|
+
c[28] = 258, l[258] = 28;
|
|
101
|
+
var { b: u, r: d } = s(a, 0), f = new n(32768);
|
|
102
|
+
for (let e = 0; e < 32768; ++e) {
|
|
103
|
+
let t = (e & 43690) >> 1 | (e & 21845) << 1;
|
|
104
|
+
t = (t & 52428) >> 2 | (t & 13107) << 2, t = (t & 61680) >> 4 | (t & 3855) << 4, f[e] = ((t & 65280) >> 8 | (t & 255) << 8) >> 1;
|
|
105
|
+
}
|
|
106
|
+
var p = (e, t, r) => {
|
|
107
|
+
let i = e.length, a = 0, o = new n(t);
|
|
108
|
+
for (; a < i; ++a) e[a] && ++o[e[a] - 1];
|
|
109
|
+
let s = new n(t);
|
|
110
|
+
for (a = 1; a < t; ++a) s[a] = s[a - 1] + o[a - 1] << 1;
|
|
111
|
+
let c;
|
|
112
|
+
if (r) {
|
|
113
|
+
c = new n(1 << t);
|
|
114
|
+
let r = 15 - t;
|
|
115
|
+
for (a = 0; a < i; ++a) if (e[a]) {
|
|
116
|
+
let n = a << 4 | e[a], i = t - e[a], o = s[e[a] - 1]++ << i;
|
|
117
|
+
for (let e = o | (1 << i) - 1; o <= e; ++o) c[f[o] >> r] = n;
|
|
118
|
+
}
|
|
119
|
+
} else for (c = new n(i), a = 0; a < i; ++a) e[a] && (c[a] = f[s[e[a] - 1]++] >> 15 - e[a]);
|
|
120
|
+
return c;
|
|
121
|
+
}, m = new t(288);
|
|
122
|
+
for (let e = 0; e < 144; ++e) m[e] = 8;
|
|
123
|
+
for (let e = 144; e < 256; ++e) m[e] = 9;
|
|
124
|
+
for (let e = 256; e < 280; ++e) m[e] = 7;
|
|
125
|
+
for (let e = 280; e < 288; ++e) m[e] = 8;
|
|
126
|
+
var h = new t(32);
|
|
127
|
+
for (let e = 0; e < 32; ++e) h[e] = 5;
|
|
128
|
+
var g = /* @__PURE__ */ p(m, 9, 0), _ = /* @__PURE__ */ p(m, 9, 1), v = /* @__PURE__ */ p(h, 5, 0), y = /* @__PURE__ */ p(h, 5, 1), b = (e) => {
|
|
129
|
+
let t = e[0];
|
|
130
|
+
for (let n = 1; n < e.length; ++n) e[n] > t && (t = e[n]);
|
|
131
|
+
return t;
|
|
132
|
+
}, x = (e, t, n) => {
|
|
133
|
+
let r = t / 8 | 0;
|
|
134
|
+
return (e[r] | e[r + 1] << 8) >> (t & 7) & n;
|
|
135
|
+
}, S = (e, t) => {
|
|
136
|
+
let n = t / 8 | 0;
|
|
137
|
+
return (e[n] | e[n + 1] << 8 | e[n + 2] << 16) >> (t & 7);
|
|
138
|
+
}, C = (e) => (e + 7) / 8 | 0, w = (e, n, r) => ((n == null || n < 0) && (n = 0), (r == null || r > e.length) && (r = e.length), new t(e.subarray(n, r))), T = {
|
|
139
|
+
UnexpectedEOF: 0,
|
|
140
|
+
InvalidBlockType: 1,
|
|
141
|
+
InvalidLengthLiteral: 2,
|
|
142
|
+
InvalidDistance: 3,
|
|
143
|
+
StreamFinished: 4,
|
|
144
|
+
NoStreamHandler: 5,
|
|
145
|
+
InvalidHeader: 6,
|
|
146
|
+
NoCallback: 7,
|
|
147
|
+
InvalidUTF8: 8,
|
|
148
|
+
ExtraFieldTooLong: 9,
|
|
149
|
+
InvalidDate: 10,
|
|
150
|
+
FilenameTooLong: 11,
|
|
151
|
+
StreamFinishing: 12,
|
|
152
|
+
InvalidZipData: 13,
|
|
153
|
+
UnknownCompressionMethod: 14
|
|
154
|
+
}, E = [
|
|
155
|
+
"unexpected EOF",
|
|
156
|
+
"invalid block type",
|
|
157
|
+
"invalid length/literal",
|
|
158
|
+
"invalid distance",
|
|
159
|
+
"stream finished",
|
|
160
|
+
"no stream handler",
|
|
161
|
+
,
|
|
162
|
+
"no callback",
|
|
163
|
+
"invalid UTF-8 data",
|
|
164
|
+
"extra field too long",
|
|
165
|
+
"date not in range 1980-2099",
|
|
166
|
+
"filename too long",
|
|
167
|
+
"stream finishing",
|
|
168
|
+
"invalid zip data"
|
|
169
|
+
], D = (e, t, n) => {
|
|
170
|
+
let r = Error(t || E[e]);
|
|
171
|
+
if (r.code = e, Error.captureStackTrace && Error.captureStackTrace(r, D), !n) throw r;
|
|
172
|
+
return r;
|
|
173
|
+
}, O = (e, n, r, s) => {
|
|
174
|
+
let l = e.length, d = s ? s.length : 0;
|
|
175
|
+
if (!l || n.f && !n.l) return r || new t(0);
|
|
176
|
+
let f = !r, m = f || n.i != 2, h = n.i;
|
|
177
|
+
f && (r = new t(l * 3));
|
|
178
|
+
let g = (e) => {
|
|
179
|
+
let n = r.length;
|
|
180
|
+
if (e > n) {
|
|
181
|
+
let i = new t(Math.max(n * 2, e));
|
|
182
|
+
i.set(r), r = i;
|
|
183
|
+
}
|
|
184
|
+
}, v = n.f || 0, T = n.p || 0, E = n.b || 0, O = n.l, k = n.d, A = n.m, j = n.n, M = l * 8;
|
|
185
|
+
do {
|
|
186
|
+
if (!O) {
|
|
187
|
+
v = x(e, T, 1);
|
|
188
|
+
let i = x(e, T + 1, 3);
|
|
189
|
+
if (T += 3, !i) {
|
|
190
|
+
let t = C(T) + 4, i = e[t - 4] | e[t - 3] << 8, a = t + i;
|
|
191
|
+
if (a > l) {
|
|
192
|
+
h && D(0);
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
m && g(E + i), r.set(e.subarray(t, a), E), n.b = E += i, n.p = T = a * 8, n.f = v;
|
|
196
|
+
continue;
|
|
197
|
+
} else if (i == 1) O = _, k = y, A = 9, j = 5;
|
|
198
|
+
else if (i == 2) {
|
|
199
|
+
let n = x(e, T, 31) + 257, r = x(e, T + 10, 15) + 4, i = n + x(e, T + 5, 31) + 1;
|
|
200
|
+
T += 14;
|
|
201
|
+
let a = new t(i), s = new t(19);
|
|
202
|
+
for (let t = 0; t < r; ++t) s[o[t]] = x(e, T + t * 3, 7);
|
|
203
|
+
T += r * 3;
|
|
204
|
+
let c = b(s), l = (1 << c) - 1, u = p(s, c, 1);
|
|
205
|
+
for (let t = 0; t < i;) {
|
|
206
|
+
let n = u[x(e, T, l)];
|
|
207
|
+
T += n & 15;
|
|
208
|
+
let r = n >> 4;
|
|
209
|
+
if (r < 16) a[t++] = r;
|
|
210
|
+
else {
|
|
211
|
+
let n = 0, i = 0;
|
|
212
|
+
for (r == 16 ? (i = 3 + x(e, T, 3), T += 2, n = a[t - 1]) : r == 17 ? (i = 3 + x(e, T, 7), T += 3) : r == 18 && (i = 11 + x(e, T, 127), T += 7); i--;) a[t++] = n;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
let d = a.subarray(0, n), f = a.subarray(n);
|
|
216
|
+
A = b(d), j = b(f), O = p(d, A, 1), k = p(f, j, 1);
|
|
217
|
+
} else D(1);
|
|
218
|
+
if (T > M) {
|
|
219
|
+
h && D(0);
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
m && g(E + 131072);
|
|
224
|
+
let f = (1 << A) - 1, w = (1 << j) - 1, N = T;
|
|
225
|
+
for (;; N = T) {
|
|
226
|
+
let t = O[S(e, T) & f], n = t >> 4;
|
|
227
|
+
if (T += t & 15, T > M) {
|
|
228
|
+
h && D(0);
|
|
229
|
+
break;
|
|
230
|
+
}
|
|
231
|
+
if (t || D(2), n < 256) r[E++] = n;
|
|
232
|
+
else if (n == 256) {
|
|
233
|
+
N = T, O = null;
|
|
234
|
+
break;
|
|
235
|
+
} else {
|
|
236
|
+
let t = n - 254;
|
|
237
|
+
if (n > 264) {
|
|
238
|
+
let r = n - 257, a = i[r];
|
|
239
|
+
t = x(e, T, (1 << a) - 1) + c[r], T += a;
|
|
240
|
+
}
|
|
241
|
+
let o = k[S(e, T) & w], l = o >> 4;
|
|
242
|
+
o || D(3), T += o & 15;
|
|
243
|
+
let f = u[l];
|
|
244
|
+
if (l > 3) {
|
|
245
|
+
let t = a[l];
|
|
246
|
+
f += S(e, T) & (1 << t) - 1, T += t;
|
|
247
|
+
}
|
|
248
|
+
if (T > M) {
|
|
249
|
+
h && D(0);
|
|
250
|
+
break;
|
|
251
|
+
}
|
|
252
|
+
m && g(E + 131072);
|
|
253
|
+
let p = E + t;
|
|
254
|
+
if (E < f) {
|
|
255
|
+
let e = d - f, t = Math.min(f, p);
|
|
256
|
+
for (e + E < 0 && D(3); E < t; ++E) r[E] = s[e + E];
|
|
257
|
+
}
|
|
258
|
+
for (; E < p; ++E) r[E] = r[E - f];
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
n.l = O, n.p = N, n.b = E, n.f = v, O && (v = 1, n.m = A, n.d = k, n.n = j);
|
|
262
|
+
} while (!v);
|
|
263
|
+
return E != r.length && f ? w(r, 0, E) : r.subarray(0, E);
|
|
264
|
+
}, k = (e, t, n) => {
|
|
265
|
+
n <<= t & 7;
|
|
266
|
+
let r = t / 8 | 0;
|
|
267
|
+
e[r] |= n, e[r + 1] |= n >> 8;
|
|
268
|
+
}, A = (e, t, n) => {
|
|
269
|
+
n <<= t & 7;
|
|
270
|
+
let r = t / 8 | 0;
|
|
271
|
+
e[r] |= n, e[r + 1] |= n >> 8, e[r + 2] |= n >> 16;
|
|
272
|
+
}, j = (e, r) => {
|
|
273
|
+
let i = [];
|
|
274
|
+
for (let t = 0; t < e.length; ++t) e[t] && i.push({
|
|
275
|
+
s: t,
|
|
276
|
+
f: e[t]
|
|
277
|
+
});
|
|
278
|
+
let a = i.length, o = i.slice();
|
|
279
|
+
if (!a) return {
|
|
280
|
+
t: I,
|
|
281
|
+
l: 0
|
|
282
|
+
};
|
|
283
|
+
if (a == 1) {
|
|
284
|
+
let e = new t(i[0].s + 1);
|
|
285
|
+
return e[i[0].s] = 1, {
|
|
286
|
+
t: e,
|
|
287
|
+
l: 1
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
i.sort((e, t) => e.f - t.f), i.push({
|
|
291
|
+
s: -1,
|
|
292
|
+
f: 25001
|
|
293
|
+
});
|
|
294
|
+
let s = i[0], c = i[1], l = 0, u = 1, d = 2;
|
|
295
|
+
for (i[0] = {
|
|
296
|
+
s: -1,
|
|
297
|
+
f: s.f + c.f,
|
|
298
|
+
l: s,
|
|
299
|
+
r: c
|
|
300
|
+
}; u != a - 1;) s = i[i[l].f < i[d].f ? l++ : d++], c = i[l != u && i[l].f < i[d].f ? l++ : d++], i[u++] = {
|
|
301
|
+
s: -1,
|
|
302
|
+
f: s.f + c.f,
|
|
303
|
+
l: s,
|
|
304
|
+
r: c
|
|
305
|
+
};
|
|
306
|
+
let f = o[0].s;
|
|
307
|
+
for (let e = 1; e < a; ++e) o[e].s > f && (f = o[e].s);
|
|
308
|
+
let p = new n(f + 1), m = M(i[u - 1], p, 0);
|
|
309
|
+
if (m > r) {
|
|
310
|
+
let e = 0, t = 0, n = m - r, i = 1 << n;
|
|
311
|
+
for (o.sort((e, t) => p[t.s] - p[e.s] || e.f - t.f); e < a; ++e) {
|
|
312
|
+
let n = o[e].s;
|
|
313
|
+
if (p[n] > r) t += i - (1 << m - p[n]), p[n] = r;
|
|
314
|
+
else break;
|
|
315
|
+
}
|
|
316
|
+
for (t >>= n; t > 0;) {
|
|
317
|
+
let n = o[e].s;
|
|
318
|
+
p[n] < r ? t -= 1 << r - p[n]++ - 1 : ++e;
|
|
319
|
+
}
|
|
320
|
+
for (; e >= 0 && t; --e) {
|
|
321
|
+
let n = o[e].s;
|
|
322
|
+
p[n] == r && (--p[n], ++t);
|
|
323
|
+
}
|
|
324
|
+
m = r;
|
|
325
|
+
}
|
|
326
|
+
return {
|
|
327
|
+
t: new t(p),
|
|
328
|
+
l: m
|
|
329
|
+
};
|
|
330
|
+
}, M = (e, t, n) => e.s == -1 ? Math.max(M(e.l, t, n + 1), M(e.r, t, n + 1)) : t[e.s] = n, N = (e) => {
|
|
331
|
+
let t = e.length;
|
|
332
|
+
for (; t && !e[--t];);
|
|
333
|
+
let r = new n(++t), i = 0, a = e[0], o = 1, s = (e) => {
|
|
334
|
+
r[i++] = e;
|
|
335
|
+
};
|
|
336
|
+
for (let n = 1; n <= t; ++n) if (e[n] == a && n != t) ++o;
|
|
337
|
+
else {
|
|
338
|
+
if (!a && o > 2) {
|
|
339
|
+
for (; o > 138; o -= 138) s(32754);
|
|
340
|
+
o > 2 && (s(o > 10 ? o - 11 << 5 | 28690 : o - 3 << 5 | 12305), o = 0);
|
|
341
|
+
} else if (o > 3) {
|
|
342
|
+
for (s(a), --o; o > 6; o -= 6) s(8304);
|
|
343
|
+
o > 2 && (s(o - 3 << 5 | 8208), o = 0);
|
|
344
|
+
}
|
|
345
|
+
for (; o--;) s(a);
|
|
346
|
+
o = 1, a = e[n];
|
|
347
|
+
}
|
|
348
|
+
return {
|
|
349
|
+
c: r.subarray(0, i),
|
|
350
|
+
n: t
|
|
351
|
+
};
|
|
352
|
+
}, P = (e, t) => {
|
|
353
|
+
let n = 0;
|
|
354
|
+
for (let r = 0; r < t.length; ++r) n += e[r] * t[r];
|
|
355
|
+
return n;
|
|
356
|
+
}, ee = (e, t, n) => {
|
|
357
|
+
let r = n.length, i = C(t + 2);
|
|
358
|
+
e[i] = r & 255, e[i + 1] = r >> 8, e[i + 2] = e[i] ^ 255, e[i + 3] = e[i + 1] ^ 255;
|
|
359
|
+
for (let t = 0; t < r; ++t) e[i + t + 4] = n[t];
|
|
360
|
+
return (i + 4 + r) * 8;
|
|
361
|
+
}, te = (e, t, r, s, c, l, u, d, f, _, y) => {
|
|
362
|
+
k(t, y++, r), ++c[256];
|
|
363
|
+
let { t: b, l: x } = j(c, 15), { t: S, l: C } = j(l, 15), { c: w, n: T } = N(b), { c: E, n: D } = N(S), O = new n(19);
|
|
364
|
+
for (let e = 0; e < w.length; ++e) ++O[w[e] & 31];
|
|
365
|
+
for (let e = 0; e < E.length; ++e) ++O[E[e] & 31];
|
|
366
|
+
let { t: M, l: te } = j(O, 7), F = 19;
|
|
367
|
+
for (; F > 4 && !M[o[F - 1]]; --F);
|
|
368
|
+
let I = _ + 5 << 3, ne = P(c, m) + P(l, h) + u, re = P(c, b) + P(l, S) + u + 14 + 3 * F + P(O, M) + 2 * O[16] + 3 * O[17] + 7 * O[18];
|
|
369
|
+
if (f >= 0 && I <= ne && I <= re) return ee(t, y, e.subarray(f, f + _));
|
|
370
|
+
let L, R, z, B;
|
|
371
|
+
if (k(t, y, 1 + (re < ne)), y += 2, re < ne) {
|
|
372
|
+
L = p(b, x, 0), R = b, z = p(S, C, 0), B = S;
|
|
373
|
+
let e = p(M, te, 0);
|
|
374
|
+
k(t, y, T - 257), k(t, y + 5, D - 1), k(t, y + 10, F - 4), y += 14;
|
|
375
|
+
for (let e = 0; e < F; ++e) k(t, y + 3 * e, M[o[e]]);
|
|
376
|
+
y += 3 * F;
|
|
377
|
+
let n = [w, E];
|
|
378
|
+
for (let r = 0; r < 2; ++r) {
|
|
379
|
+
let i = n[r];
|
|
380
|
+
for (let n = 0; n < i.length; ++n) {
|
|
381
|
+
let r = i[n] & 31;
|
|
382
|
+
k(t, y, e[r]), y += M[r], r > 15 && (k(t, y, i[n] >> 5 & 127), y += i[n] >> 12);
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
} else L = g, R = m, z = v, B = h;
|
|
386
|
+
for (let e = 0; e < d; ++e) {
|
|
387
|
+
let n = s[e];
|
|
388
|
+
if (n > 255) {
|
|
389
|
+
let e = n >> 18 & 31;
|
|
390
|
+
A(t, y, L[e + 257]), y += R[e + 257], e > 7 && (k(t, y, n >> 23 & 31), y += i[e]);
|
|
391
|
+
let r = n & 31;
|
|
392
|
+
A(t, y, z[r]), y += B[r], r > 3 && (A(t, y, n >> 5 & 8191), y += a[r]);
|
|
393
|
+
} else A(t, y, L[n]), y += R[n];
|
|
394
|
+
}
|
|
395
|
+
return A(t, y, L[256]), y + R[256];
|
|
396
|
+
}, F = /* @__PURE__ */ new r([
|
|
397
|
+
65540,
|
|
398
|
+
131080,
|
|
399
|
+
131088,
|
|
400
|
+
131104,
|
|
401
|
+
262176,
|
|
402
|
+
1048704,
|
|
403
|
+
1048832,
|
|
404
|
+
2114560,
|
|
405
|
+
2117632
|
|
406
|
+
]), I = /* @__PURE__ */ new t(0), ne = (e, o, s, c, u, f) => {
|
|
407
|
+
let p = f.z || e.length, m = new t(c + p + 5 * (1 + Math.ceil(p / 7e3)) + u), h = m.subarray(c, m.length - u), g = f.l, _ = (f.r || 0) & 7;
|
|
408
|
+
if (o) {
|
|
409
|
+
_ && (h[0] = f.r >> 3);
|
|
410
|
+
let t = F[o - 1], c = t >> 13, u = t & 8191, m = (1 << s) - 1, v = f.p || new n(32768), y = f.h || new n(m + 1), b = Math.ceil(s / 3), x = 2 * b, S = (t) => (e[t] ^ e[t + 1] << b ^ e[t + 2] << x) & m, C = new r(25e3), w = new n(288), T = new n(32), E = 0, D = 0, O = f.i || 0, k = 0, A = f.w || 0, j = 0;
|
|
411
|
+
for (; O + 2 < p; ++O) {
|
|
412
|
+
let t = S(O), n = O & 32767, r = y[t];
|
|
413
|
+
if (v[n] = r, y[t] = n, A <= O) {
|
|
414
|
+
let o = p - O;
|
|
415
|
+
if ((E > 7e3 || k > 24576) && (o > 423 || !g)) {
|
|
416
|
+
_ = te(e, h, 0, C, w, T, D, k, j, O - j, _), k = E = D = 0, j = O;
|
|
417
|
+
for (let e = 0; e < 286; ++e) w[e] = 0;
|
|
418
|
+
for (let e = 0; e < 30; ++e) T[e] = 0;
|
|
419
|
+
}
|
|
420
|
+
let s = 2, f = 0, m = u, y = n - r & 32767;
|
|
421
|
+
if (o > 2 && t == S(O - y)) {
|
|
422
|
+
let t = Math.min(c, o) - 1, i = Math.min(32767, O), a = Math.min(258, o);
|
|
423
|
+
for (; y <= i && --m && n != r;) {
|
|
424
|
+
if (e[O + s] == e[O + s - y]) {
|
|
425
|
+
let n = 0;
|
|
426
|
+
for (; n < a && e[O + n] == e[O + n - y]; ++n);
|
|
427
|
+
if (n > s) {
|
|
428
|
+
if (s = n, f = y, n > t) break;
|
|
429
|
+
let e = Math.min(y, n - 2), i = 0;
|
|
430
|
+
for (let t = 0; t < e; ++t) {
|
|
431
|
+
let e = O - y + t & 32767, n = e - v[e] & 32767;
|
|
432
|
+
n > i && (i = n, r = e);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
n = r, r = v[n], y += n - r & 32767;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
if (f) {
|
|
440
|
+
C[k++] = 268435456 | l[s] << 18 | d[f];
|
|
441
|
+
let e = l[s] & 31, t = d[f] & 31;
|
|
442
|
+
D += i[e] + a[t], ++w[257 + e], ++T[t], A = O + s, ++E;
|
|
443
|
+
} else C[k++] = e[O], ++w[e[O]];
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
for (O = Math.max(O, A); O < p; ++O) C[k++] = e[O], ++w[e[O]];
|
|
447
|
+
_ = te(e, h, g, C, w, T, D, k, j, O - j, _), g || (f.r = _ & 7 | h[_ / 8 | 0] << 3, _ -= 7, f.h = y, f.p = v, f.i = O, f.w = A);
|
|
448
|
+
} else {
|
|
449
|
+
for (let t = f.w || 0; t < p + g; t += 65535) {
|
|
450
|
+
let n = t + 65535;
|
|
451
|
+
n >= p && (h[_ / 8 | 0] = g, n = p), _ = ee(h, _ + 1, e.subarray(t, n));
|
|
452
|
+
}
|
|
453
|
+
f.i = p;
|
|
454
|
+
}
|
|
455
|
+
return w(m, 0, c + C(_) + u);
|
|
456
|
+
}, re = /* @__PURE__ */ (() => {
|
|
457
|
+
let e = new Int32Array(256);
|
|
458
|
+
for (let t = 0; t < 256; ++t) {
|
|
459
|
+
let n = t, r = 9;
|
|
460
|
+
for (; --r;) n = (n & 1 && -306674912) ^ n >>> 1;
|
|
461
|
+
e[t] = n;
|
|
462
|
+
}
|
|
463
|
+
return e;
|
|
464
|
+
})(), L = () => {
|
|
465
|
+
let e = -1;
|
|
466
|
+
return {
|
|
467
|
+
p(t) {
|
|
468
|
+
let n = e;
|
|
469
|
+
for (let e = 0; e < t.length; ++e) n = re[n & 255 ^ t[e]] ^ n >>> 8;
|
|
470
|
+
e = n;
|
|
471
|
+
},
|
|
472
|
+
d() {
|
|
473
|
+
return ~e;
|
|
474
|
+
}
|
|
475
|
+
};
|
|
476
|
+
}, R = () => {
|
|
477
|
+
let e = 1, t = 0;
|
|
478
|
+
return {
|
|
479
|
+
p(n) {
|
|
480
|
+
let r = e, i = t, a = n.length | 0;
|
|
481
|
+
for (let e = 0; e != a;) {
|
|
482
|
+
let t = Math.min(e + 2655, a);
|
|
483
|
+
for (; e < t; ++e) i += r += n[e];
|
|
484
|
+
r = (r & 65535) + 15 * (r >> 16), i = (i & 65535) + 15 * (i >> 16);
|
|
485
|
+
}
|
|
486
|
+
e = r, t = i;
|
|
487
|
+
},
|
|
488
|
+
d() {
|
|
489
|
+
return e %= 65521, t %= 65521, (e & 255) << 24 | (e & 65280) << 8 | (t & 255) << 8 | t >> 8;
|
|
490
|
+
}
|
|
491
|
+
};
|
|
492
|
+
}, z = (e, n, r, i, a) => {
|
|
493
|
+
if (!a && (a = { l: 1 }, n.dictionary)) {
|
|
494
|
+
let r = n.dictionary.subarray(-32768), i = new t(r.length + e.length);
|
|
495
|
+
i.set(r), i.set(e, r.length), e = i, a.w = r.length;
|
|
496
|
+
}
|
|
497
|
+
return ne(e, n.level == null ? 6 : n.level, n.mem == null ? a.l ? Math.ceil(Math.max(8, Math.min(13, Math.log(e.length))) * 1.5) : 20 : 12 + n.mem, r, i, a);
|
|
498
|
+
}, B = (e, t) => {
|
|
499
|
+
let n = {};
|
|
500
|
+
for (let t in e) n[t] = e[t];
|
|
501
|
+
for (let e in t) n[e] = t[e];
|
|
502
|
+
return n;
|
|
503
|
+
}, ie = (e, t, n) => {
|
|
504
|
+
let r = e(), i = e.toString(), a = i.slice(i.indexOf("[") + 1, i.lastIndexOf("]")).replace(/\s+/g, "").split(",");
|
|
505
|
+
for (let e = 0; e < r.length; ++e) {
|
|
506
|
+
let i = r[e], o = a[e];
|
|
507
|
+
if (typeof i == "function") {
|
|
508
|
+
t += ";" + o + "=";
|
|
509
|
+
let e = i.toString();
|
|
510
|
+
if (i.prototype) if (e.indexOf("[native code]") != -1) {
|
|
511
|
+
let n = e.indexOf(" ", 8) + 1;
|
|
512
|
+
t += e.slice(n, e.indexOf("(", n));
|
|
513
|
+
} else {
|
|
514
|
+
t += e;
|
|
515
|
+
for (let e in i.prototype) t += ";" + o + ".prototype." + e + "=" + i.prototype[e].toString();
|
|
516
|
+
}
|
|
517
|
+
else t += e;
|
|
518
|
+
} else n[o] = i;
|
|
519
|
+
}
|
|
520
|
+
return t;
|
|
521
|
+
}, ae = [], oe = (e) => {
|
|
522
|
+
let t = [];
|
|
523
|
+
for (let n in e) e[n].buffer && t.push((e[n] = new e[n].constructor(e[n])).buffer);
|
|
524
|
+
return t;
|
|
525
|
+
}, se = (t, n, r, i) => {
|
|
526
|
+
if (!ae[r]) {
|
|
527
|
+
let e = "", n = {}, i = t.length - 1;
|
|
528
|
+
for (let r = 0; r < i; ++r) e = ie(t[r], e, n);
|
|
529
|
+
ae[r] = {
|
|
530
|
+
c: ie(t[i], e, n),
|
|
531
|
+
e: n
|
|
532
|
+
};
|
|
533
|
+
}
|
|
534
|
+
let a = B({}, ae[r].e);
|
|
535
|
+
return e(ae[r].c + ";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage=" + n.toString() + "}", r, a, oe(a), i);
|
|
536
|
+
}, V = () => [
|
|
537
|
+
t,
|
|
538
|
+
n,
|
|
539
|
+
r,
|
|
540
|
+
i,
|
|
541
|
+
a,
|
|
542
|
+
o,
|
|
543
|
+
c,
|
|
544
|
+
u,
|
|
545
|
+
_,
|
|
546
|
+
y,
|
|
547
|
+
f,
|
|
548
|
+
E,
|
|
549
|
+
p,
|
|
550
|
+
b,
|
|
551
|
+
x,
|
|
552
|
+
S,
|
|
553
|
+
C,
|
|
554
|
+
w,
|
|
555
|
+
D,
|
|
556
|
+
O,
|
|
557
|
+
Ee,
|
|
558
|
+
U,
|
|
559
|
+
fe
|
|
560
|
+
], H = () => [
|
|
561
|
+
t,
|
|
562
|
+
n,
|
|
563
|
+
r,
|
|
564
|
+
i,
|
|
565
|
+
a,
|
|
566
|
+
o,
|
|
567
|
+
l,
|
|
568
|
+
d,
|
|
569
|
+
g,
|
|
570
|
+
m,
|
|
571
|
+
v,
|
|
572
|
+
h,
|
|
573
|
+
f,
|
|
574
|
+
F,
|
|
575
|
+
I,
|
|
576
|
+
p,
|
|
577
|
+
k,
|
|
578
|
+
A,
|
|
579
|
+
j,
|
|
580
|
+
M,
|
|
581
|
+
N,
|
|
582
|
+
P,
|
|
583
|
+
ee,
|
|
584
|
+
te,
|
|
585
|
+
C,
|
|
586
|
+
w,
|
|
587
|
+
ne,
|
|
588
|
+
z,
|
|
589
|
+
Ce,
|
|
590
|
+
U
|
|
591
|
+
], ce = () => [
|
|
592
|
+
he,
|
|
593
|
+
ve,
|
|
594
|
+
J,
|
|
595
|
+
L,
|
|
596
|
+
re
|
|
597
|
+
], le = () => [ge, _e], ue = () => [
|
|
598
|
+
ye,
|
|
599
|
+
J,
|
|
600
|
+
R
|
|
601
|
+
], de = () => [be], U = (e) => postMessage(e, [e.buffer]), fe = (e) => e && {
|
|
602
|
+
out: e.size && new t(e.size),
|
|
603
|
+
dictionary: e.dictionary
|
|
604
|
+
}, pe = (e, t, n, r, i, a) => {
|
|
605
|
+
let o = se(n, r, i, (e, t) => {
|
|
606
|
+
o.terminate(), a(e, t);
|
|
607
|
+
});
|
|
608
|
+
return o.postMessage([e, t], t.consume ? [e.buffer] : []), () => {
|
|
609
|
+
o.terminate();
|
|
610
|
+
};
|
|
611
|
+
}, W = (e) => (e.ondata = (e, t) => postMessage([e, t], [e.buffer]), (t) => {
|
|
612
|
+
t.data[0] ? (e.push(t.data[0], t.data[1]), postMessage([t.data[0].length])) : e.flush(t.data[1]);
|
|
613
|
+
}), G = (e, t, n, r, i, a, o) => {
|
|
614
|
+
let s, c = se(e, r, i, (e, n) => {
|
|
615
|
+
e ? (c.terminate(), t.ondata.call(t, e)) : Array.isArray(n) ? n.length == 1 ? (t.queuedSize -= n[0], t.ondrain && t.ondrain(n[0])) : (n[1] && c.terminate(), t.ondata.call(t, e, n[0], n[1])) : o(n);
|
|
616
|
+
});
|
|
617
|
+
c.postMessage(n), t.queuedSize = 0, t.push = (e, n) => {
|
|
618
|
+
t.ondata || D(5), s && t.ondata(D(4, 0, 1), null, !!n), t.queuedSize += e.length, c.postMessage([e, s = n], e.buffer instanceof ArrayBuffer ? [e.buffer] : []);
|
|
619
|
+
}, t.terminate = () => {
|
|
620
|
+
c.terminate();
|
|
621
|
+
}, a && (t.flush = (e) => {
|
|
622
|
+
c.postMessage([0, e]);
|
|
623
|
+
});
|
|
624
|
+
}, K = (e, t) => e[t] | e[t + 1] << 8, q = (e, t) => (e[t] | e[t + 1] << 8 | e[t + 2] << 16 | e[t + 3] << 24) >>> 0, me = (e, t) => q(e, t) + q(e, t + 4) * 4294967296, J = (e, t, n) => {
|
|
625
|
+
for (; n; ++t) e[t] = n, n >>>= 8;
|
|
626
|
+
}, he = (e, t) => {
|
|
627
|
+
let n = t.filename;
|
|
628
|
+
if (e[0] = 31, e[1] = 139, e[2] = 8, e[8] = t.level < 2 ? 4 : t.level == 9 ? 2 : 0, e[9] = 3, t.mtime != 0 && J(e, 4, Math.floor(new Date(t.mtime || Date.now()) / 1e3)), n) {
|
|
629
|
+
e[3] = 8;
|
|
630
|
+
for (let t = 0; t <= n.length; ++t) e[t + 10] = n.charCodeAt(t);
|
|
631
|
+
}
|
|
632
|
+
}, ge = (e) => {
|
|
633
|
+
(e[0] != 31 || e[1] != 139 || e[2] != 8) && D(6, "invalid gzip data");
|
|
634
|
+
let t = e[3], n = 10;
|
|
635
|
+
t & 4 && (n += (e[10] | e[11] << 8) + 2);
|
|
636
|
+
for (let r = (t >> 3 & 1) + (t >> 4 & 1); r > 0; r -= !e[n++]);
|
|
637
|
+
return n + (t & 2);
|
|
638
|
+
}, _e = (e) => {
|
|
639
|
+
let t = e.length;
|
|
640
|
+
return (e[t - 4] | e[t - 3] << 8 | e[t - 2] << 16 | e[t - 1] << 24) >>> 0;
|
|
641
|
+
}, ve = (e) => 10 + (e.filename ? e.filename.length + 1 : 0), ye = (e, t) => {
|
|
642
|
+
let n = t.level, r = n == 0 ? 0 : n < 6 ? 1 : n == 9 ? 3 : 2;
|
|
643
|
+
if (e[0] = 120, e[1] = r << 6 | (t.dictionary && 32), e[1] |= 31 - (e[0] << 8 | e[1]) % 31, t.dictionary) {
|
|
644
|
+
let n = R();
|
|
645
|
+
n.p(t.dictionary), J(e, 2, n.d());
|
|
646
|
+
}
|
|
647
|
+
}, be = (e, t) => (((e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31) && D(6, "invalid zlib data"), (e[1] >> 5 & 1) == +!t && D(6, "invalid zlib data: " + (e[1] & 32 ? "need" : "unexpected") + " dictionary"), (e[1] >> 3 & 4) + 2);
|
|
648
|
+
function Y(e, t) {
|
|
649
|
+
return typeof e == "function" && (t = e, e = {}), this.ondata = t, e;
|
|
650
|
+
}
|
|
651
|
+
var X = class {
|
|
652
|
+
constructor(e, n) {
|
|
653
|
+
if (typeof e == "function" && (n = e, e = {}), this.ondata = n, this.o = e || {}, this.s = {
|
|
654
|
+
l: 0,
|
|
655
|
+
i: 32768,
|
|
656
|
+
w: 32768,
|
|
657
|
+
z: 32768
|
|
658
|
+
}, this.b = new t(98304), this.o.dictionary) {
|
|
659
|
+
let e = this.o.dictionary.subarray(-32768);
|
|
660
|
+
this.b.set(e, 32768 - e.length), this.s.i = 32768 - e.length;
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
p(e, t) {
|
|
664
|
+
this.ondata(z(e, this.o, 0, 0, this.s), t);
|
|
665
|
+
}
|
|
666
|
+
push(e, n) {
|
|
667
|
+
this.ondata || D(5), this.s.l && D(4);
|
|
668
|
+
let r = e.length + this.s.z;
|
|
669
|
+
if (r > this.b.length) {
|
|
670
|
+
if (r > 2 * this.b.length - 32768) {
|
|
671
|
+
let e = new t(r & -32768);
|
|
672
|
+
e.set(this.b.subarray(0, this.s.z)), this.b = e;
|
|
673
|
+
}
|
|
674
|
+
let n = this.b.length - this.s.z;
|
|
675
|
+
this.b.set(e.subarray(0, n), this.s.z), this.s.z = this.b.length, this.p(this.b, !1), this.b.set(this.b.subarray(-32768)), this.b.set(e.subarray(n), 32768), this.s.z = e.length - n + 32768, this.s.i = 32766, this.s.w = 32768;
|
|
676
|
+
} else this.b.set(e, this.s.z), this.s.z += e.length;
|
|
677
|
+
this.s.l = n & 1, (this.s.z > this.s.w + 8191 || n) && (this.p(this.b, n || !1), this.s.w = this.s.i, this.s.i -= 2), n && (this.s = this.o = {}, this.b = I);
|
|
678
|
+
}
|
|
679
|
+
flush(e) {
|
|
680
|
+
if (this.ondata || D(5), this.s.l && D(4), this.p(this.b, !1), this.s.w = this.s.i, this.s.i -= 2, e) {
|
|
681
|
+
let e = new t(6);
|
|
682
|
+
e[0] = this.s.r >> 3;
|
|
683
|
+
let n = ee(e, this.s.r, I);
|
|
684
|
+
this.s.r = 0, this.ondata(e.subarray(0, n >> 3), !1);
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
}, xe = class {
|
|
688
|
+
constructor(e, t) {
|
|
689
|
+
G([H, () => [W, X]], this, Y.call(this, e, t), (e) => {
|
|
690
|
+
onmessage = W(new X(e.data));
|
|
691
|
+
}, 6, 1);
|
|
692
|
+
}
|
|
693
|
+
};
|
|
694
|
+
function Se(e, t, n) {
|
|
695
|
+
return n || (n = t, t = {}), typeof n != "function" && D(7), pe(e, t, [H], (e) => U(Ce(e.data[0], e.data[1])), 0, n);
|
|
696
|
+
}
|
|
697
|
+
function Ce(e, t) {
|
|
698
|
+
return z(e, t || {}, 0, 0);
|
|
699
|
+
}
|
|
700
|
+
var Z = class {
|
|
701
|
+
constructor(e, n) {
|
|
702
|
+
typeof e == "function" && (n = e, e = {}), this.ondata = n;
|
|
703
|
+
let r = e && e.dictionary && e.dictionary.subarray(-32768);
|
|
704
|
+
this.s = {
|
|
705
|
+
i: 0,
|
|
706
|
+
b: r ? r.length : 0
|
|
707
|
+
}, this.o = new t(32768), this.p = new t(0), r && this.o.set(r);
|
|
708
|
+
}
|
|
709
|
+
e(e) {
|
|
710
|
+
if (this.ondata || D(5), this.d && D(4), !this.p.length) this.p = e;
|
|
711
|
+
else if (e.length) {
|
|
712
|
+
let n = new t(this.p.length + e.length);
|
|
713
|
+
n.set(this.p), n.set(e, this.p.length), this.p = n;
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
c(e) {
|
|
717
|
+
this.s.i = +(this.d = e || !1);
|
|
718
|
+
let t = this.s.b, n = O(this.p, this.s, this.o);
|
|
719
|
+
this.ondata(w(n, t, this.s.b), this.d), this.o = w(n, this.s.b - 32768), this.s.b = this.o.length, this.p = w(this.p, this.s.p / 8 | 0), this.s.p &= 7;
|
|
720
|
+
}
|
|
721
|
+
push(e, t) {
|
|
722
|
+
this.e(e), this.c(t);
|
|
723
|
+
}
|
|
724
|
+
}, we = class {
|
|
725
|
+
constructor(e, t) {
|
|
726
|
+
G([V, () => [W, Z]], this, Y.call(this, e, t), (e) => {
|
|
727
|
+
onmessage = W(new Z(e.data));
|
|
728
|
+
}, 7, 0);
|
|
729
|
+
}
|
|
730
|
+
};
|
|
731
|
+
function Te(e, t, n) {
|
|
732
|
+
return n || (n = t, t = {}), typeof n != "function" && D(7), pe(e, t, [V], (e) => U(Ee(e.data[0], fe(e.data[1]))), 1, n);
|
|
733
|
+
}
|
|
734
|
+
function Ee(e, t) {
|
|
735
|
+
return O(e, { i: 2 }, t && t.out, t && t.dictionary);
|
|
736
|
+
}
|
|
737
|
+
var De = class {
|
|
738
|
+
constructor(e, t) {
|
|
739
|
+
this.c = L(), this.l = 0, this.v = 1, X.call(this, e, t);
|
|
740
|
+
}
|
|
741
|
+
push(e, t) {
|
|
742
|
+
this.c.p(e), this.l += e.length, X.prototype.push.call(this, e, t);
|
|
743
|
+
}
|
|
744
|
+
p(e, t) {
|
|
745
|
+
let n = z(e, this.o, this.v && ve(this.o), t && 8, this.s);
|
|
746
|
+
this.v &&= (he(n, this.o), 0), t && (J(n, n.length - 8, this.c.d()), J(n, n.length - 4, this.l)), this.ondata(n, t);
|
|
747
|
+
}
|
|
748
|
+
flush(e) {
|
|
749
|
+
X.prototype.flush.call(this, e);
|
|
750
|
+
}
|
|
751
|
+
}, Oe = class {
|
|
752
|
+
constructor(e, t) {
|
|
753
|
+
G([
|
|
754
|
+
H,
|
|
755
|
+
ce,
|
|
756
|
+
() => [
|
|
757
|
+
W,
|
|
758
|
+
X,
|
|
759
|
+
De
|
|
760
|
+
]
|
|
761
|
+
], this, Y.call(this, e, t), (e) => {
|
|
762
|
+
onmessage = W(new De(e.data));
|
|
763
|
+
}, 8, 1);
|
|
764
|
+
}
|
|
765
|
+
};
|
|
766
|
+
function ke(e, t, n) {
|
|
767
|
+
return n || (n = t, t = {}), typeof n != "function" && D(7), pe(e, t, [
|
|
768
|
+
H,
|
|
769
|
+
ce,
|
|
770
|
+
() => [Ae]
|
|
771
|
+
], (e) => U(Ae(e.data[0], e.data[1])), 2, n);
|
|
772
|
+
}
|
|
773
|
+
function Ae(e, t) {
|
|
774
|
+
t ||= {};
|
|
775
|
+
let n = L(), r = e.length;
|
|
776
|
+
n.p(e);
|
|
777
|
+
let i = z(e, t, ve(t), 8), a = i.length;
|
|
778
|
+
return he(i, t), J(i, a - 8, n.d()), J(i, a - 4, r), i;
|
|
779
|
+
}
|
|
780
|
+
var je = class {
|
|
781
|
+
constructor(e, t) {
|
|
782
|
+
this.v = 1, this.r = 0, Z.call(this, e, t);
|
|
783
|
+
}
|
|
784
|
+
push(e, n) {
|
|
785
|
+
if (Z.prototype.e.call(this, e), this.r += e.length, this.v) {
|
|
786
|
+
let e = this.p.subarray(this.v - 1), t = e.length > 3 ? ge(e) : 4;
|
|
787
|
+
if (t > e.length) {
|
|
788
|
+
if (!n) return;
|
|
789
|
+
} else this.v > 1 && this.onmember && this.onmember(this.r - e.length);
|
|
790
|
+
this.p = e.subarray(t), this.v = 0;
|
|
791
|
+
}
|
|
792
|
+
Z.prototype.c.call(this, 0), this.s.f && !this.s.l ? (this.v = C(this.s.p) + 9, this.s = { i: 0 }, this.o = new t(0), this.push(new t(0), n)) : n && Z.prototype.c.call(this, n);
|
|
793
|
+
}
|
|
794
|
+
}, Me = class {
|
|
795
|
+
constructor(e, t) {
|
|
796
|
+
G([
|
|
797
|
+
V,
|
|
798
|
+
le,
|
|
799
|
+
() => [
|
|
800
|
+
W,
|
|
801
|
+
Z,
|
|
802
|
+
je
|
|
803
|
+
]
|
|
804
|
+
], this, Y.call(this, e, t), (e) => {
|
|
805
|
+
let t = new je(e.data);
|
|
806
|
+
t.onmember = (e) => postMessage(e), onmessage = W(t);
|
|
807
|
+
}, 9, 0, (e) => this.onmember && this.onmember(e));
|
|
808
|
+
}
|
|
809
|
+
};
|
|
810
|
+
function Ne(e, t, n) {
|
|
811
|
+
return n || (n = t, t = {}), typeof n != "function" && D(7), pe(e, t, [
|
|
812
|
+
V,
|
|
813
|
+
le,
|
|
814
|
+
() => [Pe]
|
|
815
|
+
], (e) => U(Pe(e.data[0], e.data[1])), 3, n);
|
|
816
|
+
}
|
|
817
|
+
function Pe(e, n) {
|
|
818
|
+
let r = ge(e);
|
|
819
|
+
return r + 8 > e.length && D(6, "invalid gzip data"), O(e.subarray(r, -8), { i: 2 }, n && n.out || new t(_e(e)), n && n.dictionary);
|
|
820
|
+
}
|
|
821
|
+
var Fe = class {
|
|
822
|
+
constructor(e, t) {
|
|
823
|
+
this.c = R(), this.v = 1, X.call(this, e, t);
|
|
824
|
+
}
|
|
825
|
+
push(e, t) {
|
|
826
|
+
this.c.p(e), X.prototype.push.call(this, e, t);
|
|
827
|
+
}
|
|
828
|
+
p(e, t) {
|
|
829
|
+
let n = z(e, this.o, this.v && (this.o.dictionary ? 6 : 2), t && 4, this.s);
|
|
830
|
+
this.v &&= (ye(n, this.o), 0), t && J(n, n.length - 4, this.c.d()), this.ondata(n, t);
|
|
831
|
+
}
|
|
832
|
+
flush(e) {
|
|
833
|
+
X.prototype.flush.call(this, e);
|
|
834
|
+
}
|
|
835
|
+
}, Ie = class {
|
|
836
|
+
constructor(e, t) {
|
|
837
|
+
G([
|
|
838
|
+
H,
|
|
839
|
+
ue,
|
|
840
|
+
() => [
|
|
841
|
+
W,
|
|
842
|
+
X,
|
|
843
|
+
Fe
|
|
844
|
+
]
|
|
845
|
+
], this, Y.call(this, e, t), (e) => {
|
|
846
|
+
onmessage = W(new Fe(e.data));
|
|
847
|
+
}, 10, 1);
|
|
848
|
+
}
|
|
849
|
+
};
|
|
850
|
+
function Le(e, t, n) {
|
|
851
|
+
return n || (n = t, t = {}), typeof n != "function" && D(7), pe(e, t, [
|
|
852
|
+
H,
|
|
853
|
+
ue,
|
|
854
|
+
() => [Re]
|
|
855
|
+
], (e) => U(Re(e.data[0], e.data[1])), 4, n);
|
|
856
|
+
}
|
|
857
|
+
function Re(e, t) {
|
|
858
|
+
t ||= {};
|
|
859
|
+
let n = R();
|
|
860
|
+
n.p(e);
|
|
861
|
+
let r = z(e, t, t.dictionary ? 6 : 2, 4);
|
|
862
|
+
return ye(r, t), J(r, r.length - 4, n.d()), r;
|
|
863
|
+
}
|
|
864
|
+
var ze = class {
|
|
865
|
+
constructor(e, t) {
|
|
866
|
+
Z.call(this, e, t), this.v = e && e.dictionary ? 2 : 1;
|
|
867
|
+
}
|
|
868
|
+
push(e, t) {
|
|
869
|
+
if (Z.prototype.e.call(this, e), this.v) {
|
|
870
|
+
if (this.p.length < 6 && !t) return;
|
|
871
|
+
this.p = this.p.subarray(be(this.p, this.v - 1)), this.v = 0;
|
|
872
|
+
}
|
|
873
|
+
t && (this.p.length < 4 && D(6, "invalid zlib data"), this.p = this.p.subarray(0, -4)), Z.prototype.c.call(this, t);
|
|
874
|
+
}
|
|
875
|
+
}, Be = class {
|
|
876
|
+
constructor(e, t) {
|
|
877
|
+
G([
|
|
878
|
+
V,
|
|
879
|
+
de,
|
|
880
|
+
() => [
|
|
881
|
+
W,
|
|
882
|
+
Z,
|
|
883
|
+
ze
|
|
884
|
+
]
|
|
885
|
+
], this, Y.call(this, e, t), (e) => {
|
|
886
|
+
onmessage = W(new ze(e.data));
|
|
887
|
+
}, 11, 0);
|
|
888
|
+
}
|
|
889
|
+
};
|
|
890
|
+
function Ve(e, t, n) {
|
|
891
|
+
return n || (n = t, t = {}), typeof n != "function" && D(7), pe(e, t, [
|
|
892
|
+
V,
|
|
893
|
+
de,
|
|
894
|
+
() => [He]
|
|
895
|
+
], (e) => U(He(e.data[0], fe(e.data[1]))), 5, n);
|
|
896
|
+
}
|
|
897
|
+
function He(e, t) {
|
|
898
|
+
return O(e.subarray(be(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
|
|
899
|
+
}
|
|
900
|
+
var Ue = class {
|
|
901
|
+
constructor(e, t) {
|
|
902
|
+
this.o = Y.call(this, e, t) || {}, this.G = je, this.I = Z, this.Z = ze;
|
|
903
|
+
}
|
|
904
|
+
i() {
|
|
905
|
+
this.s.ondata = (e, t) => {
|
|
906
|
+
this.ondata(e, t);
|
|
907
|
+
};
|
|
908
|
+
}
|
|
909
|
+
push(e, n) {
|
|
910
|
+
if (this.ondata || D(5), this.s) this.s.push(e, n);
|
|
911
|
+
else {
|
|
912
|
+
if (this.p && this.p.length) {
|
|
913
|
+
let n = new t(this.p.length + e.length);
|
|
914
|
+
n.set(this.p), n.set(e, this.p.length);
|
|
915
|
+
} else this.p = e;
|
|
916
|
+
this.p.length > 2 && (this.s = this.p[0] == 31 && this.p[1] == 139 && this.p[2] == 8 ? new this.G(this.o) : (this.p[0] & 15) != 8 || this.p[0] >> 4 > 7 || (this.p[0] << 8 | this.p[1]) % 31 ? new this.I(this.o) : new this.Z(this.o), this.i(), this.s.push(this.p, n), this.p = null);
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
}, We = class {
|
|
920
|
+
constructor(e, t) {
|
|
921
|
+
Ue.call(this, e, t), this.queuedSize = 0, this.G = Me, this.I = we, this.Z = Be;
|
|
922
|
+
}
|
|
923
|
+
i() {
|
|
924
|
+
this.s.ondata = (e, t, n) => {
|
|
925
|
+
this.ondata(e, t, n);
|
|
926
|
+
}, this.s.ondrain = (e) => {
|
|
927
|
+
this.queuedSize -= e, this.ondrain && this.ondrain(e);
|
|
928
|
+
};
|
|
929
|
+
}
|
|
930
|
+
push(e, t) {
|
|
931
|
+
this.queuedSize += e.length, Ue.prototype.push.call(this, e, t);
|
|
932
|
+
}
|
|
933
|
+
};
|
|
934
|
+
function Ge(e, t, n) {
|
|
935
|
+
return n || (n = t, t = {}), typeof n != "function" && D(7), e[0] == 31 && e[1] == 139 && e[2] == 8 ? Ne(e, t, n) : (e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31 ? Te(e, t, n) : Ve(e, t, n);
|
|
936
|
+
}
|
|
937
|
+
function Ke(e, t) {
|
|
938
|
+
return e[0] == 31 && e[1] == 139 && e[2] == 8 ? Pe(e, t) : (e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31 ? Ee(e, t) : He(e, t);
|
|
939
|
+
}
|
|
940
|
+
var qe = (e, n, r, i) => {
|
|
941
|
+
for (let a in e) {
|
|
942
|
+
let o = e[a], s = n + a, c = i;
|
|
943
|
+
Array.isArray(o) && (c = B(i, o[1]), o = o[0]), ArrayBuffer.isView(o) ? r[s] = [o, c] : (r[s += "/"] = [new t(0), c], qe(o, s, r, i));
|
|
944
|
+
}
|
|
945
|
+
}, Je = typeof TextEncoder < "u" && /* @__PURE__ */ new TextEncoder(), Ye = typeof TextDecoder < "u" && /* @__PURE__ */ new TextDecoder(), Xe = 0;
|
|
946
|
+
try {
|
|
947
|
+
Ye.decode(I, { stream: !0 }), Xe = 1;
|
|
948
|
+
} catch {}
|
|
949
|
+
var Ze = (e) => {
|
|
950
|
+
for (let t = "", n = 0;;) {
|
|
951
|
+
let r = e[n++], i = (r > 127) + (r > 223) + (r > 239);
|
|
952
|
+
if (n + i > e.length) return {
|
|
953
|
+
s: t,
|
|
954
|
+
r: w(e, n - 1)
|
|
955
|
+
};
|
|
956
|
+
i ? i == 3 ? (r = ((r & 15) << 18 | (e[n++] & 63) << 12 | (e[n++] & 63) << 6 | e[n++] & 63) - 65536, t += String.fromCharCode(55296 | r >> 10, 56320 | r & 1023)) : i & 1 ? t += String.fromCharCode((r & 31) << 6 | e[n++] & 63) : t += String.fromCharCode((r & 15) << 12 | (e[n++] & 63) << 6 | e[n++] & 63) : t += String.fromCharCode(r);
|
|
957
|
+
}
|
|
958
|
+
}, Qe = class {
|
|
959
|
+
constructor(e) {
|
|
960
|
+
this.ondata = e, Xe ? this.t = new TextDecoder() : this.p = I;
|
|
961
|
+
}
|
|
962
|
+
push(e, n) {
|
|
963
|
+
if (this.ondata || D(5), n = !!n, this.t) {
|
|
964
|
+
this.ondata(this.t.decode(e, { stream: !0 }), n), n && (this.t.decode().length && D(8), this.t = null);
|
|
965
|
+
return;
|
|
966
|
+
}
|
|
967
|
+
this.p || D(4);
|
|
968
|
+
let r = new t(this.p.length + e.length);
|
|
969
|
+
r.set(this.p), r.set(e, this.p.length);
|
|
970
|
+
let { s: i, r: a } = Ze(r);
|
|
971
|
+
n ? (a.length && D(8), this.p = null) : this.p = a, this.ondata(i, n);
|
|
972
|
+
}
|
|
973
|
+
}, $e = class {
|
|
974
|
+
constructor(e) {
|
|
975
|
+
this.ondata = e;
|
|
976
|
+
}
|
|
977
|
+
push(e, t) {
|
|
978
|
+
this.ondata || D(5), this.d && D(4), this.ondata(Q(e), this.d = t || !1);
|
|
979
|
+
}
|
|
980
|
+
};
|
|
981
|
+
function Q(e, n) {
|
|
982
|
+
if (n) {
|
|
983
|
+
let n = new t(e.length);
|
|
984
|
+
for (let t = 0; t < e.length; ++t) n[t] = e.charCodeAt(t);
|
|
985
|
+
return n;
|
|
986
|
+
}
|
|
987
|
+
if (Je) return Je.encode(e);
|
|
988
|
+
let r = e.length, i = new t(e.length + (e.length >> 1)), a = 0, o = (e) => {
|
|
989
|
+
i[a++] = e;
|
|
990
|
+
};
|
|
991
|
+
for (let s = 0; s < r; ++s) {
|
|
992
|
+
if (a + 5 > i.length) {
|
|
993
|
+
let e = new t(a + 8 + (r - s << 1));
|
|
994
|
+
e.set(i), i = e;
|
|
995
|
+
}
|
|
996
|
+
let c = e.charCodeAt(s);
|
|
997
|
+
c < 128 || n ? o(c) : c < 2048 ? (o(192 | c >> 6), o(128 | c & 63)) : c > 55295 && c < 57344 ? (c = 65536 + (c & 1047552) | e.charCodeAt(++s) & 1023, o(240 | c >> 18), o(128 | c >> 12 & 63), o(128 | c >> 6 & 63), o(128 | c & 63)) : (o(224 | c >> 12), o(128 | c >> 6 & 63), o(128 | c & 63));
|
|
998
|
+
}
|
|
999
|
+
return w(i, 0, a);
|
|
1000
|
+
}
|
|
1001
|
+
function et(e, t) {
|
|
1002
|
+
if (t) {
|
|
1003
|
+
let t = "";
|
|
1004
|
+
for (let n = 0; n < e.length; n += 16384) t += String.fromCharCode.apply(null, e.subarray(n, n + 16384));
|
|
1005
|
+
return t;
|
|
1006
|
+
} else if (Ye) return Ye.decode(e);
|
|
1007
|
+
else {
|
|
1008
|
+
let { s: t, r: n } = Ze(e);
|
|
1009
|
+
return n.length && D(8), t;
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
var tt = (e) => e == 1 ? 3 : e < 6 ? 2 : +(e == 9), nt = (e, t) => t + 30 + K(e, t + 26) + K(e, t + 28), rt = (e, t, n) => {
|
|
1013
|
+
let r = K(e, t + 28), i = K(e, t + 30), a = et(e.subarray(t + 46, t + 46 + r), !(K(e, t + 8) & 2048)), o = t + 46 + r, [s, c, l] = it(e, o, i, n, q(e, t + 20), q(e, t + 24), q(e, t + 42));
|
|
1014
|
+
return [
|
|
1015
|
+
K(e, t + 10),
|
|
1016
|
+
s,
|
|
1017
|
+
c,
|
|
1018
|
+
a,
|
|
1019
|
+
o + i + K(e, t + 32),
|
|
1020
|
+
l
|
|
1021
|
+
];
|
|
1022
|
+
}, it = (e, t, n, r, i, a, o) => {
|
|
1023
|
+
let s = i == 4294967295, c = a == 4294967295, l = o == 4294967295, u = t + n, d = s + c + l;
|
|
1024
|
+
if (r && d) {
|
|
1025
|
+
for (; t + 4 < u; t += 4 + K(e, t + 2)) if (K(e, t) == 1) return [
|
|
1026
|
+
s ? me(e, t + 4 + 8 * c) : i,
|
|
1027
|
+
c ? me(e, t + 4) : a,
|
|
1028
|
+
l ? me(e, t + 4 + 8 * (c + s)) : o,
|
|
1029
|
+
1
|
|
1030
|
+
];
|
|
1031
|
+
r < 2 && D(13);
|
|
1032
|
+
}
|
|
1033
|
+
return [
|
|
1034
|
+
i,
|
|
1035
|
+
a,
|
|
1036
|
+
o,
|
|
1037
|
+
0
|
|
1038
|
+
];
|
|
1039
|
+
}, $ = (e) => {
|
|
1040
|
+
let t = 0;
|
|
1041
|
+
if (e) for (let n in e) {
|
|
1042
|
+
let r = e[n].length;
|
|
1043
|
+
r > 65535 && D(9), t += r + 4;
|
|
1044
|
+
}
|
|
1045
|
+
return t;
|
|
1046
|
+
}, at = (e, t, n, r, i, a, o, s) => {
|
|
1047
|
+
let c = r.length, l = n.extra, u = s && s.length, d = $(l);
|
|
1048
|
+
J(e, t, o == null ? 67324752 : 33639248), t += 4, o != null && (e[t++] = 20, e[t++] = n.os), e[t] = 20, t += 2, e[t++] = n.flag << 1 | (a < 0 && 8), e[t++] = i && 8, e[t++] = n.compression & 255, e[t++] = n.compression >> 8;
|
|
1049
|
+
let f = new Date(n.mtime == null ? Date.now() : n.mtime), p = f.getFullYear() - 1980;
|
|
1050
|
+
if ((p < 0 || p > 119) && D(10), J(e, t, p << 25 | f.getMonth() + 1 << 21 | f.getDate() << 16 | f.getHours() << 11 | f.getMinutes() << 5 | f.getSeconds() >> 1), t += 4, a != -1 && (J(e, t, n.crc), J(e, t + 4, a < 0 ? -a - 2 : a), J(e, t + 8, n.size)), J(e, t + 12, c), J(e, t + 14, d), t += 16, o != null && (J(e, t, u), J(e, t + 6, n.attrs), J(e, t + 10, o), t += 14), e.set(r, t), t += c, d) for (let n in l) {
|
|
1051
|
+
let r = l[n], i = r.length;
|
|
1052
|
+
J(e, t, +n), J(e, t + 2, i), e.set(r, t + 4), t += 4 + i;
|
|
1053
|
+
}
|
|
1054
|
+
return u && (e.set(s, t), t += u), t;
|
|
1055
|
+
}, ot = (e, t, n, r, i) => {
|
|
1056
|
+
J(e, t, 101010256), J(e, t + 8, n), J(e, t + 10, n), J(e, t + 12, r), J(e, t + 16, i);
|
|
1057
|
+
}, st = class {
|
|
1058
|
+
constructor(e) {
|
|
1059
|
+
this.filename = e, this.c = L(), this.size = 0, this.compression = 0;
|
|
1060
|
+
}
|
|
1061
|
+
process(e, t) {
|
|
1062
|
+
this.ondata(null, e, t);
|
|
1063
|
+
}
|
|
1064
|
+
push(e, t) {
|
|
1065
|
+
this.ondata || D(5), this.c.p(e), this.size += e.length, t && (this.crc = this.c.d()), this.process(e, t || !1);
|
|
1066
|
+
}
|
|
1067
|
+
}, ct = class {
|
|
1068
|
+
constructor(e, t) {
|
|
1069
|
+
t ||= {}, st.call(this, e), this.d = new X(t, (e, t) => {
|
|
1070
|
+
this.ondata(null, e, t);
|
|
1071
|
+
}), this.compression = 8, this.flag = tt(t.level);
|
|
1072
|
+
}
|
|
1073
|
+
process(e, t) {
|
|
1074
|
+
try {
|
|
1075
|
+
this.d.push(e, t);
|
|
1076
|
+
} catch (e) {
|
|
1077
|
+
this.ondata(e, null, t);
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
push(e, t) {
|
|
1081
|
+
st.prototype.push.call(this, e, t);
|
|
1082
|
+
}
|
|
1083
|
+
}, lt = class {
|
|
1084
|
+
constructor(e, t) {
|
|
1085
|
+
t ||= {}, st.call(this, e), this.d = new xe(t, (e, t, n) => {
|
|
1086
|
+
this.ondata(e, t, n);
|
|
1087
|
+
}), this.compression = 8, this.flag = tt(t.level), this.terminate = this.d.terminate;
|
|
1088
|
+
}
|
|
1089
|
+
process(e, t) {
|
|
1090
|
+
this.d.push(e, t);
|
|
1091
|
+
}
|
|
1092
|
+
push(e, t) {
|
|
1093
|
+
st.prototype.push.call(this, e, t);
|
|
1094
|
+
}
|
|
1095
|
+
}, ut = class {
|
|
1096
|
+
constructor(e) {
|
|
1097
|
+
this.ondata = e, this.u = [], this.d = 1;
|
|
1098
|
+
}
|
|
1099
|
+
add(e) {
|
|
1100
|
+
if (this.ondata || D(5), this.d & 2) this.ondata(D(4 + (this.d & 1) * 8, 0, 1), null, !1);
|
|
1101
|
+
else {
|
|
1102
|
+
let n = Q(e.filename), r = n.length, i = e.comment, a = i && Q(i), o = r != e.filename.length || a && i.length != a.length, s = r + $(e.extra) + 30;
|
|
1103
|
+
r > 65535 && this.ondata(D(11, 0, 1), null, !1);
|
|
1104
|
+
let c = new t(s);
|
|
1105
|
+
at(c, 0, e, n, o, -1);
|
|
1106
|
+
let l = [c], u = () => {
|
|
1107
|
+
for (let e of l) this.ondata(null, e, !1);
|
|
1108
|
+
l = [];
|
|
1109
|
+
}, d = this.d;
|
|
1110
|
+
this.d = 0;
|
|
1111
|
+
let f = this.u.length, p = B(e, {
|
|
1112
|
+
f: n,
|
|
1113
|
+
u: o,
|
|
1114
|
+
o: a,
|
|
1115
|
+
t: () => {
|
|
1116
|
+
e.terminate && e.terminate();
|
|
1117
|
+
},
|
|
1118
|
+
r: () => {
|
|
1119
|
+
if (u(), d) {
|
|
1120
|
+
let e = this.u[f + 1];
|
|
1121
|
+
e ? e.r() : this.d = 1;
|
|
1122
|
+
}
|
|
1123
|
+
d = 1;
|
|
1124
|
+
}
|
|
1125
|
+
}), m = 0;
|
|
1126
|
+
e.ondata = (n, r, i) => {
|
|
1127
|
+
if (n) this.ondata(n, r, i), this.terminate();
|
|
1128
|
+
else if (m += r.length, l.push(r), i) {
|
|
1129
|
+
let n = new t(16);
|
|
1130
|
+
J(n, 0, 134695760), J(n, 4, e.crc), J(n, 8, m), J(n, 12, e.size), l.push(n), p.c = m, p.b = s + m + 16, p.crc = e.crc, p.size = e.size, d && p.r(), d = 1;
|
|
1131
|
+
} else d && u();
|
|
1132
|
+
}, this.u.push(p);
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
end() {
|
|
1136
|
+
if (this.d & 2) {
|
|
1137
|
+
this.ondata(D(4 + (this.d & 1) * 8, 0, 1), null, !0);
|
|
1138
|
+
return;
|
|
1139
|
+
}
|
|
1140
|
+
this.d ? this.e() : this.u.push({
|
|
1141
|
+
r: () => {
|
|
1142
|
+
this.d & 1 && (this.u.splice(-1, 1), this.e());
|
|
1143
|
+
},
|
|
1144
|
+
t: () => {}
|
|
1145
|
+
}), this.d = 3;
|
|
1146
|
+
}
|
|
1147
|
+
e() {
|
|
1148
|
+
let e = 0, n = 0, r = 0;
|
|
1149
|
+
for (let e of this.u) r += 46 + e.f.length + $(e.extra) + (e.o ? e.o.length : 0);
|
|
1150
|
+
let i = new t(r + 22);
|
|
1151
|
+
for (let t of this.u) at(i, e, t, t.f, t.u, -t.c - 2, n, t.o), e += 46 + t.f.length + $(t.extra) + (t.o ? t.o.length : 0), n += t.b;
|
|
1152
|
+
ot(i, e, this.u.length, r, n), this.ondata(null, i, !0), this.d = 2;
|
|
1153
|
+
}
|
|
1154
|
+
terminate() {
|
|
1155
|
+
for (let e of this.u) e.t();
|
|
1156
|
+
this.d = 2;
|
|
1157
|
+
}
|
|
1158
|
+
};
|
|
1159
|
+
function dt(e, n, r) {
|
|
1160
|
+
r || (r = n, n = {}), typeof r != "function" && D(7);
|
|
1161
|
+
let i = {};
|
|
1162
|
+
qe(e, "", i, n);
|
|
1163
|
+
let a = Object.keys(i), o = a.length, s = 0, c = 0, l = o, u = Array(o), d = [], f = () => {
|
|
1164
|
+
for (let e = 0; e < d.length; ++e) d[e]();
|
|
1165
|
+
}, p = (e, t) => {
|
|
1166
|
+
_t(() => {
|
|
1167
|
+
r(e, t);
|
|
1168
|
+
});
|
|
1169
|
+
};
|
|
1170
|
+
_t(() => {
|
|
1171
|
+
p = r;
|
|
1172
|
+
});
|
|
1173
|
+
let m = () => {
|
|
1174
|
+
let e = new t(c + 22), n = s, r = c - s;
|
|
1175
|
+
c = 0;
|
|
1176
|
+
for (let t = 0; t < l; ++t) {
|
|
1177
|
+
let n = u[t];
|
|
1178
|
+
try {
|
|
1179
|
+
let t = n.c.length;
|
|
1180
|
+
at(e, c, n, n.f, n.u, t);
|
|
1181
|
+
let r = 30 + n.f.length + $(n.extra), i = c + r;
|
|
1182
|
+
e.set(n.c, i), at(e, s, n, n.f, n.u, t, c, n.m), s += 16 + r + (n.m ? n.m.length : 0), c = i + t;
|
|
1183
|
+
} catch (e) {
|
|
1184
|
+
return p(e, null);
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
ot(e, s, u.length, r, n), p(null, e);
|
|
1188
|
+
};
|
|
1189
|
+
o || m();
|
|
1190
|
+
for (let e = 0; e < l; ++e) {
|
|
1191
|
+
let t = a[e], [n, r] = i[t], l = L(), h = n.length;
|
|
1192
|
+
l.p(n);
|
|
1193
|
+
let g = Q(t), _ = g.length, v = r.comment, y = v && Q(v), b = y && y.length, x = $(r.extra), S = r.level == 0 ? 0 : 8, C = (n, i) => {
|
|
1194
|
+
if (n) f(), p(n, null);
|
|
1195
|
+
else {
|
|
1196
|
+
let n = i.length;
|
|
1197
|
+
u[e] = B(r, {
|
|
1198
|
+
size: h,
|
|
1199
|
+
crc: l.d(),
|
|
1200
|
+
c: i,
|
|
1201
|
+
f: g,
|
|
1202
|
+
m: y,
|
|
1203
|
+
u: _ != t.length || y && v.length != b,
|
|
1204
|
+
compression: S
|
|
1205
|
+
}), s += 30 + _ + x + n, c += 76 + 2 * (_ + x) + (b || 0) + n, --o || m();
|
|
1206
|
+
}
|
|
1207
|
+
};
|
|
1208
|
+
if (_ > 65535 && C(D(11, 0, 1), null), !S) C(null, n);
|
|
1209
|
+
else if (h < 16e4) try {
|
|
1210
|
+
C(null, Ce(n, r));
|
|
1211
|
+
} catch (e) {
|
|
1212
|
+
C(e, null);
|
|
1213
|
+
}
|
|
1214
|
+
else d.push(Se(n, r, C));
|
|
1215
|
+
}
|
|
1216
|
+
return f;
|
|
1217
|
+
}
|
|
1218
|
+
function ft(e, n) {
|
|
1219
|
+
n ||= {};
|
|
1220
|
+
let r = {}, i = [];
|
|
1221
|
+
qe(e, "", r, n);
|
|
1222
|
+
let a = 0, o = 0;
|
|
1223
|
+
for (let e in r) {
|
|
1224
|
+
let [t, n] = r[e], s = n.level == 0 ? 0 : 8, c = Q(e), l = c.length, u = n.comment, d = u && Q(u), f = d && d.length, p = $(n.extra);
|
|
1225
|
+
l > 65535 && D(11);
|
|
1226
|
+
let m = s ? Ce(t, n) : t, h = m.length, g = L();
|
|
1227
|
+
g.p(t), i.push(B(n, {
|
|
1228
|
+
size: t.length,
|
|
1229
|
+
crc: g.d(),
|
|
1230
|
+
c: m,
|
|
1231
|
+
f: c,
|
|
1232
|
+
m: d,
|
|
1233
|
+
u: l != e.length || d && u.length != f,
|
|
1234
|
+
o: a,
|
|
1235
|
+
compression: s
|
|
1236
|
+
})), a += 30 + l + p + h, o += 76 + 2 * (l + p) + (f || 0) + h;
|
|
1237
|
+
}
|
|
1238
|
+
let s = new t(o + 22), c = a, l = o - a;
|
|
1239
|
+
for (let e = 0; e < i.length; ++e) {
|
|
1240
|
+
let t = i[e];
|
|
1241
|
+
at(s, t.o, t, t.f, t.u, t.c.length);
|
|
1242
|
+
let n = 30 + t.f.length + $(t.extra);
|
|
1243
|
+
s.set(t.c, t.o + n), at(s, a, t, t.f, t.u, t.c.length, t.o, t.m), a += 16 + n + (t.m ? t.m.length : 0);
|
|
1244
|
+
}
|
|
1245
|
+
return ot(s, a, i.length, l, c), s;
|
|
1246
|
+
}
|
|
1247
|
+
var pt = class {
|
|
1248
|
+
static {
|
|
1249
|
+
this.compression = 0;
|
|
1250
|
+
}
|
|
1251
|
+
push(e, t) {
|
|
1252
|
+
this.ondata(null, e, t);
|
|
1253
|
+
}
|
|
1254
|
+
}, mt = class {
|
|
1255
|
+
static {
|
|
1256
|
+
this.compression = 8;
|
|
1257
|
+
}
|
|
1258
|
+
constructor() {
|
|
1259
|
+
this.i = new Z((e, t) => {
|
|
1260
|
+
this.ondata(null, e, t);
|
|
1261
|
+
});
|
|
1262
|
+
}
|
|
1263
|
+
push(e, t) {
|
|
1264
|
+
try {
|
|
1265
|
+
this.i.push(e, t);
|
|
1266
|
+
} catch (e) {
|
|
1267
|
+
this.ondata(e, null, t);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
}, ht = class {
|
|
1271
|
+
static {
|
|
1272
|
+
this.compression = 8;
|
|
1273
|
+
}
|
|
1274
|
+
constructor(e, t) {
|
|
1275
|
+
t < 32e4 ? this.i = new Z((e, t) => {
|
|
1276
|
+
this.ondata(null, e, t);
|
|
1277
|
+
}) : (this.i = new we((e, t, n) => {
|
|
1278
|
+
this.ondata(e, t, n);
|
|
1279
|
+
}), this.terminate = this.i.terminate);
|
|
1280
|
+
}
|
|
1281
|
+
push(e, t) {
|
|
1282
|
+
this.i.terminate && (e = w(e, 0)), this.i.push(e, t);
|
|
1283
|
+
}
|
|
1284
|
+
}, gt = class {
|
|
1285
|
+
constructor(e) {
|
|
1286
|
+
this.onfile = e, this.k = [], this.o = { 0: pt }, this.p = I;
|
|
1287
|
+
}
|
|
1288
|
+
push(e, n) {
|
|
1289
|
+
if (this.onfile || D(5), this.p || D(4), this.c > 0) {
|
|
1290
|
+
let t = Math.min(this.c, e.length), r = e.subarray(0, t);
|
|
1291
|
+
if (this.c -= t, this.d ? this.d.push(r, !this.c) : this.k[0].push(r), e = e.subarray(t), e.length) return this.push(e, n);
|
|
1292
|
+
} else {
|
|
1293
|
+
let r = 0, i = 0, a, o;
|
|
1294
|
+
this.p.length ? e.length ? (o = new t(this.p.length + e.length), o.set(this.p), o.set(e, this.p.length)) : o = this.p : o = e;
|
|
1295
|
+
let s = o.length, c = this.c, l = c && this.d;
|
|
1296
|
+
for (; i < s - 4; ++i) {
|
|
1297
|
+
let e = q(o, i);
|
|
1298
|
+
if (e == 67324752) {
|
|
1299
|
+
r = 1, a = i, this.d = null, this.c = 0;
|
|
1300
|
+
let e = K(o, i + 6), t = K(o, i + 8), n = e & 2048, c = e & 8, l = K(o, i + 26), u = K(o, i + 28);
|
|
1301
|
+
if (s > i + 30 + l + u) {
|
|
1302
|
+
let e = [];
|
|
1303
|
+
this.k.unshift(e), r = 2;
|
|
1304
|
+
let a = q(o, i + 18), s = q(o, i + 22), d = et(o.subarray(i + 30, i += 30 + l), !n), [f, p, , m] = it(o, i, u, 2, a, s, 0);
|
|
1305
|
+
c && (f = -1 - m), i += u, this.c = f;
|
|
1306
|
+
let h, g = {
|
|
1307
|
+
name: d,
|
|
1308
|
+
compression: t,
|
|
1309
|
+
start: () => {
|
|
1310
|
+
if (g.ondata || D(5), !f) g.ondata(null, I, !0);
|
|
1311
|
+
else {
|
|
1312
|
+
let n = this.o[t];
|
|
1313
|
+
n || g.ondata(D(14, "unknown compression type " + t, 1), null, !1), h = f < 0 ? new n(d) : new n(d, f, p), h.ondata = (e, t, n) => {
|
|
1314
|
+
g.ondata(e, t, n);
|
|
1315
|
+
};
|
|
1316
|
+
for (let t of e) h.push(t, !1);
|
|
1317
|
+
this.k[0] == e && this.c ? this.d = h : h.push(I, !0);
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
terminate: () => {
|
|
1321
|
+
h && h.terminate && h.terminate();
|
|
1322
|
+
}
|
|
1323
|
+
};
|
|
1324
|
+
f >= 0 && (g.size = f, g.originalSize = p), this.onfile(g);
|
|
1325
|
+
}
|
|
1326
|
+
break;
|
|
1327
|
+
} else if (c) {
|
|
1328
|
+
if (e == 134695760) {
|
|
1329
|
+
a = i += 12 + (c == -2 && 8), r = 3, this.c = 0;
|
|
1330
|
+
break;
|
|
1331
|
+
} else if (e == 33639248) {
|
|
1332
|
+
a = i -= 4, r = 3, this.c = 0;
|
|
1333
|
+
break;
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
if (this.p = I, c < 0) {
|
|
1338
|
+
let e = r ? o.subarray(0, a - 12 - (c == -2 && 8) - (q(o, a - 16) == 134695760 && 4)) : o.subarray(0, i);
|
|
1339
|
+
l ? l.push(e, !!r) : this.k[+(r == 2)].push(e);
|
|
1340
|
+
}
|
|
1341
|
+
if (r & 2) return this.push(o.subarray(i), n);
|
|
1342
|
+
this.p = o.subarray(i);
|
|
1343
|
+
}
|
|
1344
|
+
n && (this.c && D(13), this.p = null);
|
|
1345
|
+
}
|
|
1346
|
+
register(e) {
|
|
1347
|
+
this.o[e.compression] = e;
|
|
1348
|
+
}
|
|
1349
|
+
}, _t = typeof queueMicrotask == "function" ? queueMicrotask : typeof setTimeout == "function" ? setTimeout : (e) => {
|
|
1350
|
+
e();
|
|
1351
|
+
};
|
|
1352
|
+
function vt(e, n, r) {
|
|
1353
|
+
r || (r = n, n = {}), typeof r != "function" && D(7);
|
|
1354
|
+
let i = [], a = () => {
|
|
1355
|
+
for (let e = 0; e < i.length; ++e) i[e]();
|
|
1356
|
+
}, o = {}, s = (e, t) => {
|
|
1357
|
+
_t(() => {
|
|
1358
|
+
r(e, t);
|
|
1359
|
+
});
|
|
1360
|
+
};
|
|
1361
|
+
_t(() => {
|
|
1362
|
+
s = r;
|
|
1363
|
+
});
|
|
1364
|
+
let c = e.length - 22;
|
|
1365
|
+
for (; q(e, c) != 101010256; --c) if (!c || e.length - c > 65558) return s(D(13, 0, 1), null), a;
|
|
1366
|
+
let l = K(e, c + 8);
|
|
1367
|
+
if (l) {
|
|
1368
|
+
let r = l, u = q(e, c + 16), d = q(e, c - 20) == 117853008;
|
|
1369
|
+
if (d) {
|
|
1370
|
+
let t = q(e, c - 12);
|
|
1371
|
+
d = q(e, t) == 101075792, d && (r = l = q(e, t + 32), u = q(e, t + 48));
|
|
1372
|
+
}
|
|
1373
|
+
let f = n && n.filter;
|
|
1374
|
+
for (let n = 0; n < r; ++n) {
|
|
1375
|
+
let [n, r, c, p, m, h] = rt(e, u, d), g = nt(e, h);
|
|
1376
|
+
u = m;
|
|
1377
|
+
let _ = (e, t) => {
|
|
1378
|
+
e ? (a(), s(e, null)) : (t && (o[p] = t), --l || s(null, o));
|
|
1379
|
+
};
|
|
1380
|
+
if (!f || f({
|
|
1381
|
+
name: p,
|
|
1382
|
+
size: r,
|
|
1383
|
+
originalSize: c,
|
|
1384
|
+
compression: n
|
|
1385
|
+
})) if (!n) _(null, w(e, g, g + r));
|
|
1386
|
+
else if (n == 8) {
|
|
1387
|
+
let n = e.subarray(g, g + r);
|
|
1388
|
+
if (c < 524288 || r > .8 * c) try {
|
|
1389
|
+
_(null, Ee(n, { out: new t(c) }));
|
|
1390
|
+
} catch (e) {
|
|
1391
|
+
_(e, null);
|
|
1392
|
+
}
|
|
1393
|
+
else i.push(Te(n, { size: c }, _));
|
|
1394
|
+
} else _(D(14, "unknown compression type " + n, 1), null);
|
|
1395
|
+
else _(null, null);
|
|
1396
|
+
}
|
|
1397
|
+
} else s(null, {});
|
|
1398
|
+
return a;
|
|
1399
|
+
}
|
|
1400
|
+
function yt(e, n) {
|
|
1401
|
+
let r = {}, i = e.length - 22;
|
|
1402
|
+
for (; q(e, i) != 101010256; --i) (!i || e.length - i > 65558) && D(13);
|
|
1403
|
+
let a = K(e, i + 8);
|
|
1404
|
+
if (!a) return {};
|
|
1405
|
+
let o = q(e, i + 16), s = q(e, i - 20) == 117853008;
|
|
1406
|
+
if (s) {
|
|
1407
|
+
let t = q(e, i - 12);
|
|
1408
|
+
s = q(e, t) == 101075792, s && (a = q(e, t + 32), o = q(e, t + 48));
|
|
1409
|
+
}
|
|
1410
|
+
let c = n && n.filter;
|
|
1411
|
+
for (let n = 0; n < a; ++n) {
|
|
1412
|
+
let [n, i, a, l, u, d] = rt(e, o, s), f = nt(e, d);
|
|
1413
|
+
o = u, (!c || c({
|
|
1414
|
+
name: l,
|
|
1415
|
+
size: i,
|
|
1416
|
+
originalSize: a,
|
|
1417
|
+
compression: n
|
|
1418
|
+
})) && (n ? n == 8 ? r[l] = Ee(e.subarray(f, f + i), { out: new t(a) }) : D(14, "unknown compression type " + n) : r[l] = w(e, f, f + i));
|
|
1419
|
+
}
|
|
1420
|
+
return r;
|
|
1421
|
+
}
|
|
1422
|
+
//#endregion
|
|
1423
|
+
export { We as AsyncDecompress, xe as AsyncDeflate, Me as AsyncGunzip, Oe as AsyncGzip, we as AsyncInflate, ht as AsyncUnzipInflate, Be as AsyncUnzlib, lt as AsyncZipDeflate, Ie as AsyncZlib, Qe as DecodeUTF8, Ue as Decompress, X as Deflate, $e as EncodeUTF8, T as FlateErrorCode, je as Gunzip, De as Gzip, Z as Inflate, gt as Unzip, mt as UnzipInflate, pt as UnzipPassThrough, ze as Unzlib, ut as Zip, ct as ZipDeflate, st as ZipPassThrough, Fe as Zlib, Ge as decompress, Ke as decompressSync, Se as deflate, Ce as deflateSync, Ne as gunzip, Pe as gunzipSync, ke as gzip, Ae as gzipSync, Te as inflate, Ee as inflateSync, et as strFromU8, Q as strToU8, vt as unzip, yt as unzipSync, Ve as unzlib, He as unzlibSync, dt as zip, ft as zipSync, Le as zlib, Re as zlibSync };
|
|
1424
|
+
/* 独立思考,明辨是非 */
|