@unicom-cloud/utils 0.1.38 → 0.1.39

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.
Files changed (1975) hide show
  1. package/.virtual/_rolldown/runtime.js +13 -0
  2. package/.vite/license.md +3 -0
  3. package/.vite/manifest.json +10075 -0
  4. package/array/index.d.ts +2 -0
  5. package/array/index.js +8 -0
  6. package/assert/index.js +25 -33
  7. package/canvas-roundrect-polyfill/index.js +76 -208
  8. package/case-name/index.js +23 -22
  9. package/class-name/index.js +10 -9
  10. package/clipboard-copy/index.js +34 -33
  11. package/constant/address.js +14488 -5305
  12. package/constant/chineseCharacters.js +7 -5
  13. package/constant/constellations.js +19 -17
  14. package/constant/domain.js +7 -269
  15. package/constant/identity.js +20 -18
  16. package/constant/index.js +18 -31
  17. package/constant/isMobile.js +6 -7
  18. package/constant/keyboardCode.js +97 -101
  19. package/constant/licensePlate.js +10 -43
  20. package/constant/name.js +12 -667
  21. package/constant/platform.js +26 -20
  22. package/constant/protocol.js +20 -18
  23. package/constant/string.js +7 -5
  24. package/constant/ui.js +23 -19
  25. package/content-disposition/index.js +44 -54
  26. package/cookie/index.d.ts +1 -116
  27. package/cookie/index.js +4 -5
  28. package/cookie/src/api.js +45 -56
  29. package/cookie/src/assign.js +11 -11
  30. package/cookie/src/converter.js +12 -14
  31. package/date/convertTime.js +66 -59
  32. package/date/convertToDuration.js +36 -17
  33. package/date/index.js +10 -12
  34. package/decimal/decimal.js +792 -1054
  35. package/decimal/index.js +4 -6
  36. package/dom-helpers/activeElement.js +13 -12
  37. package/dom-helpers/addClass.js +8 -10
  38. package/dom-helpers/addEventListener.js +25 -32
  39. package/dom-helpers/animate.d.ts +19 -0
  40. package/dom-helpers/animate.js +38 -48
  41. package/dom-helpers/animationFrame.js +23 -19
  42. package/dom-helpers/attribute.js +10 -10
  43. package/dom-helpers/camelize.js +8 -7
  44. package/dom-helpers/camelizeStyle.d.ts +2 -0
  45. package/dom-helpers/camelizeStyle.js +9 -8
  46. package/dom-helpers/canUseDOM.js +6 -5
  47. package/dom-helpers/childElements.js +7 -6
  48. package/dom-helpers/childNodes.js +8 -7
  49. package/dom-helpers/clear.js +11 -11
  50. package/dom-helpers/closest.js +14 -13
  51. package/dom-helpers/collectElements.js +9 -10
  52. package/dom-helpers/collectSiblings.js +13 -14
  53. package/dom-helpers/contains.js +8 -8
  54. package/dom-helpers/css.d.ts +3 -0
  55. package/dom-helpers/css.js +15 -15
  56. package/dom-helpers/filterEventHandler.d.ts +2 -0
  57. package/dom-helpers/filterEventHandler.js +12 -11
  58. package/dom-helpers/getComputedStyle.js +8 -7
  59. package/dom-helpers/getElementCoordinates.js +42 -45
  60. package/dom-helpers/getScrollAccessor.js +14 -14
  61. package/dom-helpers/hasClass.js +7 -8
  62. package/dom-helpers/height.js +10 -9
  63. package/dom-helpers/hyphenate.js +8 -7
  64. package/dom-helpers/hyphenateStyle.d.ts +7 -0
  65. package/dom-helpers/hyphenateStyle.js +9 -8
  66. package/dom-helpers/index.js +96 -141
  67. package/dom-helpers/insertAfter.js +7 -6
  68. package/dom-helpers/isDocument.js +7 -6
  69. package/dom-helpers/isInput.js +8 -7
  70. package/dom-helpers/isTransform.js +8 -7
  71. package/dom-helpers/isVisible.js +7 -6
  72. package/dom-helpers/isWindow.js +8 -7
  73. package/dom-helpers/listen.d.ts +3 -0
  74. package/dom-helpers/listen.js +11 -10
  75. package/dom-helpers/matches.js +12 -11
  76. package/dom-helpers/nextUntil.js +8 -7
  77. package/dom-helpers/offset.js +22 -18
  78. package/dom-helpers/offsetParent.js +12 -13
  79. package/dom-helpers/ownerDocument.js +7 -6
  80. package/dom-helpers/ownerWindow.js +8 -7
  81. package/dom-helpers/parents.js +8 -7
  82. package/dom-helpers/position.js +31 -28
  83. package/dom-helpers/prepend.js +7 -6
  84. package/dom-helpers/querySelectorAll.js +8 -7
  85. package/dom-helpers/reflow.js +20 -25
  86. package/dom-helpers/remove.js +7 -6
  87. package/dom-helpers/removeClass.js +9 -17
  88. package/dom-helpers/removeEventListener.d.ts +11 -0
  89. package/dom-helpers/removeEventListener.js +8 -7
  90. package/dom-helpers/scrollLeft.js +6 -5
  91. package/dom-helpers/scrollParent.js +15 -15
  92. package/dom-helpers/scrollTo.js +27 -25
  93. package/dom-helpers/scrollTop.js +7 -6
  94. package/dom-helpers/scrollbarSize.js +13 -12
  95. package/dom-helpers/siblings.js +8 -10
  96. package/dom-helpers/text.js +9 -8
  97. package/dom-helpers/toggleClass.js +10 -9
  98. package/dom-helpers/transitionEnd.js +26 -31
  99. package/dom-helpers/triggerEvent.js +10 -9
  100. package/dom-helpers/types.d.ts +6 -0
  101. package/dom-helpers/types.js +6 -5
  102. package/dom-helpers/width.js +10 -9
  103. package/emitter/index.js +4 -5
  104. package/emitter/src/index.d.ts +75 -0
  105. package/emitter/src/index.js +68 -108
  106. package/emoji/emoji.js +57396 -52076
  107. package/emoji/emojis.js +6 -1920
  108. package/emoji/index.js +28 -32
  109. package/escape/index.js +9 -9
  110. package/file/fileRead.js +47 -54
  111. package/file/fileToDataURL.js +8 -8
  112. package/file/index.js +6 -9
  113. package/file/saveAs.js +61 -73
  114. package/function/index.js +8 -50
  115. package/idb/async-iterators.js +35 -32
  116. package/idb/database-extras.js +31 -26
  117. package/idb/entry.js +16 -36
  118. package/idb/index-.d.ts +18 -0
  119. package/idb/index-.js +82 -101
  120. package/idb/index.js +5 -9
  121. package/idb/util.js +6 -5
  122. package/idb/wrap-idb-value.d.ts +34 -0
  123. package/idb/wrap-idb-value.js +77 -80
  124. package/index.js +3 -4
  125. package/invariant/index.js +16 -21
  126. package/is/index.d.ts +88 -0
  127. package/is/index.js +142 -223
  128. package/is/lib/isAscii.d.ts +1 -0
  129. package/is/lib/isAscii.js +9 -8
  130. package/is/lib/isBase64.d.ts +4 -0
  131. package/is/lib/isBase64.js +16 -12
  132. package/is/lib/isChinese.d.ts +4 -0
  133. package/is/lib/isChinese.js +17 -17
  134. package/is/lib/isDataURI.d.ts +1 -0
  135. package/is/lib/isDataURI.js +18 -24
  136. package/is/lib/isEmail.js +59 -69
  137. package/is/lib/isFQDN.js +18 -25
  138. package/is/lib/isFullWidth.js +9 -9
  139. package/is/lib/isHSL.js +11 -10
  140. package/is/lib/isHalfWidth.js +9 -9
  141. package/is/lib/isHash.js +22 -21
  142. package/is/lib/isHexColor.js +10 -11
  143. package/is/lib/isIMEI.js +18 -19
  144. package/is/lib/isIP.js +16 -20
  145. package/is/lib/isIPRange.js +23 -24
  146. package/is/lib/isIdentityCard.js +112 -188
  147. package/is/lib/isJWT.js +11 -13
  148. package/is/lib/isMACAddress.js +9 -8
  149. package/is/lib/isMD5.js +8 -7
  150. package/is/lib/isMimeType.js +9 -8
  151. package/is/lib/isMobilePhone.js +180 -190
  152. package/is/lib/isPort.js +7 -6
  153. package/is/lib/isRgbColor.js +17 -17
  154. package/is/lib/isSemVer.js +16 -18
  155. package/is/lib/isSlug.js +8 -7
  156. package/is/lib/isStrongPassword.js +45 -43
  157. package/is/lib/isURL.js +64 -77
  158. package/is/lib/isUUID.js +22 -22
  159. package/is/lib/isVariableWidth.js +10 -9
  160. package/lodash/_DataView.js +8 -0
  161. package/lodash/_Hash.js +18 -0
  162. package/lodash/_LazyWrapper.js +12 -0
  163. package/lodash/_ListCache.js +18 -0
  164. package/lodash/_LodashWrapper.js +11 -0
  165. package/lodash/_Map.js +8 -0
  166. package/lodash/_MapCache.js +18 -0
  167. package/lodash/_Promise.js +8 -0
  168. package/lodash/_Set.js +8 -0
  169. package/lodash/_SetCache.js +13 -0
  170. package/lodash/_Stack.js +15 -0
  171. package/lodash/_Symbol.js +7 -0
  172. package/lodash/_Uint8Array.js +7 -0
  173. package/lodash/_WeakMap.js +8 -0
  174. package/lodash/_addMapEntry.js +8 -0
  175. package/lodash/_addSetEntry.js +8 -0
  176. package/lodash/_apply.js +14 -0
  177. package/lodash/_arrayAggregator.js +12 -0
  178. package/lodash/_arrayEach.js +9 -0
  179. package/lodash/_arrayEachRight.js +9 -0
  180. package/lodash/_arrayEvery.js +9 -0
  181. package/lodash/_arrayFilter.js +12 -0
  182. package/lodash/_arrayIncludes.js +9 -0
  183. package/lodash/_arrayIncludesWith.js +9 -0
  184. package/lodash/_arrayLikeKeys.js +17 -0
  185. package/lodash/_arrayMap.js +9 -0
  186. package/lodash/_arrayPush.js +9 -0
  187. package/lodash/_arrayReduce.js +10 -0
  188. package/lodash/_arrayReduceRight.js +10 -0
  189. package/lodash/_arraySample.js +10 -0
  190. package/lodash/_arraySampleSize.js +11 -0
  191. package/lodash/_arrayShuffle.js +10 -0
  192. package/lodash/_arraySome.js +9 -0
  193. package/lodash/_asciiSize.js +7 -0
  194. package/lodash/_asciiToArray.js +8 -0
  195. package/lodash/_asciiWords.js +9 -0
  196. package/lodash/_assignMergeValue.js +10 -0
  197. package/lodash/_assignValue.js +12 -0
  198. package/lodash/_assocIndexOf.js +10 -0
  199. package/lodash/_baseAggregator.js +11 -0
  200. package/lodash/_baseAssign.js +10 -0
  201. package/lodash/_baseAssignIn.js +10 -0
  202. package/lodash/_baseAssignValue.js +14 -0
  203. package/lodash/_baseAt.js +10 -0
  204. package/lodash/_baseClamp.js +8 -0
  205. package/lodash/_baseClone.js +59 -0
  206. package/lodash/_baseConforms.js +13 -0
  207. package/lodash/_baseConformsTo.js +14 -0
  208. package/lodash/_baseCreate.js +16 -0
  209. package/lodash/_baseDelay.js +12 -0
  210. package/lodash/_baseDifference.js +25 -0
  211. package/lodash/_baseEach.js +8 -0
  212. package/lodash/_baseEachRight.js +8 -0
  213. package/lodash/_baseEvery.js +12 -0
  214. package/lodash/_baseExtremum.js +13 -0
  215. package/lodash/_baseFill.js +12 -0
  216. package/lodash/_baseFilter.js +12 -0
  217. package/lodash/_baseFindIndex.js +9 -0
  218. package/lodash/_baseFindKey.js +11 -0
  219. package/lodash/_baseFlatten.js +15 -0
  220. package/lodash/_baseFor.js +7 -0
  221. package/lodash/_baseForOwn.js +10 -0
  222. package/lodash/_baseForOwnRight.js +10 -0
  223. package/lodash/_baseForRight.js +7 -0
  224. package/lodash/_baseFunctions.js +12 -0
  225. package/lodash/_baseGet.js +12 -0
  226. package/lodash/_baseGetAllKeys.js +11 -0
  227. package/lodash/_baseGetTag.js +12 -0
  228. package/lodash/_baseGt.js +8 -0
  229. package/lodash/_baseHas.js +9 -0
  230. package/lodash/_baseHasIn.js +8 -0
  231. package/lodash/_baseInRange.js +9 -0
  232. package/lodash/_baseIndexOf.js +11 -0
  233. package/lodash/_baseIndexOfWith.js +9 -0
  234. package/lodash/_baseIntersection.js +31 -0
  235. package/lodash/_baseInverter.js +11 -0
  236. package/lodash/_baseInvoke.js +15 -0
  237. package/lodash/_baseIsArguments.js +11 -0
  238. package/lodash/_baseIsArrayBuffer.js +11 -0
  239. package/lodash/_baseIsDate.js +11 -0
  240. package/lodash/_baseIsEqual.js +10 -0
  241. package/lodash/_baseIsEqualDeep.js +32 -0
  242. package/lodash/_baseIsMap.js +11 -0
  243. package/lodash/_baseIsMatch.js +28 -0
  244. package/lodash/_baseIsNaN.js +8 -0
  245. package/lodash/_baseIsNative.js +13 -0
  246. package/lodash/_baseIsRegExp.js +11 -0
  247. package/lodash/_baseIsSet.js +11 -0
  248. package/lodash/_baseIsTypedArray.js +13 -0
  249. package/lodash/_baseIteratee.js +13 -0
  250. package/lodash/_baseKeys.js +14 -0
  251. package/lodash/_baseKeysIn.js +15 -0
  252. package/lodash/_baseLodash.js +6 -0
  253. package/lodash/_baseLt.js +8 -0
  254. package/lodash/_baseMap.js +13 -0
  255. package/lodash/_baseMatches.js +14 -0
  256. package/lodash/_baseMatchesProperty.js +19 -0
  257. package/lodash/_baseMean.js +11 -0
  258. package/lodash/_baseMerge.js +21 -0
  259. package/lodash/_baseMergeDeep.js +33 -0
  260. package/lodash/_baseNth.js +10 -0
  261. package/lodash/_baseOrderBy.js +33 -0
  262. package/lodash/_basePick.js +12 -0
  263. package/lodash/_basePickBy.js +15 -0
  264. package/lodash/_baseProperty.js +10 -0
  265. package/lodash/_basePropertyDeep.js +11 -0
  266. package/lodash/_basePropertyOf.js +10 -0
  267. package/lodash/_basePullAll.js +16 -0
  268. package/lodash/_basePullAt.js +18 -0
  269. package/lodash/_baseRandom.js +9 -0
  270. package/lodash/_baseRange.js +10 -0
  271. package/lodash/_baseReduce.js +10 -0
  272. package/lodash/_baseRepeat.js +14 -0
  273. package/lodash/_baseRest.js +11 -0
  274. package/lodash/_baseSample.js +10 -0
  275. package/lodash/_baseSampleSize.js +12 -0
  276. package/lodash/_baseSet.js +24 -0
  277. package/lodash/_baseSetData.js +10 -0
  278. package/lodash/_baseSetToString.js +16 -0
  279. package/lodash/_baseShuffle.js +10 -0
  280. package/lodash/_baseSlice.js +11 -0
  281. package/lodash/_baseSome.js +12 -0
  282. package/lodash/_baseSortBy.js +10 -0
  283. package/lodash/_baseSortedIndex.js +20 -0
  284. package/lodash/_baseSortedIndexBy.js +19 -0
  285. package/lodash/_baseSortedUniq.js +16 -0
  286. package/lodash/_baseSum.js +12 -0
  287. package/lodash/_baseTimes.js +9 -0
  288. package/lodash/_baseToNumber.js +10 -0
  289. package/lodash/_baseToPairs.js +11 -0
  290. package/lodash/_baseToString.js +17 -0
  291. package/lodash/_baseTrim.js +10 -0
  292. package/lodash/_baseUnary.js +10 -0
  293. package/lodash/_baseUniq.js +29 -0
  294. package/lodash/_baseUnset.js +27 -0
  295. package/lodash/_baseUpdate.js +10 -0
  296. package/lodash/_baseValues.js +11 -0
  297. package/lodash/_baseWhile.js +10 -0
  298. package/lodash/_baseWrapperValue.js +14 -0
  299. package/lodash/_baseXor.js +14 -0
  300. package/lodash/_baseZipObject.js +12 -0
  301. package/lodash/_cacheHas.js +8 -0
  302. package/lodash/_castArrayLikeObject.js +9 -0
  303. package/lodash/_castFunction.js +9 -0
  304. package/lodash/_castPath.js +12 -0
  305. package/lodash/_castRest.js +7 -0
  306. package/lodash/_castSlice.js +10 -0
  307. package/lodash/_charsEndIndex.js +10 -0
  308. package/lodash/_charsStartIndex.js +10 -0
  309. package/lodash/_cloneArrayBuffer.js +10 -0
  310. package/lodash/_cloneBuffer.js +12 -0
  311. package/lodash/_cloneDataView.js +10 -0
  312. package/lodash/_cloneMap.js +12 -0
  313. package/lodash/_cloneRegExp.js +10 -0
  314. package/lodash/_cloneSet.js +12 -0
  315. package/lodash/_cloneSymbol.js +10 -0
  316. package/lodash/_cloneTypedArray.js +10 -0
  317. package/lodash/_compareAscending.js +14 -0
  318. package/lodash/_compareMultiple.js +13 -0
  319. package/lodash/_composeArgs.js +12 -0
  320. package/lodash/_composeArgsRight.js +12 -0
  321. package/lodash/_copyArray.js +10 -0
  322. package/lodash/_copyObject.js +16 -0
  323. package/lodash/_copySymbols.js +10 -0
  324. package/lodash/_copySymbolsIn.js +10 -0
  325. package/lodash/_coreJsData.js +7 -0
  326. package/lodash/_countHolders.js +9 -0
  327. package/lodash/_createAggregator.js +15 -0
  328. package/lodash/_createAssigner.js +17 -0
  329. package/lodash/_createBaseEach.js +14 -0
  330. package/lodash/_createBaseFor.js +14 -0
  331. package/lodash/_createBind.js +15 -0
  332. package/lodash/_createCaseFirst.js +16 -0
  333. package/lodash/_createCompounder.js +14 -0
  334. package/lodash/_createCtor.js +24 -0
  335. package/lodash/_createCurry.js +21 -0
  336. package/lodash/_createFind.js +21 -0
  337. package/lodash/_createFlow.js +33 -0
  338. package/lodash/_createHybrid.js +29 -0
  339. package/lodash/_createInverter.js +11 -0
  340. package/lodash/_createMathOperation.js +18 -0
  341. package/lodash/_createOver.js +21 -0
  342. package/lodash/_createPadding.js +19 -0
  343. package/lodash/_createPartial.js +18 -0
  344. package/lodash/_createRange.js +13 -0
  345. package/lodash/_createRecurry.js +26 -0
  346. package/lodash/_createRelationalOperation.js +11 -0
  347. package/lodash/_createRound.js +20 -0
  348. package/lodash/_createSet.js +11 -0
  349. package/lodash/_createToPairs.js +16 -0
  350. package/lodash/_createWrap.js +40 -0
  351. package/lodash/_customDefaultsAssignIn.js +10 -0
  352. package/lodash/_customDefaultsMerge.js +10 -0
  353. package/lodash/_customOmitClone.js +9 -0
  354. package/lodash/_deburrLetter.js +198 -0
  355. package/lodash/_defineProperty.js +12 -0
  356. package/lodash/_equalArrays.js +37 -0
  357. package/lodash/_equalByTag.js +37 -0
  358. package/lodash/_equalObjects.js +34 -0
  359. package/lodash/_escapeHtmlChar.js +13 -0
  360. package/lodash/_escapeStringChar.js +16 -0
  361. package/lodash/_flatRest.js +11 -0
  362. package/lodash/_freeGlobal.js +6 -0
  363. package/lodash/_getAllKeys.js +11 -0
  364. package/lodash/_getAllKeysIn.js +11 -0
  365. package/lodash/_getData.js +10 -0
  366. package/lodash/_getFuncName.js +14 -0
  367. package/lodash/_getHolder.js +8 -0
  368. package/lodash/_getMapData.js +10 -0
  369. package/lodash/_getMatchData.js +18 -0
  370. package/lodash/_getNative.js +11 -0
  371. package/lodash/_getPrototype.js +7 -0
  372. package/lodash/_getRawTag.js +16 -0
  373. package/lodash/_getSymbols.js +12 -0
  374. package/lodash/_getSymbolsIn.js +13 -0
  375. package/lodash/_getTag.js +25 -0
  376. package/lodash/_getValue.js +8 -0
  377. package/lodash/_getView.js +29 -0
  378. package/lodash/_getWrapDetails.js +10 -0
  379. package/lodash/_hasPath.js +20 -0
  380. package/lodash/_hasUnicode.js +9 -0
  381. package/lodash/_hasUnicodeWord.js +9 -0
  382. package/lodash/_hashClear.js +9 -0
  383. package/lodash/_hashDelete.js +9 -0
  384. package/lodash/_hashGet.js +15 -0
  385. package/lodash/_hashHas.js +11 -0
  386. package/lodash/_hashSet.js +11 -0
  387. package/lodash/_initCloneArray.js +10 -0
  388. package/lodash/_initCloneByTag.js +35 -0
  389. package/lodash/_initCloneObject.js +11 -0
  390. package/lodash/_insertWrapDetails.js +12 -0
  391. package/lodash/_isFlattenable.js +12 -0
  392. package/lodash/_isIndex.js +10 -0
  393. package/lodash/_isIterateeCall.js +14 -0
  394. package/lodash/_isKey.js +13 -0
  395. package/lodash/_isKeyable.js +9 -0
  396. package/lodash/_isLaziable.js +16 -0
  397. package/lodash/_isMaskable.js +9 -0
  398. package/lodash/_isMasked.js +13 -0
  399. package/lodash/_isPrototype.js +10 -0
  400. package/lodash/_isStrictComparable.js +9 -0
  401. package/lodash/_iteratorToArray.js +9 -0
  402. package/lodash/_lazyClone.js +11 -0
  403. package/lodash/_lazyReverse.js +13 -0
  404. package/lodash/_lazyValue.js +27 -0
  405. package/lodash/_listCacheClear.js +8 -0
  406. package/lodash/_listCacheDelete.js +11 -0
  407. package/lodash/_listCacheGet.js +10 -0
  408. package/lodash/_listCacheHas.js +9 -0
  409. package/lodash/_listCacheSet.js +10 -0
  410. package/lodash/_mapCacheClear.js +15 -0
  411. package/lodash/_mapCacheDelete.js +10 -0
  412. package/lodash/_mapCacheGet.js +9 -0
  413. package/lodash/_mapCacheHas.js +9 -0
  414. package/lodash/_mapCacheSet.js +10 -0
  415. package/lodash/_mapToArray.js +11 -0
  416. package/lodash/_matchesStrictComparable.js +10 -0
  417. package/lodash/_memoizeCapped.js +13 -0
  418. package/lodash/_mergeData.js +20 -0
  419. package/lodash/_metaMap.js +7 -0
  420. package/lodash/_nativeCreate.js +7 -0
  421. package/lodash/_nativeKeys.js +7 -0
  422. package/lodash/_nativeKeysIn.js +10 -0
  423. package/lodash/_nodeUtil.js +11 -0
  424. package/lodash/_objectToString.js +9 -0
  425. package/lodash/_overArg.js +10 -0
  426. package/lodash/_overRest.js +15 -0
  427. package/lodash/_parent.js +10 -0
  428. package/lodash/_reEscape.js +6 -0
  429. package/lodash/_reEvaluate.js +6 -0
  430. package/lodash/_reInterpolate.js +6 -0
  431. package/lodash/_realNames.js +6 -0
  432. package/lodash/_reorder.js +15 -0
  433. package/lodash/_replaceHolders.js +13 -0
  434. package/lodash/_root.js +7 -0
  435. package/lodash/_safeGet.js +8 -0
  436. package/lodash/_setCacheAdd.js +9 -0
  437. package/lodash/_setCacheHas.js +8 -0
  438. package/lodash/_setData.js +8 -0
  439. package/lodash/_setToArray.js +11 -0
  440. package/lodash/_setToPairs.js +11 -0
  441. package/lodash/_setToString.js +8 -0
  442. package/lodash/_setWrapToString.js +13 -0
  443. package/lodash/_shortOut.js +16 -0
  444. package/lodash/_shuffleSelf.js +14 -0
  445. package/lodash/_stackClear.js +9 -0
  446. package/lodash/_stackDelete.js +9 -0
  447. package/lodash/_stackGet.js +8 -0
  448. package/lodash/_stackHas.js +8 -0
  449. package/lodash/_stackSet.js +18 -0
  450. package/lodash/_strictIndexOf.js +9 -0
  451. package/lodash/_strictLastIndexOf.js +9 -0
  452. package/lodash/_stringSize.js +11 -0
  453. package/lodash/_stringToArray.js +11 -0
  454. package/lodash/_stringToPath.js +12 -0
  455. package/lodash/_toKey.js +12 -0
  456. package/lodash/_toSource.js +17 -0
  457. package/lodash/_trimmedEndIndex.js +10 -0
  458. package/lodash/_unescapeHtmlChar.js +13 -0
  459. package/lodash/_unicodeSize.js +20 -0
  460. package/lodash/_unicodeToArray.js +19 -0
  461. package/lodash/_unicodeWords.js +34 -0
  462. package/lodash/_updateWrapDetails.js +24 -0
  463. package/lodash/_wrapperClone.js +13 -0
  464. package/lodash/add.js +9 -0
  465. package/lodash/after.js +13 -0
  466. package/lodash/array.default.js +136 -0
  467. package/lodash/array.js +68 -0
  468. package/lodash/ary.js +10 -0
  469. package/lodash/assign.js +18 -0
  470. package/lodash/assignIn.js +11 -0
  471. package/lodash/assignInWith.js +11 -0
  472. package/lodash/assignWith.js +11 -0
  473. package/lodash/at.js +8 -0
  474. package/lodash/attempt.js +15 -0
  475. package/lodash/before.js +14 -0
  476. package/lodash/bind.js +18 -0
  477. package/lodash/bindAll.js +15 -0
  478. package/lodash/bindKey.js +18 -0
  479. package/lodash/camelCase.js +10 -0
  480. package/lodash/capitalize.js +10 -0
  481. package/lodash/castArray.js +11 -0
  482. package/lodash/ceil.js +7 -0
  483. package/lodash/chain.js +10 -0
  484. package/lodash/chunk.js +16 -0
  485. package/lodash/clamp.js +10 -0
  486. package/lodash/clone.js +10 -0
  487. package/lodash/cloneDeep.js +10 -0
  488. package/lodash/cloneDeepWith.js +10 -0
  489. package/lodash/cloneWith.js +10 -0
  490. package/lodash/collection.default.js +63 -0
  491. package/lodash/collection.js +32 -0
  492. package/lodash/commit.js +9 -0
  493. package/lodash/compact.js +12 -0
  494. package/lodash/concat.js +15 -0
  495. package/lodash/cond.js +22 -0
  496. package/lodash/conforms.js +11 -0
  497. package/lodash/conformsTo.js +10 -0
  498. package/lodash/constant.js +10 -0
  499. package/lodash/countBy.js +10 -0
  500. package/lodash/create.js +11 -0
  501. package/lodash/curry.js +13 -0
  502. package/lodash/curryRight.js +13 -0
  503. package/lodash/date.default.js +7 -0
  504. package/lodash/date.js +5 -0
  505. package/lodash/debounce.js +52 -0
  506. package/lodash/deburr.js +11 -0
  507. package/lodash/defaultTo.js +8 -0
  508. package/lodash/defaults.js +18 -0
  509. package/lodash/defaultsDeep.js +12 -0
  510. package/lodash/defer.js +10 -0
  511. package/lodash/delay.js +11 -0
  512. package/lodash/difference.js +12 -0
  513. package/lodash/differenceBy.js +15 -0
  514. package/lodash/differenceWith.js +14 -0
  515. package/lodash/divide.js +9 -0
  516. package/lodash/drop.js +11 -0
  517. package/lodash/dropRight.js +11 -0
  518. package/lodash/dropRightWhile.js +10 -0
  519. package/lodash/dropWhile.js +10 -0
  520. package/lodash/each.js +4 -0
  521. package/lodash/eachRight.js +4 -0
  522. package/lodash/endsWith.js +16 -0
  523. package/lodash/entries.js +4 -0
  524. package/lodash/entriesIn.js +4 -0
  525. package/lodash/eq.js +8 -0
  526. package/lodash/escape.js +11 -0
  527. package/lodash/escapeRegExp.js +10 -0
  528. package/lodash/every.js +14 -0
  529. package/lodash/extend.js +4 -0
  530. package/lodash/extendWith.js +4 -0
  531. package/lodash/fill.js +11 -0
  532. package/lodash/filter.js +12 -0
  533. package/lodash/find.js +8 -0
  534. package/lodash/findIndex.js +15 -0
  535. package/lodash/findKey.js +11 -0
  536. package/lodash/findLast.js +8 -0
  537. package/lodash/findLastIndex.js +15 -0
  538. package/lodash/findLastKey.js +11 -0
  539. package/lodash/first.js +4 -0
  540. package/lodash/flatMap.js +10 -0
  541. package/lodash/flatMapDeep.js +11 -0
  542. package/lodash/flatMapDepth.js +11 -0
  543. package/lodash/flatten.js +9 -0
  544. package/lodash/flattenDeep.js +10 -0
  545. package/lodash/flattenDepth.js +10 -0
  546. package/lodash/flip.js +10 -0
  547. package/lodash/floor.js +7 -0
  548. package/lodash/flow.js +7 -0
  549. package/lodash/flowRight.js +7 -0
  550. package/lodash/forEach.js +12 -0
  551. package/lodash/forEachRight.js +12 -0
  552. package/lodash/forIn.js +11 -0
  553. package/lodash/forInRight.js +11 -0
  554. package/lodash/forOwn.js +10 -0
  555. package/lodash/forOwnRight.js +10 -0
  556. package/lodash/fromPairs.js +12 -0
  557. package/lodash/function.default.js +53 -0
  558. package/lodash/function.js +27 -0
  559. package/lodash/functions.js +10 -0
  560. package/lodash/functionsIn.js +10 -0
  561. package/lodash/get.js +10 -0
  562. package/lodash/groupBy.js +10 -0
  563. package/lodash/gt.js +8 -0
  564. package/lodash/gte.js +9 -0
  565. package/lodash/has.js +10 -0
  566. package/lodash/hasIn.js +10 -0
  567. package/lodash/head.js +8 -0
  568. package/lodash/identity.js +8 -0
  569. package/lodash/inRange.js +11 -0
  570. package/lodash/includes.js +16 -0
  571. package/lodash/index.js +312 -0
  572. package/lodash/indexOf.js +14 -0
  573. package/lodash/initial.js +9 -0
  574. package/lodash/intersection.js +13 -0
  575. package/lodash/intersectionBy.js +15 -0
  576. package/lodash/intersectionWith.js +14 -0
  577. package/lodash/invert.js +11 -0
  578. package/lodash/invertBy.js +10 -0
  579. package/lodash/invoke.js +8 -0
  580. package/lodash/invokeMap.js +16 -0
  581. package/lodash/isArguments.js +12 -0
  582. package/lodash/isArray.js +6 -0
  583. package/lodash/isArrayBuffer.js +9 -0
  584. package/lodash/isArrayLike.js +10 -0
  585. package/lodash/isArrayLikeObject.js +10 -0
  586. package/lodash/isBoolean.js +11 -0
  587. package/lodash/isBuffer.js +8 -0
  588. package/lodash/isDate.js +9 -0
  589. package/lodash/isElement.js +10 -0
  590. package/lodash/isEmpty.js +23 -0
  591. package/lodash/isEqual.js +9 -0
  592. package/lodash/isEqualWith.js +11 -0
  593. package/lodash/isError.js +14 -0
  594. package/lodash/isFinite.js +10 -0
  595. package/lodash/isFunction.js +13 -0
  596. package/lodash/isInteger.js +9 -0
  597. package/lodash/isLength.js +9 -0
  598. package/lodash/isMap.js +9 -0
  599. package/lodash/isMatch.js +10 -0
  600. package/lodash/isMatchWith.js +10 -0
  601. package/lodash/isNaN.js +9 -0
  602. package/lodash/isNative.js +12 -0
  603. package/lodash/isNil.js +8 -0
  604. package/lodash/isNull.js +8 -0
  605. package/lodash/isNumber.js +11 -0
  606. package/lodash/isObject.js +9 -0
  607. package/lodash/isObjectLike.js +8 -0
  608. package/lodash/isPlainObject.js +16 -0
  609. package/lodash/isPromise.js +11 -0
  610. package/lodash/isRegExp.js +9 -0
  611. package/lodash/isSafeInteger.js +10 -0
  612. package/lodash/isSet.js +9 -0
  613. package/lodash/isString.js +12 -0
  614. package/lodash/isSymbol.js +11 -0
  615. package/lodash/isTypedArray.js +9 -0
  616. package/lodash/isUndefined.js +8 -0
  617. package/lodash/isWeakMap.js +11 -0
  618. package/lodash/isWeakSet.js +11 -0
  619. package/lodash/iteratee.js +11 -0
  620. package/lodash/join.js +9 -0
  621. package/lodash/kebabCase.js +9 -0
  622. package/lodash/keyBy.js +10 -0
  623. package/lodash/keys.js +11 -0
  624. package/lodash/keysIn.js +11 -0
  625. package/lodash/lang.default.js +119 -0
  626. package/lodash/lang.js +60 -0
  627. package/lodash/last.js +9 -0
  628. package/lodash/lastIndexOf.js +16 -0
  629. package/lodash/lodash.default.js +182 -0
  630. package/lodash/lodash.js +319 -0
  631. package/lodash/lowerCase.js +9 -0
  632. package/lodash/lowerFirst.js +7 -0
  633. package/lodash/lt.js +8 -0
  634. package/lodash/lte.js +9 -0
  635. package/lodash/map.js +12 -0
  636. package/lodash/mapKeys.js +14 -0
  637. package/lodash/mapValues.js +14 -0
  638. package/lodash/matches.js +11 -0
  639. package/lodash/matchesProperty.js +11 -0
  640. package/lodash/math.default.js +37 -0
  641. package/lodash/math.js +19 -0
  642. package/lodash/max.js +11 -0
  643. package/lodash/maxBy.js +11 -0
  644. package/lodash/mean.js +10 -0
  645. package/lodash/meanBy.js +10 -0
  646. package/lodash/memoize.js +18 -0
  647. package/lodash/merge.js +10 -0
  648. package/lodash/mergeWith.js +10 -0
  649. package/lodash/method.js +12 -0
  650. package/lodash/methodOf.js +12 -0
  651. package/lodash/min.js +11 -0
  652. package/lodash/minBy.js +11 -0
  653. package/lodash/mixin.js +30 -0
  654. package/lodash/multiply.js +9 -0
  655. package/lodash/negate.js +19 -0
  656. package/lodash/next.js +14 -0
  657. package/lodash/noop.js +6 -0
  658. package/lodash/now.js +9 -0
  659. package/lodash/nth.js +10 -0
  660. package/lodash/nthArg.js +13 -0
  661. package/lodash/number.default.js +13 -0
  662. package/lodash/number.js +7 -0
  663. package/lodash/object.default.js +101 -0
  664. package/lodash/object.js +51 -0
  665. package/lodash/omit.js +23 -0
  666. package/lodash/omitBy.js +11 -0
  667. package/lodash/once.js +9 -0
  668. package/lodash/orderBy.js +10 -0
  669. package/lodash/over.js +8 -0
  670. package/lodash/overArgs.js +21 -0
  671. package/lodash/overEvery.js +8 -0
  672. package/lodash/overSome.js +8 -0
  673. package/lodash/pad.js +17 -0
  674. package/lodash/padEnd.js +14 -0
  675. package/lodash/padStart.js +14 -0
  676. package/lodash/parseInt.js +11 -0
  677. package/lodash/partial.js +13 -0
  678. package/lodash/partialRight.js +13 -0
  679. package/lodash/partition.js +11 -0
  680. package/lodash/pick.js +10 -0
  681. package/lodash/pickBy.js +18 -0
  682. package/lodash/plant.js +16 -0
  683. package/lodash/property.js +12 -0
  684. package/lodash/propertyOf.js +11 -0
  685. package/lodash/pull.js +8 -0
  686. package/lodash/pullAll.js +9 -0
  687. package/lodash/pullAllBy.js +10 -0
  688. package/lodash/pullAllWith.js +9 -0
  689. package/lodash/pullAt.js +17 -0
  690. package/lodash/random.js +20 -0
  691. package/lodash/range.js +7 -0
  692. package/lodash/rangeRight.js +7 -0
  693. package/lodash/rearg.js +10 -0
  694. package/lodash/reduce.js +14 -0
  695. package/lodash/reduceRight.js +14 -0
  696. package/lodash/reject.js +13 -0
  697. package/lodash/remove.js +17 -0
  698. package/lodash/repeat.js +12 -0
  699. package/lodash/replace.js +10 -0
  700. package/lodash/rest.js +12 -0
  701. package/lodash/result.js +17 -0
  702. package/lodash/reverse.js +9 -0
  703. package/lodash/round.js +7 -0
  704. package/lodash/sample.js +11 -0
  705. package/lodash/sampleSize.js +13 -0
  706. package/lodash/seq.default.js +35 -0
  707. package/lodash/seq.js +18 -0
  708. package/lodash/set.js +9 -0
  709. package/lodash/setWith.js +9 -0
  710. package/lodash/shuffle.js +11 -0
  711. package/lodash/size.js +17 -0
  712. package/lodash/slice.js +12 -0
  713. package/lodash/snakeCase.js +9 -0
  714. package/lodash/some.js +14 -0
  715. package/lodash/sortBy.js +14 -0
  716. package/lodash/sortedIndex.js +9 -0
  717. package/lodash/sortedIndexBy.js +10 -0
  718. package/lodash/sortedIndexOf.js +15 -0
  719. package/lodash/sortedLastIndex.js +9 -0
  720. package/lodash/sortedLastIndexBy.js +10 -0
  721. package/lodash/sortedLastIndexOf.js +14 -0
  722. package/lodash/sortedUniq.js +9 -0
  723. package/lodash/sortedUniqBy.js +10 -0
  724. package/lodash/split.js +16 -0
  725. package/lodash/spread.js +18 -0
  726. package/lodash/startCase.js +10 -0
  727. package/lodash/startsWith.js +12 -0
  728. package/lodash/string.default.js +69 -0
  729. package/lodash/string.js +35 -0
  730. package/lodash/stubArray.js +8 -0
  731. package/lodash/stubFalse.js +8 -0
  732. package/lodash/stubObject.js +8 -0
  733. package/lodash/stubString.js +8 -0
  734. package/lodash/stubTrue.js +8 -0
  735. package/lodash/subtract.js +9 -0
  736. package/lodash/sum.js +10 -0
  737. package/lodash/sumBy.js +10 -0
  738. package/lodash/tail.js +10 -0
  739. package/lodash/take.js +10 -0
  740. package/lodash/takeRight.js +11 -0
  741. package/lodash/takeRightWhile.js +10 -0
  742. package/lodash/takeWhile.js +10 -0
  743. package/lodash/tap.js +8 -0
  744. package/lodash/template.js +34 -0
  745. package/lodash/templateSettings.js +16 -0
  746. package/lodash/throttle.js +17 -0
  747. package/lodash/thru.js +8 -0
  748. package/lodash/times.js +16 -0
  749. package/lodash/toArray.js +23 -0
  750. package/lodash/toFinite.js +10 -0
  751. package/lodash/toInteger.js +10 -0
  752. package/lodash/toIterator.js +8 -0
  753. package/lodash/toJSON.js +4 -0
  754. package/lodash/toLength.js +11 -0
  755. package/lodash/toLower.js +9 -0
  756. package/lodash/toNumber.js +21 -0
  757. package/lodash/toPairs.js +8 -0
  758. package/lodash/toPairsIn.js +8 -0
  759. package/lodash/toPath.js +15 -0
  760. package/lodash/toPlainObject.js +10 -0
  761. package/lodash/toSafeInteger.js +11 -0
  762. package/lodash/toString.js +9 -0
  763. package/lodash/toUpper.js +9 -0
  764. package/lodash/transform.js +25 -0
  765. package/lodash/trim.js +18 -0
  766. package/lodash/trimEnd.js +17 -0
  767. package/lodash/trimStart.js +17 -0
  768. package/lodash/truncate.js +44 -0
  769. package/lodash/unary.js +9 -0
  770. package/lodash/unescape.js +11 -0
  771. package/lodash/union.js +12 -0
  772. package/lodash/unionBy.js +15 -0
  773. package/lodash/unionWith.js +14 -0
  774. package/lodash/uniq.js +9 -0
  775. package/lodash/uniqBy.js +10 -0
  776. package/lodash/uniqWith.js +9 -0
  777. package/lodash/uniqueId.js +11 -0
  778. package/lodash/unset.js +9 -0
  779. package/lodash/unzip.js +20 -0
  780. package/lodash/unzipWith.js +15 -0
  781. package/lodash/update.js +10 -0
  782. package/lodash/updateWith.js +10 -0
  783. package/lodash/upperCase.js +9 -0
  784. package/lodash/upperFirst.js +7 -0
  785. package/lodash/util.default.js +71 -0
  786. package/lodash/util.js +36 -0
  787. package/lodash/value.js +4 -0
  788. package/lodash/valueOf.js +4 -0
  789. package/lodash/values.js +10 -0
  790. package/lodash/valuesIn.js +10 -0
  791. package/lodash/without.js +11 -0
  792. package/lodash/words.js +12 -0
  793. package/lodash/wrap.js +10 -0
  794. package/lodash/wrapperAt.js +23 -0
  795. package/lodash/wrapperChain.js +9 -0
  796. package/lodash/wrapperLodash.js +20 -0
  797. package/lodash/wrapperReverse.js +21 -0
  798. package/lodash/wrapperValue.js +9 -0
  799. package/lodash/xor.js +12 -0
  800. package/lodash/xorBy.js +15 -0
  801. package/lodash/xorWith.js +14 -0
  802. package/lodash/zip.js +8 -0
  803. package/lodash/zipObject.js +10 -0
  804. package/lodash/zipObjectDeep.js +10 -0
  805. package/lodash/zipWith.js +11 -0
  806. package/math/index.js +20 -22
  807. package/md5/index.js +60 -66
  808. package/mock/MockWebSocket.js +80 -93
  809. package/mock/MockXMLHttpRequest.js +83 -82
  810. package/mock/index.js +5 -9
  811. package/normalize-wheel/ExecutionEnvironment.js +12 -12
  812. package/normalize-wheel/UserAgent_DEPRECATED.js +71 -145
  813. package/normalize-wheel/index.js +18 -12
  814. package/normalize-wheel/isEventSupported.js +14 -15
  815. package/number-to-chinese/index.js +105 -71
  816. package/nzh/cn.js +9 -8
  817. package/nzh/hk.js +9 -8
  818. package/nzh/index.js +4 -5
  819. package/nzh/nzh.d.ts +36 -74
  820. package/nzh/nzh.js +25 -21
  821. package/nzh/src/autoGet.js +28 -25
  822. package/nzh/src/index.js +80 -91
  823. package/nzh/src/langs/cn_b.js +13 -12
  824. package/nzh/src/langs/cn_s.js +10 -9
  825. package/nzh/src/langs/hk_b.js +13 -12
  826. package/nzh/src/langs/hk_s.js +10 -9
  827. package/nzh/src/utils.js +60 -72
  828. package/object/index.d.ts +7 -0
  829. package/object/index.js +14 -15
  830. package/package.json +1 -1
  831. package/pinyin/index.d.ts +1 -6
  832. package/pinyin/index.js +5 -5
  833. package/pinyin/simplified.js +4 -5
  834. package/pinyin/src/core.js +125 -134
  835. package/pinyin/src/simplified.js +8 -9
  836. package/pinyin/src/simplified_dict.js +408 -409
  837. package/pinyin/src/traditional.js +8 -9
  838. package/pinyin/src/traditional_dict.js +401 -402
  839. package/pinyin/traditional.js +4 -5
  840. package/promise-pool/index.js +89 -116
  841. package/query-string/base.d.ts +11 -807
  842. package/query-string/base.js +254 -277
  843. package/query-string/index.d.ts +1 -15
  844. package/query-string/index.js +7 -5
  845. package/query-string/splitOnFirst.js +11 -14
  846. package/random/address.js +28 -32
  847. package/random/constellation.js +9 -8
  848. package/random/image.js +11 -20
  849. package/random/index.d.ts +31 -0
  850. package/random/index.js +97 -82
  851. package/random/licensePlate.js +10 -11
  852. package/random/name.js +26 -25
  853. package/random/number.js +16 -15
  854. package/random/text.js +98 -117
  855. package/random/time.js +8 -8
  856. package/random/web.js +42 -37
  857. package/sanitize-url/index.js +18 -20
  858. package/screenfull/index.js +46 -49
  859. package/sleep/index.js +7 -6
  860. package/snapdom/index.js +5 -6
  861. package/snapdom/src/api/preCache.d.ts +30 -0
  862. package/snapdom/src/api/preCache.js +72 -89
  863. package/snapdom/src/api/snapdom.js +229 -236
  864. package/snapdom/src/core/cache.d.ts +38 -0
  865. package/snapdom/src/core/cache.js +56 -39
  866. package/snapdom/src/core/capture.js +160 -167
  867. package/snapdom/src/core/clone.js +195 -214
  868. package/snapdom/src/core/context.d.ts +60 -0
  869. package/snapdom/src/core/context.js +40 -58
  870. package/snapdom/src/core/plugins.js +55 -62
  871. package/snapdom/src/core/prepare.js +82 -76
  872. package/snapdom/src/exporters/download.js +46 -17
  873. package/snapdom/src/exporters/toBlob.js +14 -9
  874. package/snapdom/src/exporters/toCanvas.js +78 -103
  875. package/snapdom/src/exporters/toImg.js +35 -35
  876. package/snapdom/src/index.js +4 -0
  877. package/snapdom/src/modules/CSSVar.js +74 -85
  878. package/snapdom/src/modules/background.js +84 -88
  879. package/snapdom/src/modules/changeCSS.js +48 -56
  880. package/snapdom/src/modules/counter.js +135 -172
  881. package/snapdom/src/modules/fonts.d.ts +85 -0
  882. package/snapdom/src/modules/fonts.js +560 -653
  883. package/snapdom/src/modules/iconFonts.js +130 -168
  884. package/snapdom/src/modules/images.js +87 -61
  885. package/snapdom/src/modules/lineClamp.d.ts +18 -0
  886. package/snapdom/src/modules/lineClamp.js +41 -37
  887. package/snapdom/src/modules/pseudo.js +290 -327
  888. package/snapdom/src/modules/rasterize.js +9 -8
  889. package/snapdom/src/modules/snapFetch.js +245 -255
  890. package/snapdom/src/modules/styles.js +177 -162
  891. package/snapdom/src/modules/svgDefs.js +97 -105
  892. package/snapdom/src/utils/browser.d.ts +11 -0
  893. package/snapdom/src/utils/browser.js +23 -16
  894. package/snapdom/src/utils/capture.helpers.d.ts +49 -0
  895. package/snapdom/src/utils/capture.helpers.js +145 -120
  896. package/snapdom/src/utils/clone.helpers.d.ts +127 -0
  897. package/snapdom/src/utils/clone.helpers.js +289 -261
  898. package/snapdom/src/utils/css.js +171 -180
  899. package/snapdom/src/utils/debug.d.ts +12 -0
  900. package/snapdom/src/utils/debug.js +9 -0
  901. package/snapdom/src/utils/helpers.d.ts +23 -0
  902. package/snapdom/src/utils/helpers.js +36 -28
  903. package/snapdom/src/utils/image.js +26 -29
  904. package/snapdom/src/utils/index.d.ts +5 -0
  905. package/snapdom/src/utils/index.js +7 -0
  906. package/snapdom/src/utils/prepare.helpers.js +8 -7
  907. package/snapdom/src/utils/transforms.helpers.js +223 -199
  908. package/string/chars.js +333 -659
  909. package/string/index.d.ts +11 -0
  910. package/string/index.js +11 -14
  911. package/tinycolor/index.js +13 -47
  912. package/tinycolor/src/conversion.d.ts +79 -0
  913. package/tinycolor/src/conversion.js +153 -129
  914. package/tinycolor/src/css-color-names.js +154 -153
  915. package/tinycolor/src/format-input.d.ts +38 -0
  916. package/tinycolor/src/format-input.js +104 -74
  917. package/tinycolor/src/from-ratio.js +20 -20
  918. package/tinycolor/src/index.d.ts +214 -0
  919. package/tinycolor/src/index.js +266 -387
  920. package/tinycolor/src/public_api.js +11 -0
  921. package/tinycolor/src/random.js +207 -213
  922. package/tinycolor/src/readability.d.ts +47 -0
  923. package/tinycolor/src/readability.js +34 -34
  924. package/tinycolor/src/to-ms-filter.d.ts +5 -0
  925. package/tinycolor/src/to-ms-filter.js +14 -15
  926. package/tinycolor/src/utils.js +21 -26
  927. package/tree/index.d.ts +8 -0
  928. package/tree/index.js +58 -67
  929. package/tree/search/index.js +84 -106
  930. package/tween/index.js +6 -8
  931. package/tween/src/easing.js +68 -62
  932. package/tween/src/index.js +4 -0
  933. package/tween/src/tween.js +31 -46
  934. package/ui-color/compareColorByRange.js +10 -9
  935. package/ui-color/index.js +197 -157
  936. package/url-toolkit/index.js +4 -9
  937. package/url-toolkit/src/url-toolkit.d.ts +18 -22
  938. package/url-toolkit/src/url-toolkit.js +57 -70
  939. package/validate/index.js +13 -26
  940. package/validate/src/index.js +78 -148
  941. package/validate/src/locale/en-US.js +60 -59
  942. package/validate/src/locale/index.js +11 -10
  943. package/validate/src/locale/zh-CN.js +60 -59
  944. package/validate/src/rules/array.d.ts +12 -0
  945. package/validate/src/rules/array.js +50 -72
  946. package/validate/src/rules/base.d.ts +27 -0
  947. package/validate/src/rules/base.js +64 -72
  948. package/validate/src/rules/boolean.d.ts +8 -0
  949. package/validate/src/rules/boolean.js +20 -28
  950. package/validate/src/rules/custom.d.ts +7 -0
  951. package/validate/src/rules/custom.js +23 -25
  952. package/validate/src/rules/number.d.ts +12 -0
  953. package/validate/src/rules/number.js +35 -53
  954. package/validate/src/rules/object.d.ts +9 -0
  955. package/validate/src/rules/object.js +22 -37
  956. package/validate/src/rules/string.d.ts +12 -0
  957. package/validate/src/rules/string.js +33 -54
  958. package/validate/src/rules/type.d.ts +19 -0
  959. package/validate/src/rules/type.js +65 -103
  960. package/version/index.js +6 -6
  961. package/xlsx/crc32.js +34 -43
  962. package/xlsx/index.d.ts +2 -1138
  963. package/xlsx/index.js +4 -23
  964. package/xlsx/xlsx.js +22164 -28082
  965. package/assert.js +0 -9
  966. package/canvasRoundrectPolyfill.js +0 -2
  967. package/caseName.js +0 -12
  968. package/className.js +0 -6
  969. package/clipboardCopy.js +0 -6
  970. package/constant.js +0 -29
  971. package/contentDisposition.js +0 -9
  972. package/cookie.js +0 -5
  973. package/date.js +0 -11
  974. package/decimal.js +0 -6
  975. package/domHelpers.js +0 -96
  976. package/emitter.js +0 -5
  977. package/emoji.js +0 -11
  978. package/escape.js +0 -6
  979. package/file.js +0 -9
  980. package/filesize/LICENSE +0 -26
  981. package/filesize/types/constants.d.ts +0 -111
  982. package/filesize/types/filesize.d.ts +0 -97
  983. package/filesize/types/helpers.d.ts +0 -130
  984. package/function.js +0 -49
  985. package/idb.js +0 -11
  986. package/invariant.js +0 -5
  987. package/is.js +0 -154
  988. package/lunar/LICENSE +0 -20
  989. package/lunar/index.js +0 -37
  990. package/lunar/lib/Holiday.js +0 -39
  991. package/lunar/lib/HolidayUtil.js +0 -142
  992. package/lunar/lib/I18n.js +0 -426
  993. package/lunar/lib/JieQi.js +0 -37
  994. package/lunar/lib/Lunar.js +0 -588
  995. package/lunar/lib/LunarMonth.js +0 -88
  996. package/lunar/lib/LunarTime.js +0 -60
  997. package/lunar/lib/LunarUtil.js +0 -451
  998. package/lunar/lib/LunarYear.js +0 -524
  999. package/lunar/lib/ShouXingUtil.js +0 -6940
  1000. package/lunar/lib/Solar.js +0 -287
  1001. package/lunar/lib/SolarHalfYear.js +0 -44
  1002. package/lunar/lib/SolarMonth.js +0 -54
  1003. package/lunar/lib/SolarSeason.js +0 -41
  1004. package/lunar/lib/SolarUtil.js +0 -269
  1005. package/lunar/lib/SolarWeek.js +0 -150
  1006. package/lunar/lib/SolarYear.js +0 -35
  1007. package/lunar/lib/index.js +0 -36
  1008. package/lunar.js +0 -37
  1009. package/math.js +0 -10
  1010. package/md5.js +0 -5
  1011. package/mock.js +0 -9
  1012. package/normalizeWheel.js +0 -7
  1013. package/numberToChinese.js +0 -5
  1014. package/nzh.js +0 -5
  1015. package/object.js +0 -8
  1016. package/pinyin.js +0 -5
  1017. package/promisePool.js +0 -5
  1018. package/queryString.js +0 -5
  1019. package/random.js +0 -16
  1020. package/sanitizeUrl.js +0 -5
  1021. package/screenfull.js +0 -6
  1022. package/sleep.js +0 -5
  1023. package/snapdom/types/snapdom.d.ts +0 -362
  1024. package/snapdom.js +0 -7
  1025. package/string.js +0 -11
  1026. package/tinycolor.js +0 -47
  1027. package/tree.js +0 -16
  1028. package/tween.js +0 -8
  1029. package/types/cookie/index.d.ts +0 -1
  1030. package/types/dom-helpers/animate.d.ts +0 -19
  1031. package/types/dom-helpers/camelizeStyle.d.ts +0 -2
  1032. package/types/dom-helpers/css.d.ts +0 -3
  1033. package/types/dom-helpers/filterEventHandler.d.ts +0 -2
  1034. package/types/dom-helpers/hyphenateStyle.d.ts +0 -7
  1035. package/types/dom-helpers/listen.d.ts +0 -3
  1036. package/types/dom-helpers/removeEventListener.d.ts +0 -11
  1037. package/types/dom-helpers/types.d.ts +0 -6
  1038. package/types/emitter/src/index.d.ts +0 -75
  1039. package/types/idb/index-.d.ts +0 -21
  1040. package/types/idb/wrap-idb-value.d.ts +0 -34
  1041. package/types/is/index.d.ts +0 -84
  1042. package/types/is/lib/isAscii.d.ts +0 -1
  1043. package/types/is/lib/isBase64.d.ts +0 -1
  1044. package/types/is/lib/isChinese.d.ts +0 -4
  1045. package/types/is/lib/isDataURI.d.ts +0 -1
  1046. package/types/lunar/index.d.ts +0 -3
  1047. package/types/lunar/lib/Holiday.d.ts +0 -17
  1048. package/types/lunar/lib/HolidayUtil.d.ts +0 -23
  1049. package/types/lunar/lib/I18n.d.ts +0 -23
  1050. package/types/lunar/lib/JieQi.d.ts +0 -15
  1051. package/types/lunar/lib/Lunar.d.ts +0 -147
  1052. package/types/lunar/lib/LunarMonth.d.ts +0 -23
  1053. package/types/lunar/lib/LunarTime.d.ts +0 -18
  1054. package/types/lunar/lib/LunarUtil.d.ts +0 -38
  1055. package/types/lunar/lib/LunarYear.d.ts +0 -31
  1056. package/types/lunar/lib/ShouXingUtil.d.ts +0 -38
  1057. package/types/lunar/lib/Solar.d.ts +0 -46
  1058. package/types/lunar/lib/SolarHalfYear.d.ts +0 -15
  1059. package/types/lunar/lib/SolarMonth.d.ts +0 -16
  1060. package/types/lunar/lib/SolarSeason.d.ts +0 -15
  1061. package/types/lunar/lib/SolarUtil.d.ts +0 -20
  1062. package/types/lunar/lib/SolarWeek.d.ts +0 -23
  1063. package/types/lunar/lib/SolarYear.d.ts +0 -12
  1064. package/types/lunar/lib/index.d.ts +0 -17
  1065. package/types/nzh/nzh.d.ts +0 -36
  1066. package/types/object/index.d.ts +0 -5
  1067. package/types/pinyin/index.d.ts +0 -1
  1068. package/types/query-string/base.d.ts +0 -11
  1069. package/types/query-string/index.d.ts +0 -2
  1070. package/types/random/index.d.ts +0 -31
  1071. package/types/snapdom/src/api/preCache.d.ts +0 -28
  1072. package/types/snapdom/src/core/cache.d.ts +0 -29
  1073. package/types/snapdom/src/core/context.d.ts +0 -67
  1074. package/types/snapdom/src/modules/fonts.d.ts +0 -83
  1075. package/types/snapdom/src/modules/lineClamp.d.ts +0 -13
  1076. package/types/snapdom/src/utils/browser.d.ts +0 -9
  1077. package/types/snapdom/src/utils/capture.helpers.d.ts +0 -45
  1078. package/types/snapdom/src/utils/clone.helpers.d.ts +0 -97
  1079. package/types/snapdom/src/utils/helpers.d.ts +0 -16
  1080. package/types/snapdom/src/utils/index.d.ts +0 -4
  1081. package/types/string/index.d.ts +0 -11
  1082. package/types/tinycolor/src/conversion.d.ts +0 -79
  1083. package/types/tinycolor/src/format-input.d.ts +0 -38
  1084. package/types/tinycolor/src/index.d.ts +0 -214
  1085. package/types/tinycolor/src/readability.d.ts +0 -46
  1086. package/types/tinycolor/src/to-ms-filter.d.ts +0 -5
  1087. package/types/tree/index.d.ts +0 -8
  1088. package/types/url-toolkit/src/url-toolkit.d.ts +0 -18
  1089. package/types/validate/src/rules/array.d.ts +0 -12
  1090. package/types/validate/src/rules/base.d.ts +0 -27
  1091. package/types/validate/src/rules/boolean.d.ts +0 -8
  1092. package/types/validate/src/rules/custom.d.ts +0 -7
  1093. package/types/validate/src/rules/number.d.ts +0 -12
  1094. package/types/validate/src/rules/object.d.ts +0 -9
  1095. package/types/validate/src/rules/string.d.ts +0 -12
  1096. package/types/validate/src/rules/type.d.ts +0 -19
  1097. package/types/xlsx/index.d.ts +0 -2
  1098. package/uiColor.js +0 -31
  1099. package/urlToolkit.js +0 -9
  1100. package/validate.js +0 -26
  1101. package/version.js +0 -6
  1102. package/xlsx.js +0 -23
  1103. /package/{types/assert → assert}/index.d.ts +0 -0
  1104. /package/{types/canvas-roundrect-polyfill → canvas-roundrect-polyfill}/index.d.ts +0 -0
  1105. /package/{types/case-name → case-name}/index.d.ts +0 -0
  1106. /package/{types/class-name → class-name}/index.d.ts +0 -0
  1107. /package/{types/clipboard-copy → clipboard-copy}/index.d.ts +0 -0
  1108. /package/{types/constant → constant}/address.d.ts +0 -0
  1109. /package/{types/constant → constant}/chineseCharacters.d.ts +0 -0
  1110. /package/{types/constant → constant}/constellations.d.ts +0 -0
  1111. /package/{types/constant → constant}/domain.d.ts +0 -0
  1112. /package/{types/constant → constant}/identity.d.ts +0 -0
  1113. /package/{types/constant → constant}/index.d.ts +0 -0
  1114. /package/{types/constant → constant}/isMobile.d.ts +0 -0
  1115. /package/{types/constant → constant}/keyboardCode.d.ts +0 -0
  1116. /package/{types/constant → constant}/licensePlate.d.ts +0 -0
  1117. /package/{types/constant → constant}/name.d.ts +0 -0
  1118. /package/{types/constant → constant}/platform.d.ts +0 -0
  1119. /package/{types/constant → constant}/protocol.d.ts +0 -0
  1120. /package/{types/constant → constant}/string.d.ts +0 -0
  1121. /package/{types/constant → constant}/ui.d.ts +0 -0
  1122. /package/{types/content-disposition → content-disposition}/index.d.ts +0 -0
  1123. /package/{types/cookie → cookie}/src/api.d.mts +0 -0
  1124. /package/{types/cookie → cookie}/src/assign.d.mts +0 -0
  1125. /package/{types/cookie → cookie}/src/converter.d.mts +0 -0
  1126. /package/{types/date → date}/convertTime.d.ts +0 -0
  1127. /package/{types/date → date}/convertToDuration.d.ts +0 -0
  1128. /package/{types/date → date}/index.d.ts +0 -0
  1129. /package/{types/decimal → decimal}/decimal.d.ts +0 -0
  1130. /package/{types/decimal → decimal}/index.d.ts +0 -0
  1131. /package/{types/dom-helpers → dom-helpers}/activeElement.d.ts +0 -0
  1132. /package/{types/dom-helpers → dom-helpers}/addClass.d.ts +0 -0
  1133. /package/{types/dom-helpers → dom-helpers}/addEventListener.d.ts +0 -0
  1134. /package/{types/dom-helpers → dom-helpers}/animationFrame.d.ts +0 -0
  1135. /package/{types/dom-helpers → dom-helpers}/attribute.d.ts +0 -0
  1136. /package/{types/dom-helpers → dom-helpers}/camelize.d.ts +0 -0
  1137. /package/{types/dom-helpers → dom-helpers}/canUseDOM.d.ts +0 -0
  1138. /package/{types/dom-helpers → dom-helpers}/childElements.d.ts +0 -0
  1139. /package/{types/dom-helpers → dom-helpers}/childNodes.d.ts +0 -0
  1140. /package/{types/dom-helpers → dom-helpers}/clear.d.ts +0 -0
  1141. /package/{types/dom-helpers → dom-helpers}/closest.d.ts +0 -0
  1142. /package/{types/dom-helpers → dom-helpers}/collectElements.d.ts +0 -0
  1143. /package/{types/dom-helpers → dom-helpers}/collectSiblings.d.ts +0 -0
  1144. /package/{types/dom-helpers → dom-helpers}/contains.d.ts +0 -0
  1145. /package/{types/dom-helpers → dom-helpers}/getComputedStyle.d.ts +0 -0
  1146. /package/{types/dom-helpers → dom-helpers}/getElementCoordinates.d.ts +0 -0
  1147. /package/{types/dom-helpers → dom-helpers}/getScrollAccessor.d.ts +0 -0
  1148. /package/{types/dom-helpers → dom-helpers}/hasClass.d.ts +0 -0
  1149. /package/{types/dom-helpers → dom-helpers}/height.d.ts +0 -0
  1150. /package/{types/dom-helpers → dom-helpers}/hyphenate.d.ts +0 -0
  1151. /package/{types/dom-helpers → dom-helpers}/index.d.ts +0 -0
  1152. /package/{types/dom-helpers → dom-helpers}/insertAfter.d.ts +0 -0
  1153. /package/{types/dom-helpers → dom-helpers}/isDocument.d.ts +0 -0
  1154. /package/{types/dom-helpers → dom-helpers}/isInput.d.ts +0 -0
  1155. /package/{types/dom-helpers → dom-helpers}/isTransform.d.ts +0 -0
  1156. /package/{types/dom-helpers → dom-helpers}/isVisible.d.ts +0 -0
  1157. /package/{types/dom-helpers → dom-helpers}/isWindow.d.ts +0 -0
  1158. /package/{types/dom-helpers → dom-helpers}/matches.d.ts +0 -0
  1159. /package/{types/dom-helpers → dom-helpers}/nextUntil.d.ts +0 -0
  1160. /package/{types/dom-helpers → dom-helpers}/offset.d.ts +0 -0
  1161. /package/{types/dom-helpers → dom-helpers}/offsetParent.d.ts +0 -0
  1162. /package/{types/dom-helpers → dom-helpers}/ownerDocument.d.ts +0 -0
  1163. /package/{types/dom-helpers → dom-helpers}/ownerWindow.d.ts +0 -0
  1164. /package/{types/dom-helpers → dom-helpers}/parents.d.ts +0 -0
  1165. /package/{types/dom-helpers → dom-helpers}/position.d.ts +0 -0
  1166. /package/{types/dom-helpers → dom-helpers}/prepend.d.ts +0 -0
  1167. /package/{types/dom-helpers → dom-helpers}/querySelectorAll.d.ts +0 -0
  1168. /package/{types/dom-helpers → dom-helpers}/reflow.d.ts +0 -0
  1169. /package/{types/dom-helpers → dom-helpers}/remove.d.ts +0 -0
  1170. /package/{types/dom-helpers → dom-helpers}/removeClass.d.ts +0 -0
  1171. /package/{types/dom-helpers → dom-helpers}/scrollLeft.d.ts +0 -0
  1172. /package/{types/dom-helpers → dom-helpers}/scrollParent.d.ts +0 -0
  1173. /package/{types/dom-helpers → dom-helpers}/scrollTo.d.ts +0 -0
  1174. /package/{types/dom-helpers → dom-helpers}/scrollTop.d.ts +0 -0
  1175. /package/{types/dom-helpers → dom-helpers}/scrollbarSize.d.ts +0 -0
  1176. /package/{types/dom-helpers → dom-helpers}/siblings.d.ts +0 -0
  1177. /package/{types/dom-helpers → dom-helpers}/text.d.ts +0 -0
  1178. /package/{types/dom-helpers → dom-helpers}/toggleClass.d.ts +0 -0
  1179. /package/{types/dom-helpers → dom-helpers}/transitionEnd.d.ts +0 -0
  1180. /package/{types/dom-helpers → dom-helpers}/triggerEvent.d.ts +0 -0
  1181. /package/{types/dom-helpers → dom-helpers}/width.d.ts +0 -0
  1182. /package/{types/emitter → emitter}/index.d.ts +0 -0
  1183. /package/{types/emoji → emoji}/emoji.d.ts +0 -0
  1184. /package/{types/emoji → emoji}/emojis.d.ts +0 -0
  1185. /package/{types/emoji → emoji}/index.d.ts +0 -0
  1186. /package/{types/escape → escape}/index.d.ts +0 -0
  1187. /package/{types/file → file}/fileRead.d.ts +0 -0
  1188. /package/{types/file → file}/fileToDataURL.d.ts +0 -0
  1189. /package/{types/file → file}/index.d.ts +0 -0
  1190. /package/{types/file → file}/saveAs.d.ts +0 -0
  1191. /package/{types/filesize → filesize}/benchmarks/basic-performance.d.ts +0 -0
  1192. /package/{types/filesize → filesize}/benchmarks/index.d.ts +0 -0
  1193. /package/{types/filesize → filesize}/benchmarks/options-benchmark.d.ts +0 -0
  1194. /package/{types/filesize → filesize}/benchmarks/partial-benchmark.d.ts +0 -0
  1195. /package/{types/filesize → filesize}/benchmarks/stress-test.d.ts +0 -0
  1196. /package/{types/filesize → filesize}/src/constants.d.ts +0 -0
  1197. /package/{types/filesize → filesize}/src/filesize.d.ts +0 -0
  1198. /package/{types/filesize → filesize}/src/helpers.d.ts +0 -0
  1199. /package/{types/function → function}/index.d.ts +0 -0
  1200. /package/{types/idb → idb}/async-iterators.d.ts +0 -0
  1201. /package/{types/idb → idb}/database-extras.d.ts +0 -0
  1202. /package/{types/idb → idb}/entry.d.ts +0 -0
  1203. /package/{types/idb → idb}/index.d.ts +0 -0
  1204. /package/{types/idb → idb}/util.d.ts +0 -0
  1205. /package/{types/index.d.ts → index.d.ts} +0 -0
  1206. /package/{types/invariant → invariant}/index.d.ts +0 -0
  1207. /package/{types/is → is}/lib/isEmail.d.ts +0 -0
  1208. /package/{types/is → is}/lib/isFQDN.d.ts +0 -0
  1209. /package/{types/is → is}/lib/isFullWidth.d.ts +0 -0
  1210. /package/{types/is → is}/lib/isHSL.d.ts +0 -0
  1211. /package/{types/is → is}/lib/isHalfWidth.d.ts +0 -0
  1212. /package/{types/is → is}/lib/isHash.d.ts +0 -0
  1213. /package/{types/is → is}/lib/isHexColor.d.ts +0 -0
  1214. /package/{types/is → is}/lib/isIMEI.d.ts +0 -0
  1215. /package/{types/is → is}/lib/isIP.d.ts +0 -0
  1216. /package/{types/is → is}/lib/isIPRange.d.ts +0 -0
  1217. /package/{types/is → is}/lib/isIdentityCard.d.ts +0 -0
  1218. /package/{types/is → is}/lib/isJWT.d.ts +0 -0
  1219. /package/{types/is → is}/lib/isMACAddress.d.ts +0 -0
  1220. /package/{types/is → is}/lib/isMD5.d.ts +0 -0
  1221. /package/{types/is → is}/lib/isMimeType.d.ts +0 -0
  1222. /package/{types/is → is}/lib/isMobilePhone.d.ts +0 -0
  1223. /package/{types/is → is}/lib/isOctal.d.ts +0 -0
  1224. /package/{types/is → is}/lib/isPort.d.ts +0 -0
  1225. /package/{types/is → is}/lib/isRgbColor.d.ts +0 -0
  1226. /package/{types/is → is}/lib/isSemVer.d.ts +0 -0
  1227. /package/{types/is → is}/lib/isSlug.d.ts +0 -0
  1228. /package/{types/is → is}/lib/isStrongPassword.d.ts +0 -0
  1229. /package/{types/is → is}/lib/isURL.d.ts +0 -0
  1230. /package/{types/is → is}/lib/isUUID.d.ts +0 -0
  1231. /package/{types/is → is}/lib/isVariableWidth.d.ts +0 -0
  1232. /package/{types/lodash → lodash}/_DataView.d.ts +0 -0
  1233. /package/{types/lodash → lodash}/_Hash.d.ts +0 -0
  1234. /package/{types/lodash → lodash}/_LazyWrapper.d.ts +0 -0
  1235. /package/{types/lodash → lodash}/_ListCache.d.ts +0 -0
  1236. /package/{types/lodash → lodash}/_LodashWrapper.d.ts +0 -0
  1237. /package/{types/lodash → lodash}/_Map.d.ts +0 -0
  1238. /package/{types/lodash → lodash}/_MapCache.d.ts +0 -0
  1239. /package/{types/lodash → lodash}/_Promise.d.ts +0 -0
  1240. /package/{types/lodash → lodash}/_Set.d.ts +0 -0
  1241. /package/{types/lodash → lodash}/_SetCache.d.ts +0 -0
  1242. /package/{types/lodash → lodash}/_Stack.d.ts +0 -0
  1243. /package/{types/lodash → lodash}/_Symbol.d.ts +0 -0
  1244. /package/{types/lodash → lodash}/_Uint8Array.d.ts +0 -0
  1245. /package/{types/lodash → lodash}/_WeakMap.d.ts +0 -0
  1246. /package/{types/lodash → lodash}/_addMapEntry.d.ts +0 -0
  1247. /package/{types/lodash → lodash}/_addSetEntry.d.ts +0 -0
  1248. /package/{types/lodash → lodash}/_apply.d.ts +0 -0
  1249. /package/{types/lodash → lodash}/_arrayAggregator.d.ts +0 -0
  1250. /package/{types/lodash → lodash}/_arrayEach.d.ts +0 -0
  1251. /package/{types/lodash → lodash}/_arrayEachRight.d.ts +0 -0
  1252. /package/{types/lodash → lodash}/_arrayEvery.d.ts +0 -0
  1253. /package/{types/lodash → lodash}/_arrayFilter.d.ts +0 -0
  1254. /package/{types/lodash → lodash}/_arrayIncludes.d.ts +0 -0
  1255. /package/{types/lodash → lodash}/_arrayIncludesWith.d.ts +0 -0
  1256. /package/{types/lodash → lodash}/_arrayLikeKeys.d.ts +0 -0
  1257. /package/{types/lodash → lodash}/_arrayMap.d.ts +0 -0
  1258. /package/{types/lodash → lodash}/_arrayPush.d.ts +0 -0
  1259. /package/{types/lodash → lodash}/_arrayReduce.d.ts +0 -0
  1260. /package/{types/lodash → lodash}/_arrayReduceRight.d.ts +0 -0
  1261. /package/{types/lodash → lodash}/_arraySample.d.ts +0 -0
  1262. /package/{types/lodash → lodash}/_arraySampleSize.d.ts +0 -0
  1263. /package/{types/lodash → lodash}/_arrayShuffle.d.ts +0 -0
  1264. /package/{types/lodash → lodash}/_arraySome.d.ts +0 -0
  1265. /package/{types/lodash → lodash}/_asciiSize.d.ts +0 -0
  1266. /package/{types/lodash → lodash}/_asciiToArray.d.ts +0 -0
  1267. /package/{types/lodash → lodash}/_asciiWords.d.ts +0 -0
  1268. /package/{types/lodash → lodash}/_assignMergeValue.d.ts +0 -0
  1269. /package/{types/lodash → lodash}/_assignValue.d.ts +0 -0
  1270. /package/{types/lodash → lodash}/_assocIndexOf.d.ts +0 -0
  1271. /package/{types/lodash → lodash}/_baseAggregator.d.ts +0 -0
  1272. /package/{types/lodash → lodash}/_baseAssign.d.ts +0 -0
  1273. /package/{types/lodash → lodash}/_baseAssignIn.d.ts +0 -0
  1274. /package/{types/lodash → lodash}/_baseAssignValue.d.ts +0 -0
  1275. /package/{types/lodash → lodash}/_baseAt.d.ts +0 -0
  1276. /package/{types/lodash → lodash}/_baseClamp.d.ts +0 -0
  1277. /package/{types/lodash → lodash}/_baseClone.d.ts +0 -0
  1278. /package/{types/lodash → lodash}/_baseConforms.d.ts +0 -0
  1279. /package/{types/lodash → lodash}/_baseConformsTo.d.ts +0 -0
  1280. /package/{types/lodash → lodash}/_baseCreate.d.ts +0 -0
  1281. /package/{types/lodash → lodash}/_baseDelay.d.ts +0 -0
  1282. /package/{types/lodash → lodash}/_baseDifference.d.ts +0 -0
  1283. /package/{types/lodash → lodash}/_baseEach.d.ts +0 -0
  1284. /package/{types/lodash → lodash}/_baseEachRight.d.ts +0 -0
  1285. /package/{types/lodash → lodash}/_baseEvery.d.ts +0 -0
  1286. /package/{types/lodash → lodash}/_baseExtremum.d.ts +0 -0
  1287. /package/{types/lodash → lodash}/_baseFill.d.ts +0 -0
  1288. /package/{types/lodash → lodash}/_baseFilter.d.ts +0 -0
  1289. /package/{types/lodash → lodash}/_baseFindIndex.d.ts +0 -0
  1290. /package/{types/lodash → lodash}/_baseFindKey.d.ts +0 -0
  1291. /package/{types/lodash → lodash}/_baseFlatten.d.ts +0 -0
  1292. /package/{types/lodash → lodash}/_baseFor.d.ts +0 -0
  1293. /package/{types/lodash → lodash}/_baseForOwn.d.ts +0 -0
  1294. /package/{types/lodash → lodash}/_baseForOwnRight.d.ts +0 -0
  1295. /package/{types/lodash → lodash}/_baseForRight.d.ts +0 -0
  1296. /package/{types/lodash → lodash}/_baseFunctions.d.ts +0 -0
  1297. /package/{types/lodash → lodash}/_baseGet.d.ts +0 -0
  1298. /package/{types/lodash → lodash}/_baseGetAllKeys.d.ts +0 -0
  1299. /package/{types/lodash → lodash}/_baseGetTag.d.ts +0 -0
  1300. /package/{types/lodash → lodash}/_baseGt.d.ts +0 -0
  1301. /package/{types/lodash → lodash}/_baseHas.d.ts +0 -0
  1302. /package/{types/lodash → lodash}/_baseHasIn.d.ts +0 -0
  1303. /package/{types/lodash → lodash}/_baseInRange.d.ts +0 -0
  1304. /package/{types/lodash → lodash}/_baseIndexOf.d.ts +0 -0
  1305. /package/{types/lodash → lodash}/_baseIndexOfWith.d.ts +0 -0
  1306. /package/{types/lodash → lodash}/_baseIntersection.d.ts +0 -0
  1307. /package/{types/lodash → lodash}/_baseInverter.d.ts +0 -0
  1308. /package/{types/lodash → lodash}/_baseInvoke.d.ts +0 -0
  1309. /package/{types/lodash → lodash}/_baseIsArguments.d.ts +0 -0
  1310. /package/{types/lodash → lodash}/_baseIsArrayBuffer.d.ts +0 -0
  1311. /package/{types/lodash → lodash}/_baseIsDate.d.ts +0 -0
  1312. /package/{types/lodash → lodash}/_baseIsEqual.d.ts +0 -0
  1313. /package/{types/lodash → lodash}/_baseIsEqualDeep.d.ts +0 -0
  1314. /package/{types/lodash → lodash}/_baseIsMap.d.ts +0 -0
  1315. /package/{types/lodash → lodash}/_baseIsMatch.d.ts +0 -0
  1316. /package/{types/lodash → lodash}/_baseIsNaN.d.ts +0 -0
  1317. /package/{types/lodash → lodash}/_baseIsNative.d.ts +0 -0
  1318. /package/{types/lodash → lodash}/_baseIsRegExp.d.ts +0 -0
  1319. /package/{types/lodash → lodash}/_baseIsSet.d.ts +0 -0
  1320. /package/{types/lodash → lodash}/_baseIsTypedArray.d.ts +0 -0
  1321. /package/{types/lodash → lodash}/_baseIteratee.d.ts +0 -0
  1322. /package/{types/lodash → lodash}/_baseKeys.d.ts +0 -0
  1323. /package/{types/lodash → lodash}/_baseKeysIn.d.ts +0 -0
  1324. /package/{types/lodash → lodash}/_baseLodash.d.ts +0 -0
  1325. /package/{types/lodash → lodash}/_baseLt.d.ts +0 -0
  1326. /package/{types/lodash → lodash}/_baseMap.d.ts +0 -0
  1327. /package/{types/lodash → lodash}/_baseMatches.d.ts +0 -0
  1328. /package/{types/lodash → lodash}/_baseMatchesProperty.d.ts +0 -0
  1329. /package/{types/lodash → lodash}/_baseMean.d.ts +0 -0
  1330. /package/{types/lodash → lodash}/_baseMerge.d.ts +0 -0
  1331. /package/{types/lodash → lodash}/_baseMergeDeep.d.ts +0 -0
  1332. /package/{types/lodash → lodash}/_baseNth.d.ts +0 -0
  1333. /package/{types/lodash → lodash}/_baseOrderBy.d.ts +0 -0
  1334. /package/{types/lodash → lodash}/_basePick.d.ts +0 -0
  1335. /package/{types/lodash → lodash}/_basePickBy.d.ts +0 -0
  1336. /package/{types/lodash → lodash}/_baseProperty.d.ts +0 -0
  1337. /package/{types/lodash → lodash}/_basePropertyDeep.d.ts +0 -0
  1338. /package/{types/lodash → lodash}/_basePropertyOf.d.ts +0 -0
  1339. /package/{types/lodash → lodash}/_basePullAll.d.ts +0 -0
  1340. /package/{types/lodash → lodash}/_basePullAt.d.ts +0 -0
  1341. /package/{types/lodash → lodash}/_baseRandom.d.ts +0 -0
  1342. /package/{types/lodash → lodash}/_baseRange.d.ts +0 -0
  1343. /package/{types/lodash → lodash}/_baseReduce.d.ts +0 -0
  1344. /package/{types/lodash → lodash}/_baseRepeat.d.ts +0 -0
  1345. /package/{types/lodash → lodash}/_baseRest.d.ts +0 -0
  1346. /package/{types/lodash → lodash}/_baseSample.d.ts +0 -0
  1347. /package/{types/lodash → lodash}/_baseSampleSize.d.ts +0 -0
  1348. /package/{types/lodash → lodash}/_baseSet.d.ts +0 -0
  1349. /package/{types/lodash → lodash}/_baseSetData.d.ts +0 -0
  1350. /package/{types/lodash → lodash}/_baseSetToString.d.ts +0 -0
  1351. /package/{types/lodash → lodash}/_baseShuffle.d.ts +0 -0
  1352. /package/{types/lodash → lodash}/_baseSlice.d.ts +0 -0
  1353. /package/{types/lodash → lodash}/_baseSome.d.ts +0 -0
  1354. /package/{types/lodash → lodash}/_baseSortBy.d.ts +0 -0
  1355. /package/{types/lodash → lodash}/_baseSortedIndex.d.ts +0 -0
  1356. /package/{types/lodash → lodash}/_baseSortedIndexBy.d.ts +0 -0
  1357. /package/{types/lodash → lodash}/_baseSortedUniq.d.ts +0 -0
  1358. /package/{types/lodash → lodash}/_baseSum.d.ts +0 -0
  1359. /package/{types/lodash → lodash}/_baseTimes.d.ts +0 -0
  1360. /package/{types/lodash → lodash}/_baseToNumber.d.ts +0 -0
  1361. /package/{types/lodash → lodash}/_baseToPairs.d.ts +0 -0
  1362. /package/{types/lodash → lodash}/_baseToString.d.ts +0 -0
  1363. /package/{types/lodash → lodash}/_baseTrim.d.ts +0 -0
  1364. /package/{types/lodash → lodash}/_baseUnary.d.ts +0 -0
  1365. /package/{types/lodash → lodash}/_baseUniq.d.ts +0 -0
  1366. /package/{types/lodash → lodash}/_baseUnset.d.ts +0 -0
  1367. /package/{types/lodash → lodash}/_baseUpdate.d.ts +0 -0
  1368. /package/{types/lodash → lodash}/_baseValues.d.ts +0 -0
  1369. /package/{types/lodash → lodash}/_baseWhile.d.ts +0 -0
  1370. /package/{types/lodash → lodash}/_baseWrapperValue.d.ts +0 -0
  1371. /package/{types/lodash → lodash}/_baseXor.d.ts +0 -0
  1372. /package/{types/lodash → lodash}/_baseZipObject.d.ts +0 -0
  1373. /package/{types/lodash → lodash}/_cacheHas.d.ts +0 -0
  1374. /package/{types/lodash → lodash}/_castArrayLikeObject.d.ts +0 -0
  1375. /package/{types/lodash → lodash}/_castFunction.d.ts +0 -0
  1376. /package/{types/lodash → lodash}/_castPath.d.ts +0 -0
  1377. /package/{types/lodash → lodash}/_castRest.d.ts +0 -0
  1378. /package/{types/lodash → lodash}/_castSlice.d.ts +0 -0
  1379. /package/{types/lodash → lodash}/_charsEndIndex.d.ts +0 -0
  1380. /package/{types/lodash → lodash}/_charsStartIndex.d.ts +0 -0
  1381. /package/{types/lodash → lodash}/_cloneArrayBuffer.d.ts +0 -0
  1382. /package/{types/lodash → lodash}/_cloneBuffer.d.ts +0 -0
  1383. /package/{types/lodash → lodash}/_cloneDataView.d.ts +0 -0
  1384. /package/{types/lodash → lodash}/_cloneMap.d.ts +0 -0
  1385. /package/{types/lodash → lodash}/_cloneRegExp.d.ts +0 -0
  1386. /package/{types/lodash → lodash}/_cloneSet.d.ts +0 -0
  1387. /package/{types/lodash → lodash}/_cloneSymbol.d.ts +0 -0
  1388. /package/{types/lodash → lodash}/_cloneTypedArray.d.ts +0 -0
  1389. /package/{types/lodash → lodash}/_compareAscending.d.ts +0 -0
  1390. /package/{types/lodash → lodash}/_compareMultiple.d.ts +0 -0
  1391. /package/{types/lodash → lodash}/_composeArgs.d.ts +0 -0
  1392. /package/{types/lodash → lodash}/_composeArgsRight.d.ts +0 -0
  1393. /package/{types/lodash → lodash}/_copyArray.d.ts +0 -0
  1394. /package/{types/lodash → lodash}/_copyObject.d.ts +0 -0
  1395. /package/{types/lodash → lodash}/_copySymbols.d.ts +0 -0
  1396. /package/{types/lodash → lodash}/_copySymbolsIn.d.ts +0 -0
  1397. /package/{types/lodash → lodash}/_coreJsData.d.ts +0 -0
  1398. /package/{types/lodash → lodash}/_countHolders.d.ts +0 -0
  1399. /package/{types/lodash → lodash}/_createAggregator.d.ts +0 -0
  1400. /package/{types/lodash → lodash}/_createAssigner.d.ts +0 -0
  1401. /package/{types/lodash → lodash}/_createBaseEach.d.ts +0 -0
  1402. /package/{types/lodash → lodash}/_createBaseFor.d.ts +0 -0
  1403. /package/{types/lodash → lodash}/_createBind.d.ts +0 -0
  1404. /package/{types/lodash → lodash}/_createCaseFirst.d.ts +0 -0
  1405. /package/{types/lodash → lodash}/_createCompounder.d.ts +0 -0
  1406. /package/{types/lodash → lodash}/_createCtor.d.ts +0 -0
  1407. /package/{types/lodash → lodash}/_createCurry.d.ts +0 -0
  1408. /package/{types/lodash → lodash}/_createFind.d.ts +0 -0
  1409. /package/{types/lodash → lodash}/_createFlow.d.ts +0 -0
  1410. /package/{types/lodash → lodash}/_createHybrid.d.ts +0 -0
  1411. /package/{types/lodash → lodash}/_createInverter.d.ts +0 -0
  1412. /package/{types/lodash → lodash}/_createMathOperation.d.ts +0 -0
  1413. /package/{types/lodash → lodash}/_createOver.d.ts +0 -0
  1414. /package/{types/lodash → lodash}/_createPadding.d.ts +0 -0
  1415. /package/{types/lodash → lodash}/_createPartial.d.ts +0 -0
  1416. /package/{types/lodash → lodash}/_createRange.d.ts +0 -0
  1417. /package/{types/lodash → lodash}/_createRecurry.d.ts +0 -0
  1418. /package/{types/lodash → lodash}/_createRelationalOperation.d.ts +0 -0
  1419. /package/{types/lodash → lodash}/_createRound.d.ts +0 -0
  1420. /package/{types/lodash → lodash}/_createSet.d.ts +0 -0
  1421. /package/{types/lodash → lodash}/_createToPairs.d.ts +0 -0
  1422. /package/{types/lodash → lodash}/_createWrap.d.ts +0 -0
  1423. /package/{types/lodash → lodash}/_customDefaultsAssignIn.d.ts +0 -0
  1424. /package/{types/lodash → lodash}/_customDefaultsMerge.d.ts +0 -0
  1425. /package/{types/lodash → lodash}/_customOmitClone.d.ts +0 -0
  1426. /package/{types/lodash → lodash}/_deburrLetter.d.ts +0 -0
  1427. /package/{types/lodash → lodash}/_defineProperty.d.ts +0 -0
  1428. /package/{types/lodash → lodash}/_equalArrays.d.ts +0 -0
  1429. /package/{types/lodash → lodash}/_equalByTag.d.ts +0 -0
  1430. /package/{types/lodash → lodash}/_equalObjects.d.ts +0 -0
  1431. /package/{types/lodash → lodash}/_escapeHtmlChar.d.ts +0 -0
  1432. /package/{types/lodash → lodash}/_escapeStringChar.d.ts +0 -0
  1433. /package/{types/lodash → lodash}/_flatRest.d.ts +0 -0
  1434. /package/{types/lodash → lodash}/_freeGlobal.d.ts +0 -0
  1435. /package/{types/lodash → lodash}/_getAllKeys.d.ts +0 -0
  1436. /package/{types/lodash → lodash}/_getAllKeysIn.d.ts +0 -0
  1437. /package/{types/lodash → lodash}/_getData.d.ts +0 -0
  1438. /package/{types/lodash → lodash}/_getFuncName.d.ts +0 -0
  1439. /package/{types/lodash → lodash}/_getHolder.d.ts +0 -0
  1440. /package/{types/lodash → lodash}/_getMapData.d.ts +0 -0
  1441. /package/{types/lodash → lodash}/_getMatchData.d.ts +0 -0
  1442. /package/{types/lodash → lodash}/_getNative.d.ts +0 -0
  1443. /package/{types/lodash → lodash}/_getPrototype.d.ts +0 -0
  1444. /package/{types/lodash → lodash}/_getRawTag.d.ts +0 -0
  1445. /package/{types/lodash → lodash}/_getSymbols.d.ts +0 -0
  1446. /package/{types/lodash → lodash}/_getSymbolsIn.d.ts +0 -0
  1447. /package/{types/lodash → lodash}/_getTag.d.ts +0 -0
  1448. /package/{types/lodash → lodash}/_getValue.d.ts +0 -0
  1449. /package/{types/lodash → lodash}/_getView.d.ts +0 -0
  1450. /package/{types/lodash → lodash}/_getWrapDetails.d.ts +0 -0
  1451. /package/{types/lodash → lodash}/_hasPath.d.ts +0 -0
  1452. /package/{types/lodash → lodash}/_hasUnicode.d.ts +0 -0
  1453. /package/{types/lodash → lodash}/_hasUnicodeWord.d.ts +0 -0
  1454. /package/{types/lodash → lodash}/_hashClear.d.ts +0 -0
  1455. /package/{types/lodash → lodash}/_hashDelete.d.ts +0 -0
  1456. /package/{types/lodash → lodash}/_hashGet.d.ts +0 -0
  1457. /package/{types/lodash → lodash}/_hashHas.d.ts +0 -0
  1458. /package/{types/lodash → lodash}/_hashSet.d.ts +0 -0
  1459. /package/{types/lodash → lodash}/_initCloneArray.d.ts +0 -0
  1460. /package/{types/lodash → lodash}/_initCloneByTag.d.ts +0 -0
  1461. /package/{types/lodash → lodash}/_initCloneObject.d.ts +0 -0
  1462. /package/{types/lodash → lodash}/_insertWrapDetails.d.ts +0 -0
  1463. /package/{types/lodash → lodash}/_isFlattenable.d.ts +0 -0
  1464. /package/{types/lodash → lodash}/_isIndex.d.ts +0 -0
  1465. /package/{types/lodash → lodash}/_isIterateeCall.d.ts +0 -0
  1466. /package/{types/lodash → lodash}/_isKey.d.ts +0 -0
  1467. /package/{types/lodash → lodash}/_isKeyable.d.ts +0 -0
  1468. /package/{types/lodash → lodash}/_isLaziable.d.ts +0 -0
  1469. /package/{types/lodash → lodash}/_isMaskable.d.ts +0 -0
  1470. /package/{types/lodash → lodash}/_isMasked.d.ts +0 -0
  1471. /package/{types/lodash → lodash}/_isPrototype.d.ts +0 -0
  1472. /package/{types/lodash → lodash}/_isStrictComparable.d.ts +0 -0
  1473. /package/{types/lodash → lodash}/_iteratorToArray.d.ts +0 -0
  1474. /package/{types/lodash → lodash}/_lazyClone.d.ts +0 -0
  1475. /package/{types/lodash → lodash}/_lazyReverse.d.ts +0 -0
  1476. /package/{types/lodash → lodash}/_lazyValue.d.ts +0 -0
  1477. /package/{types/lodash → lodash}/_listCacheClear.d.ts +0 -0
  1478. /package/{types/lodash → lodash}/_listCacheDelete.d.ts +0 -0
  1479. /package/{types/lodash → lodash}/_listCacheGet.d.ts +0 -0
  1480. /package/{types/lodash → lodash}/_listCacheHas.d.ts +0 -0
  1481. /package/{types/lodash → lodash}/_listCacheSet.d.ts +0 -0
  1482. /package/{types/lodash → lodash}/_mapCacheClear.d.ts +0 -0
  1483. /package/{types/lodash → lodash}/_mapCacheDelete.d.ts +0 -0
  1484. /package/{types/lodash → lodash}/_mapCacheGet.d.ts +0 -0
  1485. /package/{types/lodash → lodash}/_mapCacheHas.d.ts +0 -0
  1486. /package/{types/lodash → lodash}/_mapCacheSet.d.ts +0 -0
  1487. /package/{types/lodash → lodash}/_mapToArray.d.ts +0 -0
  1488. /package/{types/lodash → lodash}/_matchesStrictComparable.d.ts +0 -0
  1489. /package/{types/lodash → lodash}/_memoizeCapped.d.ts +0 -0
  1490. /package/{types/lodash → lodash}/_mergeData.d.ts +0 -0
  1491. /package/{types/lodash → lodash}/_metaMap.d.ts +0 -0
  1492. /package/{types/lodash → lodash}/_nativeCreate.d.ts +0 -0
  1493. /package/{types/lodash → lodash}/_nativeKeys.d.ts +0 -0
  1494. /package/{types/lodash → lodash}/_nativeKeysIn.d.ts +0 -0
  1495. /package/{types/lodash → lodash}/_nodeUtil.d.ts +0 -0
  1496. /package/{types/lodash → lodash}/_objectToString.d.ts +0 -0
  1497. /package/{types/lodash → lodash}/_overArg.d.ts +0 -0
  1498. /package/{types/lodash → lodash}/_overRest.d.ts +0 -0
  1499. /package/{types/lodash → lodash}/_parent.d.ts +0 -0
  1500. /package/{types/lodash → lodash}/_reEscape.d.ts +0 -0
  1501. /package/{types/lodash → lodash}/_reEvaluate.d.ts +0 -0
  1502. /package/{types/lodash → lodash}/_reInterpolate.d.ts +0 -0
  1503. /package/{types/lodash → lodash}/_realNames.d.ts +0 -0
  1504. /package/{types/lodash → lodash}/_reorder.d.ts +0 -0
  1505. /package/{types/lodash → lodash}/_replaceHolders.d.ts +0 -0
  1506. /package/{types/lodash → lodash}/_root.d.ts +0 -0
  1507. /package/{types/lodash → lodash}/_safeGet.d.ts +0 -0
  1508. /package/{types/lodash → lodash}/_setCacheAdd.d.ts +0 -0
  1509. /package/{types/lodash → lodash}/_setCacheHas.d.ts +0 -0
  1510. /package/{types/lodash → lodash}/_setData.d.ts +0 -0
  1511. /package/{types/lodash → lodash}/_setToArray.d.ts +0 -0
  1512. /package/{types/lodash → lodash}/_setToPairs.d.ts +0 -0
  1513. /package/{types/lodash → lodash}/_setToString.d.ts +0 -0
  1514. /package/{types/lodash → lodash}/_setWrapToString.d.ts +0 -0
  1515. /package/{types/lodash → lodash}/_shortOut.d.ts +0 -0
  1516. /package/{types/lodash → lodash}/_shuffleSelf.d.ts +0 -0
  1517. /package/{types/lodash → lodash}/_stackClear.d.ts +0 -0
  1518. /package/{types/lodash → lodash}/_stackDelete.d.ts +0 -0
  1519. /package/{types/lodash → lodash}/_stackGet.d.ts +0 -0
  1520. /package/{types/lodash → lodash}/_stackHas.d.ts +0 -0
  1521. /package/{types/lodash → lodash}/_stackSet.d.ts +0 -0
  1522. /package/{types/lodash → lodash}/_strictIndexOf.d.ts +0 -0
  1523. /package/{types/lodash → lodash}/_strictLastIndexOf.d.ts +0 -0
  1524. /package/{types/lodash → lodash}/_stringSize.d.ts +0 -0
  1525. /package/{types/lodash → lodash}/_stringToArray.d.ts +0 -0
  1526. /package/{types/lodash → lodash}/_stringToPath.d.ts +0 -0
  1527. /package/{types/lodash → lodash}/_toKey.d.ts +0 -0
  1528. /package/{types/lodash → lodash}/_toSource.d.ts +0 -0
  1529. /package/{types/lodash → lodash}/_trimmedEndIndex.d.ts +0 -0
  1530. /package/{types/lodash → lodash}/_unescapeHtmlChar.d.ts +0 -0
  1531. /package/{types/lodash → lodash}/_unicodeSize.d.ts +0 -0
  1532. /package/{types/lodash → lodash}/_unicodeToArray.d.ts +0 -0
  1533. /package/{types/lodash → lodash}/_unicodeWords.d.ts +0 -0
  1534. /package/{types/lodash → lodash}/_updateWrapDetails.d.ts +0 -0
  1535. /package/{types/lodash → lodash}/_wrapperClone.d.ts +0 -0
  1536. /package/{types/lodash → lodash}/add.d.ts +0 -0
  1537. /package/{types/lodash → lodash}/after.d.ts +0 -0
  1538. /package/{types/lodash → lodash}/array.d.ts +0 -0
  1539. /package/{types/lodash → lodash}/array.default.d.ts +0 -0
  1540. /package/{types/lodash → lodash}/ary.d.ts +0 -0
  1541. /package/{types/lodash → lodash}/assign.d.ts +0 -0
  1542. /package/{types/lodash → lodash}/assignIn.d.ts +0 -0
  1543. /package/{types/lodash → lodash}/assignInWith.d.ts +0 -0
  1544. /package/{types/lodash → lodash}/assignWith.d.ts +0 -0
  1545. /package/{types/lodash → lodash}/at.d.ts +0 -0
  1546. /package/{types/lodash → lodash}/attempt.d.ts +0 -0
  1547. /package/{types/lodash → lodash}/before.d.ts +0 -0
  1548. /package/{types/lodash → lodash}/bind.d.ts +0 -0
  1549. /package/{types/lodash → lodash}/bindAll.d.ts +0 -0
  1550. /package/{types/lodash → lodash}/bindKey.d.ts +0 -0
  1551. /package/{types/lodash → lodash}/camelCase.d.ts +0 -0
  1552. /package/{types/lodash → lodash}/capitalize.d.ts +0 -0
  1553. /package/{types/lodash → lodash}/castArray.d.ts +0 -0
  1554. /package/{types/lodash → lodash}/ceil.d.ts +0 -0
  1555. /package/{types/lodash → lodash}/chain.d.ts +0 -0
  1556. /package/{types/lodash → lodash}/chunk.d.ts +0 -0
  1557. /package/{types/lodash → lodash}/clamp.d.ts +0 -0
  1558. /package/{types/lodash → lodash}/clone.d.ts +0 -0
  1559. /package/{types/lodash → lodash}/cloneDeep.d.ts +0 -0
  1560. /package/{types/lodash → lodash}/cloneDeepWith.d.ts +0 -0
  1561. /package/{types/lodash → lodash}/cloneWith.d.ts +0 -0
  1562. /package/{types/lodash → lodash}/collection.d.ts +0 -0
  1563. /package/{types/lodash → lodash}/collection.default.d.ts +0 -0
  1564. /package/{types/lodash → lodash}/commit.d.ts +0 -0
  1565. /package/{types/lodash → lodash}/compact.d.ts +0 -0
  1566. /package/{types/lodash → lodash}/concat.d.ts +0 -0
  1567. /package/{types/lodash → lodash}/cond.d.ts +0 -0
  1568. /package/{types/lodash → lodash}/conforms.d.ts +0 -0
  1569. /package/{types/lodash → lodash}/conformsTo.d.ts +0 -0
  1570. /package/{types/lodash → lodash}/constant.d.ts +0 -0
  1571. /package/{types/lodash → lodash}/countBy.d.ts +0 -0
  1572. /package/{types/lodash → lodash}/create.d.ts +0 -0
  1573. /package/{types/lodash → lodash}/curry.d.ts +0 -0
  1574. /package/{types/lodash → lodash}/curryRight.d.ts +0 -0
  1575. /package/{types/lodash → lodash}/date.d.ts +0 -0
  1576. /package/{types/lodash → lodash}/date.default.d.ts +0 -0
  1577. /package/{types/lodash → lodash}/debounce.d.ts +0 -0
  1578. /package/{types/lodash → lodash}/deburr.d.ts +0 -0
  1579. /package/{types/lodash → lodash}/defaultTo.d.ts +0 -0
  1580. /package/{types/lodash → lodash}/defaults.d.ts +0 -0
  1581. /package/{types/lodash → lodash}/defaultsDeep.d.ts +0 -0
  1582. /package/{types/lodash → lodash}/defer.d.ts +0 -0
  1583. /package/{types/lodash → lodash}/delay.d.ts +0 -0
  1584. /package/{types/lodash → lodash}/difference.d.ts +0 -0
  1585. /package/{types/lodash → lodash}/differenceBy.d.ts +0 -0
  1586. /package/{types/lodash → lodash}/differenceWith.d.ts +0 -0
  1587. /package/{types/lodash → lodash}/divide.d.ts +0 -0
  1588. /package/{types/lodash → lodash}/drop.d.ts +0 -0
  1589. /package/{types/lodash → lodash}/dropRight.d.ts +0 -0
  1590. /package/{types/lodash → lodash}/dropRightWhile.d.ts +0 -0
  1591. /package/{types/lodash → lodash}/dropWhile.d.ts +0 -0
  1592. /package/{types/lodash → lodash}/each.d.ts +0 -0
  1593. /package/{types/lodash → lodash}/eachRight.d.ts +0 -0
  1594. /package/{types/lodash → lodash}/endsWith.d.ts +0 -0
  1595. /package/{types/lodash → lodash}/entries.d.ts +0 -0
  1596. /package/{types/lodash → lodash}/entriesIn.d.ts +0 -0
  1597. /package/{types/lodash → lodash}/eq.d.ts +0 -0
  1598. /package/{types/lodash → lodash}/escape.d.ts +0 -0
  1599. /package/{types/lodash → lodash}/escapeRegExp.d.ts +0 -0
  1600. /package/{types/lodash → lodash}/every.d.ts +0 -0
  1601. /package/{types/lodash → lodash}/extend.d.ts +0 -0
  1602. /package/{types/lodash → lodash}/extendWith.d.ts +0 -0
  1603. /package/{types/lodash → lodash}/fill.d.ts +0 -0
  1604. /package/{types/lodash → lodash}/filter.d.ts +0 -0
  1605. /package/{types/lodash → lodash}/find.d.ts +0 -0
  1606. /package/{types/lodash → lodash}/findIndex.d.ts +0 -0
  1607. /package/{types/lodash → lodash}/findKey.d.ts +0 -0
  1608. /package/{types/lodash → lodash}/findLast.d.ts +0 -0
  1609. /package/{types/lodash → lodash}/findLastIndex.d.ts +0 -0
  1610. /package/{types/lodash → lodash}/findLastKey.d.ts +0 -0
  1611. /package/{types/lodash → lodash}/first.d.ts +0 -0
  1612. /package/{types/lodash → lodash}/flatMap.d.ts +0 -0
  1613. /package/{types/lodash → lodash}/flatMapDeep.d.ts +0 -0
  1614. /package/{types/lodash → lodash}/flatMapDepth.d.ts +0 -0
  1615. /package/{types/lodash → lodash}/flatten.d.ts +0 -0
  1616. /package/{types/lodash → lodash}/flattenDeep.d.ts +0 -0
  1617. /package/{types/lodash → lodash}/flattenDepth.d.ts +0 -0
  1618. /package/{types/lodash → lodash}/flip.d.ts +0 -0
  1619. /package/{types/lodash → lodash}/floor.d.ts +0 -0
  1620. /package/{types/lodash → lodash}/flow.d.ts +0 -0
  1621. /package/{types/lodash → lodash}/flowRight.d.ts +0 -0
  1622. /package/{types/lodash → lodash}/forEach.d.ts +0 -0
  1623. /package/{types/lodash → lodash}/forEachRight.d.ts +0 -0
  1624. /package/{types/lodash → lodash}/forIn.d.ts +0 -0
  1625. /package/{types/lodash → lodash}/forInRight.d.ts +0 -0
  1626. /package/{types/lodash → lodash}/forOwn.d.ts +0 -0
  1627. /package/{types/lodash → lodash}/forOwnRight.d.ts +0 -0
  1628. /package/{types/lodash → lodash}/fromPairs.d.ts +0 -0
  1629. /package/{types/lodash → lodash}/function.d.ts +0 -0
  1630. /package/{types/lodash → lodash}/function.default.d.ts +0 -0
  1631. /package/{types/lodash → lodash}/functions.d.ts +0 -0
  1632. /package/{types/lodash → lodash}/functionsIn.d.ts +0 -0
  1633. /package/{types/lodash → lodash}/get.d.ts +0 -0
  1634. /package/{types/lodash → lodash}/groupBy.d.ts +0 -0
  1635. /package/{types/lodash → lodash}/gt.d.ts +0 -0
  1636. /package/{types/lodash → lodash}/gte.d.ts +0 -0
  1637. /package/{types/lodash → lodash}/has.d.ts +0 -0
  1638. /package/{types/lodash → lodash}/hasIn.d.ts +0 -0
  1639. /package/{types/lodash → lodash}/head.d.ts +0 -0
  1640. /package/{types/lodash → lodash}/identity.d.ts +0 -0
  1641. /package/{types/lodash → lodash}/inRange.d.ts +0 -0
  1642. /package/{types/lodash → lodash}/includes.d.ts +0 -0
  1643. /package/{types/lodash → lodash}/index.d.ts +0 -0
  1644. /package/{types/lodash → lodash}/indexOf.d.ts +0 -0
  1645. /package/{types/lodash → lodash}/initial.d.ts +0 -0
  1646. /package/{types/lodash → lodash}/intersection.d.ts +0 -0
  1647. /package/{types/lodash → lodash}/intersectionBy.d.ts +0 -0
  1648. /package/{types/lodash → lodash}/intersectionWith.d.ts +0 -0
  1649. /package/{types/lodash → lodash}/invert.d.ts +0 -0
  1650. /package/{types/lodash → lodash}/invertBy.d.ts +0 -0
  1651. /package/{types/lodash → lodash}/invoke.d.ts +0 -0
  1652. /package/{types/lodash → lodash}/invokeMap.d.ts +0 -0
  1653. /package/{types/lodash → lodash}/isArguments.d.ts +0 -0
  1654. /package/{types/lodash → lodash}/isArray.d.ts +0 -0
  1655. /package/{types/lodash → lodash}/isArrayBuffer.d.ts +0 -0
  1656. /package/{types/lodash → lodash}/isArrayLike.d.ts +0 -0
  1657. /package/{types/lodash → lodash}/isArrayLikeObject.d.ts +0 -0
  1658. /package/{types/lodash → lodash}/isBoolean.d.ts +0 -0
  1659. /package/{types/lodash → lodash}/isBuffer.d.ts +0 -0
  1660. /package/{types/lodash → lodash}/isDate.d.ts +0 -0
  1661. /package/{types/lodash → lodash}/isElement.d.ts +0 -0
  1662. /package/{types/lodash → lodash}/isEmpty.d.ts +0 -0
  1663. /package/{types/lodash → lodash}/isEqual.d.ts +0 -0
  1664. /package/{types/lodash → lodash}/isEqualWith.d.ts +0 -0
  1665. /package/{types/lodash → lodash}/isError.d.ts +0 -0
  1666. /package/{types/lodash → lodash}/isFinite.d.ts +0 -0
  1667. /package/{types/lodash → lodash}/isFunction.d.ts +0 -0
  1668. /package/{types/lodash → lodash}/isInteger.d.ts +0 -0
  1669. /package/{types/lodash → lodash}/isLength.d.ts +0 -0
  1670. /package/{types/lodash → lodash}/isMap.d.ts +0 -0
  1671. /package/{types/lodash → lodash}/isMatch.d.ts +0 -0
  1672. /package/{types/lodash → lodash}/isMatchWith.d.ts +0 -0
  1673. /package/{types/lodash → lodash}/isNaN.d.ts +0 -0
  1674. /package/{types/lodash → lodash}/isNative.d.ts +0 -0
  1675. /package/{types/lodash → lodash}/isNil.d.ts +0 -0
  1676. /package/{types/lodash → lodash}/isNull.d.ts +0 -0
  1677. /package/{types/lodash → lodash}/isNumber.d.ts +0 -0
  1678. /package/{types/lodash → lodash}/isObject.d.ts +0 -0
  1679. /package/{types/lodash → lodash}/isObjectLike.d.ts +0 -0
  1680. /package/{types/lodash → lodash}/isPlainObject.d.ts +0 -0
  1681. /package/{types/lodash → lodash}/isPromise.d.ts +0 -0
  1682. /package/{types/lodash → lodash}/isRegExp.d.ts +0 -0
  1683. /package/{types/lodash → lodash}/isSafeInteger.d.ts +0 -0
  1684. /package/{types/lodash → lodash}/isSet.d.ts +0 -0
  1685. /package/{types/lodash → lodash}/isString.d.ts +0 -0
  1686. /package/{types/lodash → lodash}/isSymbol.d.ts +0 -0
  1687. /package/{types/lodash → lodash}/isTypedArray.d.ts +0 -0
  1688. /package/{types/lodash → lodash}/isUndefined.d.ts +0 -0
  1689. /package/{types/lodash → lodash}/isWeakMap.d.ts +0 -0
  1690. /package/{types/lodash → lodash}/isWeakSet.d.ts +0 -0
  1691. /package/{types/lodash → lodash}/iteratee.d.ts +0 -0
  1692. /package/{types/lodash → lodash}/join.d.ts +0 -0
  1693. /package/{types/lodash → lodash}/kebabCase.d.ts +0 -0
  1694. /package/{types/lodash → lodash}/keyBy.d.ts +0 -0
  1695. /package/{types/lodash → lodash}/keys.d.ts +0 -0
  1696. /package/{types/lodash → lodash}/keysIn.d.ts +0 -0
  1697. /package/{types/lodash → lodash}/lang.d.ts +0 -0
  1698. /package/{types/lodash → lodash}/lang.default.d.ts +0 -0
  1699. /package/{types/lodash → lodash}/last.d.ts +0 -0
  1700. /package/{types/lodash → lodash}/lastIndexOf.d.ts +0 -0
  1701. /package/{types/lodash → lodash}/lodash.d.ts +0 -0
  1702. /package/{types/lodash → lodash}/lodash.default.d.ts +0 -0
  1703. /package/{types/lodash → lodash}/lowerCase.d.ts +0 -0
  1704. /package/{types/lodash → lodash}/lowerFirst.d.ts +0 -0
  1705. /package/{types/lodash → lodash}/lt.d.ts +0 -0
  1706. /package/{types/lodash → lodash}/lte.d.ts +0 -0
  1707. /package/{types/lodash → lodash}/map.d.ts +0 -0
  1708. /package/{types/lodash → lodash}/mapKeys.d.ts +0 -0
  1709. /package/{types/lodash → lodash}/mapValues.d.ts +0 -0
  1710. /package/{types/lodash → lodash}/matches.d.ts +0 -0
  1711. /package/{types/lodash → lodash}/matchesProperty.d.ts +0 -0
  1712. /package/{types/lodash → lodash}/math.d.ts +0 -0
  1713. /package/{types/lodash → lodash}/math.default.d.ts +0 -0
  1714. /package/{types/lodash → lodash}/max.d.ts +0 -0
  1715. /package/{types/lodash → lodash}/maxBy.d.ts +0 -0
  1716. /package/{types/lodash → lodash}/mean.d.ts +0 -0
  1717. /package/{types/lodash → lodash}/meanBy.d.ts +0 -0
  1718. /package/{types/lodash → lodash}/memoize.d.ts +0 -0
  1719. /package/{types/lodash → lodash}/merge.d.ts +0 -0
  1720. /package/{types/lodash → lodash}/mergeWith.d.ts +0 -0
  1721. /package/{types/lodash → lodash}/method.d.ts +0 -0
  1722. /package/{types/lodash → lodash}/methodOf.d.ts +0 -0
  1723. /package/{types/lodash → lodash}/min.d.ts +0 -0
  1724. /package/{types/lodash → lodash}/minBy.d.ts +0 -0
  1725. /package/{types/lodash → lodash}/mixin.d.ts +0 -0
  1726. /package/{types/lodash → lodash}/multiply.d.ts +0 -0
  1727. /package/{types/lodash → lodash}/negate.d.ts +0 -0
  1728. /package/{types/lodash → lodash}/next.d.ts +0 -0
  1729. /package/{types/lodash → lodash}/noop.d.ts +0 -0
  1730. /package/{types/lodash → lodash}/now.d.ts +0 -0
  1731. /package/{types/lodash → lodash}/nth.d.ts +0 -0
  1732. /package/{types/lodash → lodash}/nthArg.d.ts +0 -0
  1733. /package/{types/lodash → lodash}/number.d.ts +0 -0
  1734. /package/{types/lodash → lodash}/number.default.d.ts +0 -0
  1735. /package/{types/lodash → lodash}/object.d.ts +0 -0
  1736. /package/{types/lodash → lodash}/object.default.d.ts +0 -0
  1737. /package/{types/lodash → lodash}/omit.d.ts +0 -0
  1738. /package/{types/lodash → lodash}/omitBy.d.ts +0 -0
  1739. /package/{types/lodash → lodash}/once.d.ts +0 -0
  1740. /package/{types/lodash → lodash}/orderBy.d.ts +0 -0
  1741. /package/{types/lodash → lodash}/over.d.ts +0 -0
  1742. /package/{types/lodash → lodash}/overArgs.d.ts +0 -0
  1743. /package/{types/lodash → lodash}/overEvery.d.ts +0 -0
  1744. /package/{types/lodash → lodash}/overSome.d.ts +0 -0
  1745. /package/{types/lodash → lodash}/pad.d.ts +0 -0
  1746. /package/{types/lodash → lodash}/padEnd.d.ts +0 -0
  1747. /package/{types/lodash → lodash}/padStart.d.ts +0 -0
  1748. /package/{types/lodash → lodash}/parseInt.d.ts +0 -0
  1749. /package/{types/lodash → lodash}/partial.d.ts +0 -0
  1750. /package/{types/lodash → lodash}/partialRight.d.ts +0 -0
  1751. /package/{types/lodash → lodash}/partition.d.ts +0 -0
  1752. /package/{types/lodash → lodash}/pick.d.ts +0 -0
  1753. /package/{types/lodash → lodash}/pickBy.d.ts +0 -0
  1754. /package/{types/lodash → lodash}/plant.d.ts +0 -0
  1755. /package/{types/lodash → lodash}/property.d.ts +0 -0
  1756. /package/{types/lodash → lodash}/propertyOf.d.ts +0 -0
  1757. /package/{types/lodash → lodash}/pull.d.ts +0 -0
  1758. /package/{types/lodash → lodash}/pullAll.d.ts +0 -0
  1759. /package/{types/lodash → lodash}/pullAllBy.d.ts +0 -0
  1760. /package/{types/lodash → lodash}/pullAllWith.d.ts +0 -0
  1761. /package/{types/lodash → lodash}/pullAt.d.ts +0 -0
  1762. /package/{types/lodash → lodash}/random.d.ts +0 -0
  1763. /package/{types/lodash → lodash}/range.d.ts +0 -0
  1764. /package/{types/lodash → lodash}/rangeRight.d.ts +0 -0
  1765. /package/{types/lodash → lodash}/rearg.d.ts +0 -0
  1766. /package/{types/lodash → lodash}/reduce.d.ts +0 -0
  1767. /package/{types/lodash → lodash}/reduceRight.d.ts +0 -0
  1768. /package/{types/lodash → lodash}/reject.d.ts +0 -0
  1769. /package/{types/lodash → lodash}/remove.d.ts +0 -0
  1770. /package/{types/lodash → lodash}/repeat.d.ts +0 -0
  1771. /package/{types/lodash → lodash}/replace.d.ts +0 -0
  1772. /package/{types/lodash → lodash}/rest.d.ts +0 -0
  1773. /package/{types/lodash → lodash}/result.d.ts +0 -0
  1774. /package/{types/lodash → lodash}/reverse.d.ts +0 -0
  1775. /package/{types/lodash → lodash}/round.d.ts +0 -0
  1776. /package/{types/lodash → lodash}/sample.d.ts +0 -0
  1777. /package/{types/lodash → lodash}/sampleSize.d.ts +0 -0
  1778. /package/{types/lodash → lodash}/seq.d.ts +0 -0
  1779. /package/{types/lodash → lodash}/seq.default.d.ts +0 -0
  1780. /package/{types/lodash → lodash}/set.d.ts +0 -0
  1781. /package/{types/lodash → lodash}/setWith.d.ts +0 -0
  1782. /package/{types/lodash → lodash}/shuffle.d.ts +0 -0
  1783. /package/{types/lodash → lodash}/size.d.ts +0 -0
  1784. /package/{types/lodash → lodash}/slice.d.ts +0 -0
  1785. /package/{types/lodash → lodash}/snakeCase.d.ts +0 -0
  1786. /package/{types/lodash → lodash}/some.d.ts +0 -0
  1787. /package/{types/lodash → lodash}/sortBy.d.ts +0 -0
  1788. /package/{types/lodash → lodash}/sortedIndex.d.ts +0 -0
  1789. /package/{types/lodash → lodash}/sortedIndexBy.d.ts +0 -0
  1790. /package/{types/lodash → lodash}/sortedIndexOf.d.ts +0 -0
  1791. /package/{types/lodash → lodash}/sortedLastIndex.d.ts +0 -0
  1792. /package/{types/lodash → lodash}/sortedLastIndexBy.d.ts +0 -0
  1793. /package/{types/lodash → lodash}/sortedLastIndexOf.d.ts +0 -0
  1794. /package/{types/lodash → lodash}/sortedUniq.d.ts +0 -0
  1795. /package/{types/lodash → lodash}/sortedUniqBy.d.ts +0 -0
  1796. /package/{types/lodash → lodash}/split.d.ts +0 -0
  1797. /package/{types/lodash → lodash}/spread.d.ts +0 -0
  1798. /package/{types/lodash → lodash}/startCase.d.ts +0 -0
  1799. /package/{types/lodash → lodash}/startsWith.d.ts +0 -0
  1800. /package/{types/lodash → lodash}/string.d.ts +0 -0
  1801. /package/{types/lodash → lodash}/string.default.d.ts +0 -0
  1802. /package/{types/lodash → lodash}/stubArray.d.ts +0 -0
  1803. /package/{types/lodash → lodash}/stubFalse.d.ts +0 -0
  1804. /package/{types/lodash → lodash}/stubObject.d.ts +0 -0
  1805. /package/{types/lodash → lodash}/stubString.d.ts +0 -0
  1806. /package/{types/lodash → lodash}/stubTrue.d.ts +0 -0
  1807. /package/{types/lodash → lodash}/subtract.d.ts +0 -0
  1808. /package/{types/lodash → lodash}/sum.d.ts +0 -0
  1809. /package/{types/lodash → lodash}/sumBy.d.ts +0 -0
  1810. /package/{types/lodash → lodash}/tail.d.ts +0 -0
  1811. /package/{types/lodash → lodash}/take.d.ts +0 -0
  1812. /package/{types/lodash → lodash}/takeRight.d.ts +0 -0
  1813. /package/{types/lodash → lodash}/takeRightWhile.d.ts +0 -0
  1814. /package/{types/lodash → lodash}/takeWhile.d.ts +0 -0
  1815. /package/{types/lodash → lodash}/tap.d.ts +0 -0
  1816. /package/{types/lodash → lodash}/template.d.ts +0 -0
  1817. /package/{types/lodash → lodash}/templateSettings.d.ts +0 -0
  1818. /package/{types/lodash → lodash}/throttle.d.ts +0 -0
  1819. /package/{types/lodash → lodash}/thru.d.ts +0 -0
  1820. /package/{types/lodash → lodash}/times.d.ts +0 -0
  1821. /package/{types/lodash → lodash}/toArray.d.ts +0 -0
  1822. /package/{types/lodash → lodash}/toFinite.d.ts +0 -0
  1823. /package/{types/lodash → lodash}/toInteger.d.ts +0 -0
  1824. /package/{types/lodash → lodash}/toIterator.d.ts +0 -0
  1825. /package/{types/lodash → lodash}/toJSON.d.ts +0 -0
  1826. /package/{types/lodash → lodash}/toLength.d.ts +0 -0
  1827. /package/{types/lodash → lodash}/toLower.d.ts +0 -0
  1828. /package/{types/lodash → lodash}/toNumber.d.ts +0 -0
  1829. /package/{types/lodash → lodash}/toPairs.d.ts +0 -0
  1830. /package/{types/lodash → lodash}/toPairsIn.d.ts +0 -0
  1831. /package/{types/lodash → lodash}/toPath.d.ts +0 -0
  1832. /package/{types/lodash → lodash}/toPlainObject.d.ts +0 -0
  1833. /package/{types/lodash → lodash}/toSafeInteger.d.ts +0 -0
  1834. /package/{types/lodash → lodash}/toString.d.ts +0 -0
  1835. /package/{types/lodash → lodash}/toUpper.d.ts +0 -0
  1836. /package/{types/lodash → lodash}/transform.d.ts +0 -0
  1837. /package/{types/lodash → lodash}/trim.d.ts +0 -0
  1838. /package/{types/lodash → lodash}/trimEnd.d.ts +0 -0
  1839. /package/{types/lodash → lodash}/trimStart.d.ts +0 -0
  1840. /package/{types/lodash → lodash}/truncate.d.ts +0 -0
  1841. /package/{types/lodash → lodash}/unary.d.ts +0 -0
  1842. /package/{types/lodash → lodash}/unescape.d.ts +0 -0
  1843. /package/{types/lodash → lodash}/union.d.ts +0 -0
  1844. /package/{types/lodash → lodash}/unionBy.d.ts +0 -0
  1845. /package/{types/lodash → lodash}/unionWith.d.ts +0 -0
  1846. /package/{types/lodash → lodash}/uniq.d.ts +0 -0
  1847. /package/{types/lodash → lodash}/uniqBy.d.ts +0 -0
  1848. /package/{types/lodash → lodash}/uniqWith.d.ts +0 -0
  1849. /package/{types/lodash → lodash}/uniqueId.d.ts +0 -0
  1850. /package/{types/lodash → lodash}/unset.d.ts +0 -0
  1851. /package/{types/lodash → lodash}/unzip.d.ts +0 -0
  1852. /package/{types/lodash → lodash}/unzipWith.d.ts +0 -0
  1853. /package/{types/lodash → lodash}/update.d.ts +0 -0
  1854. /package/{types/lodash → lodash}/updateWith.d.ts +0 -0
  1855. /package/{types/lodash → lodash}/upperCase.d.ts +0 -0
  1856. /package/{types/lodash → lodash}/upperFirst.d.ts +0 -0
  1857. /package/{types/lodash → lodash}/util.d.ts +0 -0
  1858. /package/{types/lodash → lodash}/util.default.d.ts +0 -0
  1859. /package/{types/lodash → lodash}/value.d.ts +0 -0
  1860. /package/{types/lodash → lodash}/valueOf.d.ts +0 -0
  1861. /package/{types/lodash → lodash}/values.d.ts +0 -0
  1862. /package/{types/lodash → lodash}/valuesIn.d.ts +0 -0
  1863. /package/{types/lodash → lodash}/without.d.ts +0 -0
  1864. /package/{types/lodash → lodash}/words.d.ts +0 -0
  1865. /package/{types/lodash → lodash}/wrap.d.ts +0 -0
  1866. /package/{types/lodash → lodash}/wrapperAt.d.ts +0 -0
  1867. /package/{types/lodash → lodash}/wrapperChain.d.ts +0 -0
  1868. /package/{types/lodash → lodash}/wrapperLodash.d.ts +0 -0
  1869. /package/{types/lodash → lodash}/wrapperReverse.d.ts +0 -0
  1870. /package/{types/lodash → lodash}/wrapperValue.d.ts +0 -0
  1871. /package/{types/lodash → lodash}/xor.d.ts +0 -0
  1872. /package/{types/lodash → lodash}/xorBy.d.ts +0 -0
  1873. /package/{types/lodash → lodash}/xorWith.d.ts +0 -0
  1874. /package/{types/lodash → lodash}/zip.d.ts +0 -0
  1875. /package/{types/lodash → lodash}/zipObject.d.ts +0 -0
  1876. /package/{types/lodash → lodash}/zipObjectDeep.d.ts +0 -0
  1877. /package/{types/lodash → lodash}/zipWith.d.ts +0 -0
  1878. /package/{types/math → math}/index.d.ts +0 -0
  1879. /package/{types/md5 → md5}/index.d.ts +0 -0
  1880. /package/{types/mock → mock}/MockWebSocket.d.ts +0 -0
  1881. /package/{types/mock → mock}/MockXMLHttpRequest.d.ts +0 -0
  1882. /package/{types/mock → mock}/index.d.ts +0 -0
  1883. /package/{types/normalize-wheel → normalize-wheel}/ExecutionEnvironment.d.ts +0 -0
  1884. /package/{types/normalize-wheel → normalize-wheel}/UserAgent_DEPRECATED.d.ts +0 -0
  1885. /package/{types/normalize-wheel → normalize-wheel}/index.d.ts +0 -0
  1886. /package/{types/normalize-wheel → normalize-wheel}/isEventSupported.d.ts +0 -0
  1887. /package/{types/number-to-chinese → number-to-chinese}/index.d.ts +0 -0
  1888. /package/{types/nzh → nzh}/cn.d.ts +0 -0
  1889. /package/{types/nzh → nzh}/hk.d.ts +0 -0
  1890. /package/{types/nzh → nzh}/index.d.ts +0 -0
  1891. /package/{types/nzh → nzh}/src/autoGet.d.ts +0 -0
  1892. /package/{types/nzh → nzh}/src/index.d.ts +0 -0
  1893. /package/{types/nzh → nzh}/src/langs/cn_b.d.ts +0 -0
  1894. /package/{types/nzh → nzh}/src/langs/cn_s.d.ts +0 -0
  1895. /package/{types/nzh → nzh}/src/langs/hk_b.d.ts +0 -0
  1896. /package/{types/nzh → nzh}/src/langs/hk_s.d.ts +0 -0
  1897. /package/{types/nzh → nzh}/src/utils.d.ts +0 -0
  1898. /package/{types/pinyin → pinyin}/simplified.d.ts +0 -0
  1899. /package/{types/pinyin → pinyin}/src/core.d.ts +0 -0
  1900. /package/{types/pinyin → pinyin}/src/simplified.d.ts +0 -0
  1901. /package/{types/pinyin → pinyin}/src/simplified_dict.d.ts +0 -0
  1902. /package/{types/pinyin → pinyin}/src/traditional.d.ts +0 -0
  1903. /package/{types/pinyin → pinyin}/src/traditional_dict.d.ts +0 -0
  1904. /package/{types/pinyin → pinyin}/traditional.d.ts +0 -0
  1905. /package/{types/query-string → query-string}/splitOnFirst.d.ts +0 -0
  1906. /package/{types/random → random}/address.d.ts +0 -0
  1907. /package/{types/random → random}/constellation.d.ts +0 -0
  1908. /package/{types/random → random}/image.d.ts +0 -0
  1909. /package/{types/random → random}/licensePlate.d.ts +0 -0
  1910. /package/{types/random → random}/name.d.ts +0 -0
  1911. /package/{types/random → random}/number.d.ts +0 -0
  1912. /package/{types/random → random}/text.d.ts +0 -0
  1913. /package/{types/random → random}/time.d.ts +0 -0
  1914. /package/{types/random → random}/web.d.ts +0 -0
  1915. /package/{types/sanitize-url → sanitize-url}/index.d.ts +0 -0
  1916. /package/{types/screenfull → screenfull}/index.d.ts +0 -0
  1917. /package/{types/sleep → sleep}/index.d.ts +0 -0
  1918. /package/{types/snapdom → snapdom}/index.d.ts +0 -0
  1919. /package/{types/snapdom → snapdom}/src/api/snapdom.d.ts +0 -0
  1920. /package/{types/snapdom → snapdom}/src/core/capture.d.ts +0 -0
  1921. /package/{types/snapdom → snapdom}/src/core/clone.d.ts +0 -0
  1922. /package/{types/snapdom → snapdom}/src/core/exporters.d.ts +0 -0
  1923. /package/{types/snapdom → snapdom}/src/core/plugins.d.ts +0 -0
  1924. /package/{types/snapdom → snapdom}/src/core/prepare.d.ts +0 -0
  1925. /package/{types/snapdom → snapdom}/src/exporters/download.d.ts +0 -0
  1926. /package/{types/snapdom → snapdom}/src/exporters/toBlob.d.ts +0 -0
  1927. /package/{types/snapdom → snapdom}/src/exporters/toCanvas.d.ts +0 -0
  1928. /package/{types/snapdom → snapdom}/src/exporters/toImg.d.ts +0 -0
  1929. /package/{types/snapdom → snapdom}/src/exporters/toJpg.d.ts +0 -0
  1930. /package/{types/snapdom → snapdom}/src/exporters/toPng.d.ts +0 -0
  1931. /package/{types/snapdom → snapdom}/src/exporters/toSvg.d.ts +0 -0
  1932. /package/{types/snapdom → snapdom}/src/exporters/toWebp.d.ts +0 -0
  1933. /package/{types/snapdom → snapdom}/src/index.browser.d.ts +0 -0
  1934. /package/{types/snapdom → snapdom}/src/index.d.ts +0 -0
  1935. /package/{types/snapdom → snapdom}/src/modules/CSSVar.d.ts +0 -0
  1936. /package/{types/snapdom → snapdom}/src/modules/background.d.ts +0 -0
  1937. /package/{types/snapdom → snapdom}/src/modules/changeCSS.d.ts +0 -0
  1938. /package/{types/snapdom → snapdom}/src/modules/counter.d.ts +0 -0
  1939. /package/{types/snapdom → snapdom}/src/modules/iconFonts.d.ts +0 -0
  1940. /package/{types/snapdom → snapdom}/src/modules/images.d.ts +0 -0
  1941. /package/{types/snapdom → snapdom}/src/modules/pseudo.d.ts +0 -0
  1942. /package/{types/snapdom → snapdom}/src/modules/rasterize.d.ts +0 -0
  1943. /package/{types/snapdom → snapdom}/src/modules/snapFetch.d.ts +0 -0
  1944. /package/{types/snapdom → snapdom}/src/modules/styles.d.ts +0 -0
  1945. /package/{types/snapdom → snapdom}/src/modules/svgDefs.d.ts +0 -0
  1946. /package/{types/snapdom → snapdom}/src/utils/css.d.ts +0 -0
  1947. /package/{types/snapdom → snapdom}/src/utils/image.d.ts +0 -0
  1948. /package/{types/snapdom → snapdom}/src/utils/prepare.helpers.d.ts +0 -0
  1949. /package/{types/snapdom → snapdom}/src/utils/transforms.helpers.d.ts +0 -0
  1950. /package/{types/string → string}/chars.d.ts +0 -0
  1951. /package/{types/tinycolor → tinycolor}/index.d.ts +0 -0
  1952. /package/{types/tinycolor → tinycolor}/src/css-color-names.d.ts +0 -0
  1953. /package/{types/tinycolor → tinycolor}/src/from-ratio.d.ts +0 -0
  1954. /package/{types/tinycolor → tinycolor}/src/interfaces.d.ts +0 -0
  1955. /package/{types/tinycolor → tinycolor}/src/public_api.d.ts +0 -0
  1956. /package/{types/tinycolor → tinycolor}/src/random.d.ts +0 -0
  1957. /package/{types/tinycolor → tinycolor}/src/umd_api.d.ts +0 -0
  1958. /package/{types/tinycolor → tinycolor}/src/utils.d.ts +0 -0
  1959. /package/{types/tree → tree}/search/index.d.ts +0 -0
  1960. /package/{types/tween → tween}/index.d.ts +0 -0
  1961. /package/{types/tween → tween}/src/easing.d.ts +0 -0
  1962. /package/{types/tween → tween}/src/index.d.ts +0 -0
  1963. /package/{types/tween → tween}/src/tween.d.ts +0 -0
  1964. /package/{types/ui-color → ui-color}/compareColorByRange.d.ts +0 -0
  1965. /package/{types/ui-color → ui-color}/index.d.ts +0 -0
  1966. /package/{types/url-toolkit → url-toolkit}/index.d.ts +0 -0
  1967. /package/{types/validate → validate}/index.d.ts +0 -0
  1968. /package/{types/validate → validate}/src/index.d.ts +0 -0
  1969. /package/{types/validate → validate}/src/interface.d.ts +0 -0
  1970. /package/{types/validate → validate}/src/locale/en-US.d.ts +0 -0
  1971. /package/{types/validate → validate}/src/locale/index.d.ts +0 -0
  1972. /package/{types/validate → validate}/src/locale/zh-CN.d.ts +0 -0
  1973. /package/{types/version → version}/index.d.ts +0 -0
  1974. /package/{types/xlsx → xlsx}/crc32.d.ts +0 -0
  1975. /package/{types/xlsx → xlsx}/xlsx.d.ts +0 -0
