@unicom-cloud/utils 0.1.40 → 0.1.42

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 (913) hide show
  1. package/.virtual/_rolldown/runtime.js +1 -1
  2. package/.vite/manifest.json +40 -15
  3. package/array/index.js +1 -1
  4. package/assert/index.js +1 -1
  5. package/case-name/index.js +1 -1
  6. package/class-name/index.js +1 -1
  7. package/clipboard-copy/index.js +1 -1
  8. package/constant/address.js +1 -1
  9. package/constant/chineseCharacters.js +1 -1
  10. package/constant/constellations.js +1 -1
  11. package/constant/domain.js +1 -1
  12. package/constant/identity.js +1 -1
  13. package/constant/index.js +1 -1
  14. package/constant/isMobile.js +1 -1
  15. package/constant/keyboardCode.js +1 -1
  16. package/constant/licensePlate.js +1 -1
  17. package/constant/name.js +1 -1
  18. package/constant/platform.js +1 -1
  19. package/constant/protocol.js +1 -1
  20. package/constant/string.js +1 -1
  21. package/constant/ui.js +1 -1
  22. package/content-disposition/index.js +23 -23
  23. package/cookie/api.js +24 -23
  24. package/cookie/assign.js +1 -1
  25. package/cookie/converter.js +1 -1
  26. package/cookie/index.js +1 -1
  27. package/date/convertTime.js +10 -9
  28. package/date/convertToDuration.js +1 -1
  29. package/date/index.js +1 -1
  30. package/decimal/decimal.js +357 -356
  31. package/decimal/index.js +1 -1
  32. package/dom-helpers/activeElement.js +1 -1
  33. package/dom-helpers/addClass.js +2 -2
  34. package/dom-helpers/addEventListener.js +1 -1
  35. package/dom-helpers/animate.js +1 -1
  36. package/dom-helpers/animationFrame.js +1 -1
  37. package/dom-helpers/attribute.js +7 -6
  38. package/dom-helpers/camelize.js +1 -1
  39. package/dom-helpers/camelizeStyle.js +1 -1
  40. package/dom-helpers/canUseDOM.js +4 -3
  41. package/dom-helpers/childElements.js +1 -1
  42. package/dom-helpers/childNodes.js +1 -1
  43. package/dom-helpers/clear.js +1 -1
  44. package/dom-helpers/closest.js +1 -1
  45. package/dom-helpers/collectElements.js +1 -1
  46. package/dom-helpers/collectSiblings.js +1 -1
  47. package/dom-helpers/contains.js +1 -1
  48. package/dom-helpers/css.js +1 -1
  49. package/dom-helpers/filterEventHandler.js +1 -1
  50. package/dom-helpers/getComputedStyle.js +1 -1
  51. package/dom-helpers/getElementCoordinates.js +1 -1
  52. package/dom-helpers/getScrollAccessor.js +1 -1
  53. package/dom-helpers/hasClass.js +1 -1
  54. package/dom-helpers/height.js +1 -1
  55. package/dom-helpers/hyphenate.js +1 -1
  56. package/dom-helpers/hyphenateStyle.js +1 -1
  57. package/dom-helpers/index.js +1 -1
  58. package/dom-helpers/insertAfter.js +2 -2
  59. package/dom-helpers/isDocument.js +1 -1
  60. package/dom-helpers/isInput.js +1 -1
  61. package/dom-helpers/isTransform.js +1 -1
  62. package/dom-helpers/isVisible.js +1 -1
  63. package/dom-helpers/isWindow.js +1 -1
  64. package/dom-helpers/listen.js +1 -1
  65. package/dom-helpers/matches.js +1 -1
  66. package/dom-helpers/nextUntil.js +1 -1
  67. package/dom-helpers/offset.js +16 -15
  68. package/dom-helpers/offsetParent.js +2 -2
  69. package/dom-helpers/ownerDocument.js +2 -2
  70. package/dom-helpers/ownerWindow.js +2 -3
  71. package/dom-helpers/parents.js +1 -1
  72. package/dom-helpers/position.js +2 -2
  73. package/dom-helpers/prepend.js +1 -1
  74. package/dom-helpers/querySelectorAll.js +1 -1
  75. package/dom-helpers/reflow.js +1 -1
  76. package/dom-helpers/remove.js +2 -2
  77. package/dom-helpers/removeClass.js +2 -2
  78. package/dom-helpers/removeEventListener.js +1 -1
  79. package/dom-helpers/scrollLeft.js +1 -1
  80. package/dom-helpers/scrollParent.js +1 -1
  81. package/dom-helpers/scrollTo.js +1 -1
  82. package/dom-helpers/scrollTop.js +1 -1
  83. package/dom-helpers/scrollbarSize.js +1 -1
  84. package/dom-helpers/siblings.js +2 -2
  85. package/dom-helpers/text.js +1 -1
  86. package/dom-helpers/toggleClass.js +1 -1
  87. package/dom-helpers/transitionEnd.js +1 -1
  88. package/dom-helpers/triggerEvent.js +1 -1
  89. package/dom-helpers/types.js +1 -1
  90. package/dom-helpers/width.js +1 -1
  91. package/emitter/index.js +1 -1
  92. package/emoji/emoji.js +2 -2
  93. package/emoji/emojis.js +1 -1
  94. package/emoji/index.js +1 -1
  95. package/escape/index.js +1 -1
  96. package/file/fileRead.js +1 -1
  97. package/file/fileToDataURL.js +1 -1
  98. package/file/index.js +1 -1
  99. package/file/saveAs.js +1 -1
  100. package/filesize/constants.js +1 -1
  101. package/filesize/filesize.js +1 -1
  102. package/filesize/helpers.js +1 -1
  103. package/filesize/index.js +1 -1
  104. package/function/index.js +1 -1
  105. package/idb/async-iterators.js +1 -1
  106. package/idb/database-extras.js +1 -1
  107. package/idb/entry.js +1 -1
  108. package/idb/index-.js +1 -1
  109. package/idb/index.js +1 -1
  110. package/idb/util.js +1 -1
  111. package/idb/wrap-idb-value.js +1 -1
  112. package/index.js +1 -1
  113. package/invariant/index.js +10 -9
  114. package/is/index.d.ts +48 -20
  115. package/is/index.js +116 -95
  116. package/is/lib/isAscii.js +1 -1
  117. package/is/lib/isBase64.js +1 -1
  118. package/is/lib/isChinese.js +1 -1
  119. package/is/lib/isDataURI.js +1 -1
  120. package/is/lib/isEmail.js +1 -1
  121. package/is/lib/isFQDN.js +1 -1
  122. package/is/lib/isFullWidth.js +1 -1
  123. package/is/lib/isHSL.js +1 -1
  124. package/is/lib/isHalfWidth.js +1 -1
  125. package/is/lib/isHash.js +1 -1
  126. package/is/lib/isHexColor.js +1 -1
  127. package/is/lib/isIMEI.js +1 -1
  128. package/is/lib/isIP.js +1 -1
  129. package/is/lib/isIPRange.js +1 -1
  130. package/is/lib/isIdentityCard.js +1 -1
  131. package/is/lib/isJWT.js +1 -1
  132. package/is/lib/isMACAddress.js +1 -1
  133. package/is/lib/isMD5.js +1 -1
  134. package/is/lib/isMimeType.js +1 -1
  135. package/is/lib/isMobilePhone.js +2 -2
  136. package/is/lib/isPort.js +1 -1
  137. package/is/lib/isRgbColor.js +1 -1
  138. package/is/lib/isSemVer.js +1 -1
  139. package/is/lib/isSlug.js +1 -1
  140. package/is/lib/isStrongPassword.js +1 -1
  141. package/is/lib/isURL.js +33 -32
  142. package/is/lib/isUUID.js +1 -1
  143. package/is/lib/isVariableWidth.js +1 -1
  144. package/lodash/_DataView.js +1 -1
  145. package/lodash/_Hash.js +1 -1
  146. package/lodash/_LazyWrapper.js +1 -1
  147. package/lodash/_ListCache.js +1 -1
  148. package/lodash/_LodashWrapper.js +1 -1
  149. package/lodash/_Map.js +1 -1
  150. package/lodash/_MapCache.js +1 -1
  151. package/lodash/_Promise.js +1 -1
  152. package/lodash/_Set.js +1 -1
  153. package/lodash/_SetCache.js +1 -1
  154. package/lodash/_Stack.js +3 -2
  155. package/lodash/_Symbol.js +1 -1
  156. package/lodash/_Uint8Array.js +1 -1
  157. package/lodash/_WeakMap.js +1 -1
  158. package/lodash/_addMapEntry.js +1 -1
  159. package/lodash/_addSetEntry.js +1 -1
  160. package/lodash/_apply.js +1 -1
  161. package/lodash/_arrayAggregator.js +1 -1
  162. package/lodash/_arrayEach.js +1 -1
  163. package/lodash/_arrayEachRight.js +1 -1
  164. package/lodash/_arrayEvery.js +1 -1
  165. package/lodash/_arrayFilter.js +1 -1
  166. package/lodash/_arrayIncludes.js +1 -1
  167. package/lodash/_arrayIncludesWith.js +1 -1
  168. package/lodash/_arrayLikeKeys.js +1 -1
  169. package/lodash/_arrayMap.js +1 -1
  170. package/lodash/_arrayPush.js +1 -1
  171. package/lodash/_arrayReduce.js +1 -1
  172. package/lodash/_arrayReduceRight.js +1 -1
  173. package/lodash/_arraySample.js +1 -1
  174. package/lodash/_arraySampleSize.js +1 -1
  175. package/lodash/_arrayShuffle.js +1 -1
  176. package/lodash/_arraySome.js +1 -1
  177. package/lodash/_asciiSize.js +1 -1
  178. package/lodash/_asciiToArray.js +1 -1
  179. package/lodash/_asciiWords.js +1 -1
  180. package/lodash/_assignMergeValue.js +1 -1
  181. package/lodash/_assignValue.js +1 -1
  182. package/lodash/_assocIndexOf.js +1 -1
  183. package/lodash/_baseAggregator.js +1 -1
  184. package/lodash/_baseAssign.js +1 -1
  185. package/lodash/_baseAssignIn.js +1 -1
  186. package/lodash/_baseAssignValue.js +1 -1
  187. package/lodash/_baseAt.js +1 -1
  188. package/lodash/_baseClamp.js +1 -1
  189. package/lodash/_baseClone.js +1 -1
  190. package/lodash/_baseConforms.js +1 -1
  191. package/lodash/_baseConformsTo.js +1 -1
  192. package/lodash/_baseCreate.js +1 -1
  193. package/lodash/_baseDelay.js +1 -1
  194. package/lodash/_baseDifference.js +1 -1
  195. package/lodash/_baseEach.js +1 -1
  196. package/lodash/_baseEachRight.js +1 -1
  197. package/lodash/_baseEvery.js +1 -1
  198. package/lodash/_baseExtremum.js +1 -1
  199. package/lodash/_baseFill.js +1 -1
  200. package/lodash/_baseFilter.js +1 -1
  201. package/lodash/_baseFindIndex.js +1 -1
  202. package/lodash/_baseFindKey.js +1 -1
  203. package/lodash/_baseFlatten.js +1 -1
  204. package/lodash/_baseFor.js +1 -1
  205. package/lodash/_baseForOwn.js +1 -1
  206. package/lodash/_baseForOwnRight.js +1 -1
  207. package/lodash/_baseForRight.js +1 -1
  208. package/lodash/_baseFunctions.js +1 -1
  209. package/lodash/_baseGet.js +1 -1
  210. package/lodash/_baseGetAllKeys.js +1 -1
  211. package/lodash/_baseGetTag.js +1 -1
  212. package/lodash/_baseGt.js +1 -1
  213. package/lodash/_baseHas.js +1 -1
  214. package/lodash/_baseHasIn.js +1 -1
  215. package/lodash/_baseInRange.js +1 -1
  216. package/lodash/_baseIndexOf.js +1 -1
  217. package/lodash/_baseIndexOfWith.js +1 -1
  218. package/lodash/_baseIntersection.js +1 -1
  219. package/lodash/_baseInverter.js +1 -1
  220. package/lodash/_baseInvoke.js +1 -1
  221. package/lodash/_baseIsArguments.js +1 -1
  222. package/lodash/_baseIsArrayBuffer.js +1 -1
  223. package/lodash/_baseIsDate.js +1 -1
  224. package/lodash/_baseIsEqual.js +1 -1
  225. package/lodash/_baseIsEqualDeep.js +1 -1
  226. package/lodash/_baseIsMap.js +1 -1
  227. package/lodash/_baseIsMatch.js +1 -1
  228. package/lodash/_baseIsNaN.js +1 -1
  229. package/lodash/_baseIsNative.js +1 -1
  230. package/lodash/_baseIsRegExp.js +1 -1
  231. package/lodash/_baseIsSet.js +1 -1
  232. package/lodash/_baseIsTypedArray.js +1 -1
  233. package/lodash/_baseIteratee.js +1 -1
  234. package/lodash/_baseKeys.js +1 -1
  235. package/lodash/_baseKeysIn.js +1 -1
  236. package/lodash/_baseLodash.js +1 -1
  237. package/lodash/_baseLt.js +1 -1
  238. package/lodash/_baseMap.js +1 -1
  239. package/lodash/_baseMatches.js +1 -1
  240. package/lodash/_baseMatchesProperty.js +1 -1
  241. package/lodash/_baseMean.js +1 -1
  242. package/lodash/_baseMerge.js +1 -1
  243. package/lodash/_baseMergeDeep.js +1 -1
  244. package/lodash/_baseNth.js +1 -1
  245. package/lodash/_baseOrderBy.js +1 -1
  246. package/lodash/_basePick.js +1 -1
  247. package/lodash/_basePickBy.js +1 -1
  248. package/lodash/_baseProperty.js +1 -1
  249. package/lodash/_basePropertyDeep.js +1 -1
  250. package/lodash/_basePropertyOf.js +1 -1
  251. package/lodash/_basePullAll.js +1 -1
  252. package/lodash/_basePullAt.js +1 -1
  253. package/lodash/_baseRandom.js +1 -1
  254. package/lodash/_baseRange.js +1 -1
  255. package/lodash/_baseReduce.js +1 -1
  256. package/lodash/_baseRepeat.js +1 -1
  257. package/lodash/_baseRest.js +1 -1
  258. package/lodash/_baseSample.js +1 -1
  259. package/lodash/_baseSampleSize.js +1 -1
  260. package/lodash/_baseSet.js +1 -1
  261. package/lodash/_baseSetData.js +1 -1
  262. package/lodash/_baseSetToString.js +1 -1
  263. package/lodash/_baseShuffle.js +1 -1
  264. package/lodash/_baseSlice.js +1 -1
  265. package/lodash/_baseSome.js +1 -1
  266. package/lodash/_baseSortBy.js +1 -1
  267. package/lodash/_baseSortedIndex.js +1 -1
  268. package/lodash/_baseSortedIndexBy.js +1 -1
  269. package/lodash/_baseSortedUniq.js +1 -1
  270. package/lodash/_baseSum.js +1 -1
  271. package/lodash/_baseTimes.js +1 -1
  272. package/lodash/_baseToNumber.js +1 -1
  273. package/lodash/_baseToPairs.js +1 -1
  274. package/lodash/_baseToString.js +1 -1
  275. package/lodash/_baseTrim.js +1 -1
  276. package/lodash/_baseUnary.js +1 -1
  277. package/lodash/_baseUniq.js +1 -1
  278. package/lodash/_baseUnset.js +1 -1
  279. package/lodash/_baseUpdate.js +1 -1
  280. package/lodash/_baseValues.js +1 -1
  281. package/lodash/_baseWhile.js +1 -1
  282. package/lodash/_baseWrapperValue.js +1 -1
  283. package/lodash/_baseXor.js +1 -1
  284. package/lodash/_baseZipObject.js +1 -1
  285. package/lodash/_cacheHas.js +1 -1
  286. package/lodash/_castArrayLikeObject.js +1 -1
  287. package/lodash/_castFunction.js +1 -1
  288. package/lodash/_castPath.js +1 -1
  289. package/lodash/_castRest.js +1 -1
  290. package/lodash/_castSlice.js +1 -1
  291. package/lodash/_charsEndIndex.js +1 -1
  292. package/lodash/_charsStartIndex.js +1 -1
  293. package/lodash/_cloneArrayBuffer.js +1 -1
  294. package/lodash/_cloneBuffer.js +1 -1
  295. package/lodash/_cloneDataView.js +1 -1
  296. package/lodash/_cloneMap.js +1 -1
  297. package/lodash/_cloneRegExp.js +1 -1
  298. package/lodash/_cloneSet.js +1 -1
  299. package/lodash/_cloneSymbol.js +1 -1
  300. package/lodash/_cloneTypedArray.js +1 -1
  301. package/lodash/_compareAscending.js +1 -1
  302. package/lodash/_compareMultiple.js +1 -1
  303. package/lodash/_composeArgs.js +1 -1
  304. package/lodash/_composeArgsRight.js +1 -1
  305. package/lodash/_copyArray.js +1 -1
  306. package/lodash/_copyObject.js +1 -1
  307. package/lodash/_copySymbols.js +1 -1
  308. package/lodash/_copySymbolsIn.js +1 -1
  309. package/lodash/_coreJsData.js +1 -1
  310. package/lodash/_countHolders.js +1 -1
  311. package/lodash/_createAggregator.js +1 -1
  312. package/lodash/_createAssigner.js +1 -1
  313. package/lodash/_createBaseEach.js +1 -1
  314. package/lodash/_createBaseFor.js +1 -1
  315. package/lodash/_createBind.js +1 -1
  316. package/lodash/_createCaseFirst.js +1 -1
  317. package/lodash/_createCompounder.js +1 -1
  318. package/lodash/_createCtor.js +1 -1
  319. package/lodash/_createCurry.js +1 -1
  320. package/lodash/_createFind.js +1 -1
  321. package/lodash/_createFlow.js +1 -1
  322. package/lodash/_createHybrid.js +1 -1
  323. package/lodash/_createInverter.js +1 -1
  324. package/lodash/_createMathOperation.js +1 -1
  325. package/lodash/_createOver.js +1 -1
  326. package/lodash/_createPadding.js +1 -1
  327. package/lodash/_createPartial.js +1 -1
  328. package/lodash/_createRange.js +1 -1
  329. package/lodash/_createRecurry.js +1 -1
  330. package/lodash/_createRelationalOperation.js +1 -1
  331. package/lodash/_createRound.js +1 -1
  332. package/lodash/_createSet.js +1 -1
  333. package/lodash/_createToPairs.js +1 -1
  334. package/lodash/_createWrap.js +1 -1
  335. package/lodash/_customDefaultsAssignIn.js +1 -1
  336. package/lodash/_customDefaultsMerge.js +1 -1
  337. package/lodash/_customOmitClone.js +1 -1
  338. package/lodash/_deburrLetter.js +1 -1
  339. package/lodash/_defineProperty.js +1 -1
  340. package/lodash/_equalArrays.js +1 -1
  341. package/lodash/_equalByTag.js +1 -1
  342. package/lodash/_equalObjects.js +1 -1
  343. package/lodash/_escapeHtmlChar.js +1 -1
  344. package/lodash/_escapeStringChar.js +1 -1
  345. package/lodash/_flatRest.js +1 -1
  346. package/lodash/_freeGlobal.js +1 -1
  347. package/lodash/_getAllKeys.js +1 -1
  348. package/lodash/_getAllKeysIn.js +1 -1
  349. package/lodash/_getData.js +1 -1
  350. package/lodash/_getFuncName.js +1 -1
  351. package/lodash/_getHolder.js +1 -1
  352. package/lodash/_getMapData.js +1 -1
  353. package/lodash/_getMatchData.js +1 -1
  354. package/lodash/_getNative.js +1 -1
  355. package/lodash/_getPrototype.js +1 -1
  356. package/lodash/_getRawTag.js +1 -1
  357. package/lodash/_getSymbols.js +1 -1
  358. package/lodash/_getSymbolsIn.js +1 -1
  359. package/lodash/_getTag.js +1 -1
  360. package/lodash/_getValue.js +1 -1
  361. package/lodash/_getView.js +1 -1
  362. package/lodash/_getWrapDetails.js +1 -1
  363. package/lodash/_hasPath.js +1 -1
  364. package/lodash/_hasUnicode.js +1 -1
  365. package/lodash/_hasUnicodeWord.js +1 -1
  366. package/lodash/_hashClear.js +1 -1
  367. package/lodash/_hashDelete.js +2 -2
  368. package/lodash/_hashGet.js +1 -1
  369. package/lodash/_hashHas.js +1 -1
  370. package/lodash/_hashSet.js +2 -2
  371. package/lodash/_initCloneArray.js +1 -1
  372. package/lodash/_initCloneByTag.js +1 -1
  373. package/lodash/_initCloneObject.js +1 -1
  374. package/lodash/_insertWrapDetails.js +1 -1
  375. package/lodash/_isFlattenable.js +1 -1
  376. package/lodash/_isIndex.js +1 -1
  377. package/lodash/_isIterateeCall.js +1 -1
  378. package/lodash/_isKey.js +1 -1
  379. package/lodash/_isKeyable.js +1 -1
  380. package/lodash/_isLaziable.js +1 -1
  381. package/lodash/_isMaskable.js +1 -1
  382. package/lodash/_isMasked.js +1 -1
  383. package/lodash/_isPrototype.js +1 -1
  384. package/lodash/_isStrictComparable.js +1 -1
  385. package/lodash/_iteratorToArray.js +1 -1
  386. package/lodash/_lazyClone.js +1 -1
  387. package/lodash/_lazyReverse.js +1 -1
  388. package/lodash/_lazyValue.js +1 -1
  389. package/lodash/_listCacheClear.js +1 -1
  390. package/lodash/_listCacheDelete.js +1 -1
  391. package/lodash/_listCacheGet.js +1 -1
  392. package/lodash/_listCacheHas.js +1 -1
  393. package/lodash/_listCacheSet.js +1 -1
  394. package/lodash/_mapCacheClear.js +1 -1
  395. package/lodash/_mapCacheDelete.js +2 -2
  396. package/lodash/_mapCacheGet.js +1 -1
  397. package/lodash/_mapCacheHas.js +1 -1
  398. package/lodash/_mapCacheSet.js +1 -1
  399. package/lodash/_mapToArray.js +1 -1
  400. package/lodash/_matchesStrictComparable.js +1 -1
  401. package/lodash/_memoizeCapped.js +1 -1
  402. package/lodash/_mergeData.js +1 -1
  403. package/lodash/_metaMap.js +1 -1
  404. package/lodash/_nativeCreate.js +1 -1
  405. package/lodash/_nativeKeys.js +1 -1
  406. package/lodash/_nativeKeysIn.js +1 -1
  407. package/lodash/_nodeUtil.js +1 -1
  408. package/lodash/_objectToString.js +1 -1
  409. package/lodash/_overArg.js +1 -1
  410. package/lodash/_overRest.js +1 -1
  411. package/lodash/_parent.js +1 -1
  412. package/lodash/_reEscape.js +1 -1
  413. package/lodash/_reEvaluate.js +1 -1
  414. package/lodash/_reInterpolate.js +1 -1
  415. package/lodash/_realNames.js +1 -1
  416. package/lodash/_reorder.js +1 -1
  417. package/lodash/_replaceHolders.js +1 -1
  418. package/lodash/_root.js +1 -1
  419. package/lodash/_safeGet.js +1 -1
  420. package/lodash/_setCacheAdd.js +1 -1
  421. package/lodash/_setCacheHas.js +1 -1
  422. package/lodash/_setData.js +1 -1
  423. package/lodash/_setToArray.js +1 -1
  424. package/lodash/_setToPairs.js +1 -1
  425. package/lodash/_setToString.js +1 -1
  426. package/lodash/_setWrapToString.js +1 -1
  427. package/lodash/_shortOut.js +1 -1
  428. package/lodash/_shuffleSelf.js +1 -1
  429. package/lodash/_stackClear.js +1 -1
  430. package/lodash/_stackDelete.js +1 -1
  431. package/lodash/_stackGet.js +1 -1
  432. package/lodash/_stackHas.js +1 -1
  433. package/lodash/_stackSet.js +1 -1
  434. package/lodash/_strictIndexOf.js +1 -1
  435. package/lodash/_strictLastIndexOf.js +1 -1
  436. package/lodash/_stringSize.js +1 -1
  437. package/lodash/_stringToArray.js +1 -1
  438. package/lodash/_stringToPath.js +1 -1
  439. package/lodash/_toKey.js +1 -1
  440. package/lodash/_toSource.js +1 -1
  441. package/lodash/_trimmedEndIndex.js +1 -1
  442. package/lodash/_unescapeHtmlChar.js +1 -1
  443. package/lodash/_unicodeSize.js +1 -1
  444. package/lodash/_unicodeToArray.js +1 -1
  445. package/lodash/_unicodeWords.js +1 -1
  446. package/lodash/_updateWrapDetails.js +1 -1
  447. package/lodash/_wrapperClone.js +1 -1
  448. package/lodash/add.js +1 -1
  449. package/lodash/after.js +1 -1
  450. package/lodash/array.default.js +1 -1
  451. package/lodash/array.js +1 -1
  452. package/lodash/ary.js +1 -1
  453. package/lodash/assign.js +1 -1
  454. package/lodash/assignIn.js +1 -1
  455. package/lodash/assignInWith.js +1 -1
  456. package/lodash/assignWith.js +1 -1
  457. package/lodash/at.js +1 -1
  458. package/lodash/attempt.js +1 -1
  459. package/lodash/before.js +1 -1
  460. package/lodash/bind.js +1 -1
  461. package/lodash/bindAll.js +1 -1
  462. package/lodash/bindKey.js +1 -1
  463. package/lodash/camelCase.js +1 -1
  464. package/lodash/capitalize.js +1 -1
  465. package/lodash/castArray.js +1 -1
  466. package/lodash/ceil.js +1 -1
  467. package/lodash/chain.js +1 -1
  468. package/lodash/chunk.js +1 -1
  469. package/lodash/clamp.js +1 -1
  470. package/lodash/clone.js +1 -1
  471. package/lodash/cloneDeep.js +1 -1
  472. package/lodash/cloneDeepWith.js +1 -1
  473. package/lodash/cloneWith.js +1 -1
  474. package/lodash/collection.default.js +1 -1
  475. package/lodash/collection.js +1 -1
  476. package/lodash/commit.js +1 -1
  477. package/lodash/compact.js +1 -1
  478. package/lodash/concat.js +1 -1
  479. package/lodash/cond.js +1 -1
  480. package/lodash/conforms.js +1 -1
  481. package/lodash/conformsTo.js +1 -1
  482. package/lodash/constant.js +1 -1
  483. package/lodash/countBy.js +1 -1
  484. package/lodash/create.js +1 -1
  485. package/lodash/curry.js +1 -1
  486. package/lodash/curryRight.js +1 -1
  487. package/lodash/date.default.js +1 -1
  488. package/lodash/date.js +1 -1
  489. package/lodash/debounce.js +1 -1
  490. package/lodash/deburr.js +1 -1
  491. package/lodash/defaultTo.js +1 -1
  492. package/lodash/defaults.js +1 -1
  493. package/lodash/defaultsDeep.js +1 -1
  494. package/lodash/defer.js +1 -1
  495. package/lodash/delay.js +1 -1
  496. package/lodash/difference.js +1 -1
  497. package/lodash/differenceBy.js +1 -1
  498. package/lodash/differenceWith.js +1 -1
  499. package/lodash/divide.js +1 -1
  500. package/lodash/drop.js +1 -1
  501. package/lodash/dropRight.js +1 -1
  502. package/lodash/dropRightWhile.js +1 -1
  503. package/lodash/dropWhile.js +1 -1
  504. package/lodash/each.js +1 -1
  505. package/lodash/eachRight.js +1 -1
  506. package/lodash/endsWith.js +1 -1
  507. package/lodash/entries.js +1 -1
  508. package/lodash/entriesIn.js +1 -1
  509. package/lodash/eq.js +1 -1
  510. package/lodash/escape.js +1 -1
  511. package/lodash/escapeRegExp.js +1 -1
  512. package/lodash/every.js +1 -1
  513. package/lodash/extend.js +1 -1
  514. package/lodash/extendWith.js +1 -1
  515. package/lodash/fill.js +1 -1
  516. package/lodash/filter.js +1 -1
  517. package/lodash/find.js +1 -1
  518. package/lodash/findIndex.js +1 -1
  519. package/lodash/findKey.js +1 -1
  520. package/lodash/findLast.js +1 -1
  521. package/lodash/findLastIndex.js +1 -1
  522. package/lodash/findLastKey.js +1 -1
  523. package/lodash/first.js +1 -1
  524. package/lodash/flatMap.js +1 -1
  525. package/lodash/flatMapDeep.js +1 -1
  526. package/lodash/flatMapDepth.js +1 -1
  527. package/lodash/flatten.js +1 -1
  528. package/lodash/flattenDeep.js +1 -1
  529. package/lodash/flattenDepth.js +1 -1
  530. package/lodash/flip.js +1 -1
  531. package/lodash/floor.js +1 -1
  532. package/lodash/flow.js +1 -1
  533. package/lodash/flowRight.js +1 -1
  534. package/lodash/forEach.js +1 -1
  535. package/lodash/forEachRight.js +1 -1
  536. package/lodash/forIn.js +1 -1
  537. package/lodash/forInRight.js +1 -1
  538. package/lodash/forOwn.js +1 -1
  539. package/lodash/forOwnRight.js +1 -1
  540. package/lodash/fromPairs.js +1 -1
  541. package/lodash/function.default.js +1 -1
  542. package/lodash/function.js +1 -1
  543. package/lodash/functions.js +1 -1
  544. package/lodash/functionsIn.js +1 -1
  545. package/lodash/get.js +1 -1
  546. package/lodash/groupBy.js +1 -1
  547. package/lodash/gt.js +1 -1
  548. package/lodash/gte.js +1 -1
  549. package/lodash/has.js +1 -1
  550. package/lodash/hasIn.js +1 -1
  551. package/lodash/head.js +1 -1
  552. package/lodash/identity.js +1 -1
  553. package/lodash/inRange.js +1 -1
  554. package/lodash/includes.js +1 -1
  555. package/lodash/index.js +1 -1
  556. package/lodash/indexOf.js +1 -1
  557. package/lodash/initial.js +1 -1
  558. package/lodash/intersection.js +1 -1
  559. package/lodash/intersectionBy.js +1 -1
  560. package/lodash/intersectionWith.js +1 -1
  561. package/lodash/invert.js +1 -1
  562. package/lodash/invertBy.js +1 -1
  563. package/lodash/invoke.js +1 -1
  564. package/lodash/invokeMap.js +1 -1
  565. package/lodash/isArguments.js +1 -1
  566. package/lodash/isArray.js +1 -1
  567. package/lodash/isArrayBuffer.js +1 -1
  568. package/lodash/isArrayLike.js +1 -1
  569. package/lodash/isArrayLikeObject.js +1 -1
  570. package/lodash/isBoolean.js +1 -1
  571. package/lodash/isBuffer.js +1 -1
  572. package/lodash/isDate.js +1 -1
  573. package/lodash/isElement.js +1 -1
  574. package/lodash/isEmpty.js +1 -1
  575. package/lodash/isEqual.js +1 -1
  576. package/lodash/isEqualWith.js +1 -1
  577. package/lodash/isError.js +1 -1
  578. package/lodash/isFinite.js +1 -1
  579. package/lodash/isFunction.js +1 -1
  580. package/lodash/isInteger.js +1 -1
  581. package/lodash/isLength.js +1 -1
  582. package/lodash/isMap.js +1 -1
  583. package/lodash/isMatch.js +1 -1
  584. package/lodash/isMatchWith.js +1 -1
  585. package/lodash/isNaN.js +1 -1
  586. package/lodash/isNative.js +1 -1
  587. package/lodash/isNil.js +1 -1
  588. package/lodash/isNull.js +1 -1
  589. package/lodash/isNumber.js +1 -1
  590. package/lodash/isObject.js +1 -1
  591. package/lodash/isObjectLike.js +1 -1
  592. package/lodash/isPlainObject.js +1 -1
  593. package/lodash/isPromise.js +1 -1
  594. package/lodash/isRegExp.js +1 -1
  595. package/lodash/isSafeInteger.js +1 -1
  596. package/lodash/isSet.js +1 -1
  597. package/lodash/isString.js +1 -1
  598. package/lodash/isSymbol.js +1 -1
  599. package/lodash/isTypedArray.js +1 -1
  600. package/lodash/isUndefined.js +1 -1
  601. package/lodash/isWeakMap.js +1 -1
  602. package/lodash/isWeakSet.js +1 -1
  603. package/lodash/iteratee.js +1 -1
  604. package/lodash/join.js +1 -1
  605. package/lodash/kebabCase.js +1 -1
  606. package/lodash/keyBy.js +1 -1
  607. package/lodash/keys.js +1 -1
  608. package/lodash/keysIn.js +1 -1
  609. package/lodash/lang.default.js +1 -1
  610. package/lodash/lang.js +1 -1
  611. package/lodash/last.js +1 -1
  612. package/lodash/lastIndexOf.js +1 -1
  613. package/lodash/lodash.default.js +1 -1
  614. package/lodash/lodash.js +1 -1
  615. package/lodash/lowerCase.js +1 -1
  616. package/lodash/lowerFirst.js +1 -1
  617. package/lodash/lt.js +1 -1
  618. package/lodash/lte.js +1 -1
  619. package/lodash/map.js +1 -1
  620. package/lodash/mapKeys.js +1 -1
  621. package/lodash/mapValues.js +1 -1
  622. package/lodash/matches.js +1 -1
  623. package/lodash/matchesProperty.js +1 -1
  624. package/lodash/math.default.js +1 -1
  625. package/lodash/math.js +1 -1
  626. package/lodash/max.js +1 -1
  627. package/lodash/maxBy.js +1 -1
  628. package/lodash/mean.js +1 -1
  629. package/lodash/meanBy.js +1 -1
  630. package/lodash/memoize.js +1 -1
  631. package/lodash/merge.js +1 -1
  632. package/lodash/mergeWith.js +1 -1
  633. package/lodash/method.js +1 -1
  634. package/lodash/methodOf.js +1 -1
  635. package/lodash/min.js +1 -1
  636. package/lodash/minBy.js +1 -1
  637. package/lodash/mixin.js +1 -1
  638. package/lodash/multiply.js +1 -1
  639. package/lodash/negate.js +1 -1
  640. package/lodash/next.js +1 -1
  641. package/lodash/noop.js +1 -1
  642. package/lodash/now.js +1 -1
  643. package/lodash/nth.js +1 -1
  644. package/lodash/nthArg.js +1 -1
  645. package/lodash/number.default.js +1 -1
  646. package/lodash/number.js +1 -1
  647. package/lodash/object.default.js +1 -1
  648. package/lodash/object.js +1 -1
  649. package/lodash/omit.js +1 -1
  650. package/lodash/omitBy.js +1 -1
  651. package/lodash/once.js +1 -1
  652. package/lodash/orderBy.js +1 -1
  653. package/lodash/over.js +1 -1
  654. package/lodash/overArgs.js +1 -1
  655. package/lodash/overEvery.js +1 -1
  656. package/lodash/overSome.js +1 -1
  657. package/lodash/pad.js +1 -1
  658. package/lodash/padEnd.js +1 -1
  659. package/lodash/padStart.js +1 -1
  660. package/lodash/parseInt.js +1 -1
  661. package/lodash/partial.js +1 -1
  662. package/lodash/partialRight.js +1 -1
  663. package/lodash/partition.js +2 -2
  664. package/lodash/pick.js +1 -1
  665. package/lodash/pickBy.js +1 -1
  666. package/lodash/plant.js +1 -1
  667. package/lodash/property.js +1 -1
  668. package/lodash/propertyOf.js +1 -1
  669. package/lodash/pull.js +1 -1
  670. package/lodash/pullAll.js +1 -1
  671. package/lodash/pullAllBy.js +1 -1
  672. package/lodash/pullAllWith.js +1 -1
  673. package/lodash/pullAt.js +1 -1
  674. package/lodash/random.js +1 -1
  675. package/lodash/range.js +1 -1
  676. package/lodash/rangeRight.js +1 -1
  677. package/lodash/rearg.js +1 -1
  678. package/lodash/reduce.js +1 -1
  679. package/lodash/reduceRight.js +1 -1
  680. package/lodash/reject.js +1 -1
  681. package/lodash/remove.js +1 -1
  682. package/lodash/repeat.js +1 -1
  683. package/lodash/replace.js +1 -1
  684. package/lodash/rest.js +1 -1
  685. package/lodash/result.js +1 -1
  686. package/lodash/reverse.js +1 -1
  687. package/lodash/round.js +1 -1
  688. package/lodash/sample.js +1 -1
  689. package/lodash/sampleSize.js +1 -1
  690. package/lodash/seq.default.js +1 -1
  691. package/lodash/seq.js +1 -1
  692. package/lodash/set.js +1 -1
  693. package/lodash/setWith.js +1 -1
  694. package/lodash/shuffle.js +1 -1
  695. package/lodash/size.js +1 -1
  696. package/lodash/slice.js +1 -1
  697. package/lodash/snakeCase.js +1 -1
  698. package/lodash/some.js +1 -1
  699. package/lodash/sortBy.js +1 -1
  700. package/lodash/sortedIndex.js +1 -1
  701. package/lodash/sortedIndexBy.js +1 -1
  702. package/lodash/sortedIndexOf.js +1 -1
  703. package/lodash/sortedLastIndex.js +1 -1
  704. package/lodash/sortedLastIndexBy.js +1 -1
  705. package/lodash/sortedLastIndexOf.js +1 -1
  706. package/lodash/sortedUniq.js +1 -1
  707. package/lodash/sortedUniqBy.js +1 -1
  708. package/lodash/split.js +1 -1
  709. package/lodash/spread.js +1 -1
  710. package/lodash/startCase.js +1 -1
  711. package/lodash/startsWith.js +1 -1
  712. package/lodash/string.default.js +1 -1
  713. package/lodash/string.js +1 -1
  714. package/lodash/stubArray.js +1 -1
  715. package/lodash/stubFalse.js +1 -1
  716. package/lodash/stubObject.js +1 -1
  717. package/lodash/stubString.js +1 -1
  718. package/lodash/stubTrue.js +1 -1
  719. package/lodash/subtract.js +1 -1
  720. package/lodash/sum.js +1 -1
  721. package/lodash/sumBy.js +1 -1
  722. package/lodash/tail.js +1 -1
  723. package/lodash/take.js +1 -1
  724. package/lodash/takeRight.js +1 -1
  725. package/lodash/takeRightWhile.js +1 -1
  726. package/lodash/takeWhile.js +1 -1
  727. package/lodash/tap.js +1 -1
  728. package/lodash/template.js +1 -1
  729. package/lodash/templateSettings.js +1 -1
  730. package/lodash/throttle.js +1 -1
  731. package/lodash/thru.js +1 -1
  732. package/lodash/times.js +1 -1
  733. package/lodash/toArray.js +1 -1
  734. package/lodash/toFinite.js +1 -1
  735. package/lodash/toInteger.js +1 -1
  736. package/lodash/toIterator.js +1 -1
  737. package/lodash/toJSON.js +1 -1
  738. package/lodash/toLength.js +1 -1
  739. package/lodash/toLower.js +1 -1
  740. package/lodash/toNumber.js +1 -1
  741. package/lodash/toPairs.js +1 -1
  742. package/lodash/toPairsIn.js +1 -1
  743. package/lodash/toPath.js +1 -1
  744. package/lodash/toPlainObject.js +1 -1
  745. package/lodash/toSafeInteger.js +1 -1
  746. package/lodash/toString.js +1 -1
  747. package/lodash/toUpper.js +1 -1
  748. package/lodash/transform.js +1 -1
  749. package/lodash/trim.js +1 -1
  750. package/lodash/trimEnd.js +1 -1
  751. package/lodash/trimStart.js +1 -1
  752. package/lodash/truncate.js +1 -1
  753. package/lodash/unary.js +1 -1
  754. package/lodash/unescape.js +1 -1
  755. package/lodash/union.js +1 -1
  756. package/lodash/unionBy.js +1 -1
  757. package/lodash/unionWith.js +1 -1
  758. package/lodash/uniq.js +1 -1
  759. package/lodash/uniqBy.js +1 -1
  760. package/lodash/uniqWith.js +1 -1
  761. package/lodash/uniqueId.js +1 -1
  762. package/lodash/unset.js +1 -1
  763. package/lodash/unzip.js +1 -1
  764. package/lodash/unzipWith.js +1 -1
  765. package/lodash/update.js +1 -1
  766. package/lodash/updateWith.js +1 -1
  767. package/lodash/upperCase.js +1 -1
  768. package/lodash/upperFirst.js +1 -1
  769. package/lodash/util.default.js +1 -1
  770. package/lodash/util.js +1 -1
  771. package/lodash/value.js +1 -1
  772. package/lodash/valueOf.js +1 -1
  773. package/lodash/values.js +1 -1
  774. package/lodash/valuesIn.js +1 -1
  775. package/lodash/without.js +1 -1
  776. package/lodash/words.js +1 -1
  777. package/lodash/wrap.js +1 -1
  778. package/lodash/wrapperAt.js +2 -2
  779. package/lodash/wrapperChain.js +1 -1
  780. package/lodash/wrapperLodash.js +1 -1
  781. package/lodash/wrapperReverse.js +1 -1
  782. package/lodash/wrapperValue.js +1 -1
  783. package/lodash/xor.js +1 -1
  784. package/lodash/xorBy.js +1 -1
  785. package/lodash/xorWith.js +1 -1
  786. package/lodash/zip.js +1 -1
  787. package/lodash/zipObject.js +1 -1
  788. package/lodash/zipObjectDeep.js +1 -1
  789. package/lodash/zipWith.js +1 -1
  790. package/math/index.js +1 -1
  791. package/md5/index.js +1 -1
  792. package/mock/MockWebSocket.js +1 -1
  793. package/mock/MockXMLHttpRequest.js +1 -1
  794. package/mock/index.js +1 -1
  795. package/normalize-wheel/ExecutionEnvironment.js +9 -8
  796. package/normalize-wheel/UserAgent_DEPRECATED.js +2 -2
  797. package/normalize-wheel/index.js +1 -1
  798. package/normalize-wheel/isEventSupported.js +1 -1
  799. package/number-to-chinese/index.js +1 -1
  800. package/nzh/cn.js +1 -1
  801. package/nzh/hk.js +1 -1
  802. package/nzh/index.js +1 -1
  803. package/nzh/nzh.js +1 -1
  804. package/nzh/src/autoGet.js +1 -1
  805. package/nzh/src/index.js +2 -2
  806. package/nzh/src/langs/cn_b.js +1 -1
  807. package/nzh/src/langs/cn_s.js +1 -1
  808. package/nzh/src/langs/hk_b.js +1 -1
  809. package/nzh/src/langs/hk_s.js +1 -1
  810. package/nzh/src/utils.js +1 -1
  811. package/object/index.js +1 -1
  812. package/package.json +1 -1
  813. package/pinyin/core.js +1 -1
  814. package/pinyin/index.js +1 -1
  815. package/pinyin/simplified.js +1 -1
  816. package/pinyin/simplified_dict.js +1 -1
  817. package/pinyin/traditional.js +1 -1
  818. package/pinyin/traditional_dict.js +1 -1
  819. package/query-string/base.js +125 -124
  820. package/query-string/index.js +1 -1
  821. package/query-string/splitOnFirst.js +1 -1
  822. package/random/address.js +1 -1
  823. package/random/constellation.js +1 -1
  824. package/random/image.js +1 -1
  825. package/random/index.js +1 -1
  826. package/random/licensePlate.js +1 -1
  827. package/random/name.js +1 -1
  828. package/random/number.js +1 -1
  829. package/random/text.js +32 -32
  830. package/random/time.js +1 -1
  831. package/random/web.js +1 -1
  832. package/sanitize-url/index.js +1 -1
  833. package/screenfull/index.js +1 -1
  834. package/sleep/index.js +1 -1
  835. package/snapdom/api/preCache.js +1 -1
  836. package/snapdom/api/snapdom.js +84 -103
  837. package/snapdom/core/cache.js +1 -1
  838. package/snapdom/core/capture.js +74 -65
  839. package/snapdom/core/clone.js +1 -1
  840. package/snapdom/core/context.d.ts +9 -0
  841. package/snapdom/core/context.js +4 -2
  842. package/snapdom/core/plugins.js +5 -2
  843. package/snapdom/core/prepare.js +1 -1
  844. package/snapdom/exporters/download.js +1 -1
  845. package/snapdom/exporters/toBlob.js +1 -1
  846. package/snapdom/exporters/toCanvas.js +1 -1
  847. package/snapdom/exporters/toImg.js +2 -2
  848. package/snapdom/index.browser.js +1 -1
  849. package/snapdom/index.js +1 -1
  850. package/snapdom/modules/CSSVar.js +1 -1
  851. package/snapdom/modules/background.js +1 -1
  852. package/snapdom/modules/changeCSS.js +1 -1
  853. package/snapdom/modules/counter.js +1 -1
  854. package/snapdom/modules/fonts.js +1 -1
  855. package/snapdom/modules/iconFonts.js +27 -24
  856. package/snapdom/modules/images.js +1 -1
  857. package/snapdom/modules/lineClamp.js +1 -1
  858. package/snapdom/modules/pictureResolver.d.ts +42 -0
  859. package/snapdom/modules/pictureResolver.js +131 -0
  860. package/snapdom/modules/pseudo.js +1 -1
  861. package/snapdom/modules/rasterize.js +1 -1
  862. package/snapdom/modules/snapFetch.js +1 -1
  863. package/snapdom/modules/styles.js +2 -2
  864. package/snapdom/modules/svgDefs.js +1 -1
  865. package/snapdom/utils/browser.js +1 -1
  866. package/snapdom/utils/capture.helpers.js +1 -1
  867. package/snapdom/utils/clone.helpers.js +1 -1
  868. package/snapdom/utils/css.js +1 -1
  869. package/snapdom/utils/debug.js +1 -1
  870. package/snapdom/utils/helpers.js +1 -1
  871. package/snapdom/utils/image.js +1 -1
  872. package/snapdom/utils/index.js +1 -1
  873. package/snapdom/utils/prepare.helpers.js +1 -1
  874. package/snapdom/utils/transforms.helpers.js +1 -1
  875. package/string/chars.js +1 -1
  876. package/string/index.js +7 -7
  877. package/tinycolor/conversion.js +1 -1
  878. package/tinycolor/css-color-names.js +1 -1
  879. package/tinycolor/format-input.js +1 -1
  880. package/tinycolor/from-ratio.js +1 -1
  881. package/tinycolor/index.js +1 -1
  882. package/tinycolor/interfaces.js +1 -1
  883. package/tinycolor/public_api.js +1 -1
  884. package/tinycolor/random.js +40 -40
  885. package/tinycolor/readability.js +1 -1
  886. package/tinycolor/to-ms-filter.js +1 -1
  887. package/tinycolor/umd_api.js +1 -1
  888. package/tinycolor/utils.js +1 -1
  889. package/tree/index.js +1 -1
  890. package/tree/searchTree.js +1 -1
  891. package/tween/easing.js +1 -1
  892. package/tween/index.js +1 -1
  893. package/tween/tween.js +1 -1
  894. package/ui-color/compareColorByRange.js +1 -1
  895. package/ui-color/index.js +1 -1
  896. package/url-toolkit/index.js +1 -1
  897. package/validate/index.js +1 -1
  898. package/validate/interface.js +1 -1
  899. package/validate/locale/en-US.js +1 -1
  900. package/validate/locale/index.js +1 -1
  901. package/validate/locale/zh-CN.js +1 -1
  902. package/validate/rules/array.js +2 -2
  903. package/validate/rules/base.js +1 -1
  904. package/validate/rules/boolean.js +1 -1
  905. package/validate/rules/custom.js +2 -2
  906. package/validate/rules/number.js +2 -2
  907. package/validate/rules/object.js +2 -2
  908. package/validate/rules/string.js +2 -2
  909. package/validate/rules/type.js +1 -1
  910. package/version/index.js +1 -1
  911. package/xlsx/crc32.js +1 -1
  912. package/xlsx/index.js +1 -1
  913. package/xlsx/xlsx.js +25 -25
