@lovrabet/rabetbase-cli 2.5.6 → 2.5.7

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 (395) 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.d.ts +2 -0
  132. package/lib/commands/flow/page-list.js +1 -0
  133. package/lib/commands/flow/publish.js +1 -1
  134. package/lib/commands/flow/runtime-resources-shared.d.ts +1 -1
  135. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  136. package/lib/commands/flow/runtime-role-list.js +1 -1
  137. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  138. package/lib/commands/flow/runtime-user-search.js +1 -1
  139. package/lib/commands/flow/shared.d.ts +6 -2
  140. package/lib/commands/flow/shared.js +1 -1
  141. package/lib/commands/flow/update.js +1 -1
  142. package/lib/commands/flow/validate.js +1 -1
  143. package/lib/commands/instant-api-policy/current.js +1 -1
  144. package/lib/commands/instant-api-policy/index.js +1 -1
  145. package/lib/commands/instant-api-policy/init.js +1 -1
  146. package/lib/commands/instant-api-policy/publish.js +1 -1
  147. package/lib/commands/instant-api-policy/pull.js +1 -1
  148. package/lib/commands/instant-api-policy/revision.js +1 -1
  149. package/lib/commands/instant-api-policy/revisions.js +1 -1
  150. package/lib/commands/instant-api-policy/rollback.js +1 -1
  151. package/lib/commands/instant-api-policy/shared.js +1 -1
  152. package/lib/commands/instant-api-policy/validate.js +1 -1
  153. package/lib/commands/issue/index.js +1 -1
  154. package/lib/commands/issue/nudge.js +1 -1
  155. package/lib/commands/issue/report.js +1 -1
  156. package/lib/commands/issue/shared.js +1 -1
  157. package/lib/commands/kb/create.js +1 -1
  158. package/lib/commands/kb/delete.js +1 -1
  159. package/lib/commands/kb/detail.js +1 -1
  160. package/lib/commands/kb/index.js +1 -1
  161. package/lib/commands/kb/list.js +1 -1
  162. package/lib/commands/kb/search.js +1 -1
  163. package/lib/commands/kb/shared.js +1 -1
  164. package/lib/commands/kb/update.js +1 -1
  165. package/lib/commands/logs/index.js +1 -1
  166. package/lib/commands/menu/asset-update.js +1 -1
  167. package/lib/commands/menu/delete.js +1 -1
  168. package/lib/commands/menu/external-link-create.js +1 -1
  169. package/lib/commands/menu/external-link-update.js +1 -1
  170. package/lib/commands/menu/group-create.js +1 -1
  171. package/lib/commands/menu/group-update.js +1 -1
  172. package/lib/commands/menu/index.js +1 -1
  173. package/lib/commands/menu/list.js +1 -1
  174. package/lib/commands/menu/move.js +1 -1
  175. package/lib/commands/menu/regroup-start.js +1 -1
  176. package/lib/commands/menu/rename.js +1 -1
  177. package/lib/commands/menu/shared/compare-table.js +1 -1
  178. package/lib/commands/menu/shared/delete-plan.js +1 -1
  179. package/lib/commands/menu/shared/facts.js +1 -1
  180. package/lib/commands/menu/shared/index.js +1 -1
  181. package/lib/commands/menu/shared/inquirer.js +1 -1
  182. package/lib/commands/menu/shared/local-pages.js +1 -1
  183. package/lib/commands/menu/shared/logic.js +1 -1
  184. package/lib/commands/menu/shared/mutations.js +1 -1
  185. package/lib/commands/menu/shared/path.js +1 -1
  186. package/lib/commands/menu/shared/service.js +1 -1
  187. package/lib/commands/menu/shared/subapp-assets.js +1 -1
  188. package/lib/commands/menu/shared/sync-core.js +1 -1
  189. package/lib/commands/menu/shared/update-core.js +1 -1
  190. package/lib/commands/menu/shared/valid-url.js +1 -1
  191. package/lib/commands/menu/subapp-assets-status.js +1 -1
  192. package/lib/commands/menu/subapp-assets-update.js +1 -1
  193. package/lib/commands/menu/sync.js +1 -1
  194. package/lib/commands/menu/visibility-update.js +1 -1
  195. package/lib/commands/notification/config-create.js +1 -1
  196. package/lib/commands/notification/config-delete.js +1 -1
  197. package/lib/commands/notification/config-list.js +1 -1
  198. package/lib/commands/notification/config-update.js +1 -1
  199. package/lib/commands/notification/index.js +1 -1
  200. package/lib/commands/notification/shared.js +1 -1
  201. package/lib/commands/ocr/index.js +1 -1
  202. package/lib/commands/page/create.js +1 -1
  203. package/lib/commands/page/custom/detail.js +1 -1
  204. package/lib/commands/page/custom/list.js +1 -1
  205. package/lib/commands/page/custom/publish.js +1 -1
  206. package/lib/commands/page/custom/shared.js +1 -1
  207. package/lib/commands/page/custom/syntax.js +1 -1
  208. package/lib/commands/page/custom/update.js +1 -1
  209. package/lib/commands/page/data-list-status.js +1 -1
  210. package/lib/commands/page/generate-start.js +1 -1
  211. package/lib/commands/page/generate-status.js +1 -1
  212. package/lib/commands/page/index.js +1 -1
  213. package/lib/commands/page/pull.js +1 -1
  214. package/lib/commands/page/push.js +1 -1
  215. package/lib/commands/page/relation-audit.js +1 -1
  216. package/lib/commands/page/restore.js +1 -1
  217. package/lib/commands/page/shared.js +1 -1
  218. package/lib/commands/page/sync.js +1 -1
  219. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  220. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  221. package/lib/commands/project/create/format-elapsed.js +1 -1
  222. package/lib/commands/project/create/main.js +1 -1
  223. package/lib/commands/project/create/materialize-project-template.js +1 -1
  224. package/lib/commands/project/create/project-name.js +1 -1
  225. package/lib/commands/project/create/project-template-archive.js +1 -1
  226. package/lib/commands/project/create/project-template-path.js +1 -1
  227. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  228. package/lib/commands/project/create/use-format-code.js +1 -1
  229. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  230. package/lib/commands/project/domain-routing-sync.js +1 -1
  231. package/lib/commands/project/index.js +1 -1
  232. package/lib/commands/project/upgrade.js +1 -1
  233. package/lib/commands/registry.js +1 -1
  234. package/lib/commands/role/delete.js +1 -1
  235. package/lib/commands/role/detail.js +1 -1
  236. package/lib/commands/role/index.js +1 -1
  237. package/lib/commands/role/list.js +1 -1
  238. package/lib/commands/role/shared.js +1 -1
  239. package/lib/commands/role/update.js +1 -1
  240. package/lib/commands/role/user-add.js +1 -1
  241. package/lib/commands/role/user-remove.js +1 -1
  242. package/lib/commands/role/user-resolve.js +1 -1
  243. package/lib/commands/rule/get.js +1 -1
  244. package/lib/commands/rule/index.js +1 -1
  245. package/lib/commands/rule/list.js +1 -1
  246. package/lib/commands/rule/set.js +1 -1
  247. package/lib/commands/rule/shared.js +1 -1
  248. package/lib/commands/run/index.js +1 -1
  249. package/lib/commands/schema.js +1 -1
  250. package/lib/commands/sql/create.js +1 -1
  251. package/lib/commands/sql/delete.js +1 -1
  252. package/lib/commands/sql/detail.js +1 -1
  253. package/lib/commands/sql/exec.js +1 -1
  254. package/lib/commands/sql/index.js +1 -1
  255. package/lib/commands/sql/list.js +1 -1
  256. package/lib/commands/sql/pull.js +1 -1
  257. package/lib/commands/sql/push.js +1 -1
  258. package/lib/commands/sql/shared.js +1 -1
  259. package/lib/commands/sql/status.js +1 -1
  260. package/lib/commands/sql/validate.js +1 -1
  261. package/lib/commands/task/index.js +1 -1
  262. package/lib/commands/task/status.js +1 -1
  263. package/lib/commands/tenant/index.js +1 -1
  264. package/lib/commands/tenant/members-list.js +1 -1
  265. package/lib/commands/tenant/shared.js +1 -1
  266. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  267. package/lib/commands/user-account/feishu-bind.js +1 -1
  268. package/lib/commands/user-account/index.js +1 -1
  269. package/lib/commands/workspace/add.js +1 -1
  270. package/lib/commands/workspace/index.js +1 -1
  271. package/lib/commands/workspace/remove.js +1 -1
  272. package/lib/config/domain-config.js +1 -1
  273. package/lib/config/project-domain-routing.js +1 -1
  274. package/lib/config/region-config.js +1 -1
  275. package/lib/config/schema.js +1 -1
  276. package/lib/constant/cdn.js +1 -1
  277. package/lib/constant/cli.js +1 -1
  278. package/lib/constant/defaults.js +1 -1
  279. package/lib/constant/domain.js +1 -1
  280. package/lib/constant/env.js +1 -1
  281. package/lib/constant/output.js +1 -1
  282. package/lib/constant/paths.js +1 -1
  283. package/lib/constant/region.js +1 -1
  284. package/lib/constant/risk.js +1 -1
  285. package/lib/constant/routing-profile.js +1 -1
  286. package/lib/context/app-resolver.js +1 -1
  287. package/lib/context/auth-resolver.js +1 -1
  288. package/lib/context/config-loader.js +1 -1
  289. package/lib/context.js +1 -1
  290. package/lib/core/alias-resolver.js +1 -1
  291. package/lib/core/api-client.d.ts +26 -6
  292. package/lib/core/api-client.js +1 -1
  293. package/lib/core/bff/config.js +1 -1
  294. package/lib/core/bff/file-system.js +1 -1
  295. package/lib/core/bff/hash.js +1 -1
  296. package/lib/core/bff/hook-directory.js +1 -1
  297. package/lib/core/bff/lock.js +1 -1
  298. package/lib/core/bff/utils.js +1 -1
  299. package/lib/core/cross-db-analysis.js +1 -1
  300. package/lib/core/cross-db-relation.js +1 -1
  301. package/lib/core/db-resolver.js +1 -1
  302. package/lib/core/flow-config.d.ts +12 -0
  303. package/lib/core/flow-config.js +1 -1
  304. package/lib/core/instant-api-policy/config.js +1 -1
  305. package/lib/core/kb-search-client.js +1 -1
  306. package/lib/core/page/file-system.js +1 -1
  307. package/lib/core/page/hash.js +1 -1
  308. package/lib/core/page/lock.js +1 -1
  309. package/lib/core/page/lr-smart-jsx.js +1 -1
  310. package/lib/core/sql-index-auditor.js +1 -1
  311. package/lib/core/sql-sync/config.js +1 -1
  312. package/lib/core/sql-sync/file-system.js +1 -1
  313. package/lib/core/sql-sync/hash.js +1 -1
  314. package/lib/core/sql-sync/lock.js +1 -1
  315. package/lib/core/sql-sync/utils.js +1 -1
  316. package/lib/core/sql-validator.js +1 -1
  317. package/lib/errors.js +1 -1
  318. package/lib/framework/build-all-flags.js +1 -1
  319. package/lib/framework/error-output.js +1 -1
  320. package/lib/framework/explicit-yes.js +1 -1
  321. package/lib/framework/flags.js +1 -1
  322. package/lib/framework/help.js +1 -1
  323. package/lib/framework/index.js +1 -1
  324. package/lib/framework/output.js +1 -1
  325. package/lib/framework/response.js +1 -1
  326. package/lib/framework/runner-alias.js +1 -1
  327. package/lib/framework/runner.js +1 -1
  328. package/lib/framework/schema-export.js +1 -1
  329. package/lib/framework/supported-flags.js +1 -1
  330. package/lib/framework/types.js +1 -1
  331. package/lib/generated/build-info.d.ts +4 -4
  332. package/lib/generated/build-info.js +1 -1
  333. package/lib/generated/official-routing.js +1 -1
  334. package/lib/generated/routing-contract.js +1 -1
  335. package/lib/help.js +1 -1
  336. package/lib/postinstall.js +1 -1
  337. package/lib/runtime/confirmation.js +1 -1
  338. package/lib/runtime/event.js +1 -1
  339. package/lib/runtime/index.js +1 -1
  340. package/lib/runtime/queue.js +1 -1
  341. package/lib/runtime/resolve.js +1 -1
  342. package/lib/services/dataset-design/checkpoint.js +1 -1
  343. package/lib/services/dataset-design/commands.js +1 -1
  344. package/lib/services/dataset-design/contract.js +1 -1
  345. package/lib/skills/builtin-skill.js +1 -1
  346. package/lib/skills/main.js +1 -1
  347. package/lib/skills/npx-skills-add.js +1 -1
  348. package/lib/skills/skill-presence.js +1 -1
  349. package/lib/telemetry/cli-command-trace.js +1 -1
  350. package/lib/telemetry/cli-help-trace.js +1 -1
  351. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  352. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  353. package/lib/telemetry/send-cli-trace-log.js +1 -1
  354. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  355. package/lib/utils/ai_config.js +1 -1
  356. package/lib/utils/apply-jq-filter.js +1 -1
  357. package/lib/utils/cdn-config.js +1 -1
  358. package/lib/utils/check-sdk-version.js +1 -1
  359. package/lib/utils/cli-version-check.js +1 -1
  360. package/lib/utils/cli-version-policy.js +1 -1
  361. package/lib/utils/config.js +1 -1
  362. package/lib/utils/entity-with-id.js +1 -1
  363. package/lib/utils/file-utils.js +1 -1
  364. package/lib/utils/guides-cdn.js +1 -1
  365. package/lib/utils/http-client.js +1 -1
  366. package/lib/utils/is-non-interactive.js +1 -1
  367. package/lib/utils/logger.js +1 -1
  368. package/lib/utils/params.js +1 -1
  369. package/lib/utils/platform.js +1 -1
  370. package/lib/utils/sleep.js +1 -1
  371. package/lib/utils/template-replacer.js +1 -1
  372. package/lib/utils/update-notice.js +1 -1
  373. package/lib/utils/version.js +1 -1
  374. package/lib/utils/with-active-cookie.js +1 -1
  375. package/lib/utils/write-cli-side-channel.js +1 -1
  376. package/package.json +1 -1
  377. package/skills/rabetbase/SKILL.md +8 -4
  378. package/skills/rabetbase/guides/approval-flow-development-workflow.md +52 -13
  379. package/skills/rabetbase/guides/backend-function.md +26 -4
  380. package/skills/rabetbase/guides/bff-creation-workflow.md +9 -0
  381. package/skills/rabetbase/guides/cross-database-bff.md +1 -0
  382. package/skills/rabetbase/guides/custom-page-flow-sdk.md +2 -0
  383. package/skills/rabetbase/guides/data-api-guidelines.md +2 -0
  384. package/skills/rabetbase/guides/flow-config-examples.md +75 -0
  385. package/skills/rabetbase/guides/form-flow-start.md +61 -0
  386. package/skills/rabetbase/guides/typescript-sdk.md +1 -1
  387. package/skills/rabetbase/knowledge/approval-flow/config-json-schema.md +18 -4
  388. package/skills/rabetbase/references/rabetbase-codegen-sdk.md +5 -4
  389. package/skills/rabetbase/references/rabetbase-flow-commands.md +21 -2
  390. package/skills/rabetbase/references/rabetbase-flow-resources.md +21 -3
  391. package/skills/rabetbase/references/rabetbase-flow-runtime-boundary.md +6 -2
  392. package/skills/rabetbase/references/rabetbase-kb.md +4 -1
  393. package/skills/rabetbase-dataset-generation/SKILL.md +1 -1
  394. package/skills/rabetbase-page-generation/SKILL.md +1 -1
  395. package/skills/rabetbase.manifest.json +5 -3