@@ -1,678 +1,585 @@
1
- /* 2026-02-26 14:42:29 */
2
- import { cache as w } from "../core/cache.js";
3
- import { isIconFont as k } from "./iconFonts.js";
4
- import { extractURL as X } from "../utils/helpers.js";
5
- import { snapFetch as U } from "./snapFetch.js";
6
- async function lt(o, e, r, a = 32, n = "#000") {
7
- e = e.replace(/^['"]+|['"]+$/g, "");
8
- const c = window.devicePixelRatio || 1;
9
- try {
10
- await document.fonts.ready;
11
- } catch {
12
- }
13
- const t = document.createElement("span");
14
- t.textContent = o, t.style.position = "absolute", t.style.visibility = "hidden", t.style.fontFamily = `"${e}"`, t.style.fontWeight = r || "normal", t.style.fontSize = `${a}px`, t.style.lineHeight = "1", t.style.whiteSpace = "nowrap", t.style.padding = "0", t.style.margin = "0", document.body.appendChild(t);
15
- const f = t.getBoundingClientRect(), s = Math.ceil(f.width), u = Math.ceil(f.height);
16
- document.body.removeChild(t);
17
- const m = document.createElement("canvas");
18
- m.width = Math.max(1, s * c), m.height = Math.max(1, u * c);
19
- const d = m.getContext("2d");
20
- return d.scale(c, c), d.font = r ? `${r} ${a}px "${e}"` : `${a}px "${e}"`, d.textAlign = "left", d.textBaseline = "top", d.fillStyle = n, d.fillText(o, 0, 0), {
21
- dataUrl: m.toDataURL(),
22
- width: s,
23
- height: u
24
- };
1
+ /* 潘启宝 2026-03-24 15:26:16 星期二 */
2
+ import { cache as e } from "../core/cache.js";
3
+ import { extractURL as t } from "../utils/helpers.js";
4
+ import { snapFetch as n } from "./snapFetch.js";
5
+ import { isIconFont as r } from "./iconFonts.js";
6
+ //#region utils/snapdom/src/modules/fonts.js
7
+ async function i(e, t, n, r = 32, i = "#000") {
8
+ t = t.replace(/^['"]+|['"]+$/g, "");
9
+ let a = window.devicePixelRatio || 1;
10
+ try {
11
+ await document.fonts.ready;
12
+ } catch {}
13
+ let o = document.createElement("span");
14
+ o.textContent = e, o.style.position = "absolute", o.style.visibility = "hidden", o.style.fontFamily = `"${t}"`, o.style.fontWeight = n || "normal", o.style.fontSize = `${r}px`, o.style.lineHeight = "1", o.style.whiteSpace = "nowrap", o.style.padding = "0", o.style.margin = "0", document.body.appendChild(o);
15
+ let s = o.getBoundingClientRect(), c = Math.ceil(s.width), l = Math.ceil(s.height);
16
+ document.body.removeChild(o);
17
+ let u = document.createElement("canvas");
18
+ u.width = Math.max(1, c * a), u.height = Math.max(1, l * a);
19
+ let d = u.getContext("2d");
20
+ return d.scale(a, a), d.font = n ? `${n} ${r}px "${t}"` : `${r}px "${t}"`, d.textAlign = "left", d.textBaseline = "top", d.fillStyle = i, d.fillText(e, 0, 0), {
21
+ dataUrl: u.toDataURL(),
22
+ width: c,
23
+ height: l
24
+ };
25
25
  }
26
- const G = /* @__PURE__ */ new Set([
27
- "serif",
28
- "sans-serif",
29
- "monospace",
30
- "cursive",
31
- "fantasy",
32
- "system-ui",
33
- "emoji",
34
- "math",
35
- "fangsong",
36
- "ui-serif",
37
- "ui-sans-serif",
38
- "ui-monospace",
39
- "ui-rounded"
40
- ]);
41
- function T(o) {
42
- if (!o) return "";
43
- for (let e of o.split(",")) {
44
- let r = e.trim().replace(/^['"]+|['"]+$/g, "");
45
- if (r && !G.has(r.toLowerCase()))
46
- return r;
47
- }
48
- return "";
26
+ var a = new Set([
27
+ "serif",
28
+ "sans-serif",
29
+ "monospace",
30
+ "cursive",
31
+ "fantasy",
32
+ "system-ui",
33
+ "emoji",
34
+ "math",
35
+ "fangsong",
36
+ "ui-serif",
37
+ "ui-sans-serif",
38
+ "ui-monospace",
39
+ "ui-rounded"
40
+ ]), o = [
41
+ "katex",
42
+ "mathjax",
43
+ "mathml"
44
+ ];
45
+ function s(e) {
46
+ if (!e) return "";
47
+ for (let t of e.split(",")) {
48
+ let e = t.trim().replace(/^['"]+|['"]+$/g, "");
49
+ if (e && !a.has(e.toLowerCase())) return e;
50
+ }
51
+ return "";
49
52
  }
50
- function I(o) {
51
- const e = String(o ?? "400").trim().toLowerCase();
52
- if (e === "normal") return 400;
53
- if (e === "bold") return 700;
54
- const r = parseInt(e, 10);
55
- return Number.isFinite(r) ? Math.min(900, Math.max(100, r)) : 400;
53
+ function c(e) {
54
+ let t = String(e ?? "400").trim().toLowerCase();
55
+ if (t === "normal") return 400;
56
+ if (t === "bold") return 700;
57
+ let n = parseInt(t, 10);
58
+ return Number.isFinite(n) ? Math.min(900, Math.max(100, n)) : 400;
56
59
  }
57
- function N(o) {
58
- const e = String(o ?? "normal").trim().toLowerCase();
59
- return e.startsWith("italic") ? "italic" : e.startsWith("oblique") ? "oblique" : "normal";
60
+ function l(e) {
61
+ let t = String(e ?? "normal").trim().toLowerCase();
62
+ return t.startsWith("italic") ? "italic" : t.startsWith("oblique") ? "oblique" : "normal";
60
63
  }
61
- function K(o) {
62
- const e = String(o ?? "100%").match(/(\d+(?:\.\d+)?)\s*%/);
63
- return e ? Math.max(50, Math.min(200, parseFloat(e[1]))) : 100;
64
+ function u(e) {
65
+ let t = String(e ?? "100%").match(/(\d+(?:\.\d+)?)\s*%/);
66
+ return t ? Math.max(50, Math.min(200, parseFloat(t[1]))) : 100;
64
67
  }
65
- function Y(o) {
66
- const e = String(o || "400").trim(), r = e.match(/^(\d{2,3})\s+(\d{2,3})$/);
67
- if (r) {
68
- const n = I(r[1]), c = I(r[2]);
69
- return { min: Math.min(n, c), max: Math.max(n, c) };
70
- }
71
- const a = I(e);
72
- return { min: a, max: a };
68
+ function d(e) {
69
+ let t = String(e || "400").trim(), n = t.match(/^(\d{2,3})\s+(\d{2,3})$/);
70
+ if (n) {
71
+ let e = c(n[1]), t = c(n[2]);
72
+ return {
73
+ min: Math.min(e, t),
74
+ max: Math.max(e, t)
75
+ };
76
+ }
77
+ let r = c(t);
78
+ return {
79
+ min: r,
80
+ max: r
81
+ };
73
82
  }
74
- function J(o) {
75
- const e = String(o || "normal").trim().toLowerCase();
76
- return e === "italic" ? { kind: "italic" } : e.startsWith("oblique") ? { kind: "oblique" } : { kind: "normal" };
83
+ function f(e) {
84
+ let t = String(e || "normal").trim().toLowerCase();
85
+ return t === "italic" ? { kind: "italic" } : t.startsWith("oblique") ? { kind: "oblique" } : { kind: "normal" };
77
86
  }
78
- function Q(o) {
79
- const e = String(o || "100%").trim(), r = e.match(/(\d+(?:\.\d+)?)\s*%\s+(\d+(?:\.\d+)?)\s*%/);
80
- if (r) {
81
- const c = parseFloat(r[1]), t = parseFloat(r[2]);
82
- return { min: Math.min(c, t), max: Math.max(c, t) };
83
- }
84
- const a = e.match(/(\d+(?:\.\d+)?)\s*%/), n = a ? parseFloat(a[1]) : 100;
85
- return { min: n, max: n };
87
+ function p(e) {
88
+ let t = String(e || "100%").trim(), n = t.match(/(\d+(?:\.\d+)?)\s*%\s+(\d+(?:\.\d+)?)\s*%/);
89
+ if (n) {
90
+ let e = parseFloat(n[1]), t = parseFloat(n[2]);
91
+ return {
92
+ min: Math.min(e, t),
93
+ max: Math.max(e, t)
94
+ };
95
+ }
96
+ let r = t.match(/(\d+(?:\.\d+)?)\s*%/), i = r ? parseFloat(r[1]) : 100;
97
+ return {
98
+ min: i,
99
+ max: i
100
+ };
86
101
  }
87
- function Z(o, e) {
88
- if (!o) return !1;
89
- try {
90
- const r = new URL(o, location.href);
91
- if (r.origin === location.origin) return !0;
92
- const n = r.host.toLowerCase();
93
- if ([
94
- "fonts.googleapis.com",
95
- "fonts.gstatic.com",
96
- "use.typekit.net",
97
- "p.typekit.net",
98
- "kit.fontawesome.com",
99
- "use.fontawesome.com"
100
- ].some((f) => n.endsWith(f))) return !0;
101
- const t = (r.pathname + r.search).toLowerCase();
102
- if (/\bfont(s)?\b/.test(t) || /\.woff2?(\b|$)/.test(t)) return !0;
103
- for (const f of e) {
104
- const s = f.toLowerCase().replace(/\s+/g, "+"), u = f.toLowerCase().replace(/\s+/g, "-");
105
- if (t.includes(s) || t.includes(u)) return !0;
106
- }
107
- return !1;
108
- } catch {
109
- return !1;
110
- }
102
+ function m(e) {
103
+ return !e || typeof e != "string" ? "" : e.replace(/\s+(variable|vf|v[0-9]+)$/i, "").trim().toLowerCase().replace(/\s+/g, "-");
111
104
  }
112
- function tt(o) {
113
- const e = /* @__PURE__ */ new Set();
114
- for (const r of o || []) {
115
- const a = String(r).split("__")[0]?.trim();
116
- a && e.add(a);
117
- }
118
- return e;
105
+ function h(e, t, n = []) {
106
+ if (!e) return !1;
107
+ try {
108
+ let r = new URL(e, location.href);
109
+ if (r.origin === location.origin) return !0;
110
+ let i = r.host.toLowerCase();
111
+ if ([
112
+ "fonts.googleapis.com",
113
+ "fonts.gstatic.com",
114
+ "use.typekit.net",
115
+ "p.typekit.net",
116
+ "kit.fontawesome.com",
117
+ "use.fontawesome.com",
118
+ "cdn.jsdelivr.net",
119
+ "unpkg.com",
120
+ "cdnjs.cloudflare.com",
121
+ "esm.sh"
122
+ ].some((e) => i.endsWith(e)) || n.some((e) => i === e.toLowerCase() || i.endsWith("." + e.toLowerCase()))) return !0;
123
+ let a = (r.pathname + r.search).toLowerCase();
124
+ if (/\bfont(s)?\b/.test(a) || /\.woff2?(\b|$)/.test(a) || o.some((e) => a.includes(e))) return !0;
125
+ for (let e of t) {
126
+ let t = e.toLowerCase().replace(/\s+/g, "+"), n = e.toLowerCase().replace(/\s+/g, "-"), r = m(e);
127
+ if (a.includes(t) || a.includes(n) || r && a.includes(r)) return !0;
128
+ }
129
+ return !1;
130
+ } catch {
131
+ return !1;
132
+ }
119
133
  }
120
- function q(o, e) {
121
- return o && o.replace(/url\(\s*(['"]?)([^)'"]+)\1\s*\)/g, (r, a, n) => {
122
- const c = (n || "").trim();
123
- if (!c || /^data:|^blob:|^https?:|^file:|^about:/i.test(c)) return r;
124
- let t = c;
125
- try {
126
- t = new URL(c, e || location.href).href;
127
- } catch {
128
- }
129
- return `url("${t}")`;
130
- });
134
+ function g(e) {
135
+ let t = /* @__PURE__ */ new Set();
136
+ for (let n of e || []) {
137
+ let e = String(n).split("__")[0]?.trim();
138
+ e && t.add(e);
139
+ }
140
+ return t;
131
141
  }
132
- const v = /@import\s+(?:url\(\s*(['"]?)([^)"']+)\1\s*\)|(['"])([^"']+)\3)([^;]*);/g, W = 4;
133
- async function et(o, e, r) {
134
- if (!o) return o;
135
- const a = /* @__PURE__ */ new Set();
136
- function n(f, s) {
137
- try {
138
- return new URL(f, s || location.href).href;
139
- } catch {
140
- return f;
141
- }
142
- }
143
- async function c(f, s, u = 0) {
144
- if (u > W)
145
- return console.warn(
146
- `[snapDOM] @import depth exceeded (${W}) at ${s}`
147
- ), f;
148
- let m = "", d = 0, p;
149
- for (; p = v.exec(f); ) {
150
- m += f.slice(d, p.index), d = v.lastIndex;
151
- const b = (p[2] || p[4] || "").trim(), R = n(b, s);
152
- if (a.has(R)) {
153
- console.warn(`[snapDOM] Skipping circular @import: ${R}`);
154
- continue;
155
- }
156
- a.add(R);
157
- let i = "";
158
- try {
159
- const l = await U(R, {
160
- as: "text",
161
- useProxy: r,
162
- silent: !0
163
- });
164
- l.ok && typeof l.data == "string" && (i = l.data);
165
- } catch {
166
- }
167
- i ? (i = q(i, R), i = await c(i, R, u + 1), m += `
168
- /* inlined: ${R} */
169
- ${i}
170
- `) : m += p[0];
171
- }
172
- return m += f.slice(d), m;
173
- }
174
- let t = q(o, e || location.href);
175
- return t = await c(t, e || location.href, 0), t;
142
+ function _(e, t) {
143
+ return e && e.replace(/url\(\s*(['"]?)([^)'"]+)\1\s*\)/g, (e, n, r) => {
144
+ let i = (r || "").trim();
145
+ if (!i || /^data:|^blob:|^https?:|^file:|^about:/i.test(i)) return e;
146
+ let a = i;
147
+ try {
148
+ a = new URL(i, t || location.href).href;
149
+ } catch {}
150
+ return `url("${a}")`;
151
+ });
176
152
  }
177
- const j = /url\((["']?)([^"')]+)\1\)/g, nt = /@font-face[^{}]*\{[^}]*\}/g;
178
- function B(o) {
179
- if (!o) return [];
180
- const e = [], r = o.split(",").map((a) => a.trim()).filter(Boolean);
181
- for (const a of r) {
182
- const n = a.match(/^U\+([0-9A-Fa-f?]+)(?:-([0-9A-Fa-f?]+))?$/);
183
- if (!n) continue;
184
- const c = n[1], t = n[2], f = (s) => {
185
- if (!s.includes("?")) return parseInt(s, 16);
186
- const u = parseInt(s.replace(/\?/g, "0"), 16), m = parseInt(s.replace(/\?/g, "F"), 16);
187
- return [u, m];
188
- };
189
- if (t) {
190
- const s = f(c), u = f(t), m = Array.isArray(s) ? s[0] : s, d = Array.isArray(u) ? u[1] : u;
191
- e.push([Math.min(m, d), Math.max(m, d)]);
192
- } else {
193
- const s = f(c);
194
- Array.isArray(s) ? e.push([s[0], s[1]]) : e.push([s, s]);
195
- }
196
- }
197
- return e;
153
+ var v = /@import\s+(?:url\(\s*(['"]?)([^)"']+)\1\s*\)|(['"])([^"']+)\3)([^;]*);/g, y = 4;
154
+ async function b(e, t, r) {
155
+ if (!e) return e;
156
+ let i = /* @__PURE__ */ new Set();
157
+ function a(e, t) {
158
+ try {
159
+ return new URL(e, t || location.href).href;
160
+ } catch {
161
+ return e;
162
+ }
163
+ }
164
+ async function o(e, t, s = 0) {
165
+ if (s > y) return console.warn(`[snapDOM] @import depth exceeded (${y}) at ${t}`), e;
166
+ let c = "", l = 0, u;
167
+ for (; u = v.exec(e);) {
168
+ c += e.slice(l, u.index), l = v.lastIndex;
169
+ let d = a((u[2] || u[4] || "").trim(), t);
170
+ if (i.has(d)) {
171
+ console.warn(`[snapDOM] Skipping circular @import: ${d}`);
172
+ continue;
173
+ }
174
+ i.add(d);
175
+ let f = "";
176
+ try {
177
+ let e = await n(d, {
178
+ as: "text",
179
+ useProxy: r,
180
+ silent: !0
181
+ });
182
+ e.ok && typeof e.data == "string" && (f = e.data);
183
+ } catch {}
184
+ f ? (f = _(f, d), f = await o(f, d, s + 1), c += `\n/* inlined: ${d} */\n${f}\n`) : c += u[0];
185
+ }
186
+ return c += e.slice(l), c;
187
+ }
188
+ let s = _(e, t || location.href);
189
+ return s = await o(s, t || location.href, 0), s;
198
190
  }
199
- function V(o, e) {
200
- if (!e.length || !o || o.size === 0) return !0;
201
- for (const r of o)
202
- for (const [a, n] of e) if (r >= a && r <= n) return !0;
203
- return !1;
191
+ var x = /url\((["']?)([^"')]+)\1\)/g, S = /@font-face[^{}]*\{[^}]*\}/g;
192
+ function C(e) {
193
+ if (!e) return [];
194
+ let t = [], n = e.split(",").map((e) => e.trim()).filter(Boolean);
195
+ for (let e of n) {
196
+ let n = e.match(/^U\+([0-9A-Fa-f?]+)(?:-([0-9A-Fa-f?]+))?$/);
197
+ if (!n) continue;
198
+ let r = n[1], i = n[2], a = (e) => e.includes("?") ? [parseInt(e.replace(/\?/g, "0"), 16), parseInt(e.replace(/\?/g, "F"), 16)] : parseInt(e, 16);
199
+ if (i) {
200
+ let e = a(r), n = a(i), o = Array.isArray(e) ? e[0] : e, s = Array.isArray(n) ? n[1] : n;
201
+ t.push([Math.min(o, s), Math.max(o, s)]);
202
+ } else {
203
+ let e = a(r);
204
+ Array.isArray(e) ? t.push([e[0], e[1]]) : t.push([e, e]);
205
+ }
206
+ }
207
+ return t;
204
208
  }
205
- function P(o, e) {
206
- const r = [];
207
- if (!o) return r;
208
- for (const a of o.matchAll(j)) {
209
- let n = (a[2] || "").trim();
210
- if (!(!n || n.startsWith("data:"))) {
211
- if (!/^https?:/i.test(n))
212
- try {
213
- n = new URL(n, e || location.href).href;
214
- } catch {
215
- }
216
- r.push(n);
217
- }
218
- }
219
- return r;
209
+ function w(e, t) {
210
+ if (!t.length || !e || e.size === 0) return !0;
211
+ for (let n of e) for (let [e, r] of t) if (n >= e && n <= r) return !0;
212
+ return !1;
220
213
  }
221
- async function z(o, e, r = "") {
222
- let a = o;
223
- for (const n of o.matchAll(j)) {
224
- const c = X(n[0]);
225
- if (!c) continue;
226
- let t = c;
227
- if (!t.startsWith("http") && !t.startsWith("data:"))
228
- try {
229
- t = new URL(t, e || location.href).href;
230
- } catch {
231
- }
232
- if (!k(t)) {
233
- if (w.resource?.has(t)) {
234
- w.font?.add(t), a = a.replace(n[0], `url(${w.resource.get(t)})`);
235
- continue;
236
- }
237
- if (!w.font?.has(t))
238
- try {
239
- const f = await U(t, { as: "dataURL", useProxy: r, silent: !0 });
240
- if (f.ok && typeof f.data == "string") {
241
- const s = f.data;
242
- w.resource?.set(t, s), w.font?.add(t), a = a.replace(n[0], `url(${s})`);
243
- }
244
- } catch {
245
- console.warn("[snapDOM] Failed to fetch font resource:", t);
246
- }
247
- }
248
- }
249
- return a;
214
+ function T(e, t) {
215
+ let n = [];
216
+ if (!e) return n;
217
+ for (let r of e.matchAll(x)) {
218
+ let e = (r[2] || "").trim();
219
+ if (!(!e || e.startsWith("data:"))) {
220
+ if (!/^https?:/i.test(e)) try {
221
+ e = new URL(e, t || location.href).href;
222
+ } catch {}
223
+ n.push(e);
224
+ }
225
+ }
226
+ return n;
250
227
  }
251
- function ot(o) {
252
- if (!o.length) return null;
253
- const e = (f, s) => o.some(([u, m]) => !(m < f || u > s)), r = e(0, 255) || e(305, 305), a = e(256, 591) || e(7680, 7935), n = e(880, 1023), c = e(1024, 1279);
254
- return e(7840, 7929) || e(258, 259) || e(416, 417) || e(431, 432) ? "vietnamese" : c ? "cyrillic" : n ? "greek" : a ? "latin-ext" : r ? "latin" : null;
228
+ async function E(i, a, o = "") {
229
+ let s = i;
230
+ for (let c of i.matchAll(x)) {
231
+ let i = t(c[0]);
232
+ if (!i) continue;
233
+ let l = i;
234
+ if (!l.startsWith("http") && !l.startsWith("data:")) try {
235
+ l = new URL(l, a || location.href).href;
236
+ } catch {}
237
+ if (!r(l)) {
238
+ if (e.resource?.has(l)) {
239
+ e.font?.add(l), s = s.replace(c[0], `url(${e.resource.get(l)})`);
240
+ continue;
241
+ }
242
+ if (!e.font?.has(l)) try {
243
+ let t = await n(l, {
244
+ as: "dataURL",
245
+ useProxy: o,
246
+ silent: !0
247
+ });
248
+ if (t.ok && typeof t.data == "string") {
249
+ let n = t.data;
250
+ e.resource?.set(l, n), e.font?.add(l), s = s.replace(c[0], `url(${n})`);
251
+ }
252
+ } catch {
253
+ console.warn("[snapDOM] Failed to fetch font resource:", l);
254
+ }
255
+ }
256
+ }
257
+ return s;
255
258
  }
256
- function D(o = {}) {
257
- const e = new Set(
258
- (o.families || []).map((n) => String(n).toLowerCase())
259
- ), r = new Set(
260
- (o.domains || []).map((n) => String(n).toLowerCase())
261
- ), a = new Set(
262
- (o.subsets || []).map((n) => String(n).toLowerCase())
263
- );
264
- return (n, c) => {
265
- if (e.size && e.has(n.family.toLowerCase())) return !0;
266
- if (r.size)
267
- for (const t of n.srcUrls)
268
- try {
269
- if (r.has(new URL(t).host.toLowerCase())) return !0;
270
- } catch {
271
- }
272
- if (a.size) {
273
- const t = ot(c);
274
- if (t && a.has(t)) return !0;
275
- }
276
- return !1;
277
- };
259
+ function D(e) {
260
+ if (!e.length) return null;
261
+ let t = (t, n) => e.some(([e, r]) => !(r < t || e > n)), n = t(0, 255) || t(305, 305), r = t(256, 591) || t(7680, 7935), i = t(880, 1023), a = t(1024, 1279);
262
+ return t(7840, 7929) || t(258, 259) || t(416, 417) || t(431, 432) ? "vietnamese" : a ? "cyrillic" : i ? "greek" : r ? "latin-ext" : n ? "latin" : null;
278
263
  }
279
- function rt(o) {
280
- if (!o) return o;
281
- const e = /@font-face[^{}]*\{[^}]*\}/gi, r = /* @__PURE__ */ new Set(), a = [];
282
- for (const c of o.match(e) || []) {
283
- const t = c.match(/font-family:\s*([^;]+);/i)?.[1] || "", f = T(t), s = (c.match(/font-weight:\s*([^;]+);/i)?.[1] || "400").trim(), u = (c.match(/font-style:\s*([^;]+);/i)?.[1] || "normal").trim(), m = (c.match(/font-stretch:\s*([^;]+);/i)?.[1] || "100%").trim(), d = (c.match(/unicode-range:\s*([^;]+);/i)?.[1] || "").trim(), p = (c.match(/src\s*:\s*([^;}]+)[;}]/i)?.[1] || "").trim(), b = P(p, location.href), R = b.length ? b.map((l) => String(l).toLowerCase()).sort().join("|") : p.toLowerCase(), i = [
284
- String(f || "").toLowerCase(),
285
- s,
286
- u,
287
- m,
288
- d.toLowerCase(),
289
- R
290
- ].join("|");
291
- r.has(i) || (r.add(i), a.push(c));
292
- }
293
- if (a.length === 0) return o;
294
- let n = 0;
295
- return o.replace(e, () => a[n++] || "");
264
+ function O(e = {}) {
265
+ let t = new Set((e.families || []).map((e) => String(e).toLowerCase())), n = new Set((e.domains || []).map((e) => String(e).toLowerCase())), r = new Set((e.subsets || []).map((e) => String(e).toLowerCase()));
266
+ return (e, i) => {
267
+ if (t.size && t.has(e.family.toLowerCase())) return !0;
268
+ if (n.size) for (let t of e.srcUrls) try {
269
+ if (n.has(new URL(t).host.toLowerCase())) return !0;
270
+ } catch {}
271
+ if (r.size) {
272
+ let e = D(i);
273
+ if (e && r.has(e)) return !0;
274
+ }
275
+ return !1;
276
+ };
296
277
  }
297
- function st(o, e, r, a) {
298
- const n = Array.from(o || []).sort().join("|"), c = e ? JSON.stringify({
299
- families: (e.families || []).map((s) => String(s).toLowerCase()).sort(),
300
- domains: (e.domains || []).map((s) => String(s).toLowerCase()).sort(),
301
- subsets: (e.subsets || []).map((s) => String(s).toLowerCase()).sort()
302
- }) : "", t = (r || []).map(
303
- (s) => `${(s.family || "").toLowerCase()}::${s.weight || "normal"}::${s.style || "normal"}::${s.src || ""}`
304
- ).sort().join("|");
305
- return `fonts-embed-css::req=${n}::ex=${c}::lf=${t}::px=${a || ""}`;
278
+ function k(e) {
279
+ if (!e) return e;
280
+ let t = /@font-face[^{}]*\{[^}]*\}/gi, n = /* @__PURE__ */ new Set(), r = [];
281
+ for (let i of e.match(t) || []) {
282
+ let e = s(i.match(/font-family:\s*([^;]+);/i)?.[1] || ""), t = (i.match(/font-weight:\s*([^;]+);/i)?.[1] || "400").trim(), a = (i.match(/font-style:\s*([^;]+);/i)?.[1] || "normal").trim(), o = (i.match(/font-stretch:\s*([^;]+);/i)?.[1] || "100%").trim(), c = (i.match(/unicode-range:\s*([^;]+);/i)?.[1] || "").trim(), l = (i.match(/src\s*:\s*([^;}]+)[;}]/i)?.[1] || "").trim(), u = T(l, location.href), d = u.length ? u.map((e) => String(e).toLowerCase()).sort().join("|") : l.toLowerCase(), f = [
283
+ String(e || "").toLowerCase(),
284
+ t,
285
+ a,
286
+ o,
287
+ c.toLowerCase(),
288
+ d
289
+ ].join("|");
290
+ n.has(f) || (n.add(f), r.push(i));
291
+ }
292
+ if (r.length === 0) return e;
293
+ let i = 0;
294
+ return e.replace(t, () => r[i++] || "");
306
295
  }
307
- async function H(o, e, r, a) {
308
- let n;
309
- try {
310
- n = o.cssRules || [];
311
- } catch {
312
- return;
313
- }
314
- const c = (t, f) => {
315
- try {
316
- return new URL(t, f || location.href).href;
317
- } catch {
318
- return t;
319
- }
320
- };
321
- for (const t of n) {
322
- if (t.type === CSSRule.IMPORT_RULE && t.styleSheet) {
323
- const f = t.href ? c(t.href, e) : e;
324
- if (a.depth >= W) {
325
- console.warn(
326
- `[snapDOM] CSSOM import depth exceeded (${W}) at ${f}`
327
- );
328
- continue;
329
- }
330
- if (f && a.visitedSheets.has(f)) {
331
- console.warn(`[snapDOM] Skipping circular CSSOM import: ${f}`);
332
- continue;
333
- }
334
- f && a.visitedSheets.add(f);
335
- const s = { ...a, depth: (a.depth || 0) + 1 };
336
- await H(
337
- t.styleSheet,
338
- f,
339
- r,
340
- s
341
- );
342
- continue;
343
- }
344
- if (t.type === CSSRule.FONT_FACE_RULE) {
345
- const f = (t.style.getPropertyValue("font-family") || "").trim(), s = T(f);
346
- if (!s || k(s)) continue;
347
- const u = (t.style.getPropertyValue("font-weight") || "400").trim(), m = (t.style.getPropertyValue("font-style") || "normal").trim(), d = (t.style.getPropertyValue("font-stretch") || "100%").trim(), p = (t.style.getPropertyValue("src") || "").trim(), b = (t.style.getPropertyValue("unicode-range") || "").trim();
348
- if (!a.faceMatchesRequired(s, m, u, d))
349
- continue;
350
- const R = B(b);
351
- if (!V(a.usedCodepoints, R)) continue;
352
- const i = {
353
- family: s,
354
- weightSpec: u,
355
- styleSpec: m,
356
- stretchSpec: d,
357
- unicodeRange: b,
358
- srcRaw: p,
359
- srcUrls: P(p, e || location.href),
360
- href: e || location.href
361
- };
362
- if (a.simpleExcluder && a.simpleExcluder(i, R)) continue;
363
- if (/url\(/i.test(p)) {
364
- const l = await z(
365
- p,
366
- e || location.href,
367
- a.useProxy
368
- );
369
- await r(
370
- `@font-face{font-family:${s};src:${l};font-style:${m};font-weight:${u};font-stretch:${d};${b ? `unicode-range:${b};` : ""}}`
371
- );
372
- } else
373
- await r(
374
- `@font-face{font-family:${s};src:${p};font-style:${m};font-weight:${u};font-stretch:${d};${b ? `unicode-range:${b};` : ""}}`
375
- );
376
- }
377
- }
296
+ function A(e, t, n, r, i) {
297
+ return `fonts-embed-css::req=${Array.from(e || []).sort().join("|")}::ex=${t ? JSON.stringify({
298
+ families: (t.families || []).map((e) => String(e).toLowerCase()).sort(),
299
+ domains: (t.domains || []).map((e) => String(e).toLowerCase()).sort(),
300
+ subsets: (t.subsets || []).map((e) => String(e).toLowerCase()).sort()
301
+ }) : ""}::lf=${(n || []).map((e) => `${(e.family || "").toLowerCase()}::${e.weight || "normal"}::${e.style || "normal"}::${e.src || ""}`).sort().join("|")}::px=${r || ""}::fd=${(i || []).map((e) => String(e).toLowerCase()).sort().join("|")}`;
378
302
  }
379
- async function ut({
380
- required: o,
381
- usedCodepoints: e,
382
- exclude: r = void 0,
383
- localFonts: a = [],
384
- useProxy: n = ""
385
- } = {}) {
386
- o instanceof Set || (o = /* @__PURE__ */ new Set()), e instanceof Set || (e = /* @__PURE__ */ new Set());
387
- const c = /* @__PURE__ */ new Map();
388
- for (const i of o) {
389
- const [l, h, S, g] = String(i).split("__");
390
- if (!l) continue;
391
- const y = c.get(l) || [];
392
- y.push({ w: parseInt(h, 10), s: S, st: parseInt(g, 10) }), c.set(l, y);
393
- }
394
- function t(i, l, h, S) {
395
- if (!c.has(i)) return !1;
396
- const g = c.get(i), y = Y(h), C = J(l), L = Q(S), M = y.min !== y.max, F = y.min, A = ($) => C.kind === "normal" && $ === "normal" || C.kind !== "normal" && ($ === "italic" || $ === "oblique");
397
- let O = !1;
398
- for (const $ of g) {
399
- const x = M ? $.w >= y.min && $.w <= y.max : $.w === F, _ = A(N($.s)), E = $.st >= L.min && $.st <= L.max;
400
- if (x && _ && E) {
401
- O = !0;
402
- break;
403
- }
404
- }
405
- if (O) return !0;
406
- if (!M)
407
- for (const $ of g) {
408
- const x = A(N($.s)), _ = $.st >= L.min && $.st <= L.max;
409
- if (Math.abs(F - $.w) <= 300 && x && _) return !0;
410
- }
411
- if (!M && C.kind === "normal" && g.some((x) => N(x.s) !== "normal"))
412
- for (const x of g) {
413
- const _ = Math.abs(F - x.w) <= 300, E = x.st >= L.min && x.st <= L.max;
414
- if (_ && E)
415
- return !0;
416
- }
417
- return !1;
418
- }
419
- const f = D(r), s = st(o, r, a, n);
420
- if (w.resource?.has(s))
421
- return w.resource.get(s);
422
- const u = tt(o), m = [], d = v;
423
- for (const i of document.querySelectorAll("style")) {
424
- const l = i.textContent || "";
425
- for (const h of l.matchAll(d)) {
426
- const S = (h[2] || h[4] || "").trim();
427
- if (!S || k(S)) continue;
428
- document.querySelector(
429
- `link[rel="stylesheet"][href="${S}"]`
430
- ) || m.push(S);
431
- }
432
- }
433
- m.length && await Promise.all(
434
- m.map(
435
- (i) => new Promise((l) => {
436
- if (document.querySelector(`link[rel="stylesheet"][href="${i}"]`))
437
- return l(null);
438
- const h = document.createElement("link");
439
- h.rel = "stylesheet", h.href = i, h.setAttribute("data-snapdom", "injected-import"), h.onload = () => l(h), h.onerror = () => l(null), document.head.appendChild(h);
440
- })
441
- )
442
- );
443
- let p = "";
444
- const b = Array.from(
445
- document.querySelectorAll('link[rel="stylesheet"]')
446
- ).filter((i) => !!i.href);
447
- for (const i of b)
448
- try {
449
- if (k(i.href)) continue;
450
- let l = "", h = !1;
451
- try {
452
- h = new URL(i.href, location.href).origin === location.origin;
453
- } catch {
454
- }
455
- if (!h && !Z(i.href, u))
456
- continue;
457
- if (h) {
458
- const g = Array.from(document.styleSheets).find(
459
- (y) => y.href === i.href
460
- );
461
- if (g)
462
- try {
463
- const y = g.cssRules || [];
464
- l = Array.from(y).map((C) => C.cssText).join("");
465
- } catch {
466
- }
467
- }
468
- if (!l && (l = (await U(i.href, { as: "text", useProxy: n })).data, k(i.href)))
469
- continue;
470
- l = await et(l, i.href, n);
471
- let S = "";
472
- for (const g of l.match(nt) || []) {
473
- const y = (g.match(/font-family:\s*([^;]+);/i)?.[1] || "").trim(), C = T(y);
474
- if (!C || k(C)) continue;
475
- const L = (g.match(/font-weight:\s*([^;]+);/i)?.[1] || "400").trim(), M = (g.match(/font-style:\s*([^;]+);/i)?.[1] || "normal").trim(), F = (g.match(/font-stretch:\s*([^;]+);/i)?.[1] || "100%").trim(), A = (g.match(/unicode-range:\s*([^;]+);/i)?.[1] || "").trim(), O = (g.match(/src\s*:\s*([^;}]+)[;}]/i)?.[1] || "").trim(), $ = P(O, i.href);
476
- if (!t(C, M, L, F))
477
- continue;
478
- const x = B(A);
479
- if (!V(e, x)) continue;
480
- const _ = {
481
- family: C,
482
- weightSpec: L,
483
- styleSpec: M,
484
- stretchSpec: F,
485
- unicodeRange: A,
486
- srcRaw: O,
487
- srcUrls: $,
488
- href: i.href
489
- };
490
- if (r && f(_, x)) continue;
491
- const E = /url\(/i.test(O) ? await z(g, i.href, n) : g;
492
- S += E;
493
- }
494
- S.trim() && (p += S);
495
- } catch {
496
- console.warn("[snapDOM] Failed to process stylesheet:", i.href);
497
- }
498
- const R = {
499
- requiredIndex: c,
500
- usedCodepoints: e,
501
- faceMatchesRequired: t,
502
- simpleExcluder: r ? D(r) : null,
503
- useProxy: n,
504
- visitedSheets: /* @__PURE__ */ new Set(),
505
- depth: 0
506
- };
507
- for (const i of document.styleSheets)
508
- if (!(i.href && b.some((l) => l.href === i.href)))
509
- try {
510
- const l = i.href || location.href;
511
- l && R.visitedSheets.add(l), await H(
512
- i,
513
- l,
514
- async (h) => {
515
- p += h;
516
- },
517
- R
518
- );
519
- } catch {
520
- }
521
- try {
522
- for (const i of document.fonts || []) {
523
- if (!i || !i.family || i.status !== "loaded" || !i._snapdomSrc) continue;
524
- const l = String(i.family).replace(/^['"]+|['"]+$/g, "");
525
- if (k(l) || !c.has(l) || r?.families && r.families.some(
526
- (S) => String(S).toLowerCase() === l.toLowerCase()
527
- ))
528
- continue;
529
- let h = i._snapdomSrc;
530
- if (!String(h).startsWith("data:")) {
531
- if (w.resource?.has(i._snapdomSrc))
532
- h = w.resource.get(i._snapdomSrc), w.font?.add(i._snapdomSrc);
533
- else if (!w.font?.has(i._snapdomSrc))
534
- try {
535
- const S = await U(i._snapdomSrc, {
536
- as: "dataURL",
537
- useProxy: n,
538
- silent: !0
539
- });
540
- if (S.ok && typeof S.data == "string")
541
- h = S.data, w.resource?.set(i._snapdomSrc, h), w.font?.add(i._snapdomSrc);
542
- else
543
- continue;
544
- } catch {
545
- console.warn(
546
- "[snapDOM] Failed to fetch dynamic font src:",
547
- i._snapdomSrc
548
- );
549
- continue;
550
- }
551
- }
552
- p += `@font-face{font-family:'${l}';src:url(${h});font-style:${i.style || "normal"};font-weight:${i.weight || "normal"};}`;
553
- }
554
- } catch {
555
- }
556
- for (const i of a) {
557
- if (!i || typeof i != "object") continue;
558
- const l = String(i.family || "").replace(/^['"]+|['"]+$/g, "");
559
- if (!l || k(l) || !c.has(l) || r?.families && r.families.some(
560
- (L) => String(L).toLowerCase() === l.toLowerCase()
561
- ))
562
- continue;
563
- const h = i.weight != null ? String(i.weight) : "normal", S = i.style != null ? String(i.style) : "normal", g = i.stretchPct != null ? `${i.stretchPct}%` : "100%", y = String(i.src || "");
564
- let C = y;
565
- if (!C.startsWith("data:")) {
566
- if (w.resource?.has(y))
567
- C = w.resource.get(y), w.font?.add(y);
568
- else if (!w.font?.has(y))
569
- try {
570
- const L = await U(y, {
571
- as: "dataURL",
572
- useProxy: n,
573
- silent: !0
574
- });
575
- if (L.ok && typeof L.data == "string")
576
- C = L.data, w.resource?.set(y, C), w.font?.add(y);
577
- else
578
- continue;
579
- } catch {
580
- console.warn("[snapDOM] Failed to fetch localFonts src:", y);
581
- continue;
582
- }
583
- }
584
- p += `@font-face{font-family:'${l}';src:url(${C});font-style:${S};font-weight:${h};font-stretch:${g};}`;
585
- }
586
- return p && (p = rt(p), w.resource?.set(s, p)), p;
303
+ async function j(e, t, n, i) {
304
+ let a;
305
+ try {
306
+ a = e.cssRules || [];
307
+ } catch {
308
+ return;
309
+ }
310
+ let o = (e, t) => {
311
+ try {
312
+ return new URL(e, t || location.href).href;
313
+ } catch {
314
+ return e;
315
+ }
316
+ };
317
+ for (let e of a) {
318
+ if (e.type === CSSRule.IMPORT_RULE && e.styleSheet) {
319
+ let r = e.href ? o(e.href, t) : t;
320
+ if (i.depth >= y) {
321
+ console.warn(`[snapDOM] CSSOM import depth exceeded (${y}) at ${r}`);
322
+ continue;
323
+ }
324
+ if (r && i.visitedSheets.has(r)) {
325
+ console.warn(`[snapDOM] Skipping circular CSSOM import: ${r}`);
326
+ continue;
327
+ }
328
+ r && i.visitedSheets.add(r);
329
+ let a = {
330
+ ...i,
331
+ depth: (i.depth || 0) + 1
332
+ };
333
+ await j(e.styleSheet, r, n, a);
334
+ continue;
335
+ }
336
+ if (e.type === CSSRule.FONT_FACE_RULE) {
337
+ let a = s((e.style.getPropertyValue("font-family") || "").trim());
338
+ if (!a || r(a)) continue;
339
+ let o = (e.style.getPropertyValue("font-weight") || "400").trim(), c = (e.style.getPropertyValue("font-style") || "normal").trim(), l = (e.style.getPropertyValue("font-stretch") || "100%").trim(), u = (e.style.getPropertyValue("src") || "").trim(), d = (e.style.getPropertyValue("unicode-range") || "").trim();
340
+ if (!i.faceMatchesRequired(a, c, o, l)) continue;
341
+ let f = C(d);
342
+ if (!w(i.usedCodepoints, f)) continue;
343
+ let p = {
344
+ family: a,
345
+ weightSpec: o,
346
+ styleSpec: c,
347
+ stretchSpec: l,
348
+ unicodeRange: d,
349
+ srcRaw: u,
350
+ srcUrls: T(u, t || location.href),
351
+ href: t || location.href
352
+ };
353
+ if (i.simpleExcluder && i.simpleExcluder(p, f)) continue;
354
+ /url\(/i.test(u) ? await n(`@font-face{font-family:${a};src:${await E(u, t || location.href, i.useProxy)};font-style:${c};font-weight:${o};font-stretch:${l};${d ? `unicode-range:${d};` : ""}}`) : await n(`@font-face{font-family:${a};src:${u};font-style:${c};font-weight:${o};font-stretch:${l};${d ? `unicode-range:${d};` : ""}}`);
355
+ }
356
+ }
587
357
  }
588
- function mt(o) {
589
- const e = /* @__PURE__ */ new Set();
590
- if (!o) return e;
591
- const r = document.createTreeWalker(o, NodeFilter.SHOW_ELEMENT, null), a = (t) => {
592
- const f = T(t.fontFamily);
593
- if (!f) return;
594
- const s = (u, m, d) => `${f}__${I(u)}__${N(m)}__${K(d)}`;
595
- e.add(s(t.fontWeight, t.fontStyle, t.fontStretch));
596
- };
597
- a(getComputedStyle(o));
598
- const n = getComputedStyle(o, "::before");
599
- n && n.content && n.content !== "none" && a(n);
600
- const c = getComputedStyle(o, "::after");
601
- for (c && c.content && c.content !== "none" && a(c); r.nextNode(); ) {
602
- const t = (
603
- /** @type {Element} */
604
- r.currentNode
605
- ), f = getComputedStyle(t);
606
- a(f);
607
- const s = getComputedStyle(t, "::before");
608
- s && s.content && s.content !== "none" && a(s);
609
- const u = getComputedStyle(t, "::after");
610
- u && u.content && u.content !== "none" && a(u);
611
- }
612
- return e;
358
+ async function M({ required: t, usedCodepoints: i, exclude: a = void 0, localFonts: o = [], useProxy: c = "", fontStylesheetDomains: u = [] } = {}) {
359
+ t instanceof Set || (t = /* @__PURE__ */ new Set()), i instanceof Set || (i = /* @__PURE__ */ new Set());
360
+ let m = /* @__PURE__ */ new Map();
361
+ for (let e of t) {
362
+ let [t, n, r, i] = String(e).split("__");
363
+ if (!t) continue;
364
+ let a = m.get(t) || [];
365
+ a.push({
366
+ w: parseInt(n, 10),
367
+ s: r,
368
+ st: parseInt(i, 10)
369
+ }), m.set(t, a);
370
+ }
371
+ function _(e, t, n, r) {
372
+ if (!m.has(e)) return !1;
373
+ let i = m.get(e), a = d(n), o = f(t), s = p(r), c = a.min !== a.max, u = a.min, h = (e) => o.kind === "normal" && e === "normal" || o.kind !== "normal" && (e === "italic" || e === "oblique"), g = !1;
374
+ for (let e of i) {
375
+ let t = c ? e.w >= a.min && e.w <= a.max : e.w === u, n = h(l(e.s)), r = e.st >= s.min && e.st <= s.max;
376
+ if (t && n && r) {
377
+ g = !0;
378
+ break;
379
+ }
380
+ }
381
+ if (g) return !0;
382
+ if (!c) for (let e of i) {
383
+ let t = h(l(e.s)), n = e.st >= s.min && e.st <= s.max;
384
+ if (Math.abs(u - e.w) <= 300 && t && n) return !0;
385
+ }
386
+ if (!c && o.kind === "normal" && i.some((e) => l(e.s) !== "normal")) for (let e of i) {
387
+ let t = Math.abs(u - e.w) <= 300, n = e.st >= s.min && e.st <= s.max;
388
+ if (t && n) return !0;
389
+ }
390
+ return !1;
391
+ }
392
+ let y = O(a), x = A(t, a, o, c, u);
393
+ if (e.resource?.has(x)) return e.resource.get(x);
394
+ let D = g(t), M = [], N = v;
395
+ for (let e of document.querySelectorAll("style")) {
396
+ let t = e.textContent || "";
397
+ for (let e of t.matchAll(N)) {
398
+ let t = (e[2] || e[4] || "").trim();
399
+ !t || r(t) || document.querySelector(`link[rel="stylesheet"][href="${t}"]`) || M.push(t);
400
+ }
401
+ }
402
+ M.length && await Promise.all(M.map((e) => new Promise((t) => {
403
+ if (document.querySelector(`link[rel="stylesheet"][href="${e}"]`)) return t(null);
404
+ let n = document.createElement("link");
405
+ n.rel = "stylesheet", n.href = e, n.setAttribute("data-snapdom", "injected-import"), n.onload = () => t(n), n.onerror = () => t(null), document.head.appendChild(n);
406
+ })));
407
+ let P = "", F = Array.from(document.querySelectorAll("link[rel=\"stylesheet\"]")).filter((e) => !!e.href);
408
+ for (let e of F) try {
409
+ if (r(e.href)) continue;
410
+ let t = "", o = !1;
411
+ try {
412
+ o = new URL(e.href, location.href).origin === location.origin;
413
+ } catch {}
414
+ if (!o) {
415
+ let t = Array.isArray(u) ? u : [];
416
+ if (!h(e.href, D, t)) continue;
417
+ }
418
+ if (o) {
419
+ let n = Array.from(document.styleSheets).find((t) => t.href === e.href);
420
+ if (n) try {
421
+ let e = n.cssRules || [];
422
+ t = Array.from(e).map((e) => e.cssText).join("");
423
+ } catch {}
424
+ }
425
+ if (!t) {
426
+ let i = await n(e.href, {
427
+ as: "text",
428
+ useProxy: c
429
+ });
430
+ if (i?.ok && typeof i.data == "string" && (t = i.data), r(e.href)) continue;
431
+ }
432
+ t = await b(t, e.href, c);
433
+ let l = "";
434
+ for (let n of t.match(S) || []) {
435
+ let t = s((n.match(/font-family:\s*([^;]+);/i)?.[1] || "").trim());
436
+ if (!t || r(t)) continue;
437
+ let o = (n.match(/font-weight:\s*([^;]+);/i)?.[1] || "400").trim(), u = (n.match(/font-style:\s*([^;]+);/i)?.[1] || "normal").trim(), d = (n.match(/font-stretch:\s*([^;]+);/i)?.[1] || "100%").trim(), f = (n.match(/unicode-range:\s*([^;]+);/i)?.[1] || "").trim(), p = (n.match(/src\s*:\s*([^;}]+)[;}]/i)?.[1] || "").trim(), m = T(p, e.href);
438
+ if (!_(t, u, o, d)) continue;
439
+ let h = C(f);
440
+ if (!w(i, h)) continue;
441
+ let g = {
442
+ family: t,
443
+ weightSpec: o,
444
+ styleSpec: u,
445
+ stretchSpec: d,
446
+ unicodeRange: f,
447
+ srcRaw: p,
448
+ srcUrls: m,
449
+ href: e.href
450
+ };
451
+ if (a && y(g, h)) continue;
452
+ let v = /url\(/i.test(p) ? await E(n, e.href, c) : n;
453
+ l += v;
454
+ }
455
+ l.trim() && (P += l);
456
+ } catch {
457
+ console.warn("[snapDOM] Failed to process stylesheet:", e.href);
458
+ }
459
+ let I = {
460
+ requiredIndex: m,
461
+ usedCodepoints: i,
462
+ faceMatchesRequired: _,
463
+ simpleExcluder: a ? O(a) : null,
464
+ useProxy: c,
465
+ visitedSheets: /* @__PURE__ */ new Set(),
466
+ depth: 0
467
+ };
468
+ for (let e of document.styleSheets) if (!(e.href && F.some((t) => t.href === e.href))) try {
469
+ let t = e.href || location.origin + "/";
470
+ t && I.visitedSheets.add(t), await j(e, t, async (e) => {
471
+ P += e;
472
+ }, I);
473
+ } catch {}
474
+ try {
475
+ for (let t of document.fonts || []) {
476
+ if (!t || !t.family || t.status !== "loaded" || !t._snapdomSrc) continue;
477
+ let i = String(t.family).replace(/^['"]+|['"]+$/g, "");
478
+ if (r(i) || !m.has(i) || a?.families && a.families.some((e) => String(e).toLowerCase() === i.toLowerCase())) continue;
479
+ let o = t._snapdomSrc;
480
+ if (!String(o).startsWith("data:")) {
481
+ if (e.resource?.has(t._snapdomSrc)) o = e.resource.get(t._snapdomSrc), e.font?.add(t._snapdomSrc);
482
+ else if (!e.font?.has(t._snapdomSrc)) try {
483
+ let r = await n(t._snapdomSrc, {
484
+ as: "dataURL",
485
+ useProxy: c,
486
+ silent: !0
487
+ });
488
+ if (r.ok && typeof r.data == "string") o = r.data, e.resource?.set(t._snapdomSrc, o), e.font?.add(t._snapdomSrc);
489
+ else continue;
490
+ } catch {
491
+ console.warn("[snapDOM] Failed to fetch dynamic font src:", t._snapdomSrc);
492
+ continue;
493
+ }
494
+ }
495
+ P += `@font-face{font-family:'${i}';src:url(${o});font-style:${t.style || "normal"};font-weight:${t.weight || "normal"};}`;
496
+ }
497
+ } catch {}
498
+ for (let t of o) {
499
+ if (!t || typeof t != "object") continue;
500
+ let i = String(t.family || "").replace(/^['"]+|['"]+$/g, "");
501
+ if (!i || r(i) || !m.has(i) || a?.families && a.families.some((e) => String(e).toLowerCase() === i.toLowerCase())) continue;
502
+ let o = t.weight == null ? "normal" : String(t.weight), s = t.style == null ? "normal" : String(t.style), l = t.stretchPct == null ? "100%" : `${t.stretchPct}%`, u = String(t.src || ""), d = u;
503
+ if (!d.startsWith("data:")) {
504
+ if (e.resource?.has(u)) d = e.resource.get(u), e.font?.add(u);
505
+ else if (!e.font?.has(u)) try {
506
+ let t = await n(u, {
507
+ as: "dataURL",
508
+ useProxy: c,
509
+ silent: !0
510
+ });
511
+ if (t.ok && typeof t.data == "string") d = t.data, e.resource?.set(u, d), e.font?.add(u);
512
+ else continue;
513
+ } catch {
514
+ console.warn("[snapDOM] Failed to fetch localFonts src:", u);
515
+ continue;
516
+ }
517
+ }
518
+ P += `@font-face{font-family:'${i}';src:url(${d});font-style:${s};font-weight:${o};font-stretch:${l};}`;
519
+ }
520
+ return P && (P = k(P), e.resource?.set(x, P)), P;
613
521
  }
614
- function ht(o) {
615
- const e = /* @__PURE__ */ new Set(), r = (n) => {
616
- if (n)
617
- for (const c of n) e.add(c.codePointAt(0));
618
- }, a = document.createTreeWalker(
619
- o,
620
- NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_TEXT,
621
- null
622
- );
623
- for (; a.nextNode(); ) {
624
- const n = a.currentNode;
625
- if (n.nodeType === Node.TEXT_NODE)
626
- r(n.nodeValue || "");
627
- else if (n.nodeType === Node.ELEMENT_NODE) {
628
- const c = (
629
- /** @type {Element} */
630
- n
631
- );
632
- for (const t of ["::before", "::after"]) {
633
- const s = getComputedStyle(c, t)?.getPropertyValue("content");
634
- if (!(!s || s === "none"))
635
- if (/^"/.test(s) || /^'/.test(s))
636
- r(s.slice(1, -1));
637
- else {
638
- const u = s.match(/\\[0-9A-Fa-f]{1,6}/g);
639
- if (u)
640
- for (const m of u)
641
- try {
642
- e.add(parseInt(m.slice(1), 16));
643
- } catch {
644
- }
645
- }
646
- }
647
- }
648
- }
649
- return e;
522
+ function N(e) {
523
+ let t = /* @__PURE__ */ new Set();
524
+ if (!e) return t;
525
+ let n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, null), r = (e) => {
526
+ let n = s(e.fontFamily);
527
+ n && t.add(((e, t, r) => `${n}__${c(e)}__${l(t)}__${u(r)}`)(e.fontWeight, e.fontStyle, e.fontStretch));
528
+ };
529
+ r(getComputedStyle(e));
530
+ let i = getComputedStyle(e, "::before");
531
+ i && i.content && i.content !== "none" && r(i);
532
+ let a = getComputedStyle(e, "::after");
533
+ for (a && a.content && a.content !== "none" && r(a); n.nextNode();) {
534
+ let e = n.currentNode;
535
+ r(getComputedStyle(e));
536
+ let t = getComputedStyle(e, "::before");
537
+ t && t.content && t.content !== "none" && r(t);
538
+ let i = getComputedStyle(e, "::after");
539
+ i && i.content && i.content !== "none" && r(i);
540
+ }
541
+ return t;
650
542
  }
651
- async function dt(o, e = 2) {
652
- try {
653
- await document.fonts.ready;
654
- } catch {
655
- }
656
- const r = Array.from(o || []).filter(Boolean);
657
- if (r.length === 0) return;
658
- const a = () => {
659
- const n = document.createElement("div");
660
- n.style.cssText = "position:absolute!important;left:-9999px!important;top:0!important;opacity:0!important;pointer-events:none!important;contain:layout size style;";
661
- for (const c of r) {
662
- const t = document.createElement("span");
663
- t.textContent = "AaBbGg1234ÁÉÍÓÚçñ—∞", t.style.fontFamily = `"${c}"`, t.style.fontWeight = "700", t.style.fontStyle = "italic", t.style.fontSize = "32px", t.style.lineHeight = "1", t.style.whiteSpace = "nowrap", t.style.margin = "0", t.style.padding = "0", n.appendChild(t);
664
- }
665
- document.body.appendChild(n), n.offsetWidth, document.body.removeChild(n);
666
- };
667
- for (let n = 0; n < Math.max(1, e); n++)
668
- a(), await new Promise(
669
- (c) => requestAnimationFrame(() => requestAnimationFrame(c))
670
- );
543
+ function P(e) {
544
+ let t = /* @__PURE__ */ new Set(), n = (e) => {
545
+ if (e) for (let n of e) t.add(n.codePointAt(0));
546
+ }, r = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_TEXT, null);
547
+ for (; r.nextNode();) {
548
+ let e = r.currentNode;
549
+ if (e.nodeType === Node.TEXT_NODE) n(e.nodeValue || "");
550
+ else if (e.nodeType === Node.ELEMENT_NODE) {
551
+ let r = e;
552
+ for (let e of ["::before", "::after"]) {
553
+ let i = getComputedStyle(r, e)?.getPropertyValue("content");
554
+ if (!(!i || i === "none")) if (/^"/.test(i) || /^'/.test(i)) n(i.slice(1, -1));
555
+ else {
556
+ let e = i.match(/\\[0-9A-Fa-f]{1,6}/g);
557
+ if (e) for (let n of e) try {
558
+ t.add(parseInt(n.slice(1), 16));
559
+ } catch {}
560
+ }
561
+ }
562
+ }
563
+ }
564
+ return t;
671
565
  }
672
- export {
673
- ht as collectUsedCodepoints,
674
- mt as collectUsedFontVariants,
675
- ut as embedCustomFonts,
676
- dt as ensureFontsReady,
677
- lt as iconToImage
678
- };
566
+ async function F(e, t = 2) {
567
+ try {
568
+ await document.fonts.ready;
569
+ } catch {}
570
+ let n = Array.from(e || []).filter(Boolean);
571
+ if (n.length === 0) return;
572
+ let r = () => {
573
+ let e = document.createElement("div");
574
+ e.style.cssText = "position:absolute!important;left:-9999px!important;top:0!important;opacity:0!important;pointer-events:none!important;contain:layout size style;";
575
+ for (let t of n) {
576
+ let n = document.createElement("span");
577
+ n.textContent = "AaBbGg1234ÁÉÍÓÚçñ—∞", n.style.fontFamily = `"${t}"`, n.style.fontWeight = "700", n.style.fontStyle = "italic", n.style.fontSize = "32px", n.style.lineHeight = "1", n.style.whiteSpace = "nowrap", n.style.margin = "0", n.style.padding = "0", e.appendChild(n);
578
+ }
579
+ document.body.appendChild(e), e.offsetWidth, document.body.removeChild(e);
580
+ };
581
+ for (let e = 0; e < Math.max(1, t); e++) r(), await new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(e)));
582
+ }
583
+ //#endregion
584
+ export { P as collectUsedCodepoints, N as collectUsedFontVariants, M as embedCustomFonts, F as ensureFontsReady, i as iconToImage };
585
+ /* 独立思考,明辨是非 */