lakutata 2.0.82 → 2.0.83

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 (464) hide show
  1. package/com/docker.cjs +1 -1
  2. package/com/docker.mjs +1 -1
  3. package/decorator/orm.cjs +84 -84
  4. package/decorator/orm.mjs +42 -128
  5. package/orm.cjs +871 -1408
  6. package/orm.mjs +712 -1462
  7. package/package.json +1 -1
  8. package/src/components/Database.cjs +2 -2
  9. package/src/components/Database.mjs +6 -6
  10. package/src/components/cacher/Cacher.cjs +129 -129
  11. package/src/components/cacher/Cacher.mjs +117 -117
  12. package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +303 -312
  13. package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +304 -313
  14. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +12 -12
  15. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +11 -11
  16. package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +16 -16
  17. package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +14 -14
  18. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +11 -11
  19. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +11 -11
  20. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +12 -12
  21. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +13 -13
  22. package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +2 -2
  23. package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +2 -2
  24. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +10 -10
  25. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +10 -10
  26. package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +2 -2
  27. package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +5 -5
  28. package/src/components/docker/ConnectionOptionsBuilder.cjs +11 -11
  29. package/src/components/docker/ConnectionOptionsBuilder.mjs +7 -7
  30. package/src/components/docker/Docker.cjs +5067 -4956
  31. package/src/components/docker/Docker.mjs +4982 -4871
  32. package/src/components/docker/lib/DockerContainer.cjs +1 -1
  33. package/src/components/docker/lib/DockerContainer.mjs +1 -1
  34. package/src/components/docker/lib/DockerContainerTTY.cjs +1 -1
  35. package/src/components/docker/lib/DockerContainerTTY.mjs +1 -1
  36. package/src/components/docker/lib/ParseEnvToRecord.cjs +2 -2
  37. package/src/components/docker/lib/ParseEnvToRecord.mjs +12 -12
  38. package/src/components/docker/lib/ParseRepositoryTag.cjs +9 -9
  39. package/src/components/docker/lib/ParseRepositoryTag.mjs +11 -11
  40. package/src/components/entrypoint/Entrypoint.cjs +1678 -2168
  41. package/src/components/entrypoint/Entrypoint.mjs +1680 -2170
  42. package/src/components/monitor/AliveMonitor.cjs +2 -2
  43. package/src/components/monitor/AliveMonitor.mjs +2 -2
  44. package/src/components/monitor/MemoryMonitor.cjs +3 -3
  45. package/src/decorators/asst/After.cjs +3 -3
  46. package/src/decorators/asst/After.mjs +2 -2
  47. package/src/decorators/asst/Before.cjs +2 -2
  48. package/src/decorators/asst/Before.mjs +4 -4
  49. package/src/decorators/ctrl/CLIAction.cjs +2 -2
  50. package/src/decorators/ctrl/CLIAction.mjs +7 -7
  51. package/src/decorators/ctrl/HTTPAction.cjs +6 -6
  52. package/src/decorators/ctrl/HTTPAction.mjs +4 -4
  53. package/src/decorators/ctrl/ServiceAction.cjs +3 -3
  54. package/src/decorators/ctrl/ServiceAction.mjs +4 -4
  55. package/src/decorators/ctrl/http/DELETE.cjs +2 -2
  56. package/src/decorators/ctrl/http/DELETE.mjs +2 -2
  57. package/src/decorators/ctrl/http/GET.cjs +2 -2
  58. package/src/decorators/ctrl/http/GET.mjs +2 -2
  59. package/src/decorators/ctrl/http/HEAD.cjs +2 -2
  60. package/src/decorators/ctrl/http/HEAD.mjs +2 -2
  61. package/src/decorators/ctrl/http/OPTIONS.cjs +2 -2
  62. package/src/decorators/ctrl/http/OPTIONS.mjs +2 -2
  63. package/src/decorators/ctrl/http/PATCH.cjs +2 -2
  64. package/src/decorators/ctrl/http/PATCH.mjs +2 -2
  65. package/src/decorators/ctrl/http/POST.cjs +2 -2
  66. package/src/decorators/ctrl/http/POST.mjs +2 -2
  67. package/src/decorators/ctrl/http/PUT.cjs +2 -2
  68. package/src/decorators/ctrl/http/PUT.mjs +2 -2
  69. package/src/decorators/di/Autoload.cjs +2 -2
  70. package/src/decorators/di/Autoload.mjs +2 -2
  71. package/src/decorators/di/Configurable.cjs +3 -3
  72. package/src/decorators/di/Configurable.mjs +2 -2
  73. package/src/decorators/di/Inject.cjs +6 -6
  74. package/src/decorators/di/Inject.mjs +11 -11
  75. package/src/decorators/di/Lifetime.cjs +18 -18
  76. package/src/decorators/di/Lifetime.mjs +13 -13
  77. package/src/decorators/dto/Accept.cjs +3 -3
  78. package/src/decorators/dto/Accept.mjs +2 -2
  79. package/src/decorators/dto/Expect.cjs +2 -2
  80. package/src/decorators/dto/Expect.mjs +3 -3
  81. package/src/decorators/dto/IndexSignature.cjs +2 -2
  82. package/src/decorators/dto/IndexSignature.mjs +3 -3
  83. package/src/decorators/dto/Return.cjs +3 -3
  84. package/src/decorators/dto/Return.mjs +2 -2
  85. package/src/decorators/orm/AfterInsert.cjs +26 -4
  86. package/src/decorators/orm/AfterInsert.mjs +25 -5
  87. package/src/decorators/orm/AfterLoad.cjs +26 -4
  88. package/src/decorators/orm/AfterLoad.mjs +25 -5
  89. package/src/decorators/orm/AfterRecover.cjs +26 -4
  90. package/src/decorators/orm/AfterRecover.mjs +25 -5
  91. package/src/decorators/orm/AfterRemove.cjs +26 -4
  92. package/src/decorators/orm/AfterRemove.mjs +25 -5
  93. package/src/decorators/orm/AfterSoftRemove.cjs +26 -4
  94. package/src/decorators/orm/AfterSoftRemove.mjs +25 -5
  95. package/src/decorators/orm/AfterUpdate.cjs +26 -4
  96. package/src/decorators/orm/AfterUpdate.mjs +25 -5
  97. package/src/decorators/orm/BeforeInsert.cjs +26 -4
  98. package/src/decorators/orm/BeforeInsert.mjs +25 -5
  99. package/src/decorators/orm/BeforeRecover.cjs +26 -4
  100. package/src/decorators/orm/BeforeRecover.mjs +25 -5
  101. package/src/decorators/orm/BeforeRemove.cjs +26 -4
  102. package/src/decorators/orm/BeforeRemove.mjs +25 -5
  103. package/src/decorators/orm/BeforeSoftRemove.cjs +26 -4
  104. package/src/decorators/orm/BeforeSoftRemove.mjs +25 -5
  105. package/src/decorators/orm/BeforeUpdate.cjs +26 -4
  106. package/src/decorators/orm/BeforeUpdate.mjs +25 -5
  107. package/src/decorators/orm/Check.cjs +29 -4
  108. package/src/decorators/orm/Check.mjs +28 -5
  109. package/src/decorators/orm/ChildEntity.cjs +29 -4
  110. package/src/decorators/orm/ChildEntity.mjs +28 -5
  111. package/src/decorators/orm/Column.cjs +61 -4
  112. package/src/decorators/orm/Column.mjs +61 -6
  113. package/src/decorators/orm/CreateDateColumn.cjs +25 -4
  114. package/src/decorators/orm/CreateDateColumn.mjs +24 -5
  115. package/src/decorators/orm/DeleteDateColumn.cjs +25 -4
  116. package/src/decorators/orm/DeleteDateColumn.mjs +23 -4
  117. package/src/decorators/orm/Entity.cjs +35 -4
  118. package/src/decorators/orm/Entity.mjs +33 -4
  119. package/src/decorators/orm/EventSubscriber.cjs +22 -4
  120. package/src/decorators/orm/EventSubscriber.mjs +21 -5
  121. package/src/decorators/orm/Exclusion.cjs +29 -4
  122. package/src/decorators/orm/Exclusion.mjs +28 -5
  123. package/src/decorators/orm/Generated.cjs +24 -4
  124. package/src/decorators/orm/Generated.mjs +23 -5
  125. package/src/decorators/orm/Index.cjs +41 -4
  126. package/src/decorators/orm/Index.mjs +41 -6
  127. package/src/decorators/orm/JoinColumn.cjs +29 -4
  128. package/src/decorators/orm/JoinColumn.mjs +28 -5
  129. package/src/decorators/orm/JoinTable.cjs +30 -4
  130. package/src/decorators/orm/JoinTable.mjs +28 -4
  131. package/src/decorators/orm/ManyToMany.cjs +42 -4
  132. package/src/decorators/orm/ManyToMany.mjs +40 -4
  133. package/src/decorators/orm/ManyToOne.cjs +42 -4
  134. package/src/decorators/orm/ManyToOne.mjs +40 -4
  135. package/src/decorators/orm/ObjectIdColumn.cjs +28 -4
  136. package/src/decorators/orm/ObjectIdColumn.mjs +27 -5
  137. package/src/decorators/orm/OneToMany.cjs +34 -4
  138. package/src/decorators/orm/OneToMany.mjs +34 -6
  139. package/src/decorators/orm/OneToOne.cjs +42 -4
  140. package/src/decorators/orm/OneToOne.mjs +40 -4
  141. package/src/decorators/orm/PrimaryColumn.cjs +49 -4
  142. package/src/decorators/orm/PrimaryColumn.mjs +49 -6
  143. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +54 -4
  144. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +54 -6
  145. package/src/decorators/orm/RelationId.cjs +26 -4
  146. package/src/decorators/orm/RelationId.mjs +25 -5
  147. package/src/decorators/orm/TableInheritance.cjs +26 -4
  148. package/src/decorators/orm/TableInheritance.mjs +25 -5
  149. package/src/decorators/orm/Tree.cjs +24 -4
  150. package/src/decorators/orm/Tree.mjs +23 -5
  151. package/src/decorators/orm/TreeChildren.cjs +31 -4
  152. package/src/decorators/orm/TreeChildren.mjs +29 -4
  153. package/src/decorators/orm/TreeLevelColumn.cjs +25 -4
  154. package/src/decorators/orm/TreeLevelColumn.mjs +23 -4
  155. package/src/decorators/orm/TreeParent.cjs +31 -4
  156. package/src/decorators/orm/TreeParent.mjs +29 -4
  157. package/src/decorators/orm/Unique.cjs +44 -4
  158. package/src/decorators/orm/Unique.mjs +44 -6
  159. package/src/decorators/orm/UpdateDateColumn.cjs +25 -4
  160. package/src/decorators/orm/UpdateDateColumn.mjs +24 -5
  161. package/src/decorators/orm/VersionColumn.cjs +25 -4
  162. package/src/decorators/orm/VersionColumn.mjs +24 -5
  163. package/src/decorators/orm/ViewColumn.cjs +25 -4
  164. package/src/decorators/orm/ViewColumn.mjs +24 -5
  165. package/src/decorators/orm/ViewEntity.cjs +34 -4
  166. package/src/decorators/orm/ViewEntity.mjs +33 -5
  167. package/src/decorators/orm/VirtualColumn.cjs +42 -4
  168. package/src/decorators/orm/VirtualColumn.mjs +40 -4
  169. package/src/lib/base/EventEmitter.cjs +1195 -1202
  170. package/src/lib/base/EventEmitter.mjs +1195 -1202
  171. package/src/lib/base/async-constructor/Append.cjs +11 -11
  172. package/src/lib/base/async-constructor/Append.mjs +7 -7
  173. package/src/lib/base/internal/BasicInfo.cjs +10 -10
  174. package/src/lib/base/internal/BasicInfo.mjs +9 -9
  175. package/src/lib/base/internal/CamelCase.cjs +4 -4
  176. package/src/lib/base/internal/CamelCase.mjs +11 -11
  177. package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +19 -19
  178. package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +18 -18
  179. package/src/lib/base/internal/ConstructorSymbol.cjs +10 -10
  180. package/src/lib/base/internal/ConstructorSymbol.mjs +8 -8
  181. package/src/lib/base/internal/ControllerEntrypoint.cjs +65 -65
  182. package/src/lib/base/internal/ControllerEntrypoint.mjs +36 -36
  183. package/src/lib/base/internal/DataValidator.cjs +185 -174
  184. package/src/lib/base/internal/DataValidator.mjs +230 -219
  185. package/src/lib/base/internal/GetActionDTOAndOptions.cjs +9 -9
  186. package/src/lib/base/internal/GetActionDTOAndOptions.mjs +10 -10
  187. package/src/lib/base/internal/IEEE754.cjs +74 -74
  188. package/src/lib/base/internal/IEEE754.mjs +70 -70
  189. package/src/lib/base/internal/MethodAssistantFunction.cjs +28 -28
  190. package/src/lib/base/internal/MethodAssistantFunction.mjs +38 -38
  191. package/src/lib/base/internal/MethodValidation.cjs +25 -25
  192. package/src/lib/base/internal/MethodValidation.mjs +20 -20
  193. package/src/lib/base/internal/ObjectConfiguration.cjs +10 -10
  194. package/src/lib/base/internal/ObjectConfiguration.mjs +15 -15
  195. package/src/lib/base/internal/ObjectContainer.cjs +7 -7
  196. package/src/lib/base/internal/ObjectContainer.mjs +6 -6
  197. package/src/lib/base/internal/ObjectInjection.cjs +16 -16
  198. package/src/lib/base/internal/ObjectInjection.mjs +13 -13
  199. package/src/lib/base/internal/ObjectLifetime.cjs +10 -10
  200. package/src/lib/base/internal/ObjectLifetime.mjs +9 -9
  201. package/src/lib/base/internal/ObjectWeakRefs.cjs +11 -11
  202. package/src/lib/base/internal/ObjectWeakRefs.mjs +9 -9
  203. package/src/lib/base/internal/PatternManager.cjs +739 -744
  204. package/src/lib/base/internal/PatternManager.mjs +743 -748
  205. package/src/lib/base/internal/StringifyPattern.cjs +26 -26
  206. package/src/lib/base/internal/StringifyPattern.mjs +26 -26
  207. package/src/lib/base/internal/ThrowWarning.cjs +2 -2
  208. package/src/lib/base/internal/ThrowWarning.mjs +2 -2
  209. package/src/lib/core/Alias.cjs +5 -5
  210. package/src/lib/core/Application.cjs +115 -128
  211. package/src/lib/core/Application.mjs +135 -148
  212. package/src/lib/helpers/ArrayToSet.cjs +2 -2
  213. package/src/lib/helpers/ArrayToSet.mjs +3 -3
  214. package/src/lib/helpers/As.cjs +2 -2
  215. package/src/lib/helpers/As.mjs +2 -2
  216. package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +3 -3
  217. package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +3 -3
  218. package/src/lib/helpers/ConvertArrayLikeToStream.cjs +2 -2
  219. package/src/lib/helpers/ConvertArrayLikeToStream.mjs +2 -2
  220. package/src/lib/helpers/Delay.cjs +2 -2
  221. package/src/lib/helpers/Delay.mjs +2 -2
  222. package/src/lib/helpers/DevNull.cjs +2 -2
  223. package/src/lib/helpers/DevNull.mjs +2 -2
  224. package/src/lib/helpers/GetObjectNestingDepth.cjs +12 -12
  225. package/src/lib/helpers/GetObjectNestingDepth.mjs +11 -11
  226. package/src/lib/helpers/GetObjectPropertyPaths.cjs +7 -7
  227. package/src/lib/helpers/GetObjectPropertyPaths.mjs +9 -9
  228. package/src/lib/helpers/Glob.cjs +890 -890
  229. package/src/lib/helpers/Glob.mjs +889 -889
  230. package/src/lib/helpers/GraceExit.cjs +3 -3
  231. package/src/lib/helpers/GraceExit.mjs +7 -7
  232. package/src/lib/helpers/HexToIEEE754.cjs +4 -4
  233. package/src/lib/helpers/HexToIEEE754.mjs +2 -2
  234. package/src/lib/helpers/HexToSigned.cjs +5 -5
  235. package/src/lib/helpers/HexToSigned.mjs +4 -4
  236. package/src/lib/helpers/HexToUnsigned.cjs +2 -2
  237. package/src/lib/helpers/HexToUnsigned.mjs +2 -2
  238. package/src/lib/helpers/IEEE754ToHex.cjs +5 -5
  239. package/src/lib/helpers/IEEE754ToHex.mjs +5 -5
  240. package/src/lib/helpers/IsAbortError.cjs +2 -2
  241. package/src/lib/helpers/IsAbortError.mjs +3 -3
  242. package/src/lib/helpers/IsEmptyObject.cjs +3 -3
  243. package/src/lib/helpers/IsEmptyObject.mjs +3 -3
  244. package/src/lib/helpers/IsExists.cjs +5 -5
  245. package/src/lib/helpers/IsExists.mjs +4 -4
  246. package/src/lib/helpers/IsHtml.cjs +8 -18
  247. package/src/lib/helpers/IsHtml.mjs +8 -18
  248. package/src/lib/helpers/IsNativeFunction.cjs +2 -2
  249. package/src/lib/helpers/IsNativeFunction.mjs +2 -2
  250. package/src/lib/helpers/IsPath.cjs +2 -2
  251. package/src/lib/helpers/IsPath.mjs +5 -5
  252. package/src/lib/helpers/IsPromise.cjs +2 -2
  253. package/src/lib/helpers/IsPromise.mjs +2 -2
  254. package/src/lib/helpers/IsPromiseLike.cjs +5 -5
  255. package/src/lib/helpers/IsPromiseLike.mjs +6 -6
  256. package/src/lib/helpers/IsXML.cjs +1531 -1525
  257. package/src/lib/helpers/IsXML.mjs +1527 -1521
  258. package/src/lib/helpers/MD5.cjs +2 -2
  259. package/src/lib/helpers/MD5.mjs +2 -2
  260. package/src/lib/helpers/MergeArray.cjs +3 -3
  261. package/src/lib/helpers/MergeArray.mjs +3 -3
  262. package/src/lib/helpers/MergeMap.cjs +3 -3
  263. package/src/lib/helpers/MergeMap.mjs +3 -3
  264. package/src/lib/helpers/MergeSet.cjs +2 -2
  265. package/src/lib/helpers/MergeSet.mjs +3 -3
  266. package/src/lib/helpers/NoCase.cjs +27 -27
  267. package/src/lib/helpers/NoCase.mjs +24 -24
  268. package/src/lib/helpers/NonceStr.cjs +2 -2
  269. package/src/lib/helpers/NonceStr.mjs +2 -2
  270. package/src/lib/helpers/ObjectConstructor.cjs +2 -2
  271. package/src/lib/helpers/ObjectConstructor.mjs +4 -4
  272. package/src/lib/helpers/ObjectHash.cjs +377 -384
  273. package/src/lib/helpers/ObjectHash.mjs +373 -380
  274. package/src/lib/helpers/ObjectParentConstructor.cjs +2 -2
  275. package/src/lib/helpers/ObjectParentConstructor.mjs +5 -5
  276. package/src/lib/helpers/ObjectParentConstructors.cjs +6 -6
  277. package/src/lib/helpers/ObjectParentConstructors.mjs +2 -2
  278. package/src/lib/helpers/ObjectPrototype.cjs +2 -2
  279. package/src/lib/helpers/ObjectPrototype.mjs +2 -2
  280. package/src/lib/helpers/ObjectToMap.cjs +2 -2
  281. package/src/lib/helpers/ObjectToMap.mjs +3 -3
  282. package/src/lib/helpers/Paginator.cjs +2 -2
  283. package/src/lib/helpers/Paginator.mjs +6 -6
  284. package/src/lib/helpers/RandomString.cjs +148 -169
  285. package/src/lib/helpers/RandomString.mjs +145 -166
  286. package/src/lib/helpers/SHA1.cjs +2 -2
  287. package/src/lib/helpers/SHA1.mjs +2 -2
  288. package/src/lib/helpers/SHA256.cjs +2 -2
  289. package/src/lib/helpers/SHA256.mjs +2 -2
  290. package/src/lib/helpers/SetToArray.cjs +2 -2
  291. package/src/lib/helpers/SetToArray.mjs +2 -2
  292. package/src/lib/helpers/SignedToHex.cjs +4 -4
  293. package/src/lib/helpers/SignedToHex.mjs +4 -4
  294. package/src/lib/helpers/SortArray.cjs +16 -16
  295. package/src/lib/helpers/SortArray.mjs +15 -15
  296. package/src/lib/helpers/SortKeys.cjs +41 -41
  297. package/src/lib/helpers/SortKeys.mjs +41 -41
  298. package/src/lib/helpers/SortObject.cjs +2 -2
  299. package/src/lib/helpers/SortObject.mjs +2 -2
  300. package/src/lib/helpers/Templating.cjs +25 -25
  301. package/src/lib/helpers/Templating.mjs +25 -25
  302. package/src/lib/helpers/URLBuilder.cjs +355 -355
  303. package/src/lib/helpers/URLBuilder.mjs +349 -349
  304. package/src/lib/helpers/UniqueArray.cjs +3 -3
  305. package/src/lib/helpers/UniqueArray.mjs +2 -2
  306. package/src/lib/helpers/UnsignedToHex.cjs +3 -3
  307. package/src/lib/helpers/UnsignedToHex.mjs +3 -3
  308. package/src/lib/ioc/DependencyInjectionContainer.cjs +106 -106
  309. package/src/lib/ioc/DependencyInjectionContainer.mjs +122 -122
  310. package/src/lib/ioc/FunctionTokenizer.cjs +115 -115
  311. package/src/lib/ioc/FunctionTokenizer.mjs +102 -102
  312. package/src/lib/ioc/Lifetime.cjs +5 -5
  313. package/src/lib/ioc/Lifetime.mjs +5 -5
  314. package/src/lib/ioc/ListModules.cjs +5298 -5221
  315. package/src/lib/ioc/ListModules.mjs +5258 -5181
  316. package/src/lib/ioc/LoadModules.cjs +56 -56
  317. package/src/lib/ioc/LoadModules.mjs +69 -69
  318. package/src/lib/ioc/ParamParser.cjs +30 -30
  319. package/src/lib/ioc/ParamParser.mjs +41 -41
  320. package/src/lib/ioc/Resolvers.cjs +87 -87
  321. package/src/lib/ioc/Resolvers.mjs +109 -109
  322. package/src/lib/ioc/Utils.cjs +12 -12
  323. package/src/lib/ioc/Utils.mjs +18 -18
  324. package/src/lib/validation/VLD.cjs +4025 -4202
  325. package/src/lib/validation/VLD.mjs +2972 -3149
  326. package/src/providers/Database.cjs +2 -2
  327. package/src/providers/Database.mjs +7 -7
  328. package/src/providers/PasswordHash.cjs +330 -330
  329. package/src/providers/PasswordHash.mjs +397 -397
  330. package/src/providers/migration/GenerateMigration.cjs +2 -2
  331. package/src/providers/migration/GenerateMigration.mjs +2 -2
  332. package/vendor/Package.1.cjs +256 -256
  333. package/vendor/Package.1.mjs +254 -254
  334. package/vendor/Package.112.cjs +42157 -42076
  335. package/vendor/Package.112.mjs +42222 -42081
  336. package/vendor/Package.13.cjs +36 -36
  337. package/vendor/Package.13.mjs +24 -24
  338. package/vendor/Package.16.cjs +12351 -12233
  339. package/vendor/Package.16.mjs +12348 -12230
  340. package/vendor/Package.17.cjs +924 -924
  341. package/vendor/Package.17.mjs +943 -943
  342. package/vendor/Package.18.cjs +48229 -20
  343. package/vendor/Package.18.mjs +48192 -24
  344. package/vendor/Package.2.cjs +5824 -5853
  345. package/vendor/Package.2.mjs +5780 -5809
  346. package/vendor/Package.3.cjs +60 -60
  347. package/vendor/Package.3.mjs +85 -85
  348. package/vendor/Package.4.cjs +874 -884
  349. package/vendor/Package.4.mjs +877 -887
  350. package/vendor/Package.5.cjs +15 -19
  351. package/vendor/Package.5.mjs +10 -14
  352. package/vendor/Package.6.cjs +2058 -2067
  353. package/vendor/Package.6.mjs +2064 -2073
  354. package/vendor/Package.610.cjs +9 -9
  355. package/vendor/Package.611.cjs +39 -39
  356. package/vendor/Package.611.mjs +22 -22
  357. package/vendor/Package.612.cjs +33 -33
  358. package/vendor/Package.612.mjs +17 -17
  359. package/vendor/Package.613.cjs +62 -62
  360. package/vendor/Package.613.mjs +29 -29
  361. package/vendor/Package.62.cjs +295 -298
  362. package/vendor/Package.62.mjs +278 -281
  363. package/vendor/Package.63.cjs +354 -354
  364. package/vendor/Package.63.mjs +229 -229
  365. package/vendor/Package.64.cjs +74 -74
  366. package/vendor/Package.64.mjs +74 -74
  367. package/vendor/Package.65.cjs +1851 -1858
  368. package/vendor/Package.65.mjs +1693 -1700
  369. package/vendor/Package.66.cjs +16 -16
  370. package/vendor/Package.66.mjs +16 -16
  371. package/vendor/Package.67.cjs +87 -87
  372. package/vendor/Package.67.mjs +85 -85
  373. package/vendor/Package.68.cjs +14 -14
  374. package/vendor/Package.68.mjs +6 -6
  375. package/vendor/Package.69.cjs +8 -8
  376. package/vendor/Package.7.cjs +3 -3
  377. package/vendor/Package.7.mjs +3 -3
  378. package/vendor/Package.9.cjs +124 -138
  379. package/vendor/Package.9.mjs +121 -135
  380. package/vendor/TypeDef.internal.3.d.ts +0 -14
  381. package/vendor/Package.19.cjs +0 -37
  382. package/vendor/Package.19.mjs +0 -35
  383. package/vendor/Package.20.cjs +0 -37
  384. package/vendor/Package.20.mjs +0 -35
  385. package/vendor/Package.21.cjs +0 -37
  386. package/vendor/Package.21.mjs +0 -35
  387. package/vendor/Package.22.cjs +0 -37
  388. package/vendor/Package.22.mjs +0 -35
  389. package/vendor/Package.23.cjs +0 -37
  390. package/vendor/Package.23.mjs +0 -35
  391. package/vendor/Package.24.cjs +0 -37
  392. package/vendor/Package.24.mjs +0 -35
  393. package/vendor/Package.25.cjs +0 -37
  394. package/vendor/Package.25.mjs +0 -35
  395. package/vendor/Package.26.cjs +0 -37
  396. package/vendor/Package.26.mjs +0 -35
  397. package/vendor/Package.27.cjs +0 -37
  398. package/vendor/Package.27.mjs +0 -35
  399. package/vendor/Package.28.cjs +0 -37
  400. package/vendor/Package.28.mjs +0 -35
  401. package/vendor/Package.29.cjs +0 -40
  402. package/vendor/Package.29.mjs +0 -38
  403. package/vendor/Package.30.cjs +0 -41
  404. package/vendor/Package.30.mjs +0 -39
  405. package/vendor/Package.31.cjs +0 -72
  406. package/vendor/Package.31.mjs +0 -70
  407. package/vendor/Package.32.cjs +0 -37
  408. package/vendor/Package.32.mjs +0 -35
  409. package/vendor/Package.33.cjs +0 -37
  410. package/vendor/Package.33.mjs +0 -35
  411. package/vendor/Package.34.cjs +0 -46
  412. package/vendor/Package.34.mjs +0 -44
  413. package/vendor/Package.35.cjs +0 -34
  414. package/vendor/Package.35.mjs +0 -32
  415. package/vendor/Package.36.cjs +0 -40
  416. package/vendor/Package.36.mjs +0 -38
  417. package/vendor/Package.37.cjs +0 -36
  418. package/vendor/Package.37.mjs +0 -34
  419. package/vendor/Package.38.cjs +0 -52
  420. package/vendor/Package.38.mjs +0 -50
  421. package/vendor/Package.39.cjs +0 -41
  422. package/vendor/Package.39.mjs +0 -39
  423. package/vendor/Package.40.cjs +0 -42
  424. package/vendor/Package.40.mjs +0 -40
  425. package/vendor/Package.41.cjs +0 -53
  426. package/vendor/Package.41.mjs +0 -51
  427. package/vendor/Package.42.cjs +0 -53
  428. package/vendor/Package.42.mjs +0 -51
  429. package/vendor/Package.43.cjs +0 -40
  430. package/vendor/Package.43.mjs +0 -38
  431. package/vendor/Package.44.cjs +0 -46
  432. package/vendor/Package.44.mjs +0 -44
  433. package/vendor/Package.45.cjs +0 -53
  434. package/vendor/Package.45.mjs +0 -51
  435. package/vendor/Package.46.cjs +0 -59
  436. package/vendor/Package.46.mjs +0 -57
  437. package/vendor/Package.47.cjs +0 -65
  438. package/vendor/Package.47.mjs +0 -63
  439. package/vendor/Package.48.cjs +0 -38
  440. package/vendor/Package.48.mjs +0 -36
  441. package/vendor/Package.49.cjs +0 -38
  442. package/vendor/Package.49.mjs +0 -36
  443. package/vendor/Package.50.cjs +0 -36
  444. package/vendor/Package.50.mjs +0 -34
  445. package/vendor/Package.51.cjs +0 -43
  446. package/vendor/Package.51.mjs +0 -41
  447. package/vendor/Package.52.cjs +0 -37
  448. package/vendor/Package.52.mjs +0 -35
  449. package/vendor/Package.53.cjs +0 -43
  450. package/vendor/Package.53.mjs +0 -41
  451. package/vendor/Package.54.cjs +0 -55
  452. package/vendor/Package.54.mjs +0 -53
  453. package/vendor/Package.55.cjs +0 -37
  454. package/vendor/Package.55.mjs +0 -35
  455. package/vendor/Package.56.cjs +0 -37
  456. package/vendor/Package.56.mjs +0 -35
  457. package/vendor/Package.57.cjs +0 -37
  458. package/vendor/Package.57.mjs +0 -35
  459. package/vendor/Package.58.cjs +0 -45
  460. package/vendor/Package.58.mjs +0 -43
  461. package/vendor/Package.59.cjs +0 -53
  462. package/vendor/Package.59.mjs +0 -51
  463. package/vendor/Package.60.cjs +0 -47649
  464. package/vendor/Package.60.mjs +0 -47606
