@lovrabet/rabetbase-cli 2.5.5-beta.2 → 2.5.5-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 (363) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/api-group.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/api/generate-sdk-config-file.js +1 -1
  6. package/lib/api/legacy-api-file.js +1 -1
  7. package/lib/api/model-registry-file.js +1 -1
  8. package/lib/api/model-registry-scaffold.js +1 -1
  9. package/lib/api/model-source.js +1 -1
  10. package/lib/auth/auth-server-ui.js +1 -1
  11. package/lib/auth/auth-server.js +1 -1
  12. package/lib/auth/constant.js +1 -1
  13. package/lib/auth/get-cookie.js +1 -1
  14. package/lib/auth/get-session-user.js +1 -1
  15. package/lib/auth/is-session-valid.js +1 -1
  16. package/lib/auth/login-success-html.js +1 -1
  17. package/lib/auth/logout.js +1 -1
  18. package/lib/cli-flags.js +1 -1
  19. package/lib/cli.js +1 -1
  20. package/lib/commands/api/generate.js +1 -1
  21. package/lib/commands/api/index.js +1 -1
  22. package/lib/commands/api/list.js +1 -1
  23. package/lib/commands/api/pull.js +1 -1
  24. package/lib/commands/api/shared.js +1 -1
  25. package/lib/commands/app/detail.js +1 -1
  26. package/lib/commands/app/index.js +1 -1
  27. package/lib/commands/app/list.js +1 -1
  28. package/lib/commands/app/members-list.js +1 -1
  29. package/lib/commands/app/remote-directory.js +1 -1
  30. package/lib/commands/app/shared.js +1 -1
  31. package/lib/commands/app-config/delete.js +1 -1
  32. package/lib/commands/app-config/get.js +1 -1
  33. package/lib/commands/app-config/index.js +1 -1
  34. package/lib/commands/app-config/list.js +1 -1
  35. package/lib/commands/app-config/set.js +1 -1
  36. package/lib/commands/app-config/shared.js +1 -1
  37. package/lib/commands/auth/index.js +1 -1
  38. package/lib/commands/bff/create.js +1 -1
  39. package/lib/commands/bff/delete.js +1 -1
  40. package/lib/commands/bff/detail.js +1 -1
  41. package/lib/commands/bff/index.js +1 -1
  42. package/lib/commands/bff/list.js +1 -1
  43. package/lib/commands/bff/logs.js +1 -1
  44. package/lib/commands/bff/pull.js +1 -1
  45. package/lib/commands/bff/push.js +1 -1
  46. package/lib/commands/bff/status.js +1 -1
  47. package/lib/commands/cli-skill/index.js +1 -1
  48. package/lib/commands/cli-update.js +1 -1
  49. package/lib/commands/codegen/index.js +1 -1
  50. package/lib/commands/codegen/sdk.js +1 -1
  51. package/lib/commands/codegen/sql.js +1 -1
  52. package/lib/commands/common/app-registry.js +1 -1
  53. package/lib/commands/common/app-selector.js +1 -1
  54. package/lib/commands/common/async-task.js +1 -1
  55. package/lib/commands/common/dry-run.js +1 -1
  56. package/lib/commands/common/flags.js +1 -1
  57. package/lib/commands/common/local-file.js +1 -1
  58. package/lib/commands/common/validate.js +1 -1
  59. package/lib/commands/config/delete.js +1 -1
  60. package/lib/commands/config/get.js +1 -1
  61. package/lib/commands/config/index.js +1 -1
  62. package/lib/commands/config/init.js +1 -1
  63. package/lib/commands/config/list.js +1 -1
  64. package/lib/commands/config/set.js +1 -1
  65. package/lib/commands/config/shared.js +1 -1
  66. package/lib/commands/dataset/batch-design.js +1 -1
  67. package/lib/commands/dataset/business-group-update.js +1 -1
  68. package/lib/commands/dataset/business-groups.js +1 -1
  69. package/lib/commands/dataset/capability.js +1 -1
  70. package/lib/commands/dataset/cross-relation-create.js +1 -1
  71. package/lib/commands/dataset/cross-relation-delete.js +1 -1
  72. package/lib/commands/dataset/cross-relation-list.js +1 -1
  73. package/lib/commands/dataset/cross-relation-shared.js +1 -1
  74. package/lib/commands/dataset/cross-relation-update.js +1 -1
  75. package/lib/commands/dataset/delete.js +1 -1
  76. package/lib/commands/dataset/detail.js +1 -1
  77. package/lib/commands/dataset/extend-update.js +1 -1
  78. package/lib/commands/dataset/field-restore.js +1 -1
  79. package/lib/commands/dataset/field-update.js +1 -1
  80. package/lib/commands/dataset/generate.js +1 -1
  81. package/lib/commands/dataset/index.js +1 -1
  82. package/lib/commands/dataset/list.js +1 -1
  83. package/lib/commands/dataset/operations.js +1 -1
  84. package/lib/commands/dataset/relation-audit.js +1 -1
  85. package/lib/commands/dataset/relation-create.js +1 -1
  86. package/lib/commands/dataset/relation-delete.js +1 -1
  87. package/lib/commands/dataset/relation-shared.js +1 -1
  88. package/lib/commands/dataset/relation-update.js +1 -1
  89. package/lib/commands/dataset/relations.js +1 -1
  90. package/lib/commands/dataset/rename.js +1 -1
  91. package/lib/commands/dataset/restore.js +1 -1
  92. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  93. package/lib/commands/db/analysis-batching.js +1 -1
  94. package/lib/commands/db/analyze-batch-plan.js +1 -1
  95. package/lib/commands/db/analyze-cancel.js +1 -1
  96. package/lib/commands/db/analyze-start.js +1 -1
  97. package/lib/commands/db/analyze-status.js +1 -1
  98. package/lib/commands/db/create.js +1 -1
  99. package/lib/commands/db/delete.js +1 -1
  100. package/lib/commands/db/detail.js +1 -1
  101. package/lib/commands/db/diff-refresh-start.js +1 -1
  102. package/lib/commands/db/diff-refresh-status.js +1 -1
  103. package/lib/commands/db/diff.js +1 -1
  104. package/lib/commands/db/index.js +1 -1
  105. package/lib/commands/db/list.js +1 -1
  106. package/lib/commands/db/shared.js +1 -1
  107. package/lib/commands/db/table-diff-shared.js +1 -1
  108. package/lib/commands/db/tables.js +1 -1
  109. package/lib/commands/db/test.js +1 -1
  110. package/lib/commands/db/update.js +1 -1
  111. package/lib/commands/deployment/index.js +1 -1
  112. package/lib/commands/deployment/sync-all.js +1 -1
  113. package/lib/commands/deployment/sync-jobs.js +1 -1
  114. package/lib/commands/deployment/sync-status.js +1 -1
  115. package/lib/commands/doctor.js +1 -1
  116. package/lib/commands/file/index.js +1 -1
  117. package/lib/commands/flow/create.js +1 -1
  118. package/lib/commands/flow/detail.js +1 -1
  119. package/lib/commands/flow/index.js +1 -1
  120. package/lib/commands/flow/list.js +1 -1
  121. package/lib/commands/flow/publish.js +1 -1
  122. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  123. package/lib/commands/flow/runtime-role-list.js +1 -1
  124. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  125. package/lib/commands/flow/runtime-user-search.js +1 -1
  126. package/lib/commands/flow/shared.js +1 -1
  127. package/lib/commands/flow/update.js +1 -1
  128. package/lib/commands/flow/validate.js +1 -1
  129. package/lib/commands/instant-api-policy/current.js +1 -1
  130. package/lib/commands/instant-api-policy/index.js +1 -1
  131. package/lib/commands/instant-api-policy/init.js +1 -1
  132. package/lib/commands/instant-api-policy/publish.js +1 -1
  133. package/lib/commands/instant-api-policy/pull.js +1 -1
  134. package/lib/commands/instant-api-policy/revision.js +1 -1
  135. package/lib/commands/instant-api-policy/revisions.js +1 -1
  136. package/lib/commands/instant-api-policy/rollback.js +1 -1
  137. package/lib/commands/instant-api-policy/shared.js +1 -1
  138. package/lib/commands/instant-api-policy/validate.js +1 -1
  139. package/lib/commands/issue/index.js +1 -1
  140. package/lib/commands/issue/nudge.js +1 -1
  141. package/lib/commands/issue/report.js +1 -1
  142. package/lib/commands/issue/shared.js +1 -1
  143. package/lib/commands/kb/create.js +1 -1
  144. package/lib/commands/kb/delete.js +1 -1
  145. package/lib/commands/kb/detail.js +1 -1
  146. package/lib/commands/kb/index.js +1 -1
  147. package/lib/commands/kb/list.js +1 -1
  148. package/lib/commands/kb/search.js +1 -1
  149. package/lib/commands/kb/shared.js +1 -1
  150. package/lib/commands/kb/update.js +1 -1
  151. package/lib/commands/logs/index.js +1 -1
  152. package/lib/commands/menu/asset-update.js +1 -1
  153. package/lib/commands/menu/delete.js +1 -1
  154. package/lib/commands/menu/external-link-create.js +1 -1
  155. package/lib/commands/menu/external-link-update.js +1 -1
  156. package/lib/commands/menu/group-create.js +1 -1
  157. package/lib/commands/menu/group-update.js +1 -1
  158. package/lib/commands/menu/index.js +1 -1
  159. package/lib/commands/menu/list.js +1 -1
  160. package/lib/commands/menu/move.js +1 -1
  161. package/lib/commands/menu/regroup-start.js +1 -1
  162. package/lib/commands/menu/rename.js +1 -1
  163. package/lib/commands/menu/shared/compare-table.js +1 -1
  164. package/lib/commands/menu/shared/delete-plan.js +1 -1
  165. package/lib/commands/menu/shared/facts.js +1 -1
  166. package/lib/commands/menu/shared/index.js +1 -1
  167. package/lib/commands/menu/shared/inquirer.js +1 -1
  168. package/lib/commands/menu/shared/local-pages.js +1 -1
  169. package/lib/commands/menu/shared/logic.js +1 -1
  170. package/lib/commands/menu/shared/mutations.js +1 -1
  171. package/lib/commands/menu/shared/path.js +1 -1
  172. package/lib/commands/menu/shared/service.js +1 -1
  173. package/lib/commands/menu/shared/subapp-assets.js +1 -1
  174. package/lib/commands/menu/shared/sync-core.js +1 -1
  175. package/lib/commands/menu/shared/update-core.js +1 -1
  176. package/lib/commands/menu/shared/valid-url.js +1 -1
  177. package/lib/commands/menu/subapp-assets-status.js +1 -1
  178. package/lib/commands/menu/subapp-assets-update.js +1 -1
  179. package/lib/commands/menu/sync.js +1 -1
  180. package/lib/commands/menu/visibility-update.js +1 -1
  181. package/lib/commands/notification/config-create.js +1 -1
  182. package/lib/commands/notification/config-delete.js +1 -1
  183. package/lib/commands/notification/config-list.js +1 -1
  184. package/lib/commands/notification/config-update.js +1 -1
  185. package/lib/commands/notification/index.js +1 -1
  186. package/lib/commands/notification/shared.js +1 -1
  187. package/lib/commands/ocr/index.js +1 -1
  188. package/lib/commands/page/create.js +1 -1
  189. package/lib/commands/page/custom/detail.js +1 -1
  190. package/lib/commands/page/custom/list.js +1 -1
  191. package/lib/commands/page/custom/publish.js +1 -1
  192. package/lib/commands/page/custom/shared.js +1 -1
  193. package/lib/commands/page/custom/syntax.js +1 -1
  194. package/lib/commands/page/custom/update.js +1 -1
  195. package/lib/commands/page/data-list-status.js +1 -1
  196. package/lib/commands/page/generate-start.js +1 -1
  197. package/lib/commands/page/generate-status.js +1 -1
  198. package/lib/commands/page/index.js +1 -1
  199. package/lib/commands/page/pull.js +1 -1
  200. package/lib/commands/page/push.js +1 -1
  201. package/lib/commands/page/relation-audit.js +1 -1
  202. package/lib/commands/page/restore.js +1 -1
  203. package/lib/commands/page/shared.js +1 -1
  204. package/lib/commands/page/sync.js +1 -1
  205. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  206. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  207. package/lib/commands/project/create/format-elapsed.js +1 -1
  208. package/lib/commands/project/create/main.js +1 -1
  209. package/lib/commands/project/create/materialize-project-template.js +1 -1
  210. package/lib/commands/project/create/project-name.js +1 -1
  211. package/lib/commands/project/create/project-template-archive.js +1 -1
  212. package/lib/commands/project/create/project-template-path.js +1 -1
  213. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  214. package/lib/commands/project/create/use-format-code.js +1 -1
  215. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  216. package/lib/commands/project/domain-routing-sync.js +1 -1
  217. package/lib/commands/project/index.js +1 -1
  218. package/lib/commands/project/upgrade.js +1 -1
  219. package/lib/commands/registry.js +1 -1
  220. package/lib/commands/role/delete.js +1 -1
  221. package/lib/commands/role/detail.js +1 -1
  222. package/lib/commands/role/index.js +1 -1
  223. package/lib/commands/role/list.js +1 -1
  224. package/lib/commands/role/shared.js +1 -1
  225. package/lib/commands/role/update.js +1 -1
  226. package/lib/commands/role/user-add.js +1 -1
  227. package/lib/commands/role/user-remove.js +1 -1
  228. package/lib/commands/role/user-resolve.js +1 -1
  229. package/lib/commands/rule/get.js +1 -1
  230. package/lib/commands/rule/index.js +1 -1
  231. package/lib/commands/rule/list.js +1 -1
  232. package/lib/commands/rule/set.js +1 -1
  233. package/lib/commands/rule/shared.js +1 -1
  234. package/lib/commands/run/index.js +1 -1
  235. package/lib/commands/schema.js +1 -1
  236. package/lib/commands/sql/create.js +1 -1
  237. package/lib/commands/sql/delete.js +1 -1
  238. package/lib/commands/sql/detail.js +1 -1
  239. package/lib/commands/sql/exec.js +1 -1
  240. package/lib/commands/sql/index.js +1 -1
  241. package/lib/commands/sql/list.js +1 -1
  242. package/lib/commands/sql/pull.js +1 -1
  243. package/lib/commands/sql/push.js +1 -1
  244. package/lib/commands/sql/shared.js +1 -1
  245. package/lib/commands/sql/status.js +1 -1
  246. package/lib/commands/sql/validate.js +1 -1
  247. package/lib/commands/task/index.js +1 -1
  248. package/lib/commands/task/status.js +1 -1
  249. package/lib/commands/tenant/index.js +1 -1
  250. package/lib/commands/tenant/members-list.js +1 -1
  251. package/lib/commands/tenant/shared.js +1 -1
  252. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  253. package/lib/commands/user-account/feishu-bind.js +1 -1
  254. package/lib/commands/user-account/index.js +1 -1
  255. package/lib/commands/workspace/add.js +1 -1
  256. package/lib/commands/workspace/index.js +1 -1
  257. package/lib/commands/workspace/remove.js +1 -1
  258. package/lib/config/domain-config.js +1 -1
  259. package/lib/config/project-domain-routing.js +1 -1
  260. package/lib/config/region-config.js +1 -1
  261. package/lib/config/schema.js +1 -1
  262. package/lib/constant/cdn.js +1 -1
  263. package/lib/constant/cli.js +1 -1
  264. package/lib/constant/defaults.js +1 -1
  265. package/lib/constant/domain.js +1 -1
  266. package/lib/constant/env.js +1 -1
  267. package/lib/constant/output.js +1 -1
  268. package/lib/constant/paths.js +1 -1
  269. package/lib/constant/region.js +1 -1
  270. package/lib/constant/risk.js +1 -1
  271. package/lib/constant/routing-profile.js +1 -1
  272. package/lib/context/app-resolver.js +1 -1
  273. package/lib/context/auth-resolver.js +1 -1
  274. package/lib/context/config-loader.js +1 -1
  275. package/lib/context.js +1 -1
  276. package/lib/core/alias-resolver.js +1 -1
  277. package/lib/core/api-client.js +1 -1
  278. package/lib/core/bff/config.js +1 -1
  279. package/lib/core/bff/file-system.js +1 -1
  280. package/lib/core/bff/hash.js +1 -1
  281. package/lib/core/bff/hook-directory.js +1 -1
  282. package/lib/core/bff/lock.js +1 -1
  283. package/lib/core/bff/utils.js +1 -1
  284. package/lib/core/cross-db-relation.js +1 -1
  285. package/lib/core/db-resolver.js +1 -1
  286. package/lib/core/flow-config.js +1 -1
  287. package/lib/core/instant-api-policy/config.js +1 -1
  288. package/lib/core/kb-search-client.js +1 -1
  289. package/lib/core/page/file-system.js +1 -1
  290. package/lib/core/page/hash.js +1 -1
  291. package/lib/core/page/lock.js +1 -1
  292. package/lib/core/page/lr-smart-jsx.js +1 -1
  293. package/lib/core/sql-index-auditor.js +1 -1
  294. package/lib/core/sql-sync/config.js +1 -1
  295. package/lib/core/sql-sync/file-system.js +1 -1
  296. package/lib/core/sql-sync/hash.js +1 -1
  297. package/lib/core/sql-sync/lock.js +1 -1
  298. package/lib/core/sql-sync/utils.js +1 -1
  299. package/lib/core/sql-validator.js +1 -1
  300. package/lib/errors.js +1 -1
  301. package/lib/framework/build-all-flags.js +1 -1
  302. package/lib/framework/error-output.js +1 -1
  303. package/lib/framework/explicit-yes.js +1 -1
  304. package/lib/framework/flags.js +1 -1
  305. package/lib/framework/help.js +1 -1
  306. package/lib/framework/index.js +1 -1
  307. package/lib/framework/output.js +1 -1
  308. package/lib/framework/response.js +1 -1
  309. package/lib/framework/runner-alias.js +1 -1
  310. package/lib/framework/runner.js +1 -1
  311. package/lib/framework/schema-export.js +1 -1
  312. package/lib/framework/supported-flags.js +1 -1
  313. package/lib/framework/types.js +1 -1
  314. package/lib/generated/build-info.d.ts +4 -4
  315. package/lib/generated/build-info.js +1 -1
  316. package/lib/generated/official-routing.js +1 -1
  317. package/lib/generated/routing-contract.js +1 -1
  318. package/lib/help.js +1 -1
  319. package/lib/postinstall.js +1 -1
  320. package/lib/runtime/confirmation.js +1 -1
  321. package/lib/runtime/event.js +1 -1
  322. package/lib/runtime/index.js +1 -1
  323. package/lib/runtime/queue.js +1 -1
  324. package/lib/runtime/resolve.js +1 -1
  325. package/lib/skills/builtin-skill.js +1 -1
  326. package/lib/skills/main.js +1 -1
  327. package/lib/skills/npx-skills-add.js +1 -1
  328. package/lib/skills/skill-presence.js +1 -1
  329. package/lib/telemetry/cli-command-trace.js +1 -1
  330. package/lib/telemetry/cli-help-trace.js +1 -1
  331. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  332. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  333. package/lib/telemetry/send-cli-trace-log.js +1 -1
  334. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  335. package/lib/utils/ai_config.js +1 -1
  336. package/lib/utils/apply-jq-filter.js +1 -1
  337. package/lib/utils/cdn-config.js +1 -1
  338. package/lib/utils/check-sdk-version.js +1 -1
  339. package/lib/utils/cli-version-check.js +1 -1
  340. package/lib/utils/cli-version-policy.js +1 -1
  341. package/lib/utils/config.js +1 -1
  342. package/lib/utils/entity-with-id.js +1 -1
  343. package/lib/utils/file-utils.js +1 -1
  344. package/lib/utils/guides-cdn.js +1 -1
  345. package/lib/utils/http-client.js +1 -1
  346. package/lib/utils/is-non-interactive.js +1 -1
  347. package/lib/utils/logger.js +1 -1
  348. package/lib/utils/params.js +1 -1
  349. package/lib/utils/platform.js +1 -1
  350. package/lib/utils/sleep.js +1 -1
  351. package/lib/utils/template-replacer.js +1 -1
  352. package/lib/utils/update-notice.js +1 -1
  353. package/lib/utils/version.js +1 -1
  354. package/lib/utils/with-active-cookie.js +1 -1
  355. package/lib/utils/write-cli-side-channel.js +1 -1
  356. package/package.json +1 -1
  357. package/skills/rabetbase/SKILL.md +3 -3
  358. package/skills/rabetbase/guides/independent-deployment.md +11 -1
  359. package/skills/rabetbase/references/rabetbase-config.md +16 -19
  360. package/skills/rabetbase/references/rabetbase-menu-visibility-update.md +5 -4
  361. package/skills/rabetbase/references/rabetbase-workspace.md +3 -1
  362. package/skills/rabetbase-page-generation/SKILL.md +1 -1
  363. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- const a255_0x5311d9=a255_0x3a81;(function(_0x560014,_0x3fe4e0){const _0x128ebd=a255_0x3a81,_0x30b966=_0x560014();while(!![]){try{const _0x32bdfa=parseInt(_0x128ebd(0x1d1))/0x1*(parseInt(_0x128ebd(0x1d0))/0x2)+-parseInt(_0x128ebd(0x1c6))/0x3*(parseInt(_0x128ebd(0x1c5))/0x4)+parseInt(_0x128ebd(0x1c7))/0x5*(parseInt(_0x128ebd(0x1cd))/0x6)+-parseInt(_0x128ebd(0x1c3))/0x7*(parseInt(_0x128ebd(0x1c9))/0x8)+-parseInt(_0x128ebd(0x1d3))/0x9*(-parseInt(_0x128ebd(0x1d2))/0xa)+-parseInt(_0x128ebd(0x1cf))/0xb*(-parseInt(_0x128ebd(0x1ca))/0xc)+-parseInt(_0x128ebd(0x1cb))/0xd;if(_0x32bdfa===_0x3fe4e0)break;else _0x30b966['push'](_0x30b966['shift']());}catch(_0x374194){_0x30b966['push'](_0x30b966['shift']());}}}(a255_0x213a,0x9e275));function a255_0x3a81(_0x42fd19,_0x49b992){_0x42fd19=_0x42fd19-0x1c0;const _0x213a01=a255_0x213a();let _0x3a81db=_0x213a01[_0x42fd19];return _0x3a81db;}function a255_0x213a(){const _0x1c9329=['7497oVvbhQ','name','4ujpgNW','291111URdisZ','320955zZwJlg','add','184tzmPdo','166812DtFtbA','28990364fXeTkn','write','18aGdYZe','workspace','341uYkrHs','6SPaEKK','376983AeyYOO','5260FzfkmK','21303gBpyfv','workspace\x20add','App\x20profile\x20name','Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)'];a255_0x213a=function(){return _0x1c9329;};return a255_0x213a();}import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':a255_0x5311d9(0x1ce),'command':a255_0x5311d9(0x1c8),'description':a255_0x5311d9(0x1c2),'risk':a255_0x5311d9(0x1cc),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a255_0x5311d9(0x1c4),'description':a255_0x5311d9(0x1c1),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0xdd01c8=>validateAppName(_0xdd01c8,a255_0x5311d9(0x1c0)),'execute':_0x31190c=>runAppAdd(_0x31190c,'workspace\x20add')};