@@ -1 +1 @@
1
- function a265_0x18c3(){const _0x56167d=['11448bqojcp','27895hymFVS','workspace','56bGatDL','1038873Khpmnk','13HFryZO','1128TEEUdE','name','write','App\x20profile\x20name','workspace\x20add','1812234jRhAcw','2437771xxPVhR','10HrHLSh','25396llkcJz','4293476sqLtbz'];a265_0x18c3=function(){return _0x56167d;};return a265_0x18c3();}const a265_0x289bf0=a265_0x226e;function a265_0x226e(_0x59a316,_0x401d0b){_0x59a316=_0x59a316-0xf9;const _0x18c3fc=a265_0x18c3();let _0x226ee3=_0x18c3fc[_0x59a316];return _0x226ee3;}(function(_0x1da2ff,_0x50bacb){const _0x40d3b6=a265_0x226e,_0x1097d1=_0x1da2ff();while(!![]){try{const _0x1bc08e=-parseInt(_0x40d3b6(0xfb))/0x1*(parseInt(_0x40d3b6(0x104))/0x2)+parseInt(_0x40d3b6(0xfa))/0x3+parseInt(_0x40d3b6(0xf9))/0x4*(-parseInt(_0x40d3b6(0x107))/0x5)+parseInt(_0x40d3b6(0x101))/0x6+parseInt(_0x40d3b6(0x102))/0x7+parseInt(_0x40d3b6(0xfc))/0x8*(-parseInt(_0x40d3b6(0x106))/0x9)+parseInt(_0x40d3b6(0x103))/0xa*(-parseInt(_0x40d3b6(0x105))/0xb);if(_0x1bc08e===_0x50bacb)break;else _0x1097d1['push'](_0x1097d1['shift']());}catch(_0x2525ef){_0x1097d1['push'](_0x1097d1['shift']());}}}(a265_0x18c3,0x2cdb7));import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':a265_0x289bf0(0x108),'command':'add','description':'Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','risk':a265_0x289bf0(0xfe),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a265_0x289bf0(0xfd),'description':a265_0x289bf0(0xff),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0x420d50=>validateAppName(_0x420d50,'workspace\x20add'),'execute':_0x1f86d8=>runAppAdd(_0x1f86d8,a265_0x289bf0(0x100))};
1
+ function a266_0x2349(_0x49e4a7,_0x300009){_0x49e4a7=_0x49e4a7-0x149;const _0x32829a=a266_0x3282();let _0x2349c3=_0x32829a[_0x49e4a7];return _0x2349c3;}const a266_0x3b0a8c=a266_0x2349;(function(_0x1edfb7,_0x9ee2c6){const _0x25fd23=a266_0x2349,_0x1986b0=_0x1edfb7();while(!![]){try{const _0x2fce9f=-parseInt(_0x25fd23(0x150))/0x1*(parseInt(_0x25fd23(0x155))/0x2)+-parseInt(_0x25fd23(0x156))/0x3*(parseInt(_0x25fd23(0x14d))/0x4)+-parseInt(_0x25fd23(0x149))/0x5*(-parseInt(_0x25fd23(0x14f))/0x6)+-parseInt(_0x25fd23(0x14e))/0x7+parseInt(_0x25fd23(0x158))/0x8+parseInt(_0x25fd23(0x153))/0x9*(-parseInt(_0x25fd23(0x154))/0xa)+parseInt(_0x25fd23(0x151))/0xb;if(_0x2fce9f===_0x9ee2c6)break;else _0x1986b0['push'](_0x1986b0['shift']());}catch(_0x53fac8){_0x1986b0['push'](_0x1986b0['shift']());}}}(a266_0x3282,0x84278));import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';function a266_0x3282(){const _0x51acbe=['8511928vrKeQw','5ixgPcN','Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','write','workspace\x20add','1386572nxjAtt','4599147YWqLsp','4244694rAOyha','2993tZhkAd','3922006PKySqH','workspace','8298iJPYxu','4960ymBurX','84NHSYxQ','3OLNKvC','add'];a266_0x3282=function(){return _0x51acbe;};return a266_0x3282();}export const workspaceAddDefinition={'service':a266_0x3b0a8c(0x152),'command':a266_0x3b0a8c(0x157),'description':a266_0x3b0a8c(0x14a),'risk':a266_0x3b0a8c(0x14b),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':'name','description':'App\x20profile\x20name','required':!![]}],'flags':buildAppAddFlags(),'validate':_0x45d586=>validateAppName(_0x45d586,a266_0x3b0a8c(0x14c)),'execute':_0x542d04=>runAppAdd(_0x542d04,'workspace\x20add')};
@@ -1 +1 @@
1
- const a266_0x5741b3=a266_0x31c8;(function(_0x523ccb,_0x677d95){const _0x2e6a2c=a266_0x31c8,_0x476774=_0x523ccb();while(!![]){try{const _0x16b7a9=-parseInt(_0x2e6a2c(0x1ae))/0x1*(parseInt(_0x2e6a2c(0x1eb))/0x2)+-parseInt(_0x2e6a2c(0x1ee))/0x3*(-parseInt(_0x2e6a2c(0x1c5))/0x4)+-parseInt(_0x2e6a2c(0x1ef))/0x5*(parseInt(_0x2e6a2c(0x1d3))/0x6)+-parseInt(_0x2e6a2c(0x1c7))/0x7*(parseInt(_0x2e6a2c(0x1cb))/0x8)+parseInt(_0x2e6a2c(0x1c3))/0x9*(-parseInt(_0x2e6a2c(0x1e5))/0xa)+parseInt(_0x2e6a2c(0x1d4))/0xb*(parseInt(_0x2e6a2c(0x1b7))/0xc)+parseInt(_0x2e6a2c(0x1b5))/0xd;if(_0x16b7a9===_0x677d95)break;else _0x476774['push'](_0x476774['shift']());}catch(_0x28e841){_0x476774['push'](_0x476774['shift']());}}}(a266_0x5151,0x7481d));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';import{RABETBASE_ENV_VALUES}from'../../constant/env.js';function a266_0x5151(){const _0x4ef147=['apps','env','1kRfetx','flag','join','length','apiGroup','App\x20locale\x20for\x20this\x20workspace\x20app\x20profile\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','globalConfig','17660175IfCNZr','locale','84JGSCUu','Workspace\x20','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile','\x20(appcode:\x20','appcode','region','Initialize\x20the\x20current\x20workspace\x20app\x20binding','write','updated','number','Missing\x20workspace\x20app\x20selector.','str','2211363vzvKeo','keys','3338108VWZexO','pageSize','5635aVycDW','App\x20\x22','\x20--appcode\x20<code>`.','project','4680XxjkkH','use','defaultFormat','string','.\x20Credentials:\x20not\x20written.','Switch\x20the\x20current\x20workspace\x20app\x20binding','\x22\x20not\x20found.','isArray','152778HjvbFV','529507npbGwm','\x20workspace\x20','workspace','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','init','Invalid\x20appcode:\x20','\x20workspace\x20use\x20--app\x20<name>`.','trim','object','format','app','riskLevel','Country/region\x20for\x20this\x20workspace\x20app\x20profile','apiDir','30uHxzbw','Target\x20environment','Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','Use\x20`','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','1027366pnrxDU',').\x20Config:\x20','validation','3WAoVPB','65JXMpyi'];a266_0x5151=function(){return _0x4ef147;};return a266_0x5151();}import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{RISK_LEVEL_VALUES}from'../../constant/risk.js';import{validateAppcode}from'../../commands/common/validate.js';function a266_0x31c8(_0x49f01a,_0x314f17){_0x49f01a=_0x49f01a-0x1ad;const _0x5151a1=a266_0x5151();let _0x31c877=_0x5151a1[_0x49f01a];return _0x31c877;}import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';import{normalizeStoredDefaultApp}from'../../config/schema.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../../constant/region.js';const WORKSPACE_USAGE=CLI_BIN_NAME+'\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]',SAFE_PROFILE_KEYS=[a266_0x5741b3(0x1bb),a266_0x5741b3(0x1b2),'region',a266_0x5741b3(0x1ad),a266_0x5741b3(0x1e4),a266_0x5741b3(0x1e0),a266_0x5741b3(0x1c6),a266_0x5741b3(0x1e2),a266_0x5741b3(0x1b6)],workspaceFlags=[{'name':a266_0x5741b3(0x1e1),'type':a266_0x5741b3(0x1ce),'description':'App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace'},{'name':a266_0x5741b3(0x1bb),'type':'string','description':a266_0x5741b3(0x1d7)},{'name':a266_0x5741b3(0x1b2),'type':a266_0x5741b3(0x1ce),'description':a266_0x5741b3(0x1d8)},{'name':a266_0x5741b3(0x1bc),'type':a266_0x5741b3(0x1ce),'description':a266_0x5741b3(0x1e3),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':a266_0x5741b3(0x1ad),'type':'string','description':a266_0x5741b3(0x1e6),'enum':[...RABETBASE_ENV_VALUES]},{'name':a266_0x5741b3(0x1e4),'type':a266_0x5741b3(0x1ce),'description':a266_0x5741b3(0x1b9)},{'name':a266_0x5741b3(0x1cd),'type':a266_0x5741b3(0x1ce),'description':a266_0x5741b3(0x1da),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':'pageSize','type':a266_0x5741b3(0x1c0),'description':a266_0x5741b3(0x1d9)},{'name':'riskLevel','type':'string','description':a266_0x5741b3(0x1e7),'enum':[...RISK_LEVEL_VALUES]},{'name':a266_0x5741b3(0x1b6),'type':'string','description':a266_0x5741b3(0x1b3)}];function isRecord(_0x97435e){const _0x144c52=a266_0x5741b3;return!!_0x97435e&&typeof _0x97435e===_0x144c52(0x1df)&&!Array[_0x144c52(0x1d2)](_0x97435e);}function assertValidAppcode(_0x1ba230){const _0x4b3d72=a266_0x5741b3,{valid:_0x4d0169,message:_0xeef6d9}=validateAppcode(_0x1ba230);if(!_0x4d0169)throw CliErrors[_0x4b3d72(0x1ed)](_0x4b3d72(0x1dc)+_0x1ba230,_0xeef6d9);}function sanitizeProfile(_0x2b2a80){if(!isRecord(_0x2b2a80))return{};const _0xf1896a={};for(const _0x163ce2 of SAFE_PROFILE_KEYS){if(_0x2b2a80[_0x163ce2]!==undefined)_0xf1896a[_0x163ce2]=_0x2b2a80[_0x163ce2];}return _0xf1896a;}function cloneProfile(_0xfc0689){return isRecord(_0xfc0689)?{..._0xfc0689}:{};}function collectWorkspaceProfileOverrides(_0xe1a492){const _0x3b862c=a266_0x5741b3,_0xde22c9={},_0x53ba53=_0xe1a492[_0x3b862c(0x1c2)](_0x3b862c(0x1b2)),_0x2dbdba=_0xe1a492['str'](_0x3b862c(0x1bc)),_0x48dea4=_0xe1a492['str'](_0x3b862c(0x1ad)),_0x2dc74e=_0xe1a492[_0x3b862c(0x1c2)](_0x3b862c(0x1e4)),_0x7476d4=_0xe1a492[_0x3b862c(0x1c2)](_0x3b862c(0x1cd)),_0x26746b=_0xe1a492[_0x3b862c(0x1af)](_0x3b862c(0x1c6)),_0x3f845c=_0xe1a492[_0x3b862c(0x1c2)](_0x3b862c(0x1e2)),_0x59b06e=_0xe1a492[_0x3b862c(0x1c2)]('locale');if(_0x53ba53)_0xde22c9[_0x3b862c(0x1b2)]=_0x53ba53;if(_0x2dbdba)_0xde22c9[_0x3b862c(0x1bc)]=_0x2dbdba;if(_0x48dea4)_0xde22c9[_0x3b862c(0x1ad)]=_0x48dea4;if(_0x2dc74e)_0xde22c9['apiDir']=_0x2dc74e;if(_0x7476d4)_0xde22c9[_0x3b862c(0x1e0)]=_0x7476d4;if(_0x26746b!==undefined&&_0x26746b!=='')_0xde22c9[_0x3b862c(0x1c6)]=Number(_0x26746b);if(_0x3f845c)_0xde22c9['riskLevel']=_0x3f845c;if(_0x59b06e)_0xde22c9[_0x3b862c(0x1b6)]=_0x59b06e;return _0xde22c9;}async function validateWorkspaceArgs(_0x104d91){const _0x54532b=a266_0x5741b3,_0x286377=_0x104d91['str'](_0x54532b(0x1e1))[_0x54532b(0x1de)](),_0x4d3db2=_0x104d91['str'](_0x54532b(0x1bb))[_0x54532b(0x1de)]();if(!_0x286377&&!_0x4d3db2)throw CliErrors['validation'](_0x54532b(0x1c1),_0x54532b(0x1e8)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.');if(_0x4d3db2)assertValidAppcode(_0x4d3db2);}function resolveKnownApps(){const _0x5e377d=a266_0x5741b3,{config:_0x33d417,layers:_0x18dce1}=readRawConfigWithLayers(),_0x2fefd1=isRecord(_0x33d417[_0x5e377d(0x1f0)])?_0x33d417['apps']:{},_0x5127b6=isRecord(_0x18dce1[_0x5e377d(0x1b4)][_0x5e377d(0x1f0)])?_0x18dce1[_0x5e377d(0x1b4)]['apps']:{};return{..._0x5127b6,..._0x2fefd1};}async function configureWorkspace(_0xf32163,_0x28ca33){const _0x57ead2=a266_0x5741b3,_0x1add4a=_0xf32163['str'](_0x57ead2(0x1e1))[_0x57ead2(0x1de)](),_0x373aa9=_0xf32163[_0x57ead2(0x1c2)](_0x57ead2(0x1bb))['trim'](),_0x75f070=_0x1add4a||_0x373aa9;if(!_0x75f070)throw CliErrors[_0x57ead2(0x1ed)]('Missing\x20workspace\x20app\x20selector.',_0x57ead2(0x1e8)+CLI_BIN_NAME+_0x57ead2(0x1ea)+CLI_BIN_NAME+_0x57ead2(0x1dd));if(_0x373aa9)assertValidAppcode(_0x373aa9);const _0x39ee08=resolveWriteConfigPath(_0x57ead2(0x1ca)),_0xc91fe3=readConfigFile(_0x39ee08),_0xfc627b=resolveKnownApps(),_0xb6be84=isRecord(_0xc91fe3['apps'])?{..._0xc91fe3['apps']}:{},_0x521346=cloneProfile(_0xb6be84[_0x75f070]),_0x503b66=sanitizeProfile(_0xfc627b[_0x75f070]),_0x35705e=_0x373aa9?{}:_0x503b66,_0x58cccc=_0x373aa9||_0x35705e['appcode'];if(!_0x58cccc){const _0x40dcba=Object[_0x57ead2(0x1c4)](_0xfc627b),_0x500811=_0x40dcba[_0x57ead2(0x1b1)]===0x0?_0x57ead2(0x1e8)+CLI_BIN_NAME+_0x57ead2(0x1d5)+_0x28ca33+'\x20--app\x20'+_0x75f070+_0x57ead2(0x1c9):_0x57ead2(0x1e9)+_0x40dcba[_0x57ead2(0x1b0)](',\x20');throw CliErrors[_0x57ead2(0x1ed)](_0x57ead2(0x1c8)+_0x75f070+_0x57ead2(0x1d1),_0x500811);}assertValidAppcode(String(_0x58cccc));const _0x4b3781={..._0x35705e,..._0x521346,'appcode':String(_0x58cccc),...collectWorkspaceProfileOverrides(_0xf32163)};return _0xb6be84[_0x75f070]=_0x4b3781,_0xc91fe3['apps']=_0xb6be84,normalizeStoredDefaultApp(_0xc91fe3,_0x75f070),delete _0xc91fe3['appcode'],delete _0xc91fe3[_0x57ead2(0x1e1)],_0x4b3781[_0x57ead2(0x1ad)]&&(_0xc91fe3[_0x57ead2(0x1ad)]=_0x4b3781[_0x57ead2(0x1ad)]),writeConfigFile(_0x39ee08,_0xc91fe3),{'ok':!![],'message':_0x57ead2(0x1b8)+(_0x28ca33===_0x57ead2(0x1db)?'initialized':_0x57ead2(0x1bf))+':\x20'+_0x75f070+_0x57ead2(0x1ba)+_0x4b3781[_0x57ead2(0x1bb)]+_0x57ead2(0x1ec)+_0x39ee08+_0x57ead2(0x1cf),'data':{'operation':'workspace.'+_0x28ca33,'configPath':_0x39ee08,'app':_0x75f070,'appcode':_0x4b3781[_0x57ead2(0x1bb)],'apiGroup':_0x4b3781['apiGroup']??null,'region':_0x4b3781[_0x57ead2(0x1bc)]??null,'env':_0x4b3781[_0x57ead2(0x1ad)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':'workspace','command':a266_0x5741b3(0x1db),'description':a266_0x5741b3(0x1bd),'risk':a266_0x5741b3(0x1be),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x250d1a=>configureWorkspace(_0x250d1a,'init')},workspaceUseDefinition={'service':a266_0x5741b3(0x1d6),'command':a266_0x5741b3(0x1cc),'description':a266_0x5741b3(0x1d0),'risk':a266_0x5741b3(0x1be),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x37f3d8=>configureWorkspace(_0x37f3d8,a266_0x5741b3(0x1cc))};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
1
+ const a267_0x292280=a267_0x308f;(function(_0x9df411,_0x4e8c37){const _0xd8ecab=a267_0x308f,_0xbc94ac=_0x9df411();while(!![]){try{const _0x4b4475=-parseInt(_0xd8ecab(0x78))/0x1+-parseInt(_0xd8ecab(0x73))/0x2*(parseInt(_0xd8ecab(0x79))/0x3)+parseInt(_0xd8ecab(0x7b))/0x4+-parseInt(_0xd8ecab(0x88))/0x5*(-parseInt(_0xd8ecab(0x86))/0x6)+-parseInt(_0xd8ecab(0x80))/0x7+parseInt(_0xd8ecab(0x8e))/0x8+parseInt(_0xd8ecab(0x94))/0x9*(-parseInt(_0xd8ecab(0xa4))/0xa);if(_0x4b4475===_0x4e8c37)break;else _0xbc94ac['push'](_0xbc94ac['shift']());}catch(_0x23a01b){_0xbc94ac['push'](_0xbc94ac['shift']());}}}(a267_0x49f0,0xd25d8));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';import{RABETBASE_ENV_VALUES}from'../../constant/env.js';function a267_0x308f(_0x3f34d5,_0x30e8d4){_0x3f34d5=_0x3f34d5-0x6b;const _0x49f086=a267_0x49f0();let _0x308f1c=_0x49f086[_0x3f34d5];return _0x308f1c;}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_0x292280(0x6b),SAFE_PROFILE_KEYS=[a267_0x292280(0x85),'apiGroup',a267_0x292280(0x96),a267_0x292280(0x9f),a267_0x292280(0xa2),a267_0x292280(0x7e),a267_0x292280(0x77),a267_0x292280(0x84),a267_0x292280(0x92)],workspaceFlags=[{'name':'app','type':a267_0x292280(0x7a),'description':'App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace'},{'name':'appcode','type':'string','description':a267_0x292280(0x6d)},{'name':a267_0x292280(0xa5),'type':a267_0x292280(0x7a),'description':'Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry'},{'name':'region','type':a267_0x292280(0x7a),'description':a267_0x292280(0x76),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':'env','type':a267_0x292280(0x7a),'description':a267_0x292280(0x90),'enum':[...RABETBASE_ENV_VALUES]},{'name':a267_0x292280(0xa2),'type':'string','description':a267_0x292280(0x91)},{'name':'defaultFormat','type':a267_0x292280(0x7a),'description':a267_0x292280(0xa1),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a267_0x292280(0x77),'type':a267_0x292280(0x9a),'description':a267_0x292280(0x97)},{'name':a267_0x292280(0x84),'type':'string','description':'Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RISK_LEVEL_VALUES]},{'name':a267_0x292280(0x92),'type':a267_0x292280(0x7a),'description':a267_0x292280(0x74)}];function isRecord(_0x354bc4){const _0x5c24e9=a267_0x292280;return!!_0x354bc4&&typeof _0x354bc4===_0x5c24e9(0x8d)&&!Array['isArray'](_0x354bc4);}function assertValidAppcode(_0xb69e6f){const _0x580c94=a267_0x292280,{valid:_0x1ab116,message:_0x4e0129}=validateAppcode(_0xb69e6f);if(!_0x1ab116)throw CliErrors[_0x580c94(0x93)](_0x580c94(0x9c)+_0xb69e6f,_0x4e0129);}function sanitizeProfile(_0x2f1220){if(!isRecord(_0x2f1220))return{};const _0x44d0b8={};for(const _0x4bc120 of SAFE_PROFILE_KEYS){if(_0x2f1220[_0x4bc120]!==undefined)_0x44d0b8[_0x4bc120]=_0x2f1220[_0x4bc120];}return _0x44d0b8;}function cloneProfile(_0x1f3a71){return isRecord(_0x1f3a71)?{..._0x1f3a71}:{};}function a267_0x49f0(){const _0xd9c2d2=['1831053nuYqBV','use','Initialize\x20the\x20current\x20workspace\x20app\x20binding','workspace','riskLevel','appcode','12AEYZCU','\x22\x20not\x20found.','1431835YrYKoD','updated','initialized','Switch\x20the\x20current\x20workspace\x20app\x20binding','.\x20Credentials:\x20not\x20written.','object','5454448eoeceF','\x20--appcode\x20<code>`.','Target\x20environment','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile','locale','validation','9zOVKLK','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','region','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','join','App\x20\x22','number','workspace.','Invalid\x20appcode:\x20','\x20(appcode:\x20','project','env','app','Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','apiDir','defaultFormat','4189750lcFwrr','apiGroup','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','Use\x20`','init','trim','str','Missing\x20workspace\x20app\x20selector.','260812ZkAHvG','App\x20locale\x20for\x20this\x20workspace\x20app\x20profile\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','keys','Country/region\x20for\x20this\x20workspace\x20app\x20profile','pageSize','16214MAVoue','9PNWstG','string','2780408LHexyV','flag','write','format','apps'];a267_0x49f0=function(){return _0xd9c2d2;};return a267_0x49f0();}function collectWorkspaceProfileOverrides(_0x243e09){const _0x5306c5=a267_0x292280,_0xaa590f={},_0x421998=_0x243e09[_0x5306c5(0x71)](_0x5306c5(0xa5)),_0x1be6c0=_0x243e09['str']('region'),_0x779604=_0x243e09[_0x5306c5(0x71)](_0x5306c5(0x9f)),_0xcc833b=_0x243e09[_0x5306c5(0x71)](_0x5306c5(0xa2)),_0x5a5f93=_0x243e09[_0x5306c5(0x71)](_0x5306c5(0xa3)),_0x11552f=_0x243e09[_0x5306c5(0x7c)](_0x5306c5(0x77)),_0x4336a2=_0x243e09['str'](_0x5306c5(0x84)),_0x2d22c1=_0x243e09[_0x5306c5(0x71)](_0x5306c5(0x92));if(_0x421998)_0xaa590f[_0x5306c5(0xa5)]=_0x421998;if(_0x1be6c0)_0xaa590f[_0x5306c5(0x96)]=_0x1be6c0;if(_0x779604)_0xaa590f[_0x5306c5(0x9f)]=_0x779604;if(_0xcc833b)_0xaa590f[_0x5306c5(0xa2)]=_0xcc833b;if(_0x5a5f93)_0xaa590f[_0x5306c5(0x7e)]=_0x5a5f93;if(_0x11552f!==undefined&&_0x11552f!=='')_0xaa590f[_0x5306c5(0x77)]=Number(_0x11552f);if(_0x4336a2)_0xaa590f['riskLevel']=_0x4336a2;if(_0x2d22c1)_0xaa590f[_0x5306c5(0x92)]=_0x2d22c1;return _0xaa590f;}async function validateWorkspaceArgs(_0x2f82b7){const _0x4bb352=a267_0x292280,_0xf0a4c3=_0x2f82b7[_0x4bb352(0x71)](_0x4bb352(0xa0))[_0x4bb352(0x70)](),_0x5a7b40=_0x2f82b7[_0x4bb352(0x71)](_0x4bb352(0x85))['trim']();if(!_0xf0a4c3&&!_0x5a7b40)throw CliErrors['validation'](_0x4bb352(0x72),_0x4bb352(0x6e)+CLI_BIN_NAME+_0x4bb352(0x6c)+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.');if(_0x5a7b40)assertValidAppcode(_0x5a7b40);}function resolveKnownApps(){const _0x22a2da=a267_0x292280,{config:_0x165846,layers:_0x1121d7}=readRawConfigWithLayers(),_0x48fc5f=isRecord(_0x165846[_0x22a2da(0x7f)])?_0x165846[_0x22a2da(0x7f)]:{},_0x5226d6=isRecord(_0x1121d7['globalConfig'][_0x22a2da(0x7f)])?_0x1121d7['globalConfig'][_0x22a2da(0x7f)]:{};return{..._0x5226d6,..._0x48fc5f};}async function configureWorkspace(_0xbaa93,_0x5632b0){const _0x331bd2=a267_0x292280,_0x53fa08=_0xbaa93[_0x331bd2(0x71)]('app')['trim'](),_0xb6955=_0xbaa93[_0x331bd2(0x71)](_0x331bd2(0x85))[_0x331bd2(0x70)](),_0x11aa74=_0x53fa08||_0xb6955;if(!_0x11aa74)throw CliErrors[_0x331bd2(0x93)](_0x331bd2(0x72),'Use\x20`'+CLI_BIN_NAME+_0x331bd2(0x6c)+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.');if(_0xb6955)assertValidAppcode(_0xb6955);const _0x60ff5b=resolveWriteConfigPath(_0x331bd2(0x9e)),_0x3c2404=readConfigFile(_0x60ff5b),_0x7f2a7d=resolveKnownApps(),_0x5cdcae=isRecord(_0x3c2404[_0x331bd2(0x7f)])?{..._0x3c2404['apps']}:{},_0x1b80fe=cloneProfile(_0x5cdcae[_0x11aa74]),_0x43062c=sanitizeProfile(_0x7f2a7d[_0x11aa74]),_0x187144=_0xb6955?{}:_0x43062c,_0x48a74b=_0xb6955||_0x187144['appcode'];if(!_0x48a74b){const _0x227083=Object[_0x331bd2(0x75)](_0x7f2a7d),_0x57d780=_0x227083['length']===0x0?_0x331bd2(0x6e)+CLI_BIN_NAME+'\x20workspace\x20'+_0x5632b0+'\x20--app\x20'+_0x11aa74+_0x331bd2(0x8f):_0x331bd2(0x95)+_0x227083[_0x331bd2(0x98)](',\x20');throw CliErrors[_0x331bd2(0x93)](_0x331bd2(0x99)+_0x11aa74+_0x331bd2(0x87),_0x57d780);}assertValidAppcode(String(_0x48a74b));const _0x162b8a={..._0x187144,..._0x1b80fe,'appcode':String(_0x48a74b),...collectWorkspaceProfileOverrides(_0xbaa93)};return _0x5cdcae[_0x11aa74]=_0x162b8a,_0x3c2404['apps']=_0x5cdcae,normalizeStoredDefaultApp(_0x3c2404,_0x11aa74),delete _0x3c2404['appcode'],delete _0x3c2404[_0x331bd2(0xa0)],_0x162b8a[_0x331bd2(0x9f)]&&(_0x3c2404[_0x331bd2(0x9f)]=_0x162b8a[_0x331bd2(0x9f)]),writeConfigFile(_0x60ff5b,_0x3c2404),{'ok':!![],'message':'Workspace\x20'+(_0x5632b0===_0x331bd2(0x6f)?_0x331bd2(0x8a):_0x331bd2(0x89))+':\x20'+_0x11aa74+_0x331bd2(0x9d)+_0x162b8a[_0x331bd2(0x85)]+').\x20Config:\x20'+_0x60ff5b+_0x331bd2(0x8c),'data':{'operation':_0x331bd2(0x9b)+_0x5632b0,'configPath':_0x60ff5b,'app':_0x11aa74,'appcode':_0x162b8a[_0x331bd2(0x85)],'apiGroup':_0x162b8a[_0x331bd2(0xa5)]??null,'region':_0x162b8a[_0x331bd2(0x96)]??null,'env':_0x162b8a[_0x331bd2(0x9f)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a267_0x292280(0x83),'command':a267_0x292280(0x6f),'description':a267_0x292280(0x82),'risk':a267_0x292280(0x7d),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x56e40c=>configureWorkspace(_0x56e40c,a267_0x292280(0x6f))},workspaceUseDefinition={'service':a267_0x292280(0x83),'command':a267_0x292280(0x81),'description':a267_0x292280(0x8b),'risk':a267_0x292280(0x7d),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x31a2d0=>configureWorkspace(_0x31a2d0,a267_0x292280(0x81))};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
@@ -1 +1 @@
1
- const a267_0xed2a09=a267_0x2e23;(function(_0x446f54,_0x3e652a){const _0x1d6f06=a267_0x2e23,_0x5bcb2e=_0x446f54();while(!![]){try{const _0x123f1d=-parseInt(_0x1d6f06(0xbf))/0x1+parseInt(_0x1d6f06(0xc6))/0x2*(-parseInt(_0x1d6f06(0xcc))/0x3)+parseInt(_0x1d6f06(0xcb))/0x4+parseInt(_0x1d6f06(0xc3))/0x5+parseInt(_0x1d6f06(0xc5))/0x6+-parseInt(_0x1d6f06(0xc9))/0x7*(-parseInt(_0x1d6f06(0xc1))/0x8)+-parseInt(_0x1d6f06(0xc0))/0x9*(parseInt(_0x1d6f06(0xc7))/0xa);if(_0x123f1d===_0x3e652a)break;else _0x5bcb2e['push'](_0x5bcb2e['shift']());}catch(_0x1309ee){_0x5bcb2e['push'](_0x5bcb2e['shift']());}}}(a267_0x13c1,0x25cb2));function a267_0x2e23(_0x24d36f,_0x64f80d){_0x24d36f=_0x24d36f-0xbf;const _0x13c149=a267_0x13c1();let _0x2e23c1=_0x13c149[_0x24d36f];return _0x2e23c1;}import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';function a267_0x13c1(){const _0x461eeb=['remove','613205vmshoz','workspace','207192DSsPeY','1276lPlvSy','530VQzhZp','App\x20profile\x20name\x20to\x20remove','2702QyWFTU','workspace\x20remove','980512ueJxId','1053FIhAmY','256513kRivMz','1278APyhmr','4984cFtpqh'];a267_0x13c1=function(){return _0x461eeb;};return a267_0x13c1();}export const workspaceRemoveDefinition={'service':a267_0xed2a09(0xc4),'command':a267_0xed2a09(0xc2),'description':'Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[{'name':'name','description':a267_0xed2a09(0xc8),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x478954=>validateAppName(_0x478954,a267_0xed2a09(0xca)),'execute':_0x571e77=>runAppRemove(_0x571e77,a267_0xed2a09(0xca))};
1
+ const a268_0x476524=a268_0x457e;(function(_0x3bb355,_0x277177){const _0x579480=a268_0x457e,_0x4a4aa8=_0x3bb355();while(!![]){try{const _0x2ad5b2=parseInt(_0x579480(0x1b8))/0x1*(-parseInt(_0x579480(0x1b4))/0x2)+parseInt(_0x579480(0x1bb))/0x3*(parseInt(_0x579480(0x1bc))/0x4)+parseInt(_0x579480(0x1ba))/0x5*(-parseInt(_0x579480(0x1b6))/0x6)+-parseInt(_0x579480(0x1af))/0x7*(parseInt(_0x579480(0x1b2))/0x8)+-parseInt(_0x579480(0x1ac))/0x9*(parseInt(_0x579480(0x1b7))/0xa)+parseInt(_0x579480(0x1b9))/0xb*(parseInt(_0x579480(0x1ad))/0xc)+parseInt(_0x579480(0x1b5))/0xd;if(_0x2ad5b2===_0x277177)break;else _0x4a4aa8['push'](_0x4a4aa8['shift']());}catch(_0x2a9f36){_0x4a4aa8['push'](_0x4a4aa8['shift']());}}}(a268_0x430e,0xe5eb1));import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';export const workspaceRemoveDefinition={'service':a268_0x476524(0x1b3),'command':a268_0x476524(0x1ae),'description':'Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[{'name':a268_0x476524(0x1b1),'description':a268_0x476524(0x1ab),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x453d19=>validateAppName(_0x453d19,a268_0x476524(0x1b0)),'execute':_0x1fae42=>runAppRemove(_0x1fae42,a268_0x476524(0x1b0))};function a268_0x457e(_0xd6ec9e,_0x496ab2){_0xd6ec9e=_0xd6ec9e-0x1ab;const _0x430e70=a268_0x430e();let _0x457eae=_0x430e70[_0xd6ec9e];return _0x457eae;}function a268_0x430e(){const _0x3759be=['33840YyBMxB','workspace','153876tLAFYG','33522164eXFBrM','359232YjeeBc','10iryFfC','8ZPysXY','1023qkxtUT','10yQandf','3274953iDuLtH','4VkhPqq','App\x20profile\x20name\x20to\x20remove','8842545oTAyJJ','1116hTZgTj','remove','1687jTaAjr','workspace\x20remove','name'];a268_0x430e=function(){return _0x3759be;};return a268_0x430e();}
@@ -1 +1 @@
1
- const a268_0x2b9758=a268_0x463d;(function(_0x2f5976,_0x54b56a){const _0x4db5b0=a268_0x463d,_0xe26c44=_0x2f5976();while(!![]){try{const _0x12b464=-parseInt(_0x4db5b0(0x164))/0x1*(parseInt(_0x4db5b0(0x121))/0x2)+-parseInt(_0x4db5b0(0x136))/0x3+parseInt(_0x4db5b0(0x13c))/0x4*(parseInt(_0x4db5b0(0x13d))/0x5)+-parseInt(_0x4db5b0(0x135))/0x6*(-parseInt(_0x4db5b0(0x159))/0x7)+-parseInt(_0x4db5b0(0x126))/0x8+parseInt(_0x4db5b0(0x124))/0x9+parseInt(_0x4db5b0(0x13b))/0xa;if(_0x12b464===_0x54b56a)break;else _0xe26c44['push'](_0xe26c44['shift']());}catch(_0xdc4f60){_0xe26c44['push'](_0xe26c44['shift']());}}}(a268_0x5653,0xeab99));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';function a268_0x463d(_0x51beb8,_0xbc1870){_0x51beb8=_0x51beb8-0x121;const _0x565362=a268_0x5653();let _0x463d27=_0x565362[_0x51beb8];return _0x463d27;}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=[a268_0x2b9758(0x162),a268_0x2b9758(0x166),a268_0x2b9758(0x130),a268_0x2b9758(0x16d),a268_0x2b9758(0x14c),'kbServiceDomain',a268_0x2b9758(0x133),'localDomain',a268_0x2b9758(0x13e)];const DOMAIN_FLAGS={'userDomain':'user-domain','apiDomain':'api-domain','runtimeDomain':a268_0x2b9758(0x122),'skillDomain':a268_0x2b9758(0x170),'kbDomain':a268_0x2b9758(0x156),'kbServiceDomain':a268_0x2b9758(0x12d),'appDomain':a268_0x2b9758(0x157),'localDomain':a268_0x2b9758(0x129),'certificateDomain':a268_0x2b9758(0x163)};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a268_0x2b9758(0x12f),'platformDomain','skillHubDomain'];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':'userDomain','apiDomain':a268_0x2b9758(0x166),'runtimeDomain':a268_0x2b9758(0x130),'skillDomain':a268_0x2b9758(0x16d),'kbDomain':a268_0x2b9758(0x14c),'kbServiceDomain':a268_0x2b9758(0x16a),'appDomain':a268_0x2b9758(0x133),'localDomain':'localDomain','certificateDomain':'certificateDomain'},ROUTING_CONSUMER=a268_0x2b9758(0x169);export function normalizeDomainOrigin(_0x4ea858,_0xc97f38){const _0x47eacf=a268_0x2b9758;if(typeof _0xc97f38!==_0x47eacf(0x152)||!_0xc97f38[_0x47eacf(0x15d)]())throw CliErrors[_0x47eacf(0x155)](_0x47eacf(0x153)+_0x4ea858+_0x47eacf(0x15c));let _0xb6f33;try{_0xb6f33=new URL(_0xc97f38[_0x47eacf(0x15d)]());}catch{throw CliErrors[_0x47eacf(0x155)](_0x47eacf(0x153)+_0x4ea858+_0x47eacf(0x137)+_0xc97f38+_0x47eacf(0x132));}if(_0xb6f33[_0x47eacf(0x15b)]!==_0x47eacf(0x125)||_0xb6f33[_0x47eacf(0x139)]||_0xb6f33['password']||_0xb6f33[_0x47eacf(0x161)]!=='/'&&_0xb6f33[_0x47eacf(0x161)]!==''||_0xb6f33['search']||_0xb6f33[_0x47eacf(0x145)])throw CliErrors[_0x47eacf(0x155)](_0x47eacf(0x153)+_0x4ea858+':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.',_0x47eacf(0x14d));return _0xb6f33['origin'];}export function normalizeRoutingDomainValue(_0x34fea1,_0xd82b40){const _0x15e18e=a268_0x2b9758;if(typeof _0xd82b40===_0x15e18e(0x152))return normalizeDomainOrigin(_0x34fea1,_0xd82b40);if(!_0xd82b40||typeof _0xd82b40!==_0x15e18e(0x144)||Array[_0x15e18e(0x167)](_0xd82b40))throw CliErrors['validation'](_0x15e18e(0x153)+_0x34fea1+_0x15e18e(0x168));const _0x3d4052=_0xd82b40,_0x2c4c98=_0x3d4052[ROUTING_CONSUMER]??_0x3d4052['default'];if(_0x2c4c98===undefined)throw CliErrors['validation'](_0x15e18e(0x13f)+_0x34fea1+_0x15e18e(0x151)+ROUTING_CONSUMER+'\x20and\x20has\x20no\x20default.');return normalizeDomainOrigin(_0x34fea1,_0x2c4c98);}export function normalizeCdnBaseUrl(_0x331009,_0x480f3a){const _0x5bce39=a268_0x2b9758;if(typeof _0x480f3a!==_0x5bce39(0x152)||!_0x480f3a[_0x5bce39(0x15d)]())throw CliErrors[_0x5bce39(0x155)](_0x5bce39(0x12a)+_0x331009+_0x5bce39(0x16b));const _0x39bf03=_0x480f3a[_0x5bce39(0x15d)]()[_0x5bce39(0x131)](/\/$/,'');let _0x5c4401;try{_0x5c4401=new URL(_0x39bf03);}catch{throw CliErrors['validation'](_0x5bce39(0x12a)+_0x331009+_0x5bce39(0x137)+_0x480f3a+_0x5bce39(0x132));}if(_0x5c4401[_0x5bce39(0x15b)]!==_0x5bce39(0x125)||_0x5c4401[_0x5bce39(0x139)]||_0x5c4401['password']||_0x5c4401[_0x5bce39(0x147)]||_0x5c4401['hash']||_0x5c4401['href'][_0x5bce39(0x131)](/\/$/,'')!==_0x39bf03||_0x331009==='lovrabet'&&_0x5c4401[_0x5bce39(0x154)]!==_0x39bf03)throw CliErrors[_0x5bce39(0x155)](_0x5bce39(0x12a)+_0x331009+':\x20expected\x20an\x20HTTPS\x20'+(_0x331009===_0x5bce39(0x160)?_0x5bce39(0x154):_0x5bce39(0x15a))+'\x20without\x20credentials,\x20query,\x20or\x20fragment.');return _0x39bf03;}export function resolveEnterpriseRoutingConfig(_0x5cee2d){const _0x816606=a268_0x2b9758;return resolveEnterpriseRoutingManifest(_0x5cee2d)?.[_0x816606(0x141)];}export function resolveEnterpriseRoutingManifest(_0x1bbc0b){const _0x3f7bf4=a268_0x2b9758;if(_0x1bbc0b===undefined)return undefined;if(!_0x1bbc0b||typeof _0x1bbc0b!==_0x3f7bf4(0x144)||Array[_0x3f7bf4(0x167)](_0x1bbc0b))throw CliErrors[_0x3f7bf4(0x155)](_0x3f7bf4(0x128));return parseEnterpriseRoutingManifest(_0x1bbc0b);}export function readDomainConfigInput(_0x2db273){const _0x251314=a268_0x2b9758,_0x10c9fa=isAbsolute(_0x2db273)?_0x2db273:resolve(process[_0x251314(0x16c)](),_0x2db273);if(!existsSync(_0x10c9fa))throw CliErrors[_0x251314(0x155)](_0x251314(0x16f)+_0x10c9fa);let _0x4f6dc7;try{_0x4f6dc7=JSON['parse'](readFileSync(_0x10c9fa,_0x251314(0x123)));}catch{throw CliErrors['validation'](_0x251314(0x165)+_0x10c9fa);}if(!_0x4f6dc7||typeof _0x4f6dc7!=='object'||Array[_0x251314(0x167)](_0x4f6dc7))throw CliErrors[_0x251314(0x155)](_0x251314(0x171));const _0x198347=_0x4f6dc7;if(_0x251314(0x15b)in _0x198347)return parseEnterpriseRoutingManifest(_0x198347);const _0x56d551=Object[_0x251314(0x142)](_0x198347)[_0x251314(0x138)](_0x40c1c5=>!DOMAIN_CONFIG_FIELDS[_0x251314(0x127)](_0x40c1c5));if(_0x56d551[_0x251314(0x15f)]>0x0)throw CliErrors[_0x251314(0x155)](_0x251314(0x14a)+_0x56d551[_0x251314(0x12c)](',\x20'),_0x251314(0x15e)+DOMAIN_CONFIG_FIELDS['join'](',\x20'));const _0x46d1aa={};for(const _0x685c0a of DOMAIN_CONFIG_FIELDS){_0x198347[_0x685c0a]!==undefined&&(_0x46d1aa[_0x685c0a]=normalizeDomainOrigin(_0x685c0a,_0x198347[_0x685c0a]));}if(Object[_0x251314(0x142)](_0x46d1aa)[_0x251314(0x15f)]===0x0)throw CliErrors[_0x251314(0x155)](_0x251314(0x158));return{'mode':'legacy','domains':_0x46d1aa};}export function readDomainConfig(_0x4eba1a){const _0x17cb78=a268_0x2b9758;return readDomainConfigInput(_0x4eba1a)[_0x17cb78(0x141)];}export function resolveDomainConfigInput(_0x59c846){const _0x390ebc=a268_0x2b9758,_0x1c8914=(_0x59c846['str'](_0x390ebc(0x140))||'')[_0x390ebc(0x15d)](),_0x16429f=_0x1c8914?readDomainConfigInput(_0x1c8914):{'mode':_0x390ebc(0x12e),'domains':{}},_0x40ce85=DOMAIN_CONFIG_FIELDS['filter'](_0x7c0e2d=>Boolean((_0x59c846['str'](DOMAIN_FLAGS[_0x7c0e2d])||'')[_0x390ebc(0x15d)]()));if(_0x16429f[_0x390ebc(0x134)]===_0x390ebc(0x13a)&&_0x40ce85['length']>0x0)throw CliErrors[_0x390ebc(0x155)](_0x390ebc(0x16e),_0x390ebc(0x150));for(const _0x2e2c05 of DOMAIN_CONFIG_FIELDS){const _0x5a93a9=(_0x59c846['str'](DOMAIN_FLAGS[_0x2e2c05])||'')[_0x390ebc(0x15d)]();if(_0x5a93a9)_0x16429f[_0x390ebc(0x141)][_0x2e2c05]=normalizeDomainOrigin(_0x2e2c05,_0x5a93a9);}return _0x16429f;}export function resolveDomainFlags(_0x146f8a){const _0x30ae60=a268_0x2b9758;return resolveDomainConfigInput(_0x146f8a)[_0x30ae60(0x141)];}export function parseEnterpriseRoutingManifest(_0x2ede65){const _0x5eedd3=a268_0x2b9758;if(_0x2ede65[_0x5eedd3(0x15b)]!==ENTERPRISE_ROUTING_PROTOCOL||_0x2ede65[_0x5eedd3(0x14b)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x5eedd3(0x155)](_0x5eedd3(0x14e)+ENTERPRISE_ROUTING_PROTOCOL+'\x22\x20and\x20kind\x20\x22'+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x2ede65[_0x5eedd3(0x141)]||typeof _0x2ede65[_0x5eedd3(0x141)]!==_0x5eedd3(0x144)||Array[_0x5eedd3(0x167)](_0x2ede65[_0x5eedd3(0x141)]))throw CliErrors['validation'](_0x5eedd3(0x12b));if(!_0x2ede65[_0x5eedd3(0x14f)]||typeof _0x2ede65['cdn']!==_0x5eedd3(0x144)||Array[_0x5eedd3(0x167)](_0x2ede65[_0x5eedd3(0x14f)]))throw CliErrors[_0x5eedd3(0x155)](_0x5eedd3(0x149));const _0x1611d2=_0x2ede65[_0x5eedd3(0x141)],_0x736b6c=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS['filter'](_0xe35b36=>_0x1611d2[_0xe35b36]===undefined);if(_0x736b6c[_0x5eedd3(0x15f)]>0x0)throw CliErrors[_0x5eedd3(0x155)](_0x5eedd3(0x146)+_0x736b6c[_0x5eedd3(0x12c)](',\x20'));if(_0x1611d2[_0x5eedd3(0x148)]===undefined!==(_0x1611d2[_0x5eedd3(0x13e)]===undefined))throw CliErrors[_0x5eedd3(0x155)](_0x5eedd3(0x143));const _0x18e05e=_0x2ede65[_0x5eedd3(0x14f)],_0x269a57=Object['keys'](_0x18e05e)[_0x5eedd3(0x138)](_0x41ffdd=>!ENTERPRISE_ROUTING_CDN_FIELDS[_0x5eedd3(0x127)](_0x41ffdd));if(_0x269a57[_0x5eedd3(0x15f)]>0x0)throw CliErrors['validation']('Unsupported\x20enterprise\x20CDN\x20field(s):\x20'+_0x269a57['join'](',\x20'),_0x5eedd3(0x15e)+ENTERPRISE_ROUTING_CDN_FIELDS[_0x5eedd3(0x12c)](',\x20'));const _0x4e3e80=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS[_0x5eedd3(0x138)](_0x452e5b=>_0x18e05e[_0x452e5b]===undefined);if(_0x4e3e80[_0x5eedd3(0x15f)]>0x0)throw CliErrors[_0x5eedd3(0x155)]('Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20'+_0x4e3e80['join'](',\x20'));const _0x2b3a18={};for(const _0x23ca36 of ENTERPRISE_ROUTING_CDN_FIELDS){_0x2b3a18[_0x23ca36]=normalizeCdnBaseUrl(_0x23ca36,_0x18e05e[_0x23ca36]);}const _0x1c2508={},_0x9e7804={};for(const _0x3fd123 of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x310d1c=_0x1611d2[_0x3fd123];if(_0x310d1c===undefined)continue;const _0x55c43f=normalizeRoutingDomainValue(_0x3fd123,_0x310d1c);_0x1c2508[_0x3fd123]=_0x55c43f;const _0x22770e=ENTERPRISE_TO_LOCAL_FIELD[_0x3fd123];_0x22770e&&(_0x9e7804[_0x22770e]=_0x55c43f);}return{'mode':_0x5eedd3(0x13a),'domains':_0x9e7804,'manifestDomains':_0x1c2508,'cdn':_0x2b3a18};}function a268_0x5653(){const _0x4b5bf0=['kb-service-domain','legacy','agentDomain','runtimeDomain','replace','\x22\x20is\x20not\x20a\x20valid\x20URL.','appDomain','mode','138AMWHSn','917718sKKWNf',':\x20\x22','filter','username','enterprise-v1','11570950apMvDu','49064eqvFDK','30XnlQKv','certificateDomain','Enterprise\x20','domain-config','domains','keys','Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','object','hash','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','search','localDomain','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','Unsupported\x20domain\x20config\x20field(s):\x20','kind','kbDomain','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22','cdn','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','string','Invalid\x20','origin','validation','kb-domain','app-domain','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','206549RbVvvo','base\x20URL','protocol',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','trim','Allowed\x20fields:\x20','length','lovrabet','pathname','userDomain','certificate-domain','217011fVqODx','Invalid\x20domain\x20config\x20JSON:\x20','apiDomain','isArray',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.','rabetbase-cli','kbServiceDomain',':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.','cwd','skillDomain','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','Domain\x20config\x20file\x20not\x20found:\x20','skill-domain','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','6kutQbH','runtime-domain','utf8','6298731YJVxLP','https:','5526712SdEJeO','includes','Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.','local-domain','Invalid\x20cdn.','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','join'];a268_0x5653=function(){return _0x4b5bf0;};return a268_0x5653();}
1
+ const a269_0x16f8d9=a269_0x374c;function a269_0x3b09(){const _0x7113e1=['Enterprise\x20','local-domain',':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.','skillHubDomain','string','certificateDomain','parse','skillDomain','legacy','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','isArray','appDomain','length','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','keys','user-domain','https:','79OZMQsx','rabetbase-cli','origin','3100284GyuGMt','apiDomain','7018mTrIGT','href','search','api-domain','Invalid\x20domain\x20config\x20JSON:\x20','join','domain-config','runtimeDomain','object','default','744KBQvvq',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','Invalid\x20cdn.','str','validation','cdn','password','app-domain','7939788UlTVqq','enterprise-v1','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','Domain\x20config\x20file\x20not\x20found:\x20','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20',':\x20\x22','domains','localDomain','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','9630189gLHvya','filter','runtime-domain','\x20and\x20has\x20no\x20default.','Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','lovrabet','trim','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.','username','\x22\x20is\x20not\x20a\x20valid\x20URL.','replace','130809HxCaJV','platformDomain','userDomain','1411314GuJtLC','kbDomain','Allowed\x20fields:\x20','10lMWkUa','Invalid\x20','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','Unsupported\x20enterprise\x20CDN\x20field(s):\x20','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','utf8','kb-service-domain','protocol','pathname','7123580mOGyXm','certificate-domain',':\x20expected\x20an\x20HTTPS\x20','skill-domain','kind'];a269_0x3b09=function(){return _0x7113e1;};return a269_0x3b09();}(function(_0x14c8f2,_0x456e3e){const _0x53328d=a269_0x374c,_0x5a28f7=_0x14c8f2();while(!![]){try{const _0x4f2549=parseInt(_0x53328d(0xac))/0x1*(-parseInt(_0x53328d(0xb1))/0x2)+parseInt(_0x53328d(0xdc))/0x3+parseInt(_0x53328d(0xaf))/0x4+parseInt(_0x53328d(0xe8))/0x5+parseInt(_0x53328d(0xc3))/0x6+-parseInt(_0x53328d(0xd9))/0x7*(parseInt(_0x53328d(0xbb))/0x8)+-parseInt(_0x53328d(0xcd))/0x9*(parseInt(_0x53328d(0xdf))/0xa);if(_0x4f2549===_0x456e3e)break;else _0x5a28f7['push'](_0x5a28f7['shift']());}catch(_0x1c2e0f){_0x5a28f7['push'](_0x5a28f7['shift']());}}}(a269_0x3b09,0xddc70));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_0x16f8d9(0xdb),'apiDomain',a269_0x16f8d9(0xb8),a269_0x16f8d9(0xf4),a269_0x16f8d9(0xdd),'kbServiceDomain',a269_0x16f8d9(0xfa),a269_0x16f8d9(0xcb),a269_0x16f8d9(0xf2)];const DOMAIN_FLAGS={'userDomain':a269_0x16f8d9(0xaa),'apiDomain':a269_0x16f8d9(0xb4),'runtimeDomain':a269_0x16f8d9(0xcf),'skillDomain':a269_0x16f8d9(0xeb),'kbDomain':'kb-domain','kbServiceDomain':a269_0x16f8d9(0xe5),'appDomain':a269_0x16f8d9(0xc2),'localDomain':a269_0x16f8d9(0xee),'certificateDomain':a269_0x16f8d9(0xe9)};export const LEGACY_DOMAIN_CONFIG_FIELDS=['agentDomain',a269_0x16f8d9(0xda),a269_0x16f8d9(0xf0)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a269_0x16f8d9(0xdb),'apiDomain':a269_0x16f8d9(0xb0),'runtimeDomain':'runtimeDomain','skillDomain':a269_0x16f8d9(0xf4),'kbDomain':'kbDomain','kbServiceDomain':'kbServiceDomain','appDomain':a269_0x16f8d9(0xfa),'localDomain':a269_0x16f8d9(0xcb),'certificateDomain':a269_0x16f8d9(0xf2)},ROUTING_CONSUMER=a269_0x16f8d9(0xad);export function normalizeDomainOrigin(_0x570d9a,_0x17609c){const _0x2aab55=a269_0x16f8d9;if(typeof _0x17609c!==_0x2aab55(0xf1)||!_0x17609c['trim']())throw CliErrors['validation'](_0x2aab55(0xe0)+_0x570d9a+_0x2aab55(0xbc));let _0x23c817;try{_0x23c817=new URL(_0x17609c[_0x2aab55(0xd3)]());}catch{throw CliErrors['validation']('Invalid\x20'+_0x570d9a+_0x2aab55(0xc9)+_0x17609c+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x23c817[_0x2aab55(0xe6)]!==_0x2aab55(0xab)||_0x23c817['username']||_0x23c817[_0x2aab55(0xc1)]||_0x23c817['pathname']!=='/'&&_0x23c817[_0x2aab55(0xe7)]!==''||_0x23c817[_0x2aab55(0xb3)]||_0x23c817['hash'])throw CliErrors['validation'](_0x2aab55(0xe0)+_0x570d9a+_0x2aab55(0xf7),_0x2aab55(0xe1));return _0x23c817[_0x2aab55(0xae)];}export function normalizeRoutingDomainValue(_0x543c58,_0x2ceebd){const _0x5b5c21=a269_0x16f8d9;if(typeof _0x2ceebd==='string')return normalizeDomainOrigin(_0x543c58,_0x2ceebd);if(!_0x2ceebd||typeof _0x2ceebd!==_0x5b5c21(0xb9)||Array['isArray'](_0x2ceebd))throw CliErrors[_0x5b5c21(0xbf)]('Invalid\x20'+_0x543c58+_0x5b5c21(0xd5));const _0x1cb527=_0x2ceebd,_0x1bd356=_0x1cb527[ROUTING_CONSUMER]??_0x1cb527[_0x5b5c21(0xba)];if(_0x1bd356===undefined)throw CliErrors[_0x5b5c21(0xbf)](_0x5b5c21(0xed)+_0x543c58+_0x5b5c21(0xc8)+ROUTING_CONSUMER+_0x5b5c21(0xd0));return normalizeDomainOrigin(_0x543c58,_0x1bd356);}function a269_0x374c(_0x394526,_0xa6b093){_0x394526=_0x394526-0xaa;const _0x3b09f0=a269_0x3b09();let _0x374cfd=_0x3b09f0[_0x394526];return _0x374cfd;}export function normalizeCdnBaseUrl(_0x405bdb,_0x43e4db){const _0x101fea=a269_0x16f8d9;if(typeof _0x43e4db!==_0x101fea(0xf1)||!_0x43e4db[_0x101fea(0xd3)]())throw CliErrors['validation'](_0x101fea(0xbd)+_0x405bdb+_0x101fea(0xef));const _0x48da86=_0x43e4db[_0x101fea(0xd3)]()[_0x101fea(0xd8)](/\/$/,'');let _0x26eabd;try{_0x26eabd=new URL(_0x48da86);}catch{throw CliErrors[_0x101fea(0xbf)](_0x101fea(0xbd)+_0x405bdb+_0x101fea(0xc9)+_0x43e4db+_0x101fea(0xd7));}if(_0x26eabd[_0x101fea(0xe6)]!==_0x101fea(0xab)||_0x26eabd[_0x101fea(0xd6)]||_0x26eabd[_0x101fea(0xc1)]||_0x26eabd[_0x101fea(0xb3)]||_0x26eabd['hash']||_0x26eabd[_0x101fea(0xb2)]['replace'](/\/$/,'')!==_0x48da86||_0x405bdb==='lovrabet'&&_0x26eabd['origin']!==_0x48da86)throw CliErrors[_0x101fea(0xbf)](_0x101fea(0xbd)+_0x405bdb+_0x101fea(0xea)+(_0x405bdb===_0x101fea(0xd2)?_0x101fea(0xae):'base\x20URL')+'\x20without\x20credentials,\x20query,\x20or\x20fragment.');return _0x48da86;}export function resolveEnterpriseRoutingConfig(_0x2fbd6d){const _0x541044=a269_0x16f8d9;return resolveEnterpriseRoutingManifest(_0x2fbd6d)?.[_0x541044(0xca)];}export function resolveEnterpriseRoutingManifest(_0xc9ff24){const _0x306d06=a269_0x16f8d9;if(_0xc9ff24===undefined)return undefined;if(!_0xc9ff24||typeof _0xc9ff24!==_0x306d06(0xb9)||Array[_0x306d06(0xf9)](_0xc9ff24))throw CliErrors[_0x306d06(0xbf)]('Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.');return parseEnterpriseRoutingManifest(_0xc9ff24);}export function readDomainConfigInput(_0x5902cd){const _0x211344=a269_0x16f8d9,_0x2a8641=isAbsolute(_0x5902cd)?_0x5902cd:resolve(process['cwd'](),_0x5902cd);if(!existsSync(_0x2a8641))throw CliErrors[_0x211344(0xbf)](_0x211344(0xc7)+_0x2a8641);let _0xd31999;try{_0xd31999=JSON[_0x211344(0xf3)](readFileSync(_0x2a8641,_0x211344(0xe4)));}catch{throw CliErrors[_0x211344(0xbf)](_0x211344(0xb5)+_0x2a8641);}if(!_0xd31999||typeof _0xd31999!==_0x211344(0xb9)||Array[_0x211344(0xf9)](_0xd31999))throw CliErrors[_0x211344(0xbf)](_0x211344(0xf8));const _0x1287a1=_0xd31999;if(_0x211344(0xe6)in _0x1287a1)return parseEnterpriseRoutingManifest(_0x1287a1);const _0xedfd2c=Object[_0x211344(0xfd)](_0x1287a1)[_0x211344(0xce)](_0x5bfc66=>!DOMAIN_CONFIG_FIELDS['includes'](_0x5bfc66));if(_0xedfd2c[_0x211344(0xfb)]>0x0)throw CliErrors[_0x211344(0xbf)]('Unsupported\x20domain\x20config\x20field(s):\x20'+_0xedfd2c[_0x211344(0xb6)](',\x20'),_0x211344(0xde)+DOMAIN_CONFIG_FIELDS['join'](',\x20'));const _0x2fd51d={};for(const _0x21a499 of DOMAIN_CONFIG_FIELDS){_0x1287a1[_0x21a499]!==undefined&&(_0x2fd51d[_0x21a499]=normalizeDomainOrigin(_0x21a499,_0x1287a1[_0x21a499]));}if(Object[_0x211344(0xfd)](_0x2fd51d)[_0x211344(0xfb)]===0x0)throw CliErrors['validation'](_0x211344(0xc5));return{'mode':'legacy','domains':_0x2fd51d};}export function readDomainConfig(_0x4a2f36){const _0x1aaa0e=a269_0x16f8d9;return readDomainConfigInput(_0x4a2f36)[_0x1aaa0e(0xca)];}export function resolveDomainConfigInput(_0x14b82c){const _0x31f113=a269_0x16f8d9,_0x47c949=(_0x14b82c[_0x31f113(0xbe)](_0x31f113(0xb7))||'')[_0x31f113(0xd3)](),_0x1c8699=_0x47c949?readDomainConfigInput(_0x47c949):{'mode':_0x31f113(0xf5),'domains':{}},_0x309f19=DOMAIN_CONFIG_FIELDS['filter'](_0x19e8dc=>Boolean((_0x14b82c['str'](DOMAIN_FLAGS[_0x19e8dc])||'')[_0x31f113(0xd3)]()));if(_0x1c8699['mode']===_0x31f113(0xc4)&&_0x309f19[_0x31f113(0xfb)]>0x0)throw CliErrors[_0x31f113(0xbf)](_0x31f113(0xcc),_0x31f113(0xe3));for(const _0x1549dc of DOMAIN_CONFIG_FIELDS){const _0x394c6b=(_0x14b82c[_0x31f113(0xbe)](DOMAIN_FLAGS[_0x1549dc])||'')[_0x31f113(0xd3)]();if(_0x394c6b)_0x1c8699[_0x31f113(0xca)][_0x1549dc]=normalizeDomainOrigin(_0x1549dc,_0x394c6b);}return _0x1c8699;}export function resolveDomainFlags(_0x49bc9f){const _0x3a0ddf=a269_0x16f8d9;return resolveDomainConfigInput(_0x49bc9f)[_0x3a0ddf(0xca)];}export function parseEnterpriseRoutingManifest(_0x4a8bba){const _0x77c8e6=a269_0x16f8d9;if(_0x4a8bba[_0x77c8e6(0xe6)]!==ENTERPRISE_ROUTING_PROTOCOL||_0x4a8bba[_0x77c8e6(0xec)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x77c8e6(0xbf)]('Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22'+ENTERPRISE_ROUTING_PROTOCOL+'\x22\x20and\x20kind\x20\x22'+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x4a8bba['domains']||typeof _0x4a8bba[_0x77c8e6(0xca)]!==_0x77c8e6(0xb9)||Array[_0x77c8e6(0xf9)](_0x4a8bba[_0x77c8e6(0xca)]))throw CliErrors['validation'](_0x77c8e6(0xfc));if(!_0x4a8bba[_0x77c8e6(0xc0)]||typeof _0x4a8bba[_0x77c8e6(0xc0)]!==_0x77c8e6(0xb9)||Array['isArray'](_0x4a8bba[_0x77c8e6(0xc0)]))throw CliErrors[_0x77c8e6(0xbf)](_0x77c8e6(0xf6));const _0x5a1294=_0x4a8bba[_0x77c8e6(0xca)],_0xc2bcaf=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS['filter'](_0x38dbed=>_0x5a1294[_0x38dbed]===undefined);if(_0xc2bcaf[_0x77c8e6(0xfb)]>0x0)throw CliErrors[_0x77c8e6(0xbf)](_0x77c8e6(0xc6)+_0xc2bcaf[_0x77c8e6(0xb6)](',\x20'));if(_0x5a1294['localDomain']===undefined!==(_0x5a1294['certificateDomain']===undefined))throw CliErrors['validation'](_0x77c8e6(0xd1));const _0x29c8b9=_0x4a8bba[_0x77c8e6(0xc0)],_0x50c04b=Object['keys'](_0x29c8b9)[_0x77c8e6(0xce)](_0x3a7564=>!ENTERPRISE_ROUTING_CDN_FIELDS['includes'](_0x3a7564));if(_0x50c04b[_0x77c8e6(0xfb)]>0x0)throw CliErrors[_0x77c8e6(0xbf)](_0x77c8e6(0xe2)+_0x50c04b['join'](',\x20'),_0x77c8e6(0xde)+ENTERPRISE_ROUTING_CDN_FIELDS[_0x77c8e6(0xb6)](',\x20'));const _0x143c1c=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS[_0x77c8e6(0xce)](_0x450948=>_0x29c8b9[_0x450948]===undefined);if(_0x143c1c[_0x77c8e6(0xfb)]>0x0)throw CliErrors['validation'](_0x77c8e6(0xd4)+_0x143c1c[_0x77c8e6(0xb6)](',\x20'));const _0x141bb9={};for(const _0x100d91 of ENTERPRISE_ROUTING_CDN_FIELDS){_0x141bb9[_0x100d91]=normalizeCdnBaseUrl(_0x100d91,_0x29c8b9[_0x100d91]);}const _0x139186={},_0x2e5f66={};for(const _0x5a0587 of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x1f2d8f=_0x5a1294[_0x5a0587];if(_0x1f2d8f===undefined)continue;const _0x44f063=normalizeRoutingDomainValue(_0x5a0587,_0x1f2d8f);_0x139186[_0x5a0587]=_0x44f063;const _0x2367b5=ENTERPRISE_TO_LOCAL_FIELD[_0x5a0587];_0x2367b5&&(_0x2e5f66[_0x2367b5]=_0x44f063);}return{'mode':_0x77c8e6(0xc4),'domains':_0x2e5f66,'manifestDomains':_0x139186,'cdn':_0x141bb9};}
@@ -1 +1 @@
1
- const a269_0x5b013e=a269_0x1210;(function(_0x2132a2,_0x367da9){const _0x3c02fc=a269_0x1210,_0x6bfb1b=_0x2132a2();while(!![]){try{const _0xec4ca9=-parseInt(_0x3c02fc(0x84))/0x1*(-parseInt(_0x3c02fc(0x82))/0x2)+parseInt(_0x3c02fc(0x83))/0x3+-parseInt(_0x3c02fc(0x85))/0x4*(parseInt(_0x3c02fc(0x87))/0x5)+-parseInt(_0x3c02fc(0x8d))/0x6*(-parseInt(_0x3c02fc(0x79))/0x7)+-parseInt(_0x3c02fc(0x8a))/0x8+parseInt(_0x3c02fc(0x7a))/0x9*(-parseInt(_0x3c02fc(0x81))/0xa)+-parseInt(_0x3c02fc(0x89))/0xb*(-parseInt(_0x3c02fc(0x7d))/0xc);if(_0xec4ca9===_0x367da9)break;else _0x6bfb1b['push'](_0x6bfb1b['shift']());}catch(_0x339c1c){_0x6bfb1b['push'](_0x6bfb1b['shift']());}}}(a269_0x5727,0xcecf6));import{readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{join}from'node:path';function a269_0x5727(){const _0xe37426=['175cnNvLS','763803WMTmrU','official','pid','2461500KhtDQa','.tmp','/cert/lovrabet-dev.json','local','130vMcuKK','2OFerFx','4229481mijWhj','1145626XrSHps','258036dzLVcq','lovrabet','50qdnVbQ','utf8','33ANxnUW','12614784NSLKPn','stringify','now','240354wcnQmK','rabetbase.domain-routing.json'];a269_0x5727=function(){return _0xe37426;};return a269_0x5727();}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=a269_0x5b013e(0x8e);function a269_0x1210(_0x4b61e4,_0x274599){_0x4b61e4=_0x4b61e4-0x79;const _0x5727ec=a269_0x5727();let _0x12109f=_0x5727ec[_0x4b61e4];return _0x12109f;}export const PROJECT_DOMAIN_ROUTING_PROTOCOL='lovrabet-project-domain-routing/v1';export function getProjectDomainRoutingManifest(){const _0x2a292f=a269_0x5b013e,_0x32ab71=getActiveRegion(),_0x5875b5=isIndependentDeployment(),_0x4e5bac=getOfficialRoutingProfile(_0x32ab71),_0x21d52d=getLocalDomain(),_0x4597fb=getCertificateDomain(),_0x4522e8=getActiveCdn();if(!!_0x21d52d!==!!_0x4597fb)throw new Error('Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.');return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x5875b5?'independent':_0x2a292f(0x7b),'region':_0x5875b5?null:_0x32ab71,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x4522e8,'local':_0x21d52d&&_0x4597fb?{'origin':_0x21d52d,'certificateUrl':_0x4597fb+_0x2a292f(0x7f)}:_0x5875b5?{'origin':'http://localhost'}:{'origin':_0x4e5bac[_0x2a292f(0x80)]['origin'],'certificateUrl':_0x4522e8[_0x2a292f(0x86)]+_0x2a292f(0x7f)}};}export function writeProjectDomainRoutingManifest(_0x3125c1){const _0x50b977=a269_0x5b013e,_0x3fb53e=getProjectDomainRoutingManifest(),_0x10f28c=join(_0x3125c1,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x17bfcb=JSON[_0x50b977(0x8b)](_0x3fb53e,null,0x2)+'\x0a';try{if(readFileSync(_0x10f28c,'utf8')===_0x17bfcb)return{'path':_0x10f28c,'manifest':_0x3fb53e,'changed':![]};}catch{}const _0x4bdd65=_0x10f28c+'.'+process[_0x50b977(0x7c)]+'.'+Date[_0x50b977(0x8c)]()+_0x50b977(0x7e);try{writeFileSync(_0x4bdd65,_0x17bfcb,{'encoding':_0x50b977(0x88),'mode':0x1a4}),renameSync(_0x4bdd65,_0x10f28c);}catch(_0x3ed74f){try{unlinkSync(_0x4bdd65);}catch{}throw _0x3ed74f;}return{'path':_0x10f28c,'manifest':_0x3fb53e,'changed':!![]};}
1
+ const a270_0x4e2d0c=a270_0x5526;(function(_0x2aecc0,_0x1301a1){const _0x5d8700=a270_0x5526,_0x4e84f6=_0x2aecc0();while(!![]){try{const _0x30a6b2=parseInt(_0x5d8700(0x1bb))/0x1*(-parseInt(_0x5d8700(0x1bd))/0x2)+-parseInt(_0x5d8700(0x1b1))/0x3+parseInt(_0x5d8700(0x1b3))/0x4+-parseInt(_0x5d8700(0x1b8))/0x5+-parseInt(_0x5d8700(0x1b6))/0x6+parseInt(_0x5d8700(0x1b7))/0x7+-parseInt(_0x5d8700(0x1bf))/0x8*(-parseInt(_0x5d8700(0x1af))/0x9);if(_0x30a6b2===_0x1301a1)break;else _0x4e84f6['push'](_0x4e84f6['shift']());}catch(_0x24bbaa){_0x4e84f6['push'](_0x4e84f6['shift']());}}}(a270_0x11f1,0x5dc7a));import{readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';function a270_0x11f1(){const _0x28775c=['7529WWadlN','origin','28LRipxr','official','8ETFsXT','utf8','rabetbase.domain-routing.json','independent','8008425WMKwqK','http://localhost','789930nznzBg','pid','2486864WHUtMT','now','local','4174404XaSFRT','228123Qrvmxj','477790teXyGN','lovrabet','/cert/lovrabet-dev.json'];a270_0x11f1=function(){return _0x28775c;};return a270_0x11f1();}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_0x4e2d0c(0x1ad);export const PROJECT_DOMAIN_ROUTING_PROTOCOL='lovrabet-project-domain-routing/v1';function a270_0x5526(_0x2fd046,_0xbe3214){_0x2fd046=_0x2fd046-0x1ac;const _0x11f146=a270_0x11f1();let _0x552604=_0x11f146[_0x2fd046];return _0x552604;}export function getProjectDomainRoutingManifest(){const _0x5eec4f=a270_0x4e2d0c,_0x282406=getActiveRegion(),_0x522d84=isIndependentDeployment(),_0x1b863a=getOfficialRoutingProfile(_0x282406),_0x59f945=getLocalDomain(),_0xbc5ce9=getCertificateDomain(),_0x107a12=getActiveCdn();if(!!_0x59f945!==!!_0xbc5ce9)throw new Error('Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.');return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x522d84?_0x5eec4f(0x1ae):_0x5eec4f(0x1be),'region':_0x522d84?null:_0x282406,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x107a12,'local':_0x59f945&&_0xbc5ce9?{'origin':_0x59f945,'certificateUrl':_0xbc5ce9+_0x5eec4f(0x1ba)}:_0x522d84?{'origin':_0x5eec4f(0x1b0)}:{'origin':_0x1b863a[_0x5eec4f(0x1b5)][_0x5eec4f(0x1bc)],'certificateUrl':_0x107a12[_0x5eec4f(0x1b9)]+_0x5eec4f(0x1ba)}};}export function writeProjectDomainRoutingManifest(_0x371d9c){const _0x396a1f=a270_0x4e2d0c,_0x2f6d08=getProjectDomainRoutingManifest(),_0x103504=join(_0x371d9c,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x1b5de7=JSON['stringify'](_0x2f6d08,null,0x2)+'\x0a';try{if(readFileSync(_0x103504,'utf8')===_0x1b5de7)return{'path':_0x103504,'manifest':_0x2f6d08,'changed':![]};}catch{}const _0x25be99=_0x103504+'.'+process[_0x396a1f(0x1b2)]+'.'+Date[_0x396a1f(0x1b4)]()+'.tmp';try{writeFileSync(_0x25be99,_0x1b5de7,{'encoding':_0x396a1f(0x1ac),'mode':0x1a4}),renameSync(_0x25be99,_0x103504);}catch(_0x4955f0){try{unlinkSync(_0x25be99);}catch{}throw _0x4955f0;}return{'path':_0x103504,'manifest':_0x2f6d08,'changed':!![]};}
@@ -1 +1 @@
1
- (function(_0x346496,_0x5a751a){const _0x18c880=a270_0xed4e,_0x17fa7b=_0x346496();while(!![]){try{const _0x25b5ff=parseInt(_0x18c880(0x19b))/0x1+parseInt(_0x18c880(0x1bc))/0x2*(-parseInt(_0x18c880(0x1ac))/0x3)+parseInt(_0x18c880(0x1b8))/0x4*(-parseInt(_0x18c880(0x1a4))/0x5)+parseInt(_0x18c880(0x1a9))/0x6*(parseInt(_0x18c880(0x1ba))/0x7)+-parseInt(_0x18c880(0x19d))/0x8+-parseInt(_0x18c880(0x1a5))/0x9*(-parseInt(_0x18c880(0x19a))/0xa)+parseInt(_0x18c880(0x1a3))/0xb*(parseInt(_0x18c880(0x1b9))/0xc);if(_0x25b5ff===_0x5a751a)break;else _0x17fa7b['push'](_0x17fa7b['shift']());}catch(_0x2432b0){_0x17fa7b['push'](_0x17fa7b['shift']());}}}(a270_0xdd9c,0xb3b42));import{CLI_BIN_NAME}from'../constant/cli.js';function a270_0xed4e(_0x1650e7,_0xbde307){_0x1650e7=_0x1650e7-0x19a;const _0xdd9c71=a270_0xdd9c();let _0xed4e60=_0xdd9c71[_0x1650e7];return _0xed4e60;}import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'../constant/region.js';import{CliErrors}from'../errors.js';export function selectConfiguredRegion(_0x27934d){const _0x39b6e3=a270_0xed4e;if(_0x27934d['appRegion']!==undefined&&_0x27934d[_0x39b6e3(0x1b0)]!==null&&_0x27934d[_0x39b6e3(0x1b0)]!=='')return{'value':_0x27934d['appRegion'],'source':_0x39b6e3(0x1ae)};if(_0x27934d[_0x39b6e3(0x1b2)]!==undefined&&_0x27934d['projectRegion']!==null&&_0x27934d[_0x39b6e3(0x1b2)]!=='')return{'value':_0x27934d[_0x39b6e3(0x1b2)],'source':_0x39b6e3(0x1b3)};if(_0x27934d[_0x39b6e3(0x19e)]!==undefined&&_0x27934d[_0x39b6e3(0x19e)]!==null&&_0x27934d[_0x39b6e3(0x19e)]!=='')return{'value':_0x27934d['globalRegion'],'source':_0x39b6e3(0x1a1)};if(_0x27934d[_0x39b6e3(0x1a8)]!==undefined&&_0x27934d[_0x39b6e3(0x1a8)]!==null&&_0x27934d['mergedRegion']!=='')return{'value':_0x27934d[_0x39b6e3(0x1a8)],'source':'config'};return{'value':undefined,'source':_0x39b6e3(0x1a0)};}function describeConfiguredRegion(_0x339f46){const _0x24c470=a270_0xed4e;return typeof _0x339f46===_0x24c470(0x1ad)?JSON[_0x24c470(0x1af)](_0x339f46):_0x24c470(0x1b7)+(_0x339f46===null?_0x24c470(0x1b5):typeof _0x339f46);}export function resolveConfiguredRegion(_0x58b3b2,_0x3e574a='Rabetbase\x20configuration'){const _0x5ca9a4=a270_0xed4e;if(isInvalidLovrabetRegion(_0x58b3b2))throw CliErrors[_0x5ca9a4(0x1a2)](_0x5ca9a4(0x1a7)+describeConfiguredRegion(_0x58b3b2)+'\x20in\x20'+_0x3e574a+'.',_0x5ca9a4(0x19f)+CLI_BIN_NAME+_0x5ca9a4(0x1a6));return normalizeLovrabetRegion(_0x58b3b2)??DEFAULT_LOVRABET_REGION;}function a270_0xdd9c(){const _0x4459e9=['17116284kAIOfJ','7cPUwgc','value','10322kmLwES','10oJsPBh','618962uNcUFL','app\x20profile\x20\x22','6985832QkMhFj','globalRegion','Run\x20`','default','global','validation','11cluuIE','295GfpWkj','3113982XfBFyy','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','Invalid\x20country/region\x20','mergedRegion','780174TkDQkW','selected\x20app\x20profile','source','237KGHjaU','string','app','stringify','appRegion','appName','projectRegion','project','global\x20Rabetbase\x20configuration','null','project\x20Rabetbase\x20configuration','a\x20value\x20of\x20type\x20','34192OWEbtS'];a270_0xdd9c=function(){return _0x4459e9;};return a270_0xdd9c();}export function resolveEffectiveRegion(_0x30a984){const _0x37a464=a270_0xed4e,_0xba1fc9=selectConfiguredRegion(_0x30a984),_0x23f59a=_0xba1fc9[_0x37a464(0x1ab)]==='app'?_0x30a984[_0x37a464(0x1b1)]?_0x37a464(0x19c)+_0x30a984['appName']+'\x22':_0x37a464(0x1aa):_0xba1fc9[_0x37a464(0x1ab)]==='project'?_0x37a464(0x1b6):_0xba1fc9[_0x37a464(0x1ab)]===_0x37a464(0x1a1)?_0x37a464(0x1b4):'Rabetbase\x20configuration';return{'region':resolveConfiguredRegion(_0xba1fc9[_0x37a464(0x1bb)],_0x23f59a),'source':_0xba1fc9[_0x37a464(0x1ab)]};}
1
+ const a271_0x455964=a271_0x3705;(function(_0xe46ee9,_0x4c510b){const _0x182f44=a271_0x3705,_0x30df62=_0xe46ee9();while(!![]){try{const _0x4c9d09=parseInt(_0x182f44(0x171))/0x1*(-parseInt(_0x182f44(0x161))/0x2)+-parseInt(_0x182f44(0x172))/0x3*(-parseInt(_0x182f44(0x17b))/0x4)+parseInt(_0x182f44(0x175))/0x5+parseInt(_0x182f44(0x16c))/0x6*(-parseInt(_0x182f44(0x177))/0x7)+parseInt(_0x182f44(0x167))/0x8*(parseInt(_0x182f44(0x160))/0x9)+-parseInt(_0x182f44(0x179))/0xa*(parseInt(_0x182f44(0x15f))/0xb)+parseInt(_0x182f44(0x16e))/0xc*(parseInt(_0x182f44(0x17c))/0xd);if(_0x4c9d09===_0x4c510b)break;else _0x30df62['push'](_0x30df62['shift']());}catch(_0x49557b){_0x30df62['push'](_0x30df62['shift']());}}}(a271_0x438a,0xf1868));import{CLI_BIN_NAME}from'../constant/cli.js';function a271_0x3705(_0x120c1f,_0x23d9ef){_0x120c1f=_0x120c1f-0x15b;const _0x438ac1=a271_0x438a();let _0x37055b=_0x438ac1[_0x120c1f];return _0x37055b;}function a271_0x438a(){const _0x2eced9=['\x20in\x20','source','102NDIAGu','globalRegion','3840fmUKGY','appName','stringify','32zcBsIS','3UMCUiX','value','mergedRegion','7287450gvFZRR','a\x20value\x20of\x20type\x20','750274uSiLfr','projectRegion','20AkPcwk','global','6002372niwfxS','52975JipUXA','project','default','validation','Invalid\x20country/region\x20','5838085DWsUJl','9ucwvor','102662vDYMhY','selected\x20app\x20profile','appRegion','string','config','app\x20profile\x20\x22','10026888wPlZol','Rabetbase\x20configuration','project\x20Rabetbase\x20configuration'];a271_0x438a=function(){return _0x2eced9;};return a271_0x438a();}import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'../constant/region.js';import{CliErrors}from'../errors.js';export function selectConfiguredRegion(_0x4f42dc){const _0x4c0c8d=a271_0x3705;if(_0x4f42dc[_0x4c0c8d(0x163)]!==undefined&&_0x4f42dc[_0x4c0c8d(0x163)]!==null&&_0x4f42dc[_0x4c0c8d(0x163)]!=='')return{'value':_0x4f42dc[_0x4c0c8d(0x163)],'source':'app'};if(_0x4f42dc[_0x4c0c8d(0x178)]!==undefined&&_0x4f42dc[_0x4c0c8d(0x178)]!==null&&_0x4f42dc[_0x4c0c8d(0x178)]!=='')return{'value':_0x4f42dc[_0x4c0c8d(0x178)],'source':_0x4c0c8d(0x15b)};if(_0x4f42dc[_0x4c0c8d(0x16d)]!==undefined&&_0x4f42dc[_0x4c0c8d(0x16d)]!==null&&_0x4f42dc['globalRegion']!=='')return{'value':_0x4f42dc[_0x4c0c8d(0x16d)],'source':_0x4c0c8d(0x17a)};if(_0x4f42dc[_0x4c0c8d(0x174)]!==undefined&&_0x4f42dc[_0x4c0c8d(0x174)]!==null&&_0x4f42dc[_0x4c0c8d(0x174)]!=='')return{'value':_0x4f42dc[_0x4c0c8d(0x174)],'source':_0x4c0c8d(0x165)};return{'value':undefined,'source':_0x4c0c8d(0x15c)};}function describeConfiguredRegion(_0x1c0e3b){const _0x157959=a271_0x3705;return typeof _0x1c0e3b===_0x157959(0x164)?JSON[_0x157959(0x170)](_0x1c0e3b):_0x157959(0x176)+(_0x1c0e3b===null?'null':typeof _0x1c0e3b);}export function resolveConfiguredRegion(_0x93e45a,_0x1d6ebb=a271_0x455964(0x168)){const _0x2d0653=a271_0x455964;if(isInvalidLovrabetRegion(_0x93e45a))throw CliErrors[_0x2d0653(0x15d)](_0x2d0653(0x15e)+describeConfiguredRegion(_0x93e45a)+_0x2d0653(0x16a)+_0x1d6ebb+'.','Run\x20`'+CLI_BIN_NAME+'\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.');return normalizeLovrabetRegion(_0x93e45a)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x289c59){const _0x13868b=a271_0x455964,_0x42b88c=selectConfiguredRegion(_0x289c59),_0xf0af10=_0x42b88c['source']==='app'?_0x289c59[_0x13868b(0x16f)]?_0x13868b(0x166)+_0x289c59['appName']+'\x22':_0x13868b(0x162):_0x42b88c[_0x13868b(0x16b)]===_0x13868b(0x15b)?_0x13868b(0x169):_0x42b88c[_0x13868b(0x16b)]===_0x13868b(0x17a)?'global\x20Rabetbase\x20configuration':'Rabetbase\x20configuration';return{'region':resolveConfiguredRegion(_0x42b88c[_0x13868b(0x173)],_0xf0af10),'source':_0x42b88c[_0x13868b(0x16b)]};}
@@ -1 +1 @@
1
- const a271_0x50e3a9=a271_0x3348;(function(_0x4b110b,_0x15c41e){const _0xcc66dd=a271_0x3348,_0x49c1af=_0x4b110b();while(!![]){try{const _0x2657a3=-parseInt(_0xcc66dd(0x1ed))/0x1*(-parseInt(_0xcc66dd(0x1f2))/0x2)+parseInt(_0xcc66dd(0x204))/0x3+-parseInt(_0xcc66dd(0x1f3))/0x4+-parseInt(_0xcc66dd(0x1f8))/0x5*(parseInt(_0xcc66dd(0x1f7))/0x6)+-parseInt(_0xcc66dd(0x1fa))/0x7*(-parseInt(_0xcc66dd(0x1e7))/0x8)+parseInt(_0xcc66dd(0x203))/0x9+-parseInt(_0xcc66dd(0x1dd))/0xa;if(_0x2657a3===_0x15c41e)break;else _0x49c1af['push'](_0x49c1af['shift']());}catch(_0x18b902){_0x49c1af['push'](_0x49c1af['shift']());}}}(a271_0x11f2,0x7e007));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';function a271_0x11f2(){const _0x3f6150=['keys','7373750ijphwT','riskLevel','Config\x20key\x20(','string','Default\x20page\x20size','runtimeDomain','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','env','object','routing','8qscrRe','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','defaultApp','apiDomain','accessKey','Target\x20environment','44weUFlQ','zh-CN','app','apiDir','region','26354ppdUWm','3584804jNiQMN','Country/region\x20for\x20this\x20app\x20profile','length','map','1436676NsBfbi','15JWSgSo','fromEntries','4669091PkhizU','values','certificateDomain','cookie','Risk\x20level','localDomain','kbDomain','inherit','format','8419194ZYsnyb','2057250gtTDtF','userDomain','appDomain','apiGroup','locale','kbServiceDomain','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','defaultFormat','entries','Auth\x20cookie','pageSize','skillDomain','en-US','trim','API\x20directory\x20path','apps','filter'];a271_0x11f2=function(){return _0x3f6150;};return a271_0x11f2();}export const PROJECT_CREATE_INHERITABLE_KEYS=[a271_0x50e3a9(0x1fd),'accessKey','locale',a271_0x50e3a9(0x202),'riskLevel',a271_0x50e3a9(0x1f1),a271_0x50e3a9(0x1e6),a271_0x50e3a9(0x205),a271_0x50e3a9(0x1ea),a271_0x50e3a9(0x1e2),'skillDomain',a271_0x50e3a9(0x200),a271_0x50e3a9(0x209),a271_0x50e3a9(0x206),a271_0x50e3a9(0x1ff),a271_0x50e3a9(0x1fc)];export const TOP_LEVEL_CONFIG_KEYS=new Set(['appcode',a271_0x50e3a9(0x1e4),'locale',a271_0x50e3a9(0x202),'cookie','accessKey','apiDir',a271_0x50e3a9(0x1f1),'userDomain','apiDomain',a271_0x50e3a9(0x1e2),a271_0x50e3a9(0x1d6),a271_0x50e3a9(0x200),'kbServiceDomain',a271_0x50e3a9(0x206),a271_0x50e3a9(0x1ff),a271_0x50e3a9(0x1fc)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x316a24){return[..._0x316a24]['join'](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x1beda9){return TOP_LEVEL_CONFIG_KEYS['has'](_0x1beda9);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0xdcccbb=a271_0x50e3a9;return _0xdcccbb(0x1df)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':a271_0x50e3a9(0x207),'region':a271_0x50e3a9(0x1f1),'env':'env','apiDir':a271_0x50e3a9(0x1f0),'cookie':a271_0x50e3a9(0x1fd),'accessKey':a271_0x50e3a9(0x1eb),'defaultFormat':a271_0x50e3a9(0x202),'pageSize':a271_0x50e3a9(0x1d5),'riskLevel':a271_0x50e3a9(0x1de),'locale':a271_0x50e3a9(0x208)};export function getAppProfileFlagDefs(){const _0x44955a=a271_0x50e3a9;return[{'name':'apiGroup','type':_0x44955a(0x1e0),'description':_0x44955a(0x1e3)},{'name':'region','type':_0x44955a(0x1e0),'description':_0x44955a(0x1f4),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':'env','type':'string','description':_0x44955a(0x1ec),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x44955a(0x1f0),'type':_0x44955a(0x1e0),'description':_0x44955a(0x1d9)},{'name':'cookie','type':'string','description':_0x44955a(0x1d4),'hidden':!![]},{'name':_0x44955a(0x1eb),'type':_0x44955a(0x1e0),'description':'Access\x20key','hidden':!![]},{'name':_0x44955a(0x1d2),'type':_0x44955a(0x1e0),'description':_0x44955a(0x1e8),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x44955a(0x1d5),'type':'number','description':_0x44955a(0x1e1)},{'name':_0x44955a(0x1de),'type':_0x44955a(0x1e0),'description':_0x44955a(0x1fe),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x44955a(0x208),'type':'string','description':_0x44955a(0x1d1)}];}export function collectAppProfileOverrides(_0x211797){const _0x88f7f4=a271_0x50e3a9,_0x3610b9={};for(const [_0x40af96,_0x6fa2d3]of Object[_0x88f7f4(0x1d3)](APP_PROFILE_FLAG_KEY_MAP)){const _0x15bd5f=_0x211797(_0x40af96);if(!_0x15bd5f)continue;_0x3610b9[_0x6fa2d3]=_0x6fa2d3==='pageSize'?Number(_0x15bd5f):_0x15bd5f;}return _0x3610b9;}export function buildAppProfileListFields(_0x40c9bd){const _0x3a7f21=a271_0x50e3a9;return{'apiGroup':_0x40c9bd[_0x3a7f21(0x207)]??null,'region':_0x40c9bd['region']??null,'env':_0x40c9bd[_0x3a7f21(0x1e4)]??null,'apiDir':_0x40c9bd[_0x3a7f21(0x1f0)]??null,'hasCookie':!!_0x40c9bd[_0x3a7f21(0x1fd)],'hasAccessKey':!!_0x40c9bd[_0x3a7f21(0x1eb)],'format':_0x40c9bd['format']??null,'pageSize':_0x40c9bd['pageSize']??null,'riskLevel':_0x40c9bd[_0x3a7f21(0x1de)]??null,'locale':_0x40c9bd['locale']??null};}export function buildAppDoctorFields(_0x2c7a6a,_0x4f22de){const _0x3d7287=a271_0x50e3a9;return{'region':{'value':_0x2c7a6a['region']||_0x4f22de[_0x3d7287(0x1f1)],'source':_0x2c7a6a[_0x3d7287(0x1f1)]?_0x3d7287(0x1ef):'inherit'},'env':{'value':_0x2c7a6a[_0x3d7287(0x1e4)]||_0x4f22de[_0x3d7287(0x1e4)],'source':_0x2c7a6a[_0x3d7287(0x1e4)]?_0x3d7287(0x1ef):_0x3d7287(0x201)},'apiDir':{'value':_0x2c7a6a[_0x3d7287(0x1f0)]||_0x4f22de[_0x3d7287(0x1f0)],'source':_0x2c7a6a[_0x3d7287(0x1f0)]?_0x3d7287(0x1ef):_0x3d7287(0x201)},'cookie':{'value':_0x2c7a6a[_0x3d7287(0x1fd)]||_0x4f22de[_0x3d7287(0x1fd)],'source':_0x2c7a6a[_0x3d7287(0x1fd)]?_0x3d7287(0x1ef):'inherit'},'accessKey':{'value':_0x2c7a6a['accessKey']||_0x4f22de[_0x3d7287(0x1eb)],'source':_0x2c7a6a[_0x3d7287(0x1eb)]?_0x3d7287(0x1ef):_0x3d7287(0x201)}};}function a271_0x3348(_0x3e24d3,_0x345c85){_0x3e24d3=_0x3e24d3-0x1d1;const _0x11f2bb=a271_0x11f2();let _0x33482c=_0x11f2bb[_0x3e24d3];return _0x33482c;}export function buildCanonicalAppConfig(_0x26c678,_0xe2a941){const _0x123027=a271_0x50e3a9,_0x5c6374=_0x26c678[_0x123027(0x1f6)](_0xd5c5cc=>String(_0xd5c5cc||'')[_0x123027(0x1d8)]())[_0x123027(0x1db)](Boolean);if(_0x5c6374[_0x123027(0x1f5)]===0x0)return{};const _0x17d059={};for(const _0x2e34e8 of _0x5c6374){_0x17d059[_0x2e34e8]=_0xe2a941&&!isProduction(_0xe2a941)?{'appcode':_0x2e34e8,'env':_0xe2a941}:{'appcode':_0x2e34e8};}return _0x5c6374[_0x123027(0x1f5)]>0x1?{'apps':_0x17d059,'defaultApp':_0x5c6374[0x0]}:{'apps':_0x17d059};}export function normalizeStoredDefaultApp(_0x129dca,_0x18be0f){const _0x16f438=a271_0x50e3a9,_0xf0d9d0=_0x129dca[_0x16f438(0x1da)]&&typeof _0x129dca['apps']==='object'?_0x129dca[_0x16f438(0x1da)]:{},_0x5464cc=Object[_0x16f438(0x1dc)](_0xf0d9d0);if(_0x5464cc[_0x16f438(0x1f5)]<=0x1)return delete _0x129dca[_0x16f438(0x1e9)],undefined;const _0x5d05a5=typeof _0x129dca['defaultApp']===_0x16f438(0x1e0)&&_0xf0d9d0[_0x129dca[_0x16f438(0x1e9)]]?_0x129dca[_0x16f438(0x1e9)]:undefined,_0xf19918=_0x18be0f&&_0xf0d9d0[_0x18be0f]?_0x18be0f:_0x5d05a5;if(_0xf19918)return _0x129dca[_0x16f438(0x1e9)]=_0xf19918,_0xf19918;return delete _0x129dca[_0x16f438(0x1e9)],undefined;}export function buildCanonicalProjectConfig(_0x4c0cbc,_0xaec653){const _0x44e5e3=a271_0x50e3a9,{appCodes:appCodes=[],env:_0x155c65,metadata:_0x151bb9}=_0xaec653,_0x4731a6={..._0x4c0cbc,..._0x151bb9||{}};delete _0x4731a6['appcode'],delete _0x4731a6[_0x44e5e3(0x1ef)];const _0x590b9e=_0x155c65||(typeof _0x4731a6[_0x44e5e3(0x1e4)]==='string'?_0x4731a6[_0x44e5e3(0x1e4)]:'')||DEFAULT_CONFIG_VALUES[_0x44e5e3(0x1e4)];if(isProduction(_0x590b9e))delete _0x4731a6[_0x44e5e3(0x1e4)];else _0x4731a6[_0x44e5e3(0x1e4)]=_0x590b9e;const _0x4e9219=buildCanonicalAppConfig(appCodes,_0x590b9e);if(Object['keys'](_0x4e9219)[_0x44e5e3(0x1f5)]>0x0){_0x4731a6[_0x44e5e3(0x1da)]=_0x4e9219[_0x44e5e3(0x1da)];if(_0x4e9219[_0x44e5e3(0x1e9)])_0x4731a6['defaultApp']=_0x4e9219[_0x44e5e3(0x1e9)];else delete _0x4731a6[_0x44e5e3(0x1e9)];}return normalizeConfigForWrite(_0x4731a6);}function isRecord(_0x246b37){const _0x1892f1=a271_0x50e3a9;return!!_0x246b37&&typeof _0x246b37===_0x1892f1(0x1e5)&&!Array['isArray'](_0x246b37);}export function normalizeConfigForWrite(_0x249ec4){const _0x4bbb59=a271_0x50e3a9,_0x744f90={..._0x249ec4},_0x4a56d4=isRecord(_0x249ec4['apps'])?_0x249ec4[_0x4bbb59(0x1da)]:undefined,_0x492f67=_0x4a56d4?Object[_0x4bbb59(0x1f9)](Object[_0x4bbb59(0x1d3)](_0x4a56d4)[_0x4bbb59(0x1f6)](([_0x5dfcbd,_0x391e48])=>[_0x5dfcbd,isRecord(_0x391e48)?{..._0x391e48}:_0x391e48])):undefined;if(_0x492f67){const _0x3d782f=typeof _0x744f90[_0x4bbb59(0x1e4)]===_0x4bbb59(0x1e0)?_0x744f90[_0x4bbb59(0x1e4)]:undefined,_0x2f3579=Object[_0x4bbb59(0x1fb)](_0x492f67)['some'](_0xfd7294=>isRecord(_0xfd7294)&&typeof _0xfd7294[_0x4bbb59(0x1e4)]===_0x4bbb59(0x1e0)&&isProduction(_0xfd7294[_0x4bbb59(0x1e4)]));if(_0x3d782f&&isDaily(_0x3d782f)&&_0x2f3579){for(const _0x49fdab of Object[_0x4bbb59(0x1fb)](_0x492f67)){if(!isRecord(_0x49fdab))continue;if(_0x49fdab[_0x4bbb59(0x1e4)]===undefined)_0x49fdab[_0x4bbb59(0x1e4)]=_0x3d782f;}delete _0x744f90[_0x4bbb59(0x1e4)];}for(const _0x280e19 of Object[_0x4bbb59(0x1fb)](_0x492f67)){isRecord(_0x280e19)&&typeof _0x280e19['env']===_0x4bbb59(0x1e0)&&isProduction(_0x280e19[_0x4bbb59(0x1e4)])&&delete _0x280e19[_0x4bbb59(0x1e4)];}_0x744f90[_0x4bbb59(0x1da)]=_0x492f67;}return typeof _0x744f90['env']===_0x4bbb59(0x1e0)&&isProduction(_0x744f90[_0x4bbb59(0x1e4)])&&delete _0x744f90['env'],_0x744f90;}const LOCALE_MAP={'zh':a271_0x50e3a9(0x1ee),'zh-cn':a271_0x50e3a9(0x1ee),'zh_cn':a271_0x50e3a9(0x1ee),'en':a271_0x50e3a9(0x1d7),'en-us':'en-US','en_us':'en-US'};export function normalizeLocale(_0x1c0d44){if(!_0x1c0d44)return null;return LOCALE_MAP[_0x1c0d44['toLowerCase']()]??null;}
1
+ const a272_0x395c25=a272_0x57ea;(function(_0xaee088,_0x4e7d4a){const _0x321789=a272_0x57ea,_0x26bb5d=_0xaee088();while(!![]){try{const _0x5db583=-parseInt(_0x321789(0x1f7))/0x1*(-parseInt(_0x321789(0x1d7))/0x2)+-parseInt(_0x321789(0x1cc))/0x3*(parseInt(_0x321789(0x1bf))/0x4)+parseInt(_0x321789(0x1df))/0x5+parseInt(_0x321789(0x1f1))/0x6+-parseInt(_0x321789(0x1e4))/0x7*(parseInt(_0x321789(0x1da))/0x8)+parseInt(_0x321789(0x1cb))/0x9*(-parseInt(_0x321789(0x1e8))/0xa)+parseInt(_0x321789(0x1ce))/0xb*(-parseInt(_0x321789(0x1d9))/0xc);if(_0x5db583===_0x4e7d4a)break;else _0x26bb5d['push'](_0x26bb5d['shift']());}catch(_0x1d4ae8){_0x26bb5d['push'](_0x26bb5d['shift']());}}}(a272_0x29ef,0xef5c5));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_0x395c25(0x1d6),a272_0x395c25(0x1be),a272_0x395c25(0x1d4),a272_0x395c25(0x1f6),a272_0x395c25(0x1f3),a272_0x395c25(0x1c4),a272_0x395c25(0x1dc),a272_0x395c25(0x1e7),'apiDomain',a272_0x395c25(0x1e2),a272_0x395c25(0x1c9),a272_0x395c25(0x1d5),a272_0x395c25(0x1db),a272_0x395c25(0x1ef),'localDomain',a272_0x395c25(0x1ea)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a272_0x395c25(0x1e5),a272_0x395c25(0x1d3),a272_0x395c25(0x1d4),a272_0x395c25(0x1f6),a272_0x395c25(0x1d6),a272_0x395c25(0x1be),'apiDir',a272_0x395c25(0x1c4),a272_0x395c25(0x1e7),a272_0x395c25(0x1e9),a272_0x395c25(0x1e2),'skillDomain',a272_0x395c25(0x1d5),a272_0x395c25(0x1db),a272_0x395c25(0x1ef),'localDomain',a272_0x395c25(0x1ea)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x2d784f){const _0x4db3d0=a272_0x395c25;return[..._0x2d784f][_0x4db3d0(0x1cf)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x370d93){const _0x5f4435=a272_0x395c25;return TOP_LEVEL_CONFIG_KEYS[_0x5f4435(0x1d1)](_0x370d93);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x25011f=a272_0x395c25;return _0x25011f(0x1bc)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':'apiGroup','region':a272_0x395c25(0x1c4),'env':a272_0x395c25(0x1d3),'apiDir':a272_0x395c25(0x1f8),'cookie':'cookie','accessKey':a272_0x395c25(0x1be),'defaultFormat':a272_0x395c25(0x1f6),'pageSize':a272_0x395c25(0x1c3),'riskLevel':a272_0x395c25(0x1f3),'locale':a272_0x395c25(0x1d4)};function a272_0x29ef(){const _0x113408=['skillDomain','keys','1093797TyyjMA','8232NqojyQ','app','11zBQDgl','join','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','has','en-US','env','locale','kbDomain','cookie','1507694wnGTIC','some','16273260XLQuAA','2112512ltCxaO','kbServiceDomain','routing','string','inherit','8776255zJzBmg','fromEntries','entries','runtimeDomain','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','28BYikyX','appcode','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','userDomain','30kLZjuQ','apiDomain','certificateDomain','map','Auth\x20cookie','Target\x20environment','zh-CN','appDomain','values','8625714uqGPZr','API\x20directory\x20path','riskLevel','apps','Risk\x20level','format','1LXDUlV','apiDir','defaultFormat','Config\x20key\x20(','isArray','accessKey','276MCUbWo','object','Access\x20key','apiGroup','pageSize','region','defaultApp','Default\x20page\x20size','length','trim'];a272_0x29ef=function(){return _0x113408;};return a272_0x29ef();}export function getAppProfileFlagDefs(){const _0x236c7c=a272_0x395c25;return[{'name':_0x236c7c(0x1c2),'type':_0x236c7c(0x1dd),'description':_0x236c7c(0x1e3)},{'name':_0x236c7c(0x1c4),'type':_0x236c7c(0x1dd),'description':'Country/region\x20for\x20this\x20app\x20profile','enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':_0x236c7c(0x1d3),'type':'string','description':_0x236c7c(0x1ed),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x236c7c(0x1f8),'type':_0x236c7c(0x1dd),'description':_0x236c7c(0x1f2)},{'name':_0x236c7c(0x1d6),'type':_0x236c7c(0x1dd),'description':_0x236c7c(0x1ec),'hidden':!![]},{'name':_0x236c7c(0x1be),'type':'string','description':_0x236c7c(0x1c1),'hidden':!![]},{'name':_0x236c7c(0x1bb),'type':_0x236c7c(0x1dd),'description':_0x236c7c(0x1e6),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x236c7c(0x1c3),'type':'number','description':_0x236c7c(0x1c6)},{'name':_0x236c7c(0x1f3),'type':_0x236c7c(0x1dd),'description':_0x236c7c(0x1f5),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x236c7c(0x1d4),'type':_0x236c7c(0x1dd),'description':_0x236c7c(0x1d0)}];}export function collectAppProfileOverrides(_0x5c1af0){const _0x3df2c3=a272_0x395c25,_0x5510f2={};for(const [_0x5a0bb2,_0x51b9f7]of Object[_0x3df2c3(0x1e1)](APP_PROFILE_FLAG_KEY_MAP)){const _0x35db21=_0x5c1af0(_0x5a0bb2);if(!_0x35db21)continue;_0x5510f2[_0x51b9f7]=_0x51b9f7===_0x3df2c3(0x1c3)?Number(_0x35db21):_0x35db21;}return _0x5510f2;}export function buildAppProfileListFields(_0x229bf3){const _0x3d53a7=a272_0x395c25;return{'apiGroup':_0x229bf3['apiGroup']??null,'region':_0x229bf3[_0x3d53a7(0x1c4)]??null,'env':_0x229bf3[_0x3d53a7(0x1d3)]??null,'apiDir':_0x229bf3['apiDir']??null,'hasCookie':!!_0x229bf3[_0x3d53a7(0x1d6)],'hasAccessKey':!!_0x229bf3['accessKey'],'format':_0x229bf3['format']??null,'pageSize':_0x229bf3[_0x3d53a7(0x1c3)]??null,'riskLevel':_0x229bf3[_0x3d53a7(0x1f3)]??null,'locale':_0x229bf3['locale']??null};}export function buildAppDoctorFields(_0x2d5507,_0xd37d1e){const _0x58eff9=a272_0x395c25;return{'region':{'value':_0x2d5507[_0x58eff9(0x1c4)]||_0xd37d1e[_0x58eff9(0x1c4)],'source':_0x2d5507[_0x58eff9(0x1c4)]?_0x58eff9(0x1cd):_0x58eff9(0x1de)},'env':{'value':_0x2d5507['env']||_0xd37d1e[_0x58eff9(0x1d3)],'source':_0x2d5507['env']?_0x58eff9(0x1cd):_0x58eff9(0x1de)},'apiDir':{'value':_0x2d5507[_0x58eff9(0x1f8)]||_0xd37d1e['apiDir'],'source':_0x2d5507['apiDir']?'app':_0x58eff9(0x1de)},'cookie':{'value':_0x2d5507[_0x58eff9(0x1d6)]||_0xd37d1e[_0x58eff9(0x1d6)],'source':_0x2d5507[_0x58eff9(0x1d6)]?'app':_0x58eff9(0x1de)},'accessKey':{'value':_0x2d5507[_0x58eff9(0x1be)]||_0xd37d1e[_0x58eff9(0x1be)],'source':_0x2d5507[_0x58eff9(0x1be)]?_0x58eff9(0x1cd):_0x58eff9(0x1de)}};}export function buildCanonicalAppConfig(_0x3097b9,_0x5b3fd2){const _0x2027b0=a272_0x395c25,_0x88ad5c=_0x3097b9[_0x2027b0(0x1eb)](_0x31affd=>String(_0x31affd||'')[_0x2027b0(0x1c8)]())['filter'](Boolean);if(_0x88ad5c[_0x2027b0(0x1c7)]===0x0)return{};const _0x9e79c3={};for(const _0x5cf7fa of _0x88ad5c){_0x9e79c3[_0x5cf7fa]=_0x5b3fd2&&!isProduction(_0x5b3fd2)?{'appcode':_0x5cf7fa,'env':_0x5b3fd2}:{'appcode':_0x5cf7fa};}return _0x88ad5c['length']>0x1?{'apps':_0x9e79c3,'defaultApp':_0x88ad5c[0x0]}:{'apps':_0x9e79c3};}export function normalizeStoredDefaultApp(_0x426105,_0x13ebc8){const _0x5257b9=a272_0x395c25,_0x337839=_0x426105[_0x5257b9(0x1f4)]&&typeof _0x426105[_0x5257b9(0x1f4)]===_0x5257b9(0x1c0)?_0x426105[_0x5257b9(0x1f4)]:{},_0x44f176=Object['keys'](_0x337839);if(_0x44f176['length']<=0x1)return delete _0x426105[_0x5257b9(0x1c5)],undefined;const _0x5a21e3=typeof _0x426105[_0x5257b9(0x1c5)]===_0x5257b9(0x1dd)&&_0x337839[_0x426105[_0x5257b9(0x1c5)]]?_0x426105[_0x5257b9(0x1c5)]:undefined,_0x1747f5=_0x13ebc8&&_0x337839[_0x13ebc8]?_0x13ebc8:_0x5a21e3;if(_0x1747f5)return _0x426105[_0x5257b9(0x1c5)]=_0x1747f5,_0x1747f5;return delete _0x426105[_0x5257b9(0x1c5)],undefined;}export function buildCanonicalProjectConfig(_0x341a77,_0xdb748e){const _0x38ddfb=a272_0x395c25,{appCodes:appCodes=[],env:_0x5d9f07,metadata:_0x181eae}=_0xdb748e,_0x25f55c={..._0x341a77,..._0x181eae||{}};delete _0x25f55c[_0x38ddfb(0x1e5)],delete _0x25f55c[_0x38ddfb(0x1cd)];const _0x357f03=_0x5d9f07||(typeof _0x25f55c[_0x38ddfb(0x1d3)]===_0x38ddfb(0x1dd)?_0x25f55c[_0x38ddfb(0x1d3)]:'')||DEFAULT_CONFIG_VALUES[_0x38ddfb(0x1d3)];if(isProduction(_0x357f03))delete _0x25f55c[_0x38ddfb(0x1d3)];else _0x25f55c['env']=_0x357f03;const _0x38ce9c=buildCanonicalAppConfig(appCodes,_0x357f03);if(Object[_0x38ddfb(0x1ca)](_0x38ce9c)[_0x38ddfb(0x1c7)]>0x0){_0x25f55c[_0x38ddfb(0x1f4)]=_0x38ce9c[_0x38ddfb(0x1f4)];if(_0x38ce9c['defaultApp'])_0x25f55c[_0x38ddfb(0x1c5)]=_0x38ce9c['defaultApp'];else delete _0x25f55c['defaultApp'];}return normalizeConfigForWrite(_0x25f55c);}function isRecord(_0x38df54){const _0x57cd38=a272_0x395c25;return!!_0x38df54&&typeof _0x38df54===_0x57cd38(0x1c0)&&!Array[_0x57cd38(0x1bd)](_0x38df54);}function a272_0x57ea(_0x49ae0d,_0x35f875){_0x49ae0d=_0x49ae0d-0x1bb;const _0x29efb6=a272_0x29ef();let _0x57ea5a=_0x29efb6[_0x49ae0d];return _0x57ea5a;}export function normalizeConfigForWrite(_0x151c3c){const _0x2bb6de=a272_0x395c25,_0x4ec27d={..._0x151c3c},_0x87215c=isRecord(_0x151c3c[_0x2bb6de(0x1f4)])?_0x151c3c[_0x2bb6de(0x1f4)]:undefined,_0x389bd=_0x87215c?Object[_0x2bb6de(0x1e0)](Object[_0x2bb6de(0x1e1)](_0x87215c)[_0x2bb6de(0x1eb)](([_0xf1c629,_0x900248])=>[_0xf1c629,isRecord(_0x900248)?{..._0x900248}:_0x900248])):undefined;if(_0x389bd){const _0x1ecb70=typeof _0x4ec27d[_0x2bb6de(0x1d3)]==='string'?_0x4ec27d[_0x2bb6de(0x1d3)]:undefined,_0x2c79b7=Object['values'](_0x389bd)[_0x2bb6de(0x1d8)](_0x4507d2=>isRecord(_0x4507d2)&&typeof _0x4507d2[_0x2bb6de(0x1d3)]===_0x2bb6de(0x1dd)&&isProduction(_0x4507d2['env']));if(_0x1ecb70&&isDaily(_0x1ecb70)&&_0x2c79b7){for(const _0x10ad1b of Object[_0x2bb6de(0x1f0)](_0x389bd)){if(!isRecord(_0x10ad1b))continue;if(_0x10ad1b[_0x2bb6de(0x1d3)]===undefined)_0x10ad1b[_0x2bb6de(0x1d3)]=_0x1ecb70;}delete _0x4ec27d[_0x2bb6de(0x1d3)];}for(const _0x26b088 of Object[_0x2bb6de(0x1f0)](_0x389bd)){isRecord(_0x26b088)&&typeof _0x26b088[_0x2bb6de(0x1d3)]==='string'&&isProduction(_0x26b088[_0x2bb6de(0x1d3)])&&delete _0x26b088[_0x2bb6de(0x1d3)];}_0x4ec27d[_0x2bb6de(0x1f4)]=_0x389bd;}return typeof _0x4ec27d[_0x2bb6de(0x1d3)]===_0x2bb6de(0x1dd)&&isProduction(_0x4ec27d[_0x2bb6de(0x1d3)])&&delete _0x4ec27d[_0x2bb6de(0x1d3)],_0x4ec27d;}const LOCALE_MAP={'zh':a272_0x395c25(0x1ee),'zh-cn':a272_0x395c25(0x1ee),'zh_cn':a272_0x395c25(0x1ee),'en':'en-US','en-us':a272_0x395c25(0x1d2),'en_us':a272_0x395c25(0x1d2)};export function normalizeLocale(_0x3ac111){if(!_0x3ac111)return null;return LOCALE_MAP[_0x3ac111['toLowerCase']()]??null;}
@@ -1 +1 @@
1
- function a272_0x5e8d(){const _0x2bbd99=['2169087CKgFpG','3232enwxfP','freeze','12lMlcTK','.zip','397882UPoEQW','sub-app-react-demo-','templates/projects','rabetbase-cli','sub-app-react-demo-beta.zip','508850zvaEqT','config/index.json','sub-app-react-demo.zip','1459900pwPzxo','97856dHtFAC','20727doKHCy','/dist/','253qDmyvc','4034835jCnjZQ','lovrabet','2UlWpcY'];a272_0x5e8d=function(){return _0x2bbd99;};return a272_0x5e8d();}const a272_0x20463f=a272_0x2644;(function(_0x532c8d,_0x409315){const _0x1a9483=a272_0x2644,_0x3ec2a2=_0x532c8d();while(!![]){try{const _0x4db07a=parseInt(_0x1a9483(0x163))/0x1*(-parseInt(_0x1a9483(0x169))/0x2)+-parseInt(_0x1a9483(0x164))/0x3+parseInt(_0x1a9483(0x172))/0x4+parseInt(_0x1a9483(0x16e))/0x5*(-parseInt(_0x1a9483(0x167))/0x6)+-parseInt(_0x1a9483(0x176))/0x7+parseInt(_0x1a9483(0x165))/0x8*(-parseInt(_0x1a9483(0x173))/0x9)+parseInt(_0x1a9483(0x171))/0xa*(parseInt(_0x1a9483(0x175))/0xb);if(_0x4db07a===_0x409315)break;else _0x3ec2a2['push'](_0x3ec2a2['shift']());}catch(_0x47eecc){_0x3ec2a2['push'](_0x3ec2a2['shift']());}}}(a272_0x5e8d,0x86836));function a272_0x2644(_0x184d8b,_0x129d02){_0x184d8b=_0x184d8b-0x162;const _0x5e8de2=a272_0x5e8d();let _0x2644dd=_0x5e8de2[_0x184d8b];return _0x2644dd;}import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT=a272_0x20463f(0x16c),RABETBASE_CDN_CONFIG_ORIGIN='https://g.lovrabet.com',CDN_CONFIG_PATH=a272_0x20463f(0x16f),PROJECT_TEMPLATE_ASSET_PATH=a272_0x20463f(0x16b),PROJECT_TEMPLATE_ARCHIVE_NAMES=Object[a272_0x20463f(0x166)]({'release':a272_0x20463f(0x170),'beta':a272_0x20463f(0x16d)});export const RABETBASE_CDN_PROJECT_PATH=a272_0x20463f(0x174)+RABETBASE_CDN_PROJECT;function getRabetbaseCdnBaseUrl(){const _0x1d4fc7=a272_0x20463f;return''+getActiveCdn()[_0x1d4fc7(0x162)]+RABETBASE_CDN_PROJECT_PATH;}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}export function getProjectTemplateAssetBaseUrl(){return getRabetbaseCdnBaseUrl()+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x25fbbc,_0x54ccc6){const _0x483434=a272_0x20463f,_0x25f103=_0x54ccc6?_0x483434(0x16a)+_0x54ccc6+_0x483434(0x168):PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x25fbbc];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x25f103;}
1
+ const a273_0x4b5784=a273_0x3b19;(function(_0x4917e4,_0x4f577a){const _0x56ab16=a273_0x3b19,_0x4f9f08=_0x4917e4();while(!![]){try{const _0x35b90e=-parseInt(_0x56ab16(0x1a2))/0x1*(-parseInt(_0x56ab16(0x1a4))/0x2)+-parseInt(_0x56ab16(0x19a))/0x3*(parseInt(_0x56ab16(0x199))/0x4)+-parseInt(_0x56ab16(0x19d))/0x5+parseInt(_0x56ab16(0x1a3))/0x6+parseInt(_0x56ab16(0x1a1))/0x7*(parseInt(_0x56ab16(0x1a7))/0x8)+parseInt(_0x56ab16(0x1a5))/0x9+parseInt(_0x56ab16(0x1a6))/0xa;if(_0x35b90e===_0x4f577a)break;else _0x4f9f08['push'](_0x4f9f08['shift']());}catch(_0xeba669){_0x4f9f08['push'](_0x4f9f08['shift']());}}}(a273_0x2dd7,0xa97eb));import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT=a273_0x4b5784(0x19b),RABETBASE_CDN_CONFIG_ORIGIN='https://g.lovrabet.com',CDN_CONFIG_PATH=a273_0x4b5784(0x19f),PROJECT_TEMPLATE_ASSET_PATH=a273_0x4b5784(0x1a0),PROJECT_TEMPLATE_ARCHIVE_NAMES=Object['freeze']({'release':a273_0x4b5784(0x19c),'beta':'sub-app-react-demo-beta.zip'});export const RABETBASE_CDN_PROJECT_PATH='/dist/'+RABETBASE_CDN_PROJECT;function getRabetbaseCdnBaseUrl(){const _0xa96b59=a273_0x4b5784;return''+getActiveCdn()[_0xa96b59(0x19e)]+RABETBASE_CDN_PROJECT_PATH;}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}function a273_0x2dd7(){const _0x8df9be=['lovrabet','config/index.json','templates/projects','3524185sykAvg','16hJOCxz','4360536xJnmbl','31126alrMtN','333801ObwVMO','1453410HLrVse','16DzbIrO','16uEtJAq','873189bUDgDK','rabetbase-cli','sub-app-react-demo.zip','1533005ibLGLN'];a273_0x2dd7=function(){return _0x8df9be;};return a273_0x2dd7();}export function getProjectTemplateAssetBaseUrl(){return getRabetbaseCdnBaseUrl()+'/'+PROJECT_TEMPLATE_ASSET_PATH;}function a273_0x3b19(_0x580a78,_0x36ffa9){_0x580a78=_0x580a78-0x199;const _0x2dd7e9=a273_0x2dd7();let _0x3b19b2=_0x2dd7e9[_0x580a78];return _0x3b19b2;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x5dacbc,_0xc02131){const _0x39ad2=_0xc02131?'sub-app-react-demo-'+_0xc02131+'.zip':PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x5dacbc];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x39ad2;}
@@ -1 +1 @@
1
- const a273_0x447cfd=a273_0x1a65;(function(_0x1d1551,_0x2851fc){const _0x58afb0=a273_0x1a65,_0x58f332=_0x1d1551();while(!![]){try{const _0x4f9b30=parseInt(_0x58afb0(0xe6))/0x1*(parseInt(_0x58afb0(0xd2))/0x2)+parseInt(_0x58afb0(0xc1))/0x3*(-parseInt(_0x58afb0(0x77))/0x4)+parseInt(_0x58afb0(0xeb))/0x5*(-parseInt(_0x58afb0(0xc2))/0x6)+-parseInt(_0x58afb0(0xf3))/0x7*(parseInt(_0x58afb0(0x92))/0x8)+-parseInt(_0x58afb0(0x94))/0x9+-parseInt(_0x58afb0(0x9d))/0xa+-parseInt(_0x58afb0(0x87))/0xb*(-parseInt(_0x58afb0(0xfe))/0xc);if(_0x4f9b30===_0x2851fc)break;else _0x58f332['push'](_0x58f332['shift']());}catch(_0x4a513e){_0x58f332['push'](_0x58f332['shift']());}}}(a273_0x14e8,0x8e438));function a273_0x14e8(){const _0x309cbe=['SQL\x20code','non-interactive','flowName','verbose','4rOerIq','expected-count','Tags','Apply\x20to\x20all','DB\x20ID','functionNode','watch','Use\x20project\x20config\x20scope','Read\x20value\x20from\x20environment\x20variable','Expected\x20current\x20menu\x20path','codes','Skip\x20import\x20generation','Page\x20number','Use\x20global\x20config\x20scope','Watch\x20mode','expectedChildrenCount','3087513sbZnNW','task-id','tags','Environment','page-size','<name>','string','fromEntries','Flow\x20status','flow-type','Description\x20file','72RBXdeS','page','2289096nHWLKl','descriptionFile','taskId','Expected\x20current\x20child\x20count','flow-code','flow-name','Output\x20format','label','Force\x20overwrite','7907060oqTOxF','reveal','Flow\x20code','global','Comma-separated\x20menu\x20IDs','expected-children-count','production\x20|\x20daily','nonInteractive','flowStatus','Override\x20appcode','key','Config\x20value','force','Dataset\x20code','sqlname','sqlName','confirm','query','name','Flow\x20name','Reveal\x20sensitive\x20value','Function\x20node','Schemas','operation-type','function-node','all','Menu\x20sort\x20value','Read\x20value\x20from\x20stdin','from-env','Name','target','Parent\x20menu\x20id','keyword','app','expect-path','SQL\x20string','662199uTWPOi','126156BBMlzV','Rabetbase\x20CLI','schemas','@lovrabet/rabetbase-cli','Code\x20filter','Flow\x20type','locale','dry-run','file','Asynchronous\x20task\x20ID','yes','boolean','sql','Target\x20path','operationType','enable-bff-save','116ycmxvK','Force\x20non-interactive\x20mode\x20(CI)','code','SQL\x20name','help','File\x20path','operation','dataset-code','Maximum\x20search\x20hits','env','topk','sort','description','Operation\x20type','title','Skip\x20confirmation\x20for\x20high-risk\x20writes','Show\x20help','<code>','dbid','type','13469sAHQXJ','clear','map','datasetcode','value','200hzxdqz','enableBffSave','Alias\x20for\x20--non-interactive','appcode','format','expectedCount','stdin','meowKey','262213SYQySK','sqlcode','Clear','Keyword\x20filter','output','db-id','dryRun','Description','datasetCode','menuIds','flowType','96NuEGsF','expectPath','Page\x20size','flow-status'];a273_0x14e8=function(){return _0x309cbe;};return a273_0x14e8();}export const CLI_BIN_NAME='rabetbase';export const CLI_DISPLAY_NAME=a273_0x447cfd(0xc3);function a273_0x1a65(_0xa9a868,_0x503894){_0xa9a868=_0xa9a868-0x77;const _0x14e8e0=a273_0x14e8();let _0x1a6575=_0x14e8e0[_0xa9a868];return _0x1a6575;}export const NPM_PACKAGE_NAME=a273_0x447cfd(0xc5);export const GLOBAL_FLAGS=[{'name':a273_0x447cfd(0xee),'meowKey':a273_0x447cfd(0xee),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xa6),'hint':a273_0x447cfd(0xe3)},{'name':a273_0x447cfd(0xbe),'meowKey':a273_0x447cfd(0xbe),'type':a273_0x447cfd(0x8d),'description':'Select\x20app\x20profile\x20by\x20name','hint':a273_0x447cfd(0x8c)},{'name':'env','meowKey':a273_0x447cfd(0xdb),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x8a),'hint':a273_0x447cfd(0xa3)},{'name':a273_0x447cfd(0xef),'meowKey':a273_0x447cfd(0xef),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x9a),'hint':'json\x20|\x20pretty\x20|\x20compress'},{'name':'jq','meowKey':'jq','type':a273_0x447cfd(0x8d),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','hint':'<expr>'},{'name':a273_0x447cfd(0xc9),'meowKey':a273_0x447cfd(0xf9),'type':a273_0x447cfd(0xcd),'description':'Preview\x20operation\x20without\x20executing'},{'name':a273_0x447cfd(0xcc),'meowKey':'yes','type':a273_0x447cfd(0xcd),'description':a273_0x447cfd(0xe1)},{'name':a273_0x447cfd(0x103),'meowKey':a273_0x447cfd(0xa4),'type':a273_0x447cfd(0xcd),'description':a273_0x447cfd(0xd3)},{'name':'global','meowKey':a273_0x447cfd(0xa0),'type':a273_0x447cfd(0xcd),'description':a273_0x447cfd(0x84)},{'name':'project','meowKey':'project','type':a273_0x447cfd(0xcd),'description':a273_0x447cfd(0x7e)},{'name':'ci','meowKey':'ci','type':a273_0x447cfd(0xcd),'description':a273_0x447cfd(0xed),'hidden':!![]},{'name':a273_0x447cfd(0xd6),'meowKey':'help','type':'boolean','description':a273_0x447cfd(0xe2)},{'name':a273_0x447cfd(0xc8),'meowKey':a273_0x447cfd(0xc8),'type':'string','description':'App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','hidden':!![],'hint':'zh-CN\x20|\x20en-US'},{'name':'name','meowKey':a273_0x447cfd(0xaf),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xba),'hidden':!![]},{'name':'title','meowKey':a273_0x447cfd(0xe0),'type':'string','description':'Title','hidden':!![]},{'name':'query','meowKey':a273_0x447cfd(0xae),'type':a273_0x447cfd(0x8d),'description':'Search\x20query','hidden':!![]},{'name':a273_0x447cfd(0xdc),'meowKey':a273_0x447cfd(0xdc),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xda),'hidden':!![]},{'name':a273_0x447cfd(0xe7),'meowKey':'clear','type':a273_0x447cfd(0xcd),'description':a273_0x447cfd(0xf5),'hidden':!![]},{'name':a273_0x447cfd(0x7d),'meowKey':a273_0x447cfd(0x7d),'type':'boolean','description':a273_0x447cfd(0x85),'hidden':!![]},{'name':a273_0x447cfd(0xf7),'meowKey':a273_0x447cfd(0xf7),'type':a273_0x447cfd(0x8d),'description':'Output\x20path','hidden':!![]},{'name':'params','meowKey':'params','type':a273_0x447cfd(0x8d),'description':'JSON\x20params','hidden':!![]},{'name':a273_0x447cfd(0xe9),'meowKey':a273_0x447cfd(0xe9),'type':'string','description':a273_0x447cfd(0xaa),'hidden':!![]},{'name':a273_0x447cfd(0xb6),'meowKey':a273_0x447cfd(0xb6),'type':a273_0x447cfd(0xcd),'description':a273_0x447cfd(0x7a),'hidden':!![]},{'name':a273_0x447cfd(0xd1),'meowKey':a273_0x447cfd(0xec),'type':a273_0x447cfd(0xcd),'description':'Enable\x20Backend\x20Function\x20save','hidden':!![]},{'name':'id','meowKey':'id','type':a273_0x447cfd(0x8d),'description':'Record\x20ID','hidden':!![]},{'name':a273_0x447cfd(0xe5),'meowKey':a273_0x447cfd(0xe5),'type':'string','description':'Type\x20filter','hidden':!![]},{'name':a273_0x447cfd(0xca),'meowKey':a273_0x447cfd(0xca),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xd7),'hidden':!![]},{'name':a273_0x447cfd(0x98),'meowKey':'flowCode','type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x9f),'hidden':!![]},{'name':a273_0x447cfd(0x99),'meowKey':a273_0x447cfd(0x104),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xb0),'hidden':!![]},{'name':a273_0x447cfd(0x101),'meowKey':a273_0x447cfd(0xa5),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x8f),'hidden':!![]},{'name':a273_0x447cfd(0x90),'meowKey':a273_0x447cfd(0xfd),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xc7),'hidden':!![]},{'name':a273_0x447cfd(0xd9),'meowKey':a273_0x447cfd(0xfb),'type':a273_0x447cfd(0x8d),'description':'Dataset\x20code','hidden':!![]},{'name':'sqlcode','meowKey':a273_0x447cfd(0xf4),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x102),'hidden':!![]},{'name':'sql-name','meowKey':a273_0x447cfd(0xac),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xd5),'hidden':!![]},{'name':a273_0x447cfd(0xab),'meowKey':a273_0x447cfd(0xab),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xd5),'hidden':!![]},{'name':a273_0x447cfd(0xf8),'meowKey':'dbId','type':a273_0x447cfd(0x8d),'description':'DB\x20ID','hidden':!![]},{'name':a273_0x447cfd(0xe4),'meowKey':a273_0x447cfd(0xe4),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x7b),'hidden':!![]},{'name':a273_0x447cfd(0xde),'meowKey':a273_0x447cfd(0xde),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xfa),'hidden':!![]},{'name':'description-file','meowKey':a273_0x447cfd(0x95),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x91),'hidden':!![]},{'name':a273_0x447cfd(0x93),'meowKey':a273_0x447cfd(0x93),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x83),'hidden':!![]},{'name':a273_0x447cfd(0x8b),'meowKey':'pageSize','type':'string','description':a273_0x447cfd(0x100),'hidden':!![]},{'name':'pagesize','meowKey':'pagesize','type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x100),'hidden':!![]},{'name':a273_0x447cfd(0xbd),'meowKey':a273_0x447cfd(0xbd),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xf6),'hidden':!![]},{'name':a273_0x447cfd(0xd4),'meowKey':'code','type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xc6),'hidden':!![]},{'name':a273_0x447cfd(0xce),'meowKey':a273_0x447cfd(0xce),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xc0),'hidden':!![]},{'name':'schemas','meowKey':a273_0x447cfd(0xc4),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xb3),'hidden':!![]},{'name':a273_0x447cfd(0xd8),'meowKey':a273_0x447cfd(0xd8),'type':'string','description':a273_0x447cfd(0xdf),'hidden':!![]},{'name':a273_0x447cfd(0xbb),'meowKey':a273_0x447cfd(0xbb),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xcf),'hidden':!![]},{'name':'skip-imports','meowKey':'skipImports','type':a273_0x447cfd(0xcd),'description':a273_0x447cfd(0x82),'hidden':!![]},{'name':a273_0x447cfd(0xa7),'meowKey':a273_0x447cfd(0xa7),'type':a273_0x447cfd(0x8d),'description':'Config\x20key','hidden':!![]},{'name':a273_0x447cfd(0xea),'meowKey':a273_0x447cfd(0xea),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xa8),'hidden':!![]},{'name':a273_0x447cfd(0x89),'meowKey':a273_0x447cfd(0x89),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x79),'hidden':!![]},{'name':a273_0x447cfd(0xf1),'meowKey':a273_0x447cfd(0xf1),'type':a273_0x447cfd(0xcd),'description':a273_0x447cfd(0xb8),'hidden':!![]},{'name':a273_0x447cfd(0xb9),'meowKey':'fromEnv','type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x7f),'hidden':!![]},{'name':a273_0x447cfd(0x9e),'meowKey':a273_0x447cfd(0x9e),'type':'boolean','description':a273_0x447cfd(0xb1),'hidden':!![]},{'name':a273_0x447cfd(0xa9),'meowKey':a273_0x447cfd(0xa9),'type':'boolean','description':a273_0x447cfd(0x9c),'hidden':!![]},{'name':'confirm','meowKey':a273_0x447cfd(0xad),'type':'boolean','description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':'remote','meowKey':'remote','type':a273_0x447cfd(0xcd),'description':'Use\x20remote','hidden':!![]},{'name':a273_0x447cfd(0x105),'meowKey':a273_0x447cfd(0x105),'type':a273_0x447cfd(0xcd),'description':'Verbose\x20output','hidden':!![]},{'name':a273_0x447cfd(0x78),'meowKey':a273_0x447cfd(0xf0),'type':a273_0x447cfd(0x8d),'description':'Expected\x20affected\x20count','hidden':!![]},{'name':a273_0x447cfd(0x9b),'meowKey':a273_0x447cfd(0x9b),'type':a273_0x447cfd(0x8d),'description':'Menu\x20label','hidden':!![]},{'name':'parent-id','meowKey':'parentId','type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xbc),'hidden':!![]},{'name':a273_0x447cfd(0xdd),'meowKey':a273_0x447cfd(0xdd),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xb7),'hidden':!![]},{'name':'expect-parent-id','meowKey':'expectParentId','type':a273_0x447cfd(0x8d),'description':'Expected\x20current\x20parent\x20menu\x20id','hidden':!![]},{'name':a273_0x447cfd(0xbf),'meowKey':a273_0x447cfd(0xff),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x80),'hidden':!![]},{'name':a273_0x447cfd(0xa2),'meowKey':a273_0x447cfd(0x86),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0x97),'hidden':!![]},{'name':'menu-ids','meowKey':a273_0x447cfd(0xfc),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xa1),'hidden':!![]},{'name':a273_0x447cfd(0x88),'meowKey':a273_0x447cfd(0x96),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xcb),'hidden':!![]},{'name':a273_0x447cfd(0xb4),'meowKey':a273_0x447cfd(0xd0),'type':a273_0x447cfd(0x8d),'description':a273_0x447cfd(0xdf),'hidden':!![]},{'name':a273_0x447cfd(0xb5),'meowKey':a273_0x447cfd(0x7c),'type':'string','description':a273_0x447cfd(0xb2),'hidden':!![]},{'name':a273_0x447cfd(0x81),'meowKey':a273_0x447cfd(0x81),'type':'string','description':'Comma-separated\x20metadata\x20codes','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a273_0x447cfd(0xee),'app',a273_0x447cfd(0xdb),a273_0x447cfd(0xef),'jq',a273_0x447cfd(0xc9),'yes',a273_0x447cfd(0x103),'ci']);export function buildMeowFlags(){const _0x327074=a273_0x447cfd;return Object[_0x327074(0x8e)](GLOBAL_FLAGS[_0x327074(0xe8)](_0xe18526=>[_0xe18526[_0x327074(0xf2)],{'type':_0xe18526[_0x327074(0xe5)]}]));}
1
+ function a274_0x5c32(){const _0xb55a8e=['page','6610770JxxbXH','code','parent-id','boolean','Code\x20filter','sort','skip-imports','all','clear','string','Use\x20global\x20config\x20scope','4952UgkiJy','Maximum\x20search\x20hits','env','codes','function-node','Output\x20format','help','expected-count','19575OQBkXN','3595KzJWij','expected-children-count','key','dbId','Type\x20filter','menuIds','Page\x20size','27437069mbeKDI','<expr>','fromEnv','Rabetbase\x20CLI','stdin','Output\x20path','sqlName','Target\x20path','project','Record\x20ID','flowStatus','Tags','non-interactive','Title','Operation\x20type','functionNode','fromEntries','Keyword\x20filter','dry-run','JSON\x20params','3386496XnLfLR','db-id','Use\x20remote','sqlname','14LFPcsp','25218kdhCSp','Override\x20appcode','value','sql-name','name','Watch\x20mode','description-file','Apply\x20to\x20all','json\x20|\x20pretty\x20|\x20compress','Force\x20overwrite','target','datasetCode','10856fjUdBJ','Environment','Alias\x20for\x20--non-interactive','locale','global','tags','from-env','Comma-separated\x20metadata\x20codes','file','56wGoYEQ','expectPath','confirm','Dataset\x20code','expect-path','sql','Name','format','Menu\x20sort\x20value','taskId','Comma-separated\x20menu\x20IDs','map','enable-bff-save','398418bdNxZl','expectParentId','rabetbase','verbose','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','DB\x20ID','keyword','type','dryRun','production\x20|\x20daily','Description','Reveal\x20sensitive\x20value','force','Asynchronous\x20task\x20ID','watch','Function\x20node','SQL\x20string','dbid','Skip\x20confirmation\x20for\x20high-risk\x20writes','flow-code','description','Flow\x20name','datasetcode','params','pagesize','parentId','query','Flow\x20code','Expected\x20current\x20menu\x20path','appcode','Verbose\x20output','<name>','SQL\x20name','topk','app','Preview\x20operation\x20without\x20executing','flowCode','remote','flowName','Flow\x20status','flowType','<code>','yes','Read\x20value\x20from\x20environment\x20variable','Show\x20help','Expected\x20current\x20child\x20count','label','Flow\x20type','Force\x20non-interactive\x20mode\x20(CI)','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','operation-type','Expected\x20current\x20parent\x20menu\x20id','pageSize','output','12azEwET','Menu\x20label','title','Description\x20file'];a274_0x5c32=function(){return _0xb55a8e;};return a274_0x5c32();}const a274_0x385f2b=a274_0x2c09;(function(_0x164a3a,_0x32427f){const _0x4be969=a274_0x2c09,_0x1da0cb=_0x164a3a();while(!![]){try{const _0x35acd2=parseInt(_0x4be969(0x156))/0x1*(-parseInt(_0x4be969(0xe5))/0x2)+parseInt(_0x4be969(0xe1))/0x3+parseInt(_0x4be969(0xf2))/0x4*(parseInt(_0x4be969(0x157))/0x5)+-parseInt(_0x4be969(0x108))/0x6*(parseInt(_0x4be969(0xfb))/0x7)+-parseInt(_0x4be969(0x14e))/0x8*(-parseInt(_0x4be969(0xe6))/0x9)+-parseInt(_0x4be969(0x143))/0xa+-parseInt(_0x4be969(0x15e))/0xb*(parseInt(_0x4be969(0x13e))/0xc);if(_0x35acd2===_0x32427f)break;else _0x1da0cb['push'](_0x1da0cb['shift']());}catch(_0x45baff){_0x1da0cb['push'](_0x1da0cb['shift']());}}}(a274_0x5c32,0xf1f37));function a274_0x2c09(_0x51c95f,_0x5ce57c){_0x51c95f=_0x51c95f-0xd0;const _0x5c32ca=a274_0x5c32();let _0x2c0990=_0x5c32ca[_0x51c95f];return _0x2c0990;}export const CLI_BIN_NAME=a274_0x385f2b(0x10a);export const CLI_DISPLAY_NAME=a274_0x385f2b(0xd0);export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':a274_0x385f2b(0x125),'meowKey':a274_0x385f2b(0x125),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0xe7),'hint':a274_0x385f2b(0x131)},{'name':a274_0x385f2b(0x12a),'meowKey':a274_0x385f2b(0x12a),'type':'string','description':'Select\x20app\x20profile\x20by\x20name','hint':a274_0x385f2b(0x127)},{'name':a274_0x385f2b(0x150),'meowKey':a274_0x385f2b(0x150),'type':'string','description':a274_0x385f2b(0xf3),'hint':a274_0x385f2b(0x111)},{'name':'format','meowKey':'format','type':'string','description':a274_0x385f2b(0x153),'hint':a274_0x385f2b(0xee)},{'name':'jq','meowKey':'jq','type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x139),'hint':a274_0x385f2b(0x15f)},{'name':a274_0x385f2b(0xdf),'meowKey':a274_0x385f2b(0x110),'type':a274_0x385f2b(0x146),'description':a274_0x385f2b(0x12b)},{'name':'yes','meowKey':a274_0x385f2b(0x132),'type':a274_0x385f2b(0x146),'description':a274_0x385f2b(0x11a)},{'name':'non-interactive','meowKey':'nonInteractive','type':a274_0x385f2b(0x146),'description':a274_0x385f2b(0x138)},{'name':a274_0x385f2b(0xf6),'meowKey':a274_0x385f2b(0xf6),'type':a274_0x385f2b(0x146),'description':a274_0x385f2b(0x14d)},{'name':a274_0x385f2b(0xd5),'meowKey':a274_0x385f2b(0xd5),'type':a274_0x385f2b(0x146),'description':'Use\x20project\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':'boolean','description':a274_0x385f2b(0xf4),'hidden':!![]},{'name':a274_0x385f2b(0x154),'meowKey':a274_0x385f2b(0x154),'type':a274_0x385f2b(0x146),'description':a274_0x385f2b(0x134)},{'name':a274_0x385f2b(0xf5),'meowKey':a274_0x385f2b(0xf5),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x10c),'hidden':!![],'hint':'zh-CN\x20|\x20en-US'},{'name':a274_0x385f2b(0xea),'meowKey':'name','type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x101),'hidden':!![]},{'name':a274_0x385f2b(0x140),'meowKey':a274_0x385f2b(0x140),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0xda),'hidden':!![]},{'name':a274_0x385f2b(0x122),'meowKey':a274_0x385f2b(0x122),'type':a274_0x385f2b(0x14c),'description':'Search\x20query','hidden':!![]},{'name':a274_0x385f2b(0x129),'meowKey':a274_0x385f2b(0x129),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x14f),'hidden':!![]},{'name':a274_0x385f2b(0x14b),'meowKey':a274_0x385f2b(0x14b),'type':a274_0x385f2b(0x146),'description':'Clear','hidden':!![]},{'name':a274_0x385f2b(0x116),'meowKey':a274_0x385f2b(0x116),'type':'boolean','description':a274_0x385f2b(0xeb),'hidden':!![]},{'name':a274_0x385f2b(0x13d),'meowKey':'output','type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0xd2),'hidden':!![]},{'name':a274_0x385f2b(0x11f),'meowKey':'params','type':'string','description':a274_0x385f2b(0xe0),'hidden':!![]},{'name':a274_0x385f2b(0x11e),'meowKey':a274_0x385f2b(0x11e),'type':'string','description':a274_0x385f2b(0xfe),'hidden':!![]},{'name':a274_0x385f2b(0x14a),'meowKey':a274_0x385f2b(0x14a),'type':a274_0x385f2b(0x146),'description':a274_0x385f2b(0xed),'hidden':!![]},{'name':a274_0x385f2b(0x107),'meowKey':'enableBffSave','type':a274_0x385f2b(0x146),'description':'Enable\x20Backend\x20Function\x20save','hidden':!![]},{'name':'id','meowKey':'id','type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0xd6),'hidden':!![]},{'name':'type','meowKey':a274_0x385f2b(0x10f),'type':'string','description':a274_0x385f2b(0x15b),'hidden':!![]},{'name':a274_0x385f2b(0xfa),'meowKey':a274_0x385f2b(0xfa),'type':'string','description':'File\x20path','hidden':!![]},{'name':a274_0x385f2b(0x11b),'meowKey':a274_0x385f2b(0x12c),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x123),'hidden':!![]},{'name':'flow-name','meowKey':a274_0x385f2b(0x12e),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x11d),'hidden':!![]},{'name':'flow-status','meowKey':a274_0x385f2b(0xd7),'type':'string','description':a274_0x385f2b(0x12f),'hidden':!![]},{'name':'flow-type','meowKey':a274_0x385f2b(0x130),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x137),'hidden':!![]},{'name':'dataset-code','meowKey':a274_0x385f2b(0xf1),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0xfe),'hidden':!![]},{'name':'sqlcode','meowKey':'sqlcode','type':a274_0x385f2b(0x14c),'description':'SQL\x20code','hidden':!![]},{'name':a274_0x385f2b(0xe9),'meowKey':a274_0x385f2b(0xd3),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x128),'hidden':!![]},{'name':a274_0x385f2b(0xe4),'meowKey':a274_0x385f2b(0xe4),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x128),'hidden':!![]},{'name':a274_0x385f2b(0xe2),'meowKey':a274_0x385f2b(0x15a),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x10d),'hidden':!![]},{'name':a274_0x385f2b(0x119),'meowKey':a274_0x385f2b(0x119),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x10d),'hidden':!![]},{'name':a274_0x385f2b(0x11c),'meowKey':a274_0x385f2b(0x11c),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x112),'hidden':!![]},{'name':a274_0x385f2b(0xec),'meowKey':'descriptionFile','type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x141),'hidden':!![]},{'name':'page','meowKey':a274_0x385f2b(0x142),'type':a274_0x385f2b(0x14c),'description':'Page\x20number','hidden':!![]},{'name':'page-size','meowKey':a274_0x385f2b(0x13c),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x15d),'hidden':!![]},{'name':'pagesize','meowKey':a274_0x385f2b(0x120),'type':a274_0x385f2b(0x14c),'description':'Page\x20size','hidden':!![]},{'name':a274_0x385f2b(0x10e),'meowKey':'keyword','type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0xde),'hidden':!![]},{'name':'code','meowKey':a274_0x385f2b(0x144),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x147),'hidden':!![]},{'name':a274_0x385f2b(0x100),'meowKey':'sql','type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x118),'hidden':!![]},{'name':'schemas','meowKey':'schemas','type':a274_0x385f2b(0x14c),'description':'Schemas','hidden':!![]},{'name':'operation','meowKey':'operation','type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0xdb),'hidden':!![]},{'name':a274_0x385f2b(0xf0),'meowKey':'target','type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0xd4),'hidden':!![]},{'name':a274_0x385f2b(0x149),'meowKey':'skipImports','type':'boolean','description':'Skip\x20import\x20generation','hidden':!![]},{'name':a274_0x385f2b(0x159),'meowKey':a274_0x385f2b(0x159),'type':a274_0x385f2b(0x14c),'description':'Config\x20key','hidden':!![]},{'name':a274_0x385f2b(0xe8),'meowKey':a274_0x385f2b(0xe8),'type':a274_0x385f2b(0x14c),'description':'Config\x20value','hidden':!![]},{'name':a274_0x385f2b(0xf7),'meowKey':a274_0x385f2b(0xf7),'type':'string','description':a274_0x385f2b(0xd8),'hidden':!![]},{'name':a274_0x385f2b(0xd1),'meowKey':a274_0x385f2b(0xd1),'type':a274_0x385f2b(0x146),'description':'Read\x20value\x20from\x20stdin','hidden':!![]},{'name':a274_0x385f2b(0xf8),'meowKey':a274_0x385f2b(0x160),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x133),'hidden':!![]},{'name':'reveal','meowKey':'reveal','type':'boolean','description':a274_0x385f2b(0x113),'hidden':!![]},{'name':'force','meowKey':a274_0x385f2b(0x114),'type':a274_0x385f2b(0x146),'description':a274_0x385f2b(0xef),'hidden':!![]},{'name':a274_0x385f2b(0xfd),'meowKey':a274_0x385f2b(0xfd),'type':a274_0x385f2b(0x146),'description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':a274_0x385f2b(0x12d),'meowKey':'remote','type':'boolean','description':a274_0x385f2b(0xe3),'hidden':!![]},{'name':'verbose','meowKey':a274_0x385f2b(0x10b),'type':a274_0x385f2b(0x146),'description':a274_0x385f2b(0x126),'hidden':!![]},{'name':a274_0x385f2b(0x155),'meowKey':'expectedCount','type':'string','description':'Expected\x20affected\x20count','hidden':!![]},{'name':a274_0x385f2b(0x136),'meowKey':'label','type':'string','description':a274_0x385f2b(0x13f),'hidden':!![]},{'name':a274_0x385f2b(0x145),'meowKey':a274_0x385f2b(0x121),'type':a274_0x385f2b(0x14c),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':a274_0x385f2b(0x148),'meowKey':a274_0x385f2b(0x148),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x103),'hidden':!![]},{'name':'expect-parent-id','meowKey':a274_0x385f2b(0x109),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x13b),'hidden':!![]},{'name':a274_0x385f2b(0xff),'meowKey':a274_0x385f2b(0xfc),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x124),'hidden':!![]},{'name':a274_0x385f2b(0x158),'meowKey':'expectedChildrenCount','type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x135),'hidden':!![]},{'name':'menu-ids','meowKey':a274_0x385f2b(0x15c),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x105),'hidden':!![]},{'name':'task-id','meowKey':a274_0x385f2b(0x104),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x115),'hidden':!![]},{'name':a274_0x385f2b(0x13a),'meowKey':'operationType','type':a274_0x385f2b(0x14c),'description':'Operation\x20type','hidden':!![]},{'name':a274_0x385f2b(0x152),'meowKey':a274_0x385f2b(0xdc),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0x117),'hidden':!![]},{'name':a274_0x385f2b(0x151),'meowKey':a274_0x385f2b(0x151),'type':a274_0x385f2b(0x14c),'description':a274_0x385f2b(0xf9),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set(['appcode',a274_0x385f2b(0x12a),a274_0x385f2b(0x150),a274_0x385f2b(0x102),'jq',a274_0x385f2b(0xdf),a274_0x385f2b(0x132),a274_0x385f2b(0xd9),'ci']);export function buildMeowFlags(){const _0x2faaad=a274_0x385f2b;return Object[_0x2faaad(0xdd)](GLOBAL_FLAGS[_0x2faaad(0x106)](_0x26e478=>[_0x26e478['meowKey'],{'type':_0x26e478['type']}]));}
@@ -1 +1 @@
1
- function a274_0x2396(_0x44c3a1,_0x50612f){_0x44c3a1=_0x44c3a1-0x1ce;const _0x2ee636=a274_0x2ee6();let _0x2396a8=_0x2ee636[_0x44c3a1];return _0x2396a8;}const a274_0x59a29b=a274_0x2396;(function(_0x7d0cd1,_0x3cf697){const _0x40686c=a274_0x2396,_0x420053=_0x7d0cd1();while(!![]){try{const _0x1872c8=parseInt(_0x40686c(0x1d7))/0x1+parseInt(_0x40686c(0x1d5))/0x2*(parseInt(_0x40686c(0x1ce))/0x3)+parseInt(_0x40686c(0x1d9))/0x4+parseInt(_0x40686c(0x1d3))/0x5*(parseInt(_0x40686c(0x1d0))/0x6)+parseInt(_0x40686c(0x1cf))/0x7+parseInt(_0x40686c(0x1d1))/0x8+-parseInt(_0x40686c(0x1d8))/0x9;if(_0x1872c8===_0x3cf697)break;else _0x420053['push'](_0x420053['shift']());}catch(_0x103003){_0x420053['push'](_0x420053['shift']());}}}(a274_0x2ee6,0x77c64));import{DEFAULT_API_DIR}from'../constant/paths.js';function a274_0x2ee6(){const _0x22ad0d=['205wngiPf','compress','10cPsTpR','write','201407nbqSqU','25824168qFiRDx','2035676YvGiUh','226482CHDrvL','5465642BhcErV','120930OEBZcO','5319928jGrHps','en-US'];a274_0x2ee6=function(){return _0x22ad0d;};return a274_0x2ee6();}export const DEFAULT_CONFIG_VALUES={'env':'production','format':a274_0x59a29b(0x1d4),'locale':a274_0x59a29b(0x1d2),'riskLevel':a274_0x59a29b(0x1d6),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a274_0x59a29b(0x1d4);
1
+ const a275_0x4ca6c5=a275_0x2086;function a275_0x2086(_0x2a9e83,_0x5af399){_0x2a9e83=_0x2a9e83-0x146;const _0xbd2ebb=a275_0xbd2e();let _0x20869e=_0xbd2ebb[_0x2a9e83];return _0x20869e;}(function(_0x31bd32,_0x367719){const _0x1fd718=a275_0x2086,_0x58d217=_0x31bd32();while(!![]){try{const _0x54ffb0=-parseInt(_0x1fd718(0x14b))/0x1+parseInt(_0x1fd718(0x14d))/0x2+parseInt(_0x1fd718(0x151))/0x3*(-parseInt(_0x1fd718(0x14f))/0x4)+-parseInt(_0x1fd718(0x153))/0x5*(parseInt(_0x1fd718(0x149))/0x6)+-parseInt(_0x1fd718(0x14e))/0x7*(parseInt(_0x1fd718(0x147))/0x8)+-parseInt(_0x1fd718(0x154))/0x9*(-parseInt(_0x1fd718(0x150))/0xa)+-parseInt(_0x1fd718(0x146))/0xb*(-parseInt(_0x1fd718(0x14a))/0xc);if(_0x54ffb0===_0x367719)break;else _0x58d217['push'](_0x58d217['shift']());}catch(_0x55591b){_0x58d217['push'](_0x58d217['shift']());}}}(a275_0xbd2e,0x9ed66));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a275_0x4ca6c5(0x14c),'format':a275_0x4ca6c5(0x152),'locale':'en-US','riskLevel':a275_0x4ca6c5(0x148),'apiDir':DEFAULT_API_DIR};function a275_0xbd2e(){const _0x528c3a=['252jTgrCz','850135gFlOHx','production','450814vYFlds','4921YyPzWX','4388dRLBop','300YdHuKP','561YDbJwA','compress','535mLefdr','37287PsakJB','1027301dBJVaN','3600zxVXhp','write','16188AePjkJ'];a275_0xbd2e=function(){return _0x528c3a;};return a275_0xbd2e();}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a275_0x4ca6c5(0x152);
@@ -1 +1 @@
1
- const a275_0x28e657=a275_0x4784;(function(_0x468df1,_0x122ad7){const _0x26c68b=a275_0x4784,_0x3011a3=_0x468df1();while(!![]){try{const _0x17443a=parseInt(_0x26c68b(0xdc))/0x1+parseInt(_0x26c68b(0xd6))/0x2+parseInt(_0x26c68b(0xcc))/0x3*(parseInt(_0x26c68b(0xd5))/0x4)+parseInt(_0x26c68b(0xe2))/0x5+-parseInt(_0x26c68b(0xd7))/0x6*(parseInt(_0x26c68b(0xc7))/0x7)+parseInt(_0x26c68b(0xdf))/0x8+-parseInt(_0x26c68b(0xca))/0x9*(parseInt(_0x26c68b(0xd3))/0xa);if(_0x17443a===_0x122ad7)break;else _0x3011a3['push'](_0x3011a3['shift']());}catch(_0x47a0d1){_0x3011a3['push'](_0x3011a3['shift']());}}}(a275_0x4b3e,0x73cbc));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 _0xc53a5a=a275_0x4784,_0x53f0d7=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x53f0d7[_0xc53a5a(0xde)]['production']:_0x53f0d7[_0xc53a5a(0xde)][_0xc53a5a(0xe1)]??_0x53f0d7[_0xc53a5a(0xde)][_0xc53a5a(0xd9)];}export function initDomains(_0x5b82d2){const _0x223bcb=a275_0x4784;customApiDomain=_0x5b82d2?.['apiDomain'],customUserDomain=_0x5b82d2?.[_0x223bcb(0xda)],customRuntimeDomain=_0x5b82d2?.[_0x223bcb(0xc9)],customSkillDomain=_0x5b82d2?.['skillDomain'],customKbDomain=_0x5b82d2?.[_0x223bcb(0xcf)],customKbServiceDomain=_0x5b82d2?.[_0x223bcb(0xe0)],allowOfficialKbServiceDefault=_0x5b82d2?.[_0x223bcb(0xdd)]??!![],customAppDomain=_0x5b82d2?.['appDomain'],customLocalDomain=_0x5b82d2?.[_0x223bcb(0xd1)],customCertificateDomain=_0x5b82d2?.['certificateDomain'],customCdn=_0x5b82d2?.[_0x223bcb(0xce)],activeRegion=_0x5b82d2?.[_0x223bcb(0xd8)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a275_0x28e657(0xc6)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a275_0x28e657(0xd0)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a275_0x28e657(0xe3)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a275_0x28e657(0xd2)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{const _0x8058a4=a275_0x28e657;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()[_0x8058a4(0xcd)];};function a275_0x4b3e(){const _0x6f8ef4=['kbDomain','api','localDomain','skill','812540HLQXuc','/app/','1448kKeeEF','1204732dZDgDS','54piYQWP','region','production','userDomain','hostname','357527tejGcG','allowOfficialKbServiceDefault','serviceDomains','4792056WTcxHg','kbServiceDomain','daily','1313635vUkzZC','runtime','app','user','87381QAsIOR','origin','runtimeDomain','207rbAmZN','/web-app/app/','5253WirxzS','kbService','cdn'];a275_0x4b3e=function(){return _0x6f8ef4;};return a275_0x4b3e();}function a275_0x4784(_0x8cf52a,_0x2998d5){_0x8cf52a=_0x8cf52a-0xc5;const _0x4b3ec9=a275_0x4b3e();let _0x478440=_0x4b3ec9[_0x8cf52a];return _0x478440;}export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a275_0x28e657(0xc5)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x39e8f9=a275_0x28e657;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x39e8f9(0xe3)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x59e8ff=>{const _0x46b1dc=a275_0x28e657,_0x569b02=encodeURIComponent(_0x59e8ff['trim']());return isProduction(getEnv())?getAppDomain()+_0x46b1dc(0xd4)+_0x569b02:getAppDomain()+_0x46b1dc(0xcb)+_0x569b02;};export const getPublishedAppDomain=_0x159f26=>{const _0x538cd3=a275_0x28e657,_0x4249a8=new URL(getAppDomain());return _0x4249a8[_0x538cd3(0xdb)]=_0x159f26['trim']()+'.'+_0x4249a8[_0x538cd3(0xdb)],_0x4249a8[_0x538cd3(0xc8)];};
1
+ const a276_0x45791b=a276_0x5c23;(function(_0x39bfd9,_0x2e894e){const _0xeab971=a276_0x5c23,_0x1288d6=_0x39bfd9();while(!![]){try{const _0x33e72c=-parseInt(_0xeab971(0xad))/0x1+parseInt(_0xeab971(0xbc))/0x2*(-parseInt(_0xeab971(0xb4))/0x3)+parseInt(_0xeab971(0xb8))/0x4+parseInt(_0xeab971(0xb6))/0x5*(parseInt(_0xeab971(0xa4))/0x6)+parseInt(_0xeab971(0xa5))/0x7*(-parseInt(_0xeab971(0xb7))/0x8)+-parseInt(_0xeab971(0xac))/0x9*(parseInt(_0xeab971(0xa6))/0xa)+-parseInt(_0xeab971(0xb9))/0xb*(-parseInt(_0xeab971(0xbe))/0xc);if(_0x33e72c===_0x2e894e)break;else _0x1288d6['push'](_0x1288d6['shift']());}catch(_0x97c1d8){_0x1288d6['push'](_0x1288d6['shift']());}}}(a276_0x3228,0x24b90));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 _0xd6a567=a276_0x5c23,_0x3e937a=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x3e937a[_0xd6a567(0xb0)][_0xd6a567(0x9f)]:_0x3e937a[_0xd6a567(0xb0)]['daily']??_0x3e937a[_0xd6a567(0xb0)][_0xd6a567(0x9f)];}export function initDomains(_0x2be994){const _0x5aa7cd=a276_0x5c23;customApiDomain=_0x2be994?.[_0x5aa7cd(0xb1)],customUserDomain=_0x2be994?.['userDomain'],customRuntimeDomain=_0x2be994?.[_0x5aa7cd(0xb3)],customSkillDomain=_0x2be994?.[_0x5aa7cd(0xb5)],customKbDomain=_0x2be994?.[_0x5aa7cd(0xaa)],customKbServiceDomain=_0x2be994?.[_0x5aa7cd(0xbb)],allowOfficialKbServiceDefault=_0x2be994?.[_0x5aa7cd(0xb2)]??!![],customAppDomain=_0x2be994?.[_0x5aa7cd(0xc1)],customLocalDomain=_0x2be994?.[_0x5aa7cd(0xba)],customCertificateDomain=_0x2be994?.[_0x5aa7cd(0xa8)],customCdn=_0x2be994?.['cdn'],activeRegion=_0x2be994?.[_0x5aa7cd(0xa0)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a276_0x45791b(0xbd)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a276_0x45791b(0xa7)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a276_0x45791b(0xa9)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a276_0x45791b(0xab)];function a276_0x5c23(_0x4f9514,_0x38c271){_0x4f9514=_0x4f9514-0x9f;const _0x322842=a276_0x3228();let _0x5c2301=_0x322842[_0x4f9514];return _0x5c2301;}export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{const _0x188001=a276_0x45791b;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()[_0x188001(0xaf)];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a276_0x45791b(0xbf)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);function a276_0x3228(){const _0x5386e5=['55yMWvAu','localDomain','kbServiceDomain','26GYjHmL','user','642216eQChME','app','/app/','appDomain','production','region','trim','hostname','/web-app/app/','18cHMZYS','197512zMZDFF','10RwqWMj','api','certificateDomain','runtime','kbDomain','skill','1709145tduHVm','208526IFdpgQ','origin','kbService','serviceDomains','apiDomain','allowOfficialKbServiceDefault','runtimeDomain','9192VAYCFT','skillDomain','315475rPVpfK','40LbujET','1091536ofMGUY'];a276_0x3228=function(){return _0x5386e5;};return a276_0x3228();}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=_0x581a0d=>{const _0x5dc8a1=a276_0x45791b,_0x58eca2=encodeURIComponent(_0x581a0d[_0x5dc8a1(0xa1)]());return isProduction(getEnv())?getAppDomain()+_0x5dc8a1(0xc0)+_0x58eca2:getAppDomain()+_0x5dc8a1(0xa3)+_0x58eca2;};export const getPublishedAppDomain=_0x542e95=>{const _0x2b3cac=a276_0x45791b,_0x5c07a7=new URL(getAppDomain());return _0x5c07a7['hostname']=_0x542e95[_0x2b3cac(0xa1)]()+'.'+_0x5c07a7[_0x2b3cac(0xa2)],_0x5c07a7[_0x2b3cac(0xae)];};
@@ -1 +1 @@
1
- const a276_0x20749c=a276_0x39e7;function a276_0x4c8f(){const _0x2e0f98=['2976MgpmnO','production','development','1336866vGvlzq','daily','5NKdsdr','1531104CohJJN','12421629ldzwyx','1070764hGVjtw','online','563293edwMsF','686SCUmVU','871758VvzGEY'];a276_0x4c8f=function(){return _0x2e0f98;};return a276_0x4c8f();}(function(_0x266be4,_0x3d77cf){const _0x341f72=a276_0x39e7,_0x1e818f=_0x266be4();while(!![]){try{const _0x342d97=parseInt(_0x341f72(0x1ae))/0x1+-parseInt(_0x341f72(0x1aa))/0x2+-parseInt(_0x341f72(0x1b0))/0x3+-parseInt(_0x341f72(0x1ac))/0x4+-parseInt(_0x341f72(0x1b6))/0x5*(parseInt(_0x341f72(0x1b4))/0x6)+-parseInt(_0x341f72(0x1af))/0x7*(-parseInt(_0x341f72(0x1b1))/0x8)+parseInt(_0x341f72(0x1ab))/0x9;if(_0x342d97===_0x3d77cf)break;else _0x1e818f['push'](_0x1e818f['shift']());}catch(_0x4d11bf){_0x1e818f['push'](_0x1e818f['shift']());}}}(a276_0x4c8f,0x69c8a));export const RABETBASE_ENV_VALUES=[a276_0x20749c(0x1b2),a276_0x20749c(0x1b5)];export function normalizeEnv(_0x11cab5){const _0x1f8d41=a276_0x20749c;return _0x11cab5===_0x1f8d41(0x1ad)?_0x1f8d41(0x1b2):_0x11cab5;}export function isProduction(_0x5b3579){return normalizeEnv(_0x5b3579)==='production';}function a276_0x39e7(_0x4460f5,_0x54d2c7){_0x4460f5=_0x4460f5-0x1aa;const _0x4c8f35=a276_0x4c8f();let _0x39e7d1=_0x4c8f35[_0x4460f5];return _0x39e7d1;}export function isDaily(_0x56351f){const _0x2995f3=a276_0x20749c;return normalizeEnv(_0x56351f)===_0x2995f3(0x1b5);}export function isDev(_0x51baf2){const _0x298b48=a276_0x20749c,_0x41df58=normalizeEnv(_0x51baf2);return _0x41df58===_0x298b48(0x1b3)||_0x41df58==='dev';}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||'production');export function getEnv(){return env;}export function initEnv(_0x2b5c88){env=normalizeEnv(_0x2b5c88);}
1
+ function a277_0x49dc(){const _0x174ca4=['1049111HUpqhQ','daily','4291908UMIofF','6139356sTdmaS','40RmmOLo','975280xCnMHp','3zXhLhk','development','online','3806658GHxBgr','production','3297634VbcOfQ','8722545HWwLgn'];a277_0x49dc=function(){return _0x174ca4;};return a277_0x49dc();}const a277_0x1592f1=a277_0x33bf;(function(_0x5d7f78,_0x5e8635){const _0xd81441=a277_0x33bf,_0x1e427a=_0x5d7f78();while(!![]){try{const _0xccf4bd=-parseInt(_0xd81441(0x81))/0x1+-parseInt(_0xd81441(0x87))/0x2*(parseInt(_0xd81441(0x82))/0x3)+parseInt(_0xd81441(0x7e))/0x4+parseInt(_0xd81441(0x88))/0x5+parseInt(_0xd81441(0x7f))/0x6+parseInt(_0xd81441(0x7c))/0x7*(-parseInt(_0xd81441(0x80))/0x8)+parseInt(_0xd81441(0x85))/0x9;if(_0xccf4bd===_0x5e8635)break;else _0x1e427a['push'](_0x1e427a['shift']());}catch(_0x3fccdd){_0x1e427a['push'](_0x1e427a['shift']());}}}(a277_0x49dc,0xd9564));export const RABETBASE_ENV_VALUES=[a277_0x1592f1(0x86),a277_0x1592f1(0x7d)];export function normalizeEnv(_0x5a2da2){const _0x131c61=a277_0x1592f1;return _0x5a2da2===_0x131c61(0x84)?'production':_0x5a2da2;}function a277_0x33bf(_0x315581,_0x3455cd){_0x315581=_0x315581-0x7c;const _0x49dc97=a277_0x49dc();let _0x33bfa2=_0x49dc97[_0x315581];return _0x33bfa2;}export function isProduction(_0x2ed4c1){return normalizeEnv(_0x2ed4c1)==='production';}export function isDaily(_0x4dce65){const _0x30b0a5=a277_0x1592f1;return normalizeEnv(_0x4dce65)===_0x30b0a5(0x7d);}export function isDev(_0x3d73a5){const _0x2a8876=a277_0x1592f1,_0x30360a=normalizeEnv(_0x3d73a5);return _0x30360a===_0x2a8876(0x83)||_0x30360a==='dev';}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a277_0x1592f1(0x86));export function getEnv(){return env;}export function initEnv(_0x2094f0){env=normalizeEnv(_0x2094f0);}
@@ -1 +1 @@
1
- const a277_0x26d1e2=a277_0x151e;function a277_0x151e(_0x19b2fa,_0x5925a2){_0x19b2fa=_0x19b2fa-0xdd;const _0x53694a=a277_0x5369();let _0x151ebb=_0x53694a[_0x19b2fa];return _0x151ebb;}(function(_0x4d2a0d,_0x4da4ea){const _0x3cea88=a277_0x151e,_0x584e10=_0x4d2a0d();while(!![]){try{const _0x44d580=parseInt(_0x3cea88(0xe5))/0x1*(parseInt(_0x3cea88(0xde))/0x2)+-parseInt(_0x3cea88(0xe4))/0x3*(-parseInt(_0x3cea88(0xe7))/0x4)+parseInt(_0x3cea88(0xe0))/0x5+-parseInt(_0x3cea88(0xdd))/0x6+-parseInt(_0x3cea88(0xe3))/0x7*(parseInt(_0x3cea88(0xe2))/0x8)+parseInt(_0x3cea88(0xdf))/0x9+parseInt(_0x3cea88(0xe1))/0xa*(parseInt(_0x3cea88(0xe8))/0xb);if(_0x44d580===_0x4da4ea)break;else _0x584e10['push'](_0x584e10['shift']());}catch(_0x156630){_0x584e10['push'](_0x584e10['shift']());}}}(a277_0x5369,0x9bf18));export const RABETBASE_OUTPUT_FORMAT_VALUES=['json',a277_0x26d1e2(0xe6),'compress'];function a277_0x5369(){const _0x144ea4=['288GWwwAr','4774RqUKbT','48Vvitpy','8UBJilc','pretty','28412XvVkKr','13651ncptDD','7519002RCuIWT','81470QLFeEN','2276073gmwLvn','926605ykkJCS','8370GtsMiS'];a277_0x5369=function(){return _0x144ea4;};return a277_0x5369();}
1
+ function a278_0x9cd4(){const _0x2ba721=['3824455EsHfgH','compress','3398154RASYEu','587664BgooGN','30373506tYSqbj','json','2rSNayh','2916879iXfiAK','2131108XMcXYk','1210521GeoGEY','pretty','144XxVkdz'];a278_0x9cd4=function(){return _0x2ba721;};return a278_0x9cd4();}function a278_0x48f3(_0x4e7238,_0x43c297){_0x4e7238=_0x4e7238-0x118;const _0x9cd43d=a278_0x9cd4();let _0x48f349=_0x9cd43d[_0x4e7238];return _0x48f349;}const a278_0xe45bbd=a278_0x48f3;(function(_0x4eb2ca,_0x2f1584){const _0x1a927e=a278_0x48f3,_0x1a2763=_0x4eb2ca();while(!![]){try{const _0x4e47ae=-parseInt(_0x1a927e(0x11b))/0x1+-parseInt(_0x1a927e(0x118))/0x2*(-parseInt(_0x1a927e(0x119))/0x3)+-parseInt(_0x1a927e(0x11a))/0x4+-parseInt(_0x1a927e(0x11e))/0x5+parseInt(_0x1a927e(0x120))/0x6+parseInt(_0x1a927e(0x121))/0x7*(-parseInt(_0x1a927e(0x11d))/0x8)+parseInt(_0x1a927e(0x122))/0x9;if(_0x4e47ae===_0x2f1584)break;else _0x1a2763['push'](_0x1a2763['shift']());}catch(_0x2148ee){_0x1a2763['push'](_0x1a2763['shift']());}}}(a278_0x9cd4,0xda4d1));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a278_0xe45bbd(0x123),a278_0xe45bbd(0x11c),a278_0xe45bbd(0x11f)];
@@ -1 +1 @@
1
- const a278_0xc99014=a278_0x385c;function a278_0x385c(_0x39eb98,_0xb67164){_0x39eb98=_0x39eb98-0x148;const _0xa6ad71=a278_0xa6ad();let _0x385c8c=_0xa6ad71[_0x39eb98];return _0x385c8c;}(function(_0x2da6f6,_0x5e2daf){const _0x4cce88=a278_0x385c,_0x1eb83b=_0x2da6f6();while(!![]){try{const _0x25d5c9=parseInt(_0x4cce88(0x148))/0x1+parseInt(_0x4cce88(0x14e))/0x2*(-parseInt(_0x4cce88(0x14c))/0x3)+-parseInt(_0x4cce88(0x14a))/0x4*(-parseInt(_0x4cce88(0x150))/0x5)+-parseInt(_0x4cce88(0x151))/0x6+parseInt(_0x4cce88(0x14f))/0x7*(-parseInt(_0x4cce88(0x149))/0x8)+parseInt(_0x4cce88(0x14d))/0x9+-parseInt(_0x4cce88(0x152))/0xa;if(_0x25d5c9===_0x5e2daf)break;else _0x1eb83b['push'](_0x1eb83b['shift']());}catch(_0x4effee){_0x1eb83b['push'](_0x1eb83b['shift']());}}}(a278_0xa6ad,0xa44d9));export const DEFAULT_API_DIR=a278_0xc99014(0x14b);function a278_0xa6ad(){const _0x3458de=['./src/api','6NwxlZN','8115561bKWduT','1137286arMsgV','63AnxBCQ','185JORNRP','5463072mCeCUE','783880ifKhfi','1286864tEeWAR','393512iqbtPB','113868AbpdjS'];a278_0xa6ad=function(){return _0x3458de;};return a278_0xa6ad();}
1
+ const a279_0x202c89=a279_0xe9be;function a279_0x9c0f(){const _0x2d3f73=['./src/api','3738447ChBxDT','80aEwBgw','1LqZczz','249946oGnDbR','1081284pLoUjY','66zybHDc','11wuwYPQ','440783AtTthm','10279880jqgZUP','7184MqZLzY','72HFpscG','159530xlMroZ'];a279_0x9c0f=function(){return _0x2d3f73;};return a279_0x9c0f();}(function(_0x30b24c,_0x3a8277){const _0x12df77=a279_0xe9be,_0x37513f=_0x30b24c();while(!![]){try{const _0x7fa08a=parseInt(_0x12df77(0xf0))/0x1*(-parseInt(_0x12df77(0xf1))/0x2)+-parseInt(_0x12df77(0xee))/0x3+-parseInt(_0x12df77(0xf7))/0x4*(-parseInt(_0x12df77(0xef))/0x5)+-parseInt(_0x12df77(0xf3))/0x6*(-parseInt(_0x12df77(0xf5))/0x7)+parseInt(_0x12df77(0xf6))/0x8+-parseInt(_0x12df77(0xf8))/0x9*(-parseInt(_0x12df77(0xec))/0xa)+-parseInt(_0x12df77(0xf4))/0xb*(parseInt(_0x12df77(0xf2))/0xc);if(_0x7fa08a===_0x3a8277)break;else _0x37513f['push'](_0x37513f['shift']());}catch(_0x260aa4){_0x37513f['push'](_0x37513f['shift']());}}}(a279_0x9c0f,0xa4407));function a279_0xe9be(_0x3c9ee4,_0x1021d0){_0x3c9ee4=_0x3c9ee4-0xec;const _0x9c0f76=a279_0x9c0f();let _0xe9be2f=_0x9c0f76[_0x3c9ee4];return _0xe9be2f;}export const DEFAULT_API_DIR=a279_0x202c89(0xed);
@@ -1 +1 @@
1
- (function(_0x198fb7,_0x3b0803){const _0x2b01dc=a279_0x32a7,_0x5de857=_0x198fb7();while(!![]){try{const _0x4284e6=parseInt(_0x2b01dc(0x130))/0x1*(parseInt(_0x2b01dc(0x12d))/0x2)+-parseInt(_0x2b01dc(0x12a))/0x3*(parseInt(_0x2b01dc(0x12e))/0x4)+-parseInt(_0x2b01dc(0x128))/0x5+parseInt(_0x2b01dc(0x126))/0x6*(-parseInt(_0x2b01dc(0x12f))/0x7)+parseInt(_0x2b01dc(0x129))/0x8+-parseInt(_0x2b01dc(0x12b))/0x9+parseInt(_0x2b01dc(0x12c))/0xa*(parseInt(_0x2b01dc(0x125))/0xb);if(_0x4284e6===_0x3b0803)break;else _0x5de857['push'](_0x5de857['shift']());}catch(_0x2c4e3a){_0x5de857['push'](_0x5de857['shift']());}}}(a279_0x5d6f,0x452fa));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';function a279_0x32a7(_0x1bbd65,_0x32b117){_0x1bbd65=_0x1bbd65-0x125;const _0x5d6f37=a279_0x5d6f();let _0x32a7c5=_0x5d6f37[_0x1bbd65];return _0x32a7c5;}export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;function a279_0x5d6f(){const _0x23212e=['1032CYhMbv','690652QkGJpm','189LpTIFi','718sNEyKF','string','11dqGyvy','85308TBOKbd','includes','884390TLZEer','3345368AIRpQZ','3lBDFQT','1899135LxhvWs','4391690EoMCam'];a279_0x5d6f=function(){return _0x23212e;};return a279_0x5d6f();}export function isLovrabetRegion(_0xe25e7e){const _0x3ffd15=a279_0x32a7;return typeof _0xe25e7e===_0x3ffd15(0x131)&&LOVRABET_REGION_VALUES[_0x3ffd15(0x127)](_0xe25e7e);}export function isEnabledLovrabetRegion(_0x5a6632){const _0x33dfff=a279_0x32a7;return typeof _0x5a6632===_0x33dfff(0x131)&&ENABLED_LOVRABET_REGION_VALUES[_0x33dfff(0x127)](_0x5a6632);}export function normalizeLovrabetRegion(_0x10990e){if(typeof _0x10990e!=='string')return undefined;const _0x521bc3=REGION_ALIASES[_0x10990e]??_0x10990e;return isLovrabetRegion(_0x521bc3)?_0x521bc3:undefined;}export function isInvalidLovrabetRegion(_0x39806d){return _0x39806d!==undefined&&_0x39806d!==null&&_0x39806d!==''&&normalizeLovrabetRegion(_0x39806d)===undefined;}
1
+ (function(_0x31883a,_0x3402f9){const _0x1e15b4=a280_0x78a6,_0x2cff10=_0x31883a();while(!![]){try{const _0x3aa63f=-parseInt(_0x1e15b4(0x1b4))/0x1*(-parseInt(_0x1e15b4(0x1b6))/0x2)+-parseInt(_0x1e15b4(0x1ae))/0x3+-parseInt(_0x1e15b4(0x1b0))/0x4*(-parseInt(_0x1e15b4(0x1b5))/0x5)+-parseInt(_0x1e15b4(0x1b1))/0x6+parseInt(_0x1e15b4(0x1b7))/0x7+parseInt(_0x1e15b4(0x1b8))/0x8+parseInt(_0x1e15b4(0x1b2))/0x9;if(_0x3aa63f===_0x3402f9)break;else _0x2cff10['push'](_0x2cff10['shift']());}catch(_0x59e119){_0x2cff10['push'](_0x2cff10['shift']());}}}(a280_0x5962,0xbc97d));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;function a280_0x5962(){const _0x2afa73=['360367JboGhC','5745cpfieA','2hUBzuT','7825062iLswOy','6209392LlCHRt','1663491xOvAKd','string','464VBwdju','7818234XbFQIk','2180898ctzTLt','includes'];a280_0x5962=function(){return _0x2afa73;};return a280_0x5962();}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x12a6d0){const _0x541935=a280_0x78a6;return typeof _0x12a6d0===_0x541935(0x1af)&&LOVRABET_REGION_VALUES[_0x541935(0x1b3)](_0x12a6d0);}export function isEnabledLovrabetRegion(_0x2dde28){const _0x35352a=a280_0x78a6;return typeof _0x2dde28===_0x35352a(0x1af)&&ENABLED_LOVRABET_REGION_VALUES[_0x35352a(0x1b3)](_0x2dde28);}export function normalizeLovrabetRegion(_0x22e3ba){const _0xd9e309=a280_0x78a6;if(typeof _0x22e3ba!==_0xd9e309(0x1af))return undefined;const _0x573931=REGION_ALIASES[_0x22e3ba]??_0x22e3ba;return isLovrabetRegion(_0x573931)?_0x573931:undefined;}function a280_0x78a6(_0x498da3,_0x72edf2){_0x498da3=_0x498da3-0x1ae;const _0x5962d2=a280_0x5962();let _0x78a6e8=_0x5962d2[_0x498da3];return _0x78a6e8;}export function isInvalidLovrabetRegion(_0x12b55a){return _0x12b55a!==undefined&&_0x12b55a!==null&&_0x12b55a!==''&&normalizeLovrabetRegion(_0x12b55a)===undefined;}
@@ -1 +1 @@
1
- function a280_0x1e0c(_0x1d0cc5,_0xa3c6e8){_0x1d0cc5=_0x1d0cc5-0x147;const _0x19430e=a280_0x1943();let _0x1e0cae=_0x19430e[_0x1d0cc5];return _0x1e0cae;}const a280_0x170424=a280_0x1e0c;function a280_0x1943(){const _0x196967=['high-risk-write','14ySjadh','4DAtDXN','3435795iKFudt','1bMkWSP','2040454VJFdfQ','2667726NwXpdG','25993640pBqtMP','425274SCDzVt','4580735jkuEZy','write','4064376LXIThA'];a280_0x1943=function(){return _0x196967;};return a280_0x1943();}(function(_0xe0976,_0x1462ca){const _0xe7c08b=a280_0x1e0c,_0x3e7c4d=_0xe0976();while(!![]){try{const _0x570cda=parseInt(_0xe7c08b(0x14c))/0x1*(-parseInt(_0xe7c08b(0x14d))/0x2)+-parseInt(_0xe7c08b(0x150))/0x3+-parseInt(_0xe7c08b(0x14a))/0x4*(parseInt(_0xe7c08b(0x151))/0x5)+parseInt(_0xe7c08b(0x14e))/0x6*(parseInt(_0xe7c08b(0x149))/0x7)+-parseInt(_0xe7c08b(0x147))/0x8+-parseInt(_0xe7c08b(0x14b))/0x9+parseInt(_0xe7c08b(0x14f))/0xa;if(_0x570cda===_0x1462ca)break;else _0x3e7c4d['push'](_0x3e7c4d['shift']());}catch(_0x2905d3){_0x3e7c4d['push'](_0x3e7c4d['shift']());}}}(a280_0x1943,0x7f1e0));export const RISK_LEVEL_VALUES=['read',a280_0x170424(0x152),a280_0x170424(0x148)];
1
+ function a281_0x2b13(){const _0x532346=['2quofTR','4922400ggRvwa','high-risk-write','read','4828023IWtRjF','3403547VGQSxu','327030aYPlUk','6vTsTUj','1670164eEtnhy','83443GjlOyX','1992621NmQZJJ'];a281_0x2b13=function(){return _0x532346;};return a281_0x2b13();}function a281_0x3808(_0x22ce04,_0x105602){_0x22ce04=_0x22ce04-0x1a6;const _0x2b1371=a281_0x2b13();let _0x380813=_0x2b1371[_0x22ce04];return _0x380813;}const a281_0x2a4a29=a281_0x3808;(function(_0x3af3b5,_0x3739e8){const _0x470c50=a281_0x3808,_0x4e2b07=_0x3af3b5();while(!![]){try{const _0x433644=-parseInt(_0x470c50(0x1a7))/0x1*(-parseInt(_0x470c50(0x1a9))/0x2)+-parseInt(_0x470c50(0x1a8))/0x3+parseInt(_0x470c50(0x1a6))/0x4+-parseInt(_0x470c50(0x1af))/0x5+-parseInt(_0x470c50(0x1b0))/0x6*(-parseInt(_0x470c50(0x1ae))/0x7)+parseInt(_0x470c50(0x1aa))/0x8+-parseInt(_0x470c50(0x1ad))/0x9;if(_0x433644===_0x3739e8)break;else _0x4e2b07['push'](_0x4e2b07['shift']());}catch(_0xc9940d){_0x4e2b07['push'](_0x4e2b07['shift']());}}}(a281_0x2b13,0x5223d));export const RISK_LEVEL_VALUES=[a281_0x2a4a29(0x1ac),'write',a281_0x2a4a29(0x1ab)];
@@ -1 +1 @@
1
- (function(_0x1fd448,_0x5a2693){const _0x2f636e=a281_0x8afb,_0x15738d=_0x1fd448();while(!![]){try{const _0x2af310=parseInt(_0x2f636e(0x182))/0x1*(-parseInt(_0x2f636e(0x18a))/0x2)+-parseInt(_0x2f636e(0x185))/0x3*(-parseInt(_0x2f636e(0x17e))/0x4)+parseInt(_0x2f636e(0x18b))/0x5*(-parseInt(_0x2f636e(0x187))/0x6)+-parseInt(_0x2f636e(0x17c))/0x7+parseInt(_0x2f636e(0x17d))/0x8*(parseInt(_0x2f636e(0x188))/0x9)+-parseInt(_0x2f636e(0x184))/0xa*(-parseInt(_0x2f636e(0x17f))/0xb)+parseInt(_0x2f636e(0x186))/0xc;if(_0x2af310===_0x5a2693)break;else _0x15738d['push'](_0x15738d['shift']());}catch(_0x587fb0){_0x15738d['push'](_0x15738d['shift']());}}}(a281_0x817a,0x2a089));import{OFFICIAL_ROUTING_PROFILES as a281_0x2d9d58,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';function a281_0x817a(){const _0x2ee221=['240cZSOhK','971607IdjVeu','3943164rsAmoD','12MkHfYm','54mcHCLi','lovrabet','146sIspqp','834295WpYeba','Official\x20routing\x20for\x20region\x20\x22','765569QUaLXl','66664DmcqWy','4XPrDuu','34507rDzkxG','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','libraries','2226bpBYWh','cdn'];a281_0x817a=function(){return _0x2ee221;};return a281_0x817a();}export const OFFICIAL_ROUTING_PROFILES=a281_0x2d9d58;function a281_0x8afb(_0x16de6c,_0x4d0b0d){_0x16de6c=_0x16de6c-0x17c;const _0x817a04=a281_0x817a();let _0x8afb56=_0x817a04[_0x16de6c];return _0x8afb56;}export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x2b05eb){return OFFICIAL_ROUTING_PROFILES[_0x2b05eb];}export function getOfficialRoutingCdn(_0x2ef969){const _0x2e2681=a281_0x8afb,_0x546fab=getOfficialRoutingProfile(_0x2ef969)[_0x2e2681(0x183)];if(!_0x546fab[_0x2e2681(0x189)])throw new Error(_0x2e2681(0x18c)+_0x2ef969+_0x2e2681(0x180));return{'libraries':_0x546fab[_0x2e2681(0x181)],'lovrabet':_0x546fab[_0x2e2681(0x189)]};}
1
+ (function(_0x4afa05,_0x57eb3e){const _0x3ee786=a282_0x5cad,_0x3d0c84=_0x4afa05();while(!![]){try{const _0x1cabb7=parseInt(_0x3ee786(0x157))/0x1*(-parseInt(_0x3ee786(0x15d))/0x2)+-parseInt(_0x3ee786(0x15f))/0x3+-parseInt(_0x3ee786(0x159))/0x4*(parseInt(_0x3ee786(0x150))/0x5)+-parseInt(_0x3ee786(0x152))/0x6*(parseInt(_0x3ee786(0x15b))/0x7)+-parseInt(_0x3ee786(0x15e))/0x8*(-parseInt(_0x3ee786(0x15c))/0x9)+-parseInt(_0x3ee786(0x156))/0xa*(-parseInt(_0x3ee786(0x158))/0xb)+-parseInt(_0x3ee786(0x154))/0xc*(-parseInt(_0x3ee786(0x153))/0xd);if(_0x1cabb7===_0x57eb3e)break;else _0x3d0c84['push'](_0x3d0c84['shift']());}catch(_0x362479){_0x3d0c84['push'](_0x3d0c84['shift']());}}}(a282_0x3889,0xc64b0));import{OFFICIAL_ROUTING_PROFILES as a282_0x172e52,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a282_0x172e52;export{ROUTING_CATALOG_DIGEST};function a282_0x3889(){const _0x19ef8f=['\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','6BRGKdc','9981933AerGYN','48OTTIQR','Official\x20routing\x20for\x20region\x20\x22','110DCYUcY','2thgMvi','1068903qTiQRh','16940CmzROe','libraries','10280921GBfUlt','27VfzmIm','1316086LAbCia','3106096BoQFCa','4107768dgGjwo','lovrabet','400nGsOae'];a282_0x3889=function(){return _0x19ef8f;};return a282_0x3889();}function a282_0x5cad(_0xacabb0,_0x48681c){_0xacabb0=_0xacabb0-0x150;const _0x388935=a282_0x3889();let _0x5cad81=_0x388935[_0xacabb0];return _0x5cad81;}export function getOfficialRoutingProfile(_0x4e78ee){return OFFICIAL_ROUTING_PROFILES[_0x4e78ee];}export function getOfficialRoutingCdn(_0x1aef2e){const _0x6dce80=a282_0x5cad,_0x5eefc3=getOfficialRoutingProfile(_0x1aef2e)['cdn'];if(!_0x5eefc3['lovrabet'])throw new Error(_0x6dce80(0x155)+_0x1aef2e+_0x6dce80(0x151));return{'libraries':_0x5eefc3[_0x6dce80(0x15a)],'lovrabet':_0x5eefc3[_0x6dce80(0x160)]};}