@lovrabet/rabetbase-cli 2.5.4-beta.2 → 2.5.4-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) 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/index.js +1 -1
  26. package/lib/commands/app/list.js +1 -1
  27. package/lib/commands/app/members-list.js +1 -1
  28. package/lib/commands/app/remote-directory.js +1 -1
  29. package/lib/commands/app/shared.js +1 -1
  30. package/lib/commands/app-config/delete.js +1 -1
  31. package/lib/commands/app-config/get.js +1 -1
  32. package/lib/commands/app-config/index.js +1 -1
  33. package/lib/commands/app-config/list.js +1 -1
  34. package/lib/commands/app-config/set.js +1 -1
  35. package/lib/commands/app-config/shared.js +1 -1
  36. package/lib/commands/auth/index.js +1 -1
  37. package/lib/commands/bff/create.js +1 -1
  38. package/lib/commands/bff/delete.js +1 -1
  39. package/lib/commands/bff/detail.js +1 -1
  40. package/lib/commands/bff/index.js +1 -1
  41. package/lib/commands/bff/list.js +1 -1
  42. package/lib/commands/bff/logs.js +1 -1
  43. package/lib/commands/bff/pull.js +1 -1
  44. package/lib/commands/bff/push.js +1 -1
  45. package/lib/commands/bff/status.js +1 -1
  46. package/lib/commands/cli-skill/index.js +1 -1
  47. package/lib/commands/cli-update.js +1 -1
  48. package/lib/commands/codegen/index.js +1 -1
  49. package/lib/commands/codegen/sdk.js +1 -1
  50. package/lib/commands/codegen/sql.js +1 -1
  51. package/lib/commands/common/app-registry.js +1 -1
  52. package/lib/commands/common/app-selector.js +1 -1
  53. package/lib/commands/common/async-task.js +1 -1
  54. package/lib/commands/common/dry-run.js +1 -1
  55. package/lib/commands/common/flags.js +1 -1
  56. package/lib/commands/common/local-file.js +1 -1
  57. package/lib/commands/common/validate.js +1 -1
  58. package/lib/commands/config/delete.js +1 -1
  59. package/lib/commands/config/get.js +1 -1
  60. package/lib/commands/config/index.js +1 -1
  61. package/lib/commands/config/init.js +1 -1
  62. package/lib/commands/config/list.js +1 -1
  63. package/lib/commands/config/set.js +1 -1
  64. package/lib/commands/config/shared.js +1 -1
  65. package/lib/commands/dataset/batch-design.js +1 -1
  66. package/lib/commands/dataset/business-group-update.js +1 -1
  67. package/lib/commands/dataset/business-groups.js +1 -1
  68. package/lib/commands/dataset/capability.js +1 -1
  69. package/lib/commands/dataset/cross-relation-create.js +1 -1
  70. package/lib/commands/dataset/cross-relation-delete.js +1 -1
  71. package/lib/commands/dataset/cross-relation-list.js +1 -1
  72. package/lib/commands/dataset/cross-relation-shared.js +1 -1
  73. package/lib/commands/dataset/cross-relation-update.js +1 -1
  74. package/lib/commands/dataset/delete.js +1 -1
  75. package/lib/commands/dataset/detail.js +1 -1
  76. package/lib/commands/dataset/extend-update.js +1 -1
  77. package/lib/commands/dataset/field-restore.js +1 -1
  78. package/lib/commands/dataset/field-update.js +1 -1
  79. package/lib/commands/dataset/generate.js +1 -1
  80. package/lib/commands/dataset/index.js +1 -1
  81. package/lib/commands/dataset/list.js +1 -1
  82. package/lib/commands/dataset/operations.js +1 -1
  83. package/lib/commands/dataset/relation-audit.js +1 -1
  84. package/lib/commands/dataset/relation-create.js +1 -1
  85. package/lib/commands/dataset/relation-delete.js +1 -1
  86. package/lib/commands/dataset/relation-shared.js +1 -1
  87. package/lib/commands/dataset/relation-update.js +1 -1
  88. package/lib/commands/dataset/relations.js +1 -1
  89. package/lib/commands/dataset/rename.js +1 -1
  90. package/lib/commands/dataset/restore.js +1 -1
  91. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  92. package/lib/commands/db/analysis-batching.js +1 -1
  93. package/lib/commands/db/analyze-batch-plan.js +1 -1
  94. package/lib/commands/db/analyze-cancel.js +1 -1
  95. package/lib/commands/db/analyze-start.js +1 -1
  96. package/lib/commands/db/analyze-status.js +1 -1
  97. package/lib/commands/db/create.js +1 -1
  98. package/lib/commands/db/delete.js +1 -1
  99. package/lib/commands/db/detail.js +1 -1
  100. package/lib/commands/db/diff-refresh-start.js +1 -1
  101. package/lib/commands/db/diff-refresh-status.js +1 -1
  102. package/lib/commands/db/diff.js +1 -1
  103. package/lib/commands/db/index.js +1 -1
  104. package/lib/commands/db/list.js +1 -1
  105. package/lib/commands/db/shared.js +1 -1
  106. package/lib/commands/db/table-diff-shared.js +1 -1
  107. package/lib/commands/db/tables.js +1 -1
  108. package/lib/commands/db/test.js +1 -1
  109. package/lib/commands/db/update.js +1 -1
  110. package/lib/commands/deployment/index.js +1 -1
  111. package/lib/commands/deployment/sync-all.js +1 -1
  112. package/lib/commands/deployment/sync-jobs.js +1 -1
  113. package/lib/commands/deployment/sync-status.js +1 -1
  114. package/lib/commands/doctor.js +1 -1
  115. package/lib/commands/file/index.js +1 -1
  116. package/lib/commands/flow/create.js +1 -1
  117. package/lib/commands/flow/detail.js +1 -1
  118. package/lib/commands/flow/index.js +1 -1
  119. package/lib/commands/flow/list.js +1 -1
  120. package/lib/commands/flow/publish.js +1 -1
  121. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  122. package/lib/commands/flow/runtime-role-list.js +1 -1
  123. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  124. package/lib/commands/flow/runtime-user-search.js +1 -1
  125. package/lib/commands/flow/shared.js +1 -1
  126. package/lib/commands/flow/update.js +1 -1
  127. package/lib/commands/flow/validate.js +1 -1
  128. package/lib/commands/instant-api-policy/current.js +1 -1
  129. package/lib/commands/instant-api-policy/index.js +1 -1
  130. package/lib/commands/instant-api-policy/init.js +1 -1
  131. package/lib/commands/instant-api-policy/publish.js +1 -1
  132. package/lib/commands/instant-api-policy/pull.js +1 -1
  133. package/lib/commands/instant-api-policy/revision.js +1 -1
  134. package/lib/commands/instant-api-policy/revisions.js +1 -1
  135. package/lib/commands/instant-api-policy/rollback.js +1 -1
  136. package/lib/commands/instant-api-policy/shared.js +1 -1
  137. package/lib/commands/instant-api-policy/validate.js +1 -1
  138. package/lib/commands/issue/index.js +1 -1
  139. package/lib/commands/issue/nudge.js +1 -1
  140. package/lib/commands/issue/report.js +1 -1
  141. package/lib/commands/issue/shared.js +1 -1
  142. package/lib/commands/kb/create.js +1 -1
  143. package/lib/commands/kb/delete.js +1 -1
  144. package/lib/commands/kb/detail.js +1 -1
  145. package/lib/commands/kb/index.js +1 -1
  146. package/lib/commands/kb/list.js +1 -1
  147. package/lib/commands/kb/search.js +1 -1
  148. package/lib/commands/kb/shared.js +1 -1
  149. package/lib/commands/kb/update.js +1 -1
  150. package/lib/commands/logs/index.js +1 -1
  151. package/lib/commands/menu/asset-update.js +1 -1
  152. package/lib/commands/menu/delete.js +1 -1
  153. package/lib/commands/menu/external-link-create.js +1 -1
  154. package/lib/commands/menu/external-link-update.js +1 -1
  155. package/lib/commands/menu/group-create.js +1 -1
  156. package/lib/commands/menu/group-update.js +1 -1
  157. package/lib/commands/menu/index.js +1 -1
  158. package/lib/commands/menu/list.js +1 -1
  159. package/lib/commands/menu/move.js +1 -1
  160. package/lib/commands/menu/regroup-start.js +1 -1
  161. package/lib/commands/menu/rename.js +1 -1
  162. package/lib/commands/menu/shared/compare-table.js +1 -1
  163. package/lib/commands/menu/shared/delete-plan.js +1 -1
  164. package/lib/commands/menu/shared/facts.js +1 -1
  165. package/lib/commands/menu/shared/index.js +1 -1
  166. package/lib/commands/menu/shared/inquirer.js +1 -1
  167. package/lib/commands/menu/shared/local-pages.js +1 -1
  168. package/lib/commands/menu/shared/logic.js +1 -1
  169. package/lib/commands/menu/shared/mutations.js +1 -1
  170. package/lib/commands/menu/shared/service.js +1 -1
  171. package/lib/commands/menu/shared/sync-core.js +1 -1
  172. package/lib/commands/menu/shared/update-core.js +1 -1
  173. package/lib/commands/menu/shared/valid-url.js +1 -1
  174. package/lib/commands/menu/sync.js +1 -1
  175. package/lib/commands/menu/visibility-update.js +1 -1
  176. package/lib/commands/notification/config-create.js +1 -1
  177. package/lib/commands/notification/config-delete.js +1 -1
  178. package/lib/commands/notification/config-list.js +1 -1
  179. package/lib/commands/notification/config-update.js +1 -1
  180. package/lib/commands/notification/index.js +1 -1
  181. package/lib/commands/notification/shared.js +1 -1
  182. package/lib/commands/ocr/index.js +1 -1
  183. package/lib/commands/page/create.js +1 -1
  184. package/lib/commands/page/custom/detail.js +1 -1
  185. package/lib/commands/page/custom/list.js +1 -1
  186. package/lib/commands/page/custom/publish.js +1 -1
  187. package/lib/commands/page/custom/shared.js +1 -1
  188. package/lib/commands/page/custom/syntax.js +1 -1
  189. package/lib/commands/page/custom/update.js +1 -1
  190. package/lib/commands/page/data-list-status.js +1 -1
  191. package/lib/commands/page/generate-start.js +1 -1
  192. package/lib/commands/page/generate-status.js +1 -1
  193. package/lib/commands/page/index.js +1 -1
  194. package/lib/commands/page/pull.js +1 -1
  195. package/lib/commands/page/push.js +1 -1
  196. package/lib/commands/page/relation-audit.js +1 -1
  197. package/lib/commands/page/restore.js +1 -1
  198. package/lib/commands/page/shared.js +1 -1
  199. package/lib/commands/page/sync.js +1 -1
  200. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  201. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  202. package/lib/commands/project/create/format-elapsed.js +1 -1
  203. package/lib/commands/project/create/main.js +1 -1
  204. package/lib/commands/project/create/materialize-project-template.js +1 -1
  205. package/lib/commands/project/create/project-name.js +1 -1
  206. package/lib/commands/project/create/project-template-archive.js +1 -1
  207. package/lib/commands/project/create/project-template-path.js +1 -1
  208. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  209. package/lib/commands/project/create/use-format-code.js +1 -1
  210. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  211. package/lib/commands/project/domain-routing-sync.js +1 -1
  212. package/lib/commands/project/index.js +1 -1
  213. package/lib/commands/project/upgrade.js +1 -1
  214. package/lib/commands/registry.js +1 -1
  215. package/lib/commands/role/delete.js +1 -1
  216. package/lib/commands/role/detail.js +1 -1
  217. package/lib/commands/role/index.js +1 -1
  218. package/lib/commands/role/list.js +1 -1
  219. package/lib/commands/role/shared.js +1 -1
  220. package/lib/commands/role/update.js +1 -1
  221. package/lib/commands/role/user-add.js +1 -1
  222. package/lib/commands/role/user-remove.js +1 -1
  223. package/lib/commands/role/user-resolve.js +1 -1
  224. package/lib/commands/rule/get.js +1 -1
  225. package/lib/commands/rule/index.js +1 -1
  226. package/lib/commands/rule/list.js +1 -1
  227. package/lib/commands/rule/set.js +1 -1
  228. package/lib/commands/rule/shared.js +1 -1
  229. package/lib/commands/run/index.js +1 -1
  230. package/lib/commands/schema.js +1 -1
  231. package/lib/commands/sql/create.js +1 -1
  232. package/lib/commands/sql/delete.js +1 -1
  233. package/lib/commands/sql/detail.js +1 -1
  234. package/lib/commands/sql/exec.js +1 -1
  235. package/lib/commands/sql/index.js +1 -1
  236. package/lib/commands/sql/list.js +1 -1
  237. package/lib/commands/sql/pull.js +1 -1
  238. package/lib/commands/sql/push.js +1 -1
  239. package/lib/commands/sql/shared.js +1 -1
  240. package/lib/commands/sql/status.js +1 -1
  241. package/lib/commands/sql/validate.js +1 -1
  242. package/lib/commands/task/index.js +1 -1
  243. package/lib/commands/task/status.js +1 -1
  244. package/lib/commands/tenant/index.js +1 -1
  245. package/lib/commands/tenant/members-list.js +1 -1
  246. package/lib/commands/tenant/shared.js +1 -1
  247. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  248. package/lib/commands/user-account/feishu-bind.d.ts +2 -0
  249. package/lib/commands/user-account/feishu-bind.js +1 -0
  250. package/lib/commands/user-account/index.js +1 -1
  251. package/lib/commands/workspace/add.js +1 -1
  252. package/lib/commands/workspace/index.js +1 -1
  253. package/lib/commands/workspace/remove.js +1 -1
  254. package/lib/config/domain-config.js +1 -1
  255. package/lib/config/project-domain-routing.js +1 -1
  256. package/lib/config/region-config.js +1 -1
  257. package/lib/config/schema.js +1 -1
  258. package/lib/constant/cdn.js +1 -1
  259. package/lib/constant/cli.js +1 -1
  260. package/lib/constant/defaults.js +1 -1
  261. package/lib/constant/domain.js +1 -1
  262. package/lib/constant/env.js +1 -1
  263. package/lib/constant/output.js +1 -1
  264. package/lib/constant/paths.js +1 -1
  265. package/lib/constant/region.js +1 -1
  266. package/lib/constant/risk.js +1 -1
  267. package/lib/constant/routing-profile.js +1 -1
  268. package/lib/context/app-resolver.js +1 -1
  269. package/lib/context/auth-resolver.js +1 -1
  270. package/lib/context/config-loader.js +1 -1
  271. package/lib/context.js +1 -1
  272. package/lib/core/alias-resolver.js +1 -1
  273. package/lib/core/api-client.d.ts +2 -0
  274. package/lib/core/api-client.js +1 -1
  275. package/lib/core/bff/config.js +1 -1
  276. package/lib/core/bff/file-system.js +1 -1
  277. package/lib/core/bff/hash.js +1 -1
  278. package/lib/core/bff/hook-directory.js +1 -1
  279. package/lib/core/bff/lock.js +1 -1
  280. package/lib/core/bff/utils.js +1 -1
  281. package/lib/core/cross-db-relation.js +1 -1
  282. package/lib/core/db-resolver.js +1 -1
  283. package/lib/core/flow-config.js +1 -1
  284. package/lib/core/instant-api-policy/config.js +1 -1
  285. package/lib/core/kb-search-client.js +1 -1
  286. package/lib/core/page/file-system.js +1 -1
  287. package/lib/core/page/hash.js +1 -1
  288. package/lib/core/page/lock.js +1 -1
  289. package/lib/core/page/lr-smart-jsx.js +1 -1
  290. package/lib/core/sql-index-auditor.js +1 -1
  291. package/lib/core/sql-sync/config.js +1 -1
  292. package/lib/core/sql-sync/file-system.js +1 -1
  293. package/lib/core/sql-sync/hash.js +1 -1
  294. package/lib/core/sql-sync/lock.js +1 -1
  295. package/lib/core/sql-sync/utils.js +1 -1
  296. package/lib/core/sql-validator.js +1 -1
  297. package/lib/errors.js +1 -1
  298. package/lib/framework/build-all-flags.js +1 -1
  299. package/lib/framework/error-output.js +1 -1
  300. package/lib/framework/explicit-yes.js +1 -1
  301. package/lib/framework/flags.js +1 -1
  302. package/lib/framework/help.js +1 -1
  303. package/lib/framework/index.js +1 -1
  304. package/lib/framework/output.js +1 -1
  305. package/lib/framework/response.js +1 -1
  306. package/lib/framework/runner-alias.js +1 -1
  307. package/lib/framework/runner.js +1 -1
  308. package/lib/framework/schema-export.js +1 -1
  309. package/lib/framework/supported-flags.js +1 -1
  310. package/lib/framework/types.js +1 -1
  311. package/lib/generated/build-info.d.ts +4 -4
  312. package/lib/generated/build-info.js +1 -1
  313. package/lib/generated/official-routing.js +1 -1
  314. package/lib/generated/routing-contract.js +1 -1
  315. package/lib/help.js +1 -1
  316. package/lib/postinstall.js +1 -1
  317. package/lib/runtime/confirmation.js +1 -1
  318. package/lib/runtime/event.js +1 -1
  319. package/lib/runtime/index.js +1 -1
  320. package/lib/runtime/queue.js +1 -1
  321. package/lib/runtime/resolve.js +1 -1
  322. package/lib/skills/builtin-skill.js +1 -1
  323. package/lib/skills/main.js +1 -1
  324. package/lib/skills/npx-skills-add.js +1 -1
  325. package/lib/skills/skill-presence.js +1 -1
  326. package/lib/telemetry/cli-command-trace.js +1 -1
  327. package/lib/telemetry/cli-help-trace.js +1 -1
  328. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  329. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  330. package/lib/telemetry/send-cli-trace-log.js +1 -1
  331. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  332. package/lib/utils/ai_config.js +1 -1
  333. package/lib/utils/apply-jq-filter.js +1 -1
  334. package/lib/utils/cdn-config.js +1 -1
  335. package/lib/utils/check-sdk-version.js +1 -1
  336. package/lib/utils/cli-version-check.js +1 -1
  337. package/lib/utils/cli-version-policy.js +1 -1
  338. package/lib/utils/config.js +1 -1
  339. package/lib/utils/entity-with-id.js +1 -1
  340. package/lib/utils/file-utils.js +1 -1
  341. package/lib/utils/guides-cdn.js +1 -1
  342. package/lib/utils/http-client.js +1 -1
  343. package/lib/utils/is-non-interactive.js +1 -1
  344. package/lib/utils/logger.js +1 -1
  345. package/lib/utils/params.js +1 -1
  346. package/lib/utils/platform.js +1 -1
  347. package/lib/utils/sleep.js +1 -1
  348. package/lib/utils/template-replacer.js +1 -1
  349. package/lib/utils/update-notice.js +1 -1
  350. package/lib/utils/version.js +1 -1
  351. package/lib/utils/with-active-cookie.js +1 -1
  352. package/lib/utils/write-cli-side-channel.js +1 -1
  353. package/package.json +1 -1
  354. package/skills/rabetbase/SKILL.md +3 -2
  355. package/skills/rabetbase/references/rabetbase-user-account.md +20 -2
  356. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- const a256_0x187024=a256_0x58f3;function a256_0x58f3(_0x343b75,_0x248045){_0x343b75=_0x343b75-0x19c;const _0x14cf0b=a256_0x14cf();let _0x58f372=_0x14cf0b[_0x343b75];return _0x58f372;}(function(_0x4b96bf,_0x5e6997){const _0x5c708e=a256_0x58f3,_0x198715=_0x4b96bf();while(!![]){try{const _0x449094=parseInt(_0x5c708e(0x1a7))/0x1+-parseInt(_0x5c708e(0x1a6))/0x2*(-parseInt(_0x5c708e(0x1a1))/0x3)+-parseInt(_0x5c708e(0x1a4))/0x4*(parseInt(_0x5c708e(0x1a2))/0x5)+-parseInt(_0x5c708e(0x19f))/0x6*(-parseInt(_0x5c708e(0x1a9))/0x7)+parseInt(_0x5c708e(0x1a0))/0x8+-parseInt(_0x5c708e(0x19e))/0x9*(parseInt(_0x5c708e(0x19d))/0xa)+-parseInt(_0x5c708e(0x1ac))/0xb*(parseInt(_0x5c708e(0x19c))/0xc);if(_0x449094===_0x5e6997)break;else _0x198715['push'](_0x198715['shift']());}catch(_0x42cccf){_0x198715['push'](_0x198715['shift']());}}}(a256_0x14cf,0x3c217));function a256_0x14cf(){const _0x49b226=['42rCtVxF','.zip','sub-app-react-demo-beta.zip','7755YpZdyL','7188HHixOW','1841350FACUqz','9lNIpYV','228162vrBiBC','2746768VPTowG','117IzxECg','400KLfmMN','lovrabet','11504IIvDfc','templates/projects','3938GiCvlO','434506nEjZuv','sub-app-react-demo.zip'];a256_0x14cf=function(){return _0x49b226;};return a256_0x14cf();}import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT='rabetbase-cli',RABETBASE_CDN_CONFIG_ORIGIN='https://g.lovrabet.com',CDN_CONFIG_PATH='config/index.json',PROJECT_TEMPLATE_ASSET_PATH=a256_0x187024(0x1a5),PROJECT_TEMPLATE_ARCHIVE_NAMES=Object['freeze']({'release':a256_0x187024(0x1a8),'beta':a256_0x187024(0x1ab)});export const RABETBASE_CDN_PROJECT_PATH='/dist/'+RABETBASE_CDN_PROJECT;function getRabetbaseCdnBaseUrl(){const _0x446436=a256_0x187024;return''+getActiveCdn()[_0x446436(0x1a3)]+RABETBASE_CDN_PROJECT_PATH;}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}export function getProjectTemplateAssetBaseUrl(){return getRabetbaseCdnBaseUrl()+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x274e72,_0x110d33){const _0x5286d5=a256_0x187024,_0x3bbeb0=_0x110d33?'sub-app-react-demo-'+_0x110d33+_0x5286d5(0x1aa):PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x274e72];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x3bbeb0;}
