@lovrabet/rabetbase-cli 2.5.10 → 2.5.11-beta.1

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 (376) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/api-group.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/api/generate-sdk-config-file.js +1 -1
  6. package/lib/api/legacy-api-file.js +1 -1
  7. package/lib/api/model-registry-file.js +1 -1
  8. package/lib/api/model-registry-scaffold.js +1 -1
  9. package/lib/api/model-source.js +1 -1
  10. package/lib/auth/auth-server-ui.js +1 -1
  11. package/lib/auth/auth-server.js +1 -1
  12. package/lib/auth/constant.js +1 -1
  13. package/lib/auth/get-cookie.js +1 -1
  14. package/lib/auth/get-session-user.js +1 -1
  15. package/lib/auth/is-session-valid.js +1 -1
  16. package/lib/auth/login-success-html.js +1 -1
  17. package/lib/auth/logout.js +1 -1
  18. package/lib/cli-flags.js +1 -1
  19. package/lib/cli.js +1 -1
  20. package/lib/commands/api/generate.js +1 -1
  21. package/lib/commands/api/index.js +1 -1
  22. package/lib/commands/api/list.js +1 -1
  23. package/lib/commands/api/pull.js +1 -1
  24. package/lib/commands/api/shared.js +1 -1
  25. package/lib/commands/app/detail.js +1 -1
  26. package/lib/commands/app/index.js +1 -1
  27. package/lib/commands/app/list.js +1 -1
  28. package/lib/commands/app/members-list.js +1 -1
  29. package/lib/commands/app/remote-directory.js +1 -1
  30. package/lib/commands/app/shared.js +1 -1
  31. package/lib/commands/app-config/delete.js +1 -1
  32. package/lib/commands/app-config/get.js +1 -1
  33. package/lib/commands/app-config/index.js +1 -1
  34. package/lib/commands/app-config/list.js +1 -1
  35. package/lib/commands/app-config/set.js +1 -1
  36. package/lib/commands/app-config/shared.js +1 -1
  37. package/lib/commands/auth/index.js +1 -1
  38. package/lib/commands/bff/create.js +1 -1
  39. package/lib/commands/bff/delete.js +1 -1
  40. package/lib/commands/bff/detail.js +1 -1
  41. package/lib/commands/bff/index.js +1 -1
  42. package/lib/commands/bff/list.js +1 -1
  43. package/lib/commands/bff/logs.js +1 -1
  44. package/lib/commands/bff/pull.js +1 -1
  45. package/lib/commands/bff/push.js +1 -1
  46. package/lib/commands/bff/status.js +1 -1
  47. package/lib/commands/cli-skill/index.js +1 -1
  48. package/lib/commands/cli-update.js +1 -1
  49. package/lib/commands/codegen/index.js +1 -1
  50. package/lib/commands/codegen/sdk.js +1 -1
  51. package/lib/commands/codegen/sql.js +1 -1
  52. package/lib/commands/common/app-registry.js +1 -1
  53. package/lib/commands/common/app-selector.js +1 -1
  54. package/lib/commands/common/async-task.js +1 -1
  55. package/lib/commands/common/dry-run.js +1 -1
  56. package/lib/commands/common/flags.js +1 -1
  57. package/lib/commands/common/local-file.js +1 -1
  58. package/lib/commands/common/validate.js +1 -1
  59. package/lib/commands/config/delete.js +1 -1
  60. package/lib/commands/config/get.js +1 -1
  61. package/lib/commands/config/index.js +1 -1
  62. package/lib/commands/config/init.js +1 -1
  63. package/lib/commands/config/list.js +1 -1
  64. package/lib/commands/config/set.js +1 -1
  65. package/lib/commands/config/shared.js +1 -1
  66. package/lib/commands/dataset/batch-design.js +1 -1
  67. package/lib/commands/dataset/business-group-update.js +1 -1
  68. package/lib/commands/dataset/business-groups.js +1 -1
  69. package/lib/commands/dataset/capability.js +1 -1
  70. package/lib/commands/dataset/cross-relation-create.js +1 -1
  71. package/lib/commands/dataset/cross-relation-delete.js +1 -1
  72. package/lib/commands/dataset/cross-relation-list.js +1 -1
  73. package/lib/commands/dataset/cross-relation-shared.js +1 -1
  74. package/lib/commands/dataset/cross-relation-update.js +1 -1
  75. package/lib/commands/dataset/delete.js +1 -1
  76. package/lib/commands/dataset/design-context.js +1 -1
  77. package/lib/commands/dataset/design-start.js +1 -1
  78. package/lib/commands/dataset/design-status.js +1 -1
  79. package/lib/commands/dataset/design-sync-retry.js +1 -1
  80. package/lib/commands/dataset/design-sync-status.js +1 -1
  81. package/lib/commands/dataset/design-validate.js +1 -1
  82. package/lib/commands/dataset/detail.js +1 -1
  83. package/lib/commands/dataset/extend-update.js +1 -1
  84. package/lib/commands/dataset/field-restore.js +1 -1
  85. package/lib/commands/dataset/field-update.js +1 -1
  86. package/lib/commands/dataset/generate.js +1 -1
  87. package/lib/commands/dataset/index.js +1 -1
  88. package/lib/commands/dataset/list.js +1 -1
  89. package/lib/commands/dataset/operations.js +1 -1
  90. package/lib/commands/dataset/relation-audit.js +1 -1
  91. package/lib/commands/dataset/relation-create.js +1 -1
  92. package/lib/commands/dataset/relation-delete.js +1 -1
  93. package/lib/commands/dataset/relation-shared.js +1 -1
  94. package/lib/commands/dataset/relation-update.js +1 -1
  95. package/lib/commands/dataset/relations.js +1 -1
  96. package/lib/commands/dataset/rename.js +1 -1
  97. package/lib/commands/dataset/restore.js +1 -1
  98. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  99. package/lib/commands/db/analysis-batching.js +1 -1
  100. package/lib/commands/db/analyze-batch-plan.js +1 -1
  101. package/lib/commands/db/analyze-cancel.js +1 -1
  102. package/lib/commands/db/analyze-start.js +1 -1
  103. package/lib/commands/db/analyze-status.js +1 -1
  104. package/lib/commands/db/create.js +1 -1
  105. package/lib/commands/db/cross-db-analysis-shared.js +1 -1
  106. package/lib/commands/db/cross-db-analyze-latest.js +1 -1
  107. package/lib/commands/db/cross-db-analyze-start.js +1 -1
  108. package/lib/commands/db/cross-db-analyze-status.js +1 -1
  109. package/lib/commands/db/delete.js +1 -1
  110. package/lib/commands/db/detail.js +1 -1
  111. package/lib/commands/db/diff-refresh-start.js +1 -1
  112. package/lib/commands/db/diff-refresh-status.js +1 -1
  113. package/lib/commands/db/diff.js +1 -1
  114. package/lib/commands/db/index.js +1 -1
  115. package/lib/commands/db/list.js +1 -1
  116. package/lib/commands/db/shared.js +1 -1
  117. package/lib/commands/db/table-diff-shared.js +1 -1
  118. package/lib/commands/db/tables.js +1 -1
  119. package/lib/commands/db/test.js +1 -1
  120. package/lib/commands/db/update.js +1 -1
  121. package/lib/commands/deployment/index.js +1 -1
  122. package/lib/commands/deployment/sync-all.js +1 -1
  123. package/lib/commands/deployment/sync-jobs.js +1 -1
  124. package/lib/commands/deployment/sync-status.js +1 -1
  125. package/lib/commands/doctor.js +1 -1
  126. package/lib/commands/file/index.js +1 -1
  127. package/lib/commands/flow/create.js +1 -1
  128. package/lib/commands/flow/detail.js +1 -1
  129. package/lib/commands/flow/index.js +1 -1
  130. package/lib/commands/flow/list.js +1 -1
  131. package/lib/commands/flow/page-list.js +1 -1
  132. package/lib/commands/flow/publish.js +1 -1
  133. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  134. package/lib/commands/flow/runtime-role-list.js +1 -1
  135. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  136. package/lib/commands/flow/runtime-user-search.js +1 -1
  137. package/lib/commands/flow/shared.js +1 -1
  138. package/lib/commands/flow/update.js +1 -1
  139. package/lib/commands/flow/validate.js +1 -1
  140. package/lib/commands/instant-api-policy/current.js +1 -1
  141. package/lib/commands/instant-api-policy/index.js +1 -1
  142. package/lib/commands/instant-api-policy/init.js +1 -1
  143. package/lib/commands/instant-api-policy/publish.js +1 -1
  144. package/lib/commands/instant-api-policy/pull.js +1 -1
  145. package/lib/commands/instant-api-policy/revision.js +1 -1
  146. package/lib/commands/instant-api-policy/revisions.js +1 -1
  147. package/lib/commands/instant-api-policy/rollback.js +1 -1
  148. package/lib/commands/instant-api-policy/shared.js +1 -1
  149. package/lib/commands/instant-api-policy/validate.js +1 -1
  150. package/lib/commands/issue/context.js +1 -1
  151. package/lib/commands/issue/index.js +1 -1
  152. package/lib/commands/issue/nudge.js +1 -1
  153. package/lib/commands/issue/report.js +1 -1
  154. package/lib/commands/kb/create.js +1 -1
  155. package/lib/commands/kb/delete.js +1 -1
  156. package/lib/commands/kb/detail.js +1 -1
  157. package/lib/commands/kb/index.js +1 -1
  158. package/lib/commands/kb/list.js +1 -1
  159. package/lib/commands/kb/search.js +1 -1
  160. package/lib/commands/kb/shared.js +1 -1
  161. package/lib/commands/kb/update.js +1 -1
  162. package/lib/commands/logs/index.js +1 -1
  163. package/lib/commands/menu/asset-update.js +1 -1
  164. package/lib/commands/menu/delete.js +1 -1
  165. package/lib/commands/menu/external-link-create.js +1 -1
  166. package/lib/commands/menu/external-link-update.js +1 -1
  167. package/lib/commands/menu/group-create.js +1 -1
  168. package/lib/commands/menu/group-update.js +1 -1
  169. package/lib/commands/menu/index.js +1 -1
  170. package/lib/commands/menu/list.js +1 -1
  171. package/lib/commands/menu/move.js +1 -1
  172. package/lib/commands/menu/regroup-start.js +1 -1
  173. package/lib/commands/menu/rename.js +1 -1
  174. package/lib/commands/menu/shared/compare-table.js +1 -1
  175. package/lib/commands/menu/shared/delete-plan.js +1 -1
  176. package/lib/commands/menu/shared/facts.js +1 -1
  177. package/lib/commands/menu/shared/index.js +1 -1
  178. package/lib/commands/menu/shared/inquirer.js +1 -1
  179. package/lib/commands/menu/shared/local-pages.js +1 -1
  180. package/lib/commands/menu/shared/logic.js +1 -1
  181. package/lib/commands/menu/shared/mutations.js +1 -1
  182. package/lib/commands/menu/shared/path.js +1 -1
  183. package/lib/commands/menu/shared/service.js +1 -1
  184. package/lib/commands/menu/shared/subapp-assets.js +1 -1
  185. package/lib/commands/menu/shared/sync-core.js +1 -1
  186. package/lib/commands/menu/shared/update-core.js +1 -1
  187. package/lib/commands/menu/shared/valid-url.js +1 -1
  188. package/lib/commands/menu/subapp-assets-status.js +1 -1
  189. package/lib/commands/menu/subapp-assets-update.js +1 -1
  190. package/lib/commands/menu/sync.js +1 -1
  191. package/lib/commands/menu/visibility-update.js +1 -1
  192. package/lib/commands/notification/config-create.js +1 -1
  193. package/lib/commands/notification/config-delete.js +1 -1
  194. package/lib/commands/notification/config-list.js +1 -1
  195. package/lib/commands/notification/config-update.js +1 -1
  196. package/lib/commands/notification/index.js +1 -1
  197. package/lib/commands/notification/shared.js +1 -1
  198. package/lib/commands/ocr/index.js +1 -1
  199. package/lib/commands/page/create.js +1 -1
  200. package/lib/commands/page/custom/detail.js +1 -1
  201. package/lib/commands/page/custom/list.js +1 -1
  202. package/lib/commands/page/custom/publish.js +1 -1
  203. package/lib/commands/page/custom/shared.js +1 -1
  204. package/lib/commands/page/custom/syntax.js +1 -1
  205. package/lib/commands/page/custom/update.js +1 -1
  206. package/lib/commands/page/data-list-status.js +1 -1
  207. package/lib/commands/page/generate-start.js +1 -1
  208. package/lib/commands/page/generate-status.js +1 -1
  209. package/lib/commands/page/index.js +1 -1
  210. package/lib/commands/page/pull.js +1 -1
  211. package/lib/commands/page/push.js +1 -1
  212. package/lib/commands/page/relation-audit.js +1 -1
  213. package/lib/commands/page/restore.js +1 -1
  214. package/lib/commands/page/shared.js +1 -1
  215. package/lib/commands/page/sync.js +1 -1
  216. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  217. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  218. package/lib/commands/project/create/format-elapsed.js +1 -1
  219. package/lib/commands/project/create/main.js +1 -1
  220. package/lib/commands/project/create/materialize-project-template.js +1 -1
  221. package/lib/commands/project/create/project-name.js +1 -1
  222. package/lib/commands/project/create/project-template-archive.js +1 -1
  223. package/lib/commands/project/create/project-template-path.js +1 -1
  224. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  225. package/lib/commands/project/create/use-format-code.js +1 -1
  226. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  227. package/lib/commands/project/domain-routing-sync.js +1 -1
  228. package/lib/commands/project/index.js +1 -1
  229. package/lib/commands/project/upgrade.js +1 -1
  230. package/lib/commands/registry.js +1 -1
  231. package/lib/commands/role/delete.js +1 -1
  232. package/lib/commands/role/detail.js +1 -1
  233. package/lib/commands/role/index.js +1 -1
  234. package/lib/commands/role/list.js +1 -1
  235. package/lib/commands/role/shared.js +1 -1
  236. package/lib/commands/role/update.js +1 -1
  237. package/lib/commands/role/user-add.js +1 -1
  238. package/lib/commands/role/user-remove.js +1 -1
  239. package/lib/commands/role/user-resolve.js +1 -1
  240. package/lib/commands/rule/get.js +1 -1
  241. package/lib/commands/rule/index.js +1 -1
  242. package/lib/commands/rule/list.js +1 -1
  243. package/lib/commands/rule/set.js +1 -1
  244. package/lib/commands/rule/shared.js +1 -1
  245. package/lib/commands/run/index.js +1 -1
  246. package/lib/commands/schema.js +1 -1
  247. package/lib/commands/sql/create.js +1 -1
  248. package/lib/commands/sql/delete.js +1 -1
  249. package/lib/commands/sql/detail.js +1 -1
  250. package/lib/commands/sql/exec.js +1 -1
  251. package/lib/commands/sql/index.js +1 -1
  252. package/lib/commands/sql/list.js +1 -1
  253. package/lib/commands/sql/pull.js +1 -1
  254. package/lib/commands/sql/push.js +1 -1
  255. package/lib/commands/sql/shared.js +1 -1
  256. package/lib/commands/sql/status.js +1 -1
  257. package/lib/commands/sql/validate.js +1 -1
  258. package/lib/commands/task/index.js +1 -1
  259. package/lib/commands/task/status.js +1 -1
  260. package/lib/commands/tenant/index.js +1 -1
  261. package/lib/commands/tenant/members-list.js +1 -1
  262. package/lib/commands/tenant/shared.js +1 -1
  263. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  264. package/lib/commands/user-account/feishu-bind.js +1 -1
  265. package/lib/commands/user-account/index.js +1 -1
  266. package/lib/commands/workspace/add.js +1 -1
  267. package/lib/commands/workspace/index.js +1 -1
  268. package/lib/commands/workspace/remove.js +1 -1
  269. package/lib/config/domain-config.js +1 -1
  270. package/lib/config/project-domain-routing.js +1 -1
  271. package/lib/config/region-config.js +1 -1
  272. package/lib/config/schema.js +1 -1
  273. package/lib/constant/cdn.js +1 -1
  274. package/lib/constant/cli.js +1 -1
  275. package/lib/constant/defaults.js +1 -1
  276. package/lib/constant/domain.js +1 -1
  277. package/lib/constant/env.js +1 -1
  278. package/lib/constant/output.js +1 -1
  279. package/lib/constant/paths.js +1 -1
  280. package/lib/constant/region.js +1 -1
  281. package/lib/constant/risk.js +1 -1
  282. package/lib/constant/routing-profile.js +1 -1
  283. package/lib/context/app-resolver.js +1 -1
  284. package/lib/context/auth-resolver.js +1 -1
  285. package/lib/context/config-loader.js +1 -1
  286. package/lib/context.js +1 -1
  287. package/lib/core/alias-resolver.js +1 -1
  288. package/lib/core/api-client.js +1 -1
  289. package/lib/core/bff/config.js +1 -1
  290. package/lib/core/bff/file-system.js +1 -1
  291. package/lib/core/bff/hash.js +1 -1
  292. package/lib/core/bff/hook-directory.js +1 -1
  293. package/lib/core/bff/lock.js +1 -1
  294. package/lib/core/bff/utils.js +1 -1
  295. package/lib/core/cross-db-analysis.js +1 -1
  296. package/lib/core/cross-db-relation.js +1 -1
  297. package/lib/core/db-resolver.js +1 -1
  298. package/lib/core/flow-config.js +1 -1
  299. package/lib/core/instant-api-policy/config.js +1 -1
  300. package/lib/core/instant-api-policy/endpoints.js +1 -1
  301. package/lib/core/kb-management-client.js +1 -1
  302. package/lib/core/kb-search-client.js +1 -1
  303. package/lib/core/page/file-system.js +1 -1
  304. package/lib/core/page/hash.js +1 -1
  305. package/lib/core/page/lock.js +1 -1
  306. package/lib/core/page/lr-smart-jsx.js +1 -1
  307. package/lib/core/sql-index-auditor.js +1 -1
  308. package/lib/core/sql-sync/config.js +1 -1
  309. package/lib/core/sql-sync/file-system.js +1 -1
  310. package/lib/core/sql-sync/hash.js +1 -1
  311. package/lib/core/sql-sync/lock.js +1 -1
  312. package/lib/core/sql-sync/utils.js +1 -1
  313. package/lib/core/sql-validator.js +1 -1
  314. package/lib/errors.js +1 -1
  315. package/lib/framework/build-all-flags.js +1 -1
  316. package/lib/framework/error-output.js +1 -1
  317. package/lib/framework/explicit-yes.js +1 -1
  318. package/lib/framework/flags.js +1 -1
  319. package/lib/framework/help.js +1 -1
  320. package/lib/framework/index.js +1 -1
  321. package/lib/framework/output.js +1 -1
  322. package/lib/framework/response.js +1 -1
  323. package/lib/framework/runner-alias.js +1 -1
  324. package/lib/framework/runner.js +1 -1
  325. package/lib/framework/schema-export.js +1 -1
  326. package/lib/framework/supported-flags.js +1 -1
  327. package/lib/framework/types.js +1 -1
  328. package/lib/generated/build-info.d.ts +4 -4
  329. package/lib/generated/build-info.js +1 -1
  330. package/lib/generated/official-routing.js +1 -1
  331. package/lib/generated/routing-contract.js +1 -1
  332. package/lib/help.js +1 -1
  333. package/lib/postinstall.js +1 -1
  334. package/lib/runtime/confirmation.js +1 -1
  335. package/lib/runtime/event.js +1 -1
  336. package/lib/runtime/index.js +1 -1
  337. package/lib/runtime/queue.js +1 -1
  338. package/lib/runtime/resolve.js +1 -1
  339. package/lib/services/dataset-design/checkpoint.js +1 -1
  340. package/lib/services/dataset-design/commands.js +1 -1
  341. package/lib/services/dataset-design/contract.js +1 -1
  342. package/lib/skills/builtin-skill.js +1 -1
  343. package/lib/skills/main.js +1 -1
  344. package/lib/skills/npx-skills-add.js +1 -1
  345. package/lib/skills/skill-presence.js +1 -1
  346. package/lib/telemetry/cli-command-trace.js +1 -1
  347. package/lib/telemetry/cli-help-trace.js +1 -1
  348. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  349. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  350. package/lib/telemetry/send-cli-trace-log.js +1 -1
  351. package/lib/utils/ai_config.js +1 -1
  352. package/lib/utils/apply-jq-filter.js +1 -1
  353. package/lib/utils/cdn-config.js +1 -1
  354. package/lib/utils/check-sdk-version.js +1 -1
  355. package/lib/utils/cli-version-check.js +1 -1
  356. package/lib/utils/cli-version-policy.js +1 -1
  357. package/lib/utils/config.js +1 -1
  358. package/lib/utils/entity-with-id.js +1 -1
  359. package/lib/utils/file-utils.js +1 -1
  360. package/lib/utils/guides-cdn.js +1 -1
  361. package/lib/utils/http-client.js +1 -1
  362. package/lib/utils/is-non-interactive.js +1 -1
  363. package/lib/utils/logger.js +1 -1
  364. package/lib/utils/params.js +1 -1
  365. package/lib/utils/platform.js +1 -1
  366. package/lib/utils/sleep.js +1 -1
  367. package/lib/utils/template-replacer.js +1 -1
  368. package/lib/utils/update-notice.js +1 -1
  369. package/lib/utils/version.js +1 -1
  370. package/lib/utils/with-active-cookie.js +1 -1
  371. package/lib/utils/write-cli-side-channel.js +1 -1
  372. package/package.json +1 -1
  373. package/skills/rabetbase/SKILL.md +1 -1
  374. package/skills/rabetbase-dataset-generation/SKILL.md +1 -1
  375. package/skills/rabetbase-page-generation/SKILL.md +1 -1
  376. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- (function(_0x419e8b,_0x53f081){const _0x5d92e1=a358_0x3a7e,_0x3d2fdd=_0x419e8b();while(!![]){try{const _0x30c196=-parseInt(_0x5d92e1(0xd8))/0x1*(parseInt(_0x5d92e1(0xdb))/0x2)+-parseInt(_0x5d92e1(0xd7))/0x3*(parseInt(_0x5d92e1(0xe7))/0x4)+-parseInt(_0x5d92e1(0xfd))/0x5*(parseInt(_0x5d92e1(0xea))/0x6)+-parseInt(_0x5d92e1(0xd5))/0x7*(parseInt(_0x5d92e1(0xd6))/0x8)+parseInt(_0x5d92e1(0xdd))/0x9+parseInt(_0x5d92e1(0xf9))/0xa*(-parseInt(_0x5d92e1(0xe9))/0xb)+-parseInt(_0x5d92e1(0xed))/0xc*(-parseInt(_0x5d92e1(0xf6))/0xd);if(_0x30c196===_0x53f081)break;else _0x3d2fdd['push'](_0x3d2fdd['shift']());}catch(_0x514c83){_0x3d2fdd['push'](_0x3d2fdd['shift']());}}}(a358_0x4288,0x60a08));import a358_0x4268ed from'node:fs';import a358_0x30253a from'node:path';import a358_0x4d47bd from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION='1.2.0';function isNonNumericVersion(_0x27749b){const _0x2b9f48=a358_0x3a7e,_0x120296=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x120296['some'](_0x2cdf04=>_0x2cdf04[_0x2b9f48(0xf8)](_0x27749b));}function a358_0x3a7e(_0x4e2787,_0x152f1a){_0x4e2787=_0x4e2787-0xd3;const _0x42887d=a358_0x4288();let _0x3a7e07=_0x42887d[_0x4e2787];return _0x3a7e07;}function getInstalledVersion(_0x1f55ee,_0x18a905){const _0x1012f7=a358_0x3a7e;try{const _0x35de32=a358_0x30253a[_0x1012f7(0xfc)](_0x1f55ee,'node_modules',_0x18a905,_0x1012f7(0xde));if(a358_0x4268ed[_0x1012f7(0xdf)](_0x35de32)){const _0x10e068=JSON[_0x1012f7(0xe3)](a358_0x4268ed['readFileSync'](_0x35de32,_0x1012f7(0xe8)));return _0x10e068[_0x1012f7(0xe4)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0xca01e2=a358_0x3a7e;try{const _0x4d72cc=await getCdnConfig();return _0x4d72cc?.[_0xca01e2(0xf4)]?.[_0xca01e2(0xf2)]?.['stableVersion']||null;}catch{return null;}}async function getSdkPackageName(){const _0x4375c8=a358_0x3a7e;try{const _0x5e04df=await getCdnConfig();return _0x5e04df?.[_0x4375c8(0xf4)]?.[_0x4375c8(0xf2)]?.['packageName']||_0x4375c8(0xf3);}catch{return'@lovrabet/sdk';}}function a358_0x4288(){const _0x45ac90=['49434QRgkas','240HxSLsf','1871889byJmpk','3025Mbosrw','stableVersion','\x20\x20\x20Current\x20version:\x20','292XtwqZE','utf8','4603680YDwIiF','package.json','existsSync','dependencies','devDependencies','readFileSync','parse','version','\x20\x20\x20Stable\x20version:\x20','npm\x20install\x20','4bLMCOs','utf-8','99xMYiJH','6sfeZnC','↪\x20SDK\x20update\x20available','coerce','669084gjiPXS','all','packageName','log','\x20\x20\x20Upgrade\x20command:\x20','node','@lovrabet/sdk','sdk','minVersion','429soExRa','\x1b[0m','test','88090bnKMQp','latest','\x1b[1m','join','2994815FszkqU','needsUpgrade','\x1b[33m'];a358_0x4288=function(){return _0x45ac90;};return a358_0x4288();}export async function checkSdkVersion(_0x429dc7){const _0x186569=a358_0x3a7e,_0x103f00=a358_0x30253a[_0x186569(0xfc)](_0x429dc7,_0x186569(0xde)),[_0xefb051,_0x463a58]=await Promise[_0x186569(0xee)]([getSdkStableVersion(),getSdkPackageName()]),_0x121f93=_0xefb051||FALLBACK_MIN_SDK_VERSION;if(!a358_0x4268ed[_0x186569(0xdf)](_0x103f00))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x121f93,'packageName':_0x463a58,'stableVersion':_0xefb051};try{const _0x560667=JSON[_0x186569(0xe3)](a358_0x4268ed[_0x186569(0xe2)](_0x103f00,_0x186569(0xdc))),_0x25c8eb=_0x560667[_0x186569(0xe0)]||{},_0x2f4844=_0x560667[_0x186569(0xe1)]||{},_0x2e78a9=_0x25c8eb[_0x463a58]||_0x2f4844[_0x463a58];if(!_0x2e78a9)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x121f93,'packageName':_0x463a58,'stableVersion':_0xefb051};let _0x2dbe60=getInstalledVersion(_0x429dc7,_0x463a58);!_0x2dbe60&&(_0x2dbe60=_0x2e78a9);if(isNonNumericVersion(_0x2e78a9))return{'installed':!![],'version':_0x2dbe60,'needsUpgrade':![],'minVersion':_0x121f93,'packageName':_0x463a58,'stableVersion':_0xefb051};const _0x188fcb=a358_0x4d47bd[_0x186569(0xec)](_0x2dbe60),_0x2da887=a358_0x4d47bd[_0x186569(0xec)](_0x121f93),_0x4e6f5a=_0x188fcb&&_0x2da887?a358_0x4d47bd['lt'](_0x188fcb,_0x2da887):![];return{'installed':!![],'version':_0x2dbe60,'needsUpgrade':_0x4e6f5a,'minVersion':_0x121f93,'packageName':_0x463a58,'stableVersion':_0xefb051};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x121f93,'packageName':_0x463a58,'stableVersion':_0xefb051};}}export function checkSdkVersionSync(_0x17f61c){const _0x4d1af2=a358_0x3a7e,_0x23b94f=a358_0x30253a[_0x4d1af2(0xfc)](_0x17f61c,'package.json'),_0x23d94=_0x4d1af2(0xf3);if(!a358_0x4268ed[_0x4d1af2(0xdf)](_0x23b94f))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x23d94,'stableVersion':null};try{const _0x335cca=JSON[_0x4d1af2(0xe3)](a358_0x4268ed['readFileSync'](_0x23b94f,_0x4d1af2(0xdc))),_0x115e69=_0x335cca[_0x4d1af2(0xe0)]||{},_0x520939=_0x335cca[_0x4d1af2(0xe1)]||{},_0x11a959=_0x115e69[_0x23d94]||_0x520939[_0x23d94];if(!_0x11a959)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x23d94,'stableVersion':null};let _0x573fe1=getInstalledVersion(_0x17f61c,_0x23d94);!_0x573fe1&&(_0x573fe1=_0x11a959);if(isNonNumericVersion(_0x11a959))return{'installed':!![],'version':_0x573fe1,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x23d94,'stableVersion':null};const _0x44a1c9=a358_0x4d47bd[_0x4d1af2(0xec)](_0x573fe1),_0x4b0497=_0x44a1c9?a358_0x4d47bd['lt'](_0x44a1c9,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x573fe1,'needsUpgrade':_0x4b0497,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x23d94,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x23d94,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x29ef0a){const _0x34240e=a358_0x3a7e;if(!_0x29ef0a[_0x34240e(0xd3)])return;const _0x5b86a0=_0x34240e(0xd4),_0x4125c4=_0x34240e(0xf7),_0x61be8a=_0x34240e(0xfb),_0x1f4355=_0x29ef0a[_0x34240e(0xef)]||_0x34240e(0xf3),_0xa087b3=_0x29ef0a[_0x34240e(0xd9)]||_0x29ef0a[_0x34240e(0xf5)],_0x15e747=_0x34240e(0xe6)+_0x1f4355+'@'+(_0xa087b3||_0x34240e(0xfa));console[_0x34240e(0xf0)](),console[_0x34240e(0xf0)](''+_0x5b86a0+_0x61be8a+_0x34240e(0xeb)+_0x4125c4),console[_0x34240e(0xf0)](_0x5b86a0+_0x34240e(0xda)+_0x1f4355+'@'+_0x29ef0a[_0x34240e(0xe4)]+_0x4125c4),console[_0x34240e(0xf0)](_0x5b86a0+_0x34240e(0xe5)+_0xa087b3+_0x4125c4),console[_0x34240e(0xf0)](_0x5b86a0+_0x34240e(0xf1)+_0x15e747+_0x4125c4),console[_0x34240e(0xf0)]();}
