@lovrabet/rabetbase-cli 2.4.3 → 2.4.4-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 (381) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/index.js +1 -1
  20. package/lib/commands/app/list.js +1 -1
  21. package/lib/commands/app/members-list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/shared.js +1 -1
  24. package/lib/commands/app-config/delete.js +1 -1
  25. package/lib/commands/app-config/get.js +1 -1
  26. package/lib/commands/app-config/index.js +1 -1
  27. package/lib/commands/app-config/list.js +1 -1
  28. package/lib/commands/app-config/set.js +1 -1
  29. package/lib/commands/app-config/shared.js +1 -1
  30. package/lib/commands/auth/index.js +1 -1
  31. package/lib/commands/bff/create.js +1 -1
  32. package/lib/commands/bff/delete.js +1 -1
  33. package/lib/commands/bff/detail.js +1 -1
  34. package/lib/commands/bff/index.js +1 -1
  35. package/lib/commands/bff/list.js +1 -1
  36. package/lib/commands/bff/pull.js +1 -1
  37. package/lib/commands/bff/push.js +1 -1
  38. package/lib/commands/bff/status.js +1 -1
  39. package/lib/commands/cli-skill/index.js +1 -1
  40. package/lib/commands/cli-update.js +1 -1
  41. package/lib/commands/codegen/index.js +1 -1
  42. package/lib/commands/codegen/sdk.js +1 -1
  43. package/lib/commands/codegen/sql.js +1 -1
  44. package/lib/commands/common/app-registry.js +1 -1
  45. package/lib/commands/common/app-selector.js +1 -1
  46. package/lib/commands/common/async-task.js +1 -1
  47. package/lib/commands/common/dry-run.js +1 -1
  48. package/lib/commands/common/flags.js +1 -1
  49. package/lib/commands/common/local-file.js +1 -1
  50. package/lib/commands/common/validate.js +1 -1
  51. package/lib/commands/config/get.js +1 -1
  52. package/lib/commands/config/index.js +1 -1
  53. package/lib/commands/config/list.js +1 -1
  54. package/lib/commands/config/set.js +1 -1
  55. package/lib/commands/config/shared.js +1 -1
  56. package/lib/commands/data/filter.js +1 -1
  57. package/lib/commands/data/getOne.js +1 -1
  58. package/lib/commands/data/index.js +1 -1
  59. package/lib/commands/data/shared.js +1 -1
  60. package/lib/commands/dataset/business-group-update.js +1 -1
  61. package/lib/commands/dataset/capability.js +1 -1
  62. package/lib/commands/dataset/delete.js +1 -1
  63. package/lib/commands/dataset/detail.js +1 -1
  64. package/lib/commands/dataset/extend-update.js +1 -1
  65. package/lib/commands/dataset/field-update.js +1 -1
  66. package/lib/commands/dataset/generate.js +1 -1
  67. package/lib/commands/dataset/index.js +1 -1
  68. package/lib/commands/dataset/list.js +1 -1
  69. package/lib/commands/dataset/operations.js +1 -1
  70. package/lib/commands/dataset/relation-audit.js +1 -1
  71. package/lib/commands/dataset/relation-create.js +1 -1
  72. package/lib/commands/dataset/relation-delete.js +1 -1
  73. package/lib/commands/dataset/relation-shared.js +1 -1
  74. package/lib/commands/dataset/relation-update.js +1 -1
  75. package/lib/commands/dataset/relations.js +1 -1
  76. package/lib/commands/dataset/rename.js +1 -1
  77. package/lib/commands/dataset/restore.js +1 -1
  78. package/lib/commands/db/analysis-batching.js +1 -1
  79. package/lib/commands/db/analyze-batch-plan.js +1 -1
  80. package/lib/commands/db/analyze-cancel.js +1 -1
  81. package/lib/commands/db/analyze-start.js +1 -1
  82. package/lib/commands/db/analyze-status.js +1 -1
  83. package/lib/commands/db/create.js +1 -1
  84. package/lib/commands/db/delete.js +1 -1
  85. package/lib/commands/db/detail.js +1 -1
  86. package/lib/commands/db/diff-refresh-start.d.ts +2 -0
  87. package/lib/commands/db/diff-refresh-start.js +1 -0
  88. package/lib/commands/db/diff-refresh-status.d.ts +2 -0
  89. package/lib/commands/db/diff-refresh-status.js +1 -0
  90. package/lib/commands/db/diff.js +1 -1
  91. package/lib/commands/db/index.js +1 -1
  92. package/lib/commands/db/list.js +1 -1
  93. package/lib/commands/db/shared.js +1 -1
  94. package/lib/commands/db/tables.js +1 -1
  95. package/lib/commands/db/test.js +1 -1
  96. package/lib/commands/db/update.js +1 -1
  97. package/lib/commands/doctor.js +1 -1
  98. package/lib/commands/file/index.js +1 -1
  99. package/lib/commands/init/index.js +1 -1
  100. package/lib/commands/issue/index.js +1 -1
  101. package/lib/commands/issue/nudge.js +1 -1
  102. package/lib/commands/issue/report.js +1 -1
  103. package/lib/commands/issue/shared.js +1 -1
  104. package/lib/commands/kb/create.js +1 -1
  105. package/lib/commands/kb/delete.js +1 -1
  106. package/lib/commands/kb/detail.js +1 -1
  107. package/lib/commands/kb/index.js +1 -1
  108. package/lib/commands/kb/list.js +1 -1
  109. package/lib/commands/kb/shared.js +1 -1
  110. package/lib/commands/kb/update.js +1 -1
  111. package/lib/commands/logs/index.js +1 -1
  112. package/lib/commands/menu/asset-update.js +1 -1
  113. package/lib/commands/menu/delete.js +1 -1
  114. package/lib/commands/menu/external-link-create.js +1 -1
  115. package/lib/commands/menu/external-link-update.js +1 -1
  116. package/lib/commands/menu/group-create.js +1 -1
  117. package/lib/commands/menu/group-update.js +1 -1
  118. package/lib/commands/menu/index.js +1 -1
  119. package/lib/commands/menu/list.js +1 -1
  120. package/lib/commands/menu/move.js +1 -1
  121. package/lib/commands/menu/regroup-start.js +1 -1
  122. package/lib/commands/menu/rename.js +1 -1
  123. package/lib/commands/menu/shared/compare-table.js +1 -1
  124. package/lib/commands/menu/shared/delete-plan.js +1 -1
  125. package/lib/commands/menu/shared/facts.js +1 -1
  126. package/lib/commands/menu/shared/index.js +1 -1
  127. package/lib/commands/menu/shared/inquirer.js +1 -1
  128. package/lib/commands/menu/shared/local-pages.js +1 -1
  129. package/lib/commands/menu/shared/logic.js +1 -1
  130. package/lib/commands/menu/shared/mutations.js +1 -1
  131. package/lib/commands/menu/shared/service.js +1 -1
  132. package/lib/commands/menu/shared/sync-core.js +1 -1
  133. package/lib/commands/menu/shared/update-core.js +1 -1
  134. package/lib/commands/menu/shared/valid-url.js +1 -1
  135. package/lib/commands/menu/sync.js +1 -1
  136. package/lib/commands/notification/config-create.d.ts +2 -0
  137. package/lib/commands/notification/config-create.js +1 -0
  138. package/lib/commands/notification/config-delete.d.ts +2 -0
  139. package/lib/commands/notification/config-delete.js +1 -0
  140. package/lib/commands/notification/config-list.js +1 -1
  141. package/lib/commands/notification/config-update.d.ts +2 -0
  142. package/lib/commands/notification/config-update.js +1 -0
  143. package/lib/commands/notification/index.js +1 -1
  144. package/lib/commands/notification/shared.d.ts +97 -0
  145. package/lib/commands/notification/shared.js +1 -0
  146. package/lib/commands/ocr/index.js +1 -1
  147. package/lib/commands/page/generate-start.js +1 -1
  148. package/lib/commands/page/generate-status.js +1 -1
  149. package/lib/commands/page/index.js +1 -1
  150. package/lib/commands/page/pull.js +1 -1
  151. package/lib/commands/page/push.js +1 -1
  152. package/lib/commands/page/react/create.js +1 -1
  153. package/lib/commands/page/react/detail.js +1 -1
  154. package/lib/commands/page/react/list.js +1 -1
  155. package/lib/commands/page/react/publish.js +1 -1
  156. package/lib/commands/page/react/shared.js +1 -1
  157. package/lib/commands/page/react/syntax.js +1 -1
  158. package/lib/commands/page/react/template.js +1 -1
  159. package/lib/commands/page/react/update.js +1 -1
  160. package/lib/commands/page/relation-audit.js +1 -1
  161. package/lib/commands/page/restore.js +1 -1
  162. package/lib/commands/page/shared.js +1 -1
  163. package/lib/commands/page/standard-page-status.js +1 -1
  164. package/lib/commands/page/sync.js +1 -1
  165. package/lib/commands/permit/index.js +1 -1
  166. package/lib/commands/permit/page-get.js +1 -1
  167. package/lib/commands/permit/page-set.js +1 -1
  168. package/lib/commands/permit/role-apis-set.js +1 -1
  169. package/lib/commands/permit/role-menus-set.js +1 -1
  170. package/lib/commands/permit/role-menus.js +1 -1
  171. package/lib/commands/permit/shared.js +1 -1
  172. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  173. package/lib/commands/project/create/format-elapsed.js +1 -1
  174. package/lib/commands/project/create/main.d.ts +1 -0
  175. package/lib/commands/project/create/main.js +1 -1
  176. package/lib/commands/project/create/materialize-project-template.d.ts +11 -0
  177. package/lib/commands/project/create/materialize-project-template.js +1 -0
  178. package/lib/commands/project/create/project-name.d.ts +2 -0
  179. package/lib/commands/project/create/project-name.js +1 -0
  180. package/lib/commands/project/create/project-template-archive.d.ts +6 -0
  181. package/lib/commands/project/create/project-template-archive.js +1 -0
  182. package/lib/commands/project/create/project-template-path.d.ts +1 -3
  183. package/lib/commands/project/create/project-template-path.js +1 -1
  184. package/lib/commands/project/create/use-copy-project-template.d.ts +2 -1
  185. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  186. package/lib/commands/project/create/use-format-code.js +1 -1
  187. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  188. package/lib/commands/project/index.js +1 -1
  189. package/lib/commands/project/upgrade.js +1 -1
  190. package/lib/commands/registry.js +1 -1
  191. package/lib/commands/role/create.js +1 -1
  192. package/lib/commands/role/delete.js +1 -1
  193. package/lib/commands/role/detail.js +1 -1
  194. package/lib/commands/role/index.js +1 -1
  195. package/lib/commands/role/list.js +1 -1
  196. package/lib/commands/role/shared.js +1 -1
  197. package/lib/commands/role/update.js +1 -1
  198. package/lib/commands/role/user-add.js +1 -1
  199. package/lib/commands/role/user-remove.js +1 -1
  200. package/lib/commands/role/user-resolve.js +1 -1
  201. package/lib/commands/run/index.js +1 -1
  202. package/lib/commands/schema.js +1 -1
  203. package/lib/commands/sql/create.js +1 -1
  204. package/lib/commands/sql/delete.js +1 -1
  205. package/lib/commands/sql/detail.js +1 -1
  206. package/lib/commands/sql/exec.js +1 -1
  207. package/lib/commands/sql/index.js +1 -1
  208. package/lib/commands/sql/list.js +1 -1
  209. package/lib/commands/sql/pull.js +1 -1
  210. package/lib/commands/sql/push.js +1 -1
  211. package/lib/commands/sql/shared.js +1 -1
  212. package/lib/commands/sql/status.js +1 -1
  213. package/lib/commands/sql/validate.js +1 -1
  214. package/lib/commands/task/index.js +1 -1
  215. package/lib/commands/task/status.js +1 -1
  216. package/lib/commands/tenant/index.js +1 -1
  217. package/lib/commands/tenant/members-list.js +1 -1
  218. package/lib/commands/tenant/shared.js +1 -1
  219. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  220. package/lib/commands/user-account/index.js +1 -1
  221. package/lib/commands/workspace/add.js +1 -1
  222. package/lib/commands/workspace/index.js +1 -1
  223. package/lib/commands/workspace/remove.js +1 -1
  224. package/lib/config/schema.js +1 -1
  225. package/lib/constant/cdn.d.ts +2 -0
  226. package/lib/constant/cdn.js +1 -1
  227. package/lib/constant/cli.js +1 -1
  228. package/lib/constant/defaults.js +1 -1
  229. package/lib/constant/domain.js +1 -1
  230. package/lib/constant/env.js +1 -1
  231. package/lib/constant/output.js +1 -1
  232. package/lib/constant/paths.js +1 -1
  233. package/lib/constant/risk.js +1 -1
  234. package/lib/context/app-resolver.js +1 -1
  235. package/lib/context/auth-resolver.js +1 -1
  236. package/lib/context/config-loader.js +1 -1
  237. package/lib/context.d.ts +1 -1
  238. package/lib/context.js +1 -1
  239. package/lib/core/alias-resolver.js +1 -1
  240. package/lib/core/api-client.d.ts +29 -2
  241. package/lib/core/api-client.js +1 -1
  242. package/lib/core/bff/config.js +1 -1
  243. package/lib/core/bff/file-system.js +1 -1
  244. package/lib/core/bff/hash.js +1 -1
  245. package/lib/core/bff/lock.js +1 -1
  246. package/lib/core/bff/utils.js +1 -1
  247. package/lib/core/db-resolver.js +1 -1
  248. package/lib/core/page/file-system.js +1 -1
  249. package/lib/core/page/hash.js +1 -1
  250. package/lib/core/page/lock.js +1 -1
  251. package/lib/core/sql-index-auditor.js +1 -1
  252. package/lib/core/sql-sync/config.js +1 -1
  253. package/lib/core/sql-sync/file-system.js +1 -1
  254. package/lib/core/sql-sync/hash.js +1 -1
  255. package/lib/core/sql-sync/lock.js +1 -1
  256. package/lib/core/sql-sync/utils.js +1 -1
  257. package/lib/core/sql-validator.js +1 -1
  258. package/lib/errors.js +1 -1
  259. package/lib/framework/build-all-flags.js +1 -1
  260. package/lib/framework/error-output.js +1 -1
  261. package/lib/framework/explicit-yes.js +1 -1
  262. package/lib/framework/flags.js +1 -1
  263. package/lib/framework/help.js +1 -1
  264. package/lib/framework/index.js +1 -1
  265. package/lib/framework/output.js +1 -1
  266. package/lib/framework/response.js +1 -1
  267. package/lib/framework/runner-alias.js +1 -1
  268. package/lib/framework/runner.js +1 -1
  269. package/lib/framework/schema-export.js +1 -1
  270. package/lib/framework/types.js +1 -1
  271. package/lib/generated/build-info.d.ts +4 -4
  272. package/lib/generated/build-info.js +1 -1
  273. package/lib/help.js +1 -1
  274. package/lib/postinstall.js +1 -1
  275. package/lib/runtime/confirmation.js +1 -1
  276. package/lib/runtime/event.js +1 -1
  277. package/lib/runtime/index.js +1 -1
  278. package/lib/runtime/queue.js +1 -1
  279. package/lib/runtime/resolve.js +1 -1
  280. package/lib/skills/builtin-skill.js +1 -1
  281. package/lib/skills/main.js +1 -1
  282. package/lib/skills/npx-skills-add.js +1 -1
  283. package/lib/skills/skill-presence.js +1 -1
  284. package/lib/telemetry/cli-command-trace.js +1 -1
  285. package/lib/telemetry/cli-help-trace.js +1 -1
  286. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  287. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  288. package/lib/telemetry/send-cli-trace-log.js +1 -1
  289. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  290. package/lib/utils/ai_config.js +1 -1
  291. package/lib/utils/apply-jq-filter.js +1 -1
  292. package/lib/utils/cdn-config.js +1 -1
  293. package/lib/utils/check-sdk-version.js +1 -1
  294. package/lib/utils/cli-version-check.js +1 -1
  295. package/lib/utils/cli-version-policy.d.ts +13 -0
  296. package/lib/utils/cli-version-policy.js +1 -1
  297. package/lib/utils/config.js +1 -1
  298. package/lib/utils/entity-with-id.js +1 -1
  299. package/lib/utils/file-utils.js +1 -1
  300. package/lib/utils/guides-cdn.js +1 -1
  301. package/lib/utils/http-client.js +1 -1
  302. package/lib/utils/is-non-interactive.js +1 -1
  303. package/lib/utils/logger.js +1 -1
  304. package/lib/utils/params.js +1 -1
  305. package/lib/utils/platform.js +1 -1
  306. package/lib/utils/rules-cdn.js +1 -1
  307. package/lib/utils/sleep.js +1 -1
  308. package/lib/utils/template-replacer.js +1 -1
  309. package/lib/utils/update-notice.js +1 -1
  310. package/lib/utils/version.js +1 -1
  311. package/lib/utils/with-active-cookie.js +1 -1
  312. package/lib/utils/write-cli-side-channel.js +1 -1
  313. package/package.json +9 -4
  314. package/skills/rabetbase/SKILL.md +33 -22
  315. package/skills/rabetbase/guides/backend-function.md +5 -3
  316. package/skills/rabetbase/guides/bff-creation-workflow.md +2 -2
  317. package/skills/rabetbase/guides/conflict-detection.md +2 -2
  318. package/skills/rabetbase/guides/database-connection-workflow.md +39 -5
  319. package/skills/rabetbase/guides/react-custom-page-workflow.md +16 -4
  320. package/skills/rabetbase/guides/sql-creation-workflow.md +4 -2
  321. package/skills/rabetbase/guides/sql-mybatis.md +2 -2
  322. package/skills/rabetbase/knowledge/page-schema/YtPage.md +3 -37
  323. package/skills/rabetbase/knowledge/react-page/generation-standards.md +14 -3
  324. package/skills/rabetbase/references/rabetbase-app-config.md +2 -2
  325. package/skills/rabetbase/references/rabetbase-bff-push.md +4 -5
  326. package/skills/rabetbase/references/rabetbase-bff-save.md +3 -3
  327. package/skills/rabetbase/references/rabetbase-config.md +2 -2
  328. package/skills/rabetbase/references/rabetbase-db-analyze.md +2 -2
  329. package/skills/rabetbase/references/rabetbase-db-detail.md +3 -0
  330. package/skills/rabetbase/references/rabetbase-db-diff-refresh.md +53 -0
  331. package/skills/rabetbase/references/rabetbase-db-diff.md +40 -21
  332. package/skills/rabetbase/references/rabetbase-db-list.md +1 -1
  333. package/skills/rabetbase/references/rabetbase-kb.md +5 -3
  334. package/skills/rabetbase/references/rabetbase-menu-asset-update.md +9 -10
  335. package/skills/rabetbase/references/rabetbase-menu-external-link-update.md +1 -3
  336. package/skills/rabetbase/references/rabetbase-menu-regroup-start.md +2 -3
  337. package/skills/rabetbase/references/rabetbase-notification-config-list.md +2 -2
  338. package/skills/rabetbase/references/rabetbase-notification-config-mutations.md +56 -0
  339. package/skills/rabetbase/references/rabetbase-page-react-detail.md +1 -1
  340. package/skills/rabetbase/references/rabetbase-page-react-list.md +1 -1
  341. package/skills/rabetbase/references/rabetbase-page-react-publish.md +2 -2
  342. package/skills/rabetbase/references/rabetbase-project-create.md +3 -0
  343. package/skills/rabetbase/references/rabetbase-run.md +1 -1
  344. package/skills/rabetbase/references/rabetbase-sql-create.md +1 -1
  345. package/skills/rabetbase/references/rabetbase-sql-push.md +3 -4
  346. package/skills/rabetbase/references/rabetbase-user-account.md +0 -1
  347. package/skills/rabetbase.manifest.json +5 -5
  348. package/templates/README.md +14 -2
  349. package/lib/commands/project/create/non-interactive.d.ts +0 -9
  350. package/lib/commands/project/create/non-interactive.js +0 -1
  351. package/lib/utils/copy-directory.d.ts +0 -1
  352. package/lib/utils/copy-directory.js +0 -1
  353. package/skills/rabetbase/knowledge/page-schema/LrSmartEcharts.md +0 -291
  354. package/skills/rabetbase/knowledge/page-schema/LrSmartStatistic.md +0 -223
  355. package/templates/projects/sub-app-react-demo/.prettierrc +0 -1
  356. package/templates/projects/sub-app-react-demo/CHANGELOG.md +0 -67
  357. package/templates/projects/sub-app-react-demo/README.md +0 -246
  358. package/templates/projects/sub-app-react-demo/docs/quick-start.md +0 -245
  359. package/templates/projects/sub-app-react-demo/index.html +0 -27
  360. package/templates/projects/sub-app-react-demo/package.json +0 -34
  361. package/templates/projects/sub-app-react-demo/public/logo.svg +0 -1
  362. package/templates/projects/sub-app-react-demo/public/vite.svg +0 -1
  363. package/templates/projects/sub-app-react-demo/src/api/api.ts +0 -26
  364. package/templates/projects/sub-app-react-demo/src/api/client.ts +0 -32
  365. package/templates/projects/sub-app-react-demo/src/components/demo-page-container/DemoPageContainer.module.css +0 -28
  366. package/templates/projects/sub-app-react-demo/src/components/demo-page-container/DemoPageContainer.tsx +0 -55
  367. package/templates/projects/sub-app-react-demo/src/layouts/MainLayout.tsx +0 -308
  368. package/templates/projects/sub-app-react-demo/src/main.tsx +0 -52
  369. package/templates/projects/sub-app-react-demo/src/pages/dashboard/index.tsx +0 -570
  370. package/templates/projects/sub-app-react-demo/src/pages/data-screen/index.tsx +0 -531
  371. package/templates/projects/sub-app-react-demo/src/pages/index.module.css +0 -500
  372. package/templates/projects/sub-app-react-demo/src/pages/index.tsx +0 -641
  373. package/templates/projects/sub-app-react-demo/src/pages/sdk-demo/index.tsx +0 -536
  374. package/templates/projects/sub-app-react-demo/src/pages/workbench/index.module.css +0 -295
  375. package/templates/projects/sub-app-react-demo/src/pages/workbench/index.tsx +0 -242
  376. package/templates/projects/sub-app-react-demo/src/router/index.tsx +0 -30
  377. package/templates/projects/sub-app-react-demo/src/style.css +0 -108
  378. package/templates/projects/sub-app-react-demo/src/utils/api.ts +0 -12
  379. package/templates/projects/sub-app-react-demo/src/vite-env.d.ts +0 -2
  380. package/templates/projects/sub-app-react-demo/tsconfig.json +0 -26
  381. package/templates/projects/sub-app-react-demo/vite.config.ts +0 -111
