@lovrabet/rabetbase-cli 2.5.4-beta.5 → 2.5.4

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 (358) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/api-group.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/api/generate-sdk-config-file.js +1 -1
  6. package/lib/api/legacy-api-file.js +1 -1
  7. package/lib/api/model-registry-file.js +1 -1
  8. package/lib/api/model-registry-scaffold.js +1 -1
  9. package/lib/api/model-source.js +1 -1
  10. package/lib/auth/auth-server-ui.js +1 -1
  11. package/lib/auth/auth-server.js +1 -1
  12. package/lib/auth/constant.js +1 -1
  13. package/lib/auth/get-cookie.js +1 -1
  14. package/lib/auth/get-session-user.js +1 -1
  15. package/lib/auth/is-session-valid.js +1 -1
  16. package/lib/auth/login-success-html.js +1 -1
  17. package/lib/auth/logout.js +1 -1
  18. package/lib/cli-flags.js +1 -1
  19. package/lib/cli.js +1 -1
  20. package/lib/commands/api/generate.js +1 -1
  21. package/lib/commands/api/index.js +1 -1
  22. package/lib/commands/api/list.js +1 -1
  23. package/lib/commands/api/pull.js +1 -1
  24. package/lib/commands/api/shared.js +1 -1
  25. package/lib/commands/app/detail.js +1 -1
  26. package/lib/commands/app/index.js +1 -1
  27. package/lib/commands/app/list.js +1 -1
  28. package/lib/commands/app/members-list.js +1 -1
  29. package/lib/commands/app/remote-directory.js +1 -1
  30. package/lib/commands/app/shared.js +1 -1
  31. package/lib/commands/app-config/delete.js +1 -1
  32. package/lib/commands/app-config/get.js +1 -1
  33. package/lib/commands/app-config/index.js +1 -1
  34. package/lib/commands/app-config/list.js +1 -1
  35. package/lib/commands/app-config/set.js +1 -1
  36. package/lib/commands/app-config/shared.js +1 -1
  37. package/lib/commands/auth/index.js +1 -1
  38. package/lib/commands/bff/create.js +1 -1
  39. package/lib/commands/bff/delete.js +1 -1
  40. package/lib/commands/bff/detail.js +1 -1
  41. package/lib/commands/bff/index.js +1 -1
  42. package/lib/commands/bff/list.js +1 -1
  43. package/lib/commands/bff/logs.js +1 -1
  44. package/lib/commands/bff/pull.js +1 -1
  45. package/lib/commands/bff/push.js +1 -1
  46. package/lib/commands/bff/status.js +1 -1
  47. package/lib/commands/cli-skill/index.js +1 -1
  48. package/lib/commands/cli-update.js +1 -1
  49. package/lib/commands/codegen/index.js +1 -1
  50. package/lib/commands/codegen/sdk.js +1 -1
  51. package/lib/commands/codegen/sql.js +1 -1
  52. package/lib/commands/common/app-registry.js +1 -1
  53. package/lib/commands/common/app-selector.js +1 -1
  54. package/lib/commands/common/async-task.js +1 -1
  55. package/lib/commands/common/dry-run.js +1 -1
  56. package/lib/commands/common/flags.js +1 -1
  57. package/lib/commands/common/local-file.js +1 -1
  58. package/lib/commands/common/validate.js +1 -1
  59. package/lib/commands/config/delete.js +1 -1
  60. package/lib/commands/config/get.js +1 -1
  61. package/lib/commands/config/index.js +1 -1
  62. package/lib/commands/config/init.js +1 -1
  63. package/lib/commands/config/list.js +1 -1
  64. package/lib/commands/config/set.js +1 -1
  65. package/lib/commands/config/shared.js +1 -1
  66. package/lib/commands/dataset/batch-design.js +1 -1
  67. package/lib/commands/dataset/business-group-update.js +1 -1
  68. package/lib/commands/dataset/business-groups.js +1 -1
  69. package/lib/commands/dataset/capability.js +1 -1
  70. package/lib/commands/dataset/cross-relation-create.js +1 -1
  71. package/lib/commands/dataset/cross-relation-delete.js +1 -1
  72. package/lib/commands/dataset/cross-relation-list.js +1 -1
  73. package/lib/commands/dataset/cross-relation-shared.js +1 -1
  74. package/lib/commands/dataset/cross-relation-update.js +1 -1
  75. package/lib/commands/dataset/delete.js +1 -1
  76. package/lib/commands/dataset/detail.js +1 -1
  77. package/lib/commands/dataset/extend-update.js +1 -1
  78. package/lib/commands/dataset/field-restore.js +1 -1
  79. package/lib/commands/dataset/field-update.js +1 -1
  80. package/lib/commands/dataset/generate.js +1 -1
  81. package/lib/commands/dataset/index.js +1 -1
  82. package/lib/commands/dataset/list.js +1 -1
  83. package/lib/commands/dataset/operations.js +1 -1
  84. package/lib/commands/dataset/relation-audit.js +1 -1
  85. package/lib/commands/dataset/relation-create.js +1 -1
  86. package/lib/commands/dataset/relation-delete.js +1 -1
  87. package/lib/commands/dataset/relation-shared.js +1 -1
  88. package/lib/commands/dataset/relation-update.js +1 -1
  89. package/lib/commands/dataset/relations.js +1 -1
  90. package/lib/commands/dataset/rename.js +1 -1
  91. package/lib/commands/dataset/restore.js +1 -1
  92. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  93. package/lib/commands/db/analysis-batching.js +1 -1
  94. package/lib/commands/db/analyze-batch-plan.js +1 -1
  95. package/lib/commands/db/analyze-cancel.js +1 -1
  96. package/lib/commands/db/analyze-start.js +1 -1
  97. package/lib/commands/db/analyze-status.js +1 -1
  98. package/lib/commands/db/create.js +1 -1
  99. package/lib/commands/db/delete.js +1 -1
  100. package/lib/commands/db/detail.js +1 -1
  101. package/lib/commands/db/diff-refresh-start.js +1 -1
  102. package/lib/commands/db/diff-refresh-status.js +1 -1
  103. package/lib/commands/db/diff.js +1 -1
  104. package/lib/commands/db/index.js +1 -1
  105. package/lib/commands/db/list.js +1 -1
  106. package/lib/commands/db/shared.js +1 -1
  107. package/lib/commands/db/table-diff-shared.js +1 -1
  108. package/lib/commands/db/tables.js +1 -1
  109. package/lib/commands/db/test.js +1 -1
  110. package/lib/commands/db/update.js +1 -1
  111. package/lib/commands/deployment/index.js +1 -1
  112. package/lib/commands/deployment/sync-all.js +1 -1
  113. package/lib/commands/deployment/sync-jobs.js +1 -1
  114. package/lib/commands/deployment/sync-status.js +1 -1
  115. package/lib/commands/doctor.js +1 -1
  116. package/lib/commands/file/index.js +1 -1
  117. package/lib/commands/flow/create.js +1 -1
  118. package/lib/commands/flow/detail.js +1 -1
  119. package/lib/commands/flow/index.js +1 -1
  120. package/lib/commands/flow/list.js +1 -1
  121. package/lib/commands/flow/publish.js +1 -1
  122. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  123. package/lib/commands/flow/runtime-role-list.js +1 -1
  124. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  125. package/lib/commands/flow/runtime-user-search.js +1 -1
  126. package/lib/commands/flow/shared.js +1 -1
  127. package/lib/commands/flow/update.js +1 -1
  128. package/lib/commands/flow/validate.js +1 -1
  129. package/lib/commands/instant-api-policy/current.js +1 -1
  130. package/lib/commands/instant-api-policy/index.js +1 -1
  131. package/lib/commands/instant-api-policy/init.js +1 -1
  132. package/lib/commands/instant-api-policy/publish.js +1 -1
  133. package/lib/commands/instant-api-policy/pull.js +1 -1
  134. package/lib/commands/instant-api-policy/revision.js +1 -1
  135. package/lib/commands/instant-api-policy/revisions.js +1 -1
  136. package/lib/commands/instant-api-policy/rollback.js +1 -1
  137. package/lib/commands/instant-api-policy/shared.js +1 -1
  138. package/lib/commands/instant-api-policy/validate.js +1 -1
  139. package/lib/commands/issue/index.js +1 -1
  140. package/lib/commands/issue/nudge.js +1 -1
  141. package/lib/commands/issue/report.js +1 -1
  142. package/lib/commands/issue/shared.js +1 -1
  143. package/lib/commands/kb/create.js +1 -1
  144. package/lib/commands/kb/delete.js +1 -1
  145. package/lib/commands/kb/detail.js +1 -1
  146. package/lib/commands/kb/index.js +1 -1
  147. package/lib/commands/kb/list.js +1 -1
  148. package/lib/commands/kb/search.js +1 -1
  149. package/lib/commands/kb/shared.js +1 -1
  150. package/lib/commands/kb/update.js +1 -1
  151. package/lib/commands/logs/index.js +1 -1
  152. package/lib/commands/menu/asset-update.js +1 -1
  153. package/lib/commands/menu/delete.js +1 -1
  154. package/lib/commands/menu/external-link-create.js +1 -1
  155. package/lib/commands/menu/external-link-update.js +1 -1
  156. package/lib/commands/menu/group-create.js +1 -1
  157. package/lib/commands/menu/group-update.js +1 -1
  158. package/lib/commands/menu/index.js +1 -1
  159. package/lib/commands/menu/list.js +1 -1
  160. package/lib/commands/menu/move.js +1 -1
  161. package/lib/commands/menu/regroup-start.js +1 -1
  162. package/lib/commands/menu/rename.js +1 -1
  163. package/lib/commands/menu/shared/compare-table.js +1 -1
  164. package/lib/commands/menu/shared/delete-plan.js +1 -1
  165. package/lib/commands/menu/shared/facts.js +1 -1
  166. package/lib/commands/menu/shared/index.js +1 -1
  167. package/lib/commands/menu/shared/inquirer.js +1 -1
  168. package/lib/commands/menu/shared/local-pages.js +1 -1
  169. package/lib/commands/menu/shared/logic.js +1 -1
  170. package/lib/commands/menu/shared/mutations.js +1 -1
  171. package/lib/commands/menu/shared/path.js +1 -1
  172. package/lib/commands/menu/shared/service.js +1 -1
  173. package/lib/commands/menu/shared/subapp-assets.js +1 -1
  174. package/lib/commands/menu/shared/sync-core.js +1 -1
  175. package/lib/commands/menu/shared/update-core.js +1 -1
  176. package/lib/commands/menu/shared/valid-url.js +1 -1
  177. package/lib/commands/menu/subapp-assets-status.js +1 -1
  178. package/lib/commands/menu/subapp-assets-update.js +1 -1
  179. package/lib/commands/menu/sync.js +1 -1
  180. package/lib/commands/menu/visibility-update.js +1 -1
  181. package/lib/commands/notification/config-create.js +1 -1
  182. package/lib/commands/notification/config-delete.js +1 -1
  183. package/lib/commands/notification/config-list.js +1 -1
  184. package/lib/commands/notification/config-update.js +1 -1
  185. package/lib/commands/notification/index.js +1 -1
  186. package/lib/commands/notification/shared.js +1 -1
  187. package/lib/commands/ocr/index.js +1 -1
  188. package/lib/commands/page/create.js +1 -1
  189. package/lib/commands/page/custom/detail.js +1 -1
  190. package/lib/commands/page/custom/list.js +1 -1
  191. package/lib/commands/page/custom/publish.js +1 -1
  192. package/lib/commands/page/custom/shared.js +1 -1
  193. package/lib/commands/page/custom/syntax.js +1 -1
  194. package/lib/commands/page/custom/update.js +1 -1
  195. package/lib/commands/page/data-list-status.js +1 -1
  196. package/lib/commands/page/generate-start.js +1 -1
  197. package/lib/commands/page/generate-status.js +1 -1
  198. package/lib/commands/page/index.js +1 -1
  199. package/lib/commands/page/pull.js +1 -1
  200. package/lib/commands/page/push.js +1 -1
  201. package/lib/commands/page/relation-audit.js +1 -1
  202. package/lib/commands/page/restore.js +1 -1
  203. package/lib/commands/page/shared.js +1 -1
  204. package/lib/commands/page/sync.js +1 -1
  205. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  206. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  207. package/lib/commands/project/create/format-elapsed.js +1 -1
  208. package/lib/commands/project/create/main.js +1 -1
  209. package/lib/commands/project/create/materialize-project-template.js +1 -1
  210. package/lib/commands/project/create/project-name.js +1 -1
  211. package/lib/commands/project/create/project-template-archive.js +1 -1
  212. package/lib/commands/project/create/project-template-path.js +1 -1
  213. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  214. package/lib/commands/project/create/use-format-code.js +1 -1
  215. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  216. package/lib/commands/project/domain-routing-sync.js +1 -1
  217. package/lib/commands/project/index.js +1 -1
  218. package/lib/commands/project/upgrade.js +1 -1
  219. package/lib/commands/registry.js +1 -1
  220. package/lib/commands/role/delete.js +1 -1
  221. package/lib/commands/role/detail.js +1 -1
  222. package/lib/commands/role/index.js +1 -1
  223. package/lib/commands/role/list.js +1 -1
  224. package/lib/commands/role/shared.js +1 -1
  225. package/lib/commands/role/update.js +1 -1
  226. package/lib/commands/role/user-add.js +1 -1
  227. package/lib/commands/role/user-remove.js +1 -1
  228. package/lib/commands/role/user-resolve.js +1 -1
  229. package/lib/commands/rule/get.js +1 -1
  230. package/lib/commands/rule/index.js +1 -1
  231. package/lib/commands/rule/list.js +1 -1
  232. package/lib/commands/rule/set.js +1 -1
  233. package/lib/commands/rule/shared.js +1 -1
  234. package/lib/commands/run/index.js +1 -1
  235. package/lib/commands/schema.js +1 -1
  236. package/lib/commands/sql/create.js +1 -1
  237. package/lib/commands/sql/delete.js +1 -1
  238. package/lib/commands/sql/detail.js +1 -1
  239. package/lib/commands/sql/exec.js +1 -1
  240. package/lib/commands/sql/index.js +1 -1
  241. package/lib/commands/sql/list.js +1 -1
  242. package/lib/commands/sql/pull.js +1 -1
  243. package/lib/commands/sql/push.js +1 -1
  244. package/lib/commands/sql/shared.js +1 -1
  245. package/lib/commands/sql/status.js +1 -1
  246. package/lib/commands/sql/validate.js +1 -1
  247. package/lib/commands/task/index.js +1 -1
  248. package/lib/commands/task/status.js +1 -1
  249. package/lib/commands/tenant/index.js +1 -1
  250. package/lib/commands/tenant/members-list.js +1 -1
  251. package/lib/commands/tenant/shared.js +1 -1
  252. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  253. package/lib/commands/user-account/feishu-bind.js +1 -1
  254. package/lib/commands/user-account/index.js +1 -1
  255. package/lib/commands/workspace/add.js +1 -1
  256. package/lib/commands/workspace/index.js +1 -1
  257. package/lib/commands/workspace/remove.js +1 -1
  258. package/lib/config/domain-config.js +1 -1
  259. package/lib/config/project-domain-routing.js +1 -1
  260. package/lib/config/region-config.js +1 -1
  261. package/lib/config/schema.js +1 -1
  262. package/lib/constant/cdn.js +1 -1
  263. package/lib/constant/cli.js +1 -1
  264. package/lib/constant/defaults.js +1 -1
  265. package/lib/constant/domain.js +1 -1
  266. package/lib/constant/env.js +1 -1
  267. package/lib/constant/output.js +1 -1
  268. package/lib/constant/paths.js +1 -1
  269. package/lib/constant/region.js +1 -1
  270. package/lib/constant/risk.js +1 -1
  271. package/lib/constant/routing-profile.js +1 -1
  272. package/lib/context/app-resolver.js +1 -1
  273. package/lib/context/auth-resolver.js +1 -1
  274. package/lib/context/config-loader.js +1 -1
  275. package/lib/context.js +1 -1
  276. package/lib/core/alias-resolver.js +1 -1
  277. package/lib/core/api-client.js +1 -1
  278. package/lib/core/bff/config.js +1 -1
  279. package/lib/core/bff/file-system.js +1 -1
  280. package/lib/core/bff/hash.js +1 -1
  281. package/lib/core/bff/hook-directory.js +1 -1
  282. package/lib/core/bff/lock.js +1 -1
  283. package/lib/core/bff/utils.js +1 -1
  284. package/lib/core/cross-db-relation.js +1 -1
  285. package/lib/core/db-resolver.js +1 -1
  286. package/lib/core/flow-config.js +1 -1
  287. package/lib/core/instant-api-policy/config.js +1 -1
  288. package/lib/core/kb-search-client.js +1 -1
  289. package/lib/core/page/file-system.js +1 -1
  290. package/lib/core/page/hash.js +1 -1
  291. package/lib/core/page/lock.js +1 -1
  292. package/lib/core/page/lr-smart-jsx.js +1 -1
  293. package/lib/core/sql-index-auditor.js +1 -1
  294. package/lib/core/sql-sync/config.js +1 -1
  295. package/lib/core/sql-sync/file-system.js +1 -1
  296. package/lib/core/sql-sync/hash.js +1 -1
  297. package/lib/core/sql-sync/lock.js +1 -1
  298. package/lib/core/sql-sync/utils.js +1 -1
  299. package/lib/core/sql-validator.js +1 -1
  300. package/lib/errors.js +1 -1
  301. package/lib/framework/build-all-flags.js +1 -1
  302. package/lib/framework/error-output.js +1 -1
  303. package/lib/framework/explicit-yes.js +1 -1
  304. package/lib/framework/flags.js +1 -1
  305. package/lib/framework/help.js +1 -1
  306. package/lib/framework/index.js +1 -1
  307. package/lib/framework/output.js +1 -1
  308. package/lib/framework/response.js +1 -1
  309. package/lib/framework/runner-alias.js +1 -1
  310. package/lib/framework/runner.js +1 -1
  311. package/lib/framework/schema-export.js +1 -1
  312. package/lib/framework/supported-flags.js +1 -1
  313. package/lib/framework/types.js +1 -1
  314. package/lib/generated/build-info.d.ts +4 -4
  315. package/lib/generated/build-info.js +1 -1
  316. package/lib/generated/official-routing.js +1 -1
  317. package/lib/generated/routing-contract.js +1 -1
  318. package/lib/help.js +1 -1
  319. package/lib/postinstall.js +1 -1
  320. package/lib/runtime/confirmation.js +1 -1
  321. package/lib/runtime/event.js +1 -1
  322. package/lib/runtime/index.js +1 -1
  323. package/lib/runtime/queue.js +1 -1
  324. package/lib/runtime/resolve.js +1 -1
  325. package/lib/skills/builtin-skill.js +1 -1
  326. package/lib/skills/main.js +1 -1
  327. package/lib/skills/npx-skills-add.js +1 -1
  328. package/lib/skills/skill-presence.js +1 -1
  329. package/lib/telemetry/cli-command-trace.js +1 -1
  330. package/lib/telemetry/cli-help-trace.js +1 -1
  331. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  332. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  333. package/lib/telemetry/send-cli-trace-log.js +1 -1
  334. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  335. package/lib/utils/ai_config.js +1 -1
  336. package/lib/utils/apply-jq-filter.js +1 -1
  337. package/lib/utils/cdn-config.js +1 -1
  338. package/lib/utils/check-sdk-version.js +1 -1
  339. package/lib/utils/cli-version-check.js +1 -1
  340. package/lib/utils/cli-version-policy.js +1 -1
  341. package/lib/utils/config.js +1 -1
  342. package/lib/utils/entity-with-id.js +1 -1
  343. package/lib/utils/file-utils.js +1 -1
  344. package/lib/utils/guides-cdn.js +1 -1
  345. package/lib/utils/http-client.js +1 -1
  346. package/lib/utils/is-non-interactive.js +1 -1
  347. package/lib/utils/logger.js +1 -1
  348. package/lib/utils/params.js +1 -1
  349. package/lib/utils/platform.js +1 -1
  350. package/lib/utils/sleep.js +1 -1
  351. package/lib/utils/template-replacer.js +1 -1
  352. package/lib/utils/update-notice.js +1 -1
  353. package/lib/utils/version.js +1 -1
  354. package/lib/utils/with-active-cookie.js +1 -1
  355. package/lib/utils/write-cli-side-channel.js +1 -1
  356. package/package.json +1 -1
  357. package/skills/rabetbase/SKILL.md +1 -1
  358. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- const a260_0x40009b=a260_0x50ff;(function(_0x3b3942,_0xd93d7d){const _0x31e84d=a260_0x50ff,_0x10f304=_0x3b3942();while(!![]){try{const _0x2dd21c=-parseInt(_0x31e84d(0xf6))/0x1*(parseInt(_0x31e84d(0xdd))/0x2)+-parseInt(_0x31e84d(0xf9))/0x3+-parseInt(_0x31e84d(0xfb))/0x4+-parseInt(_0x31e84d(0xfd))/0x5+-parseInt(_0x31e84d(0xea))/0x6*(parseInt(_0x31e84d(0xe6))/0x7)+parseInt(_0x31e84d(0xe9))/0x8*(-parseInt(_0x31e84d(0xee))/0x9)+parseInt(_0x31e84d(0xf4))/0xa*(parseInt(_0x31e84d(0xe7))/0xb);if(_0x2dd21c===_0xd93d7d)break;else _0x10f304['push'](_0x10f304['shift']());}catch(_0x175518){_0x10f304['push'](_0x10f304['shift']());}}}(a260_0xed40,0xd80a1));import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'../constant/region.js';import{CliErrors}from'../errors.js';export function selectConfiguredRegion(_0x58f68e){const _0x5aa831=a260_0x50ff;if(_0x58f68e[_0x5aa831(0xe4)]!==undefined&&_0x58f68e['appRegion']!==null&&_0x58f68e[_0x5aa831(0xe4)]!=='')return{'value':_0x58f68e[_0x5aa831(0xe4)],'source':_0x5aa831(0xfc)};if(_0x58f68e[_0x5aa831(0xf2)]!==undefined&&_0x58f68e[_0x5aa831(0xf2)]!==null&&_0x58f68e[_0x5aa831(0xf2)]!=='')return{'value':_0x58f68e[_0x5aa831(0xf2)],'source':_0x5aa831(0xef)};if(_0x58f68e['globalRegion']!==undefined&&_0x58f68e['globalRegion']!==null&&_0x58f68e[_0x5aa831(0xed)]!=='')return{'value':_0x58f68e['globalRegion'],'source':_0x5aa831(0xf8)};if(_0x58f68e[_0x5aa831(0xe2)]!==undefined&&_0x58f68e[_0x5aa831(0xe2)]!==null&&_0x58f68e['mergedRegion']!=='')return{'value':_0x58f68e[_0x5aa831(0xe2)],'source':'config'};return{'value':undefined,'source':_0x5aa831(0xde)};}function a260_0xed40(){const _0xe6b106=['default','Run\x20`','app\x20profile\x20\x22','a\x20value\x20of\x20type\x20','mergedRegion','appName','appRegion','Invalid\x20country/region\x20','7Rqqult','23801371OKJdAT','selected\x20app\x20profile','12728344EHsWvF','681402uurymf','Rabetbase\x20configuration','validation','globalRegion','9prtxxx','project','stringify','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','projectRegion','project\x20Rabetbase\x20configuration','30QhQruo','source','2RmhHrI','null','global','1967307gVFSCS','global\x20Rabetbase\x20configuration','3916064txspYH','app','4359755rbYMXq','\x20in\x20','1395040xSuBLF'];a260_0xed40=function(){return _0xe6b106;};return a260_0xed40();}function a260_0x50ff(_0x8bdd86,_0x174383){_0x8bdd86=_0x8bdd86-0xdc;const _0xed4028=a260_0xed40();let _0x50ff3f=_0xed4028[_0x8bdd86];return _0x50ff3f;}function describeConfiguredRegion(_0x53531f){const _0x519520=a260_0x50ff;return typeof _0x53531f==='string'?JSON[_0x519520(0xf0)](_0x53531f):_0x519520(0xe1)+(_0x53531f===null?_0x519520(0xf7):typeof _0x53531f);}export function resolveConfiguredRegion(_0x397490,_0x39927a=a260_0x40009b(0xeb)){const _0x42a3f5=a260_0x40009b;if(isInvalidLovrabetRegion(_0x397490))throw CliErrors[_0x42a3f5(0xec)](_0x42a3f5(0xe5)+describeConfiguredRegion(_0x397490)+_0x42a3f5(0xdc)+_0x39927a+'.',_0x42a3f5(0xdf)+CLI_BIN_NAME+_0x42a3f5(0xf1));return normalizeLovrabetRegion(_0x397490)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x1ac31f){const _0x289247=a260_0x40009b,_0x13a070=selectConfiguredRegion(_0x1ac31f),_0x48ffaa=_0x13a070[_0x289247(0xf5)]===_0x289247(0xfc)?_0x1ac31f[_0x289247(0xe3)]?_0x289247(0xe0)+_0x1ac31f['appName']+'\x22':_0x289247(0xe8):_0x13a070[_0x289247(0xf5)]===_0x289247(0xef)?_0x289247(0xf3):_0x13a070[_0x289247(0xf5)]===_0x289247(0xf8)?_0x289247(0xfa):_0x289247(0xeb);return{'region':resolveConfiguredRegion(_0x13a070['value'],_0x48ffaa),'source':_0x13a070[_0x289247(0xf5)]};}
