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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/api-group.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/api/generate-sdk-config-file.js +1 -1
  6. package/lib/api/legacy-api-file.js +1 -1
  7. package/lib/api/model-registry-file.js +1 -1
  8. package/lib/api/model-registry-scaffold.js +1 -1
  9. package/lib/api/model-source.js +1 -1
  10. package/lib/auth/auth-server-ui.js +1 -1
  11. package/lib/auth/auth-server.js +1 -1
  12. package/lib/auth/constant.js +1 -1
  13. package/lib/auth/get-cookie.js +1 -1
  14. package/lib/auth/get-session-user.js +1 -1
  15. package/lib/auth/is-session-valid.js +1 -1
  16. package/lib/auth/login-success-html.js +1 -1
  17. package/lib/auth/logout.js +1 -1
  18. package/lib/cli-flags.js +1 -1
  19. package/lib/cli.js +1 -1
  20. package/lib/commands/api/generate.js +1 -1
  21. package/lib/commands/api/index.js +1 -1
  22. package/lib/commands/api/list.js +1 -1
  23. package/lib/commands/api/pull.js +1 -1
  24. package/lib/commands/api/shared.js +1 -1
  25. package/lib/commands/app/detail.js +1 -1
  26. package/lib/commands/app/index.js +1 -1
  27. package/lib/commands/app/list.js +1 -1
  28. package/lib/commands/app/members-list.js +1 -1
  29. package/lib/commands/app/remote-directory.js +1 -1
  30. package/lib/commands/app/shared.js +1 -1
  31. package/lib/commands/app-config/delete.js +1 -1
  32. package/lib/commands/app-config/get.js +1 -1
  33. package/lib/commands/app-config/index.js +1 -1
  34. package/lib/commands/app-config/list.js +1 -1
  35. package/lib/commands/app-config/set.js +1 -1
  36. package/lib/commands/app-config/shared.js +1 -1
  37. package/lib/commands/auth/index.js +1 -1
  38. package/lib/commands/bff/create.js +1 -1
  39. package/lib/commands/bff/delete.js +1 -1
  40. package/lib/commands/bff/detail.js +1 -1
  41. package/lib/commands/bff/index.js +1 -1
  42. package/lib/commands/bff/list.js +1 -1
  43. package/lib/commands/bff/logs.js +1 -1
  44. package/lib/commands/bff/pull.js +1 -1
  45. package/lib/commands/bff/push.js +1 -1
  46. package/lib/commands/bff/status.js +1 -1
  47. package/lib/commands/cli-skill/index.js +1 -1
  48. package/lib/commands/cli-update.js +1 -1
  49. package/lib/commands/codegen/index.js +1 -1
  50. package/lib/commands/codegen/sdk.js +1 -1
  51. package/lib/commands/codegen/sql.js +1 -1
  52. package/lib/commands/common/app-registry.js +1 -1
  53. package/lib/commands/common/app-selector.js +1 -1
  54. package/lib/commands/common/async-task.js +1 -1
  55. package/lib/commands/common/dry-run.js +1 -1
  56. package/lib/commands/common/flags.js +1 -1
  57. package/lib/commands/common/local-file.js +1 -1
  58. package/lib/commands/common/validate.js +1 -1
  59. package/lib/commands/config/delete.js +1 -1
  60. package/lib/commands/config/get.js +1 -1
  61. package/lib/commands/config/index.js +1 -1
  62. package/lib/commands/config/init.js +1 -1
  63. package/lib/commands/config/list.js +1 -1
  64. package/lib/commands/config/set.js +1 -1
  65. package/lib/commands/config/shared.js +1 -1
  66. package/lib/commands/dataset/batch-design.js +1 -1
  67. package/lib/commands/dataset/business-group-update.js +1 -1
  68. package/lib/commands/dataset/business-groups.js +1 -1
  69. package/lib/commands/dataset/capability.js +1 -1
  70. package/lib/commands/dataset/cross-relation-create.js +1 -1
  71. package/lib/commands/dataset/cross-relation-delete.js +1 -1
  72. package/lib/commands/dataset/cross-relation-list.js +1 -1
  73. package/lib/commands/dataset/cross-relation-shared.js +1 -1
  74. package/lib/commands/dataset/cross-relation-update.js +1 -1
  75. package/lib/commands/dataset/delete.js +1 -1
  76. package/lib/commands/dataset/design-context.js +1 -1
  77. package/lib/commands/dataset/design-start.js +1 -1
  78. package/lib/commands/dataset/design-status.js +1 -1
  79. package/lib/commands/dataset/design-sync-retry.js +1 -1
  80. package/lib/commands/dataset/design-sync-status.js +1 -1
  81. package/lib/commands/dataset/design-validate.js +1 -1
  82. package/lib/commands/dataset/detail.js +1 -1
  83. package/lib/commands/dataset/extend-update.js +1 -1
  84. package/lib/commands/dataset/field-restore.js +1 -1
  85. package/lib/commands/dataset/field-update.js +1 -1
  86. package/lib/commands/dataset/generate.js +1 -1
  87. package/lib/commands/dataset/index.js +1 -1
  88. package/lib/commands/dataset/list.js +1 -1
  89. package/lib/commands/dataset/operations.js +1 -1
  90. package/lib/commands/dataset/relation-audit.js +1 -1
  91. package/lib/commands/dataset/relation-create.js +1 -1
  92. package/lib/commands/dataset/relation-delete.js +1 -1
  93. package/lib/commands/dataset/relation-shared.js +1 -1
  94. package/lib/commands/dataset/relation-update.js +1 -1
  95. package/lib/commands/dataset/relations.js +1 -1
  96. package/lib/commands/dataset/rename.js +1 -1
  97. package/lib/commands/dataset/restore.js +1 -1
  98. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  99. package/lib/commands/db/analysis-batching.js +1 -1
  100. package/lib/commands/db/analyze-batch-plan.js +1 -1
  101. package/lib/commands/db/analyze-cancel.js +1 -1
  102. package/lib/commands/db/analyze-start.js +1 -1
  103. package/lib/commands/db/analyze-status.js +1 -1
  104. package/lib/commands/db/create.js +1 -1
  105. package/lib/commands/db/cross-db-analysis-shared.js +1 -1
  106. package/lib/commands/db/cross-db-analyze-latest.js +1 -1
  107. package/lib/commands/db/cross-db-analyze-start.js +1 -1
  108. package/lib/commands/db/cross-db-analyze-status.js +1 -1
  109. package/lib/commands/db/delete.js +1 -1
  110. package/lib/commands/db/detail.js +1 -1
  111. package/lib/commands/db/diff-refresh-start.js +1 -1
  112. package/lib/commands/db/diff-refresh-status.js +1 -1
  113. package/lib/commands/db/diff.js +1 -1
  114. package/lib/commands/db/index.js +1 -1
  115. package/lib/commands/db/list.js +1 -1
  116. package/lib/commands/db/shared.js +1 -1
  117. package/lib/commands/db/table-diff-shared.js +1 -1
  118. package/lib/commands/db/tables.js +1 -1
  119. package/lib/commands/db/test.js +1 -1
  120. package/lib/commands/db/update.js +1 -1
  121. package/lib/commands/deployment/index.js +1 -1
  122. package/lib/commands/deployment/sync-all.js +1 -1
  123. package/lib/commands/deployment/sync-jobs.js +1 -1
  124. package/lib/commands/deployment/sync-status.js +1 -1
  125. package/lib/commands/doctor.js +1 -1
  126. package/lib/commands/file/index.js +1 -1
  127. package/lib/commands/flow/create.js +1 -1
  128. package/lib/commands/flow/detail.js +1 -1
  129. package/lib/commands/flow/index.js +1 -1
  130. package/lib/commands/flow/list.js +1 -1
  131. package/lib/commands/flow/page-list.js +1 -1
  132. package/lib/commands/flow/publish.js +1 -1
  133. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  134. package/lib/commands/flow/runtime-role-list.js +1 -1
  135. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  136. package/lib/commands/flow/runtime-user-search.js +1 -1
  137. package/lib/commands/flow/shared.js +1 -1
  138. package/lib/commands/flow/update.js +1 -1
  139. package/lib/commands/flow/validate.js +1 -1
  140. package/lib/commands/instant-api-policy/current.js +1 -1
  141. package/lib/commands/instant-api-policy/index.js +1 -1
  142. package/lib/commands/instant-api-policy/init.js +1 -1
  143. package/lib/commands/instant-api-policy/publish.js +1 -1
  144. package/lib/commands/instant-api-policy/pull.js +1 -1
  145. package/lib/commands/instant-api-policy/revision.js +1 -1
  146. package/lib/commands/instant-api-policy/revisions.js +1 -1
  147. package/lib/commands/instant-api-policy/rollback.js +1 -1
  148. package/lib/commands/instant-api-policy/shared.js +1 -1
  149. package/lib/commands/instant-api-policy/validate.js +1 -1
  150. package/lib/commands/issue/context.js +1 -1
  151. package/lib/commands/issue/index.js +1 -1
  152. package/lib/commands/issue/nudge.js +1 -1
  153. package/lib/commands/issue/report.js +1 -1
  154. package/lib/commands/kb/create.js +1 -1
  155. package/lib/commands/kb/delete.js +1 -1
  156. package/lib/commands/kb/detail.js +1 -1
  157. package/lib/commands/kb/index.js +1 -1
  158. package/lib/commands/kb/list.js +1 -1
  159. package/lib/commands/kb/search.js +1 -1
  160. package/lib/commands/kb/shared.js +1 -1
  161. package/lib/commands/kb/update.js +1 -1
  162. package/lib/commands/logs/index.js +1 -1
  163. package/lib/commands/menu/asset-update.js +1 -1
  164. package/lib/commands/menu/delete.js +1 -1
  165. package/lib/commands/menu/external-link-create.js +1 -1
  166. package/lib/commands/menu/external-link-update.js +1 -1
  167. package/lib/commands/menu/group-create.js +1 -1
  168. package/lib/commands/menu/group-update.js +1 -1
  169. package/lib/commands/menu/index.js +1 -1
  170. package/lib/commands/menu/list.js +1 -1
  171. package/lib/commands/menu/move.js +1 -1
  172. package/lib/commands/menu/regroup-start.js +1 -1
  173. package/lib/commands/menu/rename.js +1 -1
  174. package/lib/commands/menu/shared/compare-table.js +1 -1
  175. package/lib/commands/menu/shared/delete-plan.js +1 -1
  176. package/lib/commands/menu/shared/facts.js +1 -1
  177. package/lib/commands/menu/shared/index.js +1 -1
  178. package/lib/commands/menu/shared/inquirer.js +1 -1
  179. package/lib/commands/menu/shared/local-pages.js +1 -1
  180. package/lib/commands/menu/shared/logic.js +1 -1
  181. package/lib/commands/menu/shared/mutations.js +1 -1
  182. package/lib/commands/menu/shared/path.js +1 -1
  183. package/lib/commands/menu/shared/service.js +1 -1
  184. package/lib/commands/menu/shared/subapp-assets.js +1 -1
  185. package/lib/commands/menu/shared/sync-core.js +1 -1
  186. package/lib/commands/menu/shared/update-core.js +1 -1
  187. package/lib/commands/menu/shared/valid-url.js +1 -1
  188. package/lib/commands/menu/subapp-assets-status.js +1 -1
  189. package/lib/commands/menu/subapp-assets-update.js +1 -1
  190. package/lib/commands/menu/sync.js +1 -1
  191. package/lib/commands/menu/visibility-update.js +1 -1
  192. package/lib/commands/notification/config-create.js +1 -1
  193. package/lib/commands/notification/config-delete.js +1 -1
  194. package/lib/commands/notification/config-list.js +1 -1
  195. package/lib/commands/notification/config-update.js +1 -1
  196. package/lib/commands/notification/index.js +1 -1
  197. package/lib/commands/notification/shared.js +1 -1
  198. package/lib/commands/ocr/index.js +1 -1
  199. package/lib/commands/page/create.js +1 -1
  200. package/lib/commands/page/custom/detail.js +1 -1
  201. package/lib/commands/page/custom/list.js +1 -1
  202. package/lib/commands/page/custom/publish.js +1 -1
  203. package/lib/commands/page/custom/shared.js +1 -1
  204. package/lib/commands/page/custom/syntax.js +1 -1
  205. package/lib/commands/page/custom/update.js +1 -1
  206. package/lib/commands/page/data-list-status.js +1 -1
  207. package/lib/commands/page/generate-start.js +1 -1
  208. package/lib/commands/page/generate-status.js +1 -1
  209. package/lib/commands/page/index.js +1 -1
  210. package/lib/commands/page/pull.js +1 -1
  211. package/lib/commands/page/push.js +1 -1
  212. package/lib/commands/page/relation-audit.js +1 -1
  213. package/lib/commands/page/restore.js +1 -1
  214. package/lib/commands/page/shared.js +1 -1
  215. package/lib/commands/page/sync.js +1 -1
  216. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  217. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  218. package/lib/commands/project/create/format-elapsed.js +1 -1
  219. package/lib/commands/project/create/main.js +1 -1
  220. package/lib/commands/project/create/materialize-project-template.js +1 -1
  221. package/lib/commands/project/create/project-name.js +1 -1
  222. package/lib/commands/project/create/project-template-archive.js +1 -1
  223. package/lib/commands/project/create/project-template-path.js +1 -1
  224. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  225. package/lib/commands/project/create/use-format-code.js +1 -1
  226. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  227. package/lib/commands/project/domain-routing-sync.js +1 -1
  228. package/lib/commands/project/index.js +1 -1
  229. package/lib/commands/project/upgrade.js +1 -1
  230. package/lib/commands/registry.js +1 -1
  231. package/lib/commands/role/delete.js +1 -1
  232. package/lib/commands/role/detail.js +1 -1
  233. package/lib/commands/role/index.js +1 -1
  234. package/lib/commands/role/list.js +1 -1
  235. package/lib/commands/role/shared.js +1 -1
  236. package/lib/commands/role/update.js +1 -1
  237. package/lib/commands/role/user-add.js +1 -1
  238. package/lib/commands/role/user-remove.js +1 -1
  239. package/lib/commands/role/user-resolve.js +1 -1
  240. package/lib/commands/rule/get.js +1 -1
  241. package/lib/commands/rule/index.js +1 -1
  242. package/lib/commands/rule/list.js +1 -1
  243. package/lib/commands/rule/set.js +1 -1
  244. package/lib/commands/rule/shared.js +1 -1
  245. package/lib/commands/run/index.js +1 -1
  246. package/lib/commands/schema.js +1 -1
  247. package/lib/commands/sql/create.js +1 -1
  248. package/lib/commands/sql/delete.js +1 -1
  249. package/lib/commands/sql/detail.js +1 -1
  250. package/lib/commands/sql/exec.js +1 -1
  251. package/lib/commands/sql/index.js +1 -1
  252. package/lib/commands/sql/list.js +1 -1
  253. package/lib/commands/sql/pull.js +1 -1
  254. package/lib/commands/sql/push.js +1 -1
  255. package/lib/commands/sql/shared.js +1 -1
  256. package/lib/commands/sql/status.js +1 -1
  257. package/lib/commands/sql/validate.js +1 -1
  258. package/lib/commands/task/index.js +1 -1
  259. package/lib/commands/task/status.js +1 -1
  260. package/lib/commands/tenant/index.js +1 -1
  261. package/lib/commands/tenant/members-list.js +1 -1
  262. package/lib/commands/tenant/shared.js +1 -1
  263. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  264. package/lib/commands/user-account/feishu-bind.js +1 -1
  265. package/lib/commands/user-account/index.js +1 -1
  266. package/lib/commands/workspace/add.js +1 -1
  267. package/lib/commands/workspace/index.js +1 -1
  268. package/lib/commands/workspace/remove.js +1 -1
  269. package/lib/config/domain-config.js +1 -1
  270. package/lib/config/project-domain-routing.js +1 -1
  271. package/lib/config/region-config.js +1 -1
  272. package/lib/config/schema.js +1 -1
  273. package/lib/constant/cdn.js +1 -1
  274. package/lib/constant/cli.js +1 -1
  275. package/lib/constant/defaults.js +1 -1
  276. package/lib/constant/domain.js +1 -1
  277. package/lib/constant/env.js +1 -1
  278. package/lib/constant/output.js +1 -1
  279. package/lib/constant/paths.js +1 -1
  280. package/lib/constant/region.js +1 -1
  281. package/lib/constant/risk.js +1 -1
  282. package/lib/constant/routing-profile.js +1 -1
  283. package/lib/context/app-resolver.js +1 -1
  284. package/lib/context/auth-resolver.js +1 -1
  285. package/lib/context/config-loader.js +1 -1
  286. package/lib/context.js +1 -1
  287. package/lib/core/alias-resolver.js +1 -1
  288. package/lib/core/api-client.js +1 -1
  289. package/lib/core/bff/config.js +1 -1
  290. package/lib/core/bff/file-system.js +1 -1
  291. package/lib/core/bff/hash.js +1 -1
  292. package/lib/core/bff/hook-directory.js +1 -1
  293. package/lib/core/bff/lock.js +1 -1
  294. package/lib/core/bff/utils.js +1 -1
  295. package/lib/core/cross-db-analysis.js +1 -1
  296. package/lib/core/cross-db-relation.js +1 -1
  297. package/lib/core/db-resolver.js +1 -1
  298. package/lib/core/flow-config.js +1 -1
  299. package/lib/core/instant-api-policy/config.js +1 -1
  300. package/lib/core/instant-api-policy/endpoints.js +1 -1
  301. package/lib/core/kb-management-client.js +1 -1
  302. package/lib/core/kb-search-client.js +1 -1
  303. package/lib/core/page/file-system.js +1 -1
  304. package/lib/core/page/hash.js +1 -1
  305. package/lib/core/page/lock.js +1 -1
  306. package/lib/core/page/lr-smart-jsx.js +1 -1
  307. package/lib/core/sql-index-auditor.js +1 -1
  308. package/lib/core/sql-sync/config.js +1 -1
  309. package/lib/core/sql-sync/file-system.js +1 -1
  310. package/lib/core/sql-sync/hash.js +1 -1
  311. package/lib/core/sql-sync/lock.js +1 -1
  312. package/lib/core/sql-sync/utils.js +1 -1
  313. package/lib/core/sql-validator.js +1 -1
  314. package/lib/errors.js +1 -1
  315. package/lib/framework/build-all-flags.js +1 -1
  316. package/lib/framework/error-output.js +1 -1
  317. package/lib/framework/explicit-yes.js +1 -1
  318. package/lib/framework/flags.js +1 -1
  319. package/lib/framework/help.js +1 -1
  320. package/lib/framework/index.js +1 -1
  321. package/lib/framework/output.js +1 -1
  322. package/lib/framework/response.js +1 -1
  323. package/lib/framework/runner-alias.js +1 -1
  324. package/lib/framework/runner.js +1 -1
  325. package/lib/framework/schema-export.js +1 -1
  326. package/lib/framework/supported-flags.js +1 -1
  327. package/lib/framework/types.js +1 -1
  328. package/lib/generated/build-info.d.ts +4 -4
  329. package/lib/generated/build-info.js +1 -1
  330. package/lib/generated/official-routing.js +1 -1
  331. package/lib/generated/routing-contract.js +1 -1
  332. package/lib/help.js +1 -1
  333. package/lib/postinstall.js +1 -1
  334. package/lib/runtime/confirmation.js +1 -1
  335. package/lib/runtime/event.js +1 -1
  336. package/lib/runtime/index.js +1 -1
  337. package/lib/runtime/queue.js +1 -1
  338. package/lib/runtime/resolve.js +1 -1
  339. package/lib/services/dataset-design/checkpoint.js +1 -1
  340. package/lib/services/dataset-design/commands.js +1 -1
  341. package/lib/services/dataset-design/contract.js +1 -1
  342. package/lib/skills/builtin-skill.js +1 -1
  343. package/lib/skills/main.js +1 -1
  344. package/lib/skills/npx-skills-add.js +1 -1
  345. package/lib/skills/skill-presence.js +1 -1
  346. package/lib/telemetry/cli-command-trace.js +1 -1
  347. package/lib/telemetry/cli-help-trace.js +1 -1
  348. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  349. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  350. package/lib/telemetry/send-cli-trace-log.js +1 -1
  351. package/lib/utils/ai_config.js +1 -1
  352. package/lib/utils/apply-jq-filter.js +1 -1
  353. package/lib/utils/cdn-config.js +1 -1
  354. package/lib/utils/check-sdk-version.js +1 -1
  355. package/lib/utils/cli-version-check.js +1 -1
  356. package/lib/utils/cli-version-policy.js +1 -1
  357. package/lib/utils/config.js +1 -1
  358. package/lib/utils/entity-with-id.js +1 -1
  359. package/lib/utils/file-utils.js +1 -1
  360. package/lib/utils/guides-cdn.js +1 -1
  361. package/lib/utils/http-client.js +1 -1
  362. package/lib/utils/is-non-interactive.js +1 -1
  363. package/lib/utils/logger.js +1 -1
  364. package/lib/utils/params.js +1 -1
  365. package/lib/utils/platform.js +1 -1
  366. package/lib/utils/sleep.js +1 -1
  367. package/lib/utils/template-replacer.js +1 -1
  368. package/lib/utils/update-notice.js +1 -1
  369. package/lib/utils/version.js +1 -1
  370. package/lib/utils/with-active-cookie.js +1 -1
  371. package/lib/utils/write-cli-side-channel.js +1 -1
  372. package/package.json +1 -1
  373. package/skills/rabetbase/SKILL.md +1 -1
  374. package/skills/rabetbase-dataset-generation/SKILL.md +1 -1
  375. package/skills/rabetbase-page-generation/SKILL.md +1 -1
  376. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- (function(_0x4f568a,_0x1812fd){const _0xcc020=a265_0x52bb,_0x3fe5c8=_0x4f568a();while(!![]){try{const _0x2adaf9=parseInt(_0xcc020(0x9b))/0x1+-parseInt(_0xcc020(0x99))/0x2*(-parseInt(_0xcc020(0x9f))/0x3)+parseInt(_0xcc020(0xa3))/0x4*(parseInt(_0xcc020(0xa2))/0x5)+-parseInt(_0xcc020(0x9d))/0x6*(parseInt(_0xcc020(0x9e))/0x7)+-parseInt(_0xcc020(0x9a))/0x8+parseInt(_0xcc020(0xa0))/0x9*(parseInt(_0xcc020(0xa4))/0xa)+parseInt(_0xcc020(0x9c))/0xb*(parseInt(_0xcc020(0xa1))/0xc);if(_0x2adaf9===_0x1812fd)break;else _0x3fe5c8['push'](_0x3fe5c8['shift']());}catch(_0x23330e){_0x3fe5c8['push'](_0x3fe5c8['shift']());}}}(a265_0x5598,0x1b16d));import{dingTalkSandboxBind}from'../../commands/user-account/dingding-sandbox-bind.js';import{feishuBind}from'../../commands/user-account/feishu-bind.js';function a265_0x52bb(_0x173aa4,_0x32cae6){_0x173aa4=_0x173aa4-0x99;const _0x5598e3=a265_0x5598();let _0x52bb51=_0x5598e3[_0x173aa4];return _0x52bb51;}export const userAccountDefinitions=[dingTalkSandboxBind,feishuBind];function a265_0x5598(){const _0x5f1568=['28mDUFiu','3hdUYtW','14544xxszhv','48Prdczh','236415mULZUQ','12ckIWJb','20IMnwHG','14590dSLXXS','127112BgicmR','27622LNQWxx','193699fYOCpw','185382wMGCvY'];a265_0x5598=function(){return _0x5f1568;};return a265_0x5598();}
