lakutata 2.0.95 → 2.0.96

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 (1175) hide show
  1. package/com/cacher.cjs +56 -44
  2. package/com/cacher.mjs +56 -44
  3. package/com/database.cjs +74 -74
  4. package/com/database.mjs +74 -74
  5. package/com/docker.cjs +85 -85
  6. package/com/docker.mjs +85 -85
  7. package/com/entrypoint.cjs +44 -44
  8. package/com/entrypoint.mjs +44 -44
  9. package/com/logger.cjs +51 -51
  10. package/com/logger.mjs +51 -51
  11. package/com/monitor.cjs +32 -32
  12. package/com/monitor.mjs +32 -32
  13. package/decorator/asst.cjs +5 -5
  14. package/decorator/asst.mjs +5 -5
  15. package/decorator/ctrl.cjs +22 -22
  16. package/decorator/ctrl.mjs +22 -22
  17. package/decorator/di.cjs +17 -17
  18. package/decorator/di.mjs +17 -17
  19. package/decorator/dto.cjs +17 -17
  20. package/decorator/dto.mjs +17 -17
  21. package/decorator/orm.cjs +47 -47
  22. package/decorator/orm.mjs +47 -47
  23. package/dtos.cjs +17 -17
  24. package/dtos.mjs +17 -17
  25. package/helper.cjs +32 -32
  26. package/helper.mjs +32 -32
  27. package/lakutata.cjs +110 -110
  28. package/lakutata.mjs +110 -110
  29. package/orm.cjs +47 -47
  30. package/orm.mjs +48 -48
  31. package/package.json +1 -1
  32. package/provider/database.cjs +73 -73
  33. package/provider/database.mjs +73 -73
  34. package/provider/passwordHash.cjs +31 -31
  35. package/provider/passwordHash.mjs +31 -31
  36. package/src/components/Database.cjs +74 -74
  37. package/src/components/Database.mjs +74 -74
  38. package/src/components/Logger.cjs +51 -51
  39. package/src/components/Logger.mjs +51 -51
  40. package/src/components/cacher/Cacher.cjs +60 -48
  41. package/src/components/cacher/Cacher.mjs +60 -48
  42. package/src/components/cacher/adapters/CreateFileCacheAdapter.cjs +25 -11
  43. package/src/components/cacher/adapters/CreateFileCacheAdapter.mjs +31 -17
  44. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.cjs +29 -15
  45. package/src/components/cacher/adapters/CreateMemcacheCacheAdapter.mjs +38 -24
  46. package/src/components/cacher/adapters/CreateMongoCacheAdapter.cjs +41 -27
  47. package/src/components/cacher/adapters/CreateMongoCacheAdapter.mjs +37 -23
  48. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.cjs +28 -14
  49. package/src/components/cacher/adapters/CreateMysqlCacheAdapter.mjs +26 -12
  50. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.cjs +39 -25
  51. package/src/components/cacher/adapters/CreatePostgresCacheAdapter.mjs +29 -15
  52. package/src/components/cacher/adapters/CreateRedisCacheAdapter.cjs +26 -12
  53. package/src/components/cacher/adapters/CreateRedisCacheAdapter.mjs +26 -12
  54. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.cjs +29 -15
  55. package/src/components/cacher/adapters/CreateSqliteCacheAdapter.mjs +29 -15
  56. package/src/components/cacher/exceptions/CacheDriverNotFoundException.cjs +4 -4
  57. package/src/components/cacher/exceptions/CacheDriverNotFoundException.mjs +4 -4
  58. package/src/components/cacher/interfaces/CacherOptions.cjs +1 -1
  59. package/src/components/cacher/interfaces/CacherOptions.mjs +1 -1
  60. package/src/components/cacher/lib/IsDriverPackageInstalled.cjs +4 -4
  61. package/src/components/cacher/lib/IsDriverPackageInstalled.mjs +4 -4
  62. package/src/components/cacher/options/FileCacheOptions.cjs +17 -17
  63. package/src/components/cacher/options/FileCacheOptions.mjs +17 -17
  64. package/src/components/cacher/options/MemcacheCacheOptions.cjs +17 -17
  65. package/src/components/cacher/options/MemcacheCacheOptions.mjs +17 -17
  66. package/src/components/cacher/options/MongoCacheOptions.cjs +17 -17
  67. package/src/components/cacher/options/MongoCacheOptions.mjs +17 -17
  68. package/src/components/cacher/options/MysqlCacheOptions.cjs +17 -17
  69. package/src/components/cacher/options/MysqlCacheOptions.mjs +17 -17
  70. package/src/components/cacher/options/PostgresCacheOptions.cjs +17 -17
  71. package/src/components/cacher/options/PostgresCacheOptions.mjs +17 -17
  72. package/src/components/cacher/options/RedisCacheOptions.cjs +17 -17
  73. package/src/components/cacher/options/RedisCacheOptions.mjs +17 -17
  74. package/src/components/cacher/options/SqliteCacheOptions.cjs +17 -17
  75. package/src/components/cacher/options/SqliteCacheOptions.mjs +17 -17
  76. package/src/components/cacher/types/CacheStoreOptions.cjs +1 -1
  77. package/src/components/cacher/types/CacheStoreOptions.mjs +1 -1
  78. package/src/components/docker/ConnectionOptionsBuilder.cjs +85 -85
  79. package/src/components/docker/ConnectionOptionsBuilder.mjs +85 -85
  80. package/src/components/docker/Docker.cjs +85 -85
  81. package/src/components/docker/Docker.mjs +85 -85
  82. package/src/components/docker/exceptions/DockerConnectionException.cjs +4 -4
  83. package/src/components/docker/exceptions/DockerConnectionException.mjs +4 -4
  84. package/src/components/docker/exceptions/DockerImageBuildException.cjs +4 -4
  85. package/src/components/docker/exceptions/DockerImageBuildException.mjs +4 -4
  86. package/src/components/docker/exceptions/DockerImageImportException.cjs +4 -4
  87. package/src/components/docker/exceptions/DockerImageImportException.mjs +4 -4
  88. package/src/components/docker/exceptions/DockerImageNotFoundException.cjs +4 -4
  89. package/src/components/docker/exceptions/DockerImageNotFoundException.mjs +4 -4
  90. package/src/components/docker/exceptions/DockerImagePullException.cjs +4 -4
  91. package/src/components/docker/exceptions/DockerImagePullException.mjs +4 -4
  92. package/src/components/docker/exceptions/DockerImagePushException.cjs +4 -4
  93. package/src/components/docker/exceptions/DockerImagePushException.mjs +4 -4
  94. package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.cjs +4 -4
  95. package/src/components/docker/exceptions/DockerImageRepoTagNotFoundException.mjs +4 -4
  96. package/src/components/docker/exceptions/DockerNetworkNotFoundException.cjs +4 -4
  97. package/src/components/docker/exceptions/DockerNetworkNotFoundException.mjs +4 -4
  98. package/src/components/docker/interfaces/IDockerConnectionOptions.cjs +1 -1
  99. package/src/components/docker/interfaces/IDockerConnectionOptions.mjs +1 -1
  100. package/src/components/docker/interfaces/IDockerHttpConnectionOptions.cjs +1 -1
  101. package/src/components/docker/interfaces/IDockerHttpConnectionOptions.mjs +1 -1
  102. package/src/components/docker/interfaces/IDockerHttpsConnectionOptions.cjs +1 -1
  103. package/src/components/docker/interfaces/IDockerHttpsConnectionOptions.mjs +1 -1
  104. package/src/components/docker/interfaces/IDockerKeyObject.cjs +1 -1
  105. package/src/components/docker/interfaces/IDockerKeyObject.mjs +1 -1
  106. package/src/components/docker/interfaces/IDockerSSHConnectionOptions.cjs +1 -1
  107. package/src/components/docker/interfaces/IDockerSSHConnectionOptions.mjs +1 -1
  108. package/src/components/docker/interfaces/IDockerSocketConnectionOptions.cjs +1 -1
  109. package/src/components/docker/interfaces/IDockerSocketConnectionOptions.mjs +1 -1
  110. package/src/components/docker/lib/DockerContainer.cjs +72 -72
  111. package/src/components/docker/lib/DockerContainer.mjs +72 -72
  112. package/src/components/docker/lib/DockerContainerTTY.cjs +72 -72
  113. package/src/components/docker/lib/DockerContainerTTY.mjs +72 -72
  114. package/src/components/docker/lib/DockerImage.cjs +30 -30
  115. package/src/components/docker/lib/DockerImage.mjs +30 -30
  116. package/src/components/docker/lib/ParseEnvToRecord.cjs +1 -1
  117. package/src/components/docker/lib/ParseEnvToRecord.mjs +1 -1
  118. package/src/components/docker/lib/ParseRepositoryTag.cjs +1 -1
  119. package/src/components/docker/lib/ParseRepositoryTag.mjs +1 -1
  120. package/src/components/docker/options/DockerPruneOptions.cjs +17 -17
  121. package/src/components/docker/options/DockerPruneOptions.mjs +17 -17
  122. package/src/components/docker/options/auth/DockerAuthOptions.cjs +17 -17
  123. package/src/components/docker/options/auth/DockerAuthOptions.mjs +17 -17
  124. package/src/components/docker/options/container/ContainerCommitOptions.cjs +17 -17
  125. package/src/components/docker/options/container/ContainerCommitOptions.mjs +17 -17
  126. package/src/components/docker/options/container/ContainerCreateTTYOptions.cjs +17 -17
  127. package/src/components/docker/options/container/ContainerCreateTTYOptions.mjs +17 -17
  128. package/src/components/docker/options/container/ContainerExecOptions.cjs +17 -17
  129. package/src/components/docker/options/container/ContainerExecOptions.mjs +17 -17
  130. package/src/components/docker/options/container/ContainerExportDirectoryOptions.cjs +17 -17
  131. package/src/components/docker/options/container/ContainerExportDirectoryOptions.mjs +17 -17
  132. package/src/components/docker/options/container/ContainerKillOptions.cjs +17 -17
  133. package/src/components/docker/options/container/ContainerKillOptions.mjs +17 -17
  134. package/src/components/docker/options/container/ContainerLogsOptions.cjs +17 -17
  135. package/src/components/docker/options/container/ContainerLogsOptions.mjs +17 -17
  136. package/src/components/docker/options/container/ContainerRemoveOptions.cjs +17 -17
  137. package/src/components/docker/options/container/ContainerRemoveOptions.mjs +17 -17
  138. package/src/components/docker/options/container/ContainerSettingOptions.cjs +17 -17
  139. package/src/components/docker/options/container/ContainerSettingOptions.mjs +17 -17
  140. package/src/components/docker/options/container/ContainerStopOptions.cjs +17 -17
  141. package/src/components/docker/options/container/ContainerStopOptions.mjs +17 -17
  142. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.cjs +17 -17
  143. package/src/components/docker/options/container/ContainerTTYConsoleSizeOptions.mjs +17 -17
  144. package/src/components/docker/options/image/ImageBuildOptions.cjs +17 -17
  145. package/src/components/docker/options/image/ImageBuildOptions.mjs +17 -17
  146. package/src/components/docker/options/image/ImageExportOptions.cjs +17 -17
  147. package/src/components/docker/options/image/ImageExportOptions.mjs +17 -17
  148. package/src/components/docker/options/image/ImageImportOptions.cjs +17 -17
  149. package/src/components/docker/options/image/ImageImportOptions.mjs +17 -17
  150. package/src/components/docker/options/image/ImagePullOptions.cjs +17 -17
  151. package/src/components/docker/options/image/ImagePullOptions.mjs +17 -17
  152. package/src/components/docker/options/image/ImagePushOptions.cjs +17 -17
  153. package/src/components/docker/options/image/ImagePushOptions.mjs +17 -17
  154. package/src/components/docker/options/image/ImageRemoveOptions.cjs +17 -17
  155. package/src/components/docker/options/image/ImageRemoveOptions.mjs +17 -17
  156. package/src/components/docker/options/image/ImageTagOptions.cjs +17 -17
  157. package/src/components/docker/options/image/ImageTagOptions.mjs +17 -17
  158. package/src/components/docker/options/network/NetworkCreateOptions.cjs +17 -17
  159. package/src/components/docker/options/network/NetworkCreateOptions.mjs +17 -17
  160. package/src/components/docker/types/ContainerBind.cjs +1 -1
  161. package/src/components/docker/types/ContainerBind.mjs +1 -1
  162. package/src/components/docker/types/ContainerCapability.cjs +1 -1
  163. package/src/components/docker/types/ContainerCapability.mjs +1 -1
  164. package/src/components/docker/types/ContainerConfig.cjs +1 -1
  165. package/src/components/docker/types/ContainerConfig.mjs +1 -1
  166. package/src/components/docker/types/ContainerDevice.cjs +1 -1
  167. package/src/components/docker/types/ContainerDevice.mjs +1 -1
  168. package/src/components/docker/types/ContainerNetwork.cjs +1 -1
  169. package/src/components/docker/types/ContainerNetwork.mjs +1 -1
  170. package/src/components/docker/types/ContainerPort.cjs +1 -1
  171. package/src/components/docker/types/ContainerPort.mjs +1 -1
  172. package/src/components/docker/types/ContainerRestartPolicy.cjs +1 -1
  173. package/src/components/docker/types/ContainerRestartPolicy.mjs +1 -1
  174. package/src/components/docker/types/ContainerState.cjs +1 -1
  175. package/src/components/docker/types/ContainerState.mjs +1 -1
  176. package/src/components/docker/types/ContainerStats.cjs +1 -1
  177. package/src/components/docker/types/ContainerStats.mjs +1 -1
  178. package/src/components/docker/types/DockerOutputCallback.cjs +1 -1
  179. package/src/components/docker/types/DockerOutputCallback.mjs +1 -1
  180. package/src/components/docker/types/ImageConfig.cjs +1 -1
  181. package/src/components/docker/types/ImageConfig.mjs +1 -1
  182. package/src/components/docker/types/ImageExposePort.cjs +1 -1
  183. package/src/components/docker/types/ImageExposePort.mjs +1 -1
  184. package/src/components/docker/types/NetworkInfo.cjs +1 -1
  185. package/src/components/docker/types/NetworkInfo.mjs +1 -1
  186. package/src/components/entrypoint/Entrypoint.cjs +44 -44
  187. package/src/components/entrypoint/Entrypoint.mjs +44 -44
  188. package/src/components/entrypoint/exceptions/AccessDenyException.cjs +4 -4
  189. package/src/components/entrypoint/exceptions/AccessDenyException.mjs +4 -4
  190. package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.cjs +4 -4
  191. package/src/components/entrypoint/exceptions/ControllerActionNotFoundException.mjs +4 -4
  192. package/src/components/entrypoint/exceptions/DuplicateActionNameException.cjs +4 -4
  193. package/src/components/entrypoint/exceptions/DuplicateActionNameException.mjs +4 -4
  194. package/src/components/entrypoint/exceptions/InvalidActionGroupException.cjs +4 -4
  195. package/src/components/entrypoint/exceptions/InvalidActionGroupException.mjs +4 -4
  196. package/src/components/entrypoint/lib/AccessControl.cjs +30 -30
  197. package/src/components/entrypoint/lib/AccessControl.mjs +30 -30
  198. package/src/components/entrypoint/lib/AccessControlRule.cjs +30 -30
  199. package/src/components/entrypoint/lib/AccessControlRule.mjs +30 -30
  200. package/src/components/entrypoint/lib/Controller.cjs +30 -30
  201. package/src/components/entrypoint/lib/Controller.mjs +30 -30
  202. package/src/components/monitor/AliveMonitor.cjs +31 -31
  203. package/src/components/monitor/AliveMonitor.mjs +31 -31
  204. package/src/components/monitor/CpuMonitor.cjs +32 -32
  205. package/src/components/monitor/CpuMonitor.mjs +32 -32
  206. package/src/components/monitor/EventLoopMonitor.cjs +31 -31
  207. package/src/components/monitor/EventLoopMonitor.mjs +31 -31
  208. package/src/components/monitor/HttpRequestMonitor.cjs +32 -32
  209. package/src/components/monitor/HttpRequestMonitor.mjs +32 -32
  210. package/src/components/monitor/MemoryMonitor.cjs +32 -32
  211. package/src/components/monitor/MemoryMonitor.mjs +32 -32
  212. package/src/components/monitor/interfaces/ICpuMonitorStatistics.cjs +1 -1
  213. package/src/components/monitor/interfaces/ICpuMonitorStatistics.mjs +1 -1
  214. package/src/components/monitor/interfaces/IEventLoopMonitorStatistics.cjs +1 -1
  215. package/src/components/monitor/interfaces/IEventLoopMonitorStatistics.mjs +1 -1
  216. package/src/components/monitor/interfaces/IHttpRequestMonitorStatistics.cjs +1 -1
  217. package/src/components/monitor/interfaces/IHttpRequestMonitorStatistics.mjs +1 -1
  218. package/src/components/monitor/interfaces/IMemoryMonitorStatistics.cjs +1 -1
  219. package/src/components/monitor/interfaces/IMemoryMonitorStatistics.mjs +1 -1
  220. package/src/components/monitor/interfaces/IMonitor.cjs +1 -1
  221. package/src/components/monitor/interfaces/IMonitor.mjs +1 -1
  222. package/src/constants/DIMetadataKey.cjs +2 -2
  223. package/src/constants/DIMetadataKey.mjs +2 -2
  224. package/src/constants/DTOMetadataKey.cjs +2 -2
  225. package/src/constants/DTOMetadataKey.mjs +2 -2
  226. package/src/decorators/asst/After.cjs +4 -4
  227. package/src/decorators/asst/After.mjs +4 -4
  228. package/src/decorators/asst/Before.cjs +4 -4
  229. package/src/decorators/asst/Before.mjs +4 -4
  230. package/src/decorators/ctrl/CLIAction.cjs +22 -22
  231. package/src/decorators/ctrl/CLIAction.mjs +22 -22
  232. package/src/decorators/ctrl/HTTPAction.cjs +22 -22
  233. package/src/decorators/ctrl/HTTPAction.mjs +22 -22
  234. package/src/decorators/ctrl/ServiceAction.cjs +22 -22
  235. package/src/decorators/ctrl/ServiceAction.mjs +22 -22
  236. package/src/decorators/ctrl/http/DELETE.cjs +22 -22
  237. package/src/decorators/ctrl/http/DELETE.mjs +22 -22
  238. package/src/decorators/ctrl/http/GET.cjs +22 -22
  239. package/src/decorators/ctrl/http/GET.mjs +22 -22
  240. package/src/decorators/ctrl/http/HEAD.cjs +22 -22
  241. package/src/decorators/ctrl/http/HEAD.mjs +22 -22
  242. package/src/decorators/ctrl/http/OPTIONS.cjs +22 -22
  243. package/src/decorators/ctrl/http/OPTIONS.mjs +22 -22
  244. package/src/decorators/ctrl/http/PATCH.cjs +22 -22
  245. package/src/decorators/ctrl/http/PATCH.mjs +22 -22
  246. package/src/decorators/ctrl/http/POST.cjs +22 -22
  247. package/src/decorators/ctrl/http/POST.mjs +22 -22
  248. package/src/decorators/ctrl/http/PUT.cjs +22 -22
  249. package/src/decorators/ctrl/http/PUT.mjs +22 -22
  250. package/src/decorators/di/Autoload.cjs +2 -2
  251. package/src/decorators/di/Autoload.mjs +2 -2
  252. package/src/decorators/di/Configurable.cjs +17 -17
  253. package/src/decorators/di/Configurable.mjs +17 -17
  254. package/src/decorators/di/Inject.cjs +17 -17
  255. package/src/decorators/di/Inject.mjs +17 -17
  256. package/src/decorators/di/Lifetime.cjs +5 -5
  257. package/src/decorators/di/Lifetime.mjs +5 -5
  258. package/src/decorators/dto/Accept.cjs +17 -17
  259. package/src/decorators/dto/Accept.mjs +17 -17
  260. package/src/decorators/dto/Expect.cjs +17 -17
  261. package/src/decorators/dto/Expect.mjs +17 -17
  262. package/src/decorators/dto/IndexSignature.cjs +17 -17
  263. package/src/decorators/dto/IndexSignature.mjs +17 -17
  264. package/src/decorators/dto/Return.cjs +17 -17
  265. package/src/decorators/dto/Return.mjs +17 -17
  266. package/src/decorators/orm/AfterInsert.cjs +46 -46
  267. package/src/decorators/orm/AfterInsert.mjs +46 -46
  268. package/src/decorators/orm/AfterLoad.cjs +46 -46
  269. package/src/decorators/orm/AfterLoad.mjs +46 -46
  270. package/src/decorators/orm/AfterRecover.cjs +46 -46
  271. package/src/decorators/orm/AfterRecover.mjs +46 -46
  272. package/src/decorators/orm/AfterRemove.cjs +46 -46
  273. package/src/decorators/orm/AfterRemove.mjs +46 -46
  274. package/src/decorators/orm/AfterSoftRemove.cjs +46 -46
  275. package/src/decorators/orm/AfterSoftRemove.mjs +46 -46
  276. package/src/decorators/orm/AfterUpdate.cjs +46 -46
  277. package/src/decorators/orm/AfterUpdate.mjs +46 -46
  278. package/src/decorators/orm/BeforeInsert.cjs +46 -46
  279. package/src/decorators/orm/BeforeInsert.mjs +46 -46
  280. package/src/decorators/orm/BeforeRecover.cjs +46 -46
  281. package/src/decorators/orm/BeforeRecover.mjs +46 -46
  282. package/src/decorators/orm/BeforeRemove.cjs +46 -46
  283. package/src/decorators/orm/BeforeRemove.mjs +46 -46
  284. package/src/decorators/orm/BeforeSoftRemove.cjs +46 -46
  285. package/src/decorators/orm/BeforeSoftRemove.mjs +46 -46
  286. package/src/decorators/orm/BeforeUpdate.cjs +46 -46
  287. package/src/decorators/orm/BeforeUpdate.mjs +46 -46
  288. package/src/decorators/orm/Check.cjs +46 -46
  289. package/src/decorators/orm/Check.mjs +46 -46
  290. package/src/decorators/orm/ChildEntity.cjs +46 -46
  291. package/src/decorators/orm/ChildEntity.mjs +46 -46
  292. package/src/decorators/orm/Column.cjs +46 -46
  293. package/src/decorators/orm/Column.mjs +46 -46
  294. package/src/decorators/orm/CreateDateColumn.cjs +46 -46
  295. package/src/decorators/orm/CreateDateColumn.mjs +46 -46
  296. package/src/decorators/orm/DeleteDateColumn.cjs +46 -46
  297. package/src/decorators/orm/DeleteDateColumn.mjs +46 -46
  298. package/src/decorators/orm/Entity.cjs +46 -46
  299. package/src/decorators/orm/Entity.mjs +46 -46
  300. package/src/decorators/orm/EventSubscriber.cjs +46 -46
  301. package/src/decorators/orm/EventSubscriber.mjs +46 -46
  302. package/src/decorators/orm/Exclusion.cjs +46 -46
  303. package/src/decorators/orm/Exclusion.mjs +46 -46
  304. package/src/decorators/orm/Generated.cjs +46 -46
  305. package/src/decorators/orm/Generated.mjs +46 -46
  306. package/src/decorators/orm/Index.cjs +46 -46
  307. package/src/decorators/orm/Index.mjs +46 -46
  308. package/src/decorators/orm/JoinColumn.cjs +46 -46
  309. package/src/decorators/orm/JoinColumn.mjs +46 -46
  310. package/src/decorators/orm/JoinTable.cjs +46 -46
  311. package/src/decorators/orm/JoinTable.mjs +46 -46
  312. package/src/decorators/orm/ManyToMany.cjs +46 -46
  313. package/src/decorators/orm/ManyToMany.mjs +46 -46
  314. package/src/decorators/orm/ManyToOne.cjs +46 -46
  315. package/src/decorators/orm/ManyToOne.mjs +46 -46
  316. package/src/decorators/orm/ObjectIdColumn.cjs +46 -46
  317. package/src/decorators/orm/ObjectIdColumn.mjs +46 -46
  318. package/src/decorators/orm/OneToMany.cjs +46 -46
  319. package/src/decorators/orm/OneToMany.mjs +46 -46
  320. package/src/decorators/orm/OneToOne.cjs +46 -46
  321. package/src/decorators/orm/OneToOne.mjs +46 -46
  322. package/src/decorators/orm/PrimaryColumn.cjs +46 -46
  323. package/src/decorators/orm/PrimaryColumn.mjs +46 -46
  324. package/src/decorators/orm/PrimaryGeneratedColumn.cjs +46 -46
  325. package/src/decorators/orm/PrimaryGeneratedColumn.mjs +46 -46
  326. package/src/decorators/orm/RelationId.cjs +46 -46
  327. package/src/decorators/orm/RelationId.mjs +46 -46
  328. package/src/decorators/orm/TableInheritance.cjs +46 -46
  329. package/src/decorators/orm/TableInheritance.mjs +46 -46
  330. package/src/decorators/orm/Tree.cjs +46 -46
  331. package/src/decorators/orm/Tree.mjs +46 -46
  332. package/src/decorators/orm/TreeChildren.cjs +46 -46
  333. package/src/decorators/orm/TreeChildren.mjs +46 -46
  334. package/src/decorators/orm/TreeLevelColumn.cjs +46 -46
  335. package/src/decorators/orm/TreeLevelColumn.mjs +46 -46
  336. package/src/decorators/orm/TreeParent.cjs +46 -46
  337. package/src/decorators/orm/TreeParent.mjs +46 -46
  338. package/src/decorators/orm/Unique.cjs +46 -46
  339. package/src/decorators/orm/Unique.mjs +46 -46
  340. package/src/decorators/orm/UpdateDateColumn.cjs +46 -46
  341. package/src/decorators/orm/UpdateDateColumn.mjs +46 -46
  342. package/src/decorators/orm/VersionColumn.cjs +46 -46
  343. package/src/decorators/orm/VersionColumn.mjs +46 -46
  344. package/src/decorators/orm/ViewColumn.cjs +46 -46
  345. package/src/decorators/orm/ViewColumn.mjs +46 -46
  346. package/src/decorators/orm/ViewEntity.cjs +46 -46
  347. package/src/decorators/orm/ViewEntity.mjs +46 -46
  348. package/src/decorators/orm/VirtualColumn.cjs +46 -46
  349. package/src/decorators/orm/VirtualColumn.mjs +46 -46
  350. package/src/dto/PaginationResultDTO.cjs +17 -17
  351. package/src/dto/PaginationResultDTO.mjs +17 -17
  352. package/src/dto/PaginationSearchDTO.cjs +17 -17
  353. package/src/dto/PaginationSearchDTO.mjs +17 -17
  354. package/src/exceptions/DestroyRuntimeContainerException.cjs +4 -4
  355. package/src/exceptions/DestroyRuntimeContainerException.mjs +4 -4
  356. package/src/exceptions/InvalidActionPatternDepthException.cjs +4 -4
  357. package/src/exceptions/InvalidActionPatternDepthException.mjs +4 -4
  358. package/src/exceptions/InvalidAssistantFunctionTypeException.cjs +4 -4
  359. package/src/exceptions/InvalidAssistantFunctionTypeException.mjs +4 -4
  360. package/src/exceptions/InvalidObjectTypeException.cjs +4 -4
  361. package/src/exceptions/InvalidObjectTypeException.mjs +4 -4
  362. package/src/exceptions/MethodNotFoundException.cjs +4 -4
  363. package/src/exceptions/MethodNotFoundException.mjs +4 -4
  364. package/src/exceptions/alias/AliasExistsException.cjs +4 -4
  365. package/src/exceptions/alias/AliasExistsException.mjs +4 -4
  366. package/src/exceptions/alias/AliasNotFoundException.cjs +4 -4
  367. package/src/exceptions/alias/AliasNotFoundException.mjs +4 -4
  368. package/src/exceptions/alias/InvalidAliasNameException.cjs +4 -4
  369. package/src/exceptions/alias/InvalidAliasNameException.mjs +4 -4
  370. package/src/exceptions/di/DependencyInjectionException.cjs +4 -4
  371. package/src/exceptions/di/DependencyInjectionException.mjs +4 -4
  372. package/src/exceptions/di/LifetimeLockedException.cjs +4 -4
  373. package/src/exceptions/di/LifetimeLockedException.mjs +4 -4
  374. package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.cjs +4 -4
  375. package/src/exceptions/di/OverridableObjectTargetConfigNotFoundException.mjs +4 -4
  376. package/src/exceptions/dto/InvalidMethodAcceptException.cjs +4 -4
  377. package/src/exceptions/dto/InvalidMethodAcceptException.mjs +4 -4
  378. package/src/exceptions/dto/InvalidMethodReturnException.cjs +4 -4
  379. package/src/exceptions/dto/InvalidMethodReturnException.mjs +4 -4
  380. package/src/exceptions/dto/InvalidValueException.cjs +4 -4
  381. package/src/exceptions/dto/InvalidValueException.mjs +4 -4
  382. package/src/interfaces/IBaseObjectConstructor.cjs +1 -1
  383. package/src/interfaces/IBaseObjectConstructor.mjs +1 -1
  384. package/src/interfaces/IConstructor.cjs +1 -1
  385. package/src/interfaces/IConstructor.mjs +1 -1
  386. package/src/interfaces/IPatRun.cjs +1 -1
  387. package/src/interfaces/IPatRun.mjs +1 -1
  388. package/src/lib/base/BaseObject.cjs +30 -30
  389. package/src/lib/base/BaseObject.mjs +30 -30
  390. package/src/lib/base/Context.cjs +17 -17
  391. package/src/lib/base/Context.mjs +17 -17
  392. package/src/lib/base/EventEmitter.cjs +2 -2
  393. package/src/lib/base/EventEmitter.mjs +2 -2
  394. package/src/lib/base/abstracts/Exception.cjs +4 -4
  395. package/src/lib/base/abstracts/Exception.mjs +4 -4
  396. package/src/lib/base/async-constructor/Append.cjs +1 -1
  397. package/src/lib/base/async-constructor/Append.mjs +1 -1
  398. package/src/lib/base/async-constructor/AsyncConstructor.cjs +1 -1
  399. package/src/lib/base/async-constructor/AsyncConstructor.mjs +1 -1
  400. package/src/lib/base/internal/ActionOptions.cjs +17 -17
  401. package/src/lib/base/internal/ActionOptions.mjs +17 -17
  402. package/src/lib/base/internal/ApplicationConfigLoader.cjs +30 -30
  403. package/src/lib/base/internal/ApplicationConfigLoader.mjs +30 -30
  404. package/src/lib/base/internal/BasicInfo.cjs +4 -4
  405. package/src/lib/base/internal/BasicInfo.mjs +4 -4
  406. package/src/lib/base/internal/CamelCase.cjs +1 -1
  407. package/src/lib/base/internal/CamelCase.mjs +1 -1
  408. package/src/lib/base/internal/ConfigurableRecordsInjection.cjs +2 -2
  409. package/src/lib/base/internal/ConfigurableRecordsInjection.mjs +2 -2
  410. package/src/lib/base/internal/ConstructorSymbol.cjs +2 -2
  411. package/src/lib/base/internal/ConstructorSymbol.mjs +2 -2
  412. package/src/lib/base/internal/ControllerEntrypoint.cjs +9 -9
  413. package/src/lib/base/internal/ControllerEntrypoint.mjs +9 -9
  414. package/src/lib/base/internal/DataValidator.cjs +13 -13
  415. package/src/lib/base/internal/DataValidator.mjs +13 -13
  416. package/src/lib/base/internal/DatabaseSymbol.cjs +1 -1
  417. package/src/lib/base/internal/DatabaseSymbol.mjs +1 -1
  418. package/src/lib/base/internal/FlexibleDTO.cjs +17 -17
  419. package/src/lib/base/internal/FlexibleDTO.mjs +17 -17
  420. package/src/lib/base/internal/GetActionDTOAndOptions.cjs +17 -17
  421. package/src/lib/base/internal/GetActionDTOAndOptions.mjs +17 -17
  422. package/src/lib/base/internal/IEEE754.cjs +1 -1
  423. package/src/lib/base/internal/IEEE754.mjs +1 -1
  424. package/src/lib/base/internal/MethodAssistantFunction.cjs +4 -4
  425. package/src/lib/base/internal/MethodAssistantFunction.mjs +4 -4
  426. package/src/lib/base/internal/MethodValidation.cjs +17 -17
  427. package/src/lib/base/internal/MethodValidation.mjs +17 -17
  428. package/src/lib/base/internal/ModuleConfigLoader.cjs +30 -30
  429. package/src/lib/base/internal/ModuleConfigLoader.mjs +30 -30
  430. package/src/lib/base/internal/ObjectConfiguration.cjs +17 -17
  431. package/src/lib/base/internal/ObjectConfiguration.mjs +17 -17
  432. package/src/lib/base/internal/ObjectContainer.cjs +2 -2
  433. package/src/lib/base/internal/ObjectContainer.mjs +2 -2
  434. package/src/lib/base/internal/ObjectInjection.cjs +2 -2
  435. package/src/lib/base/internal/ObjectInjection.mjs +2 -2
  436. package/src/lib/base/internal/ObjectLifetime.cjs +5 -5
  437. package/src/lib/base/internal/ObjectLifetime.mjs +5 -5
  438. package/src/lib/base/internal/ObjectSchemaValidation.cjs +17 -17
  439. package/src/lib/base/internal/ObjectSchemaValidation.mjs +17 -17
  440. package/src/lib/base/internal/ObjectType.cjs +30 -30
  441. package/src/lib/base/internal/ObjectType.mjs +30 -30
  442. package/src/lib/base/internal/ObjectWeakRefs.cjs +1 -1
  443. package/src/lib/base/internal/ObjectWeakRefs.mjs +1 -1
  444. package/src/lib/base/internal/PatternManager.cjs +3 -3
  445. package/src/lib/base/internal/PatternManager.mjs +3 -3
  446. package/src/lib/base/internal/StringifyPattern.cjs +4 -4
  447. package/src/lib/base/internal/StringifyPattern.mjs +4 -4
  448. package/src/lib/base/internal/ThrowWarning.cjs +1 -1
  449. package/src/lib/base/internal/ThrowWarning.mjs +1 -1
  450. package/src/lib/context/CLIContext.cjs +17 -17
  451. package/src/lib/context/CLIContext.mjs +17 -17
  452. package/src/lib/context/HTTPContext.cjs +17 -17
  453. package/src/lib/context/HTTPContext.mjs +17 -17
  454. package/src/lib/context/ServiceContext.cjs +17 -17
  455. package/src/lib/context/ServiceContext.mjs +17 -17
  456. package/src/lib/core/Alias.cjs +4 -4
  457. package/src/lib/core/Alias.mjs +4 -4
  458. package/src/lib/core/Application.cjs +110 -110
  459. package/src/lib/core/Application.mjs +110 -110
  460. package/src/lib/core/Component.cjs +31 -31
  461. package/src/lib/core/Component.mjs +31 -31
  462. package/src/lib/core/Container.cjs +30 -30
  463. package/src/lib/core/Container.mjs +30 -30
  464. package/src/lib/core/DTO.cjs +17 -17
  465. package/src/lib/core/DTO.mjs +17 -17
  466. package/src/lib/core/Module.cjs +33 -33
  467. package/src/lib/core/Module.mjs +33 -33
  468. package/src/lib/core/Provider.cjs +30 -30
  469. package/src/lib/core/Provider.mjs +30 -30
  470. package/src/lib/core/Time.cjs +5 -5
  471. package/src/lib/core/Time.mjs +5 -5
  472. package/src/lib/helpers/ArrayToSet.cjs +1 -1
  473. package/src/lib/helpers/ArrayToSet.mjs +1 -1
  474. package/src/lib/helpers/As.cjs +1 -1
  475. package/src/lib/helpers/As.mjs +1 -1
  476. package/src/lib/helpers/ConvertArrayLikeToIterable.cjs +1 -1
  477. package/src/lib/helpers/ConvertArrayLikeToIterable.mjs +1 -1
  478. package/src/lib/helpers/ConvertArrayLikeToStream.cjs +1 -1
  479. package/src/lib/helpers/ConvertArrayLikeToStream.mjs +1 -1
  480. package/src/lib/helpers/Delay.cjs +1 -1
  481. package/src/lib/helpers/Delay.mjs +1 -1
  482. package/src/lib/helpers/DevNull.cjs +1 -1
  483. package/src/lib/helpers/DevNull.mjs +1 -1
  484. package/src/lib/helpers/GetObjectNestingDepth.cjs +1 -1
  485. package/src/lib/helpers/GetObjectNestingDepth.mjs +1 -1
  486. package/src/lib/helpers/GetObjectPropertyPaths.cjs +1 -1
  487. package/src/lib/helpers/GetObjectPropertyPaths.mjs +1 -1
  488. package/src/lib/helpers/Glob.cjs +4 -4
  489. package/src/lib/helpers/Glob.mjs +4 -4
  490. package/src/lib/helpers/GraceExit.cjs +1 -1
  491. package/src/lib/helpers/GraceExit.mjs +1 -1
  492. package/src/lib/helpers/HexToIEEE754.cjs +1 -1
  493. package/src/lib/helpers/HexToIEEE754.mjs +1 -1
  494. package/src/lib/helpers/HexToSigned.cjs +1 -1
  495. package/src/lib/helpers/HexToSigned.mjs +1 -1
  496. package/src/lib/helpers/HexToUnsigned.cjs +1 -1
  497. package/src/lib/helpers/HexToUnsigned.mjs +1 -1
  498. package/src/lib/helpers/IEEE754ToHex.cjs +1 -1
  499. package/src/lib/helpers/IEEE754ToHex.mjs +1 -1
  500. package/src/lib/helpers/IPToolkit.cjs +1 -1
  501. package/src/lib/helpers/IPToolkit.mjs +1 -1
  502. package/src/lib/helpers/IsAbortError.cjs +1 -1
  503. package/src/lib/helpers/IsAbortError.mjs +1 -1
  504. package/src/lib/helpers/IsEmptyObject.cjs +1 -1
  505. package/src/lib/helpers/IsEmptyObject.mjs +1 -1
  506. package/src/lib/helpers/IsExists.cjs +1 -1
  507. package/src/lib/helpers/IsExists.mjs +1 -1
  508. package/src/lib/helpers/IsGlobString.cjs +3 -3
  509. package/src/lib/helpers/IsGlobString.mjs +3 -3
  510. package/src/lib/helpers/IsHtml.cjs +2 -2
  511. package/src/lib/helpers/IsHtml.mjs +2 -2
  512. package/src/lib/helpers/IsNativeFunction.cjs +1 -1
  513. package/src/lib/helpers/IsNativeFunction.mjs +1 -1
  514. package/src/lib/helpers/IsPath.cjs +1 -1
  515. package/src/lib/helpers/IsPath.mjs +1 -1
  516. package/src/lib/helpers/IsPromise.cjs +1 -1
  517. package/src/lib/helpers/IsPromise.mjs +1 -1
  518. package/src/lib/helpers/IsPromiseLike.cjs +1 -1
  519. package/src/lib/helpers/IsPromiseLike.mjs +1 -1
  520. package/src/lib/helpers/IsSymbol.cjs +17 -17
  521. package/src/lib/helpers/IsSymbol.mjs +17 -17
  522. package/src/lib/helpers/IsXML.cjs +3 -3
  523. package/src/lib/helpers/IsXML.mjs +3 -3
  524. package/src/lib/helpers/MD5.cjs +3 -3
  525. package/src/lib/helpers/MD5.mjs +3 -3
  526. package/src/lib/helpers/MergeArray.cjs +1 -1
  527. package/src/lib/helpers/MergeArray.mjs +1 -1
  528. package/src/lib/helpers/MergeMap.cjs +1 -1
  529. package/src/lib/helpers/MergeMap.mjs +1 -1
  530. package/src/lib/helpers/MergeSet.cjs +1 -1
  531. package/src/lib/helpers/MergeSet.mjs +1 -1
  532. package/src/lib/helpers/NoCase.cjs +1 -1
  533. package/src/lib/helpers/NoCase.mjs +1 -1
  534. package/src/lib/helpers/NonceStr.cjs +3 -3
  535. package/src/lib/helpers/NonceStr.mjs +3 -3
  536. package/src/lib/helpers/ObjectConstructor.cjs +1 -1
  537. package/src/lib/helpers/ObjectConstructor.mjs +1 -1
  538. package/src/lib/helpers/ObjectHash.cjs +2 -2
  539. package/src/lib/helpers/ObjectHash.mjs +2 -2
  540. package/src/lib/helpers/ObjectParentConstructor.cjs +1 -1
  541. package/src/lib/helpers/ObjectParentConstructor.mjs +1 -1
  542. package/src/lib/helpers/ObjectParentConstructors.cjs +1 -1
  543. package/src/lib/helpers/ObjectParentConstructors.mjs +1 -1
  544. package/src/lib/helpers/ObjectPath.cjs +1 -1
  545. package/src/lib/helpers/ObjectPath.mjs +1 -1
  546. package/src/lib/helpers/ObjectPrototype.cjs +1 -1
  547. package/src/lib/helpers/ObjectPrototype.mjs +1 -1
  548. package/src/lib/helpers/ObjectToMap.cjs +1 -1
  549. package/src/lib/helpers/ObjectToMap.mjs +1 -1
  550. package/src/lib/helpers/Paginator.cjs +1 -1
  551. package/src/lib/helpers/Paginator.mjs +1 -1
  552. package/src/lib/helpers/RandomString.cjs +3 -3
  553. package/src/lib/helpers/RandomString.mjs +3 -3
  554. package/src/lib/helpers/SHA1.cjs +3 -3
  555. package/src/lib/helpers/SHA1.mjs +3 -3
  556. package/src/lib/helpers/SHA256.cjs +3 -3
  557. package/src/lib/helpers/SHA256.mjs +3 -3
  558. package/src/lib/helpers/SetToArray.cjs +1 -1
  559. package/src/lib/helpers/SetToArray.mjs +1 -1
  560. package/src/lib/helpers/SignedToHex.cjs +1 -1
  561. package/src/lib/helpers/SignedToHex.mjs +1 -1
  562. package/src/lib/helpers/SortArray.cjs +4 -4
  563. package/src/lib/helpers/SortArray.mjs +4 -4
  564. package/src/lib/helpers/SortKeys.cjs +1 -1
  565. package/src/lib/helpers/SortKeys.mjs +1 -1
  566. package/src/lib/helpers/SortObject.cjs +1 -1
  567. package/src/lib/helpers/SortObject.mjs +1 -1
  568. package/src/lib/helpers/Statistics.cjs +2 -2
  569. package/src/lib/helpers/Statistics.mjs +2 -2
  570. package/src/lib/helpers/Templating.cjs +1 -1
  571. package/src/lib/helpers/Templating.mjs +1 -1
  572. package/src/lib/helpers/URLBuilder.cjs +4 -4
  573. package/src/lib/helpers/URLBuilder.mjs +4 -4
  574. package/src/lib/helpers/UUID.cjs +2 -2
  575. package/src/lib/helpers/UUID.mjs +2 -2
  576. package/src/lib/helpers/UniqueArray.cjs +1 -1
  577. package/src/lib/helpers/UniqueArray.mjs +1 -1
  578. package/src/lib/helpers/UnsignedToHex.cjs +1 -1
  579. package/src/lib/helpers/UnsignedToHex.mjs +1 -1
  580. package/src/lib/ioc/DependencyInjectionContainer.cjs +30 -30
  581. package/src/lib/ioc/DependencyInjectionContainer.mjs +30 -30
  582. package/src/lib/ioc/Errors.cjs +17 -17
  583. package/src/lib/ioc/Errors.mjs +17 -17
  584. package/src/lib/ioc/FunctionTokenizer.cjs +1 -1
  585. package/src/lib/ioc/FunctionTokenizer.mjs +1 -1
  586. package/src/lib/ioc/InjectionMode.cjs +1 -1
  587. package/src/lib/ioc/InjectionMode.mjs +1 -1
  588. package/src/lib/ioc/Lifetime.cjs +1 -1
  589. package/src/lib/ioc/Lifetime.mjs +1 -1
  590. package/src/lib/ioc/ListModules.cjs +29 -29
  591. package/src/lib/ioc/ListModules.mjs +29 -29
  592. package/src/lib/ioc/LoadModules.cjs +17 -17
  593. package/src/lib/ioc/LoadModules.mjs +17 -17
  594. package/src/lib/ioc/ParamParser.cjs +1 -1
  595. package/src/lib/ioc/ParamParser.mjs +1 -1
  596. package/src/lib/ioc/Resolvers.cjs +17 -17
  597. package/src/lib/ioc/Resolvers.mjs +17 -17
  598. package/src/lib/ioc/Utils.cjs +17 -17
  599. package/src/lib/ioc/Utils.mjs +17 -17
  600. package/src/lib/validation/VLD.cjs +6 -6
  601. package/src/lib/validation/VLD.mjs +6 -6
  602. package/src/lib/validation/interfaces/AlternativesSchema.cjs +1 -1
  603. package/src/lib/validation/interfaces/AlternativesSchema.mjs +1 -1
  604. package/src/lib/validation/interfaces/AnySchema.cjs +1 -1
  605. package/src/lib/validation/interfaces/AnySchema.mjs +1 -1
  606. package/src/lib/validation/interfaces/ArraySchema.cjs +1 -1
  607. package/src/lib/validation/interfaces/ArraySchema.mjs +1 -1
  608. package/src/lib/validation/interfaces/Base64Options.cjs +1 -1
  609. package/src/lib/validation/interfaces/Base64Options.mjs +1 -1
  610. package/src/lib/validation/interfaces/BaseValidationOptions.cjs +1 -1
  611. package/src/lib/validation/interfaces/BaseValidationOptions.mjs +1 -1
  612. package/src/lib/validation/interfaces/BigIntSchema.cjs +1 -1
  613. package/src/lib/validation/interfaces/BigIntSchema.mjs +1 -1
  614. package/src/lib/validation/interfaces/BinarySchema.cjs +1 -1
  615. package/src/lib/validation/interfaces/BinarySchema.mjs +1 -1
  616. package/src/lib/validation/interfaces/BooleanSchema.cjs +1 -1
  617. package/src/lib/validation/interfaces/BooleanSchema.mjs +1 -1
  618. package/src/lib/validation/interfaces/CustomHelpers.cjs +1 -1
  619. package/src/lib/validation/interfaces/CustomHelpers.mjs +1 -1
  620. package/src/lib/validation/interfaces/DataUriOptions.cjs +1 -1
  621. package/src/lib/validation/interfaces/DataUriOptions.mjs +1 -1
  622. package/src/lib/validation/interfaces/DateSchema.cjs +1 -1
  623. package/src/lib/validation/interfaces/DateSchema.mjs +1 -1
  624. package/src/lib/validation/interfaces/DependencyOptions.cjs +1 -1
  625. package/src/lib/validation/interfaces/DependencyOptions.mjs +1 -1
  626. package/src/lib/validation/interfaces/DomainOptions.cjs +1 -1
  627. package/src/lib/validation/interfaces/DomainOptions.mjs +1 -1
  628. package/src/lib/validation/interfaces/EmailOptions.cjs +1 -1
  629. package/src/lib/validation/interfaces/EmailOptions.mjs +1 -1
  630. package/src/lib/validation/interfaces/ErrorFormattingOptions.cjs +1 -1
  631. package/src/lib/validation/interfaces/ErrorFormattingOptions.mjs +1 -1
  632. package/src/lib/validation/interfaces/ErrorReport.cjs +1 -1
  633. package/src/lib/validation/interfaces/ErrorReport.mjs +1 -1
  634. package/src/lib/validation/interfaces/ErrorValidationOptions.cjs +1 -1
  635. package/src/lib/validation/interfaces/ErrorValidationOptions.mjs +1 -1
  636. package/src/lib/validation/interfaces/ExtensionFlag.cjs +1 -1
  637. package/src/lib/validation/interfaces/ExtensionFlag.mjs +1 -1
  638. package/src/lib/validation/interfaces/ExternalHelpers.cjs +1 -1
  639. package/src/lib/validation/interfaces/ExternalHelpers.mjs +1 -1
  640. package/src/lib/validation/interfaces/FunctionSchema.cjs +1 -1
  641. package/src/lib/validation/interfaces/FunctionSchema.mjs +1 -1
  642. package/src/lib/validation/interfaces/GuidOptions.cjs +1 -1
  643. package/src/lib/validation/interfaces/GuidOptions.mjs +1 -1
  644. package/src/lib/validation/interfaces/HexOptions.cjs +1 -1
  645. package/src/lib/validation/interfaces/HexOptions.mjs +1 -1
  646. package/src/lib/validation/interfaces/HierarchySeparatorOptions.cjs +1 -1
  647. package/src/lib/validation/interfaces/HierarchySeparatorOptions.mjs +1 -1
  648. package/src/lib/validation/interfaces/IpOptions.cjs +1 -1
  649. package/src/lib/validation/interfaces/IpOptions.mjs +1 -1
  650. package/src/lib/validation/interfaces/LanguageMessageTemplate.cjs +1 -1
  651. package/src/lib/validation/interfaces/LanguageMessageTemplate.mjs +1 -1
  652. package/src/lib/validation/interfaces/LinkSchema.cjs +1 -1
  653. package/src/lib/validation/interfaces/LinkSchema.mjs +1 -1
  654. package/src/lib/validation/interfaces/NumberSchema.cjs +1 -1
  655. package/src/lib/validation/interfaces/NumberSchema.mjs +1 -1
  656. package/src/lib/validation/interfaces/ObjectPatternOptions.cjs +1 -1
  657. package/src/lib/validation/interfaces/ObjectPatternOptions.mjs +1 -1
  658. package/src/lib/validation/interfaces/ObjectSchema.cjs +1 -1
  659. package/src/lib/validation/interfaces/ObjectSchema.mjs +1 -1
  660. package/src/lib/validation/interfaces/Reference.cjs +1 -1
  661. package/src/lib/validation/interfaces/Reference.mjs +1 -1
  662. package/src/lib/validation/interfaces/ReferenceOptions.cjs +1 -1
  663. package/src/lib/validation/interfaces/ReferenceOptions.mjs +1 -1
  664. package/src/lib/validation/interfaces/RenameOptions.cjs +1 -1
  665. package/src/lib/validation/interfaces/RenameOptions.mjs +1 -1
  666. package/src/lib/validation/interfaces/State.cjs +1 -1
  667. package/src/lib/validation/interfaces/State.mjs +1 -1
  668. package/src/lib/validation/interfaces/StringRegexOptions.cjs +1 -1
  669. package/src/lib/validation/interfaces/StringRegexOptions.mjs +1 -1
  670. package/src/lib/validation/interfaces/StringSchema.cjs +1 -1
  671. package/src/lib/validation/interfaces/StringSchema.mjs +1 -1
  672. package/src/lib/validation/interfaces/SwitchCases.cjs +1 -1
  673. package/src/lib/validation/interfaces/SwitchCases.mjs +1 -1
  674. package/src/lib/validation/interfaces/SwitchDefault.cjs +1 -1
  675. package/src/lib/validation/interfaces/SwitchDefault.mjs +1 -1
  676. package/src/lib/validation/interfaces/SymbolSchema.cjs +1 -1
  677. package/src/lib/validation/interfaces/SymbolSchema.mjs +1 -1
  678. package/src/lib/validation/interfaces/TopLevelDomainOptions.cjs +1 -1
  679. package/src/lib/validation/interfaces/TopLevelDomainOptions.mjs +1 -1
  680. package/src/lib/validation/interfaces/UriOptions.cjs +1 -1
  681. package/src/lib/validation/interfaces/UriOptions.mjs +1 -1
  682. package/src/lib/validation/interfaces/ValidationOptions.cjs +1 -1
  683. package/src/lib/validation/interfaces/ValidationOptions.mjs +1 -1
  684. package/src/lib/validation/interfaces/WhenOptions.cjs +1 -1
  685. package/src/lib/validation/interfaces/WhenOptions.mjs +1 -1
  686. package/src/lib/validation/interfaces/WhenSchemaOptions.cjs +1 -1
  687. package/src/lib/validation/interfaces/WhenSchemaOptions.mjs +1 -1
  688. package/src/lib/validation/types/CustomValidator.cjs +1 -1
  689. package/src/lib/validation/types/CustomValidator.mjs +1 -1
  690. package/src/lib/validation/types/ExtensionBoundSchema.cjs +1 -1
  691. package/src/lib/validation/types/ExtensionBoundSchema.mjs +1 -1
  692. package/src/lib/validation/types/ExternalValidationFunction.cjs +1 -1
  693. package/src/lib/validation/types/ExternalValidationFunction.mjs +1 -1
  694. package/src/lib/validation/types/IsNonPrimitiveSubsetUnion.cjs +1 -1
  695. package/src/lib/validation/types/IsNonPrimitiveSubsetUnion.mjs +1 -1
  696. package/src/lib/validation/types/IsPrimitiveSubset.cjs +1 -1
  697. package/src/lib/validation/types/IsPrimitiveSubset.mjs +1 -1
  698. package/src/lib/validation/types/IsUnion.cjs +1 -1
  699. package/src/lib/validation/types/IsUnion.mjs +1 -1
  700. package/src/lib/validation/types/LanguageMessages.cjs +1 -1
  701. package/src/lib/validation/types/LanguageMessages.mjs +1 -1
  702. package/src/lib/validation/types/NoNestedArrays.cjs +1 -1
  703. package/src/lib/validation/types/NoNestedArrays.mjs +1 -1
  704. package/src/lib/validation/types/NullableType.cjs +1 -1
  705. package/src/lib/validation/types/NullableType.mjs +1 -1
  706. package/src/lib/validation/types/ObjectPropertiesSchema.cjs +1 -1
  707. package/src/lib/validation/types/ObjectPropertiesSchema.mjs +1 -1
  708. package/src/lib/validation/types/PartialSchemaMap.cjs +1 -1
  709. package/src/lib/validation/types/PartialSchemaMap.mjs +1 -1
  710. package/src/lib/validation/types/PresenceMode.cjs +1 -1
  711. package/src/lib/validation/types/PresenceMode.mjs +1 -1
  712. package/src/lib/validation/types/Primitives.cjs +1 -1
  713. package/src/lib/validation/types/Primitives.mjs +1 -1
  714. package/src/lib/validation/types/Schema.cjs +1 -1
  715. package/src/lib/validation/types/Schema.mjs +1 -1
  716. package/src/lib/validation/types/SchemaFunction.cjs +1 -1
  717. package/src/lib/validation/types/SchemaFunction.mjs +1 -1
  718. package/src/lib/validation/types/SchemaLike.cjs +1 -1
  719. package/src/lib/validation/types/SchemaLike.mjs +1 -1
  720. package/src/lib/validation/types/SchemaLikeWithoutArray.cjs +1 -1
  721. package/src/lib/validation/types/SchemaLikeWithoutArray.mjs +1 -1
  722. package/src/lib/validation/types/SchemaMap.cjs +1 -1
  723. package/src/lib/validation/types/SchemaMap.mjs +1 -1
  724. package/src/lib/validation/types/StrictSchemaMap.cjs +1 -1
  725. package/src/lib/validation/types/StrictSchemaMap.mjs +1 -1
  726. package/src/lib/validation/types/Types.cjs +1 -1
  727. package/src/lib/validation/types/Types.mjs +1 -1
  728. package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.cjs +1 -1
  729. package/src/lib/validation/types/UnwrapSchemaLikeWithoutArray.mjs +1 -1
  730. package/src/options/ApplicationOptions.cjs +30 -30
  731. package/src/options/ApplicationOptions.mjs +30 -30
  732. package/src/options/LoadAnonymousObjectOptions.cjs +30 -30
  733. package/src/options/LoadAnonymousObjectOptions.mjs +30 -30
  734. package/src/options/LoadNamedObjectOptions.cjs +30 -30
  735. package/src/options/LoadNamedObjectOptions.mjs +30 -30
  736. package/src/options/LoadObjectOptions.cjs +30 -30
  737. package/src/options/LoadObjectOptions.mjs +30 -30
  738. package/src/options/ModuleLoadObjectsOptions.cjs +30 -30
  739. package/src/options/ModuleLoadObjectsOptions.mjs +30 -30
  740. package/src/options/ModuleOptions.cjs +30 -30
  741. package/src/options/ModuleOptions.mjs +30 -30
  742. package/src/options/OverridableNamedObjectOptions.cjs +30 -30
  743. package/src/options/OverridableNamedObjectOptions.mjs +30 -30
  744. package/src/options/OverridableObjectOptions.cjs +30 -30
  745. package/src/options/OverridableObjectOptions.mjs +30 -30
  746. package/src/providers/Database.cjs +73 -73
  747. package/src/providers/Database.mjs +73 -73
  748. package/src/providers/PasswordHash.cjs +31 -31
  749. package/src/providers/PasswordHash.mjs +31 -31
  750. package/src/providers/migration/GenerateMigration.cjs +110 -110
  751. package/src/providers/migration/GenerateMigration.mjs +110 -110
  752. package/src/types/ActionPattern.cjs +1 -1
  753. package/src/types/ActionPattern.mjs +1 -1
  754. package/src/types/ClassDecorator.cjs +1 -1
  755. package/src/types/ClassDecorator.mjs +1 -1
  756. package/src/types/ComponentOptions.cjs +1 -1
  757. package/src/types/ComponentOptions.mjs +1 -1
  758. package/src/types/JSONSchema.cjs +1 -1
  759. package/src/types/JSONSchema.mjs +1 -1
  760. package/src/types/MethodDecorator.cjs +1 -1
  761. package/src/types/MethodDecorator.mjs +1 -1
  762. package/src/types/ModuleOptions.cjs +1 -1
  763. package/src/types/ModuleOptions.mjs +1 -1
  764. package/src/types/ObjectOptions.cjs +1 -1
  765. package/src/types/ObjectOptions.mjs +1 -1
  766. package/src/types/ParameterDecorator.cjs +1 -1
  767. package/src/types/ParameterDecorator.mjs +1 -1
  768. package/src/types/PropertyDecorator.cjs +1 -1
  769. package/src/types/PropertyDecorator.mjs +1 -1
  770. package/src/types/ProviderOptions.cjs +1 -1
  771. package/src/types/ProviderOptions.mjs +1 -1
  772. package/vendor/Package.internal.1.cjs +1 -1
  773. package/vendor/Package.internal.1.mjs +1 -1
  774. package/vendor/Package.internal.10.cjs +1 -1
  775. package/vendor/Package.internal.10.mjs +1 -1
  776. package/vendor/Package.internal.100.cjs +67 -2
  777. package/vendor/Package.internal.100.mjs +67 -2
  778. package/vendor/Package.internal.101.cjs +113 -102
  779. package/vendor/Package.internal.101.mjs +116 -93
  780. package/vendor/Package.internal.102.cjs +9 -81
  781. package/vendor/Package.internal.102.mjs +5 -81
  782. package/vendor/Package.internal.103.cjs +2 -56
  783. package/vendor/Package.internal.103.mjs +2 -52
  784. package/vendor/Package.internal.104.cjs +2 -18
  785. package/vendor/Package.internal.104.mjs +2 -18
  786. package/vendor/Package.internal.105.cjs +103 -87
  787. package/vendor/Package.internal.105.mjs +90 -88
  788. package/vendor/Package.internal.106.cjs +72 -97
  789. package/vendor/Package.internal.106.mjs +70 -99
  790. package/vendor/Package.internal.107.cjs +38 -2156
  791. package/vendor/Package.internal.107.mjs +37 -2159
  792. package/vendor/Package.internal.108.cjs +13 -2459
  793. package/vendor/Package.internal.108.mjs +13 -2429
  794. package/vendor/Package.internal.109.cjs +70 -1280
  795. package/vendor/Package.internal.109.mjs +73 -1269
  796. package/vendor/Package.internal.11.cjs +98 -100
  797. package/vendor/Package.internal.11.mjs +134 -134
  798. package/vendor/Package.internal.110.cjs +108 -28
  799. package/vendor/Package.internal.110.mjs +109 -27
  800. package/vendor/Package.internal.111.cjs +2169 -13
  801. package/vendor/Package.internal.111.mjs +2169 -13
  802. package/vendor/Package.internal.112.cjs +2456 -11
  803. package/vendor/Package.internal.112.mjs +2425 -12
  804. package/vendor/Package.internal.113.cjs +1289 -35
  805. package/vendor/Package.internal.113.mjs +1277 -37
  806. package/vendor/Package.internal.114.cjs +23 -131
  807. package/vendor/Package.internal.114.mjs +26 -136
  808. package/vendor/Package.internal.115.cjs +19 -1
  809. package/vendor/Package.internal.115.mjs +18 -1
  810. package/vendor/Package.internal.116.cjs +18 -3
  811. package/vendor/Package.internal.116.mjs +20 -3
  812. package/vendor/Package.internal.117.cjs +50 -2
  813. package/vendor/Package.internal.117.mjs +52 -2
  814. package/vendor/Package.internal.118.cjs +139 -2
  815. package/vendor/Package.internal.118.mjs +141 -2
  816. package/vendor/Package.internal.119.cjs +1 -3
  817. package/vendor/Package.internal.119.mjs +1 -2
  818. package/vendor/Package.internal.12.cjs +12469 -270
  819. package/vendor/Package.internal.12.mjs +12452 -271
  820. package/vendor/Package.internal.120.cjs +3 -46
  821. package/vendor/Package.internal.120.mjs +3 -46
  822. package/vendor/Package.internal.121.cjs +2 -12
  823. package/vendor/Package.internal.121.mjs +2 -14
  824. package/vendor/Package.internal.122.cjs +2 -10
  825. package/vendor/Package.internal.122.mjs +2 -12
  826. package/vendor/Package.internal.123.cjs +2 -18
  827. package/vendor/Package.internal.123.mjs +2 -18
  828. package/vendor/Package.internal.124.cjs +35 -104
  829. package/vendor/Package.internal.124.mjs +35 -104
  830. package/vendor/Package.internal.125.cjs +12 -16
  831. package/vendor/Package.internal.125.mjs +13 -15
  832. package/vendor/Package.internal.126.cjs +10 -17
  833. package/vendor/Package.internal.126.mjs +12 -17
  834. package/vendor/Package.internal.127.cjs +12 -8868
  835. package/vendor/Package.internal.127.mjs +12 -8868
  836. package/vendor/Package.internal.128.cjs +88 -869
  837. package/vendor/Package.internal.128.mjs +98 -879
  838. package/vendor/Package.internal.129.cjs +10 -6761
  839. package/vendor/Package.internal.129.mjs +10 -6769
  840. package/vendor/Package.internal.13.cjs +267 -701
  841. package/vendor/Package.internal.13.mjs +269 -703
  842. package/vendor/Package.internal.130.cjs +12 -466
  843. package/vendor/Package.internal.130.mjs +12 -454
  844. package/vendor/Package.internal.131.cjs +8819 -560
  845. package/vendor/Package.internal.131.mjs +8821 -558
  846. package/vendor/Package.internal.132.cjs +878 -76
  847. package/vendor/Package.internal.132.mjs +881 -73
  848. package/vendor/Package.internal.133.cjs +6767 -2
  849. package/vendor/Package.internal.133.mjs +6775 -2
  850. package/vendor/Package.internal.134.cjs +446 -3726
  851. package/vendor/Package.internal.134.mjs +440 -3732
  852. package/vendor/Package.internal.135.cjs +577 -521
  853. package/vendor/Package.internal.135.mjs +573 -521
  854. package/vendor/Package.internal.136.cjs +95 -2
  855. package/vendor/Package.internal.136.mjs +89 -2
  856. package/vendor/Package.internal.137.cjs +2 -2
  857. package/vendor/Package.internal.137.mjs +2 -2
  858. package/vendor/Package.internal.138.cjs +3751 -2
  859. package/vendor/Package.internal.138.mjs +3751 -2
  860. package/vendor/Package.internal.139.cjs +559 -2
  861. package/vendor/Package.internal.139.mjs +559 -2
  862. package/vendor/Package.internal.14.cjs +710 -905
  863. package/vendor/Package.internal.14.mjs +711 -894
  864. package/vendor/Package.internal.140.cjs +2 -2
  865. package/vendor/Package.internal.140.mjs +2 -2
  866. package/vendor/Package.internal.141.cjs +2 -2
  867. package/vendor/Package.internal.141.mjs +2 -2
  868. package/vendor/Package.internal.142.cjs +2 -2
  869. package/vendor/Package.internal.142.mjs +2 -2
  870. package/vendor/Package.internal.143.cjs +2 -2
  871. package/vendor/Package.internal.143.mjs +2 -2
  872. package/vendor/Package.internal.144.cjs +2 -2
  873. package/vendor/Package.internal.144.mjs +2 -2
  874. package/vendor/Package.internal.145.cjs +2 -2
  875. package/vendor/Package.internal.145.mjs +2 -2
  876. package/vendor/Package.internal.146.cjs +2 -2
  877. package/vendor/Package.internal.146.mjs +2 -2
  878. package/vendor/Package.internal.147.cjs +2 -406
  879. package/vendor/Package.internal.147.mjs +2 -400
  880. package/vendor/Package.internal.148.cjs +2 -102
  881. package/vendor/Package.internal.148.mjs +2 -104
  882. package/vendor/Package.internal.149.cjs +2 -25
  883. package/vendor/Package.internal.149.mjs +2 -27
  884. package/vendor/Package.internal.15.cjs +70 -40
  885. package/vendor/Package.internal.15.mjs +72 -44
  886. package/vendor/Package.internal.150.cjs +2 -2
  887. package/vendor/Package.internal.150.mjs +2 -2
  888. package/vendor/Package.internal.151.cjs +406 -2
  889. package/vendor/Package.internal.151.mjs +400 -2
  890. package/vendor/Package.internal.152.cjs +78 -697
  891. package/vendor/Package.internal.152.mjs +79 -698
  892. package/vendor/Package.internal.153.cjs +19 -1540
  893. package/vendor/Package.internal.153.mjs +21 -1534
  894. package/vendor/Package.internal.154.cjs +2 -362
  895. package/vendor/Package.internal.154.mjs +2 -364
  896. package/vendor/Package.internal.155.cjs +2 -105
  897. package/vendor/Package.internal.155.mjs +2 -107
  898. package/vendor/Package.internal.156.cjs +680 -593
  899. package/vendor/Package.internal.156.mjs +683 -582
  900. package/vendor/Package.internal.157.cjs +1444 -439
  901. package/vendor/Package.internal.157.mjs +1439 -432
  902. package/vendor/Package.internal.158.cjs +325 -566
  903. package/vendor/Package.internal.158.mjs +326 -567
  904. package/vendor/Package.internal.159.cjs +94 -126
  905. package/vendor/Package.internal.159.mjs +95 -119
  906. package/vendor/Package.internal.16.cjs +950 -232
  907. package/vendor/Package.internal.16.mjs +942 -236
  908. package/vendor/Package.internal.160.cjs +602 -85
  909. package/vendor/Package.internal.160.mjs +594 -83
  910. package/vendor/Package.internal.161.cjs +459 -1140
  911. package/vendor/Package.internal.161.mjs +460 -1141
  912. package/vendor/Package.internal.162.cjs +588 -73
  913. package/vendor/Package.internal.162.mjs +588 -81
  914. package/vendor/Package.internal.163.cjs +137 -2
  915. package/vendor/Package.internal.163.mjs +131 -2
  916. package/vendor/Package.internal.164.cjs +117 -2
  917. package/vendor/Package.internal.164.mjs +111 -2
  918. package/vendor/Package.internal.165.cjs +1204 -35
  919. package/vendor/Package.internal.165.mjs +1195 -36
  920. package/vendor/Package.internal.166.cjs +86 -6
  921. package/vendor/Package.internal.166.mjs +95 -7
  922. package/vendor/Package.internal.167.cjs +2 -10
  923. package/vendor/Package.internal.167.mjs +2 -6
  924. package/vendor/Package.internal.168.cjs +2 -163
  925. package/vendor/Package.internal.168.mjs +2 -163
  926. package/vendor/Package.internal.169.cjs +46 -14
  927. package/vendor/Package.internal.169.mjs +49 -9
  928. package/vendor/Package.internal.17.cjs +41 -429
  929. package/vendor/Package.internal.17.mjs +42 -430
  930. package/vendor/Package.internal.170.cjs +6 -247
  931. package/vendor/Package.internal.170.mjs +7 -246
  932. package/vendor/Package.internal.171.cjs +7 -944
  933. package/vendor/Package.internal.171.mjs +4 -945
  934. package/vendor/Package.internal.172.cjs +157 -19
  935. package/vendor/Package.internal.172.mjs +160 -24
  936. package/vendor/Package.internal.173.cjs +10 -67
  937. package/vendor/Package.internal.173.mjs +10 -67
  938. package/vendor/Package.internal.174.cjs +229 -633
  939. package/vendor/Package.internal.174.mjs +227 -631
  940. package/vendor/Package.internal.175.cjs +927 -55
  941. package/vendor/Package.internal.175.mjs +926 -54
  942. package/vendor/Package.internal.176.cjs +19 -1133
  943. package/vendor/Package.internal.176.mjs +25 -1031
  944. package/vendor/Package.internal.177.cjs +69 -59
  945. package/vendor/Package.internal.177.mjs +63 -59
  946. package/vendor/Package.internal.178.cjs +624 -81
  947. package/vendor/Package.internal.178.mjs +624 -81
  948. package/vendor/Package.internal.179.cjs +60 -85
  949. package/vendor/Package.internal.179.mjs +60 -85
  950. package/vendor/Package.internal.18.cjs +233 -528
  951. package/vendor/Package.internal.18.mjs +234 -523
  952. package/vendor/Package.internal.180.cjs +940 -45249
  953. package/vendor/Package.internal.180.mjs +869 -45268
  954. package/vendor/Package.internal.181.cjs +66 -4
  955. package/vendor/Package.internal.181.mjs +66 -4
  956. package/vendor/Package.internal.182.cjs +103 -21
  957. package/vendor/Package.internal.182.mjs +103 -21
  958. package/vendor/Package.internal.183.cjs +84 -299
  959. package/vendor/Package.internal.183.mjs +84 -299
  960. package/vendor/Package.internal.184.cjs +45316 -809
  961. package/vendor/Package.internal.184.mjs +45270 -789
  962. package/vendor/Package.internal.185.cjs +4 -1086
  963. package/vendor/Package.internal.185.mjs +4 -1088
  964. package/vendor/Package.internal.186.cjs +21 -156
  965. package/vendor/Package.internal.186.mjs +20 -157
  966. package/vendor/Package.internal.187.cjs +310 -8
  967. package/vendor/Package.internal.187.mjs +310 -8
  968. package/vendor/Package.internal.188.cjs +936 -7
  969. package/vendor/Package.internal.188.mjs +947 -8
  970. package/vendor/Package.internal.189.cjs +1072 -31
  971. package/vendor/Package.internal.189.mjs +1074 -31
  972. package/vendor/Package.internal.19.cjs +427 -217
  973. package/vendor/Package.internal.19.mjs +433 -223
  974. package/vendor/Package.internal.190.cjs +134 -462
  975. package/vendor/Package.internal.190.mjs +135 -441
  976. package/vendor/Package.internal.191.cjs +13 -2
  977. package/vendor/Package.internal.191.mjs +13 -2
  978. package/vendor/Package.internal.192.cjs +12 -2
  979. package/vendor/Package.internal.192.mjs +12 -2
  980. package/vendor/Package.internal.193.cjs +47 -2
  981. package/vendor/Package.internal.193.mjs +47 -2
  982. package/vendor/Package.internal.194.cjs +491 -2
  983. package/vendor/Package.internal.194.mjs +471 -2
  984. package/vendor/Package.internal.195.cjs +2 -2
  985. package/vendor/Package.internal.195.mjs +2 -2
  986. package/vendor/Package.internal.196.cjs +2 -2
  987. package/vendor/Package.internal.196.mjs +2 -2
  988. package/vendor/Package.internal.197.cjs +2 -2
  989. package/vendor/Package.internal.197.mjs +2 -2
  990. package/vendor/Package.internal.198.cjs +2 -2
  991. package/vendor/Package.internal.198.mjs +2 -2
  992. package/vendor/Package.internal.199.cjs +4 -0
  993. package/vendor/Package.internal.199.mjs +2 -0
  994. package/vendor/Package.internal.2.cjs +1 -1
  995. package/vendor/Package.internal.2.mjs +1 -1
  996. package/vendor/Package.internal.20.cjs +525 -957
  997. package/vendor/Package.internal.20.mjs +521 -959
  998. package/vendor/Package.internal.200.cjs +4 -0
  999. package/vendor/Package.internal.200.mjs +2 -0
  1000. package/vendor/Package.internal.201.cjs +4 -0
  1001. package/vendor/Package.internal.201.mjs +2 -0
  1002. package/vendor/Package.internal.202.cjs +4 -0
  1003. package/vendor/Package.internal.202.mjs +2 -0
  1004. package/vendor/Package.internal.21.cjs +406 -8
  1005. package/vendor/Package.internal.21.mjs +408 -8
  1006. package/vendor/Package.internal.22.cjs +913 -123
  1007. package/vendor/Package.internal.22.mjs +909 -123
  1008. package/vendor/Package.internal.23.cjs +214 -136
  1009. package/vendor/Package.internal.23.mjs +215 -135
  1010. package/vendor/Package.internal.24.cjs +996 -5
  1011. package/vendor/Package.internal.24.mjs +998 -5
  1012. package/vendor/Package.internal.25.cjs +8 -20
  1013. package/vendor/Package.internal.25.mjs +7 -19
  1014. package/vendor/Package.internal.26.cjs +120 -473
  1015. package/vendor/Package.internal.26.mjs +120 -469
  1016. package/vendor/Package.internal.27.cjs +127 -60
  1017. package/vendor/Package.internal.27.mjs +128 -57
  1018. package/vendor/Package.internal.28.cjs +6 -2
  1019. package/vendor/Package.internal.28.mjs +6 -2
  1020. package/vendor/Package.internal.29.cjs +16 -35
  1021. package/vendor/Package.internal.29.mjs +16 -35
  1022. package/vendor/Package.internal.3.cjs +1 -1
  1023. package/vendor/Package.internal.3.mjs +1 -1
  1024. package/vendor/Package.internal.30.cjs +473 -21
  1025. package/vendor/Package.internal.30.mjs +472 -24
  1026. package/vendor/Package.internal.31.cjs +77 -9
  1027. package/vendor/Package.internal.31.mjs +73 -9
  1028. package/vendor/Package.internal.32.cjs +2 -189
  1029. package/vendor/Package.internal.32.mjs +2 -191
  1030. package/vendor/Package.internal.33.cjs +31 -53
  1031. package/vendor/Package.internal.33.mjs +32 -54
  1032. package/vendor/Package.internal.34.cjs +20 -160
  1033. package/vendor/Package.internal.34.mjs +24 -166
  1034. package/vendor/Package.internal.35.cjs +10 -2072
  1035. package/vendor/Package.internal.35.mjs +10 -2068
  1036. package/vendor/Package.internal.36.cjs +186 -517
  1037. package/vendor/Package.internal.36.mjs +189 -512
  1038. package/vendor/Package.internal.37.cjs +57 -413
  1039. package/vendor/Package.internal.37.mjs +57 -409
  1040. package/vendor/Package.internal.38.cjs +132 -2329
  1041. package/vendor/Package.internal.38.mjs +133 -2318
  1042. package/vendor/Package.internal.39.cjs +2063 -50
  1043. package/vendor/Package.internal.39.mjs +2058 -57
  1044. package/vendor/Package.internal.4.cjs +1 -1
  1045. package/vendor/Package.internal.4.mjs +1 -1
  1046. package/vendor/Package.internal.40.cjs +507 -137
  1047. package/vendor/Package.internal.40.mjs +504 -140
  1048. package/vendor/Package.internal.41.cjs +355 -573
  1049. package/vendor/Package.internal.41.mjs +353 -577
  1050. package/vendor/Package.internal.42.cjs +2315 -196
  1051. package/vendor/Package.internal.42.mjs +2307 -200
  1052. package/vendor/Package.internal.43.cjs +57 -222
  1053. package/vendor/Package.internal.43.mjs +64 -217
  1054. package/vendor/Package.internal.44.cjs +150 -2
  1055. package/vendor/Package.internal.44.mjs +150 -2
  1056. package/vendor/Package.internal.45.cjs +591 -317
  1057. package/vendor/Package.internal.45.mjs +596 -316
  1058. package/vendor/Package.internal.46.cjs +236 -31
  1059. package/vendor/Package.internal.46.mjs +238 -31
  1060. package/vendor/Package.internal.47.cjs +217 -46
  1061. package/vendor/Package.internal.47.mjs +213 -46
  1062. package/vendor/Package.internal.48.cjs +2 -23
  1063. package/vendor/Package.internal.48.mjs +2 -23
  1064. package/vendor/Package.internal.49.cjs +354 -87
  1065. package/vendor/Package.internal.49.mjs +351 -82
  1066. package/vendor/Package.internal.5.cjs +1 -1
  1067. package/vendor/Package.internal.5.mjs +1 -1
  1068. package/vendor/Package.internal.50.cjs +33 -79
  1069. package/vendor/Package.internal.50.mjs +33 -79
  1070. package/vendor/Package.internal.51.cjs +46 -81
  1071. package/vendor/Package.internal.51.mjs +45 -68
  1072. package/vendor/Package.internal.52.cjs +18 -21
  1073. package/vendor/Package.internal.52.mjs +18 -21
  1074. package/vendor/Package.internal.53.cjs +78 -335
  1075. package/vendor/Package.internal.53.mjs +73 -336
  1076. package/vendor/Package.internal.54.cjs +86 -2
  1077. package/vendor/Package.internal.54.mjs +86 -2
  1078. package/vendor/Package.internal.55.cjs +64 -172
  1079. package/vendor/Package.internal.55.mjs +58 -174
  1080. package/vendor/Package.internal.56.cjs +23 -22
  1081. package/vendor/Package.internal.56.mjs +23 -24
  1082. package/vendor/Package.internal.57.cjs +353 -2
  1083. package/vendor/Package.internal.57.mjs +353 -2
  1084. package/vendor/Package.internal.58.cjs +2 -198
  1085. package/vendor/Package.internal.58.mjs +2 -200
  1086. package/vendor/Package.internal.59.cjs +127 -3945
  1087. package/vendor/Package.internal.59.mjs +126 -3958
  1088. package/vendor/Package.internal.6.cjs +2 -2
  1089. package/vendor/Package.internal.6.mjs +2 -2
  1090. package/vendor/Package.internal.60.cjs +25 -2
  1091. package/vendor/Package.internal.60.mjs +27 -2
  1092. package/vendor/Package.internal.61.cjs +2 -319
  1093. package/vendor/Package.internal.61.mjs +2 -321
  1094. package/vendor/Package.internal.62.cjs +175 -340
  1095. package/vendor/Package.internal.62.mjs +177 -340
  1096. package/vendor/Package.internal.63.cjs +3959 -343
  1097. package/vendor/Package.internal.63.mjs +3967 -335
  1098. package/vendor/Package.internal.64.cjs +2 -125
  1099. package/vendor/Package.internal.64.mjs +2 -125
  1100. package/vendor/Package.internal.65.cjs +314 -24
  1101. package/vendor/Package.internal.65.mjs +316 -24
  1102. package/vendor/Package.internal.66.cjs +347 -69
  1103. package/vendor/Package.internal.66.mjs +350 -72
  1104. package/vendor/Package.internal.67.cjs +386 -44
  1105. package/vendor/Package.internal.67.mjs +386 -50
  1106. package/vendor/Package.internal.68.cjs +115 -22
  1107. package/vendor/Package.internal.68.mjs +114 -21
  1108. package/vendor/Package.internal.69.cjs +29 -2
  1109. package/vendor/Package.internal.69.mjs +29 -2
  1110. package/vendor/Package.internal.7.cjs +1 -1
  1111. package/vendor/Package.internal.7.mjs +1 -1
  1112. package/vendor/Package.internal.70.cjs +67 -664
  1113. package/vendor/Package.internal.70.mjs +67 -644
  1114. package/vendor/Package.internal.71.cjs +41 -13876
  1115. package/vendor/Package.internal.71.mjs +41 -13852
  1116. package/vendor/Package.internal.72.cjs +26 -29
  1117. package/vendor/Package.internal.72.mjs +27 -26
  1118. package/vendor/Package.internal.73.cjs +2 -4075
  1119. package/vendor/Package.internal.73.mjs +2 -4077
  1120. package/vendor/Package.internal.74.cjs +654 -1634
  1121. package/vendor/Package.internal.74.mjs +633 -1635
  1122. package/vendor/Package.internal.75.cjs +13834 -197
  1123. package/vendor/Package.internal.75.mjs +13810 -197
  1124. package/vendor/Package.internal.76.cjs +25 -4952
  1125. package/vendor/Package.internal.76.mjs +23 -4940
  1126. package/vendor/Package.internal.77.cjs +3975 -1137
  1127. package/vendor/Package.internal.77.mjs +3979 -1127
  1128. package/vendor/Package.internal.78.cjs +1635 -311
  1129. package/vendor/Package.internal.78.mjs +1637 -299
  1130. package/vendor/Package.internal.79.cjs +248 -23
  1131. package/vendor/Package.internal.79.mjs +251 -26
  1132. package/vendor/Package.internal.8.cjs +1 -1
  1133. package/vendor/Package.internal.8.mjs +1 -1
  1134. package/vendor/Package.internal.80.cjs +4941 -65
  1135. package/vendor/Package.internal.80.mjs +4926 -66
  1136. package/vendor/Package.internal.81.cjs +1221 -37
  1137. package/vendor/Package.internal.81.mjs +1208 -38
  1138. package/vendor/Package.internal.82.cjs +334 -9
  1139. package/vendor/Package.internal.82.mjs +322 -9
  1140. package/vendor/Package.internal.83.cjs +32 -1353
  1141. package/vendor/Package.internal.83.mjs +32 -1355
  1142. package/vendor/Package.internal.84.cjs +82 -6
  1143. package/vendor/Package.internal.84.mjs +86 -4
  1144. package/vendor/Package.internal.85.cjs +53 -2
  1145. package/vendor/Package.internal.85.mjs +55 -2
  1146. package/vendor/Package.internal.86.cjs +8 -344
  1147. package/vendor/Package.internal.86.mjs +8 -346
  1148. package/vendor/Package.internal.87.cjs +1351 -76
  1149. package/vendor/Package.internal.87.mjs +1352 -77
  1150. package/vendor/Package.internal.88.cjs +6 -1439
  1151. package/vendor/Package.internal.88.mjs +4 -1431
  1152. package/vendor/Package.internal.89.cjs +2 -142
  1153. package/vendor/Package.internal.89.mjs +2 -142
  1154. package/vendor/Package.internal.9.cjs +1 -1
  1155. package/vendor/Package.internal.9.mjs +1 -1
  1156. package/vendor/Package.internal.90.cjs +274 -1745
  1157. package/vendor/Package.internal.90.mjs +275 -1738
  1158. package/vendor/Package.internal.91.cjs +67 -117
  1159. package/vendor/Package.internal.91.mjs +69 -113
  1160. package/vendor/Package.internal.92.cjs +1388 -151
  1161. package/vendor/Package.internal.92.mjs +1377 -152
  1162. package/vendor/Package.internal.93.cjs +94 -1591
  1163. package/vendor/Package.internal.93.mjs +94 -1593
  1164. package/vendor/Package.internal.94.cjs +1802 -54
  1165. package/vendor/Package.internal.94.mjs +1799 -59
  1166. package/vendor/Package.internal.95.cjs +126 -24
  1167. package/vendor/Package.internal.95.mjs +121 -25
  1168. package/vendor/Package.internal.96.cjs +189 -50
  1169. package/vendor/Package.internal.96.mjs +194 -53
  1170. package/vendor/Package.internal.97.cjs +1611 -93
  1171. package/vendor/Package.internal.97.mjs +1615 -95
  1172. package/vendor/Package.internal.98.cjs +66 -8
  1173. package/vendor/Package.internal.98.mjs +71 -5
  1174. package/vendor/Package.internal.99.cjs +26 -2
  1175. package/vendor/Package.internal.99.mjs +28 -2
