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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/api-group.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/api/generate-sdk-config-file.js +1 -1
  6. package/lib/api/legacy-api-file.js +1 -1
  7. package/lib/api/model-registry-file.js +1 -1
  8. package/lib/api/model-registry-scaffold.js +1 -1
  9. package/lib/api/model-source.js +1 -1
  10. package/lib/auth/auth-server-ui.js +1 -1
  11. package/lib/auth/auth-server.js +1 -1
  12. package/lib/auth/constant.js +1 -1
  13. package/lib/auth/get-cookie.js +1 -1
  14. package/lib/auth/get-session-user.js +1 -1
  15. package/lib/auth/is-session-valid.js +1 -1
  16. package/lib/auth/login-success-html.js +1 -1
  17. package/lib/auth/logout.js +1 -1
  18. package/lib/cli-flags.js +1 -1
  19. package/lib/cli.js +1 -1
  20. package/lib/commands/api/generate.js +1 -1
  21. package/lib/commands/api/index.js +1 -1
  22. package/lib/commands/api/list.js +1 -1
  23. package/lib/commands/api/pull.js +1 -1
  24. package/lib/commands/api/shared.js +1 -1
  25. package/lib/commands/app/detail.js +1 -1
  26. package/lib/commands/app/index.js +1 -1
  27. package/lib/commands/app/list.js +1 -1
  28. package/lib/commands/app/members-list.js +1 -1
  29. package/lib/commands/app/remote-directory.js +1 -1
  30. package/lib/commands/app/shared.js +1 -1
  31. package/lib/commands/app-config/delete.js +1 -1
  32. package/lib/commands/app-config/get.js +1 -1
  33. package/lib/commands/app-config/index.js +1 -1
  34. package/lib/commands/app-config/list.js +1 -1
  35. package/lib/commands/app-config/set.js +1 -1
  36. package/lib/commands/app-config/shared.js +1 -1
  37. package/lib/commands/auth/index.js +1 -1
  38. package/lib/commands/bff/create.js +1 -1
  39. package/lib/commands/bff/delete.js +1 -1
  40. package/lib/commands/bff/detail.js +1 -1
  41. package/lib/commands/bff/index.js +1 -1
  42. package/lib/commands/bff/list.js +1 -1
  43. package/lib/commands/bff/logs.js +1 -1
  44. package/lib/commands/bff/pull.js +1 -1
  45. package/lib/commands/bff/push.js +1 -1
  46. package/lib/commands/bff/status.js +1 -1
  47. package/lib/commands/cli-skill/index.js +1 -1
  48. package/lib/commands/cli-update.js +1 -1
  49. package/lib/commands/codegen/index.js +1 -1
  50. package/lib/commands/codegen/sdk.js +1 -1
  51. package/lib/commands/codegen/sql.js +1 -1
  52. package/lib/commands/common/app-registry.js +1 -1
  53. package/lib/commands/common/app-selector.js +1 -1
  54. package/lib/commands/common/async-task.js +1 -1
  55. package/lib/commands/common/dry-run.js +1 -1
  56. package/lib/commands/common/flags.js +1 -1
  57. package/lib/commands/common/local-file.js +1 -1
  58. package/lib/commands/common/validate.js +1 -1
  59. package/lib/commands/config/delete.js +1 -1
  60. package/lib/commands/config/get.js +1 -1
  61. package/lib/commands/config/index.js +1 -1
  62. package/lib/commands/config/init.js +1 -1
  63. package/lib/commands/config/list.js +1 -1
  64. package/lib/commands/config/set.js +1 -1
  65. package/lib/commands/config/shared.js +1 -1
  66. package/lib/commands/dataset/batch-design.js +1 -1
  67. package/lib/commands/dataset/business-group-update.js +1 -1
  68. package/lib/commands/dataset/business-groups.js +1 -1
  69. package/lib/commands/dataset/capability.js +1 -1
  70. package/lib/commands/dataset/cross-relation-create.js +1 -1
  71. package/lib/commands/dataset/cross-relation-delete.js +1 -1
  72. package/lib/commands/dataset/cross-relation-list.js +1 -1
  73. package/lib/commands/dataset/cross-relation-shared.js +1 -1
  74. package/lib/commands/dataset/cross-relation-update.js +1 -1
  75. package/lib/commands/dataset/delete.js +1 -1
  76. package/lib/commands/dataset/design-context.js +1 -1
  77. package/lib/commands/dataset/design-start.js +1 -1
  78. package/lib/commands/dataset/design-status.js +1 -1
  79. package/lib/commands/dataset/design-sync-retry.js +1 -1
  80. package/lib/commands/dataset/design-sync-status.js +1 -1
  81. package/lib/commands/dataset/design-validate.js +1 -1
  82. package/lib/commands/dataset/detail.js +1 -1
  83. package/lib/commands/dataset/extend-update.js +1 -1
  84. package/lib/commands/dataset/field-restore.js +1 -1
  85. package/lib/commands/dataset/field-update.js +1 -1
  86. package/lib/commands/dataset/generate.js +1 -1
  87. package/lib/commands/dataset/index.js +1 -1
  88. package/lib/commands/dataset/list.js +1 -1
  89. package/lib/commands/dataset/operations.js +1 -1
  90. package/lib/commands/dataset/relation-audit.js +1 -1
  91. package/lib/commands/dataset/relation-create.js +1 -1
  92. package/lib/commands/dataset/relation-delete.js +1 -1
  93. package/lib/commands/dataset/relation-shared.js +1 -1
  94. package/lib/commands/dataset/relation-update.js +1 -1
  95. package/lib/commands/dataset/relations.js +1 -1
  96. package/lib/commands/dataset/rename.js +1 -1
  97. package/lib/commands/dataset/restore.js +1 -1
  98. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  99. package/lib/commands/db/analysis-batching.js +1 -1
  100. package/lib/commands/db/analyze-batch-plan.js +1 -1
  101. package/lib/commands/db/analyze-cancel.js +1 -1
  102. package/lib/commands/db/analyze-start.js +1 -1
  103. package/lib/commands/db/analyze-status.js +1 -1
  104. package/lib/commands/db/create.js +1 -1
  105. package/lib/commands/db/cross-db-analysis-shared.js +1 -1
  106. package/lib/commands/db/cross-db-analyze-latest.js +1 -1
  107. package/lib/commands/db/cross-db-analyze-start.js +1 -1
  108. package/lib/commands/db/cross-db-analyze-status.js +1 -1
  109. package/lib/commands/db/delete.js +1 -1
  110. package/lib/commands/db/detail.js +1 -1
  111. package/lib/commands/db/diff-refresh-start.js +1 -1
  112. package/lib/commands/db/diff-refresh-status.js +1 -1
  113. package/lib/commands/db/diff.js +1 -1
  114. package/lib/commands/db/index.js +1 -1
  115. package/lib/commands/db/list.js +1 -1
  116. package/lib/commands/db/shared.js +1 -1
  117. package/lib/commands/db/table-diff-shared.js +1 -1
  118. package/lib/commands/db/tables.js +1 -1
  119. package/lib/commands/db/test.js +1 -1
  120. package/lib/commands/db/update.js +1 -1
  121. package/lib/commands/deployment/index.js +1 -1
  122. package/lib/commands/deployment/sync-all.js +1 -1
  123. package/lib/commands/deployment/sync-jobs.js +1 -1
  124. package/lib/commands/deployment/sync-status.js +1 -1
  125. package/lib/commands/doctor.js +1 -1
  126. package/lib/commands/file/index.js +1 -1
  127. package/lib/commands/flow/create.js +1 -1
  128. package/lib/commands/flow/detail.js +1 -1
  129. package/lib/commands/flow/index.js +1 -1
  130. package/lib/commands/flow/list.js +1 -1
  131. package/lib/commands/flow/page-list.js +1 -1
  132. package/lib/commands/flow/publish.js +1 -1
  133. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  134. package/lib/commands/flow/runtime-role-list.js +1 -1
  135. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  136. package/lib/commands/flow/runtime-user-search.js +1 -1
  137. package/lib/commands/flow/shared.js +1 -1
  138. package/lib/commands/flow/update.js +1 -1
  139. package/lib/commands/flow/validate.js +1 -1
  140. package/lib/commands/instant-api-policy/current.js +1 -1
  141. package/lib/commands/instant-api-policy/index.js +1 -1
  142. package/lib/commands/instant-api-policy/init.js +1 -1
  143. package/lib/commands/instant-api-policy/publish.js +1 -1
  144. package/lib/commands/instant-api-policy/pull.js +1 -1
  145. package/lib/commands/instant-api-policy/revision.js +1 -1
  146. package/lib/commands/instant-api-policy/revisions.js +1 -1
  147. package/lib/commands/instant-api-policy/rollback.js +1 -1
  148. package/lib/commands/instant-api-policy/shared.js +1 -1
  149. package/lib/commands/instant-api-policy/validate.js +1 -1
  150. package/lib/commands/issue/context.js +1 -1
  151. package/lib/commands/issue/index.js +1 -1
  152. package/lib/commands/issue/nudge.js +1 -1
  153. package/lib/commands/issue/report.js +1 -1
  154. package/lib/commands/kb/create.js +1 -1
  155. package/lib/commands/kb/delete.js +1 -1
  156. package/lib/commands/kb/detail.js +1 -1
  157. package/lib/commands/kb/index.js +1 -1
  158. package/lib/commands/kb/list.js +1 -1
  159. package/lib/commands/kb/search.js +1 -1
  160. package/lib/commands/kb/shared.js +1 -1
  161. package/lib/commands/kb/update.js +1 -1
  162. package/lib/commands/logs/index.js +1 -1
  163. package/lib/commands/menu/asset-update.js +1 -1
  164. package/lib/commands/menu/delete.js +1 -1
  165. package/lib/commands/menu/external-link-create.js +1 -1
  166. package/lib/commands/menu/external-link-update.js +1 -1
  167. package/lib/commands/menu/group-create.js +1 -1
  168. package/lib/commands/menu/group-update.js +1 -1
  169. package/lib/commands/menu/index.js +1 -1
  170. package/lib/commands/menu/list.js +1 -1
  171. package/lib/commands/menu/move.js +1 -1
  172. package/lib/commands/menu/regroup-start.js +1 -1
  173. package/lib/commands/menu/rename.js +1 -1
  174. package/lib/commands/menu/shared/compare-table.js +1 -1
  175. package/lib/commands/menu/shared/delete-plan.js +1 -1
  176. package/lib/commands/menu/shared/facts.js +1 -1
  177. package/lib/commands/menu/shared/index.js +1 -1
  178. package/lib/commands/menu/shared/inquirer.js +1 -1
  179. package/lib/commands/menu/shared/local-pages.js +1 -1
  180. package/lib/commands/menu/shared/logic.js +1 -1
  181. package/lib/commands/menu/shared/mutations.js +1 -1
  182. package/lib/commands/menu/shared/path.js +1 -1
  183. package/lib/commands/menu/shared/service.js +1 -1
  184. package/lib/commands/menu/shared/subapp-assets.js +1 -1
  185. package/lib/commands/menu/shared/sync-core.js +1 -1
  186. package/lib/commands/menu/shared/update-core.js +1 -1
  187. package/lib/commands/menu/shared/valid-url.js +1 -1
  188. package/lib/commands/menu/subapp-assets-status.js +1 -1
  189. package/lib/commands/menu/subapp-assets-update.js +1 -1
  190. package/lib/commands/menu/sync.js +1 -1
  191. package/lib/commands/menu/visibility-update.js +1 -1
  192. package/lib/commands/notification/config-create.js +1 -1
  193. package/lib/commands/notification/config-delete.js +1 -1
  194. package/lib/commands/notification/config-list.js +1 -1
  195. package/lib/commands/notification/config-update.js +1 -1
  196. package/lib/commands/notification/index.js +1 -1
  197. package/lib/commands/notification/shared.js +1 -1
  198. package/lib/commands/ocr/index.js +1 -1
  199. package/lib/commands/page/create.js +1 -1
  200. package/lib/commands/page/custom/detail.js +1 -1
  201. package/lib/commands/page/custom/list.js +1 -1
  202. package/lib/commands/page/custom/publish.js +1 -1
  203. package/lib/commands/page/custom/shared.js +1 -1
  204. package/lib/commands/page/custom/syntax.js +1 -1
  205. package/lib/commands/page/custom/update.js +1 -1
  206. package/lib/commands/page/data-list-status.js +1 -1
  207. package/lib/commands/page/generate-start.js +1 -1
  208. package/lib/commands/page/generate-status.js +1 -1
  209. package/lib/commands/page/index.js +1 -1
  210. package/lib/commands/page/pull.js +1 -1
  211. package/lib/commands/page/push.js +1 -1
  212. package/lib/commands/page/relation-audit.js +1 -1
  213. package/lib/commands/page/restore.js +1 -1
  214. package/lib/commands/page/shared.js +1 -1
  215. package/lib/commands/page/sync.js +1 -1
  216. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  217. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  218. package/lib/commands/project/create/format-elapsed.js +1 -1
  219. package/lib/commands/project/create/main.js +1 -1
  220. package/lib/commands/project/create/materialize-project-template.js +1 -1
  221. package/lib/commands/project/create/project-name.js +1 -1
  222. package/lib/commands/project/create/project-template-archive.js +1 -1
  223. package/lib/commands/project/create/project-template-path.js +1 -1
  224. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  225. package/lib/commands/project/create/use-format-code.js +1 -1
  226. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  227. package/lib/commands/project/domain-routing-sync.js +1 -1
  228. package/lib/commands/project/index.js +1 -1
  229. package/lib/commands/project/upgrade.js +1 -1
  230. package/lib/commands/registry.js +1 -1
  231. package/lib/commands/role/delete.js +1 -1
  232. package/lib/commands/role/detail.js +1 -1
  233. package/lib/commands/role/index.js +1 -1
  234. package/lib/commands/role/list.js +1 -1
  235. package/lib/commands/role/shared.js +1 -1
  236. package/lib/commands/role/update.js +1 -1
  237. package/lib/commands/role/user-add.js +1 -1
  238. package/lib/commands/role/user-remove.js +1 -1
  239. package/lib/commands/role/user-resolve.js +1 -1
  240. package/lib/commands/rule/get.js +1 -1
  241. package/lib/commands/rule/index.js +1 -1
  242. package/lib/commands/rule/list.js +1 -1
  243. package/lib/commands/rule/set.js +1 -1
  244. package/lib/commands/rule/shared.js +1 -1
  245. package/lib/commands/run/index.js +1 -1
  246. package/lib/commands/schema.js +1 -1
  247. package/lib/commands/sql/create.js +1 -1
  248. package/lib/commands/sql/delete.js +1 -1
  249. package/lib/commands/sql/detail.js +1 -1
  250. package/lib/commands/sql/exec.js +1 -1
  251. package/lib/commands/sql/index.js +1 -1
  252. package/lib/commands/sql/list.js +1 -1
  253. package/lib/commands/sql/pull.js +1 -1
  254. package/lib/commands/sql/push.js +1 -1
  255. package/lib/commands/sql/shared.js +1 -1
  256. package/lib/commands/sql/status.js +1 -1
  257. package/lib/commands/sql/validate.js +1 -1
  258. package/lib/commands/task/index.js +1 -1
  259. package/lib/commands/task/status.js +1 -1
  260. package/lib/commands/tenant/index.js +1 -1
  261. package/lib/commands/tenant/members-list.js +1 -1
  262. package/lib/commands/tenant/shared.js +1 -1
  263. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  264. package/lib/commands/user-account/feishu-bind.js +1 -1
  265. package/lib/commands/user-account/index.js +1 -1
  266. package/lib/commands/workspace/add.js +1 -1
  267. package/lib/commands/workspace/index.js +1 -1
  268. package/lib/commands/workspace/remove.js +1 -1
  269. package/lib/config/domain-config.js +1 -1
  270. package/lib/config/project-domain-routing.js +1 -1
  271. package/lib/config/region-config.js +1 -1
  272. package/lib/config/schema.js +1 -1
  273. package/lib/constant/cdn.js +1 -1
  274. package/lib/constant/cli.js +1 -1
  275. package/lib/constant/defaults.js +1 -1
  276. package/lib/constant/domain.js +1 -1
  277. package/lib/constant/env.js +1 -1
  278. package/lib/constant/output.js +1 -1
  279. package/lib/constant/paths.js +1 -1
  280. package/lib/constant/region.js +1 -1
  281. package/lib/constant/risk.js +1 -1
  282. package/lib/constant/routing-profile.js +1 -1
  283. package/lib/context/app-resolver.js +1 -1
  284. package/lib/context/auth-resolver.js +1 -1
  285. package/lib/context/config-loader.js +1 -1
  286. package/lib/context.js +1 -1
  287. package/lib/core/alias-resolver.js +1 -1
  288. package/lib/core/api-client.js +1 -1
  289. package/lib/core/bff/config.js +1 -1
  290. package/lib/core/bff/file-system.js +1 -1
  291. package/lib/core/bff/hash.js +1 -1
  292. package/lib/core/bff/hook-directory.js +1 -1
  293. package/lib/core/bff/lock.js +1 -1
  294. package/lib/core/bff/utils.js +1 -1
  295. package/lib/core/cross-db-analysis.js +1 -1
  296. package/lib/core/cross-db-relation.js +1 -1
  297. package/lib/core/db-resolver.js +1 -1
  298. package/lib/core/flow-config.js +1 -1
  299. package/lib/core/instant-api-policy/config.js +1 -1
  300. package/lib/core/instant-api-policy/endpoints.js +1 -1
  301. package/lib/core/kb-management-client.js +1 -1
  302. package/lib/core/kb-search-client.js +1 -1
  303. package/lib/core/page/file-system.js +1 -1
  304. package/lib/core/page/hash.js +1 -1
  305. package/lib/core/page/lock.js +1 -1
  306. package/lib/core/page/lr-smart-jsx.js +1 -1
  307. package/lib/core/sql-index-auditor.js +1 -1
  308. package/lib/core/sql-sync/config.js +1 -1
  309. package/lib/core/sql-sync/file-system.js +1 -1
  310. package/lib/core/sql-sync/hash.js +1 -1
  311. package/lib/core/sql-sync/lock.js +1 -1
  312. package/lib/core/sql-sync/utils.js +1 -1
  313. package/lib/core/sql-validator.js +1 -1
  314. package/lib/errors.js +1 -1
  315. package/lib/framework/build-all-flags.js +1 -1
  316. package/lib/framework/error-output.js +1 -1
  317. package/lib/framework/explicit-yes.js +1 -1
  318. package/lib/framework/flags.js +1 -1
  319. package/lib/framework/help.js +1 -1
  320. package/lib/framework/index.js +1 -1
  321. package/lib/framework/output.js +1 -1
  322. package/lib/framework/response.js +1 -1
  323. package/lib/framework/runner-alias.js +1 -1
  324. package/lib/framework/runner.js +1 -1
  325. package/lib/framework/schema-export.js +1 -1
  326. package/lib/framework/supported-flags.js +1 -1
  327. package/lib/framework/types.js +1 -1
  328. package/lib/generated/build-info.d.ts +4 -4
  329. package/lib/generated/build-info.js +1 -1
  330. package/lib/generated/official-routing.js +1 -1
  331. package/lib/generated/routing-contract.js +1 -1
  332. package/lib/help.js +1 -1
  333. package/lib/postinstall.js +1 -1
  334. package/lib/runtime/confirmation.js +1 -1
  335. package/lib/runtime/event.js +1 -1
  336. package/lib/runtime/index.js +1 -1
  337. package/lib/runtime/queue.js +1 -1
  338. package/lib/runtime/resolve.js +1 -1
  339. package/lib/services/dataset-design/checkpoint.js +1 -1
  340. package/lib/services/dataset-design/commands.js +1 -1
  341. package/lib/services/dataset-design/contract.js +1 -1
  342. package/lib/skills/builtin-skill.js +1 -1
  343. package/lib/skills/main.js +1 -1
  344. package/lib/skills/npx-skills-add.js +1 -1
  345. package/lib/skills/skill-presence.js +1 -1
  346. package/lib/telemetry/cli-command-trace.js +1 -1
  347. package/lib/telemetry/cli-help-trace.js +1 -1
  348. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  349. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  350. package/lib/telemetry/send-cli-trace-log.js +1 -1
  351. package/lib/utils/ai_config.js +1 -1
  352. package/lib/utils/apply-jq-filter.js +1 -1
  353. package/lib/utils/cdn-config.js +1 -1
  354. package/lib/utils/check-sdk-version.js +1 -1
  355. package/lib/utils/cli-version-check.js +1 -1
  356. package/lib/utils/cli-version-policy.js +1 -1
  357. package/lib/utils/config.js +1 -1
  358. package/lib/utils/entity-with-id.js +1 -1
  359. package/lib/utils/file-utils.js +1 -1
  360. package/lib/utils/guides-cdn.js +1 -1
  361. package/lib/utils/http-client.js +1 -1
  362. package/lib/utils/is-non-interactive.js +1 -1
  363. package/lib/utils/logger.js +1 -1
  364. package/lib/utils/params.js +1 -1
  365. package/lib/utils/platform.js +1 -1
  366. package/lib/utils/sleep.js +1 -1
  367. package/lib/utils/template-replacer.js +1 -1
  368. package/lib/utils/update-notice.js +1 -1
  369. package/lib/utils/version.js +1 -1
  370. package/lib/utils/with-active-cookie.js +1 -1
  371. package/lib/utils/write-cli-side-channel.js +1 -1
  372. package/package.json +1 -1
  373. package/skills/rabetbase/SKILL.md +1 -1
  374. package/skills/rabetbase-dataset-generation/SKILL.md +1 -1
  375. package/skills/rabetbase-page-generation/SKILL.md +1 -1
  376. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- const a266_0x3c2c56=a266_0xe1bf;function a266_0x2e8c(){const _0x40c6b3=['3cborxv','8HjgmeW','add','869qGCVis','2724884PVYnJB','1EKIaMs','write','4705794SIjODl','42540lwRcDE','workspace\x20add','App\x20profile\x20name','name','3514440RASpWW','526242EBVpdq','8688tMZoaJ','5614728ApdSqh','5488EXWtyx'];a266_0x2e8c=function(){return _0x40c6b3;};return a266_0x2e8c();}(function(_0x1f819f,_0xc1d543){const _0xa22358=a266_0xe1bf,_0x2b252b=_0x1f819f();while(!![]){try{const _0x5e7644=parseInt(_0xa22358(0xf8))/0x1*(-parseInt(_0xa22358(0xef))/0x2)+parseInt(_0xa22358(0xf3))/0x3*(parseInt(_0xa22358(0xf7))/0x4)+-parseInt(_0xa22358(0xee))/0x5+parseInt(_0xa22358(0xf0))/0x6*(parseInt(_0xa22358(0xf2))/0x7)+-parseInt(_0xa22358(0xf4))/0x8*(-parseInt(_0xa22358(0xe9))/0x9)+-parseInt(_0xa22358(0xea))/0xa*(parseInt(_0xa22358(0xf6))/0xb)+-parseInt(_0xa22358(0xf1))/0xc;if(_0x5e7644===_0xc1d543)break;else _0x2b252b['push'](_0x2b252b['shift']());}catch(_0x27e554){_0x2b252b['push'](_0x2b252b['shift']());}}}(a266_0x2e8c,0x8b006));function a266_0xe1bf(_0x2eff6a,_0x451fa6){_0x2eff6a=_0x2eff6a-0xe9;const _0x2e8c05=a266_0x2e8c();let _0xe1bf35=_0x2e8c05[_0x2eff6a];return _0xe1bf35;}import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':'workspace','command':a266_0x3c2c56(0xf5),'description':'Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','risk':a266_0x3c2c56(0xf9),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a266_0x3c2c56(0xed),'description':a266_0x3c2c56(0xec),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0x45f0c2=>validateAppName(_0x45f0c2,a266_0x3c2c56(0xeb)),'execute':_0x462fbc=>runAppAdd(_0x462fbc,a266_0x3c2c56(0xeb))};