1
+ (function(_0x3baa84,_0x2b0ce1){const _0x2a12ff=a265_0x20b4,_0x1dd431=_0x3baa84();while(!![]){try{const _0x48f9e7=parseInt(_0x2a12ff(0x13e))/0x1+parseInt(_0x2a12ff(0x13d))/0x2*(parseInt(_0x2a12ff(0x141))/0x3)+parseInt(_0x2a12ff(0x13f))/0x4+-parseInt(_0x2a12ff(0x140))/0x5+parseInt(_0x2a12ff(0x144))/0x6+-parseInt(_0x2a12ff(0x143))/0x7+-parseInt(_0x2a12ff(0x142))/0x8;if(_0x48f9e7===_0x2b0ce1)break;else _0x1dd431['push'](_0x1dd431['shift']());}catch(_0x2881bc){_0x1dd431['push'](_0x1dd431['shift']());}}}(a265_0x5e36,0xf2fd0));import{dingTalkSandboxBind}from'../../commands/user-account/dingding-sandbox-bind.js';function a265_0x20b4(_0x5a9f06,_0xb40da8){_0x5a9f06=_0x5a9f06-0x13d;const _0x5e36b3=a265_0x5e36();let _0x20b4b9=_0x5e36b3[_0x5a9f06];return _0x20b4b9;}import{feishuBind}from'../../commands/user-account/feishu-bind.js';function a265_0x5e36(){const _0x30919b=['9630342FEUXhF','470684keIalJ','1939470XmrCPV','6114236ZSpAZd','9942270tYPFEV','3XXNuZG','18029168lLxVZO','497336dDqHsi'];a265_0x5e36=function(){return _0x30919b;};return a265_0x5e36();}export const userAccountDefinitions=[dingTalkSandboxBind,feishuBind];
@@ -1 +1 @@
1
- function a266_0x58ca(_0xa12f30,_0x448de7){_0xa12f30=_0xa12f30-0x1a7;const _0xac6e04=a266_0xac6e();let _0x58cae1=_0xac6e04[_0xa12f30];return _0x58cae1;}const a266_0x2c5a18=a266_0x58ca;(function(_0x1736b0,_0x3b72fa){const _0x1eba3a=a266_0x58ca,_0x4b554c=_0x1736b0();while(!![]){try{const _0x32be67=parseInt(_0x1eba3a(0x1b6))/0x1+-parseInt(_0x1eba3a(0x1a9))/0x2*(-parseInt(_0x1eba3a(0x1ad))/0x3)+-parseInt(_0x1eba3a(0x1af))/0x4+-parseInt(_0x1eba3a(0x1ab))/0x5+parseInt(_0x1eba3a(0x1ac))/0x6*(parseInt(_0x1eba3a(0x1ae))/0x7)+parseInt(_0x1eba3a(0x1b0))/0x8*(-parseInt(_0x1eba3a(0x1b1))/0x9)+parseInt(_0x1eba3a(0x1b2))/0xa*(-parseInt(_0x1eba3a(0x1b7))/0xb);if(_0x32be67===_0x3b72fa)break;else _0x4b554c['push'](_0x4b554c['shift']());}catch(_0x4b3ff0){_0x4b554c['push'](_0x4b554c['shift']());}}}(a266_0xac6e,0xeb18a));import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':a266_0x2c5a18(0x1b3),'command':a266_0x2c5a18(0x1a7),'description':a266_0x2c5a18(0x1b4),'risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[{'name':a266_0x2c5a18(0x1b5),'description':a266_0x2c5a18(0x1a8),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0x51df4e=>validateAppName(_0x51df4e,a266_0x2c5a18(0x1aa)),'execute':_0x158f56=>runAppAdd(_0x158f56,a266_0x2c5a18(0x1aa))};function a266_0xac6e(){const _0xe309b6=['2CAmUeo','workspace\x20add','308915ZUpfzy','6VUbCCo','619563ttLUam','11444986ZggykV','3697724UqZwWw','16CBDqtC','809901TQcFZZ','1382230RSLPVj','workspace','Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','name','978742jLYWIf','55JkbtXI','add','App\x20profile\x20name'];a266_0xac6e=function(){return _0xe309b6;};return a266_0xac6e();}
1
+ const a266_0x2105b5=a266_0x1ad5;(function(_0x12b0dc,_0x1c1103){const _0x42740c=a266_0x1ad5,_0x3cadce=_0x12b0dc();while(!![]){try{const _0x5b5d3b=parseInt(_0x42740c(0xd5))/0x1*(parseInt(_0x42740c(0xd4))/0x2)+parseInt(_0x42740c(0xc7))/0x3*(parseInt(_0x42740c(0xcd))/0x4)+parseInt(_0x42740c(0xce))/0x5*(-parseInt(_0x42740c(0xc8))/0x6)+parseInt(_0x42740c(0xcc))/0x7+-parseInt(_0x42740c(0xd1))/0x8+parseInt(_0x42740c(0xc6))/0x9*(parseInt(_0x42740c(0xd2))/0xa)+-parseInt(_0x42740c(0xcf))/0xb*(parseInt(_0x42740c(0xd0))/0xc);if(_0x5b5d3b===_0x1c1103)break;else _0x3cadce['push'](_0x3cadce['shift']());}catch(_0x223535){_0x3cadce['push'](_0x3cadce['shift']());}}}(a266_0x2fe0,0xe25c0));import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';function a266_0x1ad5(_0x3f9806,_0x15b965){_0x3f9806=_0x3f9806-0xc6;const _0x2fe024=a266_0x2fe0();let _0x1ad5fb=_0x2fe024[_0x3f9806];return _0x1ad5fb;}export const workspaceAddDefinition={'service':a266_0x2105b5(0xcb),'command':a266_0x2105b5(0xc9),'description':a266_0x2105b5(0xd7),'risk':a266_0x2105b5(0xca),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':'name','description':a266_0x2105b5(0xd6),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0x2da104=>validateAppName(_0x2da104,'workspace\x20add'),'execute':_0x1f5cd1=>runAppAdd(_0x1f5cd1,a266_0x2105b5(0xd3))};function a266_0x2fe0(){const _0xc50d21=['3874948BcLfbG','3033544tNdBMG','5sNrENi','22qhsBiu','3801048ACLrxk','11382336ifkwDC','4170rNciRv','workspace\x20add','2202KMSsdk','1342JEROOL','App\x20profile\x20name','Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','7983ALAQKi','3mgAkex','1055418tHLrbO','add','write','workspace'];a266_0x2fe0=function(){return _0xc50d21;};return a266_0x2fe0();}
@@ -1 +1 @@
1
- const a267_0x325347=a267_0xba62;(function(_0x21bc3a,_0x472459){const _0x4fe3d6=a267_0xba62,_0x2fcf91=_0x21bc3a();while(!![]){try{const _0x3a517e=parseInt(_0x4fe3d6(0x126))/0x1+-parseInt(_0x4fe3d6(0x11b))/0x2*(parseInt(_0x4fe3d6(0x12a))/0x3)+parseInt(_0x4fe3d6(0x109))/0x4*(parseInt(_0x4fe3d6(0x123))/0x5)+parseInt(_0x4fe3d6(0x125))/0x6+parseInt(_0x4fe3d6(0x119))/0x7*(-parseInt(_0x4fe3d6(0x112))/0x8)+parseInt(_0x4fe3d6(0x118))/0x9+parseInt(_0x4fe3d6(0x133))/0xa*(-parseInt(_0x4fe3d6(0x11d))/0xb);if(_0x3a517e===_0x472459)break;else _0x2fcf91['push'](_0x2fcf91['shift']());}catch(_0xc475a9){_0x2fcf91['push'](_0x2fcf91['shift']());}}}(a267_0x2580,0xb4c7a));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';import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';import{normalizeStoredDefaultApp}from'../../config/schema.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../../constant/region.js';const WORKSPACE_USAGE=CLI_BIN_NAME+a267_0x325347(0x10a),SAFE_PROFILE_KEYS=[a267_0x325347(0x110),'apiGroup','region',a267_0x325347(0x10b),a267_0x325347(0x11c),'format','pageSize',a267_0x325347(0x122),'locale'],workspaceFlags=[{'name':a267_0x325347(0x10f),'type':'string','description':'App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace'},{'name':a267_0x325347(0x110),'type':'string','description':a267_0x325347(0x11f)},{'name':a267_0x325347(0x12f),'type':'string','description':a267_0x325347(0x130)},{'name':'region','type':a267_0x325347(0x107),'description':a267_0x325347(0x138),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':a267_0x325347(0x10b),'type':'string','description':a267_0x325347(0x131),'enum':[...RABETBASE_ENV_VALUES]},{'name':a267_0x325347(0x11c),'type':a267_0x325347(0x107),'description':'API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile'},{'name':a267_0x325347(0x137),'type':a267_0x325347(0x107),'description':'Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':'pageSize','type':a267_0x325347(0x13b),'description':'Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile'},{'name':'riskLevel','type':a267_0x325347(0x107),'description':a267_0x325347(0x13e),'enum':[...RISK_LEVEL_VALUES]},{'name':a267_0x325347(0x135),'type':a267_0x325347(0x107),'description':'App\x20locale\x20for\x20this\x20workspace\x20app\x20profile\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)'}];function isRecord(_0x457a41){const _0x13e2af=a267_0x325347;return!!_0x457a41&&typeof _0x457a41==='object'&&!Array[_0x13e2af(0x108)](_0x457a41);}function assertValidAppcode(_0x202b8b){const _0x564865=a267_0x325347,{valid:_0x4e231c,message:_0x1d1c03}=validateAppcode(_0x202b8b);if(!_0x4e231c)throw CliErrors[_0x564865(0x116)](_0x564865(0x111)+_0x202b8b,_0x1d1c03);}function a267_0x2580(){const _0x33e875=['isArray','5647172ijjoTp','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','env','\x22\x20not\x20found.','\x20workspace\x20','.\x20Credentials:\x20not\x20written.','app','appcode','Invalid\x20appcode:\x20','16hjvXcD','Workspace\x20','Use\x20`','Missing\x20workspace\x20app\x20selector.','validation','initialized','13098906DwbnEq','1014489gIXnNr','region','7244hVvCCh','apiDir','44STwZJp','pageSize','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','App\x20\x22','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','riskLevel','5YFFhkw','use','5312592ZJFDhY','352021ZJLmTy','trim','project','init','1074FinUOe','updated','\x20workspace\x20use\x20--app\x20<name>`.','workspace','\x20--appcode\x20<code>`.','apiGroup','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','Target\x20environment','str','4444190KCfaEb','format','locale',').\x20Config:\x20','defaultFormat','Country/region\x20for\x20this\x20workspace\x20app\x20profile','length','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','number','\x20--app\x20','apps','Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','workspace.','flag','globalConfig','string'];a267_0x2580=function(){return _0x33e875;};return a267_0x2580();}function sanitizeProfile(_0x99d71a){if(!isRecord(_0x99d71a))return{};const _0x33c0fc={};for(const _0x57edb4 of SAFE_PROFILE_KEYS){if(_0x99d71a[_0x57edb4]!==undefined)_0x33c0fc[_0x57edb4]=_0x99d71a[_0x57edb4];}return _0x33c0fc;}function cloneProfile(_0x326674){return isRecord(_0x326674)?{..._0x326674}:{};}function collectWorkspaceProfileOverrides(_0x4ffaf1){const _0x522526=a267_0x325347,_0x48ff01={},_0x1f70e8=_0x4ffaf1[_0x522526(0x132)](_0x522526(0x12f)),_0x35e9f7=_0x4ffaf1[_0x522526(0x132)](_0x522526(0x11a)),_0x335e6b=_0x4ffaf1[_0x522526(0x132)](_0x522526(0x10b)),_0xb8e56a=_0x4ffaf1[_0x522526(0x132)]('apiDir'),_0x2368dc=_0x4ffaf1[_0x522526(0x132)](_0x522526(0x137)),_0x522f76=_0x4ffaf1[_0x522526(0x105)](_0x522526(0x11e)),_0x33eeee=_0x4ffaf1[_0x522526(0x132)](_0x522526(0x122)),_0x1b78b0=_0x4ffaf1['str'](_0x522526(0x135));if(_0x1f70e8)_0x48ff01[_0x522526(0x12f)]=_0x1f70e8;if(_0x35e9f7)_0x48ff01[_0x522526(0x11a)]=_0x35e9f7;if(_0x335e6b)_0x48ff01[_0x522526(0x10b)]=_0x335e6b;if(_0xb8e56a)_0x48ff01[_0x522526(0x11c)]=_0xb8e56a;if(_0x2368dc)_0x48ff01[_0x522526(0x134)]=_0x2368dc;if(_0x522f76!==undefined&&_0x522f76!=='')_0x48ff01[_0x522526(0x11e)]=Number(_0x522f76);if(_0x33eeee)_0x48ff01[_0x522526(0x122)]=_0x33eeee;if(_0x1b78b0)_0x48ff01[_0x522526(0x135)]=_0x1b78b0;return _0x48ff01;}async function validateWorkspaceArgs(_0x377a05){const _0x33628e=a267_0x325347,_0x476368=_0x377a05[_0x33628e(0x132)](_0x33628e(0x10f))[_0x33628e(0x127)](),_0xdc3cc4=_0x377a05[_0x33628e(0x132)]('appcode')[_0x33628e(0x127)]();if(!_0x476368&&!_0xdc3cc4)throw CliErrors['validation'](_0x33628e(0x115),_0x33628e(0x114)+CLI_BIN_NAME+_0x33628e(0x13a)+CLI_BIN_NAME+_0x33628e(0x12c));if(_0xdc3cc4)assertValidAppcode(_0xdc3cc4);}function resolveKnownApps(){const _0x4de65e=a267_0x325347,{config:_0x52e0dc,layers:_0x36366d}=readRawConfigWithLayers(),_0x5104ba=isRecord(_0x52e0dc[_0x4de65e(0x13d)])?_0x52e0dc[_0x4de65e(0x13d)]:{},_0x55204b=isRecord(_0x36366d[_0x4de65e(0x106)][_0x4de65e(0x13d)])?_0x36366d[_0x4de65e(0x106)][_0x4de65e(0x13d)]:{};return{..._0x55204b,..._0x5104ba};}async function configureWorkspace(_0x410085,_0x238d32){const _0x2c1209=a267_0x325347,_0x54ecad=_0x410085['str'](_0x2c1209(0x10f))[_0x2c1209(0x127)](),_0x5c2015=_0x410085[_0x2c1209(0x132)]('appcode')[_0x2c1209(0x127)](),_0xc4af11=_0x54ecad||_0x5c2015;if(!_0xc4af11)throw CliErrors[_0x2c1209(0x116)](_0x2c1209(0x115),_0x2c1209(0x114)+CLI_BIN_NAME+_0x2c1209(0x13a)+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.');if(_0x5c2015)assertValidAppcode(_0x5c2015);const _0x4d8bd3=resolveWriteConfigPath(_0x2c1209(0x128)),_0xb70111=readConfigFile(_0x4d8bd3),_0x5e7cca=resolveKnownApps(),_0x4cc506=isRecord(_0xb70111['apps'])?{..._0xb70111[_0x2c1209(0x13d)]}:{},_0x2d701d=cloneProfile(_0x4cc506[_0xc4af11]),_0x55fafe=sanitizeProfile(_0x5e7cca[_0xc4af11]),_0x14c35c=_0x5c2015?{}:_0x55fafe,_0x209301=_0x5c2015||_0x14c35c['appcode'];if(!_0x209301){const _0x32e717=Object['keys'](_0x5e7cca),_0x2cdbe7=_0x32e717[_0x2c1209(0x139)]===0x0?_0x2c1209(0x114)+CLI_BIN_NAME+_0x2c1209(0x10d)+_0x238d32+_0x2c1209(0x13c)+_0xc4af11+_0x2c1209(0x12e):_0x2c1209(0x121)+_0x32e717['join'](',\x20');throw CliErrors[_0x2c1209(0x116)](_0x2c1209(0x120)+_0xc4af11+_0x2c1209(0x10c),_0x2cdbe7);}assertValidAppcode(String(_0x209301));const _0x4c2bed={..._0x14c35c,..._0x2d701d,'appcode':String(_0x209301),...collectWorkspaceProfileOverrides(_0x410085)};return _0x4cc506[_0xc4af11]=_0x4c2bed,_0xb70111[_0x2c1209(0x13d)]=_0x4cc506,normalizeStoredDefaultApp(_0xb70111,_0xc4af11),delete _0xb70111[_0x2c1209(0x110)],delete _0xb70111['app'],_0x4c2bed[_0x2c1209(0x10b)]&&(_0xb70111[_0x2c1209(0x10b)]=_0x4c2bed[_0x2c1209(0x10b)]),writeConfigFile(_0x4d8bd3,_0xb70111),{'ok':!![],'message':_0x2c1209(0x113)+(_0x238d32===_0x2c1209(0x129)?_0x2c1209(0x117):_0x2c1209(0x12b))+':\x20'+_0xc4af11+'\x20(appcode:\x20'+_0x4c2bed[_0x2c1209(0x110)]+_0x2c1209(0x136)+_0x4d8bd3+_0x2c1209(0x10e),'data':{'operation':_0x2c1209(0x13f)+_0x238d32,'configPath':_0x4d8bd3,'app':_0xc4af11,'appcode':_0x4c2bed['appcode'],'apiGroup':_0x4c2bed[_0x2c1209(0x12f)]??null,'region':_0x4c2bed[_0x2c1209(0x11a)]??null,'env':_0x4c2bed['env']??null,'credentialsWritten':![]}};}function a267_0xba62(_0x1a5a9a,_0x4ba289){_0x1a5a9a=_0x1a5a9a-0x105;const _0x2580f4=a267_0x2580();let _0xba625b=_0x2580f4[_0x1a5a9a];return _0xba625b;}const workspaceInitDefinition={'service':'workspace','command':a267_0x325347(0x129),'description':'Initialize\x20the\x20current\x20workspace\x20app\x20binding','risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x1bef32=>configureWorkspace(_0x1bef32,'init')},workspaceUseDefinition={'service':a267_0x325347(0x12d),'command':'use','description':'Switch\x20the\x20current\x20workspace\x20app\x20binding','risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x2b3d89=>configureWorkspace(_0x2b3d89,a267_0x325347(0x124))};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
1
+ const a267_0x485e0a=a267_0x464f;(function(_0xff4eed,_0x4acd2c){const _0x535314=a267_0x464f,_0x410ec4=_0xff4eed();while(!![]){try{const _0x4007c9=-parseInt(_0x535314(0x121))/0x1*(parseInt(_0x535314(0x12e))/0x2)+parseInt(_0x535314(0x12b))/0x3+parseInt(_0x535314(0x132))/0x4*(-parseInt(_0x535314(0x12f))/0x5)+-parseInt(_0x535314(0x145))/0x6*(-parseInt(_0x535314(0x141))/0x7)+-parseInt(_0x535314(0x11d))/0x8*(-parseInt(_0x535314(0x146))/0x9)+parseInt(_0x535314(0x136))/0xa+-parseInt(_0x535314(0x142))/0xb;if(_0x4007c9===_0x4acd2c)break;else _0x410ec4['push'](_0x410ec4['shift']());}catch(_0x38b8de){_0x410ec4['push'](_0x410ec4['shift']());}}}(a267_0x56e0,0x1c7af));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';function a267_0x464f(_0x5921fc,_0x320e6c){_0x5921fc=_0x5921fc-0x116;const _0x56e052=a267_0x56e0();let _0x464fd7=_0x56e052[_0x5921fc];return _0x464fd7;}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';import{normalizeStoredDefaultApp}from'../../config/schema.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../../constant/region.js';const WORKSPACE_USAGE=CLI_BIN_NAME+a267_0x485e0a(0x11e),SAFE_PROFILE_KEYS=[a267_0x485e0a(0x125),a267_0x485e0a(0x144),a267_0x485e0a(0x134),a267_0x485e0a(0x126),'apiDir','format',a267_0x485e0a(0x127),a267_0x485e0a(0x14d),a267_0x485e0a(0x13d)],workspaceFlags=[{'name':a267_0x485e0a(0x13a),'type':a267_0x485e0a(0x14e),'description':a267_0x485e0a(0x14f)},{'name':a267_0x485e0a(0x125),'type':a267_0x485e0a(0x14e),'description':'App\x20code\x20to\x20bind\x20to\x20this\x20workspace'},{'name':a267_0x485e0a(0x144),'type':a267_0x485e0a(0x14e),'description':a267_0x485e0a(0x14c)},{'name':'region','type':'string','description':a267_0x485e0a(0x151),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':'env','type':a267_0x485e0a(0x14e),'description':a267_0x485e0a(0x149),'enum':[...RABETBASE_ENV_VALUES]},{'name':a267_0x485e0a(0x116),'type':a267_0x485e0a(0x14e),'description':a267_0x485e0a(0x13b)},{'name':'defaultFormat','type':a267_0x485e0a(0x14e),'description':'Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a267_0x485e0a(0x127),'type':a267_0x485e0a(0x11f),'description':a267_0x485e0a(0x119)},{'name':'riskLevel','type':a267_0x485e0a(0x14e),'description':a267_0x485e0a(0x133),'enum':[...RISK_LEVEL_VALUES]},{'name':a267_0x485e0a(0x13d),'type':a267_0x485e0a(0x14e),'description':'App\x20locale\x20for\x20this\x20workspace\x20app\x20profile\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)'}];function isRecord(_0x3f53b5){const _0x1359be=a267_0x485e0a;return!!_0x3f53b5&&typeof _0x3f53b5===_0x1359be(0x14b)&&!Array['isArray'](_0x3f53b5);}function assertValidAppcode(_0x2e5bfe){const _0xb34b69=a267_0x485e0a,{valid:_0x731122,message:_0x48c714}=validateAppcode(_0x2e5bfe);if(!_0x731122)throw CliErrors[_0xb34b69(0x122)](_0xb34b69(0x139)+_0x2e5bfe,_0x48c714);}function sanitizeProfile(_0x545730){if(!isRecord(_0x545730))return{};const _0x2f6571={};for(const _0x2b42fe of SAFE_PROFILE_KEYS){if(_0x545730[_0x2b42fe]!==undefined)_0x2f6571[_0x2b42fe]=_0x545730[_0x2b42fe];}return _0x2f6571;}function cloneProfile(_0x38e255){return isRecord(_0x38e255)?{..._0x38e255}:{};}function collectWorkspaceProfileOverrides(_0x145871){const _0x3b5ee3=a267_0x485e0a,_0x5a54ba={},_0x21eed1=_0x145871[_0x3b5ee3(0x11a)](_0x3b5ee3(0x144)),_0x2a05b3=_0x145871[_0x3b5ee3(0x11a)]('region'),_0xff5fed=_0x145871[_0x3b5ee3(0x11a)]('env'),_0x3c91fb=_0x145871[_0x3b5ee3(0x11a)](_0x3b5ee3(0x116)),_0x48e203=_0x145871[_0x3b5ee3(0x11a)](_0x3b5ee3(0x120)),_0x1ed3f6=_0x145871[_0x3b5ee3(0x12d)]('pageSize'),_0x29bfd2=_0x145871[_0x3b5ee3(0x11a)](_0x3b5ee3(0x14d)),_0x177bc8=_0x145871[_0x3b5ee3(0x11a)](_0x3b5ee3(0x13d));if(_0x21eed1)_0x5a54ba[_0x3b5ee3(0x144)]=_0x21eed1;if(_0x2a05b3)_0x5a54ba[_0x3b5ee3(0x134)]=_0x2a05b3;if(_0xff5fed)_0x5a54ba[_0x3b5ee3(0x126)]=_0xff5fed;if(_0x3c91fb)_0x5a54ba[_0x3b5ee3(0x116)]=_0x3c91fb;if(_0x48e203)_0x5a54ba[_0x3b5ee3(0x12c)]=_0x48e203;if(_0x1ed3f6!==undefined&&_0x1ed3f6!=='')_0x5a54ba[_0x3b5ee3(0x127)]=Number(_0x1ed3f6);if(_0x29bfd2)_0x5a54ba[_0x3b5ee3(0x14d)]=_0x29bfd2;if(_0x177bc8)_0x5a54ba[_0x3b5ee3(0x13d)]=_0x177bc8;return _0x5a54ba;}function a267_0x56e0(){const _0x45f44d=['Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','region','trim','1650730FuZszZ','initialized','\x20--app\x20','Invalid\x20appcode:\x20','app','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile','App\x20\x22','locale','init','write','join','46508kgCzcw','5253479FNkWvP','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','apiGroup','204VphIaX','36MsdWIm','\x20workspace\x20','project','Target\x20environment','workspace','object','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','riskLevel','string','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace','length','Country/region\x20for\x20this\x20workspace\x20app\x20profile','use','apiDir','Switch\x20the\x20current\x20workspace\x20app\x20binding','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','str','workspace.','\x22\x20not\x20found.','260944sSRyVE','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','number','defaultFormat','40174jziVQC','validation','\x20workspace\x20use\x20--app\x20<name>`.','updated','appcode','env','pageSize','Use\x20`','.\x20Credentials:\x20not\x20written.','Missing\x20workspace\x20app\x20selector.','357348MtMNUu','format','flag','2OioQXf','35vvHOOy','globalConfig','apps','3508FmDmbs'];a267_0x56e0=function(){return _0x45f44d;};return a267_0x56e0();}async function validateWorkspaceArgs(_0x466e78){const _0x296fdb=a267_0x485e0a,_0x101dae=_0x466e78['str'](_0x296fdb(0x13a))[_0x296fdb(0x135)](),_0x1e5124=_0x466e78['str'](_0x296fdb(0x125))[_0x296fdb(0x135)]();if(!_0x101dae&&!_0x1e5124)throw CliErrors[_0x296fdb(0x122)](_0x296fdb(0x12a),_0x296fdb(0x128)+CLI_BIN_NAME+_0x296fdb(0x118)+CLI_BIN_NAME+_0x296fdb(0x123));if(_0x1e5124)assertValidAppcode(_0x1e5124);}function resolveKnownApps(){const _0x4641b7=a267_0x485e0a,{config:_0x55f8c6,layers:_0x938ba}=readRawConfigWithLayers(),_0x409141=isRecord(_0x55f8c6[_0x4641b7(0x131)])?_0x55f8c6[_0x4641b7(0x131)]:{},_0x36d461=isRecord(_0x938ba['globalConfig'][_0x4641b7(0x131)])?_0x938ba[_0x4641b7(0x130)][_0x4641b7(0x131)]:{};return{..._0x36d461,..._0x409141};}async function configureWorkspace(_0x5309a4,_0x1e00d7){const _0xa88cf3=a267_0x485e0a,_0x53c077=_0x5309a4[_0xa88cf3(0x11a)](_0xa88cf3(0x13a))['trim'](),_0x8389ad=_0x5309a4[_0xa88cf3(0x11a)](_0xa88cf3(0x125))[_0xa88cf3(0x135)](),_0xe9ae1c=_0x53c077||_0x8389ad;if(!_0xe9ae1c)throw CliErrors[_0xa88cf3(0x122)](_0xa88cf3(0x12a),_0xa88cf3(0x128)+CLI_BIN_NAME+_0xa88cf3(0x118)+CLI_BIN_NAME+_0xa88cf3(0x123));if(_0x8389ad)assertValidAppcode(_0x8389ad);const _0x8728c5=resolveWriteConfigPath(_0xa88cf3(0x148)),_0xb14e1c=readConfigFile(_0x8728c5),_0x3bbf84=resolveKnownApps(),_0x2b6284=isRecord(_0xb14e1c['apps'])?{..._0xb14e1c['apps']}:{},_0x5c8f0f=cloneProfile(_0x2b6284[_0xe9ae1c]),_0x2f02e2=sanitizeProfile(_0x3bbf84[_0xe9ae1c]),_0x51217c=_0x8389ad?{}:_0x2f02e2,_0x3e1fb6=_0x8389ad||_0x51217c[_0xa88cf3(0x125)];if(!_0x3e1fb6){const _0x4ab11a=Object['keys'](_0x3bbf84),_0x255ebe=_0x4ab11a[_0xa88cf3(0x150)]===0x0?'Use\x20`'+CLI_BIN_NAME+_0xa88cf3(0x147)+_0x1e00d7+_0xa88cf3(0x138)+_0xe9ae1c+'\x20--appcode\x20<code>`.':_0xa88cf3(0x143)+_0x4ab11a[_0xa88cf3(0x140)](',\x20');throw CliErrors['validation'](_0xa88cf3(0x13c)+_0xe9ae1c+_0xa88cf3(0x11c),_0x255ebe);}assertValidAppcode(String(_0x3e1fb6));const _0x3adc01={..._0x51217c,..._0x5c8f0f,'appcode':String(_0x3e1fb6),...collectWorkspaceProfileOverrides(_0x5309a4)};return _0x2b6284[_0xe9ae1c]=_0x3adc01,_0xb14e1c['apps']=_0x2b6284,normalizeStoredDefaultApp(_0xb14e1c,_0xe9ae1c),delete _0xb14e1c[_0xa88cf3(0x125)],delete _0xb14e1c[_0xa88cf3(0x13a)],_0x3adc01[_0xa88cf3(0x126)]&&(_0xb14e1c[_0xa88cf3(0x126)]=_0x3adc01[_0xa88cf3(0x126)]),writeConfigFile(_0x8728c5,_0xb14e1c),{'ok':!![],'message':'Workspace\x20'+(_0x1e00d7===_0xa88cf3(0x13e)?_0xa88cf3(0x137):_0xa88cf3(0x124))+':\x20'+_0xe9ae1c+'\x20(appcode:\x20'+_0x3adc01[_0xa88cf3(0x125)]+').\x20Config:\x20'+_0x8728c5+_0xa88cf3(0x129),'data':{'operation':_0xa88cf3(0x11b)+_0x1e00d7,'configPath':_0x8728c5,'app':_0xe9ae1c,'appcode':_0x3adc01[_0xa88cf3(0x125)],'apiGroup':_0x3adc01[_0xa88cf3(0x144)]??null,'region':_0x3adc01[_0xa88cf3(0x134)]??null,'env':_0x3adc01[_0xa88cf3(0x126)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a267_0x485e0a(0x14a),'command':a267_0x485e0a(0x13e),'description':'Initialize\x20the\x20current\x20workspace\x20app\x20binding','risk':a267_0x485e0a(0x13f),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x52c2d1=>configureWorkspace(_0x52c2d1,'init')},workspaceUseDefinition={'service':'workspace','command':a267_0x485e0a(0x152),'description':a267_0x485e0a(0x117),'risk':a267_0x485e0a(0x13f),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x5e8bdb=>configureWorkspace(_0x5e8bdb,'use')};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
@@ -1 +1 @@
1
- function a268_0x4095(_0x1cfe61,_0x86b001){_0x1cfe61=_0x1cfe61-0x91;const _0x268504=a268_0x2685();let _0x4095ca=_0x268504[_0x1cfe61];return _0x4095ca;}const a268_0x38b3a6=a268_0x4095;(function(_0x324038,_0x5ca3d4){const _0x22f4ca=a268_0x4095,_0x231374=_0x324038();while(!![]){try{const _0xf9ffdc=-parseInt(_0x22f4ca(0x94))/0x1*(parseInt(_0x22f4ca(0x99))/0x2)+-parseInt(_0x22f4ca(0x9e))/0x3*(-parseInt(_0x22f4ca(0x92))/0x4)+-parseInt(_0x22f4ca(0x9d))/0x5*(-parseInt(_0x22f4ca(0x98))/0x6)+-parseInt(_0x22f4ca(0x9f))/0x7*(parseInt(_0x22f4ca(0x96))/0x8)+parseInt(_0x22f4ca(0x95))/0x9*(parseInt(_0x22f4ca(0x93))/0xa)+parseInt(_0x22f4ca(0x9c))/0xb*(-parseInt(_0x22f4ca(0x9b))/0xc)+-parseInt(_0x22f4ca(0x9a))/0xd;if(_0xf9ffdc===_0x5ca3d4)break;else _0x231374['push'](_0x231374['shift']());}catch(_0x5b8dda){_0x231374['push'](_0x231374['shift']());}}}(a268_0x2685,0xe6ba6));import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';function a268_0x2685(){const _0x307525=['444HRzBaD','4125bXeifg','5vPOHgr','130545CfbpHH','177793eVezEp','workspace','remove','100eaaYvU','937870GfplIw','3181DKGUTV','81kwbieW','136ovkkBS','workspace\x20remove','6940842yjZdWW','24DvFSfX','21578349bdACxW'];a268_0x2685=function(){return _0x307525;};return a268_0x2685();}export const workspaceRemoveDefinition={'service':a268_0x38b3a6(0xa0),'command':a268_0x38b3a6(0x91),'description':'Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[{'name':'name','description':'App\x20profile\x20name\x20to\x20remove','required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x3dfb89=>validateAppName(_0x3dfb89,'workspace\x20remove'),'execute':_0x483d8d=>runAppRemove(_0x483d8d,a268_0x38b3a6(0x97))};
1
+ const a268_0x415a1a=a268_0xa69a;function a268_0xa434(){const _0x49d467=['write','420MZHvNc','9aQsvQf','868xksnVB','15aWbtRz','1832394MfnFnT','792600GuzEpi','5758627TvEtCC','457927AxUsud','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','workspace\x20remove','remove','workspace','795192LscKTf','2573368ciImZq','name'];a268_0xa434=function(){return _0x49d467;};return a268_0xa434();}(function(_0x5b908d,_0x1f3f91){const _0x1e06d6=a268_0xa69a,_0x2a1b91=_0x5b908d();while(!![]){try{const _0x3277cd=-parseInt(_0x1e06d6(0x198))/0x1+-parseInt(_0x1e06d6(0x19d))/0x2+-parseInt(_0x1e06d6(0x1a1))/0x3*(-parseInt(_0x1e06d6(0x1a3))/0x4)+-parseInt(_0x1e06d6(0x194))/0x5*(-parseInt(_0x1e06d6(0x195))/0x6)+parseInt(_0x1e06d6(0x197))/0x7+-parseInt(_0x1e06d6(0x19e))/0x8*(parseInt(_0x1e06d6(0x1a2))/0x9)+parseInt(_0x1e06d6(0x196))/0xa;if(_0x3277cd===_0x1f3f91)break;else _0x2a1b91['push'](_0x2a1b91['shift']());}catch(_0x28c868){_0x2a1b91['push'](_0x2a1b91['shift']());}}}(a268_0xa434,0xa3e48));import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';function a268_0xa69a(_0x3ca25c,_0x37f0a8){_0x3ca25c=_0x3ca25c-0x194;const _0xa434e2=a268_0xa434();let _0xa69a62=_0xa434e2[_0x3ca25c];return _0xa69a62;}export const workspaceRemoveDefinition={'service':a268_0x415a1a(0x19c),'command':a268_0x415a1a(0x19b),'description':a268_0x415a1a(0x199),'risk':a268_0x415a1a(0x1a0),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a268_0x415a1a(0x19f),'description':'App\x20profile\x20name\x20to\x20remove','required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x50f3d9=>validateAppName(_0x50f3d9,a268_0x415a1a(0x19a)),'execute':_0x2d2bb2=>runAppRemove(_0x2d2bb2,a268_0x415a1a(0x19a))};
@@ -1 +1 @@
1
- const a269_0x1fe0c5=a269_0x5632;(function(_0x2fbf69,_0x59ca84){const _0x44f568=a269_0x5632,_0x1d7c08=_0x2fbf69();while(!![]){try{const _0x3c1b13=parseInt(_0x44f568(0xc2))/0x1+-parseInt(_0x44f568(0xf7))/0x2*(-parseInt(_0x44f568(0xe6))/0x3)+-parseInt(_0x44f568(0xb4))/0x4*(parseInt(_0x44f568(0xee))/0x5)+-parseInt(_0x44f568(0xb6))/0x6*(-parseInt(_0x44f568(0xe2))/0x7)+parseInt(_0x44f568(0xd2))/0x8+-parseInt(_0x44f568(0xc9))/0x9+parseInt(_0x44f568(0xb9))/0xa*(-parseInt(_0x44f568(0x100))/0xb);if(_0x3c1b13===_0x59ca84)break;else _0x1d7c08['push'](_0x1d7c08['shift']());}catch(_0x4481d2){_0x1d7c08['push'](_0x1d7c08['shift']());}}}(a269_0x48ce,0x23142));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';import{CliErrors}from'../errors.js';import{ENTERPRISE_ROUTING_CDN_FIELDS,ENTERPRISE_ROUTING_DOMAIN_FIELDS,ENTERPRISE_ROUTING_KIND,ENTERPRISE_ROUTING_PROTOCOL,REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS,REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS}from'../generated/routing-contract.js';export const DOMAIN_CONFIG_FIELDS=['userDomain',a269_0x1fe0c5(0xe1),a269_0x1fe0c5(0xd5),'skillDomain',a269_0x1fe0c5(0xfe),a269_0x1fe0c5(0xd0),'appDomain',a269_0x1fe0c5(0xda),a269_0x1fe0c5(0xd3)];const DOMAIN_FLAGS={'userDomain':a269_0x1fe0c5(0xe3),'apiDomain':a269_0x1fe0c5(0xc1),'runtimeDomain':a269_0x1fe0c5(0xec),'skillDomain':'skill-domain','kbDomain':a269_0x1fe0c5(0xf0),'kbServiceDomain':a269_0x1fe0c5(0xc5),'appDomain':a269_0x1fe0c5(0xb7),'localDomain':a269_0x1fe0c5(0xdd),'certificateDomain':a269_0x1fe0c5(0xbd)};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a269_0x1fe0c5(0xb3),a269_0x1fe0c5(0xbf),'skillHubDomain'];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a269_0x1fe0c5(0xfb),'apiDomain':'apiDomain','runtimeDomain':a269_0x1fe0c5(0xd5),'skillDomain':a269_0x1fe0c5(0xe4),'kbDomain':a269_0x1fe0c5(0xfe),'kbServiceDomain':'kbServiceDomain','appDomain':'appDomain','localDomain':a269_0x1fe0c5(0xda),'certificateDomain':a269_0x1fe0c5(0xd3)},ROUTING_CONSUMER=a269_0x1fe0c5(0xdf);export function normalizeDomainOrigin(_0x2587c0,_0x30c6e4){const _0xef4227=a269_0x1fe0c5;if(typeof _0x30c6e4!==_0xef4227(0xfd)||!_0x30c6e4[_0xef4227(0xde)]())throw CliErrors[_0xef4227(0xf8)](_0xef4227(0xfc)+_0x2587c0+':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.');let _0x3a6957;try{_0x3a6957=new URL(_0x30c6e4[_0xef4227(0xde)]());}catch{throw CliErrors[_0xef4227(0xf8)](_0xef4227(0xfc)+_0x2587c0+':\x20\x22'+_0x30c6e4+_0xef4227(0xcf));}if(_0x3a6957[_0xef4227(0xf5)]!==_0xef4227(0xce)||_0x3a6957[_0xef4227(0x102)]||_0x3a6957['password']||_0x3a6957[_0xef4227(0x104)]!=='/'&&_0x3a6957[_0xef4227(0x104)]!==''||_0x3a6957[_0xef4227(0xf1)]||_0x3a6957['hash'])throw CliErrors[_0xef4227(0xf8)](_0xef4227(0xfc)+_0x2587c0+_0xef4227(0xcb),_0xef4227(0xc7));return _0x3a6957[_0xef4227(0xf9)];}export function normalizeRoutingDomainValue(_0x246e34,_0x27a490){const _0x6c1d29=a269_0x1fe0c5;if(typeof _0x27a490===_0x6c1d29(0xfd))return normalizeDomainOrigin(_0x246e34,_0x27a490);if(!_0x27a490||typeof _0x27a490!==_0x6c1d29(0xdb)||Array[_0x6c1d29(0xef)](_0x27a490))throw CliErrors[_0x6c1d29(0xf8)]('Invalid\x20'+_0x246e34+_0x6c1d29(0xf3));const _0x3e39f5=_0x27a490,_0x3946ab=_0x3e39f5[ROUTING_CONSUMER]??_0x3e39f5[_0x6c1d29(0xea)];if(_0x3946ab===undefined)throw CliErrors['validation'](_0x6c1d29(0xfa)+_0x246e34+_0x6c1d29(0xdc)+ROUTING_CONSUMER+_0x6c1d29(0xe5));return normalizeDomainOrigin(_0x246e34,_0x3946ab);}export function normalizeCdnBaseUrl(_0x53fd1c,_0x431621){const _0x4b36a2=a269_0x1fe0c5;if(typeof _0x431621!==_0x4b36a2(0xfd)||!_0x431621[_0x4b36a2(0xde)]())throw CliErrors[_0x4b36a2(0xf8)](_0x4b36a2(0xff)+_0x53fd1c+_0x4b36a2(0xeb));const _0x4863d8=_0x431621[_0x4b36a2(0xde)]()['replace'](/\/$/,'');let _0x4c780e;try{_0x4c780e=new URL(_0x4863d8);}catch{throw CliErrors[_0x4b36a2(0xf8)](_0x4b36a2(0xff)+_0x53fd1c+_0x4b36a2(0xc0)+_0x431621+_0x4b36a2(0xcf));}if(_0x4c780e['protocol']!==_0x4b36a2(0xce)||_0x4c780e['username']||_0x4c780e['password']||_0x4c780e[_0x4b36a2(0xf1)]||_0x4c780e[_0x4b36a2(0xb2)]||_0x4c780e[_0x4b36a2(0xed)][_0x4b36a2(0xca)](/\/$/,'')!==_0x4863d8||_0x53fd1c===_0x4b36a2(0xba)&&_0x4c780e[_0x4b36a2(0xf9)]!==_0x4863d8)throw CliErrors['validation']('Invalid\x20cdn.'+_0x53fd1c+_0x4b36a2(0xf6)+(_0x53fd1c===_0x4b36a2(0xba)?_0x4b36a2(0xf9):_0x4b36a2(0xe0))+_0x4b36a2(0xcd));return _0x4863d8;}export function resolveEnterpriseRoutingConfig(_0xd2c2f0){const _0x15b7fd=a269_0x1fe0c5;return resolveEnterpriseRoutingManifest(_0xd2c2f0)?.[_0x15b7fd(0xbb)];}export function resolveEnterpriseRoutingManifest(_0x2660b2){if(_0x2660b2===undefined)return undefined;if(!_0x2660b2||typeof _0x2660b2!=='object'||Array['isArray'](_0x2660b2))throw CliErrors['validation']('Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.');return parseEnterpriseRoutingManifest(_0x2660b2);}function a269_0x48ce(){const _0x4e7b18=['For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22','2118258eoYkdZ','replace',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','enterprise-v1','\x20without\x20credentials,\x20query,\x20or\x20fragment.','https:','\x22\x20is\x20not\x20a\x20valid\x20URL.','kbServiceDomain','Allowed\x20fields:\x20','971696QSrHOe','certificateDomain','\x22\x20and\x20kind\x20\x22','runtimeDomain','filter','domain-config','parse','join','localDomain','object','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','local-domain','trim','rabetbase-cli','base\x20URL','apiDomain','7LjcggM','user-domain','skillDomain','\x20and\x20has\x20no\x20default.','4899egtnod','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','length','kind','default',':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.','runtime-domain','href','535zECaIh','isArray','kb-domain','search','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','protocol',':\x20expected\x20an\x20HTTPS\x20','178nEhIYK','validation','origin','Enterprise\x20','userDomain','Invalid\x20','string','kbDomain','Invalid\x20cdn.','11lCBIyx','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','username','cdn','pathname','hash','agentDomain','7988kRTGEZ','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','1468026rZvjTj','app-domain','Domain\x20config\x20file\x20not\x20found:\x20','1506910bDOdax','lovrabet','domains','keys','certificate-domain','str','platformDomain',':\x20\x22','api-domain','231944qgkOFF','includes','cwd','kb-service-domain','Unsupported\x20enterprise\x20CDN\x20field(s):\x20'];a269_0x48ce=function(){return _0x4e7b18;};return a269_0x48ce();}export function readDomainConfigInput(_0x174355){const _0x2dbafb=a269_0x1fe0c5,_0x125fbd=isAbsolute(_0x174355)?_0x174355:resolve(process[_0x2dbafb(0xc4)](),_0x174355);if(!existsSync(_0x125fbd))throw CliErrors[_0x2dbafb(0xf8)](_0x2dbafb(0xb8)+_0x125fbd);let _0x65dc06;try{_0x65dc06=JSON[_0x2dbafb(0xd8)](readFileSync(_0x125fbd,'utf8'));}catch{throw CliErrors['validation']('Invalid\x20domain\x20config\x20JSON:\x20'+_0x125fbd);}if(!_0x65dc06||typeof _0x65dc06!==_0x2dbafb(0xdb)||Array[_0x2dbafb(0xef)](_0x65dc06))throw CliErrors[_0x2dbafb(0xf8)]('Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.');const _0x28297e=_0x65dc06;if(_0x2dbafb(0xf5)in _0x28297e)return parseEnterpriseRoutingManifest(_0x28297e);const _0x400d98=Object['keys'](_0x28297e)[_0x2dbafb(0xd6)](_0x3cb4b1=>!DOMAIN_CONFIG_FIELDS[_0x2dbafb(0xc3)](_0x3cb4b1));if(_0x400d98[_0x2dbafb(0xe8)]>0x0)throw CliErrors[_0x2dbafb(0xf8)]('Unsupported\x20domain\x20config\x20field(s):\x20'+_0x400d98[_0x2dbafb(0xd9)](',\x20'),_0x2dbafb(0xd1)+DOMAIN_CONFIG_FIELDS[_0x2dbafb(0xd9)](',\x20'));const _0x9c05e6={};for(const _0x46baa1 of DOMAIN_CONFIG_FIELDS){_0x28297e[_0x46baa1]!==undefined&&(_0x9c05e6[_0x46baa1]=normalizeDomainOrigin(_0x46baa1,_0x28297e[_0x46baa1]));}if(Object[_0x2dbafb(0xbc)](_0x9c05e6)['length']===0x0)throw CliErrors['validation']('Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.');return{'mode':'legacy','domains':_0x9c05e6};}export function readDomainConfig(_0x33856b){const _0x54eb18=a269_0x1fe0c5;return readDomainConfigInput(_0x33856b)[_0x54eb18(0xbb)];}export function resolveDomainConfigInput(_0x5483ee){const _0x43f389=a269_0x1fe0c5,_0x2685aa=(_0x5483ee[_0x43f389(0xbe)](_0x43f389(0xd7))||'')['trim'](),_0x4103be=_0x2685aa?readDomainConfigInput(_0x2685aa):{'mode':'legacy','domains':{}},_0x4fdd15=DOMAIN_CONFIG_FIELDS[_0x43f389(0xd6)](_0x383777=>Boolean((_0x5483ee[_0x43f389(0xbe)](DOMAIN_FLAGS[_0x383777])||'')[_0x43f389(0xde)]()));if(_0x4103be['mode']===_0x43f389(0xcc)&&_0x4fdd15[_0x43f389(0xe8)]>0x0)throw CliErrors['validation'](_0x43f389(0xf2),_0x43f389(0x101));for(const _0x16b335 of DOMAIN_CONFIG_FIELDS){const _0x3c2ee0=(_0x5483ee[_0x43f389(0xbe)](DOMAIN_FLAGS[_0x16b335])||'')[_0x43f389(0xde)]();if(_0x3c2ee0)_0x4103be[_0x43f389(0xbb)][_0x16b335]=normalizeDomainOrigin(_0x16b335,_0x3c2ee0);}return _0x4103be;}function a269_0x5632(_0xd1b68f,_0x41d9f2){_0xd1b68f=_0xd1b68f-0xb2;const _0x48cec0=a269_0x48ce();let _0x563216=_0x48cec0[_0xd1b68f];return _0x563216;}export function resolveDomainFlags(_0x1b6492){const _0x4b4960=a269_0x1fe0c5;return resolveDomainConfigInput(_0x1b6492)[_0x4b4960(0xbb)];}export function parseEnterpriseRoutingManifest(_0xd02da5){const _0x1413d8=a269_0x1fe0c5;if(_0xd02da5[_0x1413d8(0xf5)]!==ENTERPRISE_ROUTING_PROTOCOL||_0xd02da5[_0x1413d8(0xe9)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x1413d8(0xf8)](_0x1413d8(0xc8)+ENTERPRISE_ROUTING_PROTOCOL+_0x1413d8(0xd4)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0xd02da5[_0x1413d8(0xbb)]||typeof _0xd02da5[_0x1413d8(0xbb)]!==_0x1413d8(0xdb)||Array[_0x1413d8(0xef)](_0xd02da5[_0x1413d8(0xbb)]))throw CliErrors['validation'](_0x1413d8(0xb5));if(!_0xd02da5[_0x1413d8(0x103)]||typeof _0xd02da5[_0x1413d8(0x103)]!==_0x1413d8(0xdb)||Array[_0x1413d8(0xef)](_0xd02da5[_0x1413d8(0x103)]))throw CliErrors[_0x1413d8(0xf8)](_0x1413d8(0xf4));const _0x120cfa=_0xd02da5[_0x1413d8(0xbb)],_0x42dda3=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x1413d8(0xd6)](_0x31f1bb=>_0x120cfa[_0x31f1bb]===undefined);if(_0x42dda3[_0x1413d8(0xe8)]>0x0)throw CliErrors['validation']('Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20'+_0x42dda3[_0x1413d8(0xd9)](',\x20'));if(_0x120cfa['localDomain']===undefined!==(_0x120cfa[_0x1413d8(0xd3)]===undefined))throw CliErrors['validation']('Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.');const _0x468914=_0xd02da5[_0x1413d8(0x103)],_0x1c5042=Object['keys'](_0x468914)['filter'](_0x26c2d6=>!ENTERPRISE_ROUTING_CDN_FIELDS[_0x1413d8(0xc3)](_0x26c2d6));if(_0x1c5042[_0x1413d8(0xe8)]>0x0)throw CliErrors[_0x1413d8(0xf8)](_0x1413d8(0xc6)+_0x1c5042['join'](',\x20'),_0x1413d8(0xd1)+ENTERPRISE_ROUTING_CDN_FIELDS[_0x1413d8(0xd9)](',\x20'));const _0x2ca437=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS[_0x1413d8(0xd6)](_0x4e3f9e=>_0x468914[_0x4e3f9e]===undefined);if(_0x2ca437[_0x1413d8(0xe8)]>0x0)throw CliErrors['validation'](_0x1413d8(0xe7)+_0x2ca437[_0x1413d8(0xd9)](',\x20'));const _0x326775={};for(const _0x177be1 of ENTERPRISE_ROUTING_CDN_FIELDS){_0x326775[_0x177be1]=normalizeCdnBaseUrl(_0x177be1,_0x468914[_0x177be1]);}const _0x14d19c={},_0x17a081={};for(const _0x1a6514 of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x3dd9b8=_0x120cfa[_0x1a6514];if(_0x3dd9b8===undefined)continue;const _0xbc0517=normalizeRoutingDomainValue(_0x1a6514,_0x3dd9b8);_0x14d19c[_0x1a6514]=_0xbc0517;const _0xeda69b=ENTERPRISE_TO_LOCAL_FIELD[_0x1a6514];_0xeda69b&&(_0x17a081[_0xeda69b]=_0xbc0517);}return{'mode':'enterprise-v1','domains':_0x17a081,'manifestDomains':_0x14d19c,'cdn':_0x326775};}
1
+ const a269_0x4fce2f=a269_0x305d;(function(_0x4471ec,_0xebb01a){const _0x5297ae=a269_0x305d,_0x26fa88=_0x4471ec();while(!![]){try{const _0x41ba1f=parseInt(_0x5297ae(0xca))/0x1+parseInt(_0x5297ae(0xf4))/0x2*(parseInt(_0x5297ae(0xfb))/0x3)+parseInt(_0x5297ae(0xcb))/0x4+parseInt(_0x5297ae(0xd7))/0x5*(-parseInt(_0x5297ae(0xd4))/0x6)+-parseInt(_0x5297ae(0xc1))/0x7*(-parseInt(_0x5297ae(0xed))/0x8)+-parseInt(_0x5297ae(0x100))/0x9+-parseInt(_0x5297ae(0xf5))/0xa;if(_0x41ba1f===_0xebb01a)break;else _0x26fa88['push'](_0x26fa88['shift']());}catch(_0x4cbcf3){_0x26fa88['push'](_0x26fa88['shift']());}}}(a269_0x49d3,0x5e009));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';import{CliErrors}from'../errors.js';import{ENTERPRISE_ROUTING_CDN_FIELDS,ENTERPRISE_ROUTING_DOMAIN_FIELDS,ENTERPRISE_ROUTING_KIND,ENTERPRISE_ROUTING_PROTOCOL,REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS,REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS}from'../generated/routing-contract.js';export const DOMAIN_CONFIG_FIELDS=[a269_0x4fce2f(0xe2),a269_0x4fce2f(0xc7),a269_0x4fce2f(0xda),a269_0x4fce2f(0xe3),a269_0x4fce2f(0x102),a269_0x4fce2f(0xf8),a269_0x4fce2f(0xe4),'localDomain','certificateDomain'];const DOMAIN_FLAGS={'userDomain':a269_0x4fce2f(0x10d),'apiDomain':a269_0x4fce2f(0xd8),'runtimeDomain':a269_0x4fce2f(0x107),'skillDomain':a269_0x4fce2f(0xd1),'kbDomain':a269_0x4fce2f(0xc6),'kbServiceDomain':a269_0x4fce2f(0xfc),'appDomain':a269_0x4fce2f(0x10c),'localDomain':'local-domain','certificateDomain':a269_0x4fce2f(0xeb)};export const LEGACY_DOMAIN_CONFIG_FIELDS=['agentDomain',a269_0x4fce2f(0xfa),a269_0x4fce2f(0x10a)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':'userDomain','apiDomain':a269_0x4fce2f(0xc7),'runtimeDomain':'runtimeDomain','skillDomain':'skillDomain','kbDomain':a269_0x4fce2f(0x102),'kbServiceDomain':a269_0x4fce2f(0xf8),'appDomain':a269_0x4fce2f(0xe4),'localDomain':a269_0x4fce2f(0x108),'certificateDomain':a269_0x4fce2f(0xc3)},ROUTING_CONSUMER=a269_0x4fce2f(0xc5);export function normalizeDomainOrigin(_0x29b732,_0x40533e){const _0x1ce045=a269_0x4fce2f;if(typeof _0x40533e!==_0x1ce045(0xfe)||!_0x40533e[_0x1ce045(0x103)]())throw CliErrors['validation'](_0x1ce045(0x110)+_0x29b732+_0x1ce045(0x105));let _0x10aafb;try{_0x10aafb=new URL(_0x40533e['trim']());}catch{throw CliErrors[_0x1ce045(0xd0)](_0x1ce045(0x110)+_0x29b732+_0x1ce045(0xe8)+_0x40533e+_0x1ce045(0x10e));}if(_0x10aafb[_0x1ce045(0xd3)]!==_0x1ce045(0x106)||_0x10aafb[_0x1ce045(0xf3)]||_0x10aafb[_0x1ce045(0xe0)]||_0x10aafb[_0x1ce045(0xe6)]!=='/'&&_0x10aafb[_0x1ce045(0xe6)]!==''||_0x10aafb[_0x1ce045(0xcd)]||_0x10aafb['hash'])throw CliErrors['validation'](_0x1ce045(0x110)+_0x29b732+':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.',_0x1ce045(0xfd));return _0x10aafb['origin'];}export function normalizeRoutingDomainValue(_0x10aa40,_0x57416f){const _0x5f37fa=a269_0x4fce2f;if(typeof _0x57416f===_0x5f37fa(0xfe))return normalizeDomainOrigin(_0x10aa40,_0x57416f);if(!_0x57416f||typeof _0x57416f!==_0x5f37fa(0x104)||Array[_0x5f37fa(0x112)](_0x57416f))throw CliErrors[_0x5f37fa(0xd0)]('Invalid\x20'+_0x10aa40+_0x5f37fa(0x10b));const _0xdaabe5=_0x57416f,_0x46f78d=_0xdaabe5[ROUTING_CONSUMER]??_0xdaabe5['default'];if(_0x46f78d===undefined)throw CliErrors['validation']('Enterprise\x20'+_0x10aa40+_0x5f37fa(0xe9)+ROUTING_CONSUMER+_0x5f37fa(0xf9));return normalizeDomainOrigin(_0x10aa40,_0x46f78d);}export function normalizeCdnBaseUrl(_0x88a4a4,_0x1e3f80){const _0x4dc8a6=a269_0x4fce2f;if(typeof _0x1e3f80!=='string'||!_0x1e3f80[_0x4dc8a6(0x103)]())throw CliErrors[_0x4dc8a6(0xd0)](_0x4dc8a6(0xea)+_0x88a4a4+':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.');const _0x2178e5=_0x1e3f80[_0x4dc8a6(0x103)]()['replace'](/\/$/,'');let _0x3eca79;try{_0x3eca79=new URL(_0x2178e5);}catch{throw CliErrors['validation'](_0x4dc8a6(0xea)+_0x88a4a4+_0x4dc8a6(0xe8)+_0x1e3f80+_0x4dc8a6(0x10e));}if(_0x3eca79['protocol']!==_0x4dc8a6(0x106)||_0x3eca79[_0x4dc8a6(0xf3)]||_0x3eca79['password']||_0x3eca79[_0x4dc8a6(0xcd)]||_0x3eca79[_0x4dc8a6(0xd9)]||_0x3eca79[_0x4dc8a6(0xd2)][_0x4dc8a6(0xc2)](/\/$/,'')!==_0x2178e5||_0x88a4a4===_0x4dc8a6(0x109)&&_0x3eca79[_0x4dc8a6(0x101)]!==_0x2178e5)throw CliErrors['validation'](_0x4dc8a6(0xea)+_0x88a4a4+':\x20expected\x20an\x20HTTPS\x20'+(_0x88a4a4===_0x4dc8a6(0x109)?_0x4dc8a6(0x101):'base\x20URL')+_0x4dc8a6(0xc4));return _0x2178e5;}export function resolveEnterpriseRoutingConfig(_0x257a7b){const _0x250ea0=a269_0x4fce2f;return resolveEnterpriseRoutingManifest(_0x257a7b)?.[_0x250ea0(0xcc)];}export function resolveEnterpriseRoutingManifest(_0x1063ab){const _0xf06cbf=a269_0x4fce2f;if(_0x1063ab===undefined)return undefined;if(!_0x1063ab||typeof _0x1063ab!=='object'||Array[_0xf06cbf(0x112)](_0x1063ab))throw CliErrors[_0xf06cbf(0xd0)](_0xf06cbf(0xd5));return parseEnterpriseRoutingManifest(_0x1063ab);}export function readDomainConfigInput(_0x45fcc4){const _0x1bb0c7=a269_0x4fce2f,_0x4f1fa9=isAbsolute(_0x45fcc4)?_0x45fcc4:resolve(process[_0x1bb0c7(0xf6)](),_0x45fcc4);if(!existsSync(_0x4f1fa9))throw CliErrors[_0x1bb0c7(0xd0)](_0x1bb0c7(0xe7)+_0x4f1fa9);let _0x3228aa;try{_0x3228aa=JSON[_0x1bb0c7(0xe5)](readFileSync(_0x4f1fa9,_0x1bb0c7(0xf0)));}catch{throw CliErrors[_0x1bb0c7(0xd0)]('Invalid\x20domain\x20config\x20JSON:\x20'+_0x4f1fa9);}if(!_0x3228aa||typeof _0x3228aa!==_0x1bb0c7(0x104)||Array[_0x1bb0c7(0x112)](_0x3228aa))throw CliErrors[_0x1bb0c7(0xd0)](_0x1bb0c7(0xdd));const _0x3c8fb7=_0x3228aa;if(_0x1bb0c7(0xd3)in _0x3c8fb7)return parseEnterpriseRoutingManifest(_0x3c8fb7);const _0x3314cc=Object[_0x1bb0c7(0xc9)](_0x3c8fb7)[_0x1bb0c7(0xdf)](_0x1e2b31=>!DOMAIN_CONFIG_FIELDS['includes'](_0x1e2b31));if(_0x3314cc[_0x1bb0c7(0xdb)]>0x0)throw CliErrors['validation']('Unsupported\x20domain\x20config\x20field(s):\x20'+_0x3314cc[_0x1bb0c7(0xdc)](',\x20'),'Allowed\x20fields:\x20'+DOMAIN_CONFIG_FIELDS['join'](',\x20'));const _0x396aa1={};for(const _0xd56563 of DOMAIN_CONFIG_FIELDS){_0x3c8fb7[_0xd56563]!==undefined&&(_0x396aa1[_0xd56563]=normalizeDomainOrigin(_0xd56563,_0x3c8fb7[_0xd56563]));}if(Object[_0x1bb0c7(0xc9)](_0x396aa1)[_0x1bb0c7(0xdb)]===0x0)throw CliErrors[_0x1bb0c7(0xd0)](_0x1bb0c7(0xe1));return{'mode':_0x1bb0c7(0xde),'domains':_0x396aa1};}export function readDomainConfig(_0x2cd530){const _0x4a274d=a269_0x4fce2f;return readDomainConfigInput(_0x2cd530)[_0x4a274d(0xcc)];}export function resolveDomainConfigInput(_0x22c376){const _0x4a93cc=a269_0x4fce2f,_0x1d8b0d=(_0x22c376['str']('domain-config')||'')['trim'](),_0x4a6cd2=_0x1d8b0d?readDomainConfigInput(_0x1d8b0d):{'mode':'legacy','domains':{}},_0x5d1bb7=DOMAIN_CONFIG_FIELDS[_0x4a93cc(0xdf)](_0x16ebcd=>Boolean((_0x22c376['str'](DOMAIN_FLAGS[_0x16ebcd])||'')['trim']()));if(_0x4a6cd2[_0x4a93cc(0x10f)]===_0x4a93cc(0x113)&&_0x5d1bb7[_0x4a93cc(0xdb)]>0x0)throw CliErrors[_0x4a93cc(0xd0)](_0x4a93cc(0xce),_0x4a93cc(0xcf));for(const _0x4fc8f5 of DOMAIN_CONFIG_FIELDS){const _0x283197=(_0x22c376['str'](DOMAIN_FLAGS[_0x4fc8f5])||'')[_0x4a93cc(0x103)]();if(_0x283197)_0x4a6cd2[_0x4a93cc(0xcc)][_0x4fc8f5]=normalizeDomainOrigin(_0x4fc8f5,_0x283197);}return _0x4a6cd2;}export function resolveDomainFlags(_0x547965){return resolveDomainConfigInput(_0x547965)['domains'];}function a269_0x305d(_0x5472ac,_0x241376){_0x5472ac=_0x5472ac-0xc1;const _0x49d359=a269_0x49d3();let _0x305dbc=_0x49d359[_0x5472ac];return _0x305dbc;}export function parseEnterpriseRoutingManifest(_0x4d8cd6){const _0x36138a=a269_0x4fce2f;if(_0x4d8cd6[_0x36138a(0xd3)]!==ENTERPRISE_ROUTING_PROTOCOL||_0x4d8cd6[_0x36138a(0xd6)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x36138a(0xd0)](_0x36138a(0xec)+ENTERPRISE_ROUTING_PROTOCOL+_0x36138a(0xf1)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x4d8cd6[_0x36138a(0xcc)]||typeof _0x4d8cd6[_0x36138a(0xcc)]!==_0x36138a(0x104)||Array[_0x36138a(0x112)](_0x4d8cd6[_0x36138a(0xcc)]))throw CliErrors[_0x36138a(0xd0)]('Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.');if(!_0x4d8cd6['cdn']||typeof _0x4d8cd6['cdn']!=='object'||Array['isArray'](_0x4d8cd6[_0x36138a(0xef)]))throw CliErrors[_0x36138a(0xd0)](_0x36138a(0xc8));const _0x24c727=_0x4d8cd6[_0x36138a(0xcc)],_0x13d2d7=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS['filter'](_0x13ac31=>_0x24c727[_0x13ac31]===undefined);if(_0x13d2d7[_0x36138a(0xdb)]>0x0)throw CliErrors[_0x36138a(0xd0)](_0x36138a(0x111)+_0x13d2d7[_0x36138a(0xdc)](',\x20'));if(_0x24c727['localDomain']===undefined!==(_0x24c727[_0x36138a(0xc3)]===undefined))throw CliErrors['validation'](_0x36138a(0xff));const _0x55965d=_0x4d8cd6[_0x36138a(0xef)],_0x13f74b=Object[_0x36138a(0xc9)](_0x55965d)[_0x36138a(0xdf)](_0x3aa2c9=>!ENTERPRISE_ROUTING_CDN_FIELDS['includes'](_0x3aa2c9));if(_0x13f74b[_0x36138a(0xdb)]>0x0)throw CliErrors[_0x36138a(0xd0)](_0x36138a(0xf2)+_0x13f74b['join'](',\x20'),_0x36138a(0xee)+ENTERPRISE_ROUTING_CDN_FIELDS['join'](',\x20'));const _0x35f8f8=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS[_0x36138a(0xdf)](_0x3d194f=>_0x55965d[_0x3d194f]===undefined);if(_0x35f8f8[_0x36138a(0xdb)]>0x0)throw CliErrors['validation'](_0x36138a(0xf7)+_0x35f8f8['join'](',\x20'));const _0x89dca3={};for(const _0x4de2cb of ENTERPRISE_ROUTING_CDN_FIELDS){_0x89dca3[_0x4de2cb]=normalizeCdnBaseUrl(_0x4de2cb,_0x55965d[_0x4de2cb]);}const _0x5c7523={},_0x9c1e3b={};for(const _0x29b060 of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x758990=_0x24c727[_0x29b060];if(_0x758990===undefined)continue;const _0x51c64c=normalizeRoutingDomainValue(_0x29b060,_0x758990);_0x5c7523[_0x29b060]=_0x51c64c;const _0x1d8dec=ENTERPRISE_TO_LOCAL_FIELD[_0x29b060];_0x1d8dec&&(_0x9c1e3b[_0x1d8dec]=_0x51c64c);}return{'mode':'enterprise-v1','domains':_0x9c1e3b,'manifestDomains':_0x5c7523,'cdn':_0x89dca3};}function a269_0x49d3(){const _0x3d6b77=['Domain\x20config\x20file\x20not\x20found:\x20',':\x20\x22','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','Invalid\x20cdn.','certificate-domain','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22','2549912ysFjkg','Allowed\x20fields:\x20','cdn','utf8','\x22\x20and\x20kind\x20\x22','Unsupported\x20enterprise\x20CDN\x20field(s):\x20','username','2PKNqXt','17237270PjECYy','cwd','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','kbServiceDomain','\x20and\x20has\x20no\x20default.','platformDomain','1257543jVXnFc','kb-service-domain','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','string','Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','3816729lGfKwV','origin','kbDomain','trim','object',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','https:','runtime-domain','localDomain','lovrabet','skillHubDomain',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.','app-domain','user-domain','\x22\x20is\x20not\x20a\x20valid\x20URL.','mode','Invalid\x20','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','isArray','enterprise-v1','14hfLwoi','replace','certificateDomain','\x20without\x20credentials,\x20query,\x20or\x20fragment.','rabetbase-cli','kb-domain','apiDomain','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','keys','767607MkTGtp','2918204qcvuzo','domains','search','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','validation','skill-domain','href','protocol','6pvmAkt','Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.','kind','104880FuZSkm','api-domain','hash','runtimeDomain','length','join','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','legacy','filter','password','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','userDomain','skillDomain','appDomain','parse','pathname'];a269_0x49d3=function(){return _0x3d6b77;};return a269_0x49d3();}
@@ -1 +1 @@
1
- const a270_0x13e756=a270_0x1801;function a270_0x3c44(){const _0x354e9f=['independent','origin','4231FLVlVe','218935AMKmpD','2584304slzBIK','232keYXnY','utf8','8QhrPCJ','/cert/lovrabet-dev.json','stringify','9ChqsPu','pid','lovrabet-project-domain-routing/v1','2364710TIgYqx','72228HjAqZk','lovrabet','http://localhost','4069410KItzsE','now','local','rabetbase.domain-routing.json','1188JLqEJM','3183866xOqFlN','6ZLazLZ','official'];a270_0x3c44=function(){return _0x354e9f;};return a270_0x3c44();}function a270_0x1801(_0x2b118d,_0x114e24){_0x2b118d=_0x2b118d-0x1f2;const _0x3c4456=a270_0x3c44();let _0x180154=_0x3c4456[_0x2b118d];return _0x180154;}(function(_0x526bd4,_0x178eb5){const _0x4a4cf2=a270_0x1801,_0x1df0cf=_0x526bd4();while(!![]){try{const _0x40e586=-parseInt(_0x4a4cf2(0x1fe))/0x1*(-parseInt(_0x4a4cf2(0x201))/0x2)+parseInt(_0x4a4cf2(0x1f4))/0x3+parseInt(_0x4a4cf2(0x203))/0x4*(-parseInt(_0x4a4cf2(0x1ff))/0x5)+parseInt(_0x4a4cf2(0x1fa))/0x6*(-parseInt(_0x4a4cf2(0x1f9))/0x7)+parseInt(_0x4a4cf2(0x200))/0x8+parseInt(_0x4a4cf2(0x206))/0x9*(-parseInt(_0x4a4cf2(0x209))/0xa)+parseInt(_0x4a4cf2(0x1f8))/0xb*(-parseInt(_0x4a4cf2(0x20a))/0xc);if(_0x40e586===_0x178eb5)break;else _0x1df0cf['push'](_0x1df0cf['shift']());}catch(_0x10260d){_0x1df0cf['push'](_0x1df0cf['shift']());}}}(a270_0x3c44,0xb4ff9));import{readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{join}from'node:path';import{getActiveRegion,getActiveCdn,getApiDomain,getAppDomain,getCertificateDomain,getKbDomain,getLocalDomain,getRuntimeDomain,getSkillDomain,getUserDomain,isIndependentDeployment}from'../constant/domain.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';export const PROJECT_DOMAIN_ROUTING_FILE_NAME=a270_0x13e756(0x1f7);export const PROJECT_DOMAIN_ROUTING_PROTOCOL=a270_0x13e756(0x208);export function getProjectDomainRoutingManifest(){const _0x512d41=a270_0x13e756,_0xe78150=getActiveRegion(),_0x30d098=isIndependentDeployment(),_0x70d1d4=getOfficialRoutingProfile(_0xe78150),_0x2cc39e=getLocalDomain(),_0x4421c6=getCertificateDomain(),_0x5214b5=getActiveCdn();if(!!_0x2cc39e!==!!_0x4421c6)throw new Error('Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.');return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x30d098?_0x512d41(0x1fc):_0x512d41(0x1fb),'region':_0x30d098?null:_0xe78150,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x5214b5,'local':_0x2cc39e&&_0x4421c6?{'origin':_0x2cc39e,'certificateUrl':_0x4421c6+_0x512d41(0x204)}:_0x30d098?{'origin':_0x512d41(0x1f3)}:{'origin':_0x70d1d4[_0x512d41(0x1f6)][_0x512d41(0x1fd)],'certificateUrl':_0x5214b5[_0x512d41(0x1f2)]+_0x512d41(0x204)}};}export function writeProjectDomainRoutingManifest(_0x2c9797){const _0x41281a=a270_0x13e756,_0x51e5e2=getProjectDomainRoutingManifest(),_0x3db86a=join(_0x2c9797,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x4302b0=JSON[_0x41281a(0x205)](_0x51e5e2,null,0x2)+'\x0a';try{if(readFileSync(_0x3db86a,_0x41281a(0x202))===_0x4302b0)return{'path':_0x3db86a,'manifest':_0x51e5e2,'changed':![]};}catch{}const _0x43f053=_0x3db86a+'.'+process[_0x41281a(0x207)]+'.'+Date[_0x41281a(0x1f5)]()+'.tmp';try{writeFileSync(_0x43f053,_0x4302b0,{'encoding':_0x41281a(0x202),'mode':0x1a4}),renameSync(_0x43f053,_0x3db86a);}catch(_0x175cde){try{unlinkSync(_0x43f053);}catch{}throw _0x175cde;}return{'path':_0x3db86a,'manifest':_0x51e5e2,'changed':!![]};}
1
+ (function(_0x45b2fc,_0x1dd375){const _0x1972cd=a270_0xdadf,_0x53cc5c=_0x45b2fc();while(!![]){try{const _0x5b3e79=parseInt(_0x1972cd(0x144))/0x1+parseInt(_0x1972cd(0x137))/0x2+parseInt(_0x1972cd(0x134))/0x3+parseInt(_0x1972cd(0x133))/0x4*(parseInt(_0x1972cd(0x136))/0x5)+-parseInt(_0x1972cd(0x130))/0x6*(parseInt(_0x1972cd(0x139))/0x7)+-parseInt(_0x1972cd(0x132))/0x8*(parseInt(_0x1972cd(0x13e))/0x9)+-parseInt(_0x1972cd(0x140))/0xa*(parseInt(_0x1972cd(0x13f))/0xb);if(_0x5b3e79===_0x1dd375)break;else _0x53cc5c['push'](_0x53cc5c['shift']());}catch(_0xecc7df){_0x53cc5c['push'](_0x53cc5c['shift']());}}}(a270_0x57da,0x944e5));function a270_0xdadf(_0x37b111,_0x2d1d31){_0x37b111=_0x37b111-0x130;const _0x57dae4=a270_0x57da();let _0xdadfc4=_0x57dae4[_0x37b111];return _0xdadfc4;}import{readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';function a270_0x57da(){const _0xa0af98=['stringify','7432WwfqVt','4zDQmSD','1615986jKgdzN','origin','4441605otBKay','1108984pEGzWu','utf8','280805kHFsrg','local','Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','pid','independent','2502JFBAZc','18989234CDVjUC','10yWFaoa','official','now','/cert/lovrabet-dev.json','811117XpAmVF','http://localhost','30QqzTgO'];a270_0x57da=function(){return _0xa0af98;};return a270_0x57da();}import{join}from'node:path';import{getActiveRegion,getActiveCdn,getApiDomain,getAppDomain,getCertificateDomain,getKbDomain,getLocalDomain,getRuntimeDomain,getSkillDomain,getUserDomain,isIndependentDeployment}from'../constant/domain.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';export const PROJECT_DOMAIN_ROUTING_FILE_NAME='rabetbase.domain-routing.json';export const PROJECT_DOMAIN_ROUTING_PROTOCOL='lovrabet-project-domain-routing/v1';export function getProjectDomainRoutingManifest(){const _0x395600=a270_0xdadf,_0x573ae7=getActiveRegion(),_0x5b82ea=isIndependentDeployment(),_0x5d8f0d=getOfficialRoutingProfile(_0x573ae7),_0x40e39c=getLocalDomain(),_0x1efb81=getCertificateDomain(),_0x4c5b27=getActiveCdn();if(!!_0x40e39c!==!!_0x1efb81)throw new Error(_0x395600(0x13b));return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x5b82ea?_0x395600(0x13d):_0x395600(0x141),'region':_0x5b82ea?null:_0x573ae7,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x4c5b27,'local':_0x40e39c&&_0x1efb81?{'origin':_0x40e39c,'certificateUrl':_0x1efb81+_0x395600(0x143)}:_0x5b82ea?{'origin':_0x395600(0x145)}:{'origin':_0x5d8f0d[_0x395600(0x13a)][_0x395600(0x135)],'certificateUrl':_0x4c5b27['lovrabet']+'/cert/lovrabet-dev.json'}};}export function writeProjectDomainRoutingManifest(_0x35ff11){const _0x2f4310=a270_0xdadf,_0xfd7b01=getProjectDomainRoutingManifest(),_0x4b1b3d=join(_0x35ff11,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x4bd36f=JSON[_0x2f4310(0x131)](_0xfd7b01,null,0x2)+'\x0a';try{if(readFileSync(_0x4b1b3d,'utf8')===_0x4bd36f)return{'path':_0x4b1b3d,'manifest':_0xfd7b01,'changed':![]};}catch{}const _0x209811=_0x4b1b3d+'.'+process[_0x2f4310(0x13c)]+'.'+Date[_0x2f4310(0x142)]()+'.tmp';try{writeFileSync(_0x209811,_0x4bd36f,{'encoding':_0x2f4310(0x138),'mode':0x1a4}),renameSync(_0x209811,_0x4b1b3d);}catch(_0x4097a0){try{unlinkSync(_0x209811);}catch{}throw _0x4097a0;}return{'path':_0x4b1b3d,'manifest':_0xfd7b01,'changed':!![]};}
@@ -1 +1 @@
1
- const a271_0x2cd80a=a271_0x47a5;(function(_0x5734e1,_0x176dcf){const _0x3219fd=a271_0x47a5,_0x149916=_0x5734e1();while(!![]){try{const _0x44e683=parseInt(_0x3219fd(0x12a))/0x1*(-parseInt(_0x3219fd(0x123))/0x2)+-parseInt(_0x3219fd(0x122))/0x3*(-parseInt(_0x3219fd(0x11b))/0x4)+-parseInt(_0x3219fd(0x12f))/0x5+parseInt(_0x3219fd(0x125))/0x6+parseInt(_0x3219fd(0x11a))/0x7*(-parseInt(_0x3219fd(0x12c))/0x8)+-parseInt(_0x3219fd(0x112))/0x9*(parseInt(_0x3219fd(0x12b))/0xa)+parseInt(_0x3219fd(0x115))/0xb;if(_0x44e683===_0x176dcf)break;else _0x149916['push'](_0x149916['shift']());}catch(_0x5e4bda){_0x149916['push'](_0x149916['shift']());}}}(a271_0x16e9,0xbaf80));import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'../constant/region.js';function a271_0x16e9(){const _0x2dcbf4=['13486495inutjb','global','value','project\x20Rabetbase\x20configuration','a\x20value\x20of\x20type\x20','14SrASbi','4coeeID','stringify','globalRegion','default','appName','app','Invalid\x20country/region\x20','3974049ZwpsAO','4rYkpHJ','null','3385686qukFYz','Rabetbase\x20configuration','source','mergedRegion','projectRegion','165351ilQpeJ','6673580xJJEgO','4255896niZmgq','\x20in\x20','appRegion','1435755xGOdbA','project','9vvtzBS','Run\x20`','config'];a271_0x16e9=function(){return _0x2dcbf4;};return a271_0x16e9();}import{CliErrors}from'../errors.js';export function selectConfiguredRegion(_0x623df5){const _0x4ee9ec=a271_0x47a5;if(_0x623df5[_0x4ee9ec(0x12e)]!==undefined&&_0x623df5[_0x4ee9ec(0x12e)]!==null&&_0x623df5['appRegion']!=='')return{'value':_0x623df5['appRegion'],'source':_0x4ee9ec(0x120)};if(_0x623df5[_0x4ee9ec(0x129)]!==undefined&&_0x623df5[_0x4ee9ec(0x129)]!==null&&_0x623df5[_0x4ee9ec(0x129)]!=='')return{'value':_0x623df5[_0x4ee9ec(0x129)],'source':_0x4ee9ec(0x130)};if(_0x623df5[_0x4ee9ec(0x11d)]!==undefined&&_0x623df5[_0x4ee9ec(0x11d)]!==null&&_0x623df5[_0x4ee9ec(0x11d)]!=='')return{'value':_0x623df5[_0x4ee9ec(0x11d)],'source':_0x4ee9ec(0x116)};if(_0x623df5[_0x4ee9ec(0x128)]!==undefined&&_0x623df5[_0x4ee9ec(0x128)]!==null&&_0x623df5['mergedRegion']!=='')return{'value':_0x623df5['mergedRegion'],'source':_0x4ee9ec(0x114)};return{'value':undefined,'source':_0x4ee9ec(0x11e)};}function describeConfiguredRegion(_0x333488){const _0x305a37=a271_0x47a5;return typeof _0x333488==='string'?JSON[_0x305a37(0x11c)](_0x333488):_0x305a37(0x119)+(_0x333488===null?_0x305a37(0x124):typeof _0x333488);}export function resolveConfiguredRegion(_0xa71f2,_0x4f84c2=a271_0x2cd80a(0x126)){const _0x24b402=a271_0x2cd80a;if(isInvalidLovrabetRegion(_0xa71f2))throw CliErrors['validation'](_0x24b402(0x121)+describeConfiguredRegion(_0xa71f2)+_0x24b402(0x12d)+_0x4f84c2+'.',_0x24b402(0x113)+CLI_BIN_NAME+'\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.');return normalizeLovrabetRegion(_0xa71f2)??DEFAULT_LOVRABET_REGION;}function a271_0x47a5(_0x58d2f3,_0x306151){_0x58d2f3=_0x58d2f3-0x112;const _0x16e982=a271_0x16e9();let _0x47a508=_0x16e982[_0x58d2f3];return _0x47a508;}export function resolveEffectiveRegion(_0x55ffd6){const _0x3dfab9=a271_0x2cd80a,_0x98afe=selectConfiguredRegion(_0x55ffd6),_0x5868dc=_0x98afe[_0x3dfab9(0x127)]===_0x3dfab9(0x120)?_0x55ffd6['appName']?'app\x20profile\x20\x22'+_0x55ffd6[_0x3dfab9(0x11f)]+'\x22':'selected\x20app\x20profile':_0x98afe['source']===_0x3dfab9(0x130)?_0x3dfab9(0x118):_0x98afe['source']==='global'?'global\x20Rabetbase\x20configuration':_0x3dfab9(0x126);return{'region':resolveConfiguredRegion(_0x98afe[_0x3dfab9(0x117)],_0x5868dc),'source':_0x98afe[_0x3dfab9(0x127)]};}
1
+ const a271_0x5179ba=a271_0x2f1f;function a271_0x2f1f(_0xe80912,_0x446340){_0xe80912=_0xe80912-0x121;const _0x216879=a271_0x2168();let _0x2f1f57=_0x216879[_0xe80912];return _0x2f1f57;}(function(_0x2bdd6f,_0x588317){const _0x411ded=a271_0x2f1f,_0x37dc0e=_0x2bdd6f();while(!![]){try{const _0x4e6005=parseInt(_0x411ded(0x13a))/0x1*(parseInt(_0x411ded(0x128))/0x2)+parseInt(_0x411ded(0x127))/0x3+parseInt(_0x411ded(0x131))/0x4+parseInt(_0x411ded(0x126))/0x5*(parseInt(_0x411ded(0x12f))/0x6)+-parseInt(_0x411ded(0x12e))/0x7*(-parseInt(_0x411ded(0x124))/0x8)+parseInt(_0x411ded(0x135))/0x9+-parseInt(_0x411ded(0x136))/0xa*(parseInt(_0x411ded(0x129))/0xb);if(_0x4e6005===_0x588317)break;else _0x37dc0e['push'](_0x37dc0e['shift']());}catch(_0x136d9b){_0x37dc0e['push'](_0x37dc0e['shift']());}}}(a271_0x2168,0x35bd4));import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'../constant/region.js';import{CliErrors}from'../errors.js';export function selectConfiguredRegion(_0x3f933e){const _0x591acd=a271_0x2f1f;if(_0x3f933e[_0x591acd(0x13d)]!==undefined&&_0x3f933e[_0x591acd(0x13d)]!==null&&_0x3f933e[_0x591acd(0x13d)]!=='')return{'value':_0x3f933e[_0x591acd(0x13d)],'source':_0x591acd(0x12d)};if(_0x3f933e[_0x591acd(0x13c)]!==undefined&&_0x3f933e[_0x591acd(0x13c)]!==null&&_0x3f933e[_0x591acd(0x13c)]!=='')return{'value':_0x3f933e[_0x591acd(0x13c)],'source':_0x591acd(0x12a)};if(_0x3f933e['globalRegion']!==undefined&&_0x3f933e['globalRegion']!==null&&_0x3f933e[_0x591acd(0x142)]!=='')return{'value':_0x3f933e[_0x591acd(0x142)],'source':'global'};if(_0x3f933e[_0x591acd(0x138)]!==undefined&&_0x3f933e[_0x591acd(0x138)]!==null&&_0x3f933e['mergedRegion']!=='')return{'value':_0x3f933e[_0x591acd(0x138)],'source':_0x591acd(0x134)};return{'value':undefined,'source':_0x591acd(0x137)};}function describeConfiguredRegion(_0x10c715){const _0x4c938f=a271_0x2f1f;return typeof _0x10c715==='string'?JSON[_0x4c938f(0x123)](_0x10c715):_0x4c938f(0x13f)+(_0x10c715===null?_0x4c938f(0x133):typeof _0x10c715);}export function resolveConfiguredRegion(_0x3a747b,_0x2b1530=a271_0x5179ba(0x139)){const _0x297dbe=a271_0x5179ba;if(isInvalidLovrabetRegion(_0x3a747b))throw CliErrors[_0x297dbe(0x140)]('Invalid\x20country/region\x20'+describeConfiguredRegion(_0x3a747b)+_0x297dbe(0x13b)+_0x2b1530+'.',_0x297dbe(0x132)+CLI_BIN_NAME+_0x297dbe(0x122));return normalizeLovrabetRegion(_0x3a747b)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x2753b7){const _0x372961=a271_0x5179ba,_0x1a88d2=selectConfiguredRegion(_0x2753b7),_0xca4fdd=_0x1a88d2[_0x372961(0x12b)]==='app'?_0x2753b7[_0x372961(0x13e)]?_0x372961(0x121)+_0x2753b7[_0x372961(0x13e)]+'\x22':_0x372961(0x141):_0x1a88d2['source']==='project'?_0x372961(0x130):_0x1a88d2['source']===_0x372961(0x12c)?_0x372961(0x125):_0x372961(0x139);return{'region':resolveConfiguredRegion(_0x1a88d2['value'],_0xca4fdd),'source':_0x1a88d2[_0x372961(0x12b)]};}function a271_0x2168(){const _0x57e721=['null','config','2561049OkroPx','10MUaRUS','default','mergedRegion','Rabetbase\x20configuration','413247HKQhYw','\x20in\x20','projectRegion','appRegion','appName','a\x20value\x20of\x20type\x20','validation','selected\x20app\x20profile','globalRegion','app\x20profile\x20\x22','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','stringify','8HUfLZE','global\x20Rabetbase\x20configuration','10EGfRvR','866637lSZCCc','2WkUyun','19576733dQDlwp','project','source','global','app','2449678dxMhOO','737772eYlvIb','project\x20Rabetbase\x20configuration','1669016fcgKPA','Run\x20`'];a271_0x2168=function(){return _0x57e721;};return a271_0x2168();}
@@ -1 +1 @@
1
- const a272_0x4c385d=a272_0x3646;(function(_0x36ff47,_0x1cf518){const _0x144980=a272_0x3646,_0x175b68=_0x36ff47();while(!![]){try{const _0x2db849=parseInt(_0x144980(0x1ca))/0x1*(parseInt(_0x144980(0x1de))/0x2)+parseInt(_0x144980(0x1d8))/0x3*(parseInt(_0x144980(0x1d6))/0x4)+parseInt(_0x144980(0x1e0))/0x5+-parseInt(_0x144980(0x1c4))/0x6+parseInt(_0x144980(0x1e2))/0x7+-parseInt(_0x144980(0x1cb))/0x8+parseInt(_0x144980(0x1fb))/0x9;if(_0x2db849===_0x1cf518)break;else _0x175b68['push'](_0x175b68['shift']());}catch(_0x2a1984){_0x175b68['push'](_0x175b68['shift']());}}}(a272_0x2ed1,0xd4a36));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';function a272_0x2ed1(){const _0x3b3df9=['Default\x20page\x20size','407LVXSLe','12324264gwuFTt','appcode','kbDomain','format','zh-CN','skillDomain','entries','Access\x20key','isArray','length','keys','132dQFKDm','join','33849CqarWF','appDomain','routing','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','region','toLowerCase','3706KoGyRa','map','739045ksXkmX','defaultApp','7350476dEpRlW','locale','Target\x20environment','values','kbServiceDomain','apps','pageSize','Risk\x20level','app','apiGroup','Config\x20key\x20(','runtimeDomain','en-US','apiDomain','has','number','trim','cookie','object','apiDir','env','string','riskLevel','inherit','API\x20directory\x20path','13333734ZrSJYz','localDomain','8366484pUffwl','some','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','accessKey','certificateDomain'];a272_0x2ed1=function(){return _0x3b3df9;};return a272_0x2ed1();}import{isDaily,isProduction,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{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';function a272_0x3646(_0x36ce64,_0x2832d6){_0x36ce64=_0x36ce64-0x1c3;const _0x2ed10d=a272_0x2ed1();let _0x3646c3=_0x2ed10d[_0x36ce64];return _0x3646c3;}export const PROJECT_CREATE_INHERITABLE_KEYS=[a272_0x4c385d(0x1f3),a272_0x4c385d(0x1c7),a272_0x4c385d(0x1e3),a272_0x4c385d(0x1ce),a272_0x4c385d(0x1f8),a272_0x4c385d(0x1dc),a272_0x4c385d(0x1da),'userDomain','apiDomain','runtimeDomain',a272_0x4c385d(0x1d0),a272_0x4c385d(0x1cd),a272_0x4c385d(0x1e6),'appDomain',a272_0x4c385d(0x1c3),'certificateDomain'];export const TOP_LEVEL_CONFIG_KEYS=new Set([a272_0x4c385d(0x1cc),a272_0x4c385d(0x1f6),a272_0x4c385d(0x1e3),a272_0x4c385d(0x1ce),'cookie',a272_0x4c385d(0x1c7),'apiDir',a272_0x4c385d(0x1dc),'userDomain',a272_0x4c385d(0x1ef),a272_0x4c385d(0x1ed),a272_0x4c385d(0x1d0),a272_0x4c385d(0x1cd),a272_0x4c385d(0x1e6),a272_0x4c385d(0x1d9),a272_0x4c385d(0x1c3),a272_0x4c385d(0x1c8)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x58a3b6){const _0x246648=a272_0x4c385d;return[..._0x58a3b6][_0x246648(0x1d7)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x37f2e6){const _0x806fd8=a272_0x4c385d;return TOP_LEVEL_CONFIG_KEYS[_0x806fd8(0x1f0)](_0x37f2e6);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x3f0c01=a272_0x4c385d;return _0x3f0c01(0x1ec)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':a272_0x4c385d(0x1eb),'region':a272_0x4c385d(0x1dc),'env':'env','apiDir':a272_0x4c385d(0x1f5),'cookie':a272_0x4c385d(0x1f3),'accessKey':a272_0x4c385d(0x1c7),'defaultFormat':a272_0x4c385d(0x1ce),'pageSize':'pageSize','riskLevel':a272_0x4c385d(0x1f8),'locale':a272_0x4c385d(0x1e3)};export function getAppProfileFlagDefs(){const _0x4cb937=a272_0x4c385d;return[{'name':'apiGroup','type':_0x4cb937(0x1f7),'description':_0x4cb937(0x1db)},{'name':_0x4cb937(0x1dc),'type':_0x4cb937(0x1f7),'description':'Country/region\x20for\x20this\x20app\x20profile','enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':_0x4cb937(0x1f6),'type':'string','description':_0x4cb937(0x1e4),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x4cb937(0x1f5),'type':'string','description':_0x4cb937(0x1fa)},{'name':'cookie','type':'string','description':'Auth\x20cookie','hidden':!![]},{'name':_0x4cb937(0x1c7),'type':_0x4cb937(0x1f7),'description':_0x4cb937(0x1d2),'hidden':!![]},{'name':'defaultFormat','type':_0x4cb937(0x1f7),'description':'Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':'pageSize','type':_0x4cb937(0x1f1),'description':_0x4cb937(0x1c9)},{'name':_0x4cb937(0x1f8),'type':_0x4cb937(0x1f7),'description':_0x4cb937(0x1e9),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x4cb937(0x1e3),'type':_0x4cb937(0x1f7),'description':_0x4cb937(0x1c6)}];}export function collectAppProfileOverrides(_0x3566a8){const _0x49edfb=a272_0x4c385d,_0x2f0a96={};for(const [_0x56167d,_0x446fca]of Object[_0x49edfb(0x1d1)](APP_PROFILE_FLAG_KEY_MAP)){const _0x181132=_0x3566a8(_0x56167d);if(!_0x181132)continue;_0x2f0a96[_0x446fca]=_0x446fca===_0x49edfb(0x1e8)?Number(_0x181132):_0x181132;}return _0x2f0a96;}export function buildAppProfileListFields(_0xc93ffe){const _0x5379cc=a272_0x4c385d;return{'apiGroup':_0xc93ffe[_0x5379cc(0x1eb)]??null,'region':_0xc93ffe['region']??null,'env':_0xc93ffe[_0x5379cc(0x1f6)]??null,'apiDir':_0xc93ffe['apiDir']??null,'hasCookie':!!_0xc93ffe['cookie'],'hasAccessKey':!!_0xc93ffe['accessKey'],'format':_0xc93ffe[_0x5379cc(0x1ce)]??null,'pageSize':_0xc93ffe[_0x5379cc(0x1e8)]??null,'riskLevel':_0xc93ffe[_0x5379cc(0x1f8)]??null,'locale':_0xc93ffe['locale']??null};}export function buildAppDoctorFields(_0x44a7c6,_0x4669ed){const _0x368458=a272_0x4c385d;return{'region':{'value':_0x44a7c6[_0x368458(0x1dc)]||_0x4669ed['region'],'source':_0x44a7c6['region']?_0x368458(0x1ea):_0x368458(0x1f9)},'env':{'value':_0x44a7c6[_0x368458(0x1f6)]||_0x4669ed[_0x368458(0x1f6)],'source':_0x44a7c6[_0x368458(0x1f6)]?_0x368458(0x1ea):_0x368458(0x1f9)},'apiDir':{'value':_0x44a7c6[_0x368458(0x1f5)]||_0x4669ed[_0x368458(0x1f5)],'source':_0x44a7c6[_0x368458(0x1f5)]?'app':_0x368458(0x1f9)},'cookie':{'value':_0x44a7c6[_0x368458(0x1f3)]||_0x4669ed[_0x368458(0x1f3)],'source':_0x44a7c6[_0x368458(0x1f3)]?'app':_0x368458(0x1f9)},'accessKey':{'value':_0x44a7c6[_0x368458(0x1c7)]||_0x4669ed['accessKey'],'source':_0x44a7c6[_0x368458(0x1c7)]?_0x368458(0x1ea):_0x368458(0x1f9)}};}export function buildCanonicalAppConfig(_0xe06412,_0x14718c){const _0x21ef85=a272_0x4c385d,_0x4d36ff=_0xe06412[_0x21ef85(0x1df)](_0x3b5526=>String(_0x3b5526||'')[_0x21ef85(0x1f2)]())['filter'](Boolean);if(_0x4d36ff['length']===0x0)return{};const _0x246353={};for(const _0x1febad of _0x4d36ff){_0x246353[_0x1febad]=_0x14718c&&!isProduction(_0x14718c)?{'appcode':_0x1febad,'env':_0x14718c}:{'appcode':_0x1febad};}return _0x4d36ff[_0x21ef85(0x1d4)]>0x1?{'apps':_0x246353,'defaultApp':_0x4d36ff[0x0]}:{'apps':_0x246353};}export function normalizeStoredDefaultApp(_0x5421fa,_0x4a2681){const _0x3b6de5=a272_0x4c385d,_0x50cf17=_0x5421fa[_0x3b6de5(0x1e7)]&&typeof _0x5421fa[_0x3b6de5(0x1e7)]===_0x3b6de5(0x1f4)?_0x5421fa[_0x3b6de5(0x1e7)]:{},_0x43ae8f=Object[_0x3b6de5(0x1d5)](_0x50cf17);if(_0x43ae8f[_0x3b6de5(0x1d4)]<=0x1)return delete _0x5421fa[_0x3b6de5(0x1e1)],undefined;const _0x3073fa=typeof _0x5421fa[_0x3b6de5(0x1e1)]===_0x3b6de5(0x1f7)&&_0x50cf17[_0x5421fa['defaultApp']]?_0x5421fa['defaultApp']:undefined,_0xb7dfcd=_0x4a2681&&_0x50cf17[_0x4a2681]?_0x4a2681:_0x3073fa;if(_0xb7dfcd)return _0x5421fa[_0x3b6de5(0x1e1)]=_0xb7dfcd,_0xb7dfcd;return delete _0x5421fa[_0x3b6de5(0x1e1)],undefined;}export function buildCanonicalProjectConfig(_0x3a8a7e,_0x373681){const _0x403f67=a272_0x4c385d,{appCodes:appCodes=[],env:_0x50ddde,metadata:_0x23a9fd}=_0x373681,_0x594976={..._0x3a8a7e,..._0x23a9fd||{}};delete _0x594976[_0x403f67(0x1cc)],delete _0x594976[_0x403f67(0x1ea)];const _0x1439f4=_0x50ddde||(typeof _0x594976[_0x403f67(0x1f6)]===_0x403f67(0x1f7)?_0x594976[_0x403f67(0x1f6)]:'')||DEFAULT_CONFIG_VALUES['env'];if(isProduction(_0x1439f4))delete _0x594976['env'];else _0x594976['env']=_0x1439f4;const _0x235b84=buildCanonicalAppConfig(appCodes,_0x1439f4);if(Object[_0x403f67(0x1d5)](_0x235b84)[_0x403f67(0x1d4)]>0x0){_0x594976[_0x403f67(0x1e7)]=_0x235b84['apps'];if(_0x235b84[_0x403f67(0x1e1)])_0x594976['defaultApp']=_0x235b84[_0x403f67(0x1e1)];else delete _0x594976['defaultApp'];}return normalizeConfigForWrite(_0x594976);}function isRecord(_0x49da3e){const _0x2ad8bd=a272_0x4c385d;return!!_0x49da3e&&typeof _0x49da3e===_0x2ad8bd(0x1f4)&&!Array[_0x2ad8bd(0x1d3)](_0x49da3e);}export function normalizeConfigForWrite(_0x2301d9){const _0x58097f=a272_0x4c385d,_0x272281={..._0x2301d9},_0x2117e5=isRecord(_0x2301d9[_0x58097f(0x1e7)])?_0x2301d9[_0x58097f(0x1e7)]:undefined,_0x14d590=_0x2117e5?Object['fromEntries'](Object[_0x58097f(0x1d1)](_0x2117e5)[_0x58097f(0x1df)](([_0x1161ca,_0xc055d])=>[_0x1161ca,isRecord(_0xc055d)?{..._0xc055d}:_0xc055d])):undefined;if(_0x14d590){const _0xe69384=typeof _0x272281[_0x58097f(0x1f6)]===_0x58097f(0x1f7)?_0x272281[_0x58097f(0x1f6)]:undefined,_0x110bc6=Object[_0x58097f(0x1e5)](_0x14d590)[_0x58097f(0x1c5)](_0x16ed90=>isRecord(_0x16ed90)&&typeof _0x16ed90['env']===_0x58097f(0x1f7)&&isProduction(_0x16ed90[_0x58097f(0x1f6)]));if(_0xe69384&&isDaily(_0xe69384)&&_0x110bc6){for(const _0x24bc9d of Object['values'](_0x14d590)){if(!isRecord(_0x24bc9d))continue;if(_0x24bc9d[_0x58097f(0x1f6)]===undefined)_0x24bc9d[_0x58097f(0x1f6)]=_0xe69384;}delete _0x272281[_0x58097f(0x1f6)];}for(const _0x23c0e4 of Object[_0x58097f(0x1e5)](_0x14d590)){isRecord(_0x23c0e4)&&typeof _0x23c0e4[_0x58097f(0x1f6)]===_0x58097f(0x1f7)&&isProduction(_0x23c0e4[_0x58097f(0x1f6)])&&delete _0x23c0e4[_0x58097f(0x1f6)];}_0x272281[_0x58097f(0x1e7)]=_0x14d590;}return typeof _0x272281[_0x58097f(0x1f6)]===_0x58097f(0x1f7)&&isProduction(_0x272281[_0x58097f(0x1f6)])&&delete _0x272281['env'],_0x272281;}const LOCALE_MAP={'zh':'zh-CN','zh-cn':a272_0x4c385d(0x1cf),'zh_cn':'zh-CN','en':a272_0x4c385d(0x1ee),'en-us':a272_0x4c385d(0x1ee),'en_us':'en-US'};export function normalizeLocale(_0x1461c5){const _0x544e70=a272_0x4c385d;if(!_0x1461c5)return null;return LOCALE_MAP[_0x1461c5[_0x544e70(0x1dd)]()]??null;}
1
+ const a272_0x4dde8a=a272_0x423a;(function(_0x4c469a,_0x39101c){const _0x14f1b1=a272_0x423a,_0x171e04=_0x4c469a();while(!![]){try{const _0x424bcd=-parseInt(_0x14f1b1(0x218))/0x1*(parseInt(_0x14f1b1(0x1f0))/0x2)+parseInt(_0x14f1b1(0x21b))/0x3+parseInt(_0x14f1b1(0x1f2))/0x4*(parseInt(_0x14f1b1(0x215))/0x5)+parseInt(_0x14f1b1(0x20f))/0x6*(-parseInt(_0x14f1b1(0x21f))/0x7)+-parseInt(_0x14f1b1(0x203))/0x8*(-parseInt(_0x14f1b1(0x200))/0x9)+parseInt(_0x14f1b1(0x1f4))/0xa+parseInt(_0x14f1b1(0x1f3))/0xb*(-parseInt(_0x14f1b1(0x213))/0xc);if(_0x424bcd===_0x39101c)break;else _0x171e04['push'](_0x171e04['shift']());}catch(_0x3e16e4){_0x171e04['push'](_0x171e04['shift']());}}}(a272_0x70db,0x5e656));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,isProduction,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{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a272_0x4dde8a(0x21a),a272_0x4dde8a(0x209),'locale','format',a272_0x4dde8a(0x207),a272_0x4dde8a(0x1ff),a272_0x4dde8a(0x1f1),'userDomain',a272_0x4dde8a(0x219),'runtimeDomain','skillDomain',a272_0x4dde8a(0x214),a272_0x4dde8a(0x1f5),a272_0x4dde8a(0x1fb),a272_0x4dde8a(0x210),a272_0x4dde8a(0x212)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a272_0x4dde8a(0x1f9),'env','locale',a272_0x4dde8a(0x1ec),'cookie',a272_0x4dde8a(0x209),'apiDir','region','userDomain',a272_0x4dde8a(0x219),'runtimeDomain','skillDomain',a272_0x4dde8a(0x214),'kbServiceDomain',a272_0x4dde8a(0x1fb),'localDomain',a272_0x4dde8a(0x212)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x412ec2){const _0x4e92f7=a272_0x4dde8a;return[..._0x412ec2][_0x4e92f7(0x21d)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x54d762){const _0x58c62a=a272_0x4dde8a;return TOP_LEVEL_CONFIG_KEYS[_0x58c62a(0x20c)](_0x54d762);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x1d2ab6=a272_0x4dde8a;return _0x1d2ab6(0x204)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':'apiGroup','region':a272_0x4dde8a(0x1ff),'env':a272_0x4dde8a(0x1ef),'apiDir':'apiDir','cookie':a272_0x4dde8a(0x21a),'accessKey':a272_0x4dde8a(0x209),'defaultFormat':a272_0x4dde8a(0x1ec),'pageSize':a272_0x4dde8a(0x202),'riskLevel':a272_0x4dde8a(0x207),'locale':a272_0x4dde8a(0x1e9)};export function getAppProfileFlagDefs(){const _0x1ee58d=a272_0x4dde8a;return[{'name':_0x1ee58d(0x1ea),'type':_0x1ee58d(0x208),'description':_0x1ee58d(0x20a)},{'name':'region','type':_0x1ee58d(0x208),'description':'Country/region\x20for\x20this\x20app\x20profile','enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':'env','type':'string','description':'Target\x20environment','enum':[...RABETBASE_ENV_VALUES]},{'name':_0x1ee58d(0x1f7),'type':_0x1ee58d(0x208),'description':_0x1ee58d(0x21c)},{'name':_0x1ee58d(0x21a),'type':_0x1ee58d(0x208),'description':_0x1ee58d(0x206),'hidden':!![]},{'name':_0x1ee58d(0x209),'type':_0x1ee58d(0x208),'description':_0x1ee58d(0x20d),'hidden':!![]},{'name':_0x1ee58d(0x1fe),'type':_0x1ee58d(0x208),'description':'Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x1ee58d(0x202),'type':_0x1ee58d(0x1e7),'description':'Default\x20page\x20size'},{'name':'riskLevel','type':_0x1ee58d(0x208),'description':_0x1ee58d(0x20b),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x1ee58d(0x1e9),'type':_0x1ee58d(0x208),'description':_0x1ee58d(0x1ee)}];}function a272_0x70db(){const _0x43f167=['length','format','apps','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','env','945038JUBtKr','routing','20hcqtUv','275YTMOmz','1755300XBBCGN','kbServiceDomain','toLowerCase','apiDir','app','appcode','keys','appDomain','trim','en-US','defaultFormat','region','2073339ALwilZ','object','pageSize','8DZsgYF','Config\x20key\x20(','some','Auth\x20cookie','riskLevel','string','accessKey','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','Risk\x20level','has','Access\x20key','zh-CN','6qNPDIB','localDomain','entries','certificateDomain','99972zLnVWQ','kbDomain','478730rkDiuJ','values','fromEntries','1atuepU','apiDomain','cookie','2218878hjXknW','API\x20directory\x20path','join','map','3897719RUJgbc','inherit','defaultApp','number','isArray','locale','apiGroup'];a272_0x70db=function(){return _0x43f167;};return a272_0x70db();}export function collectAppProfileOverrides(_0x14f16f){const _0x4aad06=a272_0x4dde8a,_0x511962={};for(const [_0x4a6147,_0x518ee8]of Object[_0x4aad06(0x211)](APP_PROFILE_FLAG_KEY_MAP)){const _0x55b677=_0x14f16f(_0x4a6147);if(!_0x55b677)continue;_0x511962[_0x518ee8]=_0x518ee8===_0x4aad06(0x202)?Number(_0x55b677):_0x55b677;}return _0x511962;}export function buildAppProfileListFields(_0x115469){const _0x2a97a2=a272_0x4dde8a;return{'apiGroup':_0x115469[_0x2a97a2(0x1ea)]??null,'region':_0x115469['region']??null,'env':_0x115469['env']??null,'apiDir':_0x115469[_0x2a97a2(0x1f7)]??null,'hasCookie':!!_0x115469[_0x2a97a2(0x21a)],'hasAccessKey':!!_0x115469[_0x2a97a2(0x209)],'format':_0x115469[_0x2a97a2(0x1ec)]??null,'pageSize':_0x115469[_0x2a97a2(0x202)]??null,'riskLevel':_0x115469['riskLevel']??null,'locale':_0x115469[_0x2a97a2(0x1e9)]??null};}export function buildAppDoctorFields(_0x361b6a,_0x1e8b78){const _0x4d01de=a272_0x4dde8a;return{'region':{'value':_0x361b6a[_0x4d01de(0x1ff)]||_0x1e8b78[_0x4d01de(0x1ff)],'source':_0x361b6a[_0x4d01de(0x1ff)]?_0x4d01de(0x1f8):_0x4d01de(0x1e5)},'env':{'value':_0x361b6a[_0x4d01de(0x1ef)]||_0x1e8b78[_0x4d01de(0x1ef)],'source':_0x361b6a[_0x4d01de(0x1ef)]?_0x4d01de(0x1f8):_0x4d01de(0x1e5)},'apiDir':{'value':_0x361b6a['apiDir']||_0x1e8b78[_0x4d01de(0x1f7)],'source':_0x361b6a['apiDir']?_0x4d01de(0x1f8):_0x4d01de(0x1e5)},'cookie':{'value':_0x361b6a['cookie']||_0x1e8b78[_0x4d01de(0x21a)],'source':_0x361b6a[_0x4d01de(0x21a)]?_0x4d01de(0x1f8):_0x4d01de(0x1e5)},'accessKey':{'value':_0x361b6a[_0x4d01de(0x209)]||_0x1e8b78['accessKey'],'source':_0x361b6a[_0x4d01de(0x209)]?_0x4d01de(0x1f8):_0x4d01de(0x1e5)}};}export function buildCanonicalAppConfig(_0x566337,_0x5d8ebc){const _0x20d202=a272_0x4dde8a,_0x452f92=_0x566337['map'](_0x569182=>String(_0x569182||'')[_0x20d202(0x1fc)]())['filter'](Boolean);if(_0x452f92[_0x20d202(0x1eb)]===0x0)return{};const _0x501f97={};for(const _0x34ca34 of _0x452f92){_0x501f97[_0x34ca34]=_0x5d8ebc&&!isProduction(_0x5d8ebc)?{'appcode':_0x34ca34,'env':_0x5d8ebc}:{'appcode':_0x34ca34};}return _0x452f92[_0x20d202(0x1eb)]>0x1?{'apps':_0x501f97,'defaultApp':_0x452f92[0x0]}:{'apps':_0x501f97};}export function normalizeStoredDefaultApp(_0x3f56ce,_0x292f6f){const _0x5cd3b7=a272_0x4dde8a,_0x142a3b=_0x3f56ce[_0x5cd3b7(0x1ed)]&&typeof _0x3f56ce[_0x5cd3b7(0x1ed)]===_0x5cd3b7(0x201)?_0x3f56ce[_0x5cd3b7(0x1ed)]:{},_0x1b146d=Object[_0x5cd3b7(0x1fa)](_0x142a3b);if(_0x1b146d[_0x5cd3b7(0x1eb)]<=0x1)return delete _0x3f56ce['defaultApp'],undefined;const _0x26bc8f=typeof _0x3f56ce[_0x5cd3b7(0x1e6)]==='string'&&_0x142a3b[_0x3f56ce[_0x5cd3b7(0x1e6)]]?_0x3f56ce[_0x5cd3b7(0x1e6)]:undefined,_0x407359=_0x292f6f&&_0x142a3b[_0x292f6f]?_0x292f6f:_0x26bc8f;if(_0x407359)return _0x3f56ce[_0x5cd3b7(0x1e6)]=_0x407359,_0x407359;return delete _0x3f56ce[_0x5cd3b7(0x1e6)],undefined;}export function buildCanonicalProjectConfig(_0x398226,_0x12d93c){const _0x3e7387=a272_0x4dde8a,{appCodes:appCodes=[],env:_0x203e7a,metadata:_0x16d157}=_0x12d93c,_0x4586ef={..._0x398226,..._0x16d157||{}};delete _0x4586ef[_0x3e7387(0x1f9)],delete _0x4586ef[_0x3e7387(0x1f8)];const _0x58d78b=_0x203e7a||(typeof _0x4586ef[_0x3e7387(0x1ef)]===_0x3e7387(0x208)?_0x4586ef[_0x3e7387(0x1ef)]:'')||DEFAULT_CONFIG_VALUES[_0x3e7387(0x1ef)];if(isProduction(_0x58d78b))delete _0x4586ef[_0x3e7387(0x1ef)];else _0x4586ef['env']=_0x58d78b;const _0xb7b7fe=buildCanonicalAppConfig(appCodes,_0x58d78b);if(Object[_0x3e7387(0x1fa)](_0xb7b7fe)[_0x3e7387(0x1eb)]>0x0){_0x4586ef[_0x3e7387(0x1ed)]=_0xb7b7fe[_0x3e7387(0x1ed)];if(_0xb7b7fe[_0x3e7387(0x1e6)])_0x4586ef[_0x3e7387(0x1e6)]=_0xb7b7fe[_0x3e7387(0x1e6)];else delete _0x4586ef[_0x3e7387(0x1e6)];}return normalizeConfigForWrite(_0x4586ef);}function isRecord(_0x45fcc2){const _0x1459dc=a272_0x4dde8a;return!!_0x45fcc2&&typeof _0x45fcc2===_0x1459dc(0x201)&&!Array[_0x1459dc(0x1e8)](_0x45fcc2);}export function normalizeConfigForWrite(_0x40acf8){const _0x4f2d94=a272_0x4dde8a,_0x456816={..._0x40acf8},_0xc8124a=isRecord(_0x40acf8[_0x4f2d94(0x1ed)])?_0x40acf8[_0x4f2d94(0x1ed)]:undefined,_0x387109=_0xc8124a?Object[_0x4f2d94(0x217)](Object['entries'](_0xc8124a)[_0x4f2d94(0x21e)](([_0x1bdd3b,_0x5e2795])=>[_0x1bdd3b,isRecord(_0x5e2795)?{..._0x5e2795}:_0x5e2795])):undefined;if(_0x387109){const _0x3d102c=typeof _0x456816['env']===_0x4f2d94(0x208)?_0x456816[_0x4f2d94(0x1ef)]:undefined,_0x2f5121=Object[_0x4f2d94(0x216)](_0x387109)[_0x4f2d94(0x205)](_0x138952=>isRecord(_0x138952)&&typeof _0x138952['env']==='string'&&isProduction(_0x138952[_0x4f2d94(0x1ef)]));if(_0x3d102c&&isDaily(_0x3d102c)&&_0x2f5121){for(const _0x30a445 of Object['values'](_0x387109)){if(!isRecord(_0x30a445))continue;if(_0x30a445['env']===undefined)_0x30a445[_0x4f2d94(0x1ef)]=_0x3d102c;}delete _0x456816[_0x4f2d94(0x1ef)];}for(const _0x20a210 of Object['values'](_0x387109)){isRecord(_0x20a210)&&typeof _0x20a210[_0x4f2d94(0x1ef)]===_0x4f2d94(0x208)&&isProduction(_0x20a210[_0x4f2d94(0x1ef)])&&delete _0x20a210[_0x4f2d94(0x1ef)];}_0x456816[_0x4f2d94(0x1ed)]=_0x387109;}return typeof _0x456816[_0x4f2d94(0x1ef)]===_0x4f2d94(0x208)&&isProduction(_0x456816[_0x4f2d94(0x1ef)])&&delete _0x456816[_0x4f2d94(0x1ef)],_0x456816;}const LOCALE_MAP={'zh':'zh-CN','zh-cn':a272_0x4dde8a(0x20e),'zh_cn':a272_0x4dde8a(0x20e),'en':a272_0x4dde8a(0x1fd),'en-us':a272_0x4dde8a(0x1fd),'en_us':a272_0x4dde8a(0x1fd)};function a272_0x423a(_0x59a924,_0x32b245){_0x59a924=_0x59a924-0x1e5;const _0x70dba6=a272_0x70db();let _0x423a5c=_0x70dba6[_0x59a924];return _0x423a5c;}export function normalizeLocale(_0x24e3ac){const _0xa82207=a272_0x4dde8a;if(!_0x24e3ac)return null;return LOCALE_MAP[_0x24e3ac[_0xa82207(0x1f6)]()]??null;}
@@ -1 +1 @@
1
- const a273_0x4bae9a=a273_0x5b04;(function(_0x53b61d,_0x31e651){const _0xecb376=a273_0x5b04,_0x2dc429=_0x53b61d();while(!![]){try{const _0x2913ef=-parseInt(_0xecb376(0x127))/0x1*(-parseInt(_0xecb376(0x117))/0x2)+parseInt(_0xecb376(0x116))/0x3+-parseInt(_0xecb376(0x11b))/0x4+parseInt(_0xecb376(0x11f))/0x5*(-parseInt(_0xecb376(0x120))/0x6)+-parseInt(_0xecb376(0x124))/0x7+parseInt(_0xecb376(0x126))/0x8*(-parseInt(_0xecb376(0x11a))/0x9)+parseInt(_0xecb376(0x118))/0xa;if(_0x2913ef===_0x31e651)break;else _0x2dc429['push'](_0x2dc429['shift']());}catch(_0x1af1a0){_0x2dc429['push'](_0x2dc429['shift']());}}}(a273_0x2d13,0xcc449));import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT=a273_0x4bae9a(0x123),RABETBASE_CDN_CONFIG_ORIGIN=a273_0x4bae9a(0x121),CDN_CONFIG_PATH=a273_0x4bae9a(0x11c),PROJECT_TEMPLATE_ASSET_PATH=a273_0x4bae9a(0x115),PROJECT_TEMPLATE_ARCHIVE_NAMES=Object[a273_0x4bae9a(0x122)]({'release':a273_0x4bae9a(0x11e),'beta':a273_0x4bae9a(0x11d)});export const RABETBASE_CDN_PROJECT_PATH='/dist/'+RABETBASE_CDN_PROJECT;function a273_0x2d13(){const _0x34d89a=['config/index.json','sub-app-react-demo-beta.zip','sub-app-react-demo.zip','10xGCdcG','2291202JWBezw','https://g.lovrabet.com','freeze','rabetbase-cli','2684794RKRTkB','lovrabet','32824UFDgwE','20573luJXmD','sub-app-react-demo-','templates/projects','2368404sfkNPk','74JFHpbS','25407090lebvJT','.zip','954nJeHUl','6690012svaOKd'];a273_0x2d13=function(){return _0x34d89a;};return a273_0x2d13();}function getRabetbaseCdnBaseUrl(){const _0xc0cfa6=a273_0x4bae9a;return''+getActiveCdn()[_0xc0cfa6(0x125)]+RABETBASE_CDN_PROJECT_PATH;}function a273_0x5b04(_0x3e358b,_0x3dc6c){_0x3e358b=_0x3e358b-0x115;const _0x2d1325=a273_0x2d13();let _0x5b04a6=_0x2d1325[_0x3e358b];return _0x5b04a6;}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}export function getProjectTemplateAssetBaseUrl(){return getRabetbaseCdnBaseUrl()+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x41addb,_0x524132){const _0x5a39fc=a273_0x4bae9a,_0x4f5b04=_0x524132?_0x5a39fc(0x128)+_0x524132+_0x5a39fc(0x119):PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x41addb];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x4f5b04;}
1
+ const a273_0x228d82=a273_0x2cdf;(function(_0x9a4cd7,_0x328d1d){const _0x1873c5=a273_0x2cdf,_0x2096d4=_0x9a4cd7();while(!![]){try{const _0x3696fe=parseInt(_0x1873c5(0xc6))/0x1+parseInt(_0x1873c5(0xb9))/0x2+-parseInt(_0x1873c5(0xb6))/0x3*(-parseInt(_0x1873c5(0xba))/0x4)+-parseInt(_0x1873c5(0xbd))/0x5*(-parseInt(_0x1873c5(0xb8))/0x6)+-parseInt(_0x1873c5(0xc3))/0x7+parseInt(_0x1873c5(0xbc))/0x8+-parseInt(_0x1873c5(0xc4))/0x9;if(_0x3696fe===_0x328d1d)break;else _0x2096d4['push'](_0x2096d4['shift']());}catch(_0x4918e5){_0x2096d4['push'](_0x2096d4['shift']());}}}(a273_0x1b20,0xdbaef));import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT=a273_0x228d82(0xb5),RABETBASE_CDN_CONFIG_ORIGIN=a273_0x228d82(0xc1),CDN_CONFIG_PATH=a273_0x228d82(0xc2),PROJECT_TEMPLATE_ASSET_PATH=a273_0x228d82(0xbb),PROJECT_TEMPLATE_ARCHIVE_NAMES=Object[a273_0x228d82(0xbe)]({'release':'sub-app-react-demo.zip','beta':a273_0x228d82(0xc0)});export const RABETBASE_CDN_PROJECT_PATH='/dist/'+RABETBASE_CDN_PROJECT;function a273_0x2cdf(_0x3145e0,_0x27fbe1){_0x3145e0=_0x3145e0-0xb5;const _0x1b2073=a273_0x1b20();let _0x2cdf47=_0x1b2073[_0x3145e0];return _0x2cdf47;}function getRabetbaseCdnBaseUrl(){const _0x7af073=a273_0x228d82;return''+getActiveCdn()[_0x7af073(0xbf)]+RABETBASE_CDN_PROJECT_PATH;}function a273_0x1b20(){const _0x92f502=['lovrabet','sub-app-react-demo-beta.zip','https://g.lovrabet.com','config/index.json','3491089ZAuyPp','41015538gNmryO','.zip','1020452ALeoPL','rabetbase-cli','6CFatEQ','sub-app-react-demo-','7603074WKUgxB','1942884UzZgFt','3166924KAlWkU','templates/projects','8906376NTunOA','5ldCzqk','freeze'];a273_0x1b20=function(){return _0x92f502;};return a273_0x1b20();}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}export function getProjectTemplateAssetBaseUrl(){return getRabetbaseCdnBaseUrl()+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x266277,_0x333d3d){const _0x95e033=a273_0x228d82,_0x26b232=_0x333d3d?_0x95e033(0xb7)+_0x333d3d+_0x95e033(0xc5):PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x266277];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x26b232;}
@@ -1 +1 @@
1
- function a274_0x4e6c(){const _0x5d16ad=['output','flow-type','code','menuIds','dataset-code','key','Read\x20value\x20from\x20environment\x20variable','Flow\x20status','Read\x20value\x20from\x20stdin','Search\x20query','skipImports','sort','Description\x20file','zh-CN\x20|\x20en-US','value','force','json\x20|\x20pretty\x20|\x20compress','Page\x20size','env','expected-count','keyword','Reveal\x20sensitive\x20value','431624vErleG','pagesize','<name>','Show\x20help','all','File\x20path','rabetbase','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','sqlname','yes','Enable\x20Backend\x20Function\x20save','flow-name','Environment','Code\x20filter','@lovrabet/rabetbase-cli','dry-run','Title','datasetcode','Expected\x20current\x20child\x20count','<code>','app','Expected\x20current\x20menu\x20path','global','144uYhSec','Function\x20node','flow-status','title','boolean','Parent\x20menu\x20id','format','JSON\x20params','topk','Comma-separated\x20menu\x20IDs','expect-parent-id','string','parentId','Description','<expr>','expectedChildrenCount','Keyword\x20filter','flow-code','4622646IHTsrP','expectParentId','Force\x20overwrite','params','non-interactive','pageSize','dbId','operation-type','Flow\x20code','project','3vrWslJ','page-size','Name','Record\x20ID','meowKey','Expected\x20current\x20parent\x20menu\x20id','946700filsAd','Tags','function-node','Operation\x20type','query','DB\x20ID','Schemas','operationType','type','Use\x20remote','Expected\x20affected\x20count','schemas','codes','Select\x20app\x20profile\x20by\x20name','fromEnv','verbose','label','SQL\x20name','1747538kWLuAi','Dataset\x20code','file','enableBffSave','tags','sqlcode','Verbose\x20output','confirm','production\x20|\x20daily','remote','Use\x20global\x20config\x20scope','target','flowType','help','Use\x20project\x20config\x20scope','Watch\x20mode','Clear','nonInteractive','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','expected-children-count','Maximum\x20search\x20hits','Confirm\x20destructive\x20action','parent-id','reveal','Flow\x20type','expect-path','Menu\x20label','SQL\x20string','Force\x20non-interactive\x20mode\x20(CI)','flowStatus','description','Config\x20value','sql','datasetCode','skip-imports','SQL\x20code','119xRgBuE','Apply\x20to\x20all','locale','appcode','watch','operation','flowCode','enable-bff-save','map','clear','functionNode','Flow\x20name','page','Menu\x20sort\x20value','flowName','721976VqmmeQ','sqlName','expectPath','dbid','665780uGnBpJ','285944pczvRW','dryRun','Output\x20path'];a274_0x4e6c=function(){return _0x5d16ad;};return a274_0x4e6c();}function a274_0x61a4(_0x29a744,_0xe5ebec){_0x29a744=_0x29a744-0xda;const _0x4e6c48=a274_0x4e6c();let _0x61a4eb=_0x4e6c48[_0x29a744];return _0x61a4eb;}const a274_0x2b32c3=a274_0x61a4;(function(_0x4c2830,_0x37cf28){const _0x217f94=a274_0x61a4,_0x3175bf=_0x4c2830();while(!![]){try{const _0x263114=-parseInt(_0x217f94(0x13e))/0x1+-parseInt(_0x217f94(0x106))/0x2*(parseInt(_0x217f94(0xee))/0x3)+parseInt(_0x217f94(0x139))/0x4+parseInt(_0x217f94(0x13d))/0x5+parseInt(_0x217f94(0xe4))/0x6+-parseInt(_0x217f94(0x12a))/0x7*(parseInt(_0x217f94(0x157))/0x8)+parseInt(_0x217f94(0x16e))/0x9*(parseInt(_0x217f94(0xf4))/0xa);if(_0x263114===_0x37cf28)break;else _0x3175bf['push'](_0x3175bf['shift']());}catch(_0x3dc4aa){_0x3175bf['push'](_0x3175bf['shift']());}}}(a274_0x4e6c,0x7f6a9));export const CLI_BIN_NAME=a274_0x2b32c3(0x15d);export const CLI_DISPLAY_NAME='Rabetbase\x20CLI';export const NPM_PACKAGE_NAME=a274_0x2b32c3(0x165);export const GLOBAL_FLAGS=[{'name':a274_0x2b32c3(0x12d),'meowKey':a274_0x2b32c3(0x12d),'type':a274_0x2b32c3(0xdd),'description':'Override\x20appcode','hint':a274_0x2b32c3(0x16a)},{'name':'app','meowKey':a274_0x2b32c3(0x16b),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x101),'hint':a274_0x2b32c3(0x159)},{'name':'env','meowKey':a274_0x2b32c3(0x153),'type':'string','description':a274_0x2b32c3(0x163),'hint':a274_0x2b32c3(0x10e)},{'name':'format','meowKey':a274_0x2b32c3(0x174),'type':a274_0x2b32c3(0xdd),'description':'Output\x20format','hint':a274_0x2b32c3(0x151)},{'name':'jq','meowKey':'jq','type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x15e),'hint':a274_0x2b32c3(0xe0)},{'name':a274_0x2b32c3(0x166),'meowKey':a274_0x2b32c3(0x13f),'type':a274_0x2b32c3(0x172),'description':'Preview\x20operation\x20without\x20executing'},{'name':a274_0x2b32c3(0x160),'meowKey':a274_0x2b32c3(0x160),'type':a274_0x2b32c3(0x172),'description':'Skip\x20confirmation\x20for\x20high-risk\x20writes'},{'name':a274_0x2b32c3(0xe8),'meowKey':a274_0x2b32c3(0x117),'type':a274_0x2b32c3(0x172),'description':a274_0x2b32c3(0x122)},{'name':a274_0x2b32c3(0x16d),'meowKey':a274_0x2b32c3(0x16d),'type':'boolean','description':a274_0x2b32c3(0x110)},{'name':a274_0x2b32c3(0xed),'meowKey':'project','type':'boolean','description':a274_0x2b32c3(0x114)},{'name':'ci','meowKey':'ci','type':'boolean','description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a274_0x2b32c3(0x113),'meowKey':'help','type':a274_0x2b32c3(0x172),'description':a274_0x2b32c3(0x15a)},{'name':'locale','meowKey':a274_0x2b32c3(0x12c),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x118),'hidden':!![],'hint':a274_0x2b32c3(0x14e)},{'name':'name','meowKey':'name','type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xf0),'hidden':!![]},{'name':a274_0x2b32c3(0x171),'meowKey':a274_0x2b32c3(0x171),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x167),'hidden':!![]},{'name':a274_0x2b32c3(0xf8),'meowKey':'query','type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x14a),'hidden':!![]},{'name':a274_0x2b32c3(0xda),'meowKey':a274_0x2b32c3(0xda),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x11a),'hidden':!![]},{'name':a274_0x2b32c3(0x133),'meowKey':a274_0x2b32c3(0x133),'type':a274_0x2b32c3(0x172),'description':a274_0x2b32c3(0x116),'hidden':!![]},{'name':a274_0x2b32c3(0x12e),'meowKey':a274_0x2b32c3(0x12e),'type':a274_0x2b32c3(0x172),'description':a274_0x2b32c3(0x115),'hidden':!![]},{'name':a274_0x2b32c3(0x141),'meowKey':a274_0x2b32c3(0x141),'type':'string','description':a274_0x2b32c3(0x140),'hidden':!![]},{'name':a274_0x2b32c3(0xe7),'meowKey':a274_0x2b32c3(0xe7),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x175),'hidden':!![]},{'name':a274_0x2b32c3(0x168),'meowKey':a274_0x2b32c3(0x168),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x107),'hidden':!![]},{'name':a274_0x2b32c3(0x15b),'meowKey':a274_0x2b32c3(0x15b),'type':a274_0x2b32c3(0x172),'description':a274_0x2b32c3(0x12b),'hidden':!![]},{'name':a274_0x2b32c3(0x131),'meowKey':a274_0x2b32c3(0x109),'type':a274_0x2b32c3(0x172),'description':a274_0x2b32c3(0x161),'hidden':!![]},{'name':'id','meowKey':'id','type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xf1),'hidden':!![]},{'name':a274_0x2b32c3(0xfc),'meowKey':a274_0x2b32c3(0xfc),'type':a274_0x2b32c3(0xdd),'description':'Type\x20filter','hidden':!![]},{'name':a274_0x2b32c3(0x108),'meowKey':'file','type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x15c),'hidden':!![]},{'name':a274_0x2b32c3(0xe3),'meowKey':a274_0x2b32c3(0x130),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xec),'hidden':!![]},{'name':a274_0x2b32c3(0x162),'meowKey':a274_0x2b32c3(0x138),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x135),'hidden':!![]},{'name':a274_0x2b32c3(0x170),'meowKey':a274_0x2b32c3(0x123),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x148),'hidden':!![]},{'name':a274_0x2b32c3(0x142),'meowKey':a274_0x2b32c3(0x112),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x11e),'hidden':!![]},{'name':a274_0x2b32c3(0x145),'meowKey':a274_0x2b32c3(0x127),'type':'string','description':a274_0x2b32c3(0x107),'hidden':!![]},{'name':a274_0x2b32c3(0x10b),'meowKey':a274_0x2b32c3(0x10b),'type':'string','description':a274_0x2b32c3(0x129),'hidden':!![]},{'name':'sql-name','meowKey':a274_0x2b32c3(0x13a),'type':'string','description':a274_0x2b32c3(0x105),'hidden':!![]},{'name':a274_0x2b32c3(0x15f),'meowKey':'sqlname','type':a274_0x2b32c3(0xdd),'description':'SQL\x20name','hidden':!![]},{'name':'db-id','meowKey':a274_0x2b32c3(0xea),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xf9),'hidden':!![]},{'name':a274_0x2b32c3(0x13c),'meowKey':'dbid','type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xf9),'hidden':!![]},{'name':'description','meowKey':a274_0x2b32c3(0x124),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xdf),'hidden':!![]},{'name':'description-file','meowKey':'descriptionFile','type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x14d),'hidden':!![]},{'name':a274_0x2b32c3(0x136),'meowKey':'page','type':'string','description':'Page\x20number','hidden':!![]},{'name':a274_0x2b32c3(0xef),'meowKey':a274_0x2b32c3(0xe9),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x152),'hidden':!![]},{'name':a274_0x2b32c3(0x158),'meowKey':'pagesize','type':a274_0x2b32c3(0xdd),'description':'Page\x20size','hidden':!![]},{'name':a274_0x2b32c3(0x155),'meowKey':a274_0x2b32c3(0x155),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xe2),'hidden':!![]},{'name':a274_0x2b32c3(0x143),'meowKey':a274_0x2b32c3(0x143),'type':'string','description':a274_0x2b32c3(0x164),'hidden':!![]},{'name':a274_0x2b32c3(0x126),'meowKey':'sql','type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x121),'hidden':!![]},{'name':a274_0x2b32c3(0xff),'meowKey':a274_0x2b32c3(0xff),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xfa),'hidden':!![]},{'name':a274_0x2b32c3(0x12f),'meowKey':a274_0x2b32c3(0x12f),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xf7),'hidden':!![]},{'name':'target','meowKey':a274_0x2b32c3(0x111),'type':'string','description':'Target\x20path','hidden':!![]},{'name':a274_0x2b32c3(0x128),'meowKey':a274_0x2b32c3(0x14b),'type':a274_0x2b32c3(0x172),'description':'Skip\x20import\x20generation','hidden':!![]},{'name':a274_0x2b32c3(0x146),'meowKey':a274_0x2b32c3(0x146),'type':a274_0x2b32c3(0xdd),'description':'Config\x20key','hidden':!![]},{'name':a274_0x2b32c3(0x14f),'meowKey':a274_0x2b32c3(0x14f),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x125),'hidden':!![]},{'name':a274_0x2b32c3(0x10a),'meowKey':a274_0x2b32c3(0x10a),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xf5),'hidden':!![]},{'name':'stdin','meowKey':'stdin','type':'boolean','description':a274_0x2b32c3(0x149),'hidden':!![]},{'name':'from-env','meowKey':a274_0x2b32c3(0x102),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x147),'hidden':!![]},{'name':a274_0x2b32c3(0x11d),'meowKey':a274_0x2b32c3(0x11d),'type':a274_0x2b32c3(0x172),'description':a274_0x2b32c3(0x156),'hidden':!![]},{'name':a274_0x2b32c3(0x150),'meowKey':a274_0x2b32c3(0x150),'type':a274_0x2b32c3(0x172),'description':a274_0x2b32c3(0xe6),'hidden':!![]},{'name':a274_0x2b32c3(0x10d),'meowKey':'confirm','type':a274_0x2b32c3(0x172),'description':a274_0x2b32c3(0x11b),'hidden':!![]},{'name':'remote','meowKey':a274_0x2b32c3(0x10f),'type':a274_0x2b32c3(0x172),'description':a274_0x2b32c3(0xfd),'hidden':!![]},{'name':a274_0x2b32c3(0x103),'meowKey':a274_0x2b32c3(0x103),'type':a274_0x2b32c3(0x172),'description':a274_0x2b32c3(0x10c),'hidden':!![]},{'name':a274_0x2b32c3(0x154),'meowKey':'expectedCount','type':'string','description':a274_0x2b32c3(0xfe),'hidden':!![]},{'name':'label','meowKey':a274_0x2b32c3(0x104),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x120),'hidden':!![]},{'name':a274_0x2b32c3(0x11c),'meowKey':a274_0x2b32c3(0xde),'type':'string','description':a274_0x2b32c3(0x173),'hidden':!![]},{'name':a274_0x2b32c3(0x14c),'meowKey':'sort','type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x137),'hidden':!![]},{'name':a274_0x2b32c3(0xdc),'meowKey':a274_0x2b32c3(0xe5),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xf3),'hidden':!![]},{'name':a274_0x2b32c3(0x11f),'meowKey':a274_0x2b32c3(0x13b),'type':'string','description':a274_0x2b32c3(0x16c),'hidden':!![]},{'name':a274_0x2b32c3(0x119),'meowKey':a274_0x2b32c3(0xe1),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x169),'hidden':!![]},{'name':'menu-ids','meowKey':a274_0x2b32c3(0x144),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xdb),'hidden':!![]},{'name':'task-id','meowKey':'taskId','type':a274_0x2b32c3(0xdd),'description':'Asynchronous\x20task\x20ID','hidden':!![]},{'name':a274_0x2b32c3(0xeb),'meowKey':a274_0x2b32c3(0xfb),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0xf7),'hidden':!![]},{'name':a274_0x2b32c3(0xf6),'meowKey':a274_0x2b32c3(0x134),'type':a274_0x2b32c3(0xdd),'description':a274_0x2b32c3(0x16f),'hidden':!![]},{'name':a274_0x2b32c3(0x100),'meowKey':a274_0x2b32c3(0x100),'type':a274_0x2b32c3(0xdd),'description':'Comma-separated\x20metadata\x20codes','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a274_0x2b32c3(0x12d),a274_0x2b32c3(0x16b),a274_0x2b32c3(0x153),a274_0x2b32c3(0x174),'jq',a274_0x2b32c3(0x166),'yes',a274_0x2b32c3(0xe8),'ci']);export function buildMeowFlags(){const _0x4cf561=a274_0x2b32c3;return Object['fromEntries'](GLOBAL_FLAGS[_0x4cf561(0x132)](_0x5220d8=>[_0x5220d8[_0x4cf561(0xf2)],{'type':_0x5220d8[_0x4cf561(0xfc)]}]));}
1
+ const a274_0x4415e0=a274_0x2616;(function(_0x950bd3,_0x535b5b){const _0x15a262=a274_0x2616,_0x22959b=_0x950bd3();while(!![]){try{const _0x361da4=-parseInt(_0x15a262(0x133))/0x1+-parseInt(_0x15a262(0x163))/0x2+-parseInt(_0x15a262(0x162))/0x3+-parseInt(_0x15a262(0x15c))/0x4*(-parseInt(_0x15a262(0x12c))/0x5)+-parseInt(_0x15a262(0x109))/0x6+parseInt(_0x15a262(0x132))/0x7*(parseInt(_0x15a262(0x13d))/0x8)+-parseInt(_0x15a262(0x16d))/0x9*(-parseInt(_0x15a262(0xfc))/0xa);if(_0x361da4===_0x535b5b)break;else _0x22959b['push'](_0x22959b['shift']());}catch(_0x1d9f20){_0x22959b['push'](_0x22959b['shift']());}}}(a274_0xe0e5,0x2909d));export const CLI_BIN_NAME='rabetbase';export const CLI_DISPLAY_NAME=a274_0x4415e0(0x134);export const NPM_PACKAGE_NAME=a274_0x4415e0(0x148);export const GLOBAL_FLAGS=[{'name':a274_0x4415e0(0x17c),'meowKey':a274_0x4415e0(0x17c),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x12e),'hint':'<code>'},{'name':a274_0x4415e0(0x111),'meowKey':a274_0x4415e0(0x111),'type':'string','description':'Select\x20app\x20profile\x20by\x20name','hint':a274_0x4415e0(0x14f)},{'name':a274_0x4415e0(0x10c),'meowKey':a274_0x4415e0(0x10c),'type':'string','description':a274_0x4415e0(0x14d),'hint':a274_0x4415e0(0xfe)},{'name':a274_0x4415e0(0x151),'meowKey':a274_0x4415e0(0x151),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x172),'hint':a274_0x4415e0(0x131)},{'name':'jq','meowKey':'jq','type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x12b),'hint':'<expr>'},{'name':'dry-run','meowKey':'dryRun','type':'boolean','description':a274_0x4415e0(0x14a)},{'name':a274_0x4415e0(0x128),'meowKey':a274_0x4415e0(0x128),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x16b)},{'name':a274_0x4415e0(0x150),'meowKey':a274_0x4415e0(0xfa),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x10d)},{'name':a274_0x4415e0(0x170),'meowKey':a274_0x4415e0(0x170),'type':'boolean','description':a274_0x4415e0(0x173)},{'name':a274_0x4415e0(0x152),'meowKey':a274_0x4415e0(0x152),'type':a274_0x4415e0(0x17b),'description':'Use\x20project\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':a274_0x4415e0(0x17b),'description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a274_0x4415e0(0x11f),'meowKey':a274_0x4415e0(0x11f),'type':'boolean','description':a274_0x4415e0(0x13e)},{'name':a274_0x4415e0(0x118),'meowKey':a274_0x4415e0(0x118),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x138),'hidden':!![],'hint':a274_0x4415e0(0x16c)},{'name':a274_0x4415e0(0x107),'meowKey':a274_0x4415e0(0x107),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x16a),'hidden':!![]},{'name':a274_0x4415e0(0x178),'meowKey':a274_0x4415e0(0x178),'type':'string','description':a274_0x4415e0(0x157),'hidden':!![]},{'name':a274_0x4415e0(0x129),'meowKey':a274_0x4415e0(0x129),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x16f),'hidden':!![]},{'name':a274_0x4415e0(0x114),'meowKey':a274_0x4415e0(0x114),'type':a274_0x4415e0(0x171),'description':'Maximum\x20search\x20hits','hidden':!![]},{'name':a274_0x4415e0(0x14c),'meowKey':a274_0x4415e0(0x14c),'type':'boolean','description':a274_0x4415e0(0x11d),'hidden':!![]},{'name':'watch','meowKey':a274_0x4415e0(0x117),'type':a274_0x4415e0(0x17b),'description':'Watch\x20mode','hidden':!![]},{'name':'output','meowKey':a274_0x4415e0(0x14b),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x164),'hidden':!![]},{'name':a274_0x4415e0(0x153),'meowKey':a274_0x4415e0(0x153),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x123),'hidden':!![]},{'name':a274_0x4415e0(0x143),'meowKey':a274_0x4415e0(0x143),'type':a274_0x4415e0(0x171),'description':'Dataset\x20code','hidden':!![]},{'name':a274_0x4415e0(0x169),'meowKey':a274_0x4415e0(0x169),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x100),'hidden':!![]},{'name':'enable-bff-save','meowKey':'enableBffSave','type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x185),'hidden':!![]},{'name':'id','meowKey':'id','type':a274_0x4415e0(0x171),'description':'Record\x20ID','hidden':!![]},{'name':'type','meowKey':a274_0x4415e0(0x14e),'type':a274_0x4415e0(0x171),'description':'Type\x20filter','hidden':!![]},{'name':a274_0x4415e0(0x116),'meowKey':a274_0x4415e0(0x116),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x139),'hidden':!![]},{'name':a274_0x4415e0(0x161),'meowKey':a274_0x4415e0(0x183),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x141),'hidden':!![]},{'name':a274_0x4415e0(0x182),'meowKey':a274_0x4415e0(0x135),'type':a274_0x4415e0(0x171),'description':'Flow\x20name','hidden':!![]},{'name':a274_0x4415e0(0x17a),'meowKey':'flowStatus','type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x160),'hidden':!![]},{'name':a274_0x4415e0(0x167),'meowKey':'flowType','type':'string','description':a274_0x4415e0(0x140),'hidden':!![]},{'name':'dataset-code','meowKey':a274_0x4415e0(0x15a),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x126),'hidden':!![]},{'name':a274_0x4415e0(0x155),'meowKey':a274_0x4415e0(0x155),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x175),'hidden':!![]},{'name':'sql-name','meowKey':'sqlName','type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x110),'hidden':!![]},{'name':a274_0x4415e0(0x16e),'meowKey':a274_0x4415e0(0x16e),'type':a274_0x4415e0(0x171),'description':'SQL\x20name','hidden':!![]},{'name':a274_0x4415e0(0x12f),'meowKey':a274_0x4415e0(0x11b),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x12d),'hidden':!![]},{'name':a274_0x4415e0(0x136),'meowKey':a274_0x4415e0(0x136),'type':a274_0x4415e0(0x171),'description':'DB\x20ID','hidden':!![]},{'name':a274_0x4415e0(0x159),'meowKey':'description','type':a274_0x4415e0(0x171),'description':'Description','hidden':!![]},{'name':a274_0x4415e0(0x177),'meowKey':a274_0x4415e0(0xf8),'type':'string','description':a274_0x4415e0(0x145),'hidden':!![]},{'name':a274_0x4415e0(0x130),'meowKey':'page','type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x144),'hidden':!![]},{'name':a274_0x4415e0(0x13c),'meowKey':a274_0x4415e0(0x104),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0xfb),'hidden':!![]},{'name':'pagesize','meowKey':a274_0x4415e0(0x108),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0xfb),'hidden':!![]},{'name':a274_0x4415e0(0x124),'meowKey':a274_0x4415e0(0x124),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x11e),'hidden':!![]},{'name':a274_0x4415e0(0x127),'meowKey':'code','type':a274_0x4415e0(0x171),'description':'Code\x20filter','hidden':!![]},{'name':'sql','meowKey':a274_0x4415e0(0x15e),'type':'string','description':a274_0x4415e0(0x13a),'hidden':!![]},{'name':a274_0x4415e0(0x180),'meowKey':'schemas','type':a274_0x4415e0(0x171),'description':'Schemas','hidden':!![]},{'name':a274_0x4415e0(0x119),'meowKey':a274_0x4415e0(0x119),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x146),'hidden':!![]},{'name':a274_0x4415e0(0x13b),'meowKey':a274_0x4415e0(0x13b),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x10e),'hidden':!![]},{'name':a274_0x4415e0(0x181),'meowKey':a274_0x4415e0(0x101),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x11c),'hidden':!![]},{'name':a274_0x4415e0(0x125),'meowKey':a274_0x4415e0(0x125),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x106),'hidden':!![]},{'name':a274_0x4415e0(0x13f),'meowKey':a274_0x4415e0(0x13f),'type':a274_0x4415e0(0x171),'description':'Config\x20value','hidden':!![]},{'name':a274_0x4415e0(0x137),'meowKey':a274_0x4415e0(0x137),'type':'string','description':a274_0x4415e0(0x165),'hidden':!![]},{'name':a274_0x4415e0(0x142),'meowKey':a274_0x4415e0(0x142),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x10b),'hidden':!![]},{'name':a274_0x4415e0(0xf9),'meowKey':'fromEnv','type':a274_0x4415e0(0x171),'description':'Read\x20value\x20from\x20environment\x20variable','hidden':!![]},{'name':a274_0x4415e0(0x12a),'meowKey':a274_0x4415e0(0x12a),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x15f),'hidden':!![]},{'name':a274_0x4415e0(0x154),'meowKey':a274_0x4415e0(0x154),'type':a274_0x4415e0(0x17b),'description':'Force\x20overwrite','hidden':!![]},{'name':a274_0x4415e0(0x15b),'meowKey':a274_0x4415e0(0x15b),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x15d),'hidden':!![]},{'name':a274_0x4415e0(0x179),'meowKey':a274_0x4415e0(0x179),'type':a274_0x4415e0(0x17b),'description':'Use\x20remote','hidden':!![]},{'name':a274_0x4415e0(0xff),'meowKey':a274_0x4415e0(0xff),'type':a274_0x4415e0(0x17b),'description':'Verbose\x20output','hidden':!![]},{'name':'expected-count','meowKey':a274_0x4415e0(0x149),'type':a274_0x4415e0(0x171),'description':'Expected\x20affected\x20count','hidden':!![]},{'name':a274_0x4415e0(0x174),'meowKey':a274_0x4415e0(0x174),'type':a274_0x4415e0(0x171),'description':'Menu\x20label','hidden':!![]},{'name':'parent-id','meowKey':a274_0x4415e0(0x105),'type':'string','description':'Parent\x20menu\x20id','hidden':!![]},{'name':'sort','meowKey':a274_0x4415e0(0x112),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x156),'hidden':!![]},{'name':a274_0x4415e0(0x121),'meowKey':a274_0x4415e0(0x103),'type':'string','description':'Expected\x20current\x20parent\x20menu\x20id','hidden':!![]},{'name':'expect-path','meowKey':'expectPath','type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x113),'hidden':!![]},{'name':a274_0x4415e0(0x166),'meowKey':'expectedChildrenCount','type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x102),'hidden':!![]},{'name':a274_0x4415e0(0x10a),'meowKey':a274_0x4415e0(0x17e),'type':a274_0x4415e0(0x171),'description':'Comma-separated\x20menu\x20IDs','hidden':!![]},{'name':a274_0x4415e0(0x168),'meowKey':a274_0x4415e0(0x158),'type':'string','description':a274_0x4415e0(0x184),'hidden':!![]},{'name':a274_0x4415e0(0x122),'meowKey':a274_0x4415e0(0x115),'type':'string','description':a274_0x4415e0(0x146),'hidden':!![]},{'name':a274_0x4415e0(0x176),'meowKey':a274_0x4415e0(0x147),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x120),'hidden':!![]},{'name':a274_0x4415e0(0x10f),'meowKey':'codes','type':a274_0x4415e0(0x171),'description':'Comma-separated\x20metadata\x20codes','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a274_0x4415e0(0x17c),'app',a274_0x4415e0(0x10c),a274_0x4415e0(0x151),'jq',a274_0x4415e0(0xfd),'yes',a274_0x4415e0(0x150),'ci']);function a274_0x2616(_0x397203,_0x915f0d){_0x397203=_0x397203-0xf8;const _0xe0e5a2=a274_0xe0e5();let _0x2616a2=_0xe0e5a2[_0x397203];return _0x2616a2;}export function buildMeowFlags(){const _0x46a734=a274_0x4415e0;return Object[_0x46a734(0x11a)](GLOBAL_FLAGS[_0x46a734(0x17d)](_0x11e5a7=>[_0x11e5a7[_0x46a734(0x17f)],{'type':_0x11e5a7[_0x46a734(0x14e)]}]));}function a274_0xe0e5(){const _0x2b81d6=['functionNode','@lovrabet/rabetbase-cli','expectedCount','Preview\x20operation\x20without\x20executing','output','clear','Environment','type','<name>','non-interactive','format','project','params','force','sqlcode','Menu\x20sort\x20value','Title','taskId','description','datasetCode','confirm','4QRFRpp','Confirm\x20destructive\x20action','sql','Reveal\x20sensitive\x20value','Flow\x20status','flow-code','564843uSWjLl','47332awUzMz','Output\x20path','Tags','expected-children-count','flow-type','task-id','all','Name','Skip\x20confirmation\x20for\x20high-risk\x20writes','zh-CN\x20|\x20en-US','1339407DgrIeM','sqlname','Search\x20query','global','string','Output\x20format','Use\x20global\x20config\x20scope','label','SQL\x20code','function-node','description-file','title','remote','flow-status','boolean','appcode','map','menuIds','meowKey','schemas','skip-imports','flow-name','flowCode','Asynchronous\x20task\x20ID','Enable\x20Backend\x20Function\x20save','descriptionFile','from-env','nonInteractive','Page\x20size','20UXZyBT','dry-run','production\x20|\x20daily','verbose','Apply\x20to\x20all','skipImports','Expected\x20current\x20child\x20count','expectParentId','pageSize','parentId','Config\x20key','name','pagesize','1528194iqcWJy','menu-ids','Read\x20value\x20from\x20stdin','env','Force\x20non-interactive\x20mode\x20(CI)','Target\x20path','codes','SQL\x20name','app','sort','Expected\x20current\x20menu\x20path','topk','operationType','file','watch','locale','operation','fromEntries','dbId','Skip\x20import\x20generation','Clear','Keyword\x20filter','help','Function\x20node','expect-parent-id','operation-type','JSON\x20params','keyword','key','Dataset\x20code','code','yes','query','reveal','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','1006685EYIgGk','DB\x20ID','Override\x20appcode','db-id','page','json\x20|\x20pretty\x20|\x20compress','2324644hyoVdn','196336xIrCxU','Rabetbase\x20CLI','flowName','dbid','tags','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','File\x20path','SQL\x20string','target','page-size','8iZoGuQ','Show\x20help','value','Flow\x20type','Flow\x20code','stdin','datasetcode','Page\x20number','Description\x20file','Operation\x20type'];a274_0xe0e5=function(){return _0x2b81d6;};return a274_0xe0e5();}
@@ -1 +1 @@
1
- function a275_0x136f(){const _0x1a9c54=['161ZRKAdq','1898871SXDyoT','write','2GSONXK','396898tRHjXp','632IQsZIh','10tNUoJr','2778780WjnsCt','358842GqpBov','compress','10649419gayKSo','5HDzqxl','6411428buPBOE','en-US','11187HBMrBi'];a275_0x136f=function(){return _0x1a9c54;};return a275_0x136f();}const a275_0x408c80=a275_0x1778;function a275_0x1778(_0x505fe8,_0xad7acb){_0x505fe8=_0x505fe8-0xc2;const _0x136f31=a275_0x136f();let _0x17781d=_0x136f31[_0x505fe8];return _0x17781d;}(function(_0xcb5435,_0x2f4382){const _0x1f7aea=a275_0x1778,_0x21dcb3=_0xcb5435();while(!![]){try{const _0x3ea13e=parseInt(_0x1f7aea(0xc5))/0x1*(parseInt(_0x1f7aea(0xc6))/0x2)+-parseInt(_0x1f7aea(0xc3))/0x3+-parseInt(_0x1f7aea(0xce))/0x4*(-parseInt(_0x1f7aea(0xcd))/0x5)+-parseInt(_0x1f7aea(0xca))/0x6*(parseInt(_0x1f7aea(0xc2))/0x7)+-parseInt(_0x1f7aea(0xc7))/0x8*(-parseInt(_0x1f7aea(0xd0))/0x9)+-parseInt(_0x1f7aea(0xc8))/0xa*(-parseInt(_0x1f7aea(0xcc))/0xb)+-parseInt(_0x1f7aea(0xc9))/0xc;if(_0x3ea13e===_0x2f4382)break;else _0x21dcb3['push'](_0x21dcb3['shift']());}catch(_0x2ba18f){_0x21dcb3['push'](_0x21dcb3['shift']());}}}(a275_0x136f,0xc9a8e));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':'production','format':a275_0x408c80(0xcb),'locale':a275_0x408c80(0xcf),'riskLevel':a275_0x408c80(0xc4),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a275_0x408c80(0xcb);
1
+ const a275_0x308795=a275_0x4899;(function(_0x23b7ff,_0x123e6b){const _0x40c790=a275_0x4899,_0x2a2675=_0x23b7ff();while(!![]){try{const _0x1314af=-parseInt(_0x40c790(0x1ec))/0x1+parseInt(_0x40c790(0x1f2))/0x2+-parseInt(_0x40c790(0x1f6))/0x3+-parseInt(_0x40c790(0x1f5))/0x4*(-parseInt(_0x40c790(0x1f3))/0x5)+parseInt(_0x40c790(0x1f0))/0x6+-parseInt(_0x40c790(0x1f1))/0x7+parseInt(_0x40c790(0x1f4))/0x8;if(_0x1314af===_0x123e6b)break;else _0x2a2675['push'](_0x2a2675['shift']());}catch(_0x49bb15){_0x2a2675['push'](_0x2a2675['shift']());}}}(a275_0x41f8,0xb85bf));import{DEFAULT_API_DIR}from'../constant/paths.js';function a275_0x4899(_0x3c737c,_0xa07122){_0x3c737c=_0x3c737c-0x1ec;const _0x41f82d=a275_0x41f8();let _0x489911=_0x41f82d[_0x3c737c];return _0x489911;}export const DEFAULT_CONFIG_VALUES={'env':a275_0x308795(0x1ed),'format':a275_0x308795(0x1ee),'locale':'en-US','riskLevel':a275_0x308795(0x1ef),'apiDir':DEFAULT_API_DIR};function a275_0x41f8(){const _0x14b127=['1144498PDicqH','production','compress','write','2960520QZREvT','4115664JYRQkm','1310534bOocEE','1110GiyZdN','10997448iPPXUd','23504xpkFMI','4020765sLwIrn'];a275_0x41f8=function(){return _0x14b127;};return a275_0x41f8();}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a275_0x308795(0x1ee);
@@ -1 +1 @@
1
- const a276_0x38733d=a276_0x4966;function a276_0xa8a3(){const _0x10c160=['1704843bpJJlx','6193222QtYUHj','3274220tDIASK','certificateDomain','/web-app/app/','hostname','origin','/app/','8mXAAMW','trim','skillDomain','13907133gXbunH','kbDomain','5863266WnBdGv','allowOfficialKbServiceDefault','runtime','api','1235298nfHdLB','app','1MLPuSQ','skill','appDomain','1886775OAsUwK','serviceDomains'];a276_0xa8a3=function(){return _0x10c160;};return a276_0xa8a3();}(function(_0x57bdc5,_0x12b89f){const _0x3ffccc=a276_0x4966,_0xedc3f=_0x57bdc5();while(!![]){try{const _0x107742=parseInt(_0x3ffccc(0x12a))/0x1*(parseInt(_0x3ffccc(0x128))/0x2)+-parseInt(_0x3ffccc(0x12f))/0x3+-parseInt(_0x3ffccc(0x131))/0x4+-parseInt(_0x3ffccc(0x12d))/0x5+parseInt(_0x3ffccc(0x124))/0x6+-parseInt(_0x3ffccc(0x130))/0x7+parseInt(_0x3ffccc(0x11f))/0x8*(parseInt(_0x3ffccc(0x122))/0x9);if(_0x107742===_0x12b89f)break;else _0xedc3f['push'](_0xedc3f['shift']());}catch(_0x418869){_0xedc3f['push'](_0xedc3f['shift']());}}}(a276_0xa8a3,0x77e98));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customKbServiceDomain,allowOfficialKbServiceDefault=!![],customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x45bf06=a276_0x4966,_0x4940f4=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x4940f4[_0x45bf06(0x12e)]['production']:_0x4940f4['serviceDomains']['daily']??_0x4940f4[_0x45bf06(0x12e)]['production'];}export function initDomains(_0x54666f){const _0x44c500=a276_0x4966;customApiDomain=_0x54666f?.['apiDomain'],customUserDomain=_0x54666f?.['userDomain'],customRuntimeDomain=_0x54666f?.['runtimeDomain'],customSkillDomain=_0x54666f?.[_0x44c500(0x121)],customKbDomain=_0x54666f?.[_0x44c500(0x123)],customKbServiceDomain=_0x54666f?.['kbServiceDomain'],allowOfficialKbServiceDefault=_0x54666f?.[_0x44c500(0x125)]??!![],customAppDomain=_0x54666f?.[_0x44c500(0x12c)],customLocalDomain=_0x54666f?.['localDomain'],customCertificateDomain=_0x54666f?.[_0x44c500(0x132)],customCdn=_0x54666f?.['cdn'],activeRegion=_0x54666f?.['region']??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()['user'];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a276_0x38733d(0x127)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a276_0x38733d(0x126)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a276_0x38733d(0x12b)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()['kbService'];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a276_0x38733d(0x129)];export const getActiveRegion=()=>activeRegion;function a276_0x4966(_0x30dc55,_0x584c47){_0x30dc55=_0x30dc55-0x11b;const _0xa8a3b4=a276_0xa8a3();let _0x496684=_0xa8a3b4[_0x30dc55];return _0x496684;}export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x119118=a276_0x38733d;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x119118(0x126)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x257109=>{const _0x27e132=a276_0x38733d,_0x345014=encodeURIComponent(_0x257109['trim']());return isProduction(getEnv())?getAppDomain()+_0x27e132(0x11e)+_0x345014:getAppDomain()+_0x27e132(0x11b)+_0x345014;};export const getPublishedAppDomain=_0x22da64=>{const _0x28f932=a276_0x38733d,_0x287dce=new URL(getAppDomain());return _0x287dce[_0x28f932(0x11c)]=_0x22da64[_0x28f932(0x120)]()+'.'+_0x287dce[_0x28f932(0x11c)],_0x287dce[_0x28f932(0x11d)];};
1
+ const a276_0x4b9258=a276_0x5aa0;(function(_0x53ab91,_0x22971f){const _0x389002=a276_0x5aa0,_0x395eb9=_0x53ab91();while(!![]){try{const _0x465c3e=-parseInt(_0x389002(0x130))/0x1+parseInt(_0x389002(0x119))/0x2+parseInt(_0x389002(0x116))/0x3+parseInt(_0x389002(0x133))/0x4*(parseInt(_0x389002(0x11b))/0x5)+-parseInt(_0x389002(0x12c))/0x6+-parseInt(_0x389002(0x11c))/0x7+-parseInt(_0x389002(0x129))/0x8*(-parseInt(_0x389002(0x12b))/0x9);if(_0x465c3e===_0x22971f)break;else _0x395eb9['push'](_0x395eb9['shift']());}catch(_0x4c0e29){_0x395eb9['push'](_0x395eb9['shift']());}}}(a276_0x22fb,0xbe616));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customKbServiceDomain,allowOfficialKbServiceDefault=!![],customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x225563=a276_0x5aa0,_0x15e437=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x15e437[_0x225563(0x120)][_0x225563(0x118)]:_0x15e437['serviceDomains']['daily']??_0x15e437[_0x225563(0x120)][_0x225563(0x118)];}export function initDomains(_0x17bf1f){const _0x377fbe=a276_0x5aa0;customApiDomain=_0x17bf1f?.[_0x377fbe(0x11d)],customUserDomain=_0x17bf1f?.[_0x377fbe(0x131)],customRuntimeDomain=_0x17bf1f?.['runtimeDomain'],customSkillDomain=_0x17bf1f?.[_0x377fbe(0x121)],customKbDomain=_0x17bf1f?.[_0x377fbe(0x124)],customKbServiceDomain=_0x17bf1f?.[_0x377fbe(0x117)],allowOfficialKbServiceDefault=_0x17bf1f?.[_0x377fbe(0x11a)]??!![],customAppDomain=_0x17bf1f?.[_0x377fbe(0x127)],customLocalDomain=_0x17bf1f?.[_0x377fbe(0x12e)],customCertificateDomain=_0x17bf1f?.[_0x377fbe(0x12f)],customCdn=_0x17bf1f?.[_0x377fbe(0x126)],activeRegion=_0x17bf1f?.[_0x377fbe(0x12d)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()['user'];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a276_0x4b9258(0x122)];function a276_0x22fb(){const _0x820ead=['allowOfficialKbServiceDefault','1685IOgwik','2233287nEiYXr','apiDomain','skill','runtime','serviceDomains','skillDomain','api','kbService','kbDomain','app','cdn','appDomain','hostname','8iKLrdy','trim','3129021NMyvOD','4659222fIbvLY','region','localDomain','certificateDomain','312630uTjRXw','userDomain','origin','15364vwnutY','1351542xLwnLl','kbServiceDomain','production','190812wqCXHU'];a276_0x22fb=function(){return _0x820ead;};return a276_0x22fb();}export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()['runtime'];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a276_0x4b9258(0x11e)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{const _0x54754f=a276_0x4b9258;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()[_0x54754f(0x123)];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a276_0x4b9258(0x125)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;function a276_0x5aa0(_0x2fd477,_0x3982af){_0x2fd477=_0x2fd477-0x116;const _0x22fbf9=a276_0x22fb();let _0x5aa0f8=_0x22fbf9[_0x2fd477];return _0x5aa0f8;}export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x2c418c=a276_0x4b9258;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x2c418c(0x11f)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x41247c=>{const _0x2246ea=a276_0x4b9258,_0x118a55=encodeURIComponent(_0x41247c[_0x2246ea(0x12a)]());return isProduction(getEnv())?getAppDomain()+'/app/'+_0x118a55:getAppDomain()+'/web-app/app/'+_0x118a55;};export const getPublishedAppDomain=_0x5da7d7=>{const _0x448385=a276_0x4b9258,_0x5374fc=new URL(getAppDomain());return _0x5374fc['hostname']=_0x5da7d7[_0x448385(0x12a)]()+'.'+_0x5374fc[_0x448385(0x128)],_0x5374fc[_0x448385(0x132)];};
@@ -1 +1 @@
1
- const a277_0x3932f7=a277_0x5da2;(function(_0x36aacd,_0x2a8c53){const _0x5d28ec=a277_0x5da2,_0x160e35=_0x36aacd();while(!![]){try{const _0x197193=parseInt(_0x5d28ec(0x170))/0x1+parseInt(_0x5d28ec(0x176))/0x2+-parseInt(_0x5d28ec(0x173))/0x3*(parseInt(_0x5d28ec(0x177))/0x4)+parseInt(_0x5d28ec(0x17b))/0x5*(parseInt(_0x5d28ec(0x175))/0x6)+parseInt(_0x5d28ec(0x17a))/0x7*(parseInt(_0x5d28ec(0x17e))/0x8)+parseInt(_0x5d28ec(0x17c))/0x9*(-parseInt(_0x5d28ec(0x17d))/0xa)+-parseInt(_0x5d28ec(0x178))/0xb;if(_0x197193===_0x2a8c53)break;else _0x160e35['push'](_0x160e35['shift']());}catch(_0x5a11fa){_0x160e35['push'](_0x160e35['shift']());}}}(a277_0x26ef,0x567a0));function a277_0x26ef(){const _0x55f92d=['1161xXdJUe','13710VRbNcA','8VPKalL','476875ddXUGq','online','dev','3627CoDZLa','production','18birLgP','202984HCXrZz','228xylBvt','3993242VkwxgU','daily','2113643edJsJC','137810SEQOQq'];a277_0x26ef=function(){return _0x55f92d;};return a277_0x26ef();}export const RABETBASE_ENV_VALUES=[a277_0x3932f7(0x174),'daily'];export function normalizeEnv(_0x23808c){const _0x51d016=a277_0x3932f7;return _0x23808c===_0x51d016(0x171)?'production':_0x23808c;}export function isProduction(_0x371ea5){return normalizeEnv(_0x371ea5)==='production';}function a277_0x5da2(_0x497a5f,_0x16ad14){_0x497a5f=_0x497a5f-0x170;const _0x26efd8=a277_0x26ef();let _0x5da2c6=_0x26efd8[_0x497a5f];return _0x5da2c6;}export function isDaily(_0x3168aa){const _0x1f3de9=a277_0x3932f7;return normalizeEnv(_0x3168aa)===_0x1f3de9(0x179);}export function isDev(_0x4bd9ee){const _0x5251bb=a277_0x3932f7,_0x4f81c3=normalizeEnv(_0x4bd9ee);return _0x4f81c3==='development'||_0x4f81c3===_0x5251bb(0x172);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||'production');export function getEnv(){return env;}export function initEnv(_0x254716){env=normalizeEnv(_0x254716);}
1
+ const a277_0xff0960=a277_0x1cfb;(function(_0x103edc,_0x3eaf78){const _0x426d9c=a277_0x1cfb,_0x4fdf71=_0x103edc();while(!![]){try{const _0x558dd8=-parseInt(_0x426d9c(0x15d))/0x1*(-parseInt(_0x426d9c(0x154))/0x2)+parseInt(_0x426d9c(0x156))/0x3*(parseInt(_0x426d9c(0x158))/0x4)+-parseInt(_0x426d9c(0x159))/0x5*(parseInt(_0x426d9c(0x155))/0x6)+parseInt(_0x426d9c(0x15b))/0x7*(parseInt(_0x426d9c(0x15f))/0x8)+-parseInt(_0x426d9c(0x152))/0x9+parseInt(_0x426d9c(0x15c))/0xa+-parseInt(_0x426d9c(0x15a))/0xb;if(_0x558dd8===_0x3eaf78)break;else _0x4fdf71['push'](_0x4fdf71['shift']());}catch(_0x4db4cc){_0x4fdf71['push'](_0x4fdf71['shift']());}}}(a277_0x217b,0x3d043));export const RABETBASE_ENV_VALUES=[a277_0xff0960(0x160),a277_0xff0960(0x153)];export function normalizeEnv(_0xb683c8){const _0x51e764=a277_0xff0960;return _0xb683c8===_0x51e764(0x157)?_0x51e764(0x160):_0xb683c8;}function a277_0x1cfb(_0x3740f3,_0x2357ac){_0x3740f3=_0x3740f3-0x152;const _0x217b6d=a277_0x217b();let _0x1cfb31=_0x217b6d[_0x3740f3];return _0x1cfb31;}export function isProduction(_0x49d54a){const _0x541605=a277_0xff0960;return normalizeEnv(_0x49d54a)===_0x541605(0x160);}export function isDaily(_0x5b15a3){const _0x518726=a277_0xff0960;return normalizeEnv(_0x5b15a3)===_0x518726(0x153);}export function isDev(_0x530621){const _0x241542=a277_0xff0960,_0x115860=normalizeEnv(_0x530621);return _0x115860===_0x241542(0x161)||_0x115860===_0x241542(0x15e);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a277_0xff0960(0x160));export function getEnv(){return env;}export function initEnv(_0x4482aa){env=normalizeEnv(_0x4482aa);}function a277_0x217b(){const _0x24aefa=['365811PbovhX','online','12wRGwIx','5cvRGEq','2861012RPqWcd','1353695SCFvTR','3784060tUkYCu','3llbbvA','dev','8hPyOpS','production','development','3790296jzZDKE','daily','193676NXDbci','1781742MpBVrk'];a277_0x217b=function(){return _0x24aefa;};return a277_0x217b();}
@@ -1 +1 @@
1
- const a278_0x3bd5a2=a278_0xad9c;(function(_0x8d858a,_0x24dcb9){const _0x2dd9c0=a278_0xad9c,_0x28c5c2=_0x8d858a();while(!![]){try{const _0x1f6ba7=-parseInt(_0x2dd9c0(0x119))/0x1*(-parseInt(_0x2dd9c0(0x11b))/0x2)+-parseInt(_0x2dd9c0(0x110))/0x3+-parseInt(_0x2dd9c0(0x111))/0x4*(parseInt(_0x2dd9c0(0x117))/0x5)+-parseInt(_0x2dd9c0(0x112))/0x6+parseInt(_0x2dd9c0(0x116))/0x7*(parseInt(_0x2dd9c0(0x118))/0x8)+-parseInt(_0x2dd9c0(0x113))/0x9*(-parseInt(_0x2dd9c0(0x11a))/0xa)+parseInt(_0x2dd9c0(0x115))/0xb;if(_0x1f6ba7===_0x24dcb9)break;else _0x28c5c2['push'](_0x28c5c2['shift']());}catch(_0x3c7f3e){_0x28c5c2['push'](_0x28c5c2['shift']());}}}(a278_0x5ac4,0xeb0cd));function a278_0xad9c(_0x5ecfb5,_0x22b75b){_0x5ecfb5=_0x5ecfb5-0x110;const _0x5ac4be=a278_0x5ac4();let _0xad9c6f=_0x5ac4be[_0x5ecfb5];return _0xad9c6f;}export const RABETBASE_OUTPUT_FORMAT_VALUES=['json','pretty',a278_0x3bd5a2(0x114)];function a278_0x5ac4(){const _0x340ec7=['11648pbPZxr','2025690FhqaTJ','314ZVOQbU','4908531oxsPUX','411484hbvLHi','7393602RyxCLi','54wRKuEd','compress','14363030lRzpPL','5999YkMFCz','30VPpxGM','920ySCjcE'];a278_0x5ac4=function(){return _0x340ec7;};return a278_0x5ac4();}
1
+ const a278_0x5cd8e4=a278_0xad8a;function a278_0xad8a(_0x5b30e9,_0x5d09c8){_0x5b30e9=_0x5b30e9-0x1b7;const _0x314ded=a278_0x314d();let _0xad8ade=_0x314ded[_0x5b30e9];return _0xad8ade;}(function(_0x2f0a90,_0x3f6efb){const _0x270db3=a278_0xad8a,_0x32a375=_0x2f0a90();while(!![]){try{const _0x325b8c=parseInt(_0x270db3(0x1c1))/0x1+parseInt(_0x270db3(0x1b7))/0x2*(parseInt(_0x270db3(0x1c3))/0x3)+parseInt(_0x270db3(0x1bf))/0x4+-parseInt(_0x270db3(0x1c0))/0x5*(parseInt(_0x270db3(0x1bb))/0x6)+parseInt(_0x270db3(0x1c4))/0x7+-parseInt(_0x270db3(0x1bd))/0x8*(-parseInt(_0x270db3(0x1b9))/0x9)+parseInt(_0x270db3(0x1bc))/0xa*(-parseInt(_0x270db3(0x1ba))/0xb);if(_0x325b8c===_0x3f6efb)break;else _0x32a375['push'](_0x32a375['shift']());}catch(_0x51a415){_0x32a375['push'](_0x32a375['shift']());}}}(a278_0x314d,0x81754));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a278_0x5cd8e4(0x1c2),a278_0x5cd8e4(0x1be),a278_0x5cd8e4(0x1b8)];function a278_0x314d(){const _0x29d2f1=['6ikDHHv','17759810wkfobj','12936jZehYd','pretty','1853568dqyaDF','3891175aBIahE','664364dqUzLr','json','2265CGKUjQ','3936002TmmyVL','1822eoYNSB','compress','3933KxVLrP','11ooyscs'];a278_0x314d=function(){return _0x29d2f1;};return a278_0x314d();}
@@ -1 +1 @@
1
- (function(_0x2313d6,_0x944ea6){const _0x27227f=a279_0x4804,_0x1f6ef5=_0x2313d6();while(!![]){try{const _0x174c46=-parseInt(_0x27227f(0x19e))/0x1*(-parseInt(_0x27227f(0x1a3))/0x2)+-parseInt(_0x27227f(0x1aa))/0x3*(-parseInt(_0x27227f(0x1a6))/0x4)+-parseInt(_0x27227f(0x1a7))/0x5*(parseInt(_0x27227f(0x1a8))/0x6)+-parseInt(_0x27227f(0x1a2))/0x7+parseInt(_0x27227f(0x1a4))/0x8*(-parseInt(_0x27227f(0x1a9))/0x9)+-parseInt(_0x27227f(0x1a1))/0xa*(-parseInt(_0x27227f(0x1a0))/0xb)+parseInt(_0x27227f(0x1a5))/0xc*(-parseInt(_0x27227f(0x19f))/0xd);if(_0x174c46===_0x944ea6)break;else _0x1f6ef5['push'](_0x1f6ef5['shift']());}catch(_0x2a805c){_0x1f6ef5['push'](_0x1f6ef5['shift']());}}}(a279_0x8ab0,0x58d63));function a279_0x4804(_0x5d95ef,_0x1c9bec){_0x5d95ef=_0x5d95ef-0x19e;const _0x8ab018=a279_0x8ab0();let _0x480422=_0x8ab018[_0x5d95ef];return _0x480422;}export const DEFAULT_API_DIR='./src/api';function a279_0x8ab0(){const _0x1a1299=['1140MUzxvi','210228fSDkkV','10aSxjZD','2025558DHAbex','465471aEvbho','39tVmGJq','25pTSxPs','6669GFkQHH','22jlHpdx','83480nFlOah','1667729ZaqvKi','54226HYnGcU','8SyFtKW'];a279_0x8ab0=function(){return _0x1a1299;};return a279_0x8ab0();}
1
+ function a279_0x5558(_0x5883f9,_0x128b6f){_0x5883f9=_0x5883f9-0x110;const _0x58523d=a279_0x5852();let _0x555802=_0x58523d[_0x5883f9];return _0x555802;}const a279_0x445462=a279_0x5558;function a279_0x5852(){const _0xef029b=['501128LNkVTu','2605292DWmFrQ','3294333tzYMtD','3abGGCS','3965904TwNmmi','3080788UMXycM','70RJAzJb','19649NJuIKr','4685010NUUzyc','./src/api','1576hRWUlS'];a279_0x5852=function(){return _0xef029b;};return a279_0x5852();}(function(_0x1ab3f1,_0x9ec36){const _0x492eae=a279_0x5558,_0x2752e0=_0x1ab3f1();while(!![]){try{const _0x4b94a7=-parseInt(_0x492eae(0x115))/0x1+-parseInt(_0x492eae(0x116))/0x2*(parseInt(_0x492eae(0x118))/0x3)+parseInt(_0x492eae(0x11a))/0x4+-parseInt(_0x492eae(0x112))/0x5+parseInt(_0x492eae(0x119))/0x6+-parseInt(_0x492eae(0x111))/0x7*(parseInt(_0x492eae(0x114))/0x8)+-parseInt(_0x492eae(0x117))/0x9*(-parseInt(_0x492eae(0x110))/0xa);if(_0x4b94a7===_0x9ec36)break;else _0x2752e0['push'](_0x2752e0['shift']());}catch(_0x35d24f){_0x2752e0['push'](_0x2752e0['shift']());}}}(a279_0x5852,0xaad25));export const DEFAULT_API_DIR=a279_0x445462(0x113);
@@ -1 +1 @@
1
- (function(_0x2ee30b,_0x586890){const _0x10e96a=a280_0x2f68,_0xdc5514=_0x2ee30b();while(!![]){try{const _0x3c28c4=-parseInt(_0x10e96a(0x138))/0x1*(-parseInt(_0x10e96a(0x13f))/0x2)+-parseInt(_0x10e96a(0x13d))/0x3+-parseInt(_0x10e96a(0x13e))/0x4*(parseInt(_0x10e96a(0x13c))/0x5)+parseInt(_0x10e96a(0x13b))/0x6*(parseInt(_0x10e96a(0x135))/0x7)+-parseInt(_0x10e96a(0x136))/0x8+parseInt(_0x10e96a(0x141))/0x9*(-parseInt(_0x10e96a(0x140))/0xa)+-parseInt(_0x10e96a(0x142))/0xb*(-parseInt(_0x10e96a(0x137))/0xc);if(_0x3c28c4===_0x586890)break;else _0xdc5514['push'](_0xdc5514['shift']());}catch(_0x3bd35b){_0xdc5514['push'](_0xdc5514['shift']());}}}(a280_0x4927,0xd0d96));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x4f0198){const _0x3b497c=a280_0x2f68;return typeof _0x4f0198===_0x3b497c(0x13a)&&LOVRABET_REGION_VALUES[_0x3b497c(0x139)](_0x4f0198);}export function isEnabledLovrabetRegion(_0x3a5b1c){const _0x593442=a280_0x2f68;return typeof _0x3a5b1c===_0x593442(0x13a)&&ENABLED_LOVRABET_REGION_VALUES[_0x593442(0x139)](_0x3a5b1c);}export function normalizeLovrabetRegion(_0x50a2aa){const _0x540a96=a280_0x2f68;if(typeof _0x50a2aa!==_0x540a96(0x13a))return undefined;const _0x48fa64=REGION_ALIASES[_0x50a2aa]??_0x50a2aa;return isLovrabetRegion(_0x48fa64)?_0x48fa64:undefined;}function a280_0x2f68(_0x6c6e9c,_0x127af5){_0x6c6e9c=_0x6c6e9c-0x135;const _0x49273d=a280_0x4927();let _0x2f684f=_0x49273d[_0x6c6e9c];return _0x2f684f;}function a280_0x4927(){const _0xa1945=['10CSogWu','includes','string','6iOIlws','2215tRLlMl','403728YRjioz','15208DxRAZl','185362JYdjrZ','94060EFiaKI','1107HmEAZH','10962083CWUoBW','8523851Qjllpd','2450904umErmr','24bCMRjt'];a280_0x4927=function(){return _0xa1945;};return a280_0x4927();}export function isInvalidLovrabetRegion(_0x1e4184){return _0x1e4184!==undefined&&_0x1e4184!==null&&_0x1e4184!==''&&normalizeLovrabetRegion(_0x1e4184)===undefined;}
1
+ (function(_0x2b87c0,_0x4a6511){const _0x264976=a280_0x5996,_0x1bb878=_0x2b87c0();while(!![]){try{const _0x4f0fff=parseInt(_0x264976(0x1a6))/0x1*(parseInt(_0x264976(0x1ae))/0x2)+-parseInt(_0x264976(0x1ad))/0x3+parseInt(_0x264976(0x1a9))/0x4+parseInt(_0x264976(0x1ab))/0x5*(-parseInt(_0x264976(0x1ac))/0x6)+parseInt(_0x264976(0x1a5))/0x7+-parseInt(_0x264976(0x1aa))/0x8+-parseInt(_0x264976(0x1a4))/0x9*(-parseInt(_0x264976(0x1af))/0xa);if(_0x4f0fff===_0x4a6511)break;else _0x1bb878['push'](_0x1bb878['shift']());}catch(_0x2a237c){_0x1bb878['push'](_0x1bb878['shift']());}}}(a280_0x5cb9,0x3103e));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;function a280_0x5996(_0x37b811,_0x8d3e){_0x37b811=_0x37b811-0x1a4;const _0x5cb93c=a280_0x5cb9();let _0x5996da=_0x5cb93c[_0x37b811];return _0x5996da;}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x15bc9b){const _0x93f386=a280_0x5996;return typeof _0x15bc9b===_0x93f386(0x1a8)&&LOVRABET_REGION_VALUES[_0x93f386(0x1a7)](_0x15bc9b);}function a280_0x5cb9(){const _0x2f644f=['1061526rDPKLQ','105734GPmRrY','12430GvAnfZ','2277FfWCsZ','1310365mjXkNG','6ryatxK','includes','string','478864NSyahw','723248sReqgv','6410hyQcdj','1374RqdHUW'];a280_0x5cb9=function(){return _0x2f644f;};return a280_0x5cb9();}export function isEnabledLovrabetRegion(_0x258219){const _0x5b496d=a280_0x5996;return typeof _0x258219===_0x5b496d(0x1a8)&&ENABLED_LOVRABET_REGION_VALUES[_0x5b496d(0x1a7)](_0x258219);}export function normalizeLovrabetRegion(_0x4b174d){if(typeof _0x4b174d!=='string')return undefined;const _0xc0de84=REGION_ALIASES[_0x4b174d]??_0x4b174d;return isLovrabetRegion(_0xc0de84)?_0xc0de84:undefined;}export function isInvalidLovrabetRegion(_0x3ff220){return _0x3ff220!==undefined&&_0x3ff220!==null&&_0x3ff220!==''&&normalizeLovrabetRegion(_0x3ff220)===undefined;}
@@ -1 +1 @@
1
- const a281_0x2ad048=a281_0x2175;(function(_0x5f1f6d,_0x16c273){const _0x46a1af=a281_0x2175,_0x495d6d=_0x5f1f6d();while(!![]){try{const _0x25bad4=-parseInt(_0x46a1af(0xf2))/0x1+parseInt(_0x46a1af(0xf3))/0x2*(parseInt(_0x46a1af(0xec))/0x3)+parseInt(_0x46a1af(0xe9))/0x4+-parseInt(_0x46a1af(0xed))/0x5*(parseInt(_0x46a1af(0xea))/0x6)+parseInt(_0x46a1af(0xf0))/0x7+-parseInt(_0x46a1af(0xee))/0x8*(-parseInt(_0x46a1af(0xe7))/0x9)+parseInt(_0x46a1af(0xef))/0xa*(parseInt(_0x46a1af(0xe8))/0xb);if(_0x25bad4===_0x16c273)break;else _0x495d6d['push'](_0x495d6d['shift']());}catch(_0x282b10){_0x495d6d['push'](_0x495d6d['shift']());}}}(a281_0x2e93,0xc36ba));function a281_0x2175(_0x2accc1,_0x324ea9){_0x2accc1=_0x2accc1-0xe7;const _0x2e936a=a281_0x2e93();let _0x217592=_0x2e936a[_0x2accc1];return _0x217592;}function a281_0x2e93(){const _0xfa886d=['1340738aFTaIG','16qtKmcb','read','126FpmvqI','4874199FZtTDe','1788624nPgERB','5466XDwQTH','high-risk-write','427626eTxVrG','6070IfqTKp','564408lQGSRs','10mbvLcI','1601733aBwIMZ','write'];a281_0x2e93=function(){return _0xfa886d;};return a281_0x2e93();}export const RISK_LEVEL_VALUES=[a281_0x2ad048(0xf4),a281_0x2ad048(0xf1),a281_0x2ad048(0xeb)];
1
+ function a281_0x3f2a(){const _0x3f39bb=['572266axTWwZ','1iUeOtR','1409931bUMdAQ','3447350zHgvED','4Tpqgjb','790UEJxFl','16ohFRTn','118092xIhHFU','13008gGALUS','high-risk-write','42858JqbtjV','286Ndhtzs','532231BTSPXu','read','write'];a281_0x3f2a=function(){return _0x3f39bb;};return a281_0x3f2a();}const a281_0x3cd216=a281_0x15e7;function a281_0x15e7(_0x2ee127,_0x16f828){_0x2ee127=_0x2ee127-0x186;const _0x3f2a84=a281_0x3f2a();let _0x15e765=_0x3f2a84[_0x2ee127];return _0x15e765;}(function(_0x5a68a1,_0x31db17){const _0x21767a=a281_0x15e7,_0x5af290=_0x5a68a1();while(!![]){try{const _0x505ac6=parseInt(_0x21767a(0x192))/0x1*(-parseInt(_0x21767a(0x191))/0x2)+-parseInt(_0x21767a(0x193))/0x3*(parseInt(_0x21767a(0x186))/0x4)+parseInt(_0x21767a(0x187))/0x5*(parseInt(_0x21767a(0x18a))/0x6)+parseInt(_0x21767a(0x18e))/0x7+-parseInt(_0x21767a(0x188))/0x8*(parseInt(_0x21767a(0x18c))/0x9)+parseInt(_0x21767a(0x194))/0xa+-parseInt(_0x21767a(0x18d))/0xb*(-parseInt(_0x21767a(0x189))/0xc);if(_0x505ac6===_0x31db17)break;else _0x5af290['push'](_0x5af290['shift']());}catch(_0x128c04){_0x5af290['push'](_0x5af290['shift']());}}}(a281_0x3f2a,0x3de68));export const RISK_LEVEL_VALUES=[a281_0x3cd216(0x18f),a281_0x3cd216(0x190),a281_0x3cd216(0x18b)];
@@ -1 +1 @@
1
- (function(_0x1b51c1,_0x27ab32){const _0xa25f64=a282_0x144b,_0x1abb8a=_0x1b51c1();while(!![]){try{const _0x37f8c2=-parseInt(_0xa25f64(0x173))/0x1+-parseInt(_0xa25f64(0x17a))/0x2+-parseInt(_0xa25f64(0x172))/0x3+-parseInt(_0xa25f64(0x175))/0x4*(parseInt(_0xa25f64(0x176))/0x5)+parseInt(_0xa25f64(0x174))/0x6*(parseInt(_0xa25f64(0x17d))/0x7)+-parseInt(_0xa25f64(0x17c))/0x8+parseInt(_0xa25f64(0x177))/0x9;if(_0x37f8c2===_0x27ab32)break;else _0x1abb8a['push'](_0x1abb8a['shift']());}catch(_0x13a825){_0x1abb8a['push'](_0x1abb8a['shift']());}}}(a282_0x57cf,0x8ebb9));function a282_0x144b(_0x8d8807,_0x27a015){_0x8d8807=_0x8d8807-0x172;const _0x57cfd6=a282_0x57cf();let _0x144bc1=_0x57cfd6[_0x8d8807];return _0x144bc1;}import{OFFICIAL_ROUTING_PROFILES as a282_0x175b85,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a282_0x175b85;export{ROUTING_CATALOG_DIGEST};function a282_0x57cf(){const _0x41bac9=['lovrabet','5401432ueQFXo','329yAUtMD','cdn','858822UEstbU','53625AJPMGi','44514HnxAid','451048OLeJWT','20uxtfMP','21747654AtlCnT','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','Official\x20routing\x20for\x20region\x20\x22','1428680hUDNUT'];a282_0x57cf=function(){return _0x41bac9;};return a282_0x57cf();}export function getOfficialRoutingProfile(_0x5da448){return OFFICIAL_ROUTING_PROFILES[_0x5da448];}export function getOfficialRoutingCdn(_0x43937f){const _0x42fee4=a282_0x144b,_0x830dcb=getOfficialRoutingProfile(_0x43937f)[_0x42fee4(0x17e)];if(!_0x830dcb[_0x42fee4(0x17b)])throw new Error(_0x42fee4(0x179)+_0x43937f+_0x42fee4(0x178));return{'libraries':_0x830dcb['libraries'],'lovrabet':_0x830dcb[_0x42fee4(0x17b)]};}
1
+ (function(_0x51debd,_0x232ae4){const _0x260364=a282_0x349f,_0x5be942=_0x51debd();while(!![]){try{const _0x48d43f=-parseInt(_0x260364(0xc7))/0x1+parseInt(_0x260364(0xc8))/0x2*(parseInt(_0x260364(0xbf))/0x3)+-parseInt(_0x260364(0xbc))/0x4*(-parseInt(_0x260364(0xc3))/0x5)+parseInt(_0x260364(0xc6))/0x6+parseInt(_0x260364(0xc0))/0x7*(-parseInt(_0x260364(0xc2))/0x8)+-parseInt(_0x260364(0xbe))/0x9*(-parseInt(_0x260364(0xc5))/0xa)+parseInt(_0x260364(0xbd))/0xb;if(_0x48d43f===_0x232ae4)break;else _0x5be942['push'](_0x5be942['shift']());}catch(_0x21aa1a){_0x5be942['push'](_0x5be942['shift']());}}}(a282_0xa5c0,0x693c4));import{OFFICIAL_ROUTING_PROFILES as a282_0x1e3bc4,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a282_0x1e3bc4;function a282_0x349f(_0x3ffc13,_0x379240){_0x3ffc13=_0x3ffc13-0xbb;const _0xa5c049=a282_0xa5c0();let _0x349ff7=_0xa5c049[_0x3ffc13];return _0x349ff7;}export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x2513e3){return OFFICIAL_ROUTING_PROFILES[_0x2513e3];}function a282_0xa5c0(){const _0x8f9457=['18eIaisL','66XqEuqH','11459htjacX','cdn','1688VAUKZj','357310SqMXAC','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','1071370QQkQpt','1703112TVCEZK','822463ImjcFi','6140Esxhxl','lovrabet','4IQYrbd','10579646ugOkJF'];a282_0xa5c0=function(){return _0x8f9457;};return a282_0xa5c0();}export function getOfficialRoutingCdn(_0x300863){const _0x2beb3c=a282_0x349f,_0x591d1f=getOfficialRoutingProfile(_0x300863)[_0x2beb3c(0xc1)];if(!_0x591d1f[_0x2beb3c(0xbb)])throw new Error('Official\x20routing\x20for\x20region\x20\x22'+_0x300863+_0x2beb3c(0xc4));return{'libraries':_0x591d1f['libraries'],'lovrabet':_0x591d1f[_0x2beb3c(0xbb)]};}