1
+ function a257_0x4e9e(_0x420065,_0x2e4375){_0x420065=_0x420065-0x16e;const _0x1572db=a257_0x1572();let _0x4e9eed=_0x1572db[_0x420065];return _0x4e9eed;}const a257_0x36044e=a257_0x4e9e;(function(_0x297f3a,_0x431ca4){const _0x444730=a257_0x4e9e,_0x1d975f=_0x297f3a();while(!![]){try{const _0x2f6385=parseInt(_0x444730(0x17a))/0x1*(parseInt(_0x444730(0x16e))/0x2)+parseInt(_0x444730(0x177))/0x3+-parseInt(_0x444730(0x176))/0x4*(parseInt(_0x444730(0x17d))/0x5)+parseInt(_0x444730(0x180))/0x6+-parseInt(_0x444730(0x179))/0x7+-parseInt(_0x444730(0x172))/0x8*(parseInt(_0x444730(0x174))/0x9)+-parseInt(_0x444730(0x173))/0xa*(-parseInt(_0x444730(0x178))/0xb);if(_0x2f6385===_0x431ca4)break;else _0x1d975f['push'](_0x1d975f['shift']());}catch(_0x38a4bc){_0x1d975f['push'](_0x1d975f['shift']());}}}(a257_0x1572,0xcdca0));import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT=a257_0x36044e(0x175),RABETBASE_CDN_CONFIG_ORIGIN=a257_0x36044e(0x17c),CDN_CONFIG_PATH=a257_0x36044e(0x17b),PROJECT_TEMPLATE_ASSET_PATH=a257_0x36044e(0x183),PROJECT_TEMPLATE_ARCHIVE_NAMES=Object[a257_0x36044e(0x16f)]({'release':a257_0x36044e(0x170),'beta':a257_0x36044e(0x182)});function a257_0x1572(){const _0x12d203=['sub-app-react-demo-beta.zip','templates/projects','8916abNroA','freeze','sub-app-react-demo.zip','lovrabet','136RHbhZj','30EdzsNl','297936ixXyTc','rabetbase-cli','4agIIXr','3645972HHAzSa','2222693LKdLzx','10517570phCNdF','153pIekcb','config/index.json','https://g.lovrabet.com','2411015UvyLjE','/dist/','.zip','5320836CvgCUD','sub-app-react-demo-'];a257_0x1572=function(){return _0x12d203;};return a257_0x1572();}export const RABETBASE_CDN_PROJECT_PATH=a257_0x36044e(0x17e)+RABETBASE_CDN_PROJECT;function getRabetbaseCdnBaseUrl(){const _0x204fd7=a257_0x36044e;return''+getActiveCdn()[_0x204fd7(0x171)]+RABETBASE_CDN_PROJECT_PATH;}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}export function getProjectTemplateAssetBaseUrl(){return getRabetbaseCdnBaseUrl()+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x1effc2,_0xd1f902){const _0x640d87=a257_0x36044e,_0x69e562=_0xd1f902?_0x640d87(0x181)+_0xd1f902+_0x640d87(0x17f):PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x1effc2];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x69e562;}
@@ -1 +1 @@
1
- const a257_0xc6bb91=a257_0x2260;(function(_0x5361d4,_0x31a3bf){const _0x466c7f=a257_0x2260,_0x34e3ea=_0x5361d4();while(!![]){try{const _0x3cc42c=-parseInt(_0x466c7f(0x1d3))/0x1+parseInt(_0x466c7f(0x188))/0x2*(-parseInt(_0x466c7f(0x1a9))/0x3)+parseInt(_0x466c7f(0x1a2))/0x4+parseInt(_0x466c7f(0x1f8))/0x5+-parseInt(_0x466c7f(0x205))/0x6+parseInt(_0x466c7f(0x1fb))/0x7+parseInt(_0x466c7f(0x1ff))/0x8*(parseInt(_0x466c7f(0x1ce))/0x9);if(_0x3cc42c===_0x31a3bf)break;else _0x34e3ea['push'](_0x34e3ea['shift']());}catch(_0x139a4e){_0x34e3ea['push'](_0x34e3ea['shift']());}}}(a257_0x1096,0xd2bce));export const CLI_BIN_NAME=a257_0xc6bb91(0x1c0);export const CLI_DISPLAY_NAME=a257_0xc6bb91(0x1fa);function a257_0x2260(_0x5bd636,_0x536577){_0x5bd636=_0x5bd636-0x183;const _0x10969c=a257_0x1096();let _0x2260d0=_0x10969c[_0x5bd636];return _0x2260d0;}export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':a257_0xc6bb91(0x1d6),'meowKey':a257_0xc6bb91(0x1d6),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x193),'hint':a257_0xc6bb91(0x1af)},{'name':a257_0xc6bb91(0x1e5),'meowKey':a257_0xc6bb91(0x1e5),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1a1),'hint':a257_0xc6bb91(0x1bc)},{'name':'env','meowKey':a257_0xc6bb91(0x1ae),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1b9),'hint':'production\x20|\x20daily'},{'name':a257_0xc6bb91(0x1f2),'meowKey':'format','type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1e3),'hint':a257_0xc6bb91(0x1b4)},{'name':'jq','meowKey':'jq','type':a257_0xc6bb91(0x1e7),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','hint':a257_0xc6bb91(0x199)},{'name':'dry-run','meowKey':a257_0xc6bb91(0x20c),'type':a257_0xc6bb91(0x1a6),'description':a257_0xc6bb91(0x1b1)},{'name':a257_0xc6bb91(0x20e),'meowKey':a257_0xc6bb91(0x20e),'type':a257_0xc6bb91(0x1a6),'description':a257_0xc6bb91(0x209)},{'name':'non-interactive','meowKey':'nonInteractive','type':a257_0xc6bb91(0x1a6),'description':a257_0xc6bb91(0x1aa)},{'name':a257_0xc6bb91(0x200),'meowKey':a257_0xc6bb91(0x200),'type':a257_0xc6bb91(0x1a6),'description':'Use\x20global\x20config\x20scope'},{'name':a257_0xc6bb91(0x1f5),'meowKey':a257_0xc6bb91(0x1f5),'type':a257_0xc6bb91(0x1a6),'description':a257_0xc6bb91(0x1a7)},{'name':'ci','meowKey':'ci','type':'boolean','description':a257_0xc6bb91(0x1df),'hidden':!![]},{'name':a257_0xc6bb91(0x1c6),'meowKey':a257_0xc6bb91(0x1c6),'type':a257_0xc6bb91(0x1a6),'description':a257_0xc6bb91(0x1fc)},{'name':a257_0xc6bb91(0x1a4),'meowKey':'locale','type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1c9),'hidden':!![],'hint':'zh-CN\x20|\x20en-US'},{'name':'name','meowKey':'name','type':'string','description':a257_0xc6bb91(0x1a5),'hidden':!![]},{'name':a257_0xc6bb91(0x1bf),'meowKey':a257_0xc6bb91(0x1bf),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1dd),'hidden':!![]},{'name':a257_0xc6bb91(0x208),'meowKey':a257_0xc6bb91(0x208),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x187),'hidden':!![]},{'name':a257_0xc6bb91(0x1cd),'meowKey':a257_0xc6bb91(0x1cd),'type':a257_0xc6bb91(0x1e7),'description':'Maximum\x20search\x20hits','hidden':!![]},{'name':'clear','meowKey':'clear','type':a257_0xc6bb91(0x1a6),'description':a257_0xc6bb91(0x184),'hidden':!![]},{'name':a257_0xc6bb91(0x1d7),'meowKey':a257_0xc6bb91(0x1d7),'type':'boolean','description':a257_0xc6bb91(0x1cc),'hidden':!![]},{'name':'output','meowKey':a257_0xc6bb91(0x1cb),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1b8),'hidden':!![]},{'name':a257_0xc6bb91(0x19c),'meowKey':a257_0xc6bb91(0x19c),'type':a257_0xc6bb91(0x1e7),'description':'JSON\x20params','hidden':!![]},{'name':a257_0xc6bb91(0x1d4),'meowKey':'datasetcode','type':'string','description':a257_0xc6bb91(0x19a),'hidden':!![]},{'name':a257_0xc6bb91(0x201),'meowKey':a257_0xc6bb91(0x201),'type':'boolean','description':a257_0xc6bb91(0x211),'hidden':!![]},{'name':a257_0xc6bb91(0x197),'meowKey':a257_0xc6bb91(0x183),'type':'boolean','description':a257_0xc6bb91(0x1e0),'hidden':!![]},{'name':'id','meowKey':'id','type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1b5),'hidden':!![]},{'name':a257_0xc6bb91(0x1db),'meowKey':a257_0xc6bb91(0x1db),'type':a257_0xc6bb91(0x1e7),'description':'Type\x20filter','hidden':!![]},{'name':'file','meowKey':a257_0xc6bb91(0x202),'type':a257_0xc6bb91(0x1e7),'description':'File\x20path','hidden':!![]},{'name':a257_0xc6bb91(0x186),'meowKey':a257_0xc6bb91(0x194),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1e2),'hidden':!![]},{'name':'flow-name','meowKey':'flowName','type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1e1),'hidden':!![]},{'name':a257_0xc6bb91(0x198),'meowKey':a257_0xc6bb91(0x189),'type':'string','description':'Flow\x20status','hidden':!![]},{'name':a257_0xc6bb91(0x1b2),'meowKey':a257_0xc6bb91(0x1ca),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1cf),'hidden':!![]},{'name':a257_0xc6bb91(0x1ba),'meowKey':'datasetCode','type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x19a),'hidden':!![]},{'name':a257_0xc6bb91(0x207),'meowKey':a257_0xc6bb91(0x207),'type':a257_0xc6bb91(0x1e7),'description':'SQL\x20code','hidden':!![]},{'name':a257_0xc6bb91(0x1f6),'meowKey':a257_0xc6bb91(0x19d),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1ee),'hidden':!![]},{'name':a257_0xc6bb91(0x206),'meowKey':'sqlname','type':'string','description':a257_0xc6bb91(0x1ee),'hidden':!![]},{'name':'db-id','meowKey':a257_0xc6bb91(0x1c4),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1ec),'hidden':!![]},{'name':a257_0xc6bb91(0x1f9),'meowKey':'dbid','type':a257_0xc6bb91(0x1e7),'description':'DB\x20ID','hidden':!![]},{'name':'description','meowKey':'description','type':'string','description':a257_0xc6bb91(0x1c2),'hidden':!![]},{'name':'description-file','meowKey':a257_0xc6bb91(0x20d),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1f1),'hidden':!![]},{'name':a257_0xc6bb91(0x18d),'meowKey':a257_0xc6bb91(0x18d),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1be),'hidden':!![]},{'name':'page-size','meowKey':a257_0xc6bb91(0x1d8),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1c5),'hidden':!![]},{'name':a257_0xc6bb91(0x1d9),'meowKey':a257_0xc6bb91(0x1d9),'type':a257_0xc6bb91(0x1e7),'description':'Page\x20size','hidden':!![]},{'name':a257_0xc6bb91(0x18f),'meowKey':a257_0xc6bb91(0x18f),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1c7),'hidden':!![]},{'name':a257_0xc6bb91(0x1bd),'meowKey':a257_0xc6bb91(0x1bd),'type':'string','description':'Code\x20filter','hidden':!![]},{'name':a257_0xc6bb91(0x1bb),'meowKey':a257_0xc6bb91(0x1bb),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1d1),'hidden':!![]},{'name':a257_0xc6bb91(0x18a),'meowKey':a257_0xc6bb91(0x18a),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1de),'hidden':!![]},{'name':'operation','meowKey':a257_0xc6bb91(0x20f),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x204),'hidden':!![]},{'name':a257_0xc6bb91(0x19b),'meowKey':a257_0xc6bb91(0x19b),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1b3),'hidden':!![]},{'name':a257_0xc6bb91(0x18c),'meowKey':'skipImports','type':a257_0xc6bb91(0x1a6),'description':'Skip\x20import\x20generation','hidden':!![]},{'name':'key','meowKey':a257_0xc6bb91(0x1a3),'type':a257_0xc6bb91(0x1e7),'description':'Config\x20key','hidden':!![]},{'name':a257_0xc6bb91(0x1e9),'meowKey':a257_0xc6bb91(0x1e9),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1f7),'hidden':!![]},{'name':a257_0xc6bb91(0x191),'meowKey':a257_0xc6bb91(0x191),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1e4),'hidden':!![]},{'name':a257_0xc6bb91(0x210),'meowKey':a257_0xc6bb91(0x210),'type':'boolean','description':a257_0xc6bb91(0x203),'hidden':!![]},{'name':a257_0xc6bb91(0x196),'meowKey':'fromEnv','type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1ef),'hidden':!![]},{'name':'reveal','meowKey':a257_0xc6bb91(0x1eb),'type':a257_0xc6bb91(0x1a6),'description':a257_0xc6bb91(0x1dc),'hidden':!![]},{'name':a257_0xc6bb91(0x1a8),'meowKey':'force','type':a257_0xc6bb91(0x1a6),'description':a257_0xc6bb91(0x1d2),'hidden':!![]},{'name':a257_0xc6bb91(0x1a0),'meowKey':'confirm','type':a257_0xc6bb91(0x1a6),'description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':a257_0xc6bb91(0x1c8),'meowKey':a257_0xc6bb91(0x1c8),'type':a257_0xc6bb91(0x1a6),'description':a257_0xc6bb91(0x212),'hidden':!![]},{'name':a257_0xc6bb91(0x20b),'meowKey':'verbose','type':a257_0xc6bb91(0x1a6),'description':a257_0xc6bb91(0x192),'hidden':!![]},{'name':'expected-count','meowKey':a257_0xc6bb91(0x1f0),'type':'string','description':'Expected\x20affected\x20count','hidden':!![]},{'name':a257_0xc6bb91(0x1ad),'meowKey':a257_0xc6bb91(0x1ad),'type':a257_0xc6bb91(0x1e7),'description':'Menu\x20label','hidden':!![]},{'name':a257_0xc6bb91(0x1ea),'meowKey':a257_0xc6bb91(0x185),'type':a257_0xc6bb91(0x1e7),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':'sort','meowKey':'sort','type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1fe),'hidden':!![]},{'name':a257_0xc6bb91(0x1da),'meowKey':a257_0xc6bb91(0x18b),'type':a257_0xc6bb91(0x1e7),'description':'Expected\x20current\x20parent\x20menu\x20id','hidden':!![]},{'name':'expect-path','meowKey':a257_0xc6bb91(0x1b6),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1ab),'hidden':!![]},{'name':'expected-children-count','meowKey':a257_0xc6bb91(0x195),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1e8),'hidden':!![]},{'name':a257_0xc6bb91(0x1f3),'meowKey':a257_0xc6bb91(0x19f),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1c3),'hidden':!![]},{'name':a257_0xc6bb91(0x1b0),'meowKey':a257_0xc6bb91(0x190),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x1c1),'hidden':!![]},{'name':a257_0xc6bb91(0x1d0),'meowKey':a257_0xc6bb91(0x19e),'type':a257_0xc6bb91(0x1e7),'description':a257_0xc6bb91(0x204),'hidden':!![]},{'name':a257_0xc6bb91(0x1fd),'meowKey':'functionNode','type':'string','description':a257_0xc6bb91(0x1d5),'hidden':!![]},{'name':a257_0xc6bb91(0x1b7),'meowKey':a257_0xc6bb91(0x1b7),'type':'string','description':a257_0xc6bb91(0x18e),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a257_0xc6bb91(0x1d6),'app','env',a257_0xc6bb91(0x1f2),'jq',a257_0xc6bb91(0x1ac),a257_0xc6bb91(0x20e),a257_0xc6bb91(0x20a),'ci']);export function buildMeowFlags(){const _0x384ec4=a257_0xc6bb91;return Object[_0x384ec4(0x1e6)](GLOBAL_FLAGS[_0x384ec4(0x1f4)](_0x479967=>[_0x479967[_0x384ec4(0x1ed)],{'type':_0x479967[_0x384ec4(0x1db)]}]));}function a257_0x1096(){const _0xb575e0=['1204401ojVKXU','Force\x20non-interactive\x20mode\x20(CI)','Expected\x20current\x20menu\x20path','dry-run','label','env','<code>','task-id','Preview\x20operation\x20without\x20executing','flow-type','Target\x20path','json\x20|\x20pretty\x20|\x20compress','Record\x20ID','expectPath','codes','Output\x20path','Environment','dataset-code','sql','<name>','code','Page\x20number','title','rabetbase','Asynchronous\x20task\x20ID','Description','Comma-separated\x20menu\x20IDs','dbId','Page\x20size','help','Keyword\x20filter','remote','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','flowType','output','Watch\x20mode','topk','2664uiklrY','Flow\x20type','operation-type','SQL\x20string','Force\x20overwrite','587246TanVPL','datasetcode','Function\x20node','appcode','watch','pageSize','pagesize','expect-parent-id','type','Reveal\x20sensitive\x20value','Title','Schemas','Alias\x20for\x20--non-interactive','Enable\x20Backend\x20Function\x20save','Flow\x20name','Flow\x20code','Output\x20format','Tags','app','fromEntries','string','Expected\x20current\x20child\x20count','value','parent-id','reveal','DB\x20ID','meowKey','SQL\x20name','Read\x20value\x20from\x20environment\x20variable','expectedCount','Description\x20file','format','menu-ids','map','project','sql-name','Config\x20value','4123935tKeYxV','dbid','Rabetbase\x20CLI','10539410xBkwYS','Show\x20help','function-node','Menu\x20sort\x20value','12752tvaVbX','global','all','file','Read\x20value\x20from\x20stdin','Operation\x20type','396216mAepeU','sqlname','sqlcode','query','Skip\x20confirmation\x20for\x20high-risk\x20writes','non-interactive','verbose','dryRun','descriptionFile','yes','operation','stdin','Apply\x20to\x20all','Use\x20remote','enableBffSave','Clear','parentId','flow-code','Search\x20query','8vFhfDQ','flowStatus','schemas','expectParentId','skip-imports','page','Comma-separated\x20metadata\x20codes','keyword','taskId','tags','Verbose\x20output','Override\x20appcode','flowCode','expectedChildrenCount','from-env','enable-bff-save','flow-status','<expr>','Dataset\x20code','target','params','sqlName','operationType','menuIds','confirm','Select\x20app\x20profile\x20by\x20name','1280364KuoRbS','key','locale','Name','boolean','Use\x20project\x20config\x20scope','force'];a257_0x1096=function(){return _0xb575e0;};return a257_0x1096();}
1
+ const a258_0x1041d5=a258_0xf3f0;function a258_0xf3f0(_0x42bdf5,_0x3832d9){_0x42bdf5=_0x42bdf5-0x113;const _0x335dda=a258_0x335d();let _0xf3f0f7=_0x335dda[_0x42bdf5];return _0xf3f0f7;}(function(_0x2d5ee3,_0x531371){const _0x118e1c=a258_0xf3f0,_0x38242e=_0x2d5ee3();while(!![]){try{const _0x3f03a4=-parseInt(_0x118e1c(0x14f))/0x1*(parseInt(_0x118e1c(0x1a1))/0x2)+-parseInt(_0x118e1c(0x197))/0x3+-parseInt(_0x118e1c(0x114))/0x4*(-parseInt(_0x118e1c(0x17b))/0x5)+-parseInt(_0x118e1c(0x13f))/0x6+parseInt(_0x118e1c(0x11b))/0x7*(parseInt(_0x118e1c(0x11a))/0x8)+parseInt(_0x118e1c(0x17c))/0x9*(-parseInt(_0x118e1c(0x174))/0xa)+parseInt(_0x118e1c(0x19a))/0xb;if(_0x3f03a4===_0x531371)break;else _0x38242e['push'](_0x38242e['shift']());}catch(_0x13f0fe){_0x38242e['push'](_0x38242e['shift']());}}}(a258_0x335d,0xa1927));export const CLI_BIN_NAME=a258_0x1041d5(0x169);export const CLI_DISPLAY_NAME=a258_0x1041d5(0x166);function a258_0x335d(){const _0x39e340=['json\x20|\x20pretty\x20|\x20compress','Description','label','db-id','Expected\x20current\x20child\x20count','Page\x20size','parent-id','skipImports','Function\x20node','Search\x20query','Config\x20value','SQL\x20code','query','Preview\x20operation\x20without\x20executing','string','Verbose\x20output','4656786ShIogJ','parentId','env','codes','fromEnv','Use\x20remote','datasetcode','sort','Operation\x20type','code','Name','description-file','yes','boolean','Code\x20filter','Alias\x20for\x20--non-interactive','49768vxMtIQ','locale','page','operationType','page-size','Expected\x20current\x20menu\x20path','title','dry-run','flow-status','File\x20path','task-id','Expected\x20current\x20parent\x20menu\x20id','expected-children-count','enable-bff-save','Output\x20path','fromEntries','flow-name','non-interactive','Use\x20project\x20config\x20scope','Environment','clear','sql','sqlcode','Rabetbase\x20CLI','function-node','expected-count','rabetbase','Dataset\x20code','Record\x20ID','Flow\x20code','topk','expectPath','nonInteractive','Type\x20filter','taskId','file','Flow\x20status','1582180VJDfKQ','remote','operation','sqlName','Enable\x20Backend\x20Function\x20save','dryRun','params','5MgFtbV','54aNxcIq','meowKey','enableBffSave','Target\x20path','help','descriptionFile','<expr>','dataset-code','Page\x20number','force','Skip\x20confirmation\x20for\x20high-risk\x20writes','global','JSON\x20params','Description\x20file','keyword','stdin','Keyword\x20filter','description','target','Skip\x20import\x20generation','appcode','DB\x20ID','from-env','Show\x20help','flowType','tags','type','2324046BDrmVN','Force\x20overwrite','<name>','32715804cZcjLV','confirm','flowStatus','pagesize','name','Apply\x20to\x20all','watch','50CahTfB','Read\x20value\x20from\x20environment\x20variable','Comma-separated\x20menu\x20IDs','2605472tiZHMR','menu-ids','dbid','operation-type','Schemas','Title','6244704ElQlbX','7cTVWxF','sqlname','Output\x20format','expectedCount','datasetCode','app','reveal','format','Use\x20global\x20config\x20scope','key','expectParentId','Read\x20value\x20from\x20stdin','output','expectedChildrenCount','flow-code','schemas','Force\x20non-interactive\x20mode\x20(CI)','all','value','map'];a258_0x335d=function(){return _0x39e340;};return a258_0x335d();}export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':a258_0x1041d5(0x190),'type':a258_0x1041d5(0x13d),'description':'Override\x20appcode','hint':'<code>'},{'name':'app','meowKey':'app','type':'string','description':'Select\x20app\x20profile\x20by\x20name','hint':a258_0x1041d5(0x199)},{'name':a258_0x1041d5(0x141),'meowKey':a258_0x1041d5(0x141),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x162),'hint':'production\x20|\x20daily'},{'name':a258_0x1041d5(0x122),'meowKey':a258_0x1041d5(0x122),'type':'string','description':a258_0x1041d5(0x11d),'hint':a258_0x1041d5(0x12f)},{'name':'jq','meowKey':'jq','type':a258_0x1041d5(0x13d),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','hint':a258_0x1041d5(0x182)},{'name':a258_0x1041d5(0x156),'meowKey':a258_0x1041d5(0x179),'type':a258_0x1041d5(0x14c),'description':a258_0x1041d5(0x13c)},{'name':a258_0x1041d5(0x14b),'meowKey':a258_0x1041d5(0x14b),'type':a258_0x1041d5(0x14c),'description':a258_0x1041d5(0x186)},{'name':a258_0x1041d5(0x160),'meowKey':a258_0x1041d5(0x16f),'type':a258_0x1041d5(0x14c),'description':a258_0x1041d5(0x12b)},{'name':a258_0x1041d5(0x187),'meowKey':'global','type':a258_0x1041d5(0x14c),'description':a258_0x1041d5(0x123)},{'name':'project','meowKey':'project','type':a258_0x1041d5(0x14c),'description':a258_0x1041d5(0x161)},{'name':'ci','meowKey':'ci','type':a258_0x1041d5(0x14c),'description':a258_0x1041d5(0x14e),'hidden':!![]},{'name':a258_0x1041d5(0x180),'meowKey':a258_0x1041d5(0x180),'type':a258_0x1041d5(0x14c),'description':a258_0x1041d5(0x193)},{'name':a258_0x1041d5(0x150),'meowKey':a258_0x1041d5(0x150),'type':'string','description':'App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','hidden':!![],'hint':'zh-CN\x20|\x20en-US'},{'name':a258_0x1041d5(0x19e),'meowKey':a258_0x1041d5(0x19e),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x149),'hidden':!![]},{'name':a258_0x1041d5(0x155),'meowKey':a258_0x1041d5(0x155),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x119),'hidden':!![]},{'name':a258_0x1041d5(0x13b),'meowKey':'query','type':'string','description':a258_0x1041d5(0x138),'hidden':!![]},{'name':a258_0x1041d5(0x16d),'meowKey':'topk','type':'string','description':'Maximum\x20search\x20hits','hidden':!![]},{'name':a258_0x1041d5(0x163),'meowKey':a258_0x1041d5(0x163),'type':'boolean','description':'Clear','hidden':!![]},{'name':'watch','meowKey':a258_0x1041d5(0x1a0),'type':'boolean','description':'Watch\x20mode','hidden':!![]},{'name':a258_0x1041d5(0x127),'meowKey':a258_0x1041d5(0x127),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x15d),'hidden':!![]},{'name':a258_0x1041d5(0x17a),'meowKey':a258_0x1041d5(0x17a),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x188),'hidden':!![]},{'name':a258_0x1041d5(0x145),'meowKey':a258_0x1041d5(0x145),'type':'string','description':a258_0x1041d5(0x16a),'hidden':!![]},{'name':a258_0x1041d5(0x12c),'meowKey':a258_0x1041d5(0x12c),'type':a258_0x1041d5(0x14c),'description':a258_0x1041d5(0x19f),'hidden':!![]},{'name':a258_0x1041d5(0x15c),'meowKey':a258_0x1041d5(0x17e),'type':'boolean','description':a258_0x1041d5(0x178),'hidden':!![]},{'name':'id','meowKey':'id','type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x16b),'hidden':!![]},{'name':a258_0x1041d5(0x196),'meowKey':'type','type':'string','description':a258_0x1041d5(0x170),'hidden':!![]},{'name':a258_0x1041d5(0x172),'meowKey':a258_0x1041d5(0x172),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x158),'hidden':!![]},{'name':a258_0x1041d5(0x129),'meowKey':'flowCode','type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x16c),'hidden':!![]},{'name':a258_0x1041d5(0x15f),'meowKey':'flowName','type':'string','description':'Flow\x20name','hidden':!![]},{'name':a258_0x1041d5(0x157),'meowKey':a258_0x1041d5(0x19c),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x173),'hidden':!![]},{'name':'flow-type','meowKey':a258_0x1041d5(0x194),'type':a258_0x1041d5(0x13d),'description':'Flow\x20type','hidden':!![]},{'name':a258_0x1041d5(0x183),'meowKey':a258_0x1041d5(0x11f),'type':'string','description':a258_0x1041d5(0x16a),'hidden':!![]},{'name':a258_0x1041d5(0x165),'meowKey':a258_0x1041d5(0x165),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x13a),'hidden':!![]},{'name':'sql-name','meowKey':a258_0x1041d5(0x177),'type':a258_0x1041d5(0x13d),'description':'SQL\x20name','hidden':!![]},{'name':a258_0x1041d5(0x11c),'meowKey':'sqlname','type':a258_0x1041d5(0x13d),'description':'SQL\x20name','hidden':!![]},{'name':a258_0x1041d5(0x132),'meowKey':'dbId','type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x191),'hidden':!![]},{'name':a258_0x1041d5(0x116),'meowKey':'dbid','type':'string','description':a258_0x1041d5(0x191),'hidden':!![]},{'name':a258_0x1041d5(0x18d),'meowKey':a258_0x1041d5(0x18d),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x130),'hidden':!![]},{'name':a258_0x1041d5(0x14a),'meowKey':a258_0x1041d5(0x181),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x189),'hidden':!![]},{'name':a258_0x1041d5(0x151),'meowKey':a258_0x1041d5(0x151),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x184),'hidden':!![]},{'name':a258_0x1041d5(0x153),'meowKey':'pageSize','type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x134),'hidden':!![]},{'name':a258_0x1041d5(0x19d),'meowKey':a258_0x1041d5(0x19d),'type':a258_0x1041d5(0x13d),'description':'Page\x20size','hidden':!![]},{'name':'keyword','meowKey':a258_0x1041d5(0x18a),'type':'string','description':a258_0x1041d5(0x18c),'hidden':!![]},{'name':'code','meowKey':a258_0x1041d5(0x148),'type':'string','description':a258_0x1041d5(0x14d),'hidden':!![]},{'name':a258_0x1041d5(0x164),'meowKey':a258_0x1041d5(0x164),'type':'string','description':'SQL\x20string','hidden':!![]},{'name':'schemas','meowKey':a258_0x1041d5(0x12a),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x118),'hidden':!![]},{'name':a258_0x1041d5(0x176),'meowKey':a258_0x1041d5(0x176),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x147),'hidden':!![]},{'name':a258_0x1041d5(0x18e),'meowKey':a258_0x1041d5(0x18e),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x17f),'hidden':!![]},{'name':'skip-imports','meowKey':a258_0x1041d5(0x136),'type':'boolean','description':a258_0x1041d5(0x18f),'hidden':!![]},{'name':a258_0x1041d5(0x124),'meowKey':a258_0x1041d5(0x124),'type':a258_0x1041d5(0x13d),'description':'Config\x20key','hidden':!![]},{'name':a258_0x1041d5(0x12d),'meowKey':'value','type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x139),'hidden':!![]},{'name':'tags','meowKey':a258_0x1041d5(0x195),'type':a258_0x1041d5(0x13d),'description':'Tags','hidden':!![]},{'name':a258_0x1041d5(0x18b),'meowKey':'stdin','type':a258_0x1041d5(0x14c),'description':a258_0x1041d5(0x126),'hidden':!![]},{'name':a258_0x1041d5(0x192),'meowKey':a258_0x1041d5(0x143),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x1a2),'hidden':!![]},{'name':a258_0x1041d5(0x121),'meowKey':a258_0x1041d5(0x121),'type':'boolean','description':'Reveal\x20sensitive\x20value','hidden':!![]},{'name':a258_0x1041d5(0x185),'meowKey':a258_0x1041d5(0x185),'type':a258_0x1041d5(0x14c),'description':a258_0x1041d5(0x198),'hidden':!![]},{'name':a258_0x1041d5(0x19b),'meowKey':a258_0x1041d5(0x19b),'type':'boolean','description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':a258_0x1041d5(0x175),'meowKey':a258_0x1041d5(0x175),'type':a258_0x1041d5(0x14c),'description':a258_0x1041d5(0x144),'hidden':!![]},{'name':'verbose','meowKey':'verbose','type':'boolean','description':a258_0x1041d5(0x13e),'hidden':!![]},{'name':a258_0x1041d5(0x168),'meowKey':a258_0x1041d5(0x11e),'type':a258_0x1041d5(0x13d),'description':'Expected\x20affected\x20count','hidden':!![]},{'name':a258_0x1041d5(0x131),'meowKey':a258_0x1041d5(0x131),'type':'string','description':'Menu\x20label','hidden':!![]},{'name':a258_0x1041d5(0x135),'meowKey':a258_0x1041d5(0x140),'type':a258_0x1041d5(0x13d),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':'sort','meowKey':a258_0x1041d5(0x146),'type':'string','description':'Menu\x20sort\x20value','hidden':!![]},{'name':'expect-parent-id','meowKey':a258_0x1041d5(0x125),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x15a),'hidden':!![]},{'name':'expect-path','meowKey':a258_0x1041d5(0x16e),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x154),'hidden':!![]},{'name':a258_0x1041d5(0x15b),'meowKey':a258_0x1041d5(0x128),'type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x133),'hidden':!![]},{'name':a258_0x1041d5(0x115),'meowKey':'menuIds','type':'string','description':a258_0x1041d5(0x113),'hidden':!![]},{'name':a258_0x1041d5(0x159),'meowKey':a258_0x1041d5(0x171),'type':a258_0x1041d5(0x13d),'description':'Asynchronous\x20task\x20ID','hidden':!![]},{'name':a258_0x1041d5(0x117),'meowKey':a258_0x1041d5(0x152),'type':'string','description':a258_0x1041d5(0x147),'hidden':!![]},{'name':a258_0x1041d5(0x167),'meowKey':'functionNode','type':a258_0x1041d5(0x13d),'description':a258_0x1041d5(0x137),'hidden':!![]},{'name':a258_0x1041d5(0x142),'meowKey':a258_0x1041d5(0x142),'type':'string','description':'Comma-separated\x20metadata\x20codes','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a258_0x1041d5(0x190),a258_0x1041d5(0x120),'env','format','jq',a258_0x1041d5(0x156),a258_0x1041d5(0x14b),a258_0x1041d5(0x160),'ci']);export function buildMeowFlags(){const _0x11fb64=a258_0x1041d5;return Object[_0x11fb64(0x15e)](GLOBAL_FLAGS[_0x11fb64(0x12e)](_0x1afa7f=>[_0x1afa7f[_0x11fb64(0x17d)],{'type':_0x1afa7f[_0x11fb64(0x196)]}]));}
@@ -1 +1 @@
1
- const a258_0x32788e=a258_0x5aa6;function a258_0x46a9(){const _0x4a42aa=['1169mdwgVa','3420136UPXBFK','42582RAHYki','527064sHBixa','compress','25hoGMBj','production','524216GORmMk','12670270lZpTfy','2126373aeNrdm','1721468ufgogT','9uuUUKa'];a258_0x46a9=function(){return _0x4a42aa;};return a258_0x46a9();}function a258_0x5aa6(_0x29e44e,_0x612191){_0x29e44e=_0x29e44e-0x16d;const _0x46a9c3=a258_0x46a9();let _0x5aa6b4=_0x46a9c3[_0x29e44e];return _0x5aa6b4;}(function(_0xcab5f4,_0x1d1bbc){const _0x4f8ce7=a258_0x5aa6,_0x5baab4=_0xcab5f4();while(!![]){try{const _0x36a0df=parseInt(_0x4f8ce7(0x16d))/0x1+parseInt(_0x4f8ce7(0x170))/0x2+parseInt(_0x4f8ce7(0x16f))/0x3+parseInt(_0x4f8ce7(0x175))/0x4*(parseInt(_0x4f8ce7(0x177))/0x5)+-parseInt(_0x4f8ce7(0x174))/0x6*(parseInt(_0x4f8ce7(0x172))/0x7)+parseInt(_0x4f8ce7(0x173))/0x8+parseInt(_0x4f8ce7(0x171))/0x9*(-parseInt(_0x4f8ce7(0x16e))/0xa);if(_0x36a0df===_0x1d1bbc)break;else _0x5baab4['push'](_0x5baab4['shift']());}catch(_0xc1e19f){_0x5baab4['push'](_0x5baab4['shift']());}}}(a258_0x46a9,0xb1b36));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a258_0x32788e(0x178),'format':a258_0x32788e(0x176),'locale':'en-US','riskLevel':'write','apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT='compress';
1
+ const a259_0x2dd627=a259_0x28ae;(function(_0x799def,_0x2bb59c){const _0x47fb37=a259_0x28ae,_0x54aa76=_0x799def();while(!![]){try{const _0x52b6f2=parseInt(_0x47fb37(0xcd))/0x1+parseInt(_0x47fb37(0xc9))/0x2*(-parseInt(_0x47fb37(0xc4))/0x3)+parseInt(_0x47fb37(0xc7))/0x4+parseInt(_0x47fb37(0xca))/0x5*(-parseInt(_0x47fb37(0xcc))/0x6)+parseInt(_0x47fb37(0xc3))/0x7*(parseInt(_0x47fb37(0xc5))/0x8)+-parseInt(_0x47fb37(0xc6))/0x9+parseInt(_0x47fb37(0xcb))/0xa;if(_0x52b6f2===_0x2bb59c)break;else _0x54aa76['push'](_0x54aa76['shift']());}catch(_0xb829e1){_0x54aa76['push'](_0x54aa76['shift']());}}}(a259_0x505f,0xda808));function a259_0x28ae(_0xa83ce7,_0x2cfab0){_0xa83ce7=_0xa83ce7-0xc0;const _0x505f47=a259_0x505f();let _0x28ae90=_0x505f47[_0xa83ce7];return _0x28ae90;}import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a259_0x2dd627(0xc2),'format':'compress','locale':a259_0x2dd627(0xc0),'riskLevel':a259_0x2dd627(0xc1),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a259_0x2dd627(0xc8);function a259_0x505f(){const _0xa5cf36=['production','5226473BJkyEh','852408wElqFX','8WNybuo','5655321DUxbzO','4836296ccjlQc','compress','12VSeqAW','1217315NfNTiH','23801300NpgFWc','30DiZwgo','109641sGAAyX','en-US','write'];a259_0x505f=function(){return _0xa5cf36;};return a259_0x505f();}
@@ -1 +1 @@
1
- const a259_0x168689=a259_0x51c5;(function(_0x43c5fe,_0x2001cd){const _0x5bb064=a259_0x51c5,_0x1e24b8=_0x43c5fe();while(!![]){try{const _0x534d1f=parseInt(_0x5bb064(0x1dc))/0x1+parseInt(_0x5bb064(0x1f3))/0x2*(parseInt(_0x5bb064(0x1ef))/0x3)+parseInt(_0x5bb064(0x1e1))/0x4+-parseInt(_0x5bb064(0x1e4))/0x5+parseInt(_0x5bb064(0x1ee))/0x6+-parseInt(_0x5bb064(0x1e9))/0x7*(-parseInt(_0x5bb064(0x1ea))/0x8)+parseInt(_0x5bb064(0x1e3))/0x9*(-parseInt(_0x5bb064(0x1e8))/0xa);if(_0x534d1f===_0x2001cd)break;else _0x1e24b8['push'](_0x1e24b8['shift']());}catch(_0x2dad6c){_0x1e24b8['push'](_0x1e24b8['shift']());}}}(a259_0x1f0b,0x3bf8f));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 _0x56ee73=a259_0x51c5,_0x2e7b9a=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x2e7b9a['serviceDomains'][_0x56ee73(0x1de)]:_0x2e7b9a[_0x56ee73(0x1e0)][_0x56ee73(0x1f2)]??_0x2e7b9a[_0x56ee73(0x1e0)][_0x56ee73(0x1de)];}export function initDomains(_0x3f99a3){const _0x3d503a=a259_0x51c5;customApiDomain=_0x3f99a3?.['apiDomain'],customUserDomain=_0x3f99a3?.[_0x3d503a(0x1dd)],customRuntimeDomain=_0x3f99a3?.[_0x3d503a(0x1e6)],customSkillDomain=_0x3f99a3?.[_0x3d503a(0x1d9)],customKbDomain=_0x3f99a3?.[_0x3d503a(0x1f4)],customKbServiceDomain=_0x3f99a3?.[_0x3d503a(0x1e7)],allowOfficialKbServiceDefault=_0x3f99a3?.[_0x3d503a(0x1e5)]??!![],customAppDomain=_0x3f99a3?.[_0x3d503a(0x1da)],customLocalDomain=_0x3f99a3?.[_0x3d503a(0x1df)],customCertificateDomain=_0x3f99a3?.[_0x3d503a(0x1d8)],customCdn=_0x3f99a3?.[_0x3d503a(0x1f1)],activeRegion=_0x3f99a3?.['region']??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a259_0x168689(0x1f0)];function a259_0x51c5(_0xb52c8,_0x49d21f){_0xb52c8=_0xb52c8-0x1d8;const _0x1f0b36=a259_0x1f0b();let _0x51c580=_0x1f0b36[_0xb52c8];return _0x51c580;}export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()['api'];function a259_0x1f0b(){const _0x501226=['userDomain','production','localDomain','serviceDomains','901088xxTFPu','/web-app/app/','9525051dHYRuE','2368600naUXRc','allowOfficialKbServiceDefault','runtimeDomain','kbServiceDomain','10MMvhGF','51226TZhZXA','320IgNXzs','kbService','hostname','trim','2489526bBPfRy','3uWqOOB','user','cdn','daily','781224DrtCvK','kbDomain','certificateDomain','skillDomain','appDomain','origin','454181goSyuu'];a259_0x1f0b=function(){return _0x501226;};return a259_0x1f0b();}export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()['runtime'];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{const _0x26f36f=a259_0x168689;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()[_0x26f36f(0x1eb)];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()['app'];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()['runtime'])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x34ab9d=>{const _0x21a605=a259_0x168689,_0x33e208=encodeURIComponent(_0x34ab9d[_0x21a605(0x1ed)]());return isProduction(getEnv())?getAppDomain()+'/app/'+_0x33e208:getAppDomain()+_0x21a605(0x1e2)+_0x33e208;};export const getPublishedAppDomain=_0x48ef64=>{const _0x1f1d13=a259_0x168689,_0x2fc17a=new URL(getAppDomain());return _0x2fc17a[_0x1f1d13(0x1ec)]=_0x48ef64['trim']()+'.'+_0x2fc17a[_0x1f1d13(0x1ec)],_0x2fc17a[_0x1f1d13(0x1db)];};
1
+ const a260_0x11f93b=a260_0x212c;(function(_0x4fda71,_0x18f7c6){const _0x47db88=a260_0x212c,_0x212a37=_0x4fda71();while(!![]){try{const _0x28a1ff=-parseInt(_0x47db88(0x1fe))/0x1+-parseInt(_0x47db88(0x1f0))/0x2+-parseInt(_0x47db88(0x1fa))/0x3+-parseInt(_0x47db88(0x1ff))/0x4*(parseInt(_0x47db88(0x1f9))/0x5)+parseInt(_0x47db88(0x1eb))/0x6*(-parseInt(_0x47db88(0x205))/0x7)+parseInt(_0x47db88(0x1fc))/0x8*(-parseInt(_0x47db88(0x204))/0x9)+parseInt(_0x47db88(0x200))/0xa*(parseInt(_0x47db88(0x1ea))/0xb);if(_0x28a1ff===_0x18f7c6)break;else _0x212a37['push'](_0x212a37['shift']());}catch(_0x35639d){_0x212a37['push'](_0x212a37['shift']());}}}(a260_0x24e4,0x5bd1a));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';function a260_0x24e4(){const _0x223019=['region','11qcGzjh','141150VUBebJ','api','allowOfficialKbServiceDefault','origin','runtime','652974UtjFKc','daily','kbService','/web-app/app/','trim','app','user','skillDomain','serviceDomains','95BGwhNx','1001340wiSlUv','userDomain','56coBQIb','hostname','132944vuIhCi','89576llzSVC','19988390tNvTqb','production','/app/','appDomain','489249rbdici','7aYauao'];a260_0x24e4=function(){return _0x223019;};return a260_0x24e4();}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 _0x4b0556=a260_0x212c,_0x2e833d=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x2e833d[_0x4b0556(0x1f8)][_0x4b0556(0x201)]:_0x2e833d[_0x4b0556(0x1f8)][_0x4b0556(0x1f1)]??_0x2e833d[_0x4b0556(0x1f8)][_0x4b0556(0x201)];}export function initDomains(_0x1397d6){const _0x54ca17=a260_0x212c;customApiDomain=_0x1397d6?.['apiDomain'],customUserDomain=_0x1397d6?.[_0x54ca17(0x1fb)],customRuntimeDomain=_0x1397d6?.['runtimeDomain'],customSkillDomain=_0x1397d6?.[_0x54ca17(0x1f7)],customKbDomain=_0x1397d6?.['kbDomain'],customKbServiceDomain=_0x1397d6?.['kbServiceDomain'],allowOfficialKbServiceDefault=_0x1397d6?.[_0x54ca17(0x1ed)]??!![],customAppDomain=_0x1397d6?.[_0x54ca17(0x203)],customLocalDomain=_0x1397d6?.['localDomain'],customCertificateDomain=_0x1397d6?.['certificateDomain'],customCdn=_0x1397d6?.['cdn'],activeRegion=_0x1397d6?.[_0x54ca17(0x1e9)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a260_0x11f93b(0x1f6)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a260_0x11f93b(0x1ec)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a260_0x11f93b(0x1ef)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];function a260_0x212c(_0x239647,_0x2dc000){_0x239647=_0x239647-0x1e9;const _0x24e443=a260_0x24e4();let _0x212cc0=_0x24e443[_0x239647];return _0x212cc0;}export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{const _0x2b55c8=a260_0x11f93b;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()[_0x2b55c8(0x1f2)];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a260_0x11f93b(0x1f5)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x4c8ead=a260_0x11f93b;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x4c8ead(0x1ef)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x46e671=>{const _0x294513=a260_0x11f93b,_0x3b86a6=encodeURIComponent(_0x46e671[_0x294513(0x1f4)]());return isProduction(getEnv())?getAppDomain()+_0x294513(0x202)+_0x3b86a6:getAppDomain()+_0x294513(0x1f3)+_0x3b86a6;};export const getPublishedAppDomain=_0xaa6aa5=>{const _0x464097=a260_0x11f93b,_0x5e1cb7=new URL(getAppDomain());return _0x5e1cb7['hostname']=_0xaa6aa5[_0x464097(0x1f4)]()+'.'+_0x5e1cb7[_0x464097(0x1fd)],_0x5e1cb7[_0x464097(0x1ee)];};
@@ -1 +1 @@
1
- const a260_0x423e5a=a260_0x5964;(function(_0x4b0f4f,_0x67c9fd){const _0x507814=a260_0x5964,_0x4b92a1=_0x4b0f4f();while(!![]){try{const _0x270659=parseInt(_0x507814(0x1da))/0x1*(-parseInt(_0x507814(0x1db))/0x2)+-parseInt(_0x507814(0x1d3))/0x3*(-parseInt(_0x507814(0x1d6))/0x4)+-parseInt(_0x507814(0x1d8))/0x5+parseInt(_0x507814(0x1e0))/0x6*(-parseInt(_0x507814(0x1d9))/0x7)+-parseInt(_0x507814(0x1d4))/0x8+-parseInt(_0x507814(0x1df))/0x9+parseInt(_0x507814(0x1dd))/0xa*(parseInt(_0x507814(0x1e1))/0xb);if(_0x270659===_0x67c9fd)break;else _0x4b92a1['push'](_0x4b92a1['shift']());}catch(_0x57814d){_0x4b92a1['push'](_0x4b92a1['shift']());}}}(a260_0x1f47,0xd17af));export const RABETBASE_ENV_VALUES=[a260_0x423e5a(0x1dc),'daily'];export function normalizeEnv(_0x146d9d){const _0x339766=a260_0x423e5a;return _0x146d9d===_0x339766(0x1de)?_0x339766(0x1dc):_0x146d9d;}export function isProduction(_0x366c57){return normalizeEnv(_0x366c57)==='production';}export function isDaily(_0x1a4ed5){const _0x40503e=a260_0x423e5a;return normalizeEnv(_0x1a4ed5)===_0x40503e(0x1d5);}export function isDev(_0x8dd337){const _0x4a421b=a260_0x423e5a,_0x3ff04e=normalizeEnv(_0x8dd337);return _0x3ff04e==='development'||_0x3ff04e===_0x4a421b(0x1d7);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a260_0x423e5a(0x1dc));function a260_0x5964(_0x1cd79c,_0x5b0bf1){_0x1cd79c=_0x1cd79c-0x1d3;const _0x1f4772=a260_0x1f47();let _0x596467=_0x1f4772[_0x1cd79c];return _0x596467;}export function getEnv(){return env;}function a260_0x1f47(){const _0x10177f=['23712FaBApw','33451xhZNdP','2781PDgjZL','4005984wzatqv','daily','3448qtNIvi','dev','2340575QdZLUm','2618brhmKl','2sVlyzq','1387146iMmVug','production','13550MWooRe','online','2047869SpqIDH'];a260_0x1f47=function(){return _0x10177f;};return a260_0x1f47();}export function initEnv(_0x215bf1){env=normalizeEnv(_0x215bf1);}
1
+ const a261_0x4dbb1c=a261_0x2166;(function(_0x5c5567,_0x30e041){const _0x16b07b=a261_0x2166,_0x10b6f2=_0x5c5567();while(!![]){try{const _0x247eed=parseInt(_0x16b07b(0xf9))/0x1*(-parseInt(_0x16b07b(0xf4))/0x2)+-parseInt(_0x16b07b(0x102))/0x3*(-parseInt(_0x16b07b(0xfd))/0x4)+-parseInt(_0x16b07b(0xfc))/0x5*(parseInt(_0x16b07b(0xfe))/0x6)+-parseInt(_0x16b07b(0xf8))/0x7*(parseInt(_0x16b07b(0xf6))/0x8)+-parseInt(_0x16b07b(0xf7))/0x9+parseInt(_0x16b07b(0xfa))/0xa+parseInt(_0x16b07b(0x100))/0xb*(parseInt(_0x16b07b(0xf3))/0xc);if(_0x247eed===_0x30e041)break;else _0x10b6f2['push'](_0x10b6f2['shift']());}catch(_0x49c8d6){_0x10b6f2['push'](_0x10b6f2['shift']());}}}(a261_0x5979,0x292a2));export const RABETBASE_ENV_VALUES=[a261_0x4dbb1c(0xff),a261_0x4dbb1c(0xfb)];export function normalizeEnv(_0xfddd00){const _0x4fc378=a261_0x4dbb1c;return _0xfddd00==='online'?_0x4fc378(0xff):_0xfddd00;}export function isProduction(_0x32ec0d){const _0x356204=a261_0x4dbb1c;return normalizeEnv(_0x32ec0d)===_0x356204(0xff);}function a261_0x2166(_0x399568,_0x82a048){_0x399568=_0x399568-0xf3;const _0x5979fb=a261_0x5979();let _0x216689=_0x5979fb[_0x399568];return _0x216689;}export function isDaily(_0x3ca73b){const _0x2e3d64=a261_0x4dbb1c;return normalizeEnv(_0x3ca73b)===_0x2e3d64(0xfb);}export function isDev(_0xb835ab){const _0x33d3f3=a261_0x4dbb1c,_0x256404=normalizeEnv(_0xb835ab);return _0x256404===_0x33d3f3(0x101)||_0x256404===_0x33d3f3(0xf5);}function a261_0x5979(){const _0x5a53b6=['production','77Xwkkvx','development','21267GfRIYb','1305756zeXRLk','4efWzSx','dev','8gEWvFV','1663578qLjKHW','2068402qfuAxc','82323CRhKVB','2237810VJFMvh','daily','91020LgNstR','16UWCwqo','66tbytBa'];a261_0x5979=function(){return _0x5a53b6;};return a261_0x5979();}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a261_0x4dbb1c(0xff));export function getEnv(){return env;}export function initEnv(_0xb6ea37){env=normalizeEnv(_0xb6ea37);}
@@ -1 +1 @@
1
- const a261_0x3502b6=a261_0xe510;function a261_0xe510(_0x1b345b,_0xb17bcb){_0x1b345b=_0x1b345b-0x1e9;const _0xcf8a69=a261_0xcf8a();let _0xe510d=_0xcf8a69[_0x1b345b];return _0xe510d;}(function(_0x22fd3a,_0xd7c348){const _0x556f71=a261_0xe510,_0x2ad751=_0x22fd3a();while(!![]){try{const _0x178dc7=parseInt(_0x556f71(0x1ec))/0x1+parseInt(_0x556f71(0x1f1))/0x2*(-parseInt(_0x556f71(0x1ef))/0x3)+-parseInt(_0x556f71(0x1eb))/0x4+-parseInt(_0x556f71(0x1e9))/0x5+-parseInt(_0x556f71(0x1ee))/0x6+parseInt(_0x556f71(0x1ed))/0x7+parseInt(_0x556f71(0x1f0))/0x8;if(_0x178dc7===_0xd7c348)break;else _0x2ad751['push'](_0x2ad751['shift']());}catch(_0x3bc136){_0x2ad751['push'](_0x2ad751['shift']());}}}(a261_0xcf8a,0xdaaab));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a261_0x3502b6(0x1ea),'pretty','compress'];function a261_0xcf8a(){const _0x50983e=['1226235twxIHO','6014771WpLIgC','1447812ApakMe','3TCdMFU','8868808yNJzSV','2028316hVtobC','884735UKduTP','json','3464092tztPmp'];a261_0xcf8a=function(){return _0x50983e;};return a261_0xcf8a();}
1
+ function a262_0x269a(_0x471385,_0x13fcf0){_0x471385=_0x471385-0x183;const _0x2b5805=a262_0x2b58();let _0x269a4c=_0x2b5805[_0x471385];return _0x269a4c;}const a262_0x1cb948=a262_0x269a;function a262_0x2b58(){const _0x4df202=['pretty','2413710wYILGo','4062258IrgFzc','38VzGxIl','7474032TCMlpb','4XulYIc','6753173QtLQcH','8276984KgnQMJ','82398HbKEfG','4823645xIXwmB'];a262_0x2b58=function(){return _0x4df202;};return a262_0x2b58();}(function(_0x5cd57a,_0x5654a9){const _0x35ce8a=a262_0x269a,_0x45fe1b=_0x5cd57a();while(!![]){try{const _0x17ab67=-parseInt(_0x35ce8a(0x185))/0x1*(-parseInt(_0x35ce8a(0x18a))/0x2)+-parseInt(_0x35ce8a(0x184))/0x3+parseInt(_0x35ce8a(0x187))/0x4*(-parseInt(_0x35ce8a(0x18b))/0x5)+parseInt(_0x35ce8a(0x183))/0x6+parseInt(_0x35ce8a(0x188))/0x7+parseInt(_0x35ce8a(0x189))/0x8+-parseInt(_0x35ce8a(0x186))/0x9;if(_0x17ab67===_0x5654a9)break;else _0x45fe1b['push'](_0x45fe1b['shift']());}catch(_0x5d2229){_0x45fe1b['push'](_0x45fe1b['shift']());}}}(a262_0x2b58,0xc7b1a));export const RABETBASE_OUTPUT_FORMAT_VALUES=['json',a262_0x1cb948(0x18c),'compress'];
@@ -1 +1 @@
1
- function a262_0x4a74(_0x5ea650,_0x5ecf10){_0x5ea650=_0x5ea650-0x1eb;const _0x54f4c2=a262_0x54f4();let _0x4a7473=_0x54f4c2[_0x5ea650];return _0x4a7473;}function a262_0x54f4(){const _0x1b8077=['15864FYQhjB','850215YtLdek','1133211PkUOif','4LOXdBc','1804326IUWxPh','549lWsbBI','20DimjGH','2240220WQgbam','2238412qvSzMH','18152NYROPs','7NpSMFl','41VwnpSg'];a262_0x54f4=function(){return _0x1b8077;};return a262_0x54f4();}(function(_0x4b7f7a,_0x2031b6){const _0x5e303e=a262_0x4a74,_0x554afc=_0x4b7f7a();while(!![]){try{const _0x5a81e2=-parseInt(_0x5e303e(0x1f5))/0x1*(parseInt(_0x5e303e(0x1f6))/0x2)+parseInt(_0x5e303e(0x1ec))/0x3*(parseInt(_0x5e303e(0x1ed))/0x4)+parseInt(_0x5e303e(0x1eb))/0x5+-parseInt(_0x5e303e(0x1ee))/0x6*(parseInt(_0x5e303e(0x1f4))/0x7)+parseInt(_0x5e303e(0x1f3))/0x8*(parseInt(_0x5e303e(0x1ef))/0x9)+-parseInt(_0x5e303e(0x1f0))/0xa*(-parseInt(_0x5e303e(0x1f2))/0xb)+-parseInt(_0x5e303e(0x1f1))/0xc;if(_0x5a81e2===_0x2031b6)break;else _0x554afc['push'](_0x554afc['shift']());}catch(_0x46de85){_0x554afc['push'](_0x554afc['shift']());}}}(a262_0x54f4,0x447eb));export const DEFAULT_API_DIR='./src/api';
1
+ function a263_0x2027(_0xc800c,_0xd9fae0){_0xc800c=_0xc800c-0xb8;const _0x400576=a263_0x4005();let _0x202788=_0x400576[_0xc800c];return _0x202788;}function a263_0x4005(){const _0x1b3617=['43DwCjun','8478081kuWIZP','5CoaIEg','819732SNEogj','5942iKNKwj','1236504yRxzTp','923805XnWPJL','2403709lVCYkk','372150MyNeDz','./src/api'];a263_0x4005=function(){return _0x1b3617;};return a263_0x4005();}const a263_0x456479=a263_0x2027;(function(_0x1c9f63,_0xea08e1){const _0x3579f3=a263_0x2027,_0x158c49=_0x1c9f63();while(!![]){try{const _0x50add1=parseInt(_0x3579f3(0xc0))/0x1*(parseInt(_0x3579f3(0xba))/0x2)+-parseInt(_0x3579f3(0xbc))/0x3+parseInt(_0x3579f3(0xb9))/0x4*(-parseInt(_0x3579f3(0xb8))/0x5)+parseInt(_0x3579f3(0xbe))/0x6+-parseInt(_0x3579f3(0xbd))/0x7+parseInt(_0x3579f3(0xbb))/0x8+parseInt(_0x3579f3(0xc1))/0x9;if(_0x50add1===_0xea08e1)break;else _0x158c49['push'](_0x158c49['shift']());}catch(_0x334065){_0x158c49['push'](_0x158c49['shift']());}}}(a263_0x4005,0x6900f));export const DEFAULT_API_DIR=a263_0x456479(0xbf);
@@ -1 +1 @@
1
- (function(_0x5c23f6,_0x160132){const _0x35520a=a263_0x112b,_0x577284=_0x5c23f6();while(!![]){try{const _0xceafe6=-parseInt(_0x35520a(0x166))/0x1+parseInt(_0x35520a(0x169))/0x2*(parseInt(_0x35520a(0x162))/0x3)+-parseInt(_0x35520a(0x161))/0x4+parseInt(_0x35520a(0x16a))/0x5*(parseInt(_0x35520a(0x168))/0x6)+-parseInt(_0x35520a(0x165))/0x7+-parseInt(_0x35520a(0x167))/0x8+parseInt(_0x35520a(0x163))/0x9;if(_0xceafe6===_0x160132)break;else _0x577284['push'](_0x577284['shift']());}catch(_0x37768a){_0x577284['push'](_0x577284['shift']());}}}(a263_0xbeb3,0x6a04d));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;function a263_0xbeb3(){const _0x3f9768=['6qRaBap','46OxDemX','1866895PueEFm','string','1892416rlWpQf','74823pklpqo','10704825LwmkTy','includes','1388212HHiIdA','716537HWIbdn','2513896npBPfo'];a263_0xbeb3=function(){return _0x3f9768;};return a263_0xbeb3();}function a263_0x112b(_0x45cadf,_0x4eb3c7){_0x45cadf=_0x45cadf-0x161;const _0xbeb321=a263_0xbeb3();let _0x112b8=_0xbeb321[_0x45cadf];return _0x112b8;}export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x2f4f90){const _0x38bfbc=a263_0x112b;return typeof _0x2f4f90===_0x38bfbc(0x16b)&&LOVRABET_REGION_VALUES[_0x38bfbc(0x164)](_0x2f4f90);}export function isEnabledLovrabetRegion(_0x1ef149){const _0x54c3e2=a263_0x112b;return typeof _0x1ef149===_0x54c3e2(0x16b)&&ENABLED_LOVRABET_REGION_VALUES['includes'](_0x1ef149);}export function normalizeLovrabetRegion(_0x4c122f){const _0x4d667e=a263_0x112b;if(typeof _0x4c122f!==_0x4d667e(0x16b))return undefined;const _0xb31827=REGION_ALIASES[_0x4c122f]??_0x4c122f;return isLovrabetRegion(_0xb31827)?_0xb31827:undefined;}export function isInvalidLovrabetRegion(_0x1566aa){return _0x1566aa!==undefined&&_0x1566aa!==null&&_0x1566aa!==''&&normalizeLovrabetRegion(_0x1566aa)===undefined;}
1
+ (function(_0x21fd85,_0x317bad){const _0x552a6d=a264_0x5ac0,_0x23e19f=_0x21fd85();while(!![]){try{const _0x54ab0c=-parseInt(_0x552a6d(0xdf))/0x1*(-parseInt(_0x552a6d(0xde))/0x2)+parseInt(_0x552a6d(0xd9))/0x3*(-parseInt(_0x552a6d(0xdd))/0x4)+parseInt(_0x552a6d(0xda))/0x5+parseInt(_0x552a6d(0xd8))/0x6*(-parseInt(_0x552a6d(0xe0))/0x7)+-parseInt(_0x552a6d(0xdb))/0x8+parseInt(_0x552a6d(0xe3))/0x9+parseInt(_0x552a6d(0xe2))/0xa;if(_0x54ab0c===_0x317bad)break;else _0x23e19f['push'](_0x23e19f['shift']());}catch(_0x32bb2b){_0x23e19f['push'](_0x23e19f['shift']());}}}(a264_0x5ca8,0x8cdee));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;function a264_0x5ac0(_0x139c1f,_0x43280a){_0x139c1f=_0x139c1f-0xd8;const _0x5ca888=a264_0x5ca8();let _0x5ac030=_0x5ca888[_0x139c1f];return _0x5ac030;}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x3e2a71){return typeof _0x3e2a71==='string'&&LOVRABET_REGION_VALUES['includes'](_0x3e2a71);}export function isEnabledLovrabetRegion(_0x37eaf8){const _0x270791=a264_0x5ac0;return typeof _0x37eaf8===_0x270791(0xdc)&&ENABLED_LOVRABET_REGION_VALUES[_0x270791(0xe1)](_0x37eaf8);}function a264_0x5ca8(){const _0x5aaba6=['1726118wZEHIF','1dLZaqA','12068qQOxNp','includes','7744820SamCxO','928935dEBeWe','276UTeBpn','15CCQKQI','1790190gSuFbs','5705392oBhCRZ','string','583448tuxJLw'];a264_0x5ca8=function(){return _0x5aaba6;};return a264_0x5ca8();}export function normalizeLovrabetRegion(_0x17206a){const _0x163a87=a264_0x5ac0;if(typeof _0x17206a!==_0x163a87(0xdc))return undefined;const _0x3823d8=REGION_ALIASES[_0x17206a]??_0x17206a;return isLovrabetRegion(_0x3823d8)?_0x3823d8:undefined;}export function isInvalidLovrabetRegion(_0x7522d4){return _0x7522d4!==undefined&&_0x7522d4!==null&&_0x7522d4!==''&&normalizeLovrabetRegion(_0x7522d4)===undefined;}
@@ -1 +1 @@
1
- function a264_0x5277(_0x21927a,_0x4e911e){_0x21927a=_0x21927a-0x1ce;const _0x56a037=a264_0x56a0();let _0x527786=_0x56a037[_0x21927a];return _0x527786;}const a264_0x4a1084=a264_0x5277;(function(_0x54c763,_0x511cd0){const _0x2b9619=a264_0x5277,_0x1acd4c=_0x54c763();while(!![]){try{const _0x50a609=-parseInt(_0x2b9619(0x1d9))/0x1*(parseInt(_0x2b9619(0x1d7))/0x2)+parseInt(_0x2b9619(0x1d1))/0x3+-parseInt(_0x2b9619(0x1d4))/0x4+parseInt(_0x2b9619(0x1d2))/0x5*(parseInt(_0x2b9619(0x1ce))/0x6)+-parseInt(_0x2b9619(0x1cf))/0x7+parseInt(_0x2b9619(0x1d5))/0x8*(parseInt(_0x2b9619(0x1d3))/0x9)+-parseInt(_0x2b9619(0x1d6))/0xa;if(_0x50a609===_0x511cd0)break;else _0x1acd4c['push'](_0x1acd4c['shift']());}catch(_0x2262f8){_0x1acd4c['push'](_0x1acd4c['shift']());}}}(a264_0x56a0,0x42c1b));function a264_0x56a0(){const _0x5d04bd=['read','167386YlVJsJ','18270bEltHi','3221043rKjrzd','high-risk-write','1415409iHWoXj','50ibzbgD','432XAjaPr','189260Bljbux','80552Mmcfue','372800SfhjAo','2rkEqGQ'];a264_0x56a0=function(){return _0x5d04bd;};return a264_0x56a0();}export const RISK_LEVEL_VALUES=[a264_0x4a1084(0x1d8),'write',a264_0x4a1084(0x1d0)];
1
+ function a265_0x1f50(_0x2cdfc1,_0x48d1bc){_0x2cdfc1=_0x2cdfc1-0x141;const _0x285b4e=a265_0x285b();let _0x1f507c=_0x285b4e[_0x2cdfc1];return _0x1f507c;}const a265_0x3df266=a265_0x1f50;(function(_0x4d9e9,_0x464cca){const _0x425b78=a265_0x1f50,_0x114b22=_0x4d9e9();while(!![]){try{const _0x59dc85=-parseInt(_0x425b78(0x14c))/0x1*(parseInt(_0x425b78(0x145))/0x2)+-parseInt(_0x425b78(0x142))/0x3*(parseInt(_0x425b78(0x146))/0x4)+-parseInt(_0x425b78(0x14b))/0x5+-parseInt(_0x425b78(0x147))/0x6+parseInt(_0x425b78(0x148))/0x7*(parseInt(_0x425b78(0x144))/0x8)+-parseInt(_0x425b78(0x143))/0x9+parseInt(_0x425b78(0x149))/0xa*(parseInt(_0x425b78(0x141))/0xb);if(_0x59dc85===_0x464cca)break;else _0x114b22['push'](_0x114b22['shift']());}catch(_0x15803b){_0x114b22['push'](_0x114b22['shift']());}}}(a265_0x285b,0xec89a));export const RISK_LEVEL_VALUES=[a265_0x3df266(0x14a),'write','high-risk-write'];function a265_0x285b(){const _0xca792c=['50009810eEaobF','read','4250825HEYWZj','593PzFRkK','11mZXkmi','3042ljCrKn','10123011cwfpIE','64YGAoGm','6166KZcXpG','3940WfcRBQ','2356140gHKiYU','1017205dTQqiR'];a265_0x285b=function(){return _0xca792c;};return a265_0x285b();}
@@ -1 +1 @@
1
- (function(_0x35b0b3,_0x22a029){const _0x4312d0=a265_0x4045,_0x51f161=_0x35b0b3();while(!![]){try{const _0x23c7a2=parseInt(_0x4312d0(0x11d))/0x1+parseInt(_0x4312d0(0x121))/0x2+-parseInt(_0x4312d0(0x120))/0x3*(parseInt(_0x4312d0(0x117))/0x4)+-parseInt(_0x4312d0(0x11c))/0x5*(parseInt(_0x4312d0(0x118))/0x6)+parseInt(_0x4312d0(0x11f))/0x7+parseInt(_0x4312d0(0x11b))/0x8+parseInt(_0x4312d0(0x11a))/0x9;if(_0x23c7a2===_0x22a029)break;else _0x51f161['push'](_0x51f161['shift']());}catch(_0x4e14fd){_0x51f161['push'](_0x51f161['shift']());}}}(a265_0x4831,0xf1a6d));import{OFFICIAL_ROUTING_PROFILES as a265_0x25a97d,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a265_0x25a97d;export{ROUTING_CATALOG_DIGEST};function a265_0x4831(){const _0xfa338f=['361039pGrvNb','1731ACzXAI','2803544FIKJoL','13316lGQCyp','96xUmvgi','lovrabet','8740827VpakyV','9963536lqflCs','364595yNqOip','407348LjQNOz','libraries'];a265_0x4831=function(){return _0xfa338f;};return a265_0x4831();}export function getOfficialRoutingProfile(_0x514369){return OFFICIAL_ROUTING_PROFILES[_0x514369];}function a265_0x4045(_0x16b524,_0x19b6ef){_0x16b524=_0x16b524-0x117;const _0x4831e1=a265_0x4831();let _0x404556=_0x4831e1[_0x16b524];return _0x404556;}export function getOfficialRoutingCdn(_0x52fa12){const _0x28d06e=a265_0x4045,_0x76a2d2=getOfficialRoutingProfile(_0x52fa12)['cdn'];if(!_0x76a2d2[_0x28d06e(0x119)])throw new Error('Official\x20routing\x20for\x20region\x20\x22'+_0x52fa12+'\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.');return{'libraries':_0x76a2d2[_0x28d06e(0x11e)],'lovrabet':_0x76a2d2[_0x28d06e(0x119)]};}
1
+ (function(_0x1a2aa1,_0x3bb7ec){const _0xab3385=a266_0x2b5b,_0xbd8e6b=_0x1a2aa1();while(!![]){try{const _0x58a337=-parseInt(_0xab3385(0x14b))/0x1*(parseInt(_0xab3385(0x14d))/0x2)+-parseInt(_0xab3385(0x148))/0x3+parseInt(_0xab3385(0x153))/0x4+parseInt(_0xab3385(0x150))/0x5+parseInt(_0xab3385(0x14e))/0x6*(-parseInt(_0xab3385(0x156))/0x7)+parseInt(_0xab3385(0x154))/0x8*(parseInt(_0xab3385(0x14f))/0x9)+-parseInt(_0xab3385(0x149))/0xa*(-parseInt(_0xab3385(0x14c))/0xb);if(_0x58a337===_0x3bb7ec)break;else _0xbd8e6b['push'](_0xbd8e6b['shift']());}catch(_0x10746c){_0xbd8e6b['push'](_0xbd8e6b['shift']());}}}(a266_0x3b5c,0x8ee21));import{OFFICIAL_ROUTING_PROFILES as a266_0x246cf7,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';function a266_0x2b5b(_0x4cc970,_0x4f0e0e){_0x4cc970=_0x4cc970-0x147;const _0x3b5c16=a266_0x3b5c();let _0x2b5b19=_0x3b5c16[_0x4cc970];return _0x2b5b19;}export const OFFICIAL_ROUTING_PROFILES=a266_0x246cf7;function a266_0x3b5c(){const _0x41881f=['40PaFIJV','libraries','822msKIpF','2796321yWzrKe','1028UAwDtE','204186wPDFfZ','9eailli','2785555GDsWtG','Official\x20routing\x20for\x20region\x20\x22','lovrabet','1867020GzwHOo','4228088KNmsNK','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','189VIqLPC','cdn','1927881deAvcJ'];a266_0x3b5c=function(){return _0x41881f;};return a266_0x3b5c();}export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x30cce4){return OFFICIAL_ROUTING_PROFILES[_0x30cce4];}export function getOfficialRoutingCdn(_0x41030f){const _0x38246c=a266_0x2b5b,_0x4827eb=getOfficialRoutingProfile(_0x41030f)[_0x38246c(0x147)];if(!_0x4827eb[_0x38246c(0x152)])throw new Error(_0x38246c(0x151)+_0x41030f+_0x38246c(0x155));return{'libraries':_0x4827eb[_0x38246c(0x14a)],'lovrabet':_0x4827eb[_0x38246c(0x152)]};}
@@ -1 +1 @@
1
- (function(_0x1044a6,_0x3c3afb){const _0x33b717=a266_0x3271,_0x43e9cb=_0x1044a6();while(!![]){try{const _0x1a2e3c=-parseInt(_0x33b717(0x1e3))/0x1*(parseInt(_0x33b717(0x1ec))/0x2)+parseInt(_0x33b717(0x1e5))/0x3+-parseInt(_0x33b717(0x1d7))/0x4+parseInt(_0x33b717(0x1e9))/0x5*(-parseInt(_0x33b717(0x1d6))/0x6)+-parseInt(_0x33b717(0x1f1))/0x7+parseInt(_0x33b717(0x1cf))/0x8+parseInt(_0x33b717(0x1d8))/0x9;if(_0x1a2e3c===_0x3c3afb)break;else _0x43e9cb['push'](_0x43e9cb['shift']());}catch(_0x4069da){_0x43e9cb['push'](_0x43e9cb['shift']());}}}(a266_0x3f14,0x3c578));function a266_0x3f14(){const _0x3ccbfd=['COOKIE','high-risk-write','read','VERBOSE','appcode','cookie','54fHrdNV','1547008ISpKJx','11502261nOeMao','ENV','defaultApp','apiDir','ACCESS_KEY','length','entries','APP','projectPath','region','PAGE_SIZE','127762uPYHLZ','accessKey','357132FfkbtV','riskLevel','trim','write','115755UoXBpv','apps','source','4zczHpU','env','RISK_LEVEL','string','format','3276406xlLnWP','projectConfig','value','daily','keys','locale','true','pageSize','1350240HFKUXo'];a266_0x3f14=function(){return _0x3ccbfd;};return a266_0x3f14();}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(_0x29885b){const _0x1d0ce7=a266_0x3271;return typeof _0x29885b===_0x1d0ce7(0x1ef)&&_0x29885b[_0x1d0ce7(0x1e7)]()?_0x29885b['trim']():undefined;}function appProfiles(_0x1d0ee3){const _0xb8bbf9=a266_0x3271;return _0x1d0ee3[_0xb8bbf9(0x1ea)]&&typeof _0x1d0ee3[_0xb8bbf9(0x1ea)]==='object'?_0x1d0ee3[_0xb8bbf9(0x1ea)]:{};}function resolveDefaultAppName(_0x2aa24a){const _0x5d8b2c=a266_0x3271,_0x1ee94a=stringConfigValue(_0x2aa24a[_0x5d8b2c(0x1da)]);if(_0x1ee94a)return _0x1ee94a;const _0x52ee1e=Object[_0x5d8b2c(0x1cb)](appProfiles(_0x2aa24a));return _0x52ee1e[_0x5d8b2c(0x1dd)]===0x1?_0x52ee1e[0x0]:undefined;}function resolveTopLevelAppCode(_0x4aa4cc){const _0x2e4100=a266_0x3271;return stringConfigValue(_0x4aa4cc[_0x2e4100(0x1d4)])||stringConfigValue(_0x4aa4cc['app']);}function normalizeRiskCeiling(_0x25847a){const _0x313e2c=a266_0x3271;if(_0x25847a===undefined||_0x25847a===null)return undefined;if(_0x25847a===_0x313e2c(0x1d2)||_0x25847a===_0x313e2c(0x1e8)||_0x25847a===_0x313e2c(0x1d1))return _0x25847a;return _0x313e2c(0x1d2);}function resolveRiskCeiling(..._0x28c11d){const _0x45b925=a266_0x3271;let _0x17fd16;for(const _0x1e929c of _0x28c11d){const _0x43ea51=normalizeRiskCeiling(_0x1e929c);_0x43ea51&&(!_0x17fd16||riskLevelOrder(_0x43ea51)<riskLevelOrder(_0x17fd16))&&(_0x17fd16=_0x43ea51);}return _0x17fd16??DEFAULT_CONFIG_VALUES[_0x45b925(0x1e6)];}function a266_0x3271(_0x2ef929,_0x17e09e){_0x2ef929=_0x2ef929-0x1ca;const _0x3f1465=a266_0x3f14();let _0x32714f=_0x3f1465[_0x2ef929];return _0x32714f;}export function resolveAppConfig({raw:_0xf3dea5,flags:_0x3f6772,layers:_0x5b62f3,readEnv:_0x2421d3}){const _0x50d02f=a266_0x3271,_0x3c4bb1=_0x5b62f3?.[_0x50d02f(0x1f2)]??{},_0x1efb69=_0x5b62f3?.['globalConfig']??{},_0x51874c=!!_0x5b62f3?.[_0x50d02f(0x1e0)]||Object[_0x50d02f(0x1cb)](_0x3c4bb1)['length']>0x0,_0x4952e2=!_0x51874c,_0x53368e=_0x51874c?resolveDefaultAppName(_0x3c4bb1):undefined,_0x477936=_0x4952e2?resolveDefaultAppName(_0x1efb69):undefined,_0x566f9c=stringConfigValue(_0x3f6772['app']),_0x72d750=_0x2421d3(_0x50d02f(0x1df)),_0x1ec680={};if(_0xf3dea5[_0x50d02f(0x1ea)]&&typeof _0xf3dea5[_0x50d02f(0x1ea)]==='object')for(const [_0x117556,_0x19b6e9]of Object[_0x50d02f(0x1de)](_0xf3dea5[_0x50d02f(0x1ea)])){_0x19b6e9&&typeof _0x19b6e9==='object'&&_0x19b6e9['appcode']&&(_0x1ec680[_0x117556]=_0x19b6e9);}const _0x2f1803=_0x53368e||_0x477936||resolveDefaultAppName(_0xf3dea5),_0x535251=Object[_0x50d02f(0x1cb)](_0x1ec680)[_0x50d02f(0x1dd)]>0x0,_0x34e05e=_0x566f9c||_0x53368e||_0x72d750||_0x477936||_0x2f1803||undefined,_0x49a29d=stringConfigValue(_0x3f6772[_0x50d02f(0x1d4)]),_0x3304f4=_0x49a29d?Object[_0x50d02f(0x1de)](_0x1ec680)['filter'](([,_0x3ed32b])=>_0x3ed32b?.[_0x50d02f(0x1d4)]===_0x49a29d):[],_0x58e700=_0x566f9c&&_0x1ec680[_0x566f9c]?.['appcode']===_0x49a29d?[_0x566f9c,_0x1ec680[_0x566f9c]]:undefined,_0x3061aa=_0x58e700??(_0x3304f4[_0x50d02f(0x1dd)]===0x1?_0x3304f4[0x0]:undefined),_0x107083=_0x3061aa?.[0x0],_0x4dd441=_0x3061aa?.[0x1],_0x57f114=_0x49a29d?_0x107083:_0x34e05e;let _0x33c52d=_0x57f114&&_0x1ec680[_0x57f114]?_0x1ec680[_0x57f114]:undefined;_0x49a29d&&_0x4dd441&&(_0x33c52d=_0x4dd441);const _0x484411=_0x49a29d?_0x4dd441??_0x33c52d:_0x33c52d,_0x148c6b=!_0x566f9c&&!_0x53368e&&_0x72d750&&_0x57f114===_0x72d750,_0xf4e8b1=_0x566f9c||(_0x148c6b?_0x72d750:undefined)||(_0x49a29d?_0x107083:undefined),_0x187de3=_0x484411?.['appcode'],_0x46a74d=_0x51874c?resolveTopLevelAppCode(_0x3c4bb1):undefined,_0x4b6278=_0x4952e2?resolveTopLevelAppCode(_0x1efb69):undefined,_0xf6990f=_0x566f9c||_0x53368e?_0x187de3:undefined,_0x5b1452=!_0x566f9c&&!_0x53368e?_0x187de3:undefined,_0xd2cf9a=_0x49a29d||_0xf6990f||_0x46a74d||_0x5b1452||_0x4b6278||undefined,_0x465eee=_0x51874c?stringConfigValue(_0x3c4bb1['env']):undefined,_0x2fe12f=_0x4952e2?stringConfigValue(_0x1efb69['env']):undefined,_0x1e01f6=_0x3f6772['env']||_0x484411?.[_0x50d02f(0x1ed)]||_0x465eee||_0x2421d3(_0x50d02f(0x1d9))||_0x2fe12f||_0xf3dea5[_0x50d02f(0x1ed)]||DEFAULT_CONFIG_VALUES[_0x50d02f(0x1ed)],_0x42d887=_0x484411?.['locale']||_0xf3dea5[_0x50d02f(0x1cc)]||DEFAULT_CONFIG_VALUES[_0x50d02f(0x1cc)],_0x5ee9c9=_0x2421d3(_0x50d02f(0x1d0))||_0x484411?.[_0x50d02f(0x1d5)]||_0xf3dea5[_0x50d02f(0x1d5)]||undefined,_0x5eb812=_0x2421d3(_0x50d02f(0x1dc))||_0x484411?.[_0x50d02f(0x1e4)]||_0xf3dea5[_0x50d02f(0x1e4)]||undefined,_0xa7ab23=_0x3f6772[_0x50d02f(0x1f0)]||_0x2421d3('FORMAT')||_0x484411?.[_0x50d02f(0x1f0)]||_0xf3dea5[_0x50d02f(0x1f0)],_0x302c8e=normalizeLegacyOutputFormat(_0xa7ab23),_0x2255d7=_0x2421d3(_0x50d02f(0x1e2))||_0x484411?.['pageSize']||_0xf3dea5[_0x50d02f(0x1ce)],_0x136129=_0x2255d7?Number(_0x2255d7)||undefined:undefined,_0x25e498=_0x5b62f3?[_0x5b62f3['globalConfig'][_0x50d02f(0x1e6)],_0x5b62f3['projectConfig'][_0x50d02f(0x1e6)]]:[_0xf3dea5[_0x50d02f(0x1e6)]],_0xf9559a=resolveRiskCeiling(..._0x25e498,_0x484411?.['riskLevel']),_0x371811=resolveRiskCeiling(_0xf9559a,_0x2421d3(_0x50d02f(0x1ee))),_0x57476b=_0x2421d3(_0x50d02f(0x1d3)),_0x395da8=_0x57476b==='1'||_0x57476b===_0x50d02f(0x1cd),_0x2a22f9=_0x484411?.[_0x50d02f(0x1db)]||_0xf3dea5[_0x50d02f(0x1db)]||DEFAULT_CONFIG_VALUES[_0x50d02f(0x1db)],_0x719a42=selectConfiguredRegion({'appRegion':_0x484411?.[_0x50d02f(0x1e1)],'projectRegion':_0x51874c?_0x3c4bb1[_0x50d02f(0x1e1)]:undefined,'globalRegion':_0x51874c||_0x4952e2?_0x1efb69[_0x50d02f(0x1e1)]:undefined,'mergedRegion':_0xf3dea5[_0x50d02f(0x1e1)]}),_0x106299=normalizeLovrabetRegion(_0x719a42[_0x50d02f(0x1f3)])??DEFAULT_LOVRABET_REGION,_0x336b55=isDaily(normalizeEnv(String(_0x1e01f6)))?_0x50d02f(0x1ca):'production';return{'appCode':typeof _0xd2cf9a===_0x50d02f(0x1ef)&&_0xd2cf9a[_0x50d02f(0x1e7)]()?_0xd2cf9a[_0x50d02f(0x1e7)]():undefined,'region':_0x106299,'regionConfiguredValue':_0x719a42[_0x50d02f(0x1f3)],'regionSource':_0x719a42[_0x50d02f(0x1eb)],'env':_0x336b55,'locale':_0x42d887,'cookie':_0x5ee9c9,'accessKey':_0x5eb812,'format':_0x302c8e,'pageSize':_0x136129,'riskLevel':_0x371811,'verbose':_0x395da8,'apiDir':_0x2a22f9,'apps':_0x1ec680,'defaultApp':_0x2f1803,'currentApp':_0x535251?_0x57f114:undefined,'explicitAppName':_0xf4e8b1};}
1
+ (function(_0x522aff,_0x1cf31d){const _0x36f58c=a267_0x4caf,_0x26e0c1=_0x522aff();while(!![]){try{const _0x5e037f=-parseInt(_0x36f58c(0x1fe))/0x1*(-parseInt(_0x36f58c(0x214))/0x2)+parseInt(_0x36f58c(0x218))/0x3+parseInt(_0x36f58c(0x1fa))/0x4*(parseInt(_0x36f58c(0x204))/0x5)+parseInt(_0x36f58c(0x20b))/0x6+parseInt(_0x36f58c(0x200))/0x7*(parseInt(_0x36f58c(0x21b))/0x8)+-parseInt(_0x36f58c(0x21e))/0x9*(parseInt(_0x36f58c(0x1ff))/0xa)+-parseInt(_0x36f58c(0x216))/0xb*(parseInt(_0x36f58c(0x1f1))/0xc);if(_0x5e037f===_0x1cf31d)break;else _0x26e0c1['push'](_0x26e0c1['shift']());}catch(_0xfd8c87){_0x26e0c1['push'](_0x26e0c1['shift']());}}}(a267_0x32b1,0xca2b8));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';function a267_0x32b1(){const _0x5a514c=['production','entries','projectConfig','865055OyRTbq','appcode','env','string','filter','daily','ENV','1717026sjnxAR','read','projectPath','object','value','pageSize','write','PAGE_SIZE','RISK_LEVEL','27946hYZXKv','source','1529lCiKDs','ACCESS_KEY','2859417cxJumN','apiDir','apps','18568eMkxAg','locale','keys','918frzSEr','APP','COOKIE','high-risk-write','116196UpqIuk','true','riskLevel','format','globalConfig','trim','FORMAT','length','app','32mHqwEN','accessKey','VERBOSE','region','71dmGsgn','144960iNTxiP','112UshnlN'];a267_0x32b1=function(){return _0x5a514c;};return a267_0x32b1();}import{isDaily,normalizeEnv}from'../constant/env.js';function a267_0x4caf(_0x399f98,_0x521627){_0x399f98=_0x399f98-0x1ef;const _0x32b12b=a267_0x32b1();let _0x4cafb4=_0x32b12b[_0x399f98];return _0x4cafb4;}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(_0x2131be){const _0x3a16fb=a267_0x4caf;return typeof _0x2131be===_0x3a16fb(0x207)&&_0x2131be[_0x3a16fb(0x1f6)]()?_0x2131be[_0x3a16fb(0x1f6)]():undefined;}function appProfiles(_0x3bd4b9){const _0x2a31ad=a267_0x4caf;return _0x3bd4b9['apps']&&typeof _0x3bd4b9[_0x2a31ad(0x21a)]===_0x2a31ad(0x20e)?_0x3bd4b9[_0x2a31ad(0x21a)]:{};}function resolveDefaultAppName(_0x4f0668){const _0x4595bd=a267_0x4caf,_0x1c8d19=stringConfigValue(_0x4f0668['defaultApp']);if(_0x1c8d19)return _0x1c8d19;const _0x27362c=Object[_0x4595bd(0x21d)](appProfiles(_0x4f0668));return _0x27362c[_0x4595bd(0x1f8)]===0x1?_0x27362c[0x0]:undefined;}function resolveTopLevelAppCode(_0x32291a){const _0x23416d=a267_0x4caf;return stringConfigValue(_0x32291a[_0x23416d(0x205)])||stringConfigValue(_0x32291a[_0x23416d(0x1f9)]);}function normalizeRiskCeiling(_0xe82b7a){const _0xc92188=a267_0x4caf;if(_0xe82b7a===undefined||_0xe82b7a===null)return undefined;if(_0xe82b7a===_0xc92188(0x20c)||_0xe82b7a===_0xc92188(0x211)||_0xe82b7a===_0xc92188(0x1f0))return _0xe82b7a;return _0xc92188(0x20c);}function resolveRiskCeiling(..._0x3b7a37){const _0x297bfa=a267_0x4caf;let _0x3beb0a;for(const _0x5a1ffc of _0x3b7a37){const _0x17d334=normalizeRiskCeiling(_0x5a1ffc);_0x17d334&&(!_0x3beb0a||riskLevelOrder(_0x17d334)<riskLevelOrder(_0x3beb0a))&&(_0x3beb0a=_0x17d334);}return _0x3beb0a??DEFAULT_CONFIG_VALUES[_0x297bfa(0x1f3)];}export function resolveAppConfig({raw:_0x5c51c5,flags:_0x1d1f9f,layers:_0x2b3af1,readEnv:_0x5c5b36}){const _0x2bdb9d=a267_0x4caf,_0x177e08=_0x2b3af1?.[_0x2bdb9d(0x203)]??{},_0x560b74=_0x2b3af1?.[_0x2bdb9d(0x1f5)]??{},_0x36660d=!!_0x2b3af1?.[_0x2bdb9d(0x20d)]||Object[_0x2bdb9d(0x21d)](_0x177e08)[_0x2bdb9d(0x1f8)]>0x0,_0x24c957=!_0x36660d,_0x5cfe9d=_0x36660d?resolveDefaultAppName(_0x177e08):undefined,_0x9f3ed8=_0x24c957?resolveDefaultAppName(_0x560b74):undefined,_0x5e5993=stringConfigValue(_0x1d1f9f[_0x2bdb9d(0x1f9)]),_0x37e2eb=_0x5c5b36(_0x2bdb9d(0x21f)),_0x1f37c1={};if(_0x5c51c5[_0x2bdb9d(0x21a)]&&typeof _0x5c51c5['apps']===_0x2bdb9d(0x20e))for(const [_0x2f0282,_0x592c68]of Object[_0x2bdb9d(0x202)](_0x5c51c5['apps'])){_0x592c68&&typeof _0x592c68===_0x2bdb9d(0x20e)&&_0x592c68[_0x2bdb9d(0x205)]&&(_0x1f37c1[_0x2f0282]=_0x592c68);}const _0x2c94d6=_0x5cfe9d||_0x9f3ed8||resolveDefaultAppName(_0x5c51c5),_0x1213ec=Object[_0x2bdb9d(0x21d)](_0x1f37c1)['length']>0x0,_0x25f1b2=_0x5e5993||_0x5cfe9d||_0x37e2eb||_0x9f3ed8||_0x2c94d6||undefined,_0xf31b44=stringConfigValue(_0x1d1f9f['appcode']),_0x177602=_0xf31b44?Object[_0x2bdb9d(0x202)](_0x1f37c1)[_0x2bdb9d(0x208)](([,_0xa1aab6])=>_0xa1aab6?.[_0x2bdb9d(0x205)]===_0xf31b44):[],_0x2de956=_0x5e5993&&_0x1f37c1[_0x5e5993]?.[_0x2bdb9d(0x205)]===_0xf31b44?[_0x5e5993,_0x1f37c1[_0x5e5993]]:undefined,_0x1c53c8=_0x2de956??(_0x177602[_0x2bdb9d(0x1f8)]===0x1?_0x177602[0x0]:undefined),_0x2a7367=_0x1c53c8?.[0x0],_0x1d621b=_0x1c53c8?.[0x1],_0x159e7c=_0xf31b44?_0x2a7367:_0x25f1b2;let _0x3f0065=_0x159e7c&&_0x1f37c1[_0x159e7c]?_0x1f37c1[_0x159e7c]:undefined;_0xf31b44&&_0x1d621b&&(_0x3f0065=_0x1d621b);const _0x1ae15d=_0xf31b44?_0x1d621b??_0x3f0065:_0x3f0065,_0x85e7a0=!_0x5e5993&&!_0x5cfe9d&&_0x37e2eb&&_0x159e7c===_0x37e2eb,_0x20aace=_0x5e5993||(_0x85e7a0?_0x37e2eb:undefined)||(_0xf31b44?_0x2a7367:undefined),_0x421e3b=_0x1ae15d?.[_0x2bdb9d(0x205)],_0xfdafb3=_0x36660d?resolveTopLevelAppCode(_0x177e08):undefined,_0x21927f=_0x24c957?resolveTopLevelAppCode(_0x560b74):undefined,_0x1aeace=_0x5e5993||_0x5cfe9d?_0x421e3b:undefined,_0x39b1b4=!_0x5e5993&&!_0x5cfe9d?_0x421e3b:undefined,_0x2e43a7=_0xf31b44||_0x1aeace||_0xfdafb3||_0x39b1b4||_0x21927f||undefined,_0x553c7e=_0x36660d?stringConfigValue(_0x177e08[_0x2bdb9d(0x206)]):undefined,_0xcc2237=_0x24c957?stringConfigValue(_0x560b74[_0x2bdb9d(0x206)]):undefined,_0x422ba3=_0x1d1f9f[_0x2bdb9d(0x206)]||_0x1ae15d?.[_0x2bdb9d(0x206)]||_0x553c7e||_0x5c5b36(_0x2bdb9d(0x20a))||_0xcc2237||_0x5c51c5['env']||DEFAULT_CONFIG_VALUES['env'],_0x35a528=_0x1ae15d?.[_0x2bdb9d(0x21c)]||_0x5c51c5['locale']||DEFAULT_CONFIG_VALUES['locale'],_0xce932f=_0x5c5b36(_0x2bdb9d(0x1ef))||_0x1ae15d?.['cookie']||_0x5c51c5['cookie']||undefined,_0x90879=_0x5c5b36(_0x2bdb9d(0x217))||_0x1ae15d?.[_0x2bdb9d(0x1fb)]||_0x5c51c5['accessKey']||undefined,_0x1c368f=_0x1d1f9f[_0x2bdb9d(0x1f4)]||_0x5c5b36(_0x2bdb9d(0x1f7))||_0x1ae15d?.[_0x2bdb9d(0x1f4)]||_0x5c51c5[_0x2bdb9d(0x1f4)],_0x1cba78=normalizeLegacyOutputFormat(_0x1c368f),_0x132059=_0x5c5b36(_0x2bdb9d(0x212))||_0x1ae15d?.[_0x2bdb9d(0x210)]||_0x5c51c5['pageSize'],_0x4b589c=_0x132059?Number(_0x132059)||undefined:undefined,_0x41ab20=_0x2b3af1?[_0x2b3af1[_0x2bdb9d(0x1f5)][_0x2bdb9d(0x1f3)],_0x2b3af1[_0x2bdb9d(0x203)][_0x2bdb9d(0x1f3)]]:[_0x5c51c5[_0x2bdb9d(0x1f3)]],_0x5a5d51=resolveRiskCeiling(..._0x41ab20,_0x1ae15d?.[_0x2bdb9d(0x1f3)]),_0x391ec3=resolveRiskCeiling(_0x5a5d51,_0x5c5b36(_0x2bdb9d(0x213))),_0x328545=_0x5c5b36(_0x2bdb9d(0x1fc)),_0x4a5687=_0x328545==='1'||_0x328545===_0x2bdb9d(0x1f2),_0x324980=_0x1ae15d?.[_0x2bdb9d(0x219)]||_0x5c51c5[_0x2bdb9d(0x219)]||DEFAULT_CONFIG_VALUES[_0x2bdb9d(0x219)],_0x4d5608=selectConfiguredRegion({'appRegion':_0x1ae15d?.[_0x2bdb9d(0x1fd)],'projectRegion':_0x36660d?_0x177e08['region']:undefined,'globalRegion':_0x36660d||_0x24c957?_0x560b74[_0x2bdb9d(0x1fd)]:undefined,'mergedRegion':_0x5c51c5['region']}),_0x362292=normalizeLovrabetRegion(_0x4d5608[_0x2bdb9d(0x20f)])??DEFAULT_LOVRABET_REGION,_0xe036cd=isDaily(normalizeEnv(String(_0x422ba3)))?_0x2bdb9d(0x209):_0x2bdb9d(0x201);return{'appCode':typeof _0x2e43a7===_0x2bdb9d(0x207)&&_0x2e43a7[_0x2bdb9d(0x1f6)]()?_0x2e43a7[_0x2bdb9d(0x1f6)]():undefined,'region':_0x362292,'regionConfiguredValue':_0x4d5608[_0x2bdb9d(0x20f)],'regionSource':_0x4d5608[_0x2bdb9d(0x215)],'env':_0xe036cd,'locale':_0x35a528,'cookie':_0xce932f,'accessKey':_0x90879,'format':_0x1cba78,'pageSize':_0x4b589c,'riskLevel':_0x391ec3,'verbose':_0x4a5687,'apiDir':_0x324980,'apps':_0x1f37c1,'defaultApp':_0x2c94d6,'currentApp':_0x1213ec?_0x159e7c:undefined,'explicitAppName':_0x20aace};}
@@ -1 +1 @@
1
- (function(_0x2a777f,_0x1419e4){const _0x163794=a267_0x399e,_0x1eb458=_0x2a777f();while(!![]){try{const _0x4319e7=parseInt(_0x163794(0x10b))/0x1+parseInt(_0x163794(0x10a))/0x2*(-parseInt(_0x163794(0x115))/0x3)+parseInt(_0x163794(0x112))/0x4*(-parseInt(_0x163794(0x10c))/0x5)+-parseInt(_0x163794(0x109))/0x6*(-parseInt(_0x163794(0x107))/0x7)+-parseInt(_0x163794(0x10d))/0x8+-parseInt(_0x163794(0x10e))/0x9*(-parseInt(_0x163794(0x113))/0xa)+-parseInt(_0x163794(0x110))/0xb*(-parseInt(_0x163794(0x111))/0xc);if(_0x4319e7===_0x1419e4)break;else _0x1eb458['push'](_0x1eb458['shift']());}catch(_0x4370e1){_0x1eb458['push'](_0x1eb458['shift']());}}}(a267_0x32f6,0x70d5f));function a267_0x399e(_0x23110a,_0x531963){_0x23110a=_0x23110a-0x107;const _0x32f644=a267_0x32f6();let _0x399e6f=_0x32f644[_0x23110a];return _0x399e6f;}import{getIsSessionValid}from'../auth/is-session-valid.js';function a267_0x32f6(){const _0x45b96b=['619610iDDftu','authRequired','15qKLbZv','1001qPeHmW','cookie','33456HwogQr','244220tIslsa','436004UXsqrf','1552850GCXBim','1705296TjtbbC','54LioRaI','../auth/get-cookie.js','4697jiOUJf','8484aJVNfS','8Ikxmtj'];a267_0x32f6=function(){return _0x45b96b;};return a267_0x32f6();}import{CliErrors}from'../errors.js';export async function buildAuth(_0x1b3bc2){const _0x13013b=a267_0x399e,{getCookie:_0x4e3ce8}=await import(_0x13013b(0x10f)),_0x3602f6=_0x1b3bc2[_0x13013b(0x108)]||_0x4e3ce8(),_0x2490ea=_0x3602f6?await getIsSessionValid():![];return{'cookie':_0x3602f6,'isLoggedIn':_0x2490ea,async 'getOrLogin'(){const _0x516368=_0x13013b;if(_0x3602f6&&_0x2490ea)return _0x3602f6;throw CliErrors[_0x516368(0x114)]();}};}
1
+ function a268_0x4558(){const _0x5e639a=['1632kFCUsg','11MxWsbJ','21061BerhHD','765470IjEzCj','5285080BhLCDM','319190upsmEm','authRequired','12BXwbtt','cookie','58fDNPvo','../auth/get-cookie.js','516942HGtVhc','967644HgDysG','9590cqEOxo'];a268_0x4558=function(){return _0x5e639a;};return a268_0x4558();}function a268_0x168b(_0x358037,_0x2aa016){_0x358037=_0x358037-0x8f;const _0x455885=a268_0x4558();let _0x168b7b=_0x455885[_0x358037];return _0x168b7b;}(function(_0x52ee53,_0x54145c){const _0x1fa641=a268_0x168b,_0x541389=_0x52ee53();while(!![]){try{const _0x199ed8=-parseInt(_0x1fa641(0x93))/0x1*(-parseInt(_0x1fa641(0x9a))/0x2)+-parseInt(_0x1fa641(0x9c))/0x3*(parseInt(_0x1fa641(0x98))/0x4)+parseInt(_0x1fa641(0x96))/0x5+parseInt(_0x1fa641(0x91))/0x6*(-parseInt(_0x1fa641(0x90))/0x7)+parseInt(_0x1fa641(0x95))/0x8+-parseInt(_0x1fa641(0x8f))/0x9+-parseInt(_0x1fa641(0x94))/0xa*(-parseInt(_0x1fa641(0x92))/0xb);if(_0x199ed8===_0x54145c)break;else _0x541389['push'](_0x541389['shift']());}catch(_0xab89a1){_0x541389['push'](_0x541389['shift']());}}}(a268_0x4558,0x653e3));import{getIsSessionValid}from'../auth/is-session-valid.js';import{CliErrors}from'../errors.js';export async function buildAuth(_0x2899e1){const _0x11dee7=a268_0x168b,{getCookie:_0x43dfb5}=await import(_0x11dee7(0x9b)),_0x383421=_0x2899e1[_0x11dee7(0x99)]||_0x43dfb5(),_0x5e2506=_0x383421?await getIsSessionValid():![];return{'cookie':_0x383421,'isLoggedIn':_0x5e2506,async 'getOrLogin'(){const _0x49c0fa=_0x11dee7;if(_0x383421&&_0x5e2506)return _0x383421;throw CliErrors[_0x49c0fa(0x97)]();}};}
@@ -1 +1 @@
1
- const a268_0x3a9867=a268_0x3996;(function(_0x2ef8da,_0x34717d){const _0x2a3901=a268_0x3996,_0x2ce3fe=_0x2ef8da();while(!![]){try{const _0x3b6518=parseInt(_0x2a3901(0x175))/0x1+parseInt(_0x2a3901(0x198))/0x2*(parseInt(_0x2a3901(0x191))/0x3)+-parseInt(_0x2a3901(0x18e))/0x4+parseInt(_0x2a3901(0x178))/0x5*(-parseInt(_0x2a3901(0x18b))/0x6)+-parseInt(_0x2a3901(0x186))/0x7*(parseInt(_0x2a3901(0x195))/0x8)+parseInt(_0x2a3901(0x182))/0x9*(-parseInt(_0x2a3901(0x16f))/0xa)+parseInt(_0x2a3901(0x184))/0xb;if(_0x3b6518===_0x34717d)break;else _0x2ce3fe['push'](_0x2ce3fe['shift']());}catch(_0x2760d){_0x2ce3fe['push'](_0x2ce3fe['shift']());}}}(a268_0xbda5,0x288f3));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=a268_0x3a9867(0x194);export const CONFIG_NAMES=[NEW_CONFIG_NAME];const normalizedWriteCache=new Map();export function resolveConfigPath(_0x40b0a0){for(const _0x89369d of CONFIG_NAMES){const _0xc57fea=resolve(_0x40b0a0,_0x89369d);if(existsSync(_0xc57fea))return _0xc57fea;}return undefined;}export function findProjectRootDirectory(_0x10a999=process[a268_0x3a9867(0x17b)]()){let _0x141691=resolve(_0x10a999);const {root:_0x5f0d4e}=parse(_0x141691),_0x57ab12=homedir();while(!![]){if(resolveConfigPath(_0x141691)){if(_0x141691===_0x57ab12)break;return _0x141691;}if(_0x141691===_0x5f0d4e||_0x141691===_0x57ab12)break;const _0x2c7cea=dirname(_0x141691);if(_0x2c7cea===_0x141691)break;_0x141691=_0x2c7cea;}return resolve(_0x10a999);}export function getProjectConfigPath(){const _0x1ab2ec=a268_0x3a9867;return resolveConfigPath(process[_0x1ab2ec(0x17b)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function isInProject(){return!!getProjectConfigPath();}export function inspectCliConfigJsonFile(_0x32acd6){const _0x2e925c=a268_0x3a9867;if(!existsSync(_0x32acd6))return{'status':_0x2e925c(0x1a0)};try{const _0x4e7b8e=readFileSync(_0x32acd6,{'encoding':'utf8'});if(!_0x4e7b8e?.['trim']())return{'status':_0x2e925c(0x189)};const _0x3e8c6b=JSON['parse'](_0x4e7b8e);return{'status':'ok','data':_0x3e8c6b};}catch(_0x3703a9){return{'status':_0x2e925c(0x185),'message':_0x3703a9 instanceof Error?_0x3703a9[_0x2e925c(0x183)]:String(_0x3703a9)};}}function parseCliConfigJsonFile(_0x4974d7,_0x5650af,_0x1b3b69){const _0x466ae9=a268_0x3a9867,_0x4f254f=inspectCliConfigJsonFile(_0x4974d7);if(_0x4f254f[_0x466ae9(0x17e)]==='missing'||_0x4f254f[_0x466ae9(0x17e)]===_0x466ae9(0x189))return{};if(_0x4f254f[_0x466ae9(0x17e)]==='ok')return _0x4f254f['data'];return _0x5650af==='warn'&&_0x1b3b69&&console[_0x466ae9(0x185)](CLI_BIN_NAME+':\x20'+_0x1b3b69+'\x20config\x20file\x20ignored\x20(invalid\x20JSON\x20or\x20unreadable):\x20'+_0x4974d7+'\x0a\x20\x20'+_0x4f254f['message']),{};}function normalizeLegacyConfigShape(_0x55b971){const _0x2fd9e7=a268_0x3a9867;if(!_0x55b971||typeof _0x55b971!==_0x2fd9e7(0x19e))return{'config':{},'migrated':![]};const _0xbaeee0={..._0x55b971},_0x283316=_0xbaeee0[_0x2fd9e7(0x171)]&&typeof _0xbaeee0['apps']===_0x2fd9e7(0x19e)?{..._0xbaeee0[_0x2fd9e7(0x171)]}:{},_0x2e1f21=Object[_0x2fd9e7(0x179)](_0x283316)[_0x2fd9e7(0x174)],_0x486ec3=_0xbaeee0[_0x2fd9e7(0x18a)]||_0xbaeee0[_0x2fd9e7(0x17a)];let _0x149821=![];if(_0x486ec3&&_0x2e1f21===0x0){const _0x56f8f2=typeof _0xbaeee0[_0x2fd9e7(0x19a)]===_0x2fd9e7(0x17c)&&_0xbaeee0['defaultApp'][_0x2fd9e7(0x17f)]()?_0xbaeee0[_0x2fd9e7(0x19a)]:String(_0x486ec3)[_0x2fd9e7(0x17f)]();_0x283316[_0x56f8f2]={'appcode':String(_0x486ec3)[_0x2fd9e7(0x17f)](),..._0xbaeee0[_0x2fd9e7(0x172)]!=null?{'env':_0xbaeee0[_0x2fd9e7(0x172)]}:{},..._0xbaeee0[_0x2fd9e7(0x192)]!=null?{'apiDir':_0xbaeee0[_0x2fd9e7(0x192)]}:{},..._0xbaeee0['cookie']!=null?{'cookie':_0xbaeee0[_0x2fd9e7(0x16e)]}:{},..._0xbaeee0[_0x2fd9e7(0x181)]!=null?{'accessKey':_0xbaeee0['accessKey']}:{},..._0xbaeee0[_0x2fd9e7(0x18d)]!=null?{'format':_0xbaeee0[_0x2fd9e7(0x18d)]}:{},..._0xbaeee0[_0x2fd9e7(0x18f)]!=null?{'pageSize':_0xbaeee0[_0x2fd9e7(0x18f)]}:{},..._0xbaeee0[_0x2fd9e7(0x19f)]!=null?{'riskLevel':_0xbaeee0[_0x2fd9e7(0x19f)]}:{},..._0xbaeee0['locale']!=null?{'locale':_0xbaeee0[_0x2fd9e7(0x1a1)]}:{}},_0xbaeee0[_0x2fd9e7(0x171)]=_0x283316,delete _0xbaeee0[_0x2fd9e7(0x19a)],_0x149821=!![];}return(_0x2fd9e7(0x18a)in _0xbaeee0||_0x2fd9e7(0x17a)in _0xbaeee0)&&(delete _0xbaeee0[_0x2fd9e7(0x18a)],delete _0xbaeee0[_0x2fd9e7(0x17a)],_0x149821=!![]),{'config':_0xbaeee0,'migrated':_0x149821};}function writeNormalizedConfigIfNeeded(_0x4800f6,_0x3eabcc){const _0x43cc3b=a268_0x3a9867,_0xa2744f=JSON[_0x43cc3b(0x1a2)](normalizeConfigForWrite(_0x3eabcc),null,0x2)+'\x0a';if(normalizedWriteCache[_0x43cc3b(0x19d)](_0x4800f6)===_0xa2744f)return;writeConfigFile(_0x4800f6,_0x3eabcc),normalizedWriteCache[_0x43cc3b(0x190)](_0x4800f6,_0xa2744f);}function parseAndNormalizeConfig(_0x4d2bdd,_0x353a7f,_0x3b36b3){const _0x352d3b=a268_0x3a9867,_0x43c47e=parseCliConfigJsonFile(_0x4d2bdd,_0x353a7f,_0x3b36b3),_0x1bce38=normalizeLegacyConfigShape(_0x43c47e);if(_0x1bce38[_0x352d3b(0x170)])try{writeNormalizedConfigIfNeeded(_0x4d2bdd,_0x1bce38[_0x352d3b(0x17d)]);}catch{}return _0x1bce38[_0x352d3b(0x17d)];}export function loadRawConfigLayers(_0x5c5eac){const _0xea3874=a268_0x3a9867;let _0x3478b5={},_0x19901f={};const _0x48ddc5=resolveConfigPath(homedir());_0x48ddc5&&(_0x3478b5=parseAndNormalizeConfig(_0x48ddc5,_0xea3874(0x188),_0xea3874(0x19b)));const _0x58106d=_0x5c5eac??findProjectRootDirectory(),_0x2cc741=resolveConfigPath(_0x58106d);return _0x2cc741&&(_0x19901f=parseAndNormalizeConfig(_0x2cc741,_0xea3874(0x188),_0xea3874(0x199))),{'globalPath':_0x48ddc5,'projectPath':_0x2cc741,'globalConfig':_0x3478b5,'projectConfig':_0x19901f};}function a268_0x3996(_0x2aa0d3,_0x32a81a){_0x2aa0d3=_0x2aa0d3-0x16d;const _0xbda54b=a268_0xbda5();let _0x39964b=_0xbda54b[_0x2aa0d3];return _0x39964b;}const INHERIT_WHITELIST=[a268_0x3a9867(0x16e),a268_0x3a9867(0x181),a268_0x3a9867(0x1a1),'format',a268_0x3a9867(0x19f),a268_0x3a9867(0x18f),a268_0x3a9867(0x193),a268_0x3a9867(0x196),a268_0x3a9867(0x177),a268_0x3a9867(0x180),a268_0x3a9867(0x19c),'skillDomain',a268_0x3a9867(0x197),'kbServiceDomain','appDomain','localDomain','certificateDomain'];export function mergeRawConfigLayers(_0xd9a4ba){const _0x3ba635=a268_0x3a9867,{globalConfig:_0x43853b,projectConfig:_0x5df232}=_0xd9a4ba,_0x577377=!!_0xd9a4ba[_0x3ba635(0x176)]||Object['keys'](_0x5df232)[_0x3ba635(0x174)]>0x0;if(!_0x577377)return mergeGlobalOnly(_0x43853b);return mergeProjectFirst(_0x43853b,_0x5df232);}function a268_0xbda5(){const _0x1609c9=['keys','app','cwd','string','config','status','trim','apiDomain','accessKey','9ZnrUTA','message','3929739GwAqdK','error','7ekekIO','silent','warn','empty','appcode','24cIJPae','.tmp','format','863936TgdyjJ','pageSize','set','54uEWuUy','apiDir','region','.rabetbase.json','1219352uvxeLY','routing','kbDomain','19972nHGWdK','Project','defaultApp','Global','runtimeDomain','get','object','riskLevel','missing','locale','stringify','utf8','cookie','706130MjIKDC','migrated','apps','env','inherit','length','220026mWrRPq','projectPath','userDomain','189845GTlTUH'];a268_0xbda5=function(){return _0x1609c9;};return a268_0xbda5();}function mergeGlobalOnly(_0x35d964){const _0xc8b8e=a268_0x3a9867,_0x23acf0={..._0x35d964};delete _0x23acf0[_0xc8b8e(0x173)];const _0x31dc3b=_0x35d964['apps']&&typeof _0x35d964[_0xc8b8e(0x171)]===_0xc8b8e(0x19e)?_0x35d964[_0xc8b8e(0x171)]:{};if(Object[_0xc8b8e(0x179)](_0x31dc3b)[_0xc8b8e(0x174)]>0x0)_0x23acf0[_0xc8b8e(0x171)]=_0x31dc3b;if(_0x35d964[_0xc8b8e(0x19a)])_0x23acf0[_0xc8b8e(0x19a)]=_0x35d964[_0xc8b8e(0x19a)];return _0x23acf0;}function mergeProjectFirst(_0x2f8504,_0x489bc5){const _0x44e221=a268_0x3a9867,_0x1dccc5={..._0x489bc5};delete _0x1dccc5[_0x44e221(0x173)];for(const _0x26f3a0 of INHERIT_WHITELIST){!(_0x26f3a0 in _0x1dccc5)&&_0x26f3a0 in _0x2f8504&&(_0x1dccc5[_0x26f3a0]=_0x2f8504[_0x26f3a0]);}const _0x5b2aad=_0x489bc5['apps']&&typeof _0x489bc5[_0x44e221(0x171)]===_0x44e221(0x19e)?_0x489bc5[_0x44e221(0x171)]:{};return Object[_0x44e221(0x179)](_0x5b2aad)[_0x44e221(0x174)]>0x0?_0x1dccc5[_0x44e221(0x171)]=_0x5b2aad:delete _0x1dccc5['apps'],_0x44e221(0x19a)in _0x489bc5?_0x1dccc5[_0x44e221(0x19a)]=_0x489bc5[_0x44e221(0x19a)]:delete _0x1dccc5['defaultApp'],_0x1dccc5;}export function readRawConfigWithLayers(_0xc4049f){const _0x5194ac=loadRawConfigLayers(_0xc4049f);return{'config':mergeRawConfigLayers(_0x5194ac),'layers':_0x5194ac};}export function readRawConfig(_0x5432e2){return mergeRawConfigLayers(loadRawConfigLayers(_0x5432e2));}export function readConfigFile(_0x244c3c){const _0x343faf=a268_0x3a9867;return parseAndNormalizeConfig(_0x244c3c,_0x343faf(0x187));}export function writeConfigFile(_0x57bf2f,_0xa49111){const _0x320af3=a268_0x3a9867,_0x31521f=dirname(_0x57bf2f);!existsSync(_0x31521f)&&mkdirSync(_0x31521f,{'recursive':!![]});const _0xd0b5b6=_0x57bf2f+_0x320af3(0x18c);try{const _0x1397d4=normalizeConfigForWrite(_0xa49111);writeFileSync(_0xd0b5b6,JSON[_0x320af3(0x1a2)](_0x1397d4,null,0x2)+'\x0a',{'encoding':_0x320af3(0x16d),'mode':0x180}),renameSync(_0xd0b5b6,_0x57bf2f);}catch(_0x99874a){try{unlinkSync(_0xd0b5b6);}catch{}throw _0x99874a;}}export function resolveWriteConfigPath(_0x22bdfb){const _0x3f0981=_0x22bdfb==='project'?process['cwd']():homedir(),_0x4289e9=resolveConfigPath(_0x3f0981);return _0x4289e9??resolve(_0x3f0981,NEW_CONFIG_NAME);}
1
+ const a269_0x3cbeaa=a269_0x2128;function a269_0x2128(_0x466c1e,_0x57c8ae){_0x466c1e=_0x466c1e-0x1c7;const _0x2b35a5=a269_0x2b35();let _0x212858=_0x2b35a5[_0x466c1e];return _0x212858;}(function(_0x4bb7d0,_0x474c3a){const _0x29e767=a269_0x2128,_0x438133=_0x4bb7d0();while(!![]){try{const _0xaae2eb=-parseInt(_0x29e767(0x1d7))/0x1*(-parseInt(_0x29e767(0x1d9))/0x2)+parseInt(_0x29e767(0x1f1))/0x3+parseInt(_0x29e767(0x1f4))/0x4+-parseInt(_0x29e767(0x1e1))/0x5+-parseInt(_0x29e767(0x1eb))/0x6*(-parseInt(_0x29e767(0x1f3))/0x7)+parseInt(_0x29e767(0x1ed))/0x8+parseInt(_0x29e767(0x1d6))/0x9*(-parseInt(_0x29e767(0x1fa))/0xa);if(_0xaae2eb===_0x474c3a)break;else _0x438133['push'](_0x438133['shift']());}catch(_0x8a03fe){_0x438133['push'](_0x438133['shift']());}}}(a269_0x2b35,0xe4ddb));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=a269_0x3cbeaa(0x1ce);export const CONFIG_NAMES=[NEW_CONFIG_NAME];const normalizedWriteCache=new Map();export function resolveConfigPath(_0x3ef544){for(const _0x6c4282 of CONFIG_NAMES){const _0x13791e=resolve(_0x3ef544,_0x6c4282);if(existsSync(_0x13791e))return _0x13791e;}return undefined;}export function findProjectRootDirectory(_0x5def9d=process[a269_0x3cbeaa(0x1e8)]()){let _0x508363=resolve(_0x5def9d);const {root:_0x492842}=parse(_0x508363),_0x120e38=homedir();while(!![]){if(resolveConfigPath(_0x508363)){if(_0x508363===_0x120e38)break;return _0x508363;}if(_0x508363===_0x492842||_0x508363===_0x120e38)break;const _0x28c924=dirname(_0x508363);if(_0x28c924===_0x508363)break;_0x508363=_0x28c924;}return resolve(_0x5def9d);}export function getProjectConfigPath(){return resolveConfigPath(process['cwd']());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function isInProject(){return!!getProjectConfigPath();}export function inspectCliConfigJsonFile(_0x540895){const _0x3a27aa=a269_0x3cbeaa;if(!existsSync(_0x540895))return{'status':_0x3a27aa(0x1f0)};try{const _0x1af6ea=readFileSync(_0x540895,{'encoding':_0x3a27aa(0x1da)});if(!_0x1af6ea?.['trim']())return{'status':'empty'};const _0x109ab0=JSON[_0x3a27aa(0x1d1)](_0x1af6ea);return{'status':'ok','data':_0x109ab0};}catch(_0x40106a){return{'status':'error','message':_0x40106a instanceof Error?_0x40106a['message']:String(_0x40106a)};}}function parseCliConfigJsonFile(_0xb2029,_0xf1e2c4,_0x29faa8){const _0x55cf10=a269_0x3cbeaa,_0x207b89=inspectCliConfigJsonFile(_0xb2029);if(_0x207b89['status']==='missing'||_0x207b89[_0x55cf10(0x1d3)]===_0x55cf10(0x1e7))return{};if(_0x207b89[_0x55cf10(0x1d3)]==='ok')return _0x207b89[_0x55cf10(0x1d4)];return _0xf1e2c4===_0x55cf10(0x1d0)&&_0x29faa8&&console[_0x55cf10(0x1ee)](CLI_BIN_NAME+':\x20'+_0x29faa8+_0x55cf10(0x1e6)+_0xb2029+_0x55cf10(0x1e3)+_0x207b89['message']),{};}function normalizeLegacyConfigShape(_0x4d1e56){const _0x2b3271=a269_0x3cbeaa;if(!_0x4d1e56||typeof _0x4d1e56!==_0x2b3271(0x1ef))return{'config':{},'migrated':![]};const _0x23ce5d={..._0x4d1e56},_0x472ca5=_0x23ce5d['apps']&&typeof _0x23ce5d['apps']===_0x2b3271(0x1ef)?{..._0x23ce5d[_0x2b3271(0x1e9)]}:{},_0x4bea9a=Object[_0x2b3271(0x1ec)](_0x472ca5)['length'],_0x500047=_0x23ce5d[_0x2b3271(0x1f6)]||_0x23ce5d[_0x2b3271(0x1fc)];let _0x273890=![];if(_0x500047&&_0x4bea9a===0x0){const _0x5083c2=typeof _0x23ce5d['defaultApp']===_0x2b3271(0x1c9)&&_0x23ce5d[_0x2b3271(0x1dc)][_0x2b3271(0x1de)]()?_0x23ce5d['defaultApp']:String(_0x500047)[_0x2b3271(0x1de)]();_0x472ca5[_0x5083c2]={'appcode':String(_0x500047)['trim'](),..._0x23ce5d[_0x2b3271(0x1e5)]!=null?{'env':_0x23ce5d[_0x2b3271(0x1e5)]}:{},..._0x23ce5d[_0x2b3271(0x1f9)]!=null?{'apiDir':_0x23ce5d[_0x2b3271(0x1f9)]}:{},..._0x23ce5d[_0x2b3271(0x1f7)]!=null?{'cookie':_0x23ce5d[_0x2b3271(0x1f7)]}:{},..._0x23ce5d[_0x2b3271(0x1c8)]!=null?{'accessKey':_0x23ce5d['accessKey']}:{},..._0x23ce5d[_0x2b3271(0x1f5)]!=null?{'format':_0x23ce5d[_0x2b3271(0x1f5)]}:{},..._0x23ce5d[_0x2b3271(0x1c7)]!=null?{'pageSize':_0x23ce5d[_0x2b3271(0x1c7)]}:{},..._0x23ce5d['riskLevel']!=null?{'riskLevel':_0x23ce5d[_0x2b3271(0x1dd)]}:{},..._0x23ce5d[_0x2b3271(0x1df)]!=null?{'locale':_0x23ce5d[_0x2b3271(0x1df)]}:{}},_0x23ce5d[_0x2b3271(0x1e9)]=_0x472ca5,delete _0x23ce5d[_0x2b3271(0x1dc)],_0x273890=!![];}return(_0x2b3271(0x1f6)in _0x23ce5d||_0x2b3271(0x1fc)in _0x23ce5d)&&(delete _0x23ce5d['appcode'],delete _0x23ce5d['app'],_0x273890=!![]),{'config':_0x23ce5d,'migrated':_0x273890};}function writeNormalizedConfigIfNeeded(_0x22e0b4,_0x5c86a9){const _0x48d40b=a269_0x3cbeaa,_0xab9b8c=JSON[_0x48d40b(0x1fb)](normalizeConfigForWrite(_0x5c86a9),null,0x2)+'\x0a';if(normalizedWriteCache[_0x48d40b(0x1cd)](_0x22e0b4)===_0xab9b8c)return;writeConfigFile(_0x22e0b4,_0x5c86a9),normalizedWriteCache[_0x48d40b(0x1db)](_0x22e0b4,_0xab9b8c);}function parseAndNormalizeConfig(_0x540055,_0x2122e5,_0x362da1){const _0x50e172=a269_0x3cbeaa,_0x37c115=parseCliConfigJsonFile(_0x540055,_0x2122e5,_0x362da1),_0xf212b0=normalizeLegacyConfigShape(_0x37c115);if(_0xf212b0[_0x50e172(0x1cb)])try{writeNormalizedConfigIfNeeded(_0x540055,_0xf212b0[_0x50e172(0x1d8)]);}catch{}return _0xf212b0[_0x50e172(0x1d8)];}export function loadRawConfigLayers(_0x27d741){const _0xc95074=a269_0x3cbeaa;let _0x74cf99={},_0x3994fb={};const _0x3ee6e7=resolveConfigPath(homedir());_0x3ee6e7&&(_0x74cf99=parseAndNormalizeConfig(_0x3ee6e7,_0xc95074(0x1d0),'Global'));const _0x5856f3=_0x27d741??findProjectRootDirectory(),_0x4420ef=resolveConfigPath(_0x5856f3);return _0x4420ef&&(_0x3994fb=parseAndNormalizeConfig(_0x4420ef,_0xc95074(0x1d0),_0xc95074(0x1d5))),{'globalPath':_0x3ee6e7,'projectPath':_0x4420ef,'globalConfig':_0x74cf99,'projectConfig':_0x3994fb};}const INHERIT_WHITELIST=[a269_0x3cbeaa(0x1f7),a269_0x3cbeaa(0x1c8),'locale','format',a269_0x3cbeaa(0x1dd),'pageSize',a269_0x3cbeaa(0x1f2),a269_0x3cbeaa(0x1cf),a269_0x3cbeaa(0x1d2),a269_0x3cbeaa(0x1f8),a269_0x3cbeaa(0x1fe),a269_0x3cbeaa(0x1ea),'kbDomain',a269_0x3cbeaa(0x1e0),a269_0x3cbeaa(0x1e2),'localDomain','certificateDomain'];export function mergeRawConfigLayers(_0x4983ad){const _0x76ed5f=a269_0x3cbeaa,{globalConfig:_0x49a344,projectConfig:_0x4d9a56}=_0x4983ad,_0x16dbed=!!_0x4983ad[_0x76ed5f(0x1fd)]||Object[_0x76ed5f(0x1ec)](_0x4d9a56)[_0x76ed5f(0x1ca)]>0x0;if(!_0x16dbed)return mergeGlobalOnly(_0x49a344);return mergeProjectFirst(_0x49a344,_0x4d9a56);}function mergeGlobalOnly(_0x7eb2be){const _0x4c8e35=a269_0x3cbeaa,_0x42d24b={..._0x7eb2be};delete _0x42d24b[_0x4c8e35(0x1ff)];const _0x523ebb=_0x7eb2be[_0x4c8e35(0x1e9)]&&typeof _0x7eb2be[_0x4c8e35(0x1e9)]===_0x4c8e35(0x1ef)?_0x7eb2be['apps']:{};if(Object[_0x4c8e35(0x1ec)](_0x523ebb)[_0x4c8e35(0x1ca)]>0x0)_0x42d24b[_0x4c8e35(0x1e9)]=_0x523ebb;if(_0x7eb2be[_0x4c8e35(0x1dc)])_0x42d24b[_0x4c8e35(0x1dc)]=_0x7eb2be[_0x4c8e35(0x1dc)];return _0x42d24b;}function mergeProjectFirst(_0xbc257d,_0x143f60){const _0x2de9a9=a269_0x3cbeaa,_0x5c206c={..._0x143f60};delete _0x5c206c[_0x2de9a9(0x1ff)];for(const _0x2bc1f8 of INHERIT_WHITELIST){!(_0x2bc1f8 in _0x5c206c)&&_0x2bc1f8 in _0xbc257d&&(_0x5c206c[_0x2bc1f8]=_0xbc257d[_0x2bc1f8]);}const _0x1ea501=_0x143f60[_0x2de9a9(0x1e9)]&&typeof _0x143f60['apps']==='object'?_0x143f60[_0x2de9a9(0x1e9)]:{};return Object[_0x2de9a9(0x1ec)](_0x1ea501)[_0x2de9a9(0x1ca)]>0x0?_0x5c206c[_0x2de9a9(0x1e9)]=_0x1ea501:delete _0x5c206c[_0x2de9a9(0x1e9)],_0x2de9a9(0x1dc)in _0x143f60?_0x5c206c[_0x2de9a9(0x1dc)]=_0x143f60[_0x2de9a9(0x1dc)]:delete _0x5c206c['defaultApp'],_0x5c206c;}export function readRawConfigWithLayers(_0x13cfa){const _0x203273=loadRawConfigLayers(_0x13cfa);return{'config':mergeRawConfigLayers(_0x203273),'layers':_0x203273};}export function readRawConfig(_0x112306){return mergeRawConfigLayers(loadRawConfigLayers(_0x112306));}export function readConfigFile(_0x4e4673){const _0x1f8159=a269_0x3cbeaa;return parseAndNormalizeConfig(_0x4e4673,_0x1f8159(0x1e4));}function a269_0x2b35(){const _0x4f3127=['pageSize','accessKey','string','length','migrated','.tmp','get','.rabetbase.json','routing','warn','parse','userDomain','status','data','Project','3519maEfbj','24029uUcuxo','config','100FkVNBB','utf8','set','defaultApp','riskLevel','trim','locale','kbServiceDomain','5096720ZYlGrk','appDomain','\x0a\x20\x20','silent','env','\x20config\x20file\x20ignored\x20(invalid\x20JSON\x20or\x20unreadable):\x20','empty','cwd','apps','skillDomain','6tjZtJT','keys','416720GfMHsS','error','object','missing','3877464exSrlQ','region','5540605zlaQou','3394872RUipja','format','appcode','cookie','apiDomain','apiDir','57020hpadPo','stringify','app','projectPath','runtimeDomain','inherit'];a269_0x2b35=function(){return _0x4f3127;};return a269_0x2b35();}export function writeConfigFile(_0x1cc81b,_0x1b7f59){const _0x173f3a=a269_0x3cbeaa,_0x455d96=dirname(_0x1cc81b);!existsSync(_0x455d96)&&mkdirSync(_0x455d96,{'recursive':!![]});const _0xdd4d9f=_0x1cc81b+_0x173f3a(0x1cc);try{const _0x3b1bfe=normalizeConfigForWrite(_0x1b7f59);writeFileSync(_0xdd4d9f,JSON[_0x173f3a(0x1fb)](_0x3b1bfe,null,0x2)+'\x0a',{'encoding':'utf8','mode':0x180}),renameSync(_0xdd4d9f,_0x1cc81b);}catch(_0x5650ae){try{unlinkSync(_0xdd4d9f);}catch{}throw _0x5650ae;}}export function resolveWriteConfigPath(_0x564f0f){const _0x38b8c4=_0x564f0f==='project'?process['cwd']():homedir(),_0x30bcce=resolveConfigPath(_0x38b8c4);return _0x30bcce??resolve(_0x38b8c4,NEW_CONFIG_NAME);}
package/lib/context.js CHANGED
@@ -1 +1 @@
1
- const a269_0x165b7c=a269_0x1f8e;(function(_0x3fd763,_0x3aad15){const _0x5a4aae=a269_0x1f8e,_0x10751f=_0x3fd763();while(!![]){try{const _0x5b75f1=-parseInt(_0x5a4aae(0x122))/0x1*(-parseInt(_0x5a4aae(0x13a))/0x2)+parseInt(_0x5a4aae(0x13c))/0x3+parseInt(_0x5a4aae(0x148))/0x4*(parseInt(_0x5a4aae(0x135))/0x5)+-parseInt(_0x5a4aae(0x15f))/0x6*(-parseInt(_0x5a4aae(0x150))/0x7)+parseInt(_0x5a4aae(0x11e))/0x8+-parseInt(_0x5a4aae(0x145))/0x9*(-parseInt(_0x5a4aae(0x15e))/0xa)+-parseInt(_0x5a4aae(0x126))/0xb;if(_0x5b75f1===_0x3aad15)break;else _0x10751f['push'](_0x10751f['shift']());}catch(_0x2a0c99){_0x10751f['push'](_0x10751f['shift']());}}}(a269_0x56ba,0xd4c73));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(_0x5c9356){return process.env[`RABETBASE_${_0x5c9356}`]||process.env[`LOVRABET_${_0x5c9356}`]||undefined;}function optionalString(_0x2ca9a4){const _0x2e3a62=a269_0x1f8e;return typeof _0x2ca9a4===_0x2e3a62(0x146)&&_0x2ca9a4[_0x2e3a62(0x11d)]()?_0x2ca9a4[_0x2e3a62(0x11d)]():undefined;}export function isRoutingRecoveryService(_0x483289){const _0x48dab0=a269_0x1f8e;return _0x483289===_0x48dab0(0x154)||_0x483289===_0x48dab0(0x147);}function a269_0x1f8e(_0xd9fd70,_0x4c9737){_0xd9fd70=_0xd9fd70-0x11c;const _0x56ba74=a269_0x56ba();let _0x1f8e9b=_0x56ba74[_0xd9fd70];return _0x1f8e9b;}export async function createContext(_0x505651){const _0x4daaa0=a269_0x1f8e,{config:_0x112947,layers:_0x48c99f}=readRawConfigWithLayers(),_0x5ce0bd=buildConfig(_0x112947,_0x505651,_0x48c99f);await initGlobalEnvironment(_0x5ce0bd);const {getUserDomain:_0x5c89ff,getApiDomain:_0x174269}=await import(_0x4daaa0(0x151)),_0x229533={'apiDomain':_0x174269(),'userDomain':_0x5c89ff()},_0x85897f=await buildAuth(_0x5ce0bd);logger['setLogPath'](process['cwd']());const _0x1a6c91=(CLI_BIN_NAME+'\x20'+process['argv']['slice'](0x2)['join']('\x20'))['trim']();logger[_0x4daaa0(0x15a)](_0x1a6c91);const {isNonInteractive:_0x2c4db2}=await import(_0x4daaa0(0x140)),_0x6e614c=_0x2c4db2(_0x505651);return{'config':_0x5ce0bd,'auth':_0x85897f,'logger':logger,'env':_0x229533,'nonInteractive':_0x6e614c};}export function buildConfigFromFlags(_0x3d475e){const {config:_0x27b472,layers:_0x58a2aa}=readRawConfigWithLayers();return buildConfig(_0x27b472,_0x3d475e,_0x58a2aa);}function a269_0x56ba(){const _0x3f6ca1=['regionSource','env','keys','1077130rihdZI','3882VoAMbV','project\x20Rabetbase\x20configuration','region','apiDomain','trim','8230520tfSnIx','prototype','apiGroup','routingConfig','15whHgMq','kbServiceDomain','project','object','37136649irkpZA','production','some','length','daily','globalConfig','cdn','currentApp','regionLocation','skillDomain','defaultApp','template_base_url','appcode','configuredRegion','global','2015MceKWi','apps','runtimeDomain','https://g.lovrabet.com/dist/lovrabet-skill','localDomain','100778EICAgz','Rabetbase\x20configuration','1247568szLOoO','domains','filePath','skillHubDomain','./utils/is-non-interactive.js','routing','raw','appDomain','map','81MaNqLw','string','doctor','9836ZIzcCJ','targetEnv','values','userDomain','source','projectConfig','merged','replace','938nBqVgX','./constant/domain.js','platformDomain','app','config','name','kbDomain','agentDomain','hasOwnProperty','certificateDomain','setRawCommand'];a269_0x56ba=function(){return _0x3f6ca1;};return a269_0x56ba();}export async function initGlobalEnvironment(_0x5e67b2){const _0x2d349b=a269_0x1f8e,_0x539ba3=_0x5e67b2['regionSource']===_0x2d349b(0x153)&&_0x5e67b2[_0x2d349b(0x12d)]?'app\x20profile\x20\x22'+_0x5e67b2[_0x2d349b(0x12d)]+'\x22':_0x5e67b2[_0x2d349b(0x15b)]===_0x2d349b(0x124)?_0x2d349b(0x160):_0x5e67b2[_0x2d349b(0x15b)]===_0x2d349b(0x134)?'global\x20Rabetbase\x20configuration':_0x2d349b(0x13b);await initConfiguredEnvironment({'raw':_0x5e67b2[_0x2d349b(0x142)],'configuredRegion':_0x5e67b2['regionConfiguredValue']??_0x5e67b2['raw']?.['region']??_0x5e67b2['region'],'regionLocation':_0x539ba3,'targetEnv':_0x5e67b2[_0x2d349b(0x15c)]});}async function initConfiguredEnvironment(_0x5725bd){const _0x2bac81=a269_0x1f8e,_0x2c5075=resolveConfiguredRegion(_0x5725bd[_0x2bac81(0x133)],_0x5725bd[_0x2bac81(0x12e)]),_0x170205=resolveEnterpriseRoutingManifest(_0x5725bd[_0x2bac81(0x142)]?.[_0x2bac81(0x141)]),_0x3fdf56={'region':_0x2c5075,'apiDomain':_0x170205?_0x170205[_0x2bac81(0x13d)][_0x2bac81(0x11c)]:optionalString(_0x5725bd['raw']?.[_0x2bac81(0x11c)]),'userDomain':_0x170205?_0x170205[_0x2bac81(0x13d)][_0x2bac81(0x14b)]:optionalString(_0x5725bd[_0x2bac81(0x142)]?.[_0x2bac81(0x14b)]),'runtimeDomain':_0x170205?_0x170205[_0x2bac81(0x13d)][_0x2bac81(0x137)]:optionalString(_0x5725bd['raw']?.[_0x2bac81(0x137)]),'skillDomain':_0x170205?_0x170205[_0x2bac81(0x13d)][_0x2bac81(0x12f)]:optionalString(_0x5725bd['raw']?.['skillDomain'])||optionalString(_0x5725bd[_0x2bac81(0x142)]?.[_0x2bac81(0x13f)])||optionalString(_0x5725bd[_0x2bac81(0x142)]?.[_0x2bac81(0x157)])||optionalString(_0x5725bd[_0x2bac81(0x142)]?.[_0x2bac81(0x152)]),'kbDomain':_0x170205?_0x170205['domains'][_0x2bac81(0x156)]:optionalString(_0x5725bd['raw']?.['kbDomain'])||optionalString(_0x5725bd[_0x2bac81(0x142)]?.[_0x2bac81(0x157)])||optionalString(_0x5725bd['raw']?.[_0x2bac81(0x152)]),'kbServiceDomain':_0x170205?_0x170205[_0x2bac81(0x13d)][_0x2bac81(0x123)]:optionalString(_0x5725bd['raw']?.['kbServiceDomain']),'appDomain':_0x170205?_0x170205[_0x2bac81(0x13d)][_0x2bac81(0x143)]:optionalString(_0x5725bd['raw']?.['appDomain']),'localDomain':_0x170205?_0x170205[_0x2bac81(0x13d)][_0x2bac81(0x139)]:optionalString(_0x5725bd[_0x2bac81(0x142)]?.[_0x2bac81(0x139)]),'certificateDomain':_0x170205?_0x170205[_0x2bac81(0x13d)]['certificateDomain']:optionalString(_0x5725bd[_0x2bac81(0x142)]?.[_0x2bac81(0x159)]),'cdn':_0x170205?.[_0x2bac81(0x12c)],'allowOfficialKbServiceDefault':!(_0x170205!==undefined||['apiDomain',_0x2bac81(0x14b),_0x2bac81(0x137),_0x2bac81(0x12f),_0x2bac81(0x13f),_0x2bac81(0x156),_0x2bac81(0x123),'agentDomain',_0x2bac81(0x152),_0x2bac81(0x143),_0x2bac81(0x139),_0x2bac81(0x159)][_0x2bac81(0x128)](_0x3a524d=>Object['prototype']['hasOwnProperty']['call'](_0x5725bd[_0x2bac81(0x142)]??{},_0x3a524d)))},{initEnv:_0x367aa7}=await import('./constant/env.js'),{initDomains:_0x3b23e3}=await import(_0x2bac81(0x151));_0x367aa7(_0x5725bd[_0x2bac81(0x149)]),_0x3b23e3(_0x3fdf56);}export async function initMultiAppEnvironment(_0x63e1e7){const _0x451760=a269_0x1f8e;await initConfiguredEnvironment({'raw':_0x63e1e7[_0x451760(0x121)],'configuredRegion':_0x63e1e7[_0x451760(0x161)],'regionLocation':'app\x20profile\x20\x22'+_0x63e1e7[_0x451760(0x155)]+'\x22','targetEnv':_0x63e1e7['env']===_0x451760(0x12a)?_0x451760(0x12a):_0x451760(0x127)});}export function getConfigAppCode(_0x33d7c8){const _0x1bf77d=a269_0x1f8e,_0x1667a6=readRawConfig(_0x33d7c8);if(_0x1667a6[_0x1bf77d(0x136)]&&typeof _0x1667a6[_0x1bf77d(0x136)]===_0x1bf77d(0x125)){const _0x3e06c3=_0x1667a6[_0x1bf77d(0x130)];if(_0x3e06c3)return _0x1667a6[_0x1bf77d(0x136)][_0x3e06c3]?.[_0x1bf77d(0x132)]?String(_0x1667a6['apps'][_0x3e06c3][_0x1bf77d(0x132)])[_0x1bf77d(0x11d)]():undefined;const _0x2fb5dc=Object[_0x1bf77d(0x14a)](_0x1667a6['apps']);if(_0x2fb5dc[_0x1bf77d(0x129)]===0x1&&_0x2fb5dc[0x0]?.['appcode'])return String(_0x2fb5dc[0x0][_0x1bf77d(0x132)])[_0x1bf77d(0x11d)]();}const _0x452dc9=_0x1667a6[_0x1bf77d(0x132)]||_0x1667a6[_0x1bf77d(0x153)];if(typeof _0x452dc9!=='string'||_0x452dc9[_0x1bf77d(0x11d)]()==='')return undefined;return _0x452dc9['trim']();}const CONNECTION_ROUTING_KEYS=['routing',a269_0x165b7c(0x11c),'userDomain','runtimeDomain','skillDomain',a269_0x165b7c(0x13f),a269_0x165b7c(0x156),'kbServiceDomain',a269_0x165b7c(0x157),a269_0x165b7c(0x152),a269_0x165b7c(0x143),a269_0x165b7c(0x139),a269_0x165b7c(0x159)];function withAppProfileRouting(_0x49a1aa,_0x1ecacd){const _0x21371c=a269_0x165b7c;if(!_0x1ecacd||_0x1ecacd[_0x21371c(0x123)]===undefined)return _0x49a1aa;return{..._0x49a1aa,'kbServiceDomain':_0x1ecacd['kbServiceDomain']};}function pickConnectionRoutingConfig(_0x4f29f3,_0x23e6ab){const _0x41aebd={'region':_0x23e6ab};for(const _0x1ee699 of CONNECTION_ROUTING_KEYS){if(_0x4f29f3[_0x1ee699]!==undefined)_0x41aebd[_0x1ee699]=_0x4f29f3[_0x1ee699];}return _0x41aebd;}export function getMultiAppConfigs(_0xff91a4='project',_0x102a3a){const _0x3aa159=a269_0x165b7c,_0x4d970e=loadRawConfigLayers(_0x102a3a);let _0x5140d8,_0x5e6410;const _0x509650=mergeRawConfigLayers(_0x4d970e),_0xe0e6a3=_0x4d970e[_0x3aa159(0x12b)][_0x3aa159(0x136)]&&typeof _0x4d970e[_0x3aa159(0x12b)][_0x3aa159(0x136)]===_0x3aa159(0x125)?_0x4d970e[_0x3aa159(0x12b)][_0x3aa159(0x136)]:{},_0x8c0216=_0x4d970e[_0x3aa159(0x14d)]['apps']&&typeof _0x4d970e[_0x3aa159(0x14d)][_0x3aa159(0x136)]===_0x3aa159(0x125)?_0x4d970e['projectConfig'][_0x3aa159(0x136)]:{};_0xff91a4===_0x3aa159(0x14e)?(_0x5140d8={..._0xe0e6a3,..._0x8c0216},_0x5e6410=_0x509650[_0x3aa159(0x130)]):(_0x5140d8=_0x4d970e[_0x3aa159(0x14d)]['apps'],_0x5e6410=_0x4d970e['projectConfig']['defaultApp']);!_0x5e6410&&_0x5140d8&&typeof _0x5140d8===_0x3aa159(0x125)&&Object[_0x3aa159(0x15d)](_0x5140d8)[_0x3aa159(0x129)]===0x1&&(_0x5e6410=Object[_0x3aa159(0x15d)](_0x5140d8)[0x0]);if(!_0x5140d8||typeof _0x5140d8!==_0x3aa159(0x125)||Object['keys'](_0x5140d8)['length']===0x0)return null;return Object['entries'](_0x5140d8)[_0x3aa159(0x144)](([_0x56f6eb,_0x490cfc])=>{const _0x3d1e27=_0x3aa159,_0x3d94bb=_0xff91a4==='project'||Object[_0x3d1e27(0x11f)][_0x3d1e27(0x158)]['call'](_0x8c0216,_0x56f6eb),_0x5f0db0=withAppProfileRouting(_0x3d94bb?_0x509650:_0x4d970e['globalConfig'],_0x490cfc),_0x5b5099=resolveEffectiveRegion({'appRegion':_0x490cfc?.['region'],'projectRegion':_0x3d94bb?_0x4d970e[_0x3d1e27(0x14d)]['region']:undefined,'globalRegion':_0x4d970e[_0x3d1e27(0x12b)][_0x3d1e27(0x161)],'mergedRegion':_0x5f0db0[_0x3d1e27(0x161)],'appName':_0x56f6eb});return{'name':_0x56f6eb,'appcode':_0x490cfc?.['appcode']||'','apiGroup':optionalString(_0x490cfc?.[_0x3d1e27(0x120)]),'isDefault':_0x56f6eb===_0x5e6410,'region':_0x5b5099['region'],'regionSource':_0x5b5099[_0x3d1e27(0x14c)],'env':_0x490cfc?.[_0x3d1e27(0x15c)],'apiDir':optionalString(_0x490cfc?.['apiDir'])||optionalString(_0x5f0db0['apiDir']),'cookie':_0x490cfc?.['cookie']||undefined,'routingConfig':pickConnectionRoutingConfig(_0x5f0db0,_0x5b5099['region'])};})['filter'](_0x14c99e=>_0x14c99e[_0x3aa159(0x132)]);}export function getTemplateBaseUrl(_0x317497){const _0x14ff48=a269_0x165b7c,_0xfcfafd=readRawConfig(_0x317497);if(_0xfcfafd['template_base_url']&&typeof _0xfcfafd[_0x14ff48(0x131)]===_0x14ff48(0x146))return _0xfcfafd[_0x14ff48(0x131)][_0x14ff48(0x14f)](/\/$/,'');return _0x14ff48(0x138);}function buildConfig(_0x25791b,_0x388df9,_0x5bcfc4){const _0x1ba987=a269_0x165b7c,_0x1a539f=resolveAppConfig({'raw':_0x25791b,'flags':_0x388df9,'layers':_0x5bcfc4,'readEnv':env}),_0x545081=_0x1a539f[_0x1ba987(0x12d)]?_0x1a539f['apps'][_0x1a539f[_0x1ba987(0x12d)]]:undefined;return{..._0x1a539f,'raw':withAppProfileRouting(_0x25791b,_0x545081)};}export function resolveApiFilePath(_0x51ce0d,_0xc89eba,_0x578683){const _0x5d4eaa=a269_0x165b7c;return resolveApiModelSource(_0x51ce0d,_0xc89eba,_0x578683)[_0x5d4eaa(0x13e)];}
1
+ const a270_0x58b889=a270_0x20b2;(function(_0x253342,_0x688a43){const _0x5195eb=a270_0x20b2,_0x50919a=_0x253342();while(!![]){try{const _0x53b840=-parseInt(_0x5195eb(0x1b6))/0x1+-parseInt(_0x5195eb(0x1df))/0x2*(parseInt(_0x5195eb(0x1cb))/0x3)+parseInt(_0x5195eb(0x1af))/0x4+parseInt(_0x5195eb(0x1da))/0x5+-parseInt(_0x5195eb(0x1a4))/0x6*(-parseInt(_0x5195eb(0x1d0))/0x7)+-parseInt(_0x5195eb(0x1a6))/0x8*(parseInt(_0x5195eb(0x19f))/0x9)+parseInt(_0x5195eb(0x1aa))/0xa;if(_0x53b840===_0x688a43)break;else _0x50919a['push'](_0x50919a['shift']());}catch(_0x37e0c2){_0x50919a['push'](_0x50919a['shift']());}}}(a270_0x21a4,0xaf6b6));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(_0x22bb01){return process.env[`RABETBASE_${_0x22bb01}`]||process.env[`LOVRABET_${_0x22bb01}`]||undefined;}function optionalString(_0x35832a){const _0x1ce2eb=a270_0x20b2;return typeof _0x35832a==='string'&&_0x35832a[_0x1ce2eb(0x1e1)]()?_0x35832a['trim']():undefined;}export function isRoutingRecoveryService(_0x2ba312){const _0x135d4b=a270_0x20b2;return _0x2ba312===_0x135d4b(0x1b1)||_0x2ba312===_0x135d4b(0x1e3);}export async function createContext(_0x1c27fe){const _0x5e4a0c=a270_0x20b2,{config:_0x477218,layers:_0x463a2e}=readRawConfigWithLayers(),_0x53fa42=buildConfig(_0x477218,_0x1c27fe,_0x463a2e);await initGlobalEnvironment(_0x53fa42);const {getUserDomain:_0x4ec12a,getApiDomain:_0xa8cef8}=await import(_0x5e4a0c(0x1b3)),_0x35c583={'apiDomain':_0xa8cef8(),'userDomain':_0x4ec12a()},_0x3da7dd=await buildAuth(_0x53fa42);logger[_0x5e4a0c(0x1cd)](process[_0x5e4a0c(0x1b5)]());const _0x31b7b5=(CLI_BIN_NAME+'\x20'+process[_0x5e4a0c(0x1c1)]['slice'](0x2)['join']('\x20'))[_0x5e4a0c(0x1e1)]();logger[_0x5e4a0c(0x1d3)](_0x31b7b5);const {isNonInteractive:_0x68a3f7}=await import('./utils/is-non-interactive.js'),_0x3dd1bc=_0x68a3f7(_0x1c27fe);return{'config':_0x53fa42,'auth':_0x3da7dd,'logger':logger,'env':_0x35c583,'nonInteractive':_0x3dd1bc};}export function buildConfigFromFlags(_0x206cb4){const {config:_0x48f05f,layers:_0x28d936}=readRawConfigWithLayers();return buildConfig(_0x48f05f,_0x206cb4,_0x28d936);}function a270_0x21a4(){const _0x457e27=['4592696NNePEk','project\x20Rabetbase\x20configuration','config','object','./constant/domain.js','currentApp','cwd','1040701CNIWvU','regionLocation','global\x20Rabetbase\x20configuration','regionSource','platformDomain','map','globalConfig','cdn','apiDir','routing','apps','argv','app\x20profile\x20\x22','daily','userDomain','env','region','apiDomain','project','routingConfig','filter','804PqBzsg','targetEnv','setLogPath','length','certificateDomain','7196lPyIxR','replace','entries','setRawCommand','merged','runtimeDomain','global','kbServiceDomain','Rabetbase\x20configuration','production','3476935HkHCYF','skillHubDomain','name','domains','call','8730oAhjTd','keys','trim','defaultApp','doctor','apiGroup','skillDomain','agentDomain','source','appcode','regionConfiguredValue','some','9TbkPyY','projectConfig','configuredRegion','raw','appDomain','4242bjEhgm','prototype','6745720CHepRa','app','./constant/env.js','localDomain','12018970KGRKJV','hasOwnProperty','string','template_base_url','kbDomain'];a270_0x21a4=function(){return _0x457e27;};return a270_0x21a4();}export async function initGlobalEnvironment(_0x20598f){const _0x1c2fac=a270_0x20b2,_0x4efc3d=_0x20598f['regionSource']===_0x1c2fac(0x1a7)&&_0x20598f[_0x1c2fac(0x1b4)]?_0x1c2fac(0x1c2)+_0x20598f[_0x1c2fac(0x1b4)]+'\x22':_0x20598f['regionSource']===_0x1c2fac(0x1c8)?_0x1c2fac(0x1b0):_0x20598f[_0x1c2fac(0x1b9)]===_0x1c2fac(0x1d6)?_0x1c2fac(0x1b8):_0x1c2fac(0x1d8);await initConfiguredEnvironment({'raw':_0x20598f[_0x1c2fac(0x1a2)],'configuredRegion':_0x20598f[_0x1c2fac(0x19d)]??_0x20598f[_0x1c2fac(0x1a2)]?.[_0x1c2fac(0x1c6)]??_0x20598f[_0x1c2fac(0x1c6)],'regionLocation':_0x4efc3d,'targetEnv':_0x20598f[_0x1c2fac(0x1c5)]});}async function initConfiguredEnvironment(_0x1c9de3){const _0x5644b2=a270_0x20b2,_0x5baa36=resolveConfiguredRegion(_0x1c9de3[_0x5644b2(0x1a1)],_0x1c9de3[_0x5644b2(0x1b7)]),_0xa6354a=resolveEnterpriseRoutingManifest(_0x1c9de3[_0x5644b2(0x1a2)]?.[_0x5644b2(0x1bf)]),_0x55f6f5={'region':_0x5baa36,'apiDomain':_0xa6354a?_0xa6354a[_0x5644b2(0x1dd)]['apiDomain']:optionalString(_0x1c9de3[_0x5644b2(0x1a2)]?.['apiDomain']),'userDomain':_0xa6354a?_0xa6354a[_0x5644b2(0x1dd)][_0x5644b2(0x1c4)]:optionalString(_0x1c9de3['raw']?.[_0x5644b2(0x1c4)]),'runtimeDomain':_0xa6354a?_0xa6354a['domains'][_0x5644b2(0x1d5)]:optionalString(_0x1c9de3[_0x5644b2(0x1a2)]?.[_0x5644b2(0x1d5)]),'skillDomain':_0xa6354a?_0xa6354a[_0x5644b2(0x1dd)]['skillDomain']:optionalString(_0x1c9de3[_0x5644b2(0x1a2)]?.[_0x5644b2(0x1e5)])||optionalString(_0x1c9de3[_0x5644b2(0x1a2)]?.[_0x5644b2(0x1db)])||optionalString(_0x1c9de3[_0x5644b2(0x1a2)]?.[_0x5644b2(0x1e6)])||optionalString(_0x1c9de3[_0x5644b2(0x1a2)]?.['platformDomain']),'kbDomain':_0xa6354a?_0xa6354a[_0x5644b2(0x1dd)][_0x5644b2(0x1ae)]:optionalString(_0x1c9de3['raw']?.['kbDomain'])||optionalString(_0x1c9de3[_0x5644b2(0x1a2)]?.[_0x5644b2(0x1e6)])||optionalString(_0x1c9de3[_0x5644b2(0x1a2)]?.['platformDomain']),'kbServiceDomain':_0xa6354a?_0xa6354a[_0x5644b2(0x1dd)]['kbServiceDomain']:optionalString(_0x1c9de3['raw']?.[_0x5644b2(0x1d7)]),'appDomain':_0xa6354a?_0xa6354a[_0x5644b2(0x1dd)][_0x5644b2(0x1a3)]:optionalString(_0x1c9de3[_0x5644b2(0x1a2)]?.['appDomain']),'localDomain':_0xa6354a?_0xa6354a[_0x5644b2(0x1dd)][_0x5644b2(0x1a9)]:optionalString(_0x1c9de3[_0x5644b2(0x1a2)]?.['localDomain']),'certificateDomain':_0xa6354a?_0xa6354a[_0x5644b2(0x1dd)]['certificateDomain']:optionalString(_0x1c9de3['raw']?.[_0x5644b2(0x1cf)]),'cdn':_0xa6354a?.[_0x5644b2(0x1bd)],'allowOfficialKbServiceDefault':!(_0xa6354a!==undefined||[_0x5644b2(0x1c7),_0x5644b2(0x1c4),_0x5644b2(0x1d5),_0x5644b2(0x1e5),_0x5644b2(0x1db),_0x5644b2(0x1ae),_0x5644b2(0x1d7),_0x5644b2(0x1e6),_0x5644b2(0x1ba),'appDomain','localDomain',_0x5644b2(0x1cf)][_0x5644b2(0x19e)](_0x9b978c=>Object['prototype'][_0x5644b2(0x1ab)][_0x5644b2(0x1de)](_0x1c9de3[_0x5644b2(0x1a2)]??{},_0x9b978c)))},{initEnv:_0x3a0044}=await import(_0x5644b2(0x1a8)),{initDomains:_0x510942}=await import(_0x5644b2(0x1b3));_0x3a0044(_0x1c9de3[_0x5644b2(0x1cc)]),_0x510942(_0x55f6f5);}function a270_0x20b2(_0xa9e3c9,_0x3978f4){_0xa9e3c9=_0xa9e3c9-0x19c;const _0x21a4cc=a270_0x21a4();let _0x20b2a2=_0x21a4cc[_0xa9e3c9];return _0x20b2a2;}export async function initMultiAppEnvironment(_0x365ae2){const _0x6275c9=a270_0x20b2;await initConfiguredEnvironment({'raw':_0x365ae2[_0x6275c9(0x1c9)],'configuredRegion':_0x365ae2['region'],'regionLocation':_0x6275c9(0x1c2)+_0x365ae2[_0x6275c9(0x1dc)]+'\x22','targetEnv':_0x365ae2[_0x6275c9(0x1c5)]==='daily'?_0x6275c9(0x1c3):_0x6275c9(0x1d9)});}export function getConfigAppCode(_0x21db43){const _0x332cff=a270_0x20b2,_0x1ecbaa=readRawConfig(_0x21db43);if(_0x1ecbaa[_0x332cff(0x1c0)]&&typeof _0x1ecbaa[_0x332cff(0x1c0)]===_0x332cff(0x1b2)){const _0xdec3cf=_0x1ecbaa[_0x332cff(0x1e2)];if(_0xdec3cf)return _0x1ecbaa[_0x332cff(0x1c0)][_0xdec3cf]?.[_0x332cff(0x19c)]?String(_0x1ecbaa[_0x332cff(0x1c0)][_0xdec3cf][_0x332cff(0x19c)])[_0x332cff(0x1e1)]():undefined;const _0x5bc4bb=Object['values'](_0x1ecbaa[_0x332cff(0x1c0)]);if(_0x5bc4bb[_0x332cff(0x1ce)]===0x1&&_0x5bc4bb[0x0]?.[_0x332cff(0x19c)])return String(_0x5bc4bb[0x0][_0x332cff(0x19c)])['trim']();}const _0x435b09=_0x1ecbaa[_0x332cff(0x19c)]||_0x1ecbaa['app'];if(typeof _0x435b09!=='string'||_0x435b09[_0x332cff(0x1e1)]()==='')return undefined;return _0x435b09['trim']();}const CONNECTION_ROUTING_KEYS=[a270_0x58b889(0x1bf),a270_0x58b889(0x1c7),'userDomain',a270_0x58b889(0x1d5),a270_0x58b889(0x1e5),a270_0x58b889(0x1db),a270_0x58b889(0x1ae),'kbServiceDomain',a270_0x58b889(0x1e6),'platformDomain',a270_0x58b889(0x1a3),'localDomain','certificateDomain'];function withAppProfileRouting(_0x1d688b,_0x39a585){const _0x1ddef7=a270_0x58b889;if(!_0x39a585||_0x39a585[_0x1ddef7(0x1d7)]===undefined)return _0x1d688b;return{..._0x1d688b,'kbServiceDomain':_0x39a585['kbServiceDomain']};}function pickConnectionRoutingConfig(_0x28143e,_0x416f35){const _0x2871f3={'region':_0x416f35};for(const _0x2abd4e of CONNECTION_ROUTING_KEYS){if(_0x28143e[_0x2abd4e]!==undefined)_0x2871f3[_0x2abd4e]=_0x28143e[_0x2abd4e];}return _0x2871f3;}export function getMultiAppConfigs(_0xbb9722=a270_0x58b889(0x1c8),_0x54ed57){const _0x211081=a270_0x58b889,_0x4a9fcd=loadRawConfigLayers(_0x54ed57);let _0x347b35,_0x9fe3d9;const _0x34601f=mergeRawConfigLayers(_0x4a9fcd),_0x288e83=_0x4a9fcd[_0x211081(0x1bc)][_0x211081(0x1c0)]&&typeof _0x4a9fcd[_0x211081(0x1bc)][_0x211081(0x1c0)]==='object'?_0x4a9fcd['globalConfig'][_0x211081(0x1c0)]:{},_0xbb9c5=_0x4a9fcd[_0x211081(0x1a0)][_0x211081(0x1c0)]&&typeof _0x4a9fcd[_0x211081(0x1a0)][_0x211081(0x1c0)]===_0x211081(0x1b2)?_0x4a9fcd[_0x211081(0x1a0)][_0x211081(0x1c0)]:{};_0xbb9722===_0x211081(0x1d4)?(_0x347b35={..._0x288e83,..._0xbb9c5},_0x9fe3d9=_0x34601f[_0x211081(0x1e2)]):(_0x347b35=_0x4a9fcd[_0x211081(0x1a0)][_0x211081(0x1c0)],_0x9fe3d9=_0x4a9fcd[_0x211081(0x1a0)][_0x211081(0x1e2)]);!_0x9fe3d9&&_0x347b35&&typeof _0x347b35===_0x211081(0x1b2)&&Object['keys'](_0x347b35)[_0x211081(0x1ce)]===0x1&&(_0x9fe3d9=Object[_0x211081(0x1e0)](_0x347b35)[0x0]);if(!_0x347b35||typeof _0x347b35!==_0x211081(0x1b2)||Object[_0x211081(0x1e0)](_0x347b35)['length']===0x0)return null;return Object[_0x211081(0x1d2)](_0x347b35)[_0x211081(0x1bb)](([_0x5d65cb,_0xb9495b])=>{const _0x4c8af8=_0x211081,_0x63aa4f=_0xbb9722===_0x4c8af8(0x1c8)||Object[_0x4c8af8(0x1a5)]['hasOwnProperty'][_0x4c8af8(0x1de)](_0xbb9c5,_0x5d65cb),_0x117509=withAppProfileRouting(_0x63aa4f?_0x34601f:_0x4a9fcd[_0x4c8af8(0x1bc)],_0xb9495b),_0x54fedf=resolveEffectiveRegion({'appRegion':_0xb9495b?.[_0x4c8af8(0x1c6)],'projectRegion':_0x63aa4f?_0x4a9fcd[_0x4c8af8(0x1a0)][_0x4c8af8(0x1c6)]:undefined,'globalRegion':_0x4a9fcd[_0x4c8af8(0x1bc)][_0x4c8af8(0x1c6)],'mergedRegion':_0x117509[_0x4c8af8(0x1c6)],'appName':_0x5d65cb});return{'name':_0x5d65cb,'appcode':_0xb9495b?.['appcode']||'','apiGroup':optionalString(_0xb9495b?.[_0x4c8af8(0x1e4)]),'isDefault':_0x5d65cb===_0x9fe3d9,'region':_0x54fedf[_0x4c8af8(0x1c6)],'regionSource':_0x54fedf[_0x4c8af8(0x1e7)],'env':_0xb9495b?.['env'],'apiDir':optionalString(_0xb9495b?.['apiDir'])||optionalString(_0x117509[_0x4c8af8(0x1be)]),'cookie':_0xb9495b?.['cookie']||undefined,'routingConfig':pickConnectionRoutingConfig(_0x117509,_0x54fedf[_0x4c8af8(0x1c6)])};})[_0x211081(0x1ca)](_0x4bf0e2=>_0x4bf0e2['appcode']);}export function getTemplateBaseUrl(_0x45a843){const _0x520b27=a270_0x58b889,_0x14f9f6=readRawConfig(_0x45a843);if(_0x14f9f6[_0x520b27(0x1ad)]&&typeof _0x14f9f6['template_base_url']===_0x520b27(0x1ac))return _0x14f9f6[_0x520b27(0x1ad)][_0x520b27(0x1d1)](/\/$/,'');return'https://g.lovrabet.com/dist/lovrabet-skill';}function buildConfig(_0x27ced8,_0x4b3140,_0x4d6a16){const _0x208a9e=a270_0x58b889,_0xbd82c3=resolveAppConfig({'raw':_0x27ced8,'flags':_0x4b3140,'layers':_0x4d6a16,'readEnv':env}),_0x4fd88b=_0xbd82c3[_0x208a9e(0x1b4)]?_0xbd82c3[_0x208a9e(0x1c0)][_0xbd82c3['currentApp']]:undefined;return{..._0xbd82c3,'raw':withAppProfileRouting(_0x27ced8,_0x4fd88b)};}export function resolveApiFilePath(_0x4cd631,_0x3eb4db,_0x40ae6d){return resolveApiModelSource(_0x4cd631,_0x3eb4db,_0x40ae6d)['filePath'];}
@@ -1 +1 @@
1
- const a270_0x124d4f=a270_0x4579;(function(_0x422259,_0x29238a){const _0x3d1841=a270_0x4579,_0x185cc5=_0x422259();while(!![]){try{const _0x4772d9=-parseInt(_0x3d1841(0x170))/0x1+parseInt(_0x3d1841(0x177))/0x2+-parseInt(_0x3d1841(0x179))/0x3*(-parseInt(_0x3d1841(0x161))/0x4)+parseInt(_0x3d1841(0x174))/0x5+parseInt(_0x3d1841(0x164))/0x6*(parseInt(_0x3d1841(0x175))/0x7)+parseInt(_0x3d1841(0x157))/0x8*(parseInt(_0x3d1841(0x16d))/0x9)+-parseInt(_0x3d1841(0x15a))/0xa*(parseInt(_0x3d1841(0x16c))/0xb);if(_0x4772d9===_0x29238a)break;else _0x185cc5['push'](_0x185cc5['shift']());}catch(_0x5165d6){_0x185cc5['push'](_0x185cc5['shift']());}}}(a270_0x3f8c,0x293be));import{existsSync,readFileSync,realpathSync,statSync}from'node:fs';import{dirname,extname,isAbsolute,relative,resolve}from'node:path';import{MODEL_REGISTRY_FILE_NAME,getProfileModels,readModelRegistry}from'../api/model-registry-file.js';import{parseLegacyApiModels}from'../api/legacy-api-file.js';import{findProjectRootDirectory}from'../context/config-loader.js';const cache=new Map(),MAX_LOCAL_REEXPORT_DEPTH=0x8,SOURCE_FILE_EXTENSIONS=['.ts',a270_0x124d4f(0x173),a270_0x124d4f(0x16e),a270_0x124d4f(0x15c),a270_0x124d4f(0x16f),'.jsx',a270_0x124d4f(0x158),a270_0x124d4f(0x154)],LOCAL_REEXPORT_RE=/\bexport\s+(?:type\s+)?(?:\{[\s\S]*?\}|\*)\s+from\s*["']([^"']+)["']/g,SOURCE_EXTENSIONS_BY_RUNTIME_EXTENSION={'.js':[a270_0x124d4f(0x169),a270_0x124d4f(0x173)],'.jsx':[a270_0x124d4f(0x173)],'.mjs':['.mts'],'.cjs':[a270_0x124d4f(0x15c)]};function parseApiFile(_0x200fb8){const _0xd7294b=a270_0x124d4f;return parseLegacyApiModels(_0x200fb8)[_0xd7294b(0x15e)](_0x477e40=>_0x477e40[_0xd7294b(0x17a)]?[{'alias':_0x477e40[_0xd7294b(0x17a)],'datasetCode':_0x477e40['datasetCode'],'tableName':_0x477e40[_0xd7294b(0x159)],'name':_0x477e40[_0xd7294b(0x16b)]}]:[]);}function isWithinRoot(_0x2003c3,_0x99d690){const _0x2fb4c9=a270_0x124d4f,_0x43cdf7=relative(_0x2003c3,_0x99d690);return _0x43cdf7===''||!_0x43cdf7[_0x2fb4c9(0x176)]('..')&&!isAbsolute(_0x43cdf7);}function resolveExistingFile(_0x5124d6){const _0x47b956=a270_0x124d4f;if(!existsSync(_0x5124d6))return undefined;try{return statSync(_0x5124d6)[_0x47b956(0x166)]()?realpathSync(_0x5124d6):undefined;}catch{return undefined;}}function a270_0x4579(_0x277092,_0x461b9c){_0x277092=_0x277092-0x152;const _0x3f8c42=a270_0x3f8c();let _0x457916=_0x3f8c42[_0x277092];return _0x457916;}function reexportCandidatePaths(_0x43dadd){const _0x2bb10c=a270_0x124d4f,_0x4253e6=extname(_0x43dadd);if(!_0x4253e6)return[...SOURCE_FILE_EXTENSIONS[_0x2bb10c(0x160)](_0x54b9a9=>''+_0x43dadd+_0x54b9a9),...SOURCE_FILE_EXTENSIONS[_0x2bb10c(0x160)](_0x2aa9ff=>resolve(_0x43dadd,_0x2bb10c(0x15f)+_0x2aa9ff))];const _0x4799c0=SOURCE_EXTENSIONS_BY_RUNTIME_EXTENSION[_0x4253e6];if(!_0x4799c0)return[_0x43dadd];const _0x1130fe=_0x43dadd['slice'](0x0,-_0x4253e6['length']);return[..._0x4799c0[_0x2bb10c(0x160)](_0x1e83fa=>''+_0x1130fe+_0x1e83fa),_0x43dadd];}function a270_0x3f8c(){const _0x408fd2=['size','.tsx','899855rOBLNE','597387lGJJFi','startsWith','542556RHYqGG','api.ts','266907HCaqOV','alias','has','flags','cwd','.cjs','add','endsWith','104APTPSF','.mjs','tableName','357720KbfqdN','get','.cts','../','flatMap','index','map','8BdysjD','source','datasetCode','6ASudOx','push','isFile','set','filter','.ts','exec','name','132lpeFgl','33993BEOpXP','.mts','.js','165471btGHuG','utf-8'];a270_0x3f8c=function(){return _0x408fd2;};return a270_0x3f8c();}function resolveLocalReexport(_0x146376,_0x230244,_0xf7ba0e){const _0x8c9ce1=a270_0x124d4f;if(!_0x230244['startsWith']('./')&&!_0x230244[_0x8c9ce1(0x176)](_0x8c9ce1(0x15d)))return undefined;const _0x4964d9=resolve(dirname(_0x146376),_0x230244);if(!isWithinRoot(_0xf7ba0e,_0x4964d9))return undefined;for(const _0x55a255 of reexportCandidatePaths(_0x4964d9)){const _0x5001bd=resolveExistingFile(_0x55a255);if(_0x5001bd&&isWithinRoot(_0xf7ba0e,_0x5001bd))return _0x5001bd;}return undefined;}function parseApiFileTree(_0x540a21,_0x3ea5b4,_0x28d1ba,_0x477227){const _0x33b642=a270_0x124d4f,_0x1a740e=resolveExistingFile(_0x540a21);if(!_0x1a740e)return[];const _0xbe5f45=_0x28d1ba[_0x33b642(0x15b)](_0x1a740e);if(_0xbe5f45!==undefined&&_0xbe5f45<=_0x477227)return[];_0x28d1ba[_0x33b642(0x167)](_0x1a740e,_0x477227);const _0x12241c=readFileSync(_0x1a740e,_0x33b642(0x171)),_0x5743b6=parseApiFile(_0x12241c);if(_0x477227>=MAX_LOCAL_REEXPORT_DEPTH)return _0x5743b6;const _0x5087a2=new RegExp(LOCAL_REEXPORT_RE[_0x33b642(0x162)],LOCAL_REEXPORT_RE[_0x33b642(0x152)]);let _0x24ff45;while((_0x24ff45=_0x5087a2[_0x33b642(0x16a)](_0x12241c))!==null){const _0x4456d5=resolveLocalReexport(_0x1a740e,_0x24ff45[0x1],_0x3ea5b4);_0x4456d5&&_0x5743b6[_0x33b642(0x165)](...parseApiFileTree(_0x4456d5,_0x3ea5b4,_0x28d1ba,_0x477227+0x1));}return _0x5743b6;}function aliasProjectRoot(_0x14f8ad){const _0x1d777c=findProjectRootDirectory(dirname(_0x14f8ad));try{return realpathSync(_0x1d777c);}catch{return _0x1d777c;}}function uniqueAliasEntries(_0x39f6af){const _0xb11220=a270_0x124d4f,_0x49dab4=new Set();return _0x39f6af[_0xb11220(0x168)](_0x17660b=>{const _0x448390=_0xb11220,_0x308f18=JSON['stringify'](_0x17660b);if(_0x49dab4[_0x448390(0x17b)](_0x308f18))return![];return _0x49dab4[_0x448390(0x155)](_0x308f18),!![];});}export function loadAliasMap(_0x19fd2d,_0x334af4,_0x1e387b,_0x3f0ce1){const _0x1f68fc=a270_0x124d4f,_0x92e0a4=resolve(_0x1e387b??resolve(process[_0x1f68fc(0x153)](),_0x19fd2d,_0x1f68fc(0x178))),_0x44939a=_0x3f0ce1?_0x92e0a4+'#'+_0x3f0ce1:_0x92e0a4;if(cache['has'](_0x44939a))return cache['get'](_0x44939a);if(!existsSync(_0x92e0a4))return cache[_0x1f68fc(0x167)](_0x44939a,[]),[];try{if(_0x92e0a4[_0x1f68fc(0x156)](MODEL_REGISTRY_FILE_NAME)){const _0x54bec2=readModelRegistry(_0x92e0a4),_0x4418e6=_0x3f0ce1??_0x54bec2?.['defaultProfile'],_0x1eaf4e=_0x4418e6&&_0x54bec2?getProfileModels(_0x54bec2,_0x4418e6):[],_0x507f2c=uniqueAliasEntries(_0x1eaf4e[_0x1f68fc(0x15e)](_0x3ca2a0=>_0x3ca2a0[_0x1f68fc(0x17a)]?[{'alias':_0x3ca2a0[_0x1f68fc(0x17a)],'datasetCode':_0x3ca2a0[_0x1f68fc(0x163)],'tableName':_0x3ca2a0[_0x1f68fc(0x159)],'name':_0x3ca2a0[_0x1f68fc(0x16b)]}]:[]));return cache[_0x1f68fc(0x167)](_0x44939a,_0x507f2c),_0x507f2c;}const _0x3b9e0d=uniqueAliasEntries(parseApiFileTree(_0x92e0a4,aliasProjectRoot(_0x92e0a4),new Map(),0x0));return cache[_0x1f68fc(0x167)](_0x44939a,_0x3b9e0d),_0x3b9e0d;}catch{return cache[_0x1f68fc(0x167)](_0x44939a,[]),[];}}export function resolveAlias(_0x1871c9,_0x53ff1b,_0x292307,_0x4aaa38,_0x3bc4c5){const _0x433919=a270_0x124d4f;if(!_0x53ff1b)return undefined;const _0x1f4de6=loadAliasMap(_0x1871c9,_0x292307,_0x4aaa38,_0x3bc4c5),_0x3f1476=new Set(_0x1f4de6[_0x433919(0x168)](_0x3ca56d=>_0x3ca56d[_0x433919(0x17a)]===_0x53ff1b)[_0x433919(0x160)](_0x42fb52=>_0x42fb52[_0x433919(0x163)]));return _0x3f1476[_0x433919(0x172)]===0x1?[..._0x3f1476][0x0]:undefined;}export function listAliases(_0x7c3948,_0x3ad6d6,_0x29f05a,_0x525188){return loadAliasMap(_0x7c3948,_0x3ad6d6,_0x29f05a,_0x525188);}
1
+ const a271_0x334f50=a271_0x1d8b;(function(_0x5bf2d0,_0x5e7fcb){const _0x2f45f7=a271_0x1d8b,_0x256bee=_0x5bf2d0();while(!![]){try{const _0x1ae05d=-parseInt(_0x2f45f7(0xe0))/0x1+-parseInt(_0x2f45f7(0xe1))/0x2*(-parseInt(_0x2f45f7(0xf8))/0x3)+-parseInt(_0x2f45f7(0xf6))/0x4+parseInt(_0x2f45f7(0x102))/0x5+-parseInt(_0x2f45f7(0xef))/0x6*(-parseInt(_0x2f45f7(0xe8))/0x7)+parseInt(_0x2f45f7(0xdc))/0x8+parseInt(_0x2f45f7(0xf7))/0x9;if(_0x1ae05d===_0x5e7fcb)break;else _0x256bee['push'](_0x256bee['shift']());}catch(_0x5e7281){_0x256bee['push'](_0x256bee['shift']());}}}(a271_0x2603,0xb6c66));import{existsSync,readFileSync,realpathSync,statSync}from'node:fs';import{dirname,extname,isAbsolute,relative,resolve}from'node:path';import{MODEL_REGISTRY_FILE_NAME,getProfileModels,readModelRegistry}from'../api/model-registry-file.js';function a271_0x2603(){const _0x5d8892=['utf-8','flatMap','size','6OhoRAV','flags','.ts','cwd','../','.cts','tableName','2171580JHLjIb','3709035BAQnWS','42387kLehvR','source','api.ts','length','map','alias','set','.js','startsWith','push','66725FOlAez','get','.mjs','datasetCode','stringify','endsWith','9266960SqWELh','filter','.mts','add','1102049jwuwOp','18paZCOU','index','isFile','.jsx','.cjs','has','name','4778193kEwoyF','.tsx','exec','defaultProfile'];a271_0x2603=function(){return _0x5d8892;};return a271_0x2603();}import{parseLegacyApiModels}from'../api/legacy-api-file.js';import{findProjectRootDirectory}from'../context/config-loader.js';const cache=new Map(),MAX_LOCAL_REEXPORT_DEPTH=0x8,SOURCE_FILE_EXTENSIONS=[a271_0x334f50(0xf1),a271_0x334f50(0xe9),'.mts',a271_0x334f50(0xf4),a271_0x334f50(0xff),a271_0x334f50(0xe4),a271_0x334f50(0x104),a271_0x334f50(0xe5)],LOCAL_REEXPORT_RE=/\bexport\s+(?:type\s+)?(?:\{[\s\S]*?\}|\*)\s+from\s*["']([^"']+)["']/g,SOURCE_EXTENSIONS_BY_RUNTIME_EXTENSION={'.js':[a271_0x334f50(0xf1),a271_0x334f50(0xe9)],'.jsx':[a271_0x334f50(0xe9)],'.mjs':[a271_0x334f50(0xde)],'.cjs':[a271_0x334f50(0xf4)]};function parseApiFile(_0x953211){const _0x4ed449=a271_0x334f50;return parseLegacyApiModels(_0x953211)[_0x4ed449(0xed)](_0x15f053=>_0x15f053[_0x4ed449(0xfd)]?[{'alias':_0x15f053[_0x4ed449(0xfd)],'datasetCode':_0x15f053[_0x4ed449(0x105)],'tableName':_0x15f053[_0x4ed449(0xf5)],'name':_0x15f053[_0x4ed449(0xe7)]}]:[]);}function isWithinRoot(_0x2bece4,_0x19278f){const _0x48a050=a271_0x334f50,_0x922ec=relative(_0x2bece4,_0x19278f);return _0x922ec===''||!_0x922ec[_0x48a050(0x100)]('..')&&!isAbsolute(_0x922ec);}function resolveExistingFile(_0x142c75){const _0x872024=a271_0x334f50;if(!existsSync(_0x142c75))return undefined;try{return statSync(_0x142c75)[_0x872024(0xe3)]()?realpathSync(_0x142c75):undefined;}catch{return undefined;}}function a271_0x1d8b(_0x2d9e40,_0x1a742d){_0x2d9e40=_0x2d9e40-0xdc;const _0x260390=a271_0x2603();let _0x1d8bc9=_0x260390[_0x2d9e40];return _0x1d8bc9;}function reexportCandidatePaths(_0x52c2fc){const _0x68a0f1=a271_0x334f50,_0x549523=extname(_0x52c2fc);if(!_0x549523)return[...SOURCE_FILE_EXTENSIONS['map'](_0x2e9d3c=>''+_0x52c2fc+_0x2e9d3c),...SOURCE_FILE_EXTENSIONS[_0x68a0f1(0xfc)](_0x4d215c=>resolve(_0x52c2fc,_0x68a0f1(0xe2)+_0x4d215c))];const _0x224167=SOURCE_EXTENSIONS_BY_RUNTIME_EXTENSION[_0x549523];if(!_0x224167)return[_0x52c2fc];const _0x540fe2=_0x52c2fc['slice'](0x0,-_0x549523[_0x68a0f1(0xfb)]);return[..._0x224167[_0x68a0f1(0xfc)](_0x1b4b18=>''+_0x540fe2+_0x1b4b18),_0x52c2fc];}function resolveLocalReexport(_0x1ab732,_0x289693,_0x30ec75){const _0x24bc1d=a271_0x334f50;if(!_0x289693[_0x24bc1d(0x100)]('./')&&!_0x289693['startsWith'](_0x24bc1d(0xf3)))return undefined;const _0x512cc4=resolve(dirname(_0x1ab732),_0x289693);if(!isWithinRoot(_0x30ec75,_0x512cc4))return undefined;for(const _0x513286 of reexportCandidatePaths(_0x512cc4)){const _0x6982e1=resolveExistingFile(_0x513286);if(_0x6982e1&&isWithinRoot(_0x30ec75,_0x6982e1))return _0x6982e1;}return undefined;}function parseApiFileTree(_0x10da5f,_0x1a67ff,_0x22950a,_0x2051e4){const _0x4cc39c=a271_0x334f50,_0x4c073c=resolveExistingFile(_0x10da5f);if(!_0x4c073c)return[];const _0x2c7b01=_0x22950a[_0x4cc39c(0x103)](_0x4c073c);if(_0x2c7b01!==undefined&&_0x2c7b01<=_0x2051e4)return[];_0x22950a['set'](_0x4c073c,_0x2051e4);const _0x1650b1=readFileSync(_0x4c073c,_0x4cc39c(0xec)),_0x2dd53a=parseApiFile(_0x1650b1);if(_0x2051e4>=MAX_LOCAL_REEXPORT_DEPTH)return _0x2dd53a;const _0x15b98c=new RegExp(LOCAL_REEXPORT_RE[_0x4cc39c(0xf9)],LOCAL_REEXPORT_RE[_0x4cc39c(0xf0)]);let _0x59dca4;while((_0x59dca4=_0x15b98c[_0x4cc39c(0xea)](_0x1650b1))!==null){const _0xb56aa5=resolveLocalReexport(_0x4c073c,_0x59dca4[0x1],_0x1a67ff);_0xb56aa5&&_0x2dd53a[_0x4cc39c(0x101)](...parseApiFileTree(_0xb56aa5,_0x1a67ff,_0x22950a,_0x2051e4+0x1));}return _0x2dd53a;}function aliasProjectRoot(_0x57f682){const _0x26247f=findProjectRootDirectory(dirname(_0x57f682));try{return realpathSync(_0x26247f);}catch{return _0x26247f;}}function uniqueAliasEntries(_0x215222){const _0x3e2e2c=a271_0x334f50,_0x2c1399=new Set();return _0x215222[_0x3e2e2c(0xdd)](_0x4ea6eb=>{const _0xef4fae=_0x3e2e2c,_0x5e5ce5=JSON[_0xef4fae(0x106)](_0x4ea6eb);if(_0x2c1399[_0xef4fae(0xe6)](_0x5e5ce5))return![];return _0x2c1399[_0xef4fae(0xdf)](_0x5e5ce5),!![];});}export function loadAliasMap(_0x409aa2,_0x88c52b,_0x6a9a6b,_0x27bb1f){const _0x122b41=a271_0x334f50,_0x507826=resolve(_0x6a9a6b??resolve(process[_0x122b41(0xf2)](),_0x409aa2,_0x122b41(0xfa))),_0x215ab3=_0x27bb1f?_0x507826+'#'+_0x27bb1f:_0x507826;if(cache[_0x122b41(0xe6)](_0x215ab3))return cache[_0x122b41(0x103)](_0x215ab3);if(!existsSync(_0x507826))return cache[_0x122b41(0xfe)](_0x215ab3,[]),[];try{if(_0x507826[_0x122b41(0x107)](MODEL_REGISTRY_FILE_NAME)){const _0x1760f5=readModelRegistry(_0x507826),_0x41cb41=_0x27bb1f??_0x1760f5?.[_0x122b41(0xeb)],_0xe0ff1a=_0x41cb41&&_0x1760f5?getProfileModels(_0x1760f5,_0x41cb41):[],_0x302d80=uniqueAliasEntries(_0xe0ff1a['flatMap'](_0x5b82d8=>_0x5b82d8[_0x122b41(0xfd)]?[{'alias':_0x5b82d8['alias'],'datasetCode':_0x5b82d8[_0x122b41(0x105)],'tableName':_0x5b82d8[_0x122b41(0xf5)],'name':_0x5b82d8[_0x122b41(0xe7)]}]:[]));return cache[_0x122b41(0xfe)](_0x215ab3,_0x302d80),_0x302d80;}const _0x1d5abf=uniqueAliasEntries(parseApiFileTree(_0x507826,aliasProjectRoot(_0x507826),new Map(),0x0));return cache[_0x122b41(0xfe)](_0x215ab3,_0x1d5abf),_0x1d5abf;}catch{return cache[_0x122b41(0xfe)](_0x215ab3,[]),[];}}export function resolveAlias(_0x4364c6,_0xccdc54,_0x450ab1,_0x170b8,_0x4054a1){const _0x50dfcf=a271_0x334f50;if(!_0xccdc54)return undefined;const _0x38c55c=loadAliasMap(_0x4364c6,_0x450ab1,_0x170b8,_0x4054a1),_0x25905a=new Set(_0x38c55c[_0x50dfcf(0xdd)](_0x2c96af=>_0x2c96af[_0x50dfcf(0xfd)]===_0xccdc54)[_0x50dfcf(0xfc)](_0x261392=>_0x261392[_0x50dfcf(0x105)]));return _0x25905a[_0x50dfcf(0xee)]===0x1?[..._0x25905a][0x0]:undefined;}export function listAliases(_0x2320aa,_0x36d4c1,_0x16a6aa,_0x28cf08){return loadAliasMap(_0x2320aa,_0x36d4c1,_0x16a6aa,_0x28cf08);}
@@ -57,6 +57,8 @@ export declare function recognizeDevelopmentOcr(appCode: string, input: {
57
57
  }): Promise<DevelopmentOcrResponse>;
58
58
  export declare const DING_TALK_SANDBOX_BIND_PATH = "/smartapi/user-accounts/cli/dingding-sandbox/bind";
59
59
  export declare function bindDingTalkSandboxAccount(dingTalkUserId: string): Promise<boolean>;
60
+ export declare const FEISHU_BIND_PATH = "/smartapi/user-accounts/cli/feishu/bind";
61
+ export declare function bindFeishuAccount(openId: string): Promise<boolean>;
60
62
  export interface PlatformFetchOptions {
61
63
  method?: "GET" | "POST";
62
64
  body?: Record<string, any>;