1
+ (function(_0x3ef77d,_0x4f286d){const _0x40250f=a358_0x1e68,_0x405678=_0x3ef77d();while(!![]){try{const _0x32914e=parseInt(_0x40250f(0x1de))/0x1+-parseInt(_0x40250f(0x1c2))/0x2*(-parseInt(_0x40250f(0x1db))/0x3)+parseInt(_0x40250f(0x1d2))/0x4*(parseInt(_0x40250f(0x1d6))/0x5)+parseInt(_0x40250f(0x1d4))/0x6*(parseInt(_0x40250f(0x1c7))/0x7)+-parseInt(_0x40250f(0x1c5))/0x8+parseInt(_0x40250f(0x1d5))/0x9+-parseInt(_0x40250f(0x1c3))/0xa;if(_0x32914e===_0x4f286d)break;else _0x405678['push'](_0x405678['shift']());}catch(_0x371e95){_0x405678['push'](_0x405678['shift']());}}}(a358_0x1843,0x6a6c2));import a358_0x39cf48 from'node:fs';import a358_0x1bd701 from'node:path';import a358_0x5f301a from'semver';import{getCdnConfig}from'../utils/cdn-config.js';function a358_0x1843(){const _0x3169b6=['5151744EnJziO','dependencies','7DrOLkO','node_modules','existsSync','devDependencies','package.json','sdk','latest','version','\x1b[1m','log','readFileSync','301108EdGfAI','coerce','3114834bMOFbg','122553iYrlLE','25UwDzMc','utf-8','some','utf8','node','6DfnNXE','test','\x20\x20\x20Stable\x20version:\x20','223227AhojlN','parse','join','npm\x20install\x20','all','stableVersion','packageName','@lovrabet/sdk','\x1b[0m','81586zATXUp','1340800eSzDME','\x20\x20\x20Current\x20version:\x20'];a358_0x1843=function(){return _0x3169b6;};return a358_0x1843();}const FALLBACK_MIN_SDK_VERSION='1.2.0';function isNonNumericVersion(_0xe98685){const _0x33f079=a358_0x1e68,_0x1b25e2=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x1b25e2[_0x33f079(0x1d8)](_0x13cdf7=>_0x13cdf7[_0x33f079(0x1dc)](_0xe98685));}function getInstalledVersion(_0x26e6a7,_0x28c9a6){const _0x5837ce=a358_0x1e68;try{const _0x11a93b=a358_0x1bd701[_0x5837ce(0x1e0)](_0x26e6a7,_0x5837ce(0x1c8),_0x28c9a6,'package.json');if(a358_0x39cf48[_0x5837ce(0x1c9)](_0x11a93b)){const _0x5f39fd=JSON['parse'](a358_0x39cf48[_0x5837ce(0x1d1)](_0x11a93b,_0x5837ce(0x1d7)));return _0x5f39fd[_0x5837ce(0x1ce)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x32d5bd=a358_0x1e68;try{const _0x3e3f38=await getCdnConfig();return _0x3e3f38?.[_0x32d5bd(0x1cc)]?.[_0x32d5bd(0x1da)]?.['stableVersion']||null;}catch{return null;}}async function getSdkPackageName(){const _0x31c0ed=a358_0x1e68;try{const _0x20ffdd=await getCdnConfig();return _0x20ffdd?.['sdk']?.['node']?.[_0x31c0ed(0x1e4)]||_0x31c0ed(0x1e5);}catch{return _0x31c0ed(0x1e5);}}function a358_0x1e68(_0x366748,_0x59e96d){_0x366748=_0x366748-0x1c1;const _0x18435f=a358_0x1843();let _0x1e6844=_0x18435f[_0x366748];return _0x1e6844;}export async function checkSdkVersion(_0x5e381b){const _0x80f884=a358_0x1e68,_0x59d74d=a358_0x1bd701['join'](_0x5e381b,_0x80f884(0x1cb)),[_0x368c4a,_0x7a6447]=await Promise[_0x80f884(0x1e2)]([getSdkStableVersion(),getSdkPackageName()]),_0xfe29a8=_0x368c4a||FALLBACK_MIN_SDK_VERSION;if(!a358_0x39cf48[_0x80f884(0x1c9)](_0x59d74d))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0xfe29a8,'packageName':_0x7a6447,'stableVersion':_0x368c4a};try{const _0x522abd=JSON[_0x80f884(0x1df)](a358_0x39cf48[_0x80f884(0x1d1)](_0x59d74d,_0x80f884(0x1d9))),_0x37c77a=_0x522abd[_0x80f884(0x1c6)]||{},_0x4342c0=_0x522abd[_0x80f884(0x1ca)]||{},_0x43ae10=_0x37c77a[_0x7a6447]||_0x4342c0[_0x7a6447];if(!_0x43ae10)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0xfe29a8,'packageName':_0x7a6447,'stableVersion':_0x368c4a};let _0x14d62c=getInstalledVersion(_0x5e381b,_0x7a6447);!_0x14d62c&&(_0x14d62c=_0x43ae10);if(isNonNumericVersion(_0x43ae10))return{'installed':!![],'version':_0x14d62c,'needsUpgrade':![],'minVersion':_0xfe29a8,'packageName':_0x7a6447,'stableVersion':_0x368c4a};const _0x5c0141=a358_0x5f301a[_0x80f884(0x1d3)](_0x14d62c),_0x3cb601=a358_0x5f301a[_0x80f884(0x1d3)](_0xfe29a8),_0x3115da=_0x5c0141&&_0x3cb601?a358_0x5f301a['lt'](_0x5c0141,_0x3cb601):![];return{'installed':!![],'version':_0x14d62c,'needsUpgrade':_0x3115da,'minVersion':_0xfe29a8,'packageName':_0x7a6447,'stableVersion':_0x368c4a};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0xfe29a8,'packageName':_0x7a6447,'stableVersion':_0x368c4a};}}export function checkSdkVersionSync(_0x4220c9){const _0x1b3380=a358_0x1e68,_0x3fefef=a358_0x1bd701['join'](_0x4220c9,_0x1b3380(0x1cb)),_0x1bdb63=_0x1b3380(0x1e5);if(!a358_0x39cf48[_0x1b3380(0x1c9)](_0x3fefef))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1bdb63,'stableVersion':null};try{const _0x2c8579=JSON[_0x1b3380(0x1df)](a358_0x39cf48[_0x1b3380(0x1d1)](_0x3fefef,_0x1b3380(0x1d9))),_0x1431da=_0x2c8579['dependencies']||{},_0x1f56ce=_0x2c8579[_0x1b3380(0x1ca)]||{},_0x482a20=_0x1431da[_0x1bdb63]||_0x1f56ce[_0x1bdb63];if(!_0x482a20)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1bdb63,'stableVersion':null};let _0x5005f9=getInstalledVersion(_0x4220c9,_0x1bdb63);!_0x5005f9&&(_0x5005f9=_0x482a20);if(isNonNumericVersion(_0x482a20))return{'installed':!![],'version':_0x5005f9,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1bdb63,'stableVersion':null};const _0x5edbd2=a358_0x5f301a[_0x1b3380(0x1d3)](_0x5005f9),_0x229a81=_0x5edbd2?a358_0x5f301a['lt'](_0x5edbd2,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x5005f9,'needsUpgrade':_0x229a81,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1bdb63,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1bdb63,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x1d6978){const _0x1d760b=a358_0x1e68;if(!_0x1d6978['needsUpgrade'])return;const _0xeeea2f='\x1b[33m',_0x53b949=_0x1d760b(0x1c1),_0xe848a3=_0x1d760b(0x1cf),_0x5d5dc5=_0x1d6978['packageName']||'@lovrabet/sdk',_0x203b69=_0x1d6978[_0x1d760b(0x1e3)]||_0x1d6978['minVersion'],_0x45350f=_0x1d760b(0x1e1)+_0x5d5dc5+'@'+(_0x203b69||_0x1d760b(0x1cd));console[_0x1d760b(0x1d0)](),console[_0x1d760b(0x1d0)](''+_0xeeea2f+_0xe848a3+'↪\x20SDK\x20update\x20available'+_0x53b949),console[_0x1d760b(0x1d0)](_0xeeea2f+_0x1d760b(0x1c4)+_0x5d5dc5+'@'+_0x1d6978[_0x1d760b(0x1ce)]+_0x53b949),console[_0x1d760b(0x1d0)](_0xeeea2f+_0x1d760b(0x1dd)+_0x203b69+_0x53b949),console[_0x1d760b(0x1d0)](_0xeeea2f+'\x20\x20\x20Upgrade\x20command:\x20'+_0x45350f+_0x53b949),console[_0x1d760b(0x1d0)]();}
@@ -1 +1 @@
1
- (function(_0xbdc671,_0x2ecfa9){const _0x450a07=a359_0x4375,_0xb3c4e=_0xbdc671();while(!![]){try{const _0x565a27=-parseInt(_0x450a07(0x1c4))/0x1*(-parseInt(_0x450a07(0x1da))/0x2)+-parseInt(_0x450a07(0x1bc))/0x3+-parseInt(_0x450a07(0x1db))/0x4*(parseInt(_0x450a07(0x1bf))/0x5)+parseInt(_0x450a07(0x1dd))/0x6*(-parseInt(_0x450a07(0x1c8))/0x7)+-parseInt(_0x450a07(0x1d6))/0x8*(parseInt(_0x450a07(0x1d7))/0x9)+-parseInt(_0x450a07(0x1d4))/0xa*(-parseInt(_0x450a07(0x1c9))/0xb)+parseInt(_0x450a07(0x1df))/0xc;if(_0x565a27===_0x2ecfa9)break;else _0xb3c4e['push'](_0xb3c4e['shift']());}catch(_0x3ff467){_0xb3c4e['push'](_0xb3c4e['shift']());}}}(a359_0x5067,0xd7a41));import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a359_0x55c8b9 from'semver';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';function a359_0x4375(_0x21f552,_0x5870d3){_0x21f552=_0x21f552-0x1b9;const _0x506798=a359_0x5067();let _0x4375d4=_0x506798[_0x21f552];return _0x4375d4;}import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x165995){const _0x199fca=a359_0x4375,_0x54235b=_0x165995[_0x199fca(0x1d8)]||_0x199fca(0x1d1);return _0x199fca(0x1c7)+NPM_PACKAGE_NAME+'@'+_0x54235b;}function getCurrentCliVersion(){const _0xdcd244=a359_0x4375;try{const _0x10a76f=fileURLToPath(import.meta.url),_0x30dcfb=resolve(dirname(_0x10a76f),_0xdcd244(0x1d3)),_0xa7b596=resolve(_0x30dcfb,'package.json'),_0x46aa8a=JSON['parse'](readFileSync(_0xa7b596,_0xdcd244(0x1be)));return _0x46aa8a[_0xdcd244(0x1e1)]||_0xdcd244(0x1cf);}catch{return _0xdcd244(0x1cf);}}export async function checkCliVersion(){const _0x3b70ea=a359_0x4375,_0x3ea751=getCurrentCliVersion(),_0x199a2f=await getCliVersionPolicy(),_0x211bb8=_0x199a2f?.['stableVersion']||null,_0x308d7a=_0x199a2f?.[_0x3b70ea(0x1cb)]||null;let _0x315a3f=![],_0xf3b1f4=![];const _0x5bffb8=a359_0x55c8b9[_0x3b70ea(0x1dc)](_0x3ea751);if(_0x5bffb8&&_0x211bb8)try{const _0x410600=a359_0x55c8b9[_0x3b70ea(0x1dc)](_0x211bb8);if(_0x410600)_0x315a3f=a359_0x55c8b9['lt'](_0x5bffb8,_0x410600);}catch{}if(_0x5bffb8&&_0x308d7a)try{const _0x5b8639=a359_0x55c8b9['coerce'](_0x308d7a);if(_0x5b8639)_0xf3b1f4=a359_0x55c8b9['lt'](_0x5bffb8,_0x5b8639);}catch{}return _0xf3b1f4&&(_0x315a3f=!![]),{'currentVersion':_0x3ea751,'stableVersion':_0x211bb8,'minimumVersion':_0x308d7a,'needsUpgrade':_0x315a3f,'belowMinimum':_0xf3b1f4,'isPreRelease':![],'upgradeMessage':_0x199a2f?.['upgradeMessage'],'minimumVersionMessage':_0x199a2f?.['minimumVersionMessage']};}export function printCliUpgradeWarning(_0x28edfb){const _0x1e4fd9=a359_0x4375;if(!_0x28edfb['needsUpgrade']&&!_0x28edfb[_0x1e4fd9(0x1d5)])return;const _0x3ec83e='\x1b[31m',_0x5133dc=_0x1e4fd9(0x1e0),_0x56e4d7=_0x1e4fd9(0x1d0),_0x44ebfb=_0x1e4fd9(0x1c6),_0x12511d=getCliUpgradeCommand(_0x28edfb);console[_0x1e4fd9(0x1bd)](),_0x28edfb[_0x1e4fd9(0x1d5)]?(console['log'](''+_0x3ec83e+_0x44ebfb+'↪\x20Critical\x20CLI\x20upgrade\x20required'+_0x56e4d7),console['log'](_0x3ec83e+_0x1e4fd9(0x1c2)+_0x28edfb[_0x1e4fd9(0x1ca)]+_0x56e4d7),_0x28edfb['minimumVersion']&&console['log'](_0x3ec83e+_0x1e4fd9(0x1d9)+_0x28edfb[_0x1e4fd9(0x1cb)]+_0x56e4d7),_0x28edfb[_0x1e4fd9(0x1d8)]&&_0x28edfb['stableVersion']!==_0x28edfb[_0x1e4fd9(0x1cb)]&&console['log'](_0x3ec83e+_0x1e4fd9(0x1de)+_0x28edfb[_0x1e4fd9(0x1d8)]+_0x56e4d7),_0x28edfb[_0x1e4fd9(0x1cd)]&&console[_0x1e4fd9(0x1bd)](_0x3ec83e+'\x20\x20\x20'+_0x28edfb[_0x1e4fd9(0x1cd)]+_0x56e4d7),console['log'](_0x3ec83e+_0x1e4fd9(0x1c3)+_0x12511d+_0x56e4d7)):(console['log'](''+_0x5133dc+_0x44ebfb+_0x1e4fd9(0x1ba)+_0x56e4d7),console[_0x1e4fd9(0x1bd)](_0x5133dc+'\x20\x20\x20Current\x20CLI\x20version:\x20'+_0x28edfb[_0x1e4fd9(0x1ca)]+_0x56e4d7),console[_0x1e4fd9(0x1bd)](_0x5133dc+_0x1e4fd9(0x1b9)+_0x28edfb[_0x1e4fd9(0x1d8)]+_0x56e4d7),_0x28edfb[_0x1e4fd9(0x1cc)]&&console[_0x1e4fd9(0x1bd)](_0x5133dc+'\x20\x20\x20'+_0x28edfb[_0x1e4fd9(0x1cc)]+_0x56e4d7),console[_0x1e4fd9(0x1bd)](_0x5133dc+_0x1e4fd9(0x1c3)+_0x12511d+_0x56e4d7)),console[_0x1e4fd9(0x1bd)]();}function a359_0x5067(){const _0x36ec14=['1.0.0','\x1b[0m','latest','validation','../..','210RsbnQg','belowMinimum','8pUHSvh','14984631asoGlL','stableVersion','\x20\x20\x20Minimum\x20supported:\x20','10WRuSaO','4NQvDuJ','coerce','6fHmRaK','\x20\x20\x20Recommended\x20stable:\x20','34650864jjUypW','\x1b[33m','version','\x20\x20\x20Stable\x20version:\x20','↪\x20New\x20version\x20available','Minimum\x20supported:\x20','2340117CqXFea','log','utf-8','8725015PmGweJ','Upgrade\x20command:\x20','Current\x20version:\x20','\x20\x20\x20Current\x20CLI\x20version:\x20','\x20\x20\x20Upgrade\x20command:\x20','140241OQMbnL','Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.','\x1b[1m','npm\x20install\x20-g\x20','1327123eYoiEb','876898DLkbRZ','currentVersion','minimumVersion','upgradeMessage','minimumVersionMessage','join'];a359_0x5067=function(){return _0x36ec14;};return a359_0x5067();}export function assertCliVersionSupported(_0x247adb){const _0x35c354=a359_0x4375;if(!_0x247adb[_0x35c354(0x1d5)])return;const _0x477d5f=[_0x247adb[_0x35c354(0x1cd)],_0x35c354(0x1c1)+_0x247adb[_0x35c354(0x1ca)],_0x247adb[_0x35c354(0x1cb)]?_0x35c354(0x1bb)+_0x247adb[_0x35c354(0x1cb)]:null,_0x35c354(0x1c0)+getCliUpgradeCommand(_0x247adb)]['filter'](Boolean)[_0x35c354(0x1ce)]('\x0a');throw CliErrors[_0x35c354(0x1d2)](_0x35c354(0x1c5),_0x477d5f);}
1
+ (function(_0x456fae,_0x3fb6af){const _0x518dc4=a359_0x44e5,_0x4aed60=_0x456fae();while(!![]){try{const _0x139d28=-parseInt(_0x518dc4(0x1fa))/0x1+parseInt(_0x518dc4(0x1fe))/0x2+parseInt(_0x518dc4(0x1ee))/0x3+parseInt(_0x518dc4(0x1ed))/0x4+-parseInt(_0x518dc4(0x1dc))/0x5*(-parseInt(_0x518dc4(0x1ef))/0x6)+-parseInt(_0x518dc4(0x201))/0x7+parseInt(_0x518dc4(0x1e4))/0x8;if(_0x139d28===_0x3fb6af)break;else _0x4aed60['push'](_0x4aed60['shift']());}catch(_0x2a4df8){_0x4aed60['push'](_0x4aed60['shift']());}}}(a359_0x53d5,0xd0e76));import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a359_0x19de95 from'semver';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x2542cb){const _0x3d3326=a359_0x44e5,_0x31dca0=_0x2542cb[_0x3d3326(0x1ea)]||_0x3d3326(0x1e1);return _0x3d3326(0x1f4)+NPM_PACKAGE_NAME+'@'+_0x31dca0;}function getCurrentCliVersion(){const _0x112c8b=a359_0x44e5;try{const _0x114c03=fileURLToPath(import.meta.url),_0x13fa8a=resolve(dirname(_0x114c03),_0x112c8b(0x1fd)),_0x896f0=resolve(_0x13fa8a,'package.json'),_0x1dbd43=JSON[_0x112c8b(0x1ff)](readFileSync(_0x896f0,_0x112c8b(0x1dd)));return _0x1dbd43[_0x112c8b(0x1f3)]||_0x112c8b(0x1e6);}catch{return _0x112c8b(0x1e6);}}function a359_0x44e5(_0x1bd4d7,_0x58edc7){_0x1bd4d7=_0x1bd4d7-0x1db;const _0x53d567=a359_0x53d5();let _0x44e5ca=_0x53d567[_0x1bd4d7];return _0x44e5ca;}export async function checkCliVersion(){const _0x52b004=a359_0x44e5,_0x29d0bf=getCurrentCliVersion(),_0x1410c6=await getCliVersionPolicy(),_0x4b7b7d=_0x1410c6?.[_0x52b004(0x1ea)]||null,_0x174e86=_0x1410c6?.[_0x52b004(0x1e5)]||null;let _0x130359=![],_0x29b919=![];const _0x23bd06=a359_0x19de95['coerce'](_0x29d0bf);if(_0x23bd06&&_0x4b7b7d)try{const _0x52a514=a359_0x19de95[_0x52b004(0x1e2)](_0x4b7b7d);if(_0x52a514)_0x130359=a359_0x19de95['lt'](_0x23bd06,_0x52a514);}catch{}if(_0x23bd06&&_0x174e86)try{const _0x1c1258=a359_0x19de95[_0x52b004(0x1e2)](_0x174e86);if(_0x1c1258)_0x29b919=a359_0x19de95['lt'](_0x23bd06,_0x1c1258);}catch{}return _0x29b919&&(_0x130359=!![]),{'currentVersion':_0x29d0bf,'stableVersion':_0x4b7b7d,'minimumVersion':_0x174e86,'needsUpgrade':_0x130359,'belowMinimum':_0x29b919,'isPreRelease':![],'upgradeMessage':_0x1410c6?.[_0x52b004(0x1fc)],'minimumVersionMessage':_0x1410c6?.[_0x52b004(0x1e8)]};}export function printCliUpgradeWarning(_0x417685){const _0x246b15=a359_0x44e5;if(!_0x417685[_0x246b15(0x1df)]&&!_0x417685[_0x246b15(0x1f5)])return;const _0x75d6db='\x1b[31m',_0xef3426=_0x246b15(0x200),_0x37dfb4=_0x246b15(0x1de),_0x148c78=_0x246b15(0x1ec),_0x408926=getCliUpgradeCommand(_0x417685);console[_0x246b15(0x1e0)](),_0x417685[_0x246b15(0x1f5)]?(console['log'](''+_0x75d6db+_0x148c78+_0x246b15(0x1db)+_0x37dfb4),console['log'](_0x75d6db+'\x20\x20\x20Current\x20CLI\x20version:\x20'+_0x417685['currentVersion']+_0x37dfb4),_0x417685[_0x246b15(0x1e5)]&&console[_0x246b15(0x1e0)](_0x75d6db+'\x20\x20\x20Minimum\x20supported:\x20'+_0x417685['minimumVersion']+_0x37dfb4),_0x417685[_0x246b15(0x1ea)]&&_0x417685[_0x246b15(0x1ea)]!==_0x417685[_0x246b15(0x1e5)]&&console[_0x246b15(0x1e0)](_0x75d6db+_0x246b15(0x1f2)+_0x417685[_0x246b15(0x1ea)]+_0x37dfb4),_0x417685[_0x246b15(0x1e8)]&&console['log'](_0x75d6db+'\x20\x20\x20'+_0x417685['minimumVersionMessage']+_0x37dfb4),console[_0x246b15(0x1e0)](_0x75d6db+_0x246b15(0x1f1)+_0x408926+_0x37dfb4)):(console[_0x246b15(0x1e0)](''+_0xef3426+_0x148c78+'↪\x20New\x20version\x20available'+_0x37dfb4),console[_0x246b15(0x1e0)](_0xef3426+_0x246b15(0x1f7)+_0x417685[_0x246b15(0x1e9)]+_0x37dfb4),console[_0x246b15(0x1e0)](_0xef3426+_0x246b15(0x1f6)+_0x417685[_0x246b15(0x1ea)]+_0x37dfb4),_0x417685['upgradeMessage']&&console['log'](_0xef3426+_0x246b15(0x1eb)+_0x417685[_0x246b15(0x1fc)]+_0x37dfb4),console[_0x246b15(0x1e0)](_0xef3426+'\x20\x20\x20Upgrade\x20command:\x20'+_0x408926+_0x37dfb4)),console[_0x246b15(0x1e0)]();}function a359_0x53d5(){const _0x38fa40=['\x20\x20\x20Current\x20CLI\x20version:\x20','Current\x20version:\x20','Minimum\x20supported:\x20','1094828HYzOKQ','Upgrade\x20command:\x20','upgradeMessage','../..','974742tDNTvX','parse','\x1b[33m','5729647WLWYba','↪\x20Critical\x20CLI\x20upgrade\x20required','84010tnkuUR','utf-8','\x1b[0m','needsUpgrade','log','latest','coerce','join','1118200TclAii','minimumVersion','1.0.0','validation','minimumVersionMessage','currentVersion','stableVersion','\x20\x20\x20','\x1b[1m','3416248DRCYfx','82983bFUsJX','450CHWzER','filter','\x20\x20\x20Upgrade\x20command:\x20','\x20\x20\x20Recommended\x20stable:\x20','version','npm\x20install\x20-g\x20','belowMinimum','\x20\x20\x20Stable\x20version:\x20'];a359_0x53d5=function(){return _0x38fa40;};return a359_0x53d5();}export function assertCliVersionSupported(_0xe5df38){const _0x3d06d5=a359_0x44e5;if(!_0xe5df38['belowMinimum'])return;const _0x2ce931=[_0xe5df38[_0x3d06d5(0x1e8)],_0x3d06d5(0x1f8)+_0xe5df38['currentVersion'],_0xe5df38[_0x3d06d5(0x1e5)]?_0x3d06d5(0x1f9)+_0xe5df38[_0x3d06d5(0x1e5)]:null,_0x3d06d5(0x1fb)+getCliUpgradeCommand(_0xe5df38)][_0x3d06d5(0x1f0)](Boolean)[_0x3d06d5(0x1e3)]('\x0a');throw CliErrors[_0x3d06d5(0x1e7)]('Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.',_0x2ce931);}
@@ -1 +1 @@
1
- (function(_0x50c92f,_0x9af383){const _0x48f33b=a360_0x341e,_0x35fee6=_0x50c92f();while(!![]){try{const _0x437410=parseInt(_0x48f33b(0xf6))/0x1*(parseInt(_0x48f33b(0xee))/0x2)+parseInt(_0x48f33b(0xe7))/0x3+-parseInt(_0x48f33b(0xf1))/0x4*(parseInt(_0x48f33b(0xec))/0x5)+parseInt(_0x48f33b(0xe5))/0x6*(-parseInt(_0x48f33b(0xed))/0x7)+parseInt(_0x48f33b(0xf5))/0x8+parseInt(_0x48f33b(0xeb))/0x9+-parseInt(_0x48f33b(0xf4))/0xa*(-parseInt(_0x48f33b(0xf7))/0xb);if(_0x437410===_0x9af383)break;else _0x35fee6['push'](_0x35fee6['shift']());}catch(_0x1c2dac){_0x35fee6['push'](_0x35fee6['shift']());}}}(a360_0x59bd,0x94dd9));import{getCliVersionPolicyUrl,getProjectTemplateAssetBaseUrl,getProjectTemplateLegacyAssetBaseUrl}from'../constant/cdn.js';import a360_0x511a99 from'semver';const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8,FETCH_TIMEOUT_MS=0xbb8;export function isBetaCliVersion(_0x48dbca){const _0x4c6ec7=a360_0x341e,_0x2d96d5=a360_0x511a99[_0x4c6ec7(0xf2)](_0x48dbca);return _0x2d96d5?a360_0x511a99[_0x4c6ec7(0xe1)](_0x2d96d5)?.[0x0]===_0x4c6ec7(0xe9):![];}export function resolveProjectTemplateDescriptor(_0x18be68,_0x1097b4){const _0x4ac03e=a360_0x341e;if(isBetaCliVersion(_0x1097b4))return _0x18be68[_0x4ac03e(0xe9)]?.[_0x4ac03e(0xe4)]??_0x18be68['projectTemplate'];return _0x18be68['projectTemplate'];}function a360_0x341e(_0x290719,_0xc2b0b8){_0x290719=_0x290719-0xdc;const _0x59bd8d=a360_0x59bd();let _0x341e45=_0x59bd8d[_0x290719];return _0x341e45;}function pickString(_0x2c0844){const _0x50f253=a360_0x341e;return typeof _0x2c0844===_0x50f253(0xde)&&_0x2c0844[_0x50f253(0xe6)]()[_0x50f253(0xf8)]>0x0?_0x2c0844[_0x50f253(0xe6)]():null;}function normalizeCliVersionPolicy(_0x1f14e4){const _0xec2a10=a360_0x341e;if(!_0x1f14e4||typeof _0x1f14e4!==_0xec2a10(0xe0))return null;const _0x21f290=_0x1f14e4,_0x37406e=_0x21f290[_0xec2a10(0xe2)]&&typeof _0x21f290[_0xec2a10(0xe2)]===_0xec2a10(0xe0)?_0x21f290['cli']:_0x21f290,_0x4ed08f=pickString(_0x37406e[_0xec2a10(0xdc)])||pickString(_0x37406e[_0xec2a10(0xef)])||pickString(_0x37406e[_0xec2a10(0xf0)]),_0x548976=pickString(_0x37406e[_0xec2a10(0xe3)])||pickString(_0x37406e['minVersion']);if(!_0x4ed08f&&!_0x548976)return null;return{'stableVersion':_0x4ed08f,'minimumVersion':_0x548976,'upgradeMessage':pickString(_0x37406e[_0xec2a10(0xfa)])||undefined,'minimumVersionMessage':pickString(_0x37406e[_0xec2a10(0xdd)])||undefined};}function a360_0x59bd(){const _0x4f4efd=['5vlVJky','24143bRISKB','14528kGdcMd','latestVersion','recommendedVersion','1952592DbiEjH','valid','signal','932390lATXlr','1269304dnqANN','28ZcctQE','44lwLYHO','length','abort','upgradeMessage','stableVersion','minimumVersionMessage','string','json','object','prerelease','cli','minimumVersion','projectTemplate','1194DIIYAf','trim','3129663mGtRVL','application/json','beta','now','54180lGGrar'];a360_0x59bd=function(){return _0x4f4efd;};return a360_0x59bd();}async function fetchRabetbaseCdnConfigAt(_0x4cdaae){const _0x29943e=a360_0x341e,_0x2425bf=new AbortController(),_0xa049fe=setTimeout(()=>_0x2425bf[_0x29943e(0xf9)](),FETCH_TIMEOUT_MS);try{const _0x48d1cb=await fetch(_0x4cdaae,{'headers':{'Accept':_0x29943e(0xe8)},'signal':_0x2425bf[_0x29943e(0xf3)]});if(!_0x48d1cb['ok'])return null;const _0x424fb0=await _0x48d1cb[_0x29943e(0xdf)]();return _0x424fb0&&typeof _0x424fb0==='object'?_0x424fb0:null;}catch{return null;}finally{clearTimeout(_0xa049fe);}}export async function fetchRabetbaseCdnConfig(){return fetchRabetbaseCdnConfigAt(getCliVersionPolicyUrl());}export async function fetchProjectTemplateCdnConfig(){const _0x55c105=await getRabetbaseCdnConfig();return _0x55c105?{'config':_0x55c105,'assetBaseUrl':getProjectTemplateAssetBaseUrl(),'legacyAssetBaseUrl':getProjectTemplateLegacyAssetBaseUrl()}:null;}export async function fetchCliVersionPolicy(){return normalizeCliVersionPolicy(await fetchRabetbaseCdnConfig());}let cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];export async function getRabetbaseCdnConfig(){const _0x2f5409=a360_0x341e,_0xeafd66=Date[_0x2f5409(0xea)]();if(hasCachedConfig){const _0x12b55f=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0xeafd66-cacheTime<_0x12b55f)return cachedConfig;}return cachedConfig=await fetchRabetbaseCdnConfig(),cacheTime=_0xeafd66,hasCachedConfig=!![],cachedConfig;}export async function getCliVersionPolicy(){return normalizeCliVersionPolicy(await getRabetbaseCdnConfig());}export function clearCliVersionPolicyCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
1
+ function a360_0x58dd(_0xb1c187,_0x4874d3){_0xb1c187=_0xb1c187-0x1d1;const _0x532776=a360_0x5327();let _0x58ddd4=_0x532776[_0xb1c187];return _0x58ddd4;}(function(_0x115355,_0x33c310){const _0x5084f2=a360_0x58dd,_0x52b1e4=_0x115355();while(!![]){try{const _0x475618=parseInt(_0x5084f2(0x1e5))/0x1+-parseInt(_0x5084f2(0x1ec))/0x2*(-parseInt(_0x5084f2(0x1e8))/0x3)+-parseInt(_0x5084f2(0x1d7))/0x4*(parseInt(_0x5084f2(0x1d1))/0x5)+parseInt(_0x5084f2(0x1db))/0x6+-parseInt(_0x5084f2(0x1e1))/0x7*(parseInt(_0x5084f2(0x1d8))/0x8)+parseInt(_0x5084f2(0x1dc))/0x9+parseInt(_0x5084f2(0x1de))/0xa*(-parseInt(_0x5084f2(0x1d3))/0xb);if(_0x475618===_0x33c310)break;else _0x52b1e4['push'](_0x52b1e4['shift']());}catch(_0x3dd7c2){_0x52b1e4['push'](_0x52b1e4['shift']());}}}(a360_0x5327,0x76922));import{getCliVersionPolicyUrl,getProjectTemplateAssetBaseUrl,getProjectTemplateLegacyAssetBaseUrl}from'../constant/cdn.js';import a360_0x45a56 from'semver';const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8,FETCH_TIMEOUT_MS=0xbb8;export function isBetaCliVersion(_0x45b8c6){const _0x4cf06d=a360_0x58dd,_0x19bbc8=a360_0x45a56[_0x4cf06d(0x1eb)](_0x45b8c6);return _0x19bbc8?a360_0x45a56[_0x4cf06d(0x1da)](_0x19bbc8)?.[0x0]===_0x4cf06d(0x1dd):![];}export function resolveProjectTemplateDescriptor(_0x4d8a79,_0x5edd43){const _0x4eb9f6=a360_0x58dd;if(isBetaCliVersion(_0x5edd43))return _0x4d8a79[_0x4eb9f6(0x1dd)]?.[_0x4eb9f6(0x1e9)]??_0x4d8a79[_0x4eb9f6(0x1e9)];return _0x4d8a79[_0x4eb9f6(0x1e9)];}function pickString(_0x32fb56){const _0x2217ad=a360_0x58dd;return typeof _0x32fb56===_0x2217ad(0x1df)&&_0x32fb56[_0x2217ad(0x1e7)]()[_0x2217ad(0x1d6)]>0x0?_0x32fb56[_0x2217ad(0x1e7)]():null;}function normalizeCliVersionPolicy(_0x5dbff9){const _0x4934c2=a360_0x58dd;if(!_0x5dbff9||typeof _0x5dbff9!==_0x4934c2(0x1e2))return null;const _0x5a9244=_0x5dbff9,_0x42d0b8=_0x5a9244[_0x4934c2(0x1e6)]&&typeof _0x5a9244['cli']==='object'?_0x5a9244[_0x4934c2(0x1e6)]:_0x5a9244,_0x44b792=pickString(_0x42d0b8[_0x4934c2(0x1d5)])||pickString(_0x42d0b8[_0x4934c2(0x1e0)])||pickString(_0x42d0b8[_0x4934c2(0x1e4)]),_0x4abf20=pickString(_0x42d0b8[_0x4934c2(0x1ee)])||pickString(_0x42d0b8[_0x4934c2(0x1d4)]);if(!_0x44b792&&!_0x4abf20)return null;return{'stableVersion':_0x44b792,'minimumVersion':_0x4abf20,'upgradeMessage':pickString(_0x42d0b8['upgradeMessage'])||undefined,'minimumVersionMessage':pickString(_0x42d0b8['minimumVersionMessage'])||undefined};}async function fetchRabetbaseCdnConfigAt(_0x3f640b){const _0x1249e2=a360_0x58dd,_0x309521=new AbortController(),_0x399ebf=setTimeout(()=>_0x309521[_0x1249e2(0x1d2)](),FETCH_TIMEOUT_MS);try{const _0x14218b=await fetch(_0x3f640b,{'headers':{'Accept':_0x1249e2(0x1ed)},'signal':_0x309521[_0x1249e2(0x1ea)]});if(!_0x14218b['ok'])return null;const _0x33dfeb=await _0x14218b[_0x1249e2(0x1e3)]();return _0x33dfeb&&typeof _0x33dfeb==='object'?_0x33dfeb:null;}catch{return null;}finally{clearTimeout(_0x399ebf);}}function a360_0x5327(){const _0x23ef8e=['stableVersion','length','4LYoBkj','2946736oBsrWW','now','prerelease','5533722DXiEnd','6625602ogaqFM','beta','17661090lorgqj','string','latestVersion','7iWAjLH','object','json','recommendedVersion','37316HxQxMl','cli','trim','70257flnGmI','projectTemplate','signal','valid','82BjdjrT','application/json','minimumVersion','179215DYPunw','abort','11UNndup','minVersion'];a360_0x5327=function(){return _0x23ef8e;};return a360_0x5327();}export async function fetchRabetbaseCdnConfig(){return fetchRabetbaseCdnConfigAt(getCliVersionPolicyUrl());}export async function fetchProjectTemplateCdnConfig(){const _0x3062bc=await getRabetbaseCdnConfig();return _0x3062bc?{'config':_0x3062bc,'assetBaseUrl':getProjectTemplateAssetBaseUrl(),'legacyAssetBaseUrl':getProjectTemplateLegacyAssetBaseUrl()}:null;}export async function fetchCliVersionPolicy(){return normalizeCliVersionPolicy(await fetchRabetbaseCdnConfig());}let cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];export async function getRabetbaseCdnConfig(){const _0xa3061d=a360_0x58dd,_0x4871ec=Date[_0xa3061d(0x1d9)]();if(hasCachedConfig){const _0x2fc2cb=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x4871ec-cacheTime<_0x2fc2cb)return cachedConfig;}return cachedConfig=await fetchRabetbaseCdnConfig(),cacheTime=_0x4871ec,hasCachedConfig=!![],cachedConfig;}export async function getCliVersionPolicy(){return normalizeCliVersionPolicy(await getRabetbaseCdnConfig());}export function clearCliVersionPolicyCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
@@ -1 +1 @@
1
- const a361_0x45c33a=a361_0x346e;(function(_0x1d81b3,_0x199929){const _0x5e1b06=a361_0x346e,_0x338e4f=_0x1d81b3();while(!![]){try{const _0x3e6c88=-parseInt(_0x5e1b06(0x173))/0x1*(-parseInt(_0x5e1b06(0x16c))/0x2)+-parseInt(_0x5e1b06(0x169))/0x3*(-parseInt(_0x5e1b06(0x16d))/0x4)+-parseInt(_0x5e1b06(0x168))/0x5*(-parseInt(_0x5e1b06(0x16a))/0x6)+-parseInt(_0x5e1b06(0x16f))/0x7+parseInt(_0x5e1b06(0x170))/0x8+parseInt(_0x5e1b06(0x171))/0x9+parseInt(_0x5e1b06(0x172))/0xa*(-parseInt(_0x5e1b06(0x174))/0xb);if(_0x3e6c88===_0x199929)break;else _0x338e4f['push'](_0x338e4f['shift']());}catch(_0x514e59){_0x338e4f['push'](_0x338e4f['shift']());}}}(a361_0x10fd,0x353f9));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a361_0x58de82,getMultiAppConfigs as a361_0x123b04,getTemplateBaseUrl as a361_0x227c04}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';function a361_0x346e(_0x531fc9,_0xa9b5a4){_0x531fc9=_0x531fc9-0x168;const _0x10fd12=a361_0x10fd();let _0x346e15=_0x10fd12[_0x531fc9];return _0x346e15;}export{isInProject}from'../context.js';export function readConfig(_0xbf6515){const _0x14789b=a361_0x346e,_0x295976=readRawConfig(_0xbf6515);return _0x295976[_0x14789b(0x16b)]&&typeof _0x295976[_0x14789b(0x16b)]===_0x14789b(0x16e)&&initEnv(_0x295976[_0x14789b(0x16b)]),_0x295976;}export function getConfigAppCode(){return a361_0x58de82();}function a361_0x10fd(){const _0x1c914d=['59199SoRpVt','209HhpajA','project','5365lTWJZb','1259487esHMqa','222qmoosU','env','8GfBlfM','4pmfejn','string','1836716aLFVmW','1201720aaDeFV','935937eaQPbD','247390frVWZO'];a361_0x10fd=function(){return _0x1c914d;};return a361_0x10fd();}export function getMultiAppConfigs(_0x24a7a7=a361_0x45c33a(0x175)){return a361_0x123b04(_0x24a7a7);}export function getTemplateBaseUrl(){return a361_0x227c04();}
1
+ const a361_0x79b3bb=a361_0x59a3;(function(_0x3defb6,_0x3c721c){const _0x1417d8=a361_0x59a3,_0x493cbb=_0x3defb6();while(!![]){try{const _0x596dcc=parseInt(_0x1417d8(0x168))/0x1*(-parseInt(_0x1417d8(0x165))/0x2)+parseInt(_0x1417d8(0x15f))/0x3*(parseInt(_0x1417d8(0x166))/0x4)+parseInt(_0x1417d8(0x16a))/0x5+-parseInt(_0x1417d8(0x16c))/0x6*(-parseInt(_0x1417d8(0x167))/0x7)+-parseInt(_0x1417d8(0x160))/0x8*(-parseInt(_0x1417d8(0x164))/0x9)+parseInt(_0x1417d8(0x162))/0xa*(parseInt(_0x1417d8(0x169))/0xb)+-parseInt(_0x1417d8(0x163))/0xc;if(_0x596dcc===_0x3c721c)break;else _0x493cbb['push'](_0x493cbb['shift']());}catch(_0x4bed3e){_0x493cbb['push'](_0x493cbb['shift']());}}}(a361_0x1c9b,0x59316));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a361_0x52e548,getMultiAppConfigs as a361_0x17a3e1,getTemplateBaseUrl as a361_0xd63611}from'../context.js';function a361_0x1c9b(){const _0x350337=['291541CPBeaq','92147jiofBC','742105haGVix','project','66caBVZW','env','9DlDlfS','24wiYgqf','string','710yfFVbM','8919432xhpPBD','1217799hniIOQ','2BQHkLD','329924kzlLaC','2289LTBHoY'];a361_0x1c9b=function(){return _0x350337;};return a361_0x1c9b();}export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';function a361_0x59a3(_0x1d88cb,_0x534a40){_0x1d88cb=_0x1d88cb-0x15f;const _0x1c9b9c=a361_0x1c9b();let _0x59a394=_0x1c9b9c[_0x1d88cb];return _0x59a394;}export function readConfig(_0x31a010){const _0x29dbca=a361_0x59a3,_0x4b993e=readRawConfig(_0x31a010);return _0x4b993e['env']&&typeof _0x4b993e[_0x29dbca(0x16d)]===_0x29dbca(0x161)&&initEnv(_0x4b993e[_0x29dbca(0x16d)]),_0x4b993e;}export function getConfigAppCode(){return a361_0x52e548();}export function getMultiAppConfigs(_0x2ec8c7=a361_0x79b3bb(0x16b)){return a361_0x17a3e1(_0x2ec8c7);}export function getTemplateBaseUrl(){return a361_0xd63611();}
@@ -1 +1 @@
1
- (function(_0x3c998d,_0x7954f2){const _0x26a1c0=a362_0x15f1,_0x279de6=_0x3c998d();while(!![]){try{const _0x3e9d53=-parseInt(_0x26a1c0(0x164))/0x1*(parseInt(_0x26a1c0(0x159))/0x2)+parseInt(_0x26a1c0(0x15d))/0x3*(-parseInt(_0x26a1c0(0x165))/0x4)+-parseInt(_0x26a1c0(0x167))/0x5*(-parseInt(_0x26a1c0(0x15c))/0x6)+-parseInt(_0x26a1c0(0x163))/0x7*(-parseInt(_0x26a1c0(0x162))/0x8)+parseInt(_0x26a1c0(0x161))/0x9*(parseInt(_0x26a1c0(0x166))/0xa)+parseInt(_0x26a1c0(0x15e))/0xb*(-parseInt(_0x26a1c0(0x15f))/0xc)+parseInt(_0x26a1c0(0x15a))/0xd;if(_0x3e9d53===_0x7954f2)break;else _0x279de6['push'](_0x279de6['shift']());}catch(_0x53ac23){_0x279de6['push'](_0x279de6['shift']());}}}(a362_0x37d0,0xcaf4d));function a362_0x37d0(){const _0x3b657e=['7974078vjQXEP','3838MLuGGG','56tImxzy','20DgdOxV','45sXDLGA','isFinite','662SqRCJB','11718603aTmPPA','trim','233418HOdZhv','49047yJrVuM','2431CPMoQp','78636fsEput','string','6246333ckuadc','8slwSsG'];a362_0x37d0=function(){return _0x3b657e;};return a362_0x37d0();}function a362_0x15f1(_0x55a228,_0x5363c8){_0x55a228=_0x55a228-0x159;const _0x37d01d=a362_0x37d0();let _0x15f10d=_0x37d01d[_0x55a228];return _0x15f10d;}function toFiniteNumber(_0x2519e2){const _0x8ccf66=a362_0x15f1;if(typeof _0x2519e2==='number'&&Number[_0x8ccf66(0x168)](_0x2519e2))return _0x2519e2;if(typeof _0x2519e2===_0x8ccf66(0x160)){const _0x542460=_0x2519e2[_0x8ccf66(0x15b)]();if(!_0x542460)return undefined;const _0x583a41=Number(_0x542460);if(Number[_0x8ccf66(0x168)](_0x583a41))return _0x583a41;}return undefined;}export function normalizeEntityWithIdResponse(_0x28bf59){const _0x350a0b=toFiniteNumber(_0x28bf59);if(_0x350a0b!==undefined)return{'id':_0x350a0b,'entity':{'id':_0x350a0b}};if(!_0x28bf59||typeof _0x28bf59!=='object')return{'id':undefined,'entity':{}};const _0x1f6fe4={..._0x28bf59},_0x41ff43=toFiniteNumber(_0x1f6fe4['id']);return _0x41ff43!==undefined&&(_0x1f6fe4['id']=_0x41ff43),{'id':_0x41ff43,'entity':_0x1f6fe4};}
1
+ (function(_0x5c130d,_0x159fd1){const _0x1f58f0=a362_0x27f3,_0x508f0e=_0x5c130d();while(!![]){try{const _0x1da047=-parseInt(_0x1f58f0(0x16a))/0x1*(parseInt(_0x1f58f0(0x15f))/0x2)+-parseInt(_0x1f58f0(0x166))/0x3+-parseInt(_0x1f58f0(0x167))/0x4+-parseInt(_0x1f58f0(0x15e))/0x5*(-parseInt(_0x1f58f0(0x169))/0x6)+parseInt(_0x1f58f0(0x162))/0x7*(-parseInt(_0x1f58f0(0x161))/0x8)+-parseInt(_0x1f58f0(0x160))/0x9*(-parseInt(_0x1f58f0(0x164))/0xa)+parseInt(_0x1f58f0(0x168))/0xb*(parseInt(_0x1f58f0(0x16c))/0xc);if(_0x1da047===_0x159fd1)break;else _0x508f0e['push'](_0x508f0e['shift']());}catch(_0x55404f){_0x508f0e['push'](_0x508f0e['shift']());}}}(a362_0xf411,0xeebb0));function a362_0xf411(){const _0x37adb5=['isFinite','10MCiVeT','object','2041680fRtKqx','5775240WtlWhR','46182323rBjFMp','12KofopK','238JLBCSs','string','12NDLczg','2258390hUtNMz','6312kZXAXP','3145581EokTyN','4261120DDhtZu','21ZhsZdA'];a362_0xf411=function(){return _0x37adb5;};return a362_0xf411();}function a362_0x27f3(_0x112642,_0x561be6){_0x112642=_0x112642-0x15e;const _0xf411f=a362_0xf411();let _0x27f353=_0xf411f[_0x112642];return _0x27f353;}function toFiniteNumber(_0x3a8ec6){const _0x55f942=a362_0x27f3;if(typeof _0x3a8ec6==='number'&&Number[_0x55f942(0x163)](_0x3a8ec6))return _0x3a8ec6;if(typeof _0x3a8ec6===_0x55f942(0x16b)){const _0x221187=_0x3a8ec6['trim']();if(!_0x221187)return undefined;const _0xbe1e6=Number(_0x221187);if(Number[_0x55f942(0x163)](_0xbe1e6))return _0xbe1e6;}return undefined;}export function normalizeEntityWithIdResponse(_0x116760){const _0x1a7ea6=a362_0x27f3,_0x154945=toFiniteNumber(_0x116760);if(_0x154945!==undefined)return{'id':_0x154945,'entity':{'id':_0x154945}};if(!_0x116760||typeof _0x116760!==_0x1a7ea6(0x165))return{'id':undefined,'entity':{}};const _0x2cd6d4={..._0x116760},_0x5063a0=toFiniteNumber(_0x2cd6d4['id']);return _0x5063a0!==undefined&&(_0x2cd6d4['id']=_0x5063a0),{'id':_0x5063a0,'entity':_0x2cd6d4};}
@@ -1 +1 @@
1
- (function(_0x42927e,_0x23f373){const _0x546991=a363_0x34eb,_0x590550=_0x42927e();while(!![]){try{const _0x55f2a7=-parseInt(_0x546991(0xb4))/0x1+-parseInt(_0x546991(0xae))/0x2+-parseInt(_0x546991(0xb1))/0x3*(-parseInt(_0x546991(0xb5))/0x4)+parseInt(_0x546991(0xb2))/0x5+parseInt(_0x546991(0xb6))/0x6*(-parseInt(_0x546991(0xb0))/0x7)+-parseInt(_0x546991(0xb3))/0x8+parseInt(_0x546991(0xaf))/0x9;if(_0x55f2a7===_0x23f373)break;else _0x590550['push'](_0x590550['shift']());}catch(_0x1a5430){_0x590550['push'](_0x590550['shift']());}}}(a363_0x536d,0xbe658));function a363_0x536d(){const _0xe9364a=['11741512KANoRy','574601aNeJcf','4oQrjWT','1838586cwiHqe','isDirectory','2709084uLNOSL','20759985BEDJQL','7mxIyrv','2347566dRepUp','6969700pGkAvI'];a363_0x536d=function(){return _0xe9364a;};return a363_0x536d();}import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';import{join}from'node:path';function a363_0x34eb(_0x159860,_0x1389de){_0x159860=_0x159860-0xad;const _0x536d0f=a363_0x536d();let _0x34eb05=_0x536d0f[_0x159860];return _0x34eb05;}export async function copyDir(_0x536614,_0xeb6073){const _0x5da56f=a363_0x34eb,_0x264ff2=statSync(_0x536614);if(_0x264ff2[_0x5da56f(0xad)]()){!existsSync(_0xeb6073)&&mkdirSync(_0xeb6073,{'recursive':!![]});const _0x3b539a=readdirSync(_0x536614);for(const _0x5c3d1f of _0x3b539a){await copyDir(join(_0x536614,_0x5c3d1f),join(_0xeb6073,_0x5c3d1f));}}else copyFileSync(_0x536614,_0xeb6073);}export function ensureDir(_0x2f204b){!existsSync(_0x2f204b)&&mkdirSync(_0x2f204b,{'recursive':!![]});}export function pathExists(_0x3c6b15){return existsSync(_0x3c6b15);}
1
+ (function(_0x199532,_0x3bad91){const _0x1ba260=a363_0x563f,_0x1b058a=_0x199532();while(!![]){try{const _0x5c9398=-parseInt(_0x1ba260(0x11b))/0x1+parseInt(_0x1ba260(0x114))/0x2+-parseInt(_0x1ba260(0x11a))/0x3*(parseInt(_0x1ba260(0x119))/0x4)+parseInt(_0x1ba260(0x115))/0x5+-parseInt(_0x1ba260(0x117))/0x6*(-parseInt(_0x1ba260(0x11f))/0x7)+-parseInt(_0x1ba260(0x11d))/0x8*(parseInt(_0x1ba260(0x116))/0x9)+-parseInt(_0x1ba260(0x11e))/0xa*(-parseInt(_0x1ba260(0x118))/0xb);if(_0x5c9398===_0x3bad91)break;else _0x1b058a['push'](_0x1b058a['shift']());}catch(_0x4cdbdf){_0x1b058a['push'](_0x1b058a['shift']());}}}(a363_0x373f,0x9957b));import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';function a363_0x373f(){const _0x27a31a=['1288716eHoWXz','3VeGtrY','184936VLzUrE','isDirectory','192ZvDkVP','1580CULQEY','7MNqpQA','114230HcueUn','1705040LrxRpj','216162wqLqNQ','3864414xCVBTg','46607bIaWGv'];a363_0x373f=function(){return _0x27a31a;};return a363_0x373f();}function a363_0x563f(_0x3b5c71,_0x201911){_0x3b5c71=_0x3b5c71-0x114;const _0x373f01=a363_0x373f();let _0x563f58=_0x373f01[_0x3b5c71];return _0x563f58;}import{join}from'node:path';export async function copyDir(_0x471eef,_0x187507){const _0x589b92=a363_0x563f,_0x289f71=statSync(_0x471eef);if(_0x289f71[_0x589b92(0x11c)]()){!existsSync(_0x187507)&&mkdirSync(_0x187507,{'recursive':!![]});const _0x15b35d=readdirSync(_0x471eef);for(const _0x1e412e of _0x15b35d){await copyDir(join(_0x471eef,_0x1e412e),join(_0x187507,_0x1e412e));}}else copyFileSync(_0x471eef,_0x187507);}export function ensureDir(_0x24a3bf){!existsSync(_0x24a3bf)&&mkdirSync(_0x24a3bf,{'recursive':!![]});}export function pathExists(_0x31e61f){return existsSync(_0x31e61f);}
@@ -1 +1 @@
1
- function a364_0x8935(){const _0x3fc2b2=['lastUpdated','entries','7863qhHsLe','.md','CDN\x20returned\x20invalid\x20data','guides','replace','path','trimEnd','json','184WcZHVf','skillTemplate','47131eRvlji','7914879lbmoEm','title','keys','utf-8','object','44TNvjmi','1640KEaSgs','.lovrabet/skill/guides','3191243zRQDLD','\x0a\x0a>更新时间:','.lovrabet','length','1709580lKSfyh','10ayVcau','push','extendContent','891869PThZCT','623855IgcHZR','/skills/guides.json','cache','status','statusText','content'];a364_0x8935=function(){return _0x3fc2b2;};return a364_0x8935();}const a364_0x3804cf=a364_0x3ddc;function a364_0x3ddc(_0xef4577,_0x5c1a4f){_0xef4577=_0xef4577-0x1b1;const _0x893519=a364_0x8935();let _0x3ddca1=_0x893519[_0xef4577];return _0x3ddca1;}(function(_0x4e7d90,_0x3ad433){const _0x372e01=a364_0x3ddc,_0x52962a=_0x4e7d90();while(!![]){try{const _0x46e1b8=-parseInt(_0x372e01(0x1cc))/0x1+-parseInt(_0x372e01(0x1b9))/0x2*(-parseInt(_0x372e01(0x1b1))/0x3)+parseInt(_0x372e01(0x1c1))/0x4*(parseInt(_0x372e01(0x1cd))/0x5)+parseInt(_0x372e01(0x1c8))/0x6+parseInt(_0x372e01(0x1bb))/0x7*(-parseInt(_0x372e01(0x1c2))/0x8)+parseInt(_0x372e01(0x1bc))/0x9*(parseInt(_0x372e01(0x1c9))/0xa)+parseInt(_0x372e01(0x1c4))/0xb;if(_0x46e1b8===_0x3ad433)break;else _0x52962a['push'](_0x52962a['shift']());}catch(_0xb50e0d){_0x52962a['push'](_0x52962a['shift']());}}}(a364_0x8935,0xc2531));import{mkdirSync,writeFileSync}from'node:fs';import{dirname,join}from'node:path';import{homedir}from'node:os';import{getTemplateBaseUrl}from'../utils/config.js';function getGuidesCdnUrl(){const _0x179518=a364_0x3ddc,_0x51dbcf=getTemplateBaseUrl();return _0x51dbcf+_0x179518(0x1ce);}const CACHE_DIR=join(homedir(),a364_0x3804cf(0x1c6),a364_0x3804cf(0x1cf));export async function fetchGuidesFromCDN(){const _0x187f36=a364_0x3804cf,_0x427872=getGuidesCdnUrl(),_0x21f989=await fetch(_0x427872,{'headers':{'Accept':'application/json'}});if(!_0x21f989['ok'])throw new Error('CDN\x20request\x20failed:\x20'+_0x21f989[_0x187f36(0x1d0)]+'\x20'+_0x21f989[_0x187f36(0x1d1)]);const _0x76e3a4=await _0x21f989[_0x187f36(0x1b8)]();if(!_0x76e3a4['guides']||typeof _0x76e3a4[_0x187f36(0x1b4)]!==_0x187f36(0x1c0))throw new Error(_0x187f36(0x1b3));return _0x76e3a4;}export function writeGuidesToProject(_0x53f5d,_0x1be574,_0x3e0688=a364_0x3804cf(0x1c3),_0x2205f7){const _0x1a975e=a364_0x3804cf,_0x45001d=join(_0x1be574,_0x3e0688);mkdirSync(_0x45001d,{'recursive':!![]});for(const [_0x2071b1,_0x43088b]of Object[_0x1a975e(0x1d4)](_0x53f5d[_0x1a975e(0x1b4)])){let _0x14bda6=_0x43088b['content'];_0x43088b[_0x1a975e(0x1d3)]&&(_0x14bda6=appendUpdateTime(_0x14bda6,_0x43088b[_0x1a975e(0x1d3)])),writeFileSync(join(_0x45001d,_0x2071b1+_0x1a975e(0x1b2)),_0x14bda6,_0x1a975e(0x1bf));}}export function appendUpdateTime(_0x3e2776,_0x58fff8){const _0x55b63c=a364_0x3804cf;return _0x3e2776=_0x3e2776[_0x55b63c(0x1b5)](/\n*>更新时间:.*$/m,''),_0x3e2776[_0x55b63c(0x1b7)]()+(_0x55b63c(0x1c5)+_0x58fff8);}export function getSkillTemplate(_0x1f796d){const _0x79641d=a364_0x3804cf;return _0x1f796d[_0x79641d(0x1ba)]?.[_0x79641d(0x1d2)]||'';}export function appendExtendContents(_0x1a88d2,_0x334554,_0x22c554){const _0x30db71=a364_0x3804cf,_0x439e55=[];for(const [,_0x10f20e]of Object['entries'](_0x334554[_0x30db71(0x1b4)])){_0x10f20e[_0x30db71(0x1cb)]&&_0x439e55[_0x30db71(0x1ca)](_0x10f20e[_0x30db71(0x1cb)]['trimEnd']());}if(_0x439e55[_0x30db71(0x1c7)]===0x0)return _0x1a88d2;return _0x1a88d2['trimEnd']()+'\x0a\x0a'+_0x439e55['join']('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x20ff94,_0x515506,_0x13dc64){const _0x7364f4=a364_0x3804cf,_0x56e866=getSkillTemplate(_0x20ff94);if(!_0x56e866)throw new Error('CDN\x20data\x20is\x20missing\x20skillTemplate');const _0x35523d=dirname(_0x515506);mkdirSync(_0x35523d,{'recursive':!![]});let _0x1937f5=_0x56e866[_0x7364f4(0x1b5)](/\{\{IDE_NAME\}\}/g,_0x13dc64);_0x1937f5=appendExtendContents(_0x1937f5,_0x20ff94),_0x20ff94['skillTemplate']['lastUpdated']&&(_0x1937f5=appendUpdateTime(_0x1937f5,_0x20ff94[_0x7364f4(0x1ba)]['lastUpdated'])),writeFileSync(_0x515506,_0x1937f5,'utf-8');}export async function installGuides(_0x486a8f){const _0x35f05e=a364_0x3804cf,_0x14570f=await fetchGuidesFromCDN();return writeGuidesToProject(_0x14570f,_0x486a8f),Object[_0x35f05e(0x1be)](_0x14570f['guides'])[_0x35f05e(0x1c7)];}export function getGuidesSummary(_0x2ab130){const _0x578218=a364_0x3804cf;return Object['entries'](_0x2ab130[_0x578218(0x1b4)])['map'](([_0x438f61,_0x2262e7])=>({'key':_0x438f61,'title':_0x2262e7[_0x578218(0x1bd)],'path':_0x2262e7[_0x578218(0x1b6)]}));}
1
+ const a364_0x75a5b1=a364_0x4f8f;(function(_0x41ad31,_0x4fc247){const _0xa05473=a364_0x4f8f,_0xb005ef=_0x41ad31();while(!![]){try{const _0x1343cc=-parseInt(_0xa05473(0x1e9))/0x1*(parseInt(_0xa05473(0x1e3))/0x2)+-parseInt(_0xa05473(0x1d8))/0x3+-parseInt(_0xa05473(0x1ce))/0x4*(parseInt(_0xa05473(0x1d9))/0x5)+parseInt(_0xa05473(0x1d0))/0x6+-parseInt(_0xa05473(0x1e7))/0x7+parseInt(_0xa05473(0x1dc))/0x8*(-parseInt(_0xa05473(0x1de))/0x9)+parseInt(_0xa05473(0x1eb))/0xa*(parseInt(_0xa05473(0x1db))/0xb);if(_0x1343cc===_0x4fc247)break;else _0xb005ef['push'](_0xb005ef['shift']());}catch(_0x42da0b){_0xb005ef['push'](_0xb005ef['shift']());}}}(a364_0x52b5,0x75d46));import{mkdirSync,writeFileSync}from'node:fs';import{dirname,join}from'node:path';function a364_0x4f8f(_0x3f6294,_0x4d94b7){_0x3f6294=_0x3f6294-0x1cd;const _0x52b59d=a364_0x52b5();let _0x4f8f2e=_0x52b59d[_0x3f6294];return _0x4f8f2e;}import{homedir}from'node:os';function a364_0x52b5(){const _0x4f0825=['skillTemplate','10eFSprG','CDN\x20returned\x20invalid\x20data','join','length','730527MeDkzP','CDN\x20data\x20is\x20missing\x20skillTemplate','188689berrBN','.md','10LNAuhv','json','1006348pcEFZy','application/json','2091270nDozhl','extendContent','cache','content','status','utf-8','entries','guides','131874SdEmSs','5trMlWl','map','21385529hKLJpy','91064PncOuc','lastUpdated','369PXwmgG','object','.lovrabet/skill/guides','trimEnd'];a364_0x52b5=function(){return _0x4f0825;};return a364_0x52b5();}import{getTemplateBaseUrl}from'../utils/config.js';function getGuidesCdnUrl(){const _0x41491d=getTemplateBaseUrl();return _0x41491d+'/skills/guides.json';}const CACHE_DIR=join(homedir(),'.lovrabet',a364_0x75a5b1(0x1d2));export async function fetchGuidesFromCDN(){const _0x2cee90=a364_0x75a5b1,_0x2e6234=getGuidesCdnUrl(),_0x56c1c4=await fetch(_0x2e6234,{'headers':{'Accept':_0x2cee90(0x1cf)}});if(!_0x56c1c4['ok'])throw new Error('CDN\x20request\x20failed:\x20'+_0x56c1c4[_0x2cee90(0x1d4)]+'\x20'+_0x56c1c4['statusText']);const _0x15115f=await _0x56c1c4[_0x2cee90(0x1cd)]();if(!_0x15115f['guides']||typeof _0x15115f[_0x2cee90(0x1d7)]!==_0x2cee90(0x1df))throw new Error(_0x2cee90(0x1e4));return _0x15115f;}export function writeGuidesToProject(_0x34a330,_0x53c1a9,_0x472d85=a364_0x75a5b1(0x1e0),_0x1f2df7){const _0x3e6100=a364_0x75a5b1,_0x162451=join(_0x53c1a9,_0x472d85);mkdirSync(_0x162451,{'recursive':!![]});for(const [_0x23ea20,_0x635d62]of Object[_0x3e6100(0x1d6)](_0x34a330['guides'])){let _0x1a801a=_0x635d62['content'];_0x635d62['lastUpdated']&&(_0x1a801a=appendUpdateTime(_0x1a801a,_0x635d62['lastUpdated'])),writeFileSync(join(_0x162451,_0x23ea20+_0x3e6100(0x1ea)),_0x1a801a,_0x3e6100(0x1d5));}}export function appendUpdateTime(_0x4b4425,_0x22c52f){const _0x1dd7cf=a364_0x75a5b1;return _0x4b4425=_0x4b4425['replace'](/\n*>更新时间:.*$/m,''),_0x4b4425[_0x1dd7cf(0x1e1)]()+('\x0a\x0a>更新时间:'+_0x22c52f);}export function getSkillTemplate(_0x2e06ff){const _0x538345=a364_0x75a5b1;return _0x2e06ff['skillTemplate']?.[_0x538345(0x1d3)]||'';}export function appendExtendContents(_0x1037ab,_0x505bfa,_0xaf9ad){const _0x156bba=a364_0x75a5b1,_0x3dc70d=[];for(const [,_0x514e4e]of Object['entries'](_0x505bfa[_0x156bba(0x1d7)])){_0x514e4e[_0x156bba(0x1d1)]&&_0x3dc70d['push'](_0x514e4e[_0x156bba(0x1d1)]['trimEnd']());}if(_0x3dc70d[_0x156bba(0x1e6)]===0x0)return _0x1037ab;return _0x1037ab[_0x156bba(0x1e1)]()+'\x0a\x0a'+_0x3dc70d[_0x156bba(0x1e5)]('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x2c8dbb,_0x2ba12a,_0x145fa9){const _0x480e50=a364_0x75a5b1,_0xe3db17=getSkillTemplate(_0x2c8dbb);if(!_0xe3db17)throw new Error(_0x480e50(0x1e8));const _0x3f7b63=dirname(_0x2ba12a);mkdirSync(_0x3f7b63,{'recursive':!![]});let _0x35bb87=_0xe3db17['replace'](/\{\{IDE_NAME\}\}/g,_0x145fa9);_0x35bb87=appendExtendContents(_0x35bb87,_0x2c8dbb),_0x2c8dbb[_0x480e50(0x1e2)][_0x480e50(0x1dd)]&&(_0x35bb87=appendUpdateTime(_0x35bb87,_0x2c8dbb[_0x480e50(0x1e2)][_0x480e50(0x1dd)])),writeFileSync(_0x2ba12a,_0x35bb87,_0x480e50(0x1d5));}export async function installGuides(_0x35f82d){const _0x4e0c96=a364_0x75a5b1,_0x433207=await fetchGuidesFromCDN();return writeGuidesToProject(_0x433207,_0x35f82d),Object['keys'](_0x433207['guides'])[_0x4e0c96(0x1e6)];}export function getGuidesSummary(_0x5351d3){const _0x28e3b1=a364_0x75a5b1;return Object[_0x28e3b1(0x1d6)](_0x5351d3[_0x28e3b1(0x1d7)])[_0x28e3b1(0x1da)](([_0x73f709,_0x49c564])=>({'key':_0x73f709,'title':_0x49c564['title'],'path':_0x49c564['path']}));}
@@ -1 +1 @@
1
- function a365_0x1829(_0x32753e,_0x3f6224){_0x32753e=_0x32753e-0x1da;const _0x493663=a365_0x4936();let _0x18297b=_0x493663[_0x32753e];return _0x18297b;}function a365_0x4936(){const _0x11a9ea=['headers','name','application/json','1572021eLVcjP','json','AbortError','\x20in\x20','5697848goHEWt','TypeError','3230052oELmgW','380mAbWit','174207FaNVaK','2568260IxcgbP','Request\x20failed','content-type','url','ECONNRESET','21IaIRBL','message','text','7eoDTBQ','get','ms...','3110682gVarUJ','includes','37770MLUyXF','signal','fetch','9bofYcG'];a365_0x4936=function(){return _0x11a9ea;};return a365_0x4936();}(function(_0x5fdfd7,_0x318437){const _0x5f0a9c=a365_0x1829,_0x51b36b=_0x5fdfd7();while(!![]){try{const _0x64488=-parseInt(_0x5f0a9c(0x1da))/0x1*(-parseInt(_0x5f0a9c(0x1e2))/0x2)+parseInt(_0x5f0a9c(0x1e9))/0x3+parseInt(_0x5f0a9c(0x1ef))/0x4+parseInt(_0x5f0a9c(0x1f2))/0x5+parseInt(_0x5f0a9c(0x1e0))/0x6*(-parseInt(_0x5f0a9c(0x1dd))/0x7)+parseInt(_0x5f0a9c(0x1ed))/0x8*(-parseInt(_0x5f0a9c(0x1e5))/0x9)+-parseInt(_0x5f0a9c(0x1f0))/0xa*(parseInt(_0x5f0a9c(0x1f1))/0xb);if(_0x64488===_0x318437)break;else _0x51b36b['push'](_0x51b36b['shift']());}catch(_0x517d62){_0x51b36b['push'](_0x51b36b['shift']());}}}(a365_0x4936,0x63eb9));export async function httpRequest(_0x52f9f1,_0x510317={}){const _0x4c45a7=a365_0x1829,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x510317;let _0x300369=null;for(let _0x43b79c=0x0;_0x43b79c<=retries;_0x43b79c++){try{const _0x4415e7=new AbortController(),_0xdca8af=setTimeout(()=>_0x4415e7['abort'](),timeout),_0x155c98=await fetch(_0x52f9f1,{'headers':headers,'signal':_0x4415e7[_0x4c45a7(0x1e3)]});clearTimeout(_0xdca8af);let _0x5014f2;const _0x4843c8=_0x155c98[_0x4c45a7(0x1e6)][_0x4c45a7(0x1de)](_0x4c45a7(0x1f4));return _0x4843c8?.[_0x4c45a7(0x1e1)](_0x4c45a7(0x1e8))?_0x5014f2=await _0x155c98[_0x4c45a7(0x1ea)]():_0x5014f2=await _0x155c98[_0x4c45a7(0x1dc)](),{'ok':_0x155c98['ok'],'status':_0x155c98['status'],'statusText':_0x155c98['statusText'],'data':_0x5014f2,'headers':_0x155c98[_0x4c45a7(0x1e6)],'url':_0x155c98[_0x4c45a7(0x1f5)],'text':()=>_0x155c98['text']()};}catch(_0x5b200a){_0x300369=_0x5b200a instanceof Error?_0x5b200a:new Error(String(_0x5b200a));if(_0x43b79c===retries)break;if(shouldRetry(_0x5b200a)){console['log']('*\x20Request\x20failed;\x20retry\x20'+(_0x43b79c+0x1)+_0x4c45a7(0x1ec)+retryDelay+_0x4c45a7(0x1df)),await sleep(retryDelay);continue;}else break;}}throw _0x300369||new Error(_0x4c45a7(0x1f3));}function shouldRetry(_0xb502fe){const _0x2d0f82=a365_0x1829;if(_0xb502fe instanceof Error){if(_0xb502fe[_0x2d0f82(0x1e7)]===_0x2d0f82(0x1eb))return![];if(_0xb502fe[_0x2d0f82(0x1e7)]===_0x2d0f82(0x1ee)&&_0xb502fe['message'][_0x2d0f82(0x1e1)](_0x2d0f82(0x1e4)))return!![];if(_0xb502fe[_0x2d0f82(0x1db)]['includes'](_0x2d0f82(0x1f6)))return!![];if(_0xb502fe[_0x2d0f82(0x1db)]['includes']('ENOTFOUND'))return![];}return![];}function sleep(_0x3b29ee){return new Promise(_0x54a840=>setTimeout(_0x54a840,_0x3b29ee));}export function validateUrl(_0x2e42be){try{return new URL(_0x2e42be),!![];}catch{return![];}}
1
+ function a365_0x29f2(_0x9041bd,_0x118b56){_0x9041bd=_0x9041bd-0x172;const _0x417c96=a365_0x417c();let _0x29f204=_0x417c96[_0x9041bd];return _0x29f204;}(function(_0x4c69a0,_0x1f98e7){const _0x3f4dd5=a365_0x29f2,_0x268431=_0x4c69a0();while(!![]){try{const _0x14fc14=parseInt(_0x3f4dd5(0x178))/0x1+parseInt(_0x3f4dd5(0x173))/0x2+parseInt(_0x3f4dd5(0x187))/0x3*(-parseInt(_0x3f4dd5(0x17f))/0x4)+parseInt(_0x3f4dd5(0x188))/0x5*(-parseInt(_0x3f4dd5(0x18d))/0x6)+parseInt(_0x3f4dd5(0x18c))/0x7*(-parseInt(_0x3f4dd5(0x17a))/0x8)+-parseInt(_0x3f4dd5(0x172))/0x9+parseInt(_0x3f4dd5(0x176))/0xa*(parseInt(_0x3f4dd5(0x18a))/0xb);if(_0x14fc14===_0x1f98e7)break;else _0x268431['push'](_0x268431['shift']());}catch(_0xb39a42){_0x268431['push'](_0x268431['shift']());}}}(a365_0x417c,0xc8b27));function a365_0x417c(){const _0x37fb75=['name','1428EqeSLZ','4367712BbyKXd','9029727FhzdMU','788572rrJuLT','abort','AbortError','2994830RnKGrf','fetch','181871LThEzb','signal','57616SmNEkg','status','log','ECONNRESET','message','1028zbGDmv','application/json','content-type','statusText','text','headers','Request\x20failed','includes','14199fesRnM','10ZOtBaP','ms...','198RZWlJv'];a365_0x417c=function(){return _0x37fb75;};return a365_0x417c();}export async function httpRequest(_0xe096f5,_0x294f8b={}){const _0x4c3f80=a365_0x29f2,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x294f8b;let _0x59771b=null;for(let _0xfddf01=0x0;_0xfddf01<=retries;_0xfddf01++){try{const _0x360eba=new AbortController(),_0xe2e935=setTimeout(()=>_0x360eba[_0x4c3f80(0x174)](),timeout),_0x29afa2=await fetch(_0xe096f5,{'headers':headers,'signal':_0x360eba[_0x4c3f80(0x179)]});clearTimeout(_0xe2e935);let _0xd1da05;const _0x53f959=_0x29afa2[_0x4c3f80(0x184)]['get'](_0x4c3f80(0x181));return _0x53f959?.[_0x4c3f80(0x186)](_0x4c3f80(0x180))?_0xd1da05=await _0x29afa2['json']():_0xd1da05=await _0x29afa2[_0x4c3f80(0x183)](),{'ok':_0x29afa2['ok'],'status':_0x29afa2[_0x4c3f80(0x17b)],'statusText':_0x29afa2[_0x4c3f80(0x182)],'data':_0xd1da05,'headers':_0x29afa2['headers'],'url':_0x29afa2['url'],'text':()=>_0x29afa2[_0x4c3f80(0x183)]()};}catch(_0x2cbd07){_0x59771b=_0x2cbd07 instanceof Error?_0x2cbd07:new Error(String(_0x2cbd07));if(_0xfddf01===retries)break;if(shouldRetry(_0x2cbd07)){console[_0x4c3f80(0x17c)]('*\x20Request\x20failed;\x20retry\x20'+(_0xfddf01+0x1)+'\x20in\x20'+retryDelay+_0x4c3f80(0x189)),await sleep(retryDelay);continue;}else break;}}throw _0x59771b||new Error(_0x4c3f80(0x185));}function shouldRetry(_0x5d92bd){const _0x1ba729=a365_0x29f2;if(_0x5d92bd instanceof Error){if(_0x5d92bd[_0x1ba729(0x18b)]===_0x1ba729(0x175))return![];if(_0x5d92bd[_0x1ba729(0x18b)]==='TypeError'&&_0x5d92bd['message']['includes'](_0x1ba729(0x177)))return!![];if(_0x5d92bd[_0x1ba729(0x17e)]['includes'](_0x1ba729(0x17d)))return!![];if(_0x5d92bd[_0x1ba729(0x17e)][_0x1ba729(0x186)]('ENOTFOUND'))return![];}return![];}function sleep(_0x1c0726){return new Promise(_0xb5a555=>setTimeout(_0xb5a555,_0x1c0726));}export function validateUrl(_0x2c6621){try{return new URL(_0x2c6621),!![];}catch{return![];}}
@@ -1 +1 @@
1
- (function(_0x1d5061,_0x3db8a1){const _0x10992a=a366_0x51ba,_0x448d48=_0x1d5061();while(!![]){try{const _0x20f94d=parseInt(_0x10992a(0x11f))/0x1*(-parseInt(_0x10992a(0x119))/0x2)+parseInt(_0x10992a(0x120))/0x3+-parseInt(_0x10992a(0x125))/0x4*(-parseInt(_0x10992a(0x11d))/0x5)+parseInt(_0x10992a(0x126))/0x6+-parseInt(_0x10992a(0x116))/0x7*(-parseInt(_0x10992a(0x11e))/0x8)+parseInt(_0x10992a(0x11c))/0x9+parseInt(_0x10992a(0x122))/0xa*(-parseInt(_0x10992a(0x121))/0xb);if(_0x20f94d===_0x3db8a1)break;else _0x448d48['push'](_0x448d48['shift']());}catch(_0x512fb1){_0x448d48['push'](_0x448d48['shift']());}}}(a366_0x57ff,0x3fb90));function a366_0x51ba(_0x1e3f71,_0x28a053){_0x1e3f71=_0x1e3f71-0x116;const _0x57ffc4=a366_0x57ff();let _0x51baca=_0x57ffc4[_0x1e3f71];return _0x51baca;}function env(_0x14d52a){return process.env[`RABETBASE_${_0x14d52a}`]||process.env[`LOVRABET_${_0x14d52a}`]||undefined;}export function isNonInteractive(_0x2d9987){const _0x1813f6=a366_0x51ba;return!!(_0x2d9987[_0x1813f6(0x11b)]||_0x2d9987['ci']||env('CI')===_0x1813f6(0x124)||process.env.CI===_0x1813f6(0x124)||!process[_0x1813f6(0x117)][_0x1813f6(0x123)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x214149=a366_0x51ba;if(!process[_0x214149(0x11a)][_0x214149(0x123)])return![];try{const _0x2b0852=process[_0x214149(0x11a)]['isRaw'];return process[_0x214149(0x11a)][_0x214149(0x118)](!![]),process[_0x214149(0x11a)][_0x214149(0x118)](_0x2b0852??![]),!![];}catch{return![];}}function a366_0x57ff(){const _0x2f8500=['setRawMode','2xlVSNV','stdin','nonInteractive','2107170RCxFob','10CDBIxd','1826216HWMCSX','227617ETjIpE','568074xdPqTV','9086nHBKbM','7860ramHgr','isTTY','true','392752pScZpE','1738320BQUgNn','7wjpvki','stdout'];a366_0x57ff=function(){return _0x2f8500;};return a366_0x57ff();}
1
+ function a366_0x8bd2(){const _0x463350=['2166414VhcBGa','true','1039352MJUZJU','7gfZecQ','6243104ymjcJm','9JsPijJ','1307175CSsLQB','stdout','7763540yetQbV','2094552WtpqeR','setRawMode','isRaw','67467Puqxpj','124RpUoYf','isTTY','stdin','nonInteractive'];a366_0x8bd2=function(){return _0x463350;};return a366_0x8bd2();}(function(_0x230c54,_0x42616f){const _0x21d30b=a366_0x1a5b,_0x220039=_0x230c54();while(!![]){try{const _0x3a03d5=parseInt(_0x21d30b(0x91))/0x1+-parseInt(_0x21d30b(0x8b))/0x2*(-parseInt(_0x21d30b(0x8a))/0x3)+parseInt(_0x21d30b(0x87))/0x4+-parseInt(_0x21d30b(0x84))/0x5+parseInt(_0x21d30b(0x8f))/0x6*(-parseInt(_0x21d30b(0x92))/0x7)+-parseInt(_0x21d30b(0x93))/0x8+-parseInt(_0x21d30b(0x94))/0x9*(parseInt(_0x21d30b(0x86))/0xa);if(_0x3a03d5===_0x42616f)break;else _0x220039['push'](_0x220039['shift']());}catch(_0x4e6d62){_0x220039['push'](_0x220039['shift']());}}}(a366_0x8bd2,0xbdf4e));function env(_0x457690){return process.env[`RABETBASE_${_0x457690}`]||process.env[`LOVRABET_${_0x457690}`]||undefined;}function a366_0x1a5b(_0x1f61b2,_0x117d07){_0x1f61b2=_0x1f61b2-0x84;const _0x8bd2ca=a366_0x8bd2();let _0x1a5bfd=_0x8bd2ca[_0x1f61b2];return _0x1a5bfd;}export function isNonInteractive(_0x24cf16){const _0x30a157=a366_0x1a5b;return!!(_0x24cf16[_0x30a157(0x8e)]||_0x24cf16['ci']||env('CI')==='true'||process.env.CI===_0x30a157(0x90)||!process[_0x30a157(0x85)][_0x30a157(0x8c)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x58a5d3=a366_0x1a5b;if(!process['stdin'][_0x58a5d3(0x8c)])return![];try{const _0x215512=process[_0x58a5d3(0x8d)][_0x58a5d3(0x89)];return process[_0x58a5d3(0x8d)][_0x58a5d3(0x88)](!![]),process[_0x58a5d3(0x8d)][_0x58a5d3(0x88)](_0x215512??![]),!![];}catch{return![];}}
@@ -1 +1 @@
1
- const a367_0x1c25af=a367_0x3cb4;function a367_0x1838(){const _0x25525d=['duration','level','898186HgLozU','addColors','setRawCommand','details','clearLogs','20JqGKxr','filter','7jnyOVm','9315dEGfIG','red','combine','dirname','error','trim','rawCommand','green','readFileSync','errors','File','readLogs','map','Failed:\x20','Failed\x20to\x20clear\x20logs:','winstonLogger','getWinstonInstance','currentRawCommand','warn','command','mkdirSync','logTask','stringify','log','yellow','writeFileSync','877176AHsiwQ','message','createLogger','initWinstonLogger','existsSync','format','join','timestamp','2962143xSQWwC','utf8','success','logFilePath','1256751lGHwpC','Completed:\x20','6425532lqAHFc','setLogPath','4836aNaWCK','now','3449640qjFoOj','info','split'];a367_0x1838=function(){return _0x25525d;};return a367_0x1838();}(function(_0x3ace5e,_0x5946cb){const _0x30844a=a367_0x3cb4,_0x36980e=_0x3ace5e();while(!![]){try{const _0x285bc9=parseInt(_0x30844a(0xd1))/0x1+-parseInt(_0x30844a(0xdc))/0x2+-parseInt(_0x30844a(0xcd))/0x3+parseInt(_0x30844a(0xd7))/0x4+-parseInt(_0x30844a(0xe4))/0x5*(-parseInt(_0x30844a(0xd5))/0x6)+parseInt(_0x30844a(0xe3))/0x7*(parseInt(_0x30844a(0xfe))/0x8)+parseInt(_0x30844a(0xd3))/0x9*(-parseInt(_0x30844a(0xe1))/0xa);if(_0x285bc9===_0x5946cb)break;else _0x36980e['push'](_0x36980e['shift']());}catch(_0x481c44){_0x36980e['push'](_0x36980e['shift']());}}}(a367_0x1838,0xd36e0));import a367_0x767fd0 from'winston';import a367_0x144d4d from'node:fs';function a367_0x3cb4(_0x3350eb,_0x30fccb){_0x3350eb=_0x3350eb-0xcb;const _0x1838aa=a367_0x1838();let _0x3cb4f0=_0x1838aa[_0x3350eb];return _0x3cb4f0;}import a367_0x2ae2ef from'node:path';class Logger{[a367_0x1c25af(0xf3)];[a367_0x1c25af(0xd0)];[a367_0x1c25af(0xf5)]='';constructor(){const _0x170600=a367_0x1c25af;this[_0x170600(0xd0)]='';}[a367_0x1c25af(0xde)](_0x4a7f39){this['currentRawCommand']=_0x4a7f39;}[a367_0x1c25af(0x101)](){const _0x5c64b2=a367_0x1c25af,_0x383b08=a367_0x2ae2ef[_0x5c64b2(0xe7)](this[_0x5c64b2(0xd0)]);!a367_0x144d4d[_0x5c64b2(0x102)](_0x383b08)&&a367_0x144d4d[_0x5c64b2(0xf8)](_0x383b08,{'recursive':!![]});const _0x165521=a367_0x767fd0[_0x5c64b2(0x103)][_0x5c64b2(0xe6)](a367_0x767fd0[_0x5c64b2(0x103)][_0x5c64b2(0xcc)](),a367_0x767fd0['format'][_0x5c64b2(0xed)]({'stack':!![]}),a367_0x767fd0[_0x5c64b2(0x103)]['printf'](_0xeb8da=>{const _0x57ebd6=_0x5c64b2,_0x35e182={'timestamp':_0xeb8da[_0x57ebd6(0xcc)]||new Date()['toISOString'](),'level':_0xeb8da[_0x57ebd6(0xdb)]||_0x57ebd6(0xd8),'command':_0xeb8da[_0x57ebd6(0xf7)]||'unknown','rawCommand':_0xeb8da[_0x57ebd6(0xea)]||this[_0x57ebd6(0xf5)]||undefined,'message':_0xeb8da['message']||'','duration':_0xeb8da[_0x57ebd6(0xda)]||undefined,'details':_0xeb8da[_0x57ebd6(0xdf)]||undefined};return JSON[_0x57ebd6(0xfa)](_0x35e182);}));this[_0x5c64b2(0xf3)]=a367_0x767fd0[_0x5c64b2(0x100)]({'level':_0x5c64b2(0xd8),'format':_0x165521,'transports':[new a367_0x767fd0['transports'][(_0x5c64b2(0xee))]({'filename':this['logFilePath'],'level':_0x5c64b2(0xd8)})],'silent':![]}),a367_0x767fd0[_0x5c64b2(0xdd)]({'success':_0x5c64b2(0xeb),'error':_0x5c64b2(0xe5),'warn':_0x5c64b2(0xfc),'info':'blue'});}[a367_0x1c25af(0xd4)](_0x47ef40){const _0x703bcf=a367_0x1c25af;this[_0x703bcf(0xd0)]=a367_0x2ae2ef[_0x703bcf(0xcb)](_0x47ef40,'.lovrabet.log'),this['winstonLogger']&&this[_0x703bcf(0xf3)]['clear'](),this[_0x703bcf(0x101)]();}[a367_0x1c25af(0xd8)](_0x23bc9c,_0x582af2,_0xeca2d4){const _0x522c98=a367_0x1c25af;if(!this[_0x522c98(0xd0)]||!this[_0x522c98(0xf3)])return;this[_0x522c98(0xf3)]['info'](_0x582af2,{'command':_0x23bc9c,'details':_0xeca2d4});}[a367_0x1c25af(0xcf)](_0x27f064,_0x11f270,_0x45358d,_0x4bce88){const _0xfa557c=a367_0x1c25af;if(!this[_0xfa557c(0xd0)]||!this[_0xfa557c(0xf3)])return;this['winstonLogger'][_0xfa557c(0xfb)](_0xfa557c(0xd8),_0x11f270,{'level':_0xfa557c(0xcf),'command':_0x27f064,'duration':_0x45358d,'details':_0x4bce88});}[a367_0x1c25af(0xe8)](_0x5b2fad,_0x21a659,_0x31144e){const _0x8b3c0d=a367_0x1c25af;if(!this[_0x8b3c0d(0xd0)]||!this[_0x8b3c0d(0xf3)])return;this[_0x8b3c0d(0xf3)][_0x8b3c0d(0xe8)](_0x21a659,{'command':_0x5b2fad,'details':_0x31144e});}[a367_0x1c25af(0xf6)](_0x454f88,_0x184ef6,_0x3901f4){const _0x523403=a367_0x1c25af;if(!this[_0x523403(0xd0)]||!this['winstonLogger'])return;this[_0x523403(0xf3)][_0x523403(0xf6)](_0x184ef6,{'command':_0x454f88,'details':_0x3901f4});}async[a367_0x1c25af(0xf9)](_0x19e394,_0x587b75,_0x4da380){const _0x553a16=a367_0x1c25af,_0x41e5df=Date[_0x553a16(0xd6)]();this[_0x553a16(0xd8)](_0x19e394,'Starting:\x20'+_0x587b75);try{const _0x1f3346=await _0x4da380(),_0x4c1b37=Date[_0x553a16(0xd6)]()-_0x41e5df;return this[_0x553a16(0xcf)](_0x19e394,_0x553a16(0xd2)+_0x587b75,_0x4c1b37),_0x1f3346;}catch(_0x28bb07){const _0x5df805=Date['now']()-_0x41e5df;this[_0x553a16(0xe8)](_0x19e394,_0x553a16(0xf1)+_0x587b75,{'error':_0x28bb07 instanceof Error?_0x28bb07[_0x553a16(0xff)]:String(_0x28bb07),'duration':_0x5df805});throw _0x28bb07;}}[a367_0x1c25af(0xef)](){const _0x442f8b=a367_0x1c25af;try{if(!a367_0x144d4d[_0x442f8b(0x102)](this[_0x442f8b(0xd0)]))return[];const _0x5b0ac0=a367_0x144d4d[_0x442f8b(0xec)](this[_0x442f8b(0xd0)],_0x442f8b(0xce));return _0x5b0ac0[_0x442f8b(0xd9)]('\x0a')[_0x442f8b(0xe2)](_0x584148=>_0x584148[_0x442f8b(0xe9)]())[_0x442f8b(0xf0)](_0x3e07ce=>JSON['parse'](_0x3e07ce));}catch(_0x42aadc){return console[_0x442f8b(0xf6)]('Failed\x20to\x20read\x20logs:',_0x42aadc),[];}}[a367_0x1c25af(0xe0)](){const _0x40e88b=a367_0x1c25af;try{a367_0x144d4d[_0x40e88b(0x102)](this['logFilePath'])&&a367_0x144d4d[_0x40e88b(0xfd)](this[_0x40e88b(0xd0)],'',_0x40e88b(0xce));}catch(_0x114d0d){console[_0x40e88b(0xf6)](_0x40e88b(0xf2),_0x114d0d);}}[a367_0x1c25af(0xf4)](){const _0x84e1f7=a367_0x1c25af;return this[_0x84e1f7(0xf3)];}}export const logger=new Logger();
1
+ const a367_0x224a71=a367_0x3702;(function(_0x5c7ed5,_0x252bf7){const _0xc01993=a367_0x3702,_0x53762b=_0x5c7ed5();while(!![]){try{const _0x1a82eb=parseInt(_0xc01993(0xf0))/0x1*(parseInt(_0xc01993(0xbd))/0x2)+-parseInt(_0xc01993(0xe5))/0x3*(parseInt(_0xc01993(0xe1))/0x4)+-parseInt(_0xc01993(0xbf))/0x5+-parseInt(_0xc01993(0xc7))/0x6+-parseInt(_0xc01993(0xc2))/0x7*(parseInt(_0xc01993(0xd2))/0x8)+-parseInt(_0xc01993(0xc1))/0x9*(-parseInt(_0xc01993(0xba))/0xa)+parseInt(_0xc01993(0xeb))/0xb*(parseInt(_0xc01993(0xef))/0xc);if(_0x1a82eb===_0x252bf7)break;else _0x53762b['push'](_0x53762b['shift']());}catch(_0xc3ee9f){_0x53762b['push'](_0x53762b['shift']());}}}(a367_0x2d4a,0x9e624));import a367_0x3a03ef from'winston';import a367_0x31ab8c from'node:fs';import a367_0xd3e92 from'node:path';function a367_0x3702(_0x5d46ca,_0x203300){_0x5d46ca=_0x5d46ca-0xb9;const _0x2d4aed=a367_0x2d4a();let _0x370294=_0x2d4aed[_0x5d46ca];return _0x370294;}function a367_0x2d4a(){const _0x1d18c0=['transports','readFileSync','level','writeFileSync','Completed:\x20','stringify','filter','currentRawCommand','48UtBhOs','timestamp','now','addColors','winstonLogger','initWinstonLogger','mkdirSync','duration','blue','dirname','yellow','Starting:\x20','errors','info','toISOString','1497772aXIUxy','printf','success','setLogPath','3gcMigu','format','readLogs','utf8','warn','createLogger','451PrGuQW','split','command','logTask','137004hNKROd','1obNWMB','trim','logFilePath','clear','2260mSQyKz','.lovrabet.log','error','922996yFXoPk','existsSync','152165oKWJkI','map','49815fjIDdS','587734FbfmEQ','unknown','rawCommand','details','clearLogs','3738702LSOyFA','join','parse'];a367_0x2d4a=function(){return _0x1d18c0;};return a367_0x2d4a();}class Logger{[a367_0x224a71(0xd6)];[a367_0x224a71(0xf2)];['currentRawCommand']='';constructor(){const _0x37f2be=a367_0x224a71;this[_0x37f2be(0xf2)]='';}['setRawCommand'](_0x1eebc8){const _0x4c700b=a367_0x224a71;this[_0x4c700b(0xd1)]=_0x1eebc8;}[a367_0x224a71(0xd7)](){const _0x1b6b2e=a367_0x224a71,_0x5d931c=a367_0xd3e92[_0x1b6b2e(0xdb)](this[_0x1b6b2e(0xf2)]);!a367_0x31ab8c[_0x1b6b2e(0xbe)](_0x5d931c)&&a367_0x31ab8c[_0x1b6b2e(0xd8)](_0x5d931c,{'recursive':!![]});const _0x131d5e=a367_0x3a03ef[_0x1b6b2e(0xe6)]['combine'](a367_0x3a03ef[_0x1b6b2e(0xe6)][_0x1b6b2e(0xd3)](),a367_0x3a03ef['format'][_0x1b6b2e(0xde)]({'stack':!![]}),a367_0x3a03ef[_0x1b6b2e(0xe6)][_0x1b6b2e(0xe2)](_0x3687df=>{const _0x3c5f52=_0x1b6b2e,_0x56848c={'timestamp':_0x3687df['timestamp']||new Date()[_0x3c5f52(0xe0)](),'level':_0x3687df[_0x3c5f52(0xcc)]||_0x3c5f52(0xdf),'command':_0x3687df[_0x3c5f52(0xed)]||_0x3c5f52(0xc3),'rawCommand':_0x3687df[_0x3c5f52(0xc4)]||this[_0x3c5f52(0xd1)]||undefined,'message':_0x3687df['message']||'','duration':_0x3687df[_0x3c5f52(0xd9)]||undefined,'details':_0x3687df[_0x3c5f52(0xc5)]||undefined};return JSON[_0x3c5f52(0xcf)](_0x56848c);}));this[_0x1b6b2e(0xd6)]=a367_0x3a03ef[_0x1b6b2e(0xea)]({'level':_0x1b6b2e(0xdf),'format':_0x131d5e,'transports':[new a367_0x3a03ef[(_0x1b6b2e(0xca))]['File']({'filename':this['logFilePath'],'level':_0x1b6b2e(0xdf)})],'silent':![]}),a367_0x3a03ef[_0x1b6b2e(0xd5)]({'success':'green','error':'red','warn':_0x1b6b2e(0xdc),'info':_0x1b6b2e(0xda)});}[a367_0x224a71(0xe4)](_0x1faf2a){const _0xa98d5f=a367_0x224a71;this[_0xa98d5f(0xf2)]=a367_0xd3e92[_0xa98d5f(0xc8)](_0x1faf2a,_0xa98d5f(0xbb)),this[_0xa98d5f(0xd6)]&&this['winstonLogger'][_0xa98d5f(0xb9)](),this['initWinstonLogger']();}[a367_0x224a71(0xdf)](_0xfa5980,_0x89fcf4,_0x351cb1){const _0x11031f=a367_0x224a71;if(!this[_0x11031f(0xf2)]||!this[_0x11031f(0xd6)])return;this[_0x11031f(0xd6)][_0x11031f(0xdf)](_0x89fcf4,{'command':_0xfa5980,'details':_0x351cb1});}[a367_0x224a71(0xe3)](_0x11248c,_0x5f2662,_0x435ced,_0x263fa2){const _0x14415a=a367_0x224a71;if(!this[_0x14415a(0xf2)]||!this['winstonLogger'])return;this[_0x14415a(0xd6)]['log'](_0x14415a(0xdf),_0x5f2662,{'level':_0x14415a(0xe3),'command':_0x11248c,'duration':_0x435ced,'details':_0x263fa2});}[a367_0x224a71(0xbc)](_0x3a6b1d,_0xbd4243,_0x25494c){const _0x255c33=a367_0x224a71;if(!this[_0x255c33(0xf2)]||!this['winstonLogger'])return;this[_0x255c33(0xd6)][_0x255c33(0xbc)](_0xbd4243,{'command':_0x3a6b1d,'details':_0x25494c});}[a367_0x224a71(0xe9)](_0x2247c9,_0x37ddca,_0xafe404){const _0x544a57=a367_0x224a71;if(!this[_0x544a57(0xf2)]||!this[_0x544a57(0xd6)])return;this['winstonLogger']['warn'](_0x37ddca,{'command':_0x2247c9,'details':_0xafe404});}async[a367_0x224a71(0xee)](_0x2b8379,_0x6b3a99,_0x4e956b){const _0x158e28=a367_0x224a71,_0x22dcb7=Date[_0x158e28(0xd4)]();this[_0x158e28(0xdf)](_0x2b8379,_0x158e28(0xdd)+_0x6b3a99);try{const _0x41cbc9=await _0x4e956b(),_0x307cb8=Date[_0x158e28(0xd4)]()-_0x22dcb7;return this[_0x158e28(0xe3)](_0x2b8379,_0x158e28(0xce)+_0x6b3a99,_0x307cb8),_0x41cbc9;}catch(_0x35ae1e){const _0x4bf7e2=Date[_0x158e28(0xd4)]()-_0x22dcb7;this['error'](_0x2b8379,'Failed:\x20'+_0x6b3a99,{'error':_0x35ae1e instanceof Error?_0x35ae1e['message']:String(_0x35ae1e),'duration':_0x4bf7e2});throw _0x35ae1e;}}[a367_0x224a71(0xe7)](){const _0xecb8c4=a367_0x224a71;try{if(!a367_0x31ab8c['existsSync'](this['logFilePath']))return[];const _0x208ab1=a367_0x31ab8c[_0xecb8c4(0xcb)](this['logFilePath'],_0xecb8c4(0xe8));return _0x208ab1[_0xecb8c4(0xec)]('\x0a')[_0xecb8c4(0xd0)](_0x5cd843=>_0x5cd843[_0xecb8c4(0xf1)]())[_0xecb8c4(0xc0)](_0x3af9d6=>JSON[_0xecb8c4(0xc9)](_0x3af9d6));}catch(_0x4439da){return console[_0xecb8c4(0xe9)]('Failed\x20to\x20read\x20logs:',_0x4439da),[];}}[a367_0x224a71(0xc6)](){const _0x5ff529=a367_0x224a71;try{a367_0x31ab8c['existsSync'](this[_0x5ff529(0xf2)])&&a367_0x31ab8c[_0x5ff529(0xcd)](this[_0x5ff529(0xf2)],'','utf8');}catch(_0x4c5617){console['warn']('Failed\x20to\x20clear\x20logs:',_0x4c5617);}}['getWinstonInstance'](){return this['winstonLogger'];}}export const logger=new Logger();
@@ -1 +1 @@
1
- (function(_0x21149d,_0xce9066){const _0x396cb3=a368_0x3ae6,_0x5ed1e2=_0x21149d();while(!![]){try{const _0x3230ae=parseInt(_0x396cb3(0xa7))/0x1*(-parseInt(_0x396cb3(0xac))/0x2)+parseInt(_0x396cb3(0xa9))/0x3+parseInt(_0x396cb3(0xa1))/0x4+parseInt(_0x396cb3(0xa5))/0x5+parseInt(_0x396cb3(0xa2))/0x6+parseInt(_0x396cb3(0xad))/0x7+-parseInt(_0x396cb3(0xaa))/0x8*(parseInt(_0x396cb3(0xab))/0x9);if(_0x3230ae===_0xce9066)break;else _0x5ed1e2['push'](_0x5ed1e2['shift']());}catch(_0x46c99b){_0x5ed1e2['push'](_0x5ed1e2['shift']());}}}(a368_0x5465,0x266c7));import{CliErrors}from'../errors.js';function a368_0x3ae6(_0x561cd3,_0x2d7f53){_0x561cd3=_0x561cd3-0x9e;const _0x5465e2=a368_0x5465();let _0x3ae6e5=_0x5465e2[_0x561cd3];return _0x3ae6e5;}export function parseJsonParams(_0x1767fc){const _0x90478b=a368_0x3ae6;if(!_0x1767fc)return undefined;let _0x10ed84;try{_0x10ed84=JSON[_0x90478b(0xa3)](_0x1767fc);}catch{throw CliErrors['validation'](_0x90478b(0xa4)+_0x1767fc);}if(!_0x10ed84||typeof _0x10ed84!==_0x90478b(0xa8)||Array[_0x90478b(0x9f)](_0x10ed84))throw CliErrors[_0x90478b(0xa0)](_0x90478b(0x9e),_0x90478b(0xa6));return _0x10ed84;}function a368_0x5465(){const _0x5215fc=['2243080wJdBWT','9cOcvjx','1448ODvutP','886956xEbrPf','--params\x20must\x20be\x20a\x20JSON\x20object','isArray','validation','240772sQJSUr','1655808uoGovg','parse','Invalid\x20JSON\x20for\x20--params:\x20','190605KqRysK','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','143MXAmoF','object','120930PzkBfJ'];a368_0x5465=function(){return _0x5215fc;};return a368_0x5465();}
1
+ function a368_0x4e3b(){const _0x57c2f8=['26670xKjwqT','15ZVDMsh','591990MmwIkM','374638kdsIGY','419223NSnekG','351UROeZJ','323742hZzCfr','parse','2296800iyVFfI','105430aOcPKt','object','Invalid\x20JSON\x20for\x20--params:\x20','validation','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','96eIgWYT','24gbYrDh','564YDqZaD'];a368_0x4e3b=function(){return _0x57c2f8;};return a368_0x4e3b();}function a368_0x5344(_0x7773f,_0x10242f){_0x7773f=_0x7773f-0x145;const _0x4e3ba3=a368_0x4e3b();let _0x5344da=_0x4e3ba3[_0x7773f];return _0x5344da;}(function(_0x19a3db,_0x46930e){const _0x51667a=a368_0x5344,_0x1e5baa=_0x19a3db();while(!![]){try{const _0x39db0b=-parseInt(_0x51667a(0x14b))/0x1+parseInt(_0x51667a(0x151))/0x2*(parseInt(_0x51667a(0x14c))/0x3)+parseInt(_0x51667a(0x153))/0x4+parseInt(_0x51667a(0x14d))/0x5*(-parseInt(_0x51667a(0x149))/0x6)+-parseInt(_0x51667a(0x14f))/0x7*(-parseInt(_0x51667a(0x148))/0x8)+parseInt(_0x51667a(0x150))/0x9*(parseInt(_0x51667a(0x154))/0xa)+parseInt(_0x51667a(0x14e))/0xb*(-parseInt(_0x51667a(0x14a))/0xc);if(_0x39db0b===_0x46930e)break;else _0x1e5baa['push'](_0x1e5baa['shift']());}catch(_0x4dff48){_0x1e5baa['push'](_0x1e5baa['shift']());}}}(a368_0x4e3b,0x64afc));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x1d907d){const _0x4686db=a368_0x5344;if(!_0x1d907d)return undefined;let _0x49ff2c;try{_0x49ff2c=JSON[_0x4686db(0x152)](_0x1d907d);}catch{throw CliErrors['validation'](_0x4686db(0x145)+_0x1d907d);}if(!_0x49ff2c||typeof _0x49ff2c!==_0x4686db(0x155)||Array['isArray'](_0x49ff2c))throw CliErrors[_0x4686db(0x146)]('--params\x20must\x20be\x20a\x20JSON\x20object',_0x4686db(0x147));return _0x49ff2c;}
@@ -1 +1 @@
1
- function a369_0x1c19(_0x5e6cab,_0x55d74a){_0x5e6cab=_0x5e6cab-0xcf;const _0x3185eb=a369_0x3185();let _0x1c1911=_0x3185eb[_0x5e6cab];return _0x1c1911;}function a369_0x3185(){const _0x25e20c=['2622028bFrFCr','340kSxmXG','1175454zQdChC','5662XMbyrQ','11646qVobDL','411sxZNbx','win32','24IUakqr','328225mvcbzV','platform','3221250ldPSdf','1448577LjtjgB'];a369_0x3185=function(){return _0x25e20c;};return a369_0x3185();}const a369_0x5303d1=a369_0x1c19;(function(_0x57233d,_0x1f3e58){const _0xcac862=a369_0x1c19,_0x12b3ce=_0x57233d();while(!![]){try{const _0x409700=parseInt(_0xcac862(0xd4))/0x1+-parseInt(_0xcac862(0xcf))/0x2*(parseInt(_0xcac862(0xd1))/0x3)+parseInt(_0xcac862(0xd8))/0x4+-parseInt(_0xcac862(0xd9))/0x5*(-parseInt(_0xcac862(0xd0))/0x6)+-parseInt(_0xcac862(0xda))/0x7+-parseInt(_0xcac862(0xd3))/0x8*(parseInt(_0xcac862(0xd7))/0x9)+parseInt(_0xcac862(0xd6))/0xa;if(_0x409700===_0x1f3e58)break;else _0x12b3ce['push'](_0x12b3ce['shift']());}catch(_0x2ac8c2){_0x12b3ce['push'](_0x12b3ce['shift']());}}}(a369_0x3185,0x61771));export const isWindows=process[a369_0x5303d1(0xd5)]===a369_0x5303d1(0xd2);export function resolveNpmBin(_0x2745c6){return isWindows?_0x2745c6+'.cmd':_0x2745c6;}
1
+ const a369_0x4ea266=a369_0x2a2c;(function(_0x5dc950,_0x5be5a5){const _0x14cbd2=a369_0x2a2c,_0x558e84=_0x5dc950();while(!![]){try{const _0xc16b4c=parseInt(_0x14cbd2(0x1ec))/0x1*(parseInt(_0x14cbd2(0x1f6))/0x2)+-parseInt(_0x14cbd2(0x1f1))/0x3*(-parseInt(_0x14cbd2(0x1f7))/0x4)+parseInt(_0x14cbd2(0x1ed))/0x5+parseInt(_0x14cbd2(0x1ef))/0x6+parseInt(_0x14cbd2(0x1ee))/0x7*(-parseInt(_0x14cbd2(0x1e9))/0x8)+-parseInt(_0x14cbd2(0x1f5))/0x9*(parseInt(_0x14cbd2(0x1f3))/0xa)+parseInt(_0x14cbd2(0x1f4))/0xb*(parseInt(_0x14cbd2(0x1f2))/0xc);if(_0xc16b4c===_0x5be5a5)break;else _0x558e84['push'](_0x558e84['shift']());}catch(_0x294988){_0x558e84['push'](_0x558e84['shift']());}}}(a369_0x4f4f,0x3d4ac));function a369_0x2a2c(_0x44c5e5,_0x369c53){_0x44c5e5=_0x44c5e5-0x1e9;const _0x4f4f3f=a369_0x4f4f();let _0x2a2c5c=_0x4f4f3f[_0x44c5e5];return _0x2a2c5c;}export const isWindows=process[a369_0x4ea266(0x1f0)]===a369_0x4ea266(0x1ea);function a369_0x4f4f(){const _0x25e3e5=['10IiAdMB','55891BGnqSN','4467591zjZeJE','33008KrluyG','80EUFwrU','556680azhfFK','win32','.cmd','2OZQmTW','1680395kdcWHn','49CHRbzq','1491384TmOWxL','platform','4887ytzjti','1380xwdPUZ'];a369_0x4f4f=function(){return _0x25e3e5;};return a369_0x4f4f();}export function resolveNpmBin(_0x5d4062){const _0x17e549=a369_0x4ea266;return isWindows?_0x5d4062+_0x17e549(0x1eb):_0x5d4062;}
@@ -1 +1 @@
1
- export function sleep(_0x2755da){return new Promise(_0x33d9a0=>setTimeout(_0x33d9a0,_0x2755da));}
1
+ export function sleep(_0x263c93){return new Promise(_0x3a165d=>setTimeout(_0x3a165d,_0x263c93));}
@@ -1 +1 @@
1
- function a371_0x38ba(){const _0x226b0a=['utf8','3506136xaZmVm','getMonth','.scss','processDirectory','62iGqKGs','writeFile','toUpperCase','LOVRABET','tableName:\x20\x22','Template\x20content\x20replacement\x20failed','name','Starting\x20template\x20content\x20replacement','processTemplate','.jsx','toDisplayTitle','name:\x20\x22','getDate','api','template','padStart','getSeconds','getHours','toLowerCase','now','replaceApiContent','split','push','YourModel','map','isFile','replaceContent','join','pad','promises','pop','32210LOELyz','9573424zJBHMc','6278382GhWlic','894KBNihm','15005gBWmaB','charAt','datasetCode:\x20\x22','processFile','\x0a\x20\x20\x20\x20{\x20','message','includes','.css','toComponentName','default','.md','.tpl','.json','formatLocalTimestamp','info','alias:\x20\x22','replace','copyFile','getMinutes','.tsx','mkdir','.ts','extname','tableName','getFullYear','5759220jaFAxh','toISOString','alias','Template\x20content\x20replacement\x20completed','isDirectory','error','13336HsBOjG','endsWith','slice','success','3qIzrXT','1298uhULst','.js','\x20},','readFile'];a371_0x38ba=function(){return _0x226b0a;};return a371_0x38ba();}function a371_0x20a0(_0x569fa9,_0xd85c9a){_0x569fa9=_0x569fa9-0x1b0;const _0x38ba8c=a371_0x38ba();let _0x20a05c=_0x38ba8c[_0x569fa9];return _0x20a05c;}const a371_0x482238=a371_0x20a0;(function(_0x3103c1,_0x5cdd23){const _0xd8c52e=a371_0x20a0,_0xa3e32c=_0x3103c1();while(!![]){try{const _0x1f8de0=parseInt(_0xd8c52e(0x1c7))/0x1*(parseInt(_0xd8c52e(0x1b9))/0x2)+-parseInt(_0xd8c52e(0x1bd))/0x3*(-parseInt(_0xd8c52e(0x1b3))/0x4)+parseInt(_0xd8c52e(0x1ea))/0x5*(parseInt(_0xd8c52e(0x1e9))/0x6)+-parseInt(_0xd8c52e(0x1e7))/0x7+-parseInt(_0xd8c52e(0x1c3))/0x8+parseInt(_0xd8c52e(0x1e8))/0x9+parseInt(_0xd8c52e(0x1e6))/0xa*(-parseInt(_0xd8c52e(0x1be))/0xb);if(_0x1f8de0===_0x5cdd23)break;else _0xa3e32c['push'](_0xa3e32c['shift']());}catch(_0x424637){_0xa3e32c['push'](_0xa3e32c['shift']());}}}(a371_0x38ba,0xc63d7));import a371_0x5c0411 from'node:fs';import a371_0x3cdb89 from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a371_0x482238(0x1e3)](_0x59fd39){const _0x2df37b=a371_0x482238;return String(_0x59fd39)[_0x2df37b(0x1d6)](0x2,'0');}static[a371_0x482238(0x1f7)](_0x52fc71){const _0x1f4a28=a371_0x482238,_0x18eabf=_0x52fc71[_0x1f4a28(0x1b2)](),_0x1c88f3=this[_0x1f4a28(0x1e3)](_0x52fc71[_0x1f4a28(0x1c4)]()+0x1),_0x1def75=this[_0x1f4a28(0x1e3)](_0x52fc71[_0x1f4a28(0x1d3)]()),_0x1ba724=this['pad'](_0x52fc71[_0x1f4a28(0x1d8)]()),_0x4d6bb3=this[_0x1f4a28(0x1e3)](_0x52fc71[_0x1f4a28(0x1fc)]()),_0x1afe6d=this[_0x1f4a28(0x1e3)](_0x52fc71[_0x1f4a28(0x1d7)]());return{'createdAt':_0x18eabf+'-'+_0x1c88f3+'-'+_0x1def75+'\x20'+_0x1ba724+':'+_0x4d6bb3+':'+_0x1afe6d,'createdDate':_0x18eabf+'-'+_0x1c88f3+'-'+_0x1def75,'createdTime':_0x1ba724+':'+_0x4d6bb3+':'+_0x1afe6d};}static['toComponentName'](_0x192d8c){const _0x59bc68=a371_0x482238,_0x549762=_0x192d8c[_0x59bc68(0x1dc)]('/')[_0x59bc68(0x1e5)]()||_0x192d8c;return _0x549762['split']('-')[_0x59bc68(0x1df)](_0x5d740e=>_0x5d740e[_0x59bc68(0x1eb)](0x0)['toUpperCase']()+_0x5d740e[_0x59bc68(0x1bb)](0x1)[_0x59bc68(0x1d9)]())['join']('');}static['toDisplayTitle'](_0x3c9be1){const _0x41f89d=a371_0x482238,_0x22efa9=_0x3c9be1[_0x41f89d(0x1dc)]('/')[_0x41f89d(0x1e5)]()||_0x3c9be1;return _0x22efa9[_0x41f89d(0x1dc)]('-')[_0x41f89d(0x1df)](_0x113dca=>_0x113dca[_0x41f89d(0x1eb)](0x0)[_0x41f89d(0x1c9)]()+_0x113dca['slice'](0x1)[_0x41f89d(0x1d9)]())['join']('\x20');}static[a371_0x482238(0x1e1)](_0x3fa190,_0x3e4e7e,_0x217aa4){const _0x5aef43=a371_0x482238,_0x35d9b2=this[_0x5aef43(0x1f2)](_0x3e4e7e),_0x3f8c34=this[_0x5aef43(0x1d1)](_0x3e4e7e),{createdAt:_0xcf8f6,createdDate:_0x70b6a4,createdTime:_0x358dfd}=this['formatLocalTimestamp'](new Date());let _0x6dbebc=_0x3fa190[_0x5aef43(0x1fa)](/\{CliVersion\}/g,CLI_VERSION)[_0x5aef43(0x1fa)](/\{ComponentName\}/g,_0x35d9b2)[_0x5aef43(0x1fa)](/\{DisplayTitle\}/g,_0x3f8c34)['replace'](/\{PageName\}/g,_0x3e4e7e)['replace'](/\{TemplateName\}/g,_0x217aa4)[_0x5aef43(0x1fa)](/\{CreatedAt\}/g,_0xcf8f6)[_0x5aef43(0x1fa)](/\{CreatedDate\}/g,_0x70b6a4)[_0x5aef43(0x1fa)](/\{CreatedTime\}/g,_0x358dfd);return _0x6dbebc;}static[a371_0x482238(0x1db)](_0x3e8036,_0x1ba861,_0x822e07,_0x5f122c,_0x4d4ea6,_0x51a193,_0x190c66,_0x2ab42a,_0x560fa8){const _0x155356=a371_0x482238,_0x3dedc6=new Date(),_0x16f2d3=_0x3dedc6[_0x155356(0x1b4)](),_0x510155=_0x822e07[_0x155356(0x1df)](_0x5686c4=>{const _0x531d4e=_0x155356,_0x46fe85=[_0x531d4e(0x1ec)+_0x5686c4['datasetCode']+'\x22',_0x531d4e(0x1cb)+_0x5686c4[_0x531d4e(0x1b1)]+'\x22',_0x531d4e(0x1d2)+_0x5686c4[_0x531d4e(0x1cd)]+'\x22'];return _0x5686c4[_0x531d4e(0x1b5)]&&_0x46fe85[_0x531d4e(0x1dd)](_0x531d4e(0x1f9)+_0x5686c4['alias']+'\x22'),_0x531d4e(0x1ee)+_0x46fe85[_0x531d4e(0x1e2)](',\x20')+_0x531d4e(0x1c0);})['join'](''),_0x5292a7=_0x5f122c||_0x822e07[0x0]?.['alias']||_0x155356(0x1de);let _0x4c2176=_0x3e8036[_0x155356(0x1fa)](/\{AppCode\}/g,_0x1ba861)[_0x155356(0x1fa)](/\{ModelConfigs\}/g,_0x510155)['replace'](/\{ExampleModelName\}/g,_0x5292a7)[_0x155356(0x1fa)](/\{ApiFileName\}/g,_0x4d4ea6||_0x155356(0x1d4))[_0x155356(0x1fa)](/\{ConfigName\}/g,_0x51a193||_0x155356(0x1f3))[_0x155356(0x1fa)](/\{ClientConfigParam\}/g,_0x190c66||'')['replace'](/\{SdkConfigFileName\}/g,_0x560fa8||'sdk-config')[_0x155356(0x1fa)](/\{VarPrefix\}/g,_0x2ab42a||_0x155356(0x1ca))[_0x155356(0x1fa)](/\{CreatedAt\}/g,_0x16f2d3);return _0x4c2176;}static async[a371_0x482238(0x1cf)](_0x5ae1ad,_0x357289,_0x1b8615,_0x55ba25,_0x881257=!![]){const _0x31d5aa=a371_0x482238,_0x3bfe22=Date[_0x31d5aa(0x1da)]();try{_0x881257&&logger[_0x31d5aa(0x1f8)](_0x31d5aa(0x1d5),_0x31d5aa(0x1ce),{'templatePath':_0x5ae1ad,'targetPath':_0x357289,'pageName':_0x1b8615,'templateName':_0x55ba25});await a371_0x5c0411[_0x31d5aa(0x1e4)][_0x31d5aa(0x1fe)](_0x357289,{'recursive':!![]}),await this[_0x31d5aa(0x1c6)](_0x5ae1ad,_0x357289,_0x1b8615,_0x55ba25);if(_0x881257){const _0x3d692d=Date['now']()-_0x3bfe22;logger[_0x31d5aa(0x1bc)]('template',_0x31d5aa(0x1b6),_0x3d692d,{'pageName':_0x1b8615,'templateName':_0x55ba25});}}catch(_0x25761a){if(_0x881257){const _0x17cbb9=Date[_0x31d5aa(0x1da)]()-_0x3bfe22;logger[_0x31d5aa(0x1b8)](_0x31d5aa(0x1d5),_0x31d5aa(0x1cc),{'templatePath':_0x5ae1ad,'targetPath':_0x357289,'pageName':_0x1b8615,'templateName':_0x55ba25,'error':_0x25761a instanceof Error?_0x25761a[_0x31d5aa(0x1ef)]:String(_0x25761a),'duration':_0x17cbb9});}throw _0x25761a;}}static async[a371_0x482238(0x1c6)](_0x5d79fc,_0x231592,_0x779efa,_0x4f3a98){const _0xd8a24b=a371_0x482238,_0x50c5c6=await a371_0x5c0411[_0xd8a24b(0x1e4)]['readdir'](_0x5d79fc,{'withFileTypes':!![]});for(const _0x498f8b of _0x50c5c6){const _0x375bf2=a371_0x3cdb89['join'](_0x5d79fc,_0x498f8b[_0xd8a24b(0x1cd)]);let _0x32c59f=a371_0x3cdb89['join'](_0x231592,_0x498f8b['name']);_0x498f8b['name'][_0xd8a24b(0x1ba)](_0xd8a24b(0x1f5))&&(_0x32c59f=a371_0x3cdb89[_0xd8a24b(0x1e2)](_0x231592,_0x498f8b['name'][_0xd8a24b(0x1fa)](/\.tpl$/,'')));if(_0x498f8b[_0xd8a24b(0x1b7)]())await a371_0x5c0411['promises'][_0xd8a24b(0x1fe)](_0x32c59f,{'recursive':!![]}),await this[_0xd8a24b(0x1c6)](_0x375bf2,_0x32c59f,_0x779efa,_0x4f3a98);else _0x498f8b[_0xd8a24b(0x1e0)]()&&await this[_0xd8a24b(0x1ed)](_0x375bf2,_0x32c59f,_0x779efa,_0x4f3a98);}}static async[a371_0x482238(0x1ed)](_0x442b39,_0x2db9f5,_0x376755,_0x5bade8){const _0x1d0375=a371_0x482238,_0x5eee8d=a371_0x3cdb89[_0x1d0375(0x1b0)](_0x442b39)[_0x1d0375(0x1d9)]();_0x442b39[_0x1d0375(0x1ba)](_0x1d0375(0x1f5))&&(_0x2db9f5=_0x2db9f5[_0x1d0375(0x1fa)](/\.tpl$/,''));const _0x50d553=[_0x1d0375(0x1fd),_0x1d0375(0x1ff),_0x1d0375(0x1d0),_0x1d0375(0x1bf),_0x1d0375(0x1f6),_0x1d0375(0x1f4),_0x1d0375(0x1f1),_0x1d0375(0x1c5),_0x1d0375(0x1f5)];if(_0x50d553[_0x1d0375(0x1f0)](_0x5eee8d)||_0x442b39[_0x1d0375(0x1ba)](_0x1d0375(0x1f5))){const _0x3b754a=await a371_0x5c0411[_0x1d0375(0x1e4)][_0x1d0375(0x1c1)](_0x442b39,'utf8'),_0x2d8e75=this[_0x1d0375(0x1e1)](_0x3b754a,_0x376755,_0x5bade8);await a371_0x5c0411[_0x1d0375(0x1e4)][_0x1d0375(0x1c8)](_0x2db9f5,_0x2d8e75,_0x1d0375(0x1c2));}else await a371_0x5c0411['promises'][_0x1d0375(0x1fb)](_0x442b39,_0x2db9f5);}}
1
+ const a371_0x5d00f1=a371_0x1008;(function(_0x40d964,_0x4063b1){const _0x2e81b8=a371_0x1008,_0x2f0365=_0x40d964();while(!![]){try{const _0x2d58f1=-parseInt(_0x2e81b8(0x72))/0x1+-parseInt(_0x2e81b8(0x97))/0x2*(parseInt(_0x2e81b8(0x68))/0x3)+parseInt(_0x2e81b8(0x9c))/0x4+parseInt(_0x2e81b8(0x66))/0x5+-parseInt(_0x2e81b8(0x6a))/0x6*(parseInt(_0x2e81b8(0x7d))/0x7)+-parseInt(_0x2e81b8(0x8a))/0x8+parseInt(_0x2e81b8(0x96))/0x9*(parseInt(_0x2e81b8(0x9b))/0xa);if(_0x2d58f1===_0x4063b1)break;else _0x2f0365['push'](_0x2f0365['shift']());}catch(_0x47f8dc){_0x2f0365['push'](_0x2f0365['shift']());}}}(a371_0x39eb,0x45cc6));import a371_0x250b22 from'node:fs';import a371_0x6229aa from'node:path';function a371_0x39eb(){const _0x42dfa5=['2335105xWKEad','getMinutes','1884YevFFp','toUpperCase','12PFRrHC','extname','replaceContent','slice','alias','push','map','split','156727MxQcgt','.tpl','copyFile','sdk-config','error','tableName','readFile','.md','toDisplayTitle','tableName:\x20\x22','formatLocalTimestamp','180502lijKxt','YourModel','mkdir','template','pop','processDirectory','charAt','.jsx','processFile','datasetCode','Template\x20content\x20replacement\x20failed','pad','now','2226936CeSiMw','datasetCode:\x20\x22','toComponentName','promises','join','alias:\x20\x22','processTemplate','name:\x20\x22','endsWith','getHours','name','isDirectory','8622suWZFJ','408fjkXwm','.scss','readdir','LOVRABET','3490wmBVKu','397236PAxGKo','.js','getMonth','.tsx','\x20},','replaceApiContent','replace','utf8','api'];a371_0x39eb=function(){return _0x42dfa5;};return a371_0x39eb();}import{logger}from'../utils/logger.js';function a371_0x1008(_0x2755f1,_0x208b9e){_0x2755f1=_0x2755f1-0x65;const _0x39eb16=a371_0x39eb();let _0x1008a3=_0x39eb16[_0x2755f1];return _0x1008a3;}import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a371_0x5d00f1(0x88)](_0x5738bf){return String(_0x5738bf)['padStart'](0x2,'0');}static[a371_0x5d00f1(0x7c)](_0x4495cc){const _0x240854=a371_0x5d00f1,_0x351554=_0x4495cc['getFullYear'](),_0x3ac518=this[_0x240854(0x88)](_0x4495cc[_0x240854(0x9e)]()+0x1),_0x312c63=this[_0x240854(0x88)](_0x4495cc['getDate']()),_0x51a936=this[_0x240854(0x88)](_0x4495cc[_0x240854(0x93)]()),_0x1d51e4=this[_0x240854(0x88)](_0x4495cc[_0x240854(0x67)]()),_0x5dcde4=this[_0x240854(0x88)](_0x4495cc['getSeconds']());return{'createdAt':_0x351554+'-'+_0x3ac518+'-'+_0x312c63+'\x20'+_0x51a936+':'+_0x1d51e4+':'+_0x5dcde4,'createdDate':_0x351554+'-'+_0x3ac518+'-'+_0x312c63,'createdTime':_0x51a936+':'+_0x1d51e4+':'+_0x5dcde4};}static[a371_0x5d00f1(0x8c)](_0x139479){const _0x5ecdaf=a371_0x5d00f1,_0x66923c=_0x139479[_0x5ecdaf(0x71)]('/')[_0x5ecdaf(0x81)]()||_0x139479;return _0x66923c['split']('-')[_0x5ecdaf(0x70)](_0x4a362c=>_0x4a362c[_0x5ecdaf(0x83)](0x0)[_0x5ecdaf(0x69)]()+_0x4a362c['slice'](0x1)['toLowerCase']())['join']('');}static['toDisplayTitle'](_0x364eb0){const _0x3bd11d=a371_0x5d00f1,_0x572848=_0x364eb0[_0x3bd11d(0x71)]('/')[_0x3bd11d(0x81)]()||_0x364eb0;return _0x572848[_0x3bd11d(0x71)]('-')[_0x3bd11d(0x70)](_0x18f4d5=>_0x18f4d5[_0x3bd11d(0x83)](0x0)['toUpperCase']()+_0x18f4d5[_0x3bd11d(0x6d)](0x1)['toLowerCase']())[_0x3bd11d(0x8e)]('\x20');}static['replaceContent'](_0xb59f7a,_0x59cbb3,_0x52f04c){const _0xf7c447=a371_0x5d00f1,_0x879268=this['toComponentName'](_0x59cbb3),_0x346f62=this[_0xf7c447(0x7a)](_0x59cbb3),{createdAt:_0x13a30d,createdDate:_0xa506bf,createdTime:_0x1599ff}=this[_0xf7c447(0x7c)](new Date());let _0x50cc6f=_0xb59f7a[_0xf7c447(0xa2)](/\{CliVersion\}/g,CLI_VERSION)[_0xf7c447(0xa2)](/\{ComponentName\}/g,_0x879268)['replace'](/\{DisplayTitle\}/g,_0x346f62)[_0xf7c447(0xa2)](/\{PageName\}/g,_0x59cbb3)[_0xf7c447(0xa2)](/\{TemplateName\}/g,_0x52f04c)[_0xf7c447(0xa2)](/\{CreatedAt\}/g,_0x13a30d)[_0xf7c447(0xa2)](/\{CreatedDate\}/g,_0xa506bf)[_0xf7c447(0xa2)](/\{CreatedTime\}/g,_0x1599ff);return _0x50cc6f;}static[a371_0x5d00f1(0xa1)](_0x49f988,_0x40abac,_0x741fc4,_0x230993,_0x23993c,_0x39b849,_0x3a6474,_0xe6f61c,_0xa7fa34){const _0x3abd1f=a371_0x5d00f1,_0xd0bcef=new Date(),_0x33e0ab=_0xd0bcef['toISOString'](),_0x5a88d3=_0x741fc4[_0x3abd1f(0x70)](_0x5ca1f9=>{const _0x5d4b06=_0x3abd1f,_0x4b3dea=[_0x5d4b06(0x8b)+_0x5ca1f9[_0x5d4b06(0x86)]+'\x22',_0x5d4b06(0x7b)+_0x5ca1f9[_0x5d4b06(0x77)]+'\x22',_0x5d4b06(0x91)+_0x5ca1f9['name']+'\x22'];return _0x5ca1f9[_0x5d4b06(0x6e)]&&_0x4b3dea[_0x5d4b06(0x6f)](_0x5d4b06(0x8f)+_0x5ca1f9[_0x5d4b06(0x6e)]+'\x22'),'\x0a\x20\x20\x20\x20{\x20'+_0x4b3dea[_0x5d4b06(0x8e)](',\x20')+_0x5d4b06(0xa0);})[_0x3abd1f(0x8e)](''),_0x190264=_0x230993||_0x741fc4[0x0]?.['alias']||_0x3abd1f(0x7e);let _0x4a048a=_0x49f988['replace'](/\{AppCode\}/g,_0x40abac)['replace'](/\{ModelConfigs\}/g,_0x5a88d3)[_0x3abd1f(0xa2)](/\{ExampleModelName\}/g,_0x190264)['replace'](/\{ApiFileName\}/g,_0x23993c||_0x3abd1f(0x65))['replace'](/\{ConfigName\}/g,_0x39b849||'default')[_0x3abd1f(0xa2)](/\{ClientConfigParam\}/g,_0x3a6474||'')[_0x3abd1f(0xa2)](/\{SdkConfigFileName\}/g,_0xa7fa34||_0x3abd1f(0x75))[_0x3abd1f(0xa2)](/\{VarPrefix\}/g,_0xe6f61c||_0x3abd1f(0x9a))[_0x3abd1f(0xa2)](/\{CreatedAt\}/g,_0x33e0ab);return _0x4a048a;}static async[a371_0x5d00f1(0x90)](_0x665e48,_0x2464db,_0x4150a7,_0x2655be,_0xd513e4=!![]){const _0x28612c=a371_0x5d00f1,_0x2d02ce=Date[_0x28612c(0x89)]();try{_0xd513e4&&logger['info']('template','Starting\x20template\x20content\x20replacement',{'templatePath':_0x665e48,'targetPath':_0x2464db,'pageName':_0x4150a7,'templateName':_0x2655be});await a371_0x250b22['promises']['mkdir'](_0x2464db,{'recursive':!![]}),await this['processDirectory'](_0x665e48,_0x2464db,_0x4150a7,_0x2655be);if(_0xd513e4){const _0x4da789=Date[_0x28612c(0x89)]()-_0x2d02ce;logger['success']('template','Template\x20content\x20replacement\x20completed',_0x4da789,{'pageName':_0x4150a7,'templateName':_0x2655be});}}catch(_0x476c35){if(_0xd513e4){const _0x96e5cf=Date[_0x28612c(0x89)]()-_0x2d02ce;logger[_0x28612c(0x76)](_0x28612c(0x80),_0x28612c(0x87),{'templatePath':_0x665e48,'targetPath':_0x2464db,'pageName':_0x4150a7,'templateName':_0x2655be,'error':_0x476c35 instanceof Error?_0x476c35['message']:String(_0x476c35),'duration':_0x96e5cf});}throw _0x476c35;}}static async[a371_0x5d00f1(0x82)](_0x930e43,_0x3689ec,_0x57dfd6,_0x2a7c2c){const _0x19ed3a=a371_0x5d00f1,_0x129c37=await a371_0x250b22[_0x19ed3a(0x8d)][_0x19ed3a(0x99)](_0x930e43,{'withFileTypes':!![]});for(const _0x11b434 of _0x129c37){const _0x46b2f5=a371_0x6229aa[_0x19ed3a(0x8e)](_0x930e43,_0x11b434[_0x19ed3a(0x94)]);let _0xff4b1c=a371_0x6229aa[_0x19ed3a(0x8e)](_0x3689ec,_0x11b434[_0x19ed3a(0x94)]);_0x11b434[_0x19ed3a(0x94)][_0x19ed3a(0x92)](_0x19ed3a(0x73))&&(_0xff4b1c=a371_0x6229aa[_0x19ed3a(0x8e)](_0x3689ec,_0x11b434[_0x19ed3a(0x94)]['replace'](/\.tpl$/,'')));if(_0x11b434[_0x19ed3a(0x95)]())await a371_0x250b22[_0x19ed3a(0x8d)][_0x19ed3a(0x7f)](_0xff4b1c,{'recursive':!![]}),await this[_0x19ed3a(0x82)](_0x46b2f5,_0xff4b1c,_0x57dfd6,_0x2a7c2c);else _0x11b434['isFile']()&&await this[_0x19ed3a(0x85)](_0x46b2f5,_0xff4b1c,_0x57dfd6,_0x2a7c2c);}}static async['processFile'](_0x4423f8,_0x3fcfd9,_0x18fd13,_0x25af0f){const _0x33d292=a371_0x5d00f1,_0x4ec40d=a371_0x6229aa[_0x33d292(0x6b)](_0x4423f8)['toLowerCase']();_0x4423f8[_0x33d292(0x92)](_0x33d292(0x73))&&(_0x3fcfd9=_0x3fcfd9[_0x33d292(0xa2)](/\.tpl$/,''));const _0x44e0ab=[_0x33d292(0x9f),'.ts',_0x33d292(0x84),_0x33d292(0x9d),'.json',_0x33d292(0x79),'.css',_0x33d292(0x98),_0x33d292(0x73)];if(_0x44e0ab['includes'](_0x4ec40d)||_0x4423f8[_0x33d292(0x92)]('.tpl')){const _0x156ea1=await a371_0x250b22[_0x33d292(0x8d)][_0x33d292(0x78)](_0x4423f8,_0x33d292(0xa3)),_0x59567b=this[_0x33d292(0x6c)](_0x156ea1,_0x18fd13,_0x25af0f);await a371_0x250b22[_0x33d292(0x8d)]['writeFile'](_0x3fcfd9,_0x59567b,_0x33d292(0xa3));}else await a371_0x250b22[_0x33d292(0x8d)][_0x33d292(0x74)](_0x4423f8,_0x3fcfd9);}}
@@ -1 +1 @@
1
- (function(_0x1ead81,_0x9b1811){const _0x1ff348=a372_0x370b,_0x5c4025=_0x1ead81();while(!![]){try{const _0x520000=-parseInt(_0x1ff348(0x15a))/0x1+parseInt(_0x1ff348(0x166))/0x2+parseInt(_0x1ff348(0x15f))/0x3+-parseInt(_0x1ff348(0x14d))/0x4*(parseInt(_0x1ff348(0x168))/0x5)+-parseInt(_0x1ff348(0x14b))/0x6*(-parseInt(_0x1ff348(0x167))/0x7)+parseInt(_0x1ff348(0x152))/0x8*(-parseInt(_0x1ff348(0x15b))/0x9)+parseInt(_0x1ff348(0x163))/0xa;if(_0x520000===_0x9b1811)break;else _0x5c4025['push'](_0x5c4025['shift']());}catch(_0x3a3c5a){_0x5c4025['push'](_0x5c4025['shift']());}}}(a372_0x5ee5,0x8b95e));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a372_0x4a9838 from'semver';function a372_0x370b(_0x5de44e,_0x19517b){_0x5de44e=_0x5de44e-0x149;const _0x5ee57e=a372_0x5ee5();let _0x370b92=_0x5ee57e[_0x5de44e];return _0x370b92;}import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x266dbf=a372_0x370b,_0x3f0cb6=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x266dbf(0x157)]()[_0x266dbf(0x161)]();return _0x3f0cb6==='1'||_0x3f0cb6===_0x266dbf(0x14c)||_0x3f0cb6===_0x266dbf(0x162);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x22237f=a372_0x370b;return join(cacheRoot(),_0x22237f(0x149),_0x22237f(0x155));}async function readUpdateNoticeCache(){const _0x15ee34=a372_0x370b;try{const _0x3276e3=await readFile(getUpdateNoticeCachePath(),_0x15ee34(0x154)),_0x133308=JSON[_0x15ee34(0x156)](_0x3276e3);if(!_0x133308||typeof _0x133308!==_0x15ee34(0x14a))return{};return _0x133308;}catch{return{};}}async function writeUpdateNoticeCache(_0x6ea936){const _0x508377=a372_0x370b;try{const _0x408f69=getUpdateNoticeCachePath();await mkdir(dirname(_0x408f69),{'recursive':!![]}),await writeFile(_0x408f69,JSON['stringify'](_0x6ea936,null,0x2)+'\x0a',_0x508377(0x154));}catch{}}function isFreshCheck(_0x4ef9c8,_0x3a7b6d){const _0x295f9f=a372_0x370b;return typeof _0x4ef9c8['checkedAt']===_0x295f9f(0x15d)&&_0x3a7b6d-_0x4ef9c8['checkedAt']<UPDATE_CHECK_TTL_MS;}function a372_0x5ee5(){const _0x5348e5=['10525ZIjsOT','rabetbase-cli','object','6wFKgIm','true','2068anWtFQ','\x20update','stableVersion','gte','valid','1192NWZkpi','lastNotifiedVersion','utf8','update-check.json','parse','trim',',\x20run:\x20','\x20available,\x20current\x20','198826ASarXN','62163ZEAnBG','latest','number','checkedAt','2881458LyTlvI','/v/','toLowerCase','yes','4590800bmQCcv','lastNotifiedAt','https://www.npmjs.com/package/','2142714aclfxz','2779511zsRVYx'];a372_0x5ee5=function(){return _0x5348e5;};return a372_0x5ee5();}function isRecentlyNotified(_0x27f525,_0xe7906b,_0x24b5e9){const _0x13c660=a372_0x370b;return _0x27f525[_0x13c660(0x153)]===_0xe7906b&&typeof _0x27f525[_0x13c660(0x164)]===_0x13c660(0x15d)&&_0x24b5e9-_0x27f525[_0x13c660(0x164)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x762bbd){const _0x3e9890=a372_0x370b;return _0x3e9890(0x165)+NPM_PACKAGE_NAME+_0x3e9890(0x160)+_0x762bbd;}export async function resolveLatestUpdateNotice(){const _0x53fd5a=a372_0x370b;if(isUpdateNoticeDisabled())return null;try{const _0x37cf16=Date['now'](),_0x461e32=getCliVersion(),_0x4e6af7=await readUpdateNoticeCache();let _0x4a866a=isFreshCheck(_0x4e6af7,_0x37cf16)?_0x4e6af7[_0x53fd5a(0x15c)]?.['trim']():undefined;if(!_0x4a866a&&!isFreshCheck(_0x4e6af7,_0x37cf16)){const _0x366e01=await getCliVersionPolicy();_0x4a866a=_0x366e01?.[_0x53fd5a(0x14f)]?.[_0x53fd5a(0x157)]()||undefined,await writeUpdateNoticeCache({..._0x4e6af7,'checkedAt':_0x37cf16,'latest':_0x4a866a,'failed':!_0x4a866a});}if(!_0x4a866a||!a372_0x4a9838[_0x53fd5a(0x151)](_0x461e32)||!a372_0x4a9838[_0x53fd5a(0x151)](_0x4a866a))return null;if(a372_0x4a9838[_0x53fd5a(0x150)](_0x461e32,_0x4a866a))return null;if(isRecentlyNotified(_0x4e6af7,_0x4a866a,_0x37cf16))return null;const _0x57e61e=CLI_BIN_NAME+_0x53fd5a(0x14e);return await writeUpdateNoticeCache({..._0x4e6af7,'checkedAt':isFreshCheck(_0x4e6af7,_0x37cf16)?_0x4e6af7[_0x53fd5a(0x15e)]:_0x37cf16,'latest':_0x4a866a,'failed':![],'lastNotifiedVersion':_0x4a866a,'lastNotifiedAt':_0x37cf16}),{'command':_0x57e61e,'current':_0x461e32,'latest':_0x4a866a,'url':buildNpmVersionUrl(_0x4a866a),'message':CLI_BIN_NAME+'\x20'+_0x4a866a+_0x53fd5a(0x159)+_0x461e32+_0x53fd5a(0x158)+_0x57e61e};}catch{return null;}}
1
+ function a372_0x349f(_0x44d282,_0x145f05){_0x44d282=_0x44d282-0xe2;const _0x173981=a372_0x1739();let _0x349f75=_0x173981[_0x44d282];return _0x349f75;}(function(_0xa5084c,_0x71c1cf){const _0x434527=a372_0x349f,_0x36719a=_0xa5084c();while(!![]){try{const _0x5aeff7=parseInt(_0x434527(0xf7))/0x1*(parseInt(_0x434527(0xfb))/0x2)+-parseInt(_0x434527(0xfe))/0x3*(-parseInt(_0x434527(0x101))/0x4)+-parseInt(_0x434527(0xe8))/0x5+parseInt(_0x434527(0xe4))/0x6+-parseInt(_0x434527(0xea))/0x7*(parseInt(_0x434527(0xe5))/0x8)+parseInt(_0x434527(0xe7))/0x9*(-parseInt(_0x434527(0xf0))/0xa)+parseInt(_0x434527(0xf9))/0xb;if(_0x5aeff7===_0x71c1cf)break;else _0x36719a['push'](_0x36719a['shift']());}catch(_0x2798f5){_0x36719a['push'](_0x36719a['shift']());}}}(a372_0x1739,0x976ef));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a372_0x92c64b from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x22927c=a372_0x349f,_0x1a9ce5=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x22927c(0xf2)]()[_0x22927c(0xe3)]();return _0x1a9ce5==='1'||_0x1a9ce5===_0x22927c(0xf5)||_0x1a9ce5===_0x22927c(0xf4);}function cacheRoot(){const _0x576a98=a372_0x349f;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x576a98(0x102));}export function getUpdateNoticeCachePath(){const _0x4ecc45=a372_0x349f;return join(cacheRoot(),_0x4ecc45(0xec),_0x4ecc45(0xf3));}async function readUpdateNoticeCache(){const _0x5f5b92=a372_0x349f;try{const _0x30998e=await readFile(getUpdateNoticeCachePath(),_0x5f5b92(0xeb)),_0x123bdf=JSON[_0x5f5b92(0xe2)](_0x30998e);if(!_0x123bdf||typeof _0x123bdf!==_0x5f5b92(0xf6))return{};return _0x123bdf;}catch{return{};}}async function writeUpdateNoticeCache(_0x43209c){const _0x5d083f=a372_0x349f;try{const _0x413078=getUpdateNoticeCachePath();await mkdir(dirname(_0x413078),{'recursive':!![]}),await writeFile(_0x413078,JSON[_0x5d083f(0xff)](_0x43209c,null,0x2)+'\x0a',_0x5d083f(0xeb));}catch{}}function isFreshCheck(_0x26d602,_0x2d0694){const _0x4c3abb=a372_0x349f;return typeof _0x26d602['checkedAt']===_0x4c3abb(0xee)&&_0x2d0694-_0x26d602[_0x4c3abb(0xed)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x11b820,_0x510831,_0x85b21e){const _0x570ac3=a372_0x349f;return _0x11b820['lastNotifiedVersion']===_0x510831&&typeof _0x11b820[_0x570ac3(0x100)]===_0x570ac3(0xee)&&_0x85b21e-_0x11b820[_0x570ac3(0x100)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x384d93){const _0x31de72=a372_0x349f;return _0x31de72(0xef)+NPM_PACKAGE_NAME+_0x31de72(0xfd)+_0x384d93;}function a372_0x1739(){const _0x305f93=['checkedAt','number','https://www.npmjs.com/package/','30jJXROe','\x20available,\x20current\x20','trim','update-check.json','yes','true','object','316LvWLMS',',\x20run:\x20','6577868dBMbJB','latest','4516LiXRFg','gte','/v/','1149dMCAOo','stringify','lastNotifiedAt','4940rPItXr','.cache','valid','parse','toLowerCase','6492954GDliTT','24yMqyrc','now','1662894fDGkrq','4368135SXRJOL','stableVersion','1909796rDoxXo','utf8','rabetbase-cli'];a372_0x1739=function(){return _0x305f93;};return a372_0x1739();}export async function resolveLatestUpdateNotice(){const _0xa7d3c6=a372_0x349f;if(isUpdateNoticeDisabled())return null;try{const _0x4b1832=Date[_0xa7d3c6(0xe6)](),_0xa7f8f3=getCliVersion(),_0x3c89ae=await readUpdateNoticeCache();let _0x14975a=isFreshCheck(_0x3c89ae,_0x4b1832)?_0x3c89ae[_0xa7d3c6(0xfa)]?.[_0xa7d3c6(0xf2)]():undefined;if(!_0x14975a&&!isFreshCheck(_0x3c89ae,_0x4b1832)){const _0x832a3=await getCliVersionPolicy();_0x14975a=_0x832a3?.[_0xa7d3c6(0xe9)]?.[_0xa7d3c6(0xf2)]()||undefined,await writeUpdateNoticeCache({..._0x3c89ae,'checkedAt':_0x4b1832,'latest':_0x14975a,'failed':!_0x14975a});}if(!_0x14975a||!a372_0x92c64b[_0xa7d3c6(0x103)](_0xa7f8f3)||!a372_0x92c64b[_0xa7d3c6(0x103)](_0x14975a))return null;if(a372_0x92c64b[_0xa7d3c6(0xfc)](_0xa7f8f3,_0x14975a))return null;if(isRecentlyNotified(_0x3c89ae,_0x14975a,_0x4b1832))return null;const _0x5e32b8=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x3c89ae,'checkedAt':isFreshCheck(_0x3c89ae,_0x4b1832)?_0x3c89ae[_0xa7d3c6(0xed)]:_0x4b1832,'latest':_0x14975a,'failed':![],'lastNotifiedVersion':_0x14975a,'lastNotifiedAt':_0x4b1832}),{'command':_0x5e32b8,'current':_0xa7f8f3,'latest':_0x14975a,'url':buildNpmVersionUrl(_0x14975a),'message':CLI_BIN_NAME+'\x20'+_0x14975a+_0xa7d3c6(0xf1)+_0xa7f8f3+_0xa7d3c6(0xf8)+_0x5e32b8};}catch{return null;}}
@@ -1 +1 @@
1
- function a373_0x515c(){var _0xf5c661=['55RCNdFA','776imPweh','2521470YZkKxa','364041YWlzhR','25739xELZSP','4pOLMAu','435139zYWimQ','16BRwXtn','183264XsSSJC','1502190MOjoUn','2385665MMYDke'];a373_0x515c=function(){return _0xf5c661;};return a373_0x515c();}(function(_0x3d1ccc,_0x5bbb69){var _0x6699a0=a373_0x10a5,_0x4bc6fe=_0x3d1ccc();while(!![]){try{var _0x2f7e5f=-parseInt(_0x6699a0(0xf9))/0x1+-parseInt(_0x6699a0(0xfa))/0x2*(-parseInt(_0x6699a0(0xfb))/0x3)+parseInt(_0x6699a0(0xf8))/0x4*(-parseInt(_0x6699a0(0xfd))/0x5)+-parseInt(_0x6699a0(0xfc))/0x6+-parseInt(_0x6699a0(0xf7))/0x7*(parseInt(_0x6699a0(0xff))/0x8)+parseInt(_0x6699a0(0x101))/0x9+-parseInt(_0x6699a0(0x100))/0xa*(-parseInt(_0x6699a0(0xfe))/0xb);if(_0x2f7e5f===_0x5bbb69)break;else _0x4bc6fe['push'](_0x4bc6fe['shift']());}catch(_0x178f9d){_0x4bc6fe['push'](_0x4bc6fe['shift']());}}}(a373_0x515c,0x420f6));function a373_0x10a5(_0x59663e,_0x3a2eb1){_0x59663e=_0x59663e-0xf7;var _0x515c25=a373_0x515c();var _0x10a5a9=_0x515c25[_0x59663e];return _0x10a5a9;}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
1
+ function a373_0x446b(){var _0x311978=['963FWgceH','1311430VIflZR','4jPdlgk','5234SiKuTq','10bAIrWO','35gqhcTO','5247429bVrFLi','918574WtyyvB','2118228CEjHAZ','551712bhYIWZ','7838829jOKFBw'];a373_0x446b=function(){return _0x311978;};return a373_0x446b();}function a373_0x1816(_0x5a6980,_0x497b82){_0x5a6980=_0x5a6980-0xca;var _0x446b1e=a373_0x446b();var _0x1816b7=_0x446b1e[_0x5a6980];return _0x1816b7;}(function(_0xe48637,_0x378040){var _0x22811a=a373_0x1816,_0x35b23f=_0xe48637();while(!![]){try{var _0x4712a2=-parseInt(_0x22811a(0xcb))/0x1+-parseInt(_0x22811a(0xd2))/0x2*(-parseInt(_0x22811a(0xcf))/0x3)+parseInt(_0x22811a(0xd1))/0x4*(parseInt(_0x22811a(0xd0))/0x5)+parseInt(_0x22811a(0xcc))/0x6+parseInt(_0x22811a(0xd4))/0x7*(parseInt(_0x22811a(0xcd))/0x8)+-parseInt(_0x22811a(0xce))/0x9+-parseInt(_0x22811a(0xd3))/0xa*(-parseInt(_0x22811a(0xca))/0xb);if(_0x4712a2===_0x378040)break;else _0x35b23f['push'](_0x35b23f['shift']());}catch(_0x220de0){_0x35b23f['push'](_0x35b23f['shift']());}}}(a373_0x446b,0x77105));import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
@@ -1 +1 @@
1
- function a374_0x39c4(_0x454ee6,_0x4a50e8){_0x454ee6=_0x454ee6-0xd0;var _0x186a5f=a374_0x186a();var _0x39c4f9=_0x186a5f[_0x454ee6];return _0x39c4f9;}(function(_0x5322dd,_0x108716){var _0x167d1f=a374_0x39c4,_0x2a345d=_0x5322dd();while(!![]){try{var _0x1fb873=parseInt(_0x167d1f(0xd8))/0x1*(parseInt(_0x167d1f(0xda))/0x2)+-parseInt(_0x167d1f(0xd0))/0x3*(parseInt(_0x167d1f(0xd9))/0x4)+parseInt(_0x167d1f(0xd4))/0x5+-parseInt(_0x167d1f(0xd2))/0x6+parseInt(_0x167d1f(0xd7))/0x7*(-parseInt(_0x167d1f(0xd1))/0x8)+parseInt(_0x167d1f(0xd3))/0x9*(parseInt(_0x167d1f(0xd6))/0xa)+-parseInt(_0x167d1f(0xd5))/0xb*(-parseInt(_0x167d1f(0xdb))/0xc);if(_0x1fb873===_0x108716)break;else _0x2a345d['push'](_0x2a345d['shift']());}catch(_0x322db3){_0x2a345d['push'](_0x2a345d['shift']());}}}(a374_0x186a,0x6e2e0));function a374_0x186a(){var _0x14c42d=['6625770EdcarJ','112JxKPKn','3433ydeqmg','12IciNws','114AVGqgJ','853536nWnpGX','544935vpAvGY','309928hxDlKF','3748026AcchLg','9UaylVB','2644820VWGcRC','132djjSbp'];a374_0x186a=function(){return _0x14c42d;};return a374_0x186a();}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x4c40a9,_0x4d80f5){setActiveCookie(_0x4c40a9);try{return await _0x4d80f5();}finally{clearActiveCookie();}}
1
+ (function(_0x482733,_0x1a8f0e){var _0xdd1d22=a374_0x3cff,_0x32d8a4=_0x482733();while(!![]){try{var _0x2dff3e=parseInt(_0xdd1d22(0x1a5))/0x1+parseInt(_0xdd1d22(0x1a2))/0x2*(-parseInt(_0xdd1d22(0x1a9))/0x3)+-parseInt(_0xdd1d22(0x1a6))/0x4*(parseInt(_0xdd1d22(0x1a4))/0x5)+parseInt(_0xdd1d22(0x1a8))/0x6+parseInt(_0xdd1d22(0x1aa))/0x7+-parseInt(_0xdd1d22(0x1a3))/0x8+parseInt(_0xdd1d22(0x1a7))/0x9;if(_0x2dff3e===_0x1a8f0e)break;else _0x32d8a4['push'](_0x32d8a4['shift']());}catch(_0x2eda48){_0x32d8a4['push'](_0x32d8a4['shift']());}}}(a374_0x27b0,0x337ad));function a374_0x27b0(){var _0x53ff23=['6404508steKeg','2047116bhXYYL','33BvxYYX','1247232KWZbhC','74186hCQQBF','3006576szZAFI','2945sRTqrn','130679EHrOyI','2492dvBRpc'];a374_0x27b0=function(){return _0x53ff23;};return a374_0x27b0();}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a374_0x3cff(_0x54b2d4,_0x248ccc){_0x54b2d4=_0x54b2d4-0x1a2;var _0x27b05c=a374_0x27b0();var _0x3cff13=_0x27b05c[_0x54b2d4];return _0x3cff13;}export async function withActiveCookie(_0xe3406b,_0x76ddb9){setActiveCookie(_0xe3406b);try{return await _0x76ddb9();}finally{clearActiveCookie();}}
@@ -1 +1 @@
1
- (function(_0x1b284b,_0x516138){var _0x51205c=a375_0xf3bd,_0x2ab8df=_0x1b284b();while(!![]){try{var _0x4e4a75=-parseInt(_0x51205c(0x106))/0x1+parseInt(_0x51205c(0x10d))/0x2*(parseInt(_0x51205c(0x108))/0x3)+parseInt(_0x51205c(0x10c))/0x4+-parseInt(_0x51205c(0x10b))/0x5+-parseInt(_0x51205c(0x10a))/0x6+parseInt(_0x51205c(0x109))/0x7+parseInt(_0x51205c(0x10f))/0x8*(parseInt(_0x51205c(0x10e))/0x9);if(_0x4e4a75===_0x516138)break;else _0x2ab8df['push'](_0x2ab8df['shift']());}catch(_0x3877de){_0x2ab8df['push'](_0x2ab8df['shift']());}}}(a375_0x18ca,0x94246));export function writeCliSideChannelLine(_0x482f2b){var _0x21991b=a375_0xf3bd;process[_0x21991b(0x105)][_0x21991b(0x107)](_0x482f2b+'\x0a');}function a375_0xf3bd(_0x5cd283,_0x583ade){_0x5cd283=_0x5cd283-0x105;var _0x18ca80=a375_0x18ca();var _0xf3bdd9=_0x18ca80[_0x5cd283];return _0xf3bdd9;}function a375_0x18ca(){var _0x1d9766=['243hNEsRX','170920TcLWIb','stderr','106692NNrvIG','write','240621efKNcu','5145280NpzBtE','6692994gTszet','3426675DcRRJb','4168028myqJrP','4HuAOFM'];a375_0x18ca=function(){return _0x1d9766;};return a375_0x18ca();}
1
+ function a375_0x5727(_0x1a51e8,_0x36a21a){_0x1a51e8=_0x1a51e8-0x17c;var _0x2ed94d=a375_0x2ed9();var _0x5727eb=_0x2ed94d[_0x1a51e8];return _0x5727eb;}function a375_0x2ed9(){var _0x446753=['415745UCRDje','1RkoRqr','stderr','12wYluUO','156pwSuAI','write','84JaZGVE','1768344mueGyB','18ltvJPq','165865vZkeHR','688zrafhB','3417363rhWzth','223752yDUbWm','100kzojWU','879508GnrTcl'];a375_0x2ed9=function(){return _0x446753;};return a375_0x2ed9();}(function(_0x1cd7df,_0x4b8159){var _0x145f29=a375_0x5727,_0x4026a7=_0x1cd7df();while(!![]){try{var _0x15d262=-parseInt(_0x145f29(0x185))/0x1*(parseInt(_0x145f29(0x183))/0x2)+-parseInt(_0x145f29(0x181))/0x3*(parseInt(_0x145f29(0x187))/0x4)+-parseInt(_0x145f29(0x17e))/0x5*(parseInt(_0x145f29(0x17d))/0x6)+parseInt(_0x145f29(0x18a))/0x7*(-parseInt(_0x145f29(0x17f))/0x8)+-parseInt(_0x145f29(0x180))/0x9+-parseInt(_0x145f29(0x182))/0xa*(parseInt(_0x145f29(0x184))/0xb)+-parseInt(_0x145f29(0x17c))/0xc*(-parseInt(_0x145f29(0x188))/0xd);if(_0x15d262===_0x4b8159)break;else _0x4026a7['push'](_0x4026a7['shift']());}catch(_0x408652){_0x4026a7['push'](_0x4026a7['shift']());}}}(a375_0x2ed9,0x3c366));export function writeCliSideChannelLine(_0x539cbd){var _0x568d4c=a375_0x5727;process[_0x568d4c(0x186)][_0x568d4c(0x189)](_0x539cbd+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.5.10",
3
+ "version": "2.5.11-beta.1",
4
4
  "description": "Developer CLI for Lovrabet apps, datasets, pages, SQL, Backend Function, database connections, skills, and AI agent workflows.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rabetbase
3
- version: 2.5.10
3
+ version: 2.5.11-beta.1
4
4
  description: "Use for Lovrabet development work through the rabetbase CLI: create or bind projects (including creating an AppCode project in the current folder), pull Dataset/API facts and maintain SDK clients, or manage datasets, Instant API access policies, database connections, pages, host frontend integration, frontend subapp resources, SQL, Backend Functions, approval flows and workflows, menus, notifications, knowledge bases and kb search, Agent Context Rules, roles, files, OCR, deployment metadata, platform issues, and 钉钉沙箱账号绑定. Trigger when the user mentions rabetbase, Lovrabet development, AppCode, Dataset, Instant API allow/deny/route policy, project creation, api pull/codegen, dblink, page, host frontend integration, subapp resource versions, SQL, BFF, creating or designing an approval flow, workflow, business process, or multi-step approval, menu, notification, knowledge base, kb search, Agent Context Rules, RULES.md, DATABASE.md, rule list/get/set, role, file/OCR, or related development workflows."
5
5
  metadata:
6
6
  requires:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rabetbase-dataset-generation
3
- version: 2.5.10
3
+ version: 2.5.11-beta.1
4
4
  description: "根据自然语言需求设计并创建 Lovrabet DOV2 METADATA 数据集、字段和 lookup 关系;由调用 rabetbase CLI 的 Agent 建模,支持单实体、多实体和已有数据集引用。"
5
5
  metadata:
6
6
  requires:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rabetbase-page-generation
3
- version: 2.5.10
3
+ version: 2.5.11-beta.1
4
4
  description: "根据用户需求,为已有 Dataset 选择、生成、串联、验证和发布 CustomJSX 页面;提供列表、详情、新增、更新基础模板,并支持裁剪或扩展页面。"
5
5
  metadata:
6
6
  requires:
@@ -2,8 +2,8 @@
2
2
  "schemaVersion": 1,
3
3
  "name": "rabetbase",
4
4
  "packageName": "@lovrabet/rabetbase-cli",
5
- "packageVersion": "2.5.10",
6
- "skillVersion": "2.5.10",
5
+ "packageVersion": "2.5.11-beta.1",
6
+ "skillVersion": "2.5.11-beta.1",
7
7
  "files": [
8
8
  "SKILL.md",
9
9
  "guides/approval-flow-development-workflow.md",
@@ -159,5 +159,5 @@
159
159
  "references/rabetbase-user-account.md",
160
160
  "references/rabetbase-workspace.md"
161
161
  ],
162
- "digest": "76eb56eec7cc3f784f0b7f65b210205c6c0e69b8d8254cb00aa0689b2daf809e"
162
+ "digest": "34b1220349a0ca4fff732c432b7a4a1bb3c698c3651f535560baf10b394d0f16"
163
163
  }