1
+ function a255_0x10fe(){const _0x4d1971=['20lLSaOb','name','5928570BddVys','1326FjXfHD','39684612jnHaeX','2128588PjzsYV','workspace\x20add','687XVZomP','10XEAsYQ','1829665ewtySa','workspace','8htNdRp','4790688YSRLuq','8104782voSTZB'];a255_0x10fe=function(){return _0x4d1971;};return a255_0x10fe();}const a255_0x56693c=a255_0x2009;(function(_0x2a1c54,_0x20866e){const _0x4b7f26=a255_0x2009,_0x5f41b7=_0x2a1c54();while(!![]){try{const _0x2b20f1=parseInt(_0x4b7f26(0x144))/0x1+parseInt(_0x4b7f26(0x13e))/0x2*(-parseInt(_0x4b7f26(0x142))/0x3)+parseInt(_0x4b7f26(0x140))/0x4*(-parseInt(_0x4b7f26(0x143))/0x5)+-parseInt(_0x4b7f26(0x139))/0x6+-parseInt(_0x4b7f26(0x13a))/0x7*(parseInt(_0x4b7f26(0x138))/0x8)+parseInt(_0x4b7f26(0x13d))/0x9*(-parseInt(_0x4b7f26(0x13b))/0xa)+parseInt(_0x4b7f26(0x13f))/0xb;if(_0x2b20f1===_0x20866e)break;else _0x5f41b7['push'](_0x5f41b7['shift']());}catch(_0x23f667){_0x5f41b7['push'](_0x5f41b7['shift']());}}}(a255_0x10fe,0xe752e));function a255_0x2009(_0x1024af,_0xc10369){_0x1024af=_0x1024af-0x138;const _0x10fe26=a255_0x10fe();let _0x2009fa=_0x10fe26[_0x1024af];return _0x2009fa;}import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':a255_0x56693c(0x145),'command':'add','description':'Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[{'name':a255_0x56693c(0x13c),'description':'App\x20profile\x20name','required':!![]}],'flags':buildAppAddFlags(),'validate':_0x4d089b=>validateAppName(_0x4d089b,a255_0x56693c(0x141)),'execute':_0x45480d=>runAppAdd(_0x45480d,a255_0x56693c(0x141))};
@@ -1 +1 @@
1
- function a256_0x4c68(_0x18c04b,_0x173ff7){_0x18c04b=_0x18c04b-0x183;const _0x37ff23=a256_0x37ff();let _0x4c68de=_0x37ff23[_0x18c04b];return _0x4c68de;}const a256_0xcb0559=a256_0x4c68;(function(_0x3261df,_0x33e943){const _0x104f8f=a256_0x4c68,_0x52c3fb=_0x3261df();while(!![]){try{const _0xc0143b=parseInt(_0x104f8f(0x186))/0x1+parseInt(_0x104f8f(0x1bc))/0x2*(parseInt(_0x104f8f(0x1a4))/0x3)+-parseInt(_0x104f8f(0x1a1))/0x4+-parseInt(_0x104f8f(0x18a))/0x5*(-parseInt(_0x104f8f(0x1a2))/0x6)+-parseInt(_0x104f8f(0x19d))/0x7*(-parseInt(_0x104f8f(0x1b9))/0x8)+-parseInt(_0x104f8f(0x19a))/0x9*(-parseInt(_0x104f8f(0x194))/0xa)+-parseInt(_0x104f8f(0x1c2))/0xb;if(_0xc0143b===_0x33e943)break;else _0x52c3fb['push'](_0x52c3fb['shift']());}catch(_0x398925){_0x52c3fb['push'](_0x52c3fb['shift']());}}}(a256_0x37ff,0xe9cf3));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';import{RABETBASE_ENV_VALUES}from'../../constant/env.js';function a256_0x37ff(){const _0x22e21d=['region','\x22\x20not\x20found.','pageSize','join','Use\x20`','project','string','Workspace\x20','5843230MePseT','format','apps','\x20--app\x20','App\x20\x22','str','9qirlgr','app','env','7GyfnlY','number','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','defaultFormat','791616jdqesj','154884uGdQSj','workspace.','3VGozzw','Target\x20environment','\x20(appcode:\x20','Initialize\x20the\x20current\x20workspace\x20app\x20binding','apiGroup','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile',').\x20Config:\x20','locale','appcode','\x20workspace\x20','Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','\x20--appcode\x20<code>`.','isArray','Missing\x20workspace\x20app\x20selector.','Invalid\x20appcode:\x20','globalConfig','Switch\x20the\x20current\x20workspace\x20app\x20binding','flag','initialized','444536nziPYd','Country/region\x20for\x20this\x20workspace\x20app\x20profile','use','3553994qGRRSR','workspace','trim','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','riskLevel','init','38339488pCSCAd','validation','\x20workspace\x20use\x20--app\x20<name>`.','apiDir','1372246HKKVjp','updated','.\x20Credentials:\x20not\x20written.','write','165fuBjou','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile'];a256_0x37ff=function(){return _0x22e21d;};return a256_0x37ff();}import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{RISK_LEVEL_VALUES}from'../../constant/risk.js';import{validateAppcode}from'../../commands/common/validate.js';import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';import{normalizeStoredDefaultApp}from'../../config/schema.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../../constant/region.js';const WORKSPACE_USAGE=CLI_BIN_NAME+'\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]',SAFE_PROFILE_KEYS=[a256_0xcb0559(0x1ad),a256_0xcb0559(0x1a8),'region','env',a256_0xcb0559(0x185),a256_0xcb0559(0x195),a256_0xcb0559(0x18e),a256_0xcb0559(0x1c0),a256_0xcb0559(0x1ac)],workspaceFlags=[{'name':a256_0xcb0559(0x19b),'type':a256_0xcb0559(0x192),'description':'App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace'},{'name':a256_0xcb0559(0x1ad),'type':a256_0xcb0559(0x192),'description':'App\x20code\x20to\x20bind\x20to\x20this\x20workspace'},{'name':a256_0xcb0559(0x1a8),'type':a256_0xcb0559(0x192),'description':a256_0xcb0559(0x1b0)},{'name':a256_0xcb0559(0x18c),'type':a256_0xcb0559(0x192),'description':a256_0xcb0559(0x1ba),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':a256_0xcb0559(0x19c),'type':'string','description':a256_0xcb0559(0x1a5),'enum':[...RABETBASE_ENV_VALUES]},{'name':a256_0xcb0559(0x185),'type':a256_0xcb0559(0x192),'description':a256_0xcb0559(0x18b)},{'name':a256_0xcb0559(0x1a0),'type':a256_0xcb0559(0x192),'description':a256_0xcb0559(0x1aa),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':'pageSize','type':a256_0xcb0559(0x19e),'description':a256_0xcb0559(0x19f)},{'name':a256_0xcb0559(0x1c0),'type':a256_0xcb0559(0x192),'description':a256_0xcb0559(0x1af),'enum':[...RISK_LEVEL_VALUES]},{'name':a256_0xcb0559(0x1ac),'type':a256_0xcb0559(0x192),'description':'App\x20locale\x20for\x20this\x20workspace\x20app\x20profile\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)'}];function isRecord(_0x3a1d1e){const _0x4c43d0=a256_0xcb0559;return!!_0x3a1d1e&&typeof _0x3a1d1e==='object'&&!Array[_0x4c43d0(0x1b2)](_0x3a1d1e);}function assertValidAppcode(_0x25baf0){const _0x287467=a256_0xcb0559,{valid:_0x46ecbb,message:_0x76ff57}=validateAppcode(_0x25baf0);if(!_0x46ecbb)throw CliErrors['validation'](_0x287467(0x1b4)+_0x25baf0,_0x76ff57);}function sanitizeProfile(_0x3f7f56){if(!isRecord(_0x3f7f56))return{};const _0x292bff={};for(const _0x5d03eb of SAFE_PROFILE_KEYS){if(_0x3f7f56[_0x5d03eb]!==undefined)_0x292bff[_0x5d03eb]=_0x3f7f56[_0x5d03eb];}return _0x292bff;}function cloneProfile(_0x1e47c8){return isRecord(_0x1e47c8)?{..._0x1e47c8}:{};}function collectWorkspaceProfileOverrides(_0x1c4601){const _0x45cb7b=a256_0xcb0559,_0x205bd9={},_0x21d7e6=_0x1c4601[_0x45cb7b(0x199)](_0x45cb7b(0x1a8)),_0x292f7f=_0x1c4601[_0x45cb7b(0x199)](_0x45cb7b(0x18c)),_0x28c285=_0x1c4601[_0x45cb7b(0x199)](_0x45cb7b(0x19c)),_0x1eb124=_0x1c4601[_0x45cb7b(0x199)](_0x45cb7b(0x185)),_0x4f996a=_0x1c4601[_0x45cb7b(0x199)](_0x45cb7b(0x1a0)),_0x20e511=_0x1c4601[_0x45cb7b(0x1b7)](_0x45cb7b(0x18e)),_0x115c4b=_0x1c4601['str']('riskLevel'),_0x21a961=_0x1c4601['str'](_0x45cb7b(0x1ac));if(_0x21d7e6)_0x205bd9['apiGroup']=_0x21d7e6;if(_0x292f7f)_0x205bd9[_0x45cb7b(0x18c)]=_0x292f7f;if(_0x28c285)_0x205bd9[_0x45cb7b(0x19c)]=_0x28c285;if(_0x1eb124)_0x205bd9[_0x45cb7b(0x185)]=_0x1eb124;if(_0x4f996a)_0x205bd9[_0x45cb7b(0x195)]=_0x4f996a;if(_0x20e511!==undefined&&_0x20e511!=='')_0x205bd9['pageSize']=Number(_0x20e511);if(_0x115c4b)_0x205bd9[_0x45cb7b(0x1c0)]=_0x115c4b;if(_0x21a961)_0x205bd9['locale']=_0x21a961;return _0x205bd9;}async function validateWorkspaceArgs(_0x2fa50f){const _0x56efd9=a256_0xcb0559,_0x288748=_0x2fa50f['str']('app')[_0x56efd9(0x1be)](),_0x432081=_0x2fa50f['str'](_0x56efd9(0x1ad))[_0x56efd9(0x1be)]();if(!_0x288748&&!_0x432081)throw CliErrors['validation'](_0x56efd9(0x1b3),'Use\x20`'+CLI_BIN_NAME+_0x56efd9(0x1a9)+CLI_BIN_NAME+_0x56efd9(0x184));if(_0x432081)assertValidAppcode(_0x432081);}function resolveKnownApps(){const _0x45aa69=a256_0xcb0559,{config:_0x2f4685,layers:_0x2fb073}=readRawConfigWithLayers(),_0x5a3b16=isRecord(_0x2f4685[_0x45aa69(0x196)])?_0x2f4685[_0x45aa69(0x196)]:{},_0xbca0b3=isRecord(_0x2fb073['globalConfig'][_0x45aa69(0x196)])?_0x2fb073[_0x45aa69(0x1b5)]['apps']:{};return{..._0xbca0b3,..._0x5a3b16};}async function configureWorkspace(_0x535298,_0x5bae75){const _0x1a0c5c=a256_0xcb0559,_0x3903ae=_0x535298[_0x1a0c5c(0x199)](_0x1a0c5c(0x19b))[_0x1a0c5c(0x1be)](),_0x2cfcc3=_0x535298[_0x1a0c5c(0x199)](_0x1a0c5c(0x1ad))[_0x1a0c5c(0x1be)](),_0x1cd277=_0x3903ae||_0x2cfcc3;if(!_0x1cd277)throw CliErrors[_0x1a0c5c(0x183)](_0x1a0c5c(0x1b3),_0x1a0c5c(0x190)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+_0x1a0c5c(0x184));if(_0x2cfcc3)assertValidAppcode(_0x2cfcc3);const _0x3e6384=resolveWriteConfigPath(_0x1a0c5c(0x191)),_0xa837a2=readConfigFile(_0x3e6384),_0x478db6=resolveKnownApps(),_0x243c75=isRecord(_0xa837a2[_0x1a0c5c(0x196)])?{..._0xa837a2[_0x1a0c5c(0x196)]}:{},_0x13fdea=cloneProfile(_0x243c75[_0x1cd277]),_0x2e6e41=sanitizeProfile(_0x478db6[_0x1cd277]),_0xcf5cbb=_0x2cfcc3?{}:_0x2e6e41,_0x3fc34b=_0x2cfcc3||_0xcf5cbb['appcode'];if(!_0x3fc34b){const _0x2717ed=Object['keys'](_0x478db6),_0x59e5c4=_0x2717ed['length']===0x0?_0x1a0c5c(0x190)+CLI_BIN_NAME+_0x1a0c5c(0x1ae)+_0x5bae75+_0x1a0c5c(0x197)+_0x1cd277+_0x1a0c5c(0x1b1):_0x1a0c5c(0x1bf)+_0x2717ed[_0x1a0c5c(0x18f)](',\x20');throw CliErrors[_0x1a0c5c(0x183)](_0x1a0c5c(0x198)+_0x1cd277+_0x1a0c5c(0x18d),_0x59e5c4);}assertValidAppcode(String(_0x3fc34b));const _0x42f035={..._0xcf5cbb,..._0x13fdea,'appcode':String(_0x3fc34b),...collectWorkspaceProfileOverrides(_0x535298)};return _0x243c75[_0x1cd277]=_0x42f035,_0xa837a2[_0x1a0c5c(0x196)]=_0x243c75,normalizeStoredDefaultApp(_0xa837a2,_0x1cd277),delete _0xa837a2['appcode'],delete _0xa837a2[_0x1a0c5c(0x19b)],_0x42f035['env']&&(_0xa837a2[_0x1a0c5c(0x19c)]=_0x42f035[_0x1a0c5c(0x19c)]),writeConfigFile(_0x3e6384,_0xa837a2),{'ok':!![],'message':_0x1a0c5c(0x193)+(_0x5bae75===_0x1a0c5c(0x1c1)?_0x1a0c5c(0x1b8):_0x1a0c5c(0x187))+':\x20'+_0x1cd277+_0x1a0c5c(0x1a6)+_0x42f035['appcode']+_0x1a0c5c(0x1ab)+_0x3e6384+_0x1a0c5c(0x188),'data':{'operation':_0x1a0c5c(0x1a3)+_0x5bae75,'configPath':_0x3e6384,'app':_0x1cd277,'appcode':_0x42f035[_0x1a0c5c(0x1ad)],'apiGroup':_0x42f035[_0x1a0c5c(0x1a8)]??null,'region':_0x42f035[_0x1a0c5c(0x18c)]??null,'env':_0x42f035[_0x1a0c5c(0x19c)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a256_0xcb0559(0x1bd),'command':a256_0xcb0559(0x1c1),'description':a256_0xcb0559(0x1a7),'risk':a256_0xcb0559(0x189),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x5b5c48=>configureWorkspace(_0x5b5c48,a256_0xcb0559(0x1c1))},workspaceUseDefinition={'service':a256_0xcb0559(0x1bd),'command':a256_0xcb0559(0x1bb),'description':a256_0xcb0559(0x1b6),'risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x3c012f=>configureWorkspace(_0x3c012f,'use')};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
1
+ function a256_0x2963(_0x33178a,_0x1fd4a1){_0x33178a=_0x33178a-0x8d;const _0x5ec4e6=a256_0x5ec4();let _0x296312=_0x5ec4e6[_0x33178a];return _0x296312;}const a256_0x4cee48=a256_0x2963;(function(_0x4617d5,_0x30e945){const _0x4feb45=a256_0x2963,_0xed2ec7=_0x4617d5();while(!![]){try{const _0xa201d8=-parseInt(_0x4feb45(0xb1))/0x1+-parseInt(_0x4feb45(0xc5))/0x2*(parseInt(_0x4feb45(0x8e))/0x3)+-parseInt(_0x4feb45(0x9b))/0x4*(-parseInt(_0x4feb45(0xa7))/0x5)+-parseInt(_0x4feb45(0xa6))/0x6+parseInt(_0x4feb45(0x8f))/0x7+parseInt(_0x4feb45(0xb3))/0x8*(parseInt(_0x4feb45(0xbe))/0x9)+parseInt(_0x4feb45(0xa5))/0xa;if(_0xa201d8===_0x30e945)break;else _0xed2ec7['push'](_0xed2ec7['shift']());}catch(_0x15a7f4){_0xed2ec7['push'](_0xed2ec7['shift']());}}}(a256_0x5ec4,0x38c2c));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';import{RABETBASE_ENV_VALUES}from'../../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{RISK_LEVEL_VALUES}from'../../constant/risk.js';import{validateAppcode}from'../../commands/common/validate.js';import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';import{normalizeStoredDefaultApp}from'../../config/schema.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../../constant/region.js';const WORKSPACE_USAGE=CLI_BIN_NAME+a256_0x4cee48(0xb2),SAFE_PROFILE_KEYS=[a256_0x4cee48(0x9d),'apiGroup','region','env',a256_0x4cee48(0xac),'format',a256_0x4cee48(0xb4),a256_0x4cee48(0xc4),a256_0x4cee48(0x9e)],workspaceFlags=[{'name':a256_0x4cee48(0xc1),'type':a256_0x4cee48(0xbc),'description':a256_0x4cee48(0x97)},{'name':a256_0x4cee48(0x9d),'type':a256_0x4cee48(0xbc),'description':a256_0x4cee48(0xba)},{'name':a256_0x4cee48(0xb9),'type':a256_0x4cee48(0xbc),'description':a256_0x4cee48(0x9f)},{'name':a256_0x4cee48(0xc2),'type':a256_0x4cee48(0xbc),'description':a256_0x4cee48(0xc6),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':a256_0x4cee48(0xb8),'type':a256_0x4cee48(0xbc),'description':a256_0x4cee48(0xa0),'enum':[...RABETBASE_ENV_VALUES]},{'name':a256_0x4cee48(0xac),'type':a256_0x4cee48(0xbc),'description':a256_0x4cee48(0x93)},{'name':'defaultFormat','type':a256_0x4cee48(0xbc),'description':'Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a256_0x4cee48(0xb4),'type':a256_0x4cee48(0xa8),'description':a256_0x4cee48(0xb5)},{'name':a256_0x4cee48(0xc4),'type':a256_0x4cee48(0xbc),'description':'Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RISK_LEVEL_VALUES]},{'name':a256_0x4cee48(0x9e),'type':a256_0x4cee48(0xbc),'description':a256_0x4cee48(0xb0)}];function isRecord(_0x2abda2){const _0x16ff17=a256_0x4cee48;return!!_0x2abda2&&typeof _0x2abda2===_0x16ff17(0xa4)&&!Array[_0x16ff17(0xbd)](_0x2abda2);}function assertValidAppcode(_0x124948){const _0x529540=a256_0x4cee48,{valid:_0x18a818,message:_0x303d6c}=validateAppcode(_0x124948);if(!_0x18a818)throw CliErrors[_0x529540(0xa1)](_0x529540(0x91)+_0x124948,_0x303d6c);}function sanitizeProfile(_0x25b29f){if(!isRecord(_0x25b29f))return{};const _0x5cdfd0={};for(const _0x559cd3 of SAFE_PROFILE_KEYS){if(_0x25b29f[_0x559cd3]!==undefined)_0x5cdfd0[_0x559cd3]=_0x25b29f[_0x559cd3];}return _0x5cdfd0;}function a256_0x5ec4(){const _0x2c18c3=['workspace.','\x20--appcode\x20<code>`.','initialized','4MLViQM','.\x20Credentials:\x20not\x20written.','appcode','locale','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','Target\x20environment','validation','\x22\x20not\x20found.','globalConfig','object','2112650wVONCW','363324BgOuoc','383370QOFHIl','number','keys','str','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','apiDir','Missing\x20workspace\x20app\x20selector.','format','use','App\x20locale\x20for\x20this\x20workspace\x20app\x20profile\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','180804AJwUHL','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','8jskZJD','pageSize','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','updated','workspace','env','apiGroup','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','init','string','isArray','885123LurDWm','Switch\x20the\x20current\x20workspace\x20app\x20binding','trim','app','region','\x20workspace\x20','riskLevel','11768WyMjCi','Country/region\x20for\x20this\x20workspace\x20app\x20profile','write','93vSgOMZ','1889776xpnNGc','\x20workspace\x20use\x20--app\x20<name>`.','Invalid\x20appcode:\x20','Use\x20`','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile','App\x20\x22','apps','join','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace'];a256_0x5ec4=function(){return _0x2c18c3;};return a256_0x5ec4();}function cloneProfile(_0xa562ae){return isRecord(_0xa562ae)?{..._0xa562ae}:{};}function collectWorkspaceProfileOverrides(_0x2ab96a){const _0x1899b1=a256_0x4cee48,_0x386eed={},_0x354f19=_0x2ab96a[_0x1899b1(0xaa)](_0x1899b1(0xb9)),_0x3906fb=_0x2ab96a[_0x1899b1(0xaa)]('region'),_0xa6be89=_0x2ab96a[_0x1899b1(0xaa)](_0x1899b1(0xb8)),_0x3239e6=_0x2ab96a['str']('apiDir'),_0x46e423=_0x2ab96a[_0x1899b1(0xaa)]('defaultFormat'),_0x306752=_0x2ab96a['flag'](_0x1899b1(0xb4)),_0xb917fd=_0x2ab96a[_0x1899b1(0xaa)](_0x1899b1(0xc4)),_0x12e6d5=_0x2ab96a['str'](_0x1899b1(0x9e));if(_0x354f19)_0x386eed['apiGroup']=_0x354f19;if(_0x3906fb)_0x386eed[_0x1899b1(0xc2)]=_0x3906fb;if(_0xa6be89)_0x386eed[_0x1899b1(0xb8)]=_0xa6be89;if(_0x3239e6)_0x386eed[_0x1899b1(0xac)]=_0x3239e6;if(_0x46e423)_0x386eed[_0x1899b1(0xae)]=_0x46e423;if(_0x306752!==undefined&&_0x306752!=='')_0x386eed[_0x1899b1(0xb4)]=Number(_0x306752);if(_0xb917fd)_0x386eed[_0x1899b1(0xc4)]=_0xb917fd;if(_0x12e6d5)_0x386eed[_0x1899b1(0x9e)]=_0x12e6d5;return _0x386eed;}async function validateWorkspaceArgs(_0x4db0a9){const _0x558410=a256_0x4cee48,_0xcd1164=_0x4db0a9[_0x558410(0xaa)](_0x558410(0xc1))[_0x558410(0xc0)](),_0x2da6a1=_0x4db0a9['str'](_0x558410(0x9d))[_0x558410(0xc0)]();if(!_0xcd1164&&!_0x2da6a1)throw CliErrors['validation']('Missing\x20workspace\x20app\x20selector.',_0x558410(0x92)+CLI_BIN_NAME+_0x558410(0xab)+CLI_BIN_NAME+_0x558410(0x90));if(_0x2da6a1)assertValidAppcode(_0x2da6a1);}function resolveKnownApps(){const _0x19dd2d=a256_0x4cee48,{config:_0x144684,layers:_0x324ab6}=readRawConfigWithLayers(),_0xe55d96=isRecord(_0x144684[_0x19dd2d(0x95)])?_0x144684[_0x19dd2d(0x95)]:{},_0xef384d=isRecord(_0x324ab6[_0x19dd2d(0xa3)][_0x19dd2d(0x95)])?_0x324ab6[_0x19dd2d(0xa3)][_0x19dd2d(0x95)]:{};return{..._0xef384d,..._0xe55d96};}async function configureWorkspace(_0x494a50,_0x496dd8){const _0x5bab4d=a256_0x4cee48,_0x4d5db4=_0x494a50[_0x5bab4d(0xaa)]('app')[_0x5bab4d(0xc0)](),_0x2060a5=_0x494a50['str'](_0x5bab4d(0x9d))[_0x5bab4d(0xc0)](),_0x24589f=_0x4d5db4||_0x2060a5;if(!_0x24589f)throw CliErrors[_0x5bab4d(0xa1)](_0x5bab4d(0xad),_0x5bab4d(0x92)+CLI_BIN_NAME+_0x5bab4d(0xab)+CLI_BIN_NAME+_0x5bab4d(0x90));if(_0x2060a5)assertValidAppcode(_0x2060a5);const _0x12889e=resolveWriteConfigPath('project'),_0x1dea75=readConfigFile(_0x12889e),_0x4e3d6b=resolveKnownApps(),_0x5d9909=isRecord(_0x1dea75['apps'])?{..._0x1dea75['apps']}:{},_0x35acc0=cloneProfile(_0x5d9909[_0x24589f]),_0x27d0ce=sanitizeProfile(_0x4e3d6b[_0x24589f]),_0x4cf1d7=_0x2060a5?{}:_0x27d0ce,_0x540072=_0x2060a5||_0x4cf1d7[_0x5bab4d(0x9d)];if(!_0x540072){const _0x43f570=Object[_0x5bab4d(0xa9)](_0x4e3d6b),_0x2e5c4e=_0x43f570['length']===0x0?'Use\x20`'+CLI_BIN_NAME+_0x5bab4d(0xc3)+_0x496dd8+'\x20--app\x20'+_0x24589f+_0x5bab4d(0x99):'Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20'+_0x43f570[_0x5bab4d(0x96)](',\x20');throw CliErrors['validation'](_0x5bab4d(0x94)+_0x24589f+_0x5bab4d(0xa2),_0x2e5c4e);}assertValidAppcode(String(_0x540072));const _0x12ce5f={..._0x4cf1d7,..._0x35acc0,'appcode':String(_0x540072),...collectWorkspaceProfileOverrides(_0x494a50)};return _0x5d9909[_0x24589f]=_0x12ce5f,_0x1dea75['apps']=_0x5d9909,normalizeStoredDefaultApp(_0x1dea75,_0x24589f),delete _0x1dea75[_0x5bab4d(0x9d)],delete _0x1dea75['app'],_0x12ce5f[_0x5bab4d(0xb8)]&&(_0x1dea75[_0x5bab4d(0xb8)]=_0x12ce5f[_0x5bab4d(0xb8)]),writeConfigFile(_0x12889e,_0x1dea75),{'ok':!![],'message':'Workspace\x20'+(_0x496dd8==='init'?_0x5bab4d(0x9a):_0x5bab4d(0xb6))+':\x20'+_0x24589f+'\x20(appcode:\x20'+_0x12ce5f[_0x5bab4d(0x9d)]+').\x20Config:\x20'+_0x12889e+_0x5bab4d(0x9c),'data':{'operation':_0x5bab4d(0x98)+_0x496dd8,'configPath':_0x12889e,'app':_0x24589f,'appcode':_0x12ce5f[_0x5bab4d(0x9d)],'apiGroup':_0x12ce5f[_0x5bab4d(0xb9)]??null,'region':_0x12ce5f[_0x5bab4d(0xc2)]??null,'env':_0x12ce5f[_0x5bab4d(0xb8)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a256_0x4cee48(0xb7),'command':'init','description':'Initialize\x20the\x20current\x20workspace\x20app\x20binding','risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x2f160a=>configureWorkspace(_0x2f160a,a256_0x4cee48(0xbb))},workspaceUseDefinition={'service':a256_0x4cee48(0xb7),'command':'use','description':a256_0x4cee48(0xbf),'risk':a256_0x4cee48(0x8d),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x1371f8=>configureWorkspace(_0x1371f8,a256_0x4cee48(0xaf))};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
@@ -1 +1 @@
1
- const a257_0x156898=a257_0x1168;function a257_0x1168(_0x442e67,_0x1a3e90){_0x442e67=_0x442e67-0xca;const _0x470eaa=a257_0x470e();let _0x116882=_0x470eaa[_0x442e67];return _0x116882;}(function(_0x1273e8,_0x41774a){const _0x2746fc=a257_0x1168,_0x23aa6e=_0x1273e8();while(!![]){try{const _0x1ef2c3=parseInt(_0x2746fc(0xd1))/0x1*(parseInt(_0x2746fc(0xd3))/0x2)+parseInt(_0x2746fc(0xd9))/0x3+parseInt(_0x2746fc(0xd8))/0x4*(parseInt(_0x2746fc(0xd4))/0x5)+parseInt(_0x2746fc(0xce))/0x6*(parseInt(_0x2746fc(0xcf))/0x7)+parseInt(_0x2746fc(0xca))/0x8+-parseInt(_0x2746fc(0xcb))/0x9+parseInt(_0x2746fc(0xcd))/0xa*(-parseInt(_0x2746fc(0xd5))/0xb);if(_0x1ef2c3===_0x41774a)break;else _0x23aa6e['push'](_0x23aa6e['shift']());}catch(_0x2af567){_0x23aa6e['push'](_0x23aa6e['shift']());}}}(a257_0x470e,0x9042a));function a257_0x470e(){const _0x330f5b=['write','1903164YwHyko','2920251ckbwaG','9259920QnYHMQ','5964948SAlhCs','name','210890qpcFUq','438aZIaGY','23590AXgCoo','App\x20profile\x20name\x20to\x20remove','73053DguNzR','remove','18OvOHgB','5hNuUvm','1177PesRPr','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)'];a257_0x470e=function(){return _0x330f5b;};return a257_0x470e();}import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';export const workspaceRemoveDefinition={'service':'workspace','command':a257_0x156898(0xd2),'description':a257_0x156898(0xd6),'risk':a257_0x156898(0xd7),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a257_0x156898(0xcc),'description':a257_0x156898(0xd0),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x33a9a9=>validateAppName(_0x33a9a9,'workspace\x20remove'),'execute':_0x10ef35=>runAppRemove(_0x10ef35,'workspace\x20remove')};
1
+ const a257_0x171f83=a257_0x553a;(function(_0x3db931,_0x836e0){const _0x589042=a257_0x553a,_0x3eb96c=_0x3db931();while(!![]){try{const _0x4a06ac=-parseInt(_0x589042(0x148))/0x1*(-parseInt(_0x589042(0x14a))/0x2)+parseInt(_0x589042(0x152))/0x3+-parseInt(_0x589042(0x149))/0x4*(parseInt(_0x589042(0x14c))/0x5)+parseInt(_0x589042(0x14b))/0x6+-parseInt(_0x589042(0x153))/0x7+-parseInt(_0x589042(0x156))/0x8*(-parseInt(_0x589042(0x14d))/0x9)+parseInt(_0x589042(0x158))/0xa*(parseInt(_0x589042(0x150))/0xb);if(_0x4a06ac===_0x836e0)break;else _0x3eb96c['push'](_0x3eb96c['shift']());}catch(_0x5e9ed7){_0x3eb96c['push'](_0x3eb96c['shift']());}}}(a257_0xc544,0x449a2));import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';export const workspaceRemoveDefinition={'service':a257_0x171f83(0x154),'command':a257_0x171f83(0x14e),'description':'Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','risk':a257_0x171f83(0x155),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a257_0x171f83(0x151),'description':a257_0x171f83(0x157),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x3df083=>validateAppName(_0x3df083,'workspace\x20remove'),'execute':_0x32a074=>runAppRemove(_0x32a074,a257_0x171f83(0x14f))};function a257_0x553a(_0xe24f9,_0x57a659){_0xe24f9=_0xe24f9-0x148;const _0xc54417=a257_0xc544();let _0x553a85=_0xc54417[_0xe24f9];return _0x553a85;}function a257_0xc544(){const _0x544452=['workspace','write','8GIeCwy','App\x20profile\x20name\x20to\x20remove','598240jlJBib','16453zHpemD','8RTTrUd','10oTNAKS','445722vXZKYs','754385JrWlUZ','2465757fInxlY','remove','workspace\x20remove','77HpWcFC','name','822630xdPNiD','3785285sBbONm'];a257_0xc544=function(){return _0x544452;};return a257_0xc544();}
@@ -1 +1 @@
1
- const a258_0x1bf971=a258_0x1fcb;(function(_0x1dde91,_0x3874b3){const _0x5d5259=a258_0x1fcb,_0x196511=_0x1dde91();while(!![]){try{const _0x4c58a8=-parseInt(_0x5d5259(0x167))/0x1+-parseInt(_0x5d5259(0x13f))/0x2*(parseInt(_0x5d5259(0x11c))/0x3)+-parseInt(_0x5d5259(0x11b))/0x4+parseInt(_0x5d5259(0x149))/0x5+-parseInt(_0x5d5259(0x156))/0x6+parseInt(_0x5d5259(0x126))/0x7*(parseInt(_0x5d5259(0x12d))/0x8)+parseInt(_0x5d5259(0x138))/0x9*(parseInt(_0x5d5259(0x141))/0xa);if(_0x4c58a8===_0x3874b3)break;else _0x196511['push'](_0x196511['shift']());}catch(_0x585ee5){_0x196511['push'](_0x196511['shift']());}}}(a258_0x23fd,0x1f583));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';function a258_0x23fd(){const _0x1622c9=['mode','local-domain',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','origin','\x20without\x20credentials,\x20query,\x20or\x20fragment.','utf8','skillDomain','Invalid\x20cdn.','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','499848UyXKLo','711888ajszcr','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.','kb-domain','username','kind','kbServiceDomain','object','\x22\x20and\x20kind\x20\x22','skill-domain','14NvepHG','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','pathname','kb-service-domain',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.','enterprise-v1','apiDomain','807016goyjSw','filter',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','domain-config','search','cdn','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','length','userDomain','hash','legacy','63ELbUhc','replace','Unsupported\x20enterprise\x20CDN\x20field(s):\x20','Unsupported\x20domain\x20config\x20field(s):\x20','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','certificateDomain','domains','2phlCwN','appDomain','708010qnPOUr','isArray','password','Invalid\x20','Invalid\x20domain\x20config\x20JSON:\x20','href','validation','rabetbase-cli','291760drOyxW','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','keys','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','certificate-domain','\x22\x20is\x20not\x20a\x20valid\x20URL.','kbDomain','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','string','app-domain','lovrabet',':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.','https:','1215912JxdpEu','Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','join','cwd','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','base\x20URL','Allowed\x20fields:\x20','user-domain',':\x20expected\x20an\x20HTTPS\x20','str','protocol','includes','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','trim','runtimeDomain','parse','localDomain','62416FKLYXe'];a258_0x23fd=function(){return _0x1622c9;};return a258_0x23fd();}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=[a258_0x1bf971(0x135),'apiDomain','runtimeDomain',a258_0x1bf971(0x118),a258_0x1bf971(0x14f),a258_0x1bf971(0x122),a258_0x1bf971(0x140),a258_0x1bf971(0x166),a258_0x1bf971(0x13d)];function a258_0x1fcb(_0xc36572,_0x5d4d0b){_0xc36572=_0xc36572-0x116;const _0x23fdfd=a258_0x23fd();let _0x1fcb97=_0x23fdfd[_0xc36572];return _0x1fcb97;}const DOMAIN_FLAGS={'userDomain':a258_0x1bf971(0x15d),'apiDomain':'api-domain','runtimeDomain':'runtime-domain','skillDomain':a258_0x1bf971(0x125),'kbDomain':a258_0x1bf971(0x11f),'kbServiceDomain':a258_0x1bf971(0x129),'appDomain':a258_0x1bf971(0x152),'localDomain':a258_0x1bf971(0x169),'certificateDomain':a258_0x1bf971(0x14d)};export const LEGACY_DOMAIN_CONFIG_FIELDS=['agentDomain','platformDomain','skillHubDomain'];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a258_0x1bf971(0x135),'apiDomain':a258_0x1bf971(0x12c),'runtimeDomain':a258_0x1bf971(0x164),'skillDomain':a258_0x1bf971(0x118),'kbDomain':a258_0x1bf971(0x14f),'kbServiceDomain':'kbServiceDomain','appDomain':'appDomain','localDomain':a258_0x1bf971(0x166),'certificateDomain':a258_0x1bf971(0x13d)},ROUTING_CONSUMER=a258_0x1bf971(0x148);export function normalizeDomainOrigin(_0x5ada98,_0x32acb4){const _0x31a4f3=a258_0x1bf971;if(typeof _0x32acb4!==_0x31a4f3(0x151)||!_0x32acb4[_0x31a4f3(0x163)]())throw CliErrors[_0x31a4f3(0x147)](_0x31a4f3(0x144)+_0x5ada98+_0x31a4f3(0x16a));let _0x1fa9d6;try{_0x1fa9d6=new URL(_0x32acb4[_0x31a4f3(0x163)]());}catch{throw CliErrors['validation']('Invalid\x20'+_0x5ada98+':\x20\x22'+_0x32acb4+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x1fa9d6[_0x31a4f3(0x160)]!==_0x31a4f3(0x155)||_0x1fa9d6[_0x31a4f3(0x120)]||_0x1fa9d6[_0x31a4f3(0x143)]||_0x1fa9d6[_0x31a4f3(0x128)]!=='/'&&_0x1fa9d6[_0x31a4f3(0x128)]!==''||_0x1fa9d6[_0x31a4f3(0x131)]||_0x1fa9d6['hash'])throw CliErrors[_0x31a4f3(0x147)]('Invalid\x20'+_0x5ada98+_0x31a4f3(0x12f),_0x31a4f3(0x127));return _0x1fa9d6['origin'];}export function normalizeRoutingDomainValue(_0x4b1bd2,_0x46bfe6){const _0x14d79a=a258_0x1bf971;if(typeof _0x46bfe6===_0x14d79a(0x151))return normalizeDomainOrigin(_0x4b1bd2,_0x46bfe6);if(!_0x46bfe6||typeof _0x46bfe6!=='object'||Array['isArray'](_0x46bfe6))throw CliErrors[_0x14d79a(0x147)](_0x14d79a(0x144)+_0x4b1bd2+_0x14d79a(0x12a));const _0x5d8507=_0x46bfe6,_0x38122d=_0x5d8507[ROUTING_CONSUMER]??_0x5d8507['default'];if(_0x38122d===undefined)throw CliErrors[_0x14d79a(0x147)]('Enterprise\x20'+_0x4b1bd2+_0x14d79a(0x11a)+ROUTING_CONSUMER+'\x20and\x20has\x20no\x20default.');return normalizeDomainOrigin(_0x4b1bd2,_0x38122d);}export function normalizeCdnBaseUrl(_0x5d24fd,_0x2676a2){const _0x3d5bdd=a258_0x1bf971;if(typeof _0x2676a2!=='string'||!_0x2676a2[_0x3d5bdd(0x163)]())throw CliErrors[_0x3d5bdd(0x147)](_0x3d5bdd(0x119)+_0x5d24fd+_0x3d5bdd(0x154));const _0x20c854=_0x2676a2[_0x3d5bdd(0x163)]()[_0x3d5bdd(0x139)](/\/$/,'');let _0x95c2ca;try{_0x95c2ca=new URL(_0x20c854);}catch{throw CliErrors[_0x3d5bdd(0x147)](_0x3d5bdd(0x119)+_0x5d24fd+':\x20\x22'+_0x2676a2+_0x3d5bdd(0x14e));}if(_0x95c2ca['protocol']!==_0x3d5bdd(0x155)||_0x95c2ca[_0x3d5bdd(0x120)]||_0x95c2ca['password']||_0x95c2ca['search']||_0x95c2ca[_0x3d5bdd(0x136)]||_0x95c2ca[_0x3d5bdd(0x146)][_0x3d5bdd(0x139)](/\/$/,'')!==_0x20c854||_0x5d24fd==='lovrabet'&&_0x95c2ca['origin']!==_0x20c854)throw CliErrors[_0x3d5bdd(0x147)](_0x3d5bdd(0x119)+_0x5d24fd+_0x3d5bdd(0x15e)+(_0x5d24fd===_0x3d5bdd(0x153)?_0x3d5bdd(0x16b):_0x3d5bdd(0x15b))+_0x3d5bdd(0x116));return _0x20c854;}export function resolveEnterpriseRoutingConfig(_0x301ee8){const _0x151b24=a258_0x1bf971;return resolveEnterpriseRoutingManifest(_0x301ee8)?.[_0x151b24(0x13e)];}export function resolveEnterpriseRoutingManifest(_0x59193b){const _0x1da2e3=a258_0x1bf971;if(_0x59193b===undefined)return undefined;if(!_0x59193b||typeof _0x59193b!==_0x1da2e3(0x123)||Array['isArray'](_0x59193b))throw CliErrors['validation'](_0x1da2e3(0x11e));return parseEnterpriseRoutingManifest(_0x59193b);}export function readDomainConfigInput(_0x3c2e10){const _0x273123=a258_0x1bf971,_0x22ed01=isAbsolute(_0x3c2e10)?_0x3c2e10:resolve(process[_0x273123(0x159)](),_0x3c2e10);if(!existsSync(_0x22ed01))throw CliErrors['validation']('Domain\x20config\x20file\x20not\x20found:\x20'+_0x22ed01);let _0xac3b53;try{_0xac3b53=JSON[_0x273123(0x165)](readFileSync(_0x22ed01,_0x273123(0x117)));}catch{throw CliErrors['validation'](_0x273123(0x145)+_0x22ed01);}if(!_0xac3b53||typeof _0xac3b53!==_0x273123(0x123)||Array[_0x273123(0x142)](_0xac3b53))throw CliErrors[_0x273123(0x147)](_0x273123(0x162));const _0x45fbb8=_0xac3b53;if(_0x273123(0x160)in _0x45fbb8)return parseEnterpriseRoutingManifest(_0x45fbb8);const _0x168e12=Object['keys'](_0x45fbb8)['filter'](_0x3971d6=>!DOMAIN_CONFIG_FIELDS[_0x273123(0x161)](_0x3971d6));if(_0x168e12[_0x273123(0x134)]>0x0)throw CliErrors['validation'](_0x273123(0x13b)+_0x168e12['join'](',\x20'),'Allowed\x20fields:\x20'+DOMAIN_CONFIG_FIELDS[_0x273123(0x158)](',\x20'));const _0x2d8d84={};for(const _0xfcda28 of DOMAIN_CONFIG_FIELDS){_0x45fbb8[_0xfcda28]!==undefined&&(_0x2d8d84[_0xfcda28]=normalizeDomainOrigin(_0xfcda28,_0x45fbb8[_0xfcda28]));}if(Object['keys'](_0x2d8d84)[_0x273123(0x134)]===0x0)throw CliErrors[_0x273123(0x147)](_0x273123(0x14a));return{'mode':'legacy','domains':_0x2d8d84};}export function readDomainConfig(_0x352a27){const _0xd015ec=a258_0x1bf971;return readDomainConfigInput(_0x352a27)[_0xd015ec(0x13e)];}export function resolveDomainConfigInput(_0x5ebd75){const _0x4ee05f=a258_0x1bf971,_0x2ad92f=(_0x5ebd75['str'](_0x4ee05f(0x130))||'')[_0x4ee05f(0x163)](),_0x2312be=_0x2ad92f?readDomainConfigInput(_0x2ad92f):{'mode':_0x4ee05f(0x137),'domains':{}},_0x54a8e9=DOMAIN_CONFIG_FIELDS[_0x4ee05f(0x12e)](_0x4b45e8=>Boolean((_0x5ebd75[_0x4ee05f(0x15f)](DOMAIN_FLAGS[_0x4b45e8])||'')['trim']()));if(_0x2312be[_0x4ee05f(0x168)]==='enterprise-v1'&&_0x54a8e9['length']>0x0)throw CliErrors[_0x4ee05f(0x147)](_0x4ee05f(0x15a),_0x4ee05f(0x150));for(const _0x5b7a5f of DOMAIN_CONFIG_FIELDS){const _0x4e8b10=(_0x5ebd75[_0x4ee05f(0x15f)](DOMAIN_FLAGS[_0x5b7a5f])||'')['trim']();if(_0x4e8b10)_0x2312be[_0x4ee05f(0x13e)][_0x5b7a5f]=normalizeDomainOrigin(_0x5b7a5f,_0x4e8b10);}return _0x2312be;}export function resolveDomainFlags(_0x2f8a12){const _0x133411=a258_0x1bf971;return resolveDomainConfigInput(_0x2f8a12)[_0x133411(0x13e)];}export function parseEnterpriseRoutingManifest(_0x589cd0){const _0x2f5dcc=a258_0x1bf971;if(_0x589cd0[_0x2f5dcc(0x160)]!==ENTERPRISE_ROUTING_PROTOCOL||_0x589cd0[_0x2f5dcc(0x121)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x2f5dcc(0x147)]('Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22'+ENTERPRISE_ROUTING_PROTOCOL+_0x2f5dcc(0x124)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x589cd0[_0x2f5dcc(0x13e)]||typeof _0x589cd0[_0x2f5dcc(0x13e)]!=='object'||Array[_0x2f5dcc(0x142)](_0x589cd0[_0x2f5dcc(0x13e)]))throw CliErrors[_0x2f5dcc(0x147)](_0x2f5dcc(0x13c));if(!_0x589cd0[_0x2f5dcc(0x132)]||typeof _0x589cd0[_0x2f5dcc(0x132)]!==_0x2f5dcc(0x123)||Array[_0x2f5dcc(0x142)](_0x589cd0['cdn']))throw CliErrors[_0x2f5dcc(0x147)](_0x2f5dcc(0x11d));const _0x2d414f=_0x589cd0[_0x2f5dcc(0x13e)],_0x5333c0=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x2f5dcc(0x12e)](_0x4e6810=>_0x2d414f[_0x4e6810]===undefined);if(_0x5333c0[_0x2f5dcc(0x134)]>0x0)throw CliErrors['validation'](_0x2f5dcc(0x133)+_0x5333c0[_0x2f5dcc(0x158)](',\x20'));if(_0x2d414f['localDomain']===undefined!==(_0x2d414f['certificateDomain']===undefined))throw CliErrors[_0x2f5dcc(0x147)](_0x2f5dcc(0x157));const _0xafc6fa=_0x589cd0[_0x2f5dcc(0x132)],_0x3d3150=Object[_0x2f5dcc(0x14b)](_0xafc6fa)[_0x2f5dcc(0x12e)](_0x5c58af=>!ENTERPRISE_ROUTING_CDN_FIELDS[_0x2f5dcc(0x161)](_0x5c58af));if(_0x3d3150[_0x2f5dcc(0x134)]>0x0)throw CliErrors[_0x2f5dcc(0x147)](_0x2f5dcc(0x13a)+_0x3d3150[_0x2f5dcc(0x158)](',\x20'),_0x2f5dcc(0x15c)+ENTERPRISE_ROUTING_CDN_FIELDS['join'](',\x20'));const _0x47e114=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS['filter'](_0x6f0268=>_0xafc6fa[_0x6f0268]===undefined);if(_0x47e114[_0x2f5dcc(0x134)]>0x0)throw CliErrors[_0x2f5dcc(0x147)](_0x2f5dcc(0x14c)+_0x47e114[_0x2f5dcc(0x158)](',\x20'));const _0x3f0e0d={};for(const _0x19e552 of ENTERPRISE_ROUTING_CDN_FIELDS){_0x3f0e0d[_0x19e552]=normalizeCdnBaseUrl(_0x19e552,_0xafc6fa[_0x19e552]);}const _0x18c7a1={},_0x754f4c={};for(const _0x434084 of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x303bd2=_0x2d414f[_0x434084];if(_0x303bd2===undefined)continue;const _0x4a5a95=normalizeRoutingDomainValue(_0x434084,_0x303bd2);_0x18c7a1[_0x434084]=_0x4a5a95;const _0x28ee02=ENTERPRISE_TO_LOCAL_FIELD[_0x434084];_0x28ee02&&(_0x754f4c[_0x28ee02]=_0x4a5a95);}return{'mode':_0x2f5dcc(0x12b),'domains':_0x754f4c,'manifestDomains':_0x18c7a1,'cdn':_0x3f0e0d};}
1
+ const a258_0x375c3d=a258_0x480b;(function(_0x3b7e32,_0x437d37){const _0x196da8=a258_0x480b,_0x56ff12=_0x3b7e32();while(!![]){try{const _0x253aac=parseInt(_0x196da8(0xbc))/0x1*(-parseInt(_0x196da8(0xe9))/0x2)+-parseInt(_0x196da8(0xf5))/0x3*(parseInt(_0x196da8(0xdb))/0x4)+parseInt(_0x196da8(0x10b))/0x5*(-parseInt(_0x196da8(0xed))/0x6)+-parseInt(_0x196da8(0xd7))/0x7+parseInt(_0x196da8(0x100))/0x8+parseInt(_0x196da8(0xf1))/0x9*(-parseInt(_0x196da8(0xc5))/0xa)+parseInt(_0x196da8(0xd3))/0xb;if(_0x253aac===_0x437d37)break;else _0x56ff12['push'](_0x56ff12['shift']());}catch(_0xe7063){_0x56ff12['push'](_0x56ff12['shift']());}}}(a258_0x18e7,0x459a0));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=[a258_0x375c3d(0xc0),a258_0x375c3d(0xee),'runtimeDomain',a258_0x375c3d(0xda),a258_0x375c3d(0xeb),a258_0x375c3d(0xd9),'appDomain',a258_0x375c3d(0xe0),a258_0x375c3d(0xf8)];const DOMAIN_FLAGS={'userDomain':a258_0x375c3d(0xe1),'apiDomain':a258_0x375c3d(0xbb),'runtimeDomain':a258_0x375c3d(0xe2),'skillDomain':'skill-domain','kbDomain':a258_0x375c3d(0xfd),'kbServiceDomain':'kb-service-domain','appDomain':a258_0x375c3d(0xc6),'localDomain':a258_0x375c3d(0xe8),'certificateDomain':a258_0x375c3d(0xde)};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a258_0x375c3d(0xe6),a258_0x375c3d(0xf4),a258_0x375c3d(0x107)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':'userDomain','apiDomain':'apiDomain','runtimeDomain':a258_0x375c3d(0xf3),'skillDomain':a258_0x375c3d(0xda),'kbDomain':a258_0x375c3d(0xeb),'kbServiceDomain':a258_0x375c3d(0xd9),'appDomain':a258_0x375c3d(0xd4),'localDomain':a258_0x375c3d(0xe0),'certificateDomain':a258_0x375c3d(0xf8)},ROUTING_CONSUMER=a258_0x375c3d(0xd2);function a258_0x480b(_0x20bea3,_0x575fdd){_0x20bea3=_0x20bea3-0xba;const _0x18e7da=a258_0x18e7();let _0x480b42=_0x18e7da[_0x20bea3];return _0x480b42;}export function normalizeDomainOrigin(_0x1d6bcf,_0x414b7d){const _0x4681bc=a258_0x375c3d;if(typeof _0x414b7d!==_0x4681bc(0xd8)||!_0x414b7d[_0x4681bc(0xc3)]())throw CliErrors[_0x4681bc(0xf9)]('Invalid\x20'+_0x1d6bcf+_0x4681bc(0xd5));let _0x30d4cb;try{_0x30d4cb=new URL(_0x414b7d[_0x4681bc(0xc3)]());}catch{throw CliErrors['validation'](_0x4681bc(0x10a)+_0x1d6bcf+':\x20\x22'+_0x414b7d+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x30d4cb[_0x4681bc(0xd6)]!==_0x4681bc(0xc4)||_0x30d4cb[_0x4681bc(0xef)]||_0x30d4cb[_0x4681bc(0xe7)]||_0x30d4cb[_0x4681bc(0xc9)]!=='/'&&_0x30d4cb[_0x4681bc(0xc9)]!==''||_0x30d4cb[_0x4681bc(0xf2)]||_0x30d4cb[_0x4681bc(0xe3)])throw CliErrors[_0x4681bc(0xf9)](_0x4681bc(0x10a)+_0x1d6bcf+':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.',_0x4681bc(0x104));return _0x30d4cb[_0x4681bc(0xbd)];}export function normalizeRoutingDomainValue(_0x2031e3,_0x18c5bb){const _0x37d5b2=a258_0x375c3d;if(typeof _0x18c5bb===_0x37d5b2(0xd8))return normalizeDomainOrigin(_0x2031e3,_0x18c5bb);if(!_0x18c5bb||typeof _0x18c5bb!==_0x37d5b2(0xbe)||Array[_0x37d5b2(0xfa)](_0x18c5bb))throw CliErrors[_0x37d5b2(0xf9)](_0x37d5b2(0x10a)+_0x2031e3+_0x37d5b2(0xca));const _0x466730=_0x18c5bb,_0x407f87=_0x466730[ROUTING_CONSUMER]??_0x466730[_0x37d5b2(0xf6)];if(_0x407f87===undefined)throw CliErrors[_0x37d5b2(0xf9)](_0x37d5b2(0xdd)+_0x2031e3+_0x37d5b2(0x108)+ROUTING_CONSUMER+_0x37d5b2(0xec));return normalizeDomainOrigin(_0x2031e3,_0x407f87);}export function normalizeCdnBaseUrl(_0x9253b8,_0x5cb9b0){const _0x44db1d=a258_0x375c3d;if(typeof _0x5cb9b0!==_0x44db1d(0xd8)||!_0x5cb9b0[_0x44db1d(0xc3)]())throw CliErrors[_0x44db1d(0xf9)](_0x44db1d(0xc7)+_0x9253b8+_0x44db1d(0xf7));const _0x4d2123=_0x5cb9b0[_0x44db1d(0xc3)]()[_0x44db1d(0xdf)](/\/$/,'');let _0x2a1e43;try{_0x2a1e43=new URL(_0x4d2123);}catch{throw CliErrors[_0x44db1d(0xf9)](_0x44db1d(0xc7)+_0x9253b8+_0x44db1d(0xbf)+_0x5cb9b0+_0x44db1d(0xe5));}if(_0x2a1e43[_0x44db1d(0xd6)]!==_0x44db1d(0xc4)||_0x2a1e43['username']||_0x2a1e43['password']||_0x2a1e43[_0x44db1d(0xf2)]||_0x2a1e43['hash']||_0x2a1e43['href'][_0x44db1d(0xdf)](/\/$/,'')!==_0x4d2123||_0x9253b8===_0x44db1d(0xcf)&&_0x2a1e43[_0x44db1d(0xbd)]!==_0x4d2123)throw CliErrors['validation'](_0x44db1d(0xc7)+_0x9253b8+_0x44db1d(0xfe)+(_0x9253b8==='lovrabet'?_0x44db1d(0xbd):'base\x20URL')+_0x44db1d(0xcd));return _0x4d2123;}export function resolveEnterpriseRoutingConfig(_0x4ce60f){const _0x53209b=a258_0x375c3d;return resolveEnterpriseRoutingManifest(_0x4ce60f)?.[_0x53209b(0x109)];}export function resolveEnterpriseRoutingManifest(_0x2da937){const _0x2e4eae=a258_0x375c3d;if(_0x2da937===undefined)return undefined;if(!_0x2da937||typeof _0x2da937!==_0x2e4eae(0xbe)||Array[_0x2e4eae(0xfa)](_0x2da937))throw CliErrors['validation']('Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.');return parseEnterpriseRoutingManifest(_0x2da937);}function a258_0x18e7(){const _0x307b83=['validation','isArray','domain-config','enterprise-v1','kb-domain',':\x20expected\x20an\x20HTTPS\x20','cwd','400024mFFcAk','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','filter','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','skillHubDomain','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','domains','Invalid\x20','5KNEeAW','length','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','join','api-domain','1WOVIOX','origin','object',':\x20\x22','userDomain','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','\x22\x20and\x20kind\x20\x22','trim','https:','560MELZGi','app-domain','Invalid\x20cdn.','cdn','pathname',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.','str','parse','\x20without\x20credentials,\x20query,\x20or\x20fragment.','legacy','lovrabet','keys','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','rabetbase-cli','10219044IcvYfW','appDomain',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','protocol','3077984tPbPkG','string','kbServiceDomain','skillDomain','4NzCVCY','Unsupported\x20enterprise\x20CDN\x20field(s):\x20','Enterprise\x20','certificate-domain','replace','localDomain','user-domain','runtime-domain','hash','Allowed\x20fields:\x20','\x22\x20is\x20not\x20a\x20valid\x20URL.','agentDomain','password','local-domain','25358wClwGj','utf8','kbDomain','\x20and\x20has\x20no\x20default.','1437330AypoKT','apiDomain','username','includes','225wJbHgJ','search','runtimeDomain','platformDomain','1719dDILjp','default',':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.','certificateDomain'];a258_0x18e7=function(){return _0x307b83;};return a258_0x18e7();}export function readDomainConfigInput(_0x769470){const _0x195284=a258_0x375c3d,_0x4df70a=isAbsolute(_0x769470)?_0x769470:resolve(process[_0x195284(0xff)](),_0x769470);if(!existsSync(_0x4df70a))throw CliErrors[_0x195284(0xf9)]('Domain\x20config\x20file\x20not\x20found:\x20'+_0x4df70a);let _0x169714;try{_0x169714=JSON[_0x195284(0xcc)](readFileSync(_0x4df70a,_0x195284(0xea)));}catch{throw CliErrors['validation']('Invalid\x20domain\x20config\x20JSON:\x20'+_0x4df70a);}if(!_0x169714||typeof _0x169714!==_0x195284(0xbe)||Array['isArray'](_0x169714))throw CliErrors[_0x195284(0xf9)](_0x195284(0x103));const _0x2d9bac=_0x169714;if(_0x195284(0xd6)in _0x2d9bac)return parseEnterpriseRoutingManifest(_0x2d9bac);const _0x54780d=Object[_0x195284(0xd0)](_0x2d9bac)[_0x195284(0x102)](_0x1c7d4b=>!DOMAIN_CONFIG_FIELDS[_0x195284(0xf0)](_0x1c7d4b));if(_0x54780d[_0x195284(0x10c)]>0x0)throw CliErrors[_0x195284(0xf9)]('Unsupported\x20domain\x20config\x20field(s):\x20'+_0x54780d['join'](',\x20'),_0x195284(0xe4)+DOMAIN_CONFIG_FIELDS[_0x195284(0xba)](',\x20'));const _0x49bc7c={};for(const _0xc924a5 of DOMAIN_CONFIG_FIELDS){_0x2d9bac[_0xc924a5]!==undefined&&(_0x49bc7c[_0xc924a5]=normalizeDomainOrigin(_0xc924a5,_0x2d9bac[_0xc924a5]));}if(Object[_0x195284(0xd0)](_0x49bc7c)['length']===0x0)throw CliErrors[_0x195284(0xf9)](_0x195284(0x101));return{'mode':_0x195284(0xce),'domains':_0x49bc7c};}export function readDomainConfig(_0xbe087c){const _0x1e81a3=a258_0x375c3d;return readDomainConfigInput(_0xbe087c)[_0x1e81a3(0x109)];}export function resolveDomainConfigInput(_0x33288c){const _0x153c1d=a258_0x375c3d,_0x2c7896=(_0x33288c[_0x153c1d(0xcb)](_0x153c1d(0xfb))||'')[_0x153c1d(0xc3)](),_0x45cf98=_0x2c7896?readDomainConfigInput(_0x2c7896):{'mode':_0x153c1d(0xce),'domains':{}},_0x19cb69=DOMAIN_CONFIG_FIELDS[_0x153c1d(0x102)](_0x37ea27=>Boolean((_0x33288c['str'](DOMAIN_FLAGS[_0x37ea27])||'')[_0x153c1d(0xc3)]()));if(_0x45cf98['mode']===_0x153c1d(0xfc)&&_0x19cb69[_0x153c1d(0x10c)]>0x0)throw CliErrors[_0x153c1d(0xf9)](_0x153c1d(0xc1),'Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.');for(const _0x2146ad of DOMAIN_CONFIG_FIELDS){const _0x404525=(_0x33288c[_0x153c1d(0xcb)](DOMAIN_FLAGS[_0x2146ad])||'')[_0x153c1d(0xc3)]();if(_0x404525)_0x45cf98['domains'][_0x2146ad]=normalizeDomainOrigin(_0x2146ad,_0x404525);}return _0x45cf98;}export function resolveDomainFlags(_0x486be7){return resolveDomainConfigInput(_0x486be7)['domains'];}export function parseEnterpriseRoutingManifest(_0x1c87b4){const _0x4de9b0=a258_0x375c3d;if(_0x1c87b4['protocol']!==ENTERPRISE_ROUTING_PROTOCOL||_0x1c87b4['kind']!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x4de9b0(0xf9)](_0x4de9b0(0x10d)+ENTERPRISE_ROUTING_PROTOCOL+_0x4de9b0(0xc2)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x1c87b4[_0x4de9b0(0x109)]||typeof _0x1c87b4[_0x4de9b0(0x109)]!==_0x4de9b0(0xbe)||Array[_0x4de9b0(0xfa)](_0x1c87b4['domains']))throw CliErrors[_0x4de9b0(0xf9)]('Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.');if(!_0x1c87b4[_0x4de9b0(0xc8)]||typeof _0x1c87b4[_0x4de9b0(0xc8)]!==_0x4de9b0(0xbe)||Array[_0x4de9b0(0xfa)](_0x1c87b4[_0x4de9b0(0xc8)]))throw CliErrors[_0x4de9b0(0xf9)](_0x4de9b0(0x10e));const _0x4b5503=_0x1c87b4['domains'],_0x3d9aa9=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x4de9b0(0x102)](_0x2d12cb=>_0x4b5503[_0x2d12cb]===undefined);if(_0x3d9aa9[_0x4de9b0(0x10c)]>0x0)throw CliErrors[_0x4de9b0(0xf9)](_0x4de9b0(0xd1)+_0x3d9aa9[_0x4de9b0(0xba)](',\x20'));if(_0x4b5503[_0x4de9b0(0xe0)]===undefined!==(_0x4b5503['certificateDomain']===undefined))throw CliErrors['validation'](_0x4de9b0(0x105));const _0x1988e5=_0x1c87b4[_0x4de9b0(0xc8)],_0x2ca03c=Object[_0x4de9b0(0xd0)](_0x1988e5)[_0x4de9b0(0x102)](_0x142b28=>!ENTERPRISE_ROUTING_CDN_FIELDS[_0x4de9b0(0xf0)](_0x142b28));if(_0x2ca03c[_0x4de9b0(0x10c)]>0x0)throw CliErrors[_0x4de9b0(0xf9)](_0x4de9b0(0xdc)+_0x2ca03c[_0x4de9b0(0xba)](',\x20'),'Allowed\x20fields:\x20'+ENTERPRISE_ROUTING_CDN_FIELDS['join'](',\x20'));const _0x1ca222=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS[_0x4de9b0(0x102)](_0x4dce8a=>_0x1988e5[_0x4dce8a]===undefined);if(_0x1ca222[_0x4de9b0(0x10c)]>0x0)throw CliErrors[_0x4de9b0(0xf9)](_0x4de9b0(0x106)+_0x1ca222[_0x4de9b0(0xba)](',\x20'));const _0x4bfac9={};for(const _0x592d86 of ENTERPRISE_ROUTING_CDN_FIELDS){_0x4bfac9[_0x592d86]=normalizeCdnBaseUrl(_0x592d86,_0x1988e5[_0x592d86]);}const _0x4c4ffb={},_0x15cd7b={};for(const _0x1632a4 of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x2b9572=_0x4b5503[_0x1632a4];if(_0x2b9572===undefined)continue;const _0x1e7d57=normalizeRoutingDomainValue(_0x1632a4,_0x2b9572);_0x4c4ffb[_0x1632a4]=_0x1e7d57;const _0x216451=ENTERPRISE_TO_LOCAL_FIELD[_0x1632a4];_0x216451&&(_0x15cd7b[_0x216451]=_0x1e7d57);}return{'mode':_0x4de9b0(0xfc),'domains':_0x15cd7b,'manifestDomains':_0x4c4ffb,'cdn':_0x4bfac9};}
@@ -1 +1 @@
1
- const a259_0x488bb6=a259_0x4b28;(function(_0x670544,_0x322c6d){const _0x2553bc=a259_0x4b28,_0x1588ed=_0x670544();while(!![]){try{const _0x23eba6=parseInt(_0x2553bc(0xf2))/0x1+-parseInt(_0x2553bc(0xed))/0x2+-parseInt(_0x2553bc(0xf4))/0x3*(-parseInt(_0x2553bc(0xe4))/0x4)+parseInt(_0x2553bc(0xe3))/0x5*(-parseInt(_0x2553bc(0xf0))/0x6)+-parseInt(_0x2553bc(0xec))/0x7*(-parseInt(_0x2553bc(0xf6))/0x8)+-parseInt(_0x2553bc(0xf1))/0x9+parseInt(_0x2553bc(0xe5))/0xa;if(_0x23eba6===_0x322c6d)break;else _0x1588ed['push'](_0x1588ed['shift']());}catch(_0x216207){_0x1588ed['push'](_0x1588ed['shift']());}}}(a259_0x1e99,0x49fa9));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';function a259_0x1e99(){const _0x31ef9e=['rabetbase.domain-routing.json','547701cfmeWh','538642tIsYXy','Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','official','9846RGmABs','4535667yPwMfQ','269189LgtScF','lovrabet','969rpDeCn','/cert/lovrabet-dev.json','40Dsggzq','pid','975chvYvo','44Ftposu','7323390ESlBpt','origin','local','independent','lovrabet-project-domain-routing/v1','stringify'];a259_0x1e99=function(){return _0x31ef9e;};return a259_0x1e99();}import{getOfficialRoutingProfile}from'../constant/routing-profile.js';export const PROJECT_DOMAIN_ROUTING_FILE_NAME=a259_0x488bb6(0xeb);function a259_0x4b28(_0x1b45c5,_0xaa182a){_0x1b45c5=_0x1b45c5-0xe2;const _0x1e99e2=a259_0x1e99();let _0x4b280d=_0x1e99e2[_0x1b45c5];return _0x4b280d;}export const PROJECT_DOMAIN_ROUTING_PROTOCOL=a259_0x488bb6(0xe9);export function getProjectDomainRoutingManifest(){const _0x409375=a259_0x488bb6,_0x31c41e=getActiveRegion(),_0x3443a0=isIndependentDeployment(),_0x1b3a93=getOfficialRoutingProfile(_0x31c41e),_0x42fcf8=getLocalDomain(),_0x271be4=getCertificateDomain(),_0x4993fa=getActiveCdn();if(!!_0x42fcf8!==!!_0x271be4)throw new Error(_0x409375(0xee));return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x3443a0?_0x409375(0xe8):_0x409375(0xef),'region':_0x3443a0?null:_0x31c41e,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x4993fa,'local':_0x42fcf8&&_0x271be4?{'origin':_0x42fcf8,'certificateUrl':_0x271be4+_0x409375(0xf5)}:_0x3443a0?{'origin':'http://localhost'}:{'origin':_0x1b3a93[_0x409375(0xe7)][_0x409375(0xe6)],'certificateUrl':_0x4993fa[_0x409375(0xf3)]+_0x409375(0xf5)}};}export function writeProjectDomainRoutingManifest(_0x2ca412){const _0x84a979=a259_0x488bb6,_0x58ee02=getProjectDomainRoutingManifest(),_0x1027e2=join(_0x2ca412,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x3c376a=JSON[_0x84a979(0xea)](_0x58ee02,null,0x2)+'\x0a';try{if(readFileSync(_0x1027e2,'utf8')===_0x3c376a)return{'path':_0x1027e2,'manifest':_0x58ee02,'changed':![]};}catch{}const _0x236e02=_0x1027e2+'.'+process[_0x84a979(0xe2)]+'.'+Date['now']()+'.tmp';try{writeFileSync(_0x236e02,_0x3c376a,{'encoding':'utf8','mode':0x1a4}),renameSync(_0x236e02,_0x1027e2);}catch(_0x55f2ea){try{unlinkSync(_0x236e02);}catch{}throw _0x55f2ea;}return{'path':_0x1027e2,'manifest':_0x58ee02,'changed':!![]};}
1
+ const a259_0x40bc37=a259_0x31d7;(function(_0x175362,_0x3cff66){const _0x452d83=a259_0x31d7,_0x31e3ff=_0x175362();while(!![]){try{const _0x179b7d=parseInt(_0x452d83(0x128))/0x1*(-parseInt(_0x452d83(0x131))/0x2)+-parseInt(_0x452d83(0x130))/0x3*(parseInt(_0x452d83(0x12f))/0x4)+parseInt(_0x452d83(0x11b))/0x5*(parseInt(_0x452d83(0x12d))/0x6)+-parseInt(_0x452d83(0x124))/0x7+parseInt(_0x452d83(0x11d))/0x8*(-parseInt(_0x452d83(0x123))/0x9)+parseInt(_0x452d83(0x11c))/0xa+parseInt(_0x452d83(0x125))/0xb;if(_0x179b7d===_0x3cff66)break;else _0x31e3ff['push'](_0x31e3ff['shift']());}catch(_0x494d66){_0x31e3ff['push'](_0x31e3ff['shift']());}}}(a259_0x295f,0x8fcc0));import{readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{join}from'node:path';function a259_0x295f(){const _0x4b26ea=['2gwWeQd','1490jQvKeS','5505550ydUNAL','24IOgBdy','/cert/lovrabet-dev.json','independent','origin','stringify','lovrabet-project-domain-routing/v1','1397007FFBBlB','6634628KOvlOC','25144207BGLQIN','utf8','http://localhost','795323XSaWnG','lovrabet','pid','now','Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','6510zmcDYB','rabetbase.domain-routing.json','10804czOeHD','402kSvRfD'];a259_0x295f=function(){return _0x4b26ea;};return a259_0x295f();}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=a259_0x40bc37(0x12e);function a259_0x31d7(_0x4214ff,_0x2ce5aa){_0x4214ff=_0x4214ff-0x11b;const _0x295f7c=a259_0x295f();let _0x31d73e=_0x295f7c[_0x4214ff];return _0x31d73e;}export const PROJECT_DOMAIN_ROUTING_PROTOCOL=a259_0x40bc37(0x122);export function getProjectDomainRoutingManifest(){const _0x48397d=a259_0x40bc37,_0xb5cb31=getActiveRegion(),_0x576cc7=isIndependentDeployment(),_0x1f8876=getOfficialRoutingProfile(_0xb5cb31),_0x139e59=getLocalDomain(),_0x2b43f8=getCertificateDomain(),_0x428272=getActiveCdn();if(!!_0x139e59!==!!_0x2b43f8)throw new Error(_0x48397d(0x12c));return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x576cc7?_0x48397d(0x11f):'official','region':_0x576cc7?null:_0xb5cb31,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x428272,'local':_0x139e59&&_0x2b43f8?{'origin':_0x139e59,'certificateUrl':_0x2b43f8+_0x48397d(0x11e)}:_0x576cc7?{'origin':_0x48397d(0x127)}:{'origin':_0x1f8876['local'][_0x48397d(0x120)],'certificateUrl':_0x428272[_0x48397d(0x129)]+_0x48397d(0x11e)}};}export function writeProjectDomainRoutingManifest(_0x2a2b09){const _0x44c180=a259_0x40bc37,_0x1828c7=getProjectDomainRoutingManifest(),_0x42a5d8=join(_0x2a2b09,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x4d56e8=JSON[_0x44c180(0x121)](_0x1828c7,null,0x2)+'\x0a';try{if(readFileSync(_0x42a5d8,_0x44c180(0x126))===_0x4d56e8)return{'path':_0x42a5d8,'manifest':_0x1828c7,'changed':![]};}catch{}const _0x545ce9=_0x42a5d8+'.'+process[_0x44c180(0x12a)]+'.'+Date[_0x44c180(0x12b)]()+'.tmp';try{writeFileSync(_0x545ce9,_0x4d56e8,{'encoding':'utf8','mode':0x1a4}),renameSync(_0x545ce9,_0x42a5d8);}catch(_0x10f082){try{unlinkSync(_0x545ce9);}catch{}throw _0x10f082;}return{'path':_0x42a5d8,'manifest':_0x1828c7,'changed':!![]};}
@@ -1 +1 @@
1
- const a260_0x43a737=a260_0x420c;function a260_0x420c(_0x2c16bf,_0x239996){_0x2c16bf=_0x2c16bf-0x17d;const _0x125b52=a260_0x125b();let _0x420cec=_0x125b52[_0x2c16bf];return _0x420cec;}(function(_0x162fff,_0x24f165){const _0x161b18=a260_0x420c,_0x480c24=_0x162fff();while(!![]){try{const _0x22ca52=-parseInt(_0x161b18(0x181))/0x1+-parseInt(_0x161b18(0x19b))/0x2*(parseInt(_0x161b18(0x19c))/0x3)+parseInt(_0x161b18(0x196))/0x4*(parseInt(_0x161b18(0x17d))/0x5)+-parseInt(_0x161b18(0x184))/0x6+parseInt(_0x161b18(0x182))/0x7*(-parseInt(_0x161b18(0x17e))/0x8)+parseInt(_0x161b18(0x18e))/0x9*(parseInt(_0x161b18(0x19e))/0xa)+parseInt(_0x161b18(0x199))/0xb;if(_0x22ca52===_0x24f165)break;else _0x480c24['push'](_0x480c24['shift']());}catch(_0x100a58){_0x480c24['push'](_0x480c24['shift']());}}}(a260_0x125b,0x70684));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(_0x5f9cc){const _0x725f1e=a260_0x420c;if(_0x5f9cc[_0x725f1e(0x195)]!==undefined&&_0x5f9cc[_0x725f1e(0x195)]!==null&&_0x5f9cc[_0x725f1e(0x195)]!=='')return{'value':_0x5f9cc[_0x725f1e(0x195)],'source':_0x725f1e(0x180)};if(_0x5f9cc[_0x725f1e(0x17f)]!==undefined&&_0x5f9cc[_0x725f1e(0x17f)]!==null&&_0x5f9cc['projectRegion']!=='')return{'value':_0x5f9cc[_0x725f1e(0x17f)],'source':_0x725f1e(0x18c)};if(_0x5f9cc[_0x725f1e(0x18b)]!==undefined&&_0x5f9cc[_0x725f1e(0x18b)]!==null&&_0x5f9cc[_0x725f1e(0x18b)]!=='')return{'value':_0x5f9cc[_0x725f1e(0x18b)],'source':_0x725f1e(0x194)};if(_0x5f9cc[_0x725f1e(0x185)]!==undefined&&_0x5f9cc[_0x725f1e(0x185)]!==null&&_0x5f9cc[_0x725f1e(0x185)]!=='')return{'value':_0x5f9cc[_0x725f1e(0x185)],'source':'config'};return{'value':undefined,'source':'default'};}function describeConfiguredRegion(_0x1fd778){const _0x5a94aa=a260_0x420c;return typeof _0x1fd778===_0x5a94aa(0x198)?JSON['stringify'](_0x1fd778):_0x5a94aa(0x197)+(_0x1fd778===null?_0x5a94aa(0x189):typeof _0x1fd778);}function a260_0x125b(){const _0x535d2d=['global','appRegion','3768auBaMp','a\x20value\x20of\x20type\x20','string','21469778HPOkGu','project\x20Rabetbase\x20configuration','7382JTxctm','387TsmqsV','global\x20Rabetbase\x20configuration','893790jOdUOD','1265jkJFNL','5365912EbKrCi','projectRegion','app','523599IbdzJw','7tdXTCX','\x20in\x20','1964184IGrlwZ','mergedRegion','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','app\x20profile\x20\x22','appName','null','Invalid\x20country/region\x20','globalRegion','project','value','27ftWnrK','validation','selected\x20app\x20profile','source','Rabetbase\x20configuration','Run\x20`'];a260_0x125b=function(){return _0x535d2d;};return a260_0x125b();}export function resolveConfiguredRegion(_0x1a2f54,_0x357415=a260_0x43a737(0x192)){const _0x2bc1d7=a260_0x43a737;if(isInvalidLovrabetRegion(_0x1a2f54))throw CliErrors[_0x2bc1d7(0x18f)](_0x2bc1d7(0x18a)+describeConfiguredRegion(_0x1a2f54)+_0x2bc1d7(0x183)+_0x357415+'.',_0x2bc1d7(0x193)+CLI_BIN_NAME+_0x2bc1d7(0x186));return normalizeLovrabetRegion(_0x1a2f54)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x441b3a){const _0x3ee2fc=a260_0x43a737,_0x44df5e=selectConfiguredRegion(_0x441b3a),_0x41b2cd=_0x44df5e[_0x3ee2fc(0x191)]===_0x3ee2fc(0x180)?_0x441b3a[_0x3ee2fc(0x188)]?_0x3ee2fc(0x187)+_0x441b3a[_0x3ee2fc(0x188)]+'\x22':_0x3ee2fc(0x190):_0x44df5e[_0x3ee2fc(0x191)]===_0x3ee2fc(0x18c)?_0x3ee2fc(0x19a):_0x44df5e['source']===_0x3ee2fc(0x194)?_0x3ee2fc(0x19d):'Rabetbase\x20configuration';return{'region':resolveConfiguredRegion(_0x44df5e[_0x3ee2fc(0x18d)],_0x41b2cd),'source':_0x44df5e[_0x3ee2fc(0x191)]};}
1
+ const a260_0x36caf9=a260_0x5292;(function(_0x405985,_0x432a38){const _0x77edb7=a260_0x5292,_0x858a9=_0x405985();while(!![]){try{const _0x27bdd2=-parseInt(_0x77edb7(0x17e))/0x1+-parseInt(_0x77edb7(0x17d))/0x2*(parseInt(_0x77edb7(0x175))/0x3)+-parseInt(_0x77edb7(0x170))/0x4*(parseInt(_0x77edb7(0x16b))/0x5)+-parseInt(_0x77edb7(0x166))/0x6*(-parseInt(_0x77edb7(0x17b))/0x7)+parseInt(_0x77edb7(0x16e))/0x8+-parseInt(_0x77edb7(0x16d))/0x9*(-parseInt(_0x77edb7(0x174))/0xa)+-parseInt(_0x77edb7(0x181))/0xb;if(_0x27bdd2===_0x432a38)break;else _0x858a9['push'](_0x858a9['shift']());}catch(_0x5971b7){_0x858a9['push'](_0x858a9['shift']());}}}(a260_0x23df,0x6a279));import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'../constant/region.js';function a260_0x5292(_0x591fdd,_0x3a3004){_0x591fdd=_0x591fdd-0x166;const _0x23df9b=a260_0x23df();let _0x52924e=_0x23df9b[_0x591fdd];return _0x52924e;}function a260_0x23df(){const _0x378b30=['appName','2515542KHECIv','project','global','Run\x20`','projectRegion','865iSTsgl','Rabetbase\x20configuration','1161FjbDoS','500448QCgqHi','mergedRegion','744beQEMt','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','config','default','7390dEPNGE','804FHMoFq','globalRegion','appRegion','string','app','selected\x20app\x20profile','14gcRZiD','a\x20value\x20of\x20type\x20','1314gYDHCo','251604gVsgHO','source','global\x20Rabetbase\x20configuration','1119074JOryQk','project\x20Rabetbase\x20configuration'];a260_0x23df=function(){return _0x378b30;};return a260_0x23df();}import{CliErrors}from'../errors.js';export function selectConfiguredRegion(_0x5e01a5){const _0x420901=a260_0x5292;if(_0x5e01a5[_0x420901(0x177)]!==undefined&&_0x5e01a5[_0x420901(0x177)]!==null&&_0x5e01a5[_0x420901(0x177)]!=='')return{'value':_0x5e01a5[_0x420901(0x177)],'source':_0x420901(0x179)};if(_0x5e01a5[_0x420901(0x16a)]!==undefined&&_0x5e01a5['projectRegion']!==null&&_0x5e01a5['projectRegion']!=='')return{'value':_0x5e01a5[_0x420901(0x16a)],'source':'project'};if(_0x5e01a5['globalRegion']!==undefined&&_0x5e01a5[_0x420901(0x176)]!==null&&_0x5e01a5[_0x420901(0x176)]!=='')return{'value':_0x5e01a5['globalRegion'],'source':_0x420901(0x168)};if(_0x5e01a5[_0x420901(0x16f)]!==undefined&&_0x5e01a5[_0x420901(0x16f)]!==null&&_0x5e01a5['mergedRegion']!=='')return{'value':_0x5e01a5[_0x420901(0x16f)],'source':_0x420901(0x172)};return{'value':undefined,'source':_0x420901(0x173)};}function describeConfiguredRegion(_0x26e6b7){const _0x516701=a260_0x5292;return typeof _0x26e6b7===_0x516701(0x178)?JSON['stringify'](_0x26e6b7):_0x516701(0x17c)+(_0x26e6b7===null?'null':typeof _0x26e6b7);}export function resolveConfiguredRegion(_0x1aece1,_0x5b375f=a260_0x36caf9(0x16c)){const _0x3020aa=a260_0x36caf9;if(isInvalidLovrabetRegion(_0x1aece1))throw CliErrors['validation']('Invalid\x20country/region\x20'+describeConfiguredRegion(_0x1aece1)+'\x20in\x20'+_0x5b375f+'.',_0x3020aa(0x169)+CLI_BIN_NAME+_0x3020aa(0x171));return normalizeLovrabetRegion(_0x1aece1)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x248ddd){const _0x571998=a260_0x36caf9,_0x3bdcc5=selectConfiguredRegion(_0x248ddd),_0x8ae5e3=_0x3bdcc5[_0x571998(0x17f)]==='app'?_0x248ddd[_0x571998(0x183)]?'app\x20profile\x20\x22'+_0x248ddd[_0x571998(0x183)]+'\x22':_0x571998(0x17a):_0x3bdcc5[_0x571998(0x17f)]===_0x571998(0x167)?_0x571998(0x182):_0x3bdcc5['source']==='global'?_0x571998(0x180):_0x571998(0x16c);return{'region':resolveConfiguredRegion(_0x3bdcc5['value'],_0x8ae5e3),'source':_0x3bdcc5['source']};}
@@ -1 +1 @@
1
- const a261_0x1e5104=a261_0x2e87;(function(_0x5ec418,_0x3e1c46){const _0x39fa84=a261_0x2e87,_0x191bdb=_0x5ec418();while(!![]){try{const _0x3fe22e=parseInt(_0x39fa84(0x13b))/0x1*(-parseInt(_0x39fa84(0x15d))/0x2)+parseInt(_0x39fa84(0x16a))/0x3+parseInt(_0x39fa84(0x15f))/0x4+-parseInt(_0x39fa84(0x144))/0x5*(parseInt(_0x39fa84(0x133))/0x6)+-parseInt(_0x39fa84(0x14b))/0x7+parseInt(_0x39fa84(0x142))/0x8*(-parseInt(_0x39fa84(0x140))/0x9)+-parseInt(_0x39fa84(0x134))/0xa*(-parseInt(_0x39fa84(0x153))/0xb);if(_0x3fe22e===_0x3e1c46)break;else _0x191bdb['push'](_0x191bdb['shift']());}catch(_0x4857e4){_0x191bdb['push'](_0x191bdb['shift']());}}}(a261_0x42e6,0x3e505));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=[a261_0x1e5104(0x141),a261_0x1e5104(0x137),a261_0x1e5104(0x151),a261_0x1e5104(0x14f),a261_0x1e5104(0x14a),a261_0x1e5104(0x164),a261_0x1e5104(0x138),a261_0x1e5104(0x14c),a261_0x1e5104(0x159),a261_0x1e5104(0x163),a261_0x1e5104(0x145),a261_0x1e5104(0x13a),'kbServiceDomain',a261_0x1e5104(0x13e),a261_0x1e5104(0x152),a261_0x1e5104(0x147)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a261_0x1e5104(0x132),a261_0x1e5104(0x157),a261_0x1e5104(0x151),a261_0x1e5104(0x14f),'cookie',a261_0x1e5104(0x137),a261_0x1e5104(0x155),a261_0x1e5104(0x164),'userDomain',a261_0x1e5104(0x159),'runtimeDomain',a261_0x1e5104(0x145),a261_0x1e5104(0x13a),a261_0x1e5104(0x154),a261_0x1e5104(0x13e),a261_0x1e5104(0x152),'certificateDomain']);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x1051ad){const _0x407ff4=a261_0x1e5104;return[..._0x1051ad][_0x407ff4(0x139)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0xb0062a){const _0x3bd1b6=a261_0x1e5104;return TOP_LEVEL_CONFIG_KEYS[_0x3bd1b6(0x160)](_0xb0062a);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x45b040=a261_0x1e5104;return _0x45b040(0x162)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':'apiGroup','region':a261_0x1e5104(0x164),'env':'env','apiDir':a261_0x1e5104(0x155),'cookie':a261_0x1e5104(0x141),'accessKey':a261_0x1e5104(0x137),'defaultFormat':'format','pageSize':a261_0x1e5104(0x168),'riskLevel':'riskLevel','locale':a261_0x1e5104(0x151)};export function getAppProfileFlagDefs(){const _0x501eef=a261_0x1e5104;return[{'name':_0x501eef(0x135),'type':_0x501eef(0x15e),'description':'Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry'},{'name':_0x501eef(0x164),'type':_0x501eef(0x15e),'description':_0x501eef(0x156),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':_0x501eef(0x157),'type':'string','description':'Target\x20environment','enum':[...RABETBASE_ENV_VALUES]},{'name':_0x501eef(0x155),'type':_0x501eef(0x15e),'description':_0x501eef(0x136)},{'name':'cookie','type':_0x501eef(0x15e),'description':'Auth\x20cookie','hidden':!![]},{'name':_0x501eef(0x137),'type':_0x501eef(0x15e),'description':_0x501eef(0x167),'hidden':!![]},{'name':_0x501eef(0x16b),'type':_0x501eef(0x15e),'description':_0x501eef(0x146),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x501eef(0x168),'type':_0x501eef(0x13d),'description':'Default\x20page\x20size'},{'name':'riskLevel','type':_0x501eef(0x15e),'description':_0x501eef(0x13f),'enum':[...RISK_LEVEL_VALUES]},{'name':'locale','type':_0x501eef(0x15e),'description':_0x501eef(0x15a)}];}export function collectAppProfileOverrides(_0x5e118d){const _0x177c49={};for(const [_0x486693,_0x12c2e8]of Object['entries'](APP_PROFILE_FLAG_KEY_MAP)){const _0x4cf5d9=_0x5e118d(_0x486693);if(!_0x4cf5d9)continue;_0x177c49[_0x12c2e8]=_0x12c2e8==='pageSize'?Number(_0x4cf5d9):_0x4cf5d9;}return _0x177c49;}export function buildAppProfileListFields(_0x33b47c){const _0x11642a=a261_0x1e5104;return{'apiGroup':_0x33b47c[_0x11642a(0x135)]??null,'region':_0x33b47c['region']??null,'env':_0x33b47c[_0x11642a(0x157)]??null,'apiDir':_0x33b47c['apiDir']??null,'hasCookie':!!_0x33b47c['cookie'],'hasAccessKey':!!_0x33b47c[_0x11642a(0x137)],'format':_0x33b47c[_0x11642a(0x14f)]??null,'pageSize':_0x33b47c['pageSize']??null,'riskLevel':_0x33b47c[_0x11642a(0x14a)]??null,'locale':_0x33b47c[_0x11642a(0x151)]??null};}function a261_0x42e6(){const _0x36a478=['keys','object','2klNOzN','string','192336ZxakJX','has','inherit','Config\x20key\x20(','runtimeDomain','region','app','filter','Access\x20key','pageSize','trim','1340487JsEXXn','defaultFormat','appcode','2203134gNYshJ','3190rJxrtx','apiGroup','API\x20directory\x20path','accessKey','routing','join','kbDomain','49988BSCDis','isArray','number','appDomain','Risk\x20level','9WavzYY','cookie','1102424vkPBOH','values','5dIjzZW','skillDomain','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','certificateDomain','map','apps','riskLevel','2332561DGkTOM','userDomain','defaultApp','en-US','format','zh-CN','locale','localDomain','22363ZmkTpJ','kbServiceDomain','apiDir','Country/region\x20for\x20this\x20app\x20profile','env','length','apiDomain','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)'];a261_0x42e6=function(){return _0x36a478;};return a261_0x42e6();}export function buildAppDoctorFields(_0x4ce4d3,_0xe422cc){const _0x1641cb=a261_0x1e5104;return{'region':{'value':_0x4ce4d3[_0x1641cb(0x164)]||_0xe422cc[_0x1641cb(0x164)],'source':_0x4ce4d3[_0x1641cb(0x164)]?'app':'inherit'},'env':{'value':_0x4ce4d3[_0x1641cb(0x157)]||_0xe422cc[_0x1641cb(0x157)],'source':_0x4ce4d3[_0x1641cb(0x157)]?_0x1641cb(0x165):_0x1641cb(0x161)},'apiDir':{'value':_0x4ce4d3[_0x1641cb(0x155)]||_0xe422cc[_0x1641cb(0x155)],'source':_0x4ce4d3['apiDir']?'app':_0x1641cb(0x161)},'cookie':{'value':_0x4ce4d3[_0x1641cb(0x141)]||_0xe422cc[_0x1641cb(0x141)],'source':_0x4ce4d3[_0x1641cb(0x141)]?_0x1641cb(0x165):_0x1641cb(0x161)},'accessKey':{'value':_0x4ce4d3[_0x1641cb(0x137)]||_0xe422cc[_0x1641cb(0x137)],'source':_0x4ce4d3[_0x1641cb(0x137)]?_0x1641cb(0x165):_0x1641cb(0x161)}};}export function buildCanonicalAppConfig(_0x300141,_0x26ff54){const _0x51bf50=a261_0x1e5104,_0x123be2=_0x300141[_0x51bf50(0x148)](_0x1ac7e4=>String(_0x1ac7e4||'')[_0x51bf50(0x169)]())[_0x51bf50(0x166)](Boolean);if(_0x123be2['length']===0x0)return{};const _0x4a9d54={};for(const _0x244cdf of _0x123be2){_0x4a9d54[_0x244cdf]=_0x26ff54&&!isProduction(_0x26ff54)?{'appcode':_0x244cdf,'env':_0x26ff54}:{'appcode':_0x244cdf};}return _0x123be2[_0x51bf50(0x158)]>0x1?{'apps':_0x4a9d54,'defaultApp':_0x123be2[0x0]}:{'apps':_0x4a9d54};}export function normalizeStoredDefaultApp(_0x52a696,_0x4e9498){const _0x422076=a261_0x1e5104,_0x43cf70=_0x52a696['apps']&&typeof _0x52a696['apps']==='object'?_0x52a696[_0x422076(0x149)]:{},_0x407bf5=Object[_0x422076(0x15b)](_0x43cf70);if(_0x407bf5['length']<=0x1)return delete _0x52a696[_0x422076(0x14d)],undefined;const _0x45528e=typeof _0x52a696['defaultApp']===_0x422076(0x15e)&&_0x43cf70[_0x52a696['defaultApp']]?_0x52a696[_0x422076(0x14d)]:undefined,_0x3e0c0d=_0x4e9498&&_0x43cf70[_0x4e9498]?_0x4e9498:_0x45528e;if(_0x3e0c0d)return _0x52a696[_0x422076(0x14d)]=_0x3e0c0d,_0x3e0c0d;return delete _0x52a696[_0x422076(0x14d)],undefined;}export function buildCanonicalProjectConfig(_0x223ec9,_0x416462){const _0x322a71=a261_0x1e5104,{appCodes:appCodes=[],env:_0x3abbe0,metadata:_0x3f627d}=_0x416462,_0x549921={..._0x223ec9,..._0x3f627d||{}};delete _0x549921[_0x322a71(0x132)],delete _0x549921[_0x322a71(0x165)];const _0x2151c5=_0x3abbe0||(typeof _0x549921['env']===_0x322a71(0x15e)?_0x549921['env']:'')||DEFAULT_CONFIG_VALUES['env'];if(isProduction(_0x2151c5))delete _0x549921[_0x322a71(0x157)];else _0x549921[_0x322a71(0x157)]=_0x2151c5;const _0x575a9e=buildCanonicalAppConfig(appCodes,_0x2151c5);if(Object['keys'](_0x575a9e)['length']>0x0){_0x549921['apps']=_0x575a9e[_0x322a71(0x149)];if(_0x575a9e[_0x322a71(0x14d)])_0x549921[_0x322a71(0x14d)]=_0x575a9e['defaultApp'];else delete _0x549921[_0x322a71(0x14d)];}return normalizeConfigForWrite(_0x549921);}function isRecord(_0x593c3f){const _0x46b050=a261_0x1e5104;return!!_0x593c3f&&typeof _0x593c3f===_0x46b050(0x15c)&&!Array[_0x46b050(0x13c)](_0x593c3f);}export function normalizeConfigForWrite(_0x37646c){const _0x4bc780=a261_0x1e5104,_0x3c6f83={..._0x37646c},_0xa9e8a9=isRecord(_0x37646c['apps'])?_0x37646c['apps']:undefined,_0x435df4=_0xa9e8a9?Object['fromEntries'](Object['entries'](_0xa9e8a9)[_0x4bc780(0x148)](([_0x2341ed,_0x5e5da1])=>[_0x2341ed,isRecord(_0x5e5da1)?{..._0x5e5da1}:_0x5e5da1])):undefined;if(_0x435df4){const _0x3be403=typeof _0x3c6f83[_0x4bc780(0x157)]==='string'?_0x3c6f83[_0x4bc780(0x157)]:undefined,_0x38a0bf=Object[_0x4bc780(0x143)](_0x435df4)['some'](_0x29a6d5=>isRecord(_0x29a6d5)&&typeof _0x29a6d5[_0x4bc780(0x157)]===_0x4bc780(0x15e)&&isProduction(_0x29a6d5[_0x4bc780(0x157)]));if(_0x3be403&&isDaily(_0x3be403)&&_0x38a0bf){for(const _0x130c5e of Object['values'](_0x435df4)){if(!isRecord(_0x130c5e))continue;if(_0x130c5e[_0x4bc780(0x157)]===undefined)_0x130c5e[_0x4bc780(0x157)]=_0x3be403;}delete _0x3c6f83['env'];}for(const _0x48767b of Object[_0x4bc780(0x143)](_0x435df4)){isRecord(_0x48767b)&&typeof _0x48767b[_0x4bc780(0x157)]==='string'&&isProduction(_0x48767b[_0x4bc780(0x157)])&&delete _0x48767b[_0x4bc780(0x157)];}_0x3c6f83['apps']=_0x435df4;}return typeof _0x3c6f83['env']==='string'&&isProduction(_0x3c6f83[_0x4bc780(0x157)])&&delete _0x3c6f83[_0x4bc780(0x157)],_0x3c6f83;}const LOCALE_MAP={'zh':a261_0x1e5104(0x150),'zh-cn':a261_0x1e5104(0x150),'zh_cn':a261_0x1e5104(0x150),'en':a261_0x1e5104(0x14e),'en-us':'en-US','en_us':a261_0x1e5104(0x14e)};function a261_0x2e87(_0x5b7d33,_0x5f28aa){_0x5b7d33=_0x5b7d33-0x132;const _0x42e6f3=a261_0x42e6();let _0x2e87a0=_0x42e6f3[_0x5b7d33];return _0x2e87a0;}export function normalizeLocale(_0x44ebbb){if(!_0x44ebbb)return null;return LOCALE_MAP[_0x44ebbb['toLowerCase']()]??null;}
1
+ const a261_0x587b92=a261_0x2849;(function(_0x527cbc,_0x2f4bce){const _0x2394a7=a261_0x2849,_0x57b360=_0x527cbc();while(!![]){try{const _0x43f94f=parseInt(_0x2394a7(0x212))/0x1*(parseInt(_0x2394a7(0x1fb))/0x2)+-parseInt(_0x2394a7(0x20a))/0x3+parseInt(_0x2394a7(0x213))/0x4+parseInt(_0x2394a7(0x1ef))/0x5+-parseInt(_0x2394a7(0x1f2))/0x6*(-parseInt(_0x2394a7(0x1eb))/0x7)+-parseInt(_0x2394a7(0x1fa))/0x8+-parseInt(_0x2394a7(0x1f3))/0x9*(parseInt(_0x2394a7(0x1ec))/0xa);if(_0x43f94f===_0x2f4bce)break;else _0x57b360['push'](_0x57b360['shift']());}catch(_0x22e039){_0x57b360['push'](_0x57b360['shift']());}}}(a261_0x4be2,0x4d828));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=[a261_0x587b92(0x202),a261_0x587b92(0x211),a261_0x587b92(0x21b),a261_0x587b92(0x219),a261_0x587b92(0x1f6),'region','routing',a261_0x587b92(0x1ea),a261_0x587b92(0x1f1),a261_0x587b92(0x216),a261_0x587b92(0x1e8),'kbDomain',a261_0x587b92(0x209),'appDomain',a261_0x587b92(0x1f8),a261_0x587b92(0x1fd)];function a261_0x2849(_0x22bec4,_0x7637a){_0x22bec4=_0x22bec4-0x1e6;const _0x4be223=a261_0x4be2();let _0x284958=_0x4be223[_0x22bec4];return _0x284958;}export const TOP_LEVEL_CONFIG_KEYS=new Set([a261_0x587b92(0x21a),a261_0x587b92(0x201),a261_0x587b92(0x21b),a261_0x587b92(0x219),'cookie',a261_0x587b92(0x211),a261_0x587b92(0x204),a261_0x587b92(0x20f),a261_0x587b92(0x1ea),a261_0x587b92(0x1f1),a261_0x587b92(0x216),a261_0x587b92(0x1e8),a261_0x587b92(0x21c),a261_0x587b92(0x209),a261_0x587b92(0x203),a261_0x587b92(0x1f8),a261_0x587b92(0x1fd)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x2e545d){const _0x3ded59=a261_0x587b92;return[..._0x2e545d][_0x3ded59(0x1fc)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x78aab5){return TOP_LEVEL_CONFIG_KEYS['has'](_0x78aab5);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x56fdf4=a261_0x587b92;return _0x56fdf4(0x21d)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':a261_0x587b92(0x217),'region':a261_0x587b92(0x20f),'env':a261_0x587b92(0x201),'apiDir':a261_0x587b92(0x204),'cookie':a261_0x587b92(0x202),'accessKey':a261_0x587b92(0x211),'defaultFormat':a261_0x587b92(0x219),'pageSize':a261_0x587b92(0x20b),'riskLevel':a261_0x587b92(0x1f6),'locale':a261_0x587b92(0x21b)};export function getAppProfileFlagDefs(){const _0x4a0777=a261_0x587b92;return[{'name':_0x4a0777(0x217),'type':_0x4a0777(0x207),'description':'Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry'},{'name':'region','type':_0x4a0777(0x207),'description':_0x4a0777(0x1f7),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':_0x4a0777(0x201),'type':'string','description':_0x4a0777(0x200),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x4a0777(0x204),'type':_0x4a0777(0x207),'description':_0x4a0777(0x20e)},{'name':_0x4a0777(0x202),'type':'string','description':'Auth\x20cookie','hidden':!![]},{'name':_0x4a0777(0x211),'type':_0x4a0777(0x207),'description':_0x4a0777(0x215),'hidden':!![]},{'name':_0x4a0777(0x218),'type':_0x4a0777(0x207),'description':'Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x4a0777(0x20b),'type':_0x4a0777(0x208),'description':_0x4a0777(0x20c)},{'name':_0x4a0777(0x1f6),'type':_0x4a0777(0x207),'description':'Risk\x20level','enum':[...RISK_LEVEL_VALUES]},{'name':_0x4a0777(0x21b),'type':_0x4a0777(0x207),'description':_0x4a0777(0x210)}];}function a261_0x4be2(){const _0xe4f312=['kbServiceDomain','1309494JSDzDW','pageSize','Default\x20page\x20size','entries','API\x20directory\x20path','region','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','accessKey','5053XdisfZ','735280IklPyH','keys','Access\x20key','runtimeDomain','apiGroup','defaultFormat','format','appcode','locale','kbDomain','Config\x20key\x20(','en-US','defaultApp','skillDomain','values','userDomain','7oGotaK','10zMbfCw','map','length','1426830afJXwX','app','apiDomain','3792234AoMdqT','4608621MkzZpm','fromEntries','inherit','riskLevel','Country/region\x20for\x20this\x20app\x20profile','localDomain','object','1915344zfTvxH','160IyVwKl','join','certificateDomain','some','apps','Target\x20environment','env','cookie','appDomain','apiDir','zh-CN','filter','string','number'];a261_0x4be2=function(){return _0xe4f312;};return a261_0x4be2();}export function collectAppProfileOverrides(_0x8a75e6){const _0x4473d1={};for(const [_0x4a0b53,_0x3308f7]of Object['entries'](APP_PROFILE_FLAG_KEY_MAP)){const _0x35b3b1=_0x8a75e6(_0x4a0b53);if(!_0x35b3b1)continue;_0x4473d1[_0x3308f7]=_0x3308f7==='pageSize'?Number(_0x35b3b1):_0x35b3b1;}return _0x4473d1;}export function buildAppProfileListFields(_0x2659f1){const _0xbaf681=a261_0x587b92;return{'apiGroup':_0x2659f1['apiGroup']??null,'region':_0x2659f1[_0xbaf681(0x20f)]??null,'env':_0x2659f1[_0xbaf681(0x201)]??null,'apiDir':_0x2659f1[_0xbaf681(0x204)]??null,'hasCookie':!!_0x2659f1[_0xbaf681(0x202)],'hasAccessKey':!!_0x2659f1['accessKey'],'format':_0x2659f1[_0xbaf681(0x219)]??null,'pageSize':_0x2659f1['pageSize']??null,'riskLevel':_0x2659f1[_0xbaf681(0x1f6)]??null,'locale':_0x2659f1[_0xbaf681(0x21b)]??null};}export function buildAppDoctorFields(_0x2a40cb,_0x4b0d0d){const _0x55127b=a261_0x587b92;return{'region':{'value':_0x2a40cb[_0x55127b(0x20f)]||_0x4b0d0d['region'],'source':_0x2a40cb[_0x55127b(0x20f)]?_0x55127b(0x1f0):_0x55127b(0x1f5)},'env':{'value':_0x2a40cb[_0x55127b(0x201)]||_0x4b0d0d['env'],'source':_0x2a40cb['env']?_0x55127b(0x1f0):_0x55127b(0x1f5)},'apiDir':{'value':_0x2a40cb['apiDir']||_0x4b0d0d['apiDir'],'source':_0x2a40cb[_0x55127b(0x204)]?_0x55127b(0x1f0):_0x55127b(0x1f5)},'cookie':{'value':_0x2a40cb[_0x55127b(0x202)]||_0x4b0d0d[_0x55127b(0x202)],'source':_0x2a40cb[_0x55127b(0x202)]?'app':_0x55127b(0x1f5)},'accessKey':{'value':_0x2a40cb[_0x55127b(0x211)]||_0x4b0d0d['accessKey'],'source':_0x2a40cb[_0x55127b(0x211)]?'app':'inherit'}};}export function buildCanonicalAppConfig(_0x446e40,_0x4fefc5){const _0x476ecc=a261_0x587b92,_0x2c6631=_0x446e40[_0x476ecc(0x1ed)](_0x80626=>String(_0x80626||'')['trim']())[_0x476ecc(0x206)](Boolean);if(_0x2c6631['length']===0x0)return{};const _0x1049a3={};for(const _0x4ea965 of _0x2c6631){_0x1049a3[_0x4ea965]=_0x4fefc5&&!isProduction(_0x4fefc5)?{'appcode':_0x4ea965,'env':_0x4fefc5}:{'appcode':_0x4ea965};}return _0x2c6631[_0x476ecc(0x1ee)]>0x1?{'apps':_0x1049a3,'defaultApp':_0x2c6631[0x0]}:{'apps':_0x1049a3};}export function normalizeStoredDefaultApp(_0x18a987,_0x285847){const _0x275da6=a261_0x587b92,_0x332c98=_0x18a987[_0x275da6(0x1ff)]&&typeof _0x18a987[_0x275da6(0x1ff)]===_0x275da6(0x1f9)?_0x18a987['apps']:{},_0x198f0d=Object[_0x275da6(0x214)](_0x332c98);if(_0x198f0d[_0x275da6(0x1ee)]<=0x1)return delete _0x18a987[_0x275da6(0x1e7)],undefined;const _0x477248=typeof _0x18a987[_0x275da6(0x1e7)]===_0x275da6(0x207)&&_0x332c98[_0x18a987[_0x275da6(0x1e7)]]?_0x18a987[_0x275da6(0x1e7)]:undefined,_0x21f426=_0x285847&&_0x332c98[_0x285847]?_0x285847:_0x477248;if(_0x21f426)return _0x18a987[_0x275da6(0x1e7)]=_0x21f426,_0x21f426;return delete _0x18a987[_0x275da6(0x1e7)],undefined;}export function buildCanonicalProjectConfig(_0xa3823b,_0x37a505){const _0xbd8c7=a261_0x587b92,{appCodes:appCodes=[],env:_0x4cf579,metadata:_0x16b2e2}=_0x37a505,_0x26b283={..._0xa3823b,..._0x16b2e2||{}};delete _0x26b283['appcode'],delete _0x26b283[_0xbd8c7(0x1f0)];const _0x128459=_0x4cf579||(typeof _0x26b283[_0xbd8c7(0x201)]==='string'?_0x26b283[_0xbd8c7(0x201)]:'')||DEFAULT_CONFIG_VALUES[_0xbd8c7(0x201)];if(isProduction(_0x128459))delete _0x26b283[_0xbd8c7(0x201)];else _0x26b283['env']=_0x128459;const _0x3bd323=buildCanonicalAppConfig(appCodes,_0x128459);if(Object['keys'](_0x3bd323)[_0xbd8c7(0x1ee)]>0x0){_0x26b283[_0xbd8c7(0x1ff)]=_0x3bd323[_0xbd8c7(0x1ff)];if(_0x3bd323[_0xbd8c7(0x1e7)])_0x26b283[_0xbd8c7(0x1e7)]=_0x3bd323[_0xbd8c7(0x1e7)];else delete _0x26b283[_0xbd8c7(0x1e7)];}return normalizeConfigForWrite(_0x26b283);}function isRecord(_0x581a5e){const _0x584287=a261_0x587b92;return!!_0x581a5e&&typeof _0x581a5e===_0x584287(0x1f9)&&!Array['isArray'](_0x581a5e);}export function normalizeConfigForWrite(_0x26cd9e){const _0x35f5a4=a261_0x587b92,_0xf82f32={..._0x26cd9e},_0x5e2e6f=isRecord(_0x26cd9e[_0x35f5a4(0x1ff)])?_0x26cd9e['apps']:undefined,_0x5cb4c3=_0x5e2e6f?Object[_0x35f5a4(0x1f4)](Object[_0x35f5a4(0x20d)](_0x5e2e6f)[_0x35f5a4(0x1ed)](([_0x238625,_0x4e6433])=>[_0x238625,isRecord(_0x4e6433)?{..._0x4e6433}:_0x4e6433])):undefined;if(_0x5cb4c3){const _0x4beedd=typeof _0xf82f32[_0x35f5a4(0x201)]===_0x35f5a4(0x207)?_0xf82f32['env']:undefined,_0xb9496a=Object[_0x35f5a4(0x1e9)](_0x5cb4c3)[_0x35f5a4(0x1fe)](_0x2bed60=>isRecord(_0x2bed60)&&typeof _0x2bed60[_0x35f5a4(0x201)]===_0x35f5a4(0x207)&&isProduction(_0x2bed60[_0x35f5a4(0x201)]));if(_0x4beedd&&isDaily(_0x4beedd)&&_0xb9496a){for(const _0x1b23e4 of Object['values'](_0x5cb4c3)){if(!isRecord(_0x1b23e4))continue;if(_0x1b23e4[_0x35f5a4(0x201)]===undefined)_0x1b23e4[_0x35f5a4(0x201)]=_0x4beedd;}delete _0xf82f32[_0x35f5a4(0x201)];}for(const _0x2617d9 of Object[_0x35f5a4(0x1e9)](_0x5cb4c3)){isRecord(_0x2617d9)&&typeof _0x2617d9[_0x35f5a4(0x201)]==='string'&&isProduction(_0x2617d9[_0x35f5a4(0x201)])&&delete _0x2617d9[_0x35f5a4(0x201)];}_0xf82f32[_0x35f5a4(0x1ff)]=_0x5cb4c3;}return typeof _0xf82f32[_0x35f5a4(0x201)]==='string'&&isProduction(_0xf82f32[_0x35f5a4(0x201)])&&delete _0xf82f32['env'],_0xf82f32;}const LOCALE_MAP={'zh':a261_0x587b92(0x205),'zh-cn':a261_0x587b92(0x205),'zh_cn':a261_0x587b92(0x205),'en':a261_0x587b92(0x1e6),'en-us':a261_0x587b92(0x1e6),'en_us':'en-US'};export function normalizeLocale(_0x19b38d){if(!_0x19b38d)return null;return LOCALE_MAP[_0x19b38d['toLowerCase']()]??null;}
@@ -1 +1 @@
1
- const a262_0x5101bc=a262_0x4d2e;(function(_0x36831b,_0x276893){const _0x172eb6=a262_0x4d2e,_0x8bdd33=_0x36831b();while(!![]){try{const _0x3b79b4=-parseInt(_0x172eb6(0x1bf))/0x1*(parseInt(_0x172eb6(0x1cf))/0x2)+-parseInt(_0x172eb6(0x1c6))/0x3+-parseInt(_0x172eb6(0x1c4))/0x4+parseInt(_0x172eb6(0x1c2))/0x5*(-parseInt(_0x172eb6(0x1ce))/0x6)+parseInt(_0x172eb6(0x1cd))/0x7+-parseInt(_0x172eb6(0x1c5))/0x8*(parseInt(_0x172eb6(0x1c3))/0x9)+-parseInt(_0x172eb6(0x1c1))/0xa*(-parseInt(_0x172eb6(0x1cc))/0xb);if(_0x3b79b4===_0x276893)break;else _0x8bdd33['push'](_0x8bdd33['shift']());}catch(_0x46419d){_0x8bdd33['push'](_0x8bdd33['shift']());}}}(a262_0x5beb,0x23de6));import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT=a262_0x5101bc(0x1d1),RABETBASE_CDN_CONFIG_ORIGIN=a262_0x5101bc(0x1c9),CDN_CONFIG_PATH=a262_0x5101bc(0x1c8),PROJECT_TEMPLATE_ASSET_PATH='templates/projects',PROJECT_TEMPLATE_ARCHIVE_NAMES=Object['freeze']({'release':a262_0x5101bc(0x1c7),'beta':a262_0x5101bc(0x1ca)});export const RABETBASE_CDN_PROJECT_PATH='/dist/'+RABETBASE_CDN_PROJECT;function a262_0x5beb(){const _0x400ef9=['sub-app-react-demo-','rabetbase-cli','9eLyIdI','.zip','50fJryko','5uCahkw','482004XFaxwx','1115888pHwjFy','32TuUnCd','540810oAAlSb','sub-app-react-demo.zip','config/index.json','https://g.lovrabet.com','sub-app-react-demo-beta.zip','lovrabet','2753223xbZsZW','31829KfTZzm','975354swXoyj','60682feqShd'];a262_0x5beb=function(){return _0x400ef9;};return a262_0x5beb();}function a262_0x4d2e(_0x491a5b,_0x345fd7){_0x491a5b=_0x491a5b-0x1bf;const _0x5beb41=a262_0x5beb();let _0x4d2ecf=_0x5beb41[_0x491a5b];return _0x4d2ecf;}function getRabetbaseCdnBaseUrl(){const _0x4019fa=a262_0x5101bc;return''+getActiveCdn()[_0x4019fa(0x1cb)]+RABETBASE_CDN_PROJECT_PATH;}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}export function getProjectTemplateAssetBaseUrl(){return getRabetbaseCdnBaseUrl()+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x3e9da4,_0x4803c5){const _0x31f99a=a262_0x5101bc,_0x35b8c0=_0x4803c5?_0x31f99a(0x1d0)+_0x4803c5+_0x31f99a(0x1c0):PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x3e9da4];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x35b8c0;}
1
+ const a262_0x2ccae3=a262_0x1c97;function a262_0x1aef(){const _0x34d40b=['sub-app-react-demo-','https://g.lovrabet.com','config/index.json','1090ZRnlow','sub-app-react-demo-beta.zip','1045135XMYJOW','261527kvBSFC','9320ZQEQgI','sub-app-react-demo.zip','3488290QtxKUU','/dist/','48QluBOq','90eqXnNw','templates/projects','99648yVoDeL','2367864PqjyRn','393yiRwsN','33iVPvqU','lovrabet','53CpbBqx'];a262_0x1aef=function(){return _0x34d40b;};return a262_0x1aef();}function a262_0x1c97(_0x592d0e,_0x1ddfd5){_0x592d0e=_0x592d0e-0x1b2;const _0x1aef96=a262_0x1aef();let _0x1c97e0=_0x1aef96[_0x592d0e];return _0x1c97e0;}(function(_0x1c79f2,_0x2af63a){const _0x41691a=a262_0x1c97,_0x19e638=_0x1c79f2();while(!![]){try{const _0x2f8828=parseInt(_0x41691a(0x1c2))/0x1*(parseInt(_0x41691a(0x1b2))/0x2)+parseInt(_0x41691a(0x1bf))/0x3*(parseInt(_0x41691a(0x1b6))/0x4)+-parseInt(_0x41691a(0x1b4))/0x5+parseInt(_0x41691a(0x1ba))/0x6*(-parseInt(_0x41691a(0x1b5))/0x7)+-parseInt(_0x41691a(0x1bd))/0x8*(-parseInt(_0x41691a(0x1bb))/0x9)+-parseInt(_0x41691a(0x1b8))/0xa+parseInt(_0x41691a(0x1c0))/0xb*(parseInt(_0x41691a(0x1be))/0xc);if(_0x2f8828===_0x2af63a)break;else _0x19e638['push'](_0x19e638['shift']());}catch(_0x3e73d6){_0x19e638['push'](_0x19e638['shift']());}}}(a262_0x1aef,0x2f569));import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT='rabetbase-cli',RABETBASE_CDN_CONFIG_ORIGIN=a262_0x2ccae3(0x1c4),CDN_CONFIG_PATH=a262_0x2ccae3(0x1c5),PROJECT_TEMPLATE_ASSET_PATH=a262_0x2ccae3(0x1bc),PROJECT_TEMPLATE_ARCHIVE_NAMES=Object['freeze']({'release':a262_0x2ccae3(0x1b7),'beta':a262_0x2ccae3(0x1b3)});export const RABETBASE_CDN_PROJECT_PATH=a262_0x2ccae3(0x1b9)+RABETBASE_CDN_PROJECT;function getRabetbaseCdnBaseUrl(){const _0x49433f=a262_0x2ccae3;return''+getActiveCdn()[_0x49433f(0x1c1)]+RABETBASE_CDN_PROJECT_PATH;}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}export function getProjectTemplateAssetBaseUrl(){return getRabetbaseCdnBaseUrl()+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x1c4e7b,_0x5b6025){const _0x18bbd8=a262_0x2ccae3,_0x53c25b=_0x5b6025?_0x18bbd8(0x1c3)+_0x5b6025+'.zip':PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x1c4e7b];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x53c25b;}
@@ -1 +1 @@
1
- function a263_0x2fa0(){const _0x412e1b=['Preview\x20operation\x20without\x20executing','Name','codes','sort','Force\x20overwrite','Tags','json\x20|\x20pretty\x20|\x20compress','Verbose\x20output','task-id','2185351tEzQgg','non-interactive','Maximum\x20search\x20hits','Schemas','production\x20|\x20daily','1654302TbUqTL','File\x20path','Output\x20format','pageSize','expectedCount','global','schemas','value','stdin','Use\x20remote','<code>','flow-name','Rabetbase\x20CLI','expectPath','sqlcode','Skip\x20confirmation\x20for\x20high-risk\x20writes','Clear','Confirm\x20destructive\x20action','pagesize','target','Page\x20size','Record\x20ID','zh-CN\x20|\x20en-US','taskId','Target\x20path','Description','verbose','help','parentId','app','locale','project','expectParentId','remote','flow-type','sqlname','Use\x20global\x20config\x20scope','flow-code','sqlName','parent-id','Search\x20query','appcode','fromEnv','meowKey','Override\x20appcode','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','description','143896FVmXdy','env','Code\x20filter','Show\x20help','SQL\x20string','Skip\x20import\x20generation','DB\x20ID','189248WMHErD','Menu\x20sort\x20value','Expected\x20affected\x20count','clear','enableBffSave','Expected\x20current\x20menu\x20path','all','label','function-node','Flow\x20code','datasetCode','datasetcode','dbid','code','Parent\x20menu\x20id','output','2147232JAIXjR','nonInteractive','operation','expected-count','operation-type','topk','menuIds','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','page','dry-run','query','type','Select\x20app\x20profile\x20by\x20name','functionNode','Dataset\x20code','265352qowayq','reveal','Expected\x20current\x20parent\x20menu\x20id','<name>','file','Config\x20key','Flow\x20type','Apply\x20to\x20all','params','confirm','dataset-code','title','Read\x20value\x20from\x20environment\x20variable','string','Alias\x20for\x20--non-interactive','sql-name','Flow\x20status','boolean','<expr>','format','flowType','force','skipImports','db-id','Operation\x20type','Comma-separated\x20metadata\x20codes','name','dbId','rabetbase','expect-parent-id','flow-status','expect-path','sql','Menu\x20label','8279912fnIqku','descriptionFile','JSON\x20params','Flow\x20name','Title','keyword','tags','map','enable-bff-save','key','Watch\x20mode','yes','dryRun','10AVvgGi','Reveal\x20sensitive\x20value','flowCode'];a263_0x2fa0=function(){return _0x412e1b;};return a263_0x2fa0();}const a263_0x4f94eb=a263_0x59bf;(function(_0x2fa4ca,_0x3db517){const _0x433ba6=a263_0x59bf,_0x5e90fa=_0x2fa4ca();while(!![]){try{const _0xa29c7=-parseInt(_0x433ba6(0x21f))/0x1+-parseInt(_0x433ba6(0x226))/0x2+-parseInt(_0x433ba6(0x1f0))/0x3+parseInt(_0x433ba6(0x245))/0x4*(parseInt(_0x433ba6(0x1df))/0x5)+-parseInt(_0x433ba6(0x236))/0x6+parseInt(_0x433ba6(0x1eb))/0x7+parseInt(_0x433ba6(0x1d2))/0x8;if(_0xa29c7===_0x3db517)break;else _0x5e90fa['push'](_0x5e90fa['shift']());}catch(_0x3e1d03){_0x5e90fa['push'](_0x5e90fa['shift']());}}}(a263_0x2fa0,0x51100));export const CLI_BIN_NAME=a263_0x4f94eb(0x1cc);export const CLI_DISPLAY_NAME=a263_0x4f94eb(0x1fc);export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':a263_0x4f94eb(0x219),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x21c),'hint':a263_0x4f94eb(0x1fa)},{'name':'app','meowKey':a263_0x4f94eb(0x20d),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x242),'hint':a263_0x4f94eb(0x248)},{'name':a263_0x4f94eb(0x220),'meowKey':'env','type':'string','description':'Environment','hint':a263_0x4f94eb(0x1ef)},{'name':'format','meowKey':a263_0x4f94eb(0x1c3),'type':'string','description':a263_0x4f94eb(0x1f2),'hint':a263_0x4f94eb(0x1e8)},{'name':'jq','meowKey':'jq','type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x21d),'hint':a263_0x4f94eb(0x1c2)},{'name':a263_0x4f94eb(0x23f),'meowKey':a263_0x4f94eb(0x1de),'type':'boolean','description':a263_0x4f94eb(0x1e2)},{'name':a263_0x4f94eb(0x1dd),'meowKey':a263_0x4f94eb(0x1dd),'type':a263_0x4f94eb(0x1c1),'description':a263_0x4f94eb(0x1ff)},{'name':a263_0x4f94eb(0x1ec),'meowKey':a263_0x4f94eb(0x237),'type':'boolean','description':'Force\x20non-interactive\x20mode\x20(CI)'},{'name':'global','meowKey':a263_0x4f94eb(0x1f5),'type':a263_0x4f94eb(0x1c1),'description':a263_0x4f94eb(0x214)},{'name':a263_0x4f94eb(0x20f),'meowKey':'project','type':a263_0x4f94eb(0x1c1),'description':'Use\x20project\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':'boolean','description':a263_0x4f94eb(0x1be),'hidden':!![]},{'name':'help','meowKey':a263_0x4f94eb(0x20b),'type':a263_0x4f94eb(0x1c1),'description':a263_0x4f94eb(0x222)},{'name':a263_0x4f94eb(0x20e),'meowKey':'locale','type':'string','description':a263_0x4f94eb(0x23d),'hidden':!![],'hint':a263_0x4f94eb(0x206)},{'name':a263_0x4f94eb(0x1ca),'meowKey':'name','type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x1e3),'hidden':!![]},{'name':'title','meowKey':a263_0x4f94eb(0x1bb),'type':'string','description':a263_0x4f94eb(0x1d6),'hidden':!![]},{'name':a263_0x4f94eb(0x240),'meowKey':a263_0x4f94eb(0x240),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x218),'hidden':!![]},{'name':a263_0x4f94eb(0x23b),'meowKey':'topk','type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x1ed),'hidden':!![]},{'name':a263_0x4f94eb(0x229),'meowKey':'clear','type':'boolean','description':a263_0x4f94eb(0x200),'hidden':!![]},{'name':'watch','meowKey':'watch','type':a263_0x4f94eb(0x1c1),'description':a263_0x4f94eb(0x1dc),'hidden':!![]},{'name':'output','meowKey':a263_0x4f94eb(0x235),'type':a263_0x4f94eb(0x1bd),'description':'Output\x20path','hidden':!![]},{'name':a263_0x4f94eb(0x1b8),'meowKey':'params','type':'string','description':a263_0x4f94eb(0x1d4),'hidden':!![]},{'name':a263_0x4f94eb(0x231),'meowKey':a263_0x4f94eb(0x231),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x244),'hidden':!![]},{'name':'all','meowKey':a263_0x4f94eb(0x22c),'type':a263_0x4f94eb(0x1c1),'description':a263_0x4f94eb(0x1b7),'hidden':!![]},{'name':a263_0x4f94eb(0x1da),'meowKey':a263_0x4f94eb(0x22a),'type':'boolean','description':'Enable\x20Backend\x20Function\x20save','hidden':!![]},{'name':'id','meowKey':'id','type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x205),'hidden':!![]},{'name':a263_0x4f94eb(0x241),'meowKey':a263_0x4f94eb(0x241),'type':a263_0x4f94eb(0x1bd),'description':'Type\x20filter','hidden':!![]},{'name':a263_0x4f94eb(0x249),'meowKey':'file','type':'string','description':a263_0x4f94eb(0x1f1),'hidden':!![]},{'name':a263_0x4f94eb(0x215),'meowKey':a263_0x4f94eb(0x1e1),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x22f),'hidden':!![]},{'name':a263_0x4f94eb(0x1fb),'meowKey':'flowName','type':'string','description':a263_0x4f94eb(0x1d5),'hidden':!![]},{'name':a263_0x4f94eb(0x1ce),'meowKey':'flowStatus','type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x1c0),'hidden':!![]},{'name':a263_0x4f94eb(0x212),'meowKey':a263_0x4f94eb(0x1c4),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x1b6),'hidden':!![]},{'name':a263_0x4f94eb(0x1ba),'meowKey':a263_0x4f94eb(0x230),'type':a263_0x4f94eb(0x1bd),'description':'Dataset\x20code','hidden':!![]},{'name':'sqlcode','meowKey':a263_0x4f94eb(0x1fe),'type':a263_0x4f94eb(0x1bd),'description':'SQL\x20code','hidden':!![]},{'name':a263_0x4f94eb(0x1bf),'meowKey':a263_0x4f94eb(0x216),'type':'string','description':'SQL\x20name','hidden':!![]},{'name':a263_0x4f94eb(0x213),'meowKey':a263_0x4f94eb(0x213),'type':a263_0x4f94eb(0x1bd),'description':'SQL\x20name','hidden':!![]},{'name':a263_0x4f94eb(0x1c7),'meowKey':a263_0x4f94eb(0x1cb),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x225),'hidden':!![]},{'name':a263_0x4f94eb(0x232),'meowKey':a263_0x4f94eb(0x232),'type':'string','description':a263_0x4f94eb(0x225),'hidden':!![]},{'name':a263_0x4f94eb(0x21e),'meowKey':a263_0x4f94eb(0x21e),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x209),'hidden':!![]},{'name':'description-file','meowKey':a263_0x4f94eb(0x1d3),'type':'string','description':'Description\x20file','hidden':!![]},{'name':a263_0x4f94eb(0x23e),'meowKey':'page','type':'string','description':'Page\x20number','hidden':!![]},{'name':'page-size','meowKey':a263_0x4f94eb(0x1f3),'type':a263_0x4f94eb(0x1bd),'description':'Page\x20size','hidden':!![]},{'name':a263_0x4f94eb(0x202),'meowKey':a263_0x4f94eb(0x202),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x204),'hidden':!![]},{'name':a263_0x4f94eb(0x1d7),'meowKey':a263_0x4f94eb(0x1d7),'type':a263_0x4f94eb(0x1bd),'description':'Keyword\x20filter','hidden':!![]},{'name':a263_0x4f94eb(0x233),'meowKey':a263_0x4f94eb(0x233),'type':'string','description':a263_0x4f94eb(0x221),'hidden':!![]},{'name':'sql','meowKey':a263_0x4f94eb(0x1d0),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x223),'hidden':!![]},{'name':a263_0x4f94eb(0x1f6),'meowKey':'schemas','type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x1ee),'hidden':!![]},{'name':'operation','meowKey':a263_0x4f94eb(0x238),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x1c8),'hidden':!![]},{'name':a263_0x4f94eb(0x203),'meowKey':'target','type':'string','description':a263_0x4f94eb(0x208),'hidden':!![]},{'name':'skip-imports','meowKey':a263_0x4f94eb(0x1c6),'type':a263_0x4f94eb(0x1c1),'description':a263_0x4f94eb(0x224),'hidden':!![]},{'name':a263_0x4f94eb(0x1db),'meowKey':a263_0x4f94eb(0x1db),'type':'string','description':a263_0x4f94eb(0x24a),'hidden':!![]},{'name':a263_0x4f94eb(0x1f7),'meowKey':a263_0x4f94eb(0x1f7),'type':a263_0x4f94eb(0x1bd),'description':'Config\x20value','hidden':!![]},{'name':a263_0x4f94eb(0x1d8),'meowKey':'tags','type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x1e7),'hidden':!![]},{'name':a263_0x4f94eb(0x1f8),'meowKey':a263_0x4f94eb(0x1f8),'type':a263_0x4f94eb(0x1c1),'description':'Read\x20value\x20from\x20stdin','hidden':!![]},{'name':'from-env','meowKey':a263_0x4f94eb(0x21a),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x1bc),'hidden':!![]},{'name':a263_0x4f94eb(0x246),'meowKey':a263_0x4f94eb(0x246),'type':a263_0x4f94eb(0x1c1),'description':a263_0x4f94eb(0x1e0),'hidden':!![]},{'name':a263_0x4f94eb(0x1c5),'meowKey':a263_0x4f94eb(0x1c5),'type':a263_0x4f94eb(0x1c1),'description':a263_0x4f94eb(0x1e6),'hidden':!![]},{'name':a263_0x4f94eb(0x1b9),'meowKey':a263_0x4f94eb(0x1b9),'type':'boolean','description':a263_0x4f94eb(0x201),'hidden':!![]},{'name':a263_0x4f94eb(0x211),'meowKey':a263_0x4f94eb(0x211),'type':a263_0x4f94eb(0x1c1),'description':a263_0x4f94eb(0x1f9),'hidden':!![]},{'name':'verbose','meowKey':a263_0x4f94eb(0x20a),'type':a263_0x4f94eb(0x1c1),'description':a263_0x4f94eb(0x1e9),'hidden':!![]},{'name':a263_0x4f94eb(0x239),'meowKey':a263_0x4f94eb(0x1f4),'type':'string','description':a263_0x4f94eb(0x228),'hidden':!![]},{'name':a263_0x4f94eb(0x22d),'meowKey':a263_0x4f94eb(0x22d),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x1d1),'hidden':!![]},{'name':a263_0x4f94eb(0x217),'meowKey':a263_0x4f94eb(0x20c),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x234),'hidden':!![]},{'name':a263_0x4f94eb(0x1e5),'meowKey':a263_0x4f94eb(0x1e5),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x227),'hidden':!![]},{'name':a263_0x4f94eb(0x1cd),'meowKey':a263_0x4f94eb(0x210),'type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x247),'hidden':!![]},{'name':a263_0x4f94eb(0x1cf),'meowKey':a263_0x4f94eb(0x1fd),'type':'string','description':a263_0x4f94eb(0x22b),'hidden':!![]},{'name':'expected-children-count','meowKey':'expectedChildrenCount','type':a263_0x4f94eb(0x1bd),'description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':'menu-ids','meowKey':a263_0x4f94eb(0x23c),'type':'string','description':'Comma-separated\x20menu\x20IDs','hidden':!![]},{'name':a263_0x4f94eb(0x1ea),'meowKey':a263_0x4f94eb(0x207),'type':'string','description':'Asynchronous\x20task\x20ID','hidden':!![]},{'name':a263_0x4f94eb(0x23a),'meowKey':'operationType','type':a263_0x4f94eb(0x1bd),'description':a263_0x4f94eb(0x1c8),'hidden':!![]},{'name':a263_0x4f94eb(0x22e),'meowKey':a263_0x4f94eb(0x243),'type':a263_0x4f94eb(0x1bd),'description':'Function\x20node','hidden':!![]},{'name':a263_0x4f94eb(0x1e4),'meowKey':a263_0x4f94eb(0x1e4),'type':'string','description':a263_0x4f94eb(0x1c9),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a263_0x4f94eb(0x219),a263_0x4f94eb(0x20d),a263_0x4f94eb(0x220),a263_0x4f94eb(0x1c3),'jq',a263_0x4f94eb(0x23f),a263_0x4f94eb(0x1dd),a263_0x4f94eb(0x1ec),'ci']);function a263_0x59bf(_0x1a7a39,_0x532e60){_0x1a7a39=_0x1a7a39-0x1b6;const _0x2fa0ea=a263_0x2fa0();let _0x59bfc4=_0x2fa0ea[_0x1a7a39];return _0x59bfc4;}export function buildMeowFlags(){const _0x327507=a263_0x4f94eb;return Object['fromEntries'](GLOBAL_FLAGS[_0x327507(0x1d9)](_0x2e7720=>[_0x2e7720[_0x327507(0x21b)],{'type':_0x2e7720[_0x327507(0x241)]}]));}
1
+ const a263_0x4f5cb4=a263_0x2170;function a263_0x59e3(){const _0x3fc027=['string','rabetbase','fromEnv','key','Read\x20value\x20from\x20stdin','JSON\x20params','confirm','Dataset\x20code','verbose','non-interactive','Expected\x20current\x20child\x20count','query','950523PpxYDt','description','value','boolean','Flow\x20code','enableBffSave','Page\x20number','SQL\x20code','Asynchronous\x20task\x20ID','operationType','pagesize','help','operation','production\x20|\x20daily','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','stdin','yes','reveal','db-id','45VydXFl','flowType','tags','SQL\x20string','sort','68004IvJiDH','Comma-separated\x20menu\x20IDs','locale','flow-type','json\x20|\x20pretty\x20|\x20compress','<name>','parentId','@lovrabet/rabetbase-cli','sqlname','descriptionFile','Maximum\x20search\x20hits','sql','Operation\x20type','params','67356GZxqqf','7740873VdrKYL','Expected\x20current\x20menu\x20path','remote','Enable\x20Backend\x20Function\x20save','Page\x20size','Force\x20overwrite','codes','Expected\x20current\x20parent\x20menu\x20id','Code\x20filter','topk','keyword','app','sqlcode','type','Type\x20filter','Use\x20project\x20config\x20scope','2337960qszAUa','expect-parent-id','title','project','skipImports','Alias\x20for\x20--non-interactive','expect-path','flow-status','target','nonInteractive','force','Flow\x20name','10tfwtdi','code','Apply\x20to\x20all','SQL\x20name','Tags','menu-ids','dryRun','Use\x20remote','dry-run','Comma-separated\x20metadata\x20codes','pageSize','datasetcode','expected-children-count','Output\x20format','Config\x20key','Target\x20path','Force\x20non-interactive\x20mode\x20(CI)','Title','Confirm\x20destructive\x20action','Show\x20help','Expected\x20affected\x20count','appcode','Override\x20appcode','zh-CN\x20|\x20en-US','meowKey','page','Schemas','<code>','expectParentId','558824dBLEbE','dbid','Config\x20value','Skip\x20confirmation\x20for\x20high-risk\x20writes','Description','Keyword\x20filter','Search\x20query','File\x20path','watch','parent-id','operation-type','expectPath','all','Description\x20file','sql-name','flowStatus','Watch\x20mode','clear','dataset-code','Clear','Menu\x20label','expectedCount','Use\x20global\x20config\x20scope','flowName','file','format','expected-count','taskId','schemas','global','env','label','task-id','sqlName','page-size','Menu\x20sort\x20value','Function\x20node','name','214LnzqUq'];a263_0x59e3=function(){return _0x3fc027;};return a263_0x59e3();}function a263_0x2170(_0x3e7e6c,_0x3ca1e2){_0x3e7e6c=_0x3e7e6c-0xb2;const _0x59e3f0=a263_0x59e3();let _0x217022=_0x59e3f0[_0x3e7e6c];return _0x217022;}(function(_0x49b313,_0x297f78){const _0x47603a=a263_0x2170,_0x36d642=_0x49b313();while(!![]){try{const _0x166fe1=parseInt(_0x47603a(0x121))/0x1*(parseInt(_0x47603a(0x101))/0x2)+parseInt(_0x47603a(0x134))/0x3+-parseInt(_0x47603a(0xdb))/0x4*(parseInt(_0x47603a(0xbe))/0x5)+parseInt(_0x47603a(0x126))/0x6+-parseInt(_0x47603a(0x10e))/0x7+-parseInt(_0x47603a(0xb2))/0x8+parseInt(_0x47603a(0x135))/0x9;if(_0x166fe1===_0x297f78)break;else _0x36d642['push'](_0x36d642['shift']());}catch(_0x167ba8){_0x36d642['push'](_0x36d642['shift']());}}}(a263_0x59e3,0x2eb14));export const CLI_BIN_NAME=a263_0x4f5cb4(0x103);export const CLI_DISPLAY_NAME='Rabetbase\x20CLI';export const NPM_PACKAGE_NAME=a263_0x4f5cb4(0x12d);export const GLOBAL_FLAGS=[{'name':a263_0x4f5cb4(0xd3),'meowKey':'appcode','type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xd4),'hint':a263_0x4f5cb4(0xd9)},{'name':a263_0x4f5cb4(0x140),'meowKey':a263_0x4f5cb4(0x140),'type':a263_0x4f5cb4(0x102),'description':'Select\x20app\x20profile\x20by\x20name','hint':a263_0x4f5cb4(0x12b)},{'name':a263_0x4f5cb4(0xf9),'meowKey':'env','type':a263_0x4f5cb4(0x102),'description':'Environment','hint':a263_0x4f5cb4(0x11b)},{'name':a263_0x4f5cb4(0xf4),'meowKey':a263_0x4f5cb4(0xf4),'type':'string','description':a263_0x4f5cb4(0xcb),'hint':a263_0x4f5cb4(0x12a)},{'name':'jq','meowKey':'jq','type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x11c),'hint':'<expr>'},{'name':'dry-run','meowKey':a263_0x4f5cb4(0xc4),'type':'boolean','description':'Preview\x20operation\x20without\x20executing'},{'name':a263_0x4f5cb4(0x11e),'meowKey':a263_0x4f5cb4(0x11e),'type':a263_0x4f5cb4(0x111),'description':a263_0x4f5cb4(0xde)},{'name':a263_0x4f5cb4(0x10b),'meowKey':a263_0x4f5cb4(0xbb),'type':'boolean','description':a263_0x4f5cb4(0xce)},{'name':a263_0x4f5cb4(0xf8),'meowKey':a263_0x4f5cb4(0xf8),'type':a263_0x4f5cb4(0x111),'description':a263_0x4f5cb4(0xf1)},{'name':a263_0x4f5cb4(0xb5),'meowKey':a263_0x4f5cb4(0xb5),'type':'boolean','description':a263_0x4f5cb4(0x144)},{'name':'ci','meowKey':'ci','type':a263_0x4f5cb4(0x111),'description':a263_0x4f5cb4(0xb7),'hidden':!![]},{'name':a263_0x4f5cb4(0x119),'meowKey':'help','type':a263_0x4f5cb4(0x111),'description':a263_0x4f5cb4(0xd1)},{'name':a263_0x4f5cb4(0x128),'meowKey':a263_0x4f5cb4(0x128),'type':a263_0x4f5cb4(0x102),'description':'App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','hidden':!![],'hint':a263_0x4f5cb4(0xd5)},{'name':'name','meowKey':a263_0x4f5cb4(0x100),'type':a263_0x4f5cb4(0x102),'description':'Name','hidden':!![]},{'name':'title','meowKey':a263_0x4f5cb4(0xb4),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xcf),'hidden':!![]},{'name':a263_0x4f5cb4(0x10d),'meowKey':'query','type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xe1),'hidden':!![]},{'name':a263_0x4f5cb4(0x13e),'meowKey':a263_0x4f5cb4(0x13e),'type':'string','description':a263_0x4f5cb4(0x130),'hidden':!![]},{'name':a263_0x4f5cb4(0xec),'meowKey':a263_0x4f5cb4(0xec),'type':a263_0x4f5cb4(0x111),'description':a263_0x4f5cb4(0xee),'hidden':!![]},{'name':'watch','meowKey':a263_0x4f5cb4(0xe3),'type':a263_0x4f5cb4(0x111),'description':a263_0x4f5cb4(0xeb),'hidden':!![]},{'name':'output','meowKey':'output','type':a263_0x4f5cb4(0x102),'description':'Output\x20path','hidden':!![]},{'name':a263_0x4f5cb4(0x133),'meowKey':a263_0x4f5cb4(0x133),'type':'string','description':a263_0x4f5cb4(0x107),'hidden':!![]},{'name':a263_0x4f5cb4(0xc9),'meowKey':'datasetcode','type':a263_0x4f5cb4(0x102),'description':'Dataset\x20code','hidden':!![]},{'name':a263_0x4f5cb4(0xe7),'meowKey':a263_0x4f5cb4(0xe7),'type':a263_0x4f5cb4(0x111),'description':a263_0x4f5cb4(0xc0),'hidden':!![]},{'name':'enable-bff-save','meowKey':a263_0x4f5cb4(0x113),'type':a263_0x4f5cb4(0x111),'description':a263_0x4f5cb4(0x138),'hidden':!![]},{'name':'id','meowKey':'id','type':'string','description':'Record\x20ID','hidden':!![]},{'name':a263_0x4f5cb4(0x142),'meowKey':'type','type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x143),'hidden':!![]},{'name':a263_0x4f5cb4(0xf3),'meowKey':a263_0x4f5cb4(0xf3),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xe2),'hidden':!![]},{'name':'flow-code','meowKey':'flowCode','type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x112),'hidden':!![]},{'name':'flow-name','meowKey':a263_0x4f5cb4(0xf2),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xbd),'hidden':!![]},{'name':a263_0x4f5cb4(0xb9),'meowKey':a263_0x4f5cb4(0xea),'type':'string','description':'Flow\x20status','hidden':!![]},{'name':a263_0x4f5cb4(0x129),'meowKey':a263_0x4f5cb4(0x122),'type':a263_0x4f5cb4(0x102),'description':'Flow\x20type','hidden':!![]},{'name':a263_0x4f5cb4(0xed),'meowKey':'datasetCode','type':'string','description':a263_0x4f5cb4(0x109),'hidden':!![]},{'name':a263_0x4f5cb4(0x141),'meowKey':a263_0x4f5cb4(0x141),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x115),'hidden':!![]},{'name':a263_0x4f5cb4(0xe9),'meowKey':a263_0x4f5cb4(0xfc),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xc1),'hidden':!![]},{'name':a263_0x4f5cb4(0x12e),'meowKey':a263_0x4f5cb4(0x12e),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xc1),'hidden':!![]},{'name':a263_0x4f5cb4(0x120),'meowKey':'dbId','type':'string','description':'DB\x20ID','hidden':!![]},{'name':a263_0x4f5cb4(0xdc),'meowKey':a263_0x4f5cb4(0xdc),'type':a263_0x4f5cb4(0x102),'description':'DB\x20ID','hidden':!![]},{'name':a263_0x4f5cb4(0x10f),'meowKey':a263_0x4f5cb4(0x10f),'type':'string','description':a263_0x4f5cb4(0xdf),'hidden':!![]},{'name':'description-file','meowKey':a263_0x4f5cb4(0x12f),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xe8),'hidden':!![]},{'name':a263_0x4f5cb4(0xd7),'meowKey':'page','type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x114),'hidden':!![]},{'name':a263_0x4f5cb4(0xfd),'meowKey':a263_0x4f5cb4(0xc8),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x139),'hidden':!![]},{'name':a263_0x4f5cb4(0x118),'meowKey':a263_0x4f5cb4(0x118),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x139),'hidden':!![]},{'name':'keyword','meowKey':a263_0x4f5cb4(0x13f),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xe0),'hidden':!![]},{'name':a263_0x4f5cb4(0xbf),'meowKey':a263_0x4f5cb4(0xbf),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x13d),'hidden':!![]},{'name':'sql','meowKey':a263_0x4f5cb4(0x131),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x124),'hidden':!![]},{'name':'schemas','meowKey':a263_0x4f5cb4(0xf7),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xd8),'hidden':!![]},{'name':a263_0x4f5cb4(0x11a),'meowKey':a263_0x4f5cb4(0x11a),'type':a263_0x4f5cb4(0x102),'description':'Operation\x20type','hidden':!![]},{'name':a263_0x4f5cb4(0xba),'meowKey':'target','type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xcd),'hidden':!![]},{'name':'skip-imports','meowKey':a263_0x4f5cb4(0xb6),'type':a263_0x4f5cb4(0x111),'description':'Skip\x20import\x20generation','hidden':!![]},{'name':a263_0x4f5cb4(0x105),'meowKey':a263_0x4f5cb4(0x105),'type':'string','description':a263_0x4f5cb4(0xcc),'hidden':!![]},{'name':a263_0x4f5cb4(0x110),'meowKey':'value','type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xdd),'hidden':!![]},{'name':'tags','meowKey':a263_0x4f5cb4(0x123),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xc2),'hidden':!![]},{'name':a263_0x4f5cb4(0x11d),'meowKey':'stdin','type':'boolean','description':a263_0x4f5cb4(0x106),'hidden':!![]},{'name':'from-env','meowKey':a263_0x4f5cb4(0x104),'type':a263_0x4f5cb4(0x102),'description':'Read\x20value\x20from\x20environment\x20variable','hidden':!![]},{'name':a263_0x4f5cb4(0x11f),'meowKey':a263_0x4f5cb4(0x11f),'type':a263_0x4f5cb4(0x111),'description':'Reveal\x20sensitive\x20value','hidden':!![]},{'name':a263_0x4f5cb4(0xbc),'meowKey':a263_0x4f5cb4(0xbc),'type':'boolean','description':a263_0x4f5cb4(0x13a),'hidden':!![]},{'name':a263_0x4f5cb4(0x108),'meowKey':'confirm','type':a263_0x4f5cb4(0x111),'description':a263_0x4f5cb4(0xd0),'hidden':!![]},{'name':a263_0x4f5cb4(0x137),'meowKey':'remote','type':a263_0x4f5cb4(0x111),'description':a263_0x4f5cb4(0xc5),'hidden':!![]},{'name':a263_0x4f5cb4(0x10a),'meowKey':a263_0x4f5cb4(0x10a),'type':a263_0x4f5cb4(0x111),'description':'Verbose\x20output','hidden':!![]},{'name':a263_0x4f5cb4(0xf5),'meowKey':a263_0x4f5cb4(0xf0),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xd2),'hidden':!![]},{'name':'label','meowKey':a263_0x4f5cb4(0xfa),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xef),'hidden':!![]},{'name':a263_0x4f5cb4(0xe4),'meowKey':a263_0x4f5cb4(0x12c),'type':a263_0x4f5cb4(0x102),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':a263_0x4f5cb4(0x125),'meowKey':a263_0x4f5cb4(0x125),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xfe),'hidden':!![]},{'name':a263_0x4f5cb4(0xb3),'meowKey':a263_0x4f5cb4(0xda),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x13c),'hidden':!![]},{'name':a263_0x4f5cb4(0xb8),'meowKey':a263_0x4f5cb4(0xe6),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x136),'hidden':!![]},{'name':a263_0x4f5cb4(0xca),'meowKey':'expectedChildrenCount','type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x10c),'hidden':!![]},{'name':a263_0x4f5cb4(0xc3),'meowKey':'menuIds','type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x127),'hidden':!![]},{'name':a263_0x4f5cb4(0xfb),'meowKey':a263_0x4f5cb4(0xf6),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x116),'hidden':!![]},{'name':a263_0x4f5cb4(0xe5),'meowKey':a263_0x4f5cb4(0x117),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0x132),'hidden':!![]},{'name':'function-node','meowKey':'functionNode','type':'string','description':a263_0x4f5cb4(0xff),'hidden':!![]},{'name':a263_0x4f5cb4(0x13b),'meowKey':a263_0x4f5cb4(0x13b),'type':a263_0x4f5cb4(0x102),'description':a263_0x4f5cb4(0xc7),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a263_0x4f5cb4(0xd3),a263_0x4f5cb4(0x140),a263_0x4f5cb4(0xf9),a263_0x4f5cb4(0xf4),'jq',a263_0x4f5cb4(0xc6),'yes',a263_0x4f5cb4(0x10b),'ci']);export function buildMeowFlags(){const _0x1fa47d=a263_0x4f5cb4;return Object['fromEntries'](GLOBAL_FLAGS['map'](_0x37b430=>[_0x37b430[_0x1fa47d(0xd6)],{'type':_0x37b430[_0x1fa47d(0x142)]}]));}
@@ -1 +1 @@
1
- const a264_0x35ac03=a264_0x3fe4;(function(_0xde1274,_0xcb17a0){const _0xe647d1=a264_0x3fe4,_0x1497e7=_0xde1274();while(!![]){try{const _0x29a423=parseInt(_0xe647d1(0x18f))/0x1*(-parseInt(_0xe647d1(0x18c))/0x2)+parseInt(_0xe647d1(0x194))/0x3*(parseInt(_0xe647d1(0x199))/0x4)+-parseInt(_0xe647d1(0x190))/0x5*(-parseInt(_0xe647d1(0x18d))/0x6)+parseInt(_0xe647d1(0x192))/0x7+-parseInt(_0xe647d1(0x193))/0x8*(parseInt(_0xe647d1(0x18e))/0x9)+-parseInt(_0xe647d1(0x198))/0xa+-parseInt(_0xe647d1(0x191))/0xb;if(_0x29a423===_0xcb17a0)break;else _0x1497e7['push'](_0x1497e7['shift']());}catch(_0x453aa7){_0x1497e7['push'](_0x1497e7['shift']());}}}(a264_0x41bf,0x60890));function a264_0x3fe4(_0x47057d,_0x1325b9){_0x47057d=_0x47057d-0x18b;const _0x41bf38=a264_0x41bf();let _0x3fe4a3=_0x41bf38[_0x47057d];return _0x3fe4a3;}import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a264_0x35ac03(0x197),'format':a264_0x35ac03(0x18b),'locale':a264_0x35ac03(0x195),'riskLevel':a264_0x35ac03(0x196),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a264_0x35ac03(0x18b);function a264_0x41bf(){const _0xe5a22d=['36WRuGUo','1jAgAAr','70CYIzKQ','2587904PuacAL','4240768DXDdnG','950920OJIuCh','41199IZYubV','en-US','write','production','3605130NwPRSB','176CLVfnE','compress','718386YZyQoo','263898wYOgVq'];a264_0x41bf=function(){return _0xe5a22d;};return a264_0x41bf();}
1
+ const a264_0x2a172e=a264_0x4abf;function a264_0xa9cc(){const _0x1ab561=['42zLhcBN','13488224KyjDvi','production','1183147QryJul','25409AGeMck','en-US','62ECwdBe','compress','2244740kskqrb','37862920cubSBZ','123756oBMAum','write','5mgSjmx','3408282phxBRc'];a264_0xa9cc=function(){return _0x1ab561;};return a264_0xa9cc();}(function(_0x5b187f,_0x5084ca){const _0x35678e=a264_0x4abf,_0x577270=_0x5b187f();while(!![]){try{const _0x3b231c=parseInt(_0x35678e(0x95))/0x1*(parseInt(_0x35678e(0x97))/0x2)+parseInt(_0x35678e(0x9b))/0x3+parseInt(_0x35678e(0x99))/0x4*(parseInt(_0x35678e(0x9d))/0x5)+parseInt(_0x35678e(0x9f))/0x6*(parseInt(_0x35678e(0x94))/0x7)+parseInt(_0x35678e(0x92))/0x8+parseInt(_0x35678e(0x9e))/0x9+-parseInt(_0x35678e(0x9a))/0xa;if(_0x3b231c===_0x5084ca)break;else _0x577270['push'](_0x577270['shift']());}catch(_0x2f766f){_0x577270['push'](_0x577270['shift']());}}}(a264_0xa9cc,0xcfef1));import{DEFAULT_API_DIR}from'../constant/paths.js';function a264_0x4abf(_0x1974e6,_0x1627ac){_0x1974e6=_0x1974e6-0x92;const _0xa9ccbe=a264_0xa9cc();let _0x4abf8c=_0xa9ccbe[_0x1974e6];return _0x4abf8c;}export const DEFAULT_CONFIG_VALUES={'env':a264_0x2a172e(0x93),'format':a264_0x2a172e(0x98),'locale':a264_0x2a172e(0x96),'riskLevel':a264_0x2a172e(0x9c),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT='compress';
@@ -1 +1 @@
1
- const a265_0x2f53c5=a265_0x25b2;(function(_0x1f11f7,_0x5a0ec7){const _0x37e7dd=a265_0x25b2,_0x4f02bb=_0x1f11f7();while(!![]){try{const _0x54915a=-parseInt(_0x37e7dd(0x17c))/0x1*(parseInt(_0x37e7dd(0x17e))/0x2)+parseInt(_0x37e7dd(0x180))/0x3+-parseInt(_0x37e7dd(0x183))/0x4*(-parseInt(_0x37e7dd(0x176))/0x5)+-parseInt(_0x37e7dd(0x16e))/0x6+-parseInt(_0x37e7dd(0x182))/0x7+parseInt(_0x37e7dd(0x165))/0x8*(-parseInt(_0x37e7dd(0x185))/0x9)+-parseInt(_0x37e7dd(0x16c))/0xa*(-parseInt(_0x37e7dd(0x17f))/0xb);if(_0x54915a===_0x5a0ec7)break;else _0x4f02bb['push'](_0x4f02bb['shift']());}catch(_0x54aabf){_0x4f02bb['push'](_0x4f02bb['shift']());}}}(a265_0x6921,0x86eee));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customKbServiceDomain,allowOfficialKbServiceDefault=!![],customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0xb9c6b3=a265_0x25b2,_0x758eea=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x758eea[_0xb9c6b3(0x16b)]['production']:_0x758eea[_0xb9c6b3(0x16b)][_0xb9c6b3(0x174)]??_0x758eea[_0xb9c6b3(0x16b)][_0xb9c6b3(0x172)];}export function initDomains(_0x1cf0eb){const _0x5abc81=a265_0x25b2;customApiDomain=_0x1cf0eb?.['apiDomain'],customUserDomain=_0x1cf0eb?.[_0x5abc81(0x166)],customRuntimeDomain=_0x1cf0eb?.[_0x5abc81(0x16f)],customSkillDomain=_0x1cf0eb?.[_0x5abc81(0x175)],customKbDomain=_0x1cf0eb?.[_0x5abc81(0x169)],customKbServiceDomain=_0x1cf0eb?.[_0x5abc81(0x187)],allowOfficialKbServiceDefault=_0x1cf0eb?.[_0x5abc81(0x17b)]??!![],customAppDomain=_0x1cf0eb?.[_0x5abc81(0x164)],customLocalDomain=_0x1cf0eb?.[_0x5abc81(0x17a)],customCertificateDomain=_0x1cf0eb?.[_0x5abc81(0x178)],customCdn=_0x1cf0eb?.[_0x5abc81(0x177)],activeRegion=_0x1cf0eb?.[_0x5abc81(0x16a)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a265_0x2f53c5(0x167)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a265_0x2f53c5(0x16d)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a265_0x2f53c5(0x171)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a265_0x2f53c5(0x168)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{const _0x21a297=a265_0x2f53c5;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()[_0x21a297(0x17d)];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a265_0x2f53c5(0x184)];export const getActiveRegion=()=>activeRegion;function a265_0x25b2(_0x5db7bd,_0x182f4a){_0x5db7bd=_0x5db7bd-0x164;const _0x692191=a265_0x6921();let _0x25b2d5=_0x692191[_0x5db7bd];return _0x25b2d5;}export const getLocalDomain=()=>customLocalDomain;function a265_0x6921(){const _0x30186b=['region','serviceDomains','12316540mxqsEo','api','5517108UXouWx','runtimeDomain','origin','runtime','production','/app/','daily','skillDomain','5ZYEAVj','cdn','certificateDomain','hostname','localDomain','allowOfficialKbServiceDefault','2649ZMacPm','kbService','8hmHgbY','11EywVEm','1485444fVQpPP','/web-app/app/','1158234BGqCKh','2074760fTdzTS','app','45gKowdu','trim','kbServiceDomain','appDomain','955568Jyjgwv','userDomain','user','skill','kbDomain'];a265_0x6921=function(){return _0x30186b;};return a265_0x6921();}export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x3dd1a5=a265_0x2f53c5;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x3dd1a5(0x171)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x1a9af6=>{const _0x16ba63=a265_0x2f53c5,_0x5652e4=encodeURIComponent(_0x1a9af6[_0x16ba63(0x186)]());return isProduction(getEnv())?getAppDomain()+_0x16ba63(0x173)+_0x5652e4:getAppDomain()+_0x16ba63(0x181)+_0x5652e4;};export const getPublishedAppDomain=_0x3be888=>{const _0x5208ab=a265_0x2f53c5,_0x254a38=new URL(getAppDomain());return _0x254a38[_0x5208ab(0x179)]=_0x3be888[_0x5208ab(0x186)]()+'.'+_0x254a38[_0x5208ab(0x179)],_0x254a38[_0x5208ab(0x170)];};
1
+ const a265_0x1cfc78=a265_0x43c8;(function(_0x3395a4,_0x40b7f8){const _0x11c951=a265_0x43c8,_0x156805=_0x3395a4();while(!![]){try{const _0x226c86=-parseInt(_0x11c951(0x1d3))/0x1*(-parseInt(_0x11c951(0x1cc))/0x2)+-parseInt(_0x11c951(0x1da))/0x3+parseInt(_0x11c951(0x1d5))/0x4+parseInt(_0x11c951(0x1c3))/0x5+parseInt(_0x11c951(0x1d2))/0x6*(parseInt(_0x11c951(0x1c5))/0x7)+-parseInt(_0x11c951(0x1de))/0x8+parseInt(_0x11c951(0x1c2))/0x9*(parseInt(_0x11c951(0x1c0))/0xa);if(_0x226c86===_0x40b7f8)break;else _0x156805['push'](_0x156805['shift']());}catch(_0x318a7b){_0x156805['push'](_0x156805['shift']());}}}(a265_0x3521,0x2d769));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customKbServiceDomain,allowOfficialKbServiceDefault=!![],customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function a265_0x3521(){const _0x242bea=['271304XtoDWS','production','certificateDomain','region','allowOfficialKbServiceDefault','hostname','6NgDWkA','1xQUgsr','userDomain','1063128kDUTrx','/app/','runtimeDomain','user','skill','1050600JqJFju','cdn','appDomain','runtime','2422592nQparu','trim','origin','3200160zDncon','kbServiceDomain','9MbsRfD','183635YYsVLZ','api','567448mDOkaP','app','localDomain','kbDomain','apiDomain','kbService','serviceDomains'];a265_0x3521=function(){return _0x242bea;};return a265_0x3521();}function getActiveRegionDomains(){const _0x53a4f7=a265_0x43c8,_0x3e9fbc=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x3e9fbc[_0x53a4f7(0x1cb)][_0x53a4f7(0x1cd)]:_0x3e9fbc[_0x53a4f7(0x1cb)]['daily']??_0x3e9fbc[_0x53a4f7(0x1cb)][_0x53a4f7(0x1cd)];}export function initDomains(_0x178591){const _0x3ce750=a265_0x43c8;customApiDomain=_0x178591?.[_0x3ce750(0x1c9)],customUserDomain=_0x178591?.[_0x3ce750(0x1d4)],customRuntimeDomain=_0x178591?.[_0x3ce750(0x1d7)],customSkillDomain=_0x178591?.['skillDomain'],customKbDomain=_0x178591?.[_0x3ce750(0x1c8)],customKbServiceDomain=_0x178591?.[_0x3ce750(0x1c1)],allowOfficialKbServiceDefault=_0x178591?.[_0x3ce750(0x1d0)]??!![],customAppDomain=_0x178591?.[_0x3ce750(0x1dc)],customLocalDomain=_0x178591?.[_0x3ce750(0x1c7)],customCertificateDomain=_0x178591?.[_0x3ce750(0x1ce)],customCdn=_0x178591?.[_0x3ce750(0x1db)],activeRegion=_0x178591?.[_0x3ce750(0x1cf)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a265_0x1cfc78(0x1d8)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a265_0x1cfc78(0x1c4)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()['runtime'];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a265_0x1cfc78(0x1d9)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{const _0x5c4cd4=a265_0x1cfc78;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()[_0x5c4cd4(0x1ca)];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a265_0x1cfc78(0x1c6)];export const getActiveRegion=()=>activeRegion;function a265_0x43c8(_0xbdc830,_0x515c07){_0xbdc830=_0xbdc830-0x1c0;const _0x352132=a265_0x3521();let _0x43c851=_0x352132[_0xbdc830];return _0x43c851;}export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x16b5a3=a265_0x1cfc78;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x16b5a3(0x1dd)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x3598c3=>{const _0x3006f3=a265_0x1cfc78,_0x57cbb8=encodeURIComponent(_0x3598c3[_0x3006f3(0x1df)]());return isProduction(getEnv())?getAppDomain()+_0x3006f3(0x1d6)+_0x57cbb8:getAppDomain()+'/web-app/app/'+_0x57cbb8;};export const getPublishedAppDomain=_0x17ef28=>{const _0x3ba123=a265_0x1cfc78,_0x3c6e7c=new URL(getAppDomain());return _0x3c6e7c[_0x3ba123(0x1d1)]=_0x17ef28[_0x3ba123(0x1df)]()+'.'+_0x3c6e7c[_0x3ba123(0x1d1)],_0x3c6e7c[_0x3ba123(0x1e0)];};
@@ -1 +1 @@
1
- function a266_0x383a(){const _0x230455=['1926924OUBaol','3LnPjph','10meGmXy','26925inIJGf','dev','336844MMczwq','daily','production','12QkPDlU','6045844QDiwqq','11550519TBhxLm','9769544lCmrrt','development','164tXGKWA','15ILtUMi','27335781RASREi'];a266_0x383a=function(){return _0x230455;};return a266_0x383a();}const a266_0x2ef95e=a266_0x3441;(function(_0x43ba7a,_0x534199){const _0x110f18=a266_0x3441,_0x2bad9f=_0x43ba7a();while(!![]){try{const _0x2d03c0=parseInt(_0x110f18(0x124))/0x1*(parseInt(_0x110f18(0x118))/0x2)+-parseInt(_0x110f18(0x116))/0x3*(-parseInt(_0x110f18(0x120))/0x4)+-parseInt(_0x110f18(0x121))/0x5*(parseInt(_0x110f18(0x123))/0x6)+parseInt(_0x110f18(0x11c))/0x7+-parseInt(_0x110f18(0x11e))/0x8+parseInt(_0x110f18(0x11d))/0x9*(-parseInt(_0x110f18(0x125))/0xa)+-parseInt(_0x110f18(0x122))/0xb*(-parseInt(_0x110f18(0x11b))/0xc);if(_0x2d03c0===_0x534199)break;else _0x2bad9f['push'](_0x2bad9f['shift']());}catch(_0x1c39b4){_0x2bad9f['push'](_0x2bad9f['shift']());}}}(a266_0x383a,0xb8126));function a266_0x3441(_0x27707b,_0x3196c1){_0x27707b=_0x27707b-0x116;const _0x383a62=a266_0x383a();let _0x3441b4=_0x383a62[_0x27707b];return _0x3441b4;}export const RABETBASE_ENV_VALUES=[a266_0x2ef95e(0x11a),a266_0x2ef95e(0x119)];export function normalizeEnv(_0x31102e){const _0x25f11f=a266_0x2ef95e;return _0x31102e==='online'?_0x25f11f(0x11a):_0x31102e;}export function isProduction(_0x2379a0){return normalizeEnv(_0x2379a0)==='production';}export function isDaily(_0x5a24a1){const _0x2a16f9=a266_0x2ef95e;return normalizeEnv(_0x5a24a1)===_0x2a16f9(0x119);}export function isDev(_0x518040){const _0x2369cf=a266_0x2ef95e,_0x3ed16c=normalizeEnv(_0x518040);return _0x3ed16c===_0x2369cf(0x11f)||_0x3ed16c===_0x2369cf(0x117);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a266_0x2ef95e(0x11a));export function getEnv(){return env;}export function initEnv(_0x230271){env=normalizeEnv(_0x230271);}
1
+ const a266_0x4a6bef=a266_0x31db;(function(_0x2479fc,_0x4bf427){const _0x4bf872=a266_0x31db,_0x51950e=_0x2479fc();while(!![]){try{const _0x48eb2c=-parseInt(_0x4bf872(0x1a8))/0x1*(-parseInt(_0x4bf872(0x1ab))/0x2)+parseInt(_0x4bf872(0x1a6))/0x3*(parseInt(_0x4bf872(0x19e))/0x4)+-parseInt(_0x4bf872(0x1a1))/0x5*(parseInt(_0x4bf872(0x1a2))/0x6)+parseInt(_0x4bf872(0x1ac))/0x7*(parseInt(_0x4bf872(0x1aa))/0x8)+parseInt(_0x4bf872(0x19d))/0x9*(parseInt(_0x4bf872(0x1a0))/0xa)+-parseInt(_0x4bf872(0x1a7))/0xb+-parseInt(_0x4bf872(0x1a4))/0xc*(parseInt(_0x4bf872(0x1a9))/0xd);if(_0x48eb2c===_0x4bf427)break;else _0x51950e['push'](_0x51950e['shift']());}catch(_0x40acd7){_0x51950e['push'](_0x51950e['shift']());}}}(a266_0x554f,0x86cdc));export const RABETBASE_ENV_VALUES=[a266_0x4a6bef(0x1ad),a266_0x4a6bef(0x1a5)];export function normalizeEnv(_0x533648){return _0x533648==='online'?'production':_0x533648;}export function isProduction(_0x3e826c){const _0x3a3bd2=a266_0x4a6bef;return normalizeEnv(_0x3e826c)===_0x3a3bd2(0x1ad);}export function isDaily(_0x5b2983){const _0x1167dd=a266_0x4a6bef;return normalizeEnv(_0x5b2983)===_0x1167dd(0x1a5);}export function isDev(_0x193c16){const _0x4e4f5b=a266_0x4a6bef,_0x4405b0=normalizeEnv(_0x193c16);return _0x4405b0===_0x4e4f5b(0x1a3)||_0x4405b0===_0x4e4f5b(0x19f);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a266_0x4a6bef(0x1ad));export function getEnv(){return env;}function a266_0x554f(){const _0x1e358c=['daily','3dscJKT','3141512QuNvYP','8fHEXsh','1946243sgDVPM','4477576XbCqGe','113338OLpHgK','7NGsWhz','production','63eADBJv','2358724NNzXHe','dev','1527850IBRLjr','230kWDGEo','141642pSfzuw','development','60mDWpdG'];a266_0x554f=function(){return _0x1e358c;};return a266_0x554f();}function a266_0x31db(_0x14fa6e,_0x4ac9bc){_0x14fa6e=_0x14fa6e-0x19d;const _0x554fc5=a266_0x554f();let _0x31db66=_0x554fc5[_0x14fa6e];return _0x31db66;}export function initEnv(_0x354bda){env=normalizeEnv(_0x354bda);}
@@ -1 +1 @@
1
- const a267_0x489620=a267_0x4911;(function(_0x497e08,_0x461987){const _0x22c04d=a267_0x4911,_0x325500=_0x497e08();while(!![]){try{const _0xf49722=parseInt(_0x22c04d(0xa6))/0x1*(-parseInt(_0x22c04d(0xa4))/0x2)+-parseInt(_0x22c04d(0x9e))/0x3*(-parseInt(_0x22c04d(0x9f))/0x4)+parseInt(_0x22c04d(0xa5))/0x5*(parseInt(_0x22c04d(0x9c))/0x6)+parseInt(_0x22c04d(0x9b))/0x7+parseInt(_0x22c04d(0xa7))/0x8*(parseInt(_0x22c04d(0xa3))/0x9)+-parseInt(_0x22c04d(0xa2))/0xa+parseInt(_0x22c04d(0xa1))/0xb*(-parseInt(_0x22c04d(0x9d))/0xc);if(_0xf49722===_0x461987)break;else _0x325500['push'](_0x325500['shift']());}catch(_0x512970){_0x325500['push'](_0x325500['shift']());}}}(a267_0x5ecc,0x3dcca));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a267_0x489620(0xa0),'pretty','compress'];function a267_0x4911(_0xe255fb,_0x1a609c){_0xe255fb=_0xe255fb-0x9b;const _0x5eccce=a267_0x5ecc();let _0x491124=_0x5eccce[_0xe255fb];return _0x491124;}function a267_0x5ecc(){const _0x1bf1f9=['3isbGHI','1488392XxgHzE','json','805981ovQZwp','4700730CJCOub','2808045YGFSau','22JGrNlz','10HMJbVS','4066TntCRz','8GSQKLj','738122LHSddi','374766ZAdKSe','24ySLQCm'];a267_0x5ecc=function(){return _0x1bf1f9;};return a267_0x5ecc();}
1
+ const a267_0x11ed08=a267_0x3aa5;function a267_0x3aa5(_0x32a875,_0x2b60cc){_0x32a875=_0x32a875-0xc7;const _0x3686c6=a267_0x3686();let _0x3aa5e1=_0x3686c6[_0x32a875];return _0x3aa5e1;}(function(_0x9c4c7b,_0x23705d){const _0x396c20=a267_0x3aa5,_0x38a943=_0x9c4c7b();while(!![]){try{const _0x4bfafa=parseInt(_0x396c20(0xd1))/0x1+parseInt(_0x396c20(0xca))/0x2*(-parseInt(_0x396c20(0xcd))/0x3)+-parseInt(_0x396c20(0xd0))/0x4+parseInt(_0x396c20(0xc9))/0x5+parseInt(_0x396c20(0xce))/0x6+parseInt(_0x396c20(0xc8))/0x7+-parseInt(_0x396c20(0xcf))/0x8*(-parseInt(_0x396c20(0xcc))/0x9);if(_0x4bfafa===_0x23705d)break;else _0x38a943['push'](_0x38a943['shift']());}catch(_0x446c46){_0x38a943['push'](_0x38a943['shift']());}}}(a267_0x3686,0x37d81));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a267_0x11ed08(0xc7),a267_0x11ed08(0xcb),'compress'];function a267_0x3686(){const _0x3e5021=['4858YwoeUS','pretty','359442fAZHhY','486kyRpAY','329796iQnhGv','24TsIUNX','1062916jrefhg','62102fjRHsJ','json','3115791Vurund','1029845mdlTsO'];a267_0x3686=function(){return _0x3e5021;};return a267_0x3686();}
@@ -1 +1 @@
1
- function a268_0x5497(){const _0x5ccf63=['10bNPIMc','./src/api','15BIWjfv','541476OFgtTD','2827368IUDVNk','7821340cCAlHm','160584rXjvOq','67131DhsAky','990AfmcAy','12285vYbTLb','2542032kMZovQ'];a268_0x5497=function(){return _0x5ccf63;};return a268_0x5497();}function a268_0x5017(_0x1b7633,_0x548290){_0x1b7633=_0x1b7633-0xdb;const _0x549769=a268_0x5497();let _0x5017e6=_0x549769[_0x1b7633];return _0x5017e6;}const a268_0x1959a=a268_0x5017;(function(_0x139013,_0x410b5d){const _0x57e320=a268_0x5017,_0x2ff6cb=_0x139013();while(!![]){try{const _0x475a49=parseInt(_0x57e320(0xe1))/0x1+-parseInt(_0x57e320(0xe0))/0x2*(parseInt(_0x57e320(0xdc))/0x3)+parseInt(_0x57e320(0xdd))/0x4*(parseInt(_0x57e320(0xe5))/0x5)+parseInt(_0x57e320(0xe2))/0x6*(parseInt(_0x57e320(0xe3))/0x7)+-parseInt(_0x57e320(0xde))/0x8+-parseInt(_0x57e320(0xe4))/0x9+parseInt(_0x57e320(0xdf))/0xa;if(_0x475a49===_0x410b5d)break;else _0x2ff6cb['push'](_0x2ff6cb['shift']());}catch(_0x323196){_0x2ff6cb['push'](_0x2ff6cb['shift']());}}}(a268_0x5497,0x5ae19));export const DEFAULT_API_DIR=a268_0x1959a(0xdb);
1
+ function a268_0x1940(_0x263cce,_0x46edce){_0x263cce=_0x263cce-0x135;const _0x444aab=a268_0x444a();let _0x1940e2=_0x444aab[_0x263cce];return _0x1940e2;}const a268_0x476ddd=a268_0x1940;function a268_0x444a(){const _0x26d3a8=['720171YqRUno','2794UCmdzn','253heiofY','12rydGtU','3150680wfiSln','./src/api','823325NxLtkF','1235948THsAQY','327670NZSxAq','2042knfXWf','20dEbDIS','30HgyUEY'];a268_0x444a=function(){return _0x26d3a8;};return a268_0x444a();}(function(_0xd60eb1,_0x3a0053){const _0x232a2a=a268_0x1940,_0xaaf118=_0xd60eb1();while(!![]){try{const _0x207867=-parseInt(_0x232a2a(0x140))/0x1+-parseInt(_0x232a2a(0x138))/0x2*(-parseInt(_0x232a2a(0x13a))/0x3)+parseInt(_0x232a2a(0x135))/0x4*(parseInt(_0x232a2a(0x13d))/0x5)+-parseInt(_0x232a2a(0x136))/0x6*(-parseInt(_0x232a2a(0x13e))/0x7)+-parseInt(_0x232a2a(0x13b))/0x8+-parseInt(_0x232a2a(0x137))/0x9+-parseInt(_0x232a2a(0x13f))/0xa*(parseInt(_0x232a2a(0x139))/0xb);if(_0x207867===_0x3a0053)break;else _0xaaf118['push'](_0xaaf118['shift']());}catch(_0x46cc20){_0xaaf118['push'](_0xaaf118['shift']());}}}(a268_0x444a,0x75b94));export const DEFAULT_API_DIR=a268_0x476ddd(0x13c);
@@ -1 +1 @@
1
- function a269_0x10ea(_0x19d150,_0xcf5f07){_0x19d150=_0x19d150-0xf0;const _0x3ad08e=a269_0x3ad0();let _0x10eaa3=_0x3ad08e[_0x19d150];return _0x10eaa3;}(function(_0x23145e,_0x179611){const _0x35a163=a269_0x10ea,_0x41987d=_0x23145e();while(!![]){try{const _0x3ba4d0=-parseInt(_0x35a163(0xfd))/0x1+parseInt(_0x35a163(0xf3))/0x2*(parseInt(_0x35a163(0xf9))/0x3)+-parseInt(_0x35a163(0xf2))/0x4*(parseInt(_0x35a163(0xf0))/0x5)+parseInt(_0x35a163(0xfa))/0x6*(-parseInt(_0x35a163(0xf5))/0x7)+parseInt(_0x35a163(0xfb))/0x8*(-parseInt(_0x35a163(0xf6))/0x9)+parseInt(_0x35a163(0xf4))/0xa+parseInt(_0x35a163(0xfc))/0xb*(parseInt(_0x35a163(0xf7))/0xc);if(_0x3ba4d0===_0x179611)break;else _0x41987d['push'](_0x41987d['shift']());}catch(_0x2861f4){_0x41987d['push'](_0x41987d['shift']());}}}(a269_0x3ad0,0x757f3));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(_0x51028c){const _0x34ab3a=a269_0x10ea;return typeof _0x51028c===_0x34ab3a(0xf1)&&LOVRABET_REGION_VALUES['includes'](_0x51028c);}export function isEnabledLovrabetRegion(_0xeb739d){const _0x295b16=a269_0x10ea;return typeof _0xeb739d===_0x295b16(0xf1)&&ENABLED_LOVRABET_REGION_VALUES[_0x295b16(0xf8)](_0xeb739d);}function a269_0x3ad0(){const _0x16073f=['840204RpruEg','2126676gFFJlT','includes','191661SqhzNG','33486GDkmNx','56ryLqOB','121ydGiOo','637958PhCGLT','2265OZaBYc','string','868hERHyF','6QqYPyQ','3549760NfDfpx','784mjEiVj'];a269_0x3ad0=function(){return _0x16073f;};return a269_0x3ad0();}export function normalizeLovrabetRegion(_0x9f450){const _0x14a215=a269_0x10ea;if(typeof _0x9f450!==_0x14a215(0xf1))return undefined;const _0xf9bbd=REGION_ALIASES[_0x9f450]??_0x9f450;return isLovrabetRegion(_0xf9bbd)?_0xf9bbd:undefined;}export function isInvalidLovrabetRegion(_0x4fd3dc){return _0x4fd3dc!==undefined&&_0x4fd3dc!==null&&_0x4fd3dc!==''&&normalizeLovrabetRegion(_0x4fd3dc)===undefined;}
1
+ (function(_0x5b8486,_0x4ce26a){const _0x410a23=a269_0x4554,_0x38eab7=_0x5b8486();while(!![]){try{const _0x336e71=parseInt(_0x410a23(0x147))/0x1+parseInt(_0x410a23(0x144))/0x2+parseInt(_0x410a23(0x149))/0x3*(parseInt(_0x410a23(0x143))/0x4)+parseInt(_0x410a23(0x146))/0x5*(-parseInt(_0x410a23(0x145))/0x6)+parseInt(_0x410a23(0x140))/0x7+parseInt(_0x410a23(0x148))/0x8+-parseInt(_0x410a23(0x141))/0x9;if(_0x336e71===_0x4ce26a)break;else _0x38eab7['push'](_0x38eab7['shift']());}catch(_0x33035a){_0x38eab7['push'](_0x38eab7['shift']());}}}(a269_0x5e79,0x3664c));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';function a269_0x5e79(){const _0x5a3bc8=['string','17560uhmJyK','190776kGWSpB','204YVOTnI','6955SviVZO','279714UNcZLT','1813016zYKlQT','189DYMemg','includes','2909291FdlKkI','9214398ukRGnV'];a269_0x5e79=function(){return _0x5a3bc8;};return a269_0x5e79();}export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;function a269_0x4554(_0x137ffd,_0x2628a5){_0x137ffd=_0x137ffd-0x13f;const _0x5e7972=a269_0x5e79();let _0x455420=_0x5e7972[_0x137ffd];return _0x455420;}export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x2df877){return typeof _0x2df877==='string'&&LOVRABET_REGION_VALUES['includes'](_0x2df877);}export function isEnabledLovrabetRegion(_0x139be3){const _0x2f1bcf=a269_0x4554;return typeof _0x139be3===_0x2f1bcf(0x142)&&ENABLED_LOVRABET_REGION_VALUES[_0x2f1bcf(0x13f)](_0x139be3);}export function normalizeLovrabetRegion(_0x557fc4){const _0x4d8c92=a269_0x4554;if(typeof _0x557fc4!==_0x4d8c92(0x142))return undefined;const _0x56f5d6=REGION_ALIASES[_0x557fc4]??_0x557fc4;return isLovrabetRegion(_0x56f5d6)?_0x56f5d6:undefined;}export function isInvalidLovrabetRegion(_0x3d874c){return _0x3d874c!==undefined&&_0x3d874c!==null&&_0x3d874c!==''&&normalizeLovrabetRegion(_0x3d874c)===undefined;}
@@ -1 +1 @@
1
- const a270_0x2feb85=a270_0x96a2;(function(_0x649fc1,_0x415b02){const _0x52b706=a270_0x96a2,_0x2f83d5=_0x649fc1();while(!![]){try{const _0xb1a79f=-parseInt(_0x52b706(0x1b3))/0x1*(parseInt(_0x52b706(0x1b4))/0x2)+parseInt(_0x52b706(0x1bb))/0x3*(-parseInt(_0x52b706(0x1b9))/0x4)+parseInt(_0x52b706(0x1b8))/0x5+parseInt(_0x52b706(0x1bc))/0x6+parseInt(_0x52b706(0x1b2))/0x7+parseInt(_0x52b706(0x1b7))/0x8*(parseInt(_0x52b706(0x1b1))/0x9)+-parseInt(_0x52b706(0x1ba))/0xa;if(_0xb1a79f===_0x415b02)break;else _0x2f83d5['push'](_0x2f83d5['shift']());}catch(_0x5b783b){_0x2f83d5['push'](_0x2f83d5['shift']());}}}(a270_0x5da7,0x994d0));function a270_0x5da7(){const _0xaae4b0=['758634evJaPC','read','1987758lSHVuz','4390386XOYIlr','325445BEfNBL','2ZOiHeo','write','high-risk-write','40PDTYLL','4053595aKgBvI','4YqwliK','10930870VbtbEX','1866642fjVDcM'];a270_0x5da7=function(){return _0xaae4b0;};return a270_0x5da7();}function a270_0x96a2(_0x246109,_0x41e27f){_0x246109=_0x246109-0x1b0;const _0x5da7cb=a270_0x5da7();let _0x96a27b=_0x5da7cb[_0x246109];return _0x96a27b;}export const RISK_LEVEL_VALUES=[a270_0x2feb85(0x1b0),a270_0x2feb85(0x1b5),a270_0x2feb85(0x1b6)];
1
+ const a270_0x1fd8c6=a270_0x4025;function a270_0x23db(){const _0x1095a9=['8533jLQRQC','2736VnMwpX','45crzJtC','43308DawXuu','4332852OVmlIF','311820aMaRod','high-risk-write','125fJaszJ','1173768XHtPwH','1326730ikIfLt','11YpVWjA','5876DaJluK','178BkiCXJ'];a270_0x23db=function(){return _0x1095a9;};return a270_0x23db();}function a270_0x4025(_0x4c6eba,_0x472add){_0x4c6eba=_0x4c6eba-0xdf;const _0x23db51=a270_0x23db();let _0x4025b3=_0x23db51[_0x4c6eba];return _0x4025b3;}(function(_0x4b0bb1,_0x27f6b8){const _0x33eec5=a270_0x4025,_0x27ff09=_0x4b0bb1();while(!![]){try{const _0x5988f1=parseInt(_0x33eec5(0xe2))/0x1*(parseInt(_0x33eec5(0xe3))/0x2)+-parseInt(_0x33eec5(0xe9))/0x3+-parseInt(_0x33eec5(0xe7))/0x4*(-parseInt(_0x33eec5(0xeb))/0x5)+parseInt(_0x33eec5(0xe5))/0x6*(-parseInt(_0x33eec5(0xe4))/0x7)+-parseInt(_0x33eec5(0xdf))/0x8*(-parseInt(_0x33eec5(0xe6))/0x9)+parseInt(_0x33eec5(0xe0))/0xa*(-parseInt(_0x33eec5(0xe1))/0xb)+-parseInt(_0x33eec5(0xe8))/0xc;if(_0x5988f1===_0x27f6b8)break;else _0x27ff09['push'](_0x27ff09['shift']());}catch(_0x348d58){_0x27ff09['push'](_0x27ff09['shift']());}}}(a270_0x23db,0x5b3c0));export const RISK_LEVEL_VALUES=['read','write',a270_0x1fd8c6(0xea)];
@@ -1 +1 @@
1
- function a271_0x5ba8(_0x636058,_0xcd619b){_0x636058=_0x636058-0xeb;const _0x1d8c0b=a271_0x1d8c();let _0x5ba8a3=_0x1d8c0b[_0x636058];return _0x5ba8a3;}(function(_0x5daefb,_0xb42662){const _0x294eeb=a271_0x5ba8,_0x5987d8=_0x5daefb();while(!![]){try{const _0x126a9c=-parseInt(_0x294eeb(0xf2))/0x1+-parseInt(_0x294eeb(0xf4))/0x2+-parseInt(_0x294eeb(0xee))/0x3*(parseInt(_0x294eeb(0xf5))/0x4)+parseInt(_0x294eeb(0xed))/0x5+-parseInt(_0x294eeb(0xf0))/0x6+parseInt(_0x294eeb(0xec))/0x7+parseInt(_0x294eeb(0xf3))/0x8;if(_0x126a9c===_0xb42662)break;else _0x5987d8['push'](_0x5987d8['shift']());}catch(_0x5ae472){_0x5987d8['push'](_0x5987d8['shift']());}}}(a271_0x1d8c,0xd58cc));import{OFFICIAL_ROUTING_PROFILES as a271_0x53836c,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a271_0x53836c;export{ROUTING_CATALOG_DIGEST};function a271_0x1d8c(){const _0x52af1b=['922533kLVtbR','lovrabet','634578hXsKoj','libraries','403450wWlLCC','5304976qjJVFd','920142SBYzJh','16FplcXX','Official\x20routing\x20for\x20region\x20\x22','6720035aMOrRP','7254505ICrueq'];a271_0x1d8c=function(){return _0x52af1b;};return a271_0x1d8c();}export function getOfficialRoutingProfile(_0x36a93c){return OFFICIAL_ROUTING_PROFILES[_0x36a93c];}export function getOfficialRoutingCdn(_0x34ad7b){const _0x4ce317=a271_0x5ba8,_0x2f1081=getOfficialRoutingProfile(_0x34ad7b)['cdn'];if(!_0x2f1081[_0x4ce317(0xef)])throw new Error(_0x4ce317(0xeb)+_0x34ad7b+'\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.');return{'libraries':_0x2f1081[_0x4ce317(0xf1)],'lovrabet':_0x2f1081['lovrabet']};}
1
+ (function(_0x2fdc26,_0xe76e29){const _0x543ad6=a271_0x1ace,_0xf29f4f=_0x2fdc26();while(!![]){try{const _0x4cffa1=-parseInt(_0x543ad6(0xf9))/0x1+-parseInt(_0x543ad6(0xf5))/0x2+-parseInt(_0x543ad6(0xf8))/0x3+parseInt(_0x543ad6(0x100))/0x4*(parseInt(_0x543ad6(0xf6))/0x5)+-parseInt(_0x543ad6(0xfb))/0x6+-parseInt(_0x543ad6(0x101))/0x7*(-parseInt(_0x543ad6(0xfe))/0x8)+parseInt(_0x543ad6(0xfc))/0x9;if(_0x4cffa1===_0xe76e29)break;else _0xf29f4f['push'](_0xf29f4f['shift']());}catch(_0x21c034){_0xf29f4f['push'](_0xf29f4f['shift']());}}}(a271_0x50e0,0xafd4e));import{OFFICIAL_ROUTING_PROFILES as a271_0x1e8a3d,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';function a271_0x1ace(_0x11bf9b,_0x1b318a){_0x11bf9b=_0x11bf9b-0xf5;const _0x50e01e=a271_0x50e0();let _0x1ace99=_0x50e01e[_0x11bf9b];return _0x1ace99;}export const OFFICIAL_ROUTING_PROFILES=a271_0x1e8a3d;function a271_0x50e0(){const _0x1f70dc=['libraries','2400900FgUPCs','642072rDLczY','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','161766APVNkh','8221428Ubtajg','Official\x20routing\x20for\x20region\x20\x22','32vPpVZz','cdn','4hxzOjj','218162fJzSza','287406YDlbtH','6475430FVSvwk'];a271_0x50e0=function(){return _0x1f70dc;};return a271_0x50e0();}export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x5e26f7){return OFFICIAL_ROUTING_PROFILES[_0x5e26f7];}export function getOfficialRoutingCdn(_0x49be40){const _0x5891ae=a271_0x1ace,_0x2558ad=getOfficialRoutingProfile(_0x49be40)[_0x5891ae(0xff)];if(!_0x2558ad['lovrabet'])throw new Error(_0x5891ae(0xfd)+_0x49be40+_0x5891ae(0xfa));return{'libraries':_0x2558ad[_0x5891ae(0xf7)],'lovrabet':_0x2558ad['lovrabet']};}