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.
- package/com/docker.cjs +1 -1
- package/com/docker.mjs +1 -1
- package/decorator/orm.cjs +84 -84
- package/decorator/orm.mjs +42 -128
- package/orm.cjs +871 -1408
- package/orm.mjs +712 -1462
- package/package.json +1 -1
- package/src/components/Database.cjs +2 -2
- package/src/components/Database.mjs +6 -6
- package/src/components/cacher/Cacher.cjs +129 -129
- package/src/components/cacher/Cacher.mjs +117 -117
- package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +303 -312
- package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +304 -313
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +12 -12
- package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +11 -11
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +16 -16
- package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +14 -14
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +11 -11
- package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +11 -11
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +12 -12
- package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +13 -13
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +2 -2
- package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +2 -2
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +10 -10
- package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +10 -10
- package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +2 -2
- package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +5 -5
- package/src/components/docker/ConnectionOptionsBuilder.cjs +11 -11
- package/src/components/docker/ConnectionOptionsBuilder.mjs +7 -7
- package/src/components/docker/Docker.cjs +5067 -4956
- package/src/components/docker/Docker.mjs +4982 -4871
- package/src/components/docker/lib/DockerContainer.cjs +1 -1
- package/src/components/docker/lib/DockerContainer.mjs +1 -1
- package/src/components/docker/lib/DockerContainerTTY.cjs +1 -1
- package/src/components/docker/lib/DockerContainerTTY.mjs +1 -1
- package/src/components/docker/lib/ParseEnvToRecord.cjs +2 -2
- package/src/components/docker/lib/ParseEnvToRecord.mjs +12 -12
- package/src/components/docker/lib/ParseRepositoryTag.cjs +9 -9
- package/src/components/docker/lib/ParseRepositoryTag.mjs +11 -11
- package/src/components/entrypoint/Entrypoint.cjs +1678 -2168
- package/src/components/entrypoint/Entrypoint.mjs +1680 -2170
- package/src/components/monitor/AliveMonitor.cjs +2 -2
- package/src/components/monitor/AliveMonitor.mjs +2 -2
- package/src/components/monitor/MemoryMonitor.cjs +3 -3
- package/src/decorators/asst/After.cjs +3 -3
- package/src/decorators/asst/After.mjs +2 -2
- package/src/decorators/asst/Before.cjs +2 -2
- package/src/decorators/asst/Before.mjs +4 -4
- package/src/decorators/ctrl/CLIAction.cjs +2 -2
- package/src/decorators/ctrl/CLIAction.mjs +7 -7
- package/src/decorators/ctrl/HTTPAction.cjs +6 -6
- package/src/decorators/ctrl/HTTPAction.mjs +4 -4
- package/src/decorators/ctrl/ServiceAction.cjs +3 -3
- package/src/decorators/ctrl/ServiceAction.mjs +4 -4
- package/src/decorators/ctrl/http/DELETE.cjs +2 -2
- package/src/decorators/ctrl/http/DELETE.mjs +2 -2
- package/src/decorators/ctrl/http/GET.cjs +2 -2
- package/src/decorators/ctrl/http/GET.mjs +2 -2
- package/src/decorators/ctrl/http/HEAD.cjs +2 -2
- package/src/decorators/ctrl/http/HEAD.mjs +2 -2
- package/src/decorators/ctrl/http/OPTIONS.cjs +2 -2
- package/src/decorators/ctrl/http/OPTIONS.mjs +2 -2
- package/src/decorators/ctrl/http/PATCH.cjs +2 -2
- package/src/decorators/ctrl/http/PATCH.mjs +2 -2
- package/src/decorators/ctrl/http/POST.cjs +2 -2
- package/src/decorators/ctrl/http/POST.mjs +2 -2
- package/src/decorators/ctrl/http/PUT.cjs +2 -2
- package/src/decorators/ctrl/http/PUT.mjs +2 -2
- package/src/decorators/di/Autoload.cjs +2 -2
- package/src/decorators/di/Autoload.mjs +2 -2
- package/src/decorators/di/Configurable.cjs +3 -3
- package/src/decorators/di/Configurable.mjs +2 -2
- package/src/decorators/di/Inject.cjs +6 -6
- package/src/decorators/di/Inject.mjs +11 -11
- package/src/decorators/di/Lifetime.cjs +18 -18
- package/src/decorators/di/Lifetime.mjs +13 -13
- package/src/decorators/dto/Accept.cjs +3 -3
- package/src/decorators/dto/Accept.mjs +2 -2
- package/src/decorators/dto/Expect.cjs +2 -2
- package/src/decorators/dto/Expect.mjs +3 -3
- package/src/decorators/dto/IndexSignature.cjs +2 -2
- package/src/decorators/dto/IndexSignature.mjs +3 -3
- package/src/decorators/dto/Return.cjs +3 -3
- package/src/decorators/dto/Return.mjs +2 -2
- package/src/decorators/orm/AfterInsert.cjs +26 -4
- package/src/decorators/orm/AfterInsert.mjs +25 -5
- package/src/decorators/orm/AfterLoad.cjs +26 -4
- package/src/decorators/orm/AfterLoad.mjs +25 -5
- package/src/decorators/orm/AfterRecover.cjs +26 -4
- package/src/decorators/orm/AfterRecover.mjs +25 -5
- package/src/decorators/orm/AfterRemove.cjs +26 -4
- package/src/decorators/orm/AfterRemove.mjs +25 -5
- package/src/decorators/orm/AfterSoftRemove.cjs +26 -4
- package/src/decorators/orm/AfterSoftRemove.mjs +25 -5
- package/src/decorators/orm/AfterUpdate.cjs +26 -4
- package/src/decorators/orm/AfterUpdate.mjs +25 -5
- package/src/decorators/orm/BeforeInsert.cjs +26 -4
- package/src/decorators/orm/BeforeInsert.mjs +25 -5
- package/src/decorators/orm/BeforeRecover.cjs +26 -4
- package/src/decorators/orm/BeforeRecover.mjs +25 -5
- package/src/decorators/orm/BeforeRemove.cjs +26 -4
- package/src/decorators/orm/BeforeRemove.mjs +25 -5
- package/src/decorators/orm/BeforeSoftRemove.cjs +26 -4
- package/src/decorators/orm/BeforeSoftRemove.mjs +25 -5
- package/src/decorators/orm/BeforeUpdate.cjs +26 -4
- package/src/decorators/orm/BeforeUpdate.mjs +25 -5
- package/src/decorators/orm/Check.cjs +29 -4
- package/src/decorators/orm/Check.mjs +28 -5
- package/src/decorators/orm/ChildEntity.cjs +29 -4
- package/src/decorators/orm/ChildEntity.mjs +28 -5
- package/src/decorators/orm/Column.cjs +61 -4
- package/src/decorators/orm/Column.mjs +61 -6
- package/src/decorators/orm/CreateDateColumn.cjs +25 -4
- package/src/decorators/orm/CreateDateColumn.mjs +24 -5
- package/src/decorators/orm/DeleteDateColumn.cjs +25 -4
- package/src/decorators/orm/DeleteDateColumn.mjs +23 -4
- package/src/decorators/orm/Entity.cjs +35 -4
- package/src/decorators/orm/Entity.mjs +33 -4
- package/src/decorators/orm/EventSubscriber.cjs +22 -4
- package/src/decorators/orm/EventSubscriber.mjs +21 -5
- package/src/decorators/orm/Exclusion.cjs +29 -4
- package/src/decorators/orm/Exclusion.mjs +28 -5
- package/src/decorators/orm/Generated.cjs +24 -4
- package/src/decorators/orm/Generated.mjs +23 -5
- package/src/decorators/orm/Index.cjs +41 -4
- package/src/decorators/orm/Index.mjs +41 -6
- package/src/decorators/orm/JoinColumn.cjs +29 -4
- package/src/decorators/orm/JoinColumn.mjs +28 -5
- package/src/decorators/orm/JoinTable.cjs +30 -4
- package/src/decorators/orm/JoinTable.mjs +28 -4
- package/src/decorators/orm/ManyToMany.cjs +42 -4
- package/src/decorators/orm/ManyToMany.mjs +40 -4
- package/src/decorators/orm/ManyToOne.cjs +42 -4
- package/src/decorators/orm/ManyToOne.mjs +40 -4
- package/src/decorators/orm/ObjectIdColumn.cjs +28 -4
- package/src/decorators/orm/ObjectIdColumn.mjs +27 -5
- package/src/decorators/orm/OneToMany.cjs +34 -4
- package/src/decorators/orm/OneToMany.mjs +34 -6
- package/src/decorators/orm/OneToOne.cjs +42 -4
- package/src/decorators/orm/OneToOne.mjs +40 -4
- package/src/decorators/orm/PrimaryColumn.cjs +49 -4
- package/src/decorators/orm/PrimaryColumn.mjs +49 -6
- package/src/decorators/orm/PrimaryGeneratedColumn.cjs +54 -4
- package/src/decorators/orm/PrimaryGeneratedColumn.mjs +54 -6
- package/src/decorators/orm/RelationId.cjs +26 -4
- package/src/decorators/orm/RelationId.mjs +25 -5
- package/src/decorators/orm/TableInheritance.cjs +26 -4
- package/src/decorators/orm/TableInheritance.mjs +25 -5
- package/src/decorators/orm/Tree.cjs +24 -4
- package/src/decorators/orm/Tree.mjs +23 -5
- package/src/decorators/orm/TreeChildren.cjs +31 -4
- package/src/decorators/orm/TreeChildren.mjs +29 -4
- package/src/decorators/orm/TreeLevelColumn.cjs +25 -4
- package/src/decorators/orm/TreeLevelColumn.mjs +23 -4
- package/src/decorators/orm/TreeParent.cjs +31 -4
- package/src/decorators/orm/TreeParent.mjs +29 -4
- package/src/decorators/orm/Unique.cjs +44 -4
- package/src/decorators/orm/Unique.mjs +44 -6
- package/src/decorators/orm/UpdateDateColumn.cjs +25 -4
- package/src/decorators/orm/UpdateDateColumn.mjs +24 -5
- package/src/decorators/orm/VersionColumn.cjs +25 -4
- package/src/decorators/orm/VersionColumn.mjs +24 -5
- package/src/decorators/orm/ViewColumn.cjs +25 -4
- package/src/decorators/orm/ViewColumn.mjs +24 -5
- package/src/decorators/orm/ViewEntity.cjs +34 -4
- package/src/decorators/orm/ViewEntity.mjs +33 -5
- package/src/decorators/orm/VirtualColumn.cjs +42 -4
- package/src/decorators/orm/VirtualColumn.mjs +40 -4
- package/src/lib/base/EventEmitter.cjs +1195 -1202
- package/src/lib/base/EventEmitter.mjs +1195 -1202
- package/src/lib/base/async-constructor/Append.cjs +11 -11
- package/src/lib/base/async-constructor/Append.mjs +7 -7
- package/src/lib/base/internal/BasicInfo.cjs +10 -10
- package/src/lib/base/internal/BasicInfo.mjs +9 -9
- package/src/lib/base/internal/CamelCase.cjs +4 -4
- package/src/lib/base/internal/CamelCase.mjs +11 -11
- package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +19 -19
- package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +18 -18
- package/src/lib/base/internal/ConstructorSymbol.cjs +10 -10
- package/src/lib/base/internal/ConstructorSymbol.mjs +8 -8
- package/src/lib/base/internal/ControllerEntrypoint.cjs +65 -65
- package/src/lib/base/internal/ControllerEntrypoint.mjs +36 -36
- package/src/lib/base/internal/DataValidator.cjs +185 -174
- package/src/lib/base/internal/DataValidator.mjs +230 -219
- package/src/lib/base/internal/GetActionDTOAndOptions.cjs +9 -9
- package/src/lib/base/internal/GetActionDTOAndOptions.mjs +10 -10
- package/src/lib/base/internal/IEEE754.cjs +74 -74
- package/src/lib/base/internal/IEEE754.mjs +70 -70
- package/src/lib/base/internal/MethodAssistantFunction.cjs +28 -28
- package/src/lib/base/internal/MethodAssistantFunction.mjs +38 -38
- package/src/lib/base/internal/MethodValidation.cjs +25 -25
- package/src/lib/base/internal/MethodValidation.mjs +20 -20
- package/src/lib/base/internal/ObjectConfiguration.cjs +10 -10
- package/src/lib/base/internal/ObjectConfiguration.mjs +15 -15
- package/src/lib/base/internal/ObjectContainer.cjs +7 -7
- package/src/lib/base/internal/ObjectContainer.mjs +6 -6
- package/src/lib/base/internal/ObjectInjection.cjs +16 -16
- package/src/lib/base/internal/ObjectInjection.mjs +13 -13
- package/src/lib/base/internal/ObjectLifetime.cjs +10 -10
- package/src/lib/base/internal/ObjectLifetime.mjs +9 -9
- package/src/lib/base/internal/ObjectWeakRefs.cjs +11 -11
- package/src/lib/base/internal/ObjectWeakRefs.mjs +9 -9
- package/src/lib/base/internal/PatternManager.cjs +739 -744
- package/src/lib/base/internal/PatternManager.mjs +743 -748
- package/src/lib/base/internal/StringifyPattern.cjs +26 -26
- package/src/lib/base/internal/StringifyPattern.mjs +26 -26
- package/src/lib/base/internal/ThrowWarning.cjs +2 -2
- package/src/lib/base/internal/ThrowWarning.mjs +2 -2
- package/src/lib/core/Alias.cjs +5 -5
- package/src/lib/core/Application.cjs +115 -128
- package/src/lib/core/Application.mjs +135 -148
- package/src/lib/helpers/ArrayToSet.cjs +2 -2
- package/src/lib/helpers/ArrayToSet.mjs +3 -3
- package/src/lib/helpers/As.cjs +2 -2
- package/src/lib/helpers/As.mjs +2 -2
- package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +3 -3
- package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +3 -3
- package/src/lib/helpers/ConvertArrayLikeToStream.cjs +2 -2
- package/src/lib/helpers/ConvertArrayLikeToStream.mjs +2 -2
- package/src/lib/helpers/Delay.cjs +2 -2
- package/src/lib/helpers/Delay.mjs +2 -2
- package/src/lib/helpers/DevNull.cjs +2 -2
- package/src/lib/helpers/DevNull.mjs +2 -2
- package/src/lib/helpers/GetObjectNestingDepth.cjs +12 -12
- package/src/lib/helpers/GetObjectNestingDepth.mjs +11 -11
- package/src/lib/helpers/GetObjectPropertyPaths.cjs +7 -7
- package/src/lib/helpers/GetObjectPropertyPaths.mjs +9 -9
- package/src/lib/helpers/Glob.cjs +890 -890
- package/src/lib/helpers/Glob.mjs +889 -889
- package/src/lib/helpers/GraceExit.cjs +3 -3
- package/src/lib/helpers/GraceExit.mjs +7 -7
- package/src/lib/helpers/HexToIEEE754.cjs +4 -4
- package/src/lib/helpers/HexToIEEE754.mjs +2 -2
- package/src/lib/helpers/HexToSigned.cjs +5 -5
- package/src/lib/helpers/HexToSigned.mjs +4 -4
- package/src/lib/helpers/HexToUnsigned.cjs +2 -2
- package/src/lib/helpers/HexToUnsigned.mjs +2 -2
- package/src/lib/helpers/IEEE754ToHex.cjs +5 -5
- package/src/lib/helpers/IEEE754ToHex.mjs +5 -5
- package/src/lib/helpers/IsAbortError.cjs +2 -2
- package/src/lib/helpers/IsAbortError.mjs +3 -3
- package/src/lib/helpers/IsEmptyObject.cjs +3 -3
- package/src/lib/helpers/IsEmptyObject.mjs +3 -3
- package/src/lib/helpers/IsExists.cjs +5 -5
- package/src/lib/helpers/IsExists.mjs +4 -4
- package/src/lib/helpers/IsHtml.cjs +8 -18
- package/src/lib/helpers/IsHtml.mjs +8 -18
- package/src/lib/helpers/IsNativeFunction.cjs +2 -2
- package/src/lib/helpers/IsNativeFunction.mjs +2 -2
- package/src/lib/helpers/IsPath.cjs +2 -2
- package/src/lib/helpers/IsPath.mjs +5 -5
- package/src/lib/helpers/IsPromise.cjs +2 -2
- package/src/lib/helpers/IsPromise.mjs +2 -2
- package/src/lib/helpers/IsPromiseLike.cjs +5 -5
- package/src/lib/helpers/IsPromiseLike.mjs +6 -6
- package/src/lib/helpers/IsXML.cjs +1531 -1525
- package/src/lib/helpers/IsXML.mjs +1527 -1521
- package/src/lib/helpers/MD5.cjs +2 -2
- package/src/lib/helpers/MD5.mjs +2 -2
- package/src/lib/helpers/MergeArray.cjs +3 -3
- package/src/lib/helpers/MergeArray.mjs +3 -3
- package/src/lib/helpers/MergeMap.cjs +3 -3
- package/src/lib/helpers/MergeMap.mjs +3 -3
- package/src/lib/helpers/MergeSet.cjs +2 -2
- package/src/lib/helpers/MergeSet.mjs +3 -3
- package/src/lib/helpers/NoCase.cjs +27 -27
- package/src/lib/helpers/NoCase.mjs +24 -24
- package/src/lib/helpers/NonceStr.cjs +2 -2
- package/src/lib/helpers/NonceStr.mjs +2 -2
- package/src/lib/helpers/ObjectConstructor.cjs +2 -2
- package/src/lib/helpers/ObjectConstructor.mjs +4 -4
- package/src/lib/helpers/ObjectHash.cjs +377 -384
- package/src/lib/helpers/ObjectHash.mjs +373 -380
- package/src/lib/helpers/ObjectParentConstructor.cjs +2 -2
- package/src/lib/helpers/ObjectParentConstructor.mjs +5 -5
- package/src/lib/helpers/ObjectParentConstructors.cjs +6 -6
- package/src/lib/helpers/ObjectParentConstructors.mjs +2 -2
- package/src/lib/helpers/ObjectPrototype.cjs +2 -2
- package/src/lib/helpers/ObjectPrototype.mjs +2 -2
- package/src/lib/helpers/ObjectToMap.cjs +2 -2
- package/src/lib/helpers/ObjectToMap.mjs +3 -3
- package/src/lib/helpers/Paginator.cjs +2 -2
- package/src/lib/helpers/Paginator.mjs +6 -6
- package/src/lib/helpers/RandomString.cjs +148 -169
- package/src/lib/helpers/RandomString.mjs +145 -166
- package/src/lib/helpers/SHA1.cjs +2 -2
- package/src/lib/helpers/SHA1.mjs +2 -2
- package/src/lib/helpers/SHA256.cjs +2 -2
- package/src/lib/helpers/SHA256.mjs +2 -2
- package/src/lib/helpers/SetToArray.cjs +2 -2
- package/src/lib/helpers/SetToArray.mjs +2 -2
- package/src/lib/helpers/SignedToHex.cjs +4 -4
- package/src/lib/helpers/SignedToHex.mjs +4 -4
- package/src/lib/helpers/SortArray.cjs +16 -16
- package/src/lib/helpers/SortArray.mjs +15 -15
- package/src/lib/helpers/SortKeys.cjs +41 -41
- package/src/lib/helpers/SortKeys.mjs +41 -41
- package/src/lib/helpers/SortObject.cjs +2 -2
- package/src/lib/helpers/SortObject.mjs +2 -2
- package/src/lib/helpers/Templating.cjs +25 -25
- package/src/lib/helpers/Templating.mjs +25 -25
- package/src/lib/helpers/URLBuilder.cjs +355 -355
- package/src/lib/helpers/URLBuilder.mjs +349 -349
- package/src/lib/helpers/UniqueArray.cjs +3 -3
- package/src/lib/helpers/UniqueArray.mjs +2 -2
- package/src/lib/helpers/UnsignedToHex.cjs +3 -3
- package/src/lib/helpers/UnsignedToHex.mjs +3 -3
- package/src/lib/ioc/DependencyInjectionContainer.cjs +106 -106
- package/src/lib/ioc/DependencyInjectionContainer.mjs +122 -122
- package/src/lib/ioc/FunctionTokenizer.cjs +115 -115
- package/src/lib/ioc/FunctionTokenizer.mjs +102 -102
- package/src/lib/ioc/Lifetime.cjs +5 -5
- package/src/lib/ioc/Lifetime.mjs +5 -5
- package/src/lib/ioc/ListModules.cjs +5298 -5221
- package/src/lib/ioc/ListModules.mjs +5258 -5181
- package/src/lib/ioc/LoadModules.cjs +56 -56
- package/src/lib/ioc/LoadModules.mjs +69 -69
- package/src/lib/ioc/ParamParser.cjs +30 -30
- package/src/lib/ioc/ParamParser.mjs +41 -41
- package/src/lib/ioc/Resolvers.cjs +87 -87
- package/src/lib/ioc/Resolvers.mjs +109 -109
- package/src/lib/ioc/Utils.cjs +12 -12
- package/src/lib/ioc/Utils.mjs +18 -18
- package/src/lib/validation/VLD.cjs +4025 -4202
- package/src/lib/validation/VLD.mjs +2972 -3149
- package/src/providers/Database.cjs +2 -2
- package/src/providers/Database.mjs +7 -7
- package/src/providers/PasswordHash.cjs +330 -330
- package/src/providers/PasswordHash.mjs +397 -397
- package/src/providers/migration/GenerateMigration.cjs +2 -2
- package/src/providers/migration/GenerateMigration.mjs +2 -2
- package/vendor/Package.1.cjs +256 -256
- package/vendor/Package.1.mjs +254 -254
- package/vendor/Package.112.cjs +42157 -42076
- package/vendor/Package.112.mjs +42222 -42081
- package/vendor/Package.13.cjs +36 -36
- package/vendor/Package.13.mjs +24 -24
- package/vendor/Package.16.cjs +12351 -12233
- package/vendor/Package.16.mjs +12348 -12230
- package/vendor/Package.17.cjs +924 -924
- package/vendor/Package.17.mjs +943 -943
- package/vendor/Package.18.cjs +48229 -20
- package/vendor/Package.18.mjs +48192 -24
- package/vendor/Package.2.cjs +5824 -5853
- package/vendor/Package.2.mjs +5780 -5809
- package/vendor/Package.3.cjs +60 -60
- package/vendor/Package.3.mjs +85 -85
- package/vendor/Package.4.cjs +874 -884
- package/vendor/Package.4.mjs +877 -887
- package/vendor/Package.5.cjs +15 -19
- package/vendor/Package.5.mjs +10 -14
- package/vendor/Package.6.cjs +2058 -2067
- package/vendor/Package.6.mjs +2064 -2073
- package/vendor/Package.610.cjs +9 -9
- package/vendor/Package.611.cjs +39 -39
- package/vendor/Package.611.mjs +22 -22
- package/vendor/Package.612.cjs +33 -33
- package/vendor/Package.612.mjs +17 -17
- package/vendor/Package.613.cjs +62 -62
- package/vendor/Package.613.mjs +29 -29
- package/vendor/Package.62.cjs +295 -298
- package/vendor/Package.62.mjs +278 -281
- package/vendor/Package.63.cjs +354 -354
- package/vendor/Package.63.mjs +229 -229
- package/vendor/Package.64.cjs +74 -74
- package/vendor/Package.64.mjs +74 -74
- package/vendor/Package.65.cjs +1851 -1858
- package/vendor/Package.65.mjs +1693 -1700
- package/vendor/Package.66.cjs +16 -16
- package/vendor/Package.66.mjs +16 -16
- package/vendor/Package.67.cjs +87 -87
- package/vendor/Package.67.mjs +85 -85
- package/vendor/Package.68.cjs +14 -14
- package/vendor/Package.68.mjs +6 -6
- package/vendor/Package.69.cjs +8 -8
- package/vendor/Package.7.cjs +3 -3
- package/vendor/Package.7.mjs +3 -3
- package/vendor/Package.9.cjs +124 -138
- package/vendor/Package.9.mjs +121 -135
- package/vendor/TypeDef.internal.3.d.ts +0 -14
- package/vendor/Package.19.cjs +0 -37
- package/vendor/Package.19.mjs +0 -35
- package/vendor/Package.20.cjs +0 -37
- package/vendor/Package.20.mjs +0 -35
- package/vendor/Package.21.cjs +0 -37
- package/vendor/Package.21.mjs +0 -35
- package/vendor/Package.22.cjs +0 -37
- package/vendor/Package.22.mjs +0 -35
- package/vendor/Package.23.cjs +0 -37
- package/vendor/Package.23.mjs +0 -35
- package/vendor/Package.24.cjs +0 -37
- package/vendor/Package.24.mjs +0 -35
- package/vendor/Package.25.cjs +0 -37
- package/vendor/Package.25.mjs +0 -35
- package/vendor/Package.26.cjs +0 -37
- package/vendor/Package.26.mjs +0 -35
- package/vendor/Package.27.cjs +0 -37
- package/vendor/Package.27.mjs +0 -35
- package/vendor/Package.28.cjs +0 -37
- package/vendor/Package.28.mjs +0 -35
- package/vendor/Package.29.cjs +0 -40
- package/vendor/Package.29.mjs +0 -38
- package/vendor/Package.30.cjs +0 -41
- package/vendor/Package.30.mjs +0 -39
- package/vendor/Package.31.cjs +0 -72
- package/vendor/Package.31.mjs +0 -70
- package/vendor/Package.32.cjs +0 -37
- package/vendor/Package.32.mjs +0 -35
- package/vendor/Package.33.cjs +0 -37
- package/vendor/Package.33.mjs +0 -35
- package/vendor/Package.34.cjs +0 -46
- package/vendor/Package.34.mjs +0 -44
- package/vendor/Package.35.cjs +0 -34
- package/vendor/Package.35.mjs +0 -32
- package/vendor/Package.36.cjs +0 -40
- package/vendor/Package.36.mjs +0 -38
- package/vendor/Package.37.cjs +0 -36
- package/vendor/Package.37.mjs +0 -34
- package/vendor/Package.38.cjs +0 -52
- package/vendor/Package.38.mjs +0 -50
- package/vendor/Package.39.cjs +0 -41
- package/vendor/Package.39.mjs +0 -39
- package/vendor/Package.40.cjs +0 -42
- package/vendor/Package.40.mjs +0 -40
- package/vendor/Package.41.cjs +0 -53
- package/vendor/Package.41.mjs +0 -51
- package/vendor/Package.42.cjs +0 -53
- package/vendor/Package.42.mjs +0 -51
- package/vendor/Package.43.cjs +0 -40
- package/vendor/Package.43.mjs +0 -38
- package/vendor/Package.44.cjs +0 -46
- package/vendor/Package.44.mjs +0 -44
- package/vendor/Package.45.cjs +0 -53
- package/vendor/Package.45.mjs +0 -51
- package/vendor/Package.46.cjs +0 -59
- package/vendor/Package.46.mjs +0 -57
- package/vendor/Package.47.cjs +0 -65
- package/vendor/Package.47.mjs +0 -63
- package/vendor/Package.48.cjs +0 -38
- package/vendor/Package.48.mjs +0 -36
- package/vendor/Package.49.cjs +0 -38
- package/vendor/Package.49.mjs +0 -36
- package/vendor/Package.50.cjs +0 -36
- package/vendor/Package.50.mjs +0 -34
- package/vendor/Package.51.cjs +0 -43
- package/vendor/Package.51.mjs +0 -41
- package/vendor/Package.52.cjs +0 -37
- package/vendor/Package.52.mjs +0 -35
- package/vendor/Package.53.cjs +0 -43
- package/vendor/Package.53.mjs +0 -41
- package/vendor/Package.54.cjs +0 -55
- package/vendor/Package.54.mjs +0 -53
- package/vendor/Package.55.cjs +0 -37
- package/vendor/Package.55.mjs +0 -35
- package/vendor/Package.56.cjs +0 -37
- package/vendor/Package.56.mjs +0 -35
- package/vendor/Package.57.cjs +0 -37
- package/vendor/Package.57.mjs +0 -35
- package/vendor/Package.58.cjs +0 -45
- package/vendor/Package.58.mjs +0 -43
- package/vendor/Package.59.cjs +0 -53
- package/vendor/Package.59.mjs +0 -51
- package/vendor/Package.60.cjs +0 -47649
- package/vendor/Package.60.mjs +0 -47606
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as t, a as r } from "../../vendor/Package.1.mjs";
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import e from "crypto";
|
|
4
4
|
|
|
5
|
-
import { Provider as
|
|
5
|
+
import { Provider as o } from "../lib/core/Provider.mjs";
|
|
6
6
|
|
|
7
|
-
import { Configurable as
|
|
7
|
+
import { Configurable as i } from "../decorators/di/Configurable.mjs";
|
|
8
8
|
|
|
9
|
-
import { D as
|
|
9
|
+
import { D as n } from "../../vendor/Package.2.mjs";
|
|
10
10
|
|
|
11
11
|
import "../../vendor/Package.3.mjs";
|
|
12
12
|
|
|
@@ -148,530 +148,530 @@ import "../lib/helpers/ObjectPrototype.mjs";
|
|
|
148
148
|
|
|
149
149
|
var s = null;
|
|
150
150
|
|
|
151
|
-
function
|
|
151
|
+
function a(t) {
|
|
152
152
|
try {
|
|
153
|
-
return crypto.getRandomValues(new Uint8Array(
|
|
153
|
+
return crypto.getRandomValues(new Uint8Array(t));
|
|
154
154
|
} catch {}
|
|
155
155
|
try {
|
|
156
|
-
return
|
|
156
|
+
return e.randomBytes(t);
|
|
157
157
|
} catch {}
|
|
158
158
|
if (!s) {
|
|
159
159
|
throw Error("Neither WebCryptoAPI nor a crypto module is available. Use bcrypt.setRandomFallback to set an alternative");
|
|
160
160
|
}
|
|
161
|
-
return s(
|
|
161
|
+
return s(t);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
function
|
|
165
|
-
s =
|
|
164
|
+
function l(t) {
|
|
165
|
+
s = t;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
function
|
|
169
|
-
|
|
170
|
-
if (typeof
|
|
171
|
-
if (
|
|
172
|
-
var
|
|
173
|
-
|
|
174
|
-
if (
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
return
|
|
168
|
+
function f(t, r) {
|
|
169
|
+
t = t || P;
|
|
170
|
+
if (typeof t !== "number") throw Error("Illegal arguments: " + typeof t + ", " + typeof r);
|
|
171
|
+
if (t < 4) t = 4; else if (t > 31) t = 31;
|
|
172
|
+
var e = [];
|
|
173
|
+
e.push("$2b$");
|
|
174
|
+
if (t < 10) e.push("0");
|
|
175
|
+
e.push(t.toString());
|
|
176
|
+
e.push("$");
|
|
177
|
+
e.push(C(a(A), A));
|
|
178
|
+
return e.join("");
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
function
|
|
182
|
-
if (typeof
|
|
183
|
-
if (typeof
|
|
184
|
-
if (typeof
|
|
185
|
-
function
|
|
186
|
-
|
|
181
|
+
function p(t, r, e) {
|
|
182
|
+
if (typeof r === "function") e = r, r = undefined;
|
|
183
|
+
if (typeof t === "function") e = t, t = undefined;
|
|
184
|
+
if (typeof t === "undefined") t = P; else if (typeof t !== "number") throw Error("illegal arguments: " + typeof t);
|
|
185
|
+
function o(r) {
|
|
186
|
+
j((function() {
|
|
187
187
|
try {
|
|
188
|
-
|
|
189
|
-
} catch (
|
|
190
|
-
t
|
|
188
|
+
r(null, f(t));
|
|
189
|
+
} catch (t) {
|
|
190
|
+
r(t);
|
|
191
191
|
}
|
|
192
192
|
}));
|
|
193
193
|
}
|
|
194
|
-
if (
|
|
195
|
-
if (typeof
|
|
196
|
-
|
|
197
|
-
} else return new Promise((function(
|
|
198
|
-
|
|
199
|
-
if (
|
|
200
|
-
|
|
194
|
+
if (e) {
|
|
195
|
+
if (typeof e !== "function") throw Error("Illegal callback: " + typeof e);
|
|
196
|
+
o(e);
|
|
197
|
+
} else return new Promise((function(t, r) {
|
|
198
|
+
o((function(e, o) {
|
|
199
|
+
if (e) {
|
|
200
|
+
r(e);
|
|
201
201
|
return;
|
|
202
202
|
}
|
|
203
|
-
|
|
203
|
+
t(o);
|
|
204
204
|
}));
|
|
205
205
|
}));
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
function
|
|
209
|
-
if (typeof
|
|
210
|
-
if (typeof
|
|
211
|
-
if (typeof
|
|
212
|
-
return
|
|
208
|
+
function m(t, r) {
|
|
209
|
+
if (typeof r === "undefined") r = P;
|
|
210
|
+
if (typeof r === "number") r = f(r);
|
|
211
|
+
if (typeof t !== "string" || typeof r !== "string") throw Error("Illegal arguments: " + typeof t + ", " + typeof r);
|
|
212
|
+
return V(t, r);
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
function
|
|
216
|
-
function
|
|
217
|
-
if (typeof
|
|
218
|
-
|
|
219
|
-
})); else if (typeof
|
|
215
|
+
function u(t, r, e, o) {
|
|
216
|
+
function i(e) {
|
|
217
|
+
if (typeof t === "string" && typeof r === "number") p(r, (function(r, i) {
|
|
218
|
+
V(t, i, e, o);
|
|
219
|
+
})); else if (typeof t === "string" && typeof r === "string") V(t, r, e, o); else j(e.bind(this, Error("Illegal arguments: " + typeof t + ", " + typeof r)));
|
|
220
220
|
}
|
|
221
|
-
if (
|
|
222
|
-
if (typeof
|
|
223
|
-
|
|
224
|
-
} else return new Promise((function(
|
|
225
|
-
|
|
226
|
-
if (
|
|
227
|
-
|
|
221
|
+
if (e) {
|
|
222
|
+
if (typeof e !== "function") throw Error("Illegal callback: " + typeof e);
|
|
223
|
+
i(e);
|
|
224
|
+
} else return new Promise((function(t, r) {
|
|
225
|
+
i((function(e, o) {
|
|
226
|
+
if (e) {
|
|
227
|
+
r(e);
|
|
228
228
|
return;
|
|
229
229
|
}
|
|
230
|
-
|
|
230
|
+
t(o);
|
|
231
231
|
}));
|
|
232
232
|
}));
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
function
|
|
236
|
-
var
|
|
237
|
-
for (var
|
|
238
|
-
|
|
235
|
+
function c(t, r) {
|
|
236
|
+
var e = t.length ^ r.length;
|
|
237
|
+
for (var o = 0; o < t.length; ++o) {
|
|
238
|
+
e |= t.charCodeAt(o) ^ r.charCodeAt(o);
|
|
239
239
|
}
|
|
240
|
-
return
|
|
240
|
+
return e === 0;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
function
|
|
244
|
-
if (typeof
|
|
245
|
-
if (
|
|
246
|
-
return
|
|
243
|
+
function h(t, r) {
|
|
244
|
+
if (typeof t !== "string" || typeof r !== "string") throw Error("Illegal arguments: " + typeof t + ", " + typeof r);
|
|
245
|
+
if (r.length !== 60) return false;
|
|
246
|
+
return c(m(t, r.substring(0, r.length - 31)), r);
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
function
|
|
250
|
-
function
|
|
251
|
-
if (typeof
|
|
252
|
-
|
|
249
|
+
function d(t, r, e, o) {
|
|
250
|
+
function i(e) {
|
|
251
|
+
if (typeof t !== "string" || typeof r !== "string") {
|
|
252
|
+
j(e.bind(this, Error("Illegal arguments: " + typeof t + ", " + typeof r)));
|
|
253
253
|
return;
|
|
254
254
|
}
|
|
255
|
-
if (
|
|
256
|
-
|
|
255
|
+
if (r.length !== 60) {
|
|
256
|
+
j(e.bind(this, null, false));
|
|
257
257
|
return;
|
|
258
258
|
}
|
|
259
|
-
|
|
260
|
-
if (
|
|
261
|
-
}),
|
|
259
|
+
u(t, r.substring(0, 29), (function(t, o) {
|
|
260
|
+
if (t) e(t); else e(null, c(o, r));
|
|
261
|
+
}), o);
|
|
262
262
|
}
|
|
263
|
-
if (
|
|
264
|
-
if (typeof
|
|
265
|
-
|
|
266
|
-
} else return new Promise((function(
|
|
267
|
-
|
|
268
|
-
if (
|
|
269
|
-
|
|
263
|
+
if (e) {
|
|
264
|
+
if (typeof e !== "function") throw Error("Illegal callback: " + typeof e);
|
|
265
|
+
i(e);
|
|
266
|
+
} else return new Promise((function(t, r) {
|
|
267
|
+
i((function(e, o) {
|
|
268
|
+
if (e) {
|
|
269
|
+
r(e);
|
|
270
270
|
return;
|
|
271
271
|
}
|
|
272
|
-
|
|
272
|
+
t(o);
|
|
273
273
|
}));
|
|
274
274
|
}));
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
function
|
|
278
|
-
if (typeof
|
|
279
|
-
return parseInt(
|
|
277
|
+
function b(t) {
|
|
278
|
+
if (typeof t !== "string") throw Error("Illegal arguments: " + typeof t);
|
|
279
|
+
return parseInt(t.split("$")[2], 10);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
function
|
|
283
|
-
if (typeof
|
|
284
|
-
if (
|
|
285
|
-
return
|
|
282
|
+
function g(t) {
|
|
283
|
+
if (typeof t !== "string") throw Error("Illegal arguments: " + typeof t);
|
|
284
|
+
if (t.length !== 60) throw Error("Illegal hash length: " + t.length + " != 60");
|
|
285
|
+
return t.substring(0, 29);
|
|
286
286
|
}
|
|
287
287
|
|
|
288
|
-
function
|
|
289
|
-
if (typeof
|
|
290
|
-
return
|
|
288
|
+
function y(t) {
|
|
289
|
+
if (typeof t !== "string") throw Error("Illegal arguments: " + typeof t);
|
|
290
|
+
return v(t) > 72;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
var
|
|
293
|
+
var j = typeof setImmediate === "function" ? setImmediate : typeof scheduler === "object" && typeof scheduler.postTask === "function" ? scheduler.postTask.bind(scheduler) : setTimeout;
|
|
294
294
|
|
|
295
|
-
function
|
|
296
|
-
var
|
|
297
|
-
for (var
|
|
298
|
-
|
|
299
|
-
if (
|
|
300
|
-
++
|
|
301
|
-
|
|
302
|
-
} else
|
|
295
|
+
function v(t) {
|
|
296
|
+
var r = 0, e = 0;
|
|
297
|
+
for (var o = 0; o < t.length; ++o) {
|
|
298
|
+
e = t.charCodeAt(o);
|
|
299
|
+
if (e < 128) r += 1; else if (e < 2048) r += 2; else if ((e & 64512) === 55296 && (t.charCodeAt(o + 1) & 64512) === 56320) {
|
|
300
|
+
++o;
|
|
301
|
+
r += 4;
|
|
302
|
+
} else r += 3;
|
|
303
303
|
}
|
|
304
|
-
return
|
|
304
|
+
return r;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
function
|
|
308
|
-
var
|
|
309
|
-
var
|
|
310
|
-
for (var
|
|
311
|
-
|
|
312
|
-
if (
|
|
313
|
-
|
|
314
|
-
} else if (
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
} else if ((
|
|
318
|
-
|
|
319
|
-
++
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
307
|
+
function I(t) {
|
|
308
|
+
var r = 0, e, o;
|
|
309
|
+
var i = new Array(v(t));
|
|
310
|
+
for (var n = 0, s = t.length; n < s; ++n) {
|
|
311
|
+
e = t.charCodeAt(n);
|
|
312
|
+
if (e < 128) {
|
|
313
|
+
i[r++] = e;
|
|
314
|
+
} else if (e < 2048) {
|
|
315
|
+
i[r++] = e >> 6 | 192;
|
|
316
|
+
i[r++] = e & 63 | 128;
|
|
317
|
+
} else if ((e & 64512) === 55296 && ((o = t.charCodeAt(n + 1)) & 64512) === 56320) {
|
|
318
|
+
e = 65536 + ((e & 1023) << 10) + (o & 1023);
|
|
319
|
+
++n;
|
|
320
|
+
i[r++] = e >> 18 | 240;
|
|
321
|
+
i[r++] = e >> 12 & 63 | 128;
|
|
322
|
+
i[r++] = e >> 6 & 63 | 128;
|
|
323
|
+
i[r++] = e & 63 | 128;
|
|
324
324
|
} else {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
325
|
+
i[r++] = e >> 12 | 224;
|
|
326
|
+
i[r++] = e >> 6 & 63 | 128;
|
|
327
|
+
i[r++] = e & 63 | 128;
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
return
|
|
330
|
+
return i;
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
var
|
|
333
|
+
var w = "./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split("");
|
|
334
334
|
|
|
335
|
-
var
|
|
335
|
+
var k = [ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, -1, -1, -1, -1, -1, -1, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, -1, -1, -1, -1, -1 ];
|
|
336
336
|
|
|
337
|
-
function
|
|
338
|
-
var
|
|
339
|
-
if (
|
|
340
|
-
while (
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
if (
|
|
345
|
-
|
|
337
|
+
function C(t, r) {
|
|
338
|
+
var e = 0, o = [], i, n;
|
|
339
|
+
if (r <= 0 || r > t.length) throw Error("Illegal len: " + r);
|
|
340
|
+
while (e < r) {
|
|
341
|
+
i = t[e++] & 255;
|
|
342
|
+
o.push(w[i >> 2 & 63]);
|
|
343
|
+
i = (i & 3) << 4;
|
|
344
|
+
if (e >= r) {
|
|
345
|
+
o.push(w[i & 63]);
|
|
346
346
|
break;
|
|
347
347
|
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
if (
|
|
353
|
-
|
|
348
|
+
n = t[e++] & 255;
|
|
349
|
+
i |= n >> 4 & 15;
|
|
350
|
+
o.push(w[i & 63]);
|
|
351
|
+
i = (n & 15) << 2;
|
|
352
|
+
if (e >= r) {
|
|
353
|
+
o.push(w[i & 63]);
|
|
354
354
|
break;
|
|
355
355
|
}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
356
|
+
n = t[e++] & 255;
|
|
357
|
+
i |= n >> 6 & 3;
|
|
358
|
+
o.push(w[i & 63]);
|
|
359
|
+
o.push(w[n & 63]);
|
|
360
360
|
}
|
|
361
|
-
return
|
|
361
|
+
return o.join("");
|
|
362
362
|
}
|
|
363
363
|
|
|
364
|
-
function
|
|
365
|
-
var
|
|
366
|
-
if (
|
|
367
|
-
while (
|
|
368
|
-
m =
|
|
369
|
-
s = m <
|
|
370
|
-
m =
|
|
371
|
-
a = m <
|
|
364
|
+
function E(t, r) {
|
|
365
|
+
var e = 0, o = t.length, i = 0, n = [], s, a, l, f, p, m;
|
|
366
|
+
if (r <= 0) throw Error("Illegal len: " + r);
|
|
367
|
+
while (e < o - 1 && i < r) {
|
|
368
|
+
m = t.charCodeAt(e++);
|
|
369
|
+
s = m < k.length ? k[m] : -1;
|
|
370
|
+
m = t.charCodeAt(e++);
|
|
371
|
+
a = m < k.length ? k[m] : -1;
|
|
372
372
|
if (s == -1 || a == -1) break;
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
if (++
|
|
377
|
-
m =
|
|
378
|
-
l = m <
|
|
373
|
+
p = s << 2 >>> 0;
|
|
374
|
+
p |= (a & 48) >> 4;
|
|
375
|
+
n.push(String.fromCharCode(p));
|
|
376
|
+
if (++i >= r || e >= o) break;
|
|
377
|
+
m = t.charCodeAt(e++);
|
|
378
|
+
l = m < k.length ? k[m] : -1;
|
|
379
379
|
if (l == -1) break;
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
if (++
|
|
384
|
-
m =
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
++
|
|
380
|
+
p = (a & 15) << 4 >>> 0;
|
|
381
|
+
p |= (l & 60) >> 2;
|
|
382
|
+
n.push(String.fromCharCode(p));
|
|
383
|
+
if (++i >= r || e >= o) break;
|
|
384
|
+
m = t.charCodeAt(e++);
|
|
385
|
+
f = m < k.length ? k[m] : -1;
|
|
386
|
+
p = (l & 3) << 6 >>> 0;
|
|
387
|
+
p |= f;
|
|
388
|
+
n.push(String.fromCharCode(p));
|
|
389
|
+
++i;
|
|
390
390
|
}
|
|
391
391
|
var u = [];
|
|
392
|
-
for (
|
|
392
|
+
for (e = 0; e < i; e++) u.push(n[e].charCodeAt(0));
|
|
393
393
|
return u;
|
|
394
394
|
}
|
|
395
395
|
|
|
396
|
-
var
|
|
397
|
-
|
|
398
|
-
var
|
|
399
|
-
|
|
400
|
-
var
|
|
401
|
-
|
|
402
|
-
var
|
|
403
|
-
|
|
404
|
-
var
|
|
405
|
-
|
|
406
|
-
var d = [ 3509652390, 2564797868, 805139163, 3491422135, 3101798381, 1780907670, 3128725573, 4046225305, 614570311, 3012652279, 134345442, 2240740374, 1667834072, 1901547113, 2757295779, 4103290238, 227898511, 1921955416, 1904987480, 2182433518, 2069144605, 3260701109, 2620446009, 720527379, 3318853667, 677414384, 3393288472, 3101374703, 2390351024, 1614419982, 1822297739, 2954791486, 3608508353, 3174124327, 2024746970, 1432378464, 3864339955, 2857741204, 1464375394, 1676153920, 1439316330, 715854006, 3033291828, 289532110, 2706671279, 2087905683, 3018724369, 1668267050, 732546397, 1947742710, 3462151702, 2609353502, 2950085171, 1814351708, 2050118529, 680887927, 999245976, 1800124847, 3300911131, 1713906067, 1641548236, 4213287313, 1216130144, 1575780402, 4018429277, 3917837745, 3693486850, 3949271944, 596196993, 3549867205, 258830323, 2213823033, 772490370, 2760122372, 1774776394, 2652871518, 566650946, 4142492826, 1728879713, 2882767088, 1783734482, 3629395816, 2517608232, 2874225571, 1861159788, 326777828, 3124490320, 2130389656, 2716951837, 967770486, 1724537150, 2185432712, 2364442137, 1164943284, 2105845187, 998989502, 3765401048, 2244026483, 1075463327, 1455516326, 1322494562, 910128902, 469688178, 1117454909, 936433444, 3490320968, 3675253459, 1240580251, 122909385, 2157517691, 634681816, 4142456567, 3825094682, 3061402683, 2540495037, 79693498, 3249098678, 1084186820, 1583128258, 426386531, 1761308591, 1047286709, 322548459, 995290223, 1845252383, 2603652396, 3431023940, 2942221577, 3202600964, 3727903485, 1712269319, 422464435, 3234572375, 1170764815, 3523960633, 3117677531, 1434042557, 442511882, 3600875718, 1076654713, 1738483198, 4213154764, 2393238008, 3677496056, 1014306527, 4251020053, 793779912, 2902807211, 842905082, 4246964064, 1395751752, 1040244610, 2656851899, 3396308128, 445077038, 3742853595, 3577915638, 679411651, 2892444358, 2354009459, 1767581616, 3150600392, 3791627101, 3102740896, 284835224, 4246832056, 1258075500, 768725851, 2589189241, 3069724005, 3532540348, 1274779536, 3789419226, 2764799539, 1660621633, 3471099624, 4011903706, 913787905, 3497959166, 737222580, 2514213453, 2928710040, 3937242737, 1804850592, 3499020752, 2949064160, 2386320175, 2390070455, 2415321851, 4061277028, 2290661394, 2416832540, 1336762016, 1754252060, 3520065937, 3014181293, 791618072, 3188594551, 3933548030, 2332172193, 3852520463, 3043980520, 413987798, 3465142937, 3030929376, 4245938359, 2093235073, 3534596313, 375366246, 2157278981, 2479649556, 555357303, 3870105701, 2008414854, 3344188149, 4221384143, 3956125452, 2067696032, 3594591187, 2921233993, 2428461, 544322398, 577241275, 1471733935, 610547355, 4027169054, 1432588573, 1507829418, 2025931657, 3646575487, 545086370, 48609733, 2200306550, 1653985193, 298326376, 1316178497, 3007786442, 2064951626, 458293330, 2589141269, 3591329599, 3164325604, 727753846, 2179363840, 146436021, 1461446943, 4069977195, 705550613, 3059967265, 3887724982, 4281599278, 3313849956, 1404054877, 2845806497, 146425753, 1854211946, 1266315497, 3048417604, 3681880366, 3289982499, 290971e4, 1235738493, 2632868024, 2414719590, 3970600049, 1771706367, 1449415276, 3266420449, 422970021, 1963543593, 2690192192, 3826793022, 1062508698, 1531092325, 1804592342, 2583117782, 2714934279, 4024971509, 1294809318, 4028980673, 1289560198, 2221992742, 1669523910, 35572830, 157838143, 1052438473, 1016535060, 1802137761, 1753167236, 1386275462, 3080475397, 2857371447, 1040679964, 2145300060, 2390574316, 1461121720, 2956646967, 4031777805, 4028374788, 33600511, 2920084762, 1018524850, 629373528, 3691585981, 3515945977, 2091462646, 2486323059, 586499841, 988145025, 935516892, 3367335476, 2599673255, 2839830854, 265290510, 3972581182, 2759138881, 3795373465, 1005194799, 847297441, 406762289, 1314163512, 1332590856, 1866599683, 4127851711, 750260880, 613907577, 1450815602, 3165620655, 3734664991, 3650291728, 3012275730, 3704569646, 1427272223, 778793252, 1343938022, 2676280711, 2052605720, 1946737175, 3164576444, 3914038668, 3967478842, 3682934266, 1661551462, 3294938066, 4011595847, 840292616, 3712170807, 616741398, 312560963, 711312465, 1351876610, 322626781, 1910503582, 271666773, 2175563734, 1594956187, 70604529, 3617834859, 1007753275, 1495573769, 4069517037, 2549218298, 2663038764, 504708206, 2263041392, 3941167025, 2249088522, 1514023603, 1998579484, 1312622330, 694541497, 2582060303, 2151582166, 1382467621, 776784248, 2618340202, 3323268794, 2497899128, 2784771155, 503983604, 4076293799, 907881277, 423175695, 432175456, 1378068232, 4145222326, 3954048622, 3938656102, 3820766613, 2793130115, 2977904593, 26017576, 3274890735, 3194772133, 1700274565, 1756076034, 4006520079, 3677328699, 720338349, 1533947780, 354530856, 688349552, 3973924725, 1637815568, 332179504, 3949051286, 53804574, 2852348879, 3044236432, 1282449977, 3583942155, 3416972820, 4006381244, 1617046695, 2628476075, 3002303598, 1686838959, 431878346, 2686675385, 1700445008, 1080580658, 1009431731, 832498133, 3223435511, 2605976345, 2271191193, 2516031870, 1648197032, 4164389018, 2548247927, 300782431, 375919233, 238389289, 3353747414, 2531188641, 2019080857, 1475708069, 455242339, 2609103871, 448939670, 3451063019, 1395535956, 2413381860, 1841049896, 1491858159, 885456874, 4264095073, 4001119347, 1565136089, 3898914787, 1108368660, 540939232, 1173283510, 2745871338, 3681308437, 4207628240, 3343053890, 4016749493, 1699691293, 1103962373, 3625875870, 2256883143, 3830138730, 1031889488, 3479347698, 1535977030, 4236805024, 3251091107, 2132092099, 1774941330, 1199868427, 1452454533, 157007616, 2904115357, 342012276, 595725824, 1480756522, 206960106, 497939518, 591360097, 863170706, 2375253569, 3596610801, 1814182875, 2094937945, 3421402208, 1082520231, 3463918190, 2785509508, 435703966, 3908032597, 1641649973, 2842273706, 3305899714, 1510255612, 2148256476, 2655287854, 3276092548, 4258621189, 236887753, 3681803219, 274041037, 1734335097, 3815195456, 3317970021, 1899903192, 1026095262, 4050517792, 356393447, 2410691914, 3873677099, 3682840055, 3913112168, 2491498743, 4132185628, 2489919796, 1091903735, 1979897079, 3170134830, 3567386728, 3557303409, 857797738, 1136121015, 1342202287, 507115054, 2535736646, 337727348, 3213592640, 1301675037, 2528481711, 1895095763, 1721773893, 3216771564, 62756741, 2142006736, 835421444, 2531993523, 1442658625, 3659876326, 2882144922, 676362277, 1392781812, 170690266, 3921047035, 1759253602, 3611846912, 1745797284, 664899054, 1329594018, 3901205900, 3045908486, 2062866102, 2865634940, 3543621612, 3464012697, 1080764994, 553557557, 3656615353, 3996768171, 991055499, 499776247, 1265440854, 648242737, 3940784050, 980351604, 3713745714, 1749149687, 3396870395, 4211799374, 3640570775, 1161844396, 3125318951, 1431517754, 545492359, 4268468663, 3499529547, 1437099964, 2702547544, 3433638243, 2581715763, 2787789398, 1060185593, 1593081372, 2418618748, 4260947970, 69676912, 2159744348, 86519011, 2512459080, 3838209314, 1220612927, 3339683548, 133810670, 1090789135, 1078426020, 1569222167, 845107691, 3583754449, 4072456591, 1091646820, 628848692, 1613405280, 3757631651, 526609435, 236106946, 48312990, 2942717905, 3402727701, 1797494240, 859738849, 992217954, 4005476642, 2243076622, 3870952857, 3732016268, 765654824, 3490871365, 2511836413, 1685915746, 3888969200, 1414112111, 2273134842, 3281911079, 4080962846, 172450625, 2569994100, 980381355, 4109958455, 2819808352, 2716589560, 2568741196, 3681446669, 3329971472, 1835478071, 660984891, 3704678404, 4045999559, 3422617507, 3040415634, 1762651403, 1719377915, 3470491036, 2693910283, 3642056355, 3138596744, 1364962596, 2073328063, 1983633131, 926494387, 3423689081, 2150032023, 4096667949, 1749200295, 3328846651, 309677260, 2016342300, 1779581495, 3079819751, 111262694, 1274766160, 443224088, 298511866, 1025883608, 3806446537, 1145181785, 168956806, 3641502830, 3584813610, 1689216846, 3666258015, 3200248200, 1692713982, 2646376535, 4042768518, 1618508792, 1610833997, 3523052358, 4130873264, 2001055236, 3610705100, 2202168115, 4028541809, 2961195399, 1006657119, 2006996926, 3186142756, 1430667929, 3210227297, 1314452623, 4074634658, 4101304120, 2273951170, 1399257539, 3367210612, 3027628629, 1190975929, 2062231137, 2333990788, 2221543033, 2438960610, 1181637006, 548689776, 2362791313, 3372408396, 3104550113, 3145860560, 296247880, 1970579870, 3078560182, 3769228297, 1714227617, 3291629107, 3898220290, 166772364, 1251581989, 493813264, 448347421, 195405023, 2709975567, 677966185, 3703036547, 1463355134, 2715995803, 1338867538, 1343315457, 2802222074, 2684532164, 233230375, 2599980071, 2000651841, 3277868038, 1638401717, 4028070440, 3237316320, 6314154, 819756386, 300326615, 590932579, 1405279636, 3267499572, 3150704214, 2428286686, 3959192993, 3461946742, 1862657033, 1266418056, 963775037, 2089974820, 2263052895, 1917689273, 448879540, 3550394620, 3981727096, 150775221, 3627908307, 1303187396, 508620638, 2975983352, 2726630617, 1817252668, 1876281319, 1457606340, 908771278, 3720792119, 3617206836, 2455994898, 1729034894, 1080033504, 976866871, 3556439503, 2881648439, 1522871579, 1555064734, 1336096578, 3548522304, 2579274686, 3574697629, 3205460757, 3593280638, 3338716283, 3079412587, 564236357, 2993598910, 1781952180, 1464380207, 3163844217, 3332601554, 1699332808, 1393555694, 1183702653, 3581086237, 1288719814, 691649499, 2847557200, 2895455976, 3193889540, 2717570544, 1781354906, 1676643554, 2592534050, 3230253752, 1126444790, 2770207658, 2633158820, 2210423226, 2615765581, 2414155088, 3127139286, 673620729, 2805611233, 1269405062, 4015350505, 3341807571, 4149409754, 1057255273, 2012875353, 2162469141, 2276492801, 2601117357, 993977747, 3918593370, 2654263191, 753973209, 36408145, 2530585658, 25011837, 3520020182, 2088578344, 530523599, 2918365339, 1524020338, 1518925132, 3760827505, 3759777254, 1202760957, 3985898139, 3906192525, 674977740, 4174734889, 2031300136, 2019492241, 3983892565, 4153806404, 3822280332, 352677332, 2297720250, 60907813, 90501309, 3286998549, 1016092578, 2535922412, 2839152426, 457141659, 509813237, 4120667899, 652014361, 1966332200, 2975202805, 55981186, 2327461051, 676427537, 3255491064, 2882294119, 3433927263, 1307055953, 942726286, 933058658, 2468411793, 3933900994, 4215176142, 1361170020, 2001714738, 2830558078, 3274259782, 1222529897, 1679025792, 2729314320, 3714953764, 1770335741, 151462246, 3013232138, 1682292957, 1483529935, 471910574, 1539241949, 458788160, 3436315007, 1807016891, 3718408830, 978976581, 1043663428, 3165965781, 1927990952, 4200891579, 2372276910, 3208408903, 3533431907, 1412390302, 2931980059, 4132332400, 1947078029, 3881505623, 4168226417, 2941484381, 1077988104, 1320477388, 886195818, 18198404, 3786409e3, 2509781533, 112762804, 3463356488, 1866414978, 891333506, 18488651, 661792760, 1628790961, 3885187036, 3141171499, 876946877, 2693282273, 1372485963, 791857591, 2686433993, 3759982718, 3167212022, 3472953795, 2716379847, 445679433, 3561995674, 3504004811, 3574258232, 54117162, 3331405415, 2381918588, 3769707343, 4154350007, 1140177722, 4074052095, 668550556, 3214352940, 367459370, 261225585, 2610173221, 4209349473, 3468074219, 3265815641, 314222801, 3066103646, 3808782860, 282218597, 3406013506, 3773591054, 379116347, 1285071038, 846784868, 2669647154, 3771962079, 3550491691, 2305946142, 453669953, 1268987020, 3317592352, 3279303384, 3744833421, 2610507566, 3859509063, 266596637, 3847019092, 517658769, 3462560207, 3443424879, 370717030, 4247526661, 2224018117, 4143653529, 4112773975, 2788324899, 2477274417, 1456262402, 2901442914, 1517677493, 1846949527, 2295493580, 3734397586, 2176403920, 1280348187, 1908823572, 3871786941, 846861322, 1172426758, 3287448474, 3383383037, 1655181056, 3139813346, 901632758, 1897031941, 2986607138, 3066810236, 3447102507, 1393639104, 373351379, 950779232, 625454576, 3124240540, 4148612726, 2007998917, 544563296, 2244738638, 2330496472, 2058025392, 1291430526, 424198748, 50039436, 29584100, 3605783033, 2429876329, 2791104160, 1057563949, 3255363231, 3075367218, 3463963227, 1469046755, 985887462 ];
|
|
407
|
-
|
|
408
|
-
var
|
|
409
|
-
|
|
410
|
-
function
|
|
411
|
-
var
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
s ^=
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
s ^=
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
s ^=
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
s ^=
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
s ^=
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
s ^=
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
s ^=
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
s ^=
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
return
|
|
396
|
+
var A = 16;
|
|
397
|
+
|
|
398
|
+
var P = 10;
|
|
399
|
+
|
|
400
|
+
var x = 16;
|
|
401
|
+
|
|
402
|
+
var S = 100;
|
|
403
|
+
|
|
404
|
+
var M = [ 608135816, 2242054355, 320440878, 57701188, 2752067618, 698298832, 137296536, 3964562569, 1160258022, 953160567, 3193202383, 887688300, 3232508343, 3380367581, 1065670069, 3041331479, 2450970073, 2306472731 ];
|
|
405
|
+
|
|
406
|
+
var O = [ 3509652390, 2564797868, 805139163, 3491422135, 3101798381, 1780907670, 3128725573, 4046225305, 614570311, 3012652279, 134345442, 2240740374, 1667834072, 1901547113, 2757295779, 4103290238, 227898511, 1921955416, 1904987480, 2182433518, 2069144605, 3260701109, 2620446009, 720527379, 3318853667, 677414384, 3393288472, 3101374703, 2390351024, 1614419982, 1822297739, 2954791486, 3608508353, 3174124327, 2024746970, 1432378464, 3864339955, 2857741204, 1464375394, 1676153920, 1439316330, 715854006, 3033291828, 289532110, 2706671279, 2087905683, 3018724369, 1668267050, 732546397, 1947742710, 3462151702, 2609353502, 2950085171, 1814351708, 2050118529, 680887927, 999245976, 1800124847, 3300911131, 1713906067, 1641548236, 4213287313, 1216130144, 1575780402, 4018429277, 3917837745, 3693486850, 3949271944, 596196993, 3549867205, 258830323, 2213823033, 772490370, 2760122372, 1774776394, 2652871518, 566650946, 4142492826, 1728879713, 2882767088, 1783734482, 3629395816, 2517608232, 2874225571, 1861159788, 326777828, 3124490320, 2130389656, 2716951837, 967770486, 1724537150, 2185432712, 2364442137, 1164943284, 2105845187, 998989502, 3765401048, 2244026483, 1075463327, 1455516326, 1322494562, 910128902, 469688178, 1117454909, 936433444, 3490320968, 3675253459, 1240580251, 122909385, 2157517691, 634681816, 4142456567, 3825094682, 3061402683, 2540495037, 79693498, 3249098678, 1084186820, 1583128258, 426386531, 1761308591, 1047286709, 322548459, 995290223, 1845252383, 2603652396, 3431023940, 2942221577, 3202600964, 3727903485, 1712269319, 422464435, 3234572375, 1170764815, 3523960633, 3117677531, 1434042557, 442511882, 3600875718, 1076654713, 1738483198, 4213154764, 2393238008, 3677496056, 1014306527, 4251020053, 793779912, 2902807211, 842905082, 4246964064, 1395751752, 1040244610, 2656851899, 3396308128, 445077038, 3742853595, 3577915638, 679411651, 2892444358, 2354009459, 1767581616, 3150600392, 3791627101, 3102740896, 284835224, 4246832056, 1258075500, 768725851, 2589189241, 3069724005, 3532540348, 1274779536, 3789419226, 2764799539, 1660621633, 3471099624, 4011903706, 913787905, 3497959166, 737222580, 2514213453, 2928710040, 3937242737, 1804850592, 3499020752, 2949064160, 2386320175, 2390070455, 2415321851, 4061277028, 2290661394, 2416832540, 1336762016, 1754252060, 3520065937, 3014181293, 791618072, 3188594551, 3933548030, 2332172193, 3852520463, 3043980520, 413987798, 3465142937, 3030929376, 4245938359, 2093235073, 3534596313, 375366246, 2157278981, 2479649556, 555357303, 3870105701, 2008414854, 3344188149, 4221384143, 3956125452, 2067696032, 3594591187, 2921233993, 2428461, 544322398, 577241275, 1471733935, 610547355, 4027169054, 1432588573, 1507829418, 2025931657, 3646575487, 545086370, 48609733, 2200306550, 1653985193, 298326376, 1316178497, 3007786442, 2064951626, 458293330, 2589141269, 3591329599, 3164325604, 727753846, 2179363840, 146436021, 1461446943, 4069977195, 705550613, 3059967265, 3887724982, 4281599278, 3313849956, 1404054877, 2845806497, 146425753, 1854211946, 1266315497, 3048417604, 3681880366, 3289982499, 290971e4, 1235738493, 2632868024, 2414719590, 3970600049, 1771706367, 1449415276, 3266420449, 422970021, 1963543593, 2690192192, 3826793022, 1062508698, 1531092325, 1804592342, 2583117782, 2714934279, 4024971509, 1294809318, 4028980673, 1289560198, 2221992742, 1669523910, 35572830, 157838143, 1052438473, 1016535060, 1802137761, 1753167236, 1386275462, 3080475397, 2857371447, 1040679964, 2145300060, 2390574316, 1461121720, 2956646967, 4031777805, 4028374788, 33600511, 2920084762, 1018524850, 629373528, 3691585981, 3515945977, 2091462646, 2486323059, 586499841, 988145025, 935516892, 3367335476, 2599673255, 2839830854, 265290510, 3972581182, 2759138881, 3795373465, 1005194799, 847297441, 406762289, 1314163512, 1332590856, 1866599683, 4127851711, 750260880, 613907577, 1450815602, 3165620655, 3734664991, 3650291728, 3012275730, 3704569646, 1427272223, 778793252, 1343938022, 2676280711, 2052605720, 1946737175, 3164576444, 3914038668, 3967478842, 3682934266, 1661551462, 3294938066, 4011595847, 840292616, 3712170807, 616741398, 312560963, 711312465, 1351876610, 322626781, 1910503582, 271666773, 2175563734, 1594956187, 70604529, 3617834859, 1007753275, 1495573769, 4069517037, 2549218298, 2663038764, 504708206, 2263041392, 3941167025, 2249088522, 1514023603, 1998579484, 1312622330, 694541497, 2582060303, 2151582166, 1382467621, 776784248, 2618340202, 3323268794, 2497899128, 2784771155, 503983604, 4076293799, 907881277, 423175695, 432175456, 1378068232, 4145222326, 3954048622, 3938656102, 3820766613, 2793130115, 2977904593, 26017576, 3274890735, 3194772133, 1700274565, 1756076034, 4006520079, 3677328699, 720338349, 1533947780, 354530856, 688349552, 3973924725, 1637815568, 332179504, 3949051286, 53804574, 2852348879, 3044236432, 1282449977, 3583942155, 3416972820, 4006381244, 1617046695, 2628476075, 3002303598, 1686838959, 431878346, 2686675385, 1700445008, 1080580658, 1009431731, 832498133, 3223435511, 2605976345, 2271191193, 2516031870, 1648197032, 4164389018, 2548247927, 300782431, 375919233, 238389289, 3353747414, 2531188641, 2019080857, 1475708069, 455242339, 2609103871, 448939670, 3451063019, 1395535956, 2413381860, 1841049896, 1491858159, 885456874, 4264095073, 4001119347, 1565136089, 3898914787, 1108368660, 540939232, 1173283510, 2745871338, 3681308437, 4207628240, 3343053890, 4016749493, 1699691293, 1103962373, 3625875870, 2256883143, 3830138730, 1031889488, 3479347698, 1535977030, 4236805024, 3251091107, 2132092099, 1774941330, 1199868427, 1452454533, 157007616, 2904115357, 342012276, 595725824, 1480756522, 206960106, 497939518, 591360097, 863170706, 2375253569, 3596610801, 1814182875, 2094937945, 3421402208, 1082520231, 3463918190, 2785509508, 435703966, 3908032597, 1641649973, 2842273706, 3305899714, 1510255612, 2148256476, 2655287854, 3276092548, 4258621189, 236887753, 3681803219, 274041037, 1734335097, 3815195456, 3317970021, 1899903192, 1026095262, 4050517792, 356393447, 2410691914, 3873677099, 3682840055, 3913112168, 2491498743, 4132185628, 2489919796, 1091903735, 1979897079, 3170134830, 3567386728, 3557303409, 857797738, 1136121015, 1342202287, 507115054, 2535736646, 337727348, 3213592640, 1301675037, 2528481711, 1895095763, 1721773893, 3216771564, 62756741, 2142006736, 835421444, 2531993523, 1442658625, 3659876326, 2882144922, 676362277, 1392781812, 170690266, 3921047035, 1759253602, 3611846912, 1745797284, 664899054, 1329594018, 3901205900, 3045908486, 2062866102, 2865634940, 3543621612, 3464012697, 1080764994, 553557557, 3656615353, 3996768171, 991055499, 499776247, 1265440854, 648242737, 3940784050, 980351604, 3713745714, 1749149687, 3396870395, 4211799374, 3640570775, 1161844396, 3125318951, 1431517754, 545492359, 4268468663, 3499529547, 1437099964, 2702547544, 3433638243, 2581715763, 2787789398, 1060185593, 1593081372, 2418618748, 4260947970, 69676912, 2159744348, 86519011, 2512459080, 3838209314, 1220612927, 3339683548, 133810670, 1090789135, 1078426020, 1569222167, 845107691, 3583754449, 4072456591, 1091646820, 628848692, 1613405280, 3757631651, 526609435, 236106946, 48312990, 2942717905, 3402727701, 1797494240, 859738849, 992217954, 4005476642, 2243076622, 3870952857, 3732016268, 765654824, 3490871365, 2511836413, 1685915746, 3888969200, 1414112111, 2273134842, 3281911079, 4080962846, 172450625, 2569994100, 980381355, 4109958455, 2819808352, 2716589560, 2568741196, 3681446669, 3329971472, 1835478071, 660984891, 3704678404, 4045999559, 3422617507, 3040415634, 1762651403, 1719377915, 3470491036, 2693910283, 3642056355, 3138596744, 1364962596, 2073328063, 1983633131, 926494387, 3423689081, 2150032023, 4096667949, 1749200295, 3328846651, 309677260, 2016342300, 1779581495, 3079819751, 111262694, 1274766160, 443224088, 298511866, 1025883608, 3806446537, 1145181785, 168956806, 3641502830, 3584813610, 1689216846, 3666258015, 3200248200, 1692713982, 2646376535, 4042768518, 1618508792, 1610833997, 3523052358, 4130873264, 2001055236, 3610705100, 2202168115, 4028541809, 2961195399, 1006657119, 2006996926, 3186142756, 1430667929, 3210227297, 1314452623, 4074634658, 4101304120, 2273951170, 1399257539, 3367210612, 3027628629, 1190975929, 2062231137, 2333990788, 2221543033, 2438960610, 1181637006, 548689776, 2362791313, 3372408396, 3104550113, 3145860560, 296247880, 1970579870, 3078560182, 3769228297, 1714227617, 3291629107, 3898220290, 166772364, 1251581989, 493813264, 448347421, 195405023, 2709975567, 677966185, 3703036547, 1463355134, 2715995803, 1338867538, 1343315457, 2802222074, 2684532164, 233230375, 2599980071, 2000651841, 3277868038, 1638401717, 4028070440, 3237316320, 6314154, 819756386, 300326615, 590932579, 1405279636, 3267499572, 3150704214, 2428286686, 3959192993, 3461946742, 1862657033, 1266418056, 963775037, 2089974820, 2263052895, 1917689273, 448879540, 3550394620, 3981727096, 150775221, 3627908307, 1303187396, 508620638, 2975983352, 2726630617, 1817252668, 1876281319, 1457606340, 908771278, 3720792119, 3617206836, 2455994898, 1729034894, 1080033504, 976866871, 3556439503, 2881648439, 1522871579, 1555064734, 1336096578, 3548522304, 2579274686, 3574697629, 3205460757, 3593280638, 3338716283, 3079412587, 564236357, 2993598910, 1781952180, 1464380207, 3163844217, 3332601554, 1699332808, 1393555694, 1183702653, 3581086237, 1288719814, 691649499, 2847557200, 2895455976, 3193889540, 2717570544, 1781354906, 1676643554, 2592534050, 3230253752, 1126444790, 2770207658, 2633158820, 2210423226, 2615765581, 2414155088, 3127139286, 673620729, 2805611233, 1269405062, 4015350505, 3341807571, 4149409754, 1057255273, 2012875353, 2162469141, 2276492801, 2601117357, 993977747, 3918593370, 2654263191, 753973209, 36408145, 2530585658, 25011837, 3520020182, 2088578344, 530523599, 2918365339, 1524020338, 1518925132, 3760827505, 3759777254, 1202760957, 3985898139, 3906192525, 674977740, 4174734889, 2031300136, 2019492241, 3983892565, 4153806404, 3822280332, 352677332, 2297720250, 60907813, 90501309, 3286998549, 1016092578, 2535922412, 2839152426, 457141659, 509813237, 4120667899, 652014361, 1966332200, 2975202805, 55981186, 2327461051, 676427537, 3255491064, 2882294119, 3433927263, 1307055953, 942726286, 933058658, 2468411793, 3933900994, 4215176142, 1361170020, 2001714738, 2830558078, 3274259782, 1222529897, 1679025792, 2729314320, 3714953764, 1770335741, 151462246, 3013232138, 1682292957, 1483529935, 471910574, 1539241949, 458788160, 3436315007, 1807016891, 3718408830, 978976581, 1043663428, 3165965781, 1927990952, 4200891579, 2372276910, 3208408903, 3533431907, 1412390302, 2931980059, 4132332400, 1947078029, 3881505623, 4168226417, 2941484381, 1077988104, 1320477388, 886195818, 18198404, 3786409e3, 2509781533, 112762804, 3463356488, 1866414978, 891333506, 18488651, 661792760, 1628790961, 3885187036, 3141171499, 876946877, 2693282273, 1372485963, 791857591, 2686433993, 3759982718, 3167212022, 3472953795, 2716379847, 445679433, 3561995674, 3504004811, 3574258232, 54117162, 3331405415, 2381918588, 3769707343, 4154350007, 1140177722, 4074052095, 668550556, 3214352940, 367459370, 261225585, 2610173221, 4209349473, 3468074219, 3265815641, 314222801, 3066103646, 3808782860, 282218597, 3406013506, 3773591054, 379116347, 1285071038, 846784868, 2669647154, 3771962079, 3550491691, 2305946142, 453669953, 1268987020, 3317592352, 3279303384, 3744833421, 2610507566, 3859509063, 266596637, 3847019092, 517658769, 3462560207, 3443424879, 370717030, 4247526661, 2224018117, 4143653529, 4112773975, 2788324899, 2477274417, 1456262402, 2901442914, 1517677493, 1846949527, 2295493580, 3734397586, 2176403920, 1280348187, 1908823572, 3871786941, 846861322, 1172426758, 3287448474, 3383383037, 1655181056, 3139813346, 901632758, 1897031941, 2986607138, 3066810236, 3447102507, 1393639104, 373351379, 950779232, 625454576, 3124240540, 4148612726, 2007998917, 544563296, 2244738638, 2330496472, 2058025392, 1291430526, 424198748, 50039436, 29584100, 3605783033, 2429876329, 2791104160, 1057563949, 3255363231, 3075367218, 3463963227, 1469046755, 985887462 ];
|
|
407
|
+
|
|
408
|
+
var D = [ 1332899944, 1700884034, 1701343084, 1684370003, 1668446532, 1869963892 ];
|
|
409
|
+
|
|
410
|
+
function L(t, r, e, o) {
|
|
411
|
+
var i, n = t[r], s = t[r + 1];
|
|
412
|
+
n ^= e[0];
|
|
413
|
+
i = o[n >>> 24];
|
|
414
|
+
i += o[256 | n >> 16 & 255];
|
|
415
|
+
i ^= o[512 | n >> 8 & 255];
|
|
416
|
+
i += o[768 | n & 255];
|
|
417
|
+
s ^= i ^ e[1];
|
|
418
|
+
i = o[s >>> 24];
|
|
419
|
+
i += o[256 | s >> 16 & 255];
|
|
420
|
+
i ^= o[512 | s >> 8 & 255];
|
|
421
|
+
i += o[768 | s & 255];
|
|
422
|
+
n ^= i ^ e[2];
|
|
423
|
+
i = o[n >>> 24];
|
|
424
|
+
i += o[256 | n >> 16 & 255];
|
|
425
|
+
i ^= o[512 | n >> 8 & 255];
|
|
426
|
+
i += o[768 | n & 255];
|
|
427
|
+
s ^= i ^ e[3];
|
|
428
|
+
i = o[s >>> 24];
|
|
429
|
+
i += o[256 | s >> 16 & 255];
|
|
430
|
+
i ^= o[512 | s >> 8 & 255];
|
|
431
|
+
i += o[768 | s & 255];
|
|
432
|
+
n ^= i ^ e[4];
|
|
433
|
+
i = o[n >>> 24];
|
|
434
|
+
i += o[256 | n >> 16 & 255];
|
|
435
|
+
i ^= o[512 | n >> 8 & 255];
|
|
436
|
+
i += o[768 | n & 255];
|
|
437
|
+
s ^= i ^ e[5];
|
|
438
|
+
i = o[s >>> 24];
|
|
439
|
+
i += o[256 | s >> 16 & 255];
|
|
440
|
+
i ^= o[512 | s >> 8 & 255];
|
|
441
|
+
i += o[768 | s & 255];
|
|
442
|
+
n ^= i ^ e[6];
|
|
443
|
+
i = o[n >>> 24];
|
|
444
|
+
i += o[256 | n >> 16 & 255];
|
|
445
|
+
i ^= o[512 | n >> 8 & 255];
|
|
446
|
+
i += o[768 | n & 255];
|
|
447
|
+
s ^= i ^ e[7];
|
|
448
|
+
i = o[s >>> 24];
|
|
449
|
+
i += o[256 | s >> 16 & 255];
|
|
450
|
+
i ^= o[512 | s >> 8 & 255];
|
|
451
|
+
i += o[768 | s & 255];
|
|
452
|
+
n ^= i ^ e[8];
|
|
453
|
+
i = o[n >>> 24];
|
|
454
|
+
i += o[256 | n >> 16 & 255];
|
|
455
|
+
i ^= o[512 | n >> 8 & 255];
|
|
456
|
+
i += o[768 | n & 255];
|
|
457
|
+
s ^= i ^ e[9];
|
|
458
|
+
i = o[s >>> 24];
|
|
459
|
+
i += o[256 | s >> 16 & 255];
|
|
460
|
+
i ^= o[512 | s >> 8 & 255];
|
|
461
|
+
i += o[768 | s & 255];
|
|
462
|
+
n ^= i ^ e[10];
|
|
463
|
+
i = o[n >>> 24];
|
|
464
|
+
i += o[256 | n >> 16 & 255];
|
|
465
|
+
i ^= o[512 | n >> 8 & 255];
|
|
466
|
+
i += o[768 | n & 255];
|
|
467
|
+
s ^= i ^ e[11];
|
|
468
|
+
i = o[s >>> 24];
|
|
469
|
+
i += o[256 | s >> 16 & 255];
|
|
470
|
+
i ^= o[512 | s >> 8 & 255];
|
|
471
|
+
i += o[768 | s & 255];
|
|
472
|
+
n ^= i ^ e[12];
|
|
473
|
+
i = o[n >>> 24];
|
|
474
|
+
i += o[256 | n >> 16 & 255];
|
|
475
|
+
i ^= o[512 | n >> 8 & 255];
|
|
476
|
+
i += o[768 | n & 255];
|
|
477
|
+
s ^= i ^ e[13];
|
|
478
|
+
i = o[s >>> 24];
|
|
479
|
+
i += o[256 | s >> 16 & 255];
|
|
480
|
+
i ^= o[512 | s >> 8 & 255];
|
|
481
|
+
i += o[768 | s & 255];
|
|
482
|
+
n ^= i ^ e[14];
|
|
483
|
+
i = o[n >>> 24];
|
|
484
|
+
i += o[256 | n >> 16 & 255];
|
|
485
|
+
i ^= o[512 | n >> 8 & 255];
|
|
486
|
+
i += o[768 | n & 255];
|
|
487
|
+
s ^= i ^ e[15];
|
|
488
|
+
i = o[s >>> 24];
|
|
489
|
+
i += o[256 | s >> 16 & 255];
|
|
490
|
+
i ^= o[512 | s >> 8 & 255];
|
|
491
|
+
i += o[768 | s & 255];
|
|
492
|
+
n ^= i ^ e[16];
|
|
493
|
+
t[r] = s ^ e[x + 1];
|
|
494
|
+
t[r + 1] = n;
|
|
495
|
+
return t;
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
function
|
|
499
|
-
for (var
|
|
498
|
+
function R(t, r) {
|
|
499
|
+
for (var e = 0, o = 0; e < 4; ++e) o = o << 8 | t[r] & 255, r = (r + 1) % t.length;
|
|
500
500
|
return {
|
|
501
|
-
key:
|
|
502
|
-
offp:
|
|
501
|
+
key: o,
|
|
502
|
+
offp: r
|
|
503
503
|
};
|
|
504
504
|
}
|
|
505
505
|
|
|
506
|
-
function
|
|
507
|
-
var
|
|
508
|
-
for (var l = 0; l <
|
|
509
|
-
for (l = 0; l <
|
|
510
|
-
for (l = 0; l < s; l += 2)
|
|
506
|
+
function $(t, r, e) {
|
|
507
|
+
var o = 0, i = [ 0, 0 ], n = r.length, s = e.length, a;
|
|
508
|
+
for (var l = 0; l < n; l++) a = R(t, o), o = a.offp, r[l] = r[l] ^ a.key;
|
|
509
|
+
for (l = 0; l < n; l += 2) i = L(i, 0, r, e), r[l] = i[0], r[l + 1] = i[1];
|
|
510
|
+
for (l = 0; l < s; l += 2) i = L(i, 0, r, e), e[l] = i[0], e[l + 1] = i[1];
|
|
511
511
|
}
|
|
512
512
|
|
|
513
|
-
function
|
|
514
|
-
var
|
|
515
|
-
for (var f = 0; f < s; f++) l =
|
|
516
|
-
|
|
517
|
-
for (f = 0; f < s; f += 2) l =
|
|
518
|
-
|
|
519
|
-
for (f = 0; f < a; f += 2) l =
|
|
520
|
-
|
|
513
|
+
function N(t, r, e, o) {
|
|
514
|
+
var i = 0, n = [ 0, 0 ], s = e.length, a = o.length, l;
|
|
515
|
+
for (var f = 0; f < s; f++) l = R(r, i), i = l.offp, e[f] = e[f] ^ l.key;
|
|
516
|
+
i = 0;
|
|
517
|
+
for (f = 0; f < s; f += 2) l = R(t, i), i = l.offp, n[0] ^= l.key, l = R(t, i),
|
|
518
|
+
i = l.offp, n[1] ^= l.key, n = L(n, 0, e, o), e[f] = n[0], e[f + 1] = n[1];
|
|
519
|
+
for (f = 0; f < a; f += 2) l = R(t, i), i = l.offp, n[0] ^= l.key, l = R(t, i),
|
|
520
|
+
i = l.offp, n[1] ^= l.key, n = L(n, 0, e, o), o[f] = n[0], o[f + 1] = n[1];
|
|
521
521
|
}
|
|
522
522
|
|
|
523
|
-
function
|
|
524
|
-
var
|
|
525
|
-
if (
|
|
526
|
-
|
|
527
|
-
if (
|
|
528
|
-
|
|
523
|
+
function T(t, r, e, o, i) {
|
|
524
|
+
var n = D.slice(), s = n.length, a;
|
|
525
|
+
if (e < 4 || e > 31) {
|
|
526
|
+
a = Error("Illegal number of rounds (4-31): " + e);
|
|
527
|
+
if (o) {
|
|
528
|
+
j(o.bind(this, a));
|
|
529
529
|
return;
|
|
530
|
-
} else throw
|
|
530
|
+
} else throw a;
|
|
531
531
|
}
|
|
532
|
-
if (
|
|
533
|
-
|
|
534
|
-
if (
|
|
535
|
-
|
|
532
|
+
if (r.length !== A) {
|
|
533
|
+
a = Error("Illegal salt length: " + r.length + " != " + A);
|
|
534
|
+
if (o) {
|
|
535
|
+
j(o.bind(this, a));
|
|
536
536
|
return;
|
|
537
|
-
} else throw
|
|
537
|
+
} else throw a;
|
|
538
538
|
}
|
|
539
|
-
|
|
540
|
-
var
|
|
539
|
+
e = 1 << e >>> 0;
|
|
540
|
+
var l, f, p = 0, m;
|
|
541
541
|
if (typeof Int32Array === "function") {
|
|
542
|
-
|
|
543
|
-
|
|
542
|
+
l = new Int32Array(M);
|
|
543
|
+
f = new Int32Array(O);
|
|
544
544
|
} else {
|
|
545
|
-
|
|
546
|
-
|
|
545
|
+
l = M.slice();
|
|
546
|
+
f = O.slice();
|
|
547
547
|
}
|
|
548
|
-
|
|
549
|
-
function
|
|
550
|
-
if (
|
|
551
|
-
if (
|
|
552
|
-
var
|
|
553
|
-
for (;
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
if (Date.now() -
|
|
548
|
+
N(r, t, l, f);
|
|
549
|
+
function u() {
|
|
550
|
+
if (i) i(p / e);
|
|
551
|
+
if (p < e) {
|
|
552
|
+
var a = Date.now();
|
|
553
|
+
for (;p < e; ) {
|
|
554
|
+
p = p + 1;
|
|
555
|
+
$(t, l, f);
|
|
556
|
+
$(r, l, f);
|
|
557
|
+
if (Date.now() - a > S) break;
|
|
558
558
|
}
|
|
559
559
|
} else {
|
|
560
|
-
for (
|
|
561
|
-
var
|
|
562
|
-
for (
|
|
563
|
-
|
|
564
|
-
if (
|
|
565
|
-
|
|
560
|
+
for (p = 0; p < 64; p++) for (m = 0; m < s >> 1; m++) L(n, m << 1, l, f);
|
|
561
|
+
var c = [];
|
|
562
|
+
for (p = 0; p < s; p++) c.push((n[p] >> 24 & 255) >>> 0), c.push((n[p] >> 16 & 255) >>> 0),
|
|
563
|
+
c.push((n[p] >> 8 & 255) >>> 0), c.push((n[p] & 255) >>> 0);
|
|
564
|
+
if (o) {
|
|
565
|
+
o(null, c);
|
|
566
566
|
return;
|
|
567
|
-
} else return
|
|
567
|
+
} else return c;
|
|
568
568
|
}
|
|
569
|
-
if (
|
|
569
|
+
if (o) j(u);
|
|
570
570
|
}
|
|
571
|
-
if (typeof
|
|
572
|
-
|
|
571
|
+
if (typeof o !== "undefined") {
|
|
572
|
+
u();
|
|
573
573
|
} else {
|
|
574
|
-
var
|
|
575
|
-
while (true) if (typeof (
|
|
574
|
+
var c;
|
|
575
|
+
while (true) if (typeof (c = u()) !== "undefined") return c || [];
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
|
|
579
|
-
function
|
|
580
|
-
var
|
|
581
|
-
if (typeof
|
|
582
|
-
|
|
583
|
-
if (
|
|
584
|
-
|
|
579
|
+
function V(t, r, e, o) {
|
|
580
|
+
var i;
|
|
581
|
+
if (typeof t !== "string" || typeof r !== "string") {
|
|
582
|
+
i = Error("Invalid string / salt: Not a string");
|
|
583
|
+
if (e) {
|
|
584
|
+
j(e.bind(this, i));
|
|
585
585
|
return;
|
|
586
|
-
} else throw
|
|
586
|
+
} else throw i;
|
|
587
587
|
}
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
590
|
-
|
|
591
|
-
if (
|
|
592
|
-
|
|
588
|
+
var n, s;
|
|
589
|
+
if (r.charAt(0) !== "$" || r.charAt(1) !== "2") {
|
|
590
|
+
i = Error("Invalid salt version: " + r.substring(0, 2));
|
|
591
|
+
if (e) {
|
|
592
|
+
j(e.bind(this, i));
|
|
593
593
|
return;
|
|
594
|
-
} else throw
|
|
594
|
+
} else throw i;
|
|
595
595
|
}
|
|
596
|
-
if (
|
|
597
|
-
|
|
598
|
-
if (
|
|
599
|
-
|
|
600
|
-
if (
|
|
601
|
-
|
|
596
|
+
if (r.charAt(2) === "$") n = String.fromCharCode(0), s = 3; else {
|
|
597
|
+
n = r.charAt(2);
|
|
598
|
+
if (n !== "a" && n !== "b" && n !== "y" || r.charAt(3) !== "$") {
|
|
599
|
+
i = Error("Invalid salt revision: " + r.substring(2, 4));
|
|
600
|
+
if (e) {
|
|
601
|
+
j(e.bind(this, i));
|
|
602
602
|
return;
|
|
603
|
-
} else throw
|
|
603
|
+
} else throw i;
|
|
604
604
|
}
|
|
605
605
|
s = 4;
|
|
606
606
|
}
|
|
607
|
-
if (
|
|
608
|
-
|
|
609
|
-
if (
|
|
610
|
-
|
|
607
|
+
if (r.charAt(s + 2) > "$") {
|
|
608
|
+
i = Error("Missing salt rounds");
|
|
609
|
+
if (e) {
|
|
610
|
+
j(e.bind(this, i));
|
|
611
611
|
return;
|
|
612
|
-
} else throw
|
|
612
|
+
} else throw i;
|
|
613
613
|
}
|
|
614
|
-
var
|
|
615
|
-
|
|
616
|
-
var
|
|
617
|
-
function
|
|
618
|
-
var
|
|
619
|
-
|
|
620
|
-
if (
|
|
621
|
-
|
|
622
|
-
if (
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
return
|
|
614
|
+
var a = parseInt(r.substring(s, s + 1), 10) * 10, l = parseInt(r.substring(s + 1, s + 2), 10), f = a + l, p = r.substring(s + 3, s + 25);
|
|
615
|
+
t += n >= "a" ? "\0" : "";
|
|
616
|
+
var m = I(t), u = E(p, A);
|
|
617
|
+
function c(t) {
|
|
618
|
+
var r = [];
|
|
619
|
+
r.push("$2");
|
|
620
|
+
if (n >= "a") r.push(n);
|
|
621
|
+
r.push("$");
|
|
622
|
+
if (f < 10) r.push("0");
|
|
623
|
+
r.push(f.toString());
|
|
624
|
+
r.push("$");
|
|
625
|
+
r.push(C(u, u.length));
|
|
626
|
+
r.push(C(t, D.length * 4 - 1));
|
|
627
|
+
return r.join("");
|
|
628
628
|
}
|
|
629
|
-
if (typeof
|
|
630
|
-
|
|
631
|
-
if (
|
|
632
|
-
}),
|
|
629
|
+
if (typeof e == "undefined") return c(T(m, u, f)); else {
|
|
630
|
+
T(m, u, f, (function(t, r) {
|
|
631
|
+
if (t) e(t, null); else e(null, c(r));
|
|
632
|
+
}), o);
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
|
|
636
|
-
function
|
|
637
|
-
return
|
|
636
|
+
function B(t, r) {
|
|
637
|
+
return C(t, r);
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
function
|
|
641
|
-
return
|
|
640
|
+
function F(t, r) {
|
|
641
|
+
return E(t, r);
|
|
642
642
|
}
|
|
643
643
|
|
|
644
|
-
const
|
|
645
|
-
setRandomFallback,
|
|
646
|
-
genSaltSync,
|
|
647
|
-
genSalt,
|
|
648
|
-
hashSync,
|
|
649
|
-
hash,
|
|
650
|
-
compareSync,
|
|
651
|
-
compare,
|
|
652
|
-
getRounds,
|
|
653
|
-
getSalt,
|
|
654
|
-
truncates,
|
|
655
|
-
encodeBase64,
|
|
656
|
-
decodeBase64
|
|
644
|
+
const H = {
|
|
645
|
+
setRandomFallback: l,
|
|
646
|
+
genSaltSync: f,
|
|
647
|
+
genSalt: p,
|
|
648
|
+
hashSync: m,
|
|
649
|
+
hash: u,
|
|
650
|
+
compareSync: h,
|
|
651
|
+
compare: d,
|
|
652
|
+
getRounds: b,
|
|
653
|
+
getSalt: g,
|
|
654
|
+
truncates: y,
|
|
655
|
+
encodeBase64: B,
|
|
656
|
+
decodeBase64: F
|
|
657
657
|
};
|
|
658
658
|
|
|
659
|
-
class PasswordHash extends
|
|
660
|
-
#
|
|
659
|
+
class PasswordHash extends o {
|
|
660
|
+
#t;
|
|
661
661
|
get salt() {
|
|
662
|
-
return this.#
|
|
662
|
+
return this.#t;
|
|
663
663
|
}
|
|
664
664
|
async init() {
|
|
665
|
-
this.#
|
|
665
|
+
this.#t = await H.genSalt(this.saltRounds);
|
|
666
666
|
}
|
|
667
|
-
async hash(
|
|
668
|
-
return await
|
|
667
|
+
async hash(t) {
|
|
668
|
+
return await H.hash(t, this.salt);
|
|
669
669
|
}
|
|
670
|
-
async validate(
|
|
671
|
-
return await
|
|
670
|
+
async validate(t, r) {
|
|
671
|
+
return await H.compare(t, r);
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
674
|
|
|
675
|
-
|
|
675
|
+
t([ i(n.Number().integer().positive().optional().default(10)), r("design:type", Number) ], PasswordHash.prototype, "saltRounds", void 0);
|
|
676
676
|
|
|
677
677
|
export { PasswordHash };
|