1
+ const a266_0x2105b5=a266_0x1ad5;(function(_0x12b0dc,_0x1c1103){const _0x42740c=a266_0x1ad5,_0x3cadce=_0x12b0dc();while(!![]){try{const _0x5b5d3b=parseInt(_0x42740c(0xd5))/0x1*(parseInt(_0x42740c(0xd4))/0x2)+parseInt(_0x42740c(0xc7))/0x3*(parseInt(_0x42740c(0xcd))/0x4)+parseInt(_0x42740c(0xce))/0x5*(-parseInt(_0x42740c(0xc8))/0x6)+parseInt(_0x42740c(0xcc))/0x7+-parseInt(_0x42740c(0xd1))/0x8+parseInt(_0x42740c(0xc6))/0x9*(parseInt(_0x42740c(0xd2))/0xa)+-parseInt(_0x42740c(0xcf))/0xb*(parseInt(_0x42740c(0xd0))/0xc);if(_0x5b5d3b===_0x1c1103)break;else _0x3cadce['push'](_0x3cadce['shift']());}catch(_0x223535){_0x3cadce['push'](_0x3cadce['shift']());}}}(a266_0x2fe0,0xe25c0));import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';function a266_0x1ad5(_0x3f9806,_0x15b965){_0x3f9806=_0x3f9806-0xc6;const _0x2fe024=a266_0x2fe0();let _0x1ad5fb=_0x2fe024[_0x3f9806];return _0x1ad5fb;}export const workspaceAddDefinition={'service':a266_0x2105b5(0xcb),'command':a266_0x2105b5(0xc9),'description':a266_0x2105b5(0xd7),'risk':a266_0x2105b5(0xca),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':'name','description':a266_0x2105b5(0xd6),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0x2da104=>validateAppName(_0x2da104,'workspace\x20add'),'execute':_0x1f5cd1=>runAppAdd(_0x1f5cd1,a266_0x2105b5(0xd3))};function a266_0x2fe0(){const _0xc50d21=['3874948BcLfbG','3033544tNdBMG','5sNrENi','22qhsBiu','3801048ACLrxk','11382336ifkwDC','4170rNciRv','workspace\x20add','2202KMSsdk','1342JEROOL','App\x20profile\x20name','Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','7983ALAQKi','3mgAkex','1055418tHLrbO','add','write','workspace'];a266_0x2fe0=function(){return _0xc50d21;};return a266_0x2fe0();}
@@ -1 +1 @@
1
- function a267_0x2924(){const _0x3ff445=['601440thpeWW','Workspace\x20','string','Target\x20environment','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','Use\x20`','apps','apiDir','isArray','192626GMkykj','App\x20locale\x20for\x20this\x20workspace\x20app\x20profile\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace','\x20workspace\x20use\x20--app\x20<name>`.','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','appcode','.\x20Credentials:\x20not\x20written.','app','trim','validation','object','60uZEXON','Switch\x20the\x20current\x20workspace\x20app\x20binding','Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','workspace.','1650200KZyFeG','pageSize','workspace','number','172383hPRybF','Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','flag','globalConfig','write','defaultFormat','keys','38GWejaV','locale','initialized','2630178OhCMas','apiGroup','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','init','\x20(appcode:\x20','format','Initialize\x20the\x20current\x20workspace\x20app\x20binding','Invalid\x20appcode:\x20','join','225KRRYjn','16468nDLPFq','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','region','1079UiRDOQ','str','riskLevel','project','env','Missing\x20workspace\x20app\x20selector.','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','\x20workspace\x20'];a267_0x2924=function(){return _0x3ff445;};return a267_0x2924();}const a267_0x1757c8=a267_0x1347;(function(_0x3ac12b,_0x378f95){const _0x4fa4dc=a267_0x1347,_0x11abae=_0x3ac12b();while(!![]){try{const _0x36f100=parseInt(_0x4fa4dc(0xcf))/0x1*(-parseInt(_0x4fa4dc(0xbf))/0x2)+parseInt(_0x4fa4dc(0xb8))/0x3+parseInt(_0x4fa4dc(0xcc))/0x4*(-parseInt(_0x4fa4dc(0xcb))/0x5)+parseInt(_0x4fa4dc(0xb0))/0x6*(parseInt(_0x4fa4dc(0xa5))/0x7)+-parseInt(_0x4fa4dc(0xb4))/0x8+parseInt(_0x4fa4dc(0xc2))/0x9+-parseInt(_0x4fa4dc(0xd7))/0xa;if(_0x36f100===_0x378f95)break;else _0x11abae['push'](_0x11abae['shift']());}catch(_0x3c94b7){_0x11abae['push'](_0x11abae['shift']());}}}(a267_0x2924,0x2547a));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';import{RABETBASE_ENV_VALUES}from'../../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{RISK_LEVEL_VALUES}from'../../constant/risk.js';function a267_0x1347(_0x30ed7e,_0x5e3a50){_0x30ed7e=_0x30ed7e-0x9d;const _0x29246c=a267_0x2924();let _0x1347f8=_0x29246c[_0x30ed7e];return _0x1347f8;}import{validateAppcode}from'../../commands/common/validate.js';import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';import{normalizeStoredDefaultApp}from'../../config/schema.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../../constant/region.js';const WORKSPACE_USAGE=CLI_BIN_NAME+a267_0x1757c8(0xd5),SAFE_PROFILE_KEYS=[a267_0x1757c8(0xaa),a267_0x1757c8(0xc3),'region',a267_0x1757c8(0xd3),'apiDir',a267_0x1757c8(0xc7),a267_0x1757c8(0xb5),'riskLevel','locale'],workspaceFlags=[{'name':a267_0x1757c8(0xac),'type':a267_0x1757c8(0x9e),'description':a267_0x1757c8(0xa7)},{'name':'appcode','type':a267_0x1757c8(0x9e),'description':a267_0x1757c8(0xa9)},{'name':'apiGroup','type':a267_0x1757c8(0x9e),'description':a267_0x1757c8(0xcd)},{'name':a267_0x1757c8(0xce),'type':a267_0x1757c8(0x9e),'description':'Country/region\x20for\x20this\x20workspace\x20app\x20profile','enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':a267_0x1757c8(0xd3),'type':a267_0x1757c8(0x9e),'description':a267_0x1757c8(0x9f),'enum':[...RABETBASE_ENV_VALUES]},{'name':a267_0x1757c8(0xa3),'type':a267_0x1757c8(0x9e),'description':'API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile'},{'name':a267_0x1757c8(0xbd),'type':a267_0x1757c8(0x9e),'description':a267_0x1757c8(0xb2),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a267_0x1757c8(0xb5),'type':a267_0x1757c8(0xb7),'description':a267_0x1757c8(0xa0)},{'name':a267_0x1757c8(0xd1),'type':'string','description':a267_0x1757c8(0xb9),'enum':[...RISK_LEVEL_VALUES]},{'name':a267_0x1757c8(0xc0),'type':a267_0x1757c8(0x9e),'description':a267_0x1757c8(0xa6)}];function isRecord(_0x7513bb){const _0x2ac3d9=a267_0x1757c8;return!!_0x7513bb&&typeof _0x7513bb===_0x2ac3d9(0xaf)&&!Array[_0x2ac3d9(0xa4)](_0x7513bb);}function assertValidAppcode(_0x506fc4){const _0x393908=a267_0x1757c8,{valid:_0x4d89e6,message:_0x2b7c64}=validateAppcode(_0x506fc4);if(!_0x4d89e6)throw CliErrors[_0x393908(0xae)](_0x393908(0xc9)+_0x506fc4,_0x2b7c64);}function sanitizeProfile(_0x127f76){if(!isRecord(_0x127f76))return{};const _0x1dd24e={};for(const _0x39223c of SAFE_PROFILE_KEYS){if(_0x127f76[_0x39223c]!==undefined)_0x1dd24e[_0x39223c]=_0x127f76[_0x39223c];}return _0x1dd24e;}function cloneProfile(_0x23423e){return isRecord(_0x23423e)?{..._0x23423e}:{};}function collectWorkspaceProfileOverrides(_0x4d5220){const _0x10975b=a267_0x1757c8,_0x5d808a={},_0x265f70=_0x4d5220[_0x10975b(0xd0)](_0x10975b(0xc3)),_0x45c5ab=_0x4d5220[_0x10975b(0xd0)](_0x10975b(0xce)),_0x38bf2c=_0x4d5220['str']('env'),_0x314caa=_0x4d5220['str'](_0x10975b(0xa3)),_0x482ae9=_0x4d5220[_0x10975b(0xd0)](_0x10975b(0xbd)),_0x490c03=_0x4d5220[_0x10975b(0xba)](_0x10975b(0xb5)),_0x5c12f3=_0x4d5220['str'](_0x10975b(0xd1)),_0x176e1a=_0x4d5220['str'](_0x10975b(0xc0));if(_0x265f70)_0x5d808a[_0x10975b(0xc3)]=_0x265f70;if(_0x45c5ab)_0x5d808a[_0x10975b(0xce)]=_0x45c5ab;if(_0x38bf2c)_0x5d808a[_0x10975b(0xd3)]=_0x38bf2c;if(_0x314caa)_0x5d808a['apiDir']=_0x314caa;if(_0x482ae9)_0x5d808a[_0x10975b(0xc7)]=_0x482ae9;if(_0x490c03!==undefined&&_0x490c03!=='')_0x5d808a[_0x10975b(0xb5)]=Number(_0x490c03);if(_0x5c12f3)_0x5d808a[_0x10975b(0xd1)]=_0x5c12f3;if(_0x176e1a)_0x5d808a[_0x10975b(0xc0)]=_0x176e1a;return _0x5d808a;}async function validateWorkspaceArgs(_0xde0049){const _0xbc879d=a267_0x1757c8,_0x15a4a9=_0xde0049[_0xbc879d(0xd0)](_0xbc879d(0xac))[_0xbc879d(0xad)](),_0x1a5863=_0xde0049['str'](_0xbc879d(0xaa))[_0xbc879d(0xad)]();if(!_0x15a4a9&&!_0x1a5863)throw CliErrors[_0xbc879d(0xae)]('Missing\x20workspace\x20app\x20selector.',_0xbc879d(0xa1)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+_0xbc879d(0xa8));if(_0x1a5863)assertValidAppcode(_0x1a5863);}function resolveKnownApps(){const _0x363165=a267_0x1757c8,{config:_0x1831a8,layers:_0x5e774a}=readRawConfigWithLayers(),_0x206c63=isRecord(_0x1831a8[_0x363165(0xa2)])?_0x1831a8['apps']:{},_0x44cc22=isRecord(_0x5e774a[_0x363165(0xbb)][_0x363165(0xa2)])?_0x5e774a[_0x363165(0xbb)][_0x363165(0xa2)]:{};return{..._0x44cc22,..._0x206c63};}async function configureWorkspace(_0x28bdf5,_0x20c979){const _0x4ecb5c=a267_0x1757c8,_0x44bc1a=_0x28bdf5[_0x4ecb5c(0xd0)](_0x4ecb5c(0xac))[_0x4ecb5c(0xad)](),_0xa91e1e=_0x28bdf5[_0x4ecb5c(0xd0)](_0x4ecb5c(0xaa))['trim'](),_0x24381a=_0x44bc1a||_0xa91e1e;if(!_0x24381a)throw CliErrors[_0x4ecb5c(0xae)](_0x4ecb5c(0xd4),_0x4ecb5c(0xa1)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+_0x4ecb5c(0xa8));if(_0xa91e1e)assertValidAppcode(_0xa91e1e);const _0x99c290=resolveWriteConfigPath(_0x4ecb5c(0xd2)),_0x112c17=readConfigFile(_0x99c290),_0x2d1f13=resolveKnownApps(),_0x3cc5d3=isRecord(_0x112c17[_0x4ecb5c(0xa2)])?{..._0x112c17[_0x4ecb5c(0xa2)]}:{},_0x40d95e=cloneProfile(_0x3cc5d3[_0x24381a]),_0x28c7a7=sanitizeProfile(_0x2d1f13[_0x24381a]),_0x4f3ba8=_0xa91e1e?{}:_0x28c7a7,_0x3cdeea=_0xa91e1e||_0x4f3ba8['appcode'];if(!_0x3cdeea){const _0x4c0522=Object[_0x4ecb5c(0xbe)](_0x2d1f13),_0x559429=_0x4c0522['length']===0x0?_0x4ecb5c(0xa1)+CLI_BIN_NAME+_0x4ecb5c(0xd6)+_0x20c979+'\x20--app\x20'+_0x24381a+'\x20--appcode\x20<code>`.':_0x4ecb5c(0xc4)+_0x4c0522[_0x4ecb5c(0xca)](',\x20');throw CliErrors[_0x4ecb5c(0xae)]('App\x20\x22'+_0x24381a+'\x22\x20not\x20found.',_0x559429);}assertValidAppcode(String(_0x3cdeea));const _0x2499a8={..._0x4f3ba8,..._0x40d95e,'appcode':String(_0x3cdeea),...collectWorkspaceProfileOverrides(_0x28bdf5)};return _0x3cc5d3[_0x24381a]=_0x2499a8,_0x112c17[_0x4ecb5c(0xa2)]=_0x3cc5d3,normalizeStoredDefaultApp(_0x112c17,_0x24381a),delete _0x112c17[_0x4ecb5c(0xaa)],delete _0x112c17['app'],_0x2499a8['env']&&(_0x112c17[_0x4ecb5c(0xd3)]=_0x2499a8[_0x4ecb5c(0xd3)]),writeConfigFile(_0x99c290,_0x112c17),{'ok':!![],'message':_0x4ecb5c(0x9d)+(_0x20c979===_0x4ecb5c(0xc5)?_0x4ecb5c(0xc1):'updated')+':\x20'+_0x24381a+_0x4ecb5c(0xc6)+_0x2499a8[_0x4ecb5c(0xaa)]+').\x20Config:\x20'+_0x99c290+_0x4ecb5c(0xab),'data':{'operation':_0x4ecb5c(0xb3)+_0x20c979,'configPath':_0x99c290,'app':_0x24381a,'appcode':_0x2499a8['appcode'],'apiGroup':_0x2499a8[_0x4ecb5c(0xc3)]??null,'region':_0x2499a8[_0x4ecb5c(0xce)]??null,'env':_0x2499a8[_0x4ecb5c(0xd3)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a267_0x1757c8(0xb6),'command':'init','description':a267_0x1757c8(0xc8),'risk':a267_0x1757c8(0xbc),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x1766dd=>configureWorkspace(_0x1766dd,'init')},workspaceUseDefinition={'service':a267_0x1757c8(0xb6),'command':'use','description':a267_0x1757c8(0xb1),'risk':a267_0x1757c8(0xbc),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x4fb275=>configureWorkspace(_0x4fb275,'use')};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
1
+ const a267_0x485e0a=a267_0x464f;(function(_0xff4eed,_0x4acd2c){const _0x535314=a267_0x464f,_0x410ec4=_0xff4eed();while(!![]){try{const _0x4007c9=-parseInt(_0x535314(0x121))/0x1*(parseInt(_0x535314(0x12e))/0x2)+parseInt(_0x535314(0x12b))/0x3+parseInt(_0x535314(0x132))/0x4*(-parseInt(_0x535314(0x12f))/0x5)+-parseInt(_0x535314(0x145))/0x6*(-parseInt(_0x535314(0x141))/0x7)+-parseInt(_0x535314(0x11d))/0x8*(-parseInt(_0x535314(0x146))/0x9)+parseInt(_0x535314(0x136))/0xa+-parseInt(_0x535314(0x142))/0xb;if(_0x4007c9===_0x4acd2c)break;else _0x410ec4['push'](_0x410ec4['shift']());}catch(_0x38b8de){_0x410ec4['push'](_0x410ec4['shift']());}}}(a267_0x56e0,0x1c7af));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';function a267_0x464f(_0x5921fc,_0x320e6c){_0x5921fc=_0x5921fc-0x116;const _0x56e052=a267_0x56e0();let _0x464fd7=_0x56e052[_0x5921fc];return _0x464fd7;}import{RABETBASE_ENV_VALUES}from'../../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{RISK_LEVEL_VALUES}from'../../constant/risk.js';import{validateAppcode}from'../../commands/common/validate.js';import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';import{normalizeStoredDefaultApp}from'../../config/schema.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../../constant/region.js';const WORKSPACE_USAGE=CLI_BIN_NAME+a267_0x485e0a(0x11e),SAFE_PROFILE_KEYS=[a267_0x485e0a(0x125),a267_0x485e0a(0x144),a267_0x485e0a(0x134),a267_0x485e0a(0x126),'apiDir','format',a267_0x485e0a(0x127),a267_0x485e0a(0x14d),a267_0x485e0a(0x13d)],workspaceFlags=[{'name':a267_0x485e0a(0x13a),'type':a267_0x485e0a(0x14e),'description':a267_0x485e0a(0x14f)},{'name':a267_0x485e0a(0x125),'type':a267_0x485e0a(0x14e),'description':'App\x20code\x20to\x20bind\x20to\x20this\x20workspace'},{'name':a267_0x485e0a(0x144),'type':a267_0x485e0a(0x14e),'description':a267_0x485e0a(0x14c)},{'name':'region','type':'string','description':a267_0x485e0a(0x151),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':'env','type':a267_0x485e0a(0x14e),'description':a267_0x485e0a(0x149),'enum':[...RABETBASE_ENV_VALUES]},{'name':a267_0x485e0a(0x116),'type':a267_0x485e0a(0x14e),'description':a267_0x485e0a(0x13b)},{'name':'defaultFormat','type':a267_0x485e0a(0x14e),'description':'Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a267_0x485e0a(0x127),'type':a267_0x485e0a(0x11f),'description':a267_0x485e0a(0x119)},{'name':'riskLevel','type':a267_0x485e0a(0x14e),'description':a267_0x485e0a(0x133),'enum':[...RISK_LEVEL_VALUES]},{'name':a267_0x485e0a(0x13d),'type':a267_0x485e0a(0x14e),'description':'App\x20locale\x20for\x20this\x20workspace\x20app\x20profile\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)'}];function isRecord(_0x3f53b5){const _0x1359be=a267_0x485e0a;return!!_0x3f53b5&&typeof _0x3f53b5===_0x1359be(0x14b)&&!Array['isArray'](_0x3f53b5);}function assertValidAppcode(_0x2e5bfe){const _0xb34b69=a267_0x485e0a,{valid:_0x731122,message:_0x48c714}=validateAppcode(_0x2e5bfe);if(!_0x731122)throw CliErrors[_0xb34b69(0x122)](_0xb34b69(0x139)+_0x2e5bfe,_0x48c714);}function sanitizeProfile(_0x545730){if(!isRecord(_0x545730))return{};const _0x2f6571={};for(const _0x2b42fe of SAFE_PROFILE_KEYS){if(_0x545730[_0x2b42fe]!==undefined)_0x2f6571[_0x2b42fe]=_0x545730[_0x2b42fe];}return _0x2f6571;}function cloneProfile(_0x38e255){return isRecord(_0x38e255)?{..._0x38e255}:{};}function collectWorkspaceProfileOverrides(_0x145871){const _0x3b5ee3=a267_0x485e0a,_0x5a54ba={},_0x21eed1=_0x145871[_0x3b5ee3(0x11a)](_0x3b5ee3(0x144)),_0x2a05b3=_0x145871[_0x3b5ee3(0x11a)]('region'),_0xff5fed=_0x145871[_0x3b5ee3(0x11a)]('env'),_0x3c91fb=_0x145871[_0x3b5ee3(0x11a)](_0x3b5ee3(0x116)),_0x48e203=_0x145871[_0x3b5ee3(0x11a)](_0x3b5ee3(0x120)),_0x1ed3f6=_0x145871[_0x3b5ee3(0x12d)]('pageSize'),_0x29bfd2=_0x145871[_0x3b5ee3(0x11a)](_0x3b5ee3(0x14d)),_0x177bc8=_0x145871[_0x3b5ee3(0x11a)](_0x3b5ee3(0x13d));if(_0x21eed1)_0x5a54ba[_0x3b5ee3(0x144)]=_0x21eed1;if(_0x2a05b3)_0x5a54ba[_0x3b5ee3(0x134)]=_0x2a05b3;if(_0xff5fed)_0x5a54ba[_0x3b5ee3(0x126)]=_0xff5fed;if(_0x3c91fb)_0x5a54ba[_0x3b5ee3(0x116)]=_0x3c91fb;if(_0x48e203)_0x5a54ba[_0x3b5ee3(0x12c)]=_0x48e203;if(_0x1ed3f6!==undefined&&_0x1ed3f6!=='')_0x5a54ba[_0x3b5ee3(0x127)]=Number(_0x1ed3f6);if(_0x29bfd2)_0x5a54ba[_0x3b5ee3(0x14d)]=_0x29bfd2;if(_0x177bc8)_0x5a54ba[_0x3b5ee3(0x13d)]=_0x177bc8;return _0x5a54ba;}function a267_0x56e0(){const _0x45f44d=['Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','region','trim','1650730FuZszZ','initialized','\x20--app\x20','Invalid\x20appcode:\x20','app','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile','App\x20\x22','locale','init','write','join','46508kgCzcw','5253479FNkWvP','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','apiGroup','204VphIaX','36MsdWIm','\x20workspace\x20','project','Target\x20environment','workspace','object','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','riskLevel','string','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace','length','Country/region\x20for\x20this\x20workspace\x20app\x20profile','use','apiDir','Switch\x20the\x20current\x20workspace\x20app\x20binding','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','str','workspace.','\x22\x20not\x20found.','260944sSRyVE','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','number','defaultFormat','40174jziVQC','validation','\x20workspace\x20use\x20--app\x20<name>`.','updated','appcode','env','pageSize','Use\x20`','.\x20Credentials:\x20not\x20written.','Missing\x20workspace\x20app\x20selector.','357348MtMNUu','format','flag','2OioQXf','35vvHOOy','globalConfig','apps','3508FmDmbs'];a267_0x56e0=function(){return _0x45f44d;};return a267_0x56e0();}async function validateWorkspaceArgs(_0x466e78){const _0x296fdb=a267_0x485e0a,_0x101dae=_0x466e78['str'](_0x296fdb(0x13a))[_0x296fdb(0x135)](),_0x1e5124=_0x466e78['str'](_0x296fdb(0x125))[_0x296fdb(0x135)]();if(!_0x101dae&&!_0x1e5124)throw CliErrors[_0x296fdb(0x122)](_0x296fdb(0x12a),_0x296fdb(0x128)+CLI_BIN_NAME+_0x296fdb(0x118)+CLI_BIN_NAME+_0x296fdb(0x123));if(_0x1e5124)assertValidAppcode(_0x1e5124);}function resolveKnownApps(){const _0x4641b7=a267_0x485e0a,{config:_0x55f8c6,layers:_0x938ba}=readRawConfigWithLayers(),_0x409141=isRecord(_0x55f8c6[_0x4641b7(0x131)])?_0x55f8c6[_0x4641b7(0x131)]:{},_0x36d461=isRecord(_0x938ba['globalConfig'][_0x4641b7(0x131)])?_0x938ba[_0x4641b7(0x130)][_0x4641b7(0x131)]:{};return{..._0x36d461,..._0x409141};}async function configureWorkspace(_0x5309a4,_0x1e00d7){const _0xa88cf3=a267_0x485e0a,_0x53c077=_0x5309a4[_0xa88cf3(0x11a)](_0xa88cf3(0x13a))['trim'](),_0x8389ad=_0x5309a4[_0xa88cf3(0x11a)](_0xa88cf3(0x125))[_0xa88cf3(0x135)](),_0xe9ae1c=_0x53c077||_0x8389ad;if(!_0xe9ae1c)throw CliErrors[_0xa88cf3(0x122)](_0xa88cf3(0x12a),_0xa88cf3(0x128)+CLI_BIN_NAME+_0xa88cf3(0x118)+CLI_BIN_NAME+_0xa88cf3(0x123));if(_0x8389ad)assertValidAppcode(_0x8389ad);const _0x8728c5=resolveWriteConfigPath(_0xa88cf3(0x148)),_0xb14e1c=readConfigFile(_0x8728c5),_0x3bbf84=resolveKnownApps(),_0x2b6284=isRecord(_0xb14e1c['apps'])?{..._0xb14e1c['apps']}:{},_0x5c8f0f=cloneProfile(_0x2b6284[_0xe9ae1c]),_0x2f02e2=sanitizeProfile(_0x3bbf84[_0xe9ae1c]),_0x51217c=_0x8389ad?{}:_0x2f02e2,_0x3e1fb6=_0x8389ad||_0x51217c[_0xa88cf3(0x125)];if(!_0x3e1fb6){const _0x4ab11a=Object['keys'](_0x3bbf84),_0x255ebe=_0x4ab11a[_0xa88cf3(0x150)]===0x0?'Use\x20`'+CLI_BIN_NAME+_0xa88cf3(0x147)+_0x1e00d7+_0xa88cf3(0x138)+_0xe9ae1c+'\x20--appcode\x20<code>`.':_0xa88cf3(0x143)+_0x4ab11a[_0xa88cf3(0x140)](',\x20');throw CliErrors['validation'](_0xa88cf3(0x13c)+_0xe9ae1c+_0xa88cf3(0x11c),_0x255ebe);}assertValidAppcode(String(_0x3e1fb6));const _0x3adc01={..._0x51217c,..._0x5c8f0f,'appcode':String(_0x3e1fb6),...collectWorkspaceProfileOverrides(_0x5309a4)};return _0x2b6284[_0xe9ae1c]=_0x3adc01,_0xb14e1c['apps']=_0x2b6284,normalizeStoredDefaultApp(_0xb14e1c,_0xe9ae1c),delete _0xb14e1c[_0xa88cf3(0x125)],delete _0xb14e1c[_0xa88cf3(0x13a)],_0x3adc01[_0xa88cf3(0x126)]&&(_0xb14e1c[_0xa88cf3(0x126)]=_0x3adc01[_0xa88cf3(0x126)]),writeConfigFile(_0x8728c5,_0xb14e1c),{'ok':!![],'message':'Workspace\x20'+(_0x1e00d7===_0xa88cf3(0x13e)?_0xa88cf3(0x137):_0xa88cf3(0x124))+':\x20'+_0xe9ae1c+'\x20(appcode:\x20'+_0x3adc01[_0xa88cf3(0x125)]+').\x20Config:\x20'+_0x8728c5+_0xa88cf3(0x129),'data':{'operation':_0xa88cf3(0x11b)+_0x1e00d7,'configPath':_0x8728c5,'app':_0xe9ae1c,'appcode':_0x3adc01[_0xa88cf3(0x125)],'apiGroup':_0x3adc01[_0xa88cf3(0x144)]??null,'region':_0x3adc01[_0xa88cf3(0x134)]??null,'env':_0x3adc01[_0xa88cf3(0x126)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a267_0x485e0a(0x14a),'command':a267_0x485e0a(0x13e),'description':'Initialize\x20the\x20current\x20workspace\x20app\x20binding','risk':a267_0x485e0a(0x13f),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x52c2d1=>configureWorkspace(_0x52c2d1,'init')},workspaceUseDefinition={'service':'workspace','command':a267_0x485e0a(0x152),'description':a267_0x485e0a(0x117),'risk':a267_0x485e0a(0x13f),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x5e8bdb=>configureWorkspace(_0x5e8bdb,'use')};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
@@ -1 +1 @@
1
- const a268_0x5ea85f=a268_0x7ed6;(function(_0x1f6cf0,_0x164ae6){const _0x58fc5d=a268_0x7ed6,_0x448a4b=_0x1f6cf0();while(!![]){try{const _0x2421fd=-parseInt(_0x58fc5d(0x1f1))/0x1+parseInt(_0x58fc5d(0x1ef))/0x2+-parseInt(_0x58fc5d(0x1ee))/0x3+-parseInt(_0x58fc5d(0x1ed))/0x4+parseInt(_0x58fc5d(0x1f6))/0x5*(parseInt(_0x58fc5d(0x1f2))/0x6)+-parseInt(_0x58fc5d(0x1f8))/0x7+parseInt(_0x58fc5d(0x1f4))/0x8;if(_0x2421fd===_0x164ae6)break;else _0x448a4b['push'](_0x448a4b['shift']());}catch(_0x2a19ba){_0x448a4b['push'](_0x448a4b['shift']());}}}(a268_0x5b10,0x7138a));function a268_0x5b10(){const _0x293e5a=['Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','434952vbUmjj','write','App\x20profile\x20name\x20to\x20remove','115304fdORVr','2700429HrGzSu','716964AHwLnE','name','266377YnzXKa','6UkARES','workspace\x20remove','4783200yUITZu','remove','3824270CzWGbL'];a268_0x5b10=function(){return _0x293e5a;};return a268_0x5b10();}function a268_0x7ed6(_0xbf13e8,_0x20c3bb){_0xbf13e8=_0xbf13e8-0x1ec;const _0x5b1038=a268_0x5b10();let _0x7ed6ff=_0x5b1038[_0xbf13e8];return _0x7ed6ff;}import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';export const workspaceRemoveDefinition={'service':'workspace','command':a268_0x5ea85f(0x1f5),'description':a268_0x5ea85f(0x1f7),'risk':a268_0x5ea85f(0x1f9),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a268_0x5ea85f(0x1f0),'description':a268_0x5ea85f(0x1ec),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x1c102d=>validateAppName(_0x1c102d,a268_0x5ea85f(0x1f3)),'execute':_0x2598a9=>runAppRemove(_0x2598a9,a268_0x5ea85f(0x1f3))};
1
+ const a268_0x415a1a=a268_0xa69a;function a268_0xa434(){const _0x49d467=['write','420MZHvNc','9aQsvQf','868xksnVB','15aWbtRz','1832394MfnFnT','792600GuzEpi','5758627TvEtCC','457927AxUsud','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','workspace\x20remove','remove','workspace','795192LscKTf','2573368ciImZq','name'];a268_0xa434=function(){return _0x49d467;};return a268_0xa434();}(function(_0x5b908d,_0x1f3f91){const _0x1e06d6=a268_0xa69a,_0x2a1b91=_0x5b908d();while(!![]){try{const _0x3277cd=-parseInt(_0x1e06d6(0x198))/0x1+-parseInt(_0x1e06d6(0x19d))/0x2+-parseInt(_0x1e06d6(0x1a1))/0x3*(-parseInt(_0x1e06d6(0x1a3))/0x4)+-parseInt(_0x1e06d6(0x194))/0x5*(-parseInt(_0x1e06d6(0x195))/0x6)+parseInt(_0x1e06d6(0x197))/0x7+-parseInt(_0x1e06d6(0x19e))/0x8*(parseInt(_0x1e06d6(0x1a2))/0x9)+parseInt(_0x1e06d6(0x196))/0xa;if(_0x3277cd===_0x1f3f91)break;else _0x2a1b91['push'](_0x2a1b91['shift']());}catch(_0x28c868){_0x2a1b91['push'](_0x2a1b91['shift']());}}}(a268_0xa434,0xa3e48));import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';function a268_0xa69a(_0x3ca25c,_0x37f0a8){_0x3ca25c=_0x3ca25c-0x194;const _0xa434e2=a268_0xa434();let _0xa69a62=_0xa434e2[_0x3ca25c];return _0xa69a62;}export const workspaceRemoveDefinition={'service':a268_0x415a1a(0x19c),'command':a268_0x415a1a(0x19b),'description':a268_0x415a1a(0x199),'risk':a268_0x415a1a(0x1a0),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a268_0x415a1a(0x19f),'description':'App\x20profile\x20name\x20to\x20remove','required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x50f3d9=>validateAppName(_0x50f3d9,a268_0x415a1a(0x19a)),'execute':_0x2d2bb2=>runAppRemove(_0x2d2bb2,a268_0x415a1a(0x19a))};
@@ -1 +1 @@
1
- function a269_0x2cb8(_0x5ab965,_0x339356){_0x5ab965=_0x5ab965-0x1ea;const _0x5cc734=a269_0x5cc7();let _0x2cb8ec=_0x5cc734[_0x5ab965];return _0x2cb8ec;}const a269_0x55c39f=a269_0x2cb8;(function(_0x569b7b,_0xbfb659){const _0x52c66d=a269_0x2cb8,_0x47fb8e=_0x569b7b();while(!![]){try{const _0x59193c=parseInt(_0x52c66d(0x1ef))/0x1*(parseInt(_0x52c66d(0x22f))/0x2)+-parseInt(_0x52c66d(0x224))/0x3+-parseInt(_0x52c66d(0x1eb))/0x4+-parseInt(_0x52c66d(0x234))/0x5*(-parseInt(_0x52c66d(0x225))/0x6)+parseInt(_0x52c66d(0x1f9))/0x7*(-parseInt(_0x52c66d(0x21a))/0x8)+-parseInt(_0x52c66d(0x1ea))/0x9+parseInt(_0x52c66d(0x238))/0xa;if(_0x59193c===_0xbfb659)break;else _0x47fb8e['push'](_0x47fb8e['shift']());}catch(_0x1c9e10){_0x47fb8e['push'](_0x47fb8e['shift']());}}}(a269_0x5cc7,0xb8635));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';import{CliErrors}from'../errors.js';import{ENTERPRISE_ROUTING_CDN_FIELDS,ENTERPRISE_ROUTING_DOMAIN_FIELDS,ENTERPRISE_ROUTING_KIND,ENTERPRISE_ROUTING_PROTOCOL,REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS,REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS}from'../generated/routing-contract.js';export const DOMAIN_CONFIG_FIELDS=[a269_0x55c39f(0x206),a269_0x55c39f(0x233),'runtimeDomain','skillDomain','kbDomain',a269_0x55c39f(0x22a),'appDomain','localDomain',a269_0x55c39f(0x1f1)];const DOMAIN_FLAGS={'userDomain':a269_0x55c39f(0x1ff),'apiDomain':'api-domain','runtimeDomain':a269_0x55c39f(0x21d),'skillDomain':a269_0x55c39f(0x20e),'kbDomain':a269_0x55c39f(0x204),'kbServiceDomain':a269_0x55c39f(0x228),'appDomain':'app-domain','localDomain':'local-domain','certificateDomain':'certificate-domain'};function a269_0x5cc7(){const _0x589d86=['hash','appDomain','validation','1TVcnLx','Invalid\x20','certificateDomain','cdn','domain-config','skillHubDomain',':\x20\x22','origin','Allowed\x20fields:\x20',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','24094wVeeTX','rabetbase-cli','str','username','utf8','join','user-domain','Unsupported\x20enterprise\x20CDN\x20field(s):\x20','base\x20URL','length','parse','kb-domain','isArray','userDomain','Enterprise\x20','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','replace','href','filter','skill-domain','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','Unsupported\x20domain\x20config\x20field(s):\x20','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','protocol','object','lovrabet','localDomain','domains','trim','enterprise-v1','https:','2776xNroyA','\x22\x20is\x20not\x20a\x20valid\x20URL.','\x20without\x20credentials,\x20query,\x20or\x20fragment.','runtime-domain','keys',':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','string','password','includes','1379601vGftZj','78aezAvk','Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.','cwd','kb-service-domain','platformDomain','kbServiceDomain','\x20and\x20has\x20no\x20default.','Domain\x20config\x20file\x20not\x20found:\x20','Invalid\x20cdn.','agentDomain','2292194tFaagY','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','kbDomain','default','apiDomain','552510EaKWti','legacy','skillDomain','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','14618660iaZsWn',':\x20expected\x20an\x20HTTPS\x20','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','2862504fresxB','5267756pyKybS'];a269_0x5cc7=function(){return _0x589d86;};return a269_0x5cc7();}export const LEGACY_DOMAIN_CONFIG_FIELDS=[a269_0x55c39f(0x22e),a269_0x55c39f(0x229),a269_0x55c39f(0x1f4)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a269_0x55c39f(0x206),'apiDomain':a269_0x55c39f(0x233),'runtimeDomain':'runtimeDomain','skillDomain':a269_0x55c39f(0x236),'kbDomain':a269_0x55c39f(0x231),'kbServiceDomain':a269_0x55c39f(0x22a),'appDomain':a269_0x55c39f(0x1ed),'localDomain':'localDomain','certificateDomain':a269_0x55c39f(0x1f1)},ROUTING_CONSUMER=a269_0x55c39f(0x1fa);export function normalizeDomainOrigin(_0x9bfd7,_0x40cd22){const _0x1aa192=a269_0x55c39f;if(typeof _0x40cd22!==_0x1aa192(0x221)||!_0x40cd22['trim']())throw CliErrors['validation'](_0x1aa192(0x1f0)+_0x9bfd7+_0x1aa192(0x1f8));let _0x44c496;try{_0x44c496=new URL(_0x40cd22[_0x1aa192(0x217)]());}catch{throw CliErrors[_0x1aa192(0x1ee)](_0x1aa192(0x1f0)+_0x9bfd7+_0x1aa192(0x1f5)+_0x40cd22+_0x1aa192(0x21b));}if(_0x44c496['protocol']!=='https:'||_0x44c496['username']||_0x44c496[_0x1aa192(0x222)]||_0x44c496['pathname']!=='/'&&_0x44c496['pathname']!==''||_0x44c496['search']||_0x44c496[_0x1aa192(0x1ec)])throw CliErrors[_0x1aa192(0x1ee)](_0x1aa192(0x1f0)+_0x9bfd7+':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.',_0x1aa192(0x20f));return _0x44c496['origin'];}export function normalizeRoutingDomainValue(_0x453449,_0x4c3d89){const _0x37f0e7=a269_0x55c39f;if(typeof _0x4c3d89===_0x37f0e7(0x221))return normalizeDomainOrigin(_0x453449,_0x4c3d89);if(!_0x4c3d89||typeof _0x4c3d89!=='object'||Array[_0x37f0e7(0x205)](_0x4c3d89))throw CliErrors['validation']('Invalid\x20'+_0x453449+':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.');const _0x118eab=_0x4c3d89,_0x54be6d=_0x118eab[ROUTING_CONSUMER]??_0x118eab[_0x37f0e7(0x232)];if(_0x54be6d===undefined)throw CliErrors[_0x37f0e7(0x1ee)](_0x37f0e7(0x207)+_0x453449+_0x37f0e7(0x208)+ROUTING_CONSUMER+_0x37f0e7(0x22b));return normalizeDomainOrigin(_0x453449,_0x54be6d);}export function normalizeCdnBaseUrl(_0x119b96,_0x2ecf06){const _0x871c3a=a269_0x55c39f;if(typeof _0x2ecf06!==_0x871c3a(0x221)||!_0x2ecf06['trim']())throw CliErrors[_0x871c3a(0x1ee)](_0x871c3a(0x22d)+_0x119b96+_0x871c3a(0x21f));const _0x1f4390=_0x2ecf06[_0x871c3a(0x217)]()[_0x871c3a(0x20b)](/\/$/,'');let _0x1026ed;try{_0x1026ed=new URL(_0x1f4390);}catch{throw CliErrors[_0x871c3a(0x1ee)](_0x871c3a(0x22d)+_0x119b96+_0x871c3a(0x1f5)+_0x2ecf06+_0x871c3a(0x21b));}if(_0x1026ed[_0x871c3a(0x212)]!==_0x871c3a(0x219)||_0x1026ed[_0x871c3a(0x1fc)]||_0x1026ed['password']||_0x1026ed['search']||_0x1026ed[_0x871c3a(0x1ec)]||_0x1026ed[_0x871c3a(0x20c)][_0x871c3a(0x20b)](/\/$/,'')!==_0x1f4390||_0x119b96===_0x871c3a(0x214)&&_0x1026ed[_0x871c3a(0x1f6)]!==_0x1f4390)throw CliErrors[_0x871c3a(0x1ee)]('Invalid\x20cdn.'+_0x119b96+_0x871c3a(0x239)+(_0x119b96==='lovrabet'?'origin':_0x871c3a(0x201))+_0x871c3a(0x21c));return _0x1f4390;}export function resolveEnterpriseRoutingConfig(_0x39611b){const _0x5eb916=a269_0x55c39f;return resolveEnterpriseRoutingManifest(_0x39611b)?.[_0x5eb916(0x216)];}export function resolveEnterpriseRoutingManifest(_0x1203a6){const _0x1061a2=a269_0x55c39f;if(_0x1203a6===undefined)return undefined;if(!_0x1203a6||typeof _0x1203a6!==_0x1061a2(0x213)||Array[_0x1061a2(0x205)](_0x1203a6))throw CliErrors['validation'](_0x1061a2(0x226));return parseEnterpriseRoutingManifest(_0x1203a6);}export function readDomainConfigInput(_0x1918c6){const _0x586ce3=a269_0x55c39f,_0xdd78e7=isAbsolute(_0x1918c6)?_0x1918c6:resolve(process[_0x586ce3(0x227)](),_0x1918c6);if(!existsSync(_0xdd78e7))throw CliErrors[_0x586ce3(0x1ee)](_0x586ce3(0x22c)+_0xdd78e7);let _0x36c0cb;try{_0x36c0cb=JSON[_0x586ce3(0x203)](readFileSync(_0xdd78e7,_0x586ce3(0x1fd)));}catch{throw CliErrors[_0x586ce3(0x1ee)]('Invalid\x20domain\x20config\x20JSON:\x20'+_0xdd78e7);}if(!_0x36c0cb||typeof _0x36c0cb!==_0x586ce3(0x213)||Array[_0x586ce3(0x205)](_0x36c0cb))throw CliErrors[_0x586ce3(0x1ee)]('Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.');const _0x213c72=_0x36c0cb;if('protocol'in _0x213c72)return parseEnterpriseRoutingManifest(_0x213c72);const _0x4fb627=Object[_0x586ce3(0x21e)](_0x213c72)[_0x586ce3(0x20d)](_0x335414=>!DOMAIN_CONFIG_FIELDS[_0x586ce3(0x223)](_0x335414));if(_0x4fb627[_0x586ce3(0x202)]>0x0)throw CliErrors['validation'](_0x586ce3(0x210)+_0x4fb627[_0x586ce3(0x1fe)](',\x20'),_0x586ce3(0x1f7)+DOMAIN_CONFIG_FIELDS[_0x586ce3(0x1fe)](',\x20'));const _0x101bb3={};for(const _0x1eb6dc of DOMAIN_CONFIG_FIELDS){_0x213c72[_0x1eb6dc]!==undefined&&(_0x101bb3[_0x1eb6dc]=normalizeDomainOrigin(_0x1eb6dc,_0x213c72[_0x1eb6dc]));}if(Object[_0x586ce3(0x21e)](_0x101bb3)['length']===0x0)throw CliErrors[_0x586ce3(0x1ee)](_0x586ce3(0x20a));return{'mode':_0x586ce3(0x235),'domains':_0x101bb3};}export function readDomainConfig(_0x330e1c){const _0x217c29=a269_0x55c39f;return readDomainConfigInput(_0x330e1c)[_0x217c29(0x216)];}export function resolveDomainConfigInput(_0x201357){const _0x598bf9=a269_0x55c39f,_0x299ce9=(_0x201357['str'](_0x598bf9(0x1f3))||'')['trim'](),_0x18f646=_0x299ce9?readDomainConfigInput(_0x299ce9):{'mode':_0x598bf9(0x235),'domains':{}},_0x31dc9b=DOMAIN_CONFIG_FIELDS['filter'](_0x507622=>Boolean((_0x201357[_0x598bf9(0x1fb)](DOMAIN_FLAGS[_0x507622])||'')['trim']()));if(_0x18f646['mode']===_0x598bf9(0x218)&&_0x31dc9b[_0x598bf9(0x202)]>0x0)throw CliErrors[_0x598bf9(0x1ee)](_0x598bf9(0x209),_0x598bf9(0x23a));for(const _0x9d1d27 of DOMAIN_CONFIG_FIELDS){const _0x837e93=(_0x201357[_0x598bf9(0x1fb)](DOMAIN_FLAGS[_0x9d1d27])||'')[_0x598bf9(0x217)]();if(_0x837e93)_0x18f646[_0x598bf9(0x216)][_0x9d1d27]=normalizeDomainOrigin(_0x9d1d27,_0x837e93);}return _0x18f646;}export function resolveDomainFlags(_0x5efab5){const _0x146a3e=a269_0x55c39f;return resolveDomainConfigInput(_0x5efab5)[_0x146a3e(0x216)];}export function parseEnterpriseRoutingManifest(_0x50834d){const _0x21342a=a269_0x55c39f;if(_0x50834d['protocol']!==ENTERPRISE_ROUTING_PROTOCOL||_0x50834d['kind']!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x21342a(0x1ee)]('Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22'+ENTERPRISE_ROUTING_PROTOCOL+'\x22\x20and\x20kind\x20\x22'+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x50834d['domains']||typeof _0x50834d['domains']!==_0x21342a(0x213)||Array[_0x21342a(0x205)](_0x50834d[_0x21342a(0x216)]))throw CliErrors[_0x21342a(0x1ee)](_0x21342a(0x220));if(!_0x50834d[_0x21342a(0x1f2)]||typeof _0x50834d[_0x21342a(0x1f2)]!=='object'||Array[_0x21342a(0x205)](_0x50834d[_0x21342a(0x1f2)]))throw CliErrors[_0x21342a(0x1ee)](_0x21342a(0x237));const _0x47256b=_0x50834d[_0x21342a(0x216)],_0x31efbd=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS['filter'](_0x440b0d=>_0x47256b[_0x440b0d]===undefined);if(_0x31efbd[_0x21342a(0x202)]>0x0)throw CliErrors[_0x21342a(0x1ee)](_0x21342a(0x230)+_0x31efbd['join'](',\x20'));if(_0x47256b[_0x21342a(0x215)]===undefined!==(_0x47256b['certificateDomain']===undefined))throw CliErrors[_0x21342a(0x1ee)]('Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.');const _0x38bbbb=_0x50834d[_0x21342a(0x1f2)],_0xbab669=Object[_0x21342a(0x21e)](_0x38bbbb)[_0x21342a(0x20d)](_0x2a4b8a=>!ENTERPRISE_ROUTING_CDN_FIELDS['includes'](_0x2a4b8a));if(_0xbab669[_0x21342a(0x202)]>0x0)throw CliErrors[_0x21342a(0x1ee)](_0x21342a(0x200)+_0xbab669['join'](',\x20'),_0x21342a(0x1f7)+ENTERPRISE_ROUTING_CDN_FIELDS[_0x21342a(0x1fe)](',\x20'));const _0x399af3=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS[_0x21342a(0x20d)](_0x312ee8=>_0x38bbbb[_0x312ee8]===undefined);if(_0x399af3[_0x21342a(0x202)]>0x0)throw CliErrors[_0x21342a(0x1ee)](_0x21342a(0x211)+_0x399af3[_0x21342a(0x1fe)](',\x20'));const _0x3b1832={};for(const _0x289623 of ENTERPRISE_ROUTING_CDN_FIELDS){_0x3b1832[_0x289623]=normalizeCdnBaseUrl(_0x289623,_0x38bbbb[_0x289623]);}const _0x21772a={},_0x5e4a58={};for(const _0x2381f0 of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x32c8b3=_0x47256b[_0x2381f0];if(_0x32c8b3===undefined)continue;const _0x57a0fe=normalizeRoutingDomainValue(_0x2381f0,_0x32c8b3);_0x21772a[_0x2381f0]=_0x57a0fe;const _0x26a81a=ENTERPRISE_TO_LOCAL_FIELD[_0x2381f0];_0x26a81a&&(_0x5e4a58[_0x26a81a]=_0x57a0fe);}return{'mode':_0x21342a(0x218),'domains':_0x5e4a58,'manifestDomains':_0x21772a,'cdn':_0x3b1832};}
1
+ const a269_0x4fce2f=a269_0x305d;(function(_0x4471ec,_0xebb01a){const _0x5297ae=a269_0x305d,_0x26fa88=_0x4471ec();while(!![]){try{const _0x41ba1f=parseInt(_0x5297ae(0xca))/0x1+parseInt(_0x5297ae(0xf4))/0x2*(parseInt(_0x5297ae(0xfb))/0x3)+parseInt(_0x5297ae(0xcb))/0x4+parseInt(_0x5297ae(0xd7))/0x5*(-parseInt(_0x5297ae(0xd4))/0x6)+-parseInt(_0x5297ae(0xc1))/0x7*(-parseInt(_0x5297ae(0xed))/0x8)+-parseInt(_0x5297ae(0x100))/0x9+-parseInt(_0x5297ae(0xf5))/0xa;if(_0x41ba1f===_0xebb01a)break;else _0x26fa88['push'](_0x26fa88['shift']());}catch(_0x4cbcf3){_0x26fa88['push'](_0x26fa88['shift']());}}}(a269_0x49d3,0x5e009));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';import{CliErrors}from'../errors.js';import{ENTERPRISE_ROUTING_CDN_FIELDS,ENTERPRISE_ROUTING_DOMAIN_FIELDS,ENTERPRISE_ROUTING_KIND,ENTERPRISE_ROUTING_PROTOCOL,REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS,REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS}from'../generated/routing-contract.js';export const DOMAIN_CONFIG_FIELDS=[a269_0x4fce2f(0xe2),a269_0x4fce2f(0xc7),a269_0x4fce2f(0xda),a269_0x4fce2f(0xe3),a269_0x4fce2f(0x102),a269_0x4fce2f(0xf8),a269_0x4fce2f(0xe4),'localDomain','certificateDomain'];const DOMAIN_FLAGS={'userDomain':a269_0x4fce2f(0x10d),'apiDomain':a269_0x4fce2f(0xd8),'runtimeDomain':a269_0x4fce2f(0x107),'skillDomain':a269_0x4fce2f(0xd1),'kbDomain':a269_0x4fce2f(0xc6),'kbServiceDomain':a269_0x4fce2f(0xfc),'appDomain':a269_0x4fce2f(0x10c),'localDomain':'local-domain','certificateDomain':a269_0x4fce2f(0xeb)};export const LEGACY_DOMAIN_CONFIG_FIELDS=['agentDomain',a269_0x4fce2f(0xfa),a269_0x4fce2f(0x10a)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':'userDomain','apiDomain':a269_0x4fce2f(0xc7),'runtimeDomain':'runtimeDomain','skillDomain':'skillDomain','kbDomain':a269_0x4fce2f(0x102),'kbServiceDomain':a269_0x4fce2f(0xf8),'appDomain':a269_0x4fce2f(0xe4),'localDomain':a269_0x4fce2f(0x108),'certificateDomain':a269_0x4fce2f(0xc3)},ROUTING_CONSUMER=a269_0x4fce2f(0xc5);export function normalizeDomainOrigin(_0x29b732,_0x40533e){const _0x1ce045=a269_0x4fce2f;if(typeof _0x40533e!==_0x1ce045(0xfe)||!_0x40533e[_0x1ce045(0x103)]())throw CliErrors['validation'](_0x1ce045(0x110)+_0x29b732+_0x1ce045(0x105));let _0x10aafb;try{_0x10aafb=new URL(_0x40533e['trim']());}catch{throw CliErrors[_0x1ce045(0xd0)](_0x1ce045(0x110)+_0x29b732+_0x1ce045(0xe8)+_0x40533e+_0x1ce045(0x10e));}if(_0x10aafb[_0x1ce045(0xd3)]!==_0x1ce045(0x106)||_0x10aafb[_0x1ce045(0xf3)]||_0x10aafb[_0x1ce045(0xe0)]||_0x10aafb[_0x1ce045(0xe6)]!=='/'&&_0x10aafb[_0x1ce045(0xe6)]!==''||_0x10aafb[_0x1ce045(0xcd)]||_0x10aafb['hash'])throw CliErrors['validation'](_0x1ce045(0x110)+_0x29b732+':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.',_0x1ce045(0xfd));return _0x10aafb['origin'];}export function normalizeRoutingDomainValue(_0x10aa40,_0x57416f){const _0x5f37fa=a269_0x4fce2f;if(typeof _0x57416f===_0x5f37fa(0xfe))return normalizeDomainOrigin(_0x10aa40,_0x57416f);if(!_0x57416f||typeof _0x57416f!==_0x5f37fa(0x104)||Array[_0x5f37fa(0x112)](_0x57416f))throw CliErrors[_0x5f37fa(0xd0)]('Invalid\x20'+_0x10aa40+_0x5f37fa(0x10b));const _0xdaabe5=_0x57416f,_0x46f78d=_0xdaabe5[ROUTING_CONSUMER]??_0xdaabe5['default'];if(_0x46f78d===undefined)throw CliErrors['validation']('Enterprise\x20'+_0x10aa40+_0x5f37fa(0xe9)+ROUTING_CONSUMER+_0x5f37fa(0xf9));return normalizeDomainOrigin(_0x10aa40,_0x46f78d);}export function normalizeCdnBaseUrl(_0x88a4a4,_0x1e3f80){const _0x4dc8a6=a269_0x4fce2f;if(typeof _0x1e3f80!=='string'||!_0x1e3f80[_0x4dc8a6(0x103)]())throw CliErrors[_0x4dc8a6(0xd0)](_0x4dc8a6(0xea)+_0x88a4a4+':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.');const _0x2178e5=_0x1e3f80[_0x4dc8a6(0x103)]()['replace'](/\/$/,'');let _0x3eca79;try{_0x3eca79=new URL(_0x2178e5);}catch{throw CliErrors['validation'](_0x4dc8a6(0xea)+_0x88a4a4+_0x4dc8a6(0xe8)+_0x1e3f80+_0x4dc8a6(0x10e));}if(_0x3eca79['protocol']!==_0x4dc8a6(0x106)||_0x3eca79[_0x4dc8a6(0xf3)]||_0x3eca79['password']||_0x3eca79[_0x4dc8a6(0xcd)]||_0x3eca79[_0x4dc8a6(0xd9)]||_0x3eca79[_0x4dc8a6(0xd2)][_0x4dc8a6(0xc2)](/\/$/,'')!==_0x2178e5||_0x88a4a4===_0x4dc8a6(0x109)&&_0x3eca79[_0x4dc8a6(0x101)]!==_0x2178e5)throw CliErrors['validation'](_0x4dc8a6(0xea)+_0x88a4a4+':\x20expected\x20an\x20HTTPS\x20'+(_0x88a4a4===_0x4dc8a6(0x109)?_0x4dc8a6(0x101):'base\x20URL')+_0x4dc8a6(0xc4));return _0x2178e5;}export function resolveEnterpriseRoutingConfig(_0x257a7b){const _0x250ea0=a269_0x4fce2f;return resolveEnterpriseRoutingManifest(_0x257a7b)?.[_0x250ea0(0xcc)];}export function resolveEnterpriseRoutingManifest(_0x1063ab){const _0xf06cbf=a269_0x4fce2f;if(_0x1063ab===undefined)return undefined;if(!_0x1063ab||typeof _0x1063ab!=='object'||Array[_0xf06cbf(0x112)](_0x1063ab))throw CliErrors[_0xf06cbf(0xd0)](_0xf06cbf(0xd5));return parseEnterpriseRoutingManifest(_0x1063ab);}export function readDomainConfigInput(_0x45fcc4){const _0x1bb0c7=a269_0x4fce2f,_0x4f1fa9=isAbsolute(_0x45fcc4)?_0x45fcc4:resolve(process[_0x1bb0c7(0xf6)](),_0x45fcc4);if(!existsSync(_0x4f1fa9))throw CliErrors[_0x1bb0c7(0xd0)](_0x1bb0c7(0xe7)+_0x4f1fa9);let _0x3228aa;try{_0x3228aa=JSON[_0x1bb0c7(0xe5)](readFileSync(_0x4f1fa9,_0x1bb0c7(0xf0)));}catch{throw CliErrors[_0x1bb0c7(0xd0)]('Invalid\x20domain\x20config\x20JSON:\x20'+_0x4f1fa9);}if(!_0x3228aa||typeof _0x3228aa!==_0x1bb0c7(0x104)||Array[_0x1bb0c7(0x112)](_0x3228aa))throw CliErrors[_0x1bb0c7(0xd0)](_0x1bb0c7(0xdd));const _0x3c8fb7=_0x3228aa;if(_0x1bb0c7(0xd3)in _0x3c8fb7)return parseEnterpriseRoutingManifest(_0x3c8fb7);const _0x3314cc=Object[_0x1bb0c7(0xc9)](_0x3c8fb7)[_0x1bb0c7(0xdf)](_0x1e2b31=>!DOMAIN_CONFIG_FIELDS['includes'](_0x1e2b31));if(_0x3314cc[_0x1bb0c7(0xdb)]>0x0)throw CliErrors['validation']('Unsupported\x20domain\x20config\x20field(s):\x20'+_0x3314cc[_0x1bb0c7(0xdc)](',\x20'),'Allowed\x20fields:\x20'+DOMAIN_CONFIG_FIELDS['join'](',\x20'));const _0x396aa1={};for(const _0xd56563 of DOMAIN_CONFIG_FIELDS){_0x3c8fb7[_0xd56563]!==undefined&&(_0x396aa1[_0xd56563]=normalizeDomainOrigin(_0xd56563,_0x3c8fb7[_0xd56563]));}if(Object[_0x1bb0c7(0xc9)](_0x396aa1)[_0x1bb0c7(0xdb)]===0x0)throw CliErrors[_0x1bb0c7(0xd0)](_0x1bb0c7(0xe1));return{'mode':_0x1bb0c7(0xde),'domains':_0x396aa1};}export function readDomainConfig(_0x2cd530){const _0x4a274d=a269_0x4fce2f;return readDomainConfigInput(_0x2cd530)[_0x4a274d(0xcc)];}export function resolveDomainConfigInput(_0x22c376){const _0x4a93cc=a269_0x4fce2f,_0x1d8b0d=(_0x22c376['str']('domain-config')||'')['trim'](),_0x4a6cd2=_0x1d8b0d?readDomainConfigInput(_0x1d8b0d):{'mode':'legacy','domains':{}},_0x5d1bb7=DOMAIN_CONFIG_FIELDS[_0x4a93cc(0xdf)](_0x16ebcd=>Boolean((_0x22c376['str'](DOMAIN_FLAGS[_0x16ebcd])||'')['trim']()));if(_0x4a6cd2[_0x4a93cc(0x10f)]===_0x4a93cc(0x113)&&_0x5d1bb7[_0x4a93cc(0xdb)]>0x0)throw CliErrors[_0x4a93cc(0xd0)](_0x4a93cc(0xce),_0x4a93cc(0xcf));for(const _0x4fc8f5 of DOMAIN_CONFIG_FIELDS){const _0x283197=(_0x22c376['str'](DOMAIN_FLAGS[_0x4fc8f5])||'')[_0x4a93cc(0x103)]();if(_0x283197)_0x4a6cd2[_0x4a93cc(0xcc)][_0x4fc8f5]=normalizeDomainOrigin(_0x4fc8f5,_0x283197);}return _0x4a6cd2;}export function resolveDomainFlags(_0x547965){return resolveDomainConfigInput(_0x547965)['domains'];}function a269_0x305d(_0x5472ac,_0x241376){_0x5472ac=_0x5472ac-0xc1;const _0x49d359=a269_0x49d3();let _0x305dbc=_0x49d359[_0x5472ac];return _0x305dbc;}export function parseEnterpriseRoutingManifest(_0x4d8cd6){const _0x36138a=a269_0x4fce2f;if(_0x4d8cd6[_0x36138a(0xd3)]!==ENTERPRISE_ROUTING_PROTOCOL||_0x4d8cd6[_0x36138a(0xd6)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x36138a(0xd0)](_0x36138a(0xec)+ENTERPRISE_ROUTING_PROTOCOL+_0x36138a(0xf1)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x4d8cd6[_0x36138a(0xcc)]||typeof _0x4d8cd6[_0x36138a(0xcc)]!==_0x36138a(0x104)||Array[_0x36138a(0x112)](_0x4d8cd6[_0x36138a(0xcc)]))throw CliErrors[_0x36138a(0xd0)]('Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.');if(!_0x4d8cd6['cdn']||typeof _0x4d8cd6['cdn']!=='object'||Array['isArray'](_0x4d8cd6[_0x36138a(0xef)]))throw CliErrors[_0x36138a(0xd0)](_0x36138a(0xc8));const _0x24c727=_0x4d8cd6[_0x36138a(0xcc)],_0x13d2d7=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS['filter'](_0x13ac31=>_0x24c727[_0x13ac31]===undefined);if(_0x13d2d7[_0x36138a(0xdb)]>0x0)throw CliErrors[_0x36138a(0xd0)](_0x36138a(0x111)+_0x13d2d7[_0x36138a(0xdc)](',\x20'));if(_0x24c727['localDomain']===undefined!==(_0x24c727[_0x36138a(0xc3)]===undefined))throw CliErrors['validation'](_0x36138a(0xff));const _0x55965d=_0x4d8cd6[_0x36138a(0xef)],_0x13f74b=Object[_0x36138a(0xc9)](_0x55965d)[_0x36138a(0xdf)](_0x3aa2c9=>!ENTERPRISE_ROUTING_CDN_FIELDS['includes'](_0x3aa2c9));if(_0x13f74b[_0x36138a(0xdb)]>0x0)throw CliErrors[_0x36138a(0xd0)](_0x36138a(0xf2)+_0x13f74b['join'](',\x20'),_0x36138a(0xee)+ENTERPRISE_ROUTING_CDN_FIELDS['join'](',\x20'));const _0x35f8f8=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS[_0x36138a(0xdf)](_0x3d194f=>_0x55965d[_0x3d194f]===undefined);if(_0x35f8f8[_0x36138a(0xdb)]>0x0)throw CliErrors['validation'](_0x36138a(0xf7)+_0x35f8f8['join'](',\x20'));const _0x89dca3={};for(const _0x4de2cb of ENTERPRISE_ROUTING_CDN_FIELDS){_0x89dca3[_0x4de2cb]=normalizeCdnBaseUrl(_0x4de2cb,_0x55965d[_0x4de2cb]);}const _0x5c7523={},_0x9c1e3b={};for(const _0x29b060 of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x758990=_0x24c727[_0x29b060];if(_0x758990===undefined)continue;const _0x51c64c=normalizeRoutingDomainValue(_0x29b060,_0x758990);_0x5c7523[_0x29b060]=_0x51c64c;const _0x1d8dec=ENTERPRISE_TO_LOCAL_FIELD[_0x29b060];_0x1d8dec&&(_0x9c1e3b[_0x1d8dec]=_0x51c64c);}return{'mode':'enterprise-v1','domains':_0x9c1e3b,'manifestDomains':_0x5c7523,'cdn':_0x89dca3};}function a269_0x49d3(){const _0x3d6b77=['Domain\x20config\x20file\x20not\x20found:\x20',':\x20\x22','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','Invalid\x20cdn.','certificate-domain','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22','2549912ysFjkg','Allowed\x20fields:\x20','cdn','utf8','\x22\x20and\x20kind\x20\x22','Unsupported\x20enterprise\x20CDN\x20field(s):\x20','username','2PKNqXt','17237270PjECYy','cwd','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','kbServiceDomain','\x20and\x20has\x20no\x20default.','platformDomain','1257543jVXnFc','kb-service-domain','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','string','Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','3816729lGfKwV','origin','kbDomain','trim','object',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','https:','runtime-domain','localDomain','lovrabet','skillHubDomain',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.','app-domain','user-domain','\x22\x20is\x20not\x20a\x20valid\x20URL.','mode','Invalid\x20','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','isArray','enterprise-v1','14hfLwoi','replace','certificateDomain','\x20without\x20credentials,\x20query,\x20or\x20fragment.','rabetbase-cli','kb-domain','apiDomain','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','keys','767607MkTGtp','2918204qcvuzo','domains','search','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','validation','skill-domain','href','protocol','6pvmAkt','Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.','kind','104880FuZSkm','api-domain','hash','runtimeDomain','length','join','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','legacy','filter','password','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','userDomain','skillDomain','appDomain','parse','pathname'];a269_0x49d3=function(){return _0x3d6b77;};return a269_0x49d3();}
@@ -1 +1 @@
1
- const a270_0xd4df42=a270_0x5168;(function(_0xed064d,_0x3cc408){const _0x32f0d7=a270_0x5168,_0x139a6f=_0xed064d();while(!![]){try{const _0x98f2c2=parseInt(_0x32f0d7(0x13e))/0x1*(-parseInt(_0x32f0d7(0x148))/0x2)+-parseInt(_0x32f0d7(0x14c))/0x3+parseInt(_0x32f0d7(0x143))/0x4+-parseInt(_0x32f0d7(0x13b))/0x5*(-parseInt(_0x32f0d7(0x147))/0x6)+parseInt(_0x32f0d7(0x146))/0x7+parseInt(_0x32f0d7(0x145))/0x8+-parseInt(_0x32f0d7(0x13f))/0x9*(parseInt(_0x32f0d7(0x14e))/0xa);if(_0x98f2c2===_0x3cc408)break;else _0x139a6f['push'](_0x139a6f['shift']());}catch(_0xb3ffef){_0x139a6f['push'](_0x139a6f['shift']());}}}(a270_0x1841,0x47349));import{readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{join}from'node:path';import{getActiveRegion,getActiveCdn,getApiDomain,getAppDomain,getCertificateDomain,getKbDomain,getLocalDomain,getRuntimeDomain,getSkillDomain,getUserDomain,isIndependentDeployment}from'../constant/domain.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';export const PROJECT_DOMAIN_ROUTING_FILE_NAME=a270_0xd4df42(0x13a);export const PROJECT_DOMAIN_ROUTING_PROTOCOL=a270_0xd4df42(0x14b);function a270_0x5168(_0x2f9f54,_0x46156f){_0x2f9f54=_0x2f9f54-0x13a;const _0x18415a=a270_0x1841();let _0x516868=_0x18415a[_0x2f9f54];return _0x516868;}export function getProjectDomainRoutingManifest(){const _0x4bd843=a270_0xd4df42,_0xb67492=getActiveRegion(),_0xbe3b5a=isIndependentDeployment(),_0x2d824c=getOfficialRoutingProfile(_0xb67492),_0x5eb19a=getLocalDomain(),_0x281e11=getCertificateDomain(),_0x143b97=getActiveCdn();if(!!_0x5eb19a!==!!_0x281e11)throw new Error(_0x4bd843(0x149));return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0xbe3b5a?_0x4bd843(0x14d):'official','region':_0xbe3b5a?null:_0xb67492,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x143b97,'local':_0x5eb19a&&_0x281e11?{'origin':_0x5eb19a,'certificateUrl':_0x281e11+_0x4bd843(0x13c)}:_0xbe3b5a?{'origin':_0x4bd843(0x144)}:{'origin':_0x2d824c['local'][_0x4bd843(0x14a)],'certificateUrl':_0x143b97[_0x4bd843(0x140)]+_0x4bd843(0x13c)}};}function a270_0x1841(){const _0x44f474=['9icqxgE','lovrabet','now','utf8','971360cTPRCU','http://localhost','1461616qKUbkV','1146929HXaraB','3504nDmvMK','2128QKmKaT','Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','origin','lovrabet-project-domain-routing/v1','136941QVStoN','independent','3643570FkPtva','rabetbase.domain-routing.json','1025oFrLgp','/cert/lovrabet-dev.json','.tmp','7sbDRvO'];a270_0x1841=function(){return _0x44f474;};return a270_0x1841();}export function writeProjectDomainRoutingManifest(_0xc43b0b){const _0x526ccd=a270_0xd4df42,_0x5b37c3=getProjectDomainRoutingManifest(),_0x486054=join(_0xc43b0b,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x2f0cba=JSON['stringify'](_0x5b37c3,null,0x2)+'\x0a';try{if(readFileSync(_0x486054,'utf8')===_0x2f0cba)return{'path':_0x486054,'manifest':_0x5b37c3,'changed':![]};}catch{}const _0x573f27=_0x486054+'.'+process['pid']+'.'+Date[_0x526ccd(0x141)]()+_0x526ccd(0x13d);try{writeFileSync(_0x573f27,_0x2f0cba,{'encoding':_0x526ccd(0x142),'mode':0x1a4}),renameSync(_0x573f27,_0x486054);}catch(_0x2ede8e){try{unlinkSync(_0x573f27);}catch{}throw _0x2ede8e;}return{'path':_0x486054,'manifest':_0x5b37c3,'changed':!![]};}
1
+ (function(_0x45b2fc,_0x1dd375){const _0x1972cd=a270_0xdadf,_0x53cc5c=_0x45b2fc();while(!![]){try{const _0x5b3e79=parseInt(_0x1972cd(0x144))/0x1+parseInt(_0x1972cd(0x137))/0x2+parseInt(_0x1972cd(0x134))/0x3+parseInt(_0x1972cd(0x133))/0x4*(parseInt(_0x1972cd(0x136))/0x5)+-parseInt(_0x1972cd(0x130))/0x6*(parseInt(_0x1972cd(0x139))/0x7)+-parseInt(_0x1972cd(0x132))/0x8*(parseInt(_0x1972cd(0x13e))/0x9)+-parseInt(_0x1972cd(0x140))/0xa*(parseInt(_0x1972cd(0x13f))/0xb);if(_0x5b3e79===_0x1dd375)break;else _0x53cc5c['push'](_0x53cc5c['shift']());}catch(_0xecc7df){_0x53cc5c['push'](_0x53cc5c['shift']());}}}(a270_0x57da,0x944e5));function a270_0xdadf(_0x37b111,_0x2d1d31){_0x37b111=_0x37b111-0x130;const _0x57dae4=a270_0x57da();let _0xdadfc4=_0x57dae4[_0x37b111];return _0xdadfc4;}import{readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';function a270_0x57da(){const _0xa0af98=['stringify','7432WwfqVt','4zDQmSD','1615986jKgdzN','origin','4441605otBKay','1108984pEGzWu','utf8','280805kHFsrg','local','Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','pid','independent','2502JFBAZc','18989234CDVjUC','10yWFaoa','official','now','/cert/lovrabet-dev.json','811117XpAmVF','http://localhost','30QqzTgO'];a270_0x57da=function(){return _0xa0af98;};return a270_0x57da();}import{join}from'node:path';import{getActiveRegion,getActiveCdn,getApiDomain,getAppDomain,getCertificateDomain,getKbDomain,getLocalDomain,getRuntimeDomain,getSkillDomain,getUserDomain,isIndependentDeployment}from'../constant/domain.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';export const PROJECT_DOMAIN_ROUTING_FILE_NAME='rabetbase.domain-routing.json';export const PROJECT_DOMAIN_ROUTING_PROTOCOL='lovrabet-project-domain-routing/v1';export function getProjectDomainRoutingManifest(){const _0x395600=a270_0xdadf,_0x573ae7=getActiveRegion(),_0x5b82ea=isIndependentDeployment(),_0x5d8f0d=getOfficialRoutingProfile(_0x573ae7),_0x40e39c=getLocalDomain(),_0x1efb81=getCertificateDomain(),_0x4c5b27=getActiveCdn();if(!!_0x40e39c!==!!_0x1efb81)throw new Error(_0x395600(0x13b));return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x5b82ea?_0x395600(0x13d):_0x395600(0x141),'region':_0x5b82ea?null:_0x573ae7,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x4c5b27,'local':_0x40e39c&&_0x1efb81?{'origin':_0x40e39c,'certificateUrl':_0x1efb81+_0x395600(0x143)}:_0x5b82ea?{'origin':_0x395600(0x145)}:{'origin':_0x5d8f0d[_0x395600(0x13a)][_0x395600(0x135)],'certificateUrl':_0x4c5b27['lovrabet']+'/cert/lovrabet-dev.json'}};}export function writeProjectDomainRoutingManifest(_0x35ff11){const _0x2f4310=a270_0xdadf,_0xfd7b01=getProjectDomainRoutingManifest(),_0x4b1b3d=join(_0x35ff11,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x4bd36f=JSON[_0x2f4310(0x131)](_0xfd7b01,null,0x2)+'\x0a';try{if(readFileSync(_0x4b1b3d,'utf8')===_0x4bd36f)return{'path':_0x4b1b3d,'manifest':_0xfd7b01,'changed':![]};}catch{}const _0x209811=_0x4b1b3d+'.'+process[_0x2f4310(0x13c)]+'.'+Date[_0x2f4310(0x142)]()+'.tmp';try{writeFileSync(_0x209811,_0x4bd36f,{'encoding':_0x2f4310(0x138),'mode':0x1a4}),renameSync(_0x209811,_0x4b1b3d);}catch(_0x4097a0){try{unlinkSync(_0x209811);}catch{}throw _0x4097a0;}return{'path':_0x4b1b3d,'manifest':_0xfd7b01,'changed':!![]};}
@@ -1 +1 @@
1
- function a271_0x620b(_0x3e4617,_0x3e1c6e){_0x3e4617=_0x3e4617-0x1ee;const _0x3188cc=a271_0x3188();let _0x620b95=_0x3188cc[_0x3e4617];return _0x620b95;}function a271_0x3188(){const _0x25df56=['Rabetbase\x20configuration','1400888IiIbpr','appRegion','app','328bsqiwE','7902228ihbUix','value','507228bqSeVm','global\x20Rabetbase\x20configuration','app\x20profile\x20\x22','mergedRegion','config','444483nrEDlQ','stringify','18gubaqA','2158226ePQhmV','12001mSwhPb','\x20in\x20','globalRegion','36980cOssQt','14185dJgisE','Run\x20`','4wfVsAP','projectRegion','Invalid\x20country/region\x20','appName','validation','null','default','source','project','global'];a271_0x3188=function(){return _0x25df56;};return a271_0x3188();}const a271_0x429a72=a271_0x620b;(function(_0x44c918,_0x2a73c5){const _0x44f924=a271_0x620b,_0x5753aa=_0x44c918();while(!![]){try{const _0x348efb=-parseInt(_0x44f924(0x1ef))/0x1*(parseInt(_0x44f924(0x1f9))/0x2)+-parseInt(_0x44f924(0x20a))/0x3+-parseInt(_0x44f924(0x207))/0x4*(parseInt(_0x44f924(0x1f7))/0x5)+-parseInt(_0x44f924(0x208))/0x6+-parseInt(_0x44f924(0x1f2))/0x7+parseInt(_0x44f924(0x204))/0x8*(-parseInt(_0x44f924(0x1f1))/0x9)+parseInt(_0x44f924(0x1f6))/0xa*(parseInt(_0x44f924(0x1f3))/0xb);if(_0x348efb===_0x2a73c5)break;else _0x5753aa['push'](_0x5753aa['shift']());}catch(_0x5ea0a7){_0x5753aa['push'](_0x5753aa['shift']());}}}(a271_0x3188,0xbb908));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(_0xb3d449){const _0x3bfc64=a271_0x620b;if(_0xb3d449['appRegion']!==undefined&&_0xb3d449[_0x3bfc64(0x205)]!==null&&_0xb3d449[_0x3bfc64(0x205)]!=='')return{'value':_0xb3d449['appRegion'],'source':_0x3bfc64(0x206)};if(_0xb3d449[_0x3bfc64(0x1fa)]!==undefined&&_0xb3d449['projectRegion']!==null&&_0xb3d449[_0x3bfc64(0x1fa)]!=='')return{'value':_0xb3d449['projectRegion'],'source':_0x3bfc64(0x201)};if(_0xb3d449['globalRegion']!==undefined&&_0xb3d449[_0x3bfc64(0x1f5)]!==null&&_0xb3d449[_0x3bfc64(0x1f5)]!=='')return{'value':_0xb3d449[_0x3bfc64(0x1f5)],'source':_0x3bfc64(0x202)};if(_0xb3d449['mergedRegion']!==undefined&&_0xb3d449[_0x3bfc64(0x20d)]!==null&&_0xb3d449['mergedRegion']!=='')return{'value':_0xb3d449[_0x3bfc64(0x20d)],'source':_0x3bfc64(0x1ee)};return{'value':undefined,'source':_0x3bfc64(0x1ff)};}function describeConfiguredRegion(_0x2809c5){const _0x5d1c23=a271_0x620b;return typeof _0x2809c5==='string'?JSON[_0x5d1c23(0x1f0)](_0x2809c5):'a\x20value\x20of\x20type\x20'+(_0x2809c5===null?_0x5d1c23(0x1fe):typeof _0x2809c5);}export function resolveConfiguredRegion(_0x3e6f36,_0x1430d5=a271_0x429a72(0x203)){const _0x553425=a271_0x429a72;if(isInvalidLovrabetRegion(_0x3e6f36))throw CliErrors[_0x553425(0x1fd)](_0x553425(0x1fb)+describeConfiguredRegion(_0x3e6f36)+_0x553425(0x1f4)+_0x1430d5+'.',_0x553425(0x1f8)+CLI_BIN_NAME+'\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.');return normalizeLovrabetRegion(_0x3e6f36)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x4a9800){const _0x43c4bf=a271_0x429a72,_0x1da65d=selectConfiguredRegion(_0x4a9800),_0x27328b=_0x1da65d[_0x43c4bf(0x200)]===_0x43c4bf(0x206)?_0x4a9800[_0x43c4bf(0x1fc)]?_0x43c4bf(0x20c)+_0x4a9800[_0x43c4bf(0x1fc)]+'\x22':'selected\x20app\x20profile':_0x1da65d[_0x43c4bf(0x200)]===_0x43c4bf(0x201)?'project\x20Rabetbase\x20configuration':_0x1da65d[_0x43c4bf(0x200)]===_0x43c4bf(0x202)?_0x43c4bf(0x20b):'Rabetbase\x20configuration';return{'region':resolveConfiguredRegion(_0x1da65d[_0x43c4bf(0x209)],_0x27328b),'source':_0x1da65d[_0x43c4bf(0x200)]};}
1
+ const a271_0x5179ba=a271_0x2f1f;function a271_0x2f1f(_0xe80912,_0x446340){_0xe80912=_0xe80912-0x121;const _0x216879=a271_0x2168();let _0x2f1f57=_0x216879[_0xe80912];return _0x2f1f57;}(function(_0x2bdd6f,_0x588317){const _0x411ded=a271_0x2f1f,_0x37dc0e=_0x2bdd6f();while(!![]){try{const _0x4e6005=parseInt(_0x411ded(0x13a))/0x1*(parseInt(_0x411ded(0x128))/0x2)+parseInt(_0x411ded(0x127))/0x3+parseInt(_0x411ded(0x131))/0x4+parseInt(_0x411ded(0x126))/0x5*(parseInt(_0x411ded(0x12f))/0x6)+-parseInt(_0x411ded(0x12e))/0x7*(-parseInt(_0x411ded(0x124))/0x8)+parseInt(_0x411ded(0x135))/0x9+-parseInt(_0x411ded(0x136))/0xa*(parseInt(_0x411ded(0x129))/0xb);if(_0x4e6005===_0x588317)break;else _0x37dc0e['push'](_0x37dc0e['shift']());}catch(_0x136d9b){_0x37dc0e['push'](_0x37dc0e['shift']());}}}(a271_0x2168,0x35bd4));import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'../constant/region.js';import{CliErrors}from'../errors.js';export function selectConfiguredRegion(_0x3f933e){const _0x591acd=a271_0x2f1f;if(_0x3f933e[_0x591acd(0x13d)]!==undefined&&_0x3f933e[_0x591acd(0x13d)]!==null&&_0x3f933e[_0x591acd(0x13d)]!=='')return{'value':_0x3f933e[_0x591acd(0x13d)],'source':_0x591acd(0x12d)};if(_0x3f933e[_0x591acd(0x13c)]!==undefined&&_0x3f933e[_0x591acd(0x13c)]!==null&&_0x3f933e[_0x591acd(0x13c)]!=='')return{'value':_0x3f933e[_0x591acd(0x13c)],'source':_0x591acd(0x12a)};if(_0x3f933e['globalRegion']!==undefined&&_0x3f933e['globalRegion']!==null&&_0x3f933e[_0x591acd(0x142)]!=='')return{'value':_0x3f933e[_0x591acd(0x142)],'source':'global'};if(_0x3f933e[_0x591acd(0x138)]!==undefined&&_0x3f933e[_0x591acd(0x138)]!==null&&_0x3f933e['mergedRegion']!=='')return{'value':_0x3f933e[_0x591acd(0x138)],'source':_0x591acd(0x134)};return{'value':undefined,'source':_0x591acd(0x137)};}function describeConfiguredRegion(_0x10c715){const _0x4c938f=a271_0x2f1f;return typeof _0x10c715==='string'?JSON[_0x4c938f(0x123)](_0x10c715):_0x4c938f(0x13f)+(_0x10c715===null?_0x4c938f(0x133):typeof _0x10c715);}export function resolveConfiguredRegion(_0x3a747b,_0x2b1530=a271_0x5179ba(0x139)){const _0x297dbe=a271_0x5179ba;if(isInvalidLovrabetRegion(_0x3a747b))throw CliErrors[_0x297dbe(0x140)]('Invalid\x20country/region\x20'+describeConfiguredRegion(_0x3a747b)+_0x297dbe(0x13b)+_0x2b1530+'.',_0x297dbe(0x132)+CLI_BIN_NAME+_0x297dbe(0x122));return normalizeLovrabetRegion(_0x3a747b)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x2753b7){const _0x372961=a271_0x5179ba,_0x1a88d2=selectConfiguredRegion(_0x2753b7),_0xca4fdd=_0x1a88d2[_0x372961(0x12b)]==='app'?_0x2753b7[_0x372961(0x13e)]?_0x372961(0x121)+_0x2753b7[_0x372961(0x13e)]+'\x22':_0x372961(0x141):_0x1a88d2['source']==='project'?_0x372961(0x130):_0x1a88d2['source']===_0x372961(0x12c)?_0x372961(0x125):_0x372961(0x139);return{'region':resolveConfiguredRegion(_0x1a88d2['value'],_0xca4fdd),'source':_0x1a88d2[_0x372961(0x12b)]};}function a271_0x2168(){const _0x57e721=['null','config','2561049OkroPx','10MUaRUS','default','mergedRegion','Rabetbase\x20configuration','413247HKQhYw','\x20in\x20','projectRegion','appRegion','appName','a\x20value\x20of\x20type\x20','validation','selected\x20app\x20profile','globalRegion','app\x20profile\x20\x22','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','stringify','8HUfLZE','global\x20Rabetbase\x20configuration','10EGfRvR','866637lSZCCc','2WkUyun','19576733dQDlwp','project','source','global','app','2449678dxMhOO','737772eYlvIb','project\x20Rabetbase\x20configuration','1669016fcgKPA','Run\x20`'];a271_0x2168=function(){return _0x57e721;};return a271_0x2168();}
@@ -1 +1 @@
1
- const a272_0x6d9453=a272_0x1fa1;(function(_0x5dc7b4,_0x5efd48){const _0x147c1c=a272_0x1fa1,_0x525437=_0x5dc7b4();while(!![]){try{const _0x569e38=parseInt(_0x147c1c(0x21e))/0x1+-parseInt(_0x147c1c(0x204))/0x2+parseInt(_0x147c1c(0x201))/0x3*(-parseInt(_0x147c1c(0x1fd))/0x4)+parseInt(_0x147c1c(0x1f4))/0x5*(parseInt(_0x147c1c(0x20e))/0x6)+-parseInt(_0x147c1c(0x1f7))/0x7*(parseInt(_0x147c1c(0x20f))/0x8)+parseInt(_0x147c1c(0x224))/0x9+parseInt(_0x147c1c(0x219))/0xa;if(_0x569e38===_0x5efd48)break;else _0x525437['push'](_0x525437['shift']());}catch(_0x4c5729){_0x525437['push'](_0x525437['shift']());}}}(a272_0x4b82,0xa5898));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,isProduction,RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a272_0x6d9453(0x21d),'accessKey',a272_0x6d9453(0x206),'format',a272_0x6d9453(0x22c),a272_0x6d9453(0x21f),'routing','userDomain','apiDomain','runtimeDomain',a272_0x6d9453(0x20c),a272_0x6d9453(0x216),'kbServiceDomain',a272_0x6d9453(0x203),a272_0x6d9453(0x1fa),a272_0x6d9453(0x1fe)];export const TOP_LEVEL_CONFIG_KEYS=new Set(['appcode',a272_0x6d9453(0x1ff),a272_0x6d9453(0x206),a272_0x6d9453(0x1f6),a272_0x6d9453(0x21d),a272_0x6d9453(0x227),a272_0x6d9453(0x212),a272_0x6d9453(0x21f),a272_0x6d9453(0x207),a272_0x6d9453(0x209),a272_0x6d9453(0x202),a272_0x6d9453(0x20c),a272_0x6d9453(0x216),a272_0x6d9453(0x1fb),a272_0x6d9453(0x203),a272_0x6d9453(0x1fa),a272_0x6d9453(0x1fe)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x283f7b){const _0x544369=a272_0x6d9453;return[..._0x283f7b][_0x544369(0x208)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}function a272_0x4b82(){const _0x4e09cf=['Target\x20environment','276PPAJJc','certificateDomain','env','values','34977mfhZMS','runtimeDomain','appDomain','1905034tWhkWp','has','locale','userDomain','join','apiDomain','Default\x20page\x20size','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','skillDomain','defaultFormat','2428770NltVsZ','664vMJdlR','API\x20directory\x20path','en-US','apiDir','filter','entries','map','kbDomain','app','defaultApp','11781530kKtbxA','isArray','some','toLowerCase','cookie','598488rlNCzt','region','inherit','appcode','object','apps','1426941dNOArB','pageSize','apiGroup','accessKey','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','string','keys','fromEntries','riskLevel','15XvCqls','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','format','60263VfEfBu','Access\x20key','length','localDomain','kbServiceDomain'];a272_0x4b82=function(){return _0x4e09cf;};return a272_0x4b82();}export function isTopLevelConfigKey(_0x495cf2){const _0x2025c9=a272_0x6d9453;return TOP_LEVEL_CONFIG_KEYS[_0x2025c9(0x205)](_0x495cf2);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){return'Config\x20key\x20('+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':'apiGroup','region':a272_0x6d9453(0x21f),'env':a272_0x6d9453(0x1ff),'apiDir':'apiDir','cookie':a272_0x6d9453(0x21d),'accessKey':a272_0x6d9453(0x227),'defaultFormat':'format','pageSize':a272_0x6d9453(0x225),'riskLevel':a272_0x6d9453(0x22c),'locale':a272_0x6d9453(0x206)};export function getAppProfileFlagDefs(){const _0x60c723=a272_0x6d9453;return[{'name':'apiGroup','type':_0x60c723(0x229),'description':_0x60c723(0x1f5)},{'name':_0x60c723(0x21f),'type':_0x60c723(0x229),'description':'Country/region\x20for\x20this\x20app\x20profile','enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':'env','type':'string','description':_0x60c723(0x1fc),'enum':[...RABETBASE_ENV_VALUES]},{'name':'apiDir','type':_0x60c723(0x229),'description':_0x60c723(0x210)},{'name':_0x60c723(0x21d),'type':_0x60c723(0x229),'description':'Auth\x20cookie','hidden':!![]},{'name':_0x60c723(0x227),'type':_0x60c723(0x229),'description':_0x60c723(0x1f8),'hidden':!![]},{'name':_0x60c723(0x20d),'type':_0x60c723(0x229),'description':_0x60c723(0x228),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':'pageSize','type':'number','description':_0x60c723(0x20a)},{'name':_0x60c723(0x22c),'type':_0x60c723(0x229),'description':'Risk\x20level','enum':[...RISK_LEVEL_VALUES]},{'name':'locale','type':'string','description':_0x60c723(0x20b)}];}export function collectAppProfileOverrides(_0x3d8a38){const _0x244e29=a272_0x6d9453,_0x162306={};for(const [_0x4f88f6,_0xa62b1c]of Object[_0x244e29(0x214)](APP_PROFILE_FLAG_KEY_MAP)){const _0x5cb8bd=_0x3d8a38(_0x4f88f6);if(!_0x5cb8bd)continue;_0x162306[_0xa62b1c]=_0xa62b1c==='pageSize'?Number(_0x5cb8bd):_0x5cb8bd;}return _0x162306;}export function buildAppProfileListFields(_0xbf8164){const _0x2d706a=a272_0x6d9453;return{'apiGroup':_0xbf8164[_0x2d706a(0x226)]??null,'region':_0xbf8164['region']??null,'env':_0xbf8164[_0x2d706a(0x1ff)]??null,'apiDir':_0xbf8164[_0x2d706a(0x212)]??null,'hasCookie':!!_0xbf8164[_0x2d706a(0x21d)],'hasAccessKey':!!_0xbf8164[_0x2d706a(0x227)],'format':_0xbf8164[_0x2d706a(0x1f6)]??null,'pageSize':_0xbf8164[_0x2d706a(0x225)]??null,'riskLevel':_0xbf8164[_0x2d706a(0x22c)]??null,'locale':_0xbf8164[_0x2d706a(0x206)]??null};}export function buildAppDoctorFields(_0x2faad4,_0x47758a){const _0x26ce2=a272_0x6d9453;return{'region':{'value':_0x2faad4[_0x26ce2(0x21f)]||_0x47758a['region'],'source':_0x2faad4[_0x26ce2(0x21f)]?'app':_0x26ce2(0x220)},'env':{'value':_0x2faad4[_0x26ce2(0x1ff)]||_0x47758a['env'],'source':_0x2faad4[_0x26ce2(0x1ff)]?'app':_0x26ce2(0x220)},'apiDir':{'value':_0x2faad4['apiDir']||_0x47758a[_0x26ce2(0x212)],'source':_0x2faad4['apiDir']?_0x26ce2(0x217):_0x26ce2(0x220)},'cookie':{'value':_0x2faad4[_0x26ce2(0x21d)]||_0x47758a[_0x26ce2(0x21d)],'source':_0x2faad4['cookie']?_0x26ce2(0x217):_0x26ce2(0x220)},'accessKey':{'value':_0x2faad4[_0x26ce2(0x227)]||_0x47758a[_0x26ce2(0x227)],'source':_0x2faad4[_0x26ce2(0x227)]?_0x26ce2(0x217):_0x26ce2(0x220)}};}export function buildCanonicalAppConfig(_0x32c0cb,_0x376588){const _0x50eb57=a272_0x6d9453,_0x2b9cae=_0x32c0cb['map'](_0x7dba28=>String(_0x7dba28||'')['trim']())[_0x50eb57(0x213)](Boolean);if(_0x2b9cae[_0x50eb57(0x1f9)]===0x0)return{};const _0x4b7132={};for(const _0x5c1505 of _0x2b9cae){_0x4b7132[_0x5c1505]=_0x376588&&!isProduction(_0x376588)?{'appcode':_0x5c1505,'env':_0x376588}:{'appcode':_0x5c1505};}return _0x2b9cae[_0x50eb57(0x1f9)]>0x1?{'apps':_0x4b7132,'defaultApp':_0x2b9cae[0x0]}:{'apps':_0x4b7132};}export function normalizeStoredDefaultApp(_0x220862,_0x29b66c){const _0x410de3=a272_0x6d9453,_0x1d34f9=_0x220862[_0x410de3(0x223)]&&typeof _0x220862[_0x410de3(0x223)]===_0x410de3(0x222)?_0x220862[_0x410de3(0x223)]:{},_0x36a00b=Object[_0x410de3(0x22a)](_0x1d34f9);if(_0x36a00b[_0x410de3(0x1f9)]<=0x1)return delete _0x220862[_0x410de3(0x218)],undefined;const _0x3c71bf=typeof _0x220862['defaultApp']===_0x410de3(0x229)&&_0x1d34f9[_0x220862[_0x410de3(0x218)]]?_0x220862['defaultApp']:undefined,_0x3de496=_0x29b66c&&_0x1d34f9[_0x29b66c]?_0x29b66c:_0x3c71bf;if(_0x3de496)return _0x220862[_0x410de3(0x218)]=_0x3de496,_0x3de496;return delete _0x220862[_0x410de3(0x218)],undefined;}export function buildCanonicalProjectConfig(_0x2613a6,_0x4c9b50){const _0x3cf9aa=a272_0x6d9453,{appCodes:appCodes=[],env:_0x362593,metadata:_0x392eee}=_0x4c9b50,_0x28e08c={..._0x2613a6,..._0x392eee||{}};delete _0x28e08c[_0x3cf9aa(0x221)],delete _0x28e08c[_0x3cf9aa(0x217)];const _0x42f2bc=_0x362593||(typeof _0x28e08c[_0x3cf9aa(0x1ff)]===_0x3cf9aa(0x229)?_0x28e08c[_0x3cf9aa(0x1ff)]:'')||DEFAULT_CONFIG_VALUES[_0x3cf9aa(0x1ff)];if(isProduction(_0x42f2bc))delete _0x28e08c[_0x3cf9aa(0x1ff)];else _0x28e08c[_0x3cf9aa(0x1ff)]=_0x42f2bc;const _0x3a2a99=buildCanonicalAppConfig(appCodes,_0x42f2bc);if(Object[_0x3cf9aa(0x22a)](_0x3a2a99)[_0x3cf9aa(0x1f9)]>0x0){_0x28e08c[_0x3cf9aa(0x223)]=_0x3a2a99['apps'];if(_0x3a2a99[_0x3cf9aa(0x218)])_0x28e08c[_0x3cf9aa(0x218)]=_0x3a2a99[_0x3cf9aa(0x218)];else delete _0x28e08c[_0x3cf9aa(0x218)];}return normalizeConfigForWrite(_0x28e08c);}function isRecord(_0x121371){const _0xe41b1f=a272_0x6d9453;return!!_0x121371&&typeof _0x121371==='object'&&!Array[_0xe41b1f(0x21a)](_0x121371);}export function normalizeConfigForWrite(_0x4f0206){const _0xc88c42=a272_0x6d9453,_0x156068={..._0x4f0206},_0x3e60ca=isRecord(_0x4f0206[_0xc88c42(0x223)])?_0x4f0206[_0xc88c42(0x223)]:undefined,_0x48a42d=_0x3e60ca?Object[_0xc88c42(0x22b)](Object['entries'](_0x3e60ca)[_0xc88c42(0x215)](([_0x3c031a,_0x747bf6])=>[_0x3c031a,isRecord(_0x747bf6)?{..._0x747bf6}:_0x747bf6])):undefined;if(_0x48a42d){const _0x195bd1=typeof _0x156068[_0xc88c42(0x1ff)]===_0xc88c42(0x229)?_0x156068['env']:undefined,_0xfc54fd=Object[_0xc88c42(0x200)](_0x48a42d)[_0xc88c42(0x21b)](_0x57505c=>isRecord(_0x57505c)&&typeof _0x57505c[_0xc88c42(0x1ff)]===_0xc88c42(0x229)&&isProduction(_0x57505c[_0xc88c42(0x1ff)]));if(_0x195bd1&&isDaily(_0x195bd1)&&_0xfc54fd){for(const _0x15ceab of Object[_0xc88c42(0x200)](_0x48a42d)){if(!isRecord(_0x15ceab))continue;if(_0x15ceab['env']===undefined)_0x15ceab[_0xc88c42(0x1ff)]=_0x195bd1;}delete _0x156068[_0xc88c42(0x1ff)];}for(const _0x36956c of Object[_0xc88c42(0x200)](_0x48a42d)){isRecord(_0x36956c)&&typeof _0x36956c['env']==='string'&&isProduction(_0x36956c[_0xc88c42(0x1ff)])&&delete _0x36956c[_0xc88c42(0x1ff)];}_0x156068[_0xc88c42(0x223)]=_0x48a42d;}return typeof _0x156068[_0xc88c42(0x1ff)]==='string'&&isProduction(_0x156068[_0xc88c42(0x1ff)])&&delete _0x156068[_0xc88c42(0x1ff)],_0x156068;}function a272_0x1fa1(_0x3a0933,_0x9c727){_0x3a0933=_0x3a0933-0x1f4;const _0x4b8244=a272_0x4b82();let _0x1fa1a1=_0x4b8244[_0x3a0933];return _0x1fa1a1;}const LOCALE_MAP={'zh':'zh-CN','zh-cn':'zh-CN','zh_cn':'zh-CN','en':a272_0x6d9453(0x211),'en-us':'en-US','en_us':a272_0x6d9453(0x211)};export function normalizeLocale(_0x5dd583){const _0x4178c8=a272_0x6d9453;if(!_0x5dd583)return null;return LOCALE_MAP[_0x5dd583[_0x4178c8(0x21c)]()]??null;}
1
+ const a272_0x4dde8a=a272_0x423a;(function(_0x4c469a,_0x39101c){const _0x14f1b1=a272_0x423a,_0x171e04=_0x4c469a();while(!![]){try{const _0x424bcd=-parseInt(_0x14f1b1(0x218))/0x1*(parseInt(_0x14f1b1(0x1f0))/0x2)+parseInt(_0x14f1b1(0x21b))/0x3+parseInt(_0x14f1b1(0x1f2))/0x4*(parseInt(_0x14f1b1(0x215))/0x5)+parseInt(_0x14f1b1(0x20f))/0x6*(-parseInt(_0x14f1b1(0x21f))/0x7)+-parseInt(_0x14f1b1(0x203))/0x8*(-parseInt(_0x14f1b1(0x200))/0x9)+parseInt(_0x14f1b1(0x1f4))/0xa+parseInt(_0x14f1b1(0x1f3))/0xb*(-parseInt(_0x14f1b1(0x213))/0xc);if(_0x424bcd===_0x39101c)break;else _0x171e04['push'](_0x171e04['shift']());}catch(_0x3e16e4){_0x171e04['push'](_0x171e04['shift']());}}}(a272_0x70db,0x5e656));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,isProduction,RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a272_0x4dde8a(0x21a),a272_0x4dde8a(0x209),'locale','format',a272_0x4dde8a(0x207),a272_0x4dde8a(0x1ff),a272_0x4dde8a(0x1f1),'userDomain',a272_0x4dde8a(0x219),'runtimeDomain','skillDomain',a272_0x4dde8a(0x214),a272_0x4dde8a(0x1f5),a272_0x4dde8a(0x1fb),a272_0x4dde8a(0x210),a272_0x4dde8a(0x212)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a272_0x4dde8a(0x1f9),'env','locale',a272_0x4dde8a(0x1ec),'cookie',a272_0x4dde8a(0x209),'apiDir','region','userDomain',a272_0x4dde8a(0x219),'runtimeDomain','skillDomain',a272_0x4dde8a(0x214),'kbServiceDomain',a272_0x4dde8a(0x1fb),'localDomain',a272_0x4dde8a(0x212)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x412ec2){const _0x4e92f7=a272_0x4dde8a;return[..._0x412ec2][_0x4e92f7(0x21d)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x54d762){const _0x58c62a=a272_0x4dde8a;return TOP_LEVEL_CONFIG_KEYS[_0x58c62a(0x20c)](_0x54d762);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x1d2ab6=a272_0x4dde8a;return _0x1d2ab6(0x204)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':'apiGroup','region':a272_0x4dde8a(0x1ff),'env':a272_0x4dde8a(0x1ef),'apiDir':'apiDir','cookie':a272_0x4dde8a(0x21a),'accessKey':a272_0x4dde8a(0x209),'defaultFormat':a272_0x4dde8a(0x1ec),'pageSize':a272_0x4dde8a(0x202),'riskLevel':a272_0x4dde8a(0x207),'locale':a272_0x4dde8a(0x1e9)};export function getAppProfileFlagDefs(){const _0x1ee58d=a272_0x4dde8a;return[{'name':_0x1ee58d(0x1ea),'type':_0x1ee58d(0x208),'description':_0x1ee58d(0x20a)},{'name':'region','type':_0x1ee58d(0x208),'description':'Country/region\x20for\x20this\x20app\x20profile','enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':'env','type':'string','description':'Target\x20environment','enum':[...RABETBASE_ENV_VALUES]},{'name':_0x1ee58d(0x1f7),'type':_0x1ee58d(0x208),'description':_0x1ee58d(0x21c)},{'name':_0x1ee58d(0x21a),'type':_0x1ee58d(0x208),'description':_0x1ee58d(0x206),'hidden':!![]},{'name':_0x1ee58d(0x209),'type':_0x1ee58d(0x208),'description':_0x1ee58d(0x20d),'hidden':!![]},{'name':_0x1ee58d(0x1fe),'type':_0x1ee58d(0x208),'description':'Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x1ee58d(0x202),'type':_0x1ee58d(0x1e7),'description':'Default\x20page\x20size'},{'name':'riskLevel','type':_0x1ee58d(0x208),'description':_0x1ee58d(0x20b),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x1ee58d(0x1e9),'type':_0x1ee58d(0x208),'description':_0x1ee58d(0x1ee)}];}function a272_0x70db(){const _0x43f167=['length','format','apps','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','env','945038JUBtKr','routing','20hcqtUv','275YTMOmz','1755300XBBCGN','kbServiceDomain','toLowerCase','apiDir','app','appcode','keys','appDomain','trim','en-US','defaultFormat','region','2073339ALwilZ','object','pageSize','8DZsgYF','Config\x20key\x20(','some','Auth\x20cookie','riskLevel','string','accessKey','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','Risk\x20level','has','Access\x20key','zh-CN','6qNPDIB','localDomain','entries','certificateDomain','99972zLnVWQ','kbDomain','478730rkDiuJ','values','fromEntries','1atuepU','apiDomain','cookie','2218878hjXknW','API\x20directory\x20path','join','map','3897719RUJgbc','inherit','defaultApp','number','isArray','locale','apiGroup'];a272_0x70db=function(){return _0x43f167;};return a272_0x70db();}export function collectAppProfileOverrides(_0x14f16f){const _0x4aad06=a272_0x4dde8a,_0x511962={};for(const [_0x4a6147,_0x518ee8]of Object[_0x4aad06(0x211)](APP_PROFILE_FLAG_KEY_MAP)){const _0x55b677=_0x14f16f(_0x4a6147);if(!_0x55b677)continue;_0x511962[_0x518ee8]=_0x518ee8===_0x4aad06(0x202)?Number(_0x55b677):_0x55b677;}return _0x511962;}export function buildAppProfileListFields(_0x115469){const _0x2a97a2=a272_0x4dde8a;return{'apiGroup':_0x115469[_0x2a97a2(0x1ea)]??null,'region':_0x115469['region']??null,'env':_0x115469['env']??null,'apiDir':_0x115469[_0x2a97a2(0x1f7)]??null,'hasCookie':!!_0x115469[_0x2a97a2(0x21a)],'hasAccessKey':!!_0x115469[_0x2a97a2(0x209)],'format':_0x115469[_0x2a97a2(0x1ec)]??null,'pageSize':_0x115469[_0x2a97a2(0x202)]??null,'riskLevel':_0x115469['riskLevel']??null,'locale':_0x115469[_0x2a97a2(0x1e9)]??null};}export function buildAppDoctorFields(_0x361b6a,_0x1e8b78){const _0x4d01de=a272_0x4dde8a;return{'region':{'value':_0x361b6a[_0x4d01de(0x1ff)]||_0x1e8b78[_0x4d01de(0x1ff)],'source':_0x361b6a[_0x4d01de(0x1ff)]?_0x4d01de(0x1f8):_0x4d01de(0x1e5)},'env':{'value':_0x361b6a[_0x4d01de(0x1ef)]||_0x1e8b78[_0x4d01de(0x1ef)],'source':_0x361b6a[_0x4d01de(0x1ef)]?_0x4d01de(0x1f8):_0x4d01de(0x1e5)},'apiDir':{'value':_0x361b6a['apiDir']||_0x1e8b78[_0x4d01de(0x1f7)],'source':_0x361b6a['apiDir']?_0x4d01de(0x1f8):_0x4d01de(0x1e5)},'cookie':{'value':_0x361b6a['cookie']||_0x1e8b78[_0x4d01de(0x21a)],'source':_0x361b6a[_0x4d01de(0x21a)]?_0x4d01de(0x1f8):_0x4d01de(0x1e5)},'accessKey':{'value':_0x361b6a[_0x4d01de(0x209)]||_0x1e8b78['accessKey'],'source':_0x361b6a[_0x4d01de(0x209)]?_0x4d01de(0x1f8):_0x4d01de(0x1e5)}};}export function buildCanonicalAppConfig(_0x566337,_0x5d8ebc){const _0x20d202=a272_0x4dde8a,_0x452f92=_0x566337['map'](_0x569182=>String(_0x569182||'')[_0x20d202(0x1fc)]())['filter'](Boolean);if(_0x452f92[_0x20d202(0x1eb)]===0x0)return{};const _0x501f97={};for(const _0x34ca34 of _0x452f92){_0x501f97[_0x34ca34]=_0x5d8ebc&&!isProduction(_0x5d8ebc)?{'appcode':_0x34ca34,'env':_0x5d8ebc}:{'appcode':_0x34ca34};}return _0x452f92[_0x20d202(0x1eb)]>0x1?{'apps':_0x501f97,'defaultApp':_0x452f92[0x0]}:{'apps':_0x501f97};}export function normalizeStoredDefaultApp(_0x3f56ce,_0x292f6f){const _0x5cd3b7=a272_0x4dde8a,_0x142a3b=_0x3f56ce[_0x5cd3b7(0x1ed)]&&typeof _0x3f56ce[_0x5cd3b7(0x1ed)]===_0x5cd3b7(0x201)?_0x3f56ce[_0x5cd3b7(0x1ed)]:{},_0x1b146d=Object[_0x5cd3b7(0x1fa)](_0x142a3b);if(_0x1b146d[_0x5cd3b7(0x1eb)]<=0x1)return delete _0x3f56ce['defaultApp'],undefined;const _0x26bc8f=typeof _0x3f56ce[_0x5cd3b7(0x1e6)]==='string'&&_0x142a3b[_0x3f56ce[_0x5cd3b7(0x1e6)]]?_0x3f56ce[_0x5cd3b7(0x1e6)]:undefined,_0x407359=_0x292f6f&&_0x142a3b[_0x292f6f]?_0x292f6f:_0x26bc8f;if(_0x407359)return _0x3f56ce[_0x5cd3b7(0x1e6)]=_0x407359,_0x407359;return delete _0x3f56ce[_0x5cd3b7(0x1e6)],undefined;}export function buildCanonicalProjectConfig(_0x398226,_0x12d93c){const _0x3e7387=a272_0x4dde8a,{appCodes:appCodes=[],env:_0x203e7a,metadata:_0x16d157}=_0x12d93c,_0x4586ef={..._0x398226,..._0x16d157||{}};delete _0x4586ef[_0x3e7387(0x1f9)],delete _0x4586ef[_0x3e7387(0x1f8)];const _0x58d78b=_0x203e7a||(typeof _0x4586ef[_0x3e7387(0x1ef)]===_0x3e7387(0x208)?_0x4586ef[_0x3e7387(0x1ef)]:'')||DEFAULT_CONFIG_VALUES[_0x3e7387(0x1ef)];if(isProduction(_0x58d78b))delete _0x4586ef[_0x3e7387(0x1ef)];else _0x4586ef['env']=_0x58d78b;const _0xb7b7fe=buildCanonicalAppConfig(appCodes,_0x58d78b);if(Object[_0x3e7387(0x1fa)](_0xb7b7fe)[_0x3e7387(0x1eb)]>0x0){_0x4586ef[_0x3e7387(0x1ed)]=_0xb7b7fe[_0x3e7387(0x1ed)];if(_0xb7b7fe[_0x3e7387(0x1e6)])_0x4586ef[_0x3e7387(0x1e6)]=_0xb7b7fe[_0x3e7387(0x1e6)];else delete _0x4586ef[_0x3e7387(0x1e6)];}return normalizeConfigForWrite(_0x4586ef);}function isRecord(_0x45fcc2){const _0x1459dc=a272_0x4dde8a;return!!_0x45fcc2&&typeof _0x45fcc2===_0x1459dc(0x201)&&!Array[_0x1459dc(0x1e8)](_0x45fcc2);}export function normalizeConfigForWrite(_0x40acf8){const _0x4f2d94=a272_0x4dde8a,_0x456816={..._0x40acf8},_0xc8124a=isRecord(_0x40acf8[_0x4f2d94(0x1ed)])?_0x40acf8[_0x4f2d94(0x1ed)]:undefined,_0x387109=_0xc8124a?Object[_0x4f2d94(0x217)](Object['entries'](_0xc8124a)[_0x4f2d94(0x21e)](([_0x1bdd3b,_0x5e2795])=>[_0x1bdd3b,isRecord(_0x5e2795)?{..._0x5e2795}:_0x5e2795])):undefined;if(_0x387109){const _0x3d102c=typeof _0x456816['env']===_0x4f2d94(0x208)?_0x456816[_0x4f2d94(0x1ef)]:undefined,_0x2f5121=Object[_0x4f2d94(0x216)](_0x387109)[_0x4f2d94(0x205)](_0x138952=>isRecord(_0x138952)&&typeof _0x138952['env']==='string'&&isProduction(_0x138952[_0x4f2d94(0x1ef)]));if(_0x3d102c&&isDaily(_0x3d102c)&&_0x2f5121){for(const _0x30a445 of Object['values'](_0x387109)){if(!isRecord(_0x30a445))continue;if(_0x30a445['env']===undefined)_0x30a445[_0x4f2d94(0x1ef)]=_0x3d102c;}delete _0x456816[_0x4f2d94(0x1ef)];}for(const _0x20a210 of Object['values'](_0x387109)){isRecord(_0x20a210)&&typeof _0x20a210[_0x4f2d94(0x1ef)]===_0x4f2d94(0x208)&&isProduction(_0x20a210[_0x4f2d94(0x1ef)])&&delete _0x20a210[_0x4f2d94(0x1ef)];}_0x456816[_0x4f2d94(0x1ed)]=_0x387109;}return typeof _0x456816[_0x4f2d94(0x1ef)]===_0x4f2d94(0x208)&&isProduction(_0x456816[_0x4f2d94(0x1ef)])&&delete _0x456816[_0x4f2d94(0x1ef)],_0x456816;}const LOCALE_MAP={'zh':'zh-CN','zh-cn':a272_0x4dde8a(0x20e),'zh_cn':a272_0x4dde8a(0x20e),'en':a272_0x4dde8a(0x1fd),'en-us':a272_0x4dde8a(0x1fd),'en_us':a272_0x4dde8a(0x1fd)};function a272_0x423a(_0x59a924,_0x32b245){_0x59a924=_0x59a924-0x1e5;const _0x70dba6=a272_0x70db();let _0x423a5c=_0x70dba6[_0x59a924];return _0x423a5c;}export function normalizeLocale(_0x24e3ac){const _0xa82207=a272_0x4dde8a;if(!_0x24e3ac)return null;return LOCALE_MAP[_0x24e3ac[_0xa82207(0x1f6)]()]??null;}
@@ -1 +1 @@
1
- function a273_0x576a(){const _0x562f54=['12zzhmjt','401054tYLkUT','3nDQPuF','freeze','158612isUjSZ','714132wdGDnS','12OALAph','config/index.json','rabetbase-cli','11dwjVzp','lovrabet','122668YDhdQy','sub-app-react-demo-','732770JFBAUa','sub-app-react-demo-beta.zip','364063xuBCgO','35OOpRsl','4400786lpWfLd','.zip','8jdPsae','sub-app-react-demo.zip'];a273_0x576a=function(){return _0x562f54;};return a273_0x576a();}const a273_0x1f7033=a273_0x2f88;(function(_0x5e6b7b,_0xb3d318){const _0x304c48=a273_0x2f88,_0x44735b=_0x5e6b7b();while(!![]){try{const _0x1cc3df=-parseInt(_0x304c48(0x180))/0x1+-parseInt(_0x304c48(0x17d))/0x2*(-parseInt(_0x304c48(0x17e))/0x3)+parseInt(_0x304c48(0x172))/0x4*(-parseInt(_0x304c48(0x177))/0x5)+-parseInt(_0x304c48(0x17c))/0x6*(-parseInt(_0x304c48(0x176))/0x7)+parseInt(_0x304c48(0x17a))/0x8*(-parseInt(_0x304c48(0x181))/0x9)+parseInt(_0x304c48(0x174))/0xa*(-parseInt(_0x304c48(0x170))/0xb)+-parseInt(_0x304c48(0x182))/0xc*(-parseInt(_0x304c48(0x178))/0xd);if(_0x1cc3df===_0xb3d318)break;else _0x44735b['push'](_0x44735b['shift']());}catch(_0xa934a0){_0x44735b['push'](_0x44735b['shift']());}}}(a273_0x576a,0x1c9a9));import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT=a273_0x1f7033(0x16f),RABETBASE_CDN_CONFIG_ORIGIN='https://g.lovrabet.com',CDN_CONFIG_PATH=a273_0x1f7033(0x183),PROJECT_TEMPLATE_ASSET_PATH='templates/projects',PROJECT_TEMPLATE_ARCHIVE_NAMES=Object[a273_0x1f7033(0x17f)]({'release':a273_0x1f7033(0x17b),'beta':a273_0x1f7033(0x175)});export const RABETBASE_CDN_PROJECT_PATH='/dist/'+RABETBASE_CDN_PROJECT;function getRabetbaseCdnBaseUrl(){const _0x313dc3=a273_0x1f7033;return''+getActiveCdn()[_0x313dc3(0x171)]+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;}function a273_0x2f88(_0x3c869f,_0x2d3e87){_0x3c869f=_0x3c869f-0x16f;const _0x576a6d=a273_0x576a();let _0x2f88df=_0x576a6d[_0x3c869f];return _0x2f88df;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x4048bf,_0x4f0a79){const _0x2fd9c9=a273_0x1f7033,_0x59c248=_0x4f0a79?_0x2fd9c9(0x173)+_0x4f0a79+_0x2fd9c9(0x179):PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x4048bf];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x59c248;}
1
+ const a273_0x228d82=a273_0x2cdf;(function(_0x9a4cd7,_0x328d1d){const _0x1873c5=a273_0x2cdf,_0x2096d4=_0x9a4cd7();while(!![]){try{const _0x3696fe=parseInt(_0x1873c5(0xc6))/0x1+parseInt(_0x1873c5(0xb9))/0x2+-parseInt(_0x1873c5(0xb6))/0x3*(-parseInt(_0x1873c5(0xba))/0x4)+-parseInt(_0x1873c5(0xbd))/0x5*(-parseInt(_0x1873c5(0xb8))/0x6)+-parseInt(_0x1873c5(0xc3))/0x7+parseInt(_0x1873c5(0xbc))/0x8+-parseInt(_0x1873c5(0xc4))/0x9;if(_0x3696fe===_0x328d1d)break;else _0x2096d4['push'](_0x2096d4['shift']());}catch(_0x4918e5){_0x2096d4['push'](_0x2096d4['shift']());}}}(a273_0x1b20,0xdbaef));import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT=a273_0x228d82(0xb5),RABETBASE_CDN_CONFIG_ORIGIN=a273_0x228d82(0xc1),CDN_CONFIG_PATH=a273_0x228d82(0xc2),PROJECT_TEMPLATE_ASSET_PATH=a273_0x228d82(0xbb),PROJECT_TEMPLATE_ARCHIVE_NAMES=Object[a273_0x228d82(0xbe)]({'release':'sub-app-react-demo.zip','beta':a273_0x228d82(0xc0)});export const RABETBASE_CDN_PROJECT_PATH='/dist/'+RABETBASE_CDN_PROJECT;function a273_0x2cdf(_0x3145e0,_0x27fbe1){_0x3145e0=_0x3145e0-0xb5;const _0x1b2073=a273_0x1b20();let _0x2cdf47=_0x1b2073[_0x3145e0];return _0x2cdf47;}function getRabetbaseCdnBaseUrl(){const _0x7af073=a273_0x228d82;return''+getActiveCdn()[_0x7af073(0xbf)]+RABETBASE_CDN_PROJECT_PATH;}function a273_0x1b20(){const _0x92f502=['lovrabet','sub-app-react-demo-beta.zip','https://g.lovrabet.com','config/index.json','3491089ZAuyPp','41015538gNmryO','.zip','1020452ALeoPL','rabetbase-cli','6CFatEQ','sub-app-react-demo-','7603074WKUgxB','1942884UzZgFt','3166924KAlWkU','templates/projects','8906376NTunOA','5ldCzqk','freeze'];a273_0x1b20=function(){return _0x92f502;};return a273_0x1b20();}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}export function getProjectTemplateAssetBaseUrl(){return getRabetbaseCdnBaseUrl()+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x266277,_0x333d3d){const _0x95e033=a273_0x228d82,_0x26b232=_0x333d3d?_0x95e033(0xb7)+_0x333d3d+_0x95e033(0xc5):PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x266277];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x26b232;}
@@ -1 +1 @@
1
- const a274_0x4e66a5=a274_0x1b96;(function(_0x1dbccc,_0x543fe7){const _0x48e8bb=a274_0x1b96,_0x2a795f=_0x1dbccc();while(!![]){try{const _0x90fd84=parseInt(_0x48e8bb(0x1ae))/0x1*(-parseInt(_0x48e8bb(0x1db))/0x2)+parseInt(_0x48e8bb(0x1b7))/0x3+parseInt(_0x48e8bb(0x184))/0x4+parseInt(_0x48e8bb(0x187))/0x5*(-parseInt(_0x48e8bb(0x200))/0x6)+parseInt(_0x48e8bb(0x1c4))/0x7+parseInt(_0x48e8bb(0x1c8))/0x8+-parseInt(_0x48e8bb(0x193))/0x9;if(_0x90fd84===_0x543fe7)break;else _0x2a795f['push'](_0x2a795f['shift']());}catch(_0x242a05){_0x2a795f['push'](_0x2a795f['shift']());}}}(a274_0x3ac3,0xa48bf));export const CLI_BIN_NAME=a274_0x4e66a5(0x1b8);export const CLI_DISPLAY_NAME=a274_0x4e66a5(0x1ed);export const NPM_PACKAGE_NAME=a274_0x4e66a5(0x213);export const GLOBAL_FLAGS=[{'name':a274_0x4e66a5(0x1c9),'meowKey':a274_0x4e66a5(0x1c9),'type':'string','description':a274_0x4e66a5(0x1cf),'hint':a274_0x4e66a5(0x1d7)},{'name':a274_0x4e66a5(0x21a),'meowKey':'app','type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x214),'hint':a274_0x4e66a5(0x1ce)},{'name':a274_0x4e66a5(0x209),'meowKey':a274_0x4e66a5(0x209),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1a4),'hint':a274_0x4e66a5(0x1df)},{'name':a274_0x4e66a5(0x197),'meowKey':'format','type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x207),'hint':a274_0x4e66a5(0x1dc)},{'name':'jq','meowKey':'jq','type':a274_0x4e66a5(0x1a5),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','hint':a274_0x4e66a5(0x1ef)},{'name':a274_0x4e66a5(0x1c5),'meowKey':'dryRun','type':a274_0x4e66a5(0x20b),'description':'Preview\x20operation\x20without\x20executing'},{'name':'yes','meowKey':a274_0x4e66a5(0x1ad),'type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x201)},{'name':a274_0x4e66a5(0x1ff),'meowKey':a274_0x4e66a5(0x1cc),'type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x1f4)},{'name':'global','meowKey':a274_0x4e66a5(0x1e1),'type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x1b5)},{'name':a274_0x4e66a5(0x208),'meowKey':a274_0x4e66a5(0x208),'type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x1b0)},{'name':'ci','meowKey':'ci','type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x1d9),'hidden':!![]},{'name':a274_0x4e66a5(0x1ea),'meowKey':'help','type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x183)},{'name':a274_0x4e66a5(0x1f3),'meowKey':a274_0x4e66a5(0x1f3),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x19c),'hidden':!![],'hint':a274_0x4e66a5(0x1cb)},{'name':'name','meowKey':a274_0x4e66a5(0x1d5),'type':'string','description':a274_0x4e66a5(0x18d),'hidden':!![]},{'name':'title','meowKey':'title','type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1ca),'hidden':!![]},{'name':a274_0x4e66a5(0x212),'meowKey':a274_0x4e66a5(0x212),'type':'string','description':a274_0x4e66a5(0x205),'hidden':!![]},{'name':a274_0x4e66a5(0x1d2),'meowKey':a274_0x4e66a5(0x1d2),'type':a274_0x4e66a5(0x1a5),'description':'Maximum\x20search\x20hits','hidden':!![]},{'name':a274_0x4e66a5(0x20c),'meowKey':'clear','type':'boolean','description':a274_0x4e66a5(0x1f2),'hidden':!![]},{'name':a274_0x4e66a5(0x195),'meowKey':a274_0x4e66a5(0x195),'type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x19d),'hidden':!![]},{'name':a274_0x4e66a5(0x1d3),'meowKey':a274_0x4e66a5(0x1d3),'type':'string','description':a274_0x4e66a5(0x20e),'hidden':!![]},{'name':a274_0x4e66a5(0x218),'meowKey':a274_0x4e66a5(0x218),'type':a274_0x4e66a5(0x1a5),'description':'JSON\x20params','hidden':!![]},{'name':'datasetcode','meowKey':'datasetcode','type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1ec),'hidden':!![]},{'name':a274_0x4e66a5(0x1a3),'meowKey':a274_0x4e66a5(0x1a3),'type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x1ab),'hidden':!![]},{'name':'enable-bff-save','meowKey':'enableBffSave','type':a274_0x4e66a5(0x20b),'description':'Enable\x20Backend\x20Function\x20save','hidden':!![]},{'name':'id','meowKey':'id','type':'string','description':a274_0x4e66a5(0x1c1),'hidden':!![]},{'name':a274_0x4e66a5(0x186),'meowKey':a274_0x4e66a5(0x186),'type':'string','description':a274_0x4e66a5(0x19f),'hidden':!![]},{'name':a274_0x4e66a5(0x1ba),'meowKey':a274_0x4e66a5(0x1ba),'type':a274_0x4e66a5(0x1a5),'description':'File\x20path','hidden':!![]},{'name':a274_0x4e66a5(0x1e0),'meowKey':'flowCode','type':'string','description':a274_0x4e66a5(0x1bd),'hidden':!![]},{'name':a274_0x4e66a5(0x1eb),'meowKey':a274_0x4e66a5(0x1f0),'type':'string','description':a274_0x4e66a5(0x20d),'hidden':!![]},{'name':a274_0x4e66a5(0x1d0),'meowKey':a274_0x4e66a5(0x216),'type':a274_0x4e66a5(0x1a5),'description':'Flow\x20status','hidden':!![]},{'name':a274_0x4e66a5(0x18c),'meowKey':a274_0x4e66a5(0x1dd),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x188),'hidden':!![]},{'name':'dataset-code','meowKey':'datasetCode','type':a274_0x4e66a5(0x1a5),'description':'Dataset\x20code','hidden':!![]},{'name':a274_0x4e66a5(0x1fb),'meowKey':a274_0x4e66a5(0x1fb),'type':'string','description':a274_0x4e66a5(0x1de),'hidden':!![]},{'name':a274_0x4e66a5(0x1aa),'meowKey':a274_0x4e66a5(0x192),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1da),'hidden':!![]},{'name':a274_0x4e66a5(0x1c3),'meowKey':a274_0x4e66a5(0x1c3),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1da),'hidden':!![]},{'name':a274_0x4e66a5(0x18a),'meowKey':a274_0x4e66a5(0x1e2),'type':'string','description':'DB\x20ID','hidden':!![]},{'name':a274_0x4e66a5(0x1f6),'meowKey':a274_0x4e66a5(0x1f6),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x204),'hidden':!![]},{'name':a274_0x4e66a5(0x1c6),'meowKey':'description','type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1b1),'hidden':!![]},{'name':a274_0x4e66a5(0x1fd),'meowKey':a274_0x4e66a5(0x18f),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1e6),'hidden':!![]},{'name':a274_0x4e66a5(0x196),'meowKey':a274_0x4e66a5(0x196),'type':'string','description':'Page\x20number','hidden':!![]},{'name':a274_0x4e66a5(0x194),'meowKey':a274_0x4e66a5(0x202),'type':a274_0x4e66a5(0x1a5),'description':'Page\x20size','hidden':!![]},{'name':'pagesize','meowKey':a274_0x4e66a5(0x199),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1b2),'hidden':!![]},{'name':a274_0x4e66a5(0x1d1),'meowKey':a274_0x4e66a5(0x1d1),'type':'string','description':a274_0x4e66a5(0x18e),'hidden':!![]},{'name':a274_0x4e66a5(0x19b),'meowKey':a274_0x4e66a5(0x19b),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1cd),'hidden':!![]},{'name':a274_0x4e66a5(0x19a),'meowKey':a274_0x4e66a5(0x19a),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1b9),'hidden':!![]},{'name':a274_0x4e66a5(0x1bc),'meowKey':'schemas','type':'string','description':a274_0x4e66a5(0x1b3),'hidden':!![]},{'name':a274_0x4e66a5(0x1ac),'meowKey':a274_0x4e66a5(0x1ac),'type':a274_0x4e66a5(0x1a5),'description':'Operation\x20type','hidden':!![]},{'name':a274_0x4e66a5(0x1f9),'meowKey':a274_0x4e66a5(0x1f9),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1af),'hidden':!![]},{'name':a274_0x4e66a5(0x1ee),'meowKey':a274_0x4e66a5(0x1e9),'type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x1e7),'hidden':!![]},{'name':a274_0x4e66a5(0x1c7),'meowKey':'key','type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x210),'hidden':!![]},{'name':a274_0x4e66a5(0x21b),'meowKey':a274_0x4e66a5(0x21b),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1f5),'hidden':!![]},{'name':a274_0x4e66a5(0x20a),'meowKey':'tags','type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x190),'hidden':!![]},{'name':a274_0x4e66a5(0x217),'meowKey':a274_0x4e66a5(0x217),'type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x206),'hidden':!![]},{'name':a274_0x4e66a5(0x1d6),'meowKey':a274_0x4e66a5(0x189),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1f1),'hidden':!![]},{'name':a274_0x4e66a5(0x1e8),'meowKey':a274_0x4e66a5(0x1e8),'type':'boolean','description':a274_0x4e66a5(0x1fa),'hidden':!![]},{'name':a274_0x4e66a5(0x203),'meowKey':a274_0x4e66a5(0x203),'type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x18b),'hidden':!![]},{'name':a274_0x4e66a5(0x1a6),'meowKey':a274_0x4e66a5(0x1a6),'type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x1e3),'hidden':!![]},{'name':a274_0x4e66a5(0x211),'meowKey':a274_0x4e66a5(0x211),'type':'boolean','description':a274_0x4e66a5(0x1b4),'hidden':!![]},{'name':a274_0x4e66a5(0x1bf),'meowKey':a274_0x4e66a5(0x1bf),'type':a274_0x4e66a5(0x20b),'description':a274_0x4e66a5(0x1b6),'hidden':!![]},{'name':a274_0x4e66a5(0x1fc),'meowKey':a274_0x4e66a5(0x1a9),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1f7),'hidden':!![]},{'name':a274_0x4e66a5(0x1fe),'meowKey':a274_0x4e66a5(0x1fe),'type':'string','description':a274_0x4e66a5(0x1e5),'hidden':!![]},{'name':'parent-id','meowKey':a274_0x4e66a5(0x1a1),'type':'string','description':'Parent\x20menu\x20id','hidden':!![]},{'name':a274_0x4e66a5(0x1bb),'meowKey':a274_0x4e66a5(0x1bb),'type':'string','description':'Menu\x20sort\x20value','hidden':!![]},{'name':a274_0x4e66a5(0x1a2),'meowKey':a274_0x4e66a5(0x1f8),'type':'string','description':'Expected\x20current\x20parent\x20menu\x20id','hidden':!![]},{'name':'expect-path','meowKey':'expectPath','type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x219),'hidden':!![]},{'name':a274_0x4e66a5(0x1d4),'meowKey':a274_0x4e66a5(0x1e4),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x185),'hidden':!![]},{'name':a274_0x4e66a5(0x198),'meowKey':a274_0x4e66a5(0x1a8),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x1a7),'hidden':!![]},{'name':a274_0x4e66a5(0x215),'meowKey':'taskId','type':a274_0x4e66a5(0x1a5),'description':'Asynchronous\x20task\x20ID','hidden':!![]},{'name':a274_0x4e66a5(0x1c2),'meowKey':a274_0x4e66a5(0x1a0),'type':a274_0x4e66a5(0x1a5),'description':'Operation\x20type','hidden':!![]},{'name':a274_0x4e66a5(0x1d8),'meowKey':a274_0x4e66a5(0x19e),'type':'string','description':a274_0x4e66a5(0x1c0),'hidden':!![]},{'name':'codes','meowKey':a274_0x4e66a5(0x20f),'type':a274_0x4e66a5(0x1a5),'description':a274_0x4e66a5(0x191),'hidden':!![]}];function a274_0x1b96(_0x4c181c,_0x7debe1){_0x4c181c=_0x4c181c-0x183;const _0x3ac3ea=a274_0x3ac3();let _0x1b9649=_0x3ac3ea[_0x4c181c];return _0x1b9649;}export const PIPELINE_FLAG_NAMES=new Set([a274_0x4e66a5(0x1c9),a274_0x4e66a5(0x21a),a274_0x4e66a5(0x209),a274_0x4e66a5(0x197),'jq',a274_0x4e66a5(0x1c5),'yes',a274_0x4e66a5(0x1ff),'ci']);function a274_0x3ac3(){const _0x496ffc=['flow-type','Name','Keyword\x20filter','descriptionFile','Tags','Comma-separated\x20metadata\x20codes','sqlName','7878852JwyiuY','page-size','watch','page','format','menu-ids','pagesize','sql','code','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','Watch\x20mode','functionNode','Type\x20filter','operationType','parentId','expect-parent-id','all','Environment','string','confirm','Comma-separated\x20menu\x20IDs','menuIds','expectedCount','sql-name','Apply\x20to\x20all','operation','yes','5062TRDCcb','Target\x20path','Use\x20project\x20config\x20scope','Description','Page\x20size','Schemas','Use\x20remote','Use\x20global\x20config\x20scope','Verbose\x20output','3371655zrKcNy','rabetbase','SQL\x20string','file','sort','schemas','Flow\x20code','fromEntries','verbose','Function\x20node','Record\x20ID','operation-type','sqlname','1837857uxBmyp','dry-run','description','key','5019440iNQlLd','appcode','Title','zh-CN\x20|\x20en-US','nonInteractive','Code\x20filter','<name>','Override\x20appcode','flow-status','keyword','topk','output','expected-children-count','name','from-env','<code>','function-node','Alias\x20for\x20--non-interactive','SQL\x20name','194rCqCxa','json\x20|\x20pretty\x20|\x20compress','flowType','SQL\x20code','production\x20|\x20daily','flow-code','global','dbId','Confirm\x20destructive\x20action','expectedChildrenCount','Menu\x20label','Description\x20file','Skip\x20import\x20generation','reveal','skipImports','help','flow-name','Dataset\x20code','Rabetbase\x20CLI','skip-imports','<expr>','flowName','Read\x20value\x20from\x20environment\x20variable','Clear','locale','Force\x20non-interactive\x20mode\x20(CI)','Config\x20value','dbid','Expected\x20affected\x20count','expectParentId','target','Reveal\x20sensitive\x20value','sqlcode','expected-count','description-file','label','non-interactive','44094lsPELZ','Skip\x20confirmation\x20for\x20high-risk\x20writes','pageSize','force','DB\x20ID','Search\x20query','Read\x20value\x20from\x20stdin','Output\x20format','project','env','tags','boolean','clear','Flow\x20name','Output\x20path','codes','Config\x20key','remote','query','@lovrabet/rabetbase-cli','Select\x20app\x20profile\x20by\x20name','task-id','flowStatus','stdin','params','Expected\x20current\x20menu\x20path','app','value','Show\x20help','2075768VMCbbc','Expected\x20current\x20child\x20count','type','335yVcFKU','Flow\x20type','fromEnv','db-id','Force\x20overwrite'];a274_0x3ac3=function(){return _0x496ffc;};return a274_0x3ac3();}export function buildMeowFlags(){const _0x3d4b02=a274_0x4e66a5;return Object[_0x3d4b02(0x1be)](GLOBAL_FLAGS['map'](_0x5c6532=>[_0x5c6532['meowKey'],{'type':_0x5c6532[_0x3d4b02(0x186)]}]));}
1
+ const a274_0x4415e0=a274_0x2616;(function(_0x950bd3,_0x535b5b){const _0x15a262=a274_0x2616,_0x22959b=_0x950bd3();while(!![]){try{const _0x361da4=-parseInt(_0x15a262(0x133))/0x1+-parseInt(_0x15a262(0x163))/0x2+-parseInt(_0x15a262(0x162))/0x3+-parseInt(_0x15a262(0x15c))/0x4*(-parseInt(_0x15a262(0x12c))/0x5)+-parseInt(_0x15a262(0x109))/0x6+parseInt(_0x15a262(0x132))/0x7*(parseInt(_0x15a262(0x13d))/0x8)+-parseInt(_0x15a262(0x16d))/0x9*(-parseInt(_0x15a262(0xfc))/0xa);if(_0x361da4===_0x535b5b)break;else _0x22959b['push'](_0x22959b['shift']());}catch(_0x1d9f20){_0x22959b['push'](_0x22959b['shift']());}}}(a274_0xe0e5,0x2909d));export const CLI_BIN_NAME='rabetbase';export const CLI_DISPLAY_NAME=a274_0x4415e0(0x134);export const NPM_PACKAGE_NAME=a274_0x4415e0(0x148);export const GLOBAL_FLAGS=[{'name':a274_0x4415e0(0x17c),'meowKey':a274_0x4415e0(0x17c),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x12e),'hint':'<code>'},{'name':a274_0x4415e0(0x111),'meowKey':a274_0x4415e0(0x111),'type':'string','description':'Select\x20app\x20profile\x20by\x20name','hint':a274_0x4415e0(0x14f)},{'name':a274_0x4415e0(0x10c),'meowKey':a274_0x4415e0(0x10c),'type':'string','description':a274_0x4415e0(0x14d),'hint':a274_0x4415e0(0xfe)},{'name':a274_0x4415e0(0x151),'meowKey':a274_0x4415e0(0x151),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x172),'hint':a274_0x4415e0(0x131)},{'name':'jq','meowKey':'jq','type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x12b),'hint':'<expr>'},{'name':'dry-run','meowKey':'dryRun','type':'boolean','description':a274_0x4415e0(0x14a)},{'name':a274_0x4415e0(0x128),'meowKey':a274_0x4415e0(0x128),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x16b)},{'name':a274_0x4415e0(0x150),'meowKey':a274_0x4415e0(0xfa),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x10d)},{'name':a274_0x4415e0(0x170),'meowKey':a274_0x4415e0(0x170),'type':'boolean','description':a274_0x4415e0(0x173)},{'name':a274_0x4415e0(0x152),'meowKey':a274_0x4415e0(0x152),'type':a274_0x4415e0(0x17b),'description':'Use\x20project\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':a274_0x4415e0(0x17b),'description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a274_0x4415e0(0x11f),'meowKey':a274_0x4415e0(0x11f),'type':'boolean','description':a274_0x4415e0(0x13e)},{'name':a274_0x4415e0(0x118),'meowKey':a274_0x4415e0(0x118),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x138),'hidden':!![],'hint':a274_0x4415e0(0x16c)},{'name':a274_0x4415e0(0x107),'meowKey':a274_0x4415e0(0x107),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x16a),'hidden':!![]},{'name':a274_0x4415e0(0x178),'meowKey':a274_0x4415e0(0x178),'type':'string','description':a274_0x4415e0(0x157),'hidden':!![]},{'name':a274_0x4415e0(0x129),'meowKey':a274_0x4415e0(0x129),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x16f),'hidden':!![]},{'name':a274_0x4415e0(0x114),'meowKey':a274_0x4415e0(0x114),'type':a274_0x4415e0(0x171),'description':'Maximum\x20search\x20hits','hidden':!![]},{'name':a274_0x4415e0(0x14c),'meowKey':a274_0x4415e0(0x14c),'type':'boolean','description':a274_0x4415e0(0x11d),'hidden':!![]},{'name':'watch','meowKey':a274_0x4415e0(0x117),'type':a274_0x4415e0(0x17b),'description':'Watch\x20mode','hidden':!![]},{'name':'output','meowKey':a274_0x4415e0(0x14b),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x164),'hidden':!![]},{'name':a274_0x4415e0(0x153),'meowKey':a274_0x4415e0(0x153),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x123),'hidden':!![]},{'name':a274_0x4415e0(0x143),'meowKey':a274_0x4415e0(0x143),'type':a274_0x4415e0(0x171),'description':'Dataset\x20code','hidden':!![]},{'name':a274_0x4415e0(0x169),'meowKey':a274_0x4415e0(0x169),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x100),'hidden':!![]},{'name':'enable-bff-save','meowKey':'enableBffSave','type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x185),'hidden':!![]},{'name':'id','meowKey':'id','type':a274_0x4415e0(0x171),'description':'Record\x20ID','hidden':!![]},{'name':'type','meowKey':a274_0x4415e0(0x14e),'type':a274_0x4415e0(0x171),'description':'Type\x20filter','hidden':!![]},{'name':a274_0x4415e0(0x116),'meowKey':a274_0x4415e0(0x116),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x139),'hidden':!![]},{'name':a274_0x4415e0(0x161),'meowKey':a274_0x4415e0(0x183),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x141),'hidden':!![]},{'name':a274_0x4415e0(0x182),'meowKey':a274_0x4415e0(0x135),'type':a274_0x4415e0(0x171),'description':'Flow\x20name','hidden':!![]},{'name':a274_0x4415e0(0x17a),'meowKey':'flowStatus','type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x160),'hidden':!![]},{'name':a274_0x4415e0(0x167),'meowKey':'flowType','type':'string','description':a274_0x4415e0(0x140),'hidden':!![]},{'name':'dataset-code','meowKey':a274_0x4415e0(0x15a),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x126),'hidden':!![]},{'name':a274_0x4415e0(0x155),'meowKey':a274_0x4415e0(0x155),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x175),'hidden':!![]},{'name':'sql-name','meowKey':'sqlName','type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x110),'hidden':!![]},{'name':a274_0x4415e0(0x16e),'meowKey':a274_0x4415e0(0x16e),'type':a274_0x4415e0(0x171),'description':'SQL\x20name','hidden':!![]},{'name':a274_0x4415e0(0x12f),'meowKey':a274_0x4415e0(0x11b),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x12d),'hidden':!![]},{'name':a274_0x4415e0(0x136),'meowKey':a274_0x4415e0(0x136),'type':a274_0x4415e0(0x171),'description':'DB\x20ID','hidden':!![]},{'name':a274_0x4415e0(0x159),'meowKey':'description','type':a274_0x4415e0(0x171),'description':'Description','hidden':!![]},{'name':a274_0x4415e0(0x177),'meowKey':a274_0x4415e0(0xf8),'type':'string','description':a274_0x4415e0(0x145),'hidden':!![]},{'name':a274_0x4415e0(0x130),'meowKey':'page','type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x144),'hidden':!![]},{'name':a274_0x4415e0(0x13c),'meowKey':a274_0x4415e0(0x104),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0xfb),'hidden':!![]},{'name':'pagesize','meowKey':a274_0x4415e0(0x108),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0xfb),'hidden':!![]},{'name':a274_0x4415e0(0x124),'meowKey':a274_0x4415e0(0x124),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x11e),'hidden':!![]},{'name':a274_0x4415e0(0x127),'meowKey':'code','type':a274_0x4415e0(0x171),'description':'Code\x20filter','hidden':!![]},{'name':'sql','meowKey':a274_0x4415e0(0x15e),'type':'string','description':a274_0x4415e0(0x13a),'hidden':!![]},{'name':a274_0x4415e0(0x180),'meowKey':'schemas','type':a274_0x4415e0(0x171),'description':'Schemas','hidden':!![]},{'name':a274_0x4415e0(0x119),'meowKey':a274_0x4415e0(0x119),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x146),'hidden':!![]},{'name':a274_0x4415e0(0x13b),'meowKey':a274_0x4415e0(0x13b),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x10e),'hidden':!![]},{'name':a274_0x4415e0(0x181),'meowKey':a274_0x4415e0(0x101),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x11c),'hidden':!![]},{'name':a274_0x4415e0(0x125),'meowKey':a274_0x4415e0(0x125),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x106),'hidden':!![]},{'name':a274_0x4415e0(0x13f),'meowKey':a274_0x4415e0(0x13f),'type':a274_0x4415e0(0x171),'description':'Config\x20value','hidden':!![]},{'name':a274_0x4415e0(0x137),'meowKey':a274_0x4415e0(0x137),'type':'string','description':a274_0x4415e0(0x165),'hidden':!![]},{'name':a274_0x4415e0(0x142),'meowKey':a274_0x4415e0(0x142),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x10b),'hidden':!![]},{'name':a274_0x4415e0(0xf9),'meowKey':'fromEnv','type':a274_0x4415e0(0x171),'description':'Read\x20value\x20from\x20environment\x20variable','hidden':!![]},{'name':a274_0x4415e0(0x12a),'meowKey':a274_0x4415e0(0x12a),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x15f),'hidden':!![]},{'name':a274_0x4415e0(0x154),'meowKey':a274_0x4415e0(0x154),'type':a274_0x4415e0(0x17b),'description':'Force\x20overwrite','hidden':!![]},{'name':a274_0x4415e0(0x15b),'meowKey':a274_0x4415e0(0x15b),'type':a274_0x4415e0(0x17b),'description':a274_0x4415e0(0x15d),'hidden':!![]},{'name':a274_0x4415e0(0x179),'meowKey':a274_0x4415e0(0x179),'type':a274_0x4415e0(0x17b),'description':'Use\x20remote','hidden':!![]},{'name':a274_0x4415e0(0xff),'meowKey':a274_0x4415e0(0xff),'type':a274_0x4415e0(0x17b),'description':'Verbose\x20output','hidden':!![]},{'name':'expected-count','meowKey':a274_0x4415e0(0x149),'type':a274_0x4415e0(0x171),'description':'Expected\x20affected\x20count','hidden':!![]},{'name':a274_0x4415e0(0x174),'meowKey':a274_0x4415e0(0x174),'type':a274_0x4415e0(0x171),'description':'Menu\x20label','hidden':!![]},{'name':'parent-id','meowKey':a274_0x4415e0(0x105),'type':'string','description':'Parent\x20menu\x20id','hidden':!![]},{'name':'sort','meowKey':a274_0x4415e0(0x112),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x156),'hidden':!![]},{'name':a274_0x4415e0(0x121),'meowKey':a274_0x4415e0(0x103),'type':'string','description':'Expected\x20current\x20parent\x20menu\x20id','hidden':!![]},{'name':'expect-path','meowKey':'expectPath','type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x113),'hidden':!![]},{'name':a274_0x4415e0(0x166),'meowKey':'expectedChildrenCount','type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x102),'hidden':!![]},{'name':a274_0x4415e0(0x10a),'meowKey':a274_0x4415e0(0x17e),'type':a274_0x4415e0(0x171),'description':'Comma-separated\x20menu\x20IDs','hidden':!![]},{'name':a274_0x4415e0(0x168),'meowKey':a274_0x4415e0(0x158),'type':'string','description':a274_0x4415e0(0x184),'hidden':!![]},{'name':a274_0x4415e0(0x122),'meowKey':a274_0x4415e0(0x115),'type':'string','description':a274_0x4415e0(0x146),'hidden':!![]},{'name':a274_0x4415e0(0x176),'meowKey':a274_0x4415e0(0x147),'type':a274_0x4415e0(0x171),'description':a274_0x4415e0(0x120),'hidden':!![]},{'name':a274_0x4415e0(0x10f),'meowKey':'codes','type':a274_0x4415e0(0x171),'description':'Comma-separated\x20metadata\x20codes','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a274_0x4415e0(0x17c),'app',a274_0x4415e0(0x10c),a274_0x4415e0(0x151),'jq',a274_0x4415e0(0xfd),'yes',a274_0x4415e0(0x150),'ci']);function a274_0x2616(_0x397203,_0x915f0d){_0x397203=_0x397203-0xf8;const _0xe0e5a2=a274_0xe0e5();let _0x2616a2=_0xe0e5a2[_0x397203];return _0x2616a2;}export function buildMeowFlags(){const _0x46a734=a274_0x4415e0;return Object[_0x46a734(0x11a)](GLOBAL_FLAGS[_0x46a734(0x17d)](_0x11e5a7=>[_0x11e5a7[_0x46a734(0x17f)],{'type':_0x11e5a7[_0x46a734(0x14e)]}]));}function a274_0xe0e5(){const _0x2b81d6=['functionNode','@lovrabet/rabetbase-cli','expectedCount','Preview\x20operation\x20without\x20executing','output','clear','Environment','type','<name>','non-interactive','format','project','params','force','sqlcode','Menu\x20sort\x20value','Title','taskId','description','datasetCode','confirm','4QRFRpp','Confirm\x20destructive\x20action','sql','Reveal\x20sensitive\x20value','Flow\x20status','flow-code','564843uSWjLl','47332awUzMz','Output\x20path','Tags','expected-children-count','flow-type','task-id','all','Name','Skip\x20confirmation\x20for\x20high-risk\x20writes','zh-CN\x20|\x20en-US','1339407DgrIeM','sqlname','Search\x20query','global','string','Output\x20format','Use\x20global\x20config\x20scope','label','SQL\x20code','function-node','description-file','title','remote','flow-status','boolean','appcode','map','menuIds','meowKey','schemas','skip-imports','flow-name','flowCode','Asynchronous\x20task\x20ID','Enable\x20Backend\x20Function\x20save','descriptionFile','from-env','nonInteractive','Page\x20size','20UXZyBT','dry-run','production\x20|\x20daily','verbose','Apply\x20to\x20all','skipImports','Expected\x20current\x20child\x20count','expectParentId','pageSize','parentId','Config\x20key','name','pagesize','1528194iqcWJy','menu-ids','Read\x20value\x20from\x20stdin','env','Force\x20non-interactive\x20mode\x20(CI)','Target\x20path','codes','SQL\x20name','app','sort','Expected\x20current\x20menu\x20path','topk','operationType','file','watch','locale','operation','fromEntries','dbId','Skip\x20import\x20generation','Clear','Keyword\x20filter','help','Function\x20node','expect-parent-id','operation-type','JSON\x20params','keyword','key','Dataset\x20code','code','yes','query','reveal','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','1006685EYIgGk','DB\x20ID','Override\x20appcode','db-id','page','json\x20|\x20pretty\x20|\x20compress','2324644hyoVdn','196336xIrCxU','Rabetbase\x20CLI','flowName','dbid','tags','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','File\x20path','SQL\x20string','target','page-size','8iZoGuQ','Show\x20help','value','Flow\x20type','Flow\x20code','stdin','datasetcode','Page\x20number','Description\x20file','Operation\x20type'];a274_0xe0e5=function(){return _0x2b81d6;};return a274_0xe0e5();}
@@ -1 +1 @@
1
- const a275_0x1acdd3=a275_0x5d05;function a275_0x5bc8(){const _0x4dc59d=['406WAKnaG','en-US','2682772eAiKdB','1178967XQlyyk','44084KAvcQf','279KCiYFN','write','compress','833285rUrruh','84688vUFAqP','6525354rnMvCO','9008343OuXpPU','20tlTrcQ'];a275_0x5bc8=function(){return _0x4dc59d;};return a275_0x5bc8();}(function(_0x4db967,_0x19a14a){const _0xac3b06=a275_0x5d05,_0x26bc14=_0x4db967();while(!![]){try{const _0x306b32=-parseInt(_0xac3b06(0x189))/0x1+-parseInt(_0xac3b06(0x188))/0x2+-parseInt(_0xac3b06(0x18b))/0x3*(-parseInt(_0xac3b06(0x18a))/0x4)+-parseInt(_0xac3b06(0x18e))/0x5+parseInt(_0xac3b06(0x190))/0x6+parseInt(_0xac3b06(0x193))/0x7*(-parseInt(_0xac3b06(0x18f))/0x8)+parseInt(_0xac3b06(0x191))/0x9*(parseInt(_0xac3b06(0x192))/0xa);if(_0x306b32===_0x19a14a)break;else _0x26bc14['push'](_0x26bc14['shift']());}catch(_0x58c401){_0x26bc14['push'](_0x26bc14['shift']());}}}(a275_0x5bc8,0xc6938));function a275_0x5d05(_0x4978dd,_0x59523f){_0x4978dd=_0x4978dd-0x188;const _0x5bc879=a275_0x5bc8();let _0x5d0590=_0x5bc879[_0x4978dd];return _0x5d0590;}import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':'production','format':a275_0x1acdd3(0x18d),'locale':a275_0x1acdd3(0x194),'riskLevel':a275_0x1acdd3(0x18c),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a275_0x1acdd3(0x18d);
1
+ const a275_0x308795=a275_0x4899;(function(_0x23b7ff,_0x123e6b){const _0x40c790=a275_0x4899,_0x2a2675=_0x23b7ff();while(!![]){try{const _0x1314af=-parseInt(_0x40c790(0x1ec))/0x1+parseInt(_0x40c790(0x1f2))/0x2+-parseInt(_0x40c790(0x1f6))/0x3+-parseInt(_0x40c790(0x1f5))/0x4*(-parseInt(_0x40c790(0x1f3))/0x5)+parseInt(_0x40c790(0x1f0))/0x6+-parseInt(_0x40c790(0x1f1))/0x7+parseInt(_0x40c790(0x1f4))/0x8;if(_0x1314af===_0x123e6b)break;else _0x2a2675['push'](_0x2a2675['shift']());}catch(_0x49bb15){_0x2a2675['push'](_0x2a2675['shift']());}}}(a275_0x41f8,0xb85bf));import{DEFAULT_API_DIR}from'../constant/paths.js';function a275_0x4899(_0x3c737c,_0xa07122){_0x3c737c=_0x3c737c-0x1ec;const _0x41f82d=a275_0x41f8();let _0x489911=_0x41f82d[_0x3c737c];return _0x489911;}export const DEFAULT_CONFIG_VALUES={'env':a275_0x308795(0x1ed),'format':a275_0x308795(0x1ee),'locale':'en-US','riskLevel':a275_0x308795(0x1ef),'apiDir':DEFAULT_API_DIR};function a275_0x41f8(){const _0x14b127=['1144498PDicqH','production','compress','write','2960520QZREvT','4115664JYRQkm','1310534bOocEE','1110GiyZdN','10997448iPPXUd','23504xpkFMI','4020765sLwIrn'];a275_0x41f8=function(){return _0x14b127;};return a275_0x41f8();}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a275_0x308795(0x1ee);
@@ -1 +1 @@
1
- const a276_0xe88e24=a276_0x516f;(function(_0x25c2b3,_0x55445a){const _0x47a687=a276_0x516f,_0x22b3f5=_0x25c2b3();while(!![]){try{const _0x10485b=-parseInt(_0x47a687(0x178))/0x1+parseInt(_0x47a687(0x188))/0x2+-parseInt(_0x47a687(0x194))/0x3*(-parseInt(_0x47a687(0x193))/0x4)+parseInt(_0x47a687(0x195))/0x5*(-parseInt(_0x47a687(0x181))/0x6)+-parseInt(_0x47a687(0x186))/0x7*(parseInt(_0x47a687(0x179))/0x8)+parseInt(_0x47a687(0x17c))/0x9*(parseInt(_0x47a687(0x185))/0xa)+parseInt(_0x47a687(0x17e))/0xb;if(_0x10485b===_0x55445a)break;else _0x22b3f5['push'](_0x22b3f5['shift']());}catch(_0x209495){_0x22b3f5['push'](_0x22b3f5['shift']());}}}(a276_0x37b8,0x5b743));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 _0x4a9aab=a276_0x516f,_0x16ab02=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x16ab02[_0x4a9aab(0x17b)]['production']:_0x16ab02[_0x4a9aab(0x17b)][_0x4a9aab(0x190)]??_0x16ab02[_0x4a9aab(0x17b)][_0x4a9aab(0x18b)];}export function initDomains(_0x1b17a0){const _0x475dcc=a276_0x516f;customApiDomain=_0x1b17a0?.['apiDomain'],customUserDomain=_0x1b17a0?.[_0x475dcc(0x17a)],customRuntimeDomain=_0x1b17a0?.['runtimeDomain'],customSkillDomain=_0x1b17a0?.[_0x475dcc(0x180)],customKbDomain=_0x1b17a0?.['kbDomain'],customKbServiceDomain=_0x1b17a0?.[_0x475dcc(0x17f)],allowOfficialKbServiceDefault=_0x1b17a0?.['allowOfficialKbServiceDefault']??!![],customAppDomain=_0x1b17a0?.[_0x475dcc(0x18f)],customLocalDomain=_0x1b17a0?.['localDomain'],customCertificateDomain=_0x1b17a0?.[_0x475dcc(0x191)],customCdn=_0x1b17a0?.[_0x475dcc(0x18c)],activeRegion=_0x1b17a0?.[_0x475dcc(0x187)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a276_0xe88e24(0x18a)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a276_0xe88e24(0x177)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a276_0xe88e24(0x192)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a276_0xe88e24(0x184)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{const _0xd96860=a276_0xe88e24;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()[_0xd96860(0x189)];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a276_0xe88e24(0x18e)];export const getActiveRegion=()=>activeRegion;function a276_0x37b8(){const _0x4fd89e=['cdn','/app/','app','appDomain','daily','certificateDomain','runtime','37304PNnIaE','225xxccfv','35RWKama','api','595914PHswtk','87792oDZQQR','userDomain','serviceDomains','6061059OOAVQw','origin','5022952agArRk','kbServiceDomain','skillDomain','433770kjVABd','hostname','trim','skill','10DyhRXC','378wmdSQa','region','479274STLPgk','kbService','user','production'];a276_0x37b8=function(){return _0x4fd89e;};return a276_0x37b8();}export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()['runtime'])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x13ac59=>{const _0xe0fe5d=a276_0xe88e24,_0x694b1a=encodeURIComponent(_0x13ac59[_0xe0fe5d(0x183)]());return isProduction(getEnv())?getAppDomain()+_0xe0fe5d(0x18d)+_0x694b1a:getAppDomain()+'/web-app/app/'+_0x694b1a;};function a276_0x516f(_0x66ebd1,_0x324d4b){_0x66ebd1=_0x66ebd1-0x177;const _0x37b8b9=a276_0x37b8();let _0x516fed=_0x37b8b9[_0x66ebd1];return _0x516fed;}export const getPublishedAppDomain=_0x3faebf=>{const _0x219090=a276_0xe88e24,_0x39b4c2=new URL(getAppDomain());return _0x39b4c2['hostname']=_0x3faebf[_0x219090(0x183)]()+'.'+_0x39b4c2[_0x219090(0x182)],_0x39b4c2[_0x219090(0x17d)];};
1
+ const a276_0x4b9258=a276_0x5aa0;(function(_0x53ab91,_0x22971f){const _0x389002=a276_0x5aa0,_0x395eb9=_0x53ab91();while(!![]){try{const _0x465c3e=-parseInt(_0x389002(0x130))/0x1+parseInt(_0x389002(0x119))/0x2+parseInt(_0x389002(0x116))/0x3+parseInt(_0x389002(0x133))/0x4*(parseInt(_0x389002(0x11b))/0x5)+-parseInt(_0x389002(0x12c))/0x6+-parseInt(_0x389002(0x11c))/0x7+-parseInt(_0x389002(0x129))/0x8*(-parseInt(_0x389002(0x12b))/0x9);if(_0x465c3e===_0x22971f)break;else _0x395eb9['push'](_0x395eb9['shift']());}catch(_0x4c0e29){_0x395eb9['push'](_0x395eb9['shift']());}}}(a276_0x22fb,0xbe616));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customKbServiceDomain,allowOfficialKbServiceDefault=!![],customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x225563=a276_0x5aa0,_0x15e437=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x15e437[_0x225563(0x120)][_0x225563(0x118)]:_0x15e437['serviceDomains']['daily']??_0x15e437[_0x225563(0x120)][_0x225563(0x118)];}export function initDomains(_0x17bf1f){const _0x377fbe=a276_0x5aa0;customApiDomain=_0x17bf1f?.[_0x377fbe(0x11d)],customUserDomain=_0x17bf1f?.[_0x377fbe(0x131)],customRuntimeDomain=_0x17bf1f?.['runtimeDomain'],customSkillDomain=_0x17bf1f?.[_0x377fbe(0x121)],customKbDomain=_0x17bf1f?.[_0x377fbe(0x124)],customKbServiceDomain=_0x17bf1f?.[_0x377fbe(0x117)],allowOfficialKbServiceDefault=_0x17bf1f?.[_0x377fbe(0x11a)]??!![],customAppDomain=_0x17bf1f?.[_0x377fbe(0x127)],customLocalDomain=_0x17bf1f?.[_0x377fbe(0x12e)],customCertificateDomain=_0x17bf1f?.[_0x377fbe(0x12f)],customCdn=_0x17bf1f?.[_0x377fbe(0x126)],activeRegion=_0x17bf1f?.[_0x377fbe(0x12d)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()['user'];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a276_0x4b9258(0x122)];function a276_0x22fb(){const _0x820ead=['allowOfficialKbServiceDefault','1685IOgwik','2233287nEiYXr','apiDomain','skill','runtime','serviceDomains','skillDomain','api','kbService','kbDomain','app','cdn','appDomain','hostname','8iKLrdy','trim','3129021NMyvOD','4659222fIbvLY','region','localDomain','certificateDomain','312630uTjRXw','userDomain','origin','15364vwnutY','1351542xLwnLl','kbServiceDomain','production','190812wqCXHU'];a276_0x22fb=function(){return _0x820ead;};return a276_0x22fb();}export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()['runtime'];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a276_0x4b9258(0x11e)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{const _0x54754f=a276_0x4b9258;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()[_0x54754f(0x123)];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a276_0x4b9258(0x125)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;function a276_0x5aa0(_0x2fd477,_0x3982af){_0x2fd477=_0x2fd477-0x116;const _0x22fbf9=a276_0x22fb();let _0x5aa0f8=_0x22fbf9[_0x2fd477];return _0x5aa0f8;}export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x2c418c=a276_0x4b9258;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x2c418c(0x11f)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x41247c=>{const _0x2246ea=a276_0x4b9258,_0x118a55=encodeURIComponent(_0x41247c[_0x2246ea(0x12a)]());return isProduction(getEnv())?getAppDomain()+'/app/'+_0x118a55:getAppDomain()+'/web-app/app/'+_0x118a55;};export const getPublishedAppDomain=_0x5da7d7=>{const _0x448385=a276_0x4b9258,_0x5374fc=new URL(getAppDomain());return _0x5374fc['hostname']=_0x5da7d7[_0x448385(0x12a)]()+'.'+_0x5374fc[_0x448385(0x128)],_0x5374fc[_0x448385(0x132)];};
@@ -1 +1 @@
1
- const a277_0xa004a=a277_0x5226;(function(_0x525f82,_0x100a5b){const _0x4ed8b6=a277_0x5226,_0x56c616=_0x525f82();while(!![]){try{const _0x1a7f4e=parseInt(_0x4ed8b6(0x1ba))/0x1+-parseInt(_0x4ed8b6(0x1b9))/0x2*(parseInt(_0x4ed8b6(0x1b4))/0x3)+parseInt(_0x4ed8b6(0x1b8))/0x4*(-parseInt(_0x4ed8b6(0x1c2))/0x5)+-parseInt(_0x4ed8b6(0x1b5))/0x6+-parseInt(_0x4ed8b6(0x1c0))/0x7+parseInt(_0x4ed8b6(0x1bb))/0x8+parseInt(_0x4ed8b6(0x1bd))/0x9*(parseInt(_0x4ed8b6(0x1bc))/0xa);if(_0x1a7f4e===_0x100a5b)break;else _0x56c616['push'](_0x56c616['shift']());}catch(_0x20d080){_0x56c616['push'](_0x56c616['shift']());}}}(a277_0xbc36,0x4fe3e));export const RABETBASE_ENV_VALUES=[a277_0xa004a(0x1c1),'daily'];export function normalizeEnv(_0x3d46b7){const _0x2d7379=a277_0xa004a;return _0x3d46b7===_0x2d7379(0x1b6)?_0x2d7379(0x1c1):_0x3d46b7;}export function isProduction(_0x349ac4){const _0x2a7c48=a277_0xa004a;return normalizeEnv(_0x349ac4)===_0x2a7c48(0x1c1);}export function isDaily(_0x12d381){const _0x33ebe9=a277_0xa004a;return normalizeEnv(_0x12d381)===_0x33ebe9(0x1b7);}export function isDev(_0x4068be){const _0x919e70=a277_0xa004a,_0x2841ef=normalizeEnv(_0x4068be);return _0x2841ef===_0x919e70(0x1bf)||_0x2841ef===_0x919e70(0x1be);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||'production');function a277_0xbc36(){const _0x1c3651=['2724757ckfUOf','production','6985wfOTYz','9amiUhI','2862402UCrCJQ','online','daily','1688AKQDKO','194850ZSUnJi','434124YQAKOn','1515264rnSLMW','250NmpuVw','522657ZUWAbJ','dev','development'];a277_0xbc36=function(){return _0x1c3651;};return a277_0xbc36();}export function getEnv(){return env;}function a277_0x5226(_0x2e9ded,_0x34424f){_0x2e9ded=_0x2e9ded-0x1b4;const _0xbc3608=a277_0xbc36();let _0x5226a3=_0xbc3608[_0x2e9ded];return _0x5226a3;}export function initEnv(_0x385865){env=normalizeEnv(_0x385865);}
1
+ const a277_0xff0960=a277_0x1cfb;(function(_0x103edc,_0x3eaf78){const _0x426d9c=a277_0x1cfb,_0x4fdf71=_0x103edc();while(!![]){try{const _0x558dd8=-parseInt(_0x426d9c(0x15d))/0x1*(-parseInt(_0x426d9c(0x154))/0x2)+parseInt(_0x426d9c(0x156))/0x3*(parseInt(_0x426d9c(0x158))/0x4)+-parseInt(_0x426d9c(0x159))/0x5*(parseInt(_0x426d9c(0x155))/0x6)+parseInt(_0x426d9c(0x15b))/0x7*(parseInt(_0x426d9c(0x15f))/0x8)+-parseInt(_0x426d9c(0x152))/0x9+parseInt(_0x426d9c(0x15c))/0xa+-parseInt(_0x426d9c(0x15a))/0xb;if(_0x558dd8===_0x3eaf78)break;else _0x4fdf71['push'](_0x4fdf71['shift']());}catch(_0x4db4cc){_0x4fdf71['push'](_0x4fdf71['shift']());}}}(a277_0x217b,0x3d043));export const RABETBASE_ENV_VALUES=[a277_0xff0960(0x160),a277_0xff0960(0x153)];export function normalizeEnv(_0xb683c8){const _0x51e764=a277_0xff0960;return _0xb683c8===_0x51e764(0x157)?_0x51e764(0x160):_0xb683c8;}function a277_0x1cfb(_0x3740f3,_0x2357ac){_0x3740f3=_0x3740f3-0x152;const _0x217b6d=a277_0x217b();let _0x1cfb31=_0x217b6d[_0x3740f3];return _0x1cfb31;}export function isProduction(_0x49d54a){const _0x541605=a277_0xff0960;return normalizeEnv(_0x49d54a)===_0x541605(0x160);}export function isDaily(_0x5b15a3){const _0x518726=a277_0xff0960;return normalizeEnv(_0x5b15a3)===_0x518726(0x153);}export function isDev(_0x530621){const _0x241542=a277_0xff0960,_0x115860=normalizeEnv(_0x530621);return _0x115860===_0x241542(0x161)||_0x115860===_0x241542(0x15e);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a277_0xff0960(0x160));export function getEnv(){return env;}export function initEnv(_0x4482aa){env=normalizeEnv(_0x4482aa);}function a277_0x217b(){const _0x24aefa=['365811PbovhX','online','12wRGwIx','5cvRGEq','2861012RPqWcd','1353695SCFvTR','3784060tUkYCu','3llbbvA','dev','8hPyOpS','production','development','3790296jzZDKE','daily','193676NXDbci','1781742MpBVrk'];a277_0x217b=function(){return _0x24aefa;};return a277_0x217b();}
@@ -1 +1 @@
1
- const a278_0x497188=a278_0x4322;function a278_0x1fc1(){const _0x9d29b6=['2716545GqdMZH','3667011XzLGIJ','8myTqKb','260919mvQCDB','6308xSdloZ','12NAuCcX','6030404glDngT','2131199WrMtgD','166TCXQBW','25961045dDBgsP','590AiLxGK','18DtftxT','json','pretty'];a278_0x1fc1=function(){return _0x9d29b6;};return a278_0x1fc1();}(function(_0x3cf215,_0x49d392){const _0x4b8b29=a278_0x4322,_0x121f16=_0x3cf215();while(!![]){try{const _0x1618a1=parseInt(_0x4b8b29(0xc7))/0x1*(-parseInt(_0x4b8b29(0xd1))/0x2)+parseInt(_0x4b8b29(0xce))/0x3+parseInt(_0x4b8b29(0xc5))/0x4+-parseInt(_0x4b8b29(0xcd))/0x5*(parseInt(_0x4b8b29(0xca))/0x6)+parseInt(_0x4b8b29(0xc6))/0x7*(-parseInt(_0x4b8b29(0xcf))/0x8)+-parseInt(_0x4b8b29(0xd0))/0x9*(parseInt(_0x4b8b29(0xc9))/0xa)+-parseInt(_0x4b8b29(0xc8))/0xb*(-parseInt(_0x4b8b29(0xc4))/0xc);if(_0x1618a1===_0x49d392)break;else _0x121f16['push'](_0x121f16['shift']());}catch(_0xeb04d0){_0x121f16['push'](_0x121f16['shift']());}}}(a278_0x1fc1,0xe1010));function a278_0x4322(_0x2af456,_0x1fac23){_0x2af456=_0x2af456-0xc4;const _0x1fc1dc=a278_0x1fc1();let _0x432290=_0x1fc1dc[_0x2af456];return _0x432290;}export const RABETBASE_OUTPUT_FORMAT_VALUES=[a278_0x497188(0xcb),a278_0x497188(0xcc),'compress'];
1
+ const a278_0x5cd8e4=a278_0xad8a;function a278_0xad8a(_0x5b30e9,_0x5d09c8){_0x5b30e9=_0x5b30e9-0x1b7;const _0x314ded=a278_0x314d();let _0xad8ade=_0x314ded[_0x5b30e9];return _0xad8ade;}(function(_0x2f0a90,_0x3f6efb){const _0x270db3=a278_0xad8a,_0x32a375=_0x2f0a90();while(!![]){try{const _0x325b8c=parseInt(_0x270db3(0x1c1))/0x1+parseInt(_0x270db3(0x1b7))/0x2*(parseInt(_0x270db3(0x1c3))/0x3)+parseInt(_0x270db3(0x1bf))/0x4+-parseInt(_0x270db3(0x1c0))/0x5*(parseInt(_0x270db3(0x1bb))/0x6)+parseInt(_0x270db3(0x1c4))/0x7+-parseInt(_0x270db3(0x1bd))/0x8*(-parseInt(_0x270db3(0x1b9))/0x9)+parseInt(_0x270db3(0x1bc))/0xa*(-parseInt(_0x270db3(0x1ba))/0xb);if(_0x325b8c===_0x3f6efb)break;else _0x32a375['push'](_0x32a375['shift']());}catch(_0x51a415){_0x32a375['push'](_0x32a375['shift']());}}}(a278_0x314d,0x81754));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a278_0x5cd8e4(0x1c2),a278_0x5cd8e4(0x1be),a278_0x5cd8e4(0x1b8)];function a278_0x314d(){const _0x29d2f1=['6ikDHHv','17759810wkfobj','12936jZehYd','pretty','1853568dqyaDF','3891175aBIahE','664364dqUzLr','json','2265CGKUjQ','3936002TmmyVL','1822eoYNSB','compress','3933KxVLrP','11ooyscs'];a278_0x314d=function(){return _0x29d2f1;};return a278_0x314d();}
@@ -1 +1 @@
1
- const a279_0x5d5b32=a279_0x4d70;function a279_0x4d70(_0x1c47ca,_0x504252){_0x1c47ca=_0x1c47ca-0x15e;const _0x2ec0f4=a279_0x2ec0();let _0x4d702a=_0x2ec0f4[_0x1c47ca];return _0x4d702a;}(function(_0x5a6139,_0x10f399){const _0x16ed21=a279_0x4d70,_0x383fc4=_0x5a6139();while(!![]){try{const _0x5bfaaa=-parseInt(_0x16ed21(0x15f))/0x1+-parseInt(_0x16ed21(0x166))/0x2+parseInt(_0x16ed21(0x160))/0x3+parseInt(_0x16ed21(0x15e))/0x4*(-parseInt(_0x16ed21(0x161))/0x5)+parseInt(_0x16ed21(0x167))/0x6+-parseInt(_0x16ed21(0x168))/0x7*(parseInt(_0x16ed21(0x165))/0x8)+parseInt(_0x16ed21(0x162))/0x9*(parseInt(_0x16ed21(0x164))/0xa);if(_0x5bfaaa===_0x10f399)break;else _0x383fc4['push'](_0x383fc4['shift']());}catch(_0x5e893a){_0x383fc4['push'](_0x383fc4['shift']());}}}(a279_0x2ec0,0xcdbe0));export const DEFAULT_API_DIR=a279_0x5d5b32(0x163);function a279_0x2ec0(){const _0xf999f5=['261jasOmE','./src/api','1070590ocNkbt','24952HaOTis','66310NZMvyi','3174714eqNcZH','1757ehNGjR','230232qMWfgX','1460914viHJVT','1738290HjGDDt','95YCxpUR'];a279_0x2ec0=function(){return _0xf999f5;};return a279_0x2ec0();}
1
+ function a279_0x5558(_0x5883f9,_0x128b6f){_0x5883f9=_0x5883f9-0x110;const _0x58523d=a279_0x5852();let _0x555802=_0x58523d[_0x5883f9];return _0x555802;}const a279_0x445462=a279_0x5558;function a279_0x5852(){const _0xef029b=['501128LNkVTu','2605292DWmFrQ','3294333tzYMtD','3abGGCS','3965904TwNmmi','3080788UMXycM','70RJAzJb','19649NJuIKr','4685010NUUzyc','./src/api','1576hRWUlS'];a279_0x5852=function(){return _0xef029b;};return a279_0x5852();}(function(_0x1ab3f1,_0x9ec36){const _0x492eae=a279_0x5558,_0x2752e0=_0x1ab3f1();while(!![]){try{const _0x4b94a7=-parseInt(_0x492eae(0x115))/0x1+-parseInt(_0x492eae(0x116))/0x2*(parseInt(_0x492eae(0x118))/0x3)+parseInt(_0x492eae(0x11a))/0x4+-parseInt(_0x492eae(0x112))/0x5+parseInt(_0x492eae(0x119))/0x6+-parseInt(_0x492eae(0x111))/0x7*(parseInt(_0x492eae(0x114))/0x8)+-parseInt(_0x492eae(0x117))/0x9*(-parseInt(_0x492eae(0x110))/0xa);if(_0x4b94a7===_0x9ec36)break;else _0x2752e0['push'](_0x2752e0['shift']());}catch(_0x35d24f){_0x2752e0['push'](_0x2752e0['shift']());}}}(a279_0x5852,0xaad25));export const DEFAULT_API_DIR=a279_0x445462(0x113);
@@ -1 +1 @@
1
- (function(_0xae7623,_0x331ed8){const _0x1b6e08=a280_0x4ed7,_0x453f90=_0xae7623();while(!![]){try{const _0xcfc867=parseInt(_0x1b6e08(0x10c))/0x1+parseInt(_0x1b6e08(0x10f))/0x2+parseInt(_0x1b6e08(0x113))/0x3*(parseInt(_0x1b6e08(0x10d))/0x4)+parseInt(_0x1b6e08(0x115))/0x5+parseInt(_0x1b6e08(0x112))/0x6*(-parseInt(_0x1b6e08(0x111))/0x7)+parseInt(_0x1b6e08(0x10e))/0x8+parseInt(_0x1b6e08(0x10b))/0x9*(-parseInt(_0x1b6e08(0x110))/0xa);if(_0xcfc867===_0x331ed8)break;else _0x453f90['push'](_0x453f90['shift']());}catch(_0x29583c){_0x453f90['push'](_0x453f90['shift']());}}}(a280_0x563a,0x8ad0a));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(_0x23fe71){return typeof _0x23fe71==='string'&&LOVRABET_REGION_VALUES['includes'](_0x23fe71);}export function isEnabledLovrabetRegion(_0x4fdc5c){const _0xa98881=a280_0x4ed7;return typeof _0x4fdc5c==='string'&&ENABLED_LOVRABET_REGION_VALUES[_0xa98881(0x114)](_0x4fdc5c);}export function normalizeLovrabetRegion(_0x7df172){const _0x417187=a280_0x4ed7;if(typeof _0x7df172!==_0x417187(0x10a))return undefined;const _0x2b260d=REGION_ALIASES[_0x7df172]??_0x7df172;return isLovrabetRegion(_0x2b260d)?_0x2b260d:undefined;}export function isInvalidLovrabetRegion(_0x102ec6){return _0x102ec6!==undefined&&_0x102ec6!==null&&_0x102ec6!==''&&normalizeLovrabetRegion(_0x102ec6)===undefined;}function a280_0x4ed7(_0x45b611,_0x278955){_0x45b611=_0x45b611-0x10a;const _0x563abb=a280_0x563a();let _0x4ed787=_0x563abb[_0x45b611];return _0x4ed787;}function a280_0x563a(){const _0x48b1b4=['102906naTmsr','includes','364150ShmXgS','string','9MVOVKb','27651NRRAAD','116oUUABm','4056376hXUbQP','1410636ThTEOZ','8190180EyufWR','32200vxwcbr','1200kNZdMr'];a280_0x563a=function(){return _0x48b1b4;};return a280_0x563a();}
1
+ (function(_0x2b87c0,_0x4a6511){const _0x264976=a280_0x5996,_0x1bb878=_0x2b87c0();while(!![]){try{const _0x4f0fff=parseInt(_0x264976(0x1a6))/0x1*(parseInt(_0x264976(0x1ae))/0x2)+-parseInt(_0x264976(0x1ad))/0x3+parseInt(_0x264976(0x1a9))/0x4+parseInt(_0x264976(0x1ab))/0x5*(-parseInt(_0x264976(0x1ac))/0x6)+parseInt(_0x264976(0x1a5))/0x7+-parseInt(_0x264976(0x1aa))/0x8+-parseInt(_0x264976(0x1a4))/0x9*(-parseInt(_0x264976(0x1af))/0xa);if(_0x4f0fff===_0x4a6511)break;else _0x1bb878['push'](_0x1bb878['shift']());}catch(_0x2a237c){_0x1bb878['push'](_0x1bb878['shift']());}}}(a280_0x5cb9,0x3103e));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;function a280_0x5996(_0x37b811,_0x8d3e){_0x37b811=_0x37b811-0x1a4;const _0x5cb93c=a280_0x5cb9();let _0x5996da=_0x5cb93c[_0x37b811];return _0x5996da;}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x15bc9b){const _0x93f386=a280_0x5996;return typeof _0x15bc9b===_0x93f386(0x1a8)&&LOVRABET_REGION_VALUES[_0x93f386(0x1a7)](_0x15bc9b);}function a280_0x5cb9(){const _0x2f644f=['1061526rDPKLQ','105734GPmRrY','12430GvAnfZ','2277FfWCsZ','1310365mjXkNG','6ryatxK','includes','string','478864NSyahw','723248sReqgv','6410hyQcdj','1374RqdHUW'];a280_0x5cb9=function(){return _0x2f644f;};return a280_0x5cb9();}export function isEnabledLovrabetRegion(_0x258219){const _0x5b496d=a280_0x5996;return typeof _0x258219===_0x5b496d(0x1a8)&&ENABLED_LOVRABET_REGION_VALUES[_0x5b496d(0x1a7)](_0x258219);}export function normalizeLovrabetRegion(_0x4b174d){if(typeof _0x4b174d!=='string')return undefined;const _0xc0de84=REGION_ALIASES[_0x4b174d]??_0x4b174d;return isLovrabetRegion(_0xc0de84)?_0xc0de84:undefined;}export function isInvalidLovrabetRegion(_0x3ff220){return _0x3ff220!==undefined&&_0x3ff220!==null&&_0x3ff220!==''&&normalizeLovrabetRegion(_0x3ff220)===undefined;}
@@ -1 +1 @@
1
- const a281_0x45a19e=a281_0xfb62;(function(_0x3883b1,_0x534aca){const _0x224527=a281_0xfb62,_0x9f8dc7=_0x3883b1();while(!![]){try{const _0x167294=parseInt(_0x224527(0xba))/0x1+-parseInt(_0x224527(0xb3))/0x2+-parseInt(_0x224527(0xbc))/0x3+parseInt(_0x224527(0xb7))/0x4*(-parseInt(_0x224527(0xb4))/0x5)+-parseInt(_0x224527(0xbb))/0x6+parseInt(_0x224527(0xb8))/0x7*(parseInt(_0x224527(0xb6))/0x8)+parseInt(_0x224527(0xb9))/0x9;if(_0x167294===_0x534aca)break;else _0x9f8dc7['push'](_0x9f8dc7['shift']());}catch(_0x13bf8b){_0x9f8dc7['push'](_0x9f8dc7['shift']());}}}(a281_0x47e1,0x95dbc));function a281_0x47e1(){const _0x20b1a4=['read','1868488vNbovr','552412HHxxXY','14TgsNuG','13811337AYfxLu','955251cJorrV','914670MLuQni','2023215YHeUBA','1099150putjUy','35YAujxu'];a281_0x47e1=function(){return _0x20b1a4;};return a281_0x47e1();}function a281_0xfb62(_0x33d4d8,_0x1b8789){_0x33d4d8=_0x33d4d8-0xb3;const _0x47e155=a281_0x47e1();let _0xfb6249=_0x47e155[_0x33d4d8];return _0xfb6249;}export const RISK_LEVEL_VALUES=[a281_0x45a19e(0xb5),'write','high-risk-write'];
1
+ function a281_0x3f2a(){const _0x3f39bb=['572266axTWwZ','1iUeOtR','1409931bUMdAQ','3447350zHgvED','4Tpqgjb','790UEJxFl','16ohFRTn','118092xIhHFU','13008gGALUS','high-risk-write','42858JqbtjV','286Ndhtzs','532231BTSPXu','read','write'];a281_0x3f2a=function(){return _0x3f39bb;};return a281_0x3f2a();}const a281_0x3cd216=a281_0x15e7;function a281_0x15e7(_0x2ee127,_0x16f828){_0x2ee127=_0x2ee127-0x186;const _0x3f2a84=a281_0x3f2a();let _0x15e765=_0x3f2a84[_0x2ee127];return _0x15e765;}(function(_0x5a68a1,_0x31db17){const _0x21767a=a281_0x15e7,_0x5af290=_0x5a68a1();while(!![]){try{const _0x505ac6=parseInt(_0x21767a(0x192))/0x1*(-parseInt(_0x21767a(0x191))/0x2)+-parseInt(_0x21767a(0x193))/0x3*(parseInt(_0x21767a(0x186))/0x4)+parseInt(_0x21767a(0x187))/0x5*(parseInt(_0x21767a(0x18a))/0x6)+parseInt(_0x21767a(0x18e))/0x7+-parseInt(_0x21767a(0x188))/0x8*(parseInt(_0x21767a(0x18c))/0x9)+parseInt(_0x21767a(0x194))/0xa+-parseInt(_0x21767a(0x18d))/0xb*(-parseInt(_0x21767a(0x189))/0xc);if(_0x505ac6===_0x31db17)break;else _0x5af290['push'](_0x5af290['shift']());}catch(_0x128c04){_0x5af290['push'](_0x5af290['shift']());}}}(a281_0x3f2a,0x3de68));export const RISK_LEVEL_VALUES=[a281_0x3cd216(0x18f),a281_0x3cd216(0x190),a281_0x3cd216(0x18b)];
@@ -1 +1 @@
1
- (function(_0x2c5758,_0x2c54e3){const _0x29c51d=a282_0x2c7f,_0x3ef31e=_0x2c5758();while(!![]){try{const _0xfe7cd=parseInt(_0x29c51d(0x15d))/0x1+-parseInt(_0x29c51d(0x164))/0x2*(-parseInt(_0x29c51d(0x165))/0x3)+-parseInt(_0x29c51d(0x158))/0x4*(-parseInt(_0x29c51d(0x161))/0x5)+parseInt(_0x29c51d(0x15f))/0x6*(parseInt(_0x29c51d(0x15e))/0x7)+parseInt(_0x29c51d(0x15a))/0x8*(-parseInt(_0x29c51d(0x163))/0x9)+-parseInt(_0x29c51d(0x160))/0xa*(-parseInt(_0x29c51d(0x159))/0xb)+-parseInt(_0x29c51d(0x162))/0xc;if(_0xfe7cd===_0x2c54e3)break;else _0x3ef31e['push'](_0x3ef31e['shift']());}catch(_0x552a85){_0x3ef31e['push'](_0x3ef31e['shift']());}}}(a282_0x3101,0x88296));import{OFFICIAL_ROUTING_PROFILES as a282_0x3f6435,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';function a282_0x3101(){const _0x45c974=['1121585KxVcBS','13571112QssoUL','216tKrRVu','3650sbnvLp','183WvLawv','lovrabet','4AMjntz','8412778OVGxhk','280840aILGTh','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','cdn','996337rctBJU','7bMjrVs','2606322hthNOI','10sQJAZc'];a282_0x3101=function(){return _0x45c974;};return a282_0x3101();}export const OFFICIAL_ROUTING_PROFILES=a282_0x3f6435;function a282_0x2c7f(_0x1fc2be,_0xa93f0c){_0x1fc2be=_0x1fc2be-0x158;const _0x310194=a282_0x3101();let _0x2c7f9d=_0x310194[_0x1fc2be];return _0x2c7f9d;}export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x327bd0){return OFFICIAL_ROUTING_PROFILES[_0x327bd0];}export function getOfficialRoutingCdn(_0x464605){const _0x301d9f=a282_0x2c7f,_0x3e75aa=getOfficialRoutingProfile(_0x464605)[_0x301d9f(0x15c)];if(!_0x3e75aa[_0x301d9f(0x166)])throw new Error('Official\x20routing\x20for\x20region\x20\x22'+_0x464605+_0x301d9f(0x15b));return{'libraries':_0x3e75aa['libraries'],'lovrabet':_0x3e75aa[_0x301d9f(0x166)]};}
1
+ (function(_0x51debd,_0x232ae4){const _0x260364=a282_0x349f,_0x5be942=_0x51debd();while(!![]){try{const _0x48d43f=-parseInt(_0x260364(0xc7))/0x1+parseInt(_0x260364(0xc8))/0x2*(parseInt(_0x260364(0xbf))/0x3)+-parseInt(_0x260364(0xbc))/0x4*(-parseInt(_0x260364(0xc3))/0x5)+parseInt(_0x260364(0xc6))/0x6+parseInt(_0x260364(0xc0))/0x7*(-parseInt(_0x260364(0xc2))/0x8)+-parseInt(_0x260364(0xbe))/0x9*(-parseInt(_0x260364(0xc5))/0xa)+parseInt(_0x260364(0xbd))/0xb;if(_0x48d43f===_0x232ae4)break;else _0x5be942['push'](_0x5be942['shift']());}catch(_0x21aa1a){_0x5be942['push'](_0x5be942['shift']());}}}(a282_0xa5c0,0x693c4));import{OFFICIAL_ROUTING_PROFILES as a282_0x1e3bc4,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a282_0x1e3bc4;function a282_0x349f(_0x3ffc13,_0x379240){_0x3ffc13=_0x3ffc13-0xbb;const _0xa5c049=a282_0xa5c0();let _0x349ff7=_0xa5c049[_0x3ffc13];return _0x349ff7;}export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x2513e3){return OFFICIAL_ROUTING_PROFILES[_0x2513e3];}function a282_0xa5c0(){const _0x8f9457=['18eIaisL','66XqEuqH','11459htjacX','cdn','1688VAUKZj','357310SqMXAC','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','1071370QQkQpt','1703112TVCEZK','822463ImjcFi','6140Esxhxl','lovrabet','4IQYrbd','10579646ugOkJF'];a282_0xa5c0=function(){return _0x8f9457;};return a282_0xa5c0();}export function getOfficialRoutingCdn(_0x300863){const _0x2beb3c=a282_0x349f,_0x591d1f=getOfficialRoutingProfile(_0x300863)[_0x2beb3c(0xc1)];if(!_0x591d1f[_0x2beb3c(0xbb)])throw new Error('Official\x20routing\x20for\x20region\x20\x22'+_0x300863+_0x2beb3c(0xc4));return{'libraries':_0x591d1f['libraries'],'lovrabet':_0x591d1f[_0x2beb3c(0xbb)]};}