@@ -1 +1 @@
1
- function a194_0x48a4(_0x37f70b,_0x2848d2){_0x37f70b=_0x37f70b-0x17b;const _0x5551c7=a194_0x5551();let _0x48a49b=_0x5551c7[_0x37f70b];return _0x48a49b;}function a194_0x5551(){const _0x469860=['5619411mTsqKx','529242EjNVHp','3720GgvnMT','22923yyrYsU','4pObApx','300WbnCAS','1207317QVIVZf','1200524jmJafy','11450HDrnAw','6210008PDEgpS'];a194_0x5551=function(){return _0x469860;};return a194_0x5551();}(function(_0x52c4ff,_0x569df5){const _0x252d39=a194_0x48a4,_0x48decf=_0x52c4ff();while(!![]){try{const _0x960413=-parseInt(_0x252d39(0x184))/0x1+parseInt(_0x252d39(0x180))/0x2+-parseInt(_0x252d39(0x17f))/0x3*(parseInt(_0x252d39(0x17d))/0x4)+-parseInt(_0x252d39(0x181))/0x5*(-parseInt(_0x252d39(0x17e))/0x6)+parseInt(_0x252d39(0x183))/0x7+parseInt(_0x252d39(0x182))/0x8+parseInt(_0x252d39(0x17c))/0x9*(-parseInt(_0x252d39(0x17b))/0xa);if(_0x960413===_0x569df5)break;else _0x48decf['push'](_0x48decf['shift']());}catch(_0x1112b7){_0x48decf['push'](_0x48decf['shift']());}}}(a194_0x5551,0x6539d));import{taskStatus}from'../../commands/task/status.js';export const taskDefinitions=[taskStatus];
1
+ function a202_0x587c(){const _0xbfc685=['54GYicWz','3554VHkJlX','295888vZMouL','639006ADdrHi','1725910MQAsKJ','45970PlzrIr','636pjqFMl','13NEiHvn','48vPcLnG','2041782geoTxk','7GlZExQ','8734EYSMrg'];a202_0x587c=function(){return _0xbfc685;};return a202_0x587c();}(function(_0x509180,_0x49dca6){const _0x1b0a32=a202_0x43fd,_0x5e520=_0x509180();while(!![]){try{const _0x5d8b9f=-parseInt(_0x1b0a32(0x1ac))/0x1*(parseInt(_0x1b0a32(0x1b2))/0x2)+parseInt(_0x1b0a32(0x1a8))/0x3+parseInt(_0x1b0a32(0x1ad))/0x4*(-parseInt(_0x1b0a32(0x1aa))/0x5)+parseInt(_0x1b0a32(0x1ae))/0x6*(-parseInt(_0x1b0a32(0x1af))/0x7)+parseInt(_0x1b0a32(0x1a7))/0x8*(parseInt(_0x1b0a32(0x1b1))/0x9)+parseInt(_0x1b0a32(0x1a9))/0xa+parseInt(_0x1b0a32(0x1b0))/0xb*(parseInt(_0x1b0a32(0x1ab))/0xc);if(_0x5d8b9f===_0x49dca6)break;else _0x5e520['push'](_0x5e520['shift']());}catch(_0x31aca3){_0x5e520['push'](_0x5e520['shift']());}}}(a202_0x587c,0x2aef9));function a202_0x43fd(_0x19715b,_0x58dbe6){_0x19715b=_0x19715b-0x1a7;const _0x587c9a=a202_0x587c();let _0x43fdce=_0x587c9a[_0x19715b];return _0x43fdce;}import{taskStatus}from'../../commands/task/status.js';export const taskDefinitions=[taskStatus];
@@ -1 +1 @@
1
- const a195_0x38d749=a195_0x4cc5;function a195_0x1b51(){const _0x3f8b95=['taskId','flagMissing','appCode','Task\x20status\x20response\x20id\x20mismatch:\x20requested\x20','compress','apiError','2877624LheamF','task-id','str','isTerminal','cookie','1895208okZLOK','status','368202hOCiHo','4968250EmSkAT','string','task','trim','887621sWKpwD','1067350fkHTww','2587628qfdWjP'];a195_0x1b51=function(){return _0x3f8b95;};return a195_0x1b51();}(function(_0x265b4a,_0x432346){const _0x52854d=a195_0x4cc5,_0x2bbd79=_0x265b4a();while(!![]){try{const _0x1147c1=parseInt(_0x52854d(0xc8))/0x1+-parseInt(_0x52854d(0xc0))/0x2+parseInt(_0x52854d(0xbb))/0x3+parseInt(_0x52854d(0xc9))/0x4+-parseInt(_0x52854d(0xc3))/0x5+-parseInt(_0x52854d(0xc2))/0x6+-parseInt(_0x52854d(0xc7))/0x7;if(_0x1147c1===_0x432346)break;else _0x2bbd79['push'](_0x2bbd79['shift']());}catch(_0x4ecb7d){_0x2bbd79['push'](_0x2bbd79['shift']());}}}(a195_0x1b51,0x84d29));function a195_0x4cc5(_0x2d1cf2,_0x6ceb76){_0x2d1cf2=_0x2d1cf2-0xb8;const _0x1b511b=a195_0x1b51();let _0x4cc56d=_0x1b511b[_0x2d1cf2];return _0x4cc56d;}import{APPCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';import{asyncTaskMessage,buildAsyncTaskStatusCommand,normalizeAsyncTask}from'../../commands/common/async-task.js';import{getAsyncTaskStatus}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';export const taskStatus={'service':a195_0x38d749(0xc5),'command':a195_0x38d749(0xc1),'description':'Query\x20an\x20asynchronous\x20task;\x20repeat\x20for\x20PENDING\x20or\x20PROCESSING\x20until\x20SUCCESS\x20or\x20FAILED','risk':'read','defaultOutputFormat':a195_0x38d749(0xb9),'structuredErrors':!![],'flags':[{'name':'task-id','type':a195_0x38d749(0xc4),'required':!![],'description':'Task\x20id\x20returned\x20by\x20an\x20asynchronous\x20platform\x20command'},APPCODE_FLAG_OPTIONAL],async 'validate'(_0xbf1a9a){const _0x1f72e2=a195_0x38d749;if(!_0xbf1a9a[_0x1f72e2(0xbd)](_0x1f72e2(0xbc))[_0x1f72e2(0xc6)]())throw CliErrors[_0x1f72e2(0xcb)](_0x1f72e2(0xbc));},async 'execute'(_0x100bb6){const _0x2d6219=a195_0x38d749,_0x1a1795=_0x100bb6[_0x2d6219(0xbd)](_0x2d6219(0xbc))['trim'](),_0x81f8fc=normalizeAsyncTask(await getAsyncTaskStatus(_0x1a1795,_0x100bb6['appCode'],_0x100bb6[_0x2d6219(0xbf)]));if(_0x81f8fc[_0x2d6219(0xca)]!==_0x1a1795)throw CliErrors[_0x2d6219(0xba)](_0x2d6219(0xb8)+_0x1a1795+',\x20received\x20'+_0x81f8fc['taskId']+'.');const _0x2fefa7=buildAsyncTaskStatusCommand(_0x81f8fc[_0x2d6219(0xca)],_0x100bb6[_0x2d6219(0xcc)]);return{'ok':!![],'message':asyncTaskMessage(_0x81f8fc),'data':{'appCode':_0x100bb6[_0x2d6219(0xcc)],..._0x81f8fc,'query':_0x81f8fc[_0x2d6219(0xbe)]?null:{'command':_0x2fefa7}}};}};
1
+ const a203_0x4eb350=a203_0x36d2;(function(_0x390143,_0x5b22dc){const _0x545ec7=a203_0x36d2,_0x3208d1=_0x390143();while(!![]){try{const _0xbda5ce=-parseInt(_0x545ec7(0x10e))/0x1*(-parseInt(_0x545ec7(0x10d))/0x2)+-parseInt(_0x545ec7(0xfb))/0x3+parseInt(_0x545ec7(0x101))/0x4+-parseInt(_0x545ec7(0xf6))/0x5+-parseInt(_0x545ec7(0x106))/0x6*(-parseInt(_0x545ec7(0xfd))/0x7)+parseInt(_0x545ec7(0xff))/0x8+-parseInt(_0x545ec7(0xfa))/0x9*(-parseInt(_0x545ec7(0x104))/0xa);if(_0xbda5ce===_0x5b22dc)break;else _0x3208d1['push'](_0x3208d1['shift']());}catch(_0x1ac072){_0x3208d1['push'](_0x3208d1['shift']());}}}(a203_0x10cc,0xb7efd));import{APPCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';import{asyncTaskMessage,buildAsyncTaskStatusCommand,normalizeAsyncTask}from'../../commands/common/async-task.js';function a203_0x36d2(_0x12e2e0,_0x3b68a3){_0x12e2e0=_0x12e2e0-0xf6;const _0x10cc59=a203_0x10cc();let _0x36d270=_0x10cc59[_0x12e2e0];return _0x36d270;}function a203_0x10cc(){const _0x59e7e3=['apiError','45zAyVKn','485703iurJAK','Task\x20id\x20returned\x20by\x20an\x20asynchronous\x20platform\x20command','476BdgxYn',',\x20received\x20','6722672YqKwvb','appCode','1092900LxNWWZ','compress','cookie','1404290sxBlif','status','4878WIiPsb','trim','isTerminal','task','Task\x20status\x20response\x20id\x20mismatch:\x20requested\x20','str','taskId','2ohsHIQ','23294QuGBZw','4894880ROXkmB','Query\x20an\x20asynchronous\x20task;\x20repeat\x20for\x20PENDING\x20or\x20PROCESSING\x20until\x20SUCCESS\x20or\x20FAILED','task-id'];a203_0x10cc=function(){return _0x59e7e3;};return a203_0x10cc();}import{getAsyncTaskStatus}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';export const taskStatus={'service':a203_0x4eb350(0x109),'command':a203_0x4eb350(0x105),'description':a203_0x4eb350(0xf7),'risk':'read','defaultOutputFormat':a203_0x4eb350(0x102),'structuredErrors':!![],'flags':[{'name':a203_0x4eb350(0xf8),'type':'string','required':!![],'description':a203_0x4eb350(0xfc)},APPCODE_FLAG_OPTIONAL],async 'validate'(_0x56d225){const _0x16bba4=a203_0x4eb350;if(!_0x56d225['str'](_0x16bba4(0xf8))[_0x16bba4(0x107)]())throw CliErrors['flagMissing'](_0x16bba4(0xf8));},async 'execute'(_0x481eb5){const _0x24c4fd=a203_0x4eb350,_0x588d98=_0x481eb5[_0x24c4fd(0x10b)](_0x24c4fd(0xf8))[_0x24c4fd(0x107)](),_0x13116c=normalizeAsyncTask(await getAsyncTaskStatus(_0x588d98,_0x481eb5[_0x24c4fd(0x100)],_0x481eb5[_0x24c4fd(0x103)]));if(_0x13116c[_0x24c4fd(0x10c)]!==_0x588d98)throw CliErrors[_0x24c4fd(0xf9)](_0x24c4fd(0x10a)+_0x588d98+_0x24c4fd(0xfe)+_0x13116c[_0x24c4fd(0x10c)]+'.');const _0x4d1a44=buildAsyncTaskStatusCommand(_0x13116c[_0x24c4fd(0x10c)],_0x481eb5[_0x24c4fd(0x100)]);return{'ok':!![],'message':asyncTaskMessage(_0x13116c),'data':{'appCode':_0x481eb5[_0x24c4fd(0x100)],..._0x13116c,'query':_0x13116c[_0x24c4fd(0x108)]?null:{'command':_0x4d1a44}}};}};
@@ -1 +1 @@
1
- function a196_0x2989(_0x465c2b,_0x1c5230){_0x465c2b=_0x465c2b-0x15d;const _0x1d3ec5=a196_0x1d3e();let _0x298901=_0x1d3ec5[_0x465c2b];return _0x298901;}(function(_0x1a78e1,_0x2fbaed){const _0x917ff2=a196_0x2989,_0x2c20d6=_0x1a78e1();while(!![]){try{const _0x111bd7=-parseInt(_0x917ff2(0x165))/0x1*(parseInt(_0x917ff2(0x15f))/0x2)+-parseInt(_0x917ff2(0x161))/0x3+parseInt(_0x917ff2(0x15d))/0x4+-parseInt(_0x917ff2(0x160))/0x5*(parseInt(_0x917ff2(0x166))/0x6)+-parseInt(_0x917ff2(0x167))/0x7*(parseInt(_0x917ff2(0x164))/0x8)+-parseInt(_0x917ff2(0x163))/0x9+-parseInt(_0x917ff2(0x162))/0xa*(-parseInt(_0x917ff2(0x15e))/0xb);if(_0x111bd7===_0x2fbaed)break;else _0x2c20d6['push'](_0x2c20d6['shift']());}catch(_0x289650){_0x2c20d6['push'](_0x2c20d6['shift']());}}}(a196_0x1d3e,0xf0c6f));function a196_0x1d3e(){const _0x47f34b=['11wyuFnd','34988IjfuGK','325bzhGHT','5872905FvhhQB','80484220rHbUHC','11969082yBZuzD','176DRDAJb','91uQQGYv','179190gCZOFm','415639iytKZq','4259228NqNsBR'];a196_0x1d3e=function(){return _0x47f34b;};return a196_0x1d3e();}import{tenantMembersListDefinition}from'../../commands/tenant/members-list.js';export const tenantDefinitions=[tenantMembersListDefinition];
1
+ (function(_0x260b15,_0x290d9e){const _0x5759b3=a204_0x2906,_0x30748a=_0x260b15();while(!![]){try{const _0x5300aa=parseInt(_0x5759b3(0x19f))/0x1*(parseInt(_0x5759b3(0x19b))/0x2)+-parseInt(_0x5759b3(0x19c))/0x3*(parseInt(_0x5759b3(0x199))/0x4)+-parseInt(_0x5759b3(0x19a))/0x5+-parseInt(_0x5759b3(0x1a0))/0x6*(-parseInt(_0x5759b3(0x198))/0x7)+-parseInt(_0x5759b3(0x19e))/0x8+parseInt(_0x5759b3(0x19d))/0x9+parseInt(_0x5759b3(0x197))/0xa;if(_0x5300aa===_0x290d9e)break;else _0x30748a['push'](_0x30748a['shift']());}catch(_0xb9bb57){_0x30748a['push'](_0x30748a['shift']());}}}(a204_0x2721,0xe817f));function a204_0x2721(){const _0x57b0b1=['10851327KrEkQc','10810024YdlCco','1VWPxPK','96PjdXJb','16673570lzjyiW','449617Xnicea','680DHrVPR','8672605fjuKrW','1581366RQYSwr','11559daFZsR'];a204_0x2721=function(){return _0x57b0b1;};return a204_0x2721();}function a204_0x2906(_0x37a553,_0x5acb09){_0x37a553=_0x37a553-0x197;const _0x272166=a204_0x2721();let _0x290663=_0x272166[_0x37a553];return _0x290663;}import{tenantMembersListDefinition}from'../../commands/tenant/members-list.js';export const tenantDefinitions=[tenantMembersListDefinition];
@@ -1 +1 @@
1
- const a197_0x54549f=a197_0x3e23;function a197_0x3e23(_0xb24196,_0x3af9e){_0xb24196=_0xb24196-0x88;const _0x546fe5=a197_0x546f();let _0x3e232e=_0x546fe5[_0xb24196];return _0x3e232e;}(function(_0x36b59a,_0xc8ded9){const _0x2f2bb0=a197_0x3e23,_0xfcde1f=_0x36b59a();while(!![]){try{const _0x643902=parseInt(_0x2f2bb0(0x95))/0x1*(parseInt(_0x2f2bb0(0x8d))/0x2)+-parseInt(_0x2f2bb0(0x91))/0x3*(parseInt(_0x2f2bb0(0x9a))/0x4)+parseInt(_0x2f2bb0(0x89))/0x5+-parseInt(_0x2f2bb0(0x93))/0x6*(-parseInt(_0x2f2bb0(0x8c))/0x7)+parseInt(_0x2f2bb0(0x96))/0x8+parseInt(_0x2f2bb0(0x9e))/0x9*(parseInt(_0x2f2bb0(0x9b))/0xa)+-parseInt(_0x2f2bb0(0x8b))/0xb*(parseInt(_0x2f2bb0(0x9d))/0xc);if(_0x643902===_0xc8ded9)break;else _0xfcde1f['push'](_0xfcde1f['shift']());}catch(_0x33c38c){_0xfcde1f['push'](_0xfcde1f['shift']());}}}(a197_0x546f,0xc6eb4));import{listCurrentUserTenantMemberships,listTenantDirectoryMembers}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';function a197_0x546f(){const _0xe8fd4a=['113771ExuPBc','34666AAJMrJ','string','Exact\x20tenant\x20code','List\x20members\x20of\x20a\x20tenant\x20available\x20to\x20the\x20current\x20account','2323911HwERmc','read','42NBKwwr','Pass\x20--tenant-code\x20<code>.','46mQYgfj','153048HjnSkA','flagMissing','Found\x20','tenant','4KvlcPp','67650CnHhKo','trim','1730568GJZYMu','1332CaKzvw','tenant-code','length','6942685dAZTax','str','132RTpwBU'];a197_0x546f=function(){return _0xe8fd4a;};return a197_0x546f();}import{assertTenantAccessible,projectTenantMembers}from'../../commands/tenant/shared.js';export const tenantMembersListDefinition={'service':a197_0x54549f(0x99),'command':'members-list','description':a197_0x54549f(0x90),'risk':a197_0x54549f(0x92),'requiresAuth':!![],'requiresAppCode':![],'structuredErrors':!![],'flags':[{'name':a197_0x54549f(0x9f),'type':a197_0x54549f(0x8e),'required':!![],'description':a197_0x54549f(0x8f)}],async 'validate'(_0x3bfde4){const _0x24d94e=a197_0x54549f;if(!_0x3bfde4[_0x24d94e(0x8a)]('tenant-code')[_0x24d94e(0x9c)]())throw CliErrors[_0x24d94e(0x97)](_0x24d94e(0x9f),_0x24d94e(0x94));},async 'execute'(_0x236469){const _0x350bda=a197_0x54549f,_0x29524d=_0x236469[_0x350bda(0x8a)]('tenant-code')[_0x350bda(0x9c)](),_0x48a0e0=await listCurrentUserTenantMemberships();assertTenantAccessible(_0x29524d,_0x48a0e0);const _0x1a9dad=projectTenantMembers(await listTenantDirectoryMembers(_0x29524d));return{'ok':!![],'data':{'tenantCode':_0x29524d,'items':_0x1a9dad,'totalCount':_0x1a9dad[_0x350bda(0x88)]},'message':_0x350bda(0x98)+_0x1a9dad['length']+'\x20tenant\x20member(s)'};}};
1
+ const a205_0x2653fb=a205_0x14fa;(function(_0xa2f03,_0x28771a){const _0x1a9a99=a205_0x14fa,_0x1eb197=_0xa2f03();while(!![]){try{const _0x53cd7a=-parseInt(_0x1a9a99(0x143))/0x1+-parseInt(_0x1a9a99(0x151))/0x2*(parseInt(_0x1a9a99(0x149))/0x3)+parseInt(_0x1a9a99(0x13f))/0x4*(parseInt(_0x1a9a99(0x142))/0x5)+-parseInt(_0x1a9a99(0x14e))/0x6+parseInt(_0x1a9a99(0x14b))/0x7*(parseInt(_0x1a9a99(0x13e))/0x8)+-parseInt(_0x1a9a99(0x146))/0x9*(-parseInt(_0x1a9a99(0x150))/0xa)+-parseInt(_0x1a9a99(0x152))/0xb*(parseInt(_0x1a9a99(0x147))/0xc);if(_0x53cd7a===_0x28771a)break;else _0x1eb197['push'](_0x1eb197['shift']());}catch(_0x3f3215){_0x1eb197['push'](_0x1eb197['shift']());}}}(a205_0x3939,0xae737));import{listCurrentUserTenantMemberships,listTenantDirectoryMembers}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';function a205_0x14fa(_0x47c3de,_0x7bdfd8){_0x47c3de=_0x47c3de-0x13d;const _0x3939b5=a205_0x3939();let _0x14fa25=_0x3939b5[_0x47c3de];return _0x14fa25;}import{assertTenantAccessible,projectTenantMembers}from'../../commands/tenant/shared.js';function a205_0x3939(){const _0x3f1e03=['81QtSLfD','1572yEzHYt','tenant-code','3nDqCyZ','length','1675709bGRmSM','Pass\x20--tenant-code\x20<code>.','members-list','4809930PugjNE','List\x20members\x20of\x20a\x20tenant\x20available\x20to\x20the\x20current\x20account','1337170aMxWNy','1442256zcAhnV','30833KZCuVx','str','32BoQjKo','52604pqGkbT','tenant','flagMissing','415mPlTym','648007FOOZvp','Found\x20','Exact\x20tenant\x20code'];a205_0x3939=function(){return _0x3f1e03;};return a205_0x3939();}export const tenantMembersListDefinition={'service':a205_0x2653fb(0x140),'command':a205_0x2653fb(0x14d),'description':a205_0x2653fb(0x14f),'risk':'read','requiresAuth':!![],'requiresAppCode':![],'structuredErrors':!![],'flags':[{'name':a205_0x2653fb(0x148),'type':'string','required':!![],'description':a205_0x2653fb(0x145)}],async 'validate'(_0x229c84){const _0x40acf9=a205_0x2653fb;if(!_0x229c84[_0x40acf9(0x13d)](_0x40acf9(0x148))['trim']())throw CliErrors[_0x40acf9(0x141)](_0x40acf9(0x148),_0x40acf9(0x14c));},async 'execute'(_0x191ff8){const _0x1ce295=a205_0x2653fb,_0x41d5d3=_0x191ff8[_0x1ce295(0x13d)](_0x1ce295(0x148))['trim'](),_0x93650a=await listCurrentUserTenantMemberships();assertTenantAccessible(_0x41d5d3,_0x93650a);const _0x4aa015=projectTenantMembers(await listTenantDirectoryMembers(_0x41d5d3));return{'ok':!![],'data':{'tenantCode':_0x41d5d3,'items':_0x4aa015,'totalCount':_0x4aa015[_0x1ce295(0x14a)]},'message':_0x1ce295(0x144)+_0x4aa015['length']+'\x20tenant\x20member(s)'};}};
@@ -1 +1 @@
1
- (function(_0x56a17b,_0x28c9c9){const _0x4373bd=a198_0x1376,_0x3d4e0f=_0x56a17b();while(!![]){try{const _0x11006c=-parseInt(_0x4373bd(0x86))/0x1+parseInt(_0x4373bd(0x95))/0x2*(-parseInt(_0x4373bd(0x8e))/0x3)+-parseInt(_0x4373bd(0x96))/0x4+parseInt(_0x4373bd(0x91))/0x5*(-parseInt(_0x4373bd(0x8b))/0x6)+-parseInt(_0x4373bd(0x9b))/0x7*(-parseInt(_0x4373bd(0x9a))/0x8)+parseInt(_0x4373bd(0x94))/0x9+parseInt(_0x4373bd(0x8f))/0xa;if(_0x11006c===_0x28c9c9)break;else _0x3d4e0f['push'](_0x3d4e0f['shift']());}catch(_0x39c693){_0x3d4e0f['push'](_0x3d4e0f['shift']());}}}(a198_0x54a3,0x4854f));function a198_0x54a3(){const _0x539e40=['3440412bxobKU','218376hYjbDE','796260zjBiDQ','Tenant\x20\x22','get','displayName','56Ifqvkv','98665UVHZzX','\x22\x20is\x20not\x20available\x20to\x20the\x20current\x20account.','validation','MEMBER','role','tenantCode','81951OqbKfm','values','adminFlag','status','some','186kuWaFg','username','sort','12cIkkXx','7920490zgRbSQ','userId','41765UlUPMe','trim','ADMIN'];a198_0x54a3=function(){return _0x539e40;};return a198_0x54a3();}import{CliErrors}from'../../errors.js';function textOrNull(_0x77fc86){const _0x45452b=a198_0x1376,_0x3d91cc=_0x77fc86?.[_0x45452b(0x92)]();return _0x3d91cc?_0x3d91cc:null;}export function projectTenantMembers(_0x537b48){const _0x24b2f4=a198_0x1376,_0x19c42f=new Map();for(const _0x523c7e of _0x537b48){const _0xf726ba=Number(_0x523c7e['userId']);if(!Number['isFinite'](_0xf726ba)||_0xf726ba<=0x0)continue;const _0x330210={'userId':_0xf726ba,'username':textOrNull(_0x523c7e[_0x24b2f4(0x8c)]),'displayName':textOrNull(_0x523c7e['nickname']),'role':_0x523c7e[_0x24b2f4(0x88)]===!![]?'ADMIN':_0x24b2f4(0x9e),'status':textOrNull(_0x523c7e[_0x24b2f4(0x89)])},_0x5e76e8=_0x19c42f[_0x24b2f4(0x98)](_0xf726ba);if(!_0x5e76e8){_0x19c42f['set'](_0xf726ba,_0x330210);continue;}_0x5e76e8[_0x24b2f4(0x8c)]??=_0x330210[_0x24b2f4(0x8c)],_0x5e76e8[_0x24b2f4(0x99)]??=_0x330210[_0x24b2f4(0x99)],_0x5e76e8[_0x24b2f4(0x89)]??=_0x330210[_0x24b2f4(0x89)];if(_0x330210[_0x24b2f4(0x9f)]==='ADMIN')_0x5e76e8[_0x24b2f4(0x9f)]=_0x24b2f4(0x93);}return[..._0x19c42f[_0x24b2f4(0x87)]()][_0x24b2f4(0x8d)]((_0x1d3aa0,_0x3949d7)=>_0x1d3aa0[_0x24b2f4(0x90)]-_0x3949d7[_0x24b2f4(0x90)]);}function a198_0x1376(_0x51c580,_0x40f208){_0x51c580=_0x51c580-0x85;const _0x54a3c5=a198_0x54a3();let _0x137610=_0x54a3c5[_0x51c580];return _0x137610;}export function assertTenantAccessible(_0x148717,_0x541adc){const _0x104609=a198_0x1376;if(_0x541adc[_0x104609(0x8a)](_0x1ac5da=>_0x1ac5da[_0x104609(0x85)]===_0x148717))return;throw CliErrors[_0x104609(0x9d)](_0x104609(0x97)+_0x148717+_0x104609(0x9c),'Check\x20--tenant-code\x20or\x20login\x20with\x20an\x20account\x20that\x20belongs\x20to\x20this\x20tenant.');}
1
+ (function(_0x5b0896,_0x27ea57){const _0x2efafb=a206_0x47fd,_0xf119e8=_0x5b0896();while(!![]){try{const _0x4f715c=-parseInt(_0x2efafb(0x1e4))/0x1*(parseInt(_0x2efafb(0x1e2))/0x2)+parseInt(_0x2efafb(0x1dc))/0x3*(parseInt(_0x2efafb(0x1eb))/0x4)+parseInt(_0x2efafb(0x1e6))/0x5+parseInt(_0x2efafb(0x1f5))/0x6*(parseInt(_0x2efafb(0x1f3))/0x7)+-parseInt(_0x2efafb(0x1e5))/0x8*(-parseInt(_0x2efafb(0x1ee))/0x9)+-parseInt(_0x2efafb(0x1e1))/0xa*(-parseInt(_0x2efafb(0x1f4))/0xb)+-parseInt(_0x2efafb(0x1f6))/0xc;if(_0x4f715c===_0x27ea57)break;else _0xf119e8['push'](_0xf119e8['shift']());}catch(_0x485e4a){_0xf119e8['push'](_0xf119e8['shift']());}}}(a206_0x4afb,0x80934));import{CliErrors}from'../../errors.js';function a206_0x47fd(_0x2b8f50,_0xefa7d0){_0x2b8f50=_0x2b8f50-0x1db;const _0x4afb3f=a206_0x4afb();let _0x47fdf4=_0x4afb3f[_0x2b8f50];return _0x47fdf4;}function textOrNull(_0x124421){const _0x4b845e=a206_0x47fd,_0x5e8b8b=_0x124421?.[_0x4b845e(0x1ea)]();return _0x5e8b8b?_0x5e8b8b:null;}export function projectTenantMembers(_0x57c763){const _0x3b49d3=a206_0x47fd,_0x85e9c7=new Map();for(const _0x124355 of _0x57c763){const _0x42c1bf=Number(_0x124355['userId']);if(!Number[_0x3b49d3(0x1de)](_0x42c1bf)||_0x42c1bf<=0x0)continue;const _0x314024={'userId':_0x42c1bf,'username':textOrNull(_0x124355['username']),'displayName':textOrNull(_0x124355[_0x3b49d3(0x1db)]),'role':_0x124355[_0x3b49d3(0x1df)]===!![]?_0x3b49d3(0x1e7):_0x3b49d3(0x1ec),'status':textOrNull(_0x124355[_0x3b49d3(0x1f1)])},_0x1cce3e=_0x85e9c7['get'](_0x42c1bf);if(!_0x1cce3e){_0x85e9c7['set'](_0x42c1bf,_0x314024);continue;}_0x1cce3e[_0x3b49d3(0x1ed)]??=_0x314024[_0x3b49d3(0x1ed)],_0x1cce3e[_0x3b49d3(0x1f2)]??=_0x314024['displayName'],_0x1cce3e[_0x3b49d3(0x1f1)]??=_0x314024[_0x3b49d3(0x1f1)];if(_0x314024['role']==='ADMIN')_0x1cce3e['role']=_0x3b49d3(0x1e7);}return[..._0x85e9c7[_0x3b49d3(0x1e3)]()][_0x3b49d3(0x1e9)]((_0x2bbd26,_0x3abaee)=>_0x2bbd26['userId']-_0x3abaee[_0x3b49d3(0x1f0)]);}export function assertTenantAccessible(_0x55d389,_0x423ba9){const _0x4bbe52=a206_0x47fd;if(_0x423ba9[_0x4bbe52(0x1e8)](_0x775f9e=>_0x775f9e[_0x4bbe52(0x1ef)]===_0x55d389))return;throw CliErrors[_0x4bbe52(0x1e0)](_0x4bbe52(0x1dd)+_0x55d389+'\x22\x20is\x20not\x20available\x20to\x20the\x20current\x20account.',_0x4bbe52(0x1f7));}function a206_0x4afb(){const _0x1b8bc9=['4963iovuii','11iDvzUl','138soZvDq','27232908DkWcVO','Check\x20--tenant-code\x20or\x20login\x20with\x20an\x20account\x20that\x20belongs\x20to\x20this\x20tenant.','nickname','1922562XBvdmf','Tenant\x20\x22','isFinite','adminFlag','validation','7305370epMiGh','30qABudj','values','2994hThOdZ','48xSrEHR','3498415ajvyoT','ADMIN','some','sort','trim','4WJCfaS','MEMBER','username','1130373qDFADj','tenantCode','userId','status','displayName'];a206_0x4afb=function(){return _0x1b8bc9;};return a206_0x4afb();}
@@ -1 +1 @@
1
- const a199_0x10ea0c=a199_0x3c0a;(function(_0x3e222f,_0x185b43){const _0x14290d=a199_0x3c0a,_0x529842=_0x3e222f();while(!![]){try{const _0x1400e2=parseInt(_0x14290d(0x192))/0x1+parseInt(_0x14290d(0x194))/0x2*(parseInt(_0x14290d(0x189))/0x3)+parseInt(_0x14290d(0x193))/0x4*(-parseInt(_0x14290d(0x188))/0x5)+parseInt(_0x14290d(0x185))/0x6+parseInt(_0x14290d(0x18e))/0x7+-parseInt(_0x14290d(0x17f))/0x8+-parseInt(_0x14290d(0x190))/0x9*(parseInt(_0x14290d(0x181))/0xa);if(_0x1400e2===_0x185b43)break;else _0x529842['push'](_0x529842['shift']());}catch(_0x398ae0){_0x529842['push'](_0x529842['shift']());}}}(a199_0x5262,0xb5467));import{asDryRunResult}from'../../commands/common/dry-run.js';import{bindDingTalkSandboxAccount,DING_TALK_SANDBOX_BIND_PATH}from'../../core/api-client.js';function a199_0x3c0a(_0x337a47,_0x28a6cf){_0x337a47=_0x337a47-0x17f;const _0x526261=a199_0x5262();let _0x3c0aee=_0x526261[_0x337a47];return _0x3c0aee;}import{CliErrors}from'../../errors.js';const PROVIDER_ID=a199_0x10ea0c(0x184),CURRENT_BINDING_WARNING='The\x20current\x20binding\x20is\x20not\x20exposed\x20by\x20the\x20server;\x20before\x20is\x20unavailable.';function readDingTalkUserId(_0x29e0db){const _0x3ae57e=a199_0x10ea0c,_0x2fd96f=_0x29e0db[_0x3ae57e(0x18d)]('ding-talk-user-id')[_0x3ae57e(0x182)]();if(!_0x2fd96f)throw CliErrors[_0x3ae57e(0x187)](_0x3ae57e(0x18a),'Pass\x20the\x20DingTalk\x20user\x20id\x20returned\x20by\x20the\x20sandbox.');return _0x2fd96f;}function a199_0x5262(){const _0x326461=['apiError','757014fBCyhl','4lOhuud','1129636zIcAEY','Bound\x20current\x20user\x20to\x20DingTalk\x20sandbox\x20account.','dingding-sandbox-bind','DingTalk\x20user\x20id\x20returned\x20by\x20the\x20sandbox','4346808drkGcH','Bind\x20the\x20current\x20platform\x20user\x20to\x20a\x20DingTalk\x20sandbox\x20account','650FNkafz','trim','string','dingding-sandbox','8335290gNszjj','POST','validation','2144335SVCxMp','3rBFMgK','--ding-talk-user-id\x20cannot\x20be\x20empty.','user-account','bind','str','2819593BIgRMO','ding-talk-user-id','193725TRwXjL'];a199_0x5262=function(){return _0x326461;};return a199_0x5262();}function buildBindingData(_0x5e61d5,_0x34d233){const _0x3f3a16=a199_0x10ea0c;return{'operation':_0x3f3a16(0x18c),'selector':{'providerId':PROVIDER_ID,'dingTalkUserId':_0x5e61d5},'before':null,'after':{'providerId':PROVIDER_ID,'dingTalkUserId':_0x5e61d5,'bound':!![]},'dryRun':_0x34d233,'backend':{'method':'POST','path':DING_TALK_SANDBOX_BIND_PATH},'warnings':[CURRENT_BINDING_WARNING]};}export const dingTalkSandboxBind={'service':a199_0x10ea0c(0x18b),'command':a199_0x10ea0c(0x196),'description':a199_0x10ea0c(0x180),'risk':'high-risk-write','requiresAuth':!![],'requiresAppCode':![],'structuredErrors':!![],'flags':[{'name':a199_0x10ea0c(0x18f),'type':a199_0x10ea0c(0x183),'required':!![],'description':a199_0x10ea0c(0x197)}],async 'validate'(_0x137e94){readDingTalkUserId(_0x137e94);},async 'dryRun'(_0x19f517){const _0x553d35=a199_0x10ea0c,_0x23c656=readDingTalkUserId(_0x19f517);return asDryRunResult(buildBindingData(_0x23c656,!![]),{'method':_0x553d35(0x186),'url':DING_TALK_SANDBOX_BIND_PATH});},async 'execute'(_0x4269d8){const _0x30c323=a199_0x10ea0c,_0x339c36=readDingTalkUserId(_0x4269d8),_0x307eab=await bindDingTalkSandboxAccount(_0x339c36);if(_0x307eab!==!![])throw CliErrors[_0x30c323(0x191)]('DingTalk\x20sandbox\x20account\x20binding\x20was\x20not\x20confirmed.','Retry\x20with\x20the\x20same\x20--ding-talk-user-id\x20only\x20after\x20checking\x20the\x20current\x20platform\x20session.');return{'ok':!![],'data':buildBindingData(_0x339c36,![]),'message':_0x30c323(0x195)};}};
1
+ const a207_0x48d4e1=a207_0x351d;(function(_0x5500b2,_0x31dbd6){const _0xc000ee=a207_0x351d,_0x4d5197=_0x5500b2();while(!![]){try{const _0x1c502b=-parseInt(_0xc000ee(0xe0))/0x1+-parseInt(_0xc000ee(0xe2))/0x2+-parseInt(_0xc000ee(0xe8))/0x3+parseInt(_0xc000ee(0xdd))/0x4*(parseInt(_0xc000ee(0xea))/0x5)+-parseInt(_0xc000ee(0xdf))/0x6+parseInt(_0xc000ee(0xf4))/0x7*(-parseInt(_0xc000ee(0xf3))/0x8)+parseInt(_0xc000ee(0xe3))/0x9*(parseInt(_0xc000ee(0xe6))/0xa);if(_0x1c502b===_0x31dbd6)break;else _0x4d5197['push'](_0x4d5197['shift']());}catch(_0x401ac6){_0x4d5197['push'](_0x4d5197['shift']());}}}(a207_0x1123,0xeebd8));function a207_0x351d(_0x17593e,_0x45768c){_0x17593e=_0x17593e-0xdd;const _0x1123c0=a207_0x1123();let _0x351d3c=_0x1123c0[_0x17593e];return _0x351d3c;}import{asDryRunResult}from'../../commands/common/dry-run.js';import{bindDingTalkSandboxAccount,DING_TALK_SANDBOX_BIND_PATH}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';const PROVIDER_ID=a207_0x48d4e1(0xee),CURRENT_BINDING_WARNING=a207_0x48d4e1(0xde);function readDingTalkUserId(_0x486936){const _0x105e95=a207_0x48d4e1,_0x3900b3=_0x486936['str']('ding-talk-user-id')[_0x105e95(0xec)]();if(!_0x3900b3)throw CliErrors['validation'](_0x105e95(0xef),_0x105e95(0xf1));return _0x3900b3;}function buildBindingData(_0x3b5291,_0x8b7d23){const _0x186e33=a207_0x48d4e1;return{'operation':_0x186e33(0xeb),'selector':{'providerId':PROVIDER_ID,'dingTalkUserId':_0x3b5291},'before':null,'after':{'providerId':PROVIDER_ID,'dingTalkUserId':_0x3b5291,'bound':!![]},'dryRun':_0x8b7d23,'backend':{'method':_0x186e33(0xf0),'path':DING_TALK_SANDBOX_BIND_PATH},'warnings':[CURRENT_BINDING_WARNING]};}function a207_0x1123(){const _0x4ed185=['--ding-talk-user-id\x20cannot\x20be\x20empty.','POST','Pass\x20the\x20DingTalk\x20user\x20id\x20returned\x20by\x20the\x20sandbox.','string','31384NgdYKq','2065xubpsf','367436DeGLGI','The\x20current\x20binding\x20is\x20not\x20exposed\x20by\x20the\x20server;\x20before\x20is\x20unavailable.','1563096yUCpEi','1087644viqCDo','dingding-sandbox-bind','270404dXevnJ','18ZhGbKT','DingTalk\x20user\x20id\x20returned\x20by\x20the\x20sandbox','Bind\x20the\x20current\x20platform\x20user\x20to\x20a\x20DingTalk\x20sandbox\x20account','24191240LBjqBB','ding-talk-user-id','5312625yUAUXq','user-account','30nQDGOn','bind','trim','Retry\x20with\x20the\x20same\x20--ding-talk-user-id\x20only\x20after\x20checking\x20the\x20current\x20platform\x20session.','dingding-sandbox'];a207_0x1123=function(){return _0x4ed185;};return a207_0x1123();}export const dingTalkSandboxBind={'service':a207_0x48d4e1(0xe9),'command':a207_0x48d4e1(0xe1),'description':a207_0x48d4e1(0xe5),'risk':'write','requiresAuth':!![],'requiresAppCode':![],'structuredErrors':!![],'flags':[{'name':a207_0x48d4e1(0xe7),'type':a207_0x48d4e1(0xf2),'required':!![],'description':a207_0x48d4e1(0xe4)}],async 'validate'(_0x9aa685){readDingTalkUserId(_0x9aa685);},async 'dryRun'(_0x5a2b95){const _0x15a4ad=a207_0x48d4e1,_0x5740ee=readDingTalkUserId(_0x5a2b95);return asDryRunResult(buildBindingData(_0x5740ee,!![]),{'method':_0x15a4ad(0xf0),'url':DING_TALK_SANDBOX_BIND_PATH});},async 'execute'(_0x3483af){const _0x3020c0=a207_0x48d4e1,_0x1bd542=readDingTalkUserId(_0x3483af),_0x426001=await bindDingTalkSandboxAccount(_0x1bd542);if(_0x426001!==!![])throw CliErrors['apiError']('DingTalk\x20sandbox\x20account\x20binding\x20was\x20not\x20confirmed.',_0x3020c0(0xed));return{'ok':!![],'data':buildBindingData(_0x1bd542,![]),'message':'Bound\x20current\x20user\x20to\x20DingTalk\x20sandbox\x20account.'};}};
@@ -1 +1 @@
1
- function a200_0x3bba(_0x39ddc8,_0x595711){_0x39ddc8=_0x39ddc8-0x1d4;const _0x5be1a7=a200_0x5be1();let _0x3bba3b=_0x5be1a7[_0x39ddc8];return _0x3bba3b;}(function(_0x11d060,_0x4ca505){const _0x26f05c=a200_0x3bba,_0x88f777=_0x11d060();while(!![]){try{const _0x5c07cd=-parseInt(_0x26f05c(0x1dd))/0x1+parseInt(_0x26f05c(0x1de))/0x2*(parseInt(_0x26f05c(0x1db))/0x3)+parseInt(_0x26f05c(0x1d7))/0x4*(-parseInt(_0x26f05c(0x1d4))/0x5)+parseInt(_0x26f05c(0x1d9))/0x6*(-parseInt(_0x26f05c(0x1d6))/0x7)+parseInt(_0x26f05c(0x1d8))/0x8+parseInt(_0x26f05c(0x1df))/0x9*(-parseInt(_0x26f05c(0x1dc))/0xa)+parseInt(_0x26f05c(0x1da))/0xb*(parseInt(_0x26f05c(0x1d5))/0xc);if(_0x5c07cd===_0x4ca505)break;else _0x88f777['push'](_0x88f777['shift']());}catch(_0x2c6908){_0x88f777['push'](_0x88f777['shift']());}}}(a200_0x5be1,0x73da3));import{dingTalkSandboxBind}from'../../commands/user-account/dingding-sandbox-bind.js';export const userAccountDefinitions=[dingTalkSandboxBind];function a200_0x5be1(){const _0x5b4b81=['50OCRfkB','12DSevBs','349034zgbwlx','172060PacLVl','4385536NLtSnd','18PCNpeh','8564017oKtvFN','15ujbYZW','2672840wEWTCD','470698oDPfpa','186204fWZItx','9infhIG'];a200_0x5be1=function(){return _0x5b4b81;};return a200_0x5be1();}
1
+ function a208_0x57fa(){const _0x3dca3a=['2023820QlqCcF','109230VVaOcH','9Htopty','4VKyFSt','541573yPpXXI','2931580OiFpFS','8864464KbaplA','49538203GDTCSS','455kBWlcR','3864003gzGXhJ','10VxHHeg'];a208_0x57fa=function(){return _0x3dca3a;};return a208_0x57fa();}function a208_0x43a3(_0x2e2d5a,_0x2468b8){_0x2e2d5a=_0x2e2d5a-0x18a;const _0x57faf3=a208_0x57fa();let _0x43a3bc=_0x57faf3[_0x2e2d5a];return _0x43a3bc;}(function(_0x551e22,_0x473571){const _0x16ce2f=a208_0x43a3,_0x28a778=_0x551e22();while(!![]){try{const _0x1899d9=-parseInt(_0x16ce2f(0x190))/0x1+parseInt(_0x16ce2f(0x18c))/0x2+-parseInt(_0x16ce2f(0x18a))/0x3+-parseInt(_0x16ce2f(0x18f))/0x4*(parseInt(_0x16ce2f(0x191))/0x5)+-parseInt(_0x16ce2f(0x18d))/0x6*(parseInt(_0x16ce2f(0x194))/0x7)+-parseInt(_0x16ce2f(0x192))/0x8*(parseInt(_0x16ce2f(0x18e))/0x9)+parseInt(_0x16ce2f(0x18b))/0xa*(parseInt(_0x16ce2f(0x193))/0xb);if(_0x1899d9===_0x473571)break;else _0x28a778['push'](_0x28a778['shift']());}catch(_0x8b4ddf){_0x28a778['push'](_0x28a778['shift']());}}}(a208_0x57fa,0xc54ae));import{dingTalkSandboxBind}from'../../commands/user-account/dingding-sandbox-bind.js';export const userAccountDefinitions=[dingTalkSandboxBind];
@@ -1 +1 @@
1
- function a201_0x4314(){const _0x25fcfa=['add','81UZuQaA','983885moSwJu','App\x20profile\x20name','8rrLRQB','86peZuma','2778bWIPbl','24654773lmiMla','Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','3462078mmUQzi','write','599730eEQRKd','8134mjoQcj','5134BfPszG','8687656ccGCHW'];a201_0x4314=function(){return _0x25fcfa;};return a201_0x4314();}function a201_0x1fad(_0x382899,_0x2456ca){_0x382899=_0x382899-0x188;const _0x431494=a201_0x4314();let _0x1fad8a=_0x431494[_0x382899];return _0x1fad8a;}const a201_0x1807cd=a201_0x1fad;(function(_0x553f6b,_0x22b42a){const _0x1b9178=a201_0x1fad,_0xcbb96c=_0x553f6b();while(!![]){try{const _0x3f77f3=parseInt(_0x1b9178(0x190))/0x1*(parseInt(_0x1b9178(0x188))/0x2)+-parseInt(_0x1b9178(0x18c))/0x3+parseInt(_0x1b9178(0x196))/0x4*(parseInt(_0x1b9178(0x194))/0x5)+parseInt(_0x1b9178(0x189))/0x6*(-parseInt(_0x1b9178(0x18f))/0x7)+-parseInt(_0x1b9178(0x191))/0x8+-parseInt(_0x1b9178(0x193))/0x9*(-parseInt(_0x1b9178(0x18e))/0xa)+parseInt(_0x1b9178(0x18a))/0xb;if(_0x3f77f3===_0x22b42a)break;else _0xcbb96c['push'](_0xcbb96c['shift']());}catch(_0x13ba1d){_0xcbb96c['push'](_0xcbb96c['shift']());}}}(a201_0x4314,0x96bd3));import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':'workspace','command':a201_0x1807cd(0x192),'description':a201_0x1807cd(0x18b),'risk':a201_0x1807cd(0x18d),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':'name','description':a201_0x1807cd(0x195),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0x27e505=>validateAppName(_0x27e505,'workspace\x20add'),'execute':_0x839de5=>runAppAdd(_0x839de5,'workspace\x20add')};
1
+ const a209_0x5ef7ba=a209_0x3461;(function(_0x32faa8,_0x27350){const _0x1c626f=a209_0x3461,_0x5d2a6b=_0x32faa8();while(!![]){try{const _0x20c4c7=-parseInt(_0x1c626f(0x6a))/0x1*(-parseInt(_0x1c626f(0x67))/0x2)+-parseInt(_0x1c626f(0x68))/0x3*(-parseInt(_0x1c626f(0x69))/0x4)+-parseInt(_0x1c626f(0x6d))/0x5*(parseInt(_0x1c626f(0x6c))/0x6)+parseInt(_0x1c626f(0x74))/0x7+-parseInt(_0x1c626f(0x73))/0x8+parseInt(_0x1c626f(0x71))/0x9+-parseInt(_0x1c626f(0x72))/0xa;if(_0x20c4c7===_0x27350)break;else _0x5d2a6b['push'](_0x5d2a6b['shift']());}catch(_0x4ca56d){_0x5d2a6b['push'](_0x5d2a6b['shift']());}}}(a209_0x10ca,0x72b2a));function a209_0x10ca(){const _0x216824=['Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','122AHMYhz','2913yvQnqw','1284zeZDeh','3569EGGqTR','workspace','3633702brlaps','5buMPfk','workspace\x20add','name','add','6800814nJfwCo','8037730tGxgKl','2124192aWNcXA','6017690XtgmPW','write'];a209_0x10ca=function(){return _0x216824;};return a209_0x10ca();}function a209_0x3461(_0x44860b,_0x249ab1){_0x44860b=_0x44860b-0x67;const _0x10ca10=a209_0x10ca();let _0x3461c4=_0x10ca10[_0x44860b];return _0x3461c4;}import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':a209_0x5ef7ba(0x6b),'command':a209_0x5ef7ba(0x70),'description':a209_0x5ef7ba(0x76),'risk':a209_0x5ef7ba(0x75),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a209_0x5ef7ba(0x6f),'description':'App\x20profile\x20name','required':!![]}],'flags':buildAppAddFlags(),'validate':_0x4b32b6=>validateAppName(_0x4b32b6,a209_0x5ef7ba(0x6e)),'execute':_0x245945=>runAppAdd(_0x245945,a209_0x5ef7ba(0x6e))};
@@ -1 +1 @@
1
- const a202_0x407666=a202_0xcd01;(function(_0x24dc53,_0x34d2c6){const _0x19cbd3=a202_0xcd01,_0x5f3b51=_0x24dc53();while(!![]){try{const _0xd82169=-parseInt(_0x19cbd3(0x117))/0x1+-parseInt(_0x19cbd3(0xe0))/0x2*(-parseInt(_0x19cbd3(0xe4))/0x3)+-parseInt(_0x19cbd3(0xf4))/0x4+parseInt(_0x19cbd3(0x108))/0x5+parseInt(_0x19cbd3(0x10b))/0x6*(-parseInt(_0x19cbd3(0xff))/0x7)+-parseInt(_0x19cbd3(0x100))/0x8*(parseInt(_0x19cbd3(0xe1))/0x9)+parseInt(_0x19cbd3(0x11a))/0xa;if(_0xd82169===_0x34d2c6)break;else _0x5f3b51['push'](_0x5f3b51['shift']());}catch(_0x23fb03){_0x5f3b51['push'](_0x5f3b51['shift']());}}}(a202_0x2bc1,0x24efc));import{CliErrors}from'../../errors.js';function a202_0xcd01(_0xbb8a22,_0x7b26c){_0xbb8a22=_0xbb8a22-0xe0;const _0x2bc1f2=a202_0x2bc1();let _0xcd01e5=_0x2bc1f2[_0xbb8a22];return _0xcd01e5;}import{CLI_BIN_NAME}from'../../constant/cli.js';import{RABETBASE_ENV_VALUES}from'../../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{RISK_LEVEL_VALUES}from'../../constant/risk.js';import{validateAppcode}from'../../commands/common/validate.js';import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';const WORKSPACE_USAGE=CLI_BIN_NAME+a202_0x407666(0xe9),SAFE_PROFILE_KEYS=[a202_0x407666(0x106),a202_0x407666(0x104),a202_0x407666(0x113),a202_0x407666(0xec),'pageSize','riskLevel',a202_0x407666(0x112)],workspaceFlags=[{'name':a202_0x407666(0x107),'type':a202_0x407666(0xeb),'description':a202_0x407666(0xf6)},{'name':a202_0x407666(0x106),'type':'string','description':a202_0x407666(0x110)},{'name':a202_0x407666(0x104),'type':a202_0x407666(0xeb),'description':a202_0x407666(0x102),'enum':[...RABETBASE_ENV_VALUES]},{'name':a202_0x407666(0x113),'type':a202_0x407666(0xeb),'description':a202_0x407666(0x115)},{'name':'defaultFormat','type':'string','description':a202_0x407666(0x116),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a202_0x407666(0x10d),'type':a202_0x407666(0xfc),'description':a202_0x407666(0xe3)},{'name':a202_0x407666(0x10e),'type':a202_0x407666(0xeb),'description':'Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RISK_LEVEL_VALUES]},{'name':a202_0x407666(0x112),'type':a202_0x407666(0xeb),'description':'Locale\x20for\x20this\x20workspace\x20app\x20profile'}];function isRecord(_0xfe668e){const _0x496871=a202_0x407666;return!!_0xfe668e&&typeof _0xfe668e===_0x496871(0x11b)&&!Array[_0x496871(0xee)](_0xfe668e);}function assertValidAppcode(_0xf7ebde){const _0x9a9e88=a202_0x407666,{valid:_0x47d6e3,message:_0x1b96a2}=validateAppcode(_0xf7ebde);if(!_0x47d6e3)throw CliErrors[_0x9a9e88(0xf8)](_0x9a9e88(0x10f)+_0xf7ebde,_0x1b96a2);}function sanitizeProfile(_0x1487e8){if(!isRecord(_0x1487e8))return{};const _0x559e69={};for(const _0x3203e4 of SAFE_PROFILE_KEYS){if(_0x1487e8[_0x3203e4]!==undefined)_0x559e69[_0x3203e4]=_0x1487e8[_0x3203e4];}return _0x559e69;}function cloneProfile(_0x2557b6){return isRecord(_0x2557b6)?{..._0x2557b6}:{};}function collectWorkspaceProfileOverrides(_0x11718f){const _0x1a3e0c=a202_0x407666,_0x41ce66={},_0x3bd8cd=_0x11718f['str'](_0x1a3e0c(0x104)),_0x19465e=_0x11718f[_0x1a3e0c(0x10a)](_0x1a3e0c(0x113)),_0x2e4d17=_0x11718f[_0x1a3e0c(0x10a)](_0x1a3e0c(0xe7)),_0x11ddcf=_0x11718f[_0x1a3e0c(0x10c)](_0x1a3e0c(0x10d)),_0x105fc5=_0x11718f[_0x1a3e0c(0x10a)](_0x1a3e0c(0x10e)),_0x31e77a=_0x11718f[_0x1a3e0c(0x10a)](_0x1a3e0c(0x112));if(_0x3bd8cd)_0x41ce66[_0x1a3e0c(0x104)]=_0x3bd8cd;if(_0x19465e)_0x41ce66['apiDir']=_0x19465e;if(_0x2e4d17)_0x41ce66[_0x1a3e0c(0xec)]=_0x2e4d17;if(_0x11ddcf!==undefined&&_0x11ddcf!=='')_0x41ce66[_0x1a3e0c(0x10d)]=Number(_0x11ddcf);if(_0x105fc5)_0x41ce66['riskLevel']=_0x105fc5;if(_0x31e77a)_0x41ce66['locale']=_0x31e77a;return _0x41ce66;}async function validateWorkspaceArgs(_0x1cccc7){const _0x4089f6=a202_0x407666,_0x549026=_0x1cccc7[_0x4089f6(0x10a)](_0x4089f6(0x107))[_0x4089f6(0x103)](),_0x185d0b=_0x1cccc7[_0x4089f6(0x10a)]('appcode')[_0x4089f6(0x103)]();if(!_0x549026&&!_0x185d0b)throw CliErrors[_0x4089f6(0xf8)](_0x4089f6(0x109),'Use\x20`'+CLI_BIN_NAME+_0x4089f6(0xf2)+CLI_BIN_NAME+_0x4089f6(0x119));if(_0x185d0b)assertValidAppcode(_0x185d0b);}function resolveKnownApps(){const _0x46c2b8=a202_0x407666,{config:_0x3050f0,layers:_0xdca036}=readRawConfigWithLayers(),_0x2dac4d=isRecord(_0x3050f0[_0x46c2b8(0xfa)])?_0x3050f0[_0x46c2b8(0xfa)]:{},_0x2a514b=isRecord(_0xdca036[_0x46c2b8(0x114)][_0x46c2b8(0xfa)])?_0xdca036[_0x46c2b8(0x114)][_0x46c2b8(0xfa)]:{};return{..._0x2a514b,..._0x2dac4d};}async function configureWorkspace(_0x4d738d,_0x484883){const _0x595fde=a202_0x407666,_0x3791b5=_0x4d738d[_0x595fde(0x10a)](_0x595fde(0x107))[_0x595fde(0x103)](),_0xfe54e2=_0x4d738d[_0x595fde(0x10a)](_0x595fde(0x106))[_0x595fde(0x103)](),_0x615eb0=_0x3791b5||_0xfe54e2;if(!_0x615eb0)throw CliErrors[_0x595fde(0xf8)]('Missing\x20workspace\x20app\x20selector.',_0x595fde(0xef)+CLI_BIN_NAME+_0x595fde(0xf2)+CLI_BIN_NAME+_0x595fde(0x119));if(_0xfe54e2)assertValidAppcode(_0xfe54e2);const _0x1aebfa=resolveWriteConfigPath(_0x595fde(0xe2)),_0x35779c=readConfigFile(_0x1aebfa),_0x21c7ce=resolveKnownApps(),_0xefea6e=isRecord(_0x35779c[_0x595fde(0xfa)])?{..._0x35779c['apps']}:{},_0x3d8722=cloneProfile(_0xefea6e[_0x615eb0]),_0x1ab3e9=sanitizeProfile(_0x21c7ce[_0x615eb0]),_0x58400a=_0xfe54e2?{}:_0x1ab3e9,_0x30b655=_0xfe54e2||_0x58400a[_0x595fde(0x106)];if(!_0x30b655){const _0x282836=Object[_0x595fde(0xf3)](_0x21c7ce),_0x713559=_0x282836['length']===0x0?_0x595fde(0xef)+CLI_BIN_NAME+'\x20workspace\x20'+_0x484883+_0x595fde(0xfe)+_0x615eb0+_0x595fde(0x101):_0x595fde(0xed)+_0x282836[_0x595fde(0xf5)](',\x20');throw CliErrors[_0x595fde(0xf8)](_0x595fde(0xf1)+_0x615eb0+_0x595fde(0xe5),_0x713559);}assertValidAppcode(String(_0x30b655));const _0x7119da={..._0x58400a,..._0x3d8722,'appcode':String(_0x30b655),...collectWorkspaceProfileOverrides(_0x4d738d)};return _0xefea6e[_0x615eb0]=_0x7119da,_0x35779c['apps']=_0xefea6e,_0x35779c[_0x595fde(0x105)]=_0x615eb0,delete _0x35779c['appcode'],delete _0x35779c[_0x595fde(0x107)],_0x7119da[_0x595fde(0x104)]&&(_0x35779c[_0x595fde(0x104)]=_0x7119da[_0x595fde(0x104)]),writeConfigFile(_0x1aebfa,_0x35779c),{'ok':!![],'message':_0x595fde(0xe6)+(_0x484883===_0x595fde(0xe8)?_0x595fde(0x118):_0x595fde(0xea))+':\x20'+_0x615eb0+_0x595fde(0xfb)+_0x7119da['appcode']+').\x20Config:\x20'+_0x1aebfa+'.\x20Credentials:\x20not\x20written.','data':{'operation':_0x595fde(0x111)+_0x484883,'configPath':_0x1aebfa,'app':_0x615eb0,'appcode':_0x7119da[_0x595fde(0x106)],'env':_0x7119da[_0x595fde(0x104)]??null,'credentialsWritten':![]}};}function a202_0x2bc1(){const _0x4011c9=['initialized','\x20workspace\x20use\x20--app\x20<name>`.','795270YyhpbJ','object','39918USVxYQ','31095UkxhNN','project','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','15nesyka','\x22\x20not\x20found.','Workspace\x20','defaultFormat','init','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','updated','string','format','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','isArray','Use\x20`','Initialize\x20the\x20current\x20workspace\x20app\x20binding','App\x20\x22','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','keys','325244lCNxbo','join','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace','Switch\x20the\x20current\x20workspace\x20app\x20binding','validation','write','apps','\x20(appcode:\x20','number','workspace','\x20--app\x20','28Hpplkx','136pBPQfF','\x20--appcode\x20<code>`.','Target\x20environment','trim','env','defaultApp','appcode','app','1213310VdoutP','Missing\x20workspace\x20app\x20selector.','str','165234pfEwsV','flag','pageSize','riskLevel','Invalid\x20appcode:\x20','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','workspace.','locale','apiDir','globalConfig','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile','Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','20490mqKIYg'];a202_0x2bc1=function(){return _0x4011c9;};return a202_0x2bc1();}const workspaceInitDefinition={'service':a202_0x407666(0xfd),'command':a202_0x407666(0xe8),'description':a202_0x407666(0xf0),'risk':a202_0x407666(0xf9),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x15c0d5=>configureWorkspace(_0x15c0d5,a202_0x407666(0xe8))},workspaceUseDefinition={'service':a202_0x407666(0xfd),'command':'use','description':a202_0x407666(0xf7),'risk':a202_0x407666(0xf9),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x1c0d4e=>configureWorkspace(_0x1c0d4e,'use')};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
1
+ const a210_0xd00145=a210_0x24ad;(function(_0xeca789,_0x85c46a){const _0x3cc89a=a210_0x24ad,_0x379ff6=_0xeca789();while(!![]){try{const _0x5ac4a8=-parseInt(_0x3cc89a(0x18b))/0x1*(parseInt(_0x3cc89a(0x1aa))/0x2)+parseInt(_0x3cc89a(0x1a9))/0x3+parseInt(_0x3cc89a(0x1bf))/0x4*(parseInt(_0x3cc89a(0x19b))/0x5)+-parseInt(_0x3cc89a(0x1a3))/0x6+parseInt(_0x3cc89a(0x1a7))/0x7*(parseInt(_0x3cc89a(0x196))/0x8)+parseInt(_0x3cc89a(0x1ab))/0x9*(parseInt(_0x3cc89a(0x1bb))/0xa)+parseInt(_0x3cc89a(0x193))/0xb;if(_0x5ac4a8===_0x85c46a)break;else _0x379ff6['push'](_0x379ff6['shift']());}catch(_0xd2d675){_0x379ff6['push'](_0x379ff6['shift']());}}}(a210_0x5508,0x3919d));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';import{RABETBASE_ENV_VALUES}from'../../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{RISK_LEVEL_VALUES}from'../../constant/risk.js';import{validateAppcode}from'../../commands/common/validate.js';function a210_0x24ad(_0x4cd4ec,_0x5508a7){_0x4cd4ec=_0x4cd4ec-0x18b;const _0x550836=a210_0x5508();let _0x24ad99=_0x550836[_0x4cd4ec];return _0x24ad99;}import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';const WORKSPACE_USAGE=CLI_BIN_NAME+'\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]',SAFE_PROFILE_KEYS=['appcode',a210_0xd00145(0x1a8),a210_0xd00145(0x18c),'format',a210_0xd00145(0x1b9),a210_0xd00145(0x1ac),a210_0xd00145(0x1b8)],workspaceFlags=[{'name':a210_0xd00145(0x194),'type':'string','description':a210_0xd00145(0x1a1)},{'name':a210_0xd00145(0x198),'type':'string','description':a210_0xd00145(0x1a2)},{'name':'env','type':a210_0xd00145(0x19f),'description':a210_0xd00145(0x1ae),'enum':[...RABETBASE_ENV_VALUES]},{'name':a210_0xd00145(0x18c),'type':'string','description':a210_0xd00145(0x19e)},{'name':a210_0xd00145(0x1c4),'type':'string','description':'Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a210_0xd00145(0x1b9),'type':'number','description':'Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile'},{'name':a210_0xd00145(0x1ac),'type':a210_0xd00145(0x19f),'description':a210_0xd00145(0x1ba),'enum':[...RISK_LEVEL_VALUES]},{'name':a210_0xd00145(0x1b8),'type':a210_0xd00145(0x19f),'description':a210_0xd00145(0x1be)}];function isRecord(_0x392fec){const _0x5e2348=a210_0xd00145;return!!_0x392fec&&typeof _0x392fec==='object'&&!Array[_0x5e2348(0x1b4)](_0x392fec);}function assertValidAppcode(_0x5a5a43){const _0x30c2ab=a210_0xd00145,{valid:_0x4c08a4,message:_0x36db5a}=validateAppcode(_0x5a5a43);if(!_0x4c08a4)throw CliErrors['validation'](_0x30c2ab(0x1b2)+_0x5a5a43,_0x36db5a);}function sanitizeProfile(_0x2d3f3f){if(!isRecord(_0x2d3f3f))return{};const _0x3e37f7={};for(const _0x21f4ad of SAFE_PROFILE_KEYS){if(_0x2d3f3f[_0x21f4ad]!==undefined)_0x3e37f7[_0x21f4ad]=_0x2d3f3f[_0x21f4ad];}return _0x3e37f7;}function cloneProfile(_0x3e3519){return isRecord(_0x3e3519)?{..._0x3e3519}:{};}function collectWorkspaceProfileOverrides(_0x34c58e){const _0x6bb08b=a210_0xd00145,_0x28e8f6={},_0x3c6fdf=_0x34c58e[_0x6bb08b(0x192)](_0x6bb08b(0x1a8)),_0x15530d=_0x34c58e['str'](_0x6bb08b(0x18c)),_0x249f90=_0x34c58e[_0x6bb08b(0x192)](_0x6bb08b(0x1c4)),_0x4f4361=_0x34c58e[_0x6bb08b(0x1bc)]('pageSize'),_0xe80eb8=_0x34c58e['str'](_0x6bb08b(0x1ac)),_0x41871f=_0x34c58e['str']('locale');if(_0x3c6fdf)_0x28e8f6[_0x6bb08b(0x1a8)]=_0x3c6fdf;if(_0x15530d)_0x28e8f6[_0x6bb08b(0x18c)]=_0x15530d;if(_0x249f90)_0x28e8f6[_0x6bb08b(0x1bd)]=_0x249f90;if(_0x4f4361!==undefined&&_0x4f4361!=='')_0x28e8f6[_0x6bb08b(0x1b9)]=Number(_0x4f4361);if(_0xe80eb8)_0x28e8f6[_0x6bb08b(0x1ac)]=_0xe80eb8;if(_0x41871f)_0x28e8f6[_0x6bb08b(0x1b8)]=_0x41871f;return _0x28e8f6;}async function validateWorkspaceArgs(_0x2b903d){const _0x6c063d=a210_0xd00145,_0x18225c=_0x2b903d['str']('app')[_0x6c063d(0x1af)](),_0x45198c=_0x2b903d[_0x6c063d(0x192)](_0x6c063d(0x198))['trim']();if(!_0x18225c&&!_0x45198c)throw CliErrors[_0x6c063d(0x1a6)]('Missing\x20workspace\x20app\x20selector.',_0x6c063d(0x1a4)+CLI_BIN_NAME+_0x6c063d(0x1c2)+CLI_BIN_NAME+_0x6c063d(0x1a5));if(_0x45198c)assertValidAppcode(_0x45198c);}function resolveKnownApps(){const _0xaeafc7=a210_0xd00145,{config:_0x3add6b,layers:_0x59f03f}=readRawConfigWithLayers(),_0x23f93b=isRecord(_0x3add6b[_0xaeafc7(0x18e)])?_0x3add6b[_0xaeafc7(0x18e)]:{},_0x1f61bb=isRecord(_0x59f03f['globalConfig']['apps'])?_0x59f03f[_0xaeafc7(0x1ad)][_0xaeafc7(0x18e)]:{};return{..._0x1f61bb,..._0x23f93b};}async function configureWorkspace(_0x522c48,_0x37555e){const _0x2f6abf=a210_0xd00145,_0x2035dc=_0x522c48['str'](_0x2f6abf(0x194))[_0x2f6abf(0x1af)](),_0x120b9d=_0x522c48['str'](_0x2f6abf(0x198))[_0x2f6abf(0x1af)](),_0x215aee=_0x2035dc||_0x120b9d;if(!_0x215aee)throw CliErrors['validation'](_0x2f6abf(0x19c),_0x2f6abf(0x1a4)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+_0x2f6abf(0x1a5));if(_0x120b9d)assertValidAppcode(_0x120b9d);const _0x850364=resolveWriteConfigPath(_0x2f6abf(0x197)),_0x4290ed=readConfigFile(_0x850364),_0x588788=resolveKnownApps(),_0x3fd0b2=isRecord(_0x4290ed['apps'])?{..._0x4290ed[_0x2f6abf(0x18e)]}:{},_0x41fd93=cloneProfile(_0x3fd0b2[_0x215aee]),_0x2b9df5=sanitizeProfile(_0x588788[_0x215aee]),_0x34e90b=_0x120b9d?{}:_0x2b9df5,_0x92b430=_0x120b9d||_0x34e90b[_0x2f6abf(0x198)];if(!_0x92b430){const _0x4e5657=Object['keys'](_0x588788),_0x4521e8=_0x4e5657['length']===0x0?_0x2f6abf(0x1a4)+CLI_BIN_NAME+'\x20workspace\x20'+_0x37555e+'\x20--app\x20'+_0x215aee+_0x2f6abf(0x191):_0x2f6abf(0x1b7)+_0x4e5657[_0x2f6abf(0x1b3)](',\x20');throw CliErrors[_0x2f6abf(0x1a6)](_0x2f6abf(0x18f)+_0x215aee+_0x2f6abf(0x1b6),_0x4521e8);}assertValidAppcode(String(_0x92b430));const _0x30854c={..._0x34e90b,..._0x41fd93,'appcode':String(_0x92b430),...collectWorkspaceProfileOverrides(_0x522c48)};return _0x3fd0b2[_0x215aee]=_0x30854c,_0x4290ed[_0x2f6abf(0x18e)]=_0x3fd0b2,_0x4290ed[_0x2f6abf(0x19a)]=_0x215aee,delete _0x4290ed['appcode'],delete _0x4290ed['app'],_0x30854c[_0x2f6abf(0x1a8)]&&(_0x4290ed[_0x2f6abf(0x1a8)]=_0x30854c[_0x2f6abf(0x1a8)]),writeConfigFile(_0x850364,_0x4290ed),{'ok':!![],'message':_0x2f6abf(0x1b5)+(_0x37555e===_0x2f6abf(0x1c3)?_0x2f6abf(0x199):_0x2f6abf(0x18d))+':\x20'+_0x215aee+_0x2f6abf(0x1b0)+_0x30854c['appcode']+').\x20Config:\x20'+_0x850364+_0x2f6abf(0x1a0),'data':{'operation':_0x2f6abf(0x1c1)+_0x37555e,'configPath':_0x850364,'app':_0x215aee,'appcode':_0x30854c[_0x2f6abf(0x198)],'env':_0x30854c[_0x2f6abf(0x1a8)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a210_0xd00145(0x1c0),'command':a210_0xd00145(0x1c3),'description':a210_0xd00145(0x195),'risk':a210_0xd00145(0x190),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x4dc183=>configureWorkspace(_0x4dc183,a210_0xd00145(0x1c3))},workspaceUseDefinition={'service':'workspace','command':a210_0xd00145(0x1b1),'description':a210_0xd00145(0x19d),'risk':a210_0xd00145(0x190),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x2e89d7=>configureWorkspace(_0x2e89d7,a210_0xd00145(0x1b1))};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];function a210_0x5508(){const _0x46525f=['riskLevel','globalConfig','Target\x20environment','trim','\x20(appcode:\x20','use','Invalid\x20appcode:\x20','join','isArray','Workspace\x20','\x22\x20not\x20found.','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','locale','pageSize','Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','66890rVDoaW','flag','format','Locale\x20for\x20this\x20workspace\x20app\x20profile','68KJHrEO','workspace','workspace.','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','init','defaultFormat','450611TvNjZy','apiDir','updated','apps','App\x20\x22','write','\x20--appcode\x20<code>`.','str','1123639kzgryM','app','Initialize\x20the\x20current\x20workspace\x20app\x20binding','365624tzngNP','project','appcode','initialized','defaultApp','64910rlCpVV','Missing\x20workspace\x20app\x20selector.','Switch\x20the\x20current\x20workspace\x20app\x20binding','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile','string','.\x20Credentials:\x20not\x20written.','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','2446140zljePo','Use\x20`','\x20workspace\x20use\x20--app\x20<name>`.','validation','35bnVUgn','env','1000407gGmdWY','2JeTJHC','279dgAGCs'];a210_0x5508=function(){return _0x46525f;};return a210_0x5508();}export{WORKSPACE_USAGE};
@@ -1 +1 @@
1
- const a203_0x1d9736=a203_0x1a38;function a203_0x3e01(){const _0x3a96cd=['4933352yqAFVI','remove','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','112236hkWGhL','30zFSQgs','name','980117QypIqV','8782551AqqQin','1542050DtNvbJ','write','10vCZtPS','workspace\x20remove','4499ReynVJ','128382HcJCEC','12gaqELT','26AqpliO','437045EtGCpF'];a203_0x3e01=function(){return _0x3a96cd;};return a203_0x3e01();}(function(_0x3705e3,_0x1fd755){const _0x5f3825=a203_0x1a38,_0x4c38eb=_0x3705e3();while(!![]){try{const _0x28b4f8=-parseInt(_0x5f3825(0x1f1))/0x1+-parseInt(_0x5f3825(0x1fa))/0x2*(-parseInt(_0x5f3825(0x1f8))/0x3)+-parseInt(_0x5f3825(0x1f9))/0x4*(parseInt(_0x5f3825(0x1f3))/0x5)+-parseInt(_0x5f3825(0x1ef))/0x6*(parseInt(_0x5f3825(0x1fb))/0x7)+-parseInt(_0x5f3825(0x1fc))/0x8+-parseInt(_0x5f3825(0x1f2))/0x9*(parseInt(_0x5f3825(0x1f5))/0xa)+-parseInt(_0x5f3825(0x1f7))/0xb*(-parseInt(_0x5f3825(0x1ee))/0xc);if(_0x28b4f8===_0x1fd755)break;else _0x4c38eb['push'](_0x4c38eb['shift']());}catch(_0x166672){_0x4c38eb['push'](_0x4c38eb['shift']());}}}(a203_0x3e01,0x8b915));function a203_0x1a38(_0x193c9e,_0x59b338){_0x193c9e=_0x193c9e-0x1ec;const _0x3e0157=a203_0x3e01();let _0x1a3881=_0x3e0157[_0x193c9e];return _0x1a3881;}import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';export const workspaceRemoveDefinition={'service':'workspace','command':a203_0x1d9736(0x1ec),'description':a203_0x1d9736(0x1ed),'risk':a203_0x1d9736(0x1f4),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a203_0x1d9736(0x1f0),'description':'App\x20profile\x20name\x20to\x20remove','required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x10cb7a=>validateAppName(_0x10cb7a,a203_0x1d9736(0x1f6)),'execute':_0x64b3a2=>runAppRemove(_0x64b3a2,a203_0x1d9736(0x1f6))};
1
+ function a211_0x3ac4(){const _0x6c46c7=['2121488ilaRPG','App\x20profile\x20name\x20to\x20remove','1048748INBFOB','10447758HTKcRd','14NMPZnR','268280oUYgDp','workspace\x20remove','697749VzqfPc','3187530rwVKIb','write','3WsAQCw','workspace','remove','name','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','860370zFxXCV'];a211_0x3ac4=function(){return _0x6c46c7;};return a211_0x3ac4();}function a211_0x52a2(_0x33437d,_0x20df4f){_0x33437d=_0x33437d-0xc7;const _0x3ac4d7=a211_0x3ac4();let _0x52a23f=_0x3ac4d7[_0x33437d];return _0x52a23f;}const a211_0x41d914=a211_0x52a2;(function(_0xbac371,_0x12b3ec){const _0x23c2a0=a211_0x52a2,_0x1bca62=_0xbac371();while(!![]){try{const _0xa95c9e=parseInt(_0x23c2a0(0xd2))/0x1+-parseInt(_0x23c2a0(0xcd))/0x2+parseInt(_0x23c2a0(0xd5))/0x3*(-parseInt(_0x23c2a0(0xcb))/0x4)+parseInt(_0x23c2a0(0xca))/0x5+-parseInt(_0x23c2a0(0xd3))/0x6+parseInt(_0x23c2a0(0xcf))/0x7*(parseInt(_0x23c2a0(0xd0))/0x8)+parseInt(_0x23c2a0(0xce))/0x9;if(_0xa95c9e===_0x12b3ec)break;else _0x1bca62['push'](_0x1bca62['shift']());}catch(_0x41203d){_0x1bca62['push'](_0x1bca62['shift']());}}}(a211_0x3ac4,0x7cf0a));import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';export const workspaceRemoveDefinition={'service':a211_0x41d914(0xd6),'command':a211_0x41d914(0xc7),'description':a211_0x41d914(0xc9),'risk':a211_0x41d914(0xd4),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a211_0x41d914(0xc8),'description':a211_0x41d914(0xcc),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x3e06b1=>validateAppName(_0x3e06b1,a211_0x41d914(0xd1)),'execute':_0x1a8f1e=>runAppRemove(_0x1a8f1e,'workspace\x20remove')};
@@ -1 +1 @@
1
- const a204_0x4f6ea1=a204_0x4da3;(function(_0x446628,_0x425ba8){const _0x59a895=a204_0x4da3,_0x363c99=_0x446628();while(!![]){try{const _0x5148de=-parseInt(_0x59a895(0x1fb))/0x1*(parseInt(_0x59a895(0x216))/0x2)+-parseInt(_0x59a895(0x1fe))/0x3+-parseInt(_0x59a895(0x1ed))/0x4*(-parseInt(_0x59a895(0x1f1))/0x5)+parseInt(_0x59a895(0x1f7))/0x6+-parseInt(_0x59a895(0x20a))/0x7*(parseInt(_0x59a895(0x201))/0x8)+parseInt(_0x59a895(0x1f2))/0x9*(-parseInt(_0x59a895(0x20c))/0xa)+parseInt(_0x59a895(0x1ff))/0xb;if(_0x5148de===_0x425ba8)break;else _0x363c99['push'](_0x363c99['shift']());}catch(_0x131e21){_0x363c99['push'](_0x363c99['shift']());}}}(a204_0x404e,0x47235));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a204_0x4f6ea1(0x1ef),'accessKey',a204_0x4f6ea1(0x213),'format',a204_0x4f6ea1(0x20b)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a204_0x4f6ea1(0x20d),a204_0x4f6ea1(0x214),'locale',a204_0x4f6ea1(0x1f0),a204_0x4f6ea1(0x1ef),'accessKey',a204_0x4f6ea1(0x211)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES]};export function formatConfigKeyList(_0x2f590c){const _0x4b4735=a204_0x4f6ea1;return[..._0x2f590c][_0x4b4735(0x20e)](',\x20');}function a204_0x4da3(_0x49a047,_0x4a752a){_0x49a047=_0x49a047-0x1ed;const _0x404e9a=a204_0x404e();let _0x4da3cb=_0x404e9a[_0x49a047];return _0x4da3cb;}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x52216d){const _0x5b63ca=a204_0x4f6ea1;return TOP_LEVEL_CONFIG_KEYS[_0x5b63ca(0x1f8)](_0x52216d);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){return'Config\x20key\x20('+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'env':a204_0x4f6ea1(0x214),'apiDir':a204_0x4f6ea1(0x211),'cookie':'cookie','accessKey':'accessKey','defaultFormat':'format','pageSize':'pageSize','riskLevel':'riskLevel','locale':a204_0x4f6ea1(0x213)};export function getAppProfileFlagDefs(){const _0x59a75b=a204_0x4f6ea1;return[{'name':_0x59a75b(0x214),'type':_0x59a75b(0x1fd),'description':_0x59a75b(0x206),'enum':[...RABETBASE_ENV_VALUES]},{'name':'apiDir','type':_0x59a75b(0x1fd),'description':_0x59a75b(0x1f5)},{'name':_0x59a75b(0x1ef),'type':_0x59a75b(0x1fd),'description':_0x59a75b(0x208),'hidden':!![]},{'name':'accessKey','type':_0x59a75b(0x1fd),'description':_0x59a75b(0x1f3),'hidden':!![]},{'name':'defaultFormat','type':_0x59a75b(0x1fd),'description':'Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x59a75b(0x200),'type':_0x59a75b(0x1f9),'description':_0x59a75b(0x1f6)},{'name':_0x59a75b(0x20b),'type':_0x59a75b(0x1fd),'description':_0x59a75b(0x1fa),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x59a75b(0x213),'type':_0x59a75b(0x1fd),'description':_0x59a75b(0x204)}];}export function collectAppProfileOverrides(_0x301c70){const _0x2588e6={};for(const [_0x2ae48b,_0x58ffb8]of Object['entries'](APP_PROFILE_FLAG_KEY_MAP)){const _0x115e6d=_0x301c70(_0x2ae48b);if(!_0x115e6d)continue;_0x2588e6[_0x58ffb8]=_0x58ffb8==='pageSize'?Number(_0x115e6d):_0x115e6d;}return _0x2588e6;}export function buildAppProfileListFields(_0x1cd7a1){const _0x29e6bf=a204_0x4f6ea1;return{'env':_0x1cd7a1['env']??null,'apiDir':_0x1cd7a1[_0x29e6bf(0x211)]??null,'hasCookie':!!_0x1cd7a1[_0x29e6bf(0x1ef)],'hasAccessKey':!!_0x1cd7a1[_0x29e6bf(0x210)],'format':_0x1cd7a1[_0x29e6bf(0x1f0)]??null,'pageSize':_0x1cd7a1[_0x29e6bf(0x200)]??null,'riskLevel':_0x1cd7a1[_0x29e6bf(0x20b)]??null,'locale':_0x1cd7a1[_0x29e6bf(0x213)]??null};}function a204_0x404e(){const _0x1ae14a=['Default\x20page\x20size','45276TOUPQK','has','number','Risk\x20level','29hqYQtI','defaultApp','string','819285JOoUYf','16388845GvFwMW','pageSize','191080ZQCjEo','keys','map','Locale','apps','Target\x20environment','trim','Auth\x20cookie','filter','98bxarUK','riskLevel','2512430DLMMiV','appcode','join','inherit','accessKey','apiDir','length','locale','env','app','27386Qevviw','1076cGNsgr','en-US','cookie','format','925qeDwNE','9DVKANQ','Access\x20key','zh-CN','API\x20directory\x20path'];a204_0x404e=function(){return _0x1ae14a;};return a204_0x404e();}export function buildAppDoctorFields(_0x3375fb,_0x11e410){const _0x527d63=a204_0x4f6ea1;return{'env':{'value':_0x3375fb['env']||_0x11e410['env'],'source':_0x3375fb['env']?_0x527d63(0x215):_0x527d63(0x20f)},'apiDir':{'value':_0x3375fb['apiDir']||_0x11e410[_0x527d63(0x211)],'source':_0x3375fb[_0x527d63(0x211)]?_0x527d63(0x215):'inherit'},'cookie':{'value':_0x3375fb[_0x527d63(0x1ef)]||_0x11e410[_0x527d63(0x1ef)],'source':_0x3375fb[_0x527d63(0x1ef)]?_0x527d63(0x215):'inherit'},'accessKey':{'value':_0x3375fb[_0x527d63(0x210)]||_0x11e410[_0x527d63(0x210)],'source':_0x3375fb[_0x527d63(0x210)]?_0x527d63(0x215):_0x527d63(0x20f)}};}export function buildCanonicalAppConfig(_0x1e4815,_0x4de29c){const _0x262fac=a204_0x4f6ea1,_0x1b80a5=_0x1e4815[_0x262fac(0x203)](_0xc6e898=>String(_0xc6e898||'')[_0x262fac(0x207)]())[_0x262fac(0x209)](Boolean);if(_0x1b80a5['length']===0x0)return{};const _0x1e4b05={};for(const _0x56c652 of _0x1b80a5){_0x1e4b05[_0x56c652]=_0x4de29c?{'appcode':_0x56c652,'env':_0x4de29c}:{'appcode':_0x56c652};}return{'apps':_0x1e4b05,'defaultApp':_0x1b80a5[0x0]};}export function buildCanonicalProjectConfig(_0x5fe24f,_0x54a20c){const _0x45a384=a204_0x4f6ea1,{appCodes:appCodes=[],env:_0x543a7d,metadata:_0x2a3b32}=_0x54a20c,_0x162cef={..._0x5fe24f,..._0x2a3b32||{}};delete _0x162cef[_0x45a384(0x20d)],delete _0x162cef[_0x45a384(0x215)];if(_0x543a7d)_0x162cef[_0x45a384(0x214)]=_0x543a7d;else!_0x162cef['env']&&(_0x162cef['env']=DEFAULT_CONFIG_VALUES[_0x45a384(0x214)]);const _0x378302=buildCanonicalAppConfig(appCodes,_0x162cef['env']);return Object[_0x45a384(0x202)](_0x378302)[_0x45a384(0x212)]>0x0&&(_0x162cef[_0x45a384(0x205)]=_0x378302[_0x45a384(0x205)],_0x162cef[_0x45a384(0x1fc)]=_0x378302['defaultApp']),_0x162cef;}const LOCALE_MAP={'zh':'zh-CN','zh-cn':a204_0x4f6ea1(0x1f4),'zh_cn':'zh-CN','en':'en-US','en-us':'en-US','en_us':a204_0x4f6ea1(0x1ee)};export function normalizeLocale(_0x4d1722){if(!_0x4d1722)return null;return LOCALE_MAP[_0x4d1722['toLowerCase']()]??null;}
1
+ const a212_0x22c27c=a212_0x156b;(function(_0x2ac414,_0x5a1e05){const _0x2f0e6c=a212_0x156b,_0x2cbdd1=_0x2ac414();while(!![]){try{const _0x5081d3=parseInt(_0x2f0e6c(0xb3))/0x1+parseInt(_0x2f0e6c(0xaa))/0x2+parseInt(_0x2f0e6c(0xba))/0x3+parseInt(_0x2f0e6c(0xb8))/0x4*(parseInt(_0x2f0e6c(0xb9))/0x5)+parseInt(_0x2f0e6c(0xa8))/0x6*(-parseInt(_0x2f0e6c(0xb6))/0x7)+-parseInt(_0x2f0e6c(0xa4))/0x8+-parseInt(_0x2f0e6c(0xc6))/0x9;if(_0x5081d3===_0x5a1e05)break;else _0x2cbdd1['push'](_0x2cbdd1['shift']());}catch(_0x2f2192){_0x2cbdd1['push'](_0x2cbdd1['shift']());}}}(a212_0x5204,0xdd2cf));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a212_0x22c27c(0xbc),a212_0x22c27c(0xb7),a212_0x22c27c(0xbf),a212_0x22c27c(0xb4),a212_0x22c27c(0xbe)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a212_0x22c27c(0xb0),'env',a212_0x22c27c(0xbf),'format',a212_0x22c27c(0xbc),a212_0x22c27c(0xb7),'apiDir']);function a212_0x156b(_0x20c30b,_0x448710){_0x20c30b=_0x20c30b-0xa4;const _0x5204f0=a212_0x5204();let _0x156b3f=_0x5204f0[_0x20c30b];return _0x156b3f;}export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES]};export function formatConfigKeyList(_0x28133d){const _0x440554=a212_0x22c27c;return[..._0x28133d][_0x440554(0xa9)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x3fc498){return TOP_LEVEL_CONFIG_KEYS['has'](_0x3fc498);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){return'Config\x20key\x20('+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'env':a212_0x22c27c(0xa6),'apiDir':a212_0x22c27c(0xae),'cookie':a212_0x22c27c(0xbc),'accessKey':a212_0x22c27c(0xb7),'defaultFormat':'format','pageSize':a212_0x22c27c(0xbd),'riskLevel':'riskLevel','locale':a212_0x22c27c(0xbf)};export function getAppProfileFlagDefs(){const _0x29a1c4=a212_0x22c27c;return[{'name':'env','type':_0x29a1c4(0xb2),'description':_0x29a1c4(0xc3),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x29a1c4(0xae),'type':'string','description':_0x29a1c4(0xc5)},{'name':_0x29a1c4(0xbc),'type':'string','description':_0x29a1c4(0xac),'hidden':!![]},{'name':'accessKey','type':_0x29a1c4(0xb2),'description':_0x29a1c4(0xb5),'hidden':!![]},{'name':'defaultFormat','type':'string','description':_0x29a1c4(0xc1),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x29a1c4(0xbd),'type':_0x29a1c4(0xc8),'description':_0x29a1c4(0xc4)},{'name':_0x29a1c4(0xbe),'type':'string','description':'Risk\x20level','enum':[...RISK_LEVEL_VALUES]},{'name':_0x29a1c4(0xbf),'type':_0x29a1c4(0xb2),'description':_0x29a1c4(0xab)}];}function a212_0x5204(){const _0x5a8d40=['801592TlDiiT','Locale','Auth\x20cookie','toLowerCase','apiDir','apps','appcode','app','string','1548026qpfRFj','format','Access\x20key','49KyzCkd','accessKey','1512404VriIOP','5NYbQOw','2333229RdbWMj','entries','cookie','pageSize','riskLevel','locale','keys','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','inherit','Target\x20environment','Default\x20page\x20size','API\x20directory\x20path','9892890EExOiF','length','number','en-US','6286080nnbfEY','defaultApp','env','zh-CN','268938bQAwgi','join'];a212_0x5204=function(){return _0x5a8d40;};return a212_0x5204();}export function collectAppProfileOverrides(_0x165c18){const _0x5d25ca=a212_0x22c27c,_0x268de8={};for(const [_0x2176a7,_0x2bede7]of Object[_0x5d25ca(0xbb)](APP_PROFILE_FLAG_KEY_MAP)){const _0x395a21=_0x165c18(_0x2176a7);if(!_0x395a21)continue;_0x268de8[_0x2bede7]=_0x2bede7===_0x5d25ca(0xbd)?Number(_0x395a21):_0x395a21;}return _0x268de8;}export function buildAppProfileListFields(_0x51e1c8){const _0x5b9993=a212_0x22c27c;return{'env':_0x51e1c8[_0x5b9993(0xa6)]??null,'apiDir':_0x51e1c8[_0x5b9993(0xae)]??null,'hasCookie':!!_0x51e1c8[_0x5b9993(0xbc)],'hasAccessKey':!!_0x51e1c8['accessKey'],'format':_0x51e1c8[_0x5b9993(0xb4)]??null,'pageSize':_0x51e1c8[_0x5b9993(0xbd)]??null,'riskLevel':_0x51e1c8['riskLevel']??null,'locale':_0x51e1c8[_0x5b9993(0xbf)]??null};}export function buildAppDoctorFields(_0x7a149b,_0x5bce79){const _0x378048=a212_0x22c27c;return{'env':{'value':_0x7a149b[_0x378048(0xa6)]||_0x5bce79['env'],'source':_0x7a149b[_0x378048(0xa6)]?'app':_0x378048(0xc2)},'apiDir':{'value':_0x7a149b[_0x378048(0xae)]||_0x5bce79[_0x378048(0xae)],'source':_0x7a149b['apiDir']?'app':'inherit'},'cookie':{'value':_0x7a149b[_0x378048(0xbc)]||_0x5bce79[_0x378048(0xbc)],'source':_0x7a149b['cookie']?_0x378048(0xb1):'inherit'},'accessKey':{'value':_0x7a149b[_0x378048(0xb7)]||_0x5bce79[_0x378048(0xb7)],'source':_0x7a149b[_0x378048(0xb7)]?_0x378048(0xb1):_0x378048(0xc2)}};}export function buildCanonicalAppConfig(_0x387572,_0x25dc7b){const _0xb7191e=a212_0x22c27c,_0x2d5d64=_0x387572['map'](_0x1442f3=>String(_0x1442f3||'')['trim']())['filter'](Boolean);if(_0x2d5d64[_0xb7191e(0xc7)]===0x0)return{};const _0x5ac3ec={};for(const _0x1dd24d of _0x2d5d64){_0x5ac3ec[_0x1dd24d]=_0x25dc7b?{'appcode':_0x1dd24d,'env':_0x25dc7b}:{'appcode':_0x1dd24d};}return{'apps':_0x5ac3ec,'defaultApp':_0x2d5d64[0x0]};}export function buildCanonicalProjectConfig(_0x4c1d5a,_0x50635a){const _0x1de4f7=a212_0x22c27c,{appCodes:appCodes=[],env:_0x559525,metadata:_0x5562e4}=_0x50635a,_0x25344c={..._0x4c1d5a,..._0x5562e4||{}};delete _0x25344c[_0x1de4f7(0xb0)],delete _0x25344c[_0x1de4f7(0xb1)];if(_0x559525)_0x25344c[_0x1de4f7(0xa6)]=_0x559525;else!_0x25344c['env']&&(_0x25344c[_0x1de4f7(0xa6)]=DEFAULT_CONFIG_VALUES[_0x1de4f7(0xa6)]);const _0x19c3a7=buildCanonicalAppConfig(appCodes,_0x25344c[_0x1de4f7(0xa6)]);return Object[_0x1de4f7(0xc0)](_0x19c3a7)[_0x1de4f7(0xc7)]>0x0&&(_0x25344c[_0x1de4f7(0xaf)]=_0x19c3a7[_0x1de4f7(0xaf)],_0x25344c['defaultApp']=_0x19c3a7[_0x1de4f7(0xa5)]),_0x25344c;}const LOCALE_MAP={'zh':a212_0x22c27c(0xa7),'zh-cn':a212_0x22c27c(0xa7),'zh_cn':a212_0x22c27c(0xa7),'en':a212_0x22c27c(0xc9),'en-us':a212_0x22c27c(0xc9),'en_us':a212_0x22c27c(0xc9)};export function normalizeLocale(_0x26c9d6){const _0x386218=a212_0x22c27c;if(!_0x26c9d6)return null;return LOCALE_MAP[_0x26c9d6[_0x386218(0xad)]()]??null;}
@@ -1 +1,3 @@
1
+ export declare const RABETBASE_CDN_BASE_URL = "https://g.lovrabet.com/dist/rabetbase-cli";
1
2
  export declare const CLI_VERSION_POLICY_URL = "https://g.lovrabet.com/dist/rabetbase-cli/config/index.json";
3
+ export declare const PROJECT_TEMPLATE_ASSET_BASE_URL = "https://g.lovrabet.com/dist/rabetbase-cli/templates/projects";
@@ -1 +1 @@
1
- (function(_0x15ac27,_0x163ae0){const _0x420143=a205_0x57bb,_0x56e65f=_0x15ac27();while(!![]){try{const _0x7f8436=parseInt(_0x420143(0x118))/0x1+-parseInt(_0x420143(0x11c))/0x2+parseInt(_0x420143(0x11d))/0x3+-parseInt(_0x420143(0x11b))/0x4*(parseInt(_0x420143(0x119))/0x5)+parseInt(_0x420143(0x117))/0x6+parseInt(_0x420143(0x114))/0x7*(-parseInt(_0x420143(0x11a))/0x8)+parseInt(_0x420143(0x116))/0x9*(parseInt(_0x420143(0x115))/0xa);if(_0x7f8436===_0x163ae0)break;else _0x56e65f['push'](_0x56e65f['shift']());}catch(_0x4a133a){_0x56e65f['push'](_0x56e65f['shift']());}}}(a205_0x54bf,0x9dac2));function a205_0x54bf(){const _0x5c4b81=['345191nDcQyn','13663150ONGfER','9WavEqC','1653660JoSDEc','198467gSBHoQ','1554035vfpbUf','88PbCgDM','4ioyEzH','1258580LEKxAc','863922TTMAIi'];a205_0x54bf=function(){return _0x5c4b81;};return a205_0x54bf();}function a205_0x57bb(_0x67ea6e,_0x1987bc){_0x67ea6e=_0x67ea6e-0x114;const _0x54bfbe=a205_0x54bf();let _0x57bbd1=_0x54bfbe[_0x67ea6e];return _0x57bbd1;}export const CLI_VERSION_POLICY_URL='https://g.lovrabet.com/dist/rabetbase-cli/config/index.json';
1
+ const a213_0xb7846e=a213_0x46aa;(function(_0x5d4ac6,_0xa1e4d4){const _0x5a1561=a213_0x46aa,_0x127a06=_0x5d4ac6();while(!![]){try{const _0x85f7f7=-parseInt(_0x5a1561(0xed))/0x1+-parseInt(_0x5a1561(0xe6))/0x2+parseInt(_0x5a1561(0xe8))/0x3*(parseInt(_0x5a1561(0xec))/0x4)+parseInt(_0x5a1561(0xeb))/0x5*(parseInt(_0x5a1561(0xef))/0x6)+parseInt(_0x5a1561(0xe9))/0x7*(parseInt(_0x5a1561(0xee))/0x8)+-parseInt(_0x5a1561(0xe7))/0x9+-parseInt(_0x5a1561(0xe5))/0xa;if(_0x85f7f7===_0xa1e4d4)break;else _0x127a06['push'](_0x127a06['shift']());}catch(_0x2c6087){_0x127a06['push'](_0x127a06['shift']());}}}(a213_0x5cf3,0xd9e9c));export const RABETBASE_CDN_BASE_URL='https://g.lovrabet.com/dist/rabetbase-cli';function a213_0x5cf3(){const _0x3be1a7=['/templates/projects','5698070jfvjjG','75056sCjIgp','7602966YshUvT','271587EaHtIo','7833dwZqew','/config/index.json','405XuLzWz','32WpYkHD','186814mJeiRX','5448mCfkkW','77424NBkFRS'];a213_0x5cf3=function(){return _0x3be1a7;};return a213_0x5cf3();}export const CLI_VERSION_POLICY_URL=RABETBASE_CDN_BASE_URL+a213_0xb7846e(0xea);function a213_0x46aa(_0x3493c7,_0x4a1f30){_0x3493c7=_0x3493c7-0xe4;const _0x5cf380=a213_0x5cf3();let _0x46aa25=_0x5cf380[_0x3493c7];return _0x46aa25;}export const PROJECT_TEMPLATE_ASSET_BASE_URL=RABETBASE_CDN_BASE_URL+a213_0xb7846e(0xe4);
@@ -1 +1 @@
1
- const a206_0x48fe87=a206_0x1174;(function(_0x4e5cfe,_0x3d4fb5){const _0x2297cc=a206_0x1174,_0x1bbad6=_0x4e5cfe();while(!![]){try{const _0x25cdc6=parseInt(_0x2297cc(0x1e4))/0x1+parseInt(_0x2297cc(0x1da))/0x2+-parseInt(_0x2297cc(0x22d))/0x3+parseInt(_0x2297cc(0x251))/0x4*(parseInt(_0x2297cc(0x216))/0x5)+-parseInt(_0x2297cc(0x254))/0x6+parseInt(_0x2297cc(0x237))/0x7*(-parseInt(_0x2297cc(0x243))/0x8)+parseInt(_0x2297cc(0x232))/0x9;if(_0x25cdc6===_0x3d4fb5)break;else _0x1bbad6['push'](_0x1bbad6['shift']());}catch(_0x389a39){_0x1bbad6['push'](_0x1bbad6['shift']());}}}(a206_0x1dd8,0x69eab));export const CLI_BIN_NAME=a206_0x48fe87(0x1dc);export const CLI_DISPLAY_NAME='Rabetbase\x20CLI';export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':a206_0x48fe87(0x1e7),'meowKey':a206_0x48fe87(0x1e7),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x231),'hint':a206_0x48fe87(0x203)},{'name':a206_0x48fe87(0x24f),'meowKey':'app','type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x1e0),'hint':a206_0x48fe87(0x1db)},{'name':a206_0x48fe87(0x1f6),'meowKey':a206_0x48fe87(0x1f6),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x200),'hint':'production\x20|\x20daily'},{'name':a206_0x48fe87(0x23f),'meowKey':a206_0x48fe87(0x23f),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x1f5),'hint':a206_0x48fe87(0x21c)},{'name':'jq','meowKey':'jq','type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x21a),'hint':a206_0x48fe87(0x202)},{'name':a206_0x48fe87(0x224),'meowKey':'dryRun','type':a206_0x48fe87(0x1ec),'description':'Preview\x20operation\x20without\x20executing'},{'name':a206_0x48fe87(0x20e),'meowKey':a206_0x48fe87(0x20e),'type':a206_0x48fe87(0x1ec),'description':'Skip\x20confirmation\x20for\x20high-risk\x20writes'},{'name':a206_0x48fe87(0x1f8),'meowKey':a206_0x48fe87(0x223),'type':a206_0x48fe87(0x1ec),'description':a206_0x48fe87(0x1ef)},{'name':a206_0x48fe87(0x1f9),'meowKey':a206_0x48fe87(0x1f9),'type':a206_0x48fe87(0x1ec),'description':a206_0x48fe87(0x220)},{'name':a206_0x48fe87(0x238),'meowKey':a206_0x48fe87(0x238),'type':a206_0x48fe87(0x1ec),'description':a206_0x48fe87(0x1d6)},{'name':'ci','meowKey':'ci','type':a206_0x48fe87(0x1ec),'description':a206_0x48fe87(0x208),'hidden':!![]},{'name':'help','meowKey':a206_0x48fe87(0x1f7),'type':a206_0x48fe87(0x1ec),'description':a206_0x48fe87(0x222)},{'name':'name','meowKey':a206_0x48fe87(0x249),'type':'string','description':a206_0x48fe87(0x20f),'hidden':!![]},{'name':a206_0x48fe87(0x1d7),'meowKey':a206_0x48fe87(0x1d7),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x24d),'hidden':!![]},{'name':a206_0x48fe87(0x226),'meowKey':a206_0x48fe87(0x226),'type':a206_0x48fe87(0x1ec),'description':a206_0x48fe87(0x20c),'hidden':!![]},{'name':'watch','meowKey':a206_0x48fe87(0x1e8),'type':'boolean','description':a206_0x48fe87(0x210),'hidden':!![]},{'name':a206_0x48fe87(0x201),'meowKey':a206_0x48fe87(0x201),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x1fd),'hidden':!![]},{'name':a206_0x48fe87(0x242),'meowKey':a206_0x48fe87(0x242),'type':'string','description':a206_0x48fe87(0x24a),'hidden':!![]},{'name':a206_0x48fe87(0x1de),'meowKey':a206_0x48fe87(0x1de),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x21d),'hidden':!![]},{'name':a206_0x48fe87(0x250),'meowKey':'all','type':a206_0x48fe87(0x1ec),'description':'Apply\x20to\x20all','hidden':!![]},{'name':a206_0x48fe87(0x253),'meowKey':a206_0x48fe87(0x1d5),'type':a206_0x48fe87(0x1ec),'description':a206_0x48fe87(0x24e),'hidden':!![]},{'name':'id','meowKey':'id','type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x1fb),'hidden':!![]},{'name':'type','meowKey':a206_0x48fe87(0x1fe),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x1e1),'hidden':!![]},{'name':a206_0x48fe87(0x228),'meowKey':'file','type':a206_0x48fe87(0x22c),'description':'File\x20path','hidden':!![]},{'name':'sqlcode','meowKey':a206_0x48fe87(0x255),'type':'string','description':a206_0x48fe87(0x1d4),'hidden':!![]},{'name':a206_0x48fe87(0x1ea),'meowKey':a206_0x48fe87(0x22f),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x233),'hidden':!![]},{'name':a206_0x48fe87(0x234),'meowKey':a206_0x48fe87(0x234),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x233),'hidden':!![]},{'name':a206_0x48fe87(0x215),'meowKey':a206_0x48fe87(0x212),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x1fc),'hidden':!![]},{'name':a206_0x48fe87(0x225),'meowKey':a206_0x48fe87(0x225),'type':'string','description':a206_0x48fe87(0x1fc),'hidden':!![]},{'name':'description','meowKey':'description','type':'string','description':a206_0x48fe87(0x230),'hidden':!![]},{'name':a206_0x48fe87(0x20b),'meowKey':a206_0x48fe87(0x1f3),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x1ff),'hidden':!![]},{'name':a206_0x48fe87(0x219),'meowKey':'page','type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x22a),'hidden':!![]},{'name':'pagesize','meowKey':a206_0x48fe87(0x1e2),'type':a206_0x48fe87(0x22c),'description':'Page\x20size','hidden':!![]},{'name':'keyword','meowKey':a206_0x48fe87(0x246),'type':'string','description':a206_0x48fe87(0x1ed),'hidden':!![]},{'name':'code','meowKey':a206_0x48fe87(0x248),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x23d),'hidden':!![]},{'name':a206_0x48fe87(0x1e9),'meowKey':a206_0x48fe87(0x1e9),'type':'string','description':a206_0x48fe87(0x23b),'hidden':!![]},{'name':'schemas','meowKey':a206_0x48fe87(0x20a),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x23a),'hidden':!![]},{'name':'operation','meowKey':a206_0x48fe87(0x213),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x227),'hidden':!![]},{'name':a206_0x48fe87(0x217),'meowKey':'target','type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x1f4),'hidden':!![]},{'name':a206_0x48fe87(0x23c),'meowKey':a206_0x48fe87(0x239),'type':a206_0x48fe87(0x1ec),'description':a206_0x48fe87(0x241),'hidden':!![]},{'name':'key','meowKey':'key','type':a206_0x48fe87(0x22c),'description':'Config\x20key','hidden':!![]},{'name':'value','meowKey':a206_0x48fe87(0x22b),'type':'string','description':a206_0x48fe87(0x1dd),'hidden':!![]},{'name':a206_0x48fe87(0x1d8),'meowKey':a206_0x48fe87(0x1d8),'type':a206_0x48fe87(0x22c),'description':'Tags','hidden':!![]},{'name':a206_0x48fe87(0x236),'meowKey':a206_0x48fe87(0x236),'type':'boolean','description':a206_0x48fe87(0x1d9),'hidden':!![]},{'name':a206_0x48fe87(0x20d),'meowKey':a206_0x48fe87(0x207),'type':'string','description':a206_0x48fe87(0x1e5),'hidden':!![]},{'name':'reveal','meowKey':a206_0x48fe87(0x1eb),'type':'boolean','description':a206_0x48fe87(0x244),'hidden':!![]},{'name':a206_0x48fe87(0x211),'meowKey':'force','type':'boolean','description':a206_0x48fe87(0x1e6),'hidden':!![]},{'name':a206_0x48fe87(0x21f),'meowKey':a206_0x48fe87(0x21f),'type':a206_0x48fe87(0x1ec),'description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':'remote','meowKey':'remote','type':'boolean','description':a206_0x48fe87(0x21e),'hidden':!![]},{'name':a206_0x48fe87(0x1fa),'meowKey':a206_0x48fe87(0x1fa),'type':a206_0x48fe87(0x1ec),'description':a206_0x48fe87(0x209),'hidden':!![]},{'name':a206_0x48fe87(0x204),'meowKey':a206_0x48fe87(0x1ee),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x206),'hidden':!![]},{'name':a206_0x48fe87(0x21b),'meowKey':'label','type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x23e),'hidden':!![]},{'name':'parent-id','meowKey':a206_0x48fe87(0x22e),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x229),'hidden':!![]},{'name':a206_0x48fe87(0x252),'meowKey':'sort','type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x218),'hidden':!![]},{'name':a206_0x48fe87(0x247),'meowKey':a206_0x48fe87(0x24b),'type':'string','description':a206_0x48fe87(0x235),'hidden':!![]},{'name':'expect-path','meowKey':a206_0x48fe87(0x205),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x1df),'hidden':!![]},{'name':a206_0x48fe87(0x24c),'meowKey':'expectedChildrenCount','type':a206_0x48fe87(0x22c),'description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':'menu-ids','meowKey':a206_0x48fe87(0x240),'type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x221),'hidden':!![]},{'name':a206_0x48fe87(0x1f2),'meowKey':'taskId','type':a206_0x48fe87(0x22c),'description':a206_0x48fe87(0x1f1),'hidden':!![]},{'name':a206_0x48fe87(0x245),'meowKey':a206_0x48fe87(0x1f0),'type':'string','description':a206_0x48fe87(0x227),'hidden':!![]},{'name':a206_0x48fe87(0x214),'meowKey':'functionNode','type':a206_0x48fe87(0x22c),'description':'Function\x20node','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a206_0x48fe87(0x1e7),a206_0x48fe87(0x24f),a206_0x48fe87(0x1f6),a206_0x48fe87(0x23f),'jq',a206_0x48fe87(0x224),a206_0x48fe87(0x20e),a206_0x48fe87(0x1f8),'ci']);function a206_0x1174(_0x4ca893,_0x143076){_0x4ca893=_0x4ca893-0x1d4;const _0x1dd899=a206_0x1dd8();let _0x1174e8=_0x1dd899[_0x4ca893];return _0x1174e8;}function a206_0x1dd8(){const _0x18507c=['expected-count','expectPath','Expected\x20affected\x20count','fromEnv','Alias\x20for\x20--non-interactive','Verbose\x20output','schemas','description-file','Clear','from-env','yes','Name','Watch\x20mode','force','dbId','operation','function-node','db-id','641440VJdTMa','target','Menu\x20sort\x20value','page','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','label','json\x20|\x20pretty\x20|\x20compress','Dataset\x20code','Use\x20remote','confirm','Use\x20global\x20config\x20scope','Comma-separated\x20menu\x20IDs','Show\x20help','nonInteractive','dry-run','dbid','clear','Operation\x20type','file','Parent\x20menu\x20id','Page\x20number','value','string','1624704VPFhOR','parentId','sqlName','Description','Override\x20appcode','940896vzcFFW','SQL\x20name','sqlname','Expected\x20current\x20parent\x20menu\x20id','stdin','14LedBnX','project','skipImports','Schemas','SQL\x20string','skip-imports','Code\x20filter','Menu\x20label','format','menuIds','Skip\x20import\x20generation','params','447096UDbZCh','Reveal\x20sensitive\x20value','operation-type','keyword','expect-parent-id','code','name','JSON\x20params','expectParentId','expected-children-count','Title','Enable\x20BFF\x20save','app','all','12uFKeJd','sort','enable-bff-save','3368850XUmKWA','sqlcode','SQL\x20code','enableBffSave','Use\x20project\x20config\x20scope','title','tags','Read\x20value\x20from\x20stdin','741278aGWgsi','<name>','rabetbase','Config\x20value','datasetcode','Expected\x20current\x20menu\x20path','Select\x20app\x20profile\x20by\x20name','Type\x20filter','pagesize','meowKey','788605SvBTYy','Read\x20value\x20from\x20environment\x20variable','Force\x20overwrite','appcode','watch','sql','sql-name','reveal','boolean','Keyword\x20filter','expectedCount','Force\x20non-interactive\x20mode\x20(CI)','operationType','Asynchronous\x20task\x20ID','task-id','descriptionFile','Target\x20path','Output\x20format','env','help','non-interactive','global','verbose','Record\x20ID','DB\x20ID','Output\x20path','type','Description\x20file','Environment','output','<expr>','<code>'];a206_0x1dd8=function(){return _0x18507c;};return a206_0x1dd8();}export function buildMeowFlags(){const _0x1a26d0=a206_0x48fe87;return Object['fromEntries'](GLOBAL_FLAGS['map'](_0x2e1f16=>[_0x2e1f16[_0x1a26d0(0x1e3)],{'type':_0x2e1f16[_0x1a26d0(0x1fe)]}]));}
1
+ const a214_0x9e720a=a214_0x209d;(function(_0x162180,_0x530fbb){const _0x3da4c9=a214_0x209d,_0x5632ac=_0x162180();while(!![]){try{const _0x26c9e1=-parseInt(_0x3da4c9(0x86))/0x1*(-parseInt(_0x3da4c9(0xb7))/0x2)+parseInt(_0x3da4c9(0x9d))/0x3+-parseInt(_0x3da4c9(0xf3))/0x4+parseInt(_0x3da4c9(0xf6))/0x5+parseInt(_0x3da4c9(0xb8))/0x6*(-parseInt(_0x3da4c9(0x9e))/0x7)+parseInt(_0x3da4c9(0xd6))/0x8*(parseInt(_0x3da4c9(0xa3))/0x9)+parseInt(_0x3da4c9(0x7f))/0xa;if(_0x26c9e1===_0x530fbb)break;else _0x5632ac['push'](_0x5632ac['shift']());}catch(_0x23bdcc){_0x5632ac['push'](_0x5632ac['shift']());}}}(a214_0x4ac1,0x998ec));function a214_0x209d(_0x1c338b,_0x200d58){_0x1c338b=_0x1c338b-0x77;const _0x4ac167=a214_0x4ac1();let _0x209dcb=_0x4ac167[_0x1c338b];return _0x209dcb;}export const CLI_BIN_NAME=a214_0x9e720a(0xaf);export const CLI_DISPLAY_NAME=a214_0x9e720a(0xce);export const NPM_PACKAGE_NAME=a214_0x9e720a(0xd7);function a214_0x4ac1(){const _0x317984=['nonInteractive','title','expected-count','4488900RGnhwa','Force\x20overwrite','keyword','4099730qMzSXz','parent-id','Description\x20file','<expr>','yes','File\x20path','Skip\x20import\x20generation','menuIds','Menu\x20sort\x20value','Expected\x20current\x20child\x20count','force','json\x20|\x20pretty\x20|\x20compress','dbid','Config\x20key','872840erXLfo','key','Parent\x20menu\x20id','Alias\x20for\x20--non-interactive','Keyword\x20filter','enableBffSave','target','2xRfgyw','sqlName','params','description','value','project','Schemas','file','Verbose\x20output','Output\x20path','Page\x20size','stdin','non-interactive','Description','dry-run','global','label','dbId','sqlname','Output\x20format','pagesize','verbose','Skip\x20confirmation\x20for\x20high-risk\x20writes','2933409pRwwmS','118321XQjdBr','Override\x20appcode','boolean','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','expected-children-count','270693HMeNmL','Name','meowKey','Use\x20remote','Record\x20ID','env','operation-type','expectedChildrenCount','remote','Environment','Code\x20filter','code','rabetbase','Expected\x20current\x20menu\x20path','from-env','type','help','fromEntries','Tags','Config\x20value','679250KRVARW','342AafCqQ','task-id','SQL\x20code','map','format','schemas','enable-bff-save','datasetcode','Use\x20project\x20config\x20scope','expect-parent-id','Apply\x20to\x20all','expectPath','Expected\x20current\x20parent\x20menu\x20id','sqlcode','SQL\x20name','expect-path','expectParentId','reveal','watch','JSON\x20params','Use\x20global\x20config\x20scope','page','Rabetbase\x20CLI','all','Comma-separated\x20menu\x20IDs','Type\x20filter','confirm','sql-name','dryRun','string','40HqkMTa','@lovrabet/rabetbase-cli','tags','output','<code>','<name>','parentId','name','Function\x20node','Title','Enable\x20BFF\x20save','Watch\x20mode','sql','DB\x20ID','Select\x20app\x20profile\x20by\x20name','operation','sort','Dataset\x20code','descriptionFile','app','appcode','taskId','skipImports','fromEnv','Asynchronous\x20task\x20ID','clear'];a214_0x4ac1=function(){return _0x317984;};return a214_0x4ac1();}export const GLOBAL_FLAGS=[{'name':a214_0x9e720a(0xea),'meowKey':a214_0x9e720a(0xea),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0x9f),'hint':a214_0x9e720a(0xda)},{'name':a214_0x9e720a(0xe9),'meowKey':a214_0x9e720a(0xe9),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xe4),'hint':a214_0x9e720a(0xdb)},{'name':a214_0x9e720a(0xa8),'meowKey':a214_0x9e720a(0xa8),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xac),'hint':'production\x20|\x20daily'},{'name':a214_0x9e720a(0xbc),'meowKey':a214_0x9e720a(0xbc),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0x99),'hint':a214_0x9e720a(0x7c)},{'name':'jq','meowKey':'jq','type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xa1),'hint':a214_0x9e720a(0xf9)},{'name':a214_0x9e720a(0x94),'meowKey':a214_0x9e720a(0xd4),'type':a214_0x9e720a(0xa0),'description':'Preview\x20operation\x20without\x20executing'},{'name':a214_0x9e720a(0xfa),'meowKey':a214_0x9e720a(0xfa),'type':a214_0x9e720a(0xa0),'description':a214_0x9e720a(0x9c)},{'name':a214_0x9e720a(0x92),'meowKey':a214_0x9e720a(0xf0),'type':'boolean','description':'Force\x20non-interactive\x20mode\x20(CI)'},{'name':'global','meowKey':a214_0x9e720a(0x95),'type':a214_0x9e720a(0xa0),'description':a214_0x9e720a(0xcc)},{'name':a214_0x9e720a(0x8b),'meowKey':a214_0x9e720a(0x8b),'type':a214_0x9e720a(0xa0),'description':a214_0x9e720a(0xc0)},{'name':'ci','meowKey':'ci','type':a214_0x9e720a(0xa0),'description':a214_0x9e720a(0x82),'hidden':!![]},{'name':a214_0x9e720a(0xb3),'meowKey':a214_0x9e720a(0xb3),'type':a214_0x9e720a(0xa0),'description':'Show\x20help'},{'name':a214_0x9e720a(0xdd),'meowKey':a214_0x9e720a(0xdd),'type':'string','description':a214_0x9e720a(0xa4),'hidden':!![]},{'name':a214_0x9e720a(0xf1),'meowKey':a214_0x9e720a(0xf1),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xdf),'hidden':!![]},{'name':a214_0x9e720a(0xef),'meowKey':a214_0x9e720a(0xef),'type':'boolean','description':'Clear','hidden':!![]},{'name':'watch','meowKey':a214_0x9e720a(0xca),'type':'boolean','description':a214_0x9e720a(0xe1),'hidden':!![]},{'name':a214_0x9e720a(0xd9),'meowKey':a214_0x9e720a(0xd9),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0x8f),'hidden':!![]},{'name':a214_0x9e720a(0x88),'meowKey':a214_0x9e720a(0x88),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xcb),'hidden':!![]},{'name':'datasetcode','meowKey':a214_0x9e720a(0xbf),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xe7),'hidden':!![]},{'name':a214_0x9e720a(0xcf),'meowKey':a214_0x9e720a(0xcf),'type':a214_0x9e720a(0xa0),'description':a214_0x9e720a(0xc2),'hidden':!![]},{'name':a214_0x9e720a(0xbe),'meowKey':a214_0x9e720a(0x84),'type':a214_0x9e720a(0xa0),'description':a214_0x9e720a(0xe0),'hidden':!![]},{'name':'id','meowKey':'id','type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xa7),'hidden':!![]},{'name':'type','meowKey':'type','type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xd1),'hidden':!![]},{'name':a214_0x9e720a(0x8d),'meowKey':a214_0x9e720a(0x8d),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xfb),'hidden':!![]},{'name':a214_0x9e720a(0xc5),'meowKey':a214_0x9e720a(0xc5),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xba),'hidden':!![]},{'name':a214_0x9e720a(0xd3),'meowKey':a214_0x9e720a(0x87),'type':a214_0x9e720a(0xd5),'description':'SQL\x20name','hidden':!![]},{'name':a214_0x9e720a(0x98),'meowKey':'sqlname','type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xc6),'hidden':!![]},{'name':'db-id','meowKey':a214_0x9e720a(0x97),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xe3),'hidden':!![]},{'name':'dbid','meowKey':a214_0x9e720a(0x7d),'type':'string','description':'DB\x20ID','hidden':!![]},{'name':'description','meowKey':a214_0x9e720a(0x89),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0x93),'hidden':!![]},{'name':'description-file','meowKey':a214_0x9e720a(0xe8),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xf8),'hidden':!![]},{'name':a214_0x9e720a(0xcd),'meowKey':'page','type':a214_0x9e720a(0xd5),'description':'Page\x20number','hidden':!![]},{'name':'pagesize','meowKey':a214_0x9e720a(0x9a),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0x90),'hidden':!![]},{'name':a214_0x9e720a(0xf5),'meowKey':a214_0x9e720a(0xf5),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0x83),'hidden':!![]},{'name':a214_0x9e720a(0xae),'meowKey':a214_0x9e720a(0xae),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xad),'hidden':!![]},{'name':a214_0x9e720a(0xe2),'meowKey':a214_0x9e720a(0xe2),'type':a214_0x9e720a(0xd5),'description':'SQL\x20string','hidden':!![]},{'name':a214_0x9e720a(0xbd),'meowKey':a214_0x9e720a(0xbd),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0x8c),'hidden':!![]},{'name':a214_0x9e720a(0xe5),'meowKey':a214_0x9e720a(0xe5),'type':a214_0x9e720a(0xd5),'description':'Operation\x20type','hidden':!![]},{'name':a214_0x9e720a(0x85),'meowKey':a214_0x9e720a(0x85),'type':'string','description':'Target\x20path','hidden':!![]},{'name':'skip-imports','meowKey':a214_0x9e720a(0xec),'type':a214_0x9e720a(0xa0),'description':a214_0x9e720a(0x77),'hidden':!![]},{'name':a214_0x9e720a(0x80),'meowKey':a214_0x9e720a(0x80),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0x7e),'hidden':!![]},{'name':'value','meowKey':a214_0x9e720a(0x8a),'type':'string','description':a214_0x9e720a(0xb6),'hidden':!![]},{'name':'tags','meowKey':a214_0x9e720a(0xd8),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xb5),'hidden':!![]},{'name':a214_0x9e720a(0x91),'meowKey':'stdin','type':'boolean','description':'Read\x20value\x20from\x20stdin','hidden':!![]},{'name':a214_0x9e720a(0xb1),'meowKey':a214_0x9e720a(0xed),'type':a214_0x9e720a(0xd5),'description':'Read\x20value\x20from\x20environment\x20variable','hidden':!![]},{'name':a214_0x9e720a(0xc9),'meowKey':a214_0x9e720a(0xc9),'type':a214_0x9e720a(0xa0),'description':'Reveal\x20sensitive\x20value','hidden':!![]},{'name':a214_0x9e720a(0x7b),'meowKey':a214_0x9e720a(0x7b),'type':'boolean','description':a214_0x9e720a(0xf4),'hidden':!![]},{'name':a214_0x9e720a(0xd2),'meowKey':'confirm','type':'boolean','description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':a214_0x9e720a(0xab),'meowKey':a214_0x9e720a(0xab),'type':a214_0x9e720a(0xa0),'description':a214_0x9e720a(0xa6),'hidden':!![]},{'name':a214_0x9e720a(0x9b),'meowKey':a214_0x9e720a(0x9b),'type':a214_0x9e720a(0xa0),'description':a214_0x9e720a(0x8e),'hidden':!![]},{'name':a214_0x9e720a(0xf2),'meowKey':'expectedCount','type':a214_0x9e720a(0xd5),'description':'Expected\x20affected\x20count','hidden':!![]},{'name':a214_0x9e720a(0x96),'meowKey':'label','type':a214_0x9e720a(0xd5),'description':'Menu\x20label','hidden':!![]},{'name':a214_0x9e720a(0xf7),'meowKey':a214_0x9e720a(0xdc),'type':'string','description':a214_0x9e720a(0x81),'hidden':!![]},{'name':a214_0x9e720a(0xe6),'meowKey':a214_0x9e720a(0xe6),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0x79),'hidden':!![]},{'name':a214_0x9e720a(0xc1),'meowKey':a214_0x9e720a(0xc8),'type':'string','description':a214_0x9e720a(0xc4),'hidden':!![]},{'name':a214_0x9e720a(0xc7),'meowKey':a214_0x9e720a(0xc3),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xb0),'hidden':!![]},{'name':a214_0x9e720a(0xa2),'meowKey':a214_0x9e720a(0xaa),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0x7a),'hidden':!![]},{'name':'menu-ids','meowKey':a214_0x9e720a(0x78),'type':'string','description':a214_0x9e720a(0xd0),'hidden':!![]},{'name':a214_0x9e720a(0xb9),'meowKey':a214_0x9e720a(0xeb),'type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xee),'hidden':!![]},{'name':a214_0x9e720a(0xa9),'meowKey':'operationType','type':a214_0x9e720a(0xd5),'description':'Operation\x20type','hidden':!![]},{'name':'function-node','meowKey':'functionNode','type':a214_0x9e720a(0xd5),'description':a214_0x9e720a(0xde),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a214_0x9e720a(0xea),a214_0x9e720a(0xe9),a214_0x9e720a(0xa8),a214_0x9e720a(0xbc),'jq',a214_0x9e720a(0x94),a214_0x9e720a(0xfa),a214_0x9e720a(0x92),'ci']);export function buildMeowFlags(){const _0x2a5254=a214_0x9e720a;return Object[_0x2a5254(0xb4)](GLOBAL_FLAGS[_0x2a5254(0xbb)](_0x43651f=>[_0x43651f[_0x2a5254(0xa5)],{'type':_0x43651f[_0x2a5254(0xb2)]}]));}
@@ -1 +1 @@
1
- const a207_0x3f8e81=a207_0x13b6;function a207_0x13b6(_0xec3587,_0x3cc591){_0xec3587=_0xec3587-0x139;const _0x5ed4f6=a207_0x5ed4();let _0x13b67a=_0x5ed4f6[_0xec3587];return _0x13b67a;}function a207_0x5ed4(){const _0x179bd8=['970128FJCXCu','14253970xbXfro','776yHwOgh','4602608pEKBvE','13206SuSlXL','11970396UBvzmu','en-US','1NYFbZR','compress','high-risk-write','14wCOtsH','6ZmkOLT','2218562mcIxlP','11Jtzyns','710755FLltsw','260KPhFBc'];a207_0x5ed4=function(){return _0x179bd8;};return a207_0x5ed4();}(function(_0x21f3ae,_0x5b9b5f){const _0x32be6a=a207_0x13b6,_0x1b0aed=_0x21f3ae();while(!![]){try{const _0x287dba=-parseInt(_0x32be6a(0x13d))/0x1*(parseInt(_0x32be6a(0x142))/0x2)+parseInt(_0x32be6a(0x13a))/0x3*(-parseInt(_0x32be6a(0x148))/0x4)+-parseInt(_0x32be6a(0x144))/0x5*(parseInt(_0x32be6a(0x141))/0x6)+-parseInt(_0x32be6a(0x140))/0x7*(-parseInt(_0x32be6a(0x139))/0x8)+-parseInt(_0x32be6a(0x13b))/0x9+-parseInt(_0x32be6a(0x147))/0xa*(-parseInt(_0x32be6a(0x143))/0xb)+-parseInt(_0x32be6a(0x146))/0xc*(-parseInt(_0x32be6a(0x145))/0xd);if(_0x287dba===_0x5b9b5f)break;else _0x1b0aed['push'](_0x1b0aed['shift']());}catch(_0x4fbed8){_0x1b0aed['push'](_0x1b0aed['shift']());}}}(a207_0x5ed4,0xb8ed9));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':'production','format':a207_0x3f8e81(0x13e),'locale':a207_0x3f8e81(0x13c),'riskLevel':a207_0x3f8e81(0x13f),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a207_0x3f8e81(0x13e);
1
+ const a215_0x5b8dbf=a215_0x44be;(function(_0x5dcc29,_0x1fcaed){const _0x131f1a=a215_0x44be,_0x3dbd82=_0x5dcc29();while(!![]){try{const _0x4a5650=-parseInt(_0x131f1a(0x1bd))/0x1+-parseInt(_0x131f1a(0x1b6))/0x2+parseInt(_0x131f1a(0x1bb))/0x3+parseInt(_0x131f1a(0x1b5))/0x4*(-parseInt(_0x131f1a(0x1b2))/0x5)+-parseInt(_0x131f1a(0x1b9))/0x6*(parseInt(_0x131f1a(0x1b8))/0x7)+-parseInt(_0x131f1a(0x1bc))/0x8*(-parseInt(_0x131f1a(0x1b1))/0x9)+parseInt(_0x131f1a(0x1b4))/0xa;if(_0x4a5650===_0x1fcaed)break;else _0x3dbd82['push'](_0x3dbd82['shift']());}catch(_0x3f9028){_0x3dbd82['push'](_0x3dbd82['shift']());}}}(a215_0x990a,0x43dac));function a215_0x990a(){const _0xaae821=['1300089WOIxLm','72UlXYzY','27231uWBALR','49860hFszRL','25TrBNfy','write','11676460UWrjPS','305036FyOnpX','926374sLDKrw','en-US','28DxVgLn','751836rsYnbD','compress'];a215_0x990a=function(){return _0xaae821;};return a215_0x990a();}import{DEFAULT_API_DIR}from'../constant/paths.js';function a215_0x44be(_0x26c122,_0x3ffdac){_0x26c122=_0x26c122-0x1b1;const _0x990a2=a215_0x990a();let _0x44be27=_0x990a2[_0x26c122];return _0x44be27;}export const DEFAULT_CONFIG_VALUES={'env':'production','format':a215_0x5b8dbf(0x1ba),'locale':a215_0x5b8dbf(0x1b7),'riskLevel':a215_0x5b8dbf(0x1b3),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a215_0x5b8dbf(0x1ba);
@@ -1 +1 @@
1
- const a208_0x4b4262=a208_0xf135;(function(_0x214949,_0x1e6487){const _0x5364bb=a208_0xf135,_0x4924c4=_0x214949();while(!![]){try{const _0x13f178=-parseInt(_0x5364bb(0x1d9))/0x1+parseInt(_0x5364bb(0x1cb))/0x2*(-parseInt(_0x5364bb(0x1d1))/0x3)+-parseInt(_0x5364bb(0x1d8))/0x4*(parseInt(_0x5364bb(0x1c9))/0x5)+parseInt(_0x5364bb(0x1d0))/0x6*(-parseInt(_0x5364bb(0x1d6))/0x7)+-parseInt(_0x5364bb(0x1ca))/0x8*(-parseInt(_0x5364bb(0x1dd))/0x9)+parseInt(_0x5364bb(0x1de))/0xa*(-parseInt(_0x5364bb(0x1ce))/0xb)+parseInt(_0x5364bb(0x1d2))/0xc*(parseInt(_0x5364bb(0x1d3))/0xd);if(_0x13f178===_0x1e6487)break;else _0x4924c4['push'](_0x4924c4['shift']());}catch(_0x42f781){_0x4924c4['push'](_0x4924c4['shift']());}}}(a208_0x51aa,0x8fe4e));import{getEnv,isProduction}from'../constant/env.js';let customApiDomain,customUserDomain,customRuntimeDomain;function a208_0x51aa(){const _0x755987=['/app/','runtimeDomain','https://api.lovrabet.com','531OXixHO','470990aultYe','https://runtime.lovrabet.com','trim','/web-app/app/','2535015oepHIJ','57032yNPUFd','46QHtfWv','apiDomain','https://user.lovrabet.com','77AnkOQz','https://daily.lovrabet.com','984PWVjaZ','39429EwcEgF','13476HbwmxV','30979wvfExz','userDomain','https://daily-runtime.lovrabet.com','41909EiykDN','https://user-daily.lovrabet.com','4JiplaG','386477cakXLA'];a208_0x51aa=function(){return _0x755987;};return a208_0x51aa();}export function initDomains(_0x12369d){const _0x66ada9=a208_0xf135;customApiDomain=_0x12369d?.[_0x66ada9(0x1cc)],customUserDomain=_0x12369d?.[_0x66ada9(0x1d4)],customRuntimeDomain=_0x12369d?.[_0x66ada9(0x1db)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?a208_0x4b4262(0x1cd):a208_0x4b4262(0x1d7));function a208_0xf135(_0x1b6994,_0x581462){_0x1b6994=_0x1b6994-0x1c7;const _0x51aa75=a208_0x51aa();let _0xf13579=_0x51aa75[_0x1b6994];return _0xf13579;}export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?a208_0x4b4262(0x1dc):'https://daily-api.lovrabet.com');export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?a208_0x4b4262(0x1df):a208_0x4b4262(0x1d5));export const getAppDomain=()=>isProduction(getEnv())?'https://app.lovrabet.com':a208_0x4b4262(0x1cf);export const getAppBaseUrl=_0x1e70c1=>{const _0x3eaddc=a208_0x4b4262,_0x1e6b27=encodeURIComponent(_0x1e70c1[_0x3eaddc(0x1c7)]());return isProduction(getEnv())?getAppDomain()+_0x3eaddc(0x1da)+_0x1e6b27:getAppDomain()+_0x3eaddc(0x1c8)+_0x1e6b27;};
1
+ const a216_0x1b0bbd=a216_0x4031;(function(_0x34403b,_0x25c960){const _0x384196=a216_0x4031,_0x5c88e9=_0x34403b();while(!![]){try{const _0x28151f=-parseInt(_0x384196(0x1b5))/0x1+parseInt(_0x384196(0x1a8))/0x2+parseInt(_0x384196(0x1b2))/0x3*(-parseInt(_0x384196(0x1a9))/0x4)+-parseInt(_0x384196(0x1ad))/0x5*(-parseInt(_0x384196(0x1b0))/0x6)+-parseInt(_0x384196(0x1a6))/0x7*(-parseInt(_0x384196(0x1ac))/0x8)+parseInt(_0x384196(0x1a7))/0x9*(parseInt(_0x384196(0x1b7))/0xa)+-parseInt(_0x384196(0x1a4))/0xb*(parseInt(_0x384196(0x1af))/0xc);if(_0x28151f===_0x25c960)break;else _0x5c88e9['push'](_0x5c88e9['shift']());}catch(_0x2a2cca){_0x5c88e9['push'](_0x5c88e9['shift']());}}}(a216_0x57fe,0xa3276));import{getEnv,isProduction}from'../constant/env.js';let customApiDomain,customUserDomain,customRuntimeDomain;export function initDomains(_0xe46681){const _0x225438=a216_0x4031;customApiDomain=_0xe46681?.['apiDomain'],customUserDomain=_0xe46681?.['userDomain'],customRuntimeDomain=_0xe46681?.[_0x225438(0x1ab)];}function a216_0x4031(_0x34bee7,_0x1f065e){_0x34bee7=_0x34bee7-0x1a4;const _0x57fe05=a216_0x57fe();let _0x4031d2=_0x57fe05[_0x34bee7];return _0x4031d2;}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?a216_0x1b0bbd(0x1b4):a216_0x1b0bbd(0x1a5));export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?'https://api.lovrabet.com':'https://daily-api.lovrabet.com');export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?'https://runtime.lovrabet.com':a216_0x1b0bbd(0x1b6));export const getAppDomain=()=>isProduction(getEnv())?a216_0x1b0bbd(0x1b3):a216_0x1b0bbd(0x1ae);export const getAppBaseUrl=_0x1f2b2b=>{const _0x1949e7=a216_0x1b0bbd,_0x2cf5ec=encodeURIComponent(_0x1f2b2b[_0x1949e7(0x1aa)]());return isProduction(getEnv())?getAppDomain()+'/app/'+_0x2cf5ec:getAppDomain()+_0x1949e7(0x1b1)+_0x2cf5ec;};function a216_0x57fe(){const _0x1d1f4d=['https://daily-runtime.lovrabet.com','570psgZcA','11QOuJqF','https://user-daily.lovrabet.com','1033116UrXLbb','112842Fmwjvc','2644598JNKDkA','117584ssVctb','trim','runtimeDomain','16eKZPdr','3006515OVcefD','https://daily.lovrabet.com','17444652qxoDDI','6ETsWMc','/web-app/app/','36QIDQUt','https://app.lovrabet.com','https://user.lovrabet.com','458693tegxjA'];a216_0x57fe=function(){return _0x1d1f4d;};return a216_0x57fe();}
@@ -1 +1 @@
1
- function a209_0x3bd4(){const _0x2bc075=['4WxddSa','dev','536aMYFcj','production','daily','4501756RZBUJP','6730932ipMRVE','online','10972056GcMnjN','10UzBpMl','4175712aqvuxZ','63095kjsQji','48391875NDcLde','848143rahMBh'];a209_0x3bd4=function(){return _0x2bc075;};return a209_0x3bd4();}function a209_0xbefe(_0x12617f,_0x5e176a){_0x12617f=_0x12617f-0x102;const _0x3bd4bc=a209_0x3bd4();let _0xbefe48=_0x3bd4bc[_0x12617f];return _0xbefe48;}const a209_0x356b4e=a209_0xbefe;(function(_0xbe622,_0xfd30e1){const _0x15b395=a209_0xbefe,_0x5a6045=_0xbe622();while(!![]){try{const _0x23aaac=-parseInt(_0x15b395(0x107))/0x1*(parseInt(_0x15b395(0x108))/0x2)+-parseInt(_0x15b395(0x104))/0x3+parseInt(_0x15b395(0x10a))/0x4*(-parseInt(_0x15b395(0x105))/0x5)+parseInt(_0x15b395(0x10e))/0x6+parseInt(_0x15b395(0x10d))/0x7+-parseInt(_0x15b395(0x102))/0x8+-parseInt(_0x15b395(0x106))/0x9*(-parseInt(_0x15b395(0x103))/0xa);if(_0x23aaac===_0xfd30e1)break;else _0x5a6045['push'](_0x5a6045['shift']());}catch(_0x17d450){_0x5a6045['push'](_0x5a6045['shift']());}}}(a209_0x3bd4,0xf1fba));export const RABETBASE_ENV_VALUES=[a209_0x356b4e(0x10b),a209_0x356b4e(0x10c)];export function normalizeEnv(_0x43d223){const _0x31cc16=a209_0x356b4e;return _0x43d223===_0x31cc16(0x10f)?_0x31cc16(0x10b):_0x43d223;}export function isProduction(_0x2b8b62){return normalizeEnv(_0x2b8b62)==='production';}export function isDaily(_0x30554f){const _0x2c4139=a209_0x356b4e;return normalizeEnv(_0x30554f)===_0x2c4139(0x10c);}export function isDev(_0x42f39d){const _0x5d2258=a209_0x356b4e,_0x54c4c2=normalizeEnv(_0x42f39d);return _0x54c4c2==='development'||_0x54c4c2===_0x5d2258(0x109);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||'production');export function getEnv(){return env;}export function initEnv(_0x3189c1){env=normalizeEnv(_0x3189c1);}
1
+ const a217_0x38bcfa=a217_0x1bf8;(function(_0x50dac8,_0x50156c){const _0x347a5c=a217_0x1bf8,_0x1f7ca7=_0x50dac8();while(!![]){try{const _0x4e0a4d=parseInt(_0x347a5c(0x15b))/0x1*(-parseInt(_0x347a5c(0x158))/0x2)+-parseInt(_0x347a5c(0x150))/0x3+parseInt(_0x347a5c(0x14f))/0x4*(-parseInt(_0x347a5c(0x154))/0x5)+-parseInt(_0x347a5c(0x156))/0x6*(parseInt(_0x347a5c(0x14e))/0x7)+parseInt(_0x347a5c(0x15a))/0x8*(-parseInt(_0x347a5c(0x153))/0x9)+-parseInt(_0x347a5c(0x157))/0xa*(-parseInt(_0x347a5c(0x151))/0xb)+-parseInt(_0x347a5c(0x15c))/0xc*(-parseInt(_0x347a5c(0x159))/0xd);if(_0x4e0a4d===_0x50156c)break;else _0x1f7ca7['push'](_0x1f7ca7['shift']());}catch(_0x312445){_0x1f7ca7['push'](_0x1f7ca7['shift']());}}}(a217_0x1d59,0x4c7a4));export const RABETBASE_ENV_VALUES=[a217_0x38bcfa(0x155),a217_0x38bcfa(0x152)];function a217_0x1d59(){const _0x2f1476=['14DUeSSF','849076Dcyslj','1488507nBEXAj','199551EUavhQ','daily','36yHzgFk','5STEvts','production','343752knFSaP','270BGAOCB','58314CLXSUX','26PEwnVi','1127864rWscXN','15llmETd','9886524DCdAmo'];a217_0x1d59=function(){return _0x2f1476;};return a217_0x1d59();}export function normalizeEnv(_0x252111){return _0x252111==='online'?'production':_0x252111;}export function isProduction(_0x9f037c){return normalizeEnv(_0x9f037c)==='production';}export function isDaily(_0x2af12e){const _0xc8a144=a217_0x38bcfa;return normalizeEnv(_0x2af12e)===_0xc8a144(0x152);}export function isDev(_0x27635e){const _0x26d0cf=normalizeEnv(_0x27635e);return _0x26d0cf==='development'||_0x26d0cf==='dev';}function a217_0x1bf8(_0x568890,_0x106f41){_0x568890=_0x568890-0x14e;const _0x1d5940=a217_0x1d59();let _0x1bf878=_0x1d5940[_0x568890];return _0x1bf878;}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a217_0x38bcfa(0x155));export function getEnv(){return env;}export function initEnv(_0x5c3667){env=normalizeEnv(_0x5c3667);}
@@ -1 +1 @@
1
- const a210_0x35db91=a210_0x96f2;function a210_0x96f2(_0x4af2d1,_0x5ab0f3){_0x4af2d1=_0x4af2d1-0x114;const _0x513e18=a210_0x513e();let _0x96f286=_0x513e18[_0x4af2d1];return _0x96f286;}function a210_0x513e(){const _0x184bdc=['8DWFGkL','4674PloZBG','compress','4tRcmmw','18qpApDt','2593602YktOgG','58902szxUoX','json','1379357vtEjcU','432751QyRkQj','1013700nPQrpK','252aAJHkI','4915285CLiNSX','pretty','20iKYqjQ'];a210_0x513e=function(){return _0x184bdc;};return a210_0x513e();}(function(_0x1e020a,_0x4c9ba2){const _0x391335=a210_0x96f2,_0x1d109f=_0x1e020a();while(!![]){try{const _0x54340d=-parseInt(_0x391335(0x116))/0x1+-parseInt(_0x391335(0x114))/0x2*(parseInt(_0x391335(0x120))/0x3)+-parseInt(_0x391335(0x122))/0x4*(-parseInt(_0x391335(0x11c))/0x5)+-parseInt(_0x391335(0x11a))/0x6+-parseInt(_0x391335(0x118))/0x7*(parseInt(_0x391335(0x11f))/0x8)+parseInt(_0x391335(0x115))/0x9*(-parseInt(_0x391335(0x11e))/0xa)+parseInt(_0x391335(0x119))/0xb*(parseInt(_0x391335(0x11b))/0xc);if(_0x54340d===_0x4c9ba2)break;else _0x1d109f['push'](_0x1d109f['shift']());}catch(_0x3c442d){_0x1d109f['push'](_0x1d109f['shift']());}}}(a210_0x513e,0xc1d51));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a210_0x35db91(0x117),a210_0x35db91(0x11d),a210_0x35db91(0x121)];
1
+ const a218_0x45f44f=a218_0x5656;(function(_0xa98f1a,_0x5462c5){const _0x42feea=a218_0x5656,_0x89a5e7=_0xa98f1a();while(!![]){try{const _0x1288c4=parseInt(_0x42feea(0x69))/0x1+parseInt(_0x42feea(0x6a))/0x2*(parseInt(_0x42feea(0x71))/0x3)+-parseInt(_0x42feea(0x68))/0x4+parseInt(_0x42feea(0x6d))/0x5+-parseInt(_0x42feea(0x6c))/0x6*(-parseInt(_0x42feea(0x67))/0x7)+parseInt(_0x42feea(0x6e))/0x8+-parseInt(_0x42feea(0x6f))/0x9;if(_0x1288c4===_0x5462c5)break;else _0x89a5e7['push'](_0x89a5e7['shift']());}catch(_0x127abe){_0x89a5e7['push'](_0x89a5e7['shift']());}}}(a218_0x363a,0xa691e));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a218_0x45f44f(0x6b),'pretty',a218_0x45f44f(0x70)];function a218_0x5656(_0x89d457,_0x571dd6){_0x89d457=_0x89d457-0x67;const _0x363ae5=a218_0x363a();let _0x565609=_0x363ae5[_0x89d457];return _0x565609;}function a218_0x363a(){const _0x59cd63=['8525187SZWHZE','compress','7356LRbYoI','325661OiQjXr','4981260NiTZEH','762978mDkpyk','412keJjXm','json','66HrVBBP','4929320sTIzHv','872968lYOkez'];a218_0x363a=function(){return _0x59cd63;};return a218_0x363a();}
@@ -1 +1 @@
1
- function a211_0xaa05(_0x32ca32,_0x171e18){_0x32ca32=_0x32ca32-0x182;const _0x4fa6a6=a211_0x4fa6();let _0xaa050e=_0x4fa6a6[_0x32ca32];return _0xaa050e;}(function(_0x5d6c79,_0x3c89f4){const _0x1b8988=a211_0xaa05,_0x8bf578=_0x5d6c79();while(!![]){try{const _0xea5f3b=parseInt(_0x1b8988(0x186))/0x1*(-parseInt(_0x1b8988(0x188))/0x2)+-parseInt(_0x1b8988(0x182))/0x3+parseInt(_0x1b8988(0x18a))/0x4+parseInt(_0x1b8988(0x184))/0x5+parseInt(_0x1b8988(0x183))/0x6*(-parseInt(_0x1b8988(0x187))/0x7)+-parseInt(_0x1b8988(0x18b))/0x8*(-parseInt(_0x1b8988(0x185))/0x9)+-parseInt(_0x1b8988(0x189))/0xa;if(_0xea5f3b===_0x3c89f4)break;else _0x8bf578['push'](_0x8bf578['shift']());}catch(_0x1f3559){_0x8bf578['push'](_0x8bf578['shift']());}}}(a211_0x4fa6,0xe95b6));export const DEFAULT_API_DIR='./src/api';function a211_0x4fa6(){const _0x19794b=['66843ENavbO','8HmIEBZ','7mHLljp','4538shQskK','12812850UXSsJG','7337944RDKuhp','456ojwkvn','2058174uETuPi','6830754kCFUBV','9109795WjOhmW'];a211_0x4fa6=function(){return _0x19794b;};return a211_0x4fa6();}
1
+ (function(_0x16cd60,_0x4f515c){const _0x2d23d1=a219_0x4886,_0x445164=_0x16cd60();while(!![]){try{const _0x343012=parseInt(_0x2d23d1(0xb2))/0x1*(-parseInt(_0x2d23d1(0xb3))/0x2)+parseInt(_0x2d23d1(0xad))/0x3*(parseInt(_0x2d23d1(0xa9))/0x4)+parseInt(_0x2d23d1(0xb1))/0x5+-parseInt(_0x2d23d1(0xb0))/0x6+parseInt(_0x2d23d1(0xac))/0x7*(parseInt(_0x2d23d1(0xaa))/0x8)+-parseInt(_0x2d23d1(0xaf))/0x9*(parseInt(_0x2d23d1(0xab))/0xa)+-parseInt(_0x2d23d1(0xb4))/0xb*(-parseInt(_0x2d23d1(0xae))/0xc);if(_0x343012===_0x4f515c)break;else _0x445164['push'](_0x445164['shift']());}catch(_0xada7dd){_0x445164['push'](_0x445164['shift']());}}}(a219_0x31cd,0x91284));function a219_0x4886(_0x42ee0b,_0x20a709){_0x42ee0b=_0x42ee0b-0xa9;const _0x31cdf5=a219_0x31cd();let _0x4886b6=_0x31cdf5[_0x42ee0b];return _0x4886b6;}export const DEFAULT_API_DIR='./src/api';function a219_0x31cd(){const _0x40dbc0=['4270225yFwisQ','186449rLPWjT','8gCWbEj','5467PcXpaQ','17636VZoENE','2472qzedPC','20mRfVgB','14273HUWBcI','489eNFneo','6888LrJgIG','1003968heItYh','5547462TDEXXL'];a219_0x31cd=function(){return _0x40dbc0;};return a219_0x31cd();}
@@ -1 +1 @@
1
- const a212_0x4cdf9a=a212_0x3480;function a212_0x3480(_0xd9aa17,_0x3066e2){_0xd9aa17=_0xd9aa17-0xd7;const _0x42031e=a212_0x4203();let _0x3480c6=_0x42031e[_0xd9aa17];return _0x3480c6;}function a212_0x4203(){const _0xecfe73=['2915151HdrvJR','380816FpHZRh','4879284TmKJgV','745bmyMTj','603eWfRxH','16JVlbCy','8787702qBdZQJ','read','1532PrYMig','high-risk-write','153910UqXryg','382205hqRknb'];a212_0x4203=function(){return _0xecfe73;};return a212_0x4203();}(function(_0x493363,_0x3a380d){const _0x2eaf5a=a212_0x3480,_0x4f54be=_0x493363();while(!![]){try{const _0x3a55cd=parseInt(_0x2eaf5a(0xd8))/0x1*(parseInt(_0x2eaf5a(0xdd))/0x2)+-parseInt(_0x2eaf5a(0xe1))/0x3+parseInt(_0x2eaf5a(0xda))/0x4*(-parseInt(_0x2eaf5a(0xe0))/0x5)+-parseInt(_0x2eaf5a(0xd7))/0x6+parseInt(_0x2eaf5a(0xdb))/0x7+parseInt(_0x2eaf5a(0xe2))/0x8+parseInt(_0x2eaf5a(0xd9))/0x9*(parseInt(_0x2eaf5a(0xdf))/0xa);if(_0x3a55cd===_0x3a380d)break;else _0x4f54be['push'](_0x4f54be['shift']());}catch(_0x342679){_0x4f54be['push'](_0x4f54be['shift']());}}}(a212_0x4203,0xc6c50));export const RISK_LEVEL_VALUES=[a212_0x4cdf9a(0xdc),'write',a212_0x4cdf9a(0xde)];
1
+ function a220_0x58c2(){const _0x535c71=['3076738hvrfka','8DfaaFA','read','89082TGYGrc','490684YObHEg','20tnixSW','490MUtxuF','110376CmdJIp','24579zalEFe','write','3981894BfGRpB','222hAJwHo','17555714chDPEN','high-risk-write'];a220_0x58c2=function(){return _0x535c71;};return a220_0x58c2();}function a220_0x3ae7(_0x3dbe42,_0x2f9f2e){_0x3dbe42=_0x3dbe42-0x1c9;const _0x58c22f=a220_0x58c2();let _0x3ae7df=_0x58c22f[_0x3dbe42];return _0x3ae7df;}const a220_0x2c524b=a220_0x3ae7;(function(_0x4d3b72,_0x563f1b){const _0x17dcb5=a220_0x3ae7,_0x19e442=_0x4d3b72();while(!![]){try{const _0x5562b1=parseInt(_0x17dcb5(0x1d1))/0x1+parseInt(_0x17dcb5(0x1d5))/0x2*(-parseInt(_0x17dcb5(0x1d2))/0x3)+-parseInt(_0x17dcb5(0x1ce))/0x4*(-parseInt(_0x17dcb5(0x1cf))/0x5)+-parseInt(_0x17dcb5(0x1d4))/0x6+parseInt(_0x17dcb5(0x1ca))/0x7*(parseInt(_0x17dcb5(0x1cb))/0x8)+parseInt(_0x17dcb5(0x1cd))/0x9*(-parseInt(_0x17dcb5(0x1d0))/0xa)+parseInt(_0x17dcb5(0x1d6))/0xb;if(_0x5562b1===_0x563f1b)break;else _0x19e442['push'](_0x19e442['shift']());}catch(_0x1a408d){_0x19e442['push'](_0x19e442['shift']());}}}(a220_0x58c2,0x8d3be));export const RISK_LEVEL_VALUES=[a220_0x2c524b(0x1cc),a220_0x2c524b(0x1d3),a220_0x2c524b(0x1c9)];
@@ -1 +1 @@
1
- (function(_0x226338,_0x4f87e6){const _0x16c2b6=a213_0x574a,_0x1b775f=_0x226338();while(!![]){try{const _0x2c1912=-parseInt(_0x16c2b6(0x214))/0x1*(parseInt(_0x16c2b6(0x21b))/0x2)+parseInt(_0x16c2b6(0x21a))/0x3*(parseInt(_0x16c2b6(0x1ff))/0x4)+-parseInt(_0x16c2b6(0x200))/0x5+parseInt(_0x16c2b6(0x1fd))/0x6+-parseInt(_0x16c2b6(0x1ef))/0x7*(-parseInt(_0x16c2b6(0x1f6))/0x8)+parseInt(_0x16c2b6(0x1fa))/0x9*(parseInt(_0x16c2b6(0x203))/0xa)+-parseInt(_0x16c2b6(0x1f4))/0xb;if(_0x2c1912===_0x4f87e6)break;else _0x1b775f['push'](_0x1b775f['shift']());}catch(_0x1b1937){_0x1b775f['push'](_0x1b775f['shift']());}}}(a213_0x479c,0xe7ff8));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';function stringConfigValue(_0x63cb76){const _0x47ae22=a213_0x574a;return typeof _0x63cb76===_0x47ae22(0x212)&&_0x63cb76[_0x47ae22(0x20e)]()?_0x63cb76['trim']():undefined;}function appProfiles(_0x1787fe){const _0x30b30c=a213_0x574a;return _0x1787fe['apps']&&typeof _0x1787fe[_0x30b30c(0x208)]===_0x30b30c(0x207)?_0x1787fe[_0x30b30c(0x208)]:{};}function resolveDefaultAppName(_0x46a151){const _0x4e9933=a213_0x574a,_0x35e536=stringConfigValue(_0x46a151[_0x4e9933(0x1f5)]);if(_0x35e536)return _0x35e536;return Object['keys'](appProfiles(_0x46a151))[0x0];}function resolveTopLevelAppCode(_0x88bd8b){const _0x42e755=a213_0x574a;return stringConfigValue(_0x88bd8b['appcode'])||stringConfigValue(_0x88bd8b[_0x42e755(0x20d)]);}function normalizeRiskCeiling(_0x2bb383){const _0x21f3b9=a213_0x574a;if(_0x2bb383===undefined||_0x2bb383===null)return undefined;if(_0x2bb383==='read'||_0x2bb383===_0x21f3b9(0x20a)||_0x2bb383===_0x21f3b9(0x1f2))return _0x2bb383;return'read';}function resolveRiskCeiling(..._0x1b6d78){const _0x44a539=a213_0x574a;let _0x21452f=DEFAULT_CONFIG_VALUES[_0x44a539(0x205)];for(const _0x3984c1 of _0x1b6d78){const _0x4c9576=normalizeRiskCeiling(_0x3984c1);_0x4c9576&&riskLevelOrder(_0x4c9576)<riskLevelOrder(_0x21452f)&&(_0x21452f=_0x4c9576);}return _0x21452f;}function a213_0x479c(){const _0x1901a3=['FORMAT','locale','high-risk-write','globalConfig','28548740kwVrNH','defaultApp','12123512rgFtbN','env','call','ENV','211293wfPmkD','maxRisk','pageSize','11255838taNdLG','RISK_LEVEL','4odQyFK','7066705FiETFO','apiDir','prototype','660EAyYZw','PAGE_SIZE','riskLevel','find','object','apps','COOKIE','write','VERBOSE','cookie','app','trim','format','true','accessKey','string','hasOwnProperty','14VVbhrg','appcode','inherit','entries','APP','projectConfig','2064147petJxa','95714LUELev','keys','daily','MAX_RISK','production','7dCHZNz'];a213_0x479c=function(){return _0x1901a3;};return a213_0x479c();}function a213_0x574a(_0x31b24f,_0x1867c9){_0x31b24f=_0x31b24f-0x1ec;const _0x479cd0=a213_0x479c();let _0x574aa0=_0x479cd0[_0x31b24f];return _0x574aa0;}function configuredRiskCeilings(_0x28b1cb){const _0x5605cb=a213_0x574a;return[...Object[_0x5605cb(0x202)][_0x5605cb(0x213)][_0x5605cb(0x1f8)](_0x28b1cb,'maxRisk')?[_0x28b1cb[_0x5605cb(0x1fb)]]:[],...Object['prototype']['hasOwnProperty'][_0x5605cb(0x1f8)](_0x28b1cb,'riskLevel')?[_0x28b1cb[_0x5605cb(0x205)]]:[]];}export function resolveAppConfig({raw:_0x23a1ef,flags:_0x54a45e,layers:_0x729743,readEnv:_0x39939b}){const _0x56d013=a213_0x574a,_0x5a8dbd=_0x729743?.[_0x56d013(0x219)]??{},_0x1cb248=_0x729743?.[_0x56d013(0x1f3)]??{},_0x86d10b=Object[_0x56d013(0x21c)](_0x5a8dbd)['length']>0x0,_0x44ffd1=!_0x86d10b||_0x5a8dbd[_0x56d013(0x216)]===!![],_0x5b4083=_0x86d10b?resolveDefaultAppName(_0x5a8dbd):undefined,_0x405bba=_0x44ffd1?resolveDefaultAppName(_0x1cb248):undefined,_0x5e2690=stringConfigValue(_0x54a45e[_0x56d013(0x20d)]),_0x17b6d6=_0x39939b(_0x56d013(0x218)),_0x64bd73={};if(_0x23a1ef[_0x56d013(0x208)]&&typeof _0x23a1ef[_0x56d013(0x208)]===_0x56d013(0x207))for(const [_0x775204,_0x18f5cc]of Object['entries'](_0x23a1ef[_0x56d013(0x208)])){_0x18f5cc&&typeof _0x18f5cc===_0x56d013(0x207)&&_0x18f5cc['appcode']&&(_0x64bd73[_0x775204]=_0x18f5cc);}const _0x4cf593=_0x23a1ef['defaultApp']||undefined,_0x1fee01=Object['keys'](_0x64bd73)['length']>0x0,_0x4ae0f3=_0x5e2690||_0x5b4083||_0x17b6d6||_0x405bba||_0x4cf593||undefined,_0x552d81=stringConfigValue(_0x54a45e[_0x56d013(0x215)]),_0xe02ee7=_0x552d81?Object[_0x56d013(0x217)](_0x64bd73)[_0x56d013(0x206)](([,_0x5312e8])=>_0x5312e8?.['appcode']===_0x552d81):undefined,_0x187992=_0xe02ee7?.[0x0],_0x47421d=_0xe02ee7?.[0x1],_0x54861c=_0x552d81?_0x187992:_0x4ae0f3;let _0x430900=_0x54861c&&_0x64bd73[_0x54861c]?_0x64bd73[_0x54861c]:undefined;_0x552d81&&_0x47421d&&(_0x430900=_0x47421d);const _0x5ecfdc=_0x552d81?_0x47421d??_0x430900:_0x430900,_0x10d51a=!_0x5e2690&&!_0x5b4083&&_0x17b6d6&&_0x54861c===_0x17b6d6,_0x3079e7=_0x5e2690||(_0x10d51a?_0x17b6d6:undefined)||(_0x552d81?_0x187992:undefined),_0xfbbceb=_0x5ecfdc?.[_0x56d013(0x215)],_0x4386d4=_0x86d10b?resolveTopLevelAppCode(_0x5a8dbd):undefined,_0x1ea0a7=_0x44ffd1?resolveTopLevelAppCode(_0x1cb248):undefined,_0x22a8d5=_0x5e2690||_0x5b4083?_0xfbbceb:undefined,_0x1617fe=!_0x5e2690&&!_0x5b4083?_0xfbbceb:undefined,_0x42e066=_0x552d81||_0x22a8d5||_0x4386d4||_0x1617fe||_0x1ea0a7||undefined,_0x45decf=_0x86d10b?stringConfigValue(_0x5a8dbd[_0x56d013(0x1f7)]):undefined,_0x2403b5=_0x44ffd1?stringConfigValue(_0x1cb248[_0x56d013(0x1f7)]):undefined,_0x105d3a=_0x54a45e['env']||_0x5ecfdc?.['env']||_0x45decf||_0x39939b(_0x56d013(0x1f9))||_0x2403b5||_0x23a1ef['env']||DEFAULT_CONFIG_VALUES[_0x56d013(0x1f7)],_0x2e699b=_0x5ecfdc?.[_0x56d013(0x1f1)]||_0x23a1ef[_0x56d013(0x1f1)]||DEFAULT_CONFIG_VALUES[_0x56d013(0x1f1)],_0x517904=_0x39939b(_0x56d013(0x209))||_0x5ecfdc?.['cookie']||_0x23a1ef[_0x56d013(0x20c)]||undefined,_0x3f572a=_0x39939b('ACCESS_KEY')||_0x5ecfdc?.[_0x56d013(0x211)]||_0x23a1ef[_0x56d013(0x211)]||undefined,_0x58552b=_0x54a45e[_0x56d013(0x20f)]||_0x39939b(_0x56d013(0x1f0))||_0x5ecfdc?.['format']||_0x23a1ef[_0x56d013(0x20f)],_0x56c74a=normalizeLegacyOutputFormat(_0x58552b),_0x547a87=_0x39939b(_0x56d013(0x204))||_0x5ecfdc?.[_0x56d013(0x1fc)]||_0x23a1ef[_0x56d013(0x1fc)],_0x59f93f=_0x547a87?Number(_0x547a87)||undefined:undefined,_0x2404d2=_0x729743?[...configuredRiskCeilings(_0x729743['globalConfig']),...configuredRiskCeilings(_0x729743[_0x56d013(0x219)])]:configuredRiskCeilings(_0x23a1ef),_0x22e5af=resolveRiskCeiling(..._0x2404d2,_0x5ecfdc?.['riskLevel'],_0x39939b(_0x56d013(0x1fe)),_0x39939b(_0x56d013(0x1ed))),_0x55748d=_0x39939b(_0x56d013(0x20b)),_0x405e8e=_0x55748d==='1'||_0x55748d===_0x56d013(0x210),_0x47400c=_0x5ecfdc?.[_0x56d013(0x201)]||_0x23a1ef[_0x56d013(0x201)]||DEFAULT_CONFIG_VALUES['apiDir'],_0x463250=isDaily(normalizeEnv(String(_0x105d3a)))?_0x56d013(0x1ec):_0x56d013(0x1ee);return{'appCode':typeof _0x42e066===_0x56d013(0x212)&&_0x42e066[_0x56d013(0x20e)]()?_0x42e066['trim']():undefined,'env':_0x463250,'locale':_0x2e699b,'cookie':_0x517904,'accessKey':_0x3f572a,'format':_0x56c74a,'pageSize':_0x59f93f,'riskLevel':_0x22e5af,'verbose':_0x405e8e,'apiDir':_0x47400c,'apps':_0x64bd73,'defaultApp':_0x4cf593,'currentApp':_0x1fee01?_0x54861c:undefined,'explicitAppName':_0x3079e7};}
1
+ (function(_0x4a5285,_0x3e9bcb){const _0x556d75=a221_0x242f,_0x204e11=_0x4a5285();while(!![]){try{const _0x25d322=parseInt(_0x556d75(0x166))/0x1+-parseInt(_0x556d75(0x156))/0x2*(-parseInt(_0x556d75(0x15c))/0x3)+-parseInt(_0x556d75(0x155))/0x4+-parseInt(_0x556d75(0x177))/0x5+-parseInt(_0x556d75(0x16b))/0x6+parseInt(_0x556d75(0x176))/0x7*(parseInt(_0x556d75(0x161))/0x8)+parseInt(_0x556d75(0x17c))/0x9;if(_0x25d322===_0x3e9bcb)break;else _0x204e11['push'](_0x204e11['shift']());}catch(_0x352c14){_0x204e11['push'](_0x204e11['shift']());}}}(a221_0x1a64,0x424c1));function a221_0x1a64(){const _0x212c48=['8JIaoOx','riskLevel','MAX_RISK','hasOwnProperty','daily','entries','54192cZQvrt','string','locale','maxRisk','globalConfig','928040PkxgqU','format','length','inherit','VERBOSE','282269MFnzJz','prototype','apiDir','accessKey','APP','2998980pOJiFh','object','find','read','keys','trim','true','defaultApp','ENV','pageSize','apps','7TOTpWe','76630WCdbLa','projectConfig','PAGE_SIZE','RISK_LEVEL','cookie','5522904VXTGkD','FORMAT','appcode','env','high-risk-write','call','COOKIE','1189908bCkJmm'];a221_0x1a64=function(){return _0x212c48;};return a221_0x1a64();}import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';function stringConfigValue(_0x712d80){const _0x3e92da=a221_0x242f;return typeof _0x712d80==='string'&&_0x712d80['trim']()?_0x712d80[_0x3e92da(0x170)]():undefined;}function a221_0x242f(_0x1a7dd1,_0x134c9a){_0x1a7dd1=_0x1a7dd1-0x154;const _0x1a6479=a221_0x1a64();let _0x242f8f=_0x1a6479[_0x1a7dd1];return _0x242f8f;}function appProfiles(_0x2b2553){const _0xf4c60=a221_0x242f;return _0x2b2553[_0xf4c60(0x175)]&&typeof _0x2b2553[_0xf4c60(0x175)]===_0xf4c60(0x16c)?_0x2b2553[_0xf4c60(0x175)]:{};}function resolveDefaultAppName(_0xdbb0d6){const _0x380c56=a221_0x242f,_0xd1aba1=stringConfigValue(_0xdbb0d6[_0x380c56(0x172)]);if(_0xd1aba1)return _0xd1aba1;return Object[_0x380c56(0x16f)](appProfiles(_0xdbb0d6))[0x0];}function resolveTopLevelAppCode(_0x3290cc){const _0x3113d8=a221_0x242f;return stringConfigValue(_0x3290cc[_0x3113d8(0x17e)])||stringConfigValue(_0x3290cc['app']);}function normalizeRiskCeiling(_0x4ddea6){const _0x14c33f=a221_0x242f;if(_0x4ddea6===undefined||_0x4ddea6===null)return undefined;if(_0x4ddea6===_0x14c33f(0x16e)||_0x4ddea6==='write'||_0x4ddea6===_0x14c33f(0x180))return _0x4ddea6;return _0x14c33f(0x16e);}function resolveRiskCeiling(..._0x2b841f){const _0x5ccedf=a221_0x242f;let _0x5b16c2;for(const _0x110c57 of _0x2b841f){const _0x7377df=normalizeRiskCeiling(_0x110c57);_0x7377df&&(!_0x5b16c2||riskLevelOrder(_0x7377df)<riskLevelOrder(_0x5b16c2))&&(_0x5b16c2=_0x7377df);}return _0x5b16c2??DEFAULT_CONFIG_VALUES[_0x5ccedf(0x157)];}function configuredRiskCeilings(_0x59e48e){const _0x4971c8=a221_0x242f;return[...Object[_0x4971c8(0x167)][_0x4971c8(0x159)][_0x4971c8(0x181)](_0x59e48e,_0x4971c8(0x15f))?[_0x59e48e[_0x4971c8(0x15f)]]:[],...Object[_0x4971c8(0x167)][_0x4971c8(0x159)]['call'](_0x59e48e,_0x4971c8(0x157))?[_0x59e48e[_0x4971c8(0x157)]]:[]];}export function resolveAppConfig({raw:_0x419083,flags:_0x35d994,layers:_0x453664,readEnv:_0x5f1ed2}){const _0x109dd3=a221_0x242f,_0x5ac80a=_0x453664?.[_0x109dd3(0x178)]??{},_0x271c96=_0x453664?.[_0x109dd3(0x160)]??{},_0x1055c1=Object[_0x109dd3(0x16f)](_0x5ac80a)[_0x109dd3(0x163)]>0x0,_0x25de62=!_0x1055c1||_0x5ac80a[_0x109dd3(0x164)]===!![],_0x4a99c4=_0x1055c1?resolveDefaultAppName(_0x5ac80a):undefined,_0x271948=_0x25de62?resolveDefaultAppName(_0x271c96):undefined,_0x9d231d=stringConfigValue(_0x35d994['app']),_0xfc247d=_0x5f1ed2(_0x109dd3(0x16a)),_0xab83ac={};if(_0x419083[_0x109dd3(0x175)]&&typeof _0x419083[_0x109dd3(0x175)]===_0x109dd3(0x16c))for(const [_0x4c9dbb,_0xa8f436]of Object[_0x109dd3(0x15b)](_0x419083[_0x109dd3(0x175)])){_0xa8f436&&typeof _0xa8f436===_0x109dd3(0x16c)&&_0xa8f436['appcode']&&(_0xab83ac[_0x4c9dbb]=_0xa8f436);}const _0x50aae9=_0x419083[_0x109dd3(0x172)]||undefined,_0x5f52b8=Object[_0x109dd3(0x16f)](_0xab83ac)[_0x109dd3(0x163)]>0x0,_0x8e1347=_0x9d231d||_0x4a99c4||_0xfc247d||_0x271948||_0x50aae9||undefined,_0x3c6295=stringConfigValue(_0x35d994[_0x109dd3(0x17e)]),_0x377dbe=_0x3c6295?Object[_0x109dd3(0x15b)](_0xab83ac)[_0x109dd3(0x16d)](([,_0x3fbae2])=>_0x3fbae2?.[_0x109dd3(0x17e)]===_0x3c6295):undefined,_0x4d99e6=_0x377dbe?.[0x0],_0x5f9660=_0x377dbe?.[0x1],_0x408f98=_0x3c6295?_0x4d99e6:_0x8e1347;let _0x534cbf=_0x408f98&&_0xab83ac[_0x408f98]?_0xab83ac[_0x408f98]:undefined;_0x3c6295&&_0x5f9660&&(_0x534cbf=_0x5f9660);const _0x53048d=_0x3c6295?_0x5f9660??_0x534cbf:_0x534cbf,_0xbe7cc9=!_0x9d231d&&!_0x4a99c4&&_0xfc247d&&_0x408f98===_0xfc247d,_0x595466=_0x9d231d||(_0xbe7cc9?_0xfc247d:undefined)||(_0x3c6295?_0x4d99e6:undefined),_0x4adda3=_0x53048d?.[_0x109dd3(0x17e)],_0x247957=_0x1055c1?resolveTopLevelAppCode(_0x5ac80a):undefined,_0x536069=_0x25de62?resolveTopLevelAppCode(_0x271c96):undefined,_0x183a15=_0x9d231d||_0x4a99c4?_0x4adda3:undefined,_0x72d9ad=!_0x9d231d&&!_0x4a99c4?_0x4adda3:undefined,_0x4fc367=_0x3c6295||_0x183a15||_0x247957||_0x72d9ad||_0x536069||undefined,_0x31d19d=_0x1055c1?stringConfigValue(_0x5ac80a[_0x109dd3(0x17f)]):undefined,_0x186630=_0x25de62?stringConfigValue(_0x271c96[_0x109dd3(0x17f)]):undefined,_0x13ab1b=_0x35d994[_0x109dd3(0x17f)]||_0x53048d?.[_0x109dd3(0x17f)]||_0x31d19d||_0x5f1ed2(_0x109dd3(0x173))||_0x186630||_0x419083[_0x109dd3(0x17f)]||DEFAULT_CONFIG_VALUES[_0x109dd3(0x17f)],_0x1472b1=_0x53048d?.[_0x109dd3(0x15e)]||_0x419083[_0x109dd3(0x15e)]||DEFAULT_CONFIG_VALUES['locale'],_0x1924c9=_0x5f1ed2(_0x109dd3(0x154))||_0x53048d?.[_0x109dd3(0x17b)]||_0x419083['cookie']||undefined,_0x42579f=_0x5f1ed2('ACCESS_KEY')||_0x53048d?.[_0x109dd3(0x169)]||_0x419083[_0x109dd3(0x169)]||undefined,_0x1fab42=_0x35d994['format']||_0x5f1ed2(_0x109dd3(0x17d))||_0x53048d?.[_0x109dd3(0x162)]||_0x419083[_0x109dd3(0x162)],_0x21a862=normalizeLegacyOutputFormat(_0x1fab42),_0x59a435=_0x5f1ed2(_0x109dd3(0x179))||_0x53048d?.[_0x109dd3(0x174)]||_0x419083[_0x109dd3(0x174)],_0x3078a2=_0x59a435?Number(_0x59a435)||undefined:undefined,_0x28e58c=_0x453664?[...configuredRiskCeilings(_0x453664[_0x109dd3(0x160)]),...configuredRiskCeilings(_0x453664['projectConfig'])]:configuredRiskCeilings(_0x419083),_0x120e24=resolveRiskCeiling(..._0x28e58c,_0x53048d?.['riskLevel']),_0x29eea6=resolveRiskCeiling(_0x120e24,_0x5f1ed2(_0x109dd3(0x17a)),_0x5f1ed2(_0x109dd3(0x158))),_0x56df43=_0x5f1ed2(_0x109dd3(0x165)),_0x3bc718=_0x56df43==='1'||_0x56df43===_0x109dd3(0x171),_0x20cdd1=_0x53048d?.[_0x109dd3(0x168)]||_0x419083[_0x109dd3(0x168)]||DEFAULT_CONFIG_VALUES['apiDir'],_0x538b20=isDaily(normalizeEnv(String(_0x13ab1b)))?_0x109dd3(0x15a):'production';return{'appCode':typeof _0x4fc367===_0x109dd3(0x15d)&&_0x4fc367[_0x109dd3(0x170)]()?_0x4fc367[_0x109dd3(0x170)]():undefined,'env':_0x538b20,'locale':_0x1472b1,'cookie':_0x1924c9,'accessKey':_0x42579f,'format':_0x21a862,'pageSize':_0x3078a2,'riskLevel':_0x29eea6,'verbose':_0x3bc718,'apiDir':_0x20cdd1,'apps':_0xab83ac,'defaultApp':_0x50aae9,'currentApp':_0x5f52b8?_0x408f98:undefined,'explicitAppName':_0x595466};}
@@ -1 +1 @@
1
- (function(_0xf3bbd,_0x59c772){const _0x3e5d8c=a214_0x366e,_0x7a552d=_0xf3bbd();while(!![]){try{const _0x31e5b5=parseInt(_0x3e5d8c(0x12e))/0x1*(parseInt(_0x3e5d8c(0x12b))/0x2)+parseInt(_0x3e5d8c(0x127))/0x3+parseInt(_0x3e5d8c(0x128))/0x4*(parseInt(_0x3e5d8c(0x12d))/0x5)+-parseInt(_0x3e5d8c(0x12a))/0x6+parseInt(_0x3e5d8c(0x129))/0x7*(parseInt(_0x3e5d8c(0x126))/0x8)+parseInt(_0x3e5d8c(0x12c))/0x9+parseInt(_0x3e5d8c(0x130))/0xa;if(_0x31e5b5===_0x59c772)break;else _0x7a552d['push'](_0x7a552d['shift']());}catch(_0x73363b){_0x7a552d['push'](_0x7a552d['shift']());}}}(a214_0x48aa,0x49d35));import{getIsSessionValid}from'../auth/is-session-valid.js';function a214_0x48aa(){const _0x12d30c=['14gYUrsB','3539766XnsSEq','697122llUJgP','351405wPkNii','5ufhXRC','1DvwWUY','authRequired','2083720qtVAgP','49232oNYyEH','475449CeqKrO','502324lslCYx'];a214_0x48aa=function(){return _0x12d30c;};return a214_0x48aa();}function a214_0x366e(_0x398114,_0x5d9080){_0x398114=_0x398114-0x126;const _0x48aaec=a214_0x48aa();let _0x366ea9=_0x48aaec[_0x398114];return _0x366ea9;}import{CliErrors}from'../errors.js';export async function buildAuth(_0x1631cf){const {getCookie:_0x82086b}=await import('../auth/get-cookie.js'),_0x57d8af=_0x1631cf['cookie']||_0x82086b(),_0x2bf673=_0x57d8af?await getIsSessionValid():![];return{'cookie':_0x57d8af,'isLoggedIn':_0x2bf673,async 'getOrLogin'(){const _0x14de19=a214_0x366e;if(_0x57d8af&&_0x2bf673)return _0x57d8af;throw CliErrors[_0x14de19(0x12f)]();}};}
1
+ function a222_0x2826(){const _0x596b6b=['1936916NvYUgO','4002000OhMOfO','26991pOCqYZ','cookie','192UXPMkC','authRequired','1547931CsZJQG','6501984ldZFov','4908402IeNihq','5QnqiIR','26865vKObje'];a222_0x2826=function(){return _0x596b6b;};return a222_0x2826();}(function(_0x24f215,_0x2d5784){const _0x3f22e9=a222_0x2aaf,_0xc9b449=_0x24f215();while(!![]){try{const _0x408721=parseInt(_0x3f22e9(0x91))/0x1+-parseInt(_0x3f22e9(0x93))/0x2*(-parseInt(_0x3f22e9(0x8e))/0x3)+-parseInt(_0x3f22e9(0x8f))/0x4*(-parseInt(_0x3f22e9(0x98))/0x5)+parseInt(_0x3f22e9(0x90))/0x6+-parseInt(_0x3f22e9(0x95))/0x7+-parseInt(_0x3f22e9(0x96))/0x8+-parseInt(_0x3f22e9(0x97))/0x9;if(_0x408721===_0x2d5784)break;else _0xc9b449['push'](_0xc9b449['shift']());}catch(_0x11d79e){_0xc9b449['push'](_0xc9b449['shift']());}}}(a222_0x2826,0x6ff91));import{getIsSessionValid}from'../auth/is-session-valid.js';function a222_0x2aaf(_0x316f00,_0x2f9848){_0x316f00=_0x316f00-0x8e;const _0x282668=a222_0x2826();let _0x2aafcf=_0x282668[_0x316f00];return _0x2aafcf;}import{CliErrors}from'../errors.js';export async function buildAuth(_0x1e4dbb){const _0x55b45a=a222_0x2aaf,{getCookie:_0xa5c825}=await import('../auth/get-cookie.js'),_0x44b220=_0x1e4dbb[_0x55b45a(0x92)]||_0xa5c825(),_0x437148=_0x44b220?await getIsSessionValid():![];return{'cookie':_0x44b220,'isLoggedIn':_0x437148,async 'getOrLogin'(){const _0x4d641a=_0x55b45a;if(_0x44b220&&_0x437148)return _0x44b220;throw CliErrors[_0x4d641a(0x94)]();}};}