@lovrabet/rabetbase-cli 2.5.3-beta.1 → 2.5.3-beta.3

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 (419) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/api-group.d.ts +22 -0
  3. package/lib/api/api-group.js +1 -0
  4. package/lib/api/fetch-model-list.js +1 -1
  5. package/lib/api/generate-api-file.d.ts +18 -2
  6. package/lib/api/generate-api-file.js +1 -1
  7. package/lib/api/generate-sdk-config-file.js +1 -1
  8. package/lib/api/legacy-api-file.d.ts +11 -0
  9. package/lib/api/legacy-api-file.js +1 -0
  10. package/lib/api/model-registry-file.d.ts +36 -0
  11. package/lib/api/model-registry-file.js +1 -0
  12. package/lib/api/model-registry-scaffold.d.ts +7 -0
  13. package/lib/api/model-registry-scaffold.js +1 -0
  14. package/lib/api/model-source.d.ts +6 -0
  15. package/lib/api/model-source.js +1 -0
  16. package/lib/auth/auth-server-ui.js +1 -1
  17. package/lib/auth/auth-server.js +1 -1
  18. package/lib/auth/constant.js +1 -1
  19. package/lib/auth/get-cookie.js +1 -1
  20. package/lib/auth/get-session-user.js +1 -1
  21. package/lib/auth/is-session-valid.js +1 -1
  22. package/lib/auth/login-success-html.js +1 -1
  23. package/lib/auth/logout.js +1 -1
  24. package/lib/cli-flags.js +1 -1
  25. package/lib/cli.js +1 -1
  26. package/lib/commands/api/generate.js +1 -1
  27. package/lib/commands/api/index.js +1 -1
  28. package/lib/commands/api/list.js +1 -1
  29. package/lib/commands/api/pull.js +1 -1
  30. package/lib/commands/api/shared.js +1 -1
  31. package/lib/commands/app/index.js +1 -1
  32. package/lib/commands/app/list.js +1 -1
  33. package/lib/commands/app/members-list.js +1 -1
  34. package/lib/commands/app/remote-directory.js +1 -1
  35. package/lib/commands/app/shared.js +1 -1
  36. package/lib/commands/app-config/delete.js +1 -1
  37. package/lib/commands/app-config/get.js +1 -1
  38. package/lib/commands/app-config/index.js +1 -1
  39. package/lib/commands/app-config/list.js +1 -1
  40. package/lib/commands/app-config/set.js +1 -1
  41. package/lib/commands/app-config/shared.js +1 -1
  42. package/lib/commands/auth/index.js +1 -1
  43. package/lib/commands/bff/create.js +1 -1
  44. package/lib/commands/bff/delete.js +1 -1
  45. package/lib/commands/bff/detail.js +1 -1
  46. package/lib/commands/bff/index.js +1 -1
  47. package/lib/commands/bff/list.js +1 -1
  48. package/lib/commands/bff/logs.d.ts +7 -0
  49. package/lib/commands/bff/logs.js +1 -0
  50. package/lib/commands/bff/pull.js +1 -1
  51. package/lib/commands/bff/push.js +1 -1
  52. package/lib/commands/bff/status.js +1 -1
  53. package/lib/commands/cli-skill/index.js +1 -1
  54. package/lib/commands/cli-update.js +1 -1
  55. package/lib/commands/codegen/index.js +1 -1
  56. package/lib/commands/codegen/sdk.js +1 -1
  57. package/lib/commands/codegen/sql.js +1 -1
  58. package/lib/commands/common/app-registry.js +1 -1
  59. package/lib/commands/common/app-selector.js +1 -1
  60. package/lib/commands/common/async-task.js +1 -1
  61. package/lib/commands/common/dry-run.js +1 -1
  62. package/lib/commands/common/flags.d.ts +7 -0
  63. package/lib/commands/common/flags.js +1 -1
  64. package/lib/commands/common/local-file.js +1 -1
  65. package/lib/commands/common/validate.js +1 -1
  66. package/lib/commands/config/delete.js +1 -1
  67. package/lib/commands/config/get.js +1 -1
  68. package/lib/commands/config/index.js +1 -1
  69. package/lib/commands/config/init.js +1 -1
  70. package/lib/commands/config/list.js +1 -1
  71. package/lib/commands/config/set.js +1 -1
  72. package/lib/commands/config/shared.js +1 -1
  73. package/lib/commands/dataset/batch-design.d.ts +21 -0
  74. package/lib/commands/dataset/batch-design.js +1 -0
  75. package/lib/commands/dataset/business-group-update.js +1 -1
  76. package/lib/commands/dataset/business-groups.js +1 -1
  77. package/lib/commands/dataset/capability.js +1 -1
  78. package/lib/commands/dataset/cross-relation-create.d.ts +2 -0
  79. package/lib/commands/dataset/cross-relation-create.js +1 -0
  80. package/lib/commands/dataset/cross-relation-delete.d.ts +2 -0
  81. package/lib/commands/dataset/cross-relation-delete.js +1 -0
  82. package/lib/commands/dataset/cross-relation-list.d.ts +2 -0
  83. package/lib/commands/dataset/cross-relation-list.js +1 -0
  84. package/lib/commands/dataset/cross-relation-shared.d.ts +190 -0
  85. package/lib/commands/dataset/cross-relation-shared.js +1 -0
  86. package/lib/commands/dataset/cross-relation-update.d.ts +2 -0
  87. package/lib/commands/dataset/cross-relation-update.js +1 -0
  88. package/lib/commands/dataset/delete.js +1 -1
  89. package/lib/commands/dataset/detail.js +1 -1
  90. package/lib/commands/dataset/extend-update.js +1 -1
  91. package/lib/commands/dataset/field-restore.js +1 -1
  92. package/lib/commands/dataset/field-update.js +1 -1
  93. package/lib/commands/dataset/generate.js +1 -1
  94. package/lib/commands/dataset/index.js +1 -1
  95. package/lib/commands/dataset/list.js +1 -1
  96. package/lib/commands/dataset/operations.js +1 -1
  97. package/lib/commands/dataset/relation-audit.js +1 -1
  98. package/lib/commands/dataset/relation-create.js +1 -1
  99. package/lib/commands/dataset/relation-delete.js +1 -1
  100. package/lib/commands/dataset/relation-shared.js +1 -1
  101. package/lib/commands/dataset/relation-update.js +1 -1
  102. package/lib/commands/dataset/relations.js +1 -1
  103. package/lib/commands/dataset/rename.js +1 -1
  104. package/lib/commands/dataset/restore.js +1 -1
  105. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  106. package/lib/commands/db/analysis-batching.js +1 -1
  107. package/lib/commands/db/analyze-batch-plan.js +1 -1
  108. package/lib/commands/db/analyze-cancel.js +1 -1
  109. package/lib/commands/db/analyze-start.js +1 -1
  110. package/lib/commands/db/analyze-status.js +1 -1
  111. package/lib/commands/db/create.js +1 -1
  112. package/lib/commands/db/delete.js +1 -1
  113. package/lib/commands/db/detail.js +1 -1
  114. package/lib/commands/db/diff-refresh-start.js +1 -1
  115. package/lib/commands/db/diff-refresh-status.js +1 -1
  116. package/lib/commands/db/diff.js +1 -1
  117. package/lib/commands/db/index.js +1 -1
  118. package/lib/commands/db/list.js +1 -1
  119. package/lib/commands/db/shared.js +1 -1
  120. package/lib/commands/db/table-diff-shared.js +1 -1
  121. package/lib/commands/db/tables.js +1 -1
  122. package/lib/commands/db/test.js +1 -1
  123. package/lib/commands/db/update.js +1 -1
  124. package/lib/commands/deployment/index.js +1 -1
  125. package/lib/commands/deployment/sync-all.js +1 -1
  126. package/lib/commands/deployment/sync-jobs.js +1 -1
  127. package/lib/commands/deployment/sync-status.js +1 -1
  128. package/lib/commands/doctor.js +1 -1
  129. package/lib/commands/file/index.js +1 -1
  130. package/lib/commands/flow/create.d.ts +2 -0
  131. package/lib/commands/flow/create.js +1 -0
  132. package/lib/commands/flow/detail.d.ts +2 -0
  133. package/lib/commands/flow/detail.js +1 -0
  134. package/lib/commands/flow/index.d.ts +3 -0
  135. package/lib/commands/flow/index.js +1 -0
  136. package/lib/commands/flow/list.d.ts +2 -0
  137. package/lib/commands/flow/list.js +1 -0
  138. package/lib/commands/flow/publish.d.ts +2 -0
  139. package/lib/commands/flow/publish.js +1 -0
  140. package/lib/commands/flow/runtime-resources-shared.d.ts +40 -0
  141. package/lib/commands/flow/runtime-resources-shared.js +1 -0
  142. package/lib/commands/flow/runtime-role-list.d.ts +2 -0
  143. package/lib/commands/flow/runtime-role-list.js +1 -0
  144. package/lib/commands/flow/runtime-role-user-list.d.ts +2 -0
  145. package/lib/commands/flow/runtime-role-user-list.js +1 -0
  146. package/lib/commands/flow/runtime-user-search.d.ts +2 -0
  147. package/lib/commands/flow/runtime-user-search.js +1 -0
  148. package/lib/commands/flow/shared.d.ts +41 -0
  149. package/lib/commands/flow/shared.js +1 -0
  150. package/lib/commands/flow/update.d.ts +2 -0
  151. package/lib/commands/flow/update.js +1 -0
  152. package/lib/commands/flow/validate.d.ts +3 -0
  153. package/lib/commands/flow/validate.js +1 -0
  154. package/lib/commands/instant-api-policy/current.js +1 -1
  155. package/lib/commands/instant-api-policy/index.js +1 -1
  156. package/lib/commands/instant-api-policy/init.js +1 -1
  157. package/lib/commands/instant-api-policy/publish.js +1 -1
  158. package/lib/commands/instant-api-policy/pull.js +1 -1
  159. package/lib/commands/instant-api-policy/revision.js +1 -1
  160. package/lib/commands/instant-api-policy/revisions.js +1 -1
  161. package/lib/commands/instant-api-policy/rollback.js +1 -1
  162. package/lib/commands/instant-api-policy/shared.js +1 -1
  163. package/lib/commands/instant-api-policy/validate.js +1 -1
  164. package/lib/commands/issue/index.js +1 -1
  165. package/lib/commands/issue/nudge.js +1 -1
  166. package/lib/commands/issue/report.js +1 -1
  167. package/lib/commands/issue/shared.js +1 -1
  168. package/lib/commands/kb/create.js +1 -1
  169. package/lib/commands/kb/delete.js +1 -1
  170. package/lib/commands/kb/detail.js +1 -1
  171. package/lib/commands/kb/index.js +1 -1
  172. package/lib/commands/kb/list.js +1 -1
  173. package/lib/commands/kb/search.js +1 -1
  174. package/lib/commands/kb/shared.js +1 -1
  175. package/lib/commands/kb/update.js +1 -1
  176. package/lib/commands/logs/index.js +1 -1
  177. package/lib/commands/menu/asset-update.js +1 -1
  178. package/lib/commands/menu/delete.js +1 -1
  179. package/lib/commands/menu/external-link-create.js +1 -1
  180. package/lib/commands/menu/external-link-update.js +1 -1
  181. package/lib/commands/menu/group-create.js +1 -1
  182. package/lib/commands/menu/group-update.js +1 -1
  183. package/lib/commands/menu/index.js +1 -1
  184. package/lib/commands/menu/list.js +1 -1
  185. package/lib/commands/menu/move.js +1 -1
  186. package/lib/commands/menu/regroup-start.js +1 -1
  187. package/lib/commands/menu/rename.js +1 -1
  188. package/lib/commands/menu/shared/compare-table.js +1 -1
  189. package/lib/commands/menu/shared/delete-plan.js +1 -1
  190. package/lib/commands/menu/shared/facts.js +1 -1
  191. package/lib/commands/menu/shared/index.js +1 -1
  192. package/lib/commands/menu/shared/inquirer.js +1 -1
  193. package/lib/commands/menu/shared/local-pages.js +1 -1
  194. package/lib/commands/menu/shared/logic.js +1 -1
  195. package/lib/commands/menu/shared/mutations.js +1 -1
  196. package/lib/commands/menu/shared/service.js +1 -1
  197. package/lib/commands/menu/shared/sync-core.js +1 -1
  198. package/lib/commands/menu/shared/update-core.js +1 -1
  199. package/lib/commands/menu/shared/valid-url.js +1 -1
  200. package/lib/commands/menu/sync.js +1 -1
  201. package/lib/commands/menu/visibility-update.js +1 -1
  202. package/lib/commands/notification/config-create.js +1 -1
  203. package/lib/commands/notification/config-delete.js +1 -1
  204. package/lib/commands/notification/config-list.js +1 -1
  205. package/lib/commands/notification/config-update.js +1 -1
  206. package/lib/commands/notification/index.js +1 -1
  207. package/lib/commands/notification/shared.js +1 -1
  208. package/lib/commands/ocr/index.js +1 -1
  209. package/lib/commands/page/create.js +1 -1
  210. package/lib/commands/page/custom/detail.js +1 -1
  211. package/lib/commands/page/custom/list.js +1 -1
  212. package/lib/commands/page/custom/publish.js +1 -1
  213. package/lib/commands/page/custom/shared.js +1 -1
  214. package/lib/commands/page/custom/syntax.js +1 -1
  215. package/lib/commands/page/custom/update.js +1 -1
  216. package/lib/commands/page/data-list-status.js +1 -1
  217. package/lib/commands/page/generate-start.js +1 -1
  218. package/lib/commands/page/generate-status.js +1 -1
  219. package/lib/commands/page/index.js +1 -1
  220. package/lib/commands/page/pull.js +1 -1
  221. package/lib/commands/page/push.js +1 -1
  222. package/lib/commands/page/relation-audit.js +1 -1
  223. package/lib/commands/page/restore.js +1 -1
  224. package/lib/commands/page/shared.js +1 -1
  225. package/lib/commands/page/sync.js +1 -1
  226. package/lib/commands/project/api-architecture-upgrade.d.ts +28 -0
  227. package/lib/commands/project/api-architecture-upgrade.js +1 -0
  228. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  229. package/lib/commands/project/create/format-elapsed.js +1 -1
  230. package/lib/commands/project/create/main.js +1 -1
  231. package/lib/commands/project/create/materialize-project-template.js +1 -1
  232. package/lib/commands/project/create/project-name.js +1 -1
  233. package/lib/commands/project/create/project-template-archive.js +1 -1
  234. package/lib/commands/project/create/project-template-path.js +1 -1
  235. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  236. package/lib/commands/project/create/use-format-code.js +1 -1
  237. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  238. package/lib/commands/project/domain-routing-sync.js +1 -1
  239. package/lib/commands/project/index.js +1 -1
  240. package/lib/commands/project/upgrade.d.ts +30 -1
  241. package/lib/commands/project/upgrade.js +1 -1
  242. package/lib/commands/registry.js +1 -1
  243. package/lib/commands/role/delete.js +1 -1
  244. package/lib/commands/role/detail.js +1 -1
  245. package/lib/commands/role/index.js +1 -1
  246. package/lib/commands/role/list.js +1 -1
  247. package/lib/commands/role/shared.js +1 -1
  248. package/lib/commands/role/update.js +1 -1
  249. package/lib/commands/role/user-add.js +1 -1
  250. package/lib/commands/role/user-remove.js +1 -1
  251. package/lib/commands/role/user-resolve.js +1 -1
  252. package/lib/commands/rule/get.js +1 -1
  253. package/lib/commands/rule/index.js +1 -1
  254. package/lib/commands/rule/list.js +1 -1
  255. package/lib/commands/rule/set.js +1 -1
  256. package/lib/commands/rule/shared.js +1 -1
  257. package/lib/commands/run/index.js +1 -1
  258. package/lib/commands/schema.js +1 -1
  259. package/lib/commands/sql/create.js +1 -1
  260. package/lib/commands/sql/delete.js +1 -1
  261. package/lib/commands/sql/detail.js +1 -1
  262. package/lib/commands/sql/exec.js +1 -1
  263. package/lib/commands/sql/index.js +1 -1
  264. package/lib/commands/sql/list.js +1 -1
  265. package/lib/commands/sql/pull.js +1 -1
  266. package/lib/commands/sql/push.js +1 -1
  267. package/lib/commands/sql/shared.js +1 -1
  268. package/lib/commands/sql/status.js +1 -1
  269. package/lib/commands/sql/validate.js +1 -1
  270. package/lib/commands/task/index.js +1 -1
  271. package/lib/commands/task/status.js +1 -1
  272. package/lib/commands/tenant/index.js +1 -1
  273. package/lib/commands/tenant/members-list.js +1 -1
  274. package/lib/commands/tenant/shared.js +1 -1
  275. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  276. package/lib/commands/user-account/index.js +1 -1
  277. package/lib/commands/workspace/add.js +1 -1
  278. package/lib/commands/workspace/index.js +1 -1
  279. package/lib/commands/workspace/remove.js +1 -1
  280. package/lib/config/domain-config.js +1 -1
  281. package/lib/config/project-domain-routing.js +1 -1
  282. package/lib/config/region-config.js +1 -1
  283. package/lib/config/schema.js +1 -1
  284. package/lib/constant/cdn.js +1 -1
  285. package/lib/constant/cli.js +1 -1
  286. package/lib/constant/defaults.js +1 -1
  287. package/lib/constant/domain.js +1 -1
  288. package/lib/constant/env.js +1 -1
  289. package/lib/constant/output.js +1 -1
  290. package/lib/constant/paths.js +1 -1
  291. package/lib/constant/region.js +1 -1
  292. package/lib/constant/risk.js +1 -1
  293. package/lib/constant/routing-profile.js +1 -1
  294. package/lib/context/app-resolver.d.ts +2 -0
  295. package/lib/context/app-resolver.js +1 -1
  296. package/lib/context/auth-resolver.js +1 -1
  297. package/lib/context/config-loader.js +1 -1
  298. package/lib/context.d.ts +2 -1
  299. package/lib/context.js +1 -1
  300. package/lib/core/alias-resolver.d.ts +13 -17
  301. package/lib/core/alias-resolver.js +1 -1
  302. package/lib/core/api-client.d.ts +176 -1
  303. package/lib/core/api-client.js +1 -1
  304. package/lib/core/bff/config.js +1 -1
  305. package/lib/core/bff/file-system.js +1 -1
  306. package/lib/core/bff/hash.js +1 -1
  307. package/lib/core/bff/hook-directory.d.ts +55 -0
  308. package/lib/core/bff/hook-directory.js +1 -0
  309. package/lib/core/bff/lock.js +1 -1
  310. package/lib/core/bff/types.d.ts +15 -0
  311. package/lib/core/bff/utils.js +1 -1
  312. package/lib/core/cross-db-relation.d.ts +41 -0
  313. package/lib/core/cross-db-relation.js +1 -0
  314. package/lib/core/db-resolver.js +1 -1
  315. package/lib/core/flow-config.d.ts +628 -0
  316. package/lib/core/flow-config.js +1 -0
  317. package/lib/core/instant-api-policy/config.js +1 -1
  318. package/lib/core/kb-search-client.js +1 -1
  319. package/lib/core/page/file-system.js +1 -1
  320. package/lib/core/page/hash.js +1 -1
  321. package/lib/core/page/lock.js +1 -1
  322. package/lib/core/page/lr-smart-jsx.js +1 -1
  323. package/lib/core/sql-index-auditor.js +1 -1
  324. package/lib/core/sql-sync/config.js +1 -1
  325. package/lib/core/sql-sync/file-system.js +1 -1
  326. package/lib/core/sql-sync/hash.js +1 -1
  327. package/lib/core/sql-sync/lock.js +1 -1
  328. package/lib/core/sql-sync/utils.js +1 -1
  329. package/lib/core/sql-validator.js +1 -1
  330. package/lib/errors.js +1 -1
  331. package/lib/framework/build-all-flags.js +1 -1
  332. package/lib/framework/error-output.js +1 -1
  333. package/lib/framework/explicit-yes.js +1 -1
  334. package/lib/framework/flags.js +1 -1
  335. package/lib/framework/help.js +1 -1
  336. package/lib/framework/index.js +1 -1
  337. package/lib/framework/output.js +1 -1
  338. package/lib/framework/response.js +1 -1
  339. package/lib/framework/runner-alias.d.ts +1 -1
  340. package/lib/framework/runner-alias.js +1 -1
  341. package/lib/framework/runner.js +1 -1
  342. package/lib/framework/schema-export.js +1 -1
  343. package/lib/framework/supported-flags.js +1 -1
  344. package/lib/framework/types.js +1 -1
  345. package/lib/generated/build-info.d.ts +4 -4
  346. package/lib/generated/build-info.js +1 -1
  347. package/lib/generated/official-routing.js +1 -1
  348. package/lib/generated/routing-contract.js +1 -1
  349. package/lib/help.js +1 -1
  350. package/lib/postinstall.js +1 -1
  351. package/lib/runtime/confirmation.js +1 -1
  352. package/lib/runtime/event.js +1 -1
  353. package/lib/runtime/index.js +1 -1
  354. package/lib/runtime/queue.js +1 -1
  355. package/lib/runtime/resolve.js +1 -1
  356. package/lib/skills/builtin-skill.js +1 -1
  357. package/lib/skills/main.js +1 -1
  358. package/lib/skills/npx-skills-add.d.ts +0 -10
  359. package/lib/skills/npx-skills-add.js +1 -1
  360. package/lib/skills/skill-presence.js +1 -1
  361. package/lib/telemetry/cli-command-trace.js +1 -1
  362. package/lib/telemetry/cli-help-trace.js +1 -1
  363. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  364. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  365. package/lib/telemetry/send-cli-trace-log.js +1 -1
  366. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  367. package/lib/types/index.d.ts +11 -1
  368. package/lib/utils/ai_config.js +1 -1
  369. package/lib/utils/apply-jq-filter.js +1 -1
  370. package/lib/utils/cdn-config.js +1 -1
  371. package/lib/utils/check-sdk-version.js +1 -1
  372. package/lib/utils/cli-version-check.js +1 -1
  373. package/lib/utils/cli-version-policy.d.ts +12 -0
  374. package/lib/utils/cli-version-policy.js +1 -1
  375. package/lib/utils/config.js +1 -1
  376. package/lib/utils/entity-with-id.js +1 -1
  377. package/lib/utils/file-utils.js +1 -1
  378. package/lib/utils/guides-cdn.js +1 -1
  379. package/lib/utils/http-client.js +1 -1
  380. package/lib/utils/is-non-interactive.js +1 -1
  381. package/lib/utils/logger.js +1 -1
  382. package/lib/utils/params.js +1 -1
  383. package/lib/utils/platform.js +1 -1
  384. package/lib/utils/sleep.js +1 -1
  385. package/lib/utils/template-replacer.js +1 -1
  386. package/lib/utils/update-notice.js +1 -1
  387. package/lib/utils/version.js +1 -1
  388. package/lib/utils/with-active-cookie.js +1 -1
  389. package/lib/utils/write-cli-side-channel.js +1 -1
  390. package/package.json +4 -1
  391. package/skills/rabetbase/SKILL.md +31 -9
  392. package/skills/rabetbase/guides/approval-flow-development-workflow.md +137 -0
  393. package/skills/rabetbase/guides/backend-function.md +19 -9
  394. package/skills/rabetbase/guides/bff-creation-workflow.md +10 -1
  395. package/skills/rabetbase/guides/conflict-detection.md +2 -0
  396. package/skills/rabetbase/guides/sdk-client-generation.md +112 -60
  397. package/skills/rabetbase/guides/typescript-sdk.md +9 -0
  398. package/skills/rabetbase/knowledge/approval-flow/config-json-schema.md +290 -0
  399. package/skills/rabetbase/references/rabetbase-api-pull.md +30 -19
  400. package/skills/rabetbase/references/rabetbase-app-list.md +1 -1
  401. package/skills/rabetbase/references/rabetbase-bff-create.md +1 -1
  402. package/skills/rabetbase/references/rabetbase-bff-logs.md +47 -0
  403. package/skills/rabetbase/references/rabetbase-bff-pull.md +7 -3
  404. package/skills/rabetbase/references/rabetbase-bff-push.md +10 -2
  405. package/skills/rabetbase/references/rabetbase-config.md +2 -1
  406. package/skills/rabetbase/references/rabetbase-dataset-cross-relations.md +60 -0
  407. package/skills/rabetbase/references/rabetbase-dataset-generate.md +52 -2
  408. package/skills/rabetbase/references/rabetbase-flow-commands.md +86 -0
  409. package/skills/rabetbase/references/rabetbase-flow-resources.md +83 -0
  410. package/skills/rabetbase/references/rabetbase-flow-runtime-boundary.md +25 -0
  411. package/skills/rabetbase/references/rabetbase-instant-api-policy.md +103 -11
  412. package/skills/rabetbase/references/rabetbase-notification-config-list.md +17 -0
  413. package/skills/rabetbase/references/rabetbase-project-create.md +3 -3
  414. package/skills/rabetbase/references/rabetbase-project-upgrade.md +24 -13
  415. package/skills/rabetbase.manifest.json +10 -3
  416. package/templates/README.md +16 -4
  417. package/templates/generate-api/model-runtime.ts.tpl +101 -0
  418. package/templates/generate-api/profile-api.ts.tpl +21 -0
  419. package/templates/generate-api/profile-client.ts.tpl +14 -0