1
+ const a260_0xa4f6f1=a260_0x22dd;(function(_0x3fa1ff,_0x3682a6){const _0x5de116=a260_0x22dd,_0x23f9bf=_0x3fa1ff();while(!![]){try{const _0x595e58=-parseInt(_0x5de116(0xa8))/0x1*(parseInt(_0x5de116(0x95))/0x2)+-parseInt(_0x5de116(0xa3))/0x3+parseInt(_0x5de116(0x97))/0x4+parseInt(_0x5de116(0x99))/0x5*(-parseInt(_0x5de116(0xa7))/0x6)+-parseInt(_0x5de116(0x9f))/0x7*(parseInt(_0x5de116(0xa6))/0x8)+-parseInt(_0x5de116(0x93))/0x9+parseInt(_0x5de116(0x96))/0xa;if(_0x595e58===_0x3682a6)break;else _0x23f9bf['push'](_0x23f9bf['shift']());}catch(_0x330346){_0x23f9bf['push'](_0x23f9bf['shift']());}}}(a260_0xc8c5,0xed897));import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'../constant/region.js';import{CliErrors}from'../errors.js';function a260_0xc8c5(){const _0x316bc8=['config','validation','project','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','Invalid\x20country/region\x20','stringify','app','null','global\x20Rabetbase\x20configuration','appRegion','globalRegion','8040843NNmXBj','app\x20profile\x20\x22','4HIaeJJ','41895360LcXkdg','5563900OetgrZ','Rabetbase\x20configuration','4405lqcqNR','source','projectRegion','global','string','Run\x20`','196wMqJLM','project\x20Rabetbase\x20configuration','a\x20value\x20of\x20type\x20','value','1165842UGAmOE','mergedRegion','appName','275024tNFIah','12966XWBGfF','229547mBZXyl'];a260_0xc8c5=function(){return _0x316bc8;};return a260_0xc8c5();}function a260_0x22dd(_0x490868,_0x3debfe){_0x490868=_0x490868-0x90;const _0xc8c55=a260_0xc8c5();let _0x22dd89=_0xc8c55[_0x490868];return _0x22dd89;}export function selectConfiguredRegion(_0x45e8eb){const _0x1c5005=a260_0x22dd;if(_0x45e8eb[_0x1c5005(0x91)]!==undefined&&_0x45e8eb[_0x1c5005(0x91)]!==null&&_0x45e8eb[_0x1c5005(0x91)]!=='')return{'value':_0x45e8eb[_0x1c5005(0x91)],'source':_0x1c5005(0xaf)};if(_0x45e8eb[_0x1c5005(0x9b)]!==undefined&&_0x45e8eb['projectRegion']!==null&&_0x45e8eb[_0x1c5005(0x9b)]!=='')return{'value':_0x45e8eb['projectRegion'],'source':_0x1c5005(0xab)};if(_0x45e8eb['globalRegion']!==undefined&&_0x45e8eb[_0x1c5005(0x92)]!==null&&_0x45e8eb[_0x1c5005(0x92)]!=='')return{'value':_0x45e8eb[_0x1c5005(0x92)],'source':_0x1c5005(0x9c)};if(_0x45e8eb[_0x1c5005(0xa4)]!==undefined&&_0x45e8eb[_0x1c5005(0xa4)]!==null&&_0x45e8eb['mergedRegion']!=='')return{'value':_0x45e8eb['mergedRegion'],'source':_0x1c5005(0xa9)};return{'value':undefined,'source':'default'};}function describeConfiguredRegion(_0x1ead0c){const _0x448ea8=a260_0x22dd;return typeof _0x1ead0c===_0x448ea8(0x9d)?JSON[_0x448ea8(0xae)](_0x1ead0c):_0x448ea8(0xa1)+(_0x1ead0c===null?_0x448ea8(0xb0):typeof _0x1ead0c);}export function resolveConfiguredRegion(_0x3b138a,_0x57e76f=a260_0xa4f6f1(0x98)){const _0x15023d=a260_0xa4f6f1;if(isInvalidLovrabetRegion(_0x3b138a))throw CliErrors[_0x15023d(0xaa)](_0x15023d(0xad)+describeConfiguredRegion(_0x3b138a)+'\x20in\x20'+_0x57e76f+'.',_0x15023d(0x9e)+CLI_BIN_NAME+_0x15023d(0xac));return normalizeLovrabetRegion(_0x3b138a)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x1d603a){const _0x46a858=a260_0xa4f6f1,_0x41fd5a=selectConfiguredRegion(_0x1d603a),_0x3c4500=_0x41fd5a[_0x46a858(0x9a)]==='app'?_0x1d603a[_0x46a858(0xa5)]?_0x46a858(0x94)+_0x1d603a[_0x46a858(0xa5)]+'\x22':'selected\x20app\x20profile':_0x41fd5a[_0x46a858(0x9a)]===_0x46a858(0xab)?_0x46a858(0xa0):_0x41fd5a['source']===_0x46a858(0x9c)?_0x46a858(0x90):_0x46a858(0x98);return{'region':resolveConfiguredRegion(_0x41fd5a[_0x46a858(0xa2)],_0x3c4500),'source':_0x41fd5a[_0x46a858(0x9a)]};}
@@ -1 +1 @@
1
- const a261_0x26773f=a261_0x17c1;(function(_0x1172fd,_0x25e132){const _0x58d994=a261_0x17c1,_0x564216=_0x1172fd();while(!![]){try{const _0x466331=parseInt(_0x58d994(0xba))/0x1+parseInt(_0x58d994(0xb0))/0x2*(-parseInt(_0x58d994(0x9e))/0x3)+parseInt(_0x58d994(0xb1))/0x4+-parseInt(_0x58d994(0xa2))/0x5+parseInt(_0x58d994(0x96))/0x6+parseInt(_0x58d994(0xb4))/0x7*(-parseInt(_0x58d994(0xb3))/0x8)+-parseInt(_0x58d994(0xb6))/0x9;if(_0x466331===_0x25e132)break;else _0x564216['push'](_0x564216['shift']());}catch(_0x54c068){_0x564216['push'](_0x564216['shift']());}}}(a261_0x5a50,0x946eb));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,isProduction,RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a261_0x26773f(0xaa),'accessKey','locale',a261_0x26773f(0xb9),a261_0x26773f(0x99),a261_0x26773f(0xbb),'routing','userDomain',a261_0x26773f(0x9b),a261_0x26773f(0x97),a261_0x26773f(0xa5),a261_0x26773f(0xbc),a261_0x26773f(0xa9),a261_0x26773f(0xb8),'localDomain',a261_0x26773f(0xa0)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a261_0x26773f(0xc4),a261_0x26773f(0xb2),a261_0x26773f(0xa3),a261_0x26773f(0xb9),a261_0x26773f(0xaa),a261_0x26773f(0x91),a261_0x26773f(0xc5),a261_0x26773f(0xbb),a261_0x26773f(0xad),a261_0x26773f(0x9b),a261_0x26773f(0x97),a261_0x26773f(0xa5),'kbDomain',a261_0x26773f(0xa9),a261_0x26773f(0xb8),'localDomain','certificateDomain']);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x13069f){return[..._0x13069f]['join'](',\x20');}function a261_0x5a50(){const _0x21add7=['Config\x20key\x20(','isArray','2UkinLQ','2111776MZnfCb','env','608suKiTi','8652jodDKe','Access\x20key','9860472AhUpuf','trim','appDomain','format','1168927MAehQm','region','kbDomain','values','number','zh-CN','apiGroup','inherit','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','en-US','appcode','apiDir','accessKey','toLowerCase','apps','Country/region\x20for\x20this\x20app\x20profile','fromEntries','3247134RtSzIn','runtimeDomain','pageSize','riskLevel','string','apiDomain','API\x20directory\x20path','object','313143sGxohe','filter','certificateDomain','defaultApp','1680780xDLoul','locale','Auth\x20cookie','skillDomain','length','has','Risk\x20level','kbServiceDomain','cookie','app','map','userDomain'];a261_0x5a50=function(){return _0x21add7;};return a261_0x5a50();}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x247d45){const _0x3d96f0=a261_0x26773f;return TOP_LEVEL_CONFIG_KEYS[_0x3d96f0(0xa7)](_0x247d45);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x2c46b7=a261_0x26773f;return _0x2c46b7(0xae)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':a261_0x26773f(0xc0),'region':a261_0x26773f(0xbb),'env':a261_0x26773f(0xb2),'apiDir':a261_0x26773f(0xc5),'cookie':'cookie','accessKey':'accessKey','defaultFormat':a261_0x26773f(0xb9),'pageSize':a261_0x26773f(0x98),'riskLevel':a261_0x26773f(0x99),'locale':a261_0x26773f(0xa3)};export function getAppProfileFlagDefs(){const _0x31edd5=a261_0x26773f;return[{'name':_0x31edd5(0xc0),'type':_0x31edd5(0x9a),'description':_0x31edd5(0xc2)},{'name':_0x31edd5(0xbb),'type':'string','description':_0x31edd5(0x94),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':_0x31edd5(0xb2),'type':_0x31edd5(0x9a),'description':'Target\x20environment','enum':[...RABETBASE_ENV_VALUES]},{'name':_0x31edd5(0xc5),'type':_0x31edd5(0x9a),'description':_0x31edd5(0x9c)},{'name':_0x31edd5(0xaa),'type':_0x31edd5(0x9a),'description':_0x31edd5(0xa4),'hidden':!![]},{'name':_0x31edd5(0x91),'type':_0x31edd5(0x9a),'description':_0x31edd5(0xb5),'hidden':!![]},{'name':'defaultFormat','type':_0x31edd5(0x9a),'description':'Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x31edd5(0x98),'type':_0x31edd5(0xbe),'description':'Default\x20page\x20size'},{'name':'riskLevel','type':_0x31edd5(0x9a),'description':_0x31edd5(0xa8),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x31edd5(0xa3),'type':_0x31edd5(0x9a),'description':'App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)'}];}export function collectAppProfileOverrides(_0x462363){const _0x2c418e=a261_0x26773f,_0x4c2617={};for(const [_0x4d8b10,_0x3bf174]of Object['entries'](APP_PROFILE_FLAG_KEY_MAP)){const _0x53d6cd=_0x462363(_0x4d8b10);if(!_0x53d6cd)continue;_0x4c2617[_0x3bf174]=_0x3bf174===_0x2c418e(0x98)?Number(_0x53d6cd):_0x53d6cd;}return _0x4c2617;}export function buildAppProfileListFields(_0x105724){const _0x85bfc0=a261_0x26773f;return{'apiGroup':_0x105724[_0x85bfc0(0xc0)]??null,'region':_0x105724[_0x85bfc0(0xbb)]??null,'env':_0x105724['env']??null,'apiDir':_0x105724['apiDir']??null,'hasCookie':!!_0x105724[_0x85bfc0(0xaa)],'hasAccessKey':!!_0x105724[_0x85bfc0(0x91)],'format':_0x105724[_0x85bfc0(0xb9)]??null,'pageSize':_0x105724[_0x85bfc0(0x98)]??null,'riskLevel':_0x105724[_0x85bfc0(0x99)]??null,'locale':_0x105724['locale']??null};}export function buildAppDoctorFields(_0x242389,_0x45300e){const _0x188d49=a261_0x26773f;return{'region':{'value':_0x242389[_0x188d49(0xbb)]||_0x45300e[_0x188d49(0xbb)],'source':_0x242389[_0x188d49(0xbb)]?_0x188d49(0xab):_0x188d49(0xc1)},'env':{'value':_0x242389[_0x188d49(0xb2)]||_0x45300e['env'],'source':_0x242389['env']?_0x188d49(0xab):'inherit'},'apiDir':{'value':_0x242389['apiDir']||_0x45300e[_0x188d49(0xc5)],'source':_0x242389[_0x188d49(0xc5)]?'app':'inherit'},'cookie':{'value':_0x242389['cookie']||_0x45300e[_0x188d49(0xaa)],'source':_0x242389[_0x188d49(0xaa)]?_0x188d49(0xab):_0x188d49(0xc1)},'accessKey':{'value':_0x242389[_0x188d49(0x91)]||_0x45300e[_0x188d49(0x91)],'source':_0x242389[_0x188d49(0x91)]?_0x188d49(0xab):'inherit'}};}export function buildCanonicalAppConfig(_0x5c10bc,_0x2f4c2d){const _0x278e75=a261_0x26773f,_0x52f5b0=_0x5c10bc['map'](_0x14ba92=>String(_0x14ba92||'')[_0x278e75(0xb7)]())[_0x278e75(0x9f)](Boolean);if(_0x52f5b0['length']===0x0)return{};const _0xf5487d={};for(const _0x16d22e of _0x52f5b0){_0xf5487d[_0x16d22e]=_0x2f4c2d&&!isProduction(_0x2f4c2d)?{'appcode':_0x16d22e,'env':_0x2f4c2d}:{'appcode':_0x16d22e};}return _0x52f5b0[_0x278e75(0xa6)]>0x1?{'apps':_0xf5487d,'defaultApp':_0x52f5b0[0x0]}:{'apps':_0xf5487d};}export function normalizeStoredDefaultApp(_0x2b3c9d,_0x5672cb){const _0x410c56=a261_0x26773f,_0xa3d74=_0x2b3c9d['apps']&&typeof _0x2b3c9d['apps']===_0x410c56(0x9d)?_0x2b3c9d['apps']:{},_0x4c6884=Object['keys'](_0xa3d74);if(_0x4c6884[_0x410c56(0xa6)]<=0x1)return delete _0x2b3c9d[_0x410c56(0xa1)],undefined;const _0x45d21f=typeof _0x2b3c9d['defaultApp']===_0x410c56(0x9a)&&_0xa3d74[_0x2b3c9d[_0x410c56(0xa1)]]?_0x2b3c9d[_0x410c56(0xa1)]:undefined,_0x528f9d=_0x5672cb&&_0xa3d74[_0x5672cb]?_0x5672cb:_0x45d21f;if(_0x528f9d)return _0x2b3c9d[_0x410c56(0xa1)]=_0x528f9d,_0x528f9d;return delete _0x2b3c9d[_0x410c56(0xa1)],undefined;}export function buildCanonicalProjectConfig(_0x3564d5,_0x27ea8a){const _0x213d8a=a261_0x26773f,{appCodes:appCodes=[],env:_0x50efc2,metadata:_0x24b117}=_0x27ea8a,_0x2fec99={..._0x3564d5,..._0x24b117||{}};delete _0x2fec99[_0x213d8a(0xc4)],delete _0x2fec99[_0x213d8a(0xab)];const _0x33167f=_0x50efc2||(typeof _0x2fec99[_0x213d8a(0xb2)]===_0x213d8a(0x9a)?_0x2fec99[_0x213d8a(0xb2)]:'')||DEFAULT_CONFIG_VALUES[_0x213d8a(0xb2)];if(isProduction(_0x33167f))delete _0x2fec99['env'];else _0x2fec99[_0x213d8a(0xb2)]=_0x33167f;const _0x34633b=buildCanonicalAppConfig(appCodes,_0x33167f);if(Object['keys'](_0x34633b)[_0x213d8a(0xa6)]>0x0){_0x2fec99[_0x213d8a(0x93)]=_0x34633b[_0x213d8a(0x93)];if(_0x34633b[_0x213d8a(0xa1)])_0x2fec99[_0x213d8a(0xa1)]=_0x34633b[_0x213d8a(0xa1)];else delete _0x2fec99[_0x213d8a(0xa1)];}return normalizeConfigForWrite(_0x2fec99);}function a261_0x17c1(_0x46e5ab,_0x4eb58b){_0x46e5ab=_0x46e5ab-0x91;const _0x5a50a1=a261_0x5a50();let _0x17c11e=_0x5a50a1[_0x46e5ab];return _0x17c11e;}function isRecord(_0x1e2c57){const _0x2df96c=a261_0x26773f;return!!_0x1e2c57&&typeof _0x1e2c57===_0x2df96c(0x9d)&&!Array[_0x2df96c(0xaf)](_0x1e2c57);}export function normalizeConfigForWrite(_0x1c22cb){const _0x1d4f89=a261_0x26773f,_0x3d3668={..._0x1c22cb},_0x595020=isRecord(_0x1c22cb['apps'])?_0x1c22cb[_0x1d4f89(0x93)]:undefined,_0x5b027f=_0x595020?Object[_0x1d4f89(0x95)](Object['entries'](_0x595020)[_0x1d4f89(0xac)](([_0x4e44b7,_0x522d68])=>[_0x4e44b7,isRecord(_0x522d68)?{..._0x522d68}:_0x522d68])):undefined;if(_0x5b027f){const _0x58fce1=typeof _0x3d3668['env']===_0x1d4f89(0x9a)?_0x3d3668[_0x1d4f89(0xb2)]:undefined,_0x132c28=Object[_0x1d4f89(0xbd)](_0x5b027f)['some'](_0x4047e0=>isRecord(_0x4047e0)&&typeof _0x4047e0['env']==='string'&&isProduction(_0x4047e0[_0x1d4f89(0xb2)]));if(_0x58fce1&&isDaily(_0x58fce1)&&_0x132c28){for(const _0x4ea3c2 of Object[_0x1d4f89(0xbd)](_0x5b027f)){if(!isRecord(_0x4ea3c2))continue;if(_0x4ea3c2[_0x1d4f89(0xb2)]===undefined)_0x4ea3c2[_0x1d4f89(0xb2)]=_0x58fce1;}delete _0x3d3668[_0x1d4f89(0xb2)];}for(const _0x509dae of Object['values'](_0x5b027f)){isRecord(_0x509dae)&&typeof _0x509dae[_0x1d4f89(0xb2)]===_0x1d4f89(0x9a)&&isProduction(_0x509dae[_0x1d4f89(0xb2)])&&delete _0x509dae['env'];}_0x3d3668[_0x1d4f89(0x93)]=_0x5b027f;}return typeof _0x3d3668[_0x1d4f89(0xb2)]===_0x1d4f89(0x9a)&&isProduction(_0x3d3668[_0x1d4f89(0xb2)])&&delete _0x3d3668['env'],_0x3d3668;}const LOCALE_MAP={'zh':a261_0x26773f(0xbf),'zh-cn':a261_0x26773f(0xbf),'zh_cn':a261_0x26773f(0xbf),'en':'en-US','en-us':'en-US','en_us':a261_0x26773f(0xc3)};export function normalizeLocale(_0x3a0b11){const _0x42d5fa=a261_0x26773f;if(!_0x3a0b11)return null;return LOCALE_MAP[_0x3a0b11[_0x42d5fa(0x92)]()]??null;}
1
+ const a261_0x3f1a26=a261_0x9b94;(function(_0x4c55cf,_0xec284c){const _0x4df745=a261_0x9b94,_0x1e3f8e=_0x4c55cf();while(!![]){try{const _0x51794f=parseInt(_0x4df745(0x1f3))/0x1*(-parseInt(_0x4df745(0x1d6))/0x2)+-parseInt(_0x4df745(0x1de))/0x3*(parseInt(_0x4df745(0x1f0))/0x4)+-parseInt(_0x4df745(0x1d4))/0x5*(parseInt(_0x4df745(0x1ff))/0x6)+parseInt(_0x4df745(0x1fb))/0x7*(parseInt(_0x4df745(0x1d8))/0x8)+parseInt(_0x4df745(0x1df))/0x9*(parseInt(_0x4df745(0x20f))/0xa)+parseInt(_0x4df745(0x1e3))/0xb*(-parseInt(_0x4df745(0x1fd))/0xc)+parseInt(_0x4df745(0x203))/0xd;if(_0x51794f===_0xec284c)break;else _0x1e3f8e['push'](_0x1e3f8e['shift']());}catch(_0x3a1f20){_0x1e3f8e['push'](_0x1e3f8e['shift']());}}}(a261_0x31f5,0x620bd));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,isProduction,RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a261_0x3f1a26(0x1fa),a261_0x3f1a26(0x1f7),'locale',a261_0x3f1a26(0x208),a261_0x3f1a26(0x1f8),a261_0x3f1a26(0x206),a261_0x3f1a26(0x1ee),a261_0x3f1a26(0x1f6),'apiDomain',a261_0x3f1a26(0x1f1),'skillDomain',a261_0x3f1a26(0x1ef),a261_0x3f1a26(0x207),a261_0x3f1a26(0x209),a261_0x3f1a26(0x204),a261_0x3f1a26(0x1ea)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a261_0x3f1a26(0x205),a261_0x3f1a26(0x20a),a261_0x3f1a26(0x20d),a261_0x3f1a26(0x208),a261_0x3f1a26(0x1fa),'accessKey',a261_0x3f1a26(0x201),a261_0x3f1a26(0x206),'userDomain','apiDomain',a261_0x3f1a26(0x1f1),a261_0x3f1a26(0x202),a261_0x3f1a26(0x1ef),a261_0x3f1a26(0x207),a261_0x3f1a26(0x209),'localDomain',a261_0x3f1a26(0x1ea)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x2c0b70){return[..._0x2c0b70]['join'](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x200980){const _0x257b83=a261_0x3f1a26;return TOP_LEVEL_CONFIG_KEYS[_0x257b83(0x1f5)](_0x200980);}function a261_0x31f5(){const _0x4ff77b=['cookie','174853JZXxeU','trim','15036WCNyXT','fromEntries','60yyiQiJ','length','apiDir','skillDomain','23442627ERixLg','localDomain','appcode','region','kbServiceDomain','format','appDomain','env','object','en-US','locale','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','10ESGMsi','pageSize','values','Country/region\x20for\x20this\x20app\x20profile','289610kZvmMR','Config\x20key\x20(','4812LzTQbR','some','64jOLOoG','apiGroup','app','filter','map','Access\x20key','486561lJEAWW','6295761SKAzHk','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','zh-CN','inherit','4499ClgOPx','Auth\x20cookie','toLowerCase','string','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','Default\x20page\x20size','entries','certificateDomain','keys','apps','API\x20directory\x20path','routing','kbDomain','16cunxip','runtimeDomain','number','233ROvfcr','defaultFormat','has','userDomain','accessKey','riskLevel','defaultApp'];a261_0x31f5=function(){return _0x4ff77b;};return a261_0x31f5();}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x4ca2aa=a261_0x3f1a26;return _0x4ca2aa(0x1d5)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':a261_0x3f1a26(0x1d9),'region':a261_0x3f1a26(0x206),'env':'env','apiDir':a261_0x3f1a26(0x201),'cookie':'cookie','accessKey':'accessKey','defaultFormat':a261_0x3f1a26(0x208),'pageSize':a261_0x3f1a26(0x210),'riskLevel':'riskLevel','locale':a261_0x3f1a26(0x20d)};export function getAppProfileFlagDefs(){const _0x1a1b2a=a261_0x3f1a26;return[{'name':'apiGroup','type':_0x1a1b2a(0x1e6),'description':_0x1a1b2a(0x1e0)},{'name':_0x1a1b2a(0x206),'type':_0x1a1b2a(0x1e6),'description':_0x1a1b2a(0x1d3),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':'env','type':'string','description':'Target\x20environment','enum':[...RABETBASE_ENV_VALUES]},{'name':_0x1a1b2a(0x201),'type':_0x1a1b2a(0x1e6),'description':_0x1a1b2a(0x1ed)},{'name':_0x1a1b2a(0x1fa),'type':_0x1a1b2a(0x1e6),'description':_0x1a1b2a(0x1e4),'hidden':!![]},{'name':_0x1a1b2a(0x1f7),'type':'string','description':_0x1a1b2a(0x1dd),'hidden':!![]},{'name':_0x1a1b2a(0x1f4),'type':_0x1a1b2a(0x1e6),'description':_0x1a1b2a(0x1e7),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x1a1b2a(0x210),'type':_0x1a1b2a(0x1f2),'description':_0x1a1b2a(0x1e8)},{'name':_0x1a1b2a(0x1f8),'type':_0x1a1b2a(0x1e6),'description':'Risk\x20level','enum':[...RISK_LEVEL_VALUES]},{'name':_0x1a1b2a(0x20d),'type':_0x1a1b2a(0x1e6),'description':_0x1a1b2a(0x20e)}];}export function collectAppProfileOverrides(_0x3ee6eb){const _0x210783=a261_0x3f1a26,_0x3f7e24={};for(const [_0x248cb7,_0x1a3933]of Object[_0x210783(0x1e9)](APP_PROFILE_FLAG_KEY_MAP)){const _0xc001aa=_0x3ee6eb(_0x248cb7);if(!_0xc001aa)continue;_0x3f7e24[_0x1a3933]=_0x1a3933===_0x210783(0x210)?Number(_0xc001aa):_0xc001aa;}return _0x3f7e24;}export function buildAppProfileListFields(_0x5d1e09){const _0x24d3ea=a261_0x3f1a26;return{'apiGroup':_0x5d1e09[_0x24d3ea(0x1d9)]??null,'region':_0x5d1e09[_0x24d3ea(0x206)]??null,'env':_0x5d1e09['env']??null,'apiDir':_0x5d1e09[_0x24d3ea(0x201)]??null,'hasCookie':!!_0x5d1e09['cookie'],'hasAccessKey':!!_0x5d1e09['accessKey'],'format':_0x5d1e09[_0x24d3ea(0x208)]??null,'pageSize':_0x5d1e09[_0x24d3ea(0x210)]??null,'riskLevel':_0x5d1e09[_0x24d3ea(0x1f8)]??null,'locale':_0x5d1e09[_0x24d3ea(0x20d)]??null};}export function buildAppDoctorFields(_0x436b16,_0x42af20){const _0x29e21a=a261_0x3f1a26;return{'region':{'value':_0x436b16[_0x29e21a(0x206)]||_0x42af20[_0x29e21a(0x206)],'source':_0x436b16[_0x29e21a(0x206)]?_0x29e21a(0x1da):_0x29e21a(0x1e2)},'env':{'value':_0x436b16[_0x29e21a(0x20a)]||_0x42af20[_0x29e21a(0x20a)],'source':_0x436b16[_0x29e21a(0x20a)]?'app':_0x29e21a(0x1e2)},'apiDir':{'value':_0x436b16[_0x29e21a(0x201)]||_0x42af20[_0x29e21a(0x201)],'source':_0x436b16[_0x29e21a(0x201)]?_0x29e21a(0x1da):'inherit'},'cookie':{'value':_0x436b16[_0x29e21a(0x1fa)]||_0x42af20[_0x29e21a(0x1fa)],'source':_0x436b16[_0x29e21a(0x1fa)]?_0x29e21a(0x1da):_0x29e21a(0x1e2)},'accessKey':{'value':_0x436b16[_0x29e21a(0x1f7)]||_0x42af20[_0x29e21a(0x1f7)],'source':_0x436b16['accessKey']?'app':_0x29e21a(0x1e2)}};}function a261_0x9b94(_0x2a089b,_0x5a4dd3){_0x2a089b=_0x2a089b-0x1d3;const _0x31f5cc=a261_0x31f5();let _0x9b9407=_0x31f5cc[_0x2a089b];return _0x9b9407;}export function buildCanonicalAppConfig(_0x29d684,_0x4f4c71){const _0x12e06e=a261_0x3f1a26,_0x47cbce=_0x29d684['map'](_0x28f9f7=>String(_0x28f9f7||'')[_0x12e06e(0x1fc)]())[_0x12e06e(0x1db)](Boolean);if(_0x47cbce['length']===0x0)return{};const _0x2b7b38={};for(const _0x19053a of _0x47cbce){_0x2b7b38[_0x19053a]=_0x4f4c71&&!isProduction(_0x4f4c71)?{'appcode':_0x19053a,'env':_0x4f4c71}:{'appcode':_0x19053a};}return _0x47cbce[_0x12e06e(0x200)]>0x1?{'apps':_0x2b7b38,'defaultApp':_0x47cbce[0x0]}:{'apps':_0x2b7b38};}export function normalizeStoredDefaultApp(_0x3be34a,_0x55a2c7){const _0x4f817e=a261_0x3f1a26,_0x548284=_0x3be34a[_0x4f817e(0x1ec)]&&typeof _0x3be34a[_0x4f817e(0x1ec)]===_0x4f817e(0x20b)?_0x3be34a['apps']:{},_0x310f04=Object[_0x4f817e(0x1eb)](_0x548284);if(_0x310f04['length']<=0x1)return delete _0x3be34a[_0x4f817e(0x1f9)],undefined;const _0xf4e0a9=typeof _0x3be34a[_0x4f817e(0x1f9)]==='string'&&_0x548284[_0x3be34a[_0x4f817e(0x1f9)]]?_0x3be34a[_0x4f817e(0x1f9)]:undefined,_0x2e1a43=_0x55a2c7&&_0x548284[_0x55a2c7]?_0x55a2c7:_0xf4e0a9;if(_0x2e1a43)return _0x3be34a[_0x4f817e(0x1f9)]=_0x2e1a43,_0x2e1a43;return delete _0x3be34a[_0x4f817e(0x1f9)],undefined;}export function buildCanonicalProjectConfig(_0x1fac65,_0x5d2083){const _0x39767b=a261_0x3f1a26,{appCodes:appCodes=[],env:_0x5977e9,metadata:_0x1dcc82}=_0x5d2083,_0x9d57d4={..._0x1fac65,..._0x1dcc82||{}};delete _0x9d57d4['appcode'],delete _0x9d57d4[_0x39767b(0x1da)];const _0x2d8818=_0x5977e9||(typeof _0x9d57d4[_0x39767b(0x20a)]===_0x39767b(0x1e6)?_0x9d57d4[_0x39767b(0x20a)]:'')||DEFAULT_CONFIG_VALUES['env'];if(isProduction(_0x2d8818))delete _0x9d57d4['env'];else _0x9d57d4[_0x39767b(0x20a)]=_0x2d8818;const _0x35b4da=buildCanonicalAppConfig(appCodes,_0x2d8818);if(Object[_0x39767b(0x1eb)](_0x35b4da)[_0x39767b(0x200)]>0x0){_0x9d57d4[_0x39767b(0x1ec)]=_0x35b4da[_0x39767b(0x1ec)];if(_0x35b4da[_0x39767b(0x1f9)])_0x9d57d4[_0x39767b(0x1f9)]=_0x35b4da[_0x39767b(0x1f9)];else delete _0x9d57d4[_0x39767b(0x1f9)];}return normalizeConfigForWrite(_0x9d57d4);}function isRecord(_0xf7133){const _0x4ec87b=a261_0x3f1a26;return!!_0xf7133&&typeof _0xf7133===_0x4ec87b(0x20b)&&!Array['isArray'](_0xf7133);}export function normalizeConfigForWrite(_0x1d7dda){const _0xd7faaa=a261_0x3f1a26,_0xf62eb3={..._0x1d7dda},_0x3b0976=isRecord(_0x1d7dda[_0xd7faaa(0x1ec)])?_0x1d7dda[_0xd7faaa(0x1ec)]:undefined,_0x1c5189=_0x3b0976?Object[_0xd7faaa(0x1fe)](Object[_0xd7faaa(0x1e9)](_0x3b0976)[_0xd7faaa(0x1dc)](([_0x164060,_0x57c0de])=>[_0x164060,isRecord(_0x57c0de)?{..._0x57c0de}:_0x57c0de])):undefined;if(_0x1c5189){const _0x548650=typeof _0xf62eb3[_0xd7faaa(0x20a)]===_0xd7faaa(0x1e6)?_0xf62eb3[_0xd7faaa(0x20a)]:undefined,_0x20ce97=Object[_0xd7faaa(0x211)](_0x1c5189)[_0xd7faaa(0x1d7)](_0x279a81=>isRecord(_0x279a81)&&typeof _0x279a81[_0xd7faaa(0x20a)]===_0xd7faaa(0x1e6)&&isProduction(_0x279a81[_0xd7faaa(0x20a)]));if(_0x548650&&isDaily(_0x548650)&&_0x20ce97){for(const _0x5be7ff of Object[_0xd7faaa(0x211)](_0x1c5189)){if(!isRecord(_0x5be7ff))continue;if(_0x5be7ff[_0xd7faaa(0x20a)]===undefined)_0x5be7ff[_0xd7faaa(0x20a)]=_0x548650;}delete _0xf62eb3[_0xd7faaa(0x20a)];}for(const _0x5326d6 of Object[_0xd7faaa(0x211)](_0x1c5189)){isRecord(_0x5326d6)&&typeof _0x5326d6[_0xd7faaa(0x20a)]===_0xd7faaa(0x1e6)&&isProduction(_0x5326d6[_0xd7faaa(0x20a)])&&delete _0x5326d6['env'];}_0xf62eb3[_0xd7faaa(0x1ec)]=_0x1c5189;}return typeof _0xf62eb3[_0xd7faaa(0x20a)]===_0xd7faaa(0x1e6)&&isProduction(_0xf62eb3['env'])&&delete _0xf62eb3[_0xd7faaa(0x20a)],_0xf62eb3;}const LOCALE_MAP={'zh':a261_0x3f1a26(0x1e1),'zh-cn':a261_0x3f1a26(0x1e1),'zh_cn':a261_0x3f1a26(0x1e1),'en':a261_0x3f1a26(0x20c),'en-us':a261_0x3f1a26(0x20c),'en_us':'en-US'};export function normalizeLocale(_0x90617f){const _0x43aa92=a261_0x3f1a26;if(!_0x90617f)return null;return LOCALE_MAP[_0x90617f[_0x43aa92(0x1e5)]()]??null;}
@@ -1 +1 @@
1
- const a262_0x399546=a262_0xc254;(function(_0x18ed65,_0xb33279){const _0x2386ef=a262_0xc254,_0x28bff3=_0x18ed65();while(!![]){try{const _0x19bc37=parseInt(_0x2386ef(0x1a0))/0x1*(-parseInt(_0x2386ef(0x199))/0x2)+parseInt(_0x2386ef(0x19d))/0x3*(-parseInt(_0x2386ef(0x1a2))/0x4)+-parseInt(_0x2386ef(0x1a6))/0x5*(parseInt(_0x2386ef(0x19f))/0x6)+-parseInt(_0x2386ef(0x1a1))/0x7*(parseInt(_0x2386ef(0x1ab))/0x8)+-parseInt(_0x2386ef(0x1aa))/0x9+-parseInt(_0x2386ef(0x1a5))/0xa+parseInt(_0x2386ef(0x19b))/0xb*(parseInt(_0x2386ef(0x19c))/0xc);if(_0x19bc37===_0xb33279)break;else _0x28bff3['push'](_0x28bff3['shift']());}catch(_0x3b8e57){_0x28bff3['push'](_0x28bff3['shift']());}}}(a262_0x4643,0x90bae));function a262_0xc254(_0x5c239a,_0x2fa6bb){_0x5c239a=_0x5c239a-0x199;const _0x4643e6=a262_0x4643();let _0xc25472=_0x4643e6[_0x5c239a];return _0xc25472;}import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT=a262_0x399546(0x1a3),RABETBASE_CDN_CONFIG_ORIGIN='https://g.lovrabet.com',CDN_CONFIG_PATH=a262_0x399546(0x1a9),PROJECT_TEMPLATE_ASSET_PATH=a262_0x399546(0x19e),PROJECT_TEMPLATE_ARCHIVE_NAMES=Object['freeze']({'release':'sub-app-react-demo.zip','beta':a262_0x399546(0x19a)});export const RABETBASE_CDN_PROJECT_PATH=a262_0x399546(0x1a4)+RABETBASE_CDN_PROJECT;function getRabetbaseCdnBaseUrl(){const _0x479b91=a262_0x399546;return''+getActiveCdn()[_0x479b91(0x1a8)]+RABETBASE_CDN_PROJECT_PATH;}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}function a262_0x4643(){const _0x85e63=['sub-app-react-demo-','lovrabet','config/index.json','9012690HDJhKT','632wHChcQ','2cfdleS','sub-app-react-demo-beta.zip','44laCQFk','15078912qEhEMS','21nVfAuQ','templates/projects','79044LcaMvd','1134041HruNtj','46046CeMLch','540124KmMfxK','rabetbase-cli','/dist/','6092020bAnKQi','85FQXDpo'];a262_0x4643=function(){return _0x85e63;};return a262_0x4643();}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(_0x2d6421,_0x23103e){const _0x41b05c=a262_0x399546,_0x5bf2d3=_0x23103e?_0x41b05c(0x1a7)+_0x23103e+'.zip':PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x2d6421];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x5bf2d3;}
1
+ const a262_0x142c2c=a262_0x19ca;(function(_0x2495e9,_0x4a726b){const _0x452614=a262_0x19ca,_0x282496=_0x2495e9();while(!![]){try{const _0x2f82b6=-parseInt(_0x452614(0x1a7))/0x1*(-parseInt(_0x452614(0x1a6))/0x2)+-parseInt(_0x452614(0x1ac))/0x3*(-parseInt(_0x452614(0x1a2))/0x4)+parseInt(_0x452614(0x1b4))/0x5+parseInt(_0x452614(0x1a4))/0x6*(parseInt(_0x452614(0x1ad))/0x7)+-parseInt(_0x452614(0x1a3))/0x8*(parseInt(_0x452614(0x1ab))/0x9)+parseInt(_0x452614(0x1a5))/0xa*(-parseInt(_0x452614(0x1b1))/0xb)+-parseInt(_0x452614(0x1a8))/0xc;if(_0x2f82b6===_0x4a726b)break;else _0x282496['push'](_0x282496['shift']());}catch(_0x4676f4){_0x282496['push'](_0x282496['shift']());}}}(a262_0x1820,0xd0a46));import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT=a262_0x142c2c(0x1b2),RABETBASE_CDN_CONFIG_ORIGIN=a262_0x142c2c(0x1b3),CDN_CONFIG_PATH='config/index.json',PROJECT_TEMPLATE_ASSET_PATH=a262_0x142c2c(0x1b0),PROJECT_TEMPLATE_ARCHIVE_NAMES=Object[a262_0x142c2c(0x1aa)]({'release':a262_0x142c2c(0x1a9),'beta':'sub-app-react-demo-beta.zip'});export const RABETBASE_CDN_PROJECT_PATH='/dist/'+RABETBASE_CDN_PROJECT;function getRabetbaseCdnBaseUrl(){const _0x2d43ee=a262_0x142c2c;return''+getActiveCdn()[_0x2d43ee(0x1af)]+RABETBASE_CDN_PROJECT_PATH;}function a262_0x1820(){const _0x5ba002=['1585435hWOdqx','sub-app-react-demo-','3364144HpsupF','24056PjcqAW','351930xqiURb','10MIfBoR','16858VeZPNS','97yvkKIp','30909204dPHtxl','sub-app-react-demo.zip','freeze','477xTonkc','6sHuwTy','119ODmtOq','.zip','lovrabet','templates/projects','2465881ePInYC','rabetbase-cli','https://g.lovrabet.com'];a262_0x1820=function(){return _0x5ba002;};return a262_0x1820();}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}export function getProjectTemplateAssetBaseUrl(){return getRabetbaseCdnBaseUrl()+'/'+PROJECT_TEMPLATE_ASSET_PATH;}function a262_0x19ca(_0x3ef008,_0x52655e){_0x3ef008=_0x3ef008-0x1a2;const _0x18205b=a262_0x1820();let _0x19cace=_0x18205b[_0x3ef008];return _0x19cace;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x9c746a,_0x5091b4){const _0x250de0=a262_0x142c2c,_0x14af78=_0x5091b4?_0x250de0(0x1b5)+_0x5091b4+_0x250de0(0x1ae):PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x9c746a];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x14af78;}
@@ -1 +1 @@
1
- function a263_0x1189(_0xd86b9f,_0x58499c){_0xd86b9f=_0xd86b9f-0x198;const _0x4ddf4a=a263_0x4ddf();let _0x118957=_0x4ddf4a[_0xd86b9f];return _0x118957;}const a263_0x27de23=a263_0x1189;(function(_0x6ced61,_0x19273b){const _0x36c03f=a263_0x1189,_0x3b2c36=_0x6ced61();while(!![]){try{const _0x572b27=-parseInt(_0x36c03f(0x1f6))/0x1+-parseInt(_0x36c03f(0x1ed))/0x2+-parseInt(_0x36c03f(0x19a))/0x3*(parseInt(_0x36c03f(0x1f5))/0x4)+-parseInt(_0x36c03f(0x1e0))/0x5*(-parseInt(_0x36c03f(0x1f9))/0x6)+-parseInt(_0x36c03f(0x1a3))/0x7*(-parseInt(_0x36c03f(0x214))/0x8)+-parseInt(_0x36c03f(0x1e7))/0x9*(-parseInt(_0x36c03f(0x207))/0xa)+parseInt(_0x36c03f(0x1c5))/0xb;if(_0x572b27===_0x19273b)break;else _0x3b2c36['push'](_0x3b2c36['shift']());}catch(_0x2cea23){_0x3b2c36['push'](_0x3b2c36['shift']());}}}(a263_0x4ddf,0x54a73));export const CLI_BIN_NAME='rabetbase';export const CLI_DISPLAY_NAME=a263_0x27de23(0x1a1);export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';function a263_0x4ddf(){const _0x590d34=['operation-type','Override\x20appcode','1795233rUbHcX','title','dbid','dryRun','enableBffSave','Search\x20query','DB\x20ID','flow-code','global','File\x20path','flow-name','app','flowStatus','Alias\x20for\x20--non-interactive','Target\x20path','expectedChildrenCount','Code\x20filter','Tags','dbId','description','output','Skip\x20confirmation\x20for\x20high-risk\x20writes','page-size','Confirm\x20destructive\x20action','Page\x20number','expectedCount','flowType','10tINFsp','Flow\x20code','json\x20|\x20pretty\x20|\x20compress','Page\x20size','boolean','operation','from-env','2049471GinFKT','description-file','sql-name','Use\x20global\x20config\x20scope','Clear','locale','379500BVFoRD','Asynchronous\x20task\x20ID','Expected\x20current\x20parent\x20menu\x20id','Comma-separated\x20menu\x20IDs','taskId','menuIds','type','sql','324752hWlJkR','344702qzWDnV','operationType','Expected\x20affected\x20count','1304736yydXVE','Operation\x20type','flowCode','Apply\x20to\x20all','Output\x20path','Read\x20value\x20from\x20stdin','dry-run','clear','non-interactive','parentId','SQL\x20string','Keyword\x20filter','descriptionFile','Config\x20value','10VGxxEn','reveal','Schemas','task-id','Maximum\x20search\x20hits','sqlname','Read\x20value\x20from\x20environment\x20variable','code','file','page','<name>','tags','value','8rZcLpq','all','string','target','Expected\x20current\x20menu\x20path','expected-count','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','flow-type','Description\x20file','production\x20|\x20daily','env','Flow\x20status','expectParentId','SQL\x20name','Output\x20format','Reveal\x20sensitive\x20value','Preview\x20operation\x20without\x20executing','Menu\x20sort\x20value','Config\x20key','expect-parent-id','flow-status','yes','keyword','Show\x20help','remote','stdin','sqlcode','Type\x20filter','Skip\x20import\x20generation','Dataset\x20code','label','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','expectPath','15qKtgGC','enable-bff-save','Environment','schemas','map','Menu\x20label','params','Rabetbase\x20CLI','Expected\x20current\x20child\x20count','3229079hswkyi','menu-ids','<expr>','pagesize','skip-imports','key','parent-id','query','sqlName','datasetcode','nonInteractive','Function\x20node','JSON\x20params','functionNode','format','Use\x20project\x20config\x20scope','<code>','topk','sort','confirm','Name','name','meowKey','Enable\x20Backend\x20Function\x20save','watch','appcode','help','Force\x20overwrite','Force\x20non-interactive\x20mode\x20(CI)','expected-children-count','function-node','Flow\x20type'];a263_0x4ddf=function(){return _0x590d34;};return a263_0x4ddf();}export const GLOBAL_FLAGS=[{'name':a263_0x27de23(0x1bc),'meowKey':a263_0x27de23(0x1bc),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1c4),'hint':a263_0x27de23(0x1b3)},{'name':a263_0x27de23(0x1d0),'meowKey':'app','type':a263_0x27de23(0x216),'description':'Select\x20app\x20profile\x20by\x20name','hint':a263_0x27de23(0x211)},{'name':a263_0x27de23(0x21e),'meowKey':a263_0x27de23(0x21e),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x19c),'hint':a263_0x27de23(0x21d)},{'name':a263_0x27de23(0x1b1),'meowKey':a263_0x27de23(0x1b1),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x222),'hint':a263_0x27de23(0x1e2)},{'name':'jq','meowKey':'jq','type':a263_0x27de23(0x216),'description':a263_0x27de23(0x21a),'hint':a263_0x27de23(0x1a5)},{'name':a263_0x27de23(0x1ff),'meowKey':a263_0x27de23(0x1c8),'type':a263_0x27de23(0x1e4),'description':a263_0x27de23(0x224)},{'name':a263_0x27de23(0x229),'meowKey':a263_0x27de23(0x229),'type':a263_0x27de23(0x1e4),'description':a263_0x27de23(0x1da)},{'name':'non-interactive','meowKey':a263_0x27de23(0x1ad),'type':'boolean','description':a263_0x27de23(0x1bf)},{'name':a263_0x27de23(0x1cd),'meowKey':a263_0x27de23(0x1cd),'type':'boolean','description':a263_0x27de23(0x1ea)},{'name':'project','meowKey':'project','type':a263_0x27de23(0x1e4),'description':a263_0x27de23(0x1b2)},{'name':'ci','meowKey':'ci','type':'boolean','description':a263_0x27de23(0x1d2),'hidden':!![]},{'name':a263_0x27de23(0x1bd),'meowKey':a263_0x27de23(0x1bd),'type':a263_0x27de23(0x1e4),'description':a263_0x27de23(0x22b)},{'name':'locale','meowKey':a263_0x27de23(0x1ec),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x198),'hidden':!![],'hint':'zh-CN\x20|\x20en-US'},{'name':a263_0x27de23(0x1b8),'meowKey':a263_0x27de23(0x1b8),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1b7),'hidden':!![]},{'name':a263_0x27de23(0x1c6),'meowKey':a263_0x27de23(0x1c6),'type':'string','description':'Title','hidden':!![]},{'name':a263_0x27de23(0x1aa),'meowKey':a263_0x27de23(0x1aa),'type':'string','description':a263_0x27de23(0x1ca),'hidden':!![]},{'name':'topk','meowKey':a263_0x27de23(0x1b4),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x20b),'hidden':!![]},{'name':a263_0x27de23(0x200),'meowKey':a263_0x27de23(0x200),'type':a263_0x27de23(0x1e4),'description':a263_0x27de23(0x1eb),'hidden':!![]},{'name':'watch','meowKey':a263_0x27de23(0x1bb),'type':a263_0x27de23(0x1e4),'description':'Watch\x20mode','hidden':!![]},{'name':'output','meowKey':a263_0x27de23(0x1d9),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1fd),'hidden':!![]},{'name':a263_0x27de23(0x1a0),'meowKey':a263_0x27de23(0x1a0),'type':'string','description':a263_0x27de23(0x1af),'hidden':!![]},{'name':a263_0x27de23(0x1ac),'meowKey':a263_0x27de23(0x1ac),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x231),'hidden':!![]},{'name':a263_0x27de23(0x215),'meowKey':a263_0x27de23(0x215),'type':a263_0x27de23(0x1e4),'description':a263_0x27de23(0x1fc),'hidden':!![]},{'name':a263_0x27de23(0x19b),'meowKey':a263_0x27de23(0x1c9),'type':a263_0x27de23(0x1e4),'description':a263_0x27de23(0x1ba),'hidden':!![]},{'name':'id','meowKey':'id','type':a263_0x27de23(0x216),'description':'Record\x20ID','hidden':!![]},{'name':a263_0x27de23(0x1f3),'meowKey':'type','type':a263_0x27de23(0x216),'description':a263_0x27de23(0x22f),'hidden':!![]},{'name':'file','meowKey':a263_0x27de23(0x20f),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1ce),'hidden':!![]},{'name':a263_0x27de23(0x1cc),'meowKey':a263_0x27de23(0x1fb),'type':'string','description':a263_0x27de23(0x1e1),'hidden':!![]},{'name':a263_0x27de23(0x1cf),'meowKey':'flowName','type':a263_0x27de23(0x216),'description':'Flow\x20name','hidden':!![]},{'name':a263_0x27de23(0x228),'meowKey':a263_0x27de23(0x1d1),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x21f),'hidden':!![]},{'name':a263_0x27de23(0x21b),'meowKey':a263_0x27de23(0x1df),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1c2),'hidden':!![]},{'name':'dataset-code','meowKey':'datasetCode','type':a263_0x27de23(0x216),'description':a263_0x27de23(0x231),'hidden':!![]},{'name':'sqlcode','meowKey':a263_0x27de23(0x22e),'type':a263_0x27de23(0x216),'description':'SQL\x20code','hidden':!![]},{'name':a263_0x27de23(0x1e9),'meowKey':a263_0x27de23(0x1ab),'type':a263_0x27de23(0x216),'description':'SQL\x20name','hidden':!![]},{'name':a263_0x27de23(0x20c),'meowKey':a263_0x27de23(0x20c),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x221),'hidden':!![]},{'name':'db-id','meowKey':a263_0x27de23(0x1d7),'type':'string','description':'DB\x20ID','hidden':!![]},{'name':a263_0x27de23(0x1c7),'meowKey':a263_0x27de23(0x1c7),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1cb),'hidden':!![]},{'name':'description','meowKey':a263_0x27de23(0x1d8),'type':a263_0x27de23(0x216),'description':'Description','hidden':!![]},{'name':a263_0x27de23(0x1e8),'meowKey':a263_0x27de23(0x205),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x21c),'hidden':!![]},{'name':'page','meowKey':a263_0x27de23(0x210),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1dd),'hidden':!![]},{'name':a263_0x27de23(0x1db),'meowKey':'pageSize','type':'string','description':a263_0x27de23(0x1e3),'hidden':!![]},{'name':a263_0x27de23(0x1a6),'meowKey':a263_0x27de23(0x1a6),'type':'string','description':a263_0x27de23(0x1e3),'hidden':!![]},{'name':a263_0x27de23(0x22a),'meowKey':a263_0x27de23(0x22a),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x204),'hidden':!![]},{'name':a263_0x27de23(0x20e),'meowKey':'code','type':'string','description':a263_0x27de23(0x1d5),'hidden':!![]},{'name':a263_0x27de23(0x1f4),'meowKey':'sql','type':a263_0x27de23(0x216),'description':a263_0x27de23(0x203),'hidden':!![]},{'name':a263_0x27de23(0x19d),'meowKey':a263_0x27de23(0x19d),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x209),'hidden':!![]},{'name':'operation','meowKey':a263_0x27de23(0x1e5),'type':a263_0x27de23(0x216),'description':'Operation\x20type','hidden':!![]},{'name':a263_0x27de23(0x217),'meowKey':a263_0x27de23(0x217),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1d3),'hidden':!![]},{'name':a263_0x27de23(0x1a7),'meowKey':'skipImports','type':a263_0x27de23(0x1e4),'description':a263_0x27de23(0x230),'hidden':!![]},{'name':a263_0x27de23(0x1a8),'meowKey':'key','type':a263_0x27de23(0x216),'description':a263_0x27de23(0x226),'hidden':!![]},{'name':a263_0x27de23(0x213),'meowKey':'value','type':a263_0x27de23(0x216),'description':a263_0x27de23(0x206),'hidden':!![]},{'name':a263_0x27de23(0x212),'meowKey':a263_0x27de23(0x212),'type':'string','description':a263_0x27de23(0x1d6),'hidden':!![]},{'name':a263_0x27de23(0x22d),'meowKey':a263_0x27de23(0x22d),'type':a263_0x27de23(0x1e4),'description':a263_0x27de23(0x1fe),'hidden':!![]},{'name':a263_0x27de23(0x1e6),'meowKey':'fromEnv','type':a263_0x27de23(0x216),'description':a263_0x27de23(0x20d),'hidden':!![]},{'name':a263_0x27de23(0x208),'meowKey':a263_0x27de23(0x208),'type':a263_0x27de23(0x1e4),'description':a263_0x27de23(0x223),'hidden':!![]},{'name':'force','meowKey':'force','type':a263_0x27de23(0x1e4),'description':a263_0x27de23(0x1be),'hidden':!![]},{'name':a263_0x27de23(0x1b6),'meowKey':a263_0x27de23(0x1b6),'type':a263_0x27de23(0x1e4),'description':a263_0x27de23(0x1dc),'hidden':!![]},{'name':a263_0x27de23(0x22c),'meowKey':a263_0x27de23(0x22c),'type':a263_0x27de23(0x1e4),'description':'Use\x20remote','hidden':!![]},{'name':'verbose','meowKey':'verbose','type':a263_0x27de23(0x1e4),'description':'Verbose\x20output','hidden':!![]},{'name':a263_0x27de23(0x219),'meowKey':a263_0x27de23(0x1de),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1f8),'hidden':!![]},{'name':a263_0x27de23(0x232),'meowKey':'label','type':'string','description':a263_0x27de23(0x19f),'hidden':!![]},{'name':a263_0x27de23(0x1a9),'meowKey':a263_0x27de23(0x202),'type':a263_0x27de23(0x216),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':a263_0x27de23(0x1b5),'meowKey':'sort','type':'string','description':a263_0x27de23(0x225),'hidden':!![]},{'name':a263_0x27de23(0x227),'meowKey':a263_0x27de23(0x220),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1ef),'hidden':!![]},{'name':'expect-path','meowKey':a263_0x27de23(0x199),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x218),'hidden':!![]},{'name':a263_0x27de23(0x1c0),'meowKey':a263_0x27de23(0x1d4),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1a2),'hidden':!![]},{'name':a263_0x27de23(0x1a4),'meowKey':a263_0x27de23(0x1f2),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1f0),'hidden':!![]},{'name':a263_0x27de23(0x20a),'meowKey':a263_0x27de23(0x1f1),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1ee),'hidden':!![]},{'name':a263_0x27de23(0x1c3),'meowKey':a263_0x27de23(0x1f7),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1fa),'hidden':!![]},{'name':a263_0x27de23(0x1c1),'meowKey':a263_0x27de23(0x1b0),'type':a263_0x27de23(0x216),'description':a263_0x27de23(0x1ae),'hidden':!![]},{'name':'codes','meowKey':'codes','type':a263_0x27de23(0x216),'description':'Comma-separated\x20metadata\x20codes','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a263_0x27de23(0x1bc),'app',a263_0x27de23(0x21e),'format','jq','dry-run','yes',a263_0x27de23(0x201),'ci']);export function buildMeowFlags(){const _0x1d5dfa=a263_0x27de23;return Object['fromEntries'](GLOBAL_FLAGS[_0x1d5dfa(0x19e)](_0x3d5400=>[_0x3d5400[_0x1d5dfa(0x1b9)],{'type':_0x3d5400[_0x1d5dfa(0x1f3)]}]));}
1
+ function a263_0x248b(_0x12a267,_0x1321c5){_0x12a267=_0x12a267-0x1c4;const _0x214e03=a263_0x214e();let _0x248bd8=_0x214e03[_0x12a267];return _0x248bd8;}const a263_0x4a2b4d=a263_0x248b;(function(_0x20d7b3,_0x577e7a){const _0x282d6e=a263_0x248b,_0x1acfdd=_0x20d7b3();while(!![]){try{const _0x508804=-parseInt(_0x282d6e(0x22f))/0x1+-parseInt(_0x282d6e(0x229))/0x2+parseInt(_0x282d6e(0x244))/0x3*(-parseInt(_0x282d6e(0x216))/0x4)+parseInt(_0x282d6e(0x22a))/0x5+-parseInt(_0x282d6e(0x20a))/0x6*(-parseInt(_0x282d6e(0x207))/0x7)+parseInt(_0x282d6e(0x21c))/0x8*(parseInt(_0x282d6e(0x1ee))/0x9)+parseInt(_0x282d6e(0x1ef))/0xa;if(_0x508804===_0x577e7a)break;else _0x1acfdd['push'](_0x1acfdd['shift']());}catch(_0x19661c){_0x1acfdd['push'](_0x1acfdd['shift']());}}}(a263_0x214e,0x2eff7));export const CLI_BIN_NAME='rabetbase';function a263_0x214e(){const _0x4f4ff8=['Use\x20remote','type','flowType','project','flowName','appcode','Function\x20node','176481luMVYo','904250UKsbtA','keyword','Override\x20appcode','target','codes','tags','boolean','all','Flow\x20name','SQL\x20name','parent-id','flow-code','Config\x20value','yes','flow-status','Dataset\x20code','flow-name','non-interactive','nonInteractive','from-env','global','string','stdin','dbid','2653777MXeYuN','Watch\x20mode','Preview\x20operation\x20without\x20executing','6bekmXB','zh-CN\x20|\x20en-US','Menu\x20label','menuIds','sqlcode','Record\x20ID','verbose','page','expectedCount','Show\x20help','@lovrabet/rabetbase-cli','Flow\x20code','2908sfecUX','Expected\x20current\x20child\x20count','code','datasetCode','menu-ids','help','32sGhZIG','remote','flowCode','Use\x20project\x20config\x20scope','Expected\x20current\x20parent\x20menu\x20id','Search\x20query','dryRun','confirm','clear','Maximum\x20search\x20hits','Flow\x20status','taskId','fromEnv','419130SBHZKL','803155lAzsZX','format','Alias\x20for\x20--non-interactive','pagesize','params','41180ZuVZRY','expected-count','Skip\x20confirmation\x20for\x20high-risk\x20writes','query','meowKey','force','sql-name','<code>','<expr>','reveal','sqlName','schemas','sort','Schemas','flow-type','env','Expected\x20current\x20menu\x20path','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','Parent\x20menu\x20id','output','name','1095sYwupL','label','map','app','production\x20|\x20daily','Flow\x20type','Verbose\x20output','expected-children-count','sql','expect-parent-id','Menu\x20sort\x20value','function-node','Description\x20file','file','functionNode','flowStatus','value','expectPath','description-file','topk','description','pageSize','datasetcode','locale','File\x20path','Force\x20non-interactive\x20mode\x20(CI)','key','Clear','Output\x20format','Comma-separated\x20menu\x20IDs','Output\x20path','Operation\x20type','operation','Confirm\x20destructive\x20action','dbId','title','Page\x20size','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','Type\x20filter','Config\x20key','Title','dry-run','operation-type','Force\x20overwrite'];a263_0x214e=function(){return _0x4f4ff8;};return a263_0x214e();}export const CLI_DISPLAY_NAME='Rabetbase\x20CLI';export const NPM_PACKAGE_NAME=a263_0x4a2b4d(0x214);export const GLOBAL_FLAGS=[{'name':a263_0x4a2b4d(0x1ec),'meowKey':a263_0x4a2b4d(0x1ec),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1f1),'hint':a263_0x4a2b4d(0x236)},{'name':a263_0x4a2b4d(0x247),'meowKey':'app','type':'string','description':'Select\x20app\x20profile\x20by\x20name','hint':'<name>'},{'name':a263_0x4a2b4d(0x23e),'meowKey':a263_0x4a2b4d(0x23e),'type':a263_0x4a2b4d(0x204),'description':'Environment','hint':a263_0x4a2b4d(0x248)},{'name':a263_0x4a2b4d(0x22b),'meowKey':a263_0x4a2b4d(0x22b),'type':'string','description':a263_0x4a2b4d(0x1d7),'hint':'json\x20|\x20pretty\x20|\x20compress'},{'name':'jq','meowKey':'jq','type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1e0),'hint':a263_0x4a2b4d(0x237)},{'name':'dry-run','meowKey':a263_0x4a2b4d(0x222),'type':a263_0x4a2b4d(0x1f5),'description':a263_0x4a2b4d(0x209)},{'name':'yes','meowKey':a263_0x4a2b4d(0x1fc),'type':a263_0x4a2b4d(0x1f5),'description':a263_0x4a2b4d(0x231)},{'name':a263_0x4a2b4d(0x200),'meowKey':a263_0x4a2b4d(0x201),'type':a263_0x4a2b4d(0x1f5),'description':a263_0x4a2b4d(0x1d4)},{'name':a263_0x4a2b4d(0x203),'meowKey':a263_0x4a2b4d(0x203),'type':a263_0x4a2b4d(0x1f5),'description':'Use\x20global\x20config\x20scope'},{'name':a263_0x4a2b4d(0x1ea),'meowKey':a263_0x4a2b4d(0x1ea),'type':a263_0x4a2b4d(0x1f5),'description':a263_0x4a2b4d(0x21f)},{'name':'ci','meowKey':'ci','type':a263_0x4a2b4d(0x1f5),'description':a263_0x4a2b4d(0x22c),'hidden':!![]},{'name':a263_0x4a2b4d(0x21b),'meowKey':a263_0x4a2b4d(0x21b),'type':a263_0x4a2b4d(0x1f5),'description':a263_0x4a2b4d(0x213)},{'name':a263_0x4a2b4d(0x1d2),'meowKey':'locale','type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x240),'hidden':!![],'hint':a263_0x4a2b4d(0x20b)},{'name':a263_0x4a2b4d(0x243),'meowKey':'name','type':a263_0x4a2b4d(0x204),'description':'Name','hidden':!![]},{'name':'title','meowKey':a263_0x4a2b4d(0x1de),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1e3),'hidden':!![]},{'name':a263_0x4a2b4d(0x232),'meowKey':a263_0x4a2b4d(0x232),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x221),'hidden':!![]},{'name':a263_0x4a2b4d(0x1ce),'meowKey':a263_0x4a2b4d(0x1ce),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x225),'hidden':!![]},{'name':a263_0x4a2b4d(0x224),'meowKey':a263_0x4a2b4d(0x224),'type':'boolean','description':a263_0x4a2b4d(0x1d6),'hidden':!![]},{'name':'watch','meowKey':'watch','type':a263_0x4a2b4d(0x1f5),'description':a263_0x4a2b4d(0x208),'hidden':!![]},{'name':a263_0x4a2b4d(0x242),'meowKey':a263_0x4a2b4d(0x242),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1d9),'hidden':!![]},{'name':'params','meowKey':a263_0x4a2b4d(0x22e),'type':'string','description':'JSON\x20params','hidden':!![]},{'name':a263_0x4a2b4d(0x1d1),'meowKey':a263_0x4a2b4d(0x1d1),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1fe),'hidden':!![]},{'name':a263_0x4a2b4d(0x1f6),'meowKey':a263_0x4a2b4d(0x1f6),'type':'boolean','description':'Apply\x20to\x20all','hidden':!![]},{'name':'enable-bff-save','meowKey':'enableBffSave','type':a263_0x4a2b4d(0x1f5),'description':'Enable\x20Backend\x20Function\x20save','hidden':!![]},{'name':'id','meowKey':'id','type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x20f),'hidden':!![]},{'name':a263_0x4a2b4d(0x1e8),'meowKey':a263_0x4a2b4d(0x1e8),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1e1),'hidden':!![]},{'name':a263_0x4a2b4d(0x1c8),'meowKey':'file','type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1d3),'hidden':!![]},{'name':a263_0x4a2b4d(0x1fa),'meowKey':a263_0x4a2b4d(0x21e),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x215),'hidden':!![]},{'name':a263_0x4a2b4d(0x1ff),'meowKey':a263_0x4a2b4d(0x1eb),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1f7),'hidden':!![]},{'name':a263_0x4a2b4d(0x1fd),'meowKey':a263_0x4a2b4d(0x1ca),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x226),'hidden':!![]},{'name':a263_0x4a2b4d(0x23d),'meowKey':a263_0x4a2b4d(0x1e9),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x249),'hidden':!![]},{'name':'dataset-code','meowKey':a263_0x4a2b4d(0x219),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1fe),'hidden':!![]},{'name':a263_0x4a2b4d(0x20e),'meowKey':'sqlcode','type':a263_0x4a2b4d(0x204),'description':'SQL\x20code','hidden':!![]},{'name':a263_0x4a2b4d(0x235),'meowKey':a263_0x4a2b4d(0x239),'type':a263_0x4a2b4d(0x204),'description':'SQL\x20name','hidden':!![]},{'name':'sqlname','meowKey':'sqlname','type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1f8),'hidden':!![]},{'name':'db-id','meowKey':a263_0x4a2b4d(0x1dd),'type':a263_0x4a2b4d(0x204),'description':'DB\x20ID','hidden':!![]},{'name':a263_0x4a2b4d(0x206),'meowKey':a263_0x4a2b4d(0x206),'type':a263_0x4a2b4d(0x204),'description':'DB\x20ID','hidden':!![]},{'name':a263_0x4a2b4d(0x1cf),'meowKey':a263_0x4a2b4d(0x1cf),'type':'string','description':'Description','hidden':!![]},{'name':a263_0x4a2b4d(0x1cd),'meowKey':'descriptionFile','type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1c7),'hidden':!![]},{'name':a263_0x4a2b4d(0x211),'meowKey':'page','type':a263_0x4a2b4d(0x204),'description':'Page\x20number','hidden':!![]},{'name':'page-size','meowKey':a263_0x4a2b4d(0x1d0),'type':'string','description':a263_0x4a2b4d(0x1df),'hidden':!![]},{'name':'pagesize','meowKey':a263_0x4a2b4d(0x22d),'type':a263_0x4a2b4d(0x204),'description':'Page\x20size','hidden':!![]},{'name':'keyword','meowKey':a263_0x4a2b4d(0x1f0),'type':a263_0x4a2b4d(0x204),'description':'Keyword\x20filter','hidden':!![]},{'name':a263_0x4a2b4d(0x218),'meowKey':a263_0x4a2b4d(0x218),'type':a263_0x4a2b4d(0x204),'description':'Code\x20filter','hidden':!![]},{'name':a263_0x4a2b4d(0x24c),'meowKey':'sql','type':a263_0x4a2b4d(0x204),'description':'SQL\x20string','hidden':!![]},{'name':a263_0x4a2b4d(0x23a),'meowKey':a263_0x4a2b4d(0x23a),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x23c),'hidden':!![]},{'name':a263_0x4a2b4d(0x1db),'meowKey':'operation','type':a263_0x4a2b4d(0x204),'description':'Operation\x20type','hidden':!![]},{'name':'target','meowKey':a263_0x4a2b4d(0x1f2),'type':a263_0x4a2b4d(0x204),'description':'Target\x20path','hidden':!![]},{'name':'skip-imports','meowKey':'skipImports','type':a263_0x4a2b4d(0x1f5),'description':'Skip\x20import\x20generation','hidden':!![]},{'name':a263_0x4a2b4d(0x1d5),'meowKey':'key','type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1e2),'hidden':!![]},{'name':a263_0x4a2b4d(0x1cb),'meowKey':a263_0x4a2b4d(0x1cb),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1fb),'hidden':!![]},{'name':a263_0x4a2b4d(0x1f4),'meowKey':a263_0x4a2b4d(0x1f4),'type':a263_0x4a2b4d(0x204),'description':'Tags','hidden':!![]},{'name':a263_0x4a2b4d(0x205),'meowKey':a263_0x4a2b4d(0x205),'type':'boolean','description':'Read\x20value\x20from\x20stdin','hidden':!![]},{'name':a263_0x4a2b4d(0x202),'meowKey':a263_0x4a2b4d(0x228),'type':a263_0x4a2b4d(0x204),'description':'Read\x20value\x20from\x20environment\x20variable','hidden':!![]},{'name':'reveal','meowKey':a263_0x4a2b4d(0x238),'type':a263_0x4a2b4d(0x1f5),'description':'Reveal\x20sensitive\x20value','hidden':!![]},{'name':a263_0x4a2b4d(0x234),'meowKey':a263_0x4a2b4d(0x234),'type':a263_0x4a2b4d(0x1f5),'description':a263_0x4a2b4d(0x1e6),'hidden':!![]},{'name':a263_0x4a2b4d(0x223),'meowKey':a263_0x4a2b4d(0x223),'type':a263_0x4a2b4d(0x1f5),'description':a263_0x4a2b4d(0x1dc),'hidden':!![]},{'name':'remote','meowKey':a263_0x4a2b4d(0x21d),'type':a263_0x4a2b4d(0x1f5),'description':a263_0x4a2b4d(0x1e7),'hidden':!![]},{'name':a263_0x4a2b4d(0x210),'meowKey':a263_0x4a2b4d(0x210),'type':a263_0x4a2b4d(0x1f5),'description':a263_0x4a2b4d(0x24a),'hidden':!![]},{'name':a263_0x4a2b4d(0x230),'meowKey':a263_0x4a2b4d(0x212),'type':'string','description':'Expected\x20affected\x20count','hidden':!![]},{'name':a263_0x4a2b4d(0x245),'meowKey':'label','type':'string','description':a263_0x4a2b4d(0x20c),'hidden':!![]},{'name':a263_0x4a2b4d(0x1f9),'meowKey':'parentId','type':'string','description':a263_0x4a2b4d(0x241),'hidden':!![]},{'name':a263_0x4a2b4d(0x23b),'meowKey':a263_0x4a2b4d(0x23b),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1c5),'hidden':!![]},{'name':a263_0x4a2b4d(0x1c4),'meowKey':'expectParentId','type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x220),'hidden':!![]},{'name':'expect-path','meowKey':a263_0x4a2b4d(0x1cc),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x23f),'hidden':!![]},{'name':a263_0x4a2b4d(0x24b),'meowKey':'expectedChildrenCount','type':'string','description':a263_0x4a2b4d(0x217),'hidden':!![]},{'name':a263_0x4a2b4d(0x21a),'meowKey':a263_0x4a2b4d(0x20d),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1d8),'hidden':!![]},{'name':'task-id','meowKey':a263_0x4a2b4d(0x227),'type':a263_0x4a2b4d(0x204),'description':'Asynchronous\x20task\x20ID','hidden':!![]},{'name':a263_0x4a2b4d(0x1e5),'meowKey':'operationType','type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1da),'hidden':!![]},{'name':a263_0x4a2b4d(0x1c6),'meowKey':a263_0x4a2b4d(0x1c9),'type':a263_0x4a2b4d(0x204),'description':a263_0x4a2b4d(0x1ed),'hidden':!![]},{'name':a263_0x4a2b4d(0x1f3),'meowKey':'codes','type':a263_0x4a2b4d(0x204),'description':'Comma-separated\x20metadata\x20codes','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set(['appcode',a263_0x4a2b4d(0x247),a263_0x4a2b4d(0x23e),'format','jq',a263_0x4a2b4d(0x1e4),a263_0x4a2b4d(0x1fc),a263_0x4a2b4d(0x200),'ci']);export function buildMeowFlags(){const _0x4fbf5a=a263_0x4a2b4d;return Object['fromEntries'](GLOBAL_FLAGS[_0x4fbf5a(0x246)](_0x55b881=>[_0x55b881[_0x4fbf5a(0x233)],{'type':_0x55b881['type']}]));}
@@ -1 +1 @@
1
- const a264_0x307a3e=a264_0x340a;(function(_0x166d42,_0x984c9d){const _0x5cda68=a264_0x340a,_0x27f489=_0x166d42();while(!![]){try{const _0x4bbbda=-parseInt(_0x5cda68(0xc1))/0x1+-parseInt(_0x5cda68(0xbd))/0x2+-parseInt(_0x5cda68(0xbc))/0x3+-parseInt(_0x5cda68(0xc4))/0x4*(parseInt(_0x5cda68(0xbf))/0x5)+-parseInt(_0x5cda68(0xbb))/0x6+-parseInt(_0x5cda68(0xba))/0x7*(-parseInt(_0x5cda68(0xbe))/0x8)+parseInt(_0x5cda68(0xc0))/0x9;if(_0x4bbbda===_0x984c9d)break;else _0x27f489['push'](_0x27f489['shift']());}catch(_0xdcbd50){_0x27f489['push'](_0x27f489['shift']());}}}(a264_0x4912,0x859fe));function a264_0x4912(){const _0x467651=['30318849ffoYrh','331656jmnlJo','compress','production','565932DftXJv','write','6977173ZZqrvy','5768460moToNG','2499960SsEqPz','1968746gwFSvr','8oDopFX','25PveNYD'];a264_0x4912=function(){return _0x467651;};return a264_0x4912();}import{DEFAULT_API_DIR}from'../constant/paths.js';function a264_0x340a(_0x59e002,_0x42357b){_0x59e002=_0x59e002-0xb9;const _0x49127d=a264_0x4912();let _0x340a92=_0x49127d[_0x59e002];return _0x340a92;}export const DEFAULT_CONFIG_VALUES={'env':a264_0x307a3e(0xc3),'format':a264_0x307a3e(0xc2),'locale':'en-US','riskLevel':a264_0x307a3e(0xb9),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a264_0x307a3e(0xc2);
1
+ function a264_0x41e8(_0x1c0c9b,_0x216ff1){_0x1c0c9b=_0x1c0c9b-0xeb;const _0x12f68c=a264_0x12f6();let _0x41e839=_0x12f68c[_0x1c0c9b];return _0x41e839;}const a264_0x508397=a264_0x41e8;(function(_0x3818ed,_0x30eb73){const _0xd90ef0=a264_0x41e8,_0x3d6a12=_0x3818ed();while(!![]){try{const _0x19502e=-parseInt(_0xd90ef0(0xf5))/0x1*(-parseInt(_0xd90ef0(0xef))/0x2)+parseInt(_0xd90ef0(0xec))/0x3+parseInt(_0xd90ef0(0xed))/0x4+-parseInt(_0xd90ef0(0xee))/0x5+parseInt(_0xd90ef0(0xeb))/0x6+-parseInt(_0xd90ef0(0xf1))/0x7*(parseInt(_0xd90ef0(0xf2))/0x8)+parseInt(_0xd90ef0(0xf4))/0x9;if(_0x19502e===_0x30eb73)break;else _0x3d6a12['push'](_0x3d6a12['shift']());}catch(_0xe4a411){_0x3d6a12['push'](_0x3d6a12['shift']());}}}(a264_0x12f6,0xce16e));import{DEFAULT_API_DIR}from'../constant/paths.js';function a264_0x12f6(){const _0x183fea=['19976058xnzirb','4483yOxCUP','1687680OIfYNS','111591bfeCYe','2366512Lbaewz','3662595tGzieK','16GuUjxR','compress','11122090MOqctB','8RucbAg','write'];a264_0x12f6=function(){return _0x183fea;};return a264_0x12f6();}export const DEFAULT_CONFIG_VALUES={'env':'production','format':a264_0x508397(0xf0),'locale':'en-US','riskLevel':a264_0x508397(0xf3),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a264_0x508397(0xf0);
@@ -1 +1 @@
1
- const a265_0x3e17d4=a265_0x4a7f;(function(_0x5233a7,_0x4c9ac6){const _0x550f06=a265_0x4a7f,_0x49a8fb=_0x5233a7();while(!![]){try{const _0x47bf9b=parseInt(_0x550f06(0x84))/0x1+-parseInt(_0x550f06(0x85))/0x2*(-parseInt(_0x550f06(0x8b))/0x3)+-parseInt(_0x550f06(0x76))/0x4+parseInt(_0x550f06(0x81))/0x5+-parseInt(_0x550f06(0x8f))/0x6*(parseInt(_0x550f06(0x79))/0x7)+-parseInt(_0x550f06(0x78))/0x8*(-parseInt(_0x550f06(0x8d))/0x9)+-parseInt(_0x550f06(0x7c))/0xa;if(_0x47bf9b===_0x4c9ac6)break;else _0x49a8fb['push'](_0x49a8fb['shift']());}catch(_0x46987b){_0x49a8fb['push'](_0x49a8fb['shift']());}}}(a265_0x55c8,0xe8ae2));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 _0x22ca22=a265_0x4a7f,_0x102a80=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x102a80['serviceDomains'][_0x22ca22(0x7f)]:_0x102a80[_0x22ca22(0x7d)][_0x22ca22(0x83)]??_0x102a80[_0x22ca22(0x7d)][_0x22ca22(0x7f)];}export function initDomains(_0x447cbc){const _0x89975d=a265_0x4a7f;customApiDomain=_0x447cbc?.['apiDomain'],customUserDomain=_0x447cbc?.[_0x89975d(0x87)],customRuntimeDomain=_0x447cbc?.['runtimeDomain'],customSkillDomain=_0x447cbc?.[_0x89975d(0x80)],customKbDomain=_0x447cbc?.['kbDomain'],customKbServiceDomain=_0x447cbc?.[_0x89975d(0x90)],allowOfficialKbServiceDefault=_0x447cbc?.[_0x89975d(0x91)]??!![],customAppDomain=_0x447cbc?.['appDomain'],customLocalDomain=_0x447cbc?.[_0x89975d(0x8e)],customCertificateDomain=_0x447cbc?.[_0x89975d(0x8c)],customCdn=_0x447cbc?.[_0x89975d(0x94)],activeRegion=_0x447cbc?.[_0x89975d(0x7e)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a265_0x3e17d4(0x89)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a265_0x3e17d4(0x8a)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a265_0x3e17d4(0x77)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];function a265_0x4a7f(_0x32bf05,_0x284941){_0x32bf05=_0x32bf05-0x76;const _0x55c82b=a265_0x55c8();let _0x4a7f40=_0x55c82b[_0x32bf05];return _0x4a7f40;}export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{const _0x3f7f74=a265_0x3e17d4;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()[_0x3f7f74(0x7a)];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a265_0x3e17d4(0x92)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);function a265_0x55c8(){const _0x1a0487=['app','hostname','cdn','160408ZuSAWU','runtime','3624splLwT','169057sqzGCL','kbService','trim','25686490EwQllw','serviceDomains','region','production','skillDomain','4253720RirTyH','/app/','daily','797467lLPHHX','2RmyAjV','origin','userDomain','/web-app/app/','user','api','3382524CbzdpJ','certificateDomain','22815pJkCdo','localDomain','90WAlkAA','kbServiceDomain','allowOfficialKbServiceDefault'];a265_0x55c8=function(){return _0x1a0487;};return a265_0x55c8();}export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x5b61f8=a265_0x3e17d4;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x5b61f8(0x77)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x16dc83=>{const _0x41eff5=a265_0x3e17d4,_0x2cfe82=encodeURIComponent(_0x16dc83[_0x41eff5(0x7b)]());return isProduction(getEnv())?getAppDomain()+_0x41eff5(0x82)+_0x2cfe82:getAppDomain()+_0x41eff5(0x88)+_0x2cfe82;};export const getPublishedAppDomain=_0x57307d=>{const _0x4abf76=a265_0x3e17d4,_0x9872ec=new URL(getAppDomain());return _0x9872ec[_0x4abf76(0x93)]=_0x57307d[_0x4abf76(0x7b)]()+'.'+_0x9872ec[_0x4abf76(0x93)],_0x9872ec[_0x4abf76(0x86)];};
1
+ function a265_0x5dee(_0x43d376,_0x52bdc7){_0x43d376=_0x43d376-0x1b6;const _0x2f4069=a265_0x2f40();let _0x5dee2c=_0x2f4069[_0x43d376];return _0x5dee2c;}const a265_0x50a64a=a265_0x5dee;(function(_0x53cdaa,_0x2d3a03){const _0x1ccb91=a265_0x5dee,_0xb5a0b2=_0x53cdaa();while(!![]){try{const _0x149b32=parseInt(_0x1ccb91(0x1b8))/0x1+-parseInt(_0x1ccb91(0x1c1))/0x2*(parseInt(_0x1ccb91(0x1cc))/0x3)+-parseInt(_0x1ccb91(0x1bb))/0x4+parseInt(_0x1ccb91(0x1c0))/0x5+parseInt(_0x1ccb91(0x1c2))/0x6+parseInt(_0x1ccb91(0x1d2))/0x7*(parseInt(_0x1ccb91(0x1cb))/0x8)+-parseInt(_0x1ccb91(0x1c9))/0x9;if(_0x149b32===_0x2d3a03)break;else _0xb5a0b2['push'](_0xb5a0b2['shift']());}catch(_0x1d9e76){_0xb5a0b2['push'](_0xb5a0b2['shift']());}}}(a265_0x2f40,0xe4561));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 _0x3ea36c=a265_0x5dee,_0x28164e=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x28164e[_0x3ea36c(0x1bf)][_0x3ea36c(0x1ba)]:_0x28164e[_0x3ea36c(0x1bf)][_0x3ea36c(0x1d3)]??_0x28164e[_0x3ea36c(0x1bf)][_0x3ea36c(0x1ba)];}export function initDomains(_0xb7ff1c){const _0x589fb1=a265_0x5dee;customApiDomain=_0xb7ff1c?.[_0x589fb1(0x1bd)],customUserDomain=_0xb7ff1c?.[_0x589fb1(0x1cd)],customRuntimeDomain=_0xb7ff1c?.['runtimeDomain'],customSkillDomain=_0xb7ff1c?.[_0x589fb1(0x1c5)],customKbDomain=_0xb7ff1c?.[_0x589fb1(0x1c4)],customKbServiceDomain=_0xb7ff1c?.[_0x589fb1(0x1ca)],allowOfficialKbServiceDefault=_0xb7ff1c?.[_0x589fb1(0x1b9)]??!![],customAppDomain=_0xb7ff1c?.['appDomain'],customLocalDomain=_0xb7ff1c?.['localDomain'],customCertificateDomain=_0xb7ff1c?.[_0x589fb1(0x1d4)],customCdn=_0xb7ff1c?.[_0x589fb1(0x1bc)],activeRegion=_0xb7ff1c?.[_0x589fb1(0x1be)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a265_0x50a64a(0x1c8)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a265_0x50a64a(0x1ce)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()['runtime'];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a265_0x50a64a(0x1cf)];function a265_0x2f40(){const _0x4d2f62=['hostname','587349TBKCDF','allowOfficialKbServiceDefault','production','3527712SOiUKX','cdn','apiDomain','region','serviceDomains','2443010nNFnlu','162uFkKpk','11041212zOEUsB','kbService','kbDomain','skillDomain','trim','app','user','6106842mjSpnW','kbServiceDomain','8fTBvhX','49809IufExP','userDomain','api','skill','origin','/web-app/app/','6470947axaxWK','daily','certificateDomain','/app/'];a265_0x2f40=function(){return _0x4d2f62;};return a265_0x2f40();}export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{const _0x235bc4=a265_0x50a64a;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()[_0x235bc4(0x1c3)];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a265_0x50a64a(0x1c7)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()['runtime'])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x5c9041=>{const _0x4dbdb4=a265_0x50a64a,_0x3e113a=encodeURIComponent(_0x5c9041['trim']());return isProduction(getEnv())?getAppDomain()+_0x4dbdb4(0x1b6)+_0x3e113a:getAppDomain()+_0x4dbdb4(0x1d1)+_0x3e113a;};export const getPublishedAppDomain=_0x226d04=>{const _0x365350=a265_0x50a64a,_0x5f4477=new URL(getAppDomain());return _0x5f4477[_0x365350(0x1b7)]=_0x226d04[_0x365350(0x1c6)]()+'.'+_0x5f4477[_0x365350(0x1b7)],_0x5f4477[_0x365350(0x1d0)];};
@@ -1 +1 @@
1
- const a266_0x564fe3=a266_0x4e56;(function(_0x1cdee7,_0x27973a){const _0x5b570f=a266_0x4e56,_0x33979c=_0x1cdee7();while(!![]){try{const _0x1a2a4c=parseInt(_0x5b570f(0x1b7))/0x1+parseInt(_0x5b570f(0x1bf))/0x2+parseInt(_0x5b570f(0x1ba))/0x3*(-parseInt(_0x5b570f(0x1bc))/0x4)+parseInt(_0x5b570f(0x1bb))/0x5+parseInt(_0x5b570f(0x1be))/0x6*(-parseInt(_0x5b570f(0x1bd))/0x7)+-parseInt(_0x5b570f(0x1b8))/0x8+parseInt(_0x5b570f(0x1b6))/0x9;if(_0x1a2a4c===_0x27973a)break;else _0x33979c['push'](_0x33979c['shift']());}catch(_0x1782d4){_0x33979c['push'](_0x33979c['shift']());}}}(a266_0x1ad6,0xd40c4));export const RABETBASE_ENV_VALUES=[a266_0x564fe3(0x1c0),'daily'];export function normalizeEnv(_0x2a0a6c){const _0x33c128=a266_0x564fe3;return _0x2a0a6c===_0x33c128(0x1b9)?_0x33c128(0x1c0):_0x2a0a6c;}export function isProduction(_0x54b28b){const _0x1849cb=a266_0x564fe3;return normalizeEnv(_0x54b28b)===_0x1849cb(0x1c0);}function a266_0x4e56(_0x24dd08,_0xc5e671){_0x24dd08=_0x24dd08-0x1b6;const _0x1ad6c6=a266_0x1ad6();let _0x4e56b9=_0x1ad6c6[_0x24dd08];return _0x4e56b9;}export function isDaily(_0x3eca37){return normalizeEnv(_0x3eca37)==='daily';}export function isDev(_0x66fa33){const _0x111fd3=a266_0x564fe3,_0x5965cf=normalizeEnv(_0x66fa33);return _0x5965cf===_0x111fd3(0x1c2)||_0x5965cf===_0x111fd3(0x1c1);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a266_0x564fe3(0x1c0));export function getEnv(){return env;}export function initEnv(_0x27e8c4){env=normalizeEnv(_0x27e8c4);}function a266_0x1ad6(){const _0x217ed8=['dev','development','14574114dtGjHt','1281759PfOOko','1353792iBycYp','online','18NBgCni','279280FDhqtq','1047828vmxOqB','274862JAutnr','204dnjmMJ','1975194nHxriv','production'];a266_0x1ad6=function(){return _0x217ed8;};return a266_0x1ad6();}
1
+ const a266_0x223b1c=a266_0x7e2c;function a266_0x202b(){const _0x1ca0d0=['8oSUluu','daily','29612106ZlgBzW','926TlGKtH','online','1515882joaAXO','3731410cWqAWj','1853ioqnhw','1008336laLqWc','4458252LTDIun','4094445GkUGFj','production'];a266_0x202b=function(){return _0x1ca0d0;};return a266_0x202b();}function a266_0x7e2c(_0x199107,_0x213612){_0x199107=_0x199107-0x181;const _0x202b80=a266_0x202b();let _0x7e2cc7=_0x202b80[_0x199107];return _0x7e2cc7;}(function(_0x909b1f,_0x3aca02){const _0x26ea32=a266_0x7e2c,_0xd1e051=_0x909b1f();while(!![]){try{const _0x2a9eb4=parseInt(_0x26ea32(0x182))/0x1*(parseInt(_0x26ea32(0x18a))/0x2)+parseInt(_0x26ea32(0x185))/0x3+parseInt(_0x26ea32(0x184))/0x4+parseInt(_0x26ea32(0x181))/0x5+-parseInt(_0x26ea32(0x18c))/0x6+parseInt(_0x26ea32(0x183))/0x7+parseInt(_0x26ea32(0x187))/0x8*(-parseInt(_0x26ea32(0x189))/0x9);if(_0x2a9eb4===_0x3aca02)break;else _0xd1e051['push'](_0xd1e051['shift']());}catch(_0x5509ad){_0xd1e051['push'](_0xd1e051['shift']());}}}(a266_0x202b,0xa72de));export const RABETBASE_ENV_VALUES=['production',a266_0x223b1c(0x188)];export function normalizeEnv(_0x4ea00c){const _0x6068a1=a266_0x223b1c;return _0x4ea00c===_0x6068a1(0x18b)?_0x6068a1(0x186):_0x4ea00c;}export function isProduction(_0x4c186c){const _0x559bb5=a266_0x223b1c;return normalizeEnv(_0x4c186c)===_0x559bb5(0x186);}export function isDaily(_0xaf85c6){const _0x5dc0b9=a266_0x223b1c;return normalizeEnv(_0xaf85c6)===_0x5dc0b9(0x188);}export function isDev(_0x1c0066){const _0x205c42=normalizeEnv(_0x1c0066);return _0x205c42==='development'||_0x205c42==='dev';}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||'production');export function getEnv(){return env;}export function initEnv(_0xf94f8){env=normalizeEnv(_0xf94f8);}
@@ -1 +1 @@
1
- function a267_0x2bd0(){const _0x1b4ff4=['10839248TMJARe','12328864rpoyDl','1uYbIVn','compress','1650336HPRltO','5SPMitg','391614ykEzpR','3075720aIrbwi','4986108SKauhf','63HDFtWt','2193810WhAhAT'];a267_0x2bd0=function(){return _0x1b4ff4;};return a267_0x2bd0();}const a267_0x3fcaa5=a267_0x5034;(function(_0x140dc8,_0x4ef879){const _0x5d7695=a267_0x5034,_0x58df82=_0x140dc8();while(!![]){try{const _0x508730=-parseInt(_0x5d7695(0xcf))/0x1*(parseInt(_0x5d7695(0xd3))/0x2)+parseInt(_0x5d7695(0xc9))/0x3+-parseInt(_0x5d7695(0xca))/0x4+parseInt(_0x5d7695(0xd2))/0x5*(-parseInt(_0x5d7695(0xd1))/0x6)+parseInt(_0x5d7695(0xcd))/0x7+parseInt(_0x5d7695(0xce))/0x8+parseInt(_0x5d7695(0xcb))/0x9*(-parseInt(_0x5d7695(0xcc))/0xa);if(_0x508730===_0x4ef879)break;else _0x58df82['push'](_0x58df82['shift']());}catch(_0x2d1c3b){_0x58df82['push'](_0x58df82['shift']());}}}(a267_0x2bd0,0xd263b));function a267_0x5034(_0x1a14ca,_0xb81ed5){_0x1a14ca=_0x1a14ca-0xc9;const _0x2bd09f=a267_0x2bd0();let _0x50343e=_0x2bd09f[_0x1a14ca];return _0x50343e;}export const RABETBASE_OUTPUT_FORMAT_VALUES=['json','pretty',a267_0x3fcaa5(0xd0)];
1
+ function a267_0x1f1e(_0x166302,_0x3b5819){_0x166302=_0x166302-0x72;const _0x5a4962=a267_0x5a49();let _0x1f1e8c=_0x5a4962[_0x166302];return _0x1f1e8c;}const a267_0xcdcde3=a267_0x1f1e;(function(_0x21fb5a,_0x37e4be){const _0x1b9bd9=a267_0x1f1e,_0x2c655b=_0x21fb5a();while(!![]){try{const _0x441c0b=parseInt(_0x1b9bd9(0x77))/0x1*(-parseInt(_0x1b9bd9(0x7d))/0x2)+parseInt(_0x1b9bd9(0x7c))/0x3+parseInt(_0x1b9bd9(0x78))/0x4*(-parseInt(_0x1b9bd9(0x74))/0x5)+-parseInt(_0x1b9bd9(0x73))/0x6*(-parseInt(_0x1b9bd9(0x75))/0x7)+-parseInt(_0x1b9bd9(0x7e))/0x8+-parseInt(_0x1b9bd9(0x72))/0x9+-parseInt(_0x1b9bd9(0x7b))/0xa*(-parseInt(_0x1b9bd9(0x76))/0xb);if(_0x441c0b===_0x37e4be)break;else _0x2c655b['push'](_0x2c655b['shift']());}catch(_0x2463a7){_0x2c655b['push'](_0x2c655b['shift']());}}}(a267_0x5a49,0xdc801));function a267_0x5a49(){const _0x52cd1=['12162904QMmsZa','3847878EGmULI','66yOHahW','65770iNIHiY','1020789rvGYOE','15651251ZTtJru','30865AYQaEy','104kPorpO','pretty','json','10KQTDzl','3646650WgZSiX','68qhLSwR'];a267_0x5a49=function(){return _0x52cd1;};return a267_0x5a49();}export const RABETBASE_OUTPUT_FORMAT_VALUES=[a267_0xcdcde3(0x7a),a267_0xcdcde3(0x79),'compress'];
@@ -1 +1 @@
1
- (function(_0x232dc8,_0x37780e){const _0x581d48=a268_0x4b3e,_0x2d62a5=_0x232dc8();while(!![]){try{const _0x6f5a7e=parseInt(_0x581d48(0x1bf))/0x1+-parseInt(_0x581d48(0x1c8))/0x2+parseInt(_0x581d48(0x1c3))/0x3*(-parseInt(_0x581d48(0x1c1))/0x4)+-parseInt(_0x581d48(0x1c0))/0x5*(parseInt(_0x581d48(0x1c4))/0x6)+-parseInt(_0x581d48(0x1c5))/0x7*(-parseInt(_0x581d48(0x1c2))/0x8)+-parseInt(_0x581d48(0x1c6))/0x9+parseInt(_0x581d48(0x1c7))/0xa;if(_0x6f5a7e===_0x37780e)break;else _0x2d62a5['push'](_0x2d62a5['shift']());}catch(_0x379dc9){_0x2d62a5['push'](_0x2d62a5['shift']());}}}(a268_0x61cc,0x80c11));export const DEFAULT_API_DIR='./src/api';function a268_0x4b3e(_0x532824,_0x169396){_0x532824=_0x532824-0x1bf;const _0x61ccf1=a268_0x61cc();let _0x4b3e00=_0x61ccf1[_0x532824];return _0x4b3e00;}function a268_0x61cc(){const _0x1dc88a=['2520476LdszPP','3696dnTXoe','3zmYYXA','6185310ktBqum','10136MAQdfl','7547679BglHFt','19668340TYdEPI','886712Cllzes','834558FMsGwH','5uFXZon'];a268_0x61cc=function(){return _0x1dc88a;};return a268_0x61cc();}
1
+ function a268_0x12f6(_0x99233f,_0x144dce){_0x99233f=_0x99233f-0xfe;const _0x3bbb8a=a268_0x3bbb();let _0x12f677=_0x3bbb8a[_0x99233f];return _0x12f677;}(function(_0x12732e,_0x1280b7){const _0x1670f5=a268_0x12f6,_0x826ce=_0x12732e();while(!![]){try{const _0x1e9835=parseInt(_0x1670f5(0x101))/0x1+-parseInt(_0x1670f5(0x104))/0x2+-parseInt(_0x1670f5(0x103))/0x3+-parseInt(_0x1670f5(0x100))/0x4+-parseInt(_0x1670f5(0xfe))/0x5*(parseInt(_0x1670f5(0x102))/0x6)+parseInt(_0x1670f5(0xff))/0x7+parseInt(_0x1670f5(0x105))/0x8;if(_0x1e9835===_0x1280b7)break;else _0x826ce['push'](_0x826ce['shift']());}catch(_0x471765){_0x826ce['push'](_0x826ce['shift']());}}}(a268_0x3bbb,0x6c6d8));function a268_0x3bbb(){const _0x1339e2=['13789784RkYymc','2645dJSQLE','1129905WveFjB','777780xaZtFX','239960qZDfRV','6156hZZEPi','544638ZalFPJ','1524466IfInUk'];a268_0x3bbb=function(){return _0x1339e2;};return a268_0x3bbb();}export const DEFAULT_API_DIR='./src/api';
@@ -1 +1 @@
1
- (function(_0x43e345,_0x2b754b){const _0x5bd684=a269_0x1688,_0x585479=_0x43e345();while(!![]){try{const _0x5e7587=-parseInt(_0x5bd684(0xb8))/0x1+parseInt(_0x5bd684(0xb7))/0x2*(parseInt(_0x5bd684(0xb5))/0x3)+parseInt(_0x5bd684(0xbb))/0x4*(parseInt(_0x5bd684(0xb2))/0x5)+parseInt(_0x5bd684(0xbc))/0x6+parseInt(_0x5bd684(0xb4))/0x7*(-parseInt(_0x5bd684(0xb3))/0x8)+-parseInt(_0x5bd684(0xb9))/0x9+parseInt(_0x5bd684(0xba))/0xa*(parseInt(_0x5bd684(0xb6))/0xb);if(_0x5e7587===_0x2b754b)break;else _0x585479['push'](_0x585479['shift']());}catch(_0x12c453){_0x585479['push'](_0x585479['shift']());}}}(a269_0x2718,0x3d052));function a269_0x2718(){const _0x5834c9=['2009550yDnCSk','string','15kzXqfs','2248144yHzSWm','7LdfPuy','2301DRNgmC','11KaByya','272LJEJvL','396357wLuaeg','811737TKAEoe','3954400Olxujz','243772NVNuiI'];a269_0x2718=function(){return _0x5834c9;};return a269_0x2718();}function a269_0x1688(_0x566dd8,_0x274ebd){_0x566dd8=_0x566dd8-0xb2;const _0x271889=a269_0x2718();let _0x1688a6=_0x271889[_0x566dd8];return _0x1688a6;}import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0xdf0256){const _0x4cc94f=a269_0x1688;return typeof _0xdf0256===_0x4cc94f(0xbd)&&LOVRABET_REGION_VALUES['includes'](_0xdf0256);}export function isEnabledLovrabetRegion(_0x51ebd9){const _0x5e3fcc=a269_0x1688;return typeof _0x51ebd9===_0x5e3fcc(0xbd)&&ENABLED_LOVRABET_REGION_VALUES['includes'](_0x51ebd9);}export function normalizeLovrabetRegion(_0x1eb329){if(typeof _0x1eb329!=='string')return undefined;const _0x34f071=REGION_ALIASES[_0x1eb329]??_0x1eb329;return isLovrabetRegion(_0x34f071)?_0x34f071:undefined;}export function isInvalidLovrabetRegion(_0x59e52c){return _0x59e52c!==undefined&&_0x59e52c!==null&&_0x59e52c!==''&&normalizeLovrabetRegion(_0x59e52c)===undefined;}
1
+ (function(_0x4ece4e,_0x16f39c){const _0x3a5fca=a269_0x4ed5,_0x418f68=_0x4ece4e();while(!![]){try{const _0x994bb1=-parseInt(_0x3a5fca(0xe5))/0x1*(-parseInt(_0x3a5fca(0xe3))/0x2)+-parseInt(_0x3a5fca(0xe4))/0x3+-parseInt(_0x3a5fca(0xe8))/0x4*(-parseInt(_0x3a5fca(0xe0))/0x5)+parseInt(_0x3a5fca(0xe6))/0x6*(parseInt(_0x3a5fca(0xe2))/0x7)+parseInt(_0x3a5fca(0xdf))/0x8+parseInt(_0x3a5fca(0xea))/0x9+-parseInt(_0x3a5fca(0xe7))/0xa;if(_0x994bb1===_0x16f39c)break;else _0x418f68['push'](_0x418f68['shift']());}catch(_0x5757fe){_0x418f68['push'](_0x418f68['shift']());}}}(a269_0x4f64,0x3e60e));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;function a269_0x4f64(){const _0x1220ec=['103959uuwiYi','446969iEiCmy','219234kZIBHq','17822280ElXvuZ','4364rRaFnW','includes','3421305EiqDqT','3792064DEPgAY','2195HwrEZE','string','56jsKsSE','2FftyoC'];a269_0x4f64=function(){return _0x1220ec;};return a269_0x4f64();}export function isLovrabetRegion(_0x3ae1c1){const _0x1c3a97=a269_0x4ed5;return typeof _0x3ae1c1===_0x1c3a97(0xe1)&&LOVRABET_REGION_VALUES['includes'](_0x3ae1c1);}function a269_0x4ed5(_0x4e66d6,_0x21e380){_0x4e66d6=_0x4e66d6-0xdf;const _0x4f6422=a269_0x4f64();let _0x4ed544=_0x4f6422[_0x4e66d6];return _0x4ed544;}export function isEnabledLovrabetRegion(_0x6736de){const _0x122865=a269_0x4ed5;return typeof _0x6736de===_0x122865(0xe1)&&ENABLED_LOVRABET_REGION_VALUES[_0x122865(0xe9)](_0x6736de);}export function normalizeLovrabetRegion(_0x4ced6c){const _0x1d0f41=a269_0x4ed5;if(typeof _0x4ced6c!==_0x1d0f41(0xe1))return undefined;const _0x46813a=REGION_ALIASES[_0x4ced6c]??_0x4ced6c;return isLovrabetRegion(_0x46813a)?_0x46813a:undefined;}export function isInvalidLovrabetRegion(_0x4ca4a7){return _0x4ca4a7!==undefined&&_0x4ca4a7!==null&&_0x4ca4a7!==''&&normalizeLovrabetRegion(_0x4ca4a7)===undefined;}
@@ -1 +1 @@
1
- const a270_0x665e4b=a270_0x3242;(function(_0x3493f6,_0x5d5dd2){const _0x29ffe1=a270_0x3242,_0x5d7332=_0x3493f6();while(!![]){try{const _0x30e631=-parseInt(_0x29ffe1(0x10d))/0x1+parseInt(_0x29ffe1(0x10e))/0x2+-parseInt(_0x29ffe1(0x110))/0x3*(-parseInt(_0x29ffe1(0x10a))/0x4)+parseInt(_0x29ffe1(0x10f))/0x5+parseInt(_0x29ffe1(0x112))/0x6*(-parseInt(_0x29ffe1(0x113))/0x7)+parseInt(_0x29ffe1(0x10c))/0x8+-parseInt(_0x29ffe1(0x111))/0x9;if(_0x30e631===_0x5d5dd2)break;else _0x5d7332['push'](_0x5d7332['shift']());}catch(_0x195aa0){_0x5d7332['push'](_0x5d7332['shift']());}}}(a270_0x2c93,0x740b3));function a270_0x3242(_0x1cc622,_0x588b8d){_0x1cc622=_0x1cc622-0x109;const _0x2c9327=a270_0x2c93();let _0x3242b3=_0x2c9327[_0x1cc622];return _0x3242b3;}export const RISK_LEVEL_VALUES=[a270_0x665e4b(0x10b),a270_0x665e4b(0x109),'high-risk-write'];function a270_0x2c93(){const _0x2c5c92=['2905362edjoTd','798612JUNDAt','7jwbWCj','write','1614148lsWBZj','read','2451440YywXch','379511qcOKyq','311874TSTRHO','2224210NCNhBI','3hnyDRK'];a270_0x2c93=function(){return _0x2c5c92;};return a270_0x2c93();}
1
+ const a270_0x46f547=a270_0x392f;function a270_0x392f(_0x3f97ea,_0x1774ab){_0x3f97ea=_0x3f97ea-0xce;const _0x5a5a61=a270_0x5a5a();let _0x392f37=_0x5a5a61[_0x3f97ea];return _0x392f37;}(function(_0x525dc7,_0x2790ac){const _0x45e223=a270_0x392f,_0x2df9c5=_0x525dc7();while(!![]){try{const _0x2a53f6=-parseInt(_0x45e223(0xd6))/0x1+-parseInt(_0x45e223(0xd4))/0x2+parseInt(_0x45e223(0xd1))/0x3*(parseInt(_0x45e223(0xce))/0x4)+parseInt(_0x45e223(0xd0))/0x5*(-parseInt(_0x45e223(0xd5))/0x6)+-parseInt(_0x45e223(0xda))/0x7+parseInt(_0x45e223(0xd2))/0x8*(parseInt(_0x45e223(0xd3))/0x9)+parseInt(_0x45e223(0xd9))/0xa;if(_0x2a53f6===_0x2790ac)break;else _0x2df9c5['push'](_0x2df9c5['shift']());}catch(_0x2df729){_0x2df9c5['push'](_0x2df9c5['shift']());}}}(a270_0x5a5a,0xc11a2));function a270_0x5a5a(){const _0x122e70=['3800262zdOlKC','1234552JEOfIi','write','high-risk-write','30020970wBCVWs','7233331yXtRxw','5324108QZkIAn','read','5SgiWwp','3gtYrQR','165304eaKelH','207iSuNfD','2232330sLZRnt'];a270_0x5a5a=function(){return _0x122e70;};return a270_0x5a5a();}export const RISK_LEVEL_VALUES=[a270_0x46f547(0xcf),a270_0x46f547(0xd7),a270_0x46f547(0xd8)];
@@ -1 +1 @@
1
- function a271_0xa57c(_0x411091,_0x4216da){_0x411091=_0x411091-0x11b;const _0xb9c853=a271_0xb9c8();let _0xa57ca0=_0xb9c853[_0x411091];return _0xa57ca0;}(function(_0x164142,_0x299a7a){const _0x1d9891=a271_0xa57c,_0x3cec60=_0x164142();while(!![]){try{const _0x47e2f1=-parseInt(_0x1d9891(0x120))/0x1*(-parseInt(_0x1d9891(0x11e))/0x2)+parseInt(_0x1d9891(0x11b))/0x3*(parseInt(_0x1d9891(0x11f))/0x4)+-parseInt(_0x1d9891(0x124))/0x5+-parseInt(_0x1d9891(0x126))/0x6+parseInt(_0x1d9891(0x129))/0x7+parseInt(_0x1d9891(0x121))/0x8+-parseInt(_0x1d9891(0x11c))/0x9*(-parseInt(_0x1d9891(0x125))/0xa);if(_0x47e2f1===_0x299a7a)break;else _0x3cec60['push'](_0x3cec60['shift']());}catch(_0x2a33ef){_0x3cec60['push'](_0x3cec60['shift']());}}}(a271_0xb9c8,0xad4d4));function a271_0xb9c8(){const _0x28f109=['3ZtLCCM','6398109hBFBNC','Official\x20routing\x20for\x20region\x20\x22','4350YtMqTW','929756fhmllm','545rRgETa','5644544kbaBzN','libraries','lovrabet','3733005SmtvgF','10LxAxAt','8365356iXomir','cdn','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','114716TYFFXh'];a271_0xb9c8=function(){return _0x28f109;};return a271_0xb9c8();}import{OFFICIAL_ROUTING_PROFILES as a271_0x2c8825,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a271_0x2c8825;export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x1032da){return OFFICIAL_ROUTING_PROFILES[_0x1032da];}export function getOfficialRoutingCdn(_0x4d0589){const _0x9d9e91=a271_0xa57c,_0x39ff60=getOfficialRoutingProfile(_0x4d0589)[_0x9d9e91(0x127)];if(!_0x39ff60[_0x9d9e91(0x123)])throw new Error(_0x9d9e91(0x11d)+_0x4d0589+_0x9d9e91(0x128));return{'libraries':_0x39ff60[_0x9d9e91(0x122)],'lovrabet':_0x39ff60[_0x9d9e91(0x123)]};}
1
+ function a271_0x3121(){const _0x1608b9=['1233693OUKDvC','lovrabet','1059765euYLQK','21gmJlrE','20dOyVSt','1261456SSqzEu','7725AhjxaN','490452CHPkwM','80076lPLPUU','65dqAfUv','149426BoQPdq'];a271_0x3121=function(){return _0x1608b9;};return a271_0x3121();}(function(_0x713adb,_0x57e125){const _0x226e9e=a271_0x2752,_0x10b46a=_0x713adb();while(!![]){try{const _0x57121c=-parseInt(_0x226e9e(0x6f))/0x1+-parseInt(_0x226e9e(0x73))/0x2+parseInt(_0x226e9e(0x76))/0x3+parseInt(_0x226e9e(0x71))/0x4*(-parseInt(_0x226e9e(0x72))/0x5)+parseInt(_0x226e9e(0x70))/0x6*(-parseInt(_0x226e9e(0x77))/0x7)+parseInt(_0x226e9e(0x6e))/0x8+parseInt(_0x226e9e(0x74))/0x9*(parseInt(_0x226e9e(0x78))/0xa);if(_0x57121c===_0x57e125)break;else _0x10b46a['push'](_0x10b46a['shift']());}catch(_0x450692){_0x10b46a['push'](_0x10b46a['shift']());}}}(a271_0x3121,0x3023c));import{OFFICIAL_ROUTING_PROFILES as a271_0x1d8d37,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';function a271_0x2752(_0xa6e005,_0x37f33e){_0xa6e005=_0xa6e005-0x6e;const _0x312147=a271_0x3121();let _0x275214=_0x312147[_0xa6e005];return _0x275214;}export const OFFICIAL_ROUTING_PROFILES=a271_0x1d8d37;export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x475967){return OFFICIAL_ROUTING_PROFILES[_0x475967];}export function getOfficialRoutingCdn(_0x2b2d3f){const _0x3849d9=a271_0x2752,_0x4434c7=getOfficialRoutingProfile(_0x2b2d3f)['cdn'];if(!_0x4434c7['lovrabet'])throw new Error('Official\x20routing\x20for\x20region\x20\x22'+_0x2b2d3f+'\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.');return{'libraries':_0x4434c7['libraries'],'lovrabet':_0x4434c7[_0x3849d9(0x75)]};}
@@ -1 +1 @@
1
- (function(_0x98e1c,_0x3aae0f){const _0x4380df=a272_0x3c03,_0xa34052=_0x98e1c();while(!![]){try{const _0x24c24a=parseInt(_0x4380df(0xc4))/0x1+-parseInt(_0x4380df(0xb6))/0x2*(-parseInt(_0x4380df(0xb9))/0x3)+parseInt(_0x4380df(0xcd))/0x4+-parseInt(_0x4380df(0xbf))/0x5*(parseInt(_0x4380df(0xb0))/0x6)+parseInt(_0x4380df(0xae))/0x7*(-parseInt(_0x4380df(0xd0))/0x8)+-parseInt(_0x4380df(0xca))/0x9+-parseInt(_0x4380df(0xb8))/0xa*(-parseInt(_0x4380df(0xc5))/0xb);if(_0x24c24a===_0x3aae0f)break;else _0xa34052['push'](_0xa34052['shift']());}catch(_0x8b1800){_0xa34052['push'](_0xa34052['shift']());}}}(a272_0x372f,0xceb7c));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';import{DEFAULT_LOVRABET_REGION,normalizeLovrabetRegion}from'../constant/region.js';import{selectConfiguredRegion}from'../config/region-config.js';function stringConfigValue(_0x5a3598){const _0x111dbb=a272_0x3c03;return typeof _0x5a3598===_0x111dbb(0xd6)&&_0x5a3598[_0x111dbb(0xbe)]()?_0x5a3598['trim']():undefined;}function appProfiles(_0x54b710){const _0x33b9a0=a272_0x3c03;return _0x54b710[_0x33b9a0(0xaf)]&&typeof _0x54b710[_0x33b9a0(0xaf)]===_0x33b9a0(0xd7)?_0x54b710[_0x33b9a0(0xaf)]:{};}function resolveDefaultAppName(_0xca3b2e){const _0x1ee024=a272_0x3c03,_0x47b450=stringConfigValue(_0xca3b2e[_0x1ee024(0xd1)]);if(_0x47b450)return _0x47b450;const _0x3a8b55=Object[_0x1ee024(0xb7)](appProfiles(_0xca3b2e));return _0x3a8b55[_0x1ee024(0xda)]===0x1?_0x3a8b55[0x0]:undefined;}function a272_0x372f(){const _0xdd30bd=['pageSize','trim','566135awMeqP','projectConfig','COOKIE','daily','format','830534eguKBJ','403997BvWkqF','write','globalConfig','projectPath','FORMAT','11897415FZKuww','ACCESS_KEY','filter','2808324SnuPKc','ENV','accessKey','69928JQTZDd','defaultApp','app','region','read','appcode','string','object','value','locale','length','PAGE_SIZE','APP','721ADMrJd','apps','18BqYDkH','apiDir','env','high-risk-write','source','RISK_LEVEL','1034282fhZWDc','keys','370jgaPjq','3LtliaT','production','riskLevel','cookie'];a272_0x372f=function(){return _0xdd30bd;};return a272_0x372f();}function a272_0x3c03(_0x141c6e,_0x328050){_0x141c6e=_0x141c6e-0xae;const _0x372f22=a272_0x372f();let _0x3c03d9=_0x372f22[_0x141c6e];return _0x3c03d9;}function resolveTopLevelAppCode(_0x2046da){const _0x2f9467=a272_0x3c03;return stringConfigValue(_0x2046da['appcode'])||stringConfigValue(_0x2046da[_0x2f9467(0xd2)]);}function normalizeRiskCeiling(_0x588ca5){const _0x43cd6d=a272_0x3c03;if(_0x588ca5===undefined||_0x588ca5===null)return undefined;if(_0x588ca5===_0x43cd6d(0xd4)||_0x588ca5===_0x43cd6d(0xc6)||_0x588ca5===_0x43cd6d(0xb3))return _0x588ca5;return _0x43cd6d(0xd4);}function resolveRiskCeiling(..._0x5c26f8){const _0x2fa0ef=a272_0x3c03;let _0x3ed890;for(const _0x346a77 of _0x5c26f8){const _0x3d0c26=normalizeRiskCeiling(_0x346a77);_0x3d0c26&&(!_0x3ed890||riskLevelOrder(_0x3d0c26)<riskLevelOrder(_0x3ed890))&&(_0x3ed890=_0x3d0c26);}return _0x3ed890??DEFAULT_CONFIG_VALUES[_0x2fa0ef(0xbb)];}export function resolveAppConfig({raw:_0xf3a31d,flags:_0x3732d9,layers:_0x4f3a95,readEnv:_0x230f3d}){const _0x1186cb=a272_0x3c03,_0x1b4181=_0x4f3a95?.[_0x1186cb(0xc0)]??{},_0x42a9f5=_0x4f3a95?.[_0x1186cb(0xc7)]??{},_0x5d5947=!!_0x4f3a95?.[_0x1186cb(0xc8)]||Object[_0x1186cb(0xb7)](_0x1b4181)['length']>0x0,_0x500286=!_0x5d5947,_0x3af760=_0x5d5947?resolveDefaultAppName(_0x1b4181):undefined,_0x3f0a97=_0x500286?resolveDefaultAppName(_0x42a9f5):undefined,_0x310568=stringConfigValue(_0x3732d9[_0x1186cb(0xd2)]),_0x5a7e48=_0x230f3d(_0x1186cb(0xdc)),_0x2d7200={};if(_0xf3a31d[_0x1186cb(0xaf)]&&typeof _0xf3a31d['apps']===_0x1186cb(0xd7))for(const [_0x13824b,_0x256392]of Object['entries'](_0xf3a31d['apps'])){_0x256392&&typeof _0x256392===_0x1186cb(0xd7)&&_0x256392[_0x1186cb(0xd5)]&&(_0x2d7200[_0x13824b]=_0x256392);}const _0x35a19b=_0x3af760||_0x3f0a97||resolveDefaultAppName(_0xf3a31d),_0x2adb4a=Object[_0x1186cb(0xb7)](_0x2d7200)['length']>0x0,_0x4180bd=_0x310568||_0x3af760||_0x5a7e48||_0x3f0a97||_0x35a19b||undefined,_0x2c2349=stringConfigValue(_0x3732d9[_0x1186cb(0xd5)]),_0x3605dd=_0x2c2349?Object['entries'](_0x2d7200)[_0x1186cb(0xcc)](([,_0xba6a4c])=>_0xba6a4c?.[_0x1186cb(0xd5)]===_0x2c2349):[],_0x23093a=_0x310568&&_0x2d7200[_0x310568]?.['appcode']===_0x2c2349?[_0x310568,_0x2d7200[_0x310568]]:undefined,_0xee52d6=_0x23093a??(_0x3605dd[_0x1186cb(0xda)]===0x1?_0x3605dd[0x0]:undefined),_0x36c189=_0xee52d6?.[0x0],_0x1cc73c=_0xee52d6?.[0x1],_0x3b1235=_0x2c2349?_0x36c189:_0x4180bd;let _0x121938=_0x3b1235&&_0x2d7200[_0x3b1235]?_0x2d7200[_0x3b1235]:undefined;_0x2c2349&&_0x1cc73c&&(_0x121938=_0x1cc73c);const _0x5f1f8e=_0x2c2349?_0x1cc73c??_0x121938:_0x121938,_0x183d4e=!_0x310568&&!_0x3af760&&_0x5a7e48&&_0x3b1235===_0x5a7e48,_0x64299f=_0x310568||(_0x183d4e?_0x5a7e48:undefined)||(_0x2c2349?_0x36c189:undefined),_0x9a61e5=_0x5f1f8e?.[_0x1186cb(0xd5)],_0x201ab5=_0x5d5947?resolveTopLevelAppCode(_0x1b4181):undefined,_0x2ea468=_0x500286?resolveTopLevelAppCode(_0x42a9f5):undefined,_0x6e7b02=_0x310568||_0x3af760?_0x9a61e5:undefined,_0x52cdbc=!_0x310568&&!_0x3af760?_0x9a61e5:undefined,_0x57d024=_0x2c2349||_0x6e7b02||_0x201ab5||_0x52cdbc||_0x2ea468||undefined,_0x322fb6=_0x5d5947?stringConfigValue(_0x1b4181[_0x1186cb(0xb2)]):undefined,_0x4bfbee=_0x500286?stringConfigValue(_0x42a9f5[_0x1186cb(0xb2)]):undefined,_0x25b943=_0x3732d9['env']||_0x5f1f8e?.[_0x1186cb(0xb2)]||_0x322fb6||_0x230f3d(_0x1186cb(0xce))||_0x4bfbee||_0xf3a31d[_0x1186cb(0xb2)]||DEFAULT_CONFIG_VALUES[_0x1186cb(0xb2)],_0x4d19c0=_0x5f1f8e?.[_0x1186cb(0xd9)]||_0xf3a31d[_0x1186cb(0xd9)]||DEFAULT_CONFIG_VALUES[_0x1186cb(0xd9)],_0x878923=_0x230f3d(_0x1186cb(0xc1))||_0x5f1f8e?.['cookie']||_0xf3a31d[_0x1186cb(0xbc)]||undefined,_0x49b01a=_0x230f3d(_0x1186cb(0xcb))||_0x5f1f8e?.[_0x1186cb(0xcf)]||_0xf3a31d[_0x1186cb(0xcf)]||undefined,_0x3da444=_0x3732d9[_0x1186cb(0xc3)]||_0x230f3d(_0x1186cb(0xc9))||_0x5f1f8e?.[_0x1186cb(0xc3)]||_0xf3a31d['format'],_0x46dc9c=normalizeLegacyOutputFormat(_0x3da444),_0x11fa29=_0x230f3d(_0x1186cb(0xdb))||_0x5f1f8e?.[_0x1186cb(0xbd)]||_0xf3a31d[_0x1186cb(0xbd)],_0x3f59ca=_0x11fa29?Number(_0x11fa29)||undefined:undefined,_0x5b95e6=_0x4f3a95?[_0x4f3a95['globalConfig'][_0x1186cb(0xbb)],_0x4f3a95[_0x1186cb(0xc0)][_0x1186cb(0xbb)]]:[_0xf3a31d[_0x1186cb(0xbb)]],_0x2cafab=resolveRiskCeiling(..._0x5b95e6,_0x5f1f8e?.['riskLevel']),_0x28693c=resolveRiskCeiling(_0x2cafab,_0x230f3d(_0x1186cb(0xb5))),_0x58b6e1=_0x230f3d('VERBOSE'),_0x4df2ac=_0x58b6e1==='1'||_0x58b6e1==='true',_0x1cbeee=_0x5f1f8e?.[_0x1186cb(0xb1)]||_0xf3a31d[_0x1186cb(0xb1)]||DEFAULT_CONFIG_VALUES[_0x1186cb(0xb1)],_0x38a704=selectConfiguredRegion({'appRegion':_0x5f1f8e?.[_0x1186cb(0xd3)],'projectRegion':_0x5d5947?_0x1b4181[_0x1186cb(0xd3)]:undefined,'globalRegion':_0x5d5947||_0x500286?_0x42a9f5['region']:undefined,'mergedRegion':_0xf3a31d[_0x1186cb(0xd3)]}),_0x179548=normalizeLovrabetRegion(_0x38a704[_0x1186cb(0xd8)])??DEFAULT_LOVRABET_REGION,_0x3677b6=isDaily(normalizeEnv(String(_0x25b943)))?_0x1186cb(0xc2):_0x1186cb(0xba);return{'appCode':typeof _0x57d024==='string'&&_0x57d024[_0x1186cb(0xbe)]()?_0x57d024[_0x1186cb(0xbe)]():undefined,'region':_0x179548,'regionConfiguredValue':_0x38a704['value'],'regionSource':_0x38a704[_0x1186cb(0xb4)],'env':_0x3677b6,'locale':_0x4d19c0,'cookie':_0x878923,'accessKey':_0x49b01a,'format':_0x46dc9c,'pageSize':_0x3f59ca,'riskLevel':_0x28693c,'verbose':_0x4df2ac,'apiDir':_0x1cbeee,'apps':_0x2d7200,'defaultApp':_0x35a19b,'currentApp':_0x2adb4a?_0x3b1235:undefined,'explicitAppName':_0x64299f};}
1
+ (function(_0x2cc0c5,_0x51f48d){const _0x1ab38a=a272_0x3eb8,_0x4e97b7=_0x2cc0c5();while(!![]){try{const _0x50b1df=parseInt(_0x1ab38a(0xc3))/0x1*(-parseInt(_0x1ab38a(0xd4))/0x2)+-parseInt(_0x1ab38a(0xec))/0x3*(-parseInt(_0x1ab38a(0xc4))/0x4)+-parseInt(_0x1ab38a(0xd1))/0x5*(parseInt(_0x1ab38a(0xed))/0x6)+-parseInt(_0x1ab38a(0xe7))/0x7*(parseInt(_0x1ab38a(0xe6))/0x8)+parseInt(_0x1ab38a(0xda))/0x9+parseInt(_0x1ab38a(0xd6))/0xa*(parseInt(_0x1ab38a(0xeb))/0xb)+parseInt(_0x1ab38a(0xc9))/0xc*(parseInt(_0x1ab38a(0xc7))/0xd);if(_0x50b1df===_0x51f48d)break;else _0x4e97b7['push'](_0x4e97b7['shift']());}catch(_0x3ed814){_0x4e97b7['push'](_0x4e97b7['shift']());}}}(a272_0x52f0,0x5bb33));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';import{DEFAULT_LOVRABET_REGION,normalizeLovrabetRegion}from'../constant/region.js';import{selectConfiguredRegion}from'../config/region-config.js';function stringConfigValue(_0x1673a3){const _0x5db491=a272_0x3eb8;return typeof _0x1673a3===_0x5db491(0xcc)&&_0x1673a3[_0x5db491(0xcb)]()?_0x1673a3['trim']():undefined;}function appProfiles(_0x24ff92){const _0x4fe45a=a272_0x3eb8;return _0x24ff92[_0x4fe45a(0xee)]&&typeof _0x24ff92[_0x4fe45a(0xee)]==='object'?_0x24ff92['apps']:{};}function a272_0x52f0(){const _0x18173a=['apiDir','format','6215697ROLfPv','production','filter','keys','projectPath','cookie','read','riskLevel','write','globalConfig','value','projectConfig','3416MXpnbm','3346kLeHBk','length','object','app','11bhFxec','570378wYGGgr','6JNemhL','apps','accessKey','9HOKrnD','4tCrBga','PAGE_SIZE','pageSize','13KUQcFB','high-risk-write','6735768JtPkgW','source','trim','string','ACCESS_KEY','entries','env','true','2286605EArbKl','defaultApp','region','153246eJXbSo','appcode','2845640xdWjDq','locale'];a272_0x52f0=function(){return _0x18173a;};return a272_0x52f0();}function resolveDefaultAppName(_0x8f3e99){const _0x3f4b7f=a272_0x3eb8,_0x1547d4=stringConfigValue(_0x8f3e99[_0x3f4b7f(0xd2)]);if(_0x1547d4)return _0x1547d4;const _0xee7c8c=Object['keys'](appProfiles(_0x8f3e99));return _0xee7c8c['length']===0x1?_0xee7c8c[0x0]:undefined;}function resolveTopLevelAppCode(_0x5b6b6a){const _0x1439d1=a272_0x3eb8;return stringConfigValue(_0x5b6b6a[_0x1439d1(0xd5)])||stringConfigValue(_0x5b6b6a[_0x1439d1(0xea)]);}function a272_0x3eb8(_0x218c4e,_0x255d71){_0x218c4e=_0x218c4e-0xc3;const _0x52f0d8=a272_0x52f0();let _0x3eb84c=_0x52f0d8[_0x218c4e];return _0x3eb84c;}function normalizeRiskCeiling(_0x199ac2){const _0xe5fd2=a272_0x3eb8;if(_0x199ac2===undefined||_0x199ac2===null)return undefined;if(_0x199ac2===_0xe5fd2(0xe0)||_0x199ac2===_0xe5fd2(0xe2)||_0x199ac2===_0xe5fd2(0xc8))return _0x199ac2;return'read';}function resolveRiskCeiling(..._0x389d63){const _0xe27d70=a272_0x3eb8;let _0x756648;for(const _0xac0856 of _0x389d63){const _0xada713=normalizeRiskCeiling(_0xac0856);_0xada713&&(!_0x756648||riskLevelOrder(_0xada713)<riskLevelOrder(_0x756648))&&(_0x756648=_0xada713);}return _0x756648??DEFAULT_CONFIG_VALUES[_0xe27d70(0xe1)];}export function resolveAppConfig({raw:_0x153b41,flags:_0x31f5be,layers:_0x2820ac,readEnv:_0x1d09e4}){const _0x2ca5b3=a272_0x3eb8,_0x4cd646=_0x2820ac?.[_0x2ca5b3(0xe5)]??{},_0x2c90fd=_0x2820ac?.[_0x2ca5b3(0xe3)]??{},_0x387d39=!!_0x2820ac?.[_0x2ca5b3(0xde)]||Object['keys'](_0x4cd646)[_0x2ca5b3(0xe8)]>0x0,_0x1087c1=!_0x387d39,_0x1e42ec=_0x387d39?resolveDefaultAppName(_0x4cd646):undefined,_0x372c92=_0x1087c1?resolveDefaultAppName(_0x2c90fd):undefined,_0x58ae1d=stringConfigValue(_0x31f5be[_0x2ca5b3(0xea)]),_0x48fbf2=_0x1d09e4('APP'),_0x2bc3f0={};if(_0x153b41[_0x2ca5b3(0xee)]&&typeof _0x153b41[_0x2ca5b3(0xee)]===_0x2ca5b3(0xe9))for(const [_0x52f287,_0x421769]of Object[_0x2ca5b3(0xce)](_0x153b41[_0x2ca5b3(0xee)])){_0x421769&&typeof _0x421769===_0x2ca5b3(0xe9)&&_0x421769[_0x2ca5b3(0xd5)]&&(_0x2bc3f0[_0x52f287]=_0x421769);}const _0x11f7ca=_0x1e42ec||_0x372c92||resolveDefaultAppName(_0x153b41),_0x21acb9=Object[_0x2ca5b3(0xdd)](_0x2bc3f0)[_0x2ca5b3(0xe8)]>0x0,_0x6cd265=_0x58ae1d||_0x1e42ec||_0x48fbf2||_0x372c92||_0x11f7ca||undefined,_0xad51d1=stringConfigValue(_0x31f5be[_0x2ca5b3(0xd5)]),_0x2b4511=_0xad51d1?Object[_0x2ca5b3(0xce)](_0x2bc3f0)[_0x2ca5b3(0xdc)](([,_0x33356e])=>_0x33356e?.[_0x2ca5b3(0xd5)]===_0xad51d1):[],_0x1e2de6=_0x58ae1d&&_0x2bc3f0[_0x58ae1d]?.[_0x2ca5b3(0xd5)]===_0xad51d1?[_0x58ae1d,_0x2bc3f0[_0x58ae1d]]:undefined,_0x17499d=_0x1e2de6??(_0x2b4511['length']===0x1?_0x2b4511[0x0]:undefined),_0x28b01c=_0x17499d?.[0x0],_0x2690ea=_0x17499d?.[0x1],_0x303192=_0xad51d1?_0x28b01c:_0x6cd265;let _0x142687=_0x303192&&_0x2bc3f0[_0x303192]?_0x2bc3f0[_0x303192]:undefined;_0xad51d1&&_0x2690ea&&(_0x142687=_0x2690ea);const _0x25c592=_0xad51d1?_0x2690ea??_0x142687:_0x142687,_0x46d12b=!_0x58ae1d&&!_0x1e42ec&&_0x48fbf2&&_0x303192===_0x48fbf2,_0xabcb44=_0x58ae1d||(_0x46d12b?_0x48fbf2:undefined)||(_0xad51d1?_0x28b01c:undefined),_0x300750=_0x25c592?.['appcode'],_0x5a7871=_0x387d39?resolveTopLevelAppCode(_0x4cd646):undefined,_0x45d0b0=_0x1087c1?resolveTopLevelAppCode(_0x2c90fd):undefined,_0x278fc4=_0x58ae1d||_0x1e42ec?_0x300750:undefined,_0x5a9b51=!_0x58ae1d&&!_0x1e42ec?_0x300750:undefined,_0x17f7b3=_0xad51d1||_0x278fc4||_0x5a7871||_0x5a9b51||_0x45d0b0||undefined,_0x208627=_0x387d39?stringConfigValue(_0x4cd646[_0x2ca5b3(0xcf)]):undefined,_0x244815=_0x1087c1?stringConfigValue(_0x2c90fd[_0x2ca5b3(0xcf)]):undefined,_0x564891=_0x31f5be[_0x2ca5b3(0xcf)]||_0x25c592?.[_0x2ca5b3(0xcf)]||_0x208627||_0x1d09e4('ENV')||_0x244815||_0x153b41[_0x2ca5b3(0xcf)]||DEFAULT_CONFIG_VALUES[_0x2ca5b3(0xcf)],_0x30b2a1=_0x25c592?.[_0x2ca5b3(0xd7)]||_0x153b41['locale']||DEFAULT_CONFIG_VALUES[_0x2ca5b3(0xd7)],_0x4b9feb=_0x1d09e4('COOKIE')||_0x25c592?.[_0x2ca5b3(0xdf)]||_0x153b41[_0x2ca5b3(0xdf)]||undefined,_0x69df25=_0x1d09e4(_0x2ca5b3(0xcd))||_0x25c592?.['accessKey']||_0x153b41[_0x2ca5b3(0xef)]||undefined,_0x4bcfcd=_0x31f5be[_0x2ca5b3(0xd9)]||_0x1d09e4('FORMAT')||_0x25c592?.['format']||_0x153b41['format'],_0x59d1b7=normalizeLegacyOutputFormat(_0x4bcfcd),_0x33a044=_0x1d09e4(_0x2ca5b3(0xc5))||_0x25c592?.[_0x2ca5b3(0xc6)]||_0x153b41['pageSize'],_0x7ffe6e=_0x33a044?Number(_0x33a044)||undefined:undefined,_0x3a3cca=_0x2820ac?[_0x2820ac[_0x2ca5b3(0xe3)][_0x2ca5b3(0xe1)],_0x2820ac[_0x2ca5b3(0xe5)][_0x2ca5b3(0xe1)]]:[_0x153b41[_0x2ca5b3(0xe1)]],_0x432cb5=resolveRiskCeiling(..._0x3a3cca,_0x25c592?.[_0x2ca5b3(0xe1)]),_0x3cbdf3=resolveRiskCeiling(_0x432cb5,_0x1d09e4('RISK_LEVEL')),_0xf33dd3=_0x1d09e4('VERBOSE'),_0x4d5c74=_0xf33dd3==='1'||_0xf33dd3===_0x2ca5b3(0xd0),_0x357aa5=_0x25c592?.['apiDir']||_0x153b41[_0x2ca5b3(0xd8)]||DEFAULT_CONFIG_VALUES['apiDir'],_0x32a3cb=selectConfiguredRegion({'appRegion':_0x25c592?.['region'],'projectRegion':_0x387d39?_0x4cd646[_0x2ca5b3(0xd3)]:undefined,'globalRegion':_0x387d39||_0x1087c1?_0x2c90fd[_0x2ca5b3(0xd3)]:undefined,'mergedRegion':_0x153b41[_0x2ca5b3(0xd3)]}),_0x1f1cfb=normalizeLovrabetRegion(_0x32a3cb['value'])??DEFAULT_LOVRABET_REGION,_0x312a3e=isDaily(normalizeEnv(String(_0x564891)))?'daily':_0x2ca5b3(0xdb);return{'appCode':typeof _0x17f7b3===_0x2ca5b3(0xcc)&&_0x17f7b3[_0x2ca5b3(0xcb)]()?_0x17f7b3[_0x2ca5b3(0xcb)]():undefined,'region':_0x1f1cfb,'regionConfiguredValue':_0x32a3cb[_0x2ca5b3(0xe4)],'regionSource':_0x32a3cb[_0x2ca5b3(0xca)],'env':_0x312a3e,'locale':_0x30b2a1,'cookie':_0x4b9feb,'accessKey':_0x69df25,'format':_0x59d1b7,'pageSize':_0x7ffe6e,'riskLevel':_0x3cbdf3,'verbose':_0x4d5c74,'apiDir':_0x357aa5,'apps':_0x2bc3f0,'defaultApp':_0x11f7ca,'currentApp':_0x21acb9?_0x303192:undefined,'explicitAppName':_0xabcb44};}
@@ -1 +1 @@
1
- (function(_0x1b25a3,_0x2d6425){const _0x122446=a273_0x2395,_0x2c38c2=_0x1b25a3();while(!![]){try{const _0x53eb04=parseInt(_0x122446(0x1cf))/0x1+-parseInt(_0x122446(0x1cc))/0x2+-parseInt(_0x122446(0x1d5))/0x3*(parseInt(_0x122446(0x1ca))/0x4)+parseInt(_0x122446(0x1d1))/0x5+parseInt(_0x122446(0x1d2))/0x6+-parseInt(_0x122446(0x1d0))/0x7+parseInt(_0x122446(0x1d4))/0x8*(-parseInt(_0x122446(0x1ce))/0x9);if(_0x53eb04===_0x2d6425)break;else _0x2c38c2['push'](_0x2c38c2['shift']());}catch(_0x323ac1){_0x2c38c2['push'](_0x2c38c2['shift']());}}}(a273_0x33fa,0xda051));import{getIsSessionValid}from'../auth/is-session-valid.js';import{CliErrors}from'../errors.js';export async function buildAuth(_0x1871eb){const _0x55aff0=a273_0x2395,{getCookie:_0xdb4d8a}=await import(_0x55aff0(0x1cd)),_0xa1ecca=_0x1871eb[_0x55aff0(0x1d3)]||_0xdb4d8a(),_0x5166f4=_0xa1ecca?await getIsSessionValid():![];return{'cookie':_0xa1ecca,'isLoggedIn':_0x5166f4,async 'getOrLogin'(){const _0x22f970=_0x55aff0;if(_0xa1ecca&&_0x5166f4)return _0xa1ecca;throw CliErrors[_0x22f970(0x1cb)]();}};}function a273_0x2395(_0x372814,_0x43e5aa){_0x372814=_0x372814-0x1ca;const _0x33faca=a273_0x33fa();let _0x2395d9=_0x33faca[_0x372814];return _0x2395d9;}function a273_0x33fa(){const _0x28ee2c=['2053014fFfMCW','cookie','16luxUFy','10401nmhGpu','124UAIiez','authRequired','2145222phYkzi','../auth/get-cookie.js','177651AKeTDx','770577BCTzqF','59794PEXgyH','5041855uEzvKj'];a273_0x33fa=function(){return _0x28ee2c;};return a273_0x33fa();}
1
+ (function(_0x22dd1e,_0x1c7231){const _0x5883cd=a273_0x31b3,_0xeb0816=_0x22dd1e();while(!![]){try{const _0x1993d5=parseInt(_0x5883cd(0x19d))/0x1*(parseInt(_0x5883cd(0x19c))/0x2)+-parseInt(_0x5883cd(0x19b))/0x3*(-parseInt(_0x5883cd(0x199))/0x4)+parseInt(_0x5883cd(0x195))/0x5+parseInt(_0x5883cd(0x1a0))/0x6+-parseInt(_0x5883cd(0x194))/0x7+-parseInt(_0x5883cd(0x196))/0x8*(-parseInt(_0x5883cd(0x19a))/0x9)+-parseInt(_0x5883cd(0x19e))/0xa;if(_0x1993d5===_0x1c7231)break;else _0xeb0816['push'](_0xeb0816['shift']());}catch(_0x70dc8b){_0xeb0816['push'](_0xeb0816['shift']());}}}(a273_0x3c52,0x953de));function a273_0x31b3(_0x25482f,_0x429fb6){_0x25482f=_0x25482f-0x194;const _0x3c5245=a273_0x3c52();let _0x31b378=_0x3c5245[_0x25482f];return _0x31b378;}import{getIsSessionValid}from'../auth/is-session-valid.js';import{CliErrors}from'../errors.js';function a273_0x3c52(){const _0x7a77e0=['20604570mQBCLq','../auth/get-cookie.js','4879146CqDCBy','6507900SLrJeI','5645950LWhnQE','128sfeDmI','authRequired','cookie','1468OjVWiP','274788MbJMNl','5208UIPaXY','9788DVPvTh','109RnwnAD'];a273_0x3c52=function(){return _0x7a77e0;};return a273_0x3c52();}export async function buildAuth(_0x1c9661){const _0x1d157a=a273_0x31b3,{getCookie:_0x33c445}=await import(_0x1d157a(0x19f)),_0x9f3a84=_0x1c9661[_0x1d157a(0x198)]||_0x33c445(),_0x5a9584=_0x9f3a84?await getIsSessionValid():![];return{'cookie':_0x9f3a84,'isLoggedIn':_0x5a9584,async 'getOrLogin'(){const _0x44c8f6=_0x1d157a;if(_0x9f3a84&&_0x5a9584)return _0x9f3a84;throw CliErrors[_0x44c8f6(0x197)]();}};}
@@ -1 +1 @@
1
- const a274_0xc6e32a=a274_0x2b6d;(function(_0x5119e0,_0x120763){const _0x4cee36=a274_0x2b6d,_0x2a6778=_0x5119e0();while(!![]){try{const _0x42cbda=-parseInt(_0x4cee36(0x16e))/0x1+parseInt(_0x4cee36(0x14c))/0x2+parseInt(_0x4cee36(0x148))/0x3*(-parseInt(_0x4cee36(0x15c))/0x4)+-parseInt(_0x4cee36(0x140))/0x5*(parseInt(_0x4cee36(0x15d))/0x6)+parseInt(_0x4cee36(0x154))/0x7*(-parseInt(_0x4cee36(0x153))/0x8)+parseInt(_0x4cee36(0x15a))/0x9*(parseInt(_0x4cee36(0x159))/0xa)+-parseInt(_0x4cee36(0x14d))/0xb*(-parseInt(_0x4cee36(0x174))/0xc);if(_0x42cbda===_0x120763)break;else _0x2a6778['push'](_0x2a6778['shift']());}catch(_0x38f7d7){_0x2a6778['push'](_0x2a6778['shift']());}}}(a274_0x6727,0x4c693));import{existsSync,mkdirSync,readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{dirname,parse,resolve}from'node:path';import{homedir}from'node:os';import{CLI_BIN_NAME}from'../constant/cli.js';import{normalizeConfigForWrite}from'../config/schema.js';export const NEW_CONFIG_NAME=a274_0xc6e32a(0x150);export const CONFIG_NAMES=[NEW_CONFIG_NAME];const normalizedWriteCache=new Map();export function resolveConfigPath(_0x4f2a3e){for(const _0x1030f1 of CONFIG_NAMES){const _0x5f00a5=resolve(_0x4f2a3e,_0x1030f1);if(existsSync(_0x5f00a5))return _0x5f00a5;}return undefined;}export function findProjectRootDirectory(_0xfab5e7=process[a274_0xc6e32a(0x16d)]()){let _0x83a10b=resolve(_0xfab5e7);const {root:_0x21a924}=parse(_0x83a10b),_0x4ed651=homedir();while(!![]){if(resolveConfigPath(_0x83a10b)){if(_0x83a10b===_0x4ed651)break;return _0x83a10b;}if(_0x83a10b===_0x21a924||_0x83a10b===_0x4ed651)break;const _0x1be698=dirname(_0x83a10b);if(_0x1be698===_0x83a10b)break;_0x83a10b=_0x1be698;}return resolve(_0xfab5e7);}export function getProjectConfigPath(){const _0x520d6b=a274_0xc6e32a;return resolveConfigPath(process[_0x520d6b(0x16d)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}function a274_0x6727(){const _0x4e49f7=['kbDomain','silent','apps','config','9wgvusr','status','length','cookie','721978iGraOs','4362127QwUnCP','utf8','appDomain','.rabetbase.json','kbServiceDomain','error','24rFwvjn','557221psPLTc','riskLevel','Global','inherit','accessKey','5988370IyCQHp','9CEjVpy','routing','422428zePGaZ','16746HfGZbo','migrated','\x20config\x20file\x20ignored\x20(invalid\x20JSON\x20or\x20unreadable):\x20','env','apiDir','trim','message','stringify','object','localDomain','format','data','string','defaultApp','runtimeDomain','warn','cwd','451726kyHWjl','appcode','projectPath','pageSize','Project','keys','24pKMrPo','775fACCqX','app','locale','apiDomain'];a274_0x6727=function(){return _0x4e49f7;};return a274_0x6727();}export function isInProject(){return!!getProjectConfigPath();}export function inspectCliConfigJsonFile(_0x322317){const _0x49c3c7=a274_0xc6e32a;if(!existsSync(_0x322317))return{'status':'missing'};try{const _0x435ca3=readFileSync(_0x322317,{'encoding':_0x49c3c7(0x14e)});if(!_0x435ca3?.[_0x49c3c7(0x162)]())return{'status':'empty'};const _0xadccfc=JSON['parse'](_0x435ca3);return{'status':'ok','data':_0xadccfc};}catch(_0x188c1d){return{'status':_0x49c3c7(0x152),'message':_0x188c1d instanceof Error?_0x188c1d[_0x49c3c7(0x163)]:String(_0x188c1d)};}}function parseCliConfigJsonFile(_0x18f508,_0x34c64c,_0x4163ab){const _0x1da1fc=a274_0xc6e32a,_0x1a1025=inspectCliConfigJsonFile(_0x18f508);if(_0x1a1025['status']==='missing'||_0x1a1025['status']==='empty')return{};if(_0x1a1025[_0x1da1fc(0x149)]==='ok')return _0x1a1025[_0x1da1fc(0x168)];return _0x34c64c===_0x1da1fc(0x16c)&&_0x4163ab&&console['error'](CLI_BIN_NAME+':\x20'+_0x4163ab+_0x1da1fc(0x15f)+_0x18f508+'\x0a\x20\x20'+_0x1a1025['message']),{};}function normalizeLegacyConfigShape(_0x8163c2){const _0x7c68b9=a274_0xc6e32a;if(!_0x8163c2||typeof _0x8163c2!==_0x7c68b9(0x165))return{'config':{},'migrated':![]};const _0x348052={..._0x8163c2},_0xe71737=_0x348052['apps']&&typeof _0x348052[_0x7c68b9(0x146)]==='object'?{..._0x348052[_0x7c68b9(0x146)]}:{},_0x2a78a8=Object[_0x7c68b9(0x173)](_0xe71737)['length'],_0x99e6a9=_0x348052[_0x7c68b9(0x16f)]||_0x348052[_0x7c68b9(0x141)];let _0x448429=![];if(_0x99e6a9&&_0x2a78a8===0x0){const _0x466951=typeof _0x348052[_0x7c68b9(0x16a)]===_0x7c68b9(0x169)&&_0x348052['defaultApp'][_0x7c68b9(0x162)]()?_0x348052[_0x7c68b9(0x16a)]:String(_0x99e6a9)[_0x7c68b9(0x162)]();_0xe71737[_0x466951]={'appcode':String(_0x99e6a9)[_0x7c68b9(0x162)](),..._0x348052[_0x7c68b9(0x160)]!=null?{'env':_0x348052[_0x7c68b9(0x160)]}:{},..._0x348052[_0x7c68b9(0x161)]!=null?{'apiDir':_0x348052[_0x7c68b9(0x161)]}:{},..._0x348052['cookie']!=null?{'cookie':_0x348052['cookie']}:{},..._0x348052[_0x7c68b9(0x158)]!=null?{'accessKey':_0x348052[_0x7c68b9(0x158)]}:{},..._0x348052[_0x7c68b9(0x167)]!=null?{'format':_0x348052[_0x7c68b9(0x167)]}:{},..._0x348052[_0x7c68b9(0x171)]!=null?{'pageSize':_0x348052[_0x7c68b9(0x171)]}:{},..._0x348052[_0x7c68b9(0x155)]!=null?{'riskLevel':_0x348052[_0x7c68b9(0x155)]}:{},..._0x348052[_0x7c68b9(0x142)]!=null?{'locale':_0x348052[_0x7c68b9(0x142)]}:{}},_0x348052['apps']=_0xe71737,delete _0x348052[_0x7c68b9(0x16a)],_0x448429=!![];}return(_0x7c68b9(0x16f)in _0x348052||_0x7c68b9(0x141)in _0x348052)&&(delete _0x348052[_0x7c68b9(0x16f)],delete _0x348052['app'],_0x448429=!![]),{'config':_0x348052,'migrated':_0x448429};}function writeNormalizedConfigIfNeeded(_0x3e25f6,_0x426093){const _0x45bb57=a274_0xc6e32a,_0x4d1f6b=JSON[_0x45bb57(0x164)](normalizeConfigForWrite(_0x426093),null,0x2)+'\x0a';if(normalizedWriteCache['get'](_0x3e25f6)===_0x4d1f6b)return;writeConfigFile(_0x3e25f6,_0x426093),normalizedWriteCache['set'](_0x3e25f6,_0x4d1f6b);}function parseAndNormalizeConfig(_0x433fb6,_0x5c8017,_0x497833){const _0x22006f=a274_0xc6e32a,_0x11a2ff=parseCliConfigJsonFile(_0x433fb6,_0x5c8017,_0x497833),_0x4c20b3=normalizeLegacyConfigShape(_0x11a2ff);if(_0x4c20b3[_0x22006f(0x15e)])try{writeNormalizedConfigIfNeeded(_0x433fb6,_0x4c20b3[_0x22006f(0x147)]);}catch{}return _0x4c20b3[_0x22006f(0x147)];}export function loadRawConfigLayers(_0x135265){const _0x45caac=a274_0xc6e32a;let _0x42c424={},_0x218176={};const _0xb82b96=resolveConfigPath(homedir());_0xb82b96&&(_0x42c424=parseAndNormalizeConfig(_0xb82b96,_0x45caac(0x16c),_0x45caac(0x156)));const _0x30ee7d=_0x135265??findProjectRootDirectory(),_0x4aaab1=resolveConfigPath(_0x30ee7d);return _0x4aaab1&&(_0x218176=parseAndNormalizeConfig(_0x4aaab1,_0x45caac(0x16c),_0x45caac(0x172))),{'globalPath':_0xb82b96,'projectPath':_0x4aaab1,'globalConfig':_0x42c424,'projectConfig':_0x218176};}const INHERIT_WHITELIST=[a274_0xc6e32a(0x14b),a274_0xc6e32a(0x158),'locale','format',a274_0xc6e32a(0x155),a274_0xc6e32a(0x171),'region',a274_0xc6e32a(0x15b),'userDomain',a274_0xc6e32a(0x143),a274_0xc6e32a(0x16b),'skillDomain',a274_0xc6e32a(0x144),a274_0xc6e32a(0x151),a274_0xc6e32a(0x14f),a274_0xc6e32a(0x166),'certificateDomain'];export function mergeRawConfigLayers(_0x36ada2){const _0x44f1bc=a274_0xc6e32a,{globalConfig:_0x187e7e,projectConfig:_0x2c1ca2}=_0x36ada2,_0x597335=!!_0x36ada2[_0x44f1bc(0x170)]||Object[_0x44f1bc(0x173)](_0x2c1ca2)[_0x44f1bc(0x14a)]>0x0;if(!_0x597335)return mergeGlobalOnly(_0x187e7e);return mergeProjectFirst(_0x187e7e,_0x2c1ca2);}function a274_0x2b6d(_0x94b07c,_0x4f25ac){_0x94b07c=_0x94b07c-0x140;const _0x6727cf=a274_0x6727();let _0x2b6dee=_0x6727cf[_0x94b07c];return _0x2b6dee;}function mergeGlobalOnly(_0x4f2c10){const _0x58185a=a274_0xc6e32a,_0x2439a0={..._0x4f2c10};delete _0x2439a0[_0x58185a(0x157)];const _0x1710da=_0x4f2c10[_0x58185a(0x146)]&&typeof _0x4f2c10[_0x58185a(0x146)]===_0x58185a(0x165)?_0x4f2c10['apps']:{};if(Object[_0x58185a(0x173)](_0x1710da)['length']>0x0)_0x2439a0[_0x58185a(0x146)]=_0x1710da;if(_0x4f2c10['defaultApp'])_0x2439a0['defaultApp']=_0x4f2c10['defaultApp'];return _0x2439a0;}function mergeProjectFirst(_0x54600f,_0x4122a0){const _0x591268=a274_0xc6e32a,_0x2fde29={..._0x4122a0};delete _0x2fde29[_0x591268(0x157)];for(const _0x2805a2 of INHERIT_WHITELIST){!(_0x2805a2 in _0x2fde29)&&_0x2805a2 in _0x54600f&&(_0x2fde29[_0x2805a2]=_0x54600f[_0x2805a2]);}const _0x67f84e=_0x4122a0[_0x591268(0x146)]&&typeof _0x4122a0[_0x591268(0x146)]===_0x591268(0x165)?_0x4122a0[_0x591268(0x146)]:{};return Object[_0x591268(0x173)](_0x67f84e)[_0x591268(0x14a)]>0x0?_0x2fde29[_0x591268(0x146)]=_0x67f84e:delete _0x2fde29['apps'],_0x591268(0x16a)in _0x4122a0?_0x2fde29[_0x591268(0x16a)]=_0x4122a0[_0x591268(0x16a)]:delete _0x2fde29[_0x591268(0x16a)],_0x2fde29;}export function readRawConfigWithLayers(_0x23c76a){const _0x1c5e31=loadRawConfigLayers(_0x23c76a);return{'config':mergeRawConfigLayers(_0x1c5e31),'layers':_0x1c5e31};}export function readRawConfig(_0x3abcee){return mergeRawConfigLayers(loadRawConfigLayers(_0x3abcee));}export function readConfigFile(_0xf94c95){const _0x577160=a274_0xc6e32a;return parseAndNormalizeConfig(_0xf94c95,_0x577160(0x145));}export function writeConfigFile(_0x2be30d,_0x257b60){const _0x31a5ac=a274_0xc6e32a,_0x5db539=dirname(_0x2be30d);!existsSync(_0x5db539)&&mkdirSync(_0x5db539,{'recursive':!![]});const _0x5d93f8=_0x2be30d+'.tmp';try{const _0x3f8e3d=normalizeConfigForWrite(_0x257b60);writeFileSync(_0x5d93f8,JSON[_0x31a5ac(0x164)](_0x3f8e3d,null,0x2)+'\x0a',{'encoding':_0x31a5ac(0x14e),'mode':0x180}),renameSync(_0x5d93f8,_0x2be30d);}catch(_0x30ff35){try{unlinkSync(_0x5d93f8);}catch{}throw _0x30ff35;}}export function resolveWriteConfigPath(_0x45334f){const _0x5546a5=a274_0xc6e32a,_0x1ee29a=_0x45334f==='project'?process[_0x5546a5(0x16d)]():homedir(),_0x3d550c=resolveConfigPath(_0x1ee29a);return _0x3d550c??resolve(_0x1ee29a,NEW_CONFIG_NAME);}
1
+ const a274_0x4906f0=a274_0x50b2;(function(_0x515c8d,_0x20cbc0){const _0x16bf3f=a274_0x50b2,_0x3923db=_0x515c8d();while(!![]){try{const _0xabb144=parseInt(_0x16bf3f(0x123))/0x1*(parseInt(_0x16bf3f(0x116))/0x2)+-parseInt(_0x16bf3f(0x11e))/0x3*(parseInt(_0x16bf3f(0x105))/0x4)+-parseInt(_0x16bf3f(0x103))/0x5+-parseInt(_0x16bf3f(0x122))/0x6*(parseInt(_0x16bf3f(0x102))/0x7)+parseInt(_0x16bf3f(0x106))/0x8*(parseInt(_0x16bf3f(0xfb))/0x9)+parseInt(_0x16bf3f(0xfd))/0xa*(parseInt(_0x16bf3f(0x119))/0xb)+-parseInt(_0x16bf3f(0x127))/0xc*(-parseInt(_0x16bf3f(0x101))/0xd);if(_0xabb144===_0x20cbc0)break;else _0x3923db['push'](_0x3923db['shift']());}catch(_0x433d73){_0x3923db['push'](_0x3923db['shift']());}}}(a274_0x4c11,0x871e5));import{existsSync,mkdirSync,readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{dirname,parse,resolve}from'node:path';function a274_0x50b2(_0x4d357f,_0xa3b4ee){_0x4d357f=_0x4d357f-0xf0;const _0x4c1158=a274_0x4c11();let _0x50b2ab=_0x4c1158[_0x4d357f];return _0x50b2ab;}import{homedir}from'node:os';import{CLI_BIN_NAME}from'../constant/cli.js';import{normalizeConfigForWrite}from'../config/schema.js';export const NEW_CONFIG_NAME=a274_0x4906f0(0x126);export const CONFIG_NAMES=[NEW_CONFIG_NAME];const normalizedWriteCache=new Map();export function resolveConfigPath(_0x509cae){for(const _0x5613c8 of CONFIG_NAMES){const _0x1909f3=resolve(_0x509cae,_0x5613c8);if(existsSync(_0x1909f3))return _0x1909f3;}return undefined;}export function findProjectRootDirectory(_0x490e7a=process[a274_0x4906f0(0x108)]()){let _0x190e15=resolve(_0x490e7a);const {root:_0x3d9728}=parse(_0x190e15),_0x3c711b=homedir();while(!![]){if(resolveConfigPath(_0x190e15)){if(_0x190e15===_0x3c711b)break;return _0x190e15;}if(_0x190e15===_0x3d9728||_0x190e15===_0x3c711b)break;const _0x22852b=dirname(_0x190e15);if(_0x22852b===_0x190e15)break;_0x190e15=_0x22852b;}return resolve(_0x490e7a);}export function getProjectConfigPath(){const _0x205f85=a274_0x4906f0;return resolveConfigPath(process[_0x205f85(0x108)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function isInProject(){return!!getProjectConfigPath();}export function inspectCliConfigJsonFile(_0x53f990){const _0x2c6bbe=a274_0x4906f0;if(!existsSync(_0x53f990))return{'status':_0x2c6bbe(0xf9)};try{const _0x29f00f=readFileSync(_0x53f990,{'encoding':_0x2c6bbe(0x118)});if(!_0x29f00f?.['trim']())return{'status':_0x2c6bbe(0xf1)};const _0x2d6c3c=JSON['parse'](_0x29f00f);return{'status':'ok','data':_0x2d6c3c};}catch(_0x86d816){return{'status':_0x2c6bbe(0x11b),'message':_0x86d816 instanceof Error?_0x86d816[_0x2c6bbe(0x121)]:String(_0x86d816)};}}function parseCliConfigJsonFile(_0x246390,_0x54d062,_0x3b9896){const _0x1bcc74=a274_0x4906f0,_0x2f5a12=inspectCliConfigJsonFile(_0x246390);if(_0x2f5a12[_0x1bcc74(0x100)]===_0x1bcc74(0xf9)||_0x2f5a12[_0x1bcc74(0x100)]===_0x1bcc74(0xf1))return{};if(_0x2f5a12[_0x1bcc74(0x100)]==='ok')return _0x2f5a12[_0x1bcc74(0x10c)];return _0x54d062===_0x1bcc74(0xf3)&&_0x3b9896&&console[_0x1bcc74(0x11b)](CLI_BIN_NAME+':\x20'+_0x3b9896+'\x20config\x20file\x20ignored\x20(invalid\x20JSON\x20or\x20unreadable):\x20'+_0x246390+_0x1bcc74(0x104)+_0x2f5a12[_0x1bcc74(0x121)]),{};}function normalizeLegacyConfigShape(_0x4c0bd1){const _0x4dd686=a274_0x4906f0;if(!_0x4c0bd1||typeof _0x4c0bd1!==_0x4dd686(0x107))return{'config':{},'migrated':![]};const _0xa7cbe4={..._0x4c0bd1},_0x250521=_0xa7cbe4['apps']&&typeof _0xa7cbe4[_0x4dd686(0x128)]===_0x4dd686(0x107)?{..._0xa7cbe4['apps']}:{},_0xa78b74=Object[_0x4dd686(0x11a)](_0x250521)[_0x4dd686(0x11d)],_0x4e5277=_0xa7cbe4['appcode']||_0xa7cbe4[_0x4dd686(0x125)];let _0x5040f9=![];if(_0x4e5277&&_0xa78b74===0x0){const _0x4fb721=typeof _0xa7cbe4['defaultApp']==='string'&&_0xa7cbe4['defaultApp']['trim']()?_0xa7cbe4[_0x4dd686(0x117)]:String(_0x4e5277)['trim']();_0x250521[_0x4fb721]={'appcode':String(_0x4e5277)[_0x4dd686(0x114)](),..._0xa7cbe4[_0x4dd686(0x120)]!=null?{'env':_0xa7cbe4[_0x4dd686(0x120)]}:{},..._0xa7cbe4['apiDir']!=null?{'apiDir':_0xa7cbe4[_0x4dd686(0x109)]}:{},..._0xa7cbe4[_0x4dd686(0xf0)]!=null?{'cookie':_0xa7cbe4[_0x4dd686(0xf0)]}:{},..._0xa7cbe4[_0x4dd686(0xf2)]!=null?{'accessKey':_0xa7cbe4[_0x4dd686(0xf2)]}:{},..._0xa7cbe4['format']!=null?{'format':_0xa7cbe4[_0x4dd686(0xf8)]}:{},..._0xa7cbe4[_0x4dd686(0x11f)]!=null?{'pageSize':_0xa7cbe4[_0x4dd686(0x11f)]}:{},..._0xa7cbe4['riskLevel']!=null?{'riskLevel':_0xa7cbe4[_0x4dd686(0xf5)]}:{},..._0xa7cbe4[_0x4dd686(0x11c)]!=null?{'locale':_0xa7cbe4['locale']}:{}},_0xa7cbe4['apps']=_0x250521,delete _0xa7cbe4['defaultApp'],_0x5040f9=!![];}return(_0x4dd686(0xf6)in _0xa7cbe4||_0x4dd686(0x125)in _0xa7cbe4)&&(delete _0xa7cbe4[_0x4dd686(0xf6)],delete _0xa7cbe4[_0x4dd686(0x125)],_0x5040f9=!![]),{'config':_0xa7cbe4,'migrated':_0x5040f9};}function writeNormalizedConfigIfNeeded(_0x2ddb85,_0x4f7299){const _0x440dde=a274_0x4906f0,_0x566c50=JSON['stringify'](normalizeConfigForWrite(_0x4f7299),null,0x2)+'\x0a';if(normalizedWriteCache['get'](_0x2ddb85)===_0x566c50)return;writeConfigFile(_0x2ddb85,_0x4f7299),normalizedWriteCache[_0x440dde(0xff)](_0x2ddb85,_0x566c50);}function parseAndNormalizeConfig(_0x29eba4,_0x5d15a6,_0x2d5363){const _0x4d2837=a274_0x4906f0,_0x411715=parseCliConfigJsonFile(_0x29eba4,_0x5d15a6,_0x2d5363),_0x1428f1=normalizeLegacyConfigShape(_0x411715);if(_0x1428f1[_0x4d2837(0xfe)])try{writeNormalizedConfigIfNeeded(_0x29eba4,_0x1428f1[_0x4d2837(0xf7)]);}catch{}return _0x1428f1[_0x4d2837(0xf7)];}export function loadRawConfigLayers(_0x2e582e){const _0x13253c=a274_0x4906f0;let _0x27ca21={},_0x2eefbb={};const _0x1e7d31=resolveConfigPath(homedir());_0x1e7d31&&(_0x27ca21=parseAndNormalizeConfig(_0x1e7d31,_0x13253c(0xf3),_0x13253c(0x10b)));const _0x377d3b=_0x2e582e??findProjectRootDirectory(),_0x46abb4=resolveConfigPath(_0x377d3b);return _0x46abb4&&(_0x2eefbb=parseAndNormalizeConfig(_0x46abb4,_0x13253c(0xf3),_0x13253c(0x10a))),{'globalPath':_0x1e7d31,'projectPath':_0x46abb4,'globalConfig':_0x27ca21,'projectConfig':_0x2eefbb};}const INHERIT_WHITELIST=['cookie',a274_0x4906f0(0xf2),a274_0x4906f0(0x11c),a274_0x4906f0(0xf8),a274_0x4906f0(0xf5),a274_0x4906f0(0x11f),a274_0x4906f0(0x115),a274_0x4906f0(0xfc),a274_0x4906f0(0x10f),a274_0x4906f0(0xf4),'runtimeDomain',a274_0x4906f0(0x113),a274_0x4906f0(0x10e),a274_0x4906f0(0x112),a274_0x4906f0(0x110),a274_0x4906f0(0x111),'certificateDomain'];export function mergeRawConfigLayers(_0x3ff82e){const _0x18b77f=a274_0x4906f0,{globalConfig:_0x344a5f,projectConfig:_0x2208dc}=_0x3ff82e,_0x387197=!!_0x3ff82e['projectPath']||Object['keys'](_0x2208dc)[_0x18b77f(0x11d)]>0x0;if(!_0x387197)return mergeGlobalOnly(_0x344a5f);return mergeProjectFirst(_0x344a5f,_0x2208dc);}function mergeGlobalOnly(_0xf0978b){const _0x42eb05=a274_0x4906f0,_0x51247f={..._0xf0978b};delete _0x51247f[_0x42eb05(0x124)];const _0x89d405=_0xf0978b[_0x42eb05(0x128)]&&typeof _0xf0978b[_0x42eb05(0x128)]==='object'?_0xf0978b[_0x42eb05(0x128)]:{};if(Object[_0x42eb05(0x11a)](_0x89d405)[_0x42eb05(0x11d)]>0x0)_0x51247f['apps']=_0x89d405;if(_0xf0978b[_0x42eb05(0x117)])_0x51247f[_0x42eb05(0x117)]=_0xf0978b[_0x42eb05(0x117)];return _0x51247f;}function mergeProjectFirst(_0x2fdff2,_0x263697){const _0x228c53=a274_0x4906f0,_0x36e4bf={..._0x263697};delete _0x36e4bf[_0x228c53(0x124)];for(const _0xc2e74b of INHERIT_WHITELIST){!(_0xc2e74b in _0x36e4bf)&&_0xc2e74b in _0x2fdff2&&(_0x36e4bf[_0xc2e74b]=_0x2fdff2[_0xc2e74b]);}const _0x317a87=_0x263697[_0x228c53(0x128)]&&typeof _0x263697[_0x228c53(0x128)]===_0x228c53(0x107)?_0x263697['apps']:{};return Object['keys'](_0x317a87)[_0x228c53(0x11d)]>0x0?_0x36e4bf[_0x228c53(0x128)]=_0x317a87:delete _0x36e4bf[_0x228c53(0x128)],_0x228c53(0x117)in _0x263697?_0x36e4bf[_0x228c53(0x117)]=_0x263697['defaultApp']:delete _0x36e4bf[_0x228c53(0x117)],_0x36e4bf;}export function readRawConfigWithLayers(_0x34fdfc){const _0x1b3cf4=loadRawConfigLayers(_0x34fdfc);return{'config':mergeRawConfigLayers(_0x1b3cf4),'layers':_0x1b3cf4};}export function readRawConfig(_0x4a6c16){return mergeRawConfigLayers(loadRawConfigLayers(_0x4a6c16));}export function readConfigFile(_0x40f4b3){return parseAndNormalizeConfig(_0x40f4b3,'silent');}export function writeConfigFile(_0x293299,_0x287d7a){const _0x22c37c=a274_0x4906f0,_0x4fd475=dirname(_0x293299);!existsSync(_0x4fd475)&&mkdirSync(_0x4fd475,{'recursive':!![]});const _0x14a060=_0x293299+_0x22c37c(0xfa);try{const _0x5734c6=normalizeConfigForWrite(_0x287d7a);writeFileSync(_0x14a060,JSON[_0x22c37c(0x10d)](_0x5734c6,null,0x2)+'\x0a',{'encoding':_0x22c37c(0x118),'mode':0x180}),renameSync(_0x14a060,_0x293299);}catch(_0x52c7c0){try{unlinkSync(_0x14a060);}catch{}throw _0x52c7c0;}}function a274_0x4c11(){const _0x319838=['format','missing','.tmp','333OZloNH','routing','2330vXehee','migrated','set','status','783562nwNUOK','21UfkgmQ','5156150QncTTF','\x0a\x20\x20','4XitCXY','70288DWqxKR','object','cwd','apiDir','Project','Global','data','stringify','kbDomain','userDomain','appDomain','localDomain','kbServiceDomain','skillDomain','trim','region','154CMarfc','defaultApp','utf8','2332JFZfSs','keys','error','locale','length','1784241fzRpdp','pageSize','env','message','576726TbIlTG','12313dQMsCb','inherit','app','.rabetbase.json','228uJgjFq','apps','cookie','empty','accessKey','warn','apiDomain','riskLevel','appcode','config'];a274_0x4c11=function(){return _0x319838;};return a274_0x4c11();}export function resolveWriteConfigPath(_0x4ce145){const _0x41049a=a274_0x4906f0,_0x7f567c=_0x4ce145==='project'?process[_0x41049a(0x108)]():homedir(),_0x3cbbdc=resolveConfigPath(_0x7f567c);return _0x3cbbdc??resolve(_0x7f567c,NEW_CONFIG_NAME);}
package/lib/context.js CHANGED
@@ -1 +1 @@
1
- function a275_0x15f1(){const _0x46ca2c=['call','some','object','appcode','env','join','prototype','values','skillDomain','app','currentApp','source','apiDir','apiDomain','filter','3013888EQRFRP','global','replace','doctor','apps','Rabetbase\x20configuration','template_base_url','352116JYoJHB','defaultApp','region','1ONSnBm','platformDomain','appDomain','88ernGYc','18jUaeRb','3022999zmgKfm','959082XYrIPz','keys','./constant/domain.js','raw','307886rmYCVj','map','string','targetEnv','argv','domains','production','regionSource','kbDomain','certificateDomain','kbServiceDomain','routingConfig','length','cookie','setLogPath','daily','runtimeDomain','name','globalConfig','656905MPzLpd','projectConfig','global\x20Rabetbase\x20configuration','apiGroup','hasOwnProperty','routing','cdn','regionConfiguredValue','trim','localDomain','agentDomain','cwd','project\x20Rabetbase\x20configuration','12yaBsfN','skillHubDomain','slice','483970YdQkss','userDomain'];a275_0x15f1=function(){return _0x46ca2c;};return a275_0x15f1();}const a275_0x4d2dce=a275_0x1e7a;(function(_0x3f4ed6,_0x55a8f5){const _0x5d4710=a275_0x1e7a,_0x289e05=_0x3f4ed6();while(!![]){try{const _0x352d7c=parseInt(_0x5d4710(0x1ae))/0x1*(-parseInt(_0x5d4710(0x1b8))/0x2)+-parseInt(_0x5d4710(0x1ab))/0x3+-parseInt(_0x5d4710(0x1d8))/0x4*(-parseInt(_0x5d4710(0x1cb))/0x5)+-parseInt(_0x5d4710(0x1b4))/0x6+-parseInt(_0x5d4710(0x1b3))/0x7+parseInt(_0x5d4710(0x1a4))/0x8*(parseInt(_0x5d4710(0x1b2))/0x9)+-parseInt(_0x5d4710(0x1db))/0xa*(-parseInt(_0x5d4710(0x1b1))/0xb);if(_0x352d7c===_0x55a8f5)break;else _0x289e05['push'](_0x289e05['shift']());}catch(_0x13b67f){_0x289e05['push'](_0x289e05['shift']());}}}(a275_0x15f1,0xa401c));import{CLI_BIN_NAME}from'./constant/cli.js';import{buildAuth}from'./context/auth-resolver.js';import{resolveAppConfig}from'./context/app-resolver.js';import{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile}from'./context/config-loader.js';import{resolveConfiguredRegion,resolveEffectiveRegion}from'./config/region-config.js';function a275_0x1e7a(_0x14e48d,_0x4a3a51){_0x14e48d=_0x14e48d-0x19a;const _0x15f123=a275_0x15f1();let _0x1e7a3f=_0x15f123[_0x14e48d];return _0x1e7a3f;}import{resolveEnterpriseRoutingManifest}from'./config/domain-config.js';import{logger}from'./utils/logger.js';import{resolveApiModelSource}from'./api/model-source.js';export{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile};function env(_0xf12440){return process.env[`RABETBASE_${_0xf12440}`]||process.env[`LOVRABET_${_0xf12440}`]||undefined;}function optionalString(_0x292a25){const _0x8496a0=a275_0x1e7a;return typeof _0x292a25===_0x8496a0(0x1ba)&&_0x292a25[_0x8496a0(0x1d3)]()?_0x292a25[_0x8496a0(0x1d3)]():undefined;}export function isRoutingRecoveryService(_0x190734){const _0x5df6d1=a275_0x1e7a;return _0x190734==='config'||_0x190734===_0x5df6d1(0x1a7);}export async function createContext(_0x47c4fd){const _0x520ede=a275_0x1e7a,{config:_0x2aab49,layers:_0x32fb12}=readRawConfigWithLayers(),_0x2348b1=buildConfig(_0x2aab49,_0x47c4fd,_0x32fb12);await initGlobalEnvironment(_0x2348b1);const {getUserDomain:_0x32a14f,getApiDomain:_0x5c7a0b}=await import(_0x520ede(0x1b6)),_0x24b9b7={'apiDomain':_0x5c7a0b(),'userDomain':_0x32a14f()},_0x3b938f=await buildAuth(_0x2348b1);logger[_0x520ede(0x1c6)](process[_0x520ede(0x1d6)]());const _0x5483e8=(CLI_BIN_NAME+'\x20'+process[_0x520ede(0x1bc)][_0x520ede(0x1da)](0x2)[_0x520ede(0x19a)]('\x20'))[_0x520ede(0x1d3)]();logger['setRawCommand'](_0x5483e8);const {isNonInteractive:_0x24aa2c}=await import('./utils/is-non-interactive.js'),_0xc04e1c=_0x24aa2c(_0x47c4fd);return{'config':_0x2348b1,'auth':_0x3b938f,'logger':logger,'env':_0x24b9b7,'nonInteractive':_0xc04e1c};}export function buildConfigFromFlags(_0x51217f){const {config:_0x520db3,layers:_0x281ee1}=readRawConfigWithLayers();return buildConfig(_0x520db3,_0x51217f,_0x281ee1);}export async function initGlobalEnvironment(_0x43f53a){const _0x4f0c5a=a275_0x1e7a,_0x5a2514=_0x43f53a[_0x4f0c5a(0x1bf)]===_0x4f0c5a(0x19e)&&_0x43f53a['currentApp']?'app\x20profile\x20\x22'+_0x43f53a[_0x4f0c5a(0x19f)]+'\x22':_0x43f53a[_0x4f0c5a(0x1bf)]==='project'?_0x4f0c5a(0x1d7):_0x43f53a[_0x4f0c5a(0x1bf)]===_0x4f0c5a(0x1a5)?_0x4f0c5a(0x1cd):_0x4f0c5a(0x1a9);await initConfiguredEnvironment({'raw':_0x43f53a[_0x4f0c5a(0x1b7)],'configuredRegion':_0x43f53a[_0x4f0c5a(0x1d2)]??_0x43f53a[_0x4f0c5a(0x1b7)]?.[_0x4f0c5a(0x1ad)]??_0x43f53a[_0x4f0c5a(0x1ad)],'regionLocation':_0x5a2514,'targetEnv':_0x43f53a[_0x4f0c5a(0x1e1)]});}async function initConfiguredEnvironment(_0x26005d){const _0x4561ad=a275_0x1e7a,_0x527184=resolveConfiguredRegion(_0x26005d['configuredRegion'],_0x26005d['regionLocation']),_0x1d0c1a=resolveEnterpriseRoutingManifest(_0x26005d[_0x4561ad(0x1b7)]?.[_0x4561ad(0x1d0)]),_0x27e5b0={'region':_0x527184,'apiDomain':_0x1d0c1a?_0x1d0c1a[_0x4561ad(0x1bd)][_0x4561ad(0x1a2)]:optionalString(_0x26005d[_0x4561ad(0x1b7)]?.['apiDomain']),'userDomain':_0x1d0c1a?_0x1d0c1a[_0x4561ad(0x1bd)][_0x4561ad(0x1dc)]:optionalString(_0x26005d['raw']?.['userDomain']),'runtimeDomain':_0x1d0c1a?_0x1d0c1a['domains'][_0x4561ad(0x1c8)]:optionalString(_0x26005d[_0x4561ad(0x1b7)]?.[_0x4561ad(0x1c8)]),'skillDomain':_0x1d0c1a?_0x1d0c1a[_0x4561ad(0x1bd)][_0x4561ad(0x19d)]:optionalString(_0x26005d['raw']?.[_0x4561ad(0x19d)])||optionalString(_0x26005d['raw']?.[_0x4561ad(0x1d9)])||optionalString(_0x26005d[_0x4561ad(0x1b7)]?.['agentDomain'])||optionalString(_0x26005d[_0x4561ad(0x1b7)]?.[_0x4561ad(0x1af)]),'kbDomain':_0x1d0c1a?_0x1d0c1a[_0x4561ad(0x1bd)]['kbDomain']:optionalString(_0x26005d[_0x4561ad(0x1b7)]?.[_0x4561ad(0x1c0)])||optionalString(_0x26005d['raw']?.[_0x4561ad(0x1d5)])||optionalString(_0x26005d[_0x4561ad(0x1b7)]?.[_0x4561ad(0x1af)]),'kbServiceDomain':_0x1d0c1a?_0x1d0c1a[_0x4561ad(0x1bd)][_0x4561ad(0x1c2)]:optionalString(_0x26005d[_0x4561ad(0x1b7)]?.[_0x4561ad(0x1c2)]),'appDomain':_0x1d0c1a?_0x1d0c1a[_0x4561ad(0x1bd)][_0x4561ad(0x1b0)]:optionalString(_0x26005d[_0x4561ad(0x1b7)]?.[_0x4561ad(0x1b0)]),'localDomain':_0x1d0c1a?_0x1d0c1a[_0x4561ad(0x1bd)][_0x4561ad(0x1d4)]:optionalString(_0x26005d[_0x4561ad(0x1b7)]?.[_0x4561ad(0x1d4)]),'certificateDomain':_0x1d0c1a?_0x1d0c1a['domains'][_0x4561ad(0x1c1)]:optionalString(_0x26005d[_0x4561ad(0x1b7)]?.[_0x4561ad(0x1c1)]),'cdn':_0x1d0c1a?.[_0x4561ad(0x1d1)],'allowOfficialKbServiceDefault':!(_0x1d0c1a!==undefined||[_0x4561ad(0x1a2),_0x4561ad(0x1dc),_0x4561ad(0x1c8),_0x4561ad(0x19d),_0x4561ad(0x1d9),'kbDomain',_0x4561ad(0x1c2),_0x4561ad(0x1d5),_0x4561ad(0x1af),'appDomain','localDomain',_0x4561ad(0x1c1)][_0x4561ad(0x1de)](_0x28f6c2=>Object[_0x4561ad(0x19b)][_0x4561ad(0x1cf)][_0x4561ad(0x1dd)](_0x26005d[_0x4561ad(0x1b7)]??{},_0x28f6c2)))},{initEnv:_0x38a9b6}=await import('./constant/env.js'),{initDomains:_0xaead79}=await import(_0x4561ad(0x1b6));_0x38a9b6(_0x26005d[_0x4561ad(0x1bb)]),_0xaead79(_0x27e5b0);}export async function initMultiAppEnvironment(_0x345bbe){const _0x312d5d=a275_0x1e7a;await initConfiguredEnvironment({'raw':_0x345bbe[_0x312d5d(0x1c3)],'configuredRegion':_0x345bbe[_0x312d5d(0x1ad)],'regionLocation':'app\x20profile\x20\x22'+_0x345bbe[_0x312d5d(0x1c9)]+'\x22','targetEnv':_0x345bbe['env']===_0x312d5d(0x1c7)?_0x312d5d(0x1c7):_0x312d5d(0x1be)});}export function getConfigAppCode(_0x59fa58){const _0x476df=a275_0x1e7a,_0x24e05a=readRawConfig(_0x59fa58);if(_0x24e05a[_0x476df(0x1a8)]&&typeof _0x24e05a[_0x476df(0x1a8)]===_0x476df(0x1df)){const _0x1ba4d2=_0x24e05a[_0x476df(0x1ac)];if(_0x1ba4d2)return _0x24e05a[_0x476df(0x1a8)][_0x1ba4d2]?.['appcode']?String(_0x24e05a[_0x476df(0x1a8)][_0x1ba4d2][_0x476df(0x1e0)])[_0x476df(0x1d3)]():undefined;const _0x325908=Object[_0x476df(0x19c)](_0x24e05a[_0x476df(0x1a8)]);if(_0x325908[_0x476df(0x1c4)]===0x1&&_0x325908[0x0]?.['appcode'])return String(_0x325908[0x0][_0x476df(0x1e0)])[_0x476df(0x1d3)]();}const _0x3d20f0=_0x24e05a[_0x476df(0x1e0)]||_0x24e05a[_0x476df(0x19e)];if(typeof _0x3d20f0!=='string'||_0x3d20f0[_0x476df(0x1d3)]()==='')return undefined;return _0x3d20f0[_0x476df(0x1d3)]();}const CONNECTION_ROUTING_KEYS=[a275_0x4d2dce(0x1d0),a275_0x4d2dce(0x1a2),'userDomain',a275_0x4d2dce(0x1c8),'skillDomain',a275_0x4d2dce(0x1d9),a275_0x4d2dce(0x1c0),'kbServiceDomain',a275_0x4d2dce(0x1d5),a275_0x4d2dce(0x1af),a275_0x4d2dce(0x1b0),'localDomain','certificateDomain'];function withAppProfileRouting(_0x1be083,_0x63e499){if(!_0x63e499||_0x63e499['kbServiceDomain']===undefined)return _0x1be083;return{..._0x1be083,'kbServiceDomain':_0x63e499['kbServiceDomain']};}function pickConnectionRoutingConfig(_0x8958a8,_0x463f7e){const _0x55598d={'region':_0x463f7e};for(const _0x28b544 of CONNECTION_ROUTING_KEYS){if(_0x8958a8[_0x28b544]!==undefined)_0x55598d[_0x28b544]=_0x8958a8[_0x28b544];}return _0x55598d;}export function getMultiAppConfigs(_0x8f7b6e='project',_0x9062bd){const _0x289288=a275_0x4d2dce,_0x332cb8=loadRawConfigLayers(_0x9062bd);let _0x4c7c3e,_0x44b2fd;const _0x109d25=mergeRawConfigLayers(_0x332cb8),_0x1addff=_0x332cb8[_0x289288(0x1ca)]['apps']&&typeof _0x332cb8['globalConfig'][_0x289288(0x1a8)]===_0x289288(0x1df)?_0x332cb8[_0x289288(0x1ca)][_0x289288(0x1a8)]:{},_0x1fb7ba=_0x332cb8[_0x289288(0x1cc)][_0x289288(0x1a8)]&&typeof _0x332cb8[_0x289288(0x1cc)][_0x289288(0x1a8)]==='object'?_0x332cb8[_0x289288(0x1cc)][_0x289288(0x1a8)]:{};_0x8f7b6e==='merged'?(_0x4c7c3e={..._0x1addff,..._0x1fb7ba},_0x44b2fd=_0x109d25['defaultApp']):(_0x4c7c3e=_0x332cb8['projectConfig'][_0x289288(0x1a8)],_0x44b2fd=_0x332cb8[_0x289288(0x1cc)]['defaultApp']);!_0x44b2fd&&_0x4c7c3e&&typeof _0x4c7c3e===_0x289288(0x1df)&&Object[_0x289288(0x1b5)](_0x4c7c3e)[_0x289288(0x1c4)]===0x1&&(_0x44b2fd=Object['keys'](_0x4c7c3e)[0x0]);if(!_0x4c7c3e||typeof _0x4c7c3e!==_0x289288(0x1df)||Object[_0x289288(0x1b5)](_0x4c7c3e)['length']===0x0)return null;return Object['entries'](_0x4c7c3e)[_0x289288(0x1b9)](([_0x315d40,_0x35e1fa])=>{const _0x10e0a8=_0x289288,_0x152530=_0x8f7b6e==='project'||Object[_0x10e0a8(0x19b)][_0x10e0a8(0x1cf)][_0x10e0a8(0x1dd)](_0x1fb7ba,_0x315d40),_0x551692=withAppProfileRouting(_0x152530?_0x109d25:_0x332cb8[_0x10e0a8(0x1ca)],_0x35e1fa),_0x1f1320=resolveEffectiveRegion({'appRegion':_0x35e1fa?.[_0x10e0a8(0x1ad)],'projectRegion':_0x152530?_0x332cb8['projectConfig'][_0x10e0a8(0x1ad)]:undefined,'globalRegion':_0x332cb8[_0x10e0a8(0x1ca)]['region'],'mergedRegion':_0x551692[_0x10e0a8(0x1ad)],'appName':_0x315d40});return{'name':_0x315d40,'appcode':_0x35e1fa?.['appcode']||'','apiGroup':optionalString(_0x35e1fa?.[_0x10e0a8(0x1ce)]),'isDefault':_0x315d40===_0x44b2fd,'region':_0x1f1320['region'],'regionSource':_0x1f1320[_0x10e0a8(0x1a0)],'env':_0x35e1fa?.[_0x10e0a8(0x1e1)],'apiDir':optionalString(_0x35e1fa?.[_0x10e0a8(0x1a1)])||optionalString(_0x551692[_0x10e0a8(0x1a1)]),'cookie':_0x35e1fa?.[_0x10e0a8(0x1c5)]||undefined,'routingConfig':pickConnectionRoutingConfig(_0x551692,_0x1f1320[_0x10e0a8(0x1ad)])};})[_0x289288(0x1a3)](_0xe7c52f=>_0xe7c52f[_0x289288(0x1e0)]);}export function getTemplateBaseUrl(_0x30f9b2){const _0x4264c3=a275_0x4d2dce,_0x418d83=readRawConfig(_0x30f9b2);if(_0x418d83[_0x4264c3(0x1aa)]&&typeof _0x418d83['template_base_url']===_0x4264c3(0x1ba))return _0x418d83[_0x4264c3(0x1aa)][_0x4264c3(0x1a6)](/\/$/,'');return'https://g.lovrabet.com/dist/lovrabet-skill';}function buildConfig(_0x978661,_0x2d217b,_0x444a07){const _0x4ee856=a275_0x4d2dce,_0x5f31c0=resolveAppConfig({'raw':_0x978661,'flags':_0x2d217b,'layers':_0x444a07,'readEnv':env}),_0x31c05b=_0x5f31c0[_0x4ee856(0x19f)]?_0x5f31c0[_0x4ee856(0x1a8)][_0x5f31c0[_0x4ee856(0x19f)]]:undefined;return{..._0x5f31c0,'raw':withAppProfileRouting(_0x978661,_0x31c05b)};}export function resolveApiFilePath(_0x4322f1,_0x18687d,_0x113ecf){return resolveApiModelSource(_0x4322f1,_0x18687d,_0x113ecf)['filePath'];}
1
+ const a275_0x50c477=a275_0x36d9;(function(_0x2d39f7,_0x9bb700){const _0x452f8f=a275_0x36d9,_0x563a87=_0x2d39f7();while(!![]){try{const _0x3bbd15=-parseInt(_0x452f8f(0x144))/0x1+-parseInt(_0x452f8f(0x109))/0x2+parseInt(_0x452f8f(0x151))/0x3*(parseInt(_0x452f8f(0x12b))/0x4)+-parseInt(_0x452f8f(0x14e))/0x5+parseInt(_0x452f8f(0x10c))/0x6*(parseInt(_0x452f8f(0x118))/0x7)+-parseInt(_0x452f8f(0x12e))/0x8+parseInt(_0x452f8f(0x116))/0x9;if(_0x3bbd15===_0x9bb700)break;else _0x563a87['push'](_0x563a87['shift']());}catch(_0x395feb){_0x563a87['push'](_0x563a87['shift']());}}}(a275_0xeb6e,0x812d5));import{CLI_BIN_NAME}from'./constant/cli.js';import{buildAuth}from'./context/auth-resolver.js';import{resolveAppConfig}from'./context/app-resolver.js';import{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile}from'./context/config-loader.js';import{resolveConfiguredRegion,resolveEffectiveRegion}from'./config/region-config.js';import{resolveEnterpriseRoutingManifest}from'./config/domain-config.js';import{logger}from'./utils/logger.js';import{resolveApiModelSource}from'./api/model-source.js';export{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile};function env(_0x2f6175){return process.env[`RABETBASE_${_0x2f6175}`]||process.env[`LOVRABET_${_0x2f6175}`]||undefined;}function optionalString(_0x26e946){const _0x167eac=a275_0x36d9;return typeof _0x26e946===_0x167eac(0x11c)&&_0x26e946['trim']()?_0x26e946[_0x167eac(0x13a)]():undefined;}export function isRoutingRecoveryService(_0x46dd01){const _0x1052eb=a275_0x36d9;return _0x46dd01===_0x1052eb(0x13b)||_0x46dd01===_0x1052eb(0x10b);}export async function createContext(_0x395798){const _0x30d402=a275_0x36d9,{config:_0x3986d0,layers:_0x1ca27f}=readRawConfigWithLayers(),_0x1b374b=buildConfig(_0x3986d0,_0x395798,_0x1ca27f);await initGlobalEnvironment(_0x1b374b);const {getUserDomain:_0x28fab2,getApiDomain:_0x139067}=await import(_0x30d402(0x135)),_0x2254f5={'apiDomain':_0x139067(),'userDomain':_0x28fab2()},_0x3cafdc=await buildAuth(_0x1b374b);logger['setLogPath'](process['cwd']());const _0x38baff=(CLI_BIN_NAME+'\x20'+process['argv'][_0x30d402(0x10a)](0x2)['join']('\x20'))['trim']();logger[_0x30d402(0x14c)](_0x38baff);const {isNonInteractive:_0x41822e}=await import(_0x30d402(0x133)),_0x2cb300=_0x41822e(_0x395798);return{'config':_0x1b374b,'auth':_0x3cafdc,'logger':logger,'env':_0x2254f5,'nonInteractive':_0x2cb300};}export function buildConfigFromFlags(_0x3011d2){const {config:_0x4d220a,layers:_0x22da7e}=readRawConfigWithLayers();return buildConfig(_0x4d220a,_0x3011d2,_0x22da7e);}export async function initGlobalEnvironment(_0x4fe5e5){const _0x1b320c=a275_0x36d9,_0x181ba4=_0x4fe5e5['regionSource']===_0x1b320c(0x141)&&_0x4fe5e5[_0x1b320c(0x126)]?'app\x20profile\x20\x22'+_0x4fe5e5[_0x1b320c(0x126)]+'\x22':_0x4fe5e5[_0x1b320c(0x148)]===_0x1b320c(0x12c)?_0x1b320c(0x120):_0x4fe5e5[_0x1b320c(0x148)]===_0x1b320c(0x139)?_0x1b320c(0x10e):_0x1b320c(0x114);await initConfiguredEnvironment({'raw':_0x4fe5e5[_0x1b320c(0x147)],'configuredRegion':_0x4fe5e5[_0x1b320c(0x11e)]??_0x4fe5e5[_0x1b320c(0x147)]?.[_0x1b320c(0x138)]??_0x4fe5e5[_0x1b320c(0x138)],'regionLocation':_0x181ba4,'targetEnv':_0x4fe5e5[_0x1b320c(0x117)]});}function a275_0x36d9(_0x2ea4ed,_0x4dd803){_0x2ea4ed=_0x2ea4ed-0x109;const _0xeb6ebf=a275_0xeb6e();let _0x36d986=_0xeb6ebf[_0x2ea4ed];return _0x36d986;}async function initConfiguredEnvironment(_0x51cf5c){const _0x3af334=a275_0x36d9,_0x5618cd=resolveConfiguredRegion(_0x51cf5c[_0x3af334(0x145)],_0x51cf5c[_0x3af334(0x149)]),_0x36c514=resolveEnterpriseRoutingManifest(_0x51cf5c[_0x3af334(0x147)]?.['routing']),_0x58c2cb={'region':_0x5618cd,'apiDomain':_0x36c514?_0x36c514[_0x3af334(0x13d)][_0x3af334(0x123)]:optionalString(_0x51cf5c[_0x3af334(0x147)]?.['apiDomain']),'userDomain':_0x36c514?_0x36c514['domains'][_0x3af334(0x146)]:optionalString(_0x51cf5c['raw']?.[_0x3af334(0x146)]),'runtimeDomain':_0x36c514?_0x36c514[_0x3af334(0x13d)][_0x3af334(0x11f)]:optionalString(_0x51cf5c[_0x3af334(0x147)]?.['runtimeDomain']),'skillDomain':_0x36c514?_0x36c514[_0x3af334(0x13d)][_0x3af334(0x137)]:optionalString(_0x51cf5c[_0x3af334(0x147)]?.[_0x3af334(0x137)])||optionalString(_0x51cf5c[_0x3af334(0x147)]?.['skillHubDomain'])||optionalString(_0x51cf5c[_0x3af334(0x147)]?.[_0x3af334(0x111)])||optionalString(_0x51cf5c[_0x3af334(0x147)]?.[_0x3af334(0x150)]),'kbDomain':_0x36c514?_0x36c514[_0x3af334(0x13d)][_0x3af334(0x129)]:optionalString(_0x51cf5c[_0x3af334(0x147)]?.[_0x3af334(0x129)])||optionalString(_0x51cf5c['raw']?.[_0x3af334(0x111)])||optionalString(_0x51cf5c['raw']?.['platformDomain']),'kbServiceDomain':_0x36c514?_0x36c514[_0x3af334(0x13d)][_0x3af334(0x14f)]:optionalString(_0x51cf5c[_0x3af334(0x147)]?.[_0x3af334(0x14f)]),'appDomain':_0x36c514?_0x36c514[_0x3af334(0x13d)][_0x3af334(0x136)]:optionalString(_0x51cf5c[_0x3af334(0x147)]?.[_0x3af334(0x136)]),'localDomain':_0x36c514?_0x36c514[_0x3af334(0x13d)][_0x3af334(0x119)]:optionalString(_0x51cf5c[_0x3af334(0x147)]?.[_0x3af334(0x119)]),'certificateDomain':_0x36c514?_0x36c514[_0x3af334(0x13d)][_0x3af334(0x113)]:optionalString(_0x51cf5c['raw']?.[_0x3af334(0x113)]),'cdn':_0x36c514?.[_0x3af334(0x122)],'allowOfficialKbServiceDefault':!(_0x36c514!==undefined||['apiDomain',_0x3af334(0x146),_0x3af334(0x11f),_0x3af334(0x137),_0x3af334(0x11b),'kbDomain',_0x3af334(0x14f),'agentDomain',_0x3af334(0x150),_0x3af334(0x136),'localDomain','certificateDomain'][_0x3af334(0x125)](_0x48b18b=>Object[_0x3af334(0x10d)][_0x3af334(0x10f)][_0x3af334(0x143)](_0x51cf5c[_0x3af334(0x147)]??{},_0x48b18b)))},{initEnv:_0x21c21e}=await import(_0x3af334(0x131)),{initDomains:_0x12a60b}=await import(_0x3af334(0x135));_0x21c21e(_0x51cf5c['targetEnv']),_0x12a60b(_0x58c2cb);}export async function initMultiAppEnvironment(_0x5baff2){const _0x57eda9=a275_0x36d9;await initConfiguredEnvironment({'raw':_0x5baff2[_0x57eda9(0x12f)],'configuredRegion':_0x5baff2['region'],'regionLocation':_0x57eda9(0x132)+_0x5baff2[_0x57eda9(0x13c)]+'\x22','targetEnv':_0x5baff2['env']===_0x57eda9(0x128)?_0x57eda9(0x128):'production'});}export function getConfigAppCode(_0x12226b){const _0x35615e=a275_0x36d9,_0x47eae2=readRawConfig(_0x12226b);if(_0x47eae2[_0x35615e(0x121)]&&typeof _0x47eae2['apps']==='object'){const _0x27f5be=_0x47eae2['defaultApp'];if(_0x27f5be)return _0x47eae2[_0x35615e(0x121)][_0x27f5be]?.[_0x35615e(0x134)]?String(_0x47eae2[_0x35615e(0x121)][_0x27f5be][_0x35615e(0x134)])['trim']():undefined;const _0x319974=Object[_0x35615e(0x14a)](_0x47eae2[_0x35615e(0x121)]);if(_0x319974[_0x35615e(0x11a)]===0x1&&_0x319974[0x0]?.['appcode'])return String(_0x319974[0x0][_0x35615e(0x134)])[_0x35615e(0x13a)]();}const _0x5defbd=_0x47eae2[_0x35615e(0x134)]||_0x47eae2[_0x35615e(0x141)];if(typeof _0x5defbd!==_0x35615e(0x11c)||_0x5defbd[_0x35615e(0x13a)]()==='')return undefined;return _0x5defbd['trim']();}const CONNECTION_ROUTING_KEYS=[a275_0x50c477(0x13f),a275_0x50c477(0x123),a275_0x50c477(0x146),a275_0x50c477(0x11f),'skillDomain',a275_0x50c477(0x11b),a275_0x50c477(0x129),'kbServiceDomain',a275_0x50c477(0x111),'platformDomain','appDomain','localDomain',a275_0x50c477(0x113)];function withAppProfileRouting(_0x56c2b3,_0x30cb65){const _0x2a8f56=a275_0x50c477;if(!_0x30cb65||_0x30cb65[_0x2a8f56(0x14f)]===undefined)return _0x56c2b3;return{..._0x56c2b3,'kbServiceDomain':_0x30cb65[_0x2a8f56(0x14f)]};}function pickConnectionRoutingConfig(_0x44b1a4,_0x3e6198){const _0x4a1850={'region':_0x3e6198};for(const _0xedf3c7 of CONNECTION_ROUTING_KEYS){if(_0x44b1a4[_0xedf3c7]!==undefined)_0x4a1850[_0xedf3c7]=_0x44b1a4[_0xedf3c7];}return _0x4a1850;}export function getMultiAppConfigs(_0x17f7c5=a275_0x50c477(0x12c),_0x176c4c){const _0x35ac49=a275_0x50c477,_0x3919bd=loadRawConfigLayers(_0x176c4c);let _0x25bb89,_0x2b5c34;const _0x4befa6=mergeRawConfigLayers(_0x3919bd),_0x247d13=_0x3919bd[_0x35ac49(0x13e)][_0x35ac49(0x121)]&&typeof _0x3919bd[_0x35ac49(0x13e)][_0x35ac49(0x121)]===_0x35ac49(0x112)?_0x3919bd[_0x35ac49(0x13e)]['apps']:{},_0x97b258=_0x3919bd['projectConfig']['apps']&&typeof _0x3919bd[_0x35ac49(0x130)][_0x35ac49(0x121)]===_0x35ac49(0x112)?_0x3919bd[_0x35ac49(0x130)][_0x35ac49(0x121)]:{};_0x17f7c5===_0x35ac49(0x124)?(_0x25bb89={..._0x247d13,..._0x97b258},_0x2b5c34=_0x4befa6[_0x35ac49(0x127)]):(_0x25bb89=_0x3919bd[_0x35ac49(0x130)][_0x35ac49(0x121)],_0x2b5c34=_0x3919bd[_0x35ac49(0x130)]['defaultApp']);!_0x2b5c34&&_0x25bb89&&typeof _0x25bb89===_0x35ac49(0x112)&&Object[_0x35ac49(0x11d)](_0x25bb89)[_0x35ac49(0x11a)]===0x1&&(_0x2b5c34=Object['keys'](_0x25bb89)[0x0]);if(!_0x25bb89||typeof _0x25bb89!==_0x35ac49(0x112)||Object[_0x35ac49(0x11d)](_0x25bb89)['length']===0x0)return null;return Object[_0x35ac49(0x14b)](_0x25bb89)[_0x35ac49(0x12a)](([_0x3f71fc,_0x12e9a7])=>{const _0xeb58e9=_0x35ac49,_0x4637af=_0x17f7c5==='project'||Object[_0xeb58e9(0x10d)]['hasOwnProperty'][_0xeb58e9(0x143)](_0x97b258,_0x3f71fc),_0x29aad9=withAppProfileRouting(_0x4637af?_0x4befa6:_0x3919bd[_0xeb58e9(0x13e)],_0x12e9a7),_0x37f78f=resolveEffectiveRegion({'appRegion':_0x12e9a7?.['region'],'projectRegion':_0x4637af?_0x3919bd[_0xeb58e9(0x130)][_0xeb58e9(0x138)]:undefined,'globalRegion':_0x3919bd[_0xeb58e9(0x13e)][_0xeb58e9(0x138)],'mergedRegion':_0x29aad9[_0xeb58e9(0x138)],'appName':_0x3f71fc});return{'name':_0x3f71fc,'appcode':_0x12e9a7?.['appcode']||'','apiGroup':optionalString(_0x12e9a7?.['apiGroup']),'isDefault':_0x3f71fc===_0x2b5c34,'region':_0x37f78f[_0xeb58e9(0x138)],'regionSource':_0x37f78f[_0xeb58e9(0x14d)],'env':_0x12e9a7?.[_0xeb58e9(0x117)],'apiDir':optionalString(_0x12e9a7?.[_0xeb58e9(0x142)])||optionalString(_0x29aad9[_0xeb58e9(0x142)]),'cookie':_0x12e9a7?.[_0xeb58e9(0x110)]||undefined,'routingConfig':pickConnectionRoutingConfig(_0x29aad9,_0x37f78f[_0xeb58e9(0x138)])};})['filter'](_0x5ad867=>_0x5ad867[_0x35ac49(0x134)]);}export function getTemplateBaseUrl(_0x4f0bac){const _0x353dab=a275_0x50c477,_0x1fa896=readRawConfig(_0x4f0bac);if(_0x1fa896['template_base_url']&&typeof _0x1fa896['template_base_url']==='string')return _0x1fa896[_0x353dab(0x12d)][_0x353dab(0x115)](/\/$/,'');return _0x353dab(0x140);}function buildConfig(_0x525b7e,_0x515f16,_0x326088){const _0x2fd009=a275_0x50c477,_0x1309c7=resolveAppConfig({'raw':_0x525b7e,'flags':_0x515f16,'layers':_0x326088,'readEnv':env}),_0x502b8a=_0x1309c7[_0x2fd009(0x126)]?_0x1309c7[_0x2fd009(0x121)][_0x1309c7[_0x2fd009(0x126)]]:undefined;return{..._0x1309c7,'raw':withAppProfileRouting(_0x525b7e,_0x502b8a)};}export function resolveApiFilePath(_0x234c4f,_0x887c8f,_0x571937){return resolveApiModelSource(_0x234c4f,_0x887c8f,_0x571937)['filePath'];}function a275_0xeb6e(){const _0x177e9e=['hasOwnProperty','cookie','agentDomain','object','certificateDomain','Rabetbase\x20configuration','replace','16044516nWrbmE','env','1744463mkuqka','localDomain','length','skillHubDomain','string','keys','regionConfiguredValue','runtimeDomain','project\x20Rabetbase\x20configuration','apps','cdn','apiDomain','merged','some','currentApp','defaultApp','daily','kbDomain','map','76292YesUfF','project','template_base_url','3526032RgHqiM','routingConfig','projectConfig','./constant/env.js','app\x20profile\x20\x22','./utils/is-non-interactive.js','appcode','./constant/domain.js','appDomain','skillDomain','region','global','trim','config','name','domains','globalConfig','routing','https://g.lovrabet.com/dist/lovrabet-skill','app','apiDir','call','493084yLSclb','configuredRegion','userDomain','raw','regionSource','regionLocation','values','entries','setRawCommand','source','1547720YKnlgw','kbServiceDomain','platformDomain','9wVoqnA','1131740vPMlRI','slice','doctor','12oPVqvi','prototype','global\x20Rabetbase\x20configuration'];a275_0xeb6e=function(){return _0x177e9e;};return a275_0xeb6e();}