@@ -1,121 +1,1641 @@
1
- /* Build Date: Mon Nov 24 2025 17:58:53 GMT+0800 (China Standard Time) */
2
- var t;
3
-
4
- var e;
5
-
6
- function r() {
7
- if (e) return t;
8
- e = 1;
9
- var r = Function.prototype.toString;
10
- var n = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
11
- var o;
12
- var c;
13
- if (typeof n === "function" && typeof Object.defineProperty === "function") {
14
- try {
15
- o = Object.defineProperty({}, "length", {
16
- get: function() {
17
- throw c;
18
- }
19
- });
20
- c = {};
21
- n(function() {
22
- throw 42;
23
- }, null, o);
24
- } catch (t) {
25
- if (t !== c) {
26
- n = null;
1
+ /* Build Date: Mon Nov 24 2025 18:02:01 GMT+0800 (China Standard Time) */
2
+ import { s as t } from "./Package.internal.98.mjs";
3
+
4
+ var e = {};
5
+
6
+ var i = {};
7
+
8
+ (function(t) {
9
+ const e = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD";
10
+ const i = e + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040";
11
+ const n = "[" + e + "][" + i + "]*";
12
+ const s = new RegExp("^" + n + "$");
13
+ const r = function(t, e) {
14
+ const i = [];
15
+ let n = e.exec(t);
16
+ while (n) {
17
+ const s = [];
18
+ s.startIndex = e.lastIndex - n[0].length;
19
+ const r = n.length;
20
+ for (let t = 0; t < r; t++) {
21
+ s.push(n[t]);
27
22
  }
23
+ i.push(s);
24
+ n = e.exec(t);
28
25
  }
29
- } else {
30
- n = null;
31
- }
32
- var f = /^\s*class\b/;
33
- var l = function t(e) {
34
- try {
35
- var n = r.call(e);
36
- return f.test(n);
37
- } catch (t) {
38
- return false;
26
+ return i;
27
+ };
28
+ const o = function(t) {
29
+ const e = s.exec(t);
30
+ return !(e === null || typeof e === "undefined");
31
+ };
32
+ t.isExist = function(t) {
33
+ return typeof t !== "undefined";
34
+ };
35
+ t.isEmptyObject = function(t) {
36
+ return Object.keys(t).length === 0;
37
+ };
38
+ t.merge = function(t, e, i) {
39
+ if (e) {
40
+ const n = Object.keys(e);
41
+ const s = n.length;
42
+ for (let r = 0; r < s; r++) {
43
+ if (i === "strict") {
44
+ t[n[r]] = [ e[n[r]] ];
45
+ } else {
46
+ t[n[r]] = e[n[r]];
47
+ }
48
+ }
39
49
  }
40
50
  };
41
- var a = function t(e) {
42
- try {
43
- if (l(e)) {
44
- return false;
45
- }
46
- r.call(e);
47
- return true;
48
- } catch (t) {
49
- return false;
51
+ t.getValue = function(e) {
52
+ if (t.isExist(e)) {
53
+ return e;
54
+ } else {
55
+ return "";
50
56
  }
51
57
  };
52
- var u = Object.prototype.toString;
53
- var i = "[object Object]";
54
- var v = "[object Function]";
55
- var y = "[object GeneratorFunction]";
56
- var s = "[object HTMLAllCollection]";
57
- var p = "[object HTML document.all class]";
58
- var b = "[object HTMLCollection]";
59
- var j = typeof Symbol === "function" && !!Symbol.toStringTag;
60
- var d = !(0 in [ , ]);
61
- var h = function t() {
58
+ t.isName = o;
59
+ t.getAllMatches = r;
60
+ t.nameRegexp = n;
61
+ })(i);
62
+
63
+ const n = i;
64
+
65
+ const s = {
66
+ allowBooleanAttributes: false,
67
+ unpairedTags: []
68
+ };
69
+
70
+ e.validate = function(t, e) {
71
+ e = Object.assign({}, s, e);
72
+ const i = [];
73
+ let n = false;
74
+ let l = false;
75
+ if (t[0] === "\ufeff") {
76
+ t = t.substr(1);
77
+ }
78
+ for (let s = 0; s < t.length; s++) {
79
+ if (t[s] === "<" && t[s + 1] === "?") {
80
+ s += 2;
81
+ s = o(t, s);
82
+ if (s.err) return s;
83
+ } else if (t[s] === "<") {
84
+ let u = s;
85
+ s++;
86
+ if (t[s] === "!") {
87
+ s = a(t, s);
88
+ continue;
89
+ } else {
90
+ let c = false;
91
+ if (t[s] === "/") {
92
+ c = true;
93
+ s++;
94
+ }
95
+ let d = "";
96
+ for (;s < t.length && t[s] !== ">" && t[s] !== " " && t[s] !== "\t" && t[s] !== "\n" && t[s] !== "\r"; s++) {
97
+ d += t[s];
98
+ }
99
+ d = d.trim();
100
+ if (d[d.length - 1] === "/") {
101
+ d = d.substring(0, d.length - 1);
102
+ s--;
103
+ }
104
+ if (!x(d)) {
105
+ let e;
106
+ if (d.trim().length === 0) {
107
+ e = "Invalid space after '<'.";
108
+ } else {
109
+ e = "Tag '" + d + "' is an invalid name.";
110
+ }
111
+ return g("InvalidTag", e, N(t, s));
112
+ }
113
+ const m = f(t, s);
114
+ if (m === false) {
115
+ return g("InvalidAttr", "Attributes for '" + d + "' have open quote.", N(t, s));
116
+ }
117
+ let b = m.value;
118
+ s = m.index;
119
+ if (b[b.length - 1] === "/") {
120
+ const i = s - b.length;
121
+ b = b.substring(0, b.length - 1);
122
+ const r = h(b, e);
123
+ if (r === true) {
124
+ n = true;
125
+ } else {
126
+ return g(r.err.code, r.err.msg, N(t, i + r.err.line));
127
+ }
128
+ } else if (c) {
129
+ if (!m.tagClosed) {
130
+ return g("InvalidTag", "Closing tag '" + d + "' doesn't have proper closing.", N(t, s));
131
+ } else if (b.trim().length > 0) {
132
+ return g("InvalidTag", "Closing tag '" + d + "' can't have attributes or invalid starting.", N(t, u));
133
+ } else if (i.length === 0) {
134
+ return g("InvalidTag", "Closing tag '" + d + "' has not been opened.", N(t, u));
135
+ } else {
136
+ const e = i.pop();
137
+ if (d !== e.tagName) {
138
+ let i = N(t, e.tagStartPos);
139
+ return g("InvalidTag", "Expected closing tag '" + e.tagName + "' (opened in line " + i.line + ", col " + i.col + ") instead of closing tag '" + d + "'.", N(t, u));
140
+ }
141
+ if (i.length == 0) {
142
+ l = true;
143
+ }
144
+ }
145
+ } else {
146
+ const r = h(b, e);
147
+ if (r !== true) {
148
+ return g(r.err.code, r.err.msg, N(t, s - b.length + r.err.line));
149
+ }
150
+ if (l === true) {
151
+ return g("InvalidXml", "Multiple possible root nodes found.", N(t, s));
152
+ } else if (e.unpairedTags.indexOf(d) !== -1) ; else {
153
+ i.push({
154
+ tagName: d,
155
+ tagStartPos: u
156
+ });
157
+ }
158
+ n = true;
159
+ }
160
+ for (s++; s < t.length; s++) {
161
+ if (t[s] === "<") {
162
+ if (t[s + 1] === "!") {
163
+ s++;
164
+ s = a(t, s);
165
+ continue;
166
+ } else if (t[s + 1] === "?") {
167
+ s = o(t, ++s);
168
+ if (s.err) return s;
169
+ } else {
170
+ break;
171
+ }
172
+ } else if (t[s] === "&") {
173
+ const e = p(t, s);
174
+ if (e == -1) return g("InvalidChar", "char '&' is not expected.", N(t, s));
175
+ s = e;
176
+ } else {
177
+ if (l === true && !r(t[s])) {
178
+ return g("InvalidXml", "Extra text at the end", N(t, s));
179
+ }
180
+ }
181
+ }
182
+ if (t[s] === "<") {
183
+ s--;
184
+ }
185
+ }
186
+ } else {
187
+ if (r(t[s])) {
188
+ continue;
189
+ }
190
+ return g("InvalidChar", "char '" + t[s] + "' is not expected.", N(t, s));
191
+ }
192
+ }
193
+ if (!n) {
194
+ return g("InvalidXml", "Start tag expected.", 1);
195
+ } else if (i.length == 1) {
196
+ return g("InvalidTag", "Unclosed tag '" + i[0].tagName + "'.", N(t, i[0].tagStartPos));
197
+ } else if (i.length > 0) {
198
+ return g("InvalidXml", "Invalid '" + JSON.stringify(i.map(t => t.tagName), null, 4).replace(/\r?\n/g, "") + "' found.", {
199
+ line: 1,
200
+ col: 1
201
+ });
202
+ }
203
+ return true;
204
+ };
205
+
206
+ function r(t) {
207
+ return t === " " || t === "\t" || t === "\n" || t === "\r";
208
+ }
209
+
210
+ function o(t, e) {
211
+ const i = e;
212
+ for (;e < t.length; e++) {
213
+ if (t[e] == "?" || t[e] == " ") {
214
+ const n = t.substr(i, e - i);
215
+ if (e > 5 && n === "xml") {
216
+ return g("InvalidXml", "XML declaration allowed only at the start of the document.", N(t, e));
217
+ } else if (t[e] == "?" && t[e + 1] == ">") {
218
+ e++;
219
+ break;
220
+ } else {
221
+ continue;
222
+ }
223
+ }
224
+ }
225
+ return e;
226
+ }
227
+
228
+ function a(t, e) {
229
+ if (t.length > e + 5 && t[e + 1] === "-" && t[e + 2] === "-") {
230
+ for (e += 3; e < t.length; e++) {
231
+ if (t[e] === "-" && t[e + 1] === "-" && t[e + 2] === ">") {
232
+ e += 2;
233
+ break;
234
+ }
235
+ }
236
+ } else if (t.length > e + 8 && t[e + 1] === "D" && t[e + 2] === "O" && t[e + 3] === "C" && t[e + 4] === "T" && t[e + 5] === "Y" && t[e + 6] === "P" && t[e + 7] === "E") {
237
+ let i = 1;
238
+ for (e += 8; e < t.length; e++) {
239
+ if (t[e] === "<") {
240
+ i++;
241
+ } else if (t[e] === ">") {
242
+ i--;
243
+ if (i === 0) {
244
+ break;
245
+ }
246
+ }
247
+ }
248
+ } else if (t.length > e + 9 && t[e + 1] === "[" && t[e + 2] === "C" && t[e + 3] === "D" && t[e + 4] === "A" && t[e + 5] === "T" && t[e + 6] === "A" && t[e + 7] === "[") {
249
+ for (e += 8; e < t.length; e++) {
250
+ if (t[e] === "]" && t[e + 1] === "]" && t[e + 2] === ">") {
251
+ e += 2;
252
+ break;
253
+ }
254
+ }
255
+ }
256
+ return e;
257
+ }
258
+
259
+ const l = '"';
260
+
261
+ const u = "'";
262
+
263
+ function f(t, e) {
264
+ let i = "";
265
+ let n = "";
266
+ let s = false;
267
+ for (;e < t.length; e++) {
268
+ if (t[e] === l || t[e] === u) {
269
+ if (n === "") {
270
+ n = t[e];
271
+ } else if (n !== t[e]) ; else {
272
+ n = "";
273
+ }
274
+ } else if (t[e] === ">") {
275
+ if (n === "") {
276
+ s = true;
277
+ break;
278
+ }
279
+ }
280
+ i += t[e];
281
+ }
282
+ if (n !== "") {
62
283
  return false;
284
+ }
285
+ return {
286
+ value: i,
287
+ index: e,
288
+ tagClosed: s
63
289
  };
64
- if (typeof document === "object") {
65
- var g = document.all;
66
- if (u.call(g) === u.call(document.all)) {
67
- h = function t(e) {
68
- if ((d || !e) && (typeof e === "undefined" || typeof e === "object")) {
69
- try {
70
- var r = u.call(e);
71
- return (r === s || r === p || r === b || r === i) && e("") == null;
72
- } catch (t) {}
73
- }
74
- return false;
75
- };
290
+ }
291
+
292
+ const c = new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?", "g");
293
+
294
+ function h(t, e) {
295
+ const i = n.getAllMatches(t, c);
296
+ const s = {};
297
+ for (let t = 0; t < i.length; t++) {
298
+ if (i[t][1].length === 0) {
299
+ return g("InvalidAttr", "Attribute '" + i[t][2] + "' has no space in starting.", b(i[t]));
300
+ } else if (i[t][3] !== undefined && i[t][4] === undefined) {
301
+ return g("InvalidAttr", "Attribute '" + i[t][2] + "' is without value.", b(i[t]));
302
+ } else if (i[t][3] === undefined && !e.allowBooleanAttributes) {
303
+ return g("InvalidAttr", "boolean attribute '" + i[t][2] + "' is not allowed.", b(i[t]));
304
+ }
305
+ const n = i[t][2];
306
+ if (!m(n)) {
307
+ return g("InvalidAttr", "Attribute '" + n + "' is an invalid name.", b(i[t]));
308
+ }
309
+ if (!s.hasOwnProperty(n)) {
310
+ s[n] = 1;
311
+ } else {
312
+ return g("InvalidAttr", "Attribute '" + n + "' is repeated.", b(i[t]));
76
313
  }
77
314
  }
78
- t = n ? function t(e) {
79
- if (h(e)) {
80
- return true;
315
+ return true;
316
+ }
317
+
318
+ function d(t, e) {
319
+ let i = /\d/;
320
+ if (t[e] === "x") {
321
+ e++;
322
+ i = /[\da-fA-F]/;
323
+ }
324
+ for (;e < t.length; e++) {
325
+ if (t[e] === ";") return e;
326
+ if (!t[e].match(i)) break;
327
+ }
328
+ return -1;
329
+ }
330
+
331
+ function p(t, e) {
332
+ e++;
333
+ if (t[e] === ";") return -1;
334
+ if (t[e] === "#") {
335
+ e++;
336
+ return d(t, e);
337
+ }
338
+ let i = 0;
339
+ for (;e < t.length; e++, i++) {
340
+ if (t[e].match(/\w/) && i < 20) continue;
341
+ if (t[e] === ";") break;
342
+ return -1;
343
+ }
344
+ return e;
345
+ }
346
+
347
+ function g(t, e, i) {
348
+ return {
349
+ err: {
350
+ code: t,
351
+ msg: e,
352
+ line: i.line || i,
353
+ col: i.col
81
354
  }
82
- if (!e) {
83
- return false;
355
+ };
356
+ }
357
+
358
+ function m(t) {
359
+ return n.isName(t);
360
+ }
361
+
362
+ function x(t) {
363
+ return n.isName(t);
364
+ }
365
+
366
+ function N(t, e) {
367
+ const i = t.substring(0, e).split(/\r?\n/);
368
+ return {
369
+ line: i.length,
370
+ col: i[i.length - 1].length + 1
371
+ };
372
+ }
373
+
374
+ function b(t) {
375
+ return t.startIndex + t[1].length;
376
+ }
377
+
378
+ var E = {};
379
+
380
+ const v = {
381
+ preserveOrder: false,
382
+ attributeNamePrefix: "@_",
383
+ attributesGroupName: false,
384
+ textNodeName: "#text",
385
+ ignoreAttributes: true,
386
+ removeNSPrefix: false,
387
+ allowBooleanAttributes: false,
388
+ parseTagValue: true,
389
+ parseAttributeValue: false,
390
+ trimValues: true,
391
+ cdataPropName: false,
392
+ numberParseOptions: {
393
+ hex: true,
394
+ leadingZeros: true,
395
+ eNotation: true
396
+ },
397
+ tagValueProcessor: function(t, e) {
398
+ return e;
399
+ },
400
+ attributeValueProcessor: function(t, e) {
401
+ return e;
402
+ },
403
+ stopNodes: [],
404
+ alwaysCreateTextNode: false,
405
+ isArray: () => false,
406
+ commentPropName: false,
407
+ unpairedTags: [],
408
+ processEntities: true,
409
+ htmlEntities: false,
410
+ ignoreDeclaration: false,
411
+ ignorePiTags: false,
412
+ transformTagName: false,
413
+ transformAttributeName: false,
414
+ updateTag: function(t, e, i) {
415
+ return t;
416
+ }
417
+ };
418
+
419
+ const y = function(t) {
420
+ return Object.assign({}, v, t);
421
+ };
422
+
423
+ E.buildOptions = y;
424
+
425
+ E.defaultOptions = v;
426
+
427
+ class XmlNode {
428
+ constructor(t) {
429
+ this.tagname = t;
430
+ this.child = [];
431
+ this[":@"] = {};
432
+ }
433
+ add(t, e) {
434
+ if (t === "__proto__") t = "#__proto__";
435
+ this.child.push({
436
+ [t]: e
437
+ });
438
+ }
439
+ addChild(t) {
440
+ if (t.tagname === "__proto__") t.tagname = "#__proto__";
441
+ if (t[":@"] && Object.keys(t[":@"]).length > 0) {
442
+ this.child.push({
443
+ [t.tagname]: t.child,
444
+ [":@"]: t[":@"]
445
+ });
446
+ } else {
447
+ this.child.push({
448
+ [t.tagname]: t.child
449
+ });
84
450
  }
85
- if (typeof e !== "function" && typeof e !== "object") {
86
- return false;
451
+ }
452
+ }
453
+
454
+ var T = XmlNode;
455
+
456
+ const O = i;
457
+
458
+ function P(t, e) {
459
+ const i = {};
460
+ if (t[e + 3] === "O" && t[e + 4] === "C" && t[e + 5] === "T" && t[e + 6] === "Y" && t[e + 7] === "P" && t[e + 8] === "E") {
461
+ e = e + 9;
462
+ let n = 1;
463
+ let s = false, r = false;
464
+ let o = "";
465
+ for (;e < t.length; e++) {
466
+ if (t[e] === "<" && !r) {
467
+ if (s && C(t, e)) {
468
+ e += 7;
469
+ let n, s;
470
+ [n, s, e] = A(t, e + 1);
471
+ if (s.indexOf("&") === -1) i[j(n)] = {
472
+ regx: RegExp(`&${n};`, "g"),
473
+ val: s
474
+ };
475
+ } else if (s && I(t, e)) e += 8; else if (s && S(t, e)) e += 8; else if (s && V(t, e)) e += 9; else if (w) r = true; else throw new Error("Invalid DOCTYPE");
476
+ n++;
477
+ o = "";
478
+ } else if (t[e] === ">") {
479
+ if (r) {
480
+ if (t[e - 1] === "-" && t[e - 2] === "-") {
481
+ r = false;
482
+ n--;
483
+ }
484
+ } else {
485
+ n--;
486
+ }
487
+ if (n === 0) {
488
+ break;
489
+ }
490
+ } else if (t[e] === "[") {
491
+ s = true;
492
+ } else {
493
+ o += t[e];
494
+ }
87
495
  }
88
- try {
89
- n(e, null, o);
90
- } catch (t) {
91
- if (t !== c) {
92
- return false;
496
+ if (n !== 0) {
497
+ throw new Error(`Unclosed DOCTYPE`);
498
+ }
499
+ } else {
500
+ throw new Error(`Invalid Tag instead of DOCTYPE`);
501
+ }
502
+ return {
503
+ entities: i,
504
+ i: e
505
+ };
506
+ }
507
+
508
+ function A(t, e) {
509
+ let i = "";
510
+ for (;e < t.length && (t[e] !== "'" && t[e] !== '"'); e++) {
511
+ i += t[e];
512
+ }
513
+ i = i.trim();
514
+ if (i.indexOf(" ") !== -1) throw new Error("External entites are not supported");
515
+ const n = t[e++];
516
+ let s = "";
517
+ for (;e < t.length && t[e] !== n; e++) {
518
+ s += t[e];
519
+ }
520
+ return [ i, s, e ];
521
+ }
522
+
523
+ function w(t, e) {
524
+ if (t[e + 1] === "!" && t[e + 2] === "-" && t[e + 3] === "-") return true;
525
+ return false;
526
+ }
527
+
528
+ function C(t, e) {
529
+ if (t[e + 1] === "!" && t[e + 2] === "E" && t[e + 3] === "N" && t[e + 4] === "T" && t[e + 5] === "I" && t[e + 6] === "T" && t[e + 7] === "Y") return true;
530
+ return false;
531
+ }
532
+
533
+ function I(t, e) {
534
+ if (t[e + 1] === "!" && t[e + 2] === "E" && t[e + 3] === "L" && t[e + 4] === "E" && t[e + 5] === "M" && t[e + 6] === "E" && t[e + 7] === "N" && t[e + 8] === "T") return true;
535
+ return false;
536
+ }
537
+
538
+ function S(t, e) {
539
+ if (t[e + 1] === "!" && t[e + 2] === "A" && t[e + 3] === "T" && t[e + 4] === "T" && t[e + 5] === "L" && t[e + 6] === "I" && t[e + 7] === "S" && t[e + 8] === "T") return true;
540
+ return false;
541
+ }
542
+
543
+ function V(t, e) {
544
+ if (t[e + 1] === "!" && t[e + 2] === "N" && t[e + 3] === "O" && t[e + 4] === "T" && t[e + 5] === "A" && t[e + 6] === "T" && t[e + 7] === "I" && t[e + 8] === "O" && t[e + 9] === "N") return true;
545
+ return false;
546
+ }
547
+
548
+ function j(t) {
549
+ if (O.isName(t)) return t; else throw new Error(`Invalid entity name ${t}`);
550
+ }
551
+
552
+ var k = P;
553
+
554
+ function F(t) {
555
+ if (typeof t === "function") {
556
+ return t;
557
+ }
558
+ if (Array.isArray(t)) {
559
+ return e => {
560
+ for (const i of t) {
561
+ if (typeof i === "string" && e === i) {
562
+ return true;
563
+ }
564
+ if (i instanceof RegExp && i.test(e)) {
565
+ return true;
566
+ }
93
567
  }
568
+ };
569
+ }
570
+ return () => false;
571
+ }
572
+
573
+ var $ = F;
574
+
575
+ const _ = i;
576
+
577
+ const D = T;
578
+
579
+ const L = k;
580
+
581
+ const M = t;
582
+
583
+ const B = $;
584
+
585
+ let X = class OrderedObjParser {
586
+ constructor(t) {
587
+ this.options = t;
588
+ this.currentNode = null;
589
+ this.tagsNodeStack = [];
590
+ this.docTypeEntities = {};
591
+ this.lastEntities = {
592
+ apos: {
593
+ regex: /&(apos|#39|#x27);/g,
594
+ val: "'"
595
+ },
596
+ gt: {
597
+ regex: /&(gt|#62|#x3E);/g,
598
+ val: ">"
599
+ },
600
+ lt: {
601
+ regex: /&(lt|#60|#x3C);/g,
602
+ val: "<"
603
+ },
604
+ quot: {
605
+ regex: /&(quot|#34|#x22);/g,
606
+ val: '"'
607
+ }
608
+ };
609
+ this.ampEntity = {
610
+ regex: /&(amp|#38|#x26);/g,
611
+ val: "&"
612
+ };
613
+ this.htmlEntities = {
614
+ space: {
615
+ regex: /&(nbsp|#160);/g,
616
+ val: " "
617
+ },
618
+ cent: {
619
+ regex: /&(cent|#162);/g,
620
+ val: "¢"
621
+ },
622
+ pound: {
623
+ regex: /&(pound|#163);/g,
624
+ val: "£"
625
+ },
626
+ yen: {
627
+ regex: /&(yen|#165);/g,
628
+ val: "¥"
629
+ },
630
+ euro: {
631
+ regex: /&(euro|#8364);/g,
632
+ val: "€"
633
+ },
634
+ copyright: {
635
+ regex: /&(copy|#169);/g,
636
+ val: "©"
637
+ },
638
+ reg: {
639
+ regex: /&(reg|#174);/g,
640
+ val: "®"
641
+ },
642
+ inr: {
643
+ regex: /&(inr|#8377);/g,
644
+ val: "₹"
645
+ },
646
+ num_dec: {
647
+ regex: /&#([0-9]{1,7});/g,
648
+ val: (t, e) => String.fromCharCode(Number.parseInt(e, 10))
649
+ },
650
+ num_hex: {
651
+ regex: /&#x([0-9a-fA-F]{1,6});/g,
652
+ val: (t, e) => String.fromCharCode(Number.parseInt(e, 16))
653
+ }
654
+ };
655
+ this.addExternalEntities = G;
656
+ this.parseXml = W;
657
+ this.parseTextData = R;
658
+ this.resolveNameSpace = U;
659
+ this.buildAttributesMap = q;
660
+ this.isItStopNode = H;
661
+ this.replaceEntitiesValue = z;
662
+ this.readStopNodeData = et;
663
+ this.saveTextToParentTag = J;
664
+ this.addChild = Z;
665
+ this.ignoreAttributesFn = B(this.options.ignoreAttributes);
666
+ }
667
+ };
668
+
669
+ function G(t) {
670
+ const e = Object.keys(t);
671
+ for (let i = 0; i < e.length; i++) {
672
+ const n = e[i];
673
+ this.lastEntities[n] = {
674
+ regex: new RegExp("&" + n + ";", "g"),
675
+ val: t[n]
676
+ };
677
+ }
678
+ }
679
+
680
+ function R(t, e, i, n, s, r, o) {
681
+ if (t !== undefined) {
682
+ if (this.options.trimValues && !n) {
683
+ t = t.trim();
94
684
  }
95
- return !l(e) && a(e);
96
- } : function t(e) {
97
- if (h(e)) {
98
- return true;
685
+ if (t.length > 0) {
686
+ if (!o) t = this.replaceEntitiesValue(t);
687
+ const n = this.options.tagValueProcessor(e, t, i, s, r);
688
+ if (n === null || n === undefined) {
689
+ return t;
690
+ } else if (typeof n !== typeof t || n !== t) {
691
+ return n;
692
+ } else if (this.options.trimValues) {
693
+ return it(t, this.options.parseTagValue, this.options.numberParseOptions);
694
+ } else {
695
+ const e = t.trim();
696
+ if (e === t) {
697
+ return it(t, this.options.parseTagValue, this.options.numberParseOptions);
698
+ } else {
699
+ return t;
700
+ }
701
+ }
99
702
  }
100
- if (!e) {
101
- return false;
703
+ }
704
+ }
705
+
706
+ function U(t) {
707
+ if (this.options.removeNSPrefix) {
708
+ const e = t.split(":");
709
+ const i = t.charAt(0) === "/" ? "/" : "";
710
+ if (e[0] === "xmlns") {
711
+ return "";
102
712
  }
103
- if (typeof e !== "function" && typeof e !== "object") {
104
- return false;
713
+ if (e.length === 2) {
714
+ t = i + e[1];
715
+ }
716
+ }
717
+ return t;
718
+ }
719
+
720
+ const Y = new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?", "gm");
721
+
722
+ function q(t, e, i) {
723
+ if (this.options.ignoreAttributes !== true && typeof t === "string") {
724
+ const i = _.getAllMatches(t, Y);
725
+ const n = i.length;
726
+ const s = {};
727
+ for (let t = 0; t < n; t++) {
728
+ const n = this.resolveNameSpace(i[t][1]);
729
+ if (this.ignoreAttributesFn(n, e)) {
730
+ continue;
731
+ }
732
+ let r = i[t][4];
733
+ let o = this.options.attributeNamePrefix + n;
734
+ if (n.length) {
735
+ if (this.options.transformAttributeName) {
736
+ o = this.options.transformAttributeName(o);
737
+ }
738
+ if (o === "__proto__") o = "#__proto__";
739
+ if (r !== undefined) {
740
+ if (this.options.trimValues) {
741
+ r = r.trim();
742
+ }
743
+ r = this.replaceEntitiesValue(r);
744
+ const t = this.options.attributeValueProcessor(n, r, e);
745
+ if (t === null || t === undefined) {
746
+ s[o] = r;
747
+ } else if (typeof t !== typeof r || t !== r) {
748
+ s[o] = t;
749
+ } else {
750
+ s[o] = it(r, this.options.parseAttributeValue, this.options.numberParseOptions);
751
+ }
752
+ } else if (this.options.allowBooleanAttributes) {
753
+ s[o] = true;
754
+ }
755
+ }
105
756
  }
106
- if (j) {
107
- return a(e);
757
+ if (!Object.keys(s).length) {
758
+ return;
108
759
  }
109
- if (l(e)) {
110
- return false;
760
+ if (this.options.attributesGroupName) {
761
+ const t = {};
762
+ t[this.options.attributesGroupName] = s;
763
+ return t;
111
764
  }
112
- var r = u.call(e);
113
- if (r !== v && r !== y && !/^\[object HTML/.test(r)) {
765
+ return s;
766
+ }
767
+ }
768
+
769
+ const W = function(t) {
770
+ t = t.replace(/\r\n?/g, "\n");
771
+ const e = new D("!xml");
772
+ let i = e;
773
+ let n = "";
774
+ let s = "";
775
+ for (let r = 0; r < t.length; r++) {
776
+ const o = t[r];
777
+ if (o === "<") {
778
+ if (t[r + 1] === "/") {
779
+ const e = Q(t, ">", r, "Closing Tag is not closed.");
780
+ let o = t.substring(r + 2, e).trim();
781
+ if (this.options.removeNSPrefix) {
782
+ const t = o.indexOf(":");
783
+ if (t !== -1) {
784
+ o = o.substr(t + 1);
785
+ }
786
+ }
787
+ if (this.options.transformTagName) {
788
+ o = this.options.transformTagName(o);
789
+ }
790
+ if (i) {
791
+ n = this.saveTextToParentTag(n, i, s);
792
+ }
793
+ const a = s.substring(s.lastIndexOf(".") + 1);
794
+ if (o && this.options.unpairedTags.indexOf(o) !== -1) {
795
+ throw new Error(`Unpaired tag can not be used as closing tag: </${o}>`);
796
+ }
797
+ let l = 0;
798
+ if (a && this.options.unpairedTags.indexOf(a) !== -1) {
799
+ l = s.lastIndexOf(".", s.lastIndexOf(".") - 1);
800
+ this.tagsNodeStack.pop();
801
+ } else {
802
+ l = s.lastIndexOf(".");
803
+ }
804
+ s = s.substring(0, l);
805
+ i = this.tagsNodeStack.pop();
806
+ n = "";
807
+ r = e;
808
+ } else if (t[r + 1] === "?") {
809
+ let e = tt(t, r, false, "?>");
810
+ if (!e) throw new Error("Pi Tag is not closed.");
811
+ n = this.saveTextToParentTag(n, i, s);
812
+ if (this.options.ignoreDeclaration && e.tagName === "?xml" || this.options.ignorePiTags) ; else {
813
+ const t = new D(e.tagName);
814
+ t.add(this.options.textNodeName, "");
815
+ if (e.tagName !== e.tagExp && e.attrExpPresent) {
816
+ t[":@"] = this.buildAttributesMap(e.tagExp, s, e.tagName);
817
+ }
818
+ this.addChild(i, t, s);
819
+ }
820
+ r = e.closeIndex + 1;
821
+ } else if (t.substr(r + 1, 3) === "!--") {
822
+ const e = Q(t, "--\x3e", r + 4, "Comment is not closed.");
823
+ if (this.options.commentPropName) {
824
+ const o = t.substring(r + 4, e - 2);
825
+ n = this.saveTextToParentTag(n, i, s);
826
+ i.add(this.options.commentPropName, [ {
827
+ [this.options.textNodeName]: o
828
+ } ]);
829
+ }
830
+ r = e;
831
+ } else if (t.substr(r + 1, 2) === "!D") {
832
+ const e = L(t, r);
833
+ this.docTypeEntities = e.entities;
834
+ r = e.i;
835
+ } else if (t.substr(r + 1, 2) === "![") {
836
+ const e = Q(t, "]]>", r, "CDATA is not closed.") - 2;
837
+ const o = t.substring(r + 9, e);
838
+ n = this.saveTextToParentTag(n, i, s);
839
+ let a = this.parseTextData(o, i.tagname, s, true, false, true, true);
840
+ if (a == undefined) a = "";
841
+ if (this.options.cdataPropName) {
842
+ i.add(this.options.cdataPropName, [ {
843
+ [this.options.textNodeName]: o
844
+ } ]);
845
+ } else {
846
+ i.add(this.options.textNodeName, a);
847
+ }
848
+ r = e + 2;
849
+ } else {
850
+ let o = tt(t, r, this.options.removeNSPrefix);
851
+ let a = o.tagName;
852
+ const l = o.rawTagName;
853
+ let u = o.tagExp;
854
+ let f = o.attrExpPresent;
855
+ let c = o.closeIndex;
856
+ if (this.options.transformTagName) {
857
+ a = this.options.transformTagName(a);
858
+ }
859
+ if (i && n) {
860
+ if (i.tagname !== "!xml") {
861
+ n = this.saveTextToParentTag(n, i, s, false);
862
+ }
863
+ }
864
+ const h = i;
865
+ if (h && this.options.unpairedTags.indexOf(h.tagname) !== -1) {
866
+ i = this.tagsNodeStack.pop();
867
+ s = s.substring(0, s.lastIndexOf("."));
868
+ }
869
+ if (a !== e.tagname) {
870
+ s += s ? "." + a : a;
871
+ }
872
+ if (this.isItStopNode(this.options.stopNodes, s, a)) {
873
+ let e = "";
874
+ if (u.length > 0 && u.lastIndexOf("/") === u.length - 1) {
875
+ if (a[a.length - 1] === "/") {
876
+ a = a.substr(0, a.length - 1);
877
+ s = s.substr(0, s.length - 1);
878
+ u = a;
879
+ } else {
880
+ u = u.substr(0, u.length - 1);
881
+ }
882
+ r = o.closeIndex;
883
+ } else if (this.options.unpairedTags.indexOf(a) !== -1) {
884
+ r = o.closeIndex;
885
+ } else {
886
+ const i = this.readStopNodeData(t, l, c + 1);
887
+ if (!i) throw new Error(`Unexpected end of ${l}`);
888
+ r = i.i;
889
+ e = i.tagContent;
890
+ }
891
+ const n = new D(a);
892
+ if (a !== u && f) {
893
+ n[":@"] = this.buildAttributesMap(u, s, a);
894
+ }
895
+ if (e) {
896
+ e = this.parseTextData(e, a, s, true, f, true, true);
897
+ }
898
+ s = s.substr(0, s.lastIndexOf("."));
899
+ n.add(this.options.textNodeName, e);
900
+ this.addChild(i, n, s);
901
+ } else {
902
+ if (u.length > 0 && u.lastIndexOf("/") === u.length - 1) {
903
+ if (a[a.length - 1] === "/") {
904
+ a = a.substr(0, a.length - 1);
905
+ s = s.substr(0, s.length - 1);
906
+ u = a;
907
+ } else {
908
+ u = u.substr(0, u.length - 1);
909
+ }
910
+ if (this.options.transformTagName) {
911
+ a = this.options.transformTagName(a);
912
+ }
913
+ const t = new D(a);
914
+ if (a !== u && f) {
915
+ t[":@"] = this.buildAttributesMap(u, s, a);
916
+ }
917
+ this.addChild(i, t, s);
918
+ s = s.substr(0, s.lastIndexOf("."));
919
+ } else {
920
+ const t = new D(a);
921
+ this.tagsNodeStack.push(i);
922
+ if (a !== u && f) {
923
+ t[":@"] = this.buildAttributesMap(u, s, a);
924
+ }
925
+ this.addChild(i, t, s);
926
+ i = t;
927
+ }
928
+ n = "";
929
+ r = c;
930
+ }
931
+ }
932
+ } else {
933
+ n += t[r];
934
+ }
935
+ }
936
+ return e.child;
937
+ };
938
+
939
+ function Z(t, e, i) {
940
+ const n = this.options.updateTag(e.tagname, i, e[":@"]);
941
+ if (n === false) ; else if (typeof n === "string") {
942
+ e.tagname = n;
943
+ t.addChild(e);
944
+ } else {
945
+ t.addChild(e);
946
+ }
947
+ }
948
+
949
+ const z = function(t) {
950
+ if (this.options.processEntities) {
951
+ for (let e in this.docTypeEntities) {
952
+ const i = this.docTypeEntities[e];
953
+ t = t.replace(i.regx, i.val);
954
+ }
955
+ for (let e in this.lastEntities) {
956
+ const i = this.lastEntities[e];
957
+ t = t.replace(i.regex, i.val);
958
+ }
959
+ if (this.options.htmlEntities) {
960
+ for (let e in this.htmlEntities) {
961
+ const i = this.htmlEntities[e];
962
+ t = t.replace(i.regex, i.val);
963
+ }
964
+ }
965
+ t = t.replace(this.ampEntity.regex, this.ampEntity.val);
966
+ }
967
+ return t;
968
+ };
969
+
970
+ function J(t, e, i, n) {
971
+ if (t) {
972
+ if (n === undefined) n = e.child.length === 0;
973
+ t = this.parseTextData(t, e.tagname, i, false, e[":@"] ? Object.keys(e[":@"]).length !== 0 : false, n);
974
+ if (t !== undefined && t !== "") e.add(this.options.textNodeName, t);
975
+ t = "";
976
+ }
977
+ return t;
978
+ }
979
+
980
+ function H(t, e, i) {
981
+ const n = "*." + i;
982
+ for (const i in t) {
983
+ const s = t[i];
984
+ if (n === s || e === s) return true;
985
+ }
986
+ return false;
987
+ }
988
+
989
+ function K(t, e, i = ">") {
990
+ let n;
991
+ let s = "";
992
+ for (let r = e; r < t.length; r++) {
993
+ let e = t[r];
994
+ if (n) {
995
+ if (e === n) n = "";
996
+ } else if (e === '"' || e === "'") {
997
+ n = e;
998
+ } else if (e === i[0]) {
999
+ if (i[1]) {
1000
+ if (t[r + 1] === i[1]) {
1001
+ return {
1002
+ data: s,
1003
+ index: r
1004
+ };
1005
+ }
1006
+ } else {
1007
+ return {
1008
+ data: s,
1009
+ index: r
1010
+ };
1011
+ }
1012
+ } else if (e === "\t") {
1013
+ e = " ";
1014
+ }
1015
+ s += e;
1016
+ }
1017
+ }
1018
+
1019
+ function Q(t, e, i, n) {
1020
+ const s = t.indexOf(e, i);
1021
+ if (s === -1) {
1022
+ throw new Error(n);
1023
+ } else {
1024
+ return s + e.length - 1;
1025
+ }
1026
+ }
1027
+
1028
+ function tt(t, e, i, n = ">") {
1029
+ const s = K(t, e + 1, n);
1030
+ if (!s) return;
1031
+ let r = s.data;
1032
+ const o = s.index;
1033
+ const a = r.search(/\s/);
1034
+ let l = r;
1035
+ let u = true;
1036
+ if (a !== -1) {
1037
+ l = r.substring(0, a);
1038
+ r = r.substring(a + 1).trimStart();
1039
+ }
1040
+ const f = l;
1041
+ if (i) {
1042
+ const t = l.indexOf(":");
1043
+ if (t !== -1) {
1044
+ l = l.substr(t + 1);
1045
+ u = l !== s.data.substr(t + 1);
1046
+ }
1047
+ }
1048
+ return {
1049
+ tagName: l,
1050
+ tagExp: r,
1051
+ closeIndex: o,
1052
+ attrExpPresent: u,
1053
+ rawTagName: f
1054
+ };
1055
+ }
1056
+
1057
+ function et(t, e, i) {
1058
+ const n = i;
1059
+ let s = 1;
1060
+ for (;i < t.length; i++) {
1061
+ if (t[i] === "<") {
1062
+ if (t[i + 1] === "/") {
1063
+ const r = Q(t, ">", i, `${e} is not closed`);
1064
+ let o = t.substring(i + 2, r).trim();
1065
+ if (o === e) {
1066
+ s--;
1067
+ if (s === 0) {
1068
+ return {
1069
+ tagContent: t.substring(n, i),
1070
+ i: r
1071
+ };
1072
+ }
1073
+ }
1074
+ i = r;
1075
+ } else if (t[i + 1] === "?") {
1076
+ const e = Q(t, "?>", i + 1, "StopNode is not closed.");
1077
+ i = e;
1078
+ } else if (t.substr(i + 1, 3) === "!--") {
1079
+ const e = Q(t, "--\x3e", i + 3, "StopNode is not closed.");
1080
+ i = e;
1081
+ } else if (t.substr(i + 1, 2) === "![") {
1082
+ const e = Q(t, "]]>", i, "StopNode is not closed.") - 2;
1083
+ i = e;
1084
+ } else {
1085
+ const n = tt(t, i, ">");
1086
+ if (n) {
1087
+ const t = n && n.tagName;
1088
+ if (t === e && n.tagExp[n.tagExp.length - 1] !== "/") {
1089
+ s++;
1090
+ }
1091
+ i = n.closeIndex;
1092
+ }
1093
+ }
1094
+ }
1095
+ }
1096
+ }
1097
+
1098
+ function it(t, e, i) {
1099
+ if (e && typeof t === "string") {
1100
+ const e = t.trim();
1101
+ if (e === "true") return true; else if (e === "false") return false; else return M(t, i);
1102
+ } else {
1103
+ if (_.isExist(t)) {
1104
+ return t;
1105
+ } else {
1106
+ return "";
1107
+ }
1108
+ }
1109
+ }
1110
+
1111
+ var nt = X;
1112
+
1113
+ var st = {};
1114
+
1115
+ function rt(t, e) {
1116
+ return ot(t, e);
1117
+ }
1118
+
1119
+ function ot(t, e, i) {
1120
+ let n;
1121
+ const s = {};
1122
+ for (let r = 0; r < t.length; r++) {
1123
+ const o = t[r];
1124
+ const a = at(o);
1125
+ let l = "";
1126
+ if (i === undefined) l = a; else l = i + "." + a;
1127
+ if (a === e.textNodeName) {
1128
+ if (n === undefined) n = o[a]; else n += "" + o[a];
1129
+ } else if (a === undefined) {
1130
+ continue;
1131
+ } else if (o[a]) {
1132
+ let t = ot(o[a], e, l);
1133
+ const i = ut(t, e);
1134
+ if (o[":@"]) {
1135
+ lt(t, o[":@"], l, e);
1136
+ } else if (Object.keys(t).length === 1 && t[e.textNodeName] !== undefined && !e.alwaysCreateTextNode) {
1137
+ t = t[e.textNodeName];
1138
+ } else if (Object.keys(t).length === 0) {
1139
+ if (e.alwaysCreateTextNode) t[e.textNodeName] = ""; else t = "";
1140
+ }
1141
+ if (s[a] !== undefined && s.hasOwnProperty(a)) {
1142
+ if (!Array.isArray(s[a])) {
1143
+ s[a] = [ s[a] ];
1144
+ }
1145
+ s[a].push(t);
1146
+ } else {
1147
+ if (e.isArray(a, l, i)) {
1148
+ s[a] = [ t ];
1149
+ } else {
1150
+ s[a] = t;
1151
+ }
1152
+ }
1153
+ }
1154
+ }
1155
+ if (typeof n === "string") {
1156
+ if (n.length > 0) s[e.textNodeName] = n;
1157
+ } else if (n !== undefined) s[e.textNodeName] = n;
1158
+ return s;
1159
+ }
1160
+
1161
+ function at(t) {
1162
+ const e = Object.keys(t);
1163
+ for (let t = 0; t < e.length; t++) {
1164
+ const i = e[t];
1165
+ if (i !== ":@") return i;
1166
+ }
1167
+ }
1168
+
1169
+ function lt(t, e, i, n) {
1170
+ if (e) {
1171
+ const s = Object.keys(e);
1172
+ const r = s.length;
1173
+ for (let o = 0; o < r; o++) {
1174
+ const r = s[o];
1175
+ if (n.isArray(r, i + "." + r, true, true)) {
1176
+ t[r] = [ e[r] ];
1177
+ } else {
1178
+ t[r] = e[r];
1179
+ }
1180
+ }
1181
+ }
1182
+ }
1183
+
1184
+ function ut(t, e) {
1185
+ const {textNodeName: i} = e;
1186
+ const n = Object.keys(t).length;
1187
+ if (n === 0) {
1188
+ return true;
1189
+ }
1190
+ if (n === 1 && (t[i] || typeof t[i] === "boolean" || t[i] === 0)) {
1191
+ return true;
1192
+ }
1193
+ return false;
1194
+ }
1195
+
1196
+ st.prettify = rt;
1197
+
1198
+ const {buildOptions: ft} = E;
1199
+
1200
+ const ct = nt;
1201
+
1202
+ const {prettify: ht} = st;
1203
+
1204
+ const dt = e;
1205
+
1206
+ let pt = class XMLParser {
1207
+ constructor(t) {
1208
+ this.externalEntities = {};
1209
+ this.options = ft(t);
1210
+ }
1211
+ parse(t, e) {
1212
+ if (typeof t === "string") ; else if (t.toString) {
1213
+ t = t.toString();
1214
+ } else {
1215
+ throw new Error("XML data is accepted in String or Bytes[] form.");
1216
+ }
1217
+ if (e) {
1218
+ if (e === true) e = {};
1219
+ const i = dt.validate(t, e);
1220
+ if (i !== true) {
1221
+ throw Error(`${i.err.msg}:${i.err.line}:${i.err.col}`);
1222
+ }
1223
+ }
1224
+ const i = new ct(this.options);
1225
+ i.addExternalEntities(this.externalEntities);
1226
+ const n = i.parseXml(t);
1227
+ if (this.options.preserveOrder || n === undefined) return n; else return ht(n, this.options);
1228
+ }
1229
+ addEntity(t, e) {
1230
+ if (e.indexOf("&") !== -1) {
1231
+ throw new Error("Entity value can't have '&'");
1232
+ } else if (t.indexOf("&") !== -1 || t.indexOf(";") !== -1) {
1233
+ throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");
1234
+ } else if (e === "&") {
1235
+ throw new Error("An entity with value '&' is not permitted");
1236
+ } else {
1237
+ this.externalEntities[t] = e;
1238
+ }
1239
+ }
1240
+ };
1241
+
1242
+ var gt = pt;
1243
+
1244
+ const mt = "\n";
1245
+
1246
+ function xt(t, e) {
1247
+ let i = "";
1248
+ if (e.format && e.indentBy.length > 0) {
1249
+ i = mt;
1250
+ }
1251
+ return Nt(t, e, "", i);
1252
+ }
1253
+
1254
+ function Nt(t, e, i, n) {
1255
+ let s = "";
1256
+ let r = false;
1257
+ for (let o = 0; o < t.length; o++) {
1258
+ const a = t[o];
1259
+ const l = bt(a);
1260
+ if (l === undefined) continue;
1261
+ let u = "";
1262
+ if (i.length === 0) u = l; else u = `${i}.${l}`;
1263
+ if (l === e.textNodeName) {
1264
+ let t = a[l];
1265
+ if (!vt(u, e)) {
1266
+ t = e.tagValueProcessor(l, t);
1267
+ t = yt(t, e);
1268
+ }
1269
+ if (r) {
1270
+ s += n;
1271
+ }
1272
+ s += t;
1273
+ r = false;
1274
+ continue;
1275
+ } else if (l === e.cdataPropName) {
1276
+ if (r) {
1277
+ s += n;
1278
+ }
1279
+ s += `<![CDATA[${a[l][0][e.textNodeName]}]]>`;
1280
+ r = false;
1281
+ continue;
1282
+ } else if (l === e.commentPropName) {
1283
+ s += n + `\x3c!--${a[l][0][e.textNodeName]}--\x3e`;
1284
+ r = true;
1285
+ continue;
1286
+ } else if (l[0] === "?") {
1287
+ const t = Et(a[":@"], e);
1288
+ const i = l === "?xml" ? "" : n;
1289
+ let o = a[l][0][e.textNodeName];
1290
+ o = o.length !== 0 ? " " + o : "";
1291
+ s += i + `<${l}${o}${t}?>`;
1292
+ r = true;
1293
+ continue;
1294
+ }
1295
+ let f = n;
1296
+ if (f !== "") {
1297
+ f += e.indentBy;
1298
+ }
1299
+ const c = Et(a[":@"], e);
1300
+ const h = n + `<${l}${c}`;
1301
+ const d = Nt(a[l], e, u, f);
1302
+ if (e.unpairedTags.indexOf(l) !== -1) {
1303
+ if (e.suppressUnpairedNode) s += h + ">"; else s += h + "/>";
1304
+ } else if ((!d || d.length === 0) && e.suppressEmptyNode) {
1305
+ s += h + "/>";
1306
+ } else if (d && d.endsWith(">")) {
1307
+ s += h + `>${d}${n}</${l}>`;
1308
+ } else {
1309
+ s += h + ">";
1310
+ if (d && n !== "" && (d.includes("/>") || d.includes("</"))) {
1311
+ s += n + e.indentBy + d + n;
1312
+ } else {
1313
+ s += d;
1314
+ }
1315
+ s += `</${l}>`;
1316
+ }
1317
+ r = true;
1318
+ }
1319
+ return s;
1320
+ }
1321
+
1322
+ function bt(t) {
1323
+ const e = Object.keys(t);
1324
+ for (let i = 0; i < e.length; i++) {
1325
+ const n = e[i];
1326
+ if (!t.hasOwnProperty(n)) continue;
1327
+ if (n !== ":@") return n;
1328
+ }
1329
+ }
1330
+
1331
+ function Et(t, e) {
1332
+ let i = "";
1333
+ if (t && !e.ignoreAttributes) {
1334
+ for (let n in t) {
1335
+ if (!t.hasOwnProperty(n)) continue;
1336
+ let s = e.attributeValueProcessor(n, t[n]);
1337
+ s = yt(s, e);
1338
+ if (s === true && e.suppressBooleanAttributes) {
1339
+ i += ` ${n.substr(e.attributeNamePrefix.length)}`;
1340
+ } else {
1341
+ i += ` ${n.substr(e.attributeNamePrefix.length)}="${s}"`;
1342
+ }
1343
+ }
1344
+ }
1345
+ return i;
1346
+ }
1347
+
1348
+ function vt(t, e) {
1349
+ t = t.substr(0, t.length - e.textNodeName.length - 1);
1350
+ let i = t.substr(t.lastIndexOf(".") + 1);
1351
+ for (let n in e.stopNodes) {
1352
+ if (e.stopNodes[n] === t || e.stopNodes[n] === "*." + i) return true;
1353
+ }
1354
+ return false;
1355
+ }
1356
+
1357
+ function yt(t, e) {
1358
+ if (t && t.length > 0 && e.processEntities) {
1359
+ for (let i = 0; i < e.entities.length; i++) {
1360
+ const n = e.entities[i];
1361
+ t = t.replace(n.regex, n.val);
1362
+ }
1363
+ }
1364
+ return t;
1365
+ }
1366
+
1367
+ var Tt = xt;
1368
+
1369
+ const Ot = Tt;
1370
+
1371
+ const Pt = $;
1372
+
1373
+ const At = {
1374
+ attributeNamePrefix: "@_",
1375
+ attributesGroupName: false,
1376
+ textNodeName: "#text",
1377
+ ignoreAttributes: true,
1378
+ cdataPropName: false,
1379
+ format: false,
1380
+ indentBy: " ",
1381
+ suppressEmptyNode: false,
1382
+ suppressUnpairedNode: true,
1383
+ suppressBooleanAttributes: true,
1384
+ tagValueProcessor: function(t, e) {
1385
+ return e;
1386
+ },
1387
+ attributeValueProcessor: function(t, e) {
1388
+ return e;
1389
+ },
1390
+ preserveOrder: false,
1391
+ commentPropName: false,
1392
+ unpairedTags: [],
1393
+ entities: [ {
1394
+ regex: new RegExp("&", "g"),
1395
+ val: "&amp;"
1396
+ }, {
1397
+ regex: new RegExp(">", "g"),
1398
+ val: "&gt;"
1399
+ }, {
1400
+ regex: new RegExp("<", "g"),
1401
+ val: "&lt;"
1402
+ }, {
1403
+ regex: new RegExp("'", "g"),
1404
+ val: "&apos;"
1405
+ }, {
1406
+ regex: new RegExp('"', "g"),
1407
+ val: "&quot;"
1408
+ } ],
1409
+ processEntities: true,
1410
+ stopNodes: [],
1411
+ oneListGroup: false
1412
+ };
1413
+
1414
+ function wt(t) {
1415
+ this.options = Object.assign({}, At, t);
1416
+ if (this.options.ignoreAttributes === true || this.options.attributesGroupName) {
1417
+ this.isAttribute = function() {
114
1418
  return false;
1419
+ };
1420
+ } else {
1421
+ this.ignoreAttributesFn = Pt(this.options.ignoreAttributes);
1422
+ this.attrPrefixLen = this.options.attributeNamePrefix.length;
1423
+ this.isAttribute = St;
1424
+ }
1425
+ this.processTextOrObjNode = Ct;
1426
+ if (this.options.format) {
1427
+ this.indentate = It;
1428
+ this.tagEndChar = ">\n";
1429
+ this.newLine = "\n";
1430
+ } else {
1431
+ this.indentate = function() {
1432
+ return "";
1433
+ };
1434
+ this.tagEndChar = ">";
1435
+ this.newLine = "";
1436
+ }
1437
+ }
1438
+
1439
+ wt.prototype.build = function(t) {
1440
+ if (this.options.preserveOrder) {
1441
+ return Ot(t, this.options);
1442
+ } else {
1443
+ if (Array.isArray(t) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1) {
1444
+ t = {
1445
+ [this.options.arrayNodeName]: t
1446
+ };
1447
+ }
1448
+ return this.j2x(t, 0, []).val;
1449
+ }
1450
+ };
1451
+
1452
+ wt.prototype.j2x = function(t, e, i) {
1453
+ let n = "";
1454
+ let s = "";
1455
+ const r = i.join(".");
1456
+ for (let o in t) {
1457
+ if (!Object.prototype.hasOwnProperty.call(t, o)) continue;
1458
+ if (typeof t[o] === "undefined") {
1459
+ if (this.isAttribute(o)) {
1460
+ s += "";
1461
+ }
1462
+ } else if (t[o] === null) {
1463
+ if (this.isAttribute(o)) {
1464
+ s += "";
1465
+ } else if (o === this.options.cdataPropName) {
1466
+ s += "";
1467
+ } else if (o[0] === "?") {
1468
+ s += this.indentate(e) + "<" + o + "?" + this.tagEndChar;
1469
+ } else {
1470
+ s += this.indentate(e) + "<" + o + "/" + this.tagEndChar;
1471
+ }
1472
+ } else if (t[o] instanceof Date) {
1473
+ s += this.buildTextValNode(t[o], o, "", e);
1474
+ } else if (typeof t[o] !== "object") {
1475
+ const i = this.isAttribute(o);
1476
+ if (i && !this.ignoreAttributesFn(i, r)) {
1477
+ n += this.buildAttrPairStr(i, "" + t[o]);
1478
+ } else if (!i) {
1479
+ if (o === this.options.textNodeName) {
1480
+ let e = this.options.tagValueProcessor(o, "" + t[o]);
1481
+ s += this.replaceEntitiesValue(e);
1482
+ } else {
1483
+ s += this.buildTextValNode(t[o], o, "", e);
1484
+ }
1485
+ }
1486
+ } else if (Array.isArray(t[o])) {
1487
+ const n = t[o].length;
1488
+ let r = "";
1489
+ let a = "";
1490
+ for (let l = 0; l < n; l++) {
1491
+ const n = t[o][l];
1492
+ if (typeof n === "undefined") ; else if (n === null) {
1493
+ if (o[0] === "?") s += this.indentate(e) + "<" + o + "?" + this.tagEndChar; else s += this.indentate(e) + "<" + o + "/" + this.tagEndChar;
1494
+ } else if (typeof n === "object") {
1495
+ if (this.options.oneListGroup) {
1496
+ const t = this.j2x(n, e + 1, i.concat(o));
1497
+ r += t.val;
1498
+ if (this.options.attributesGroupName && n.hasOwnProperty(this.options.attributesGroupName)) {
1499
+ a += t.attrStr;
1500
+ }
1501
+ } else {
1502
+ r += this.processTextOrObjNode(n, o, e, i);
1503
+ }
1504
+ } else {
1505
+ if (this.options.oneListGroup) {
1506
+ let t = this.options.tagValueProcessor(o, n);
1507
+ t = this.replaceEntitiesValue(t);
1508
+ r += t;
1509
+ } else {
1510
+ r += this.buildTextValNode(n, o, "", e);
1511
+ }
1512
+ }
1513
+ }
1514
+ if (this.options.oneListGroup) {
1515
+ r = this.buildObjectNode(r, o, a, e);
1516
+ }
1517
+ s += r;
1518
+ } else {
1519
+ if (this.options.attributesGroupName && o === this.options.attributesGroupName) {
1520
+ const e = Object.keys(t[o]);
1521
+ const i = e.length;
1522
+ for (let s = 0; s < i; s++) {
1523
+ n += this.buildAttrPairStr(e[s], "" + t[o][e[s]]);
1524
+ }
1525
+ } else {
1526
+ s += this.processTextOrObjNode(t[o], o, e, i);
1527
+ }
115
1528
  }
116
- return a(e);
1529
+ }
1530
+ return {
1531
+ attrStr: n,
1532
+ val: s
117
1533
  };
1534
+ };
1535
+
1536
+ wt.prototype.buildAttrPairStr = function(t, e) {
1537
+ e = this.options.attributeValueProcessor(t, "" + e);
1538
+ e = this.replaceEntitiesValue(e);
1539
+ if (this.options.suppressBooleanAttributes && e === "true") {
1540
+ return " " + t;
1541
+ } else return " " + t + '="' + e + '"';
1542
+ };
1543
+
1544
+ function Ct(t, e, i, n) {
1545
+ const s = this.j2x(t, i + 1, n.concat(e));
1546
+ if (t[this.options.textNodeName] !== undefined && Object.keys(t).length === 1) {
1547
+ return this.buildTextValNode(t[this.options.textNodeName], e, s.attrStr, i);
1548
+ } else {
1549
+ return this.buildObjectNode(s.val, e, s.attrStr, i);
1550
+ }
1551
+ }
1552
+
1553
+ wt.prototype.buildObjectNode = function(t, e, i, n) {
1554
+ if (t === "") {
1555
+ if (e[0] === "?") return this.indentate(n) + "<" + e + i + "?" + this.tagEndChar; else {
1556
+ return this.indentate(n) + "<" + e + i + this.closeTag(e) + this.tagEndChar;
1557
+ }
1558
+ } else {
1559
+ let s = "</" + e + this.tagEndChar;
1560
+ let r = "";
1561
+ if (e[0] === "?") {
1562
+ r = "?";
1563
+ s = "";
1564
+ }
1565
+ if ((i || i === "") && t.indexOf("<") === -1) {
1566
+ return this.indentate(n) + "<" + e + i + r + ">" + t + s;
1567
+ } else if (this.options.commentPropName !== false && e === this.options.commentPropName && r.length === 0) {
1568
+ return this.indentate(n) + `\x3c!--${t}--\x3e` + this.newLine;
1569
+ } else {
1570
+ return this.indentate(n) + "<" + e + i + r + this.tagEndChar + t + this.indentate(n) + s;
1571
+ }
1572
+ }
1573
+ };
1574
+
1575
+ wt.prototype.closeTag = function(t) {
1576
+ let e = "";
1577
+ if (this.options.unpairedTags.indexOf(t) !== -1) {
1578
+ if (!this.options.suppressUnpairedNode) e = "/";
1579
+ } else if (this.options.suppressEmptyNode) {
1580
+ e = "/";
1581
+ } else {
1582
+ e = `></${t}`;
1583
+ }
1584
+ return e;
1585
+ };
1586
+
1587
+ wt.prototype.buildTextValNode = function(t, e, i, n) {
1588
+ if (this.options.cdataPropName !== false && e === this.options.cdataPropName) {
1589
+ return this.indentate(n) + `<![CDATA[${t}]]>` + this.newLine;
1590
+ } else if (this.options.commentPropName !== false && e === this.options.commentPropName) {
1591
+ return this.indentate(n) + `\x3c!--${t}--\x3e` + this.newLine;
1592
+ } else if (e[0] === "?") {
1593
+ return this.indentate(n) + "<" + e + i + "?" + this.tagEndChar;
1594
+ } else {
1595
+ let s = this.options.tagValueProcessor(e, t);
1596
+ s = this.replaceEntitiesValue(s);
1597
+ if (s === "") {
1598
+ return this.indentate(n) + "<" + e + i + this.closeTag(e) + this.tagEndChar;
1599
+ } else {
1600
+ return this.indentate(n) + "<" + e + i + ">" + s + "</" + e + this.tagEndChar;
1601
+ }
1602
+ }
1603
+ };
1604
+
1605
+ wt.prototype.replaceEntitiesValue = function(t) {
1606
+ if (t && t.length > 0 && this.options.processEntities) {
1607
+ for (let e = 0; e < this.options.entities.length; e++) {
1608
+ const i = this.options.entities[e];
1609
+ t = t.replace(i.regex, i.val);
1610
+ }
1611
+ }
118
1612
  return t;
1613
+ };
1614
+
1615
+ function It(t) {
1616
+ return this.options.indentBy.repeat(t);
1617
+ }
1618
+
1619
+ function St(t) {
1620
+ if (t.startsWith(this.options.attributeNamePrefix) && t !== this.options.textNodeName) {
1621
+ return t.substr(this.attrPrefixLen);
1622
+ } else {
1623
+ return false;
1624
+ }
119
1625
  }
120
1626
 
121
- export { r };
1627
+ var Vt = wt;
1628
+
1629
+ const jt = e;
1630
+
1631
+ const kt = gt;
1632
+
1633
+ const Ft = Vt;
1634
+
1635
+ var $t = {
1636
+ XMLParser: kt,
1637
+ XMLValidator: jt,
1638
+ XMLBuilder: Ft
1639
+ };
1640
+
1641
+ export { $t as f };