@@ -1,28 +1,28 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
2
- import { isUndefined as e } from "../is/index.js";
3
- import { TinyColor as t } from "./index.js";
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
+ import { isNull as e, isUndefined as t } from "../is/index.js";
3
+ import { TinyColor as n } from "./index.js";
4
4
  //#region utils/tinycolor/random.ts
5
- function n(o = {}) {
6
- if (!e(o.count) && o.count !== null) {
7
- let e = o.count, t = [];
8
- for (o.count = void 0; e > t.length;) o.count = null, o.seed && (o.seed += 1), t.push(n(o));
9
- return o.count = e, t;
5
+ function r(s = {}) {
6
+ if (!t(s.count) && !e(s.count)) {
7
+ let e = s.count, t = [];
8
+ for (s.count = void 0; e > t.length;) s.count = null, s.seed && (s.seed += 1), t.push(r(s));
9
+ return s.count = e, t;
10
10
  }
11
- let s = r(o.hue, o.seed), c = i(s, o), l = {
12
- h: s,
13
- s: c,
14
- v: a(s, c, o)
11
+ let c = i(s.hue, s.seed), l = a(c, s), u = {
12
+ h: c,
13
+ s: l,
14
+ v: o(c, l, s)
15
15
  };
16
- return e(o.alpha) || (l.a = o.alpha), new t(l);
16
+ return t(s.alpha) || (u.a = s.alpha), new n(u);
17
17
  }
18
- function r(e, t) {
19
- let n = l(s(e), t);
18
+ function i(e, t) {
19
+ let n = u(c(e), t);
20
20
  return n < 0 && (n = 360 + n), n;
21
21
  }
22
- function i(e, t) {
22
+ function a(e, t) {
23
23
  if (t.hue === "monochrome") return 0;
24
- if (t.luminosity === "random") return l([0, 100], t.seed);
25
- let { saturationRange: n } = c(e), r = n[0], i = n[1];
24
+ if (t.luminosity === "random") return u([0, 100], t.seed);
25
+ let { saturationRange: n } = l(e), r = n[0], i = n[1];
26
26
  switch (t.luminosity) {
27
27
  case "bright":
28
28
  r = 55;
@@ -35,10 +35,10 @@ function i(e, t) {
35
35
  break;
36
36
  default: break;
37
37
  }
38
- return l([r, i], t.seed);
38
+ return u([r, i], t.seed);
39
39
  }
40
- function a(e, t, n) {
41
- let r = o(e, t), i = 100;
40
+ function o(e, t, n) {
41
+ let r = s(e, t), i = 100;
42
42
  switch (n.luminosity) {
43
43
  case "dark":
44
44
  i = r + 20;
@@ -51,10 +51,10 @@ function a(e, t, n) {
51
51
  break;
52
52
  default: break;
53
53
  }
54
- return l([r, i], n.seed);
54
+ return u([r, i], n.seed);
55
55
  }
56
- function o(e, t) {
57
- let { lowerBounds: n } = c(e);
56
+ function s(e, t) {
57
+ let { lowerBounds: n } = l(e);
58
58
  for (let e = 0; e < n.length - 1; e++) {
59
59
  let r = n[e][0], i = n[e][1], a = n[e + 1][0], o = n[e + 1][1];
60
60
  if (t >= r && t <= a) {
@@ -64,16 +64,16 @@ function o(e, t) {
64
64
  }
65
65
  return 0;
66
66
  }
67
- function s(e) {
68
- let n = parseInt(e, 10);
69
- if (!Number.isNaN(n) && n < 360 && n > 0) return [n, n];
67
+ function c(e) {
68
+ let t = parseInt(e, 10);
69
+ if (!Number.isNaN(t) && t < 360 && t > 0) return [t, t];
70
70
  if (typeof e == "string") {
71
- let n = d.find((t) => t.name === e);
72
- if (n) {
73
- let e = u(n);
71
+ let t = f.find((t) => t.name === e);
72
+ if (t) {
73
+ let e = d(t);
74
74
  if (e.hueRange) return e.hueRange;
75
75
  }
76
- let r = new t(e);
76
+ let r = new n(e);
77
77
  if (r.isValid) {
78
78
  let e = r.toHsv().h;
79
79
  return [e, e];
@@ -81,22 +81,22 @@ function s(e) {
81
81
  }
82
82
  return [0, 360];
83
83
  }
84
- function c(e) {
84
+ function l(e) {
85
85
  e >= 334 && e <= 360 && (e -= 360);
86
- for (let t of d) {
87
- let n = u(t);
86
+ for (let t of f) {
87
+ let n = d(t);
88
88
  if (n.hueRange && e >= n.hueRange[0] && e <= n.hueRange[1]) return n;
89
89
  }
90
90
  throw Error("Color not found");
91
91
  }
92
- function l(t, n) {
93
- if (e(n)) return Math.floor(t[0] + Math.random() * (t[1] + 1 - t[0]));
94
- let r = t[1] || 1, i = t[0] || 0;
92
+ function u(e, n) {
93
+ if (t(n)) return Math.floor(e[0] + Math.random() * (e[1] + 1 - e[0]));
94
+ let r = e[1] || 1, i = e[0] || 0;
95
95
  n = (n * 9301 + 49297) % 233280;
96
96
  let a = n / 233280;
97
97
  return Math.floor(i + a * (r - i));
98
98
  }
99
- function u(e) {
99
+ function d(e) {
100
100
  let t = e.lowerBounds[0][0], n = e.lowerBounds[e.lowerBounds.length - 1][0], r = e.lowerBounds[e.lowerBounds.length - 1][1], i = e.lowerBounds[0][1];
101
101
  return {
102
102
  name: e.name,
@@ -106,7 +106,7 @@ function u(e) {
106
106
  brightnessRange: [r, i]
107
107
  };
108
108
  }
109
- var d = [
109
+ var f = [
110
110
  {
111
111
  name: "monochrome",
112
112
  hueRange: null,
@@ -213,5 +213,5 @@ var d = [
213
213
  }
214
214
  ];
215
215
  //#endregion
216
- export { d as bounds, n as random };
216
+ export { f as bounds, r as random };
217
217
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { TinyColor as e } from "./index.js";
3
3
  //#region utils/tinycolor/readability.ts
4
4
  function t(t, n) {
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { rgbaToArgbHex as e } from "./conversion.js";
3
3
  import { TinyColor as t } from "./index.js";
4
4
  //#region utils/tinycolor/to-ms-filter.ts
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { names as e } from "./css-color-names.js";
3
3
  import { inputToRGB as t, isValidCSSUnit as n, stringInputToObject as r } from "./format-input.js";
4
4
  import { random as i } from "./random.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  //#region utils/tinycolor/utils.ts
3
3
  function e(e, t) {
4
4
  n(e) && (e = "100%");
package/tree/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { isArray as e, isObject as t, isUndefined as n } from "../is/index.js";
3
3
  import r from "./searchTree.js";
4
4
  import i from "lodash/castArray.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { isArray as e, isFunction as t, isNil as n, isNumber as r, isObjectLike as i, isRegExp as a, isString as o } from "../is/index.js";
3
3
  //#region utils/tree/searchTree.ts
4
4
  function s(e, t, n, r) {
package/tween/easing.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { __exportAll as e } from "../.virtual/_rolldown/runtime.js";
3
3
  //#region utils/tween/easing.js
4
4
  var t = /* @__PURE__ */ e({
package/tween/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { easing_exports as e } from "./easing.js";
3
3
  import t from "./tween.js";
4
4
  //#region utils/tween/index.js
package/tween/tween.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { isFunction as e, isString as t, isUndefined as n } from "../is/index.js";
3
3
  import { easing_exports as r, linear as i } from "./easing.js";
4
4
  //#region utils/tween/tween.js
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  //#region utils/ui-color/compareColorByRange.ts
3
3
  function e(e = [34797, 15747172]) {
4
4
  return (t = 1) => {
package/ui-color/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { TinyColor as e } from "../tinycolor/index.js";
3
3
  import t from "./compareColorByRange.js";
4
4
  //#region utils/ui-color/index.ts
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  //#region utils/url-toolkit/index.js
3
3
  var e = /^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^/?#]*)?))\2(?=((?:(?:[^?#/]*\/)*[^;?#/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/, t = /^(?=([^/?#]*))\1([^]*)$/, n = /(?:\/|^)\.(?=\/)/g, r = /(?:\/|^)\.\.\/(?!\.\.\/)[^/]*(?=\/)/g;
4
4
  function i(e, n, r) {
package/validate/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { isArray as e, isFunction as t, isObjectLike as n, isUndefined as r } from "../is/index.js";
3
3
  import i from "./locale/index.js";
4
4
  import a from "./rules/base.js";
@@ -1,2 +1,2 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  //#region utils/validate/locale/en-US.ts
3
3
  var e = "#{field} is not a #{type} type", t = {
4
4
  required: "#{field} is required",
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import e from "./en-US.js";
3
3
  import t from "./zh-CN.js";
4
4
  //#region utils/validate/locale/index.ts
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  //#region utils/validate/locale/zh-CN.ts
3
3
  var e = {
4
4
  required: "#{field} 是必填项",
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { isArray as e, isEmptyArray as t, isEqual as n } from "../../is/index.js";
3
3
  import r from "./base.js";
4
4
  //#region utils/validate/rules/array.ts
@@ -7,7 +7,7 @@ var i = class extends r {
7
7
  super(t, {
8
8
  ...n,
9
9
  type: "array"
10
- }), this.validate(n && n.strict ? e(this.object) : !0, this.getValidateMsg("type.array", {
10
+ }), this.validate(n?.strict ? e(this.object) : !0, this.getValidateMsg("type.array", {
11
11
  value: this.object,
12
12
  type: this.type
13
13
  }));
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { isArray as e, isEmptyArray as t, isEmptyValue as n, isFunction as r, isObject as i, isString as a } from "../../is/index.js";
3
3
  import o from "../locale/index.js";
4
4
  import s from "lodash/defaultsDeep.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { isBoolean as e } from "../../is/index.js";
3
3
  import t from "./base.js";
4
4
  //#region utils/validate/rules/boolean.ts
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import e from "./base.js";
3
3
  //#region utils/validate/rules/custom.ts
4
4
  var t = class extends e {
@@ -11,7 +11,7 @@ var t = class extends e {
11
11
  validate2(e, t) {
12
12
  if (e) {
13
13
  let n = e(this.object, this.addError.bind(this));
14
- return n && n.then ? (t && n.then(() => {
14
+ return n?.then ? (t && n.then(() => {
15
15
  t?.(this.error);
16
16
  }, (e) => {
17
17
  console.error(e);
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { isEmptyValue as e, isNumber as t } from "../../is/index.js";
3
3
  import n from "./base.js";
4
4
  //#region utils/validate/rules/number.ts
@@ -7,7 +7,7 @@ var r = class extends n {
7
7
  super(e, {
8
8
  ...n,
9
9
  type: "number"
10
- }), this.validate(n && n.strict ? t(this.object) : !0, this.getValidateMsg("type.number"));
10
+ }), this.validate(n?.strict ? t(this.object) : !0, this.getValidateMsg("type.number"));
11
11
  }
12
12
  min(t) {
13
13
  return e(this.object) ? this : this.validate(this.object >= t, this.getValidateMsg("number.min", { min: t }));
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { isEmptyObject as e, isEqual as t, isObject as n } from "../../is/index.js";
3
3
  import r from "./base.js";
4
4
  //#region utils/validate/rules/object.ts
@@ -7,7 +7,7 @@ var i = class extends r {
7
7
  super(e, {
8
8
  ...t,
9
9
  type: "object"
10
- }), this.validate(t && t.strict ? n(this.object) : !0, this.getValidateMsg("type.object"));
10
+ }), this.validate(t?.strict ? n(this.object) : !0, this.getValidateMsg("type.object"));
11
11
  }
12
12
  deepEqual(e) {
13
13
  return this.object ? this.validate(t(this.object, e), this.getValidateMsg("object.deepEqual", { deepEqual: e })) : this;
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import { isString as e, isUndefined as t } from "../../is/index.js";
3
3
  import n from "./base.js";
4
4
  //#region utils/validate/rules/string.ts
@@ -7,7 +7,7 @@ var r = class extends n {
7
7
  super(t, {
8
8
  ...n,
9
9
  type: "string"
10
- }), this.validate(n && n.strict ? e(this.object) : !0, this.getValidateMsg("type.string"));
10
+ }), this.validate(n?.strict ? e(this.object) : !0, this.getValidateMsg("type.string"));
11
11
  }
12
12
  maxLength(e) {
13
13
  return this.object ? this.validate(this.object.length <= e, this.getValidateMsg("string.maxLength", { maxLength: e })) : this;
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import e from "../../is/lib/isAscii.js";
3
3
  import { isAllChinese as t } from "../../is/lib/isChinese.js";
4
4
  import n from "../../is/lib/isIP.js";
package/version/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  //#region utils/version/index.js
3
3
  var e = "0.0.0";
4
4
  //#endregion
package/xlsx/crc32.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  //#region utils/xlsx/crc32.js
3
3
  var e = {};
4
4
  e.version = "1.2.0";
package/xlsx/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import e, { CFB as t, SSF as n, parse_xlscfb as r, parse_zip as i, read as a, readFile as o, set_cptable as s, set_fs as c, stream as l, utils as u, version as d, write as f, writeFile as p, writeFileAsync as m, writeFileXLSX as h, writeXLSX as g } from "./xlsx.js";
3
3
  export { t as CFB, n as SSF, e as default, r as parse_xlscfb, i as parse_zip, a as read, o as readFile, o as readFileSync, s as set_cptable, c as set_fs, l as stream, u as utils, d as version, f as write, p as writeFile, p as writeFileSync, m as writeFileAsync, h as writeFileXLSX, g as writeXLSX };
4
4
  /* 独立思考,明辨是非 */
package/xlsx/xlsx.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-04-03 14:06:50 星期五 */
1
+ /* 潘启宝 2026-04-23 09:23:17 星期四 */
2
2
  import e from "../file/saveAs.js";
3
3
  import t from "./crc32.js";
4
4
  //#region utils/xlsx/xlsx.js
@@ -659,7 +659,7 @@ function Ve(e, t) {
659
659
  return t < ("" + Math.round(n * r)).length ? 0 : Math.round(n * r);
660
660
  }
661
661
  function He(e, t) {
662
- return t < ("" + Math.round((e - Math.floor(e)) * 10 ** t)).length ? 1 : 0;
662
+ return +(t < ("" + Math.round((e - Math.floor(e)) * 10 ** t)).length);
663
663
  }
664
664
  function Ue(e) {
665
665
  return e < 2147483647 && e > -2147483648 ? "" + (e >= 0 ? e | 0 : e - 1 | 0) : "" + Math.floor(e);
@@ -2861,7 +2861,7 @@ function B(e, t, n) {
2861
2861
  if (o) for (l = 0; l != o.length; ++l) {
2862
2862
  for (d = o[l].slice(1), a = 0; a != d.length && d.charCodeAt(a) !== 61; ++a);
2863
2863
  for (u = d.slice(0, a).trim(); d.charCodeAt(a + 1) == 32;) ++a;
2864
- for (f = (i = d.charCodeAt(a + 1)) == 34 || i == 39 ? 1 : 0, c = d.slice(a + 1 + f, d.length - f), s = 0; s != u.length && u.charCodeAt(s) !== 58; ++s);
2864
+ for (f = +((i = d.charCodeAt(a + 1)) == 34 || i == 39), c = d.slice(a + 1 + f, d.length - f), s = 0; s != u.length && u.charCodeAt(s) !== 58; ++s);
2865
2865
  if (s === u.length) u.indexOf("_") > 0 && (u = u.slice(0, u.indexOf("_"))), r[u] = c, n || (r[u.toLowerCase()] = c);
2866
2866
  else {
2867
2867
  let e = (s === 5 && u.slice(0, 5) === "xmlns" ? "xmlns" : "") + u.slice(s + 1);
@@ -2879,7 +2879,7 @@ function Cn(e, t, n) {
2879
2879
  if (o) for (c = 0; c != o.length; ++c) {
2880
2880
  for (u = o[c].slice(1), a = 0; a != u.length && u.charCodeAt(a) !== 61; ++a);
2881
2881
  for (l = u.slice(0, a).trim(); u.charCodeAt(a + 1) == 32;) ++a;
2882
- d = (i = u.charCodeAt(a + 1)) == 34 || i == 39 ? 1 : 0, s = u.slice(a + 1 + d, u.length - d), l.indexOf("_") > 0 && (l = l.slice(0, l.indexOf("_"))), r[l] = s, n || (r[l.toLowerCase()] = s);
2882
+ d = +((i = u.charCodeAt(a + 1)) == 34 || i == 39), s = u.slice(a + 1 + d, u.length - d), l.indexOf("_") > 0 && (l = l.slice(0, l.indexOf("_"))), r[l] = s, n || (r[l.toLowerCase()] = s);
2883
2883
  }
2884
2884
  return r;
2885
2885
  }
@@ -3108,7 +3108,7 @@ function rr(e, t) {
3108
3108
  return r == 2047 ? i == 0 ? n * Infinity : NaN : (r == 0 ? r = -1022 : (r -= 1023, i += 2 ** 52), n * 2 ** (r - 52) * i);
3109
3109
  }
3110
3110
  function ir(e, t, n) {
3111
- let r = (t < 0 || 1 / t == -Infinity ? 1 : 0) << 7, i = 0, a = 0, o = r ? -t : t;
3111
+ let r = (t < 0 || 1 / t == -Infinity) << 7, i = 0, a = 0, o = r ? -t : t;
3112
3112
  isFinite(o) ? o == 0 ? i = a = 0 : (i = Math.floor(Math.log(o) / Math.LN2), a = o * 2 ** (52 - i), i <= -1023 && (!isFinite(a) || a < 2 ** 52) ? i = -1022 : (a -= 2 ** 52, i += 1023)) : (i = 2047, a = isNaN(t) ? 26985 : 0);
3113
3113
  for (let t = 0; t <= 5; ++t, a /= 256) e[n + t] = a & 255;
3114
3114
  e[n + 6] = (i & 15) << 4 | a & 15, e[n + 7] = i >> 4 | r;
@@ -3425,7 +3425,7 @@ function Hr() {
3425
3425
  function W(e, t, n, r) {
3426
3426
  let i = +t, a;
3427
3427
  if (isNaN(i)) return;
3428
- r ||= K_[i].p || (n || []).length || 0, a = 1 + (i >= 128 ? 1 : 0) + 1, r >= 128 && ++a, r >= 16384 && ++a, r >= 2097152 && ++a;
3428
+ r ||= K_[i].p || (n || []).length || 0, a = 1 + +(i >= 128) + 1, r >= 128 && ++a, r >= 16384 && ++a, r >= 2097152 && ++a;
3429
3429
  let o = e.next(a);
3430
3430
  i <= 127 ? o.write_shift(1, i) : (o.write_shift(1, (i & 127) + 128), o.write_shift(1, i >> 7));
3431
3431
  for (let e = 0; e != 4; ++e) if (r >= 128) o.write_shift(1, (r & 127) + 128), r >>= 7;
@@ -4991,7 +4991,7 @@ function fo(e, t) {
4991
4991
  r = U(8), r.write_shift(8, t, "f");
4992
4992
  break;
4993
4993
  case 11:
4994
- r.write_shift(4, t ? 1 : 0);
4994
+ r.write_shift(4, +!!t);
4995
4995
  break;
4996
4996
  case 64:
4997
4997
  r = Za(t);
@@ -5221,7 +5221,7 @@ function Do(e) {
5221
5221
  return e.read_shift(1) === 1 ? t : t === 1;
5222
5222
  }
5223
5223
  function Oo(e, t, n) {
5224
- return n ||= U(2), n.write_shift(1, t == "e" ? +e : +!!e), n.write_shift(1, t == "e" ? 1 : 0), n;
5224
+ return n ||= U(2), n.write_shift(1, t == "e" ? +e : +!!e), n.write_shift(1, +(t == "e")), n;
5225
5225
  }
5226
5226
  function ko(e, t, n) {
5227
5227
  let i = e.read_shift(n && n.biff >= 12 ? 2 : 1), a = "sbcs-cont", o = r;
@@ -5857,7 +5857,7 @@ function lc(e, t, n) {
5857
5857
  };
5858
5858
  }
5859
5859
  function uc(e, t, n) {
5860
- if (n.biff < 8 || !(n.biff > 8) && t == e[e.l] + (e[e.l + 1] == 3 ? 1 : 0) + 1) return dc(e, t, n);
5860
+ if (n.biff < 8 || !(n.biff > 8) && t == e[e.l] + +(e[e.l + 1] == 3) + 1) return dc(e, t, n);
5861
5861
  let r = [], i = e.l + t, a = e.read_shift(n.biff > 8 ? 4 : 2);
5862
5862
  for (; a-- !== 0;) r.push(Xo(e, n.biff > 8 ? 12 : 6, n));
5863
5863
  if (e.l != i) throw Error("Bad ExternSheet: " + e.l + " != " + i);
@@ -8867,7 +8867,7 @@ function Xl(e, t) {
8867
8867
  return n.join("") + "}";
8868
8868
  }
8869
8869
  function Zl(e) {
8870
- let t = e.slice(e[0] === "#" ? 1 : 0).slice(0, 6);
8870
+ let t = e.slice(+(e[0] === "#")).slice(0, 6);
8871
8871
  return [
8872
8872
  parseInt(t.slice(0, 2), 16),
8873
8873
  parseInt(t.slice(2, 4), 16),
@@ -9826,7 +9826,7 @@ function _d(e) {
9826
9826
  }
9827
9827
  function vd(e, t) {
9828
9828
  let n = U(8);
9829
- return n.write_shift(4, e), n.write_shift(4, t ? 1 : 0), n;
9829
+ return n.write_shift(4, e), n.write_shift(4, +!!t), n;
9830
9830
  }
9831
9831
  function yd(e, t, n) {
9832
9832
  let r = {
@@ -9851,7 +9851,7 @@ function yd(e, t, n) {
9851
9851
  });
9852
9852
  break;
9853
9853
  case 337:
9854
- s = e ? 1 : 0;
9854
+ s = +!!e;
9855
9855
  break;
9856
9856
  case 338:
9857
9857
  s = 2;
@@ -11646,7 +11646,7 @@ function Yp(e) {
11646
11646
  }
11647
11647
  function Xp(e) {
11648
11648
  let t = U(10);
11649
- return t.write_shift(4, 2), t.write_shift(1, 29), t.write_shift(1, e ? 1 : 0), t.write_shift(4, 0), t;
11649
+ return t.write_shift(4, 2), t.write_shift(1, 29), t.write_shift(1, +!!e), t.write_shift(4, 0), t;
11650
11650
  }
11651
11651
  function Zp(e) {
11652
11652
  let t = U(7);
@@ -11662,7 +11662,7 @@ function Zp(e) {
11662
11662
  }
11663
11663
  function Qp(e) {
11664
11664
  let t = ti(e), n = U(15);
11665
- return n.write_shift(4, 7), n.write_shift(1, 36), n.write_shift(4, t.r), n.write_shift(2, t.c | (e.charAt(0) == "$" ? 0 : 1) << 14 | (e.match(/\$\d/) ? 0 : 1) << 15), n.write_shift(4, 0), n;
11665
+ return n.write_shift(4, 7), n.write_shift(1, 36), n.write_shift(4, t.r), n.write_shift(2, t.c | (e.charAt(0) == "$" ? 0 : 1) << 14 | !e.match(/\$\d/) << 15), n.write_shift(4, 0), n;
11666
11666
  }
11667
11667
  function $p(e, t) {
11668
11668
  let n = e.lastIndexOf("!"), r = e.slice(0, n);
@@ -11672,7 +11672,7 @@ function $p(e, t) {
11672
11672
  let a = U(17);
11673
11673
  return a.write_shift(4, 9), a.write_shift(1, 58), a.write_shift(2, 2 + t.SheetNames.map(function(e) {
11674
11674
  return e.toLowerCase();
11675
- }).indexOf(r.toLowerCase())), a.write_shift(4, i.r), a.write_shift(2, i.c | (e.charAt(0) == "$" ? 0 : 1) << 14 | (e.match(/\$\d/) ? 0 : 1) << 15), a.write_shift(4, 0), a;
11675
+ }).indexOf(r.toLowerCase())), a.write_shift(4, i.r), a.write_shift(2, i.c | (e.charAt(0) == "$" ? 0 : 1) << 14 | !e.match(/\$\d/) << 15), a.write_shift(4, 0), a;
11676
11676
  }
11677
11677
  function em(e, t) {
11678
11678
  let n = e.lastIndexOf("!"), r = e.slice(0, n);
@@ -11686,7 +11686,7 @@ function tm(e) {
11686
11686
  let t = e.split(":"), n = t[0], r = U(23);
11687
11687
  r.write_shift(4, 15), n = t[0];
11688
11688
  let i = ti(n);
11689
- return r.write_shift(1, 36), r.write_shift(4, i.r), r.write_shift(2, i.c | (n.charAt(0) == "$" ? 0 : 1) << 14 | (n.match(/\$\d/) ? 0 : 1) << 15), r.write_shift(4, 0), n = t[1], i = ti(n), r.write_shift(1, 36), r.write_shift(4, i.r), r.write_shift(2, i.c | (n.charAt(0) == "$" ? 0 : 1) << 14 | (n.match(/\$\d/) ? 0 : 1) << 15), r.write_shift(4, 0), r.write_shift(1, 17), r.write_shift(4, 0), r;
11689
+ return r.write_shift(1, 36), r.write_shift(4, i.r), r.write_shift(2, i.c | (n.charAt(0) == "$" ? 0 : 1) << 14 | !n.match(/\$\d/) << 15), r.write_shift(4, 0), n = t[1], i = ti(n), r.write_shift(1, 36), r.write_shift(4, i.r), r.write_shift(2, i.c | (n.charAt(0) == "$" ? 0 : 1) << 14 | !n.match(/\$\d/) << 15), r.write_shift(4, 0), r.write_shift(1, 17), r.write_shift(4, 0), r;
11690
11690
  }
11691
11691
  function nm(e, t) {
11692
11692
  let n = e.lastIndexOf("!"), r = e.slice(0, n);
@@ -11696,9 +11696,9 @@ function nm(e, t) {
11696
11696
  let o = i[0], s = ti(o);
11697
11697
  return a.write_shift(1, 58), a.write_shift(2, 2 + t.SheetNames.map(function(e) {
11698
11698
  return e.toLowerCase();
11699
- }).indexOf(r.toLowerCase())), a.write_shift(4, s.r), a.write_shift(2, s.c | (o.charAt(0) == "$" ? 0 : 1) << 14 | (o.match(/\$\d/) ? 0 : 1) << 15), o = i[1], s = ti(o), a.write_shift(1, 58), a.write_shift(2, 2 + t.SheetNames.map(function(e) {
11699
+ }).indexOf(r.toLowerCase())), a.write_shift(4, s.r), a.write_shift(2, s.c | (o.charAt(0) == "$" ? 0 : 1) << 14 | !o.match(/\$\d/) << 15), o = i[1], s = ti(o), a.write_shift(1, 58), a.write_shift(2, 2 + t.SheetNames.map(function(e) {
11700
11700
  return e.toLowerCase();
11701
- }).indexOf(r.toLowerCase())), a.write_shift(4, s.r), a.write_shift(2, s.c | (o.charAt(0) == "$" ? 0 : 1) << 14 | (o.match(/\$\d/) ? 0 : 1) << 15), a.write_shift(1, 17), a.write_shift(4, 0), a;
11701
+ }).indexOf(r.toLowerCase())), a.write_shift(4, s.r), a.write_shift(2, s.c | (o.charAt(0) == "$" ? 0 : 1) << 14 | !o.match(/\$\d/) << 15), a.write_shift(1, 17), a.write_shift(4, 0), a;
11702
11702
  }
11703
11703
  function rm(e, t) {
11704
11704
  let n = e.lastIndexOf("!"), r = e.slice(0, n);
@@ -13423,7 +13423,7 @@ function uh(e) {
13423
13423
  ];
13424
13424
  }
13425
13425
  function dh(e, t, n) {
13426
- return n ??= U(9), wi(t, n), n.write_shift(1, e.v ? 1 : 0), n;
13426
+ return n ??= U(9), wi(t, n), n.write_shift(1, +!!e.v), n;
13427
13427
  }
13428
13428
  function fh(e) {
13429
13429
  return [
@@ -13433,7 +13433,7 @@ function fh(e) {
13433
13433
  ];
13434
13434
  }
13435
13435
  function ph(e, t, n) {
13436
- return n ??= U(5), Ei(t, n), n.write_shift(1, e.v ? 1 : 0), n;
13436
+ return n ??= U(5), Ei(t, n), n.write_shift(1, +!!e.v), n;
13437
13437
  }
13438
13438
  function mh(e) {
13439
13439
  return [
@@ -13674,7 +13674,7 @@ function eg(e, t) {
13674
13674
  ["pivotTables", !0],
13675
13675
  ["selectUnlockedCells", !1]
13676
13676
  ].forEach(function(n) {
13677
- n[1] ? t.write_shift(4, e[n[0]] != null && !e[n[0]] ? 1 : 0) : t.write_shift(4, e[n[0]] != null && e[n[0]] ? 0 : 1);
13677
+ n[1] ? t.write_shift(4, +(e[n[0]] != null && !e[n[0]])) : t.write_shift(4, e[n[0]] != null && e[n[0]] ? 0 : 1);
13678
13678
  }), t;
13679
13679
  }
13680
13680
  function tg() {}
@@ -19566,7 +19566,7 @@ function ay(e, t) {
19566
19566
  } else n[1] = 2, Gv(n, i, e.v), a |= 1, i += 16;
19567
19567
  break;
19568
19568
  case "b":
19569
- n[1] = 6, r.setFloat64(i, e.v ? 1 : 0, !0), a |= 2, i += 8;
19569
+ n[1] = 6, r.setFloat64(i, +!!e.v, !0), a |= 2, i += 8;
19570
19570
  break;
19571
19571
  case "s":
19572
19572
  {
@@ -19621,7 +19621,7 @@ function oy(e, t) {
19621
19621
  n[1] = 2, r.setFloat64(i, e.v, !0), a |= 32, i += 8;
19622
19622
  break;
19623
19623
  case "b":
19624
- n[1] = 6, r.setFloat64(i, e.v ? 1 : 0, !0), a |= 32, i += 8;
19624
+ n[1] = 6, r.setFloat64(i, +!!e.v, !0), a |= 32, i += 8;
19625
19625
  break;
19626
19626
  case "s":
19627
19627
  if (o = e.v == null ? "" : String(e.v), !e.l) {
@@ -20027,7 +20027,7 @@ function Cy(e, t, n) {
20027
20027
  for (r[2][0].data = Y(i), r[5][0].data = Y(5); f < r[7][0].data.length / 2; ++f) a.setUint16(f * 2, 65535, !0), c.setUint16(f * 2, 65535, !0);
20028
20028
  return r[6][0].data = Hv(s), r[3][0].data = Hv(u), r[8] = [{
20029
20029
  type: 0,
20030
- data: Y(n ? 1 : 0)
20030
+ data: Y(+!!n)
20031
20031
  }], r;
20032
20032
  }
20033
20033
  function wy(e, t) {
@@ -21310,7 +21310,7 @@ function Jy(e, t) {
21310
21310
  cn(e, x) || (x = "xl/_rels/workbook." + y + ".rels");
21311
21311
  let S = Ca(dn(e, x, !0), x.replace(/_rels.*/, "s5s"));
21312
21312
  (r.metadata || []).length >= 1 && (t.xlmeta = s_(un(e, qy(r.metadata[0])), r.metadata[0], t)), (r.people || []).length >= 1 && (t.people = Id(un(e, qy(r.people[0])), t)), S &&= Wy(S, l.Sheets);
21313
- let C = un(e, "xl/worksheets/sheet.xml", !0) ? 1 : 0;
21313
+ let C = +!!un(e, "xl/worksheets/sheet.xml", !0);
21314
21314
  wsloop: for (h = 0; h != u.Worksheets; ++h) {
21315
21315
  let n = "sheet";
21316
21316
  if (S && S[h] ? (_ = "xl/" + S[h][1].replace(/[/]?xl\//, ""), cn(e, _) || (_ = S[h][1]), cn(e, _) || (_ = x.replace(/_rels\/[\S\s]*$/, "") + S[h][1]), n = S[h][2]) : (_ = "xl/worksheets/sheet" + (h + 1 - C) + "." + y, _ = _.replace(/sheet0\./, "sheet.")), v = _.replace(/^(.*)(\/)([^/]*)$/, "$1/_rels/$3.rels"), t && t.sheets != null) switch (typeof t.sheets) {