@@ -1 +1 @@
1
- (function(_0x401c3c,_0x31c807){const _0x219296=a223_0x468d,_0x115187=_0x401c3c();while(!![]){try{const _0x180b33=-parseInt(_0x219296(0x71))/0x1+-parseInt(_0x219296(0x6c))/0x2*(parseInt(_0x219296(0x72))/0x3)+-parseInt(_0x219296(0x70))/0x4*(parseInt(_0x219296(0x6d))/0x5)+-parseInt(_0x219296(0x78))/0x6*(parseInt(_0x219296(0x75))/0x7)+-parseInt(_0x219296(0x6f))/0x8*(parseInt(_0x219296(0x6e))/0x9)+parseInt(_0x219296(0x77))/0xa*(parseInt(_0x219296(0x73))/0xb)+-parseInt(_0x219296(0x76))/0xc*(-parseInt(_0x219296(0x74))/0xd);if(_0x180b33===_0x31c807)break;else _0x115187['push'](_0x115187['shift']());}catch(_0x5a7181){_0x115187['push'](_0x115187['shift']());}}}(a223_0xc3d2,0xc6141));import{dingTalkSandboxBind}from'../../commands/user-account/dingding-sandbox-bind.js';export const userAccountDefinitions=[dingTalkSandboxBind];function a223_0x468d(_0x1b52a9,_0x499f8b){_0x1b52a9=_0x1b52a9-0x6c;const _0xc3d2b6=a223_0xc3d2();let _0x468db2=_0xc3d2b6[_0x1b52a9];return _0x468db2;}function a223_0xc3d2(){const _0x23f601=['7122SBjOOV','24TtGxtn','139520mfItIE','8798247IvWVVv','8KViXKD','104CCguUi','958015ZgCTvw','75963fvWniu','8426352nIWqcu','813683lCjySz','5502FkigKG','756PEzyrq','10SChxxD'];a223_0xc3d2=function(){return _0x23f601;};return a223_0xc3d2();}
1
+ (function(_0x205c8c,_0x35f9d3){const _0xbf0fd0=a248_0x13b0,_0x31aea0=_0x205c8c();while(!![]){try{const _0x187cb7=parseInt(_0xbf0fd0(0x107))/0x1+parseInt(_0xbf0fd0(0x10d))/0x2+-parseInt(_0xbf0fd0(0x10b))/0x3+-parseInt(_0xbf0fd0(0x106))/0x4*(parseInt(_0xbf0fd0(0x105))/0x5)+-parseInt(_0xbf0fd0(0x109))/0x6+-parseInt(_0xbf0fd0(0x10c))/0x7+-parseInt(_0xbf0fd0(0x108))/0x8*(-parseInt(_0xbf0fd0(0x10a))/0x9);if(_0x187cb7===_0x35f9d3)break;else _0x31aea0['push'](_0x31aea0['shift']());}catch(_0x2f4cef){_0x31aea0['push'](_0x31aea0['shift']());}}}(a248_0x373c,0x3ee4a));import{dingTalkSandboxBind}from'../../commands/user-account/dingding-sandbox-bind.js';function a248_0x13b0(_0x41c82c,_0x3c22ab){_0x41c82c=_0x41c82c-0x105;const _0x373c8b=a248_0x373c();let _0x13b03c=_0x373c8b[_0x41c82c];return _0x13b03c;}export const userAccountDefinitions=[dingTalkSandboxBind];function a248_0x373c(){const _0x3725f7=['8HusWQm','2866794KTUihO','9209529osCbEG','698523aFllRx','1779673VeyOeK','99928jRfwLu','10oXWVbr','101876pwvbuJ','200182VcPtdy'];a248_0x373c=function(){return _0x3725f7;};return a248_0x373c();}
@@ -1 +1 @@
1
- function a224_0x556a(){const _0x1a5ee0=['workspace','10141576KhOtKz','name','382vTjAkz','96219hasdld','18Ezqykw','10630DqPsAb','25639042JlhrzU','84meLBFZ','1671745uWRyNJ','App\x20profile\x20name','workspace\x20add','write','666xUobWl','4166FFxPvs','1919001nAzSid'];a224_0x556a=function(){return _0x1a5ee0;};return a224_0x556a();}const a224_0x22e9b0=a224_0x55c4;(function(_0xc01b36,_0x4a0d58){const _0x666928=a224_0x55c4,_0x245ee8=_0xc01b36();while(!![]){try{const _0x5fc72d=-parseInt(_0x666928(0x1e2))/0x1*(parseInt(_0x666928(0x1e7))/0x2)+-parseInt(_0x666928(0x1e8))/0x3*(parseInt(_0x666928(0x1ec))/0x4)+-parseInt(_0x666928(0x1dd))/0x5*(parseInt(_0x666928(0x1e9))/0x6)+-parseInt(_0x666928(0x1e3))/0x7+parseInt(_0x666928(0x1e5))/0x8+parseInt(_0x666928(0x1e1))/0x9*(-parseInt(_0x666928(0x1ea))/0xa)+parseInt(_0x666928(0x1eb))/0xb;if(_0x5fc72d===_0x4a0d58)break;else _0x245ee8['push'](_0x245ee8['shift']());}catch(_0x57da78){_0x245ee8['push'](_0x245ee8['shift']());}}}(a224_0x556a,0xbcd34));function a224_0x55c4(_0x2fc823,_0x2dfaa7){_0x2fc823=_0x2fc823-0x1dd;const _0x556ae2=a224_0x556a();let _0x55c4b9=_0x556ae2[_0x2fc823];return _0x55c4b9;}import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':a224_0x22e9b0(0x1e4),'command':'add','description':'Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','risk':a224_0x22e9b0(0x1e0),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a224_0x22e9b0(0x1e6),'description':a224_0x22e9b0(0x1de),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0x18fdc1=>validateAppName(_0x18fdc1,a224_0x22e9b0(0x1df)),'execute':_0x233b08=>runAppAdd(_0x233b08,a224_0x22e9b0(0x1df))};
1
+ const a249_0x260bd2=a249_0x895c;(function(_0x4746d3,_0x584b8b){const _0x1d1ad0=a249_0x895c,_0x22207d=_0x4746d3();while(!![]){try{const _0x1ba5e8=parseInt(_0x1d1ad0(0xcd))/0x1+-parseInt(_0x1d1ad0(0xc9))/0x2+parseInt(_0x1d1ad0(0xce))/0x3+-parseInt(_0x1d1ad0(0xc6))/0x4*(parseInt(_0x1d1ad0(0xcf))/0x5)+parseInt(_0x1d1ad0(0xd0))/0x6*(-parseInt(_0x1d1ad0(0xd1))/0x7)+parseInt(_0x1d1ad0(0xc5))/0x8+parseInt(_0x1d1ad0(0xd2))/0x9*(parseInt(_0x1d1ad0(0xcc))/0xa);if(_0x1ba5e8===_0x584b8b)break;else _0x22207d['push'](_0x22207d['shift']());}catch(_0x431ab0){_0x22207d['push'](_0x22207d['shift']());}}}(a249_0xd96f,0x92983));function a249_0x895c(_0x2554fb,_0x200bc9){_0x2554fb=_0x2554fb-0xc5;const _0xd96fe=a249_0xd96f();let _0x895cbb=_0xd96fe[_0x2554fb];return _0x895cbb;}import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':'workspace','command':a249_0x260bd2(0xca),'description':a249_0x260bd2(0xc7),'risk':a249_0x260bd2(0xcb),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a249_0x260bd2(0xd3),'description':'App\x20profile\x20name','required':!![]}],'flags':buildAppAddFlags(),'validate':_0x3e34e2=>validateAppName(_0x3e34e2,a249_0x260bd2(0xc8)),'execute':_0x378dc3=>runAppAdd(_0x378dc3,a249_0x260bd2(0xc8))};function a249_0xd96f(){const _0x372b0e=['name','466224kARkRH','920WAwlau','Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','workspace\x20add','415094djqtHh','add','write','23050TseXtY','183998NcwVrN','3478212YRzVZd','8135OZlaXm','4317942uGxNHz','7eJBGjC','1953hMLfWH'];a249_0xd96f=function(){return _0x372b0e;};return a249_0xd96f();}
@@ -1 +1 @@
1
- const a225_0x282953=a225_0x437c;(function(_0x3391e9,_0x133f4f){const _0x5680f3=a225_0x437c,_0x201144=_0x3391e9();while(!![]){try{const _0x56e25e=-parseInt(_0x5680f3(0x16f))/0x1+parseInt(_0x5680f3(0x156))/0x2+-parseInt(_0x5680f3(0x17d))/0x3+-parseInt(_0x5680f3(0x16d))/0x4+parseInt(_0x5680f3(0x183))/0x5+parseInt(_0x5680f3(0x16e))/0x6+parseInt(_0x5680f3(0x164))/0x7;if(_0x56e25e===_0x133f4f)break;else _0x201144['push'](_0x201144['shift']());}catch(_0x22b6ec){_0x201144['push'](_0x201144['shift']());}}}(a225_0x2730,0x33fdd));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';function a225_0x437c(_0xf1defc,_0x4cf832){_0xf1defc=_0xf1defc-0x150;const _0x273059=a225_0x2730();let _0x437c12=_0x273059[_0xf1defc];return _0x437c12;}import{validateAppcode}from'../../commands/common/validate.js';import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';function a225_0x2730(){const _0x5d4338=['500712dhbFvV','346351jnNHum','region','init','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace','defaultFormat','initialized','Switch\x20the\x20current\x20workspace\x20app\x20binding','apiDir','Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','validation','length','app','workspace.','App\x20locale\x20for\x20this\x20workspace\x20app\x20profile\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','513927HzMtGz','\x20--appcode\x20<code>`.','number','\x20workspace\x20use\x20--app\x20<name>`.','project','.\x20Credentials:\x20not\x20written.','1776610mIawQq','write','\x22\x20not\x20found.','trim','isArray','pageSize','Use\x20`','App\x20\x22','object','apps','appcode','Target\x20environment','Invalid\x20appcode:\x20','577142cpzxlF','updated','keys','string','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','riskLevel','use','\x20(appcode:\x20','env','Missing\x20workspace\x20app\x20selector.','globalConfig','workspace','locale','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','122675kxBmXg','format','\x20--app\x20','str','join','\x20workspace\x20',').\x20Config:\x20','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','flag','57012pHYsnr'];a225_0x2730=function(){return _0x5d4338;};return a225_0x2730();}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+'\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]',SAFE_PROFILE_KEYS=[a225_0x282953(0x153),a225_0x282953(0x170),a225_0x282953(0x15e),a225_0x282953(0x176),a225_0x282953(0x165),'pageSize',a225_0x282953(0x15b),'locale'],workspaceFlags=[{'name':a225_0x282953(0x17a),'type':a225_0x282953(0x159),'description':a225_0x282953(0x172)},{'name':a225_0x282953(0x153),'type':'string','description':a225_0x282953(0x163)},{'name':a225_0x282953(0x170),'type':a225_0x282953(0x159),'description':'Country/region\x20for\x20this\x20workspace\x20app\x20profile','enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':a225_0x282953(0x15e),'type':a225_0x282953(0x159),'description':a225_0x282953(0x154),'enum':[...RABETBASE_ENV_VALUES]},{'name':a225_0x282953(0x176),'type':a225_0x282953(0x159),'description':'API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile'},{'name':a225_0x282953(0x173),'type':a225_0x282953(0x159),'description':'Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a225_0x282953(0x188),'type':a225_0x282953(0x17f),'description':'Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile'},{'name':'riskLevel','type':a225_0x282953(0x159),'description':a225_0x282953(0x177),'enum':[...RISK_LEVEL_VALUES]},{'name':'locale','type':a225_0x282953(0x159),'description':a225_0x282953(0x17c)}];function isRecord(_0x1b0735){const _0x5d638e=a225_0x282953;return!!_0x1b0735&&typeof _0x1b0735===_0x5d638e(0x151)&&!Array[_0x5d638e(0x187)](_0x1b0735);}function assertValidAppcode(_0x3528ac){const _0x2c481b=a225_0x282953,{valid:_0x2a41d8,message:_0x48e385}=validateAppcode(_0x3528ac);if(!_0x2a41d8)throw CliErrors[_0x2c481b(0x178)](_0x2c481b(0x155)+_0x3528ac,_0x48e385);}function sanitizeProfile(_0xec1a4c){if(!isRecord(_0xec1a4c))return{};const _0x48a199={};for(const _0x3eec74 of SAFE_PROFILE_KEYS){if(_0xec1a4c[_0x3eec74]!==undefined)_0x48a199[_0x3eec74]=_0xec1a4c[_0x3eec74];}return _0x48a199;}function cloneProfile(_0x4f29d4){return isRecord(_0x4f29d4)?{..._0x4f29d4}:{};}function collectWorkspaceProfileOverrides(_0x44f8df){const _0xd7305=a225_0x282953,_0x142b93={},_0x3e58a7=_0x44f8df['str'](_0xd7305(0x170)),_0x462da8=_0x44f8df[_0xd7305(0x167)]('env'),_0x47a861=_0x44f8df[_0xd7305(0x167)]('apiDir'),_0x2ba09f=_0x44f8df['str'](_0xd7305(0x173)),_0x54b048=_0x44f8df[_0xd7305(0x16c)](_0xd7305(0x188)),_0xf901b9=_0x44f8df['str'](_0xd7305(0x15b)),_0x263100=_0x44f8df[_0xd7305(0x167)](_0xd7305(0x162));if(_0x3e58a7)_0x142b93['region']=_0x3e58a7;if(_0x462da8)_0x142b93[_0xd7305(0x15e)]=_0x462da8;if(_0x47a861)_0x142b93['apiDir']=_0x47a861;if(_0x2ba09f)_0x142b93[_0xd7305(0x165)]=_0x2ba09f;if(_0x54b048!==undefined&&_0x54b048!=='')_0x142b93['pageSize']=Number(_0x54b048);if(_0xf901b9)_0x142b93[_0xd7305(0x15b)]=_0xf901b9;if(_0x263100)_0x142b93[_0xd7305(0x162)]=_0x263100;return _0x142b93;}async function validateWorkspaceArgs(_0x275c5d){const _0x5f342d=a225_0x282953,_0x260fa6=_0x275c5d[_0x5f342d(0x167)](_0x5f342d(0x17a))[_0x5f342d(0x186)](),_0xe8f7ea=_0x275c5d[_0x5f342d(0x167)](_0x5f342d(0x153))['trim']();if(!_0x260fa6&&!_0xe8f7ea)throw CliErrors['validation'](_0x5f342d(0x15f),'Use\x20`'+CLI_BIN_NAME+_0x5f342d(0x15a)+CLI_BIN_NAME+_0x5f342d(0x180));if(_0xe8f7ea)assertValidAppcode(_0xe8f7ea);}function resolveKnownApps(){const _0x57e0c8=a225_0x282953,{config:_0x3490ed,layers:_0x252dcf}=readRawConfigWithLayers(),_0xf62704=isRecord(_0x3490ed[_0x57e0c8(0x152)])?_0x3490ed[_0x57e0c8(0x152)]:{},_0x405136=isRecord(_0x252dcf[_0x57e0c8(0x160)][_0x57e0c8(0x152)])?_0x252dcf[_0x57e0c8(0x160)][_0x57e0c8(0x152)]:{};return{..._0x405136,..._0xf62704};}async function configureWorkspace(_0x3413cb,_0x5ce85e){const _0x453777=a225_0x282953,_0x562f92=_0x3413cb[_0x453777(0x167)](_0x453777(0x17a))[_0x453777(0x186)](),_0x5994a7=_0x3413cb['str'](_0x453777(0x153))['trim'](),_0x3554fa=_0x562f92||_0x5994a7;if(!_0x3554fa)throw CliErrors['validation'](_0x453777(0x15f),_0x453777(0x189)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+_0x453777(0x180));if(_0x5994a7)assertValidAppcode(_0x5994a7);const _0x88c23c=resolveWriteConfigPath(_0x453777(0x181)),_0x1ecbd4=readConfigFile(_0x88c23c),_0x2de1f3=resolveKnownApps(),_0x520267=isRecord(_0x1ecbd4['apps'])?{..._0x1ecbd4['apps']}:{},_0x255bc0=cloneProfile(_0x520267[_0x3554fa]),_0x3f877b=sanitizeProfile(_0x2de1f3[_0x3554fa]),_0x2a3e93=_0x5994a7?{}:_0x3f877b,_0x2cb30f=_0x5994a7||_0x2a3e93['appcode'];if(!_0x2cb30f){const _0x3a70f4=Object[_0x453777(0x158)](_0x2de1f3),_0xb63761=_0x3a70f4[_0x453777(0x179)]===0x0?_0x453777(0x189)+CLI_BIN_NAME+_0x453777(0x169)+_0x5ce85e+_0x453777(0x166)+_0x3554fa+_0x453777(0x17e):_0x453777(0x16b)+_0x3a70f4[_0x453777(0x168)](',\x20');throw CliErrors['validation'](_0x453777(0x150)+_0x3554fa+_0x453777(0x185),_0xb63761);}assertValidAppcode(String(_0x2cb30f));const _0xf83b37={..._0x2a3e93,..._0x255bc0,'appcode':String(_0x2cb30f),...collectWorkspaceProfileOverrides(_0x3413cb)};return _0x520267[_0x3554fa]=_0xf83b37,_0x1ecbd4[_0x453777(0x152)]=_0x520267,normalizeStoredDefaultApp(_0x1ecbd4,_0x3554fa),delete _0x1ecbd4[_0x453777(0x153)],delete _0x1ecbd4[_0x453777(0x17a)],_0xf83b37[_0x453777(0x15e)]&&(_0x1ecbd4['env']=_0xf83b37['env']),writeConfigFile(_0x88c23c,_0x1ecbd4),{'ok':!![],'message':'Workspace\x20'+(_0x5ce85e===_0x453777(0x171)?_0x453777(0x174):_0x453777(0x157))+':\x20'+_0x3554fa+_0x453777(0x15d)+_0xf83b37[_0x453777(0x153)]+_0x453777(0x16a)+_0x88c23c+_0x453777(0x182),'data':{'operation':_0x453777(0x17b)+_0x5ce85e,'configPath':_0x88c23c,'app':_0x3554fa,'appcode':_0xf83b37[_0x453777(0x153)],'region':_0xf83b37[_0x453777(0x170)]??null,'env':_0xf83b37[_0x453777(0x15e)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':'workspace','command':a225_0x282953(0x171),'description':'Initialize\x20the\x20current\x20workspace\x20app\x20binding','risk':a225_0x282953(0x184),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x42d4a6=>configureWorkspace(_0x42d4a6,'init')},workspaceUseDefinition={'service':a225_0x282953(0x161),'command':a225_0x282953(0x15c),'description':a225_0x282953(0x175),'risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x3e776a=>configureWorkspace(_0x3e776a,'use')};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
1
+ const a250_0x378f09=a250_0x57f6;(function(_0x3fa94d,_0x5914ee){const _0x4cfc2a=a250_0x57f6,_0x1de5f6=_0x3fa94d();while(!![]){try{const _0x53b87b=-parseInt(_0x4cfc2a(0x106))/0x1*(-parseInt(_0x4cfc2a(0x11d))/0x2)+parseInt(_0x4cfc2a(0x12d))/0x3*(parseInt(_0x4cfc2a(0xfa))/0x4)+parseInt(_0x4cfc2a(0x12c))/0x5*(parseInt(_0x4cfc2a(0x108))/0x6)+-parseInt(_0x4cfc2a(0x121))/0x7+parseInt(_0x4cfc2a(0x115))/0x8+parseInt(_0x4cfc2a(0x105))/0x9*(parseInt(_0x4cfc2a(0x119))/0xa)+-parseInt(_0x4cfc2a(0x10e))/0xb;if(_0x53b87b===_0x5914ee)break;else _0x1de5f6['push'](_0x1de5f6['shift']());}catch(_0x481523){_0x1de5f6['push'](_0x1de5f6['shift']());}}}(a250_0x1c14,0xe7cde));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';function a250_0x57f6(_0x21d563,_0x9f355c){_0x21d563=_0x21d563-0xf0;const _0x1c148c=a250_0x1c14();let _0x57f6bf=_0x1c148c[_0x21d563];return _0x57f6bf;}import{workspaceAddDefinition}from'../../commands/workspace/add.js';import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';import{normalizeStoredDefaultApp}from'../../config/schema.js';function a250_0x1c14(){const _0x5d4030=['string','43710JIONjA','\x22\x20not\x20found.','apiDir','validation','write','length','13753113vgYSFJ','appcode','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','.\x20Credentials:\x20not\x20written.','globalConfig',').\x20Config:\x20','pageSize','10623008ISOZrX','\x20--appcode\x20<code>`.','apiGroup','initialized','10hetfqt','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','riskLevel','Country/region\x20for\x20this\x20workspace\x20app\x20profile','2XgQAfN','\x20--app\x20','Use\x20`','flag','10746918pqzbyu','workspace','keys','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile','Target\x20environment','\x20workspace\x20','Workspace\x20','region','Switch\x20the\x20current\x20workspace\x20app\x20binding','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','125wDJCmw','8229CgtSSg','updated','App\x20\x22','str','isArray','App\x20locale\x20for\x20this\x20workspace\x20app\x20profile\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','\x20workspace\x20use\x20--app\x20<name>`.','apps','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','format','init','workspace.','188GbfoqM','join','defaultFormat','app','Missing\x20workspace\x20app\x20selector.','trim','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','use','env','locale','Initialize\x20the\x20current\x20workspace\x20app\x20binding','9560619MKhmBD','1033814IgKpGL'];a250_0x1c14=function(){return _0x5d4030;};return a250_0x1c14();}import{ENABLED_LOVRABET_REGION_VALUES}from'../../constant/region.js';const WORKSPACE_USAGE=CLI_BIN_NAME+a250_0x378f09(0x110),SAFE_PROFILE_KEYS=[a250_0x378f09(0x10f),a250_0x378f09(0x117),a250_0x378f09(0x128),a250_0x378f09(0x102),a250_0x378f09(0x10a),a250_0x378f09(0xf7),'pageSize',a250_0x378f09(0x11b),a250_0x378f09(0x103)],workspaceFlags=[{'name':'app','type':a250_0x378f09(0x107),'description':'App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace'},{'name':a250_0x378f09(0x10f),'type':a250_0x378f09(0x107),'description':a250_0x378f09(0x100)},{'name':'apiGroup','type':a250_0x378f09(0x107),'description':a250_0x378f09(0xf6)},{'name':a250_0x378f09(0x128),'type':a250_0x378f09(0x107),'description':a250_0x378f09(0x11c),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':a250_0x378f09(0x102),'type':a250_0x378f09(0x107),'description':a250_0x378f09(0x125),'enum':[...RABETBASE_ENV_VALUES]},{'name':a250_0x378f09(0x10a),'type':a250_0x378f09(0x107),'description':a250_0x378f09(0x124)},{'name':a250_0x378f09(0xfc),'type':'string','description':a250_0x378f09(0x12b),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':'pageSize','type':'number','description':a250_0x378f09(0x11a)},{'name':a250_0x378f09(0x11b),'type':a250_0x378f09(0x107),'description':'Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RISK_LEVEL_VALUES]},{'name':'locale','type':a250_0x378f09(0x107),'description':a250_0x378f09(0xf3)}];function isRecord(_0x41061c){const _0x160299=a250_0x378f09;return!!_0x41061c&&typeof _0x41061c==='object'&&!Array[_0x160299(0xf2)](_0x41061c);}function assertValidAppcode(_0x103726){const _0x3f6a8f=a250_0x378f09,{valid:_0x2bdf35,message:_0xf5b491}=validateAppcode(_0x103726);if(!_0x2bdf35)throw CliErrors[_0x3f6a8f(0x10b)]('Invalid\x20appcode:\x20'+_0x103726,_0xf5b491);}function sanitizeProfile(_0x408054){if(!isRecord(_0x408054))return{};const _0x59c6a9={};for(const _0x1a98fe of SAFE_PROFILE_KEYS){if(_0x408054[_0x1a98fe]!==undefined)_0x59c6a9[_0x1a98fe]=_0x408054[_0x1a98fe];}return _0x59c6a9;}function cloneProfile(_0x9bf22e){return isRecord(_0x9bf22e)?{..._0x9bf22e}:{};}function collectWorkspaceProfileOverrides(_0x1d1ae1){const _0x2fca6f=a250_0x378f09,_0x446c35={},_0x5e08ed=_0x1d1ae1[_0x2fca6f(0xf1)](_0x2fca6f(0x117)),_0x5ceda7=_0x1d1ae1[_0x2fca6f(0xf1)](_0x2fca6f(0x128)),_0x4ada82=_0x1d1ae1[_0x2fca6f(0xf1)](_0x2fca6f(0x102)),_0x18d3db=_0x1d1ae1[_0x2fca6f(0xf1)](_0x2fca6f(0x10a)),_0x589b19=_0x1d1ae1[_0x2fca6f(0xf1)]('defaultFormat'),_0x158abc=_0x1d1ae1[_0x2fca6f(0x120)](_0x2fca6f(0x114)),_0x441a7e=_0x1d1ae1[_0x2fca6f(0xf1)](_0x2fca6f(0x11b)),_0x5f1232=_0x1d1ae1[_0x2fca6f(0xf1)](_0x2fca6f(0x103));if(_0x5e08ed)_0x446c35[_0x2fca6f(0x117)]=_0x5e08ed;if(_0x5ceda7)_0x446c35[_0x2fca6f(0x128)]=_0x5ceda7;if(_0x4ada82)_0x446c35[_0x2fca6f(0x102)]=_0x4ada82;if(_0x18d3db)_0x446c35[_0x2fca6f(0x10a)]=_0x18d3db;if(_0x589b19)_0x446c35[_0x2fca6f(0xf7)]=_0x589b19;if(_0x158abc!==undefined&&_0x158abc!=='')_0x446c35[_0x2fca6f(0x114)]=Number(_0x158abc);if(_0x441a7e)_0x446c35['riskLevel']=_0x441a7e;if(_0x5f1232)_0x446c35[_0x2fca6f(0x103)]=_0x5f1232;return _0x446c35;}async function validateWorkspaceArgs(_0x4c107b){const _0x4c4403=a250_0x378f09,_0x170a1d=_0x4c107b['str'](_0x4c4403(0xfd))['trim'](),_0x4fedbe=_0x4c107b[_0x4c4403(0xf1)](_0x4c4403(0x10f))[_0x4c4403(0xff)]();if(!_0x170a1d&&!_0x4fedbe)throw CliErrors['validation'](_0x4c4403(0xfe),_0x4c4403(0x11f)+CLI_BIN_NAME+_0x4c4403(0x12a)+CLI_BIN_NAME+_0x4c4403(0xf4));if(_0x4fedbe)assertValidAppcode(_0x4fedbe);}function resolveKnownApps(){const _0x3abf7f=a250_0x378f09,{config:_0x1e22c5,layers:_0x46932f}=readRawConfigWithLayers(),_0x34c857=isRecord(_0x1e22c5['apps'])?_0x1e22c5[_0x3abf7f(0xf5)]:{},_0xc3d940=isRecord(_0x46932f[_0x3abf7f(0x112)]['apps'])?_0x46932f[_0x3abf7f(0x112)][_0x3abf7f(0xf5)]:{};return{..._0xc3d940,..._0x34c857};}async function configureWorkspace(_0x1f8b18,_0xf73c8d){const _0x58a7d9=a250_0x378f09,_0x569a6b=_0x1f8b18[_0x58a7d9(0xf1)](_0x58a7d9(0xfd))['trim'](),_0x1807f7=_0x1f8b18[_0x58a7d9(0xf1)]('appcode')[_0x58a7d9(0xff)](),_0x2ac35c=_0x569a6b||_0x1807f7;if(!_0x2ac35c)throw CliErrors[_0x58a7d9(0x10b)](_0x58a7d9(0xfe),_0x58a7d9(0x11f)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.');if(_0x1807f7)assertValidAppcode(_0x1807f7);const _0x5e0650=resolveWriteConfigPath('project'),_0x4fdd24=readConfigFile(_0x5e0650),_0x2f0fa5=resolveKnownApps(),_0x310ddd=isRecord(_0x4fdd24[_0x58a7d9(0xf5)])?{..._0x4fdd24[_0x58a7d9(0xf5)]}:{},_0x3c00dc=cloneProfile(_0x310ddd[_0x2ac35c]),_0x77e1b1=sanitizeProfile(_0x2f0fa5[_0x2ac35c]),_0x28f9cc=_0x1807f7?{}:_0x77e1b1,_0x5177c6=_0x1807f7||_0x28f9cc[_0x58a7d9(0x10f)];if(!_0x5177c6){const _0x35b6f0=Object[_0x58a7d9(0x123)](_0x2f0fa5),_0x117270=_0x35b6f0[_0x58a7d9(0x10d)]===0x0?_0x58a7d9(0x11f)+CLI_BIN_NAME+_0x58a7d9(0x126)+_0xf73c8d+_0x58a7d9(0x11e)+_0x2ac35c+_0x58a7d9(0x116):'Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20'+_0x35b6f0[_0x58a7d9(0xfb)](',\x20');throw CliErrors[_0x58a7d9(0x10b)](_0x58a7d9(0xf0)+_0x2ac35c+_0x58a7d9(0x109),_0x117270);}assertValidAppcode(String(_0x5177c6));const _0x39d6e1={..._0x28f9cc,..._0x3c00dc,'appcode':String(_0x5177c6),...collectWorkspaceProfileOverrides(_0x1f8b18)};return _0x310ddd[_0x2ac35c]=_0x39d6e1,_0x4fdd24[_0x58a7d9(0xf5)]=_0x310ddd,normalizeStoredDefaultApp(_0x4fdd24,_0x2ac35c),delete _0x4fdd24['appcode'],delete _0x4fdd24[_0x58a7d9(0xfd)],_0x39d6e1[_0x58a7d9(0x102)]&&(_0x4fdd24[_0x58a7d9(0x102)]=_0x39d6e1[_0x58a7d9(0x102)]),writeConfigFile(_0x5e0650,_0x4fdd24),{'ok':!![],'message':_0x58a7d9(0x127)+(_0xf73c8d===_0x58a7d9(0xf8)?_0x58a7d9(0x118):_0x58a7d9(0x12e))+':\x20'+_0x2ac35c+'\x20(appcode:\x20'+_0x39d6e1[_0x58a7d9(0x10f)]+_0x58a7d9(0x113)+_0x5e0650+_0x58a7d9(0x111),'data':{'operation':_0x58a7d9(0xf9)+_0xf73c8d,'configPath':_0x5e0650,'app':_0x2ac35c,'appcode':_0x39d6e1['appcode'],'apiGroup':_0x39d6e1[_0x58a7d9(0x117)]??null,'region':_0x39d6e1[_0x58a7d9(0x128)]??null,'env':_0x39d6e1[_0x58a7d9(0x102)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a250_0x378f09(0x122),'command':a250_0x378f09(0xf8),'description':a250_0x378f09(0x104),'risk':a250_0x378f09(0x10c),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x52f27a=>configureWorkspace(_0x52f27a,a250_0x378f09(0xf8))},workspaceUseDefinition={'service':a250_0x378f09(0x122),'command':a250_0x378f09(0x101),'description':a250_0x378f09(0x129),'risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x195c21=>configureWorkspace(_0x195c21,a250_0x378f09(0x101))};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
@@ -1 +1 @@
1
- function a226_0x164d(_0x4f59aa,_0x229396){_0x4f59aa=_0x4f59aa-0x93;const _0x5a3215=a226_0x5a32();let _0x164d25=_0x5a3215[_0x4f59aa];return _0x164d25;}const a226_0x2df0a1=a226_0x164d;function a226_0x5a32(){const _0x261393=['5604foLLbj','177380QsqAGP','160556UMXvVe','9XwQGms','36051RdTBhc','18RhnSrH','name','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','workspace\x20remove','20317EQwKpv','1398072oeGNJd','66pwWXPx','150888MbuDYn','35gYUDEh','764940fPQxiB'];a226_0x5a32=function(){return _0x261393;};return a226_0x5a32();}(function(_0x243e45,_0x350ae5){const _0x4d4f5d=a226_0x164d,_0x333d5c=_0x243e45();while(!![]){try{const _0x5c613c=-parseInt(_0x4d4f5d(0x97))/0x1+-parseInt(_0x4d4f5d(0x9f))/0x2*(-parseInt(_0x4d4f5d(0x96))/0x3)+parseInt(_0x4d4f5d(0x95))/0x4*(parseInt(_0x4d4f5d(0xa0))/0x5)+-parseInt(_0x4d4f5d(0x9e))/0x6*(-parseInt(_0x4d4f5d(0x94))/0x7)+parseInt(_0x4d4f5d(0x9d))/0x8+-parseInt(_0x4d4f5d(0x98))/0x9*(-parseInt(_0x4d4f5d(0xa1))/0xa)+-parseInt(_0x4d4f5d(0x9c))/0xb*(parseInt(_0x4d4f5d(0x93))/0xc);if(_0x5c613c===_0x350ae5)break;else _0x333d5c['push'](_0x333d5c['shift']());}catch(_0xe3d1fc){_0x333d5c['push'](_0x333d5c['shift']());}}}(a226_0x5a32,0x34898));import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';export const workspaceRemoveDefinition={'service':'workspace','command':'remove','description':a226_0x2df0a1(0x9a),'risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[{'name':a226_0x2df0a1(0x99),'description':'App\x20profile\x20name\x20to\x20remove','required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x302c74=>validateAppName(_0x302c74,'workspace\x20remove'),'execute':_0x58c56e=>runAppRemove(_0x58c56e,a226_0x2df0a1(0x9b))};
1
+ const a251_0x3c1778=a251_0x5192;function a251_0x5192(_0x360c2a,_0x11e111){_0x360c2a=_0x360c2a-0x87;const _0x481668=a251_0x4816();let _0x5192e5=_0x481668[_0x360c2a];return _0x5192e5;}(function(_0x24c44d,_0x404a48){const _0x10d817=a251_0x5192,_0x33058a=_0x24c44d();while(!![]){try{const _0x42ea54=parseInt(_0x10d817(0x8a))/0x1*(parseInt(_0x10d817(0x90))/0x2)+parseInt(_0x10d817(0x8f))/0x3+parseInt(_0x10d817(0x96))/0x4+parseInt(_0x10d817(0x94))/0x5*(-parseInt(_0x10d817(0x8c))/0x6)+parseInt(_0x10d817(0x95))/0x7+-parseInt(_0x10d817(0x8e))/0x8+parseInt(_0x10d817(0x89))/0x9*(-parseInt(_0x10d817(0x97))/0xa);if(_0x42ea54===_0x404a48)break;else _0x33058a['push'](_0x33058a['shift']());}catch(_0x4f88d7){_0x33058a['push'](_0x33058a['shift']());}}}(a251_0x4816,0x21fe5));function a251_0x4816(){const _0x5d84ec=['500pzxDsI','write','remove','14247LVrcCN','8fQNdsc','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','402JiGzKm','App\x20profile\x20name\x20to\x20remove','1765176inwuAu','480948iyFifU','45510wIRHTh','workspace','name','workspace\x20remove','15460XqnFbR','1024443SEiQwI','629972qmvFrN'];a251_0x4816=function(){return _0x5d84ec;};return a251_0x4816();}import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';export const workspaceRemoveDefinition={'service':a251_0x3c1778(0x91),'command':a251_0x3c1778(0x88),'description':a251_0x3c1778(0x8b),'risk':a251_0x3c1778(0x87),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a251_0x3c1778(0x92),'description':a251_0x3c1778(0x8d),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x17a0d6=>validateAppName(_0x17a0d6,a251_0x3c1778(0x93)),'execute':_0x2f4c39=>runAppRemove(_0x2f4c39,a251_0x3c1778(0x93))};
@@ -1 +1 @@
1
- const a227_0x23a198=a227_0x43f2;function a227_0x4bfc(){const _0x380e61=['platformDomain','121995nWIQbw','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','Unsupported\x20enterprise\x20CDN\x20field(s):\x20','userDomain','apiDomain','origin','732606tTeRbn','certificate-domain','certificateDomain','kb-domain','enterprise-v1','localDomain','string','lovrabet','pathname','skill-domain',':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.','cdn','filter','length','href','user-domain','legacy','skillDomain','kind','Invalid\x20cdn.','\x22\x20and\x20kind\x20\x22','https:','local-domain','1859050vLUcgj','utf8','25557whuBGu','1566474MQguGO','object','Invalid\x20','join','runtimeDomain','agentDomain','Allowed\x20fields:\x20','\x20and\x20has\x20no\x20default.',':\x20\x22','hash','\x22\x20is\x20not\x20a\x20valid\x20URL.','api-domain','Unsupported\x20domain\x20config\x20field(s):\x20',':\x20expected\x20an\x20HTTPS\x20','35lbYiHz','str','domains','kbDomain','includes','default',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','\x20without\x20credentials,\x20query,\x20or\x20fragment.','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','search','skillHubDomain','app-domain','100MDvmuC','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','isArray','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','trim','cwd','appDomain','parse','protocol','Domain\x20config\x20file\x20not\x20found:\x20','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','1982936TKixAY','username','validation','replace','25921026aDEWeU'];a227_0x4bfc=function(){return _0x380e61;};return a227_0x4bfc();}(function(_0x5d53d5,_0x2c5fa5){const _0x539e39=a227_0x43f2,_0x2360bd=_0x5d53d5();while(!![]){try{const _0x108e54=parseInt(_0x539e39(0xb9))/0x1+-parseInt(_0x539e39(0xb7))/0x2+-parseInt(_0x539e39(0xba))/0x3+parseInt(_0x539e39(0xd4))/0x4*(-parseInt(_0x539e39(0xe8))/0x5)+parseInt(_0x539e39(0xee))/0x6*(-parseInt(_0x539e39(0xc8))/0x7)+parseInt(_0x539e39(0xe2))/0x8+parseInt(_0x539e39(0xe6))/0x9;if(_0x108e54===_0x2c5fa5)break;else _0x2360bd['push'](_0x2360bd['shift']());}catch(_0xfd5d27){_0x2360bd['push'](_0x2360bd['shift']());}}}(a227_0x4bfc,0x7585f));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=[a227_0x23a198(0xeb),'apiDomain',a227_0x23a198(0xbe),'skillDomain',a227_0x23a198(0xcb),a227_0x23a198(0xdb),a227_0x23a198(0xf3),a227_0x23a198(0xf0)];const DOMAIN_FLAGS={'userDomain':a227_0x23a198(0xaf),'apiDomain':a227_0x23a198(0xc5),'runtimeDomain':'runtime-domain','skillDomain':a227_0x23a198(0xf7),'kbDomain':a227_0x23a198(0xf1),'appDomain':a227_0x23a198(0xd3),'localDomain':a227_0x23a198(0xb6),'certificateDomain':a227_0x23a198(0xef)};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a227_0x23a198(0xbf),a227_0x23a198(0xe7),a227_0x23a198(0xd2)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':'userDomain','apiDomain':a227_0x23a198(0xec),'runtimeDomain':'runtimeDomain','skillDomain':a227_0x23a198(0xb1),'kbDomain':'kbDomain','appDomain':a227_0x23a198(0xdb),'localDomain':'localDomain','certificateDomain':a227_0x23a198(0xf0)},ROUTING_CONSUMER='rabetbase-cli';export function normalizeDomainOrigin(_0x1738e9,_0x1b596f){const _0x32b60d=a227_0x23a198;if(typeof _0x1b596f!==_0x32b60d(0xf4)||!_0x1b596f['trim']())throw CliErrors[_0x32b60d(0xe4)](_0x32b60d(0xbc)+_0x1738e9+':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.');let _0x507cce;try{_0x507cce=new URL(_0x1b596f[_0x32b60d(0xd9)]());}catch{throw CliErrors[_0x32b60d(0xe4)](_0x32b60d(0xbc)+_0x1738e9+_0x32b60d(0xc2)+_0x1b596f+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x507cce['protocol']!=='https:'||_0x507cce[_0x32b60d(0xe3)]||_0x507cce['password']||_0x507cce[_0x32b60d(0xf6)]!=='/'&&_0x507cce[_0x32b60d(0xf6)]!==''||_0x507cce[_0x32b60d(0xd1)]||_0x507cce[_0x32b60d(0xc3)])throw CliErrors[_0x32b60d(0xe4)](_0x32b60d(0xbc)+_0x1738e9+_0x32b60d(0xce),_0x32b60d(0xe1));return _0x507cce[_0x32b60d(0xed)];}export function normalizeRoutingDomainValue(_0x438dda,_0x364cf5){const _0x4256fa=a227_0x23a198;if(typeof _0x364cf5===_0x4256fa(0xf4))return normalizeDomainOrigin(_0x438dda,_0x364cf5);if(!_0x364cf5||typeof _0x364cf5!==_0x4256fa(0xbb)||Array[_0x4256fa(0xd6)](_0x364cf5))throw CliErrors['validation']('Invalid\x20'+_0x438dda+':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.');const _0x57dd16=_0x364cf5,_0x26142b=_0x57dd16[ROUTING_CONSUMER]??_0x57dd16[_0x4256fa(0xcd)];if(_0x26142b===undefined)throw CliErrors[_0x4256fa(0xe4)]('Enterprise\x20'+_0x438dda+_0x4256fa(0xd5)+ROUTING_CONSUMER+_0x4256fa(0xc1));return normalizeDomainOrigin(_0x438dda,_0x26142b);}export function normalizeCdnBaseUrl(_0x213f3e,_0xdb04e6){const _0x53936b=a227_0x23a198;if(typeof _0xdb04e6!=='string'||!_0xdb04e6[_0x53936b(0xd9)]())throw CliErrors[_0x53936b(0xe4)](_0x53936b(0xb3)+_0x213f3e+_0x53936b(0xf8));const _0x3a61be=_0xdb04e6[_0x53936b(0xd9)]()['replace'](/\/$/,'');let _0x513898;try{_0x513898=new URL(_0x3a61be);}catch{throw CliErrors[_0x53936b(0xe4)](_0x53936b(0xb3)+_0x213f3e+':\x20\x22'+_0xdb04e6+_0x53936b(0xc4));}if(_0x513898[_0x53936b(0xdd)]!==_0x53936b(0xb5)||_0x513898[_0x53936b(0xe3)]||_0x513898['password']||_0x513898['search']||_0x513898[_0x53936b(0xc3)]||_0x513898[_0x53936b(0xfc)][_0x53936b(0xe5)](/\/$/,'')!==_0x3a61be||_0x213f3e===_0x53936b(0xf5)&&_0x513898[_0x53936b(0xed)]!==_0x3a61be)throw CliErrors[_0x53936b(0xe4)]('Invalid\x20cdn.'+_0x213f3e+_0x53936b(0xc7)+(_0x213f3e===_0x53936b(0xf5)?'origin':'base\x20URL')+_0x53936b(0xcf));return _0x3a61be;}export function resolveEnterpriseRoutingConfig(_0x202ba9){const _0xdc0af4=a227_0x23a198;return resolveEnterpriseRoutingManifest(_0x202ba9)?.[_0xdc0af4(0xca)];}export function resolveEnterpriseRoutingManifest(_0x5dce97){const _0x257758=a227_0x23a198;if(_0x5dce97===undefined)return undefined;if(!_0x5dce97||typeof _0x5dce97!==_0x257758(0xbb)||Array[_0x257758(0xd6)](_0x5dce97))throw CliErrors[_0x257758(0xe4)]('Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.');return parseEnterpriseRoutingManifest(_0x5dce97);}function a227_0x43f2(_0x166356,_0x12823a){_0x166356=_0x166356-0xaf;const _0x4bfc68=a227_0x4bfc();let _0x43f2cd=_0x4bfc68[_0x166356];return _0x43f2cd;}export function readDomainConfigInput(_0x5aa124){const _0x4dbf48=a227_0x23a198,_0x23ec38=isAbsolute(_0x5aa124)?_0x5aa124:resolve(process[_0x4dbf48(0xda)](),_0x5aa124);if(!existsSync(_0x23ec38))throw CliErrors[_0x4dbf48(0xe4)](_0x4dbf48(0xde)+_0x23ec38);let _0x4eb89c;try{_0x4eb89c=JSON[_0x4dbf48(0xdc)](readFileSync(_0x23ec38,_0x4dbf48(0xb8)));}catch{throw CliErrors[_0x4dbf48(0xe4)]('Invalid\x20domain\x20config\x20JSON:\x20'+_0x23ec38);}if(!_0x4eb89c||typeof _0x4eb89c!==_0x4dbf48(0xbb)||Array['isArray'](_0x4eb89c))throw CliErrors[_0x4dbf48(0xe4)](_0x4dbf48(0xe9));const _0x496192=_0x4eb89c;if(_0x4dbf48(0xdd)in _0x496192)return parseEnterpriseRoutingManifest(_0x496192);const _0x1faa7a=Object['keys'](_0x496192)[_0x4dbf48(0xfa)](_0x20d9aa=>!DOMAIN_CONFIG_FIELDS[_0x4dbf48(0xcc)](_0x20d9aa));if(_0x1faa7a[_0x4dbf48(0xfb)]>0x0)throw CliErrors['validation'](_0x4dbf48(0xc6)+_0x1faa7a[_0x4dbf48(0xbd)](',\x20'),_0x4dbf48(0xc0)+DOMAIN_CONFIG_FIELDS[_0x4dbf48(0xbd)](',\x20'));const _0x16b64d={};for(const _0x1ca3b1 of DOMAIN_CONFIG_FIELDS){_0x496192[_0x1ca3b1]!==undefined&&(_0x16b64d[_0x1ca3b1]=normalizeDomainOrigin(_0x1ca3b1,_0x496192[_0x1ca3b1]));}if(Object['keys'](_0x16b64d)['length']===0x0)throw CliErrors['validation']('Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.');return{'mode':_0x4dbf48(0xb0),'domains':_0x16b64d};}export function readDomainConfig(_0x17c735){const _0x37aeb3=a227_0x23a198;return readDomainConfigInput(_0x17c735)[_0x37aeb3(0xca)];}export function resolveDomainConfigInput(_0x36e685){const _0x5b2a9d=a227_0x23a198,_0x3b56d1=(_0x36e685[_0x5b2a9d(0xc9)]('domain-config')||'')['trim'](),_0x2ad8fd=_0x3b56d1?readDomainConfigInput(_0x3b56d1):{'mode':_0x5b2a9d(0xb0),'domains':{}},_0x2dcb9b=DOMAIN_CONFIG_FIELDS[_0x5b2a9d(0xfa)](_0x4721c8=>Boolean((_0x36e685[_0x5b2a9d(0xc9)](DOMAIN_FLAGS[_0x4721c8])||'')[_0x5b2a9d(0xd9)]()));if(_0x2ad8fd['mode']==='enterprise-v1'&&_0x2dcb9b['length']>0x0)throw CliErrors[_0x5b2a9d(0xe4)](_0x5b2a9d(0xd8),_0x5b2a9d(0xdf));for(const _0x151efc of DOMAIN_CONFIG_FIELDS){const _0xab4b92=(_0x36e685[_0x5b2a9d(0xc9)](DOMAIN_FLAGS[_0x151efc])||'')[_0x5b2a9d(0xd9)]();if(_0xab4b92)_0x2ad8fd[_0x5b2a9d(0xca)][_0x151efc]=normalizeDomainOrigin(_0x151efc,_0xab4b92);}return _0x2ad8fd;}export function resolveDomainFlags(_0xe67466){return resolveDomainConfigInput(_0xe67466)['domains'];}export function parseEnterpriseRoutingManifest(_0x8fbe15){const _0x48475f=a227_0x23a198;if(_0x8fbe15[_0x48475f(0xdd)]!==ENTERPRISE_ROUTING_PROTOCOL||_0x8fbe15[_0x48475f(0xb2)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors['validation']('Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22'+ENTERPRISE_ROUTING_PROTOCOL+_0x48475f(0xb4)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x8fbe15['domains']||typeof _0x8fbe15[_0x48475f(0xca)]!==_0x48475f(0xbb)||Array[_0x48475f(0xd6)](_0x8fbe15[_0x48475f(0xca)]))throw CliErrors[_0x48475f(0xe4)](_0x48475f(0xd7));if(!_0x8fbe15[_0x48475f(0xf9)]||typeof _0x8fbe15[_0x48475f(0xf9)]!==_0x48475f(0xbb)||Array['isArray'](_0x8fbe15[_0x48475f(0xf9)]))throw CliErrors[_0x48475f(0xe4)](_0x48475f(0xe0));const _0x454159=_0x8fbe15['domains'],_0x412797=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x48475f(0xfa)](_0x59805a=>_0x454159[_0x59805a]===undefined);if(_0x412797[_0x48475f(0xfb)]>0x0)throw CliErrors['validation']('Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20'+_0x412797['join'](',\x20'));if(_0x454159['localDomain']===undefined!==(_0x454159['certificateDomain']===undefined))throw CliErrors[_0x48475f(0xe4)]('Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.');const _0x351a6d=_0x8fbe15[_0x48475f(0xf9)],_0x1e66b4=Object['keys'](_0x351a6d)[_0x48475f(0xfa)](_0x4df9c3=>!ENTERPRISE_ROUTING_CDN_FIELDS['includes'](_0x4df9c3));if(_0x1e66b4[_0x48475f(0xfb)]>0x0)throw CliErrors[_0x48475f(0xe4)](_0x48475f(0xea)+_0x1e66b4[_0x48475f(0xbd)](',\x20'),_0x48475f(0xc0)+ENTERPRISE_ROUTING_CDN_FIELDS[_0x48475f(0xbd)](',\x20'));const _0x38c997=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS[_0x48475f(0xfa)](_0x4b1164=>_0x351a6d[_0x4b1164]===undefined);if(_0x38c997[_0x48475f(0xfb)]>0x0)throw CliErrors[_0x48475f(0xe4)](_0x48475f(0xd0)+_0x38c997['join'](',\x20'));const _0x56b5de={};for(const _0x4222d2 of ENTERPRISE_ROUTING_CDN_FIELDS){_0x56b5de[_0x4222d2]=normalizeCdnBaseUrl(_0x4222d2,_0x351a6d[_0x4222d2]);}const _0x2d82fe={},_0x374a14={};for(const _0x57488f of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x4d36d2=_0x454159[_0x57488f];if(_0x4d36d2===undefined)continue;const _0x2d08ee=normalizeRoutingDomainValue(_0x57488f,_0x4d36d2);_0x2d82fe[_0x57488f]=_0x2d08ee;const _0x4386c6=ENTERPRISE_TO_LOCAL_FIELD[_0x57488f];_0x4386c6&&(_0x374a14[_0x4386c6]=_0x2d08ee);}return{'mode':_0x48475f(0xf2),'domains':_0x374a14,'manifestDomains':_0x2d82fe,'cdn':_0x56b5de};}
1
+ const a252_0x407d8d=a252_0x9ec3;(function(_0x2f4a54,_0x5073e7){const _0x306141=a252_0x9ec3,_0x25f757=_0x2f4a54();while(!![]){try{const _0x31026e=-parseInt(_0x306141(0xe5))/0x1+parseInt(_0x306141(0xd5))/0x2*(-parseInt(_0x306141(0xeb))/0x3)+-parseInt(_0x306141(0x11b))/0x4+-parseInt(_0x306141(0x11a))/0x5*(-parseInt(_0x306141(0xd2))/0x6)+-parseInt(_0x306141(0x11c))/0x7*(-parseInt(_0x306141(0x107))/0x8)+parseInt(_0x306141(0xef))/0x9+parseInt(_0x306141(0xe2))/0xa*(-parseInt(_0x306141(0x109))/0xb);if(_0x31026e===_0x5073e7)break;else _0x25f757['push'](_0x25f757['shift']());}catch(_0x3cf950){_0x25f757['push'](_0x25f757['shift']());}}}(a252_0x5868,0xb583a));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',a252_0x407d8d(0x11e),a252_0x407d8d(0xea),a252_0x407d8d(0x108),a252_0x407d8d(0xdd),a252_0x407d8d(0xf1),a252_0x407d8d(0xcc),'certificateDomain'];const DOMAIN_FLAGS={'userDomain':a252_0x407d8d(0xfa),'apiDomain':a252_0x407d8d(0xff),'runtimeDomain':a252_0x407d8d(0xdc),'skillDomain':'skill-domain','kbDomain':a252_0x407d8d(0xe9),'appDomain':a252_0x407d8d(0xd7),'localDomain':a252_0x407d8d(0xfe),'certificateDomain':a252_0x407d8d(0xc5)};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a252_0x407d8d(0x115),a252_0x407d8d(0xe1),a252_0x407d8d(0x110)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a252_0x407d8d(0xd9),'apiDomain':a252_0x407d8d(0x11e),'runtimeDomain':a252_0x407d8d(0xea),'skillDomain':a252_0x407d8d(0x108),'kbDomain':'kbDomain','appDomain':a252_0x407d8d(0xf1),'localDomain':'localDomain','certificateDomain':a252_0x407d8d(0x10c)},ROUTING_CONSUMER=a252_0x407d8d(0xe4);export function normalizeDomainOrigin(_0x145f29,_0x480412){const _0x3a572a=a252_0x407d8d;if(typeof _0x480412!==_0x3a572a(0xf0)||!_0x480412['trim']())throw CliErrors[_0x3a572a(0xfd)](_0x3a572a(0x11d)+_0x145f29+_0x3a572a(0xf8));let _0x28bc26;try{_0x28bc26=new URL(_0x480412[_0x3a572a(0x117)]());}catch{throw CliErrors[_0x3a572a(0xfd)](_0x3a572a(0x11d)+_0x145f29+':\x20\x22'+_0x480412+_0x3a572a(0xed));}if(_0x28bc26['protocol']!==_0x3a572a(0x101)||_0x28bc26[_0x3a572a(0xda)]||_0x28bc26[_0x3a572a(0xce)]||_0x28bc26[_0x3a572a(0xc4)]!=='/'&&_0x28bc26[_0x3a572a(0xc4)]!==''||_0x28bc26[_0x3a572a(0xcd)]||_0x28bc26[_0x3a572a(0xd6)])throw CliErrors[_0x3a572a(0xfd)](_0x3a572a(0x11d)+_0x145f29+_0x3a572a(0xd8),_0x3a572a(0xf2));return _0x28bc26['origin'];}function a252_0x9ec3(_0x35161c,_0x34b25d){_0x35161c=_0x35161c-0xc4;const _0x58682a=a252_0x5868();let _0x9ec3ff=_0x58682a[_0x35161c];return _0x9ec3ff;}export function normalizeRoutingDomainValue(_0x22b989,_0x3cf803){const _0x3aa71e=a252_0x407d8d;if(typeof _0x3cf803===_0x3aa71e(0xf0))return normalizeDomainOrigin(_0x22b989,_0x3cf803);if(!_0x3cf803||typeof _0x3cf803!=='object'||Array[_0x3aa71e(0xf9)](_0x3cf803))throw CliErrors[_0x3aa71e(0xfd)](_0x3aa71e(0x11d)+_0x22b989+':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.');const _0x1451d8=_0x3cf803,_0x4b52b8=_0x1451d8[ROUTING_CONSUMER]??_0x1451d8[_0x3aa71e(0xd4)];if(_0x4b52b8===undefined)throw CliErrors[_0x3aa71e(0xfd)](_0x3aa71e(0xe6)+_0x22b989+_0x3aa71e(0xee)+ROUTING_CONSUMER+_0x3aa71e(0x114));return normalizeDomainOrigin(_0x22b989,_0x4b52b8);}export function normalizeCdnBaseUrl(_0x12d41b,_0x1329b0){const _0x2b7e74=a252_0x407d8d;if(typeof _0x1329b0!==_0x2b7e74(0xf0)||!_0x1329b0[_0x2b7e74(0x117)]())throw CliErrors[_0x2b7e74(0xfd)](_0x2b7e74(0xe3)+_0x12d41b+_0x2b7e74(0xf7));const _0x399915=_0x1329b0['trim']()[_0x2b7e74(0x10f)](/\/$/,'');let _0x37f350;try{_0x37f350=new URL(_0x399915);}catch{throw CliErrors[_0x2b7e74(0xfd)]('Invalid\x20cdn.'+_0x12d41b+_0x2b7e74(0x10a)+_0x1329b0+_0x2b7e74(0xed));}if(_0x37f350[_0x2b7e74(0xdf)]!==_0x2b7e74(0x101)||_0x37f350[_0x2b7e74(0xda)]||_0x37f350[_0x2b7e74(0xce)]||_0x37f350[_0x2b7e74(0xcd)]||_0x37f350[_0x2b7e74(0xd6)]||_0x37f350[_0x2b7e74(0xc9)][_0x2b7e74(0x10f)](/\/$/,'')!==_0x399915||_0x12d41b==='lovrabet'&&_0x37f350[_0x2b7e74(0xca)]!==_0x399915)throw CliErrors[_0x2b7e74(0xfd)](_0x2b7e74(0xe3)+_0x12d41b+_0x2b7e74(0xc8)+(_0x12d41b===_0x2b7e74(0xf3)?_0x2b7e74(0xca):_0x2b7e74(0x113))+_0x2b7e74(0xcb));return _0x399915;}export function resolveEnterpriseRoutingConfig(_0x1adce3){const _0x85ec31=a252_0x407d8d;return resolveEnterpriseRoutingManifest(_0x1adce3)?.[_0x85ec31(0x10e)];}export function resolveEnterpriseRoutingManifest(_0x12ba0d){const _0x9d52fc=a252_0x407d8d;if(_0x12ba0d===undefined)return undefined;if(!_0x12ba0d||typeof _0x12ba0d!==_0x9d52fc(0x103)||Array[_0x9d52fc(0xf9)](_0x12ba0d))throw CliErrors['validation']('Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.');return parseEnterpriseRoutingManifest(_0x12ba0d);}export function readDomainConfigInput(_0x4baf6c){const _0x324b3c=a252_0x407d8d,_0x374178=isAbsolute(_0x4baf6c)?_0x4baf6c:resolve(process[_0x324b3c(0xe0)](),_0x4baf6c);if(!existsSync(_0x374178))throw CliErrors[_0x324b3c(0xfd)](_0x324b3c(0x102)+_0x374178);let _0x4cfbc9;try{_0x4cfbc9=JSON[_0x324b3c(0x119)](readFileSync(_0x374178,_0x324b3c(0xf6)));}catch{throw CliErrors[_0x324b3c(0xfd)](_0x324b3c(0xe8)+_0x374178);}if(!_0x4cfbc9||typeof _0x4cfbc9!==_0x324b3c(0x103)||Array['isArray'](_0x4cfbc9))throw CliErrors[_0x324b3c(0xfd)](_0x324b3c(0x105));const _0x19bda3=_0x4cfbc9;if('protocol'in _0x19bda3)return parseEnterpriseRoutingManifest(_0x19bda3);const _0x418a2d=Object[_0x324b3c(0xcf)](_0x19bda3)[_0x324b3c(0x112)](_0x459c6f=>!DOMAIN_CONFIG_FIELDS[_0x324b3c(0x10d)](_0x459c6f));if(_0x418a2d[_0x324b3c(0x104)]>0x0)throw CliErrors[_0x324b3c(0xfd)]('Unsupported\x20domain\x20config\x20field(s):\x20'+_0x418a2d[_0x324b3c(0x100)](',\x20'),_0x324b3c(0xdb)+DOMAIN_CONFIG_FIELDS['join'](',\x20'));const _0x4844ea={};for(const _0x47b918 of DOMAIN_CONFIG_FIELDS){_0x19bda3[_0x47b918]!==undefined&&(_0x4844ea[_0x47b918]=normalizeDomainOrigin(_0x47b918,_0x19bda3[_0x47b918]));}if(Object[_0x324b3c(0xcf)](_0x4844ea)['length']===0x0)throw CliErrors[_0x324b3c(0xfd)](_0x324b3c(0xfb));return{'mode':_0x324b3c(0xd3),'domains':_0x4844ea};}export function readDomainConfig(_0x59dff8){const _0x3c2b2f=a252_0x407d8d;return readDomainConfigInput(_0x59dff8)[_0x3c2b2f(0x10e)];}function a252_0x5868(){const _0x506c3d=[':\x20\x22','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22','certificateDomain','includes','domains','replace','skillHubDomain','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','filter','base\x20URL','\x20and\x20has\x20no\x20default.','agentDomain','Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','trim','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','parse','237170trLMVp','1918760bfjrZb','14EPHJqm','Invalid\x20','apiDomain','pathname','certificate-domain','kind','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.',':\x20expected\x20an\x20HTTPS\x20','href','origin','\x20without\x20credentials,\x20query,\x20or\x20fragment.','localDomain','search','password','keys','Unsupported\x20enterprise\x20CDN\x20field(s):\x20','domain-config','162ojpvfh','legacy','default','59714EbaIiH','hash','app-domain',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','userDomain','username','Allowed\x20fields:\x20','runtime-domain','kbDomain','str','protocol','cwd','platformDomain','7785850hRLqeb','Invalid\x20cdn.','rabetbase-cli','95994aokygn','Enterprise\x20','mode','Invalid\x20domain\x20config\x20JSON:\x20','kb-domain','runtimeDomain','45TGkEjr','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','\x22\x20is\x20not\x20a\x20valid\x20URL.','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','10459071SkcAkF','string','appDomain','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','lovrabet','enterprise-v1','\x22\x20and\x20kind\x20\x22','utf8',':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','isArray','user-domain','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','cdn','validation','local-domain','api-domain','join','https:','Domain\x20config\x20file\x20not\x20found:\x20','object','length','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','3525416EvLbHn','skillDomain','22BLOnPU'];a252_0x5868=function(){return _0x506c3d;};return a252_0x5868();}export function resolveDomainConfigInput(_0xa109aa){const _0x44f31c=a252_0x407d8d,_0xbc2082=(_0xa109aa[_0x44f31c(0xde)](_0x44f31c(0xd1))||'')[_0x44f31c(0x117)](),_0x4a8e4c=_0xbc2082?readDomainConfigInput(_0xbc2082):{'mode':_0x44f31c(0xd3),'domains':{}},_0x57b875=DOMAIN_CONFIG_FIELDS[_0x44f31c(0x112)](_0x1a81dc=>Boolean((_0xa109aa[_0x44f31c(0xde)](DOMAIN_FLAGS[_0x1a81dc])||'')[_0x44f31c(0x117)]()));if(_0x4a8e4c[_0x44f31c(0xe7)]===_0x44f31c(0xf4)&&_0x57b875[_0x44f31c(0x104)]>0x0)throw CliErrors[_0x44f31c(0xfd)]('Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.',_0x44f31c(0x118));for(const _0x59ef47 of DOMAIN_CONFIG_FIELDS){const _0x4b4e38=(_0xa109aa[_0x44f31c(0xde)](DOMAIN_FLAGS[_0x59ef47])||'')[_0x44f31c(0x117)]();if(_0x4b4e38)_0x4a8e4c[_0x44f31c(0x10e)][_0x59ef47]=normalizeDomainOrigin(_0x59ef47,_0x4b4e38);}return _0x4a8e4c;}export function resolveDomainFlags(_0x487f26){const _0x438585=a252_0x407d8d;return resolveDomainConfigInput(_0x487f26)[_0x438585(0x10e)];}export function parseEnterpriseRoutingManifest(_0x413962){const _0x380441=a252_0x407d8d;if(_0x413962[_0x380441(0xdf)]!==ENTERPRISE_ROUTING_PROTOCOL||_0x413962[_0x380441(0xc6)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x380441(0xfd)](_0x380441(0x10b)+ENTERPRISE_ROUTING_PROTOCOL+_0x380441(0xf5)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x413962[_0x380441(0x10e)]||typeof _0x413962[_0x380441(0x10e)]!==_0x380441(0x103)||Array[_0x380441(0xf9)](_0x413962[_0x380441(0x10e)]))throw CliErrors['validation'](_0x380441(0xc7));if(!_0x413962[_0x380441(0xfc)]||typeof _0x413962[_0x380441(0xfc)]!==_0x380441(0x103)||Array['isArray'](_0x413962[_0x380441(0xfc)]))throw CliErrors['validation'](_0x380441(0x111));const _0x20cd47=_0x413962[_0x380441(0x10e)],_0x5e13f7=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x380441(0x112)](_0x4e77fb=>_0x20cd47[_0x4e77fb]===undefined);if(_0x5e13f7[_0x380441(0x104)]>0x0)throw CliErrors['validation'](_0x380441(0x106)+_0x5e13f7['join'](',\x20'));if(_0x20cd47['localDomain']===undefined!==(_0x20cd47[_0x380441(0x10c)]===undefined))throw CliErrors[_0x380441(0xfd)](_0x380441(0x116));const _0xd0ac5b=_0x413962[_0x380441(0xfc)],_0x306bbd=Object[_0x380441(0xcf)](_0xd0ac5b)[_0x380441(0x112)](_0x3fb810=>!ENTERPRISE_ROUTING_CDN_FIELDS[_0x380441(0x10d)](_0x3fb810));if(_0x306bbd['length']>0x0)throw CliErrors[_0x380441(0xfd)](_0x380441(0xd0)+_0x306bbd[_0x380441(0x100)](',\x20'),'Allowed\x20fields:\x20'+ENTERPRISE_ROUTING_CDN_FIELDS[_0x380441(0x100)](',\x20'));const _0x28159d=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS['filter'](_0x3eb823=>_0xd0ac5b[_0x3eb823]===undefined);if(_0x28159d['length']>0x0)throw CliErrors[_0x380441(0xfd)](_0x380441(0xec)+_0x28159d[_0x380441(0x100)](',\x20'));const _0x3c2e37={};for(const _0x2a09de of ENTERPRISE_ROUTING_CDN_FIELDS){_0x3c2e37[_0x2a09de]=normalizeCdnBaseUrl(_0x2a09de,_0xd0ac5b[_0x2a09de]);}const _0x1d91d0={},_0x37e419={};for(const _0x21aa8f of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x56e145=_0x20cd47[_0x21aa8f];if(_0x56e145===undefined)continue;const _0x42c0b1=normalizeRoutingDomainValue(_0x21aa8f,_0x56e145);_0x1d91d0[_0x21aa8f]=_0x42c0b1;const _0x24d278=ENTERPRISE_TO_LOCAL_FIELD[_0x21aa8f];_0x24d278&&(_0x37e419[_0x24d278]=_0x42c0b1);}return{'mode':_0x380441(0xf4),'domains':_0x37e419,'manifestDomains':_0x1d91d0,'cdn':_0x3c2e37};}
@@ -1 +1 @@
1
- function a228_0x4b25(){const _0x2370a8=['1818894ysUclY','1778073GMSTNu','.tmp','utf8','996dhUxvW','2117591mCthyO','1882815NYFuyA','3470AIgEsM','110mtupom','rabetbase.domain-routing.json','8Ooexht','6923997MDxKqu','/cert/lovrabet-dev.json','official','origin','292RLYasl','Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','lovrabet-project-domain-routing/v1','now','independent','9630HCzUZE','http://localhost','pid','lovrabet'];a228_0x4b25=function(){return _0x2370a8;};return a228_0x4b25();}const a228_0xdf784d=a228_0x4c58;(function(_0x514f72,_0x33abae){const _0x199bbb=a228_0x4c58,_0x3b7f44=_0x514f72();while(!![]){try{const _0x4f545c=-parseInt(_0x199bbb(0x1c0))/0x1*(-parseInt(_0x199bbb(0x1b0))/0x2)+-parseInt(_0x199bbb(0x1bf))/0x3+-parseInt(_0x199bbb(0x1bd))/0x4*(parseInt(_0x199bbb(0x1b5))/0x5)+parseInt(_0x199bbb(0x1b9))/0x6+-parseInt(_0x199bbb(0x1be))/0x7*(parseInt(_0x199bbb(0x1c3))/0x8)+-parseInt(_0x199bbb(0x1ac))/0x9+parseInt(_0x199bbb(0x1c1))/0xa*(parseInt(_0x199bbb(0x1ba))/0xb);if(_0x4f545c===_0x33abae)break;else _0x3b7f44['push'](_0x3b7f44['shift']());}catch(_0x1d1c66){_0x3b7f44['push'](_0x3b7f44['shift']());}}}(a228_0x4b25,0x63cf1));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=a228_0xdf784d(0x1c2);export const PROJECT_DOMAIN_ROUTING_PROTOCOL=a228_0xdf784d(0x1b2);function a228_0x4c58(_0xea6968,_0xe5db3e){_0xea6968=_0xea6968-0x1ac;const _0x4b25be=a228_0x4b25();let _0x4c58b8=_0x4b25be[_0xea6968];return _0x4c58b8;}export function getProjectDomainRoutingManifest(){const _0x117440=a228_0xdf784d,_0x182126=getActiveRegion(),_0x4052ae=isIndependentDeployment(),_0x3caa5c=getOfficialRoutingProfile(_0x182126),_0x44d3bb=getLocalDomain(),_0x600d32=getCertificateDomain(),_0x483b9f=getActiveCdn();if(!!_0x44d3bb!==!!_0x600d32)throw new Error(_0x117440(0x1b1));return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x4052ae?_0x117440(0x1b4):_0x117440(0x1ae),'region':_0x4052ae?null:_0x182126,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x483b9f,'local':_0x44d3bb&&_0x600d32?{'origin':_0x44d3bb,'certificateUrl':_0x600d32+_0x117440(0x1ad)}:_0x4052ae?{'origin':_0x117440(0x1b6)}:{'origin':_0x3caa5c['local'][_0x117440(0x1af)],'certificateUrl':_0x483b9f[_0x117440(0x1b8)]+_0x117440(0x1ad)}};}export function writeProjectDomainRoutingManifest(_0x287c63){const _0x1dc179=a228_0xdf784d,_0x13bbe8=getProjectDomainRoutingManifest(),_0x4e497d=join(_0x287c63,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x399c44=JSON['stringify'](_0x13bbe8,null,0x2)+'\x0a';try{if(readFileSync(_0x4e497d,_0x1dc179(0x1bc))===_0x399c44)return{'path':_0x4e497d,'manifest':_0x13bbe8,'changed':![]};}catch{}const _0x27fc5e=_0x4e497d+'.'+process[_0x1dc179(0x1b7)]+'.'+Date[_0x1dc179(0x1b3)]()+_0x1dc179(0x1bb);try{writeFileSync(_0x27fc5e,_0x399c44,{'encoding':_0x1dc179(0x1bc),'mode':0x1a4}),renameSync(_0x27fc5e,_0x4e497d);}catch(_0x13fd9c){try{unlinkSync(_0x27fc5e);}catch{}throw _0x13fd9c;}return{'path':_0x4e497d,'manifest':_0x13bbe8,'changed':!![]};}
1
+ const a253_0x592142=a253_0x2e40;(function(_0x274a6d,_0x1be0ef){const _0x1d37a0=a253_0x2e40,_0x46a920=_0x274a6d();while(!![]){try{const _0x191509=parseInt(_0x1d37a0(0x1b3))/0x1+-parseInt(_0x1d37a0(0x1b0))/0x2+-parseInt(_0x1d37a0(0x1a6))/0x3*(parseInt(_0x1d37a0(0x1b2))/0x4)+-parseInt(_0x1d37a0(0x1a5))/0x5+-parseInt(_0x1d37a0(0x1ad))/0x6+parseInt(_0x1d37a0(0x1b1))/0x7*(parseInt(_0x1d37a0(0x1ae))/0x8)+-parseInt(_0x1d37a0(0x1b8))/0x9*(-parseInt(_0x1d37a0(0x1b5))/0xa);if(_0x191509===_0x1be0ef)break;else _0x46a920['push'](_0x46a920['shift']());}catch(_0x7149ae){_0x46a920['push'](_0x46a920['shift']());}}}(a253_0x36e3,0xb40d4));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';function a253_0x2e40(_0x1722d7,_0x4a9af4){_0x1722d7=_0x1722d7-0x1a5;const _0x36e31d=a253_0x36e3();let _0x2e4054=_0x36e31d[_0x1722d7];return _0x2e4054;}export const PROJECT_DOMAIN_ROUTING_FILE_NAME=a253_0x592142(0x1b7);export const PROJECT_DOMAIN_ROUTING_PROTOCOL='lovrabet-project-domain-routing/v1';export function getProjectDomainRoutingManifest(){const _0x2eea90=a253_0x592142,_0x362ee3=getActiveRegion(),_0x487175=isIndependentDeployment(),_0xaeaeb3=getOfficialRoutingProfile(_0x362ee3),_0x48eb4d=getLocalDomain(),_0x9f31d=getCertificateDomain(),_0x45b300=getActiveCdn();if(!!_0x48eb4d!==!!_0x9f31d)throw new Error('Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.');return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x487175?_0x2eea90(0x1a9):_0x2eea90(0x1a8),'region':_0x487175?null:_0x362ee3,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x45b300,'local':_0x48eb4d&&_0x9f31d?{'origin':_0x48eb4d,'certificateUrl':_0x9f31d+'/cert/lovrabet-dev.json'}:_0x487175?{'origin':'http://localhost'}:{'origin':_0xaeaeb3[_0x2eea90(0x1b9)][_0x2eea90(0x1ab)],'certificateUrl':_0x45b300[_0x2eea90(0x1af)]+_0x2eea90(0x1ac)}};}export function writeProjectDomainRoutingManifest(_0x5252bf){const _0x2829d2=a253_0x592142,_0x47ebc4=getProjectDomainRoutingManifest(),_0x39577d=join(_0x5252bf,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x2147fd=JSON[_0x2829d2(0x1b4)](_0x47ebc4,null,0x2)+'\x0a';try{if(readFileSync(_0x39577d,_0x2829d2(0x1aa))===_0x2147fd)return{'path':_0x39577d,'manifest':_0x47ebc4,'changed':![]};}catch{}const _0x293f4b=_0x39577d+'.'+process[_0x2829d2(0x1b6)]+'.'+Date['now']()+_0x2829d2(0x1a7);try{writeFileSync(_0x293f4b,_0x2147fd,{'encoding':_0x2829d2(0x1aa),'mode':0x1a4}),renameSync(_0x293f4b,_0x39577d);}catch(_0x21a7aa){try{unlinkSync(_0x293f4b);}catch{}throw _0x21a7aa;}return{'path':_0x39577d,'manifest':_0x47ebc4,'changed':!![]};}function a253_0x36e3(){const _0x4302d5=['utf8','origin','/cert/lovrabet-dev.json','6822162hDDIUi','48kKvNRJ','lovrabet','1016294DfJKmS','809753NdQzCa','395116FdbhWs','659022KFotlp','stringify','39780UnmWdW','pid','rabetbase.domain-routing.json','5211ADTxzl','local','935615OlRHLM','33dZkhWR','.tmp','official','independent'];a253_0x36e3=function(){return _0x4302d5;};return a253_0x36e3();}
@@ -1 +1 @@
1
- function a229_0x484c(_0x1f666e,_0xb88bb6){_0x1f666e=_0x1f666e-0x1aa;const _0x23eb29=a229_0x23eb();let _0x484cf5=_0x23eb29[_0x1f666e];return _0x484cf5;}const a229_0x3d6050=a229_0x484c;(function(_0x3e82f6,_0x29d493){const _0x39e59a=a229_0x484c,_0x568290=_0x3e82f6();while(!![]){try{const _0x37008b=parseInt(_0x39e59a(0x1b8))/0x1+-parseInt(_0x39e59a(0x1b2))/0x2+-parseInt(_0x39e59a(0x1c4))/0x3*(-parseInt(_0x39e59a(0x1af))/0x4)+parseInt(_0x39e59a(0x1bb))/0x5+parseInt(_0x39e59a(0x1b0))/0x6*(parseInt(_0x39e59a(0x1b5))/0x7)+parseInt(_0x39e59a(0x1bd))/0x8+-parseInt(_0x39e59a(0x1ac))/0x9;if(_0x37008b===_0x29d493)break;else _0x568290['push'](_0x568290['shift']());}catch(_0x1c226f){_0x568290['push'](_0x568290['shift']());}}}(a229_0x23eb,0x7812f));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(_0x3c6c7a){const _0x394ac3=a229_0x484c;if(_0x3c6c7a[_0x394ac3(0x1b1)]!==undefined&&_0x3c6c7a[_0x394ac3(0x1b1)]!==null&&_0x3c6c7a[_0x394ac3(0x1b1)]!=='')return{'value':_0x3c6c7a[_0x394ac3(0x1b1)],'source':'app'};if(_0x3c6c7a['projectRegion']!==undefined&&_0x3c6c7a['projectRegion']!==null&&_0x3c6c7a[_0x394ac3(0x1ba)]!=='')return{'value':_0x3c6c7a[_0x394ac3(0x1ba)],'source':_0x394ac3(0x1b3)};if(_0x3c6c7a['globalRegion']!==undefined&&_0x3c6c7a['globalRegion']!==null&&_0x3c6c7a['globalRegion']!=='')return{'value':_0x3c6c7a[_0x394ac3(0x1b7)],'source':_0x394ac3(0x1c1)};if(_0x3c6c7a[_0x394ac3(0x1bc)]!==undefined&&_0x3c6c7a[_0x394ac3(0x1bc)]!==null&&_0x3c6c7a['mergedRegion']!=='')return{'value':_0x3c6c7a[_0x394ac3(0x1bc)],'source':'config'};return{'value':undefined,'source':'default'};}function describeConfiguredRegion(_0xb73fcb){const _0x572ce1=a229_0x484c;return typeof _0xb73fcb===_0x572ce1(0x1ab)?JSON['stringify'](_0xb73fcb):'a\x20value\x20of\x20type\x20'+(_0xb73fcb===null?_0x572ce1(0x1bf):typeof _0xb73fcb);}function a229_0x23eb(){const _0x46172d=['null','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','global','project\x20Rabetbase\x20configuration','source','6SYsadL','Invalid\x20country/region\x20','\x20in\x20','appName','string','5924574CaMEnb','Run\x20`','app','1713336OPICbm','132EGCneA','appRegion','979488ABTddT','project','Rabetbase\x20configuration','125594JvxKXh','global\x20Rabetbase\x20configuration','globalRegion','112423wutDZv','app\x20profile\x20\x22','projectRegion','987365aRBfQY','mergedRegion','628520eoMHmj','selected\x20app\x20profile'];a229_0x23eb=function(){return _0x46172d;};return a229_0x23eb();}export function resolveConfiguredRegion(_0x3e97b4,_0x400215=a229_0x3d6050(0x1b4)){const _0x29c894=a229_0x3d6050;if(isInvalidLovrabetRegion(_0x3e97b4))throw CliErrors['validation'](_0x29c894(0x1c5)+describeConfiguredRegion(_0x3e97b4)+_0x29c894(0x1c6)+_0x400215+'.',_0x29c894(0x1ad)+CLI_BIN_NAME+_0x29c894(0x1c0));return normalizeLovrabetRegion(_0x3e97b4)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x2942ec){const _0x21d7ba=a229_0x3d6050,_0x3ac51f=selectConfiguredRegion(_0x2942ec),_0x3af841=_0x3ac51f['source']===_0x21d7ba(0x1ae)?_0x2942ec[_0x21d7ba(0x1aa)]?_0x21d7ba(0x1b9)+_0x2942ec[_0x21d7ba(0x1aa)]+'\x22':_0x21d7ba(0x1be):_0x3ac51f[_0x21d7ba(0x1c3)]===_0x21d7ba(0x1b3)?_0x21d7ba(0x1c2):_0x3ac51f[_0x21d7ba(0x1c3)]==='global'?_0x21d7ba(0x1b6):_0x21d7ba(0x1b4);return{'region':resolveConfiguredRegion(_0x3ac51f['value'],_0x3af841),'source':_0x3ac51f['source']};}
1
+ const a254_0x2f8d04=a254_0x1e3e;(function(_0x1c1619,_0x1228d0){const _0x47f8f7=a254_0x1e3e,_0x285203=_0x1c1619();while(!![]){try{const _0x2372d4=-parseInt(_0x47f8f7(0x8b))/0x1*(-parseInt(_0x47f8f7(0x8e))/0x2)+parseInt(_0x47f8f7(0xa9))/0x3*(parseInt(_0x47f8f7(0x91))/0x4)+-parseInt(_0x47f8f7(0x9c))/0x5*(-parseInt(_0x47f8f7(0x9d))/0x6)+parseInt(_0x47f8f7(0xa7))/0x7*(-parseInt(_0x47f8f7(0x99))/0x8)+parseInt(_0x47f8f7(0xab))/0x9+parseInt(_0x47f8f7(0x8c))/0xa*(parseInt(_0x47f8f7(0xa6))/0xb)+parseInt(_0x47f8f7(0x9a))/0xc*(-parseInt(_0x47f8f7(0x9e))/0xd);if(_0x2372d4===_0x1228d0)break;else _0x285203['push'](_0x285203['shift']());}catch(_0x104cf5){_0x285203['push'](_0x285203['shift']());}}}(a254_0x38fa,0x4590f));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(_0x3127e8){const _0x4df226=a254_0x1e3e;if(_0x3127e8[_0x4df226(0x93)]!==undefined&&_0x3127e8[_0x4df226(0x93)]!==null&&_0x3127e8[_0x4df226(0x93)]!=='')return{'value':_0x3127e8[_0x4df226(0x93)],'source':_0x4df226(0xa3)};if(_0x3127e8[_0x4df226(0x8d)]!==undefined&&_0x3127e8[_0x4df226(0x8d)]!==null&&_0x3127e8[_0x4df226(0x8d)]!=='')return{'value':_0x3127e8[_0x4df226(0x8d)],'source':'project'};if(_0x3127e8['globalRegion']!==undefined&&_0x3127e8[_0x4df226(0xaa)]!==null&&_0x3127e8[_0x4df226(0xaa)]!=='')return{'value':_0x3127e8[_0x4df226(0xaa)],'source':_0x4df226(0xa5)};if(_0x3127e8[_0x4df226(0x96)]!==undefined&&_0x3127e8['mergedRegion']!==null&&_0x3127e8['mergedRegion']!=='')return{'value':_0x3127e8[_0x4df226(0x96)],'source':'config'};return{'value':undefined,'source':_0x4df226(0xa1)};}function a254_0x1e3e(_0x5beba6,_0x5d9360){_0x5beba6=_0x5beba6-0x8b;const _0x38faab=a254_0x38fa();let _0x1e3e1f=_0x38faab[_0x5beba6];return _0x1e3e1f;}function describeConfiguredRegion(_0x26a852){const _0x3c0e4f=a254_0x1e3e;return typeof _0x26a852===_0x3c0e4f(0x92)?JSON[_0x3c0e4f(0x98)](_0x26a852):_0x3c0e4f(0xa2)+(_0x26a852===null?_0x3c0e4f(0xa8):typeof _0x26a852);}export function resolveConfiguredRegion(_0x59936d,_0x4d1759=a254_0x2f8d04(0x9b)){const _0x1bc24a=a254_0x2f8d04;if(isInvalidLovrabetRegion(_0x59936d))throw CliErrors['validation'](_0x1bc24a(0x95)+describeConfiguredRegion(_0x59936d)+'\x20in\x20'+_0x4d1759+'.',_0x1bc24a(0x9f)+CLI_BIN_NAME+_0x1bc24a(0x97));return normalizeLovrabetRegion(_0x59936d)??DEFAULT_LOVRABET_REGION;}function a254_0x38fa(){const _0x593193=['project\x20Rabetbase\x20configuration','Invalid\x20country/region\x20','mergedRegion','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','stringify','906448EupBTQ','732uvOfUl','Rabetbase\x20configuration','30SCIqDL','550356XGpZBW','223834VXzhKf','Run\x20`','app\x20profile\x20\x22','default','a\x20value\x20of\x20type\x20','app','source','global','388861XgbmcD','21mkugsm','null','30iWHSrd','globalRegion','4579407gLOSQb','1GMLpTn','30owOdoz','projectRegion','330694wUjlxx','project','global\x20Rabetbase\x20configuration','137832kXlFkr','string','appRegion'];a254_0x38fa=function(){return _0x593193;};return a254_0x38fa();}export function resolveEffectiveRegion(_0x57762f){const _0x5a2737=a254_0x2f8d04,_0x3e9a96=selectConfiguredRegion(_0x57762f),_0x1b259a=_0x3e9a96[_0x5a2737(0xa4)]==='app'?_0x57762f['appName']?_0x5a2737(0xa0)+_0x57762f['appName']+'\x22':'selected\x20app\x20profile':_0x3e9a96[_0x5a2737(0xa4)]===_0x5a2737(0x8f)?_0x5a2737(0x94):_0x3e9a96[_0x5a2737(0xa4)]==='global'?_0x5a2737(0x90):_0x5a2737(0x9b);return{'region':resolveConfiguredRegion(_0x3e9a96['value'],_0x1b259a),'source':_0x3e9a96[_0x5a2737(0xa4)]};}
@@ -1 +1 @@
1
- const a230_0xa77104=a230_0x4ff9;(function(_0x4c83f2,_0xd2be60){const _0x3795bf=a230_0x4ff9,_0x2a46a7=_0x4c83f2();while(!![]){try{const _0x309952=parseInt(_0x3795bf(0x1bf))/0x1+parseInt(_0x3795bf(0x1b3))/0x2+parseInt(_0x3795bf(0x1bd))/0x3+-parseInt(_0x3795bf(0x1a0))/0x4+parseInt(_0x3795bf(0x1ba))/0x5+-parseInt(_0x3795bf(0x190))/0x6+-parseInt(_0x3795bf(0x1c4))/0x7;if(_0x309952===_0xd2be60)break;else _0x2a46a7['push'](_0x2a46a7['shift']());}catch(_0xb8a6a2){_0x2a46a7['push'](_0x2a46a7['shift']());}}}(a230_0x1c90,0xbef5c));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,isProduction,RABETBASE_ENV_VALUES}from'../constant/env.js';function a230_0x1c90(){const _0x2b83e6=['number','en-US','867020rtPaxl','pageSize','Target\x20environment','8434830OUUUSo','kbDomain','string','env','riskLevel','join','cookie','entries','some','inherit','toLowerCase','trim','app','isArray','object','certificateDomain','2925468EMTPVW','defaultApp','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','Auth\x20cookie','zh-CN','appDomain','accessKey','length','region','userDomain','format','map','API\x20directory\x20path','Config\x20key\x20(','Risk\x20level','apps','skillDomain','keys','Access\x20key','1167828Mynlqq','runtimeDomain','values','apiDomain','filter','Default\x20page\x20size','localDomain','6570745VMIddl','has','defaultFormat','2817321EekmXr','apiDir','206034SfJqKw','fromEntries','locale'];a230_0x1c90=function(){return _0x2b83e6;};return a230_0x1c90();}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=['cookie',a230_0xa77104(0x1a6),a230_0xa77104(0x1c1),a230_0xa77104(0x1aa),'riskLevel',a230_0xa77104(0x1a8),'routing',a230_0xa77104(0x1a9),'apiDomain',a230_0xa77104(0x1b4),a230_0xa77104(0x1b0),'kbDomain','appDomain',a230_0xa77104(0x1b9),a230_0xa77104(0x19f)];export const TOP_LEVEL_CONFIG_KEYS=new Set(['appcode','env',a230_0xa77104(0x1c1),a230_0xa77104(0x1aa),'cookie',a230_0xa77104(0x1a6),a230_0xa77104(0x1be),'region','userDomain',a230_0xa77104(0x1b6),a230_0xa77104(0x1b4),a230_0xa77104(0x1b0),a230_0xa77104(0x191),a230_0xa77104(0x1a5),a230_0xa77104(0x1b9),a230_0xa77104(0x19f)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x25f9f6){const _0x498d24=a230_0xa77104;return[..._0x25f9f6][_0x498d24(0x195)](',\x20');}function a230_0x4ff9(_0x3dc027,_0x2fbadb){_0x3dc027=_0x3dc027-0x18e;const _0x1c908d=a230_0x1c90();let _0x4ff954=_0x1c908d[_0x3dc027];return _0x4ff954;}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x276069){const _0x6fe5be=a230_0xa77104;return TOP_LEVEL_CONFIG_KEYS[_0x6fe5be(0x1bb)](_0x276069);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x1faac2=a230_0xa77104;return _0x1faac2(0x1ad)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'region':'region','env':a230_0xa77104(0x193),'apiDir':a230_0xa77104(0x1be),'cookie':a230_0xa77104(0x196),'accessKey':'accessKey','defaultFormat':'format','pageSize':a230_0xa77104(0x18e),'riskLevel':a230_0xa77104(0x194),'locale':a230_0xa77104(0x1c1)};export function getAppProfileFlagDefs(){const _0x33769c=a230_0xa77104;return[{'name':_0x33769c(0x1a8),'type':_0x33769c(0x192),'description':'Country/region\x20for\x20this\x20app\x20profile','enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':'env','type':_0x33769c(0x192),'description':_0x33769c(0x18f),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x33769c(0x1be),'type':_0x33769c(0x192),'description':_0x33769c(0x1ac)},{'name':'cookie','type':'string','description':_0x33769c(0x1a3),'hidden':!![]},{'name':_0x33769c(0x1a6),'type':'string','description':_0x33769c(0x1b2),'hidden':!![]},{'name':_0x33769c(0x1bc),'type':_0x33769c(0x192),'description':'Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x33769c(0x18e),'type':_0x33769c(0x1c2),'description':_0x33769c(0x1b8)},{'name':_0x33769c(0x194),'type':_0x33769c(0x192),'description':_0x33769c(0x1ae),'enum':[...RISK_LEVEL_VALUES]},{'name':'locale','type':_0x33769c(0x192),'description':_0x33769c(0x1a2)}];}export function collectAppProfileOverrides(_0x1536b0){const _0x44aae8=a230_0xa77104,_0x8cfa19={};for(const [_0x37e8b1,_0x4412e4]of Object[_0x44aae8(0x197)](APP_PROFILE_FLAG_KEY_MAP)){const _0x3e4756=_0x1536b0(_0x37e8b1);if(!_0x3e4756)continue;_0x8cfa19[_0x4412e4]=_0x4412e4==='pageSize'?Number(_0x3e4756):_0x3e4756;}return _0x8cfa19;}export function buildAppProfileListFields(_0x53278d){const _0x317944=a230_0xa77104;return{'region':_0x53278d[_0x317944(0x1a8)]??null,'env':_0x53278d['env']??null,'apiDir':_0x53278d[_0x317944(0x1be)]??null,'hasCookie':!!_0x53278d['cookie'],'hasAccessKey':!!_0x53278d[_0x317944(0x1a6)],'format':_0x53278d[_0x317944(0x1aa)]??null,'pageSize':_0x53278d['pageSize']??null,'riskLevel':_0x53278d[_0x317944(0x194)]??null,'locale':_0x53278d[_0x317944(0x1c1)]??null};}export function buildAppDoctorFields(_0x40442e,_0x209e8f){const _0x5a873d=a230_0xa77104;return{'region':{'value':_0x40442e[_0x5a873d(0x1a8)]||_0x209e8f[_0x5a873d(0x1a8)],'source':_0x40442e[_0x5a873d(0x1a8)]?'app':_0x5a873d(0x199)},'env':{'value':_0x40442e[_0x5a873d(0x193)]||_0x209e8f[_0x5a873d(0x193)],'source':_0x40442e[_0x5a873d(0x193)]?_0x5a873d(0x19c):_0x5a873d(0x199)},'apiDir':{'value':_0x40442e['apiDir']||_0x209e8f[_0x5a873d(0x1be)],'source':_0x40442e[_0x5a873d(0x1be)]?_0x5a873d(0x19c):_0x5a873d(0x199)},'cookie':{'value':_0x40442e[_0x5a873d(0x196)]||_0x209e8f[_0x5a873d(0x196)],'source':_0x40442e[_0x5a873d(0x196)]?_0x5a873d(0x19c):_0x5a873d(0x199)},'accessKey':{'value':_0x40442e[_0x5a873d(0x1a6)]||_0x209e8f[_0x5a873d(0x1a6)],'source':_0x40442e[_0x5a873d(0x1a6)]?_0x5a873d(0x19c):_0x5a873d(0x199)}};}export function buildCanonicalAppConfig(_0x421625,_0x59e579){const _0xb0df4a=a230_0xa77104,_0x2c7559=_0x421625['map'](_0x28a78f=>String(_0x28a78f||'')[_0xb0df4a(0x19b)]())[_0xb0df4a(0x1b7)](Boolean);if(_0x2c7559[_0xb0df4a(0x1a7)]===0x0)return{};const _0x4bc7d3={};for(const _0xae9f3 of _0x2c7559){_0x4bc7d3[_0xae9f3]=_0x59e579&&!isProduction(_0x59e579)?{'appcode':_0xae9f3,'env':_0x59e579}:{'appcode':_0xae9f3};}return _0x2c7559[_0xb0df4a(0x1a7)]>0x1?{'apps':_0x4bc7d3,'defaultApp':_0x2c7559[0x0]}:{'apps':_0x4bc7d3};}export function normalizeStoredDefaultApp(_0x1ceee3,_0x26d3c0){const _0x2bb82e=a230_0xa77104,_0x11af60=_0x1ceee3[_0x2bb82e(0x1af)]&&typeof _0x1ceee3[_0x2bb82e(0x1af)]===_0x2bb82e(0x19e)?_0x1ceee3[_0x2bb82e(0x1af)]:{},_0x446d9d=Object[_0x2bb82e(0x1b1)](_0x11af60);if(_0x446d9d['length']<=0x1)return delete _0x1ceee3[_0x2bb82e(0x1a1)],undefined;const _0xcc543c=typeof _0x1ceee3['defaultApp']===_0x2bb82e(0x192)&&_0x11af60[_0x1ceee3[_0x2bb82e(0x1a1)]]?_0x1ceee3[_0x2bb82e(0x1a1)]:undefined,_0x4948d8=_0x26d3c0&&_0x11af60[_0x26d3c0]?_0x26d3c0:_0xcc543c;if(_0x4948d8)return _0x1ceee3[_0x2bb82e(0x1a1)]=_0x4948d8,_0x4948d8;return delete _0x1ceee3[_0x2bb82e(0x1a1)],undefined;}export function buildCanonicalProjectConfig(_0x5e5e1d,_0x397eec){const _0x5b4687=a230_0xa77104,{appCodes:appCodes=[],env:_0x5734c2,metadata:_0x18963f}=_0x397eec,_0xba0724={..._0x5e5e1d,..._0x18963f||{}};delete _0xba0724['appcode'],delete _0xba0724['app'];const _0x189f8d=_0x5734c2||(typeof _0xba0724[_0x5b4687(0x193)]===_0x5b4687(0x192)?_0xba0724[_0x5b4687(0x193)]:'')||DEFAULT_CONFIG_VALUES['env'];if(isProduction(_0x189f8d))delete _0xba0724[_0x5b4687(0x193)];else _0xba0724['env']=_0x189f8d;const _0x2ea018=buildCanonicalAppConfig(appCodes,_0x189f8d);if(Object[_0x5b4687(0x1b1)](_0x2ea018)['length']>0x0){_0xba0724['apps']=_0x2ea018[_0x5b4687(0x1af)];if(_0x2ea018['defaultApp'])_0xba0724[_0x5b4687(0x1a1)]=_0x2ea018['defaultApp'];else delete _0xba0724['defaultApp'];}return normalizeConfigForWrite(_0xba0724);}function isRecord(_0x185de6){const _0xce06a9=a230_0xa77104;return!!_0x185de6&&typeof _0x185de6===_0xce06a9(0x19e)&&!Array[_0xce06a9(0x19d)](_0x185de6);}export function normalizeConfigForWrite(_0x55e1ac){const _0xfd7fe0=a230_0xa77104,_0x34e03d={..._0x55e1ac},_0xe95c70=isRecord(_0x55e1ac[_0xfd7fe0(0x1af)])?_0x55e1ac['apps']:undefined,_0x421f14=_0xe95c70?Object[_0xfd7fe0(0x1c0)](Object['entries'](_0xe95c70)[_0xfd7fe0(0x1ab)](([_0x1f4a83,_0x1dc2be])=>[_0x1f4a83,isRecord(_0x1dc2be)?{..._0x1dc2be}:_0x1dc2be])):undefined;if(_0x421f14){const _0x552a50=typeof _0x34e03d[_0xfd7fe0(0x193)]===_0xfd7fe0(0x192)?_0x34e03d[_0xfd7fe0(0x193)]:undefined,_0x34f05c=Object[_0xfd7fe0(0x1b5)](_0x421f14)[_0xfd7fe0(0x198)](_0x3478fb=>isRecord(_0x3478fb)&&typeof _0x3478fb[_0xfd7fe0(0x193)]===_0xfd7fe0(0x192)&&isProduction(_0x3478fb[_0xfd7fe0(0x193)]));if(_0x552a50&&isDaily(_0x552a50)&&_0x34f05c){for(const _0x468e0f of Object[_0xfd7fe0(0x1b5)](_0x421f14)){if(!isRecord(_0x468e0f))continue;if(_0x468e0f[_0xfd7fe0(0x193)]===undefined)_0x468e0f[_0xfd7fe0(0x193)]=_0x552a50;}delete _0x34e03d['env'];}for(const _0x33bbfb of Object[_0xfd7fe0(0x1b5)](_0x421f14)){isRecord(_0x33bbfb)&&typeof _0x33bbfb[_0xfd7fe0(0x193)]==='string'&&isProduction(_0x33bbfb[_0xfd7fe0(0x193)])&&delete _0x33bbfb[_0xfd7fe0(0x193)];}_0x34e03d[_0xfd7fe0(0x1af)]=_0x421f14;}return typeof _0x34e03d[_0xfd7fe0(0x193)]===_0xfd7fe0(0x192)&&isProduction(_0x34e03d[_0xfd7fe0(0x193)])&&delete _0x34e03d['env'],_0x34e03d;}const LOCALE_MAP={'zh':a230_0xa77104(0x1a4),'zh-cn':a230_0xa77104(0x1a4),'zh_cn':a230_0xa77104(0x1a4),'en':'en-US','en-us':a230_0xa77104(0x1c3),'en_us':a230_0xa77104(0x1c3)};export function normalizeLocale(_0x235ecc){const _0x5902d9=a230_0xa77104;if(!_0x235ecc)return null;return LOCALE_MAP[_0x235ecc[_0x5902d9(0x19a)]()]??null;}
1
+ const a255_0x4477b0=a255_0x40b8;(function(_0xd8c5ea,_0x23a18c){const _0x398b69=a255_0x40b8,_0x1bd837=_0xd8c5ea();while(!![]){try{const _0x1b17c6=parseInt(_0x398b69(0x1d4))/0x1+-parseInt(_0x398b69(0x1ec))/0x2+-parseInt(_0x398b69(0x1e5))/0x3+-parseInt(_0x398b69(0x1ea))/0x4+parseInt(_0x398b69(0x1ee))/0x5*(parseInt(_0x398b69(0x1cd))/0x6)+parseInt(_0x398b69(0x1f3))/0x7+parseInt(_0x398b69(0x1c7))/0x8*(parseInt(_0x398b69(0x1c3))/0x9);if(_0x1b17c6===_0x23a18c)break;else _0x1bd837['push'](_0x1bd837['shift']());}catch(_0x172a18){_0x1bd837['push'](_0x1bd837['shift']());}}}(a255_0x31d4,0x6d7ad));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=['cookie',a255_0x4477b0(0x1e9),a255_0x4477b0(0x1ca),a255_0x4477b0(0x1c4),a255_0x4477b0(0x1c6),'region','routing',a255_0x4477b0(0x1ed),a255_0x4477b0(0x1f8),a255_0x4477b0(0x1d8),a255_0x4477b0(0x1f7),a255_0x4477b0(0x1f4),a255_0x4477b0(0x1f5),a255_0x4477b0(0x1eb),a255_0x4477b0(0x1e6)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a255_0x4477b0(0x1d0),a255_0x4477b0(0x1f0),a255_0x4477b0(0x1ca),'format','cookie',a255_0x4477b0(0x1e9),a255_0x4477b0(0x1e8),a255_0x4477b0(0x1e7),a255_0x4477b0(0x1ed),a255_0x4477b0(0x1f8),a255_0x4477b0(0x1d8),a255_0x4477b0(0x1f7),a255_0x4477b0(0x1f4),a255_0x4477b0(0x1f5),'localDomain',a255_0x4477b0(0x1e6)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x40e682){const _0x3bca8e=a255_0x4477b0;return[..._0x40e682][_0x3bca8e(0x1d5)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x281a95){return TOP_LEVEL_CONFIG_KEYS['has'](_0x281a95);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x5066c6=a255_0x4477b0;return _0x5066c6(0x1c1)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':a255_0x4477b0(0x1d1),'region':'region','env':a255_0x4477b0(0x1f0),'apiDir':'apiDir','cookie':a255_0x4477b0(0x1c9),'accessKey':'accessKey','defaultFormat':a255_0x4477b0(0x1c4),'pageSize':'pageSize','riskLevel':a255_0x4477b0(0x1c6),'locale':'locale'};export function getAppProfileFlagDefs(){const _0x3646ac=a255_0x4477b0;return[{'name':_0x3646ac(0x1d1),'type':'string','description':_0x3646ac(0x1c5)},{'name':_0x3646ac(0x1e7),'type':'string','description':_0x3646ac(0x1de),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':'env','type':_0x3646ac(0x1d3),'description':_0x3646ac(0x1cc),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x3646ac(0x1e8),'type':_0x3646ac(0x1d3),'description':_0x3646ac(0x1c0)},{'name':_0x3646ac(0x1c9),'type':_0x3646ac(0x1d3),'description':_0x3646ac(0x1e0),'hidden':!![]},{'name':_0x3646ac(0x1e9),'type':_0x3646ac(0x1d3),'description':_0x3646ac(0x1dc),'hidden':!![]},{'name':_0x3646ac(0x1cf),'type':_0x3646ac(0x1d3),'description':_0x3646ac(0x1ce),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x3646ac(0x1e2),'type':_0x3646ac(0x1d7),'description':'Default\x20page\x20size'},{'name':_0x3646ac(0x1c6),'type':_0x3646ac(0x1d3),'description':_0x3646ac(0x1da),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x3646ac(0x1ca),'type':'string','description':_0x3646ac(0x1f6)}];}export function collectAppProfileOverrides(_0x22de16){const _0x2fb756=a255_0x4477b0,_0x11a4c4={};for(const [_0x31e031,_0x2a1468]of Object[_0x2fb756(0x1db)](APP_PROFILE_FLAG_KEY_MAP)){const _0x4cc818=_0x22de16(_0x31e031);if(!_0x4cc818)continue;_0x11a4c4[_0x2a1468]=_0x2a1468==='pageSize'?Number(_0x4cc818):_0x4cc818;}return _0x11a4c4;}export function buildAppProfileListFields(_0x355da2){const _0x11fa36=a255_0x4477b0;return{'apiGroup':_0x355da2[_0x11fa36(0x1d1)]??null,'region':_0x355da2['region']??null,'env':_0x355da2[_0x11fa36(0x1f0)]??null,'apiDir':_0x355da2['apiDir']??null,'hasCookie':!!_0x355da2[_0x11fa36(0x1c9)],'hasAccessKey':!!_0x355da2['accessKey'],'format':_0x355da2[_0x11fa36(0x1c4)]??null,'pageSize':_0x355da2['pageSize']??null,'riskLevel':_0x355da2['riskLevel']??null,'locale':_0x355da2[_0x11fa36(0x1ca)]??null};}export function buildAppDoctorFields(_0x3e2233,_0x5c7ede){const _0x17e1af=a255_0x4477b0;return{'region':{'value':_0x3e2233[_0x17e1af(0x1e7)]||_0x5c7ede[_0x17e1af(0x1e7)],'source':_0x3e2233[_0x17e1af(0x1e7)]?_0x17e1af(0x1cb):'inherit'},'env':{'value':_0x3e2233['env']||_0x5c7ede['env'],'source':_0x3e2233[_0x17e1af(0x1f0)]?_0x17e1af(0x1cb):_0x17e1af(0x1df)},'apiDir':{'value':_0x3e2233[_0x17e1af(0x1e8)]||_0x5c7ede[_0x17e1af(0x1e8)],'source':_0x3e2233[_0x17e1af(0x1e8)]?_0x17e1af(0x1cb):_0x17e1af(0x1df)},'cookie':{'value':_0x3e2233[_0x17e1af(0x1c9)]||_0x5c7ede[_0x17e1af(0x1c9)],'source':_0x3e2233[_0x17e1af(0x1c9)]?_0x17e1af(0x1cb):'inherit'},'accessKey':{'value':_0x3e2233['accessKey']||_0x5c7ede[_0x17e1af(0x1e9)],'source':_0x3e2233[_0x17e1af(0x1e9)]?'app':_0x17e1af(0x1df)}};}export function buildCanonicalAppConfig(_0x33ac4c,_0x200176){const _0x1f32a0=a255_0x4477b0,_0x18a227=_0x33ac4c[_0x1f32a0(0x1f1)](_0x3bebe6=>String(_0x3bebe6||'')['trim']())[_0x1f32a0(0x1ef)](Boolean);if(_0x18a227[_0x1f32a0(0x1f9)]===0x0)return{};const _0x4146c7={};for(const _0x5ab640 of _0x18a227){_0x4146c7[_0x5ab640]=_0x200176&&!isProduction(_0x200176)?{'appcode':_0x5ab640,'env':_0x200176}:{'appcode':_0x5ab640};}return _0x18a227['length']>0x1?{'apps':_0x4146c7,'defaultApp':_0x18a227[0x0]}:{'apps':_0x4146c7};}function a255_0x31d4(){const _0x3e5ba8=['values','number','runtimeDomain','fromEntries','Risk\x20level','entries','Access\x20key','toLowerCase','Country/region\x20for\x20this\x20app\x20profile','inherit','Auth\x20cookie','apps','pageSize','some','en-US','1621155BZAyLh','certificateDomain','region','apiDir','accessKey','205488znnNsl','localDomain','1508704PxePol','userDomain','7255DmGfwp','filter','env','map','zh-CN','344463CzygJy','kbDomain','appDomain','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','skillDomain','apiDomain','length','API\x20directory\x20path','Config\x20key\x20(','defaultApp','18VBaIFD','format','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','riskLevel','1248152BUqCOu','object','cookie','locale','app','Target\x20environment','2904otYPjP','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','defaultFormat','appcode','apiGroup','keys','string','731007XAFebI','join'];a255_0x31d4=function(){return _0x3e5ba8;};return a255_0x31d4();}function a255_0x40b8(_0x43cf88,_0x434057){_0x43cf88=_0x43cf88-0x1c0;const _0x31d47b=a255_0x31d4();let _0x40b8be=_0x31d47b[_0x43cf88];return _0x40b8be;}export function normalizeStoredDefaultApp(_0x14cc16,_0x16ddbc){const _0x33f6ca=a255_0x4477b0,_0x47c4f8=_0x14cc16['apps']&&typeof _0x14cc16[_0x33f6ca(0x1e1)]===_0x33f6ca(0x1c8)?_0x14cc16['apps']:{},_0xc77e12=Object['keys'](_0x47c4f8);if(_0xc77e12[_0x33f6ca(0x1f9)]<=0x1)return delete _0x14cc16[_0x33f6ca(0x1c2)],undefined;const _0x5dbad3=typeof _0x14cc16[_0x33f6ca(0x1c2)]===_0x33f6ca(0x1d3)&&_0x47c4f8[_0x14cc16[_0x33f6ca(0x1c2)]]?_0x14cc16[_0x33f6ca(0x1c2)]:undefined,_0x4dead9=_0x16ddbc&&_0x47c4f8[_0x16ddbc]?_0x16ddbc:_0x5dbad3;if(_0x4dead9)return _0x14cc16[_0x33f6ca(0x1c2)]=_0x4dead9,_0x4dead9;return delete _0x14cc16[_0x33f6ca(0x1c2)],undefined;}export function buildCanonicalProjectConfig(_0x90d3d7,_0x34877c){const _0x55d6f3=a255_0x4477b0,{appCodes:appCodes=[],env:_0x153e3e,metadata:_0x1b2469}=_0x34877c,_0x87ca7d={..._0x90d3d7,..._0x1b2469||{}};delete _0x87ca7d['appcode'],delete _0x87ca7d[_0x55d6f3(0x1cb)];const _0x525908=_0x153e3e||(typeof _0x87ca7d['env']==='string'?_0x87ca7d[_0x55d6f3(0x1f0)]:'')||DEFAULT_CONFIG_VALUES[_0x55d6f3(0x1f0)];if(isProduction(_0x525908))delete _0x87ca7d[_0x55d6f3(0x1f0)];else _0x87ca7d['env']=_0x525908;const _0x1f9d18=buildCanonicalAppConfig(appCodes,_0x525908);if(Object[_0x55d6f3(0x1d2)](_0x1f9d18)[_0x55d6f3(0x1f9)]>0x0){_0x87ca7d[_0x55d6f3(0x1e1)]=_0x1f9d18['apps'];if(_0x1f9d18[_0x55d6f3(0x1c2)])_0x87ca7d[_0x55d6f3(0x1c2)]=_0x1f9d18[_0x55d6f3(0x1c2)];else delete _0x87ca7d[_0x55d6f3(0x1c2)];}return normalizeConfigForWrite(_0x87ca7d);}function isRecord(_0x3ca742){const _0x3651c3=a255_0x4477b0;return!!_0x3ca742&&typeof _0x3ca742===_0x3651c3(0x1c8)&&!Array['isArray'](_0x3ca742);}export function normalizeConfigForWrite(_0x2328ce){const _0x5f44a7=a255_0x4477b0,_0x2d1c36={..._0x2328ce},_0x348eea=isRecord(_0x2328ce['apps'])?_0x2328ce[_0x5f44a7(0x1e1)]:undefined,_0x550600=_0x348eea?Object[_0x5f44a7(0x1d9)](Object[_0x5f44a7(0x1db)](_0x348eea)[_0x5f44a7(0x1f1)](([_0x54cce6,_0xb24d43])=>[_0x54cce6,isRecord(_0xb24d43)?{..._0xb24d43}:_0xb24d43])):undefined;if(_0x550600){const _0x5d30d3=typeof _0x2d1c36[_0x5f44a7(0x1f0)]===_0x5f44a7(0x1d3)?_0x2d1c36['env']:undefined,_0x371d13=Object[_0x5f44a7(0x1d6)](_0x550600)[_0x5f44a7(0x1e3)](_0x1e17cf=>isRecord(_0x1e17cf)&&typeof _0x1e17cf[_0x5f44a7(0x1f0)]==='string'&&isProduction(_0x1e17cf['env']));if(_0x5d30d3&&isDaily(_0x5d30d3)&&_0x371d13){for(const _0x527b8a of Object[_0x5f44a7(0x1d6)](_0x550600)){if(!isRecord(_0x527b8a))continue;if(_0x527b8a[_0x5f44a7(0x1f0)]===undefined)_0x527b8a[_0x5f44a7(0x1f0)]=_0x5d30d3;}delete _0x2d1c36[_0x5f44a7(0x1f0)];}for(const _0x4c1b76 of Object['values'](_0x550600)){isRecord(_0x4c1b76)&&typeof _0x4c1b76['env']===_0x5f44a7(0x1d3)&&isProduction(_0x4c1b76[_0x5f44a7(0x1f0)])&&delete _0x4c1b76['env'];}_0x2d1c36[_0x5f44a7(0x1e1)]=_0x550600;}return typeof _0x2d1c36[_0x5f44a7(0x1f0)]===_0x5f44a7(0x1d3)&&isProduction(_0x2d1c36[_0x5f44a7(0x1f0)])&&delete _0x2d1c36[_0x5f44a7(0x1f0)],_0x2d1c36;}const LOCALE_MAP={'zh':a255_0x4477b0(0x1f2),'zh-cn':'zh-CN','zh_cn':'zh-CN','en':'en-US','en-us':a255_0x4477b0(0x1e4),'en_us':'en-US'};export function normalizeLocale(_0x2ad56b){const _0x343212=a255_0x4477b0;if(!_0x2ad56b)return null;return LOCALE_MAP[_0x2ad56b[_0x343212(0x1dd)]()]??null;}
@@ -1 +1 @@
1
- const a231_0x242356=a231_0x254b;function a231_0x254b(_0x2ce6a9,_0x410b0c){_0x2ce6a9=_0x2ce6a9-0x6d;const _0x17e7ec=a231_0x17e7();let _0x254be8=_0x17e7ec[_0x2ce6a9];return _0x254be8;}function a231_0x17e7(){const _0x1fac67=['19540kjUymr','1OlehoX','102zwrcFy','30926HvneVd','3660428IWkYvX','2195457jrwyyW','/templates/projects','3088owzSZg','47739288wEJXCG','152270YbKdtk','36zeGkqo','3TELRQU','1434234nTwwPt'];a231_0x17e7=function(){return _0x1fac67;};return a231_0x17e7();}(function(_0x1c0f7f,_0x3485d7){const _0x399abb=a231_0x254b,_0x42dda9=_0x1c0f7f();while(!![]){try{const _0x3eb204=-parseInt(_0x399abb(0x6f))/0x1*(parseInt(_0x399abb(0x6d))/0x2)+parseInt(_0x399abb(0x79))/0x3*(-parseInt(_0x399abb(0x72))/0x4)+-parseInt(_0x399abb(0x6e))/0x5*(-parseInt(_0x399abb(0x70))/0x6)+parseInt(_0x399abb(0x71))/0x7*(-parseInt(_0x399abb(0x75))/0x8)+parseInt(_0x399abb(0x78))/0x9*(parseInt(_0x399abb(0x77))/0xa)+parseInt(_0x399abb(0x73))/0xb+parseInt(_0x399abb(0x76))/0xc;if(_0x3eb204===_0x3485d7)break;else _0x42dda9['push'](_0x42dda9['shift']());}catch(_0x1a8b96){_0x42dda9['push'](_0x42dda9['shift']());}}}(a231_0x17e7,0xec3d1));export const RABETBASE_CDN_BASE_URL='https://g.lovrabet.com/dist/rabetbase-cli';export const CLI_VERSION_POLICY_URL=RABETBASE_CDN_BASE_URL+'/config/index.json';export const PROJECT_TEMPLATE_ASSET_BASE_URL=RABETBASE_CDN_BASE_URL+a231_0x242356(0x74);
1
+ const a256_0xf49f6e=a256_0x1e23;function a256_0x1e23(_0x3823b4,_0x395167){_0x3823b4=_0x3823b4-0xdb;const _0x4a1a2a=a256_0x4a1a();let _0x1e2300=_0x4a1a2a[_0x3823b4];return _0x1e2300;}(function(_0xb3992b,_0x315bf2){const _0xc66b52=a256_0x1e23,_0x39eb72=_0xb3992b();while(!![]){try{const _0x58f2f8=-parseInt(_0xc66b52(0xdc))/0x1*(-parseInt(_0xc66b52(0xdf))/0x2)+-parseInt(_0xc66b52(0xe4))/0x3*(-parseInt(_0xc66b52(0xdb))/0x4)+parseInt(_0xc66b52(0xe0))/0x5+-parseInt(_0xc66b52(0xe7))/0x6*(parseInt(_0xc66b52(0xe3))/0x7)+parseInt(_0xc66b52(0xe1))/0x8*(parseInt(_0xc66b52(0xe2))/0x9)+parseInt(_0xc66b52(0xe5))/0xa+-parseInt(_0xc66b52(0xe6))/0xb;if(_0x58f2f8===_0x315bf2)break;else _0x39eb72['push'](_0x39eb72['shift']());}catch(_0x4d108a){_0x39eb72['push'](_0x39eb72['shift']());}}}(a256_0x4a1a,0xa1ac8));export const RABETBASE_CDN_BASE_URL='https://g.lovrabet.com/dist/rabetbase-cli';function a256_0x4a1a(){const _0x2d63c5=['8SwvCTM','3808251yKJmFy','12271VUZerM','1710VcyNxF','1554390rblQmU','26295390VaUCKD','1518eNHRcW','7184FZzGbC','193381qYnHxR','/config/index.json','/templates/projects','12nGypqD','3668155SgmAkc'];a256_0x4a1a=function(){return _0x2d63c5;};return a256_0x4a1a();}export const CLI_VERSION_POLICY_URL=RABETBASE_CDN_BASE_URL+a256_0xf49f6e(0xdd);export const PROJECT_TEMPLATE_ASSET_BASE_URL=RABETBASE_CDN_BASE_URL+a256_0xf49f6e(0xde);
@@ -1 +1 @@
1
- const a232_0x2b9595=a232_0x1de7;(function(_0x117159,_0x1ca3af){const _0x587e8c=a232_0x1de7,_0x430905=_0x117159();while(!![]){try{const _0x1b5a73=parseInt(_0x587e8c(0x10d))/0x1*(parseInt(_0x587e8c(0x103))/0x2)+parseInt(_0x587e8c(0xd5))/0x3+parseInt(_0x587e8c(0xe5))/0x4+-parseInt(_0x587e8c(0xb1))/0x5+parseInt(_0x587e8c(0xcf))/0x6+parseInt(_0x587e8c(0xf1))/0x7+parseInt(_0x587e8c(0xce))/0x8*(-parseInt(_0x587e8c(0x9e))/0x9);if(_0x1b5a73===_0x1ca3af)break;else _0x430905['push'](_0x430905['shift']());}catch(_0x145ac8){_0x430905['push'](_0x430905['shift']());}}}(a232_0x2d7e,0x19a82));export const CLI_BIN_NAME=a232_0x2b9595(0xab);function a232_0x2d7e(){const _0x1ed8b7=['550671cMwRGM','yes','Enable\x20Backend\x20Function\x20save','Force\x20non-interactive\x20mode\x20(CI)','Read\x20value\x20from\x20environment\x20variable','project','Target\x20path','description','type','confirm','Skip\x20confirmation\x20for\x20high-risk\x20writes','datasetcode','Use\x20project\x20config\x20scope','DB\x20ID','Config\x20key','schemas','447824txCGAa','file','boolean','Reveal\x20sensitive\x20value','dryRun','Expected\x20current\x20menu\x20path','operationType','Confirm\x20destructive\x20action','Expected\x20current\x20child\x20count','Force\x20overwrite','params','target','451612evFDln','Expected\x20current\x20parent\x20menu\x20id','key','page','Operation\x20type','skip-imports','enableBffSave','sqlname','menuIds','Search\x20query','Type\x20filter','db-id','operation-type','functionNode','expectParentId','clear','fromEntries','@lovrabet/rabetbase-cli','9782kgrlDr','menu-ids','topk','expectedChildrenCount','tags','expectedCount','Record\x20ID','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','<code>','production\x20|\x20daily','5owCnIe','skipImports','name','env','title','Schemas','remote','string','verbose','<expr>','locale','Verbose\x20output','sqlcode','SQL\x20code','sort','map','help','description-file','operation','from-env','meowKey','code','2453643rupiVH','Use\x20remote','keyword','format','value','Override\x20appcode','Tags','zh-CN\x20|\x20en-US','Keyword\x20filter','Clear','stdin','sqlName','sql-name','rabetbase','Menu\x20sort\x20value','Config\x20value','app','global','SQL\x20name','345825OzQosT','output','dbid','Environment','Skip\x20import\x20generation','appcode','parentId','label','expected-children-count','force','Output\x20format','Description\x20file','Comma-separated\x20menu\x20IDs','pagesize','Use\x20global\x20config\x20scope','Code\x20filter','Menu\x20label','<name>','expected-count','Preview\x20operation\x20without\x20executing','nonInteractive','all','Maximum\x20search\x20hits','Name','Function\x20node','Title','Page\x20number','Apply\x20to\x20all','json\x20|\x20pretty\x20|\x20compress','8pgrQgL','374388CGZGXU','sql','Page\x20size','reveal','Read\x20value\x20from\x20stdin','query'];a232_0x2d7e=function(){return _0x1ed8b7;};return a232_0x2d7e();}export const CLI_DISPLAY_NAME='Rabetbase\x20CLI';export const NPM_PACKAGE_NAME=a232_0x2b9595(0x102);export const GLOBAL_FLAGS=[{'name':a232_0x2b9595(0xb6),'meowKey':a232_0x2b9595(0xb6),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xa3),'hint':a232_0x2b9595(0x10b)},{'name':'app','meowKey':'app','type':a232_0x2b9595(0x114),'description':'Select\x20app\x20profile\x20by\x20name','hint':a232_0x2b9595(0xc2)},{'name':a232_0x2b9595(0x110),'meowKey':a232_0x2b9595(0x110),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xb4),'hint':a232_0x2b9595(0x10c)},{'name':a232_0x2b9595(0xa1),'meowKey':'format','type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xbb),'hint':a232_0x2b9595(0xcd)},{'name':'jq','meowKey':'jq','type':a232_0x2b9595(0x114),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','hint':a232_0x2b9595(0x116)},{'name':'dry-run','meowKey':a232_0x2b9595(0xe9),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xc4)},{'name':'yes','meowKey':a232_0x2b9595(0xd6),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xdf)},{'name':'non-interactive','meowKey':a232_0x2b9595(0xc5),'type':'boolean','description':a232_0x2b9595(0xd8)},{'name':a232_0x2b9595(0xaf),'meowKey':a232_0x2b9595(0xaf),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xbf)},{'name':a232_0x2b9595(0xda),'meowKey':a232_0x2b9595(0xda),'type':'boolean','description':a232_0x2b9595(0xe1)},{'name':'ci','meowKey':'ci','type':'boolean','description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a232_0x2b9595(0x11d),'meowKey':a232_0x2b9595(0x11d),'type':a232_0x2b9595(0xe7),'description':'Show\x20help'},{'name':a232_0x2b9595(0x117),'meowKey':a232_0x2b9595(0x117),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0x10a),'hidden':!![],'hint':a232_0x2b9595(0xa5)},{'name':'name','meowKey':a232_0x2b9595(0x10f),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xc8),'hidden':!![]},{'name':a232_0x2b9595(0x111),'meowKey':a232_0x2b9595(0x111),'type':'string','description':a232_0x2b9595(0xca),'hidden':!![]},{'name':a232_0x2b9595(0xd4),'meowKey':'query','type':'string','description':a232_0x2b9595(0xfa),'hidden':!![]},{'name':'topk','meowKey':a232_0x2b9595(0x105),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xc7),'hidden':!![]},{'name':'clear','meowKey':a232_0x2b9595(0x100),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xa7),'hidden':!![]},{'name':'watch','meowKey':'watch','type':'boolean','description':'Watch\x20mode','hidden':!![]},{'name':'output','meowKey':a232_0x2b9595(0xb2),'type':'string','description':'Output\x20path','hidden':!![]},{'name':a232_0x2b9595(0xef),'meowKey':a232_0x2b9595(0xef),'type':a232_0x2b9595(0x114),'description':'JSON\x20params','hidden':!![]},{'name':a232_0x2b9595(0xe0),'meowKey':'datasetcode','type':a232_0x2b9595(0x114),'description':'Dataset\x20code','hidden':!![]},{'name':a232_0x2b9595(0xc6),'meowKey':a232_0x2b9595(0xc6),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xcc),'hidden':!![]},{'name':'enable-bff-save','meowKey':a232_0x2b9595(0xf7),'type':'boolean','description':a232_0x2b9595(0xd7),'hidden':!![]},{'name':'id','meowKey':'id','type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0x109),'hidden':!![]},{'name':'type','meowKey':a232_0x2b9595(0xdd),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xfb),'hidden':!![]},{'name':'file','meowKey':a232_0x2b9595(0xe6),'type':a232_0x2b9595(0x114),'description':'File\x20path','hidden':!![]},{'name':a232_0x2b9595(0x119),'meowKey':a232_0x2b9595(0x119),'type':'string','description':a232_0x2b9595(0x11a),'hidden':!![]},{'name':a232_0x2b9595(0xaa),'meowKey':a232_0x2b9595(0xa9),'type':a232_0x2b9595(0x114),'description':'SQL\x20name','hidden':!![]},{'name':a232_0x2b9595(0xf8),'meowKey':a232_0x2b9595(0xf8),'type':'string','description':a232_0x2b9595(0xb0),'hidden':!![]},{'name':a232_0x2b9595(0xfc),'meowKey':'dbId','type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xe2),'hidden':!![]},{'name':a232_0x2b9595(0xb3),'meowKey':a232_0x2b9595(0xb3),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xe2),'hidden':!![]},{'name':a232_0x2b9595(0xdc),'meowKey':'description','type':'string','description':'Description','hidden':!![]},{'name':a232_0x2b9595(0x11e),'meowKey':'descriptionFile','type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xbc),'hidden':!![]},{'name':'page','meowKey':a232_0x2b9595(0xf4),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xcb),'hidden':!![]},{'name':a232_0x2b9595(0xbe),'meowKey':'pagesize','type':'string','description':a232_0x2b9595(0xd1),'hidden':!![]},{'name':a232_0x2b9595(0xa0),'meowKey':a232_0x2b9595(0xa0),'type':'string','description':a232_0x2b9595(0xa6),'hidden':!![]},{'name':a232_0x2b9595(0x9d),'meowKey':a232_0x2b9595(0x9d),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xc0),'hidden':!![]},{'name':a232_0x2b9595(0xd0),'meowKey':'sql','type':'string','description':'SQL\x20string','hidden':!![]},{'name':a232_0x2b9595(0xe4),'meowKey':a232_0x2b9595(0xe4),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0x112),'hidden':!![]},{'name':a232_0x2b9595(0x9a),'meowKey':a232_0x2b9595(0x9a),'type':'string','description':a232_0x2b9595(0xf5),'hidden':!![]},{'name':a232_0x2b9595(0xf0),'meowKey':a232_0x2b9595(0xf0),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xdb),'hidden':!![]},{'name':a232_0x2b9595(0xf6),'meowKey':a232_0x2b9595(0x10e),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xb5),'hidden':!![]},{'name':a232_0x2b9595(0xf3),'meowKey':a232_0x2b9595(0xf3),'type':'string','description':a232_0x2b9595(0xe3),'hidden':!![]},{'name':a232_0x2b9595(0xa2),'meowKey':a232_0x2b9595(0xa2),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xad),'hidden':!![]},{'name':a232_0x2b9595(0x107),'meowKey':a232_0x2b9595(0x107),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xa4),'hidden':!![]},{'name':a232_0x2b9595(0xa8),'meowKey':a232_0x2b9595(0xa8),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xd3),'hidden':!![]},{'name':a232_0x2b9595(0x9b),'meowKey':'fromEnv','type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xd9),'hidden':!![]},{'name':a232_0x2b9595(0xd2),'meowKey':a232_0x2b9595(0xd2),'type':'boolean','description':a232_0x2b9595(0xe8),'hidden':!![]},{'name':'force','meowKey':a232_0x2b9595(0xba),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xee),'hidden':!![]},{'name':a232_0x2b9595(0xde),'meowKey':a232_0x2b9595(0xde),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xec),'hidden':!![]},{'name':a232_0x2b9595(0x113),'meowKey':'remote','type':'boolean','description':a232_0x2b9595(0x9f),'hidden':!![]},{'name':a232_0x2b9595(0x115),'meowKey':a232_0x2b9595(0x115),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0x118),'hidden':!![]},{'name':a232_0x2b9595(0xc3),'meowKey':a232_0x2b9595(0x108),'type':a232_0x2b9595(0x114),'description':'Expected\x20affected\x20count','hidden':!![]},{'name':a232_0x2b9595(0xb8),'meowKey':a232_0x2b9595(0xb8),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xc1),'hidden':!![]},{'name':'parent-id','meowKey':a232_0x2b9595(0xb7),'type':a232_0x2b9595(0x114),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':a232_0x2b9595(0x11b),'meowKey':a232_0x2b9595(0x11b),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xac),'hidden':!![]},{'name':'expect-parent-id','meowKey':a232_0x2b9595(0xff),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xf2),'hidden':!![]},{'name':'expect-path','meowKey':'expectPath','type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xea),'hidden':!![]},{'name':a232_0x2b9595(0xb9),'meowKey':a232_0x2b9595(0x106),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xed),'hidden':!![]},{'name':a232_0x2b9595(0x104),'meowKey':a232_0x2b9595(0xf9),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xbd),'hidden':!![]},{'name':'task-id','meowKey':'taskId','type':a232_0x2b9595(0x114),'description':'Asynchronous\x20task\x20ID','hidden':!![]},{'name':a232_0x2b9595(0xfd),'meowKey':a232_0x2b9595(0xeb),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xf5),'hidden':!![]},{'name':'function-node','meowKey':a232_0x2b9595(0xfe),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xc9),'hidden':!![]},{'name':'codes','meowKey':'codes','type':'string','description':'Comma-separated\x20metadata\x20codes','hidden':!![]}];function a232_0x1de7(_0x2e034,_0x1d4707){_0x2e034=_0x2e034-0x9a;const _0x2d7e05=a232_0x2d7e();let _0x1de74f=_0x2d7e05[_0x2e034];return _0x1de74f;}export const PIPELINE_FLAG_NAMES=new Set([a232_0x2b9595(0xb6),a232_0x2b9595(0xae),a232_0x2b9595(0x110),'format','jq','dry-run','yes','non-interactive','ci']);export function buildMeowFlags(){const _0x53522d=a232_0x2b9595;return Object[_0x53522d(0x101)](GLOBAL_FLAGS[_0x53522d(0x11c)](_0x52076e=>[_0x52076e[_0x53522d(0x9c)],{'type':_0x52076e['type']}]));}
1
+ const a257_0x1cb109=a257_0x3fee;(function(_0x44bd70,_0x5e6364){const _0x4f8f85=a257_0x3fee,_0x5d54e8=_0x44bd70();while(!![]){try{const _0x39283a=-parseInt(_0x4f8f85(0x108))/0x1+-parseInt(_0x4f8f85(0xab))/0x2+parseInt(_0x4f8f85(0xa8))/0x3*(-parseInt(_0x4f8f85(0xac))/0x4)+-parseInt(_0x4f8f85(0xb2))/0x5*(parseInt(_0x4f8f85(0xd8))/0x6)+-parseInt(_0x4f8f85(0xfa))/0x7*(-parseInt(_0x4f8f85(0xb4))/0x8)+parseInt(_0x4f8f85(0xb0))/0x9+parseInt(_0x4f8f85(0xe3))/0xa;if(_0x39283a===_0x5e6364)break;else _0x5d54e8['push'](_0x5d54e8['shift']());}catch(_0x356588){_0x5d54e8['push'](_0x5d54e8['shift']());}}}(a257_0x4fdd,0x4d094));function a257_0x3fee(_0x24b875,_0x20d97b){_0x24b875=_0x24b875-0x78;const _0x4fdddd=a257_0x4fdd();let _0x3fee46=_0x4fdddd[_0x24b875];return _0x3fee46;}export const CLI_BIN_NAME='rabetbase';export const CLI_DISPLAY_NAME=a257_0x1cb109(0x95);export const NPM_PACKAGE_NAME=a257_0x1cb109(0xfb);function a257_0x4fdd(){const _0x391a6b=['help','dbid','tags','Comma-separated\x20menu\x20IDs','Flow\x20code','Config\x20value','fromEntries','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','pagesize','params','Page\x20size','code','flow-status','Keyword\x20filter','schemas','sqlname','all','Use\x20remote','page','Show\x20help','query','function-node','flow-type','Expected\x20current\x20menu\x20path','expected-count','skip-imports','value','format','Schemas','dataset-code','Rabetbase\x20CLI','description','title','watch','flowStatus','Code\x20filter','Verbose\x20output','Clear','SQL\x20code','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','sql-name','app','Maximum\x20search\x20hits','enable-bff-save','keyword','Environment','sqlName','confirm','Output\x20format','626064tnJVmJ','description-file','db-id','696512drNEjs','4rVjuWO','expectedCount','stdin','non-interactive','1272555XvRvqI','parent-id','2805640oZpVdP','nonInteractive','8kupmDP','<name>','DB\x20ID','from-env','yes','Preview\x20operation\x20without\x20executing','expect-path','project','map','sqlcode','Name','Skip\x20confirmation\x20for\x20high-risk\x20writes','Type\x20filter','locale','Read\x20value\x20from\x20stdin','Menu\x20label','page-size','reveal','type','topk','dry-run','global','boolean','File\x20path','Apply\x20to\x20all','Skip\x20import\x20generation','operation','codes','zh-CN\x20|\x20en-US','Flow\x20type','<expr>','menu-ids','sql','Confirm\x20destructive\x20action','env','key','6Sjfnrm','Page\x20number','appcode','verbose','json\x20|\x20pretty\x20|\x20compress','name','Title','SQL\x20string','production\x20|\x20daily','Record\x20ID','datasetcode','12090270xgoqpO','skipImports','clear','pageSize','fromEnv','Comma-separated\x20metadata\x20codes','datasetCode','taskId','Asynchronous\x20task\x20ID','Target\x20path','target','Watch\x20mode','Output\x20path','flow-name','operationType','expect-parent-id','Parent\x20menu\x20id','SQL\x20name','Menu\x20sort\x20value','label','Force\x20non-interactive\x20mode\x20(CI)','Operation\x20type','Description\x20file','764449QEnhMY','@lovrabet/rabetbase-cli','string','Read\x20value\x20from\x20environment\x20variable','Select\x20app\x20profile\x20by\x20name','sort','parentId','file','force','menuIds','flowType','dryRun','expected-children-count','remote','26017LFbsYv','output'];a257_0x4fdd=function(){return _0x391a6b;};return a257_0x4fdd();}export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':a257_0x1cb109(0xda),'type':a257_0x1cb109(0xfc),'description':'Override\x20appcode','hint':'<code>'},{'name':a257_0x1cb109(0xa0),'meowKey':a257_0x1cb109(0xa0),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xfe),'hint':a257_0x1cb109(0xb5)},{'name':a257_0x1cb109(0xd6),'meowKey':a257_0x1cb109(0xd6),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xa4),'hint':a257_0x1cb109(0xe0)},{'name':a257_0x1cb109(0x92),'meowKey':'format','type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xa7),'hint':a257_0x1cb109(0xdc)},{'name':'jq','meowKey':'jq','type':'string','description':a257_0x1cb109(0x7e),'hint':a257_0x1cb109(0xd2)},{'name':a257_0x1cb109(0xc8),'meowKey':a257_0x1cb109(0x105),'type':'boolean','description':a257_0x1cb109(0xb9)},{'name':'yes','meowKey':a257_0x1cb109(0xb8),'type':'boolean','description':a257_0x1cb109(0xbf)},{'name':a257_0x1cb109(0xaf),'meowKey':a257_0x1cb109(0xb3),'type':a257_0x1cb109(0xca),'description':a257_0x1cb109(0xf7)},{'name':a257_0x1cb109(0xc9),'meowKey':'global','type':a257_0x1cb109(0xca),'description':'Use\x20global\x20config\x20scope'},{'name':a257_0x1cb109(0xbb),'meowKey':'project','type':a257_0x1cb109(0xca),'description':'Use\x20project\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':a257_0x1cb109(0xca),'description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':'help','meowKey':a257_0x1cb109(0x10a),'type':a257_0x1cb109(0xca),'description':a257_0x1cb109(0x8a)},{'name':a257_0x1cb109(0xc1),'meowKey':a257_0x1cb109(0xc1),'type':'string','description':a257_0x1cb109(0x9e),'hidden':!![],'hint':a257_0x1cb109(0xd0)},{'name':a257_0x1cb109(0xdd),'meowKey':a257_0x1cb109(0xdd),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xbe),'hidden':!![]},{'name':a257_0x1cb109(0x97),'meowKey':'title','type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xde),'hidden':!![]},{'name':a257_0x1cb109(0x8b),'meowKey':a257_0x1cb109(0x8b),'type':'string','description':'Search\x20query','hidden':!![]},{'name':'topk','meowKey':a257_0x1cb109(0xc7),'type':'string','description':a257_0x1cb109(0xa1),'hidden':!![]},{'name':'clear','meowKey':a257_0x1cb109(0xe5),'type':'boolean','description':a257_0x1cb109(0x9c),'hidden':!![]},{'name':'watch','meowKey':a257_0x1cb109(0x98),'type':'boolean','description':a257_0x1cb109(0xee),'hidden':!![]},{'name':a257_0x1cb109(0x109),'meowKey':a257_0x1cb109(0x109),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xef),'hidden':!![]},{'name':a257_0x1cb109(0x80),'meowKey':a257_0x1cb109(0x80),'type':'string','description':'JSON\x20params','hidden':!![]},{'name':'datasetcode','meowKey':a257_0x1cb109(0xe2),'type':a257_0x1cb109(0xfc),'description':'Dataset\x20code','hidden':!![]},{'name':a257_0x1cb109(0x87),'meowKey':'all','type':a257_0x1cb109(0xca),'description':a257_0x1cb109(0xcc),'hidden':!![]},{'name':a257_0x1cb109(0xa2),'meowKey':'enableBffSave','type':'boolean','description':'Enable\x20Backend\x20Function\x20save','hidden':!![]},{'name':'id','meowKey':'id','type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xe1),'hidden':!![]},{'name':'type','meowKey':a257_0x1cb109(0xc6),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xc0),'hidden':!![]},{'name':'file','meowKey':a257_0x1cb109(0x101),'type':'string','description':a257_0x1cb109(0xcb),'hidden':!![]},{'name':'flow-code','meowKey':'flowCode','type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0x7b),'hidden':!![]},{'name':a257_0x1cb109(0xf0),'meowKey':'flowName','type':a257_0x1cb109(0xfc),'description':'Flow\x20name','hidden':!![]},{'name':a257_0x1cb109(0x83),'meowKey':a257_0x1cb109(0x99),'type':a257_0x1cb109(0xfc),'description':'Flow\x20status','hidden':!![]},{'name':a257_0x1cb109(0x8d),'meowKey':a257_0x1cb109(0x104),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xd1),'hidden':!![]},{'name':a257_0x1cb109(0x94),'meowKey':a257_0x1cb109(0xe9),'type':a257_0x1cb109(0xfc),'description':'Dataset\x20code','hidden':!![]},{'name':a257_0x1cb109(0xbd),'meowKey':a257_0x1cb109(0xbd),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0x9d),'hidden':!![]},{'name':a257_0x1cb109(0x9f),'meowKey':a257_0x1cb109(0xa5),'type':'string','description':a257_0x1cb109(0xf4),'hidden':!![]},{'name':a257_0x1cb109(0x86),'meowKey':a257_0x1cb109(0x86),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xf4),'hidden':!![]},{'name':a257_0x1cb109(0xaa),'meowKey':'dbId','type':'string','description':a257_0x1cb109(0xb6),'hidden':!![]},{'name':a257_0x1cb109(0x78),'meowKey':a257_0x1cb109(0x78),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xb6),'hidden':!![]},{'name':'description','meowKey':a257_0x1cb109(0x96),'type':a257_0x1cb109(0xfc),'description':'Description','hidden':!![]},{'name':a257_0x1cb109(0xa9),'meowKey':'descriptionFile','type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xf9),'hidden':!![]},{'name':a257_0x1cb109(0x89),'meowKey':'page','type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xd9),'hidden':!![]},{'name':a257_0x1cb109(0xc4),'meowKey':a257_0x1cb109(0xe6),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0x81),'hidden':!![]},{'name':a257_0x1cb109(0x7f),'meowKey':'pagesize','type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0x81),'hidden':!![]},{'name':a257_0x1cb109(0xa3),'meowKey':a257_0x1cb109(0xa3),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0x84),'hidden':!![]},{'name':a257_0x1cb109(0x82),'meowKey':a257_0x1cb109(0x82),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0x9a),'hidden':!![]},{'name':a257_0x1cb109(0xd4),'meowKey':a257_0x1cb109(0xd4),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xdf),'hidden':!![]},{'name':a257_0x1cb109(0x85),'meowKey':a257_0x1cb109(0x85),'type':'string','description':a257_0x1cb109(0x93),'hidden':!![]},{'name':a257_0x1cb109(0xce),'meowKey':a257_0x1cb109(0xce),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xf8),'hidden':!![]},{'name':a257_0x1cb109(0xed),'meowKey':a257_0x1cb109(0xed),'type':'string','description':a257_0x1cb109(0xec),'hidden':!![]},{'name':a257_0x1cb109(0x90),'meowKey':a257_0x1cb109(0xe4),'type':a257_0x1cb109(0xca),'description':a257_0x1cb109(0xcd),'hidden':!![]},{'name':'key','meowKey':a257_0x1cb109(0xd7),'type':a257_0x1cb109(0xfc),'description':'Config\x20key','hidden':!![]},{'name':a257_0x1cb109(0x91),'meowKey':'value','type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0x7c),'hidden':!![]},{'name':'tags','meowKey':a257_0x1cb109(0x79),'type':'string','description':'Tags','hidden':!![]},{'name':a257_0x1cb109(0xae),'meowKey':a257_0x1cb109(0xae),'type':a257_0x1cb109(0xca),'description':a257_0x1cb109(0xc2),'hidden':!![]},{'name':a257_0x1cb109(0xb7),'meowKey':a257_0x1cb109(0xe7),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xfd),'hidden':!![]},{'name':a257_0x1cb109(0xc5),'meowKey':a257_0x1cb109(0xc5),'type':a257_0x1cb109(0xca),'description':'Reveal\x20sensitive\x20value','hidden':!![]},{'name':a257_0x1cb109(0x102),'meowKey':a257_0x1cb109(0x102),'type':a257_0x1cb109(0xca),'description':'Force\x20overwrite','hidden':!![]},{'name':a257_0x1cb109(0xa6),'meowKey':a257_0x1cb109(0xa6),'type':a257_0x1cb109(0xca),'description':a257_0x1cb109(0xd5),'hidden':!![]},{'name':a257_0x1cb109(0x107),'meowKey':'remote','type':a257_0x1cb109(0xca),'description':a257_0x1cb109(0x88),'hidden':!![]},{'name':a257_0x1cb109(0xdb),'meowKey':a257_0x1cb109(0xdb),'type':'boolean','description':a257_0x1cb109(0x9b),'hidden':!![]},{'name':a257_0x1cb109(0x8f),'meowKey':a257_0x1cb109(0xad),'type':a257_0x1cb109(0xfc),'description':'Expected\x20affected\x20count','hidden':!![]},{'name':'label','meowKey':a257_0x1cb109(0xf6),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xc3),'hidden':!![]},{'name':a257_0x1cb109(0xb1),'meowKey':a257_0x1cb109(0x100),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xf3),'hidden':!![]},{'name':a257_0x1cb109(0xff),'meowKey':a257_0x1cb109(0xff),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xf5),'hidden':!![]},{'name':a257_0x1cb109(0xf2),'meowKey':'expectParentId','type':'string','description':'Expected\x20current\x20parent\x20menu\x20id','hidden':!![]},{'name':a257_0x1cb109(0xba),'meowKey':'expectPath','type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0x8e),'hidden':!![]},{'name':a257_0x1cb109(0x106),'meowKey':'expectedChildrenCount','type':a257_0x1cb109(0xfc),'description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':a257_0x1cb109(0xd3),'meowKey':a257_0x1cb109(0x103),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0x7a),'hidden':!![]},{'name':'task-id','meowKey':a257_0x1cb109(0xea),'type':'string','description':a257_0x1cb109(0xeb),'hidden':!![]},{'name':'operation-type','meowKey':a257_0x1cb109(0xf1),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xf8),'hidden':!![]},{'name':a257_0x1cb109(0x8c),'meowKey':'functionNode','type':a257_0x1cb109(0xfc),'description':'Function\x20node','hidden':!![]},{'name':a257_0x1cb109(0xcf),'meowKey':a257_0x1cb109(0xcf),'type':a257_0x1cb109(0xfc),'description':a257_0x1cb109(0xe8),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set(['appcode',a257_0x1cb109(0xa0),a257_0x1cb109(0xd6),a257_0x1cb109(0x92),'jq',a257_0x1cb109(0xc8),a257_0x1cb109(0xb8),'non-interactive','ci']);export function buildMeowFlags(){const _0x2d6dbe=a257_0x1cb109;return Object[_0x2d6dbe(0x7d)](GLOBAL_FLAGS[_0x2d6dbe(0xbc)](_0x3dc087=>[_0x3dc087['meowKey'],{'type':_0x3dc087[_0x2d6dbe(0xc6)]}]));}
@@ -1 +1 @@
1
- const a233_0x394e1a=a233_0x4a9e;function a233_0x4a9e(_0x51513c,_0x778ffb){_0x51513c=_0x51513c-0x1ed;const _0x4c176d=a233_0x4c17();let _0x4a9e43=_0x4c176d[_0x51513c];return _0x4a9e43;}(function(_0xd46fa2,_0x124e6b){const _0x2de9b2=a233_0x4a9e,_0x503fab=_0xd46fa2();while(!![]){try{const _0x12aa5c=parseInt(_0x2de9b2(0x1f5))/0x1+parseInt(_0x2de9b2(0x1f8))/0x2+parseInt(_0x2de9b2(0x1ef))/0x3+parseInt(_0x2de9b2(0x1f0))/0x4+-parseInt(_0x2de9b2(0x1f1))/0x5*(-parseInt(_0x2de9b2(0x1f2))/0x6)+parseInt(_0x2de9b2(0x1ee))/0x7*(parseInt(_0x2de9b2(0x1f7))/0x8)+-parseInt(_0x2de9b2(0x1ed))/0x9*(parseInt(_0x2de9b2(0x1f4))/0xa);if(_0x12aa5c===_0x124e6b)break;else _0x503fab['push'](_0x503fab['shift']());}catch(_0x4e0780){_0x503fab['push'](_0x503fab['shift']());}}}(a233_0x4c17,0x644ef));function a233_0x4c17(){const _0x2e47f1=['583537yVPMTh','compress','7120zALCBB','1094214WYcSny','512478dUDCRu','4858GYOyic','2365287ByFBht','2599460DNbHhU','5LmgOQx','3161406heHdft','production','580AaUpZN'];a233_0x4c17=function(){return _0x2e47f1;};return a233_0x4c17();}import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a233_0x394e1a(0x1f3),'format':a233_0x394e1a(0x1f6),'locale':'en-US','riskLevel':'write','apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a233_0x394e1a(0x1f6);
1
+ const a258_0x18c997=a258_0x5586;(function(_0xd640b4,_0x3e8885){const _0x553826=a258_0x5586,_0x310b77=_0xd640b4();while(!![]){try{const _0x4638bf=-parseInt(_0x553826(0x87))/0x1*(-parseInt(_0x553826(0x7f))/0x2)+-parseInt(_0x553826(0x85))/0x3+-parseInt(_0x553826(0x82))/0x4+-parseInt(_0x553826(0x89))/0x5+-parseInt(_0x553826(0x84))/0x6+-parseInt(_0x553826(0x80))/0x7*(-parseInt(_0x553826(0x7e))/0x8)+parseInt(_0x553826(0x83))/0x9;if(_0x4638bf===_0x3e8885)break;else _0x310b77['push'](_0x310b77['shift']());}catch(_0x493382){_0x310b77['push'](_0x310b77['shift']());}}}(a258_0x290a,0x5e44a));function a258_0x5586(_0x370bc2,_0x41fd85){_0x370bc2=_0x370bc2-0x7e;const _0x290aba=a258_0x290a();let _0x558687=_0x290aba[_0x370bc2];return _0x558687;}import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a258_0x18c997(0x86),'format':a258_0x18c997(0x81),'locale':a258_0x18c997(0x88),'riskLevel':'write','apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a258_0x18c997(0x81);function a258_0x290a(){const _0x2fed0e=['compress','826772NrOksv','18058896xKKtsw','804978YCFftm','2278899xWvhaU','production','2ynEjKH','en-US','3699935UvVsQI','48BTpTUl','170458BvcaVy','57862GtkFKx'];a258_0x290a=function(){return _0x2fed0e;};return a258_0x290a();}
@@ -1 +1 @@
1
- const a234_0x64577c=a234_0x34f1;(function(_0x55b80a,_0xf29d02){const _0x16c4fd=a234_0x34f1,_0x1dea66=_0x55b80a();while(!![]){try{const _0x2e56a9=-parseInt(_0x16c4fd(0x1e6))/0x1*(parseInt(_0x16c4fd(0x1ec))/0x2)+parseInt(_0x16c4fd(0x1f4))/0x3+-parseInt(_0x16c4fd(0x1ed))/0x4+parseInt(_0x16c4fd(0x1f9))/0x5+-parseInt(_0x16c4fd(0x1e9))/0x6+parseInt(_0x16c4fd(0x1fa))/0x7+parseInt(_0x16c4fd(0x1ea))/0x8;if(_0x2e56a9===_0xf29d02)break;else _0x1dea66['push'](_0x1dea66['shift']());}catch(_0x385c96){_0x1dea66['push'](_0x1dea66['shift']());}}}(a234_0x24cb,0x9a557));import{getEnv,isProduction}from'../constant/env.js';function a234_0x34f1(_0x343724,_0x2d86c1){_0x343724=_0x343724-0x1e3;const _0x24cb6a=a234_0x24cb();let _0x34f1cf=_0x24cb6a[_0x343724];return _0x34f1cf;}import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';function a234_0x24cb(){const _0x1d4aa6=['2299484gHelmX','localDomain','skill','/app/','hostname','apiDomain','production','3345168fCbKkP','region','trim','runtime','/web-app/app/','3425385HGMxer','140287hIIAIq','kbDomain','serviceDomains','app','userDomain','skillDomain','157363tnmWrP','runtimeDomain','api','6489756UVGyUF','12560120PmfjDc','user','14LzeSPP'];a234_0x24cb=function(){return _0x1d4aa6;};return a234_0x24cb();}let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x2fcc6f=a234_0x34f1,_0x2311ba=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x2311ba[_0x2fcc6f(0x1fc)][_0x2fcc6f(0x1f3)]:_0x2311ba['serviceDomains']['daily']??_0x2311ba['serviceDomains'][_0x2fcc6f(0x1f3)];}export function initDomains(_0x1516af){const _0x191f5a=a234_0x34f1;customApiDomain=_0x1516af?.[_0x191f5a(0x1f2)],customUserDomain=_0x1516af?.[_0x191f5a(0x1e4)],customRuntimeDomain=_0x1516af?.[_0x191f5a(0x1e7)],customSkillDomain=_0x1516af?.[_0x191f5a(0x1e5)],customKbDomain=_0x1516af?.[_0x191f5a(0x1fb)],customAppDomain=_0x1516af?.['appDomain'],customLocalDomain=_0x1516af?.[_0x191f5a(0x1ee)],customCertificateDomain=_0x1516af?.['certificateDomain'],customCdn=_0x1516af?.['cdn'],activeRegion=_0x1516af?.[_0x191f5a(0x1f5)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a234_0x64577c(0x1eb)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a234_0x64577c(0x1e8)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a234_0x64577c(0x1f7)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a234_0x64577c(0x1ef)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a234_0x64577c(0x1e3)];export const getActiveRegion=()=>activeRegion;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(){if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()['runtime'])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x3f3a8d=>{const _0x3edc60=a234_0x64577c,_0x554ddf=encodeURIComponent(_0x3f3a8d[_0x3edc60(0x1f6)]());return isProduction(getEnv())?getAppDomain()+_0x3edc60(0x1f0)+_0x554ddf:getAppDomain()+_0x3edc60(0x1f8)+_0x554ddf;};export const getPublishedAppDomain=_0x5b8895=>{const _0x583d8d=a234_0x64577c,_0x2212f8=new URL(getAppDomain());return _0x2212f8[_0x583d8d(0x1f1)]=_0x5b8895[_0x583d8d(0x1f6)]()+'.'+_0x2212f8['hostname'],_0x2212f8['origin'];};
1
+ const a259_0x99f23c=a259_0x40cc;(function(_0x468457,_0x3651a0){const _0x1b1fc5=a259_0x40cc,_0x30c189=_0x468457();while(!![]){try{const _0x2eed52=-parseInt(_0x1b1fc5(0xac))/0x1+parseInt(_0x1b1fc5(0xa9))/0x2+-parseInt(_0x1b1fc5(0xb5))/0x3+-parseInt(_0x1b1fc5(0xb3))/0x4*(parseInt(_0x1b1fc5(0xb4))/0x5)+parseInt(_0x1b1fc5(0xb8))/0x6*(-parseInt(_0x1b1fc5(0xa7))/0x7)+parseInt(_0x1b1fc5(0xab))/0x8+parseInt(_0x1b1fc5(0xba))/0x9*(parseInt(_0x1b1fc5(0xbc))/0xa);if(_0x2eed52===_0x3651a0)break;else _0x30c189['push'](_0x30c189['shift']());}catch(_0x1c79ad){_0x30c189['push'](_0x30c189['shift']());}}}(a259_0x1b65,0x7b97d));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,customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x56c9f3=a259_0x40cc,_0x147417=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x147417[_0x56c9f3(0xb7)][_0x56c9f3(0xaa)]:_0x147417[_0x56c9f3(0xb7)][_0x56c9f3(0xaf)]??_0x147417[_0x56c9f3(0xb7)]['production'];}export function initDomains(_0x389fcd){const _0x34ce3f=a259_0x40cc;customApiDomain=_0x389fcd?.[_0x34ce3f(0xbb)],customUserDomain=_0x389fcd?.[_0x34ce3f(0xbe)],customRuntimeDomain=_0x389fcd?.[_0x34ce3f(0xa6)],customSkillDomain=_0x389fcd?.[_0x34ce3f(0xb2)],customKbDomain=_0x389fcd?.[_0x34ce3f(0xbd)],customAppDomain=_0x389fcd?.[_0x34ce3f(0xb6)],customLocalDomain=_0x389fcd?.['localDomain'],customCertificateDomain=_0x389fcd?.['certificateDomain'],customCdn=_0x389fcd?.[_0x34ce3f(0xb9)],activeRegion=_0x389fcd?.[_0x34ce3f(0xae)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()['user'];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a259_0x99f23c(0xad)];function a259_0x1b65(){const _0x3fa0af=['6136272YojZgI','46492czAMAs','api','region','daily','hostname','origin','skillDomain','234824EzJoAK','45nldHfW','142614nNVIXI','appDomain','serviceDomains','6cGPsjw','cdn','1484694Fcgpfo','apiDomain','20BVOdBW','kbDomain','userDomain','trim','/app/','runtimeDomain','2565661cwnwxy','/web-app/app/','796356GQrGzd','production'];a259_0x1b65=function(){return _0x3fa0af;};return a259_0x1b65();}function a259_0x40cc(_0x46fa02,_0x2d3856){_0x46fa02=_0x46fa02-0xa4;const _0x1b65b2=a259_0x1b65();let _0x40cc54=_0x1b65b2[_0x46fa02];return _0x40cc54;}export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()['runtime'];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()['app'];export const getActiveRegion=()=>activeRegion;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(){if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()['runtime'])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x45c257=>{const _0x37076d=a259_0x99f23c,_0x2835a1=encodeURIComponent(_0x45c257[_0x37076d(0xa4)]());return isProduction(getEnv())?getAppDomain()+_0x37076d(0xa5)+_0x2835a1:getAppDomain()+_0x37076d(0xa8)+_0x2835a1;};export const getPublishedAppDomain=_0x25f13f=>{const _0x194c9c=a259_0x99f23c,_0x2f604c=new URL(getAppDomain());return _0x2f604c[_0x194c9c(0xb0)]=_0x25f13f[_0x194c9c(0xa4)]()+'.'+_0x2f604c['hostname'],_0x2f604c[_0x194c9c(0xb1)];};
@@ -1 +1 @@
1
- const a235_0xf0d3e3=a235_0x4d96;(function(_0x11c4a7,_0x530160){const _0x4d8712=a235_0x4d96,_0x235a8f=_0x11c4a7();while(!![]){try{const _0x4eb9f4=-parseInt(_0x4d8712(0x116))/0x1+-parseInt(_0x4d8712(0x10e))/0x2*(-parseInt(_0x4d8712(0x117))/0x3)+-parseInt(_0x4d8712(0x114))/0x4+parseInt(_0x4d8712(0x10f))/0x5*(-parseInt(_0x4d8712(0x113))/0x6)+parseInt(_0x4d8712(0x11b))/0x7*(-parseInt(_0x4d8712(0x10c))/0x8)+-parseInt(_0x4d8712(0x118))/0x9*(parseInt(_0x4d8712(0x111))/0xa)+parseInt(_0x4d8712(0x11a))/0xb;if(_0x4eb9f4===_0x530160)break;else _0x235a8f['push'](_0x235a8f['shift']());}catch(_0x19f3af){_0x235a8f['push'](_0x235a8f['shift']());}}}(a235_0x5a77,0x49c69));function a235_0x5a77(){const _0x472a98=['dev','8766846zOLyQb','35CRhOcq','614960EgWjgx','production','86murOis','62530bcrDBP','development','145210GsaRZh','daily','18rSxoLr','129816sSlHmA','online','53862PtzWUN','15117NhJmIh','126SfbDSV'];a235_0x5a77=function(){return _0x472a98;};return a235_0x5a77();}function a235_0x4d96(_0x46e69f,_0x359d1e){_0x46e69f=_0x46e69f-0x10c;const _0x5a7774=a235_0x5a77();let _0x4d9631=_0x5a7774[_0x46e69f];return _0x4d9631;}export const RABETBASE_ENV_VALUES=[a235_0xf0d3e3(0x10d),a235_0xf0d3e3(0x112)];export function normalizeEnv(_0x215b36){const _0x8e5c7b=a235_0xf0d3e3;return _0x215b36===_0x8e5c7b(0x115)?_0x8e5c7b(0x10d):_0x215b36;}export function isProduction(_0x51062e){return normalizeEnv(_0x51062e)==='production';}export function isDaily(_0x85d605){const _0x2e05ff=a235_0xf0d3e3;return normalizeEnv(_0x85d605)===_0x2e05ff(0x112);}export function isDev(_0x4bee6c){const _0x5bfc68=a235_0xf0d3e3,_0x53897d=normalizeEnv(_0x4bee6c);return _0x53897d===_0x5bfc68(0x110)||_0x53897d===_0x5bfc68(0x119);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a235_0xf0d3e3(0x10d));export function getEnv(){return env;}export function initEnv(_0x4cd0f6){env=normalizeEnv(_0x4cd0f6);}
1
+ const a260_0x4750a6=a260_0x2bc3;(function(_0x1311ee,_0x4ec3c4){const _0x340773=a260_0x2bc3,_0x22cb3d=_0x1311ee();while(!![]){try{const _0x1cb71c=parseInt(_0x340773(0x1ed))/0x1+-parseInt(_0x340773(0x1f0))/0x2+-parseInt(_0x340773(0x1ef))/0x3+-parseInt(_0x340773(0x1e8))/0x4+parseInt(_0x340773(0x1e7))/0x5+-parseInt(_0x340773(0x1eb))/0x6+parseInt(_0x340773(0x1ee))/0x7;if(_0x1cb71c===_0x4ec3c4)break;else _0x22cb3d['push'](_0x22cb3d['shift']());}catch(_0x28067a){_0x22cb3d['push'](_0x22cb3d['shift']());}}}(a260_0x7b40,0x91b7a));export const RABETBASE_ENV_VALUES=['production','daily'];export function normalizeEnv(_0x33cca6){const _0x364bfb=a260_0x2bc3;return _0x33cca6===_0x364bfb(0x1e5)?_0x364bfb(0x1ec):_0x33cca6;}export function isProduction(_0x2f7923){const _0x4a10b7=a260_0x2bc3;return normalizeEnv(_0x2f7923)===_0x4a10b7(0x1ec);}export function isDaily(_0x31fe86){const _0x585a21=a260_0x2bc3;return normalizeEnv(_0x31fe86)===_0x585a21(0x1e6);}export function isDev(_0x216c30){const _0x2a1e65=a260_0x2bc3,_0x58a42c=normalizeEnv(_0x216c30);return _0x58a42c===_0x2a1e65(0x1e9)||_0x58a42c===_0x2a1e65(0x1ea);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a260_0x4750a6(0x1ec));function a260_0x2bc3(_0x32d755,_0x5392e9){_0x32d755=_0x32d755-0x1e5;const _0x7b4030=a260_0x7b40();let _0x2bc38b=_0x7b4030[_0x32d755];return _0x2bc38b;}function a260_0x7b40(){const _0x485c81=['8180837DzztAu','2043231xprWIQ','1214372eafmJX','online','daily','1707625aEnfeH','580912KCEEaS','development','dev','3701316umzWfK','production','1137019imLcnN'];a260_0x7b40=function(){return _0x485c81;};return a260_0x7b40();}export function getEnv(){return env;}export function initEnv(_0x15501e){env=normalizeEnv(_0x15501e);}
@@ -1 +1 @@
1
- const a236_0x431cfa=a236_0x1772;function a236_0x362a(){const _0x374df6=['2378598aiGcNM','1642vdyTkN','compress','4fJTQRb','2824lDlGDD','219810UcczqP','2107854ufQtnW','json','6182405VmdpZf','36756VkCdEX','1596vkGuiW','pretty','388066ipOqef'];a236_0x362a=function(){return _0x374df6;};return a236_0x362a();}function a236_0x1772(_0x32d9ce,_0x4e0534){_0x32d9ce=_0x32d9ce-0x131;const _0x362acc=a236_0x362a();let _0x17726d=_0x362acc[_0x32d9ce];return _0x17726d;}(function(_0x4f3a16,_0x44ccdc){const _0x12250f=a236_0x1772,_0x49fd63=_0x4f3a16();while(!![]){try{const _0x48e5ac=-parseInt(_0x12250f(0x139))/0x1*(-parseInt(_0x12250f(0x135))/0x2)+-parseInt(_0x12250f(0x131))/0x3+parseInt(_0x12250f(0x13b))/0x4*(parseInt(_0x12250f(0x133))/0x5)+parseInt(_0x12250f(0x138))/0x6+parseInt(_0x12250f(0x137))/0x7+parseInt(_0x12250f(0x13c))/0x8*(-parseInt(_0x12250f(0x134))/0x9)+parseInt(_0x12250f(0x13d))/0xa;if(_0x48e5ac===_0x44ccdc)break;else _0x49fd63['push'](_0x49fd63['shift']());}catch(_0x54a884){_0x49fd63['push'](_0x49fd63['shift']());}}}(a236_0x362a,0xd5f5b));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a236_0x431cfa(0x132),a236_0x431cfa(0x136),a236_0x431cfa(0x13a)];
1
+ function a261_0x10f9(_0x3f7353,_0x385ef6){_0x3f7353=_0x3f7353-0x85;const _0x57675a=a261_0x5767();let _0x10f954=_0x57675a[_0x3f7353];return _0x10f954;}function a261_0x5767(){const _0x404d66=['775957vMRrhq','5498AJrSBj','5472834Mdhtcv','5658040CstRWU','4119588esiQty','1683444qVUCad','56qbWFCa','json','1935111oDWHCH','pretty','5sAptTs','244HCllBT','compress'];a261_0x5767=function(){return _0x404d66;};return a261_0x5767();}const a261_0x5488e8=a261_0x10f9;(function(_0x188d1f,_0x568552){const _0x4cff77=a261_0x10f9,_0x33c64a=_0x188d1f();while(!![]){try{const _0x14a836=-parseInt(_0x4cff77(0x8f))/0x1*(-parseInt(_0x4cff77(0x85))/0x2)+-parseInt(_0x4cff77(0x8c))/0x3+-parseInt(_0x4cff77(0x89))/0x4+-parseInt(_0x4cff77(0x8e))/0x5*(-parseInt(_0x4cff77(0x86))/0x6)+parseInt(_0x4cff77(0x91))/0x7*(-parseInt(_0x4cff77(0x8a))/0x8)+parseInt(_0x4cff77(0x88))/0x9+parseInt(_0x4cff77(0x87))/0xa;if(_0x14a836===_0x568552)break;else _0x33c64a['push'](_0x33c64a['shift']());}catch(_0x27e503){_0x33c64a['push'](_0x33c64a['shift']());}}}(a261_0x5767,0xbaaa0));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a261_0x5488e8(0x8b),a261_0x5488e8(0x8d),a261_0x5488e8(0x90)];
@@ -1 +1 @@
1
- function a237_0x312f(){const _0x315289=['288612fUXHax','172420PqPYRr','110vPHcyb','1954lSiTeF','3EhPFcg','4193jxuRad','1382224mcjuiC','82686PgfARp','5gKGeMK','329zrIrRp','./src/api','1037124bUeFlc','4400aAoIIb'];a237_0x312f=function(){return _0x315289;};return a237_0x312f();}function a237_0x2490(_0x50a7fb,_0x64028f){_0x50a7fb=_0x50a7fb-0x111;const _0x312f3a=a237_0x312f();let _0x24909c=_0x312f3a[_0x50a7fb];return _0x24909c;}const a237_0x51742d=a237_0x2490;(function(_0x236768,_0x2ab5bd){const _0x20abb3=a237_0x2490,_0x582b7c=_0x236768();while(!![]){try{const _0x2b4dc4=-parseInt(_0x20abb3(0x115))/0x1*(-parseInt(_0x20abb3(0x11c))/0x2)+-parseInt(_0x20abb3(0x11d))/0x3*(-parseInt(_0x20abb3(0x112))/0x4)+parseInt(_0x20abb3(0x114))/0x5*(parseInt(_0x20abb3(0x113))/0x6)+parseInt(_0x20abb3(0x111))/0x7*(-parseInt(_0x20abb3(0x118))/0x8)+parseInt(_0x20abb3(0x117))/0x9+parseInt(_0x20abb3(0x11a))/0xa+-parseInt(_0x20abb3(0x11b))/0xb*(parseInt(_0x20abb3(0x119))/0xc);if(_0x2b4dc4===_0x2ab5bd)break;else _0x582b7c['push'](_0x582b7c['shift']());}catch(_0x5e8b9c){_0x582b7c['push'](_0x582b7c['shift']());}}}(a237_0x312f,0x3b658));export const DEFAULT_API_DIR=a237_0x51742d(0x116);
1
+ function a262_0x46df(){const _0x4d2abf=['1010993vMghJH','98376fjyXiH','./src/api','2GghUUW','12gXJMyf','2196271jzJNpZ','9KarEiC','2206527ANZLEJ','1068034PiMzNh','70VHtnYr','4290185JskfzT','9190360oDWhth','4cbQjah','13pndAmD'];a262_0x46df=function(){return _0x4d2abf;};return a262_0x46df();}const a262_0x3e4eca=a262_0x13ba;(function(_0x11fb02,_0x1da626){const _0x2a364d=a262_0x13ba,_0x3a606e=_0x11fb02();while(!![]){try{const _0x460a1a=-parseInt(_0x2a364d(0x115))/0x1*(parseInt(_0x2a364d(0x118))/0x2)+-parseInt(_0x2a364d(0x11c))/0x3*(-parseInt(_0x2a364d(0x121))/0x4)+parseInt(_0x2a364d(0x11f))/0x5+-parseInt(_0x2a364d(0x119))/0x6*(-parseInt(_0x2a364d(0x11a))/0x7)+-parseInt(_0x2a364d(0x120))/0x8*(parseInt(_0x2a364d(0x11b))/0x9)+parseInt(_0x2a364d(0x11e))/0xa*(parseInt(_0x2a364d(0x11d))/0xb)+-parseInt(_0x2a364d(0x116))/0xc*(-parseInt(_0x2a364d(0x114))/0xd);if(_0x460a1a===_0x1da626)break;else _0x3a606e['push'](_0x3a606e['shift']());}catch(_0x2dc815){_0x3a606e['push'](_0x3a606e['shift']());}}}(a262_0x46df,0xb6e40));function a262_0x13ba(_0x47f874,_0x336b14){_0x47f874=_0x47f874-0x114;const _0x46df38=a262_0x46df();let _0x13ba37=_0x46df38[_0x47f874];return _0x13ba37;}export const DEFAULT_API_DIR=a262_0x3e4eca(0x117);
@@ -1 +1 @@
1
- (function(_0x1d87aa,_0x39bd8c){const _0x3ac097=a238_0x143f,_0x18599b=_0x1d87aa();while(!![]){try{const _0x33a498=parseInt(_0x3ac097(0x15b))/0x1+parseInt(_0x3ac097(0x154))/0x2+-parseInt(_0x3ac097(0x15f))/0x3*(parseInt(_0x3ac097(0x15c))/0x4)+parseInt(_0x3ac097(0x157))/0x5*(parseInt(_0x3ac097(0x160))/0x6)+-parseInt(_0x3ac097(0x15e))/0x7+parseInt(_0x3ac097(0x156))/0x8*(-parseInt(_0x3ac097(0x15d))/0x9)+parseInt(_0x3ac097(0x155))/0xa*(parseInt(_0x3ac097(0x158))/0xb);if(_0x33a498===_0x39bd8c)break;else _0x18599b['push'](_0x18599b['shift']());}catch(_0xa591f2){_0x18599b['push'](_0x18599b['shift']());}}}(a238_0x5c30,0xc622a));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;function a238_0x5c30(){const _0x4411d9=['106827oXeBcI','39366oBYLRS','355408eVJFIy','1220amnWSw','32sLbBvS','775nsQGyb','25014fGnSUj','includes','string','1449853FUKYBC','76DOTBvn','1904706ibKQeN','4110897OWDKUH'];a238_0x5c30=function(){return _0x4411d9;};return a238_0x5c30();}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;function a238_0x143f(_0x1bdb7f,_0x2d6f4b){_0x1bdb7f=_0x1bdb7f-0x154;const _0x5c30aa=a238_0x5c30();let _0x143f7e=_0x5c30aa[_0x1bdb7f];return _0x143f7e;}export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0xcad9a1){const _0x54f17c=a238_0x143f;return typeof _0xcad9a1===_0x54f17c(0x15a)&&LOVRABET_REGION_VALUES[_0x54f17c(0x159)](_0xcad9a1);}export function isEnabledLovrabetRegion(_0x27e234){const _0x44b13f=a238_0x143f;return typeof _0x27e234===_0x44b13f(0x15a)&&ENABLED_LOVRABET_REGION_VALUES['includes'](_0x27e234);}export function normalizeLovrabetRegion(_0x51eb65){const _0x337c19=a238_0x143f;if(typeof _0x51eb65!==_0x337c19(0x15a))return undefined;const _0x112fa3=REGION_ALIASES[_0x51eb65]??_0x51eb65;return isLovrabetRegion(_0x112fa3)?_0x112fa3:undefined;}export function isInvalidLovrabetRegion(_0x20625f){return _0x20625f!==undefined&&_0x20625f!==null&&_0x20625f!==''&&normalizeLovrabetRegion(_0x20625f)===undefined;}
1
+ function a263_0x3e8b(_0xdfbc65,_0x5c7cc6){_0xdfbc65=_0xdfbc65-0x194;const _0x4e5098=a263_0x4e50();let _0x3e8bf8=_0x4e5098[_0xdfbc65];return _0x3e8bf8;}(function(_0x50a492,_0x734c37){const _0x3eeea2=a263_0x3e8b,_0x3a60d4=_0x50a492();while(!![]){try{const _0x3c20c6=-parseInt(_0x3eeea2(0x198))/0x1+-parseInt(_0x3eeea2(0x19e))/0x2*(-parseInt(_0x3eeea2(0x199))/0x3)+-parseInt(_0x3eeea2(0x19f))/0x4*(parseInt(_0x3eeea2(0x19a))/0x5)+parseInt(_0x3eeea2(0x194))/0x6+-parseInt(_0x3eeea2(0x19c))/0x7+parseInt(_0x3eeea2(0x19d))/0x8*(-parseInt(_0x3eeea2(0x19b))/0x9)+parseInt(_0x3eeea2(0x197))/0xa;if(_0x3c20c6===_0x734c37)break;else _0x3a60d4['push'](_0x3a60d4['shift']());}catch(_0x50cc9f){_0x3a60d4['push'](_0x3a60d4['shift']());}}}(a263_0x4e50,0xc2b21));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(_0x4e7daf){const _0xcd95e2=a263_0x3e8b;return typeof _0x4e7daf===_0xcd95e2(0x196)&&LOVRABET_REGION_VALUES[_0xcd95e2(0x195)](_0x4e7daf);}export function isEnabledLovrabetRegion(_0x5cec5b){const _0x552379=a263_0x3e8b;return typeof _0x5cec5b===_0x552379(0x196)&&ENABLED_LOVRABET_REGION_VALUES[_0x552379(0x195)](_0x5cec5b);}export function normalizeLovrabetRegion(_0xc14ef0){const _0xf4c5be=a263_0x3e8b;if(typeof _0xc14ef0!==_0xf4c5be(0x196))return undefined;const _0x1a00c5=REGION_ALIASES[_0xc14ef0]??_0xc14ef0;return isLovrabetRegion(_0x1a00c5)?_0x1a00c5:undefined;}function a263_0x4e50(){const _0x381f39=['8fziIJl','91766RLDIMr','16sEVsXo','5065734BHRNGM','includes','string','31853430CKkGAQ','252408GMhXZx','24MMWNVN','1484060fujcVW','10005102gaWvFn','7335223TtcSOZ'];a263_0x4e50=function(){return _0x381f39;};return a263_0x4e50();}export function isInvalidLovrabetRegion(_0xa33fe5){return _0xa33fe5!==undefined&&_0xa33fe5!==null&&_0xa33fe5!==''&&normalizeLovrabetRegion(_0xa33fe5)===undefined;}
@@ -1 +1 @@
1
- const a239_0x2122ec=a239_0x5561;(function(_0x10cde5,_0x5ebca8){const _0x51d9fe=a239_0x5561,_0x368734=_0x10cde5();while(!![]){try{const _0x16c8d6=-parseInt(_0x51d9fe(0x97))/0x1*(parseInt(_0x51d9fe(0x98))/0x2)+parseInt(_0x51d9fe(0x90))/0x3*(-parseInt(_0x51d9fe(0x95))/0x4)+parseInt(_0x51d9fe(0x9a))/0x5*(-parseInt(_0x51d9fe(0x93))/0x6)+parseInt(_0x51d9fe(0x99))/0x7+parseInt(_0x51d9fe(0x96))/0x8*(parseInt(_0x51d9fe(0x91))/0x9)+parseInt(_0x51d9fe(0x92))/0xa+parseInt(_0x51d9fe(0x94))/0xb;if(_0x16c8d6===_0x5ebca8)break;else _0x368734['push'](_0x368734['shift']());}catch(_0x10ef49){_0x368734['push'](_0x368734['shift']());}}}(a239_0x37d5,0xbc33a));export const RISK_LEVEL_VALUES=[a239_0x2122ec(0x9b),'write',a239_0x2122ec(0x9c)];function a239_0x5561(_0x566f3e,_0x2346da){_0x566f3e=_0x566f3e-0x90;const _0x37d523=a239_0x37d5();let _0x556192=_0x37d523[_0x566f3e];return _0x556192;}function a239_0x37d5(){const _0x28e9dc=['6691212UXuNSy','107572ROqTea','5923784Yusshe','1mzRRdM','1806230nZqCqs','2272018Yivxtg','584110rZXmoQ','read','high-risk-write','165mntPTq','18AHEOUR','13234020hJaLvl','30bciRSu'];a239_0x37d5=function(){return _0x28e9dc;};return a239_0x37d5();}
1
+ const a264_0x42e96d=a264_0x153a;(function(_0x22c7b6,_0x503ec6){const _0x13f6ed=a264_0x153a,_0x41a6af=_0x22c7b6();while(!![]){try{const _0x3a893e=-parseInt(_0x13f6ed(0x145))/0x1*(parseInt(_0x13f6ed(0x144))/0x2)+parseInt(_0x13f6ed(0x140))/0x3+-parseInt(_0x13f6ed(0x13e))/0x4+parseInt(_0x13f6ed(0x13c))/0x5+parseInt(_0x13f6ed(0x13f))/0x6*(parseInt(_0x13f6ed(0x142))/0x7)+-parseInt(_0x13f6ed(0x141))/0x8+-parseInt(_0x13f6ed(0x13d))/0x9;if(_0x3a893e===_0x503ec6)break;else _0x41a6af['push'](_0x41a6af['shift']());}catch(_0x787d87){_0x41a6af['push'](_0x41a6af['shift']());}}}(a264_0x189b,0xd0665));export const RISK_LEVEL_VALUES=['read','write',a264_0x42e96d(0x143)];function a264_0x153a(_0x32e2e0,_0x50db0c){_0x32e2e0=_0x32e2e0-0x13c;const _0x189bdc=a264_0x189b();let _0x153a35=_0x189bdc[_0x32e2e0];return _0x153a35;}function a264_0x189b(){const _0x1f714e=['2916519jeGhiA','3697728vtFceS','4565127YtSHPr','high-risk-write','46cOYfHa','25619ZCquhf','5650335ZJnlnY','4840641dPLBdk','1245976MeOagc','6LANPYC'];a264_0x189b=function(){return _0x1f714e;};return a264_0x189b();}
@@ -1 +1 @@
1
- (function(_0x4c98ac,_0x2d16d7){const _0x208800=a240_0x19aa,_0x45905e=_0x4c98ac();while(!![]){try{const _0x24c581=-parseInt(_0x208800(0x9a))/0x1+parseInt(_0x208800(0x9c))/0x2+parseInt(_0x208800(0x9f))/0x3*(parseInt(_0x208800(0xa0))/0x4)+-parseInt(_0x208800(0x97))/0x5+parseInt(_0x208800(0x9d))/0x6+-parseInt(_0x208800(0x96))/0x7*(-parseInt(_0x208800(0x98))/0x8)+-parseInt(_0x208800(0x95))/0x9;if(_0x24c581===_0x2d16d7)break;else _0x45905e['push'](_0x45905e['shift']());}catch(_0x129bbc){_0x45905e['push'](_0x45905e['shift']());}}}(a240_0x4f25,0x83347));import{OFFICIAL_ROUTING_PROFILES as a240_0x24f77e,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a240_0x24f77e;export{ROUTING_CATALOG_DIGEST};function a240_0x4f25(){const _0x45f6ce=['lovrabet','1786018TCTEVR','812106UJsaQi','libraries','63aFxbHA','37968pSOmdJ','841626zxxlUn','1145977JaUNpz','4894710WMpjVe','24QbXdeE','Official\x20routing\x20for\x20region\x20\x22','108954WQNNYi'];a240_0x4f25=function(){return _0x45f6ce;};return a240_0x4f25();}function a240_0x19aa(_0x2c8fae,_0x544434){_0x2c8fae=_0x2c8fae-0x95;const _0x4f25df=a240_0x4f25();let _0x19aa2c=_0x4f25df[_0x2c8fae];return _0x19aa2c;}export function getOfficialRoutingProfile(_0x4677ec){return OFFICIAL_ROUTING_PROFILES[_0x4677ec];}export function getOfficialRoutingCdn(_0x12a6b3){const _0x135e12=a240_0x19aa,_0x416b95=getOfficialRoutingProfile(_0x12a6b3)['cdn'];if(!_0x416b95[_0x135e12(0x9b)])throw new Error(_0x135e12(0x99)+_0x12a6b3+'\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.');return{'libraries':_0x416b95[_0x135e12(0x9e)],'lovrabet':_0x416b95[_0x135e12(0x9b)]};}
1
+ (function(_0x4f261f,_0x54dd2e){const _0x161b2b=a265_0xa14c,_0x5805db=_0x4f261f();while(!![]){try{const _0x18e90a=-parseInt(_0x161b2b(0xc4))/0x1+-parseInt(_0x161b2b(0xb8))/0x2*(-parseInt(_0x161b2b(0xbf))/0x3)+parseInt(_0x161b2b(0xc3))/0x4*(parseInt(_0x161b2b(0xc1))/0x5)+-parseInt(_0x161b2b(0xc7))/0x6*(parseInt(_0x161b2b(0xb7))/0x7)+parseInt(_0x161b2b(0xbc))/0x8*(parseInt(_0x161b2b(0xc6))/0x9)+parseInt(_0x161b2b(0xc8))/0xa*(parseInt(_0x161b2b(0xc5))/0xb)+-parseInt(_0x161b2b(0xc0))/0xc*(parseInt(_0x161b2b(0xbe))/0xd);if(_0x18e90a===_0x54dd2e)break;else _0x5805db['push'](_0x5805db['shift']());}catch(_0x20d87a){_0x5805db['push'](_0x5805db['shift']());}}}(a265_0x1a41,0xd65c1));import{OFFICIAL_ROUTING_PROFILES as a265_0xbd2456,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a265_0xbd2456;function a265_0x1a41(){const _0x40a41d=['175baxojx','Official\x20routing\x20for\x20region\x20\x22','199192iBOdqv','112227RHEnrW','120307RhGFzs','6138JugLGb','202638MNUAhL','1330FxxcJE','105dANEAX','191308rnHrrj','libraries','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','lovrabet','4072HxnIlX','cdn','533kQitxv','54LqXOzl','1103304hjjPGf'];a265_0x1a41=function(){return _0x40a41d;};return a265_0x1a41();}function a265_0xa14c(_0x4def6e,_0x1fb84f){_0x4def6e=_0x4def6e-0xb7;const _0x1a4126=a265_0x1a41();let _0xa14c0=_0x1a4126[_0x4def6e];return _0xa14c0;}export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0xa5fbd5){return OFFICIAL_ROUTING_PROFILES[_0xa5fbd5];}export function getOfficialRoutingCdn(_0x3988b5){const _0x36a96d=a265_0xa14c,_0xd580ec=getOfficialRoutingProfile(_0x3988b5)[_0x36a96d(0xbd)];if(!_0xd580ec['lovrabet'])throw new Error(_0x36a96d(0xc2)+_0x3988b5+_0x36a96d(0xba));return{'libraries':_0xd580ec[_0x36a96d(0xb9)],'lovrabet':_0xd580ec[_0x36a96d(0xbb)]};}
@@ -4,6 +4,8 @@ import { type LovrabetRegion } from "../constant/region.js";
4
4
  import { type RegionConfigSource } from "../config/region-config.js";
5
5
  export interface AppProfile {
6
6
  appcode: string;
7
+ /** Explicit join key for deployments that share one generated API model registry. */
8
+ apiGroup?: string;
7
9
  region?: LovrabetRegion;
8
10
  env?: "production" | "daily";
9
11
  apiDir?: string;