@@ -4,53 +4,53 @@ const t = "00000000-0000-0000-0000-000000000000";
4
4
 
5
5
  const e = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;
6
6
 
7
- function validate(n) {
7
+ function r(n) {
8
8
  return typeof n === "string" && e.test(n);
9
9
  }
10
10
 
11
- function parse(n) {
12
- if (!validate(n)) {
11
+ function o(n) {
12
+ if (!r(n)) {
13
13
  throw TypeError("Invalid UUID");
14
14
  }
15
15
  let t;
16
16
  return Uint8Array.of((t = parseInt(n.slice(0, 8), 16)) >>> 24, t >>> 16 & 255, t >>> 8 & 255, t & 255, (t = parseInt(n.slice(9, 13), 16)) >>> 8, t & 255, (t = parseInt(n.slice(14, 18), 16)) >>> 8, t & 255, (t = parseInt(n.slice(19, 23), 16)) >>> 8, t & 255, (t = parseInt(n.slice(24, 36), 16)) / 1099511627776 & 255, t / 4294967296 & 255, t >>> 24 & 255, t >>> 16 & 255, t >>> 8 & 255, t & 255);
17
17
  }
18
18
 
19
- const r = [];
19
+ const f = [];
20
20
 
21
21
  for (let n = 0; n < 256; ++n) {
22
- r.push((n + 256).toString(16).slice(1));
22
+ f.push((n + 256).toString(16).slice(1));
23
23
  }
24
24
 
25
- function unsafeStringify(n, t = 0) {
26
- return (r[n[t + 0]] + r[n[t + 1]] + r[n[t + 2]] + r[n[t + 3]] + "-" + r[n[t + 4]] + r[n[t + 5]] + "-" + r[n[t + 6]] + r[n[t + 7]] + "-" + r[n[t + 8]] + r[n[t + 9]] + "-" + r[n[t + 10]] + r[n[t + 11]] + r[n[t + 12]] + r[n[t + 13]] + r[n[t + 14]] + r[n[t + 15]]).toLowerCase();
25
+ function s(n, t = 0) {
26
+ return (f[n[t + 0]] + f[n[t + 1]] + f[n[t + 2]] + f[n[t + 3]] + "-" + f[n[t + 4]] + f[n[t + 5]] + "-" + f[n[t + 6]] + f[n[t + 7]] + "-" + f[n[t + 8]] + f[n[t + 9]] + "-" + f[n[t + 10]] + f[n[t + 11]] + f[n[t + 12]] + f[n[t + 13]] + f[n[t + 14]] + f[n[t + 15]]).toLowerCase();
27
27
  }
28
28
 
29
- function stringify(n, t = 0) {
30
- const e = unsafeStringify(n, t);
31
- if (!validate(e)) {
29
+ function c(n, t = 0) {
30
+ const e = s(n, t);
31
+ if (!r(e)) {
32
32
  throw TypeError("Stringified UUID is invalid");
33
33
  }
34
34
  return e;
35
35
  }
36
36
 
37
- let o;
37
+ let i;
38
38
 
39
- const s = new Uint8Array(16);
39
+ const u = new Uint8Array(16);
40
40
 
41
- function rng() {
42
- if (!o) {
41
+ function a() {
42
+ if (!i) {
43
43
  if (typeof crypto === "undefined" || !crypto.getRandomValues) {
44
44
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
45
45
  }
46
- o = crypto.getRandomValues.bind(crypto);
46
+ i = crypto.getRandomValues.bind(crypto);
47
47
  }
48
- return o(s);
48
+ return i(u);
49
49
  }
50
50
 
51
- const i = {};
51
+ const l = {};
52
52
 
53
- function v1(n, t, e) {
53
+ function d(n, t, e) {
54
54
  let r;
55
55
  const o = n?._v6 ?? false;
56
56
  if (n) {
@@ -60,17 +60,17 @@ function v1(n, t, e) {
60
60
  }
61
61
  }
62
62
  if (n) {
63
- r = v1Bytes(n.random ?? n.rng?.() ?? rng(), n.msecs, n.nsecs, n.clockseq, n.node, t, e);
63
+ r = y(n.random ?? n.rng?.() ?? a(), n.msecs, n.nsecs, n.clockseq, n.node, t, e);
64
64
  } else {
65
65
  const n = Date.now();
66
- const s = rng();
67
- updateV1State(i, n, s);
68
- r = v1Bytes(s, i.msecs, i.nsecs, o ? undefined : i.clockseq, o ? undefined : i.node, t, e);
66
+ const f = a();
67
+ g(l, n, f);
68
+ r = y(f, l.msecs, l.nsecs, o ? undefined : l.clockseq, o ? undefined : l.node, t, e);
69
69
  }
70
- return t ?? unsafeStringify(r);
70
+ return t ?? s(r);
71
71
  }
72
72
 
73
- function updateV1State(n, t, e) {
73
+ function g(n, t, e) {
74
74
  n.msecs ??= -Infinity;
75
75
  n.nsecs ??= 0;
76
76
  if (t === n.msecs) {
@@ -93,16 +93,16 @@ function updateV1State(n, t, e) {
93
93
  return n;
94
94
  }
95
95
 
96
- function v1Bytes(n, t, e, r, o, s, i = 0) {
96
+ function y(n, t, e, r, o, f, s = 0) {
97
97
  if (n.length < 16) {
98
98
  throw new Error("Random bytes length must be >= 16");
99
99
  }
100
- if (!s) {
101
- s = new Uint8Array(16);
102
- i = 0;
100
+ if (!f) {
101
+ f = new Uint8Array(16);
102
+ s = 0;
103
103
  } else {
104
- if (i < 0 || i + 16 > s.length) {
105
- throw new RangeError(`UUID byte range ${i}:${i + 15} is out of buffer bounds`);
104
+ if (s < 0 || s + 16 > f.length) {
105
+ throw new RangeError(`UUID byte range ${s}:${s + 15} is out of buffer bounds`);
106
106
  }
107
107
  }
108
108
  t ??= Date.now();
@@ -110,41 +110,41 @@ function v1Bytes(n, t, e, r, o, s, i = 0) {
110
110
  r ??= (n[8] << 8 | n[9]) & 16383;
111
111
  o ??= n.slice(10, 16);
112
112
  t += 122192928e5;
113
- const d = ((t & 268435455) * 1e4 + e) % 4294967296;
114
- s[i++] = d >>> 24 & 255;
115
- s[i++] = d >>> 16 & 255;
116
- s[i++] = d >>> 8 & 255;
117
- s[i++] = d & 255;
118
- const c = t / 4294967296 * 1e4 & 268435455;
119
- s[i++] = c >>> 8 & 255;
120
- s[i++] = c & 255;
121
- s[i++] = c >>> 24 & 15 | 16;
122
- s[i++] = c >>> 16 & 255;
123
- s[i++] = r >>> 8 | 128;
124
- s[i++] = r & 255;
113
+ const c = ((t & 268435455) * 1e4 + e) % 4294967296;
114
+ f[s++] = c >>> 24 & 255;
115
+ f[s++] = c >>> 16 & 255;
116
+ f[s++] = c >>> 8 & 255;
117
+ f[s++] = c & 255;
118
+ const i = t / 4294967296 * 1e4 & 268435455;
119
+ f[s++] = i >>> 8 & 255;
120
+ f[s++] = i & 255;
121
+ f[s++] = i >>> 24 & 15 | 16;
122
+ f[s++] = i >>> 16 & 255;
123
+ f[s++] = r >>> 8 | 128;
124
+ f[s++] = r & 255;
125
125
  for (let n = 0; n < 6; ++n) {
126
- s[i++] = o[n];
126
+ f[s++] = o[n];
127
127
  }
128
- return s;
128
+ return f;
129
129
  }
130
130
 
131
- function v1ToV6(n) {
132
- const t = typeof n === "string" ? parse(n) : n;
133
- const e = _v1ToV6(t);
134
- return typeof n === "string" ? unsafeStringify(e) : e;
131
+ function h(n) {
132
+ const t = typeof n === "string" ? o(n) : n;
133
+ const e = U(t);
134
+ return typeof n === "string" ? s(e) : e;
135
135
  }
136
136
 
137
- function _v1ToV6(n) {
137
+ function U(n) {
138
138
  return Uint8Array.of((n[6] & 15) << 4 | n[7] >> 4 & 15, (n[7] & 15) << 4 | (n[4] & 240) >> 4, (n[4] & 15) << 4 | (n[5] & 240) >> 4, (n[5] & 15) << 4 | (n[0] & 240) >> 4, (n[0] & 15) << 4 | (n[1] & 240) >> 4, (n[1] & 15) << 4 | (n[2] & 240) >> 4, 96 | n[2] & 15, n[3], n[8], n[9], n[10], n[11], n[12], n[13], n[14], n[15]);
139
139
  }
140
140
 
141
- function md5(n) {
142
- const t = uint8ToUint32(n);
143
- const e = wordsToMd5(t, n.length * 8);
144
- return uint32ToUint8(e);
141
+ function p(n) {
142
+ const t = I(n);
143
+ const e = b(t, n.length * 8);
144
+ return w(e);
145
145
  }
146
146
 
147
- function uint32ToUint8(n) {
147
+ function w(n) {
148
148
  const t = new Uint8Array(n.length * 4);
149
149
  for (let e = 0; e < n.length * 4; e++) {
150
150
  t[e] = n[e >> 2] >>> e % 4 * 8 & 255;
@@ -152,139 +152,139 @@ function uint32ToUint8(n) {
152
152
  return t;
153
153
  }
154
154
 
155
- function getOutputLength(n) {
155
+ function m(n) {
156
156
  return (n + 64 >>> 9 << 4) + 14 + 1;
157
157
  }
158
158
 
159
- function wordsToMd5(n, t) {
160
- const e = new Uint32Array(getOutputLength(t)).fill(0);
159
+ function b(n, t) {
160
+ const e = new Uint32Array(m(t)).fill(0);
161
161
  e.set(n);
162
162
  e[t >> 5] |= 128 << t % 32;
163
163
  e[e.length - 1] = t;
164
164
  n = e;
165
165
  let r = 1732584193;
166
166
  let o = -271733879;
167
- let s = -1732584194;
168
- let i = 271733878;
167
+ let f = -1732584194;
168
+ let s = 271733878;
169
169
  for (let t = 0; t < n.length; t += 16) {
170
170
  const e = r;
171
- const d = o;
172
- const c = s;
173
- const a = i;
174
- r = md5ff(r, o, s, i, n[t], 7, -680876936);
175
- i = md5ff(i, r, o, s, n[t + 1], 12, -389564586);
176
- s = md5ff(s, i, r, o, n[t + 2], 17, 606105819);
177
- o = md5ff(o, s, i, r, n[t + 3], 22, -1044525330);
178
- r = md5ff(r, o, s, i, n[t + 4], 7, -176418897);
179
- i = md5ff(i, r, o, s, n[t + 5], 12, 1200080426);
180
- s = md5ff(s, i, r, o, n[t + 6], 17, -1473231341);
181
- o = md5ff(o, s, i, r, n[t + 7], 22, -45705983);
182
- r = md5ff(r, o, s, i, n[t + 8], 7, 1770035416);
183
- i = md5ff(i, r, o, s, n[t + 9], 12, -1958414417);
184
- s = md5ff(s, i, r, o, n[t + 10], 17, -42063);
185
- o = md5ff(o, s, i, r, n[t + 11], 22, -1990404162);
186
- r = md5ff(r, o, s, i, n[t + 12], 7, 1804603682);
187
- i = md5ff(i, r, o, s, n[t + 13], 12, -40341101);
188
- s = md5ff(s, i, r, o, n[t + 14], 17, -1502002290);
189
- o = md5ff(o, s, i, r, n[t + 15], 22, 1236535329);
190
- r = md5gg(r, o, s, i, n[t + 1], 5, -165796510);
191
- i = md5gg(i, r, o, s, n[t + 6], 9, -1069501632);
192
- s = md5gg(s, i, r, o, n[t + 11], 14, 643717713);
193
- o = md5gg(o, s, i, r, n[t], 20, -373897302);
194
- r = md5gg(r, o, s, i, n[t + 5], 5, -701558691);
195
- i = md5gg(i, r, o, s, n[t + 10], 9, 38016083);
196
- s = md5gg(s, i, r, o, n[t + 15], 14, -660478335);
197
- o = md5gg(o, s, i, r, n[t + 4], 20, -405537848);
198
- r = md5gg(r, o, s, i, n[t + 9], 5, 568446438);
199
- i = md5gg(i, r, o, s, n[t + 14], 9, -1019803690);
200
- s = md5gg(s, i, r, o, n[t + 3], 14, -187363961);
201
- o = md5gg(o, s, i, r, n[t + 8], 20, 1163531501);
202
- r = md5gg(r, o, s, i, n[t + 13], 5, -1444681467);
203
- i = md5gg(i, r, o, s, n[t + 2], 9, -51403784);
204
- s = md5gg(s, i, r, o, n[t + 7], 14, 1735328473);
205
- o = md5gg(o, s, i, r, n[t + 12], 20, -1926607734);
206
- r = md5hh(r, o, s, i, n[t + 5], 4, -378558);
207
- i = md5hh(i, r, o, s, n[t + 8], 11, -2022574463);
208
- s = md5hh(s, i, r, o, n[t + 11], 16, 1839030562);
209
- o = md5hh(o, s, i, r, n[t + 14], 23, -35309556);
210
- r = md5hh(r, o, s, i, n[t + 1], 4, -1530992060);
211
- i = md5hh(i, r, o, s, n[t + 4], 11, 1272893353);
212
- s = md5hh(s, i, r, o, n[t + 7], 16, -155497632);
213
- o = md5hh(o, s, i, r, n[t + 10], 23, -1094730640);
214
- r = md5hh(r, o, s, i, n[t + 13], 4, 681279174);
215
- i = md5hh(i, r, o, s, n[t], 11, -358537222);
216
- s = md5hh(s, i, r, o, n[t + 3], 16, -722521979);
217
- o = md5hh(o, s, i, r, n[t + 6], 23, 76029189);
218
- r = md5hh(r, o, s, i, n[t + 9], 4, -640364487);
219
- i = md5hh(i, r, o, s, n[t + 12], 11, -421815835);
220
- s = md5hh(s, i, r, o, n[t + 15], 16, 530742520);
221
- o = md5hh(o, s, i, r, n[t + 2], 23, -995338651);
222
- r = md5ii(r, o, s, i, n[t], 6, -198630844);
223
- i = md5ii(i, r, o, s, n[t + 7], 10, 1126891415);
224
- s = md5ii(s, i, r, o, n[t + 14], 15, -1416354905);
225
- o = md5ii(o, s, i, r, n[t + 5], 21, -57434055);
226
- r = md5ii(r, o, s, i, n[t + 12], 6, 1700485571);
227
- i = md5ii(i, r, o, s, n[t + 3], 10, -1894986606);
228
- s = md5ii(s, i, r, o, n[t + 10], 15, -1051523);
229
- o = md5ii(o, s, i, r, n[t + 1], 21, -2054922799);
230
- r = md5ii(r, o, s, i, n[t + 8], 6, 1873313359);
231
- i = md5ii(i, r, o, s, n[t + 15], 10, -30611744);
232
- s = md5ii(s, i, r, o, n[t + 6], 15, -1560198380);
233
- o = md5ii(o, s, i, r, n[t + 13], 21, 1309151649);
234
- r = md5ii(r, o, s, i, n[t + 4], 6, -145523070);
235
- i = md5ii(i, r, o, s, n[t + 11], 10, -1120210379);
236
- s = md5ii(s, i, r, o, n[t + 2], 15, 718787259);
237
- o = md5ii(o, s, i, r, n[t + 9], 21, -343485551);
238
- r = safeAdd(r, e);
239
- o = safeAdd(o, d);
240
- s = safeAdd(s, c);
241
- i = safeAdd(i, a);
171
+ const c = o;
172
+ const i = f;
173
+ const u = s;
174
+ r = E(r, o, f, s, n[t], 7, -680876936);
175
+ s = E(s, r, o, f, n[t + 1], 12, -389564586);
176
+ f = E(f, s, r, o, n[t + 2], 17, 606105819);
177
+ o = E(o, f, s, r, n[t + 3], 22, -1044525330);
178
+ r = E(r, o, f, s, n[t + 4], 7, -176418897);
179
+ s = E(s, r, o, f, n[t + 5], 12, 1200080426);
180
+ f = E(f, s, r, o, n[t + 6], 17, -1473231341);
181
+ o = E(o, f, s, r, n[t + 7], 22, -45705983);
182
+ r = E(r, o, f, s, n[t + 8], 7, 1770035416);
183
+ s = E(s, r, o, f, n[t + 9], 12, -1958414417);
184
+ f = E(f, s, r, o, n[t + 10], 17, -42063);
185
+ o = E(o, f, s, r, n[t + 11], 22, -1990404162);
186
+ r = E(r, o, f, s, n[t + 12], 7, 1804603682);
187
+ s = E(s, r, o, f, n[t + 13], 12, -40341101);
188
+ f = E(f, s, r, o, n[t + 14], 17, -1502002290);
189
+ o = E(o, f, s, r, n[t + 15], 22, 1236535329);
190
+ r = q(r, o, f, s, n[t + 1], 5, -165796510);
191
+ s = q(s, r, o, f, n[t + 6], 9, -1069501632);
192
+ f = q(f, s, r, o, n[t + 11], 14, 643717713);
193
+ o = q(o, f, s, r, n[t], 20, -373897302);
194
+ r = q(r, o, f, s, n[t + 5], 5, -701558691);
195
+ s = q(s, r, o, f, n[t + 10], 9, 38016083);
196
+ f = q(f, s, r, o, n[t + 15], 14, -660478335);
197
+ o = q(o, f, s, r, n[t + 4], 20, -405537848);
198
+ r = q(r, o, f, s, n[t + 9], 5, 568446438);
199
+ s = q(s, r, o, f, n[t + 14], 9, -1019803690);
200
+ f = q(f, s, r, o, n[t + 3], 14, -187363961);
201
+ o = q(o, f, s, r, n[t + 8], 20, 1163531501);
202
+ r = q(r, o, f, s, n[t + 13], 5, -1444681467);
203
+ s = q(s, r, o, f, n[t + 2], 9, -51403784);
204
+ f = q(f, s, r, o, n[t + 7], 14, 1735328473);
205
+ o = q(o, f, s, r, n[t + 12], 20, -1926607734);
206
+ r = v(r, o, f, s, n[t + 5], 4, -378558);
207
+ s = v(s, r, o, f, n[t + 8], 11, -2022574463);
208
+ f = v(f, s, r, o, n[t + 11], 16, 1839030562);
209
+ o = v(o, f, s, r, n[t + 14], 23, -35309556);
210
+ r = v(r, o, f, s, n[t + 1], 4, -1530992060);
211
+ s = v(s, r, o, f, n[t + 4], 11, 1272893353);
212
+ f = v(f, s, r, o, n[t + 7], 16, -155497632);
213
+ o = v(o, f, s, r, n[t + 10], 23, -1094730640);
214
+ r = v(r, o, f, s, n[t + 13], 4, 681279174);
215
+ s = v(s, r, o, f, n[t], 11, -358537222);
216
+ f = v(f, s, r, o, n[t + 3], 16, -722521979);
217
+ o = v(o, f, s, r, n[t + 6], 23, 76029189);
218
+ r = v(r, o, f, s, n[t + 9], 4, -640364487);
219
+ s = v(s, r, o, f, n[t + 12], 11, -421815835);
220
+ f = v(f, s, r, o, n[t + 15], 16, 530742520);
221
+ o = v(o, f, s, r, n[t + 2], 23, -995338651);
222
+ r = $(r, o, f, s, n[t], 6, -198630844);
223
+ s = $(s, r, o, f, n[t + 7], 10, 1126891415);
224
+ f = $(f, s, r, o, n[t + 14], 15, -1416354905);
225
+ o = $(o, f, s, r, n[t + 5], 21, -57434055);
226
+ r = $(r, o, f, s, n[t + 12], 6, 1700485571);
227
+ s = $(s, r, o, f, n[t + 3], 10, -1894986606);
228
+ f = $(f, s, r, o, n[t + 10], 15, -1051523);
229
+ o = $(o, f, s, r, n[t + 1], 21, -2054922799);
230
+ r = $(r, o, f, s, n[t + 8], 6, 1873313359);
231
+ s = $(s, r, o, f, n[t + 15], 10, -30611744);
232
+ f = $(f, s, r, o, n[t + 6], 15, -1560198380);
233
+ o = $(o, f, s, r, n[t + 13], 21, 1309151649);
234
+ r = $(r, o, f, s, n[t + 4], 6, -145523070);
235
+ s = $(s, r, o, f, n[t + 11], 10, -1120210379);
236
+ f = $(f, s, r, o, n[t + 2], 15, 718787259);
237
+ o = $(o, f, s, r, n[t + 9], 21, -343485551);
238
+ r = A(r, e);
239
+ o = A(o, c);
240
+ f = A(f, i);
241
+ s = A(s, u);
242
242
  }
243
- return Uint32Array.of(r, o, s, i);
243
+ return Uint32Array.of(r, o, f, s);
244
244
  }
245
245
 
246
- function uint8ToUint32(n) {
246
+ function I(n) {
247
247
  if (n.length === 0) {
248
248
  return new Uint32Array;
249
249
  }
250
- const t = new Uint32Array(getOutputLength(n.length * 8)).fill(0);
250
+ const t = new Uint32Array(m(n.length * 8)).fill(0);
251
251
  for (let e = 0; e < n.length; e++) {
252
252
  t[e >> 2] |= (n[e] & 255) << e % 4 * 8;
253
253
  }
254
254
  return t;
255
255
  }
256
256
 
257
- function safeAdd(n, t) {
257
+ function A(n, t) {
258
258
  const e = (n & 65535) + (t & 65535);
259
259
  const r = (n >> 16) + (t >> 16) + (e >> 16);
260
260
  return r << 16 | e & 65535;
261
261
  }
262
262
 
263
- function bitRotateLeft(n, t) {
263
+ function D(n, t) {
264
264
  return n << t | n >>> 32 - t;
265
265
  }
266
266
 
267
- function md5cmn(n, t, e, r, o, s) {
268
- return safeAdd(bitRotateLeft(safeAdd(safeAdd(t, n), safeAdd(r, s)), o), e);
267
+ function R(n, t, e, r, o, f) {
268
+ return A(D(A(A(t, n), A(r, f)), o), e);
269
269
  }
270
270
 
271
- function md5ff(n, t, e, r, o, s, i) {
272
- return md5cmn(t & e | ~t & r, n, t, o, s, i);
271
+ function E(n, t, e, r, o, f, s) {
272
+ return R(t & e | ~t & r, n, t, o, f, s);
273
273
  }
274
274
 
275
- function md5gg(n, t, e, r, o, s, i) {
276
- return md5cmn(t & r | e & ~r, n, t, o, s, i);
275
+ function q(n, t, e, r, o, f, s) {
276
+ return R(t & r | e & ~r, n, t, o, f, s);
277
277
  }
278
278
 
279
- function md5hh(n, t, e, r, o, s, i) {
280
- return md5cmn(t ^ e ^ r, n, t, o, s, i);
279
+ function v(n, t, e, r, o, f, s) {
280
+ return R(t ^ e ^ r, n, t, o, f, s);
281
281
  }
282
282
 
283
- function md5ii(n, t, e, r, o, s, i) {
284
- return md5cmn(e ^ (t | ~r), n, t, o, s, i);
283
+ function $(n, t, e, r, o, f, s) {
284
+ return R(e ^ (t | ~r), n, t, o, f, s);
285
285
  }
286
286
 
287
- function stringToBytes(n) {
287
+ function k(n) {
288
288
  n = unescape(encodeURIComponent(n));
289
289
  const t = new Uint8Array(n.length);
290
290
  for (let e = 0; e < n.length; ++e) {
@@ -293,52 +293,52 @@ function stringToBytes(n) {
293
293
  return t;
294
294
  }
295
295
 
296
- const d = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
296
+ const M = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
297
297
 
298
- const c = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
298
+ const S = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
299
299
 
300
- function v35(n, t, e, r, o, s) {
301
- const i = typeof e === "string" ? stringToBytes(e) : e;
302
- const d = typeof r === "string" ? parse(r) : r;
300
+ function N(n, t, e, r, f, c) {
301
+ const i = typeof e === "string" ? k(e) : e;
302
+ const u = typeof r === "string" ? o(r) : r;
303
303
  if (typeof r === "string") {
304
- r = parse(r);
304
+ r = o(r);
305
305
  }
306
306
  if (r?.length !== 16) {
307
307
  throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
308
308
  }
309
- let c = new Uint8Array(16 + i.length);
310
- c.set(d);
311
- c.set(i, d.length);
312
- c = t(c);
313
- c[6] = c[6] & 15 | n;
314
- c[8] = c[8] & 63 | 128;
315
- if (o) {
316
- s = s || 0;
309
+ let a = new Uint8Array(16 + i.length);
310
+ a.set(u);
311
+ a.set(i, u.length);
312
+ a = t(a);
313
+ a[6] = a[6] & 15 | n;
314
+ a[8] = a[8] & 63 | 128;
315
+ if (f) {
316
+ c = c || 0;
317
317
  for (let n = 0; n < 16; ++n) {
318
- o[s + n] = c[n];
318
+ f[c + n] = a[n];
319
319
  }
320
- return o;
320
+ return f;
321
321
  }
322
- return unsafeStringify(c);
322
+ return s(a);
323
323
  }
324
324
 
325
- function v3(n, t, e, r) {
326
- return v35(48, md5, n, t, e, r);
325
+ function T(n, t, e, r) {
326
+ return N(48, p, n, t, e, r);
327
327
  }
328
328
 
329
- v3.DNS = d;
329
+ T.DNS = M;
330
330
 
331
- v3.URL = c;
331
+ T.URL = S;
332
332
 
333
- const a = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
333
+ const C = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
334
334
 
335
- const u = {
336
- randomUUID: a
335
+ const L = {
336
+ randomUUID: C
337
337
  };
338
338
 
339
- function _v4(n, t, e) {
339
+ function V(n, t, e) {
340
340
  n = n || {};
341
- const r = n.random ?? n.rng?.() ?? rng();
341
+ const r = n.random ?? n.rng?.() ?? a();
342
342
  if (r.length < 16) {
343
343
  throw new Error("Random bytes length must be >= 16");
344
344
  }
@@ -354,17 +354,17 @@ function _v4(n, t, e) {
354
354
  }
355
355
  return t;
356
356
  }
357
- return unsafeStringify(r);
357
+ return s(r);
358
358
  }
359
359
 
360
- function v4(n, t, e) {
361
- if (u.randomUUID && !t && !n) {
362
- return u.randomUUID();
360
+ function _(n, t, e) {
361
+ if (L.randomUUID && !t && !n) {
362
+ return L.randomUUID();
363
363
  }
364
- return _v4(n, t, e);
364
+ return V(n, t, e);
365
365
  }
366
366
 
367
- function f(n, t, e, r) {
367
+ function j(n, t, e, r) {
368
368
  switch (n) {
369
369
  case 0:
370
370
  return t & e ^ ~t & r;
@@ -380,11 +380,11 @@ function f(n, t, e, r) {
380
380
  }
381
381
  }
382
382
 
383
- function ROTL(n, t) {
383
+ function x(n, t) {
384
384
  return n << t | n >>> 32 - t;
385
385
  }
386
386
 
387
- function sha1(n) {
387
+ function O(n) {
388
388
  const t = [ 1518500249, 1859775393, 2400959708, 3395469782 ];
389
389
  const e = [ 1732584193, 4023233417, 2562383102, 271733878, 3285377520 ];
390
390
  const r = new Uint8Array(n.length + 1);
@@ -392,100 +392,100 @@ function sha1(n) {
392
392
  r[n.length] = 128;
393
393
  n = r;
394
394
  const o = n.length / 4 + 2;
395
- const s = Math.ceil(o / 16);
396
- const i = new Array(s);
397
- for (let t = 0; t < s; ++t) {
395
+ const f = Math.ceil(o / 16);
396
+ const s = new Array(f);
397
+ for (let t = 0; t < f; ++t) {
398
398
  const e = new Uint32Array(16);
399
399
  for (let r = 0; r < 16; ++r) {
400
400
  e[r] = n[t * 64 + r * 4] << 24 | n[t * 64 + r * 4 + 1] << 16 | n[t * 64 + r * 4 + 2] << 8 | n[t * 64 + r * 4 + 3];
401
401
  }
402
- i[t] = e;
402
+ s[t] = e;
403
403
  }
404
- i[s - 1][14] = (n.length - 1) * 8 / Math.pow(2, 32);
405
- i[s - 1][14] = Math.floor(i[s - 1][14]);
406
- i[s - 1][15] = (n.length - 1) * 8 & 4294967295;
407
- for (let n = 0; n < s; ++n) {
404
+ s[f - 1][14] = (n.length - 1) * 8 / Math.pow(2, 32);
405
+ s[f - 1][14] = Math.floor(s[f - 1][14]);
406
+ s[f - 1][15] = (n.length - 1) * 8 & 4294967295;
407
+ for (let n = 0; n < f; ++n) {
408
408
  const r = new Uint32Array(80);
409
409
  for (let t = 0; t < 16; ++t) {
410
- r[t] = i[n][t];
410
+ r[t] = s[n][t];
411
411
  }
412
412
  for (let n = 16; n < 80; ++n) {
413
- r[n] = ROTL(r[n - 3] ^ r[n - 8] ^ r[n - 14] ^ r[n - 16], 1);
413
+ r[n] = x(r[n - 3] ^ r[n - 8] ^ r[n - 14] ^ r[n - 16], 1);
414
414
  }
415
415
  let o = e[0];
416
- let s = e[1];
417
- let d = e[2];
418
- let c = e[3];
419
- let a = e[4];
416
+ let f = e[1];
417
+ let c = e[2];
418
+ let i = e[3];
419
+ let u = e[4];
420
420
  for (let n = 0; n < 80; ++n) {
421
421
  const e = Math.floor(n / 20);
422
- const i = ROTL(o, 5) + f(e, s, d, c) + a + t[e] + r[n] >>> 0;
423
- a = c;
424
- c = d;
425
- d = ROTL(s, 30) >>> 0;
426
- s = o;
427
- o = i;
422
+ const s = x(o, 5) + j(e, f, c, i) + u + t[e] + r[n] >>> 0;
423
+ u = i;
424
+ i = c;
425
+ c = x(f, 30) >>> 0;
426
+ f = o;
427
+ o = s;
428
428
  }
429
429
  e[0] = e[0] + o >>> 0;
430
- e[1] = e[1] + s >>> 0;
431
- e[2] = e[2] + d >>> 0;
432
- e[3] = e[3] + c >>> 0;
433
- e[4] = e[4] + a >>> 0;
430
+ e[1] = e[1] + f >>> 0;
431
+ e[2] = e[2] + c >>> 0;
432
+ e[3] = e[3] + i >>> 0;
433
+ e[4] = e[4] + u >>> 0;
434
434
  }
435
435
  return Uint8Array.of(e[0] >> 24, e[0] >> 16, e[0] >> 8, e[0], e[1] >> 24, e[1] >> 16, e[1] >> 8, e[1], e[2] >> 24, e[2] >> 16, e[2] >> 8, e[2], e[3] >> 24, e[3] >> 16, e[3] >> 8, e[3], e[4] >> 24, e[4] >> 16, e[4] >> 8, e[4]);
436
436
  }
437
437
 
438
- function v5(n, t, e, r) {
439
- return v35(80, sha1, n, t, e, r);
438
+ function z(n, t, e, r) {
439
+ return N(80, O, n, t, e, r);
440
440
  }
441
441
 
442
- v5.DNS = d;
442
+ z.DNS = M;
443
443
 
444
- v5.URL = c;
444
+ z.URL = S;
445
445
 
446
- function v6(n, t, e) {
446
+ function B(n, t, e) {
447
447
  n ??= {};
448
448
  e ??= 0;
449
- let r = v1({
449
+ let r = d({
450
450
  ...n,
451
451
  _v6: true
452
452
  }, new Uint8Array(16));
453
- r = v1ToV6(r);
453
+ r = h(r);
454
454
  if (t) {
455
455
  for (let n = 0; n < 16; n++) {
456
456
  t[e + n] = r[n];
457
457
  }
458
458
  return t;
459
459
  }
460
- return unsafeStringify(r);
460
+ return s(r);
461
461
  }
462
462
 
463
- function v6ToV1(n) {
464
- const t = typeof n === "string" ? parse(n) : n;
465
- const e = _v6ToV1(t);
466
- return typeof n === "string" ? unsafeStringify(e) : e;
463
+ function F(n) {
464
+ const t = typeof n === "string" ? o(n) : n;
465
+ const e = G(t);
466
+ return typeof n === "string" ? s(e) : e;
467
467
  }
468
468
 
469
- function _v6ToV1(n) {
469
+ function G(n) {
470
470
  return Uint8Array.of((n[3] & 15) << 4 | n[4] >> 4 & 15, (n[4] & 15) << 4 | (n[5] & 240) >> 4, (n[5] & 15) << 4 | n[6] & 15, n[7], (n[1] & 15) << 4 | (n[2] & 240) >> 4, (n[2] & 15) << 4 | (n[3] & 240) >> 4, 16 | (n[0] & 240) >> 4, (n[0] & 15) << 4 | (n[1] & 240) >> 4, n[8], n[9], n[10], n[11], n[12], n[13], n[14], n[15]);
471
471
  }
472
472
 
473
- const m = {};
473
+ const H = {};
474
474
 
475
- function v7(n, t, e) {
475
+ function J(n, t, e) {
476
476
  let r;
477
477
  if (n) {
478
- r = v7Bytes(n.random ?? n.rng?.() ?? rng(), n.msecs, n.seq, t, e);
478
+ r = P(n.random ?? n.rng?.() ?? a(), n.msecs, n.seq, t, e);
479
479
  } else {
480
480
  const n = Date.now();
481
- const o = rng();
482
- updateV7State(m, n, o);
483
- r = v7Bytes(o, m.msecs, m.seq, t, e);
481
+ const o = a();
482
+ K(H, n, o);
483
+ r = P(o, H.msecs, H.seq, t, e);
484
484
  }
485
- return t ?? unsafeStringify(r);
485
+ return t ?? s(r);
486
486
  }
487
487
 
488
- function updateV7State(n, t, e) {
488
+ function K(n, t, e) {
489
489
  n.msecs ??= -Infinity;
490
490
  n.seq ??= 0;
491
491
  if (t > n.msecs) {
@@ -500,7 +500,7 @@ function updateV7State(n, t, e) {
500
500
  return n;
501
501
  }
502
502
 
503
- function v7Bytes(n, t, e, r, o = 0) {
503
+ function P(n, t, e, r, o = 0) {
504
504
  if (n.length < 16) {
505
505
  throw new Error("Random bytes length must be >= 16");
506
506
  }
@@ -533,11 +533,11 @@ function v7Bytes(n, t, e, r, o = 0) {
533
533
  return r;
534
534
  }
535
535
 
536
- function version(n) {
537
- if (!validate(n)) {
536
+ function Q(n) {
537
+ if (!r(n)) {
538
538
  throw TypeError("Invalid UUID");
539
539
  }
540
540
  return parseInt(n.slice(14, 15), 16);
541
541
  }
542
542
 
543
- export { n as M, t as N, v1 as a, v3 as b, v4 as c, v6 as d, validate as e, version as f, parse as p, stringify as s, v5 as v };
543
+ export { n as M, t as N, d as a, T as b, _ as c, B as d, r as e, Q as f, o as p, c as s, z as v };