@lovrabet/rabetbase-cli 2.5.0-beta.6 → 2.5.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/api/generate-sdk-config-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.d.ts +7 -0
  7. package/lib/auth/auth-server.js +1 -1
  8. package/lib/auth/constant.js +1 -1
  9. package/lib/auth/get-cookie.js +1 -1
  10. package/lib/auth/get-session-user.js +1 -1
  11. package/lib/auth/is-session-valid.js +1 -1
  12. package/lib/auth/login-success-html.js +1 -1
  13. package/lib/auth/logout.js +1 -1
  14. package/lib/cli-flags.js +1 -1
  15. package/lib/cli.js +1 -1
  16. package/lib/commands/api/generate.js +1 -1
  17. package/lib/commands/api/index.js +1 -1
  18. package/lib/commands/api/list.js +1 -1
  19. package/lib/commands/api/pull.js +1 -1
  20. package/lib/commands/api/shared.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.js +1 -1
  23. package/lib/commands/app/members-list.js +1 -1
  24. package/lib/commands/app/remote-directory.js +1 -1
  25. package/lib/commands/app/shared.js +1 -1
  26. package/lib/commands/app-config/delete.js +1 -1
  27. package/lib/commands/app-config/get.js +1 -1
  28. package/lib/commands/app-config/index.js +1 -1
  29. package/lib/commands/app-config/list.js +1 -1
  30. package/lib/commands/app-config/set.js +1 -1
  31. package/lib/commands/app-config/shared.js +1 -1
  32. package/lib/commands/auth/index.js +1 -1
  33. package/lib/commands/bff/create.js +1 -1
  34. package/lib/commands/bff/delete.js +1 -1
  35. package/lib/commands/bff/detail.js +1 -1
  36. package/lib/commands/bff/index.js +1 -1
  37. package/lib/commands/bff/list.js +1 -1
  38. package/lib/commands/bff/pull.js +1 -1
  39. package/lib/commands/bff/push.js +1 -1
  40. package/lib/commands/bff/status.js +1 -1
  41. package/lib/commands/cli-skill/index.js +1 -1
  42. package/lib/commands/cli-update.js +1 -1
  43. package/lib/commands/codegen/index.js +1 -1
  44. package/lib/commands/codegen/sdk.js +1 -1
  45. package/lib/commands/codegen/sql.js +1 -1
  46. package/lib/commands/common/app-registry.js +1 -1
  47. package/lib/commands/common/app-selector.js +1 -1
  48. package/lib/commands/common/async-task.js +1 -1
  49. package/lib/commands/common/dry-run.js +1 -1
  50. package/lib/commands/common/flags.js +1 -1
  51. package/lib/commands/common/local-file.js +1 -1
  52. package/lib/commands/common/validate.js +1 -1
  53. package/lib/commands/config/delete.js +1 -1
  54. package/lib/commands/config/get.js +1 -1
  55. package/lib/commands/config/index.js +1 -1
  56. package/lib/commands/config/init.d.ts +1 -1
  57. package/lib/commands/config/init.js +1 -1
  58. package/lib/commands/config/list.js +1 -1
  59. package/lib/commands/config/set.js +1 -1
  60. package/lib/commands/config/shared.js +1 -1
  61. package/lib/commands/dataset/business-group-update.js +1 -1
  62. package/lib/commands/dataset/business-groups.js +1 -1
  63. package/lib/commands/dataset/capability.js +1 -1
  64. package/lib/commands/dataset/delete.js +1 -1
  65. package/lib/commands/dataset/detail.js +1 -1
  66. package/lib/commands/dataset/extend-update.js +1 -1
  67. package/lib/commands/dataset/field-update.js +1 -1
  68. package/lib/commands/dataset/generate.js +1 -1
  69. package/lib/commands/dataset/index.js +1 -1
  70. package/lib/commands/dataset/list.js +1 -1
  71. package/lib/commands/dataset/operations.js +1 -1
  72. package/lib/commands/dataset/relation-audit.js +1 -1
  73. package/lib/commands/dataset/relation-create.js +1 -1
  74. package/lib/commands/dataset/relation-delete.js +1 -1
  75. package/lib/commands/dataset/relation-shared.js +1 -1
  76. package/lib/commands/dataset/relation-update.js +1 -1
  77. package/lib/commands/dataset/relations.js +1 -1
  78. package/lib/commands/dataset/rename.js +1 -1
  79. package/lib/commands/dataset/restore.js +1 -1
  80. package/lib/commands/db/analysis-batching.js +1 -1
  81. package/lib/commands/db/analyze-batch-plan.js +1 -1
  82. package/lib/commands/db/analyze-cancel.js +1 -1
  83. package/lib/commands/db/analyze-start.js +1 -1
  84. package/lib/commands/db/analyze-status.js +1 -1
  85. package/lib/commands/db/create.js +1 -1
  86. package/lib/commands/db/delete.js +1 -1
  87. package/lib/commands/db/detail.js +1 -1
  88. package/lib/commands/db/diff-refresh-start.js +1 -1
  89. package/lib/commands/db/diff-refresh-status.js +1 -1
  90. package/lib/commands/db/diff.js +1 -1
  91. package/lib/commands/db/index.js +1 -1
  92. package/lib/commands/db/list.js +1 -1
  93. package/lib/commands/db/shared.js +1 -1
  94. package/lib/commands/db/table-diff-shared.js +1 -1
  95. package/lib/commands/db/tables.js +1 -1
  96. package/lib/commands/db/test.js +1 -1
  97. package/lib/commands/db/update.js +1 -1
  98. package/lib/commands/doctor.js +1 -1
  99. package/lib/commands/file/index.js +1 -1
  100. package/lib/commands/issue/index.js +1 -1
  101. package/lib/commands/issue/nudge.js +1 -1
  102. package/lib/commands/issue/report.js +1 -1
  103. package/lib/commands/issue/shared.js +1 -1
  104. package/lib/commands/kb/create.js +1 -1
  105. package/lib/commands/kb/delete.js +1 -1
  106. package/lib/commands/kb/detail.js +1 -1
  107. package/lib/commands/kb/index.js +1 -1
  108. package/lib/commands/kb/list.js +1 -1
  109. package/lib/commands/kb/search.js +1 -1
  110. package/lib/commands/kb/shared.js +1 -1
  111. package/lib/commands/kb/update.js +1 -1
  112. package/lib/commands/logs/index.js +1 -1
  113. package/lib/commands/menu/asset-update.js +1 -1
  114. package/lib/commands/menu/delete.js +1 -1
  115. package/lib/commands/menu/external-link-create.js +1 -1
  116. package/lib/commands/menu/external-link-update.js +1 -1
  117. package/lib/commands/menu/group-create.js +1 -1
  118. package/lib/commands/menu/group-update.js +1 -1
  119. package/lib/commands/menu/index.js +1 -1
  120. package/lib/commands/menu/list.js +1 -1
  121. package/lib/commands/menu/move.js +1 -1
  122. package/lib/commands/menu/regroup-start.js +1 -1
  123. package/lib/commands/menu/rename.js +1 -1
  124. package/lib/commands/menu/shared/compare-table.js +1 -1
  125. package/lib/commands/menu/shared/delete-plan.js +1 -1
  126. package/lib/commands/menu/shared/facts.js +1 -1
  127. package/lib/commands/menu/shared/index.js +1 -1
  128. package/lib/commands/menu/shared/inquirer.js +1 -1
  129. package/lib/commands/menu/shared/local-pages.js +1 -1
  130. package/lib/commands/menu/shared/logic.js +1 -1
  131. package/lib/commands/menu/shared/mutations.js +1 -1
  132. package/lib/commands/menu/shared/service.js +1 -1
  133. package/lib/commands/menu/shared/sync-core.js +1 -1
  134. package/lib/commands/menu/shared/update-core.js +1 -1
  135. package/lib/commands/menu/shared/valid-url.js +1 -1
  136. package/lib/commands/menu/sync.js +1 -1
  137. package/lib/commands/menu/visibility-update.js +1 -1
  138. package/lib/commands/notification/config-create.js +1 -1
  139. package/lib/commands/notification/config-delete.js +1 -1
  140. package/lib/commands/notification/config-list.js +1 -1
  141. package/lib/commands/notification/config-update.js +1 -1
  142. package/lib/commands/notification/index.js +1 -1
  143. package/lib/commands/notification/shared.js +1 -1
  144. package/lib/commands/ocr/index.js +1 -1
  145. package/lib/commands/page/create.js +1 -1
  146. package/lib/commands/page/custom/detail.js +1 -1
  147. package/lib/commands/page/custom/list.js +1 -1
  148. package/lib/commands/page/custom/publish.js +1 -1
  149. package/lib/commands/page/custom/shared.js +1 -1
  150. package/lib/commands/page/custom/syntax.js +1 -1
  151. package/lib/commands/page/custom/template.js +1 -1
  152. package/lib/commands/page/custom/update.js +1 -1
  153. package/lib/commands/page/data-list-status.js +1 -1
  154. package/lib/commands/page/generate-start.js +1 -1
  155. package/lib/commands/page/generate-status.js +1 -1
  156. package/lib/commands/page/index.js +1 -1
  157. package/lib/commands/page/pull.js +1 -1
  158. package/lib/commands/page/push.js +1 -1
  159. package/lib/commands/page/relation-audit.js +1 -1
  160. package/lib/commands/page/restore.js +1 -1
  161. package/lib/commands/page/shared.js +1 -1
  162. package/lib/commands/page/sync.js +1 -1
  163. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  164. package/lib/commands/project/create/format-elapsed.js +1 -1
  165. package/lib/commands/project/create/main.js +1 -1
  166. package/lib/commands/project/create/materialize-project-template.js +1 -1
  167. package/lib/commands/project/create/project-name.js +1 -1
  168. package/lib/commands/project/create/project-template-archive.js +1 -1
  169. package/lib/commands/project/create/project-template-path.js +1 -1
  170. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  171. package/lib/commands/project/create/use-format-code.js +1 -1
  172. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  173. package/lib/commands/project/index.js +1 -1
  174. package/lib/commands/project/upgrade.js +1 -1
  175. package/lib/commands/registry.js +1 -1
  176. package/lib/commands/role/delete.js +1 -1
  177. package/lib/commands/role/detail.js +1 -1
  178. package/lib/commands/role/index.js +1 -1
  179. package/lib/commands/role/list.js +1 -1
  180. package/lib/commands/role/shared.js +1 -1
  181. package/lib/commands/role/update.js +1 -1
  182. package/lib/commands/role/user-add.js +1 -1
  183. package/lib/commands/role/user-remove.js +1 -1
  184. package/lib/commands/role/user-resolve.js +1 -1
  185. package/lib/commands/run/index.js +1 -1
  186. package/lib/commands/schema.js +1 -1
  187. package/lib/commands/sql/create.js +1 -1
  188. package/lib/commands/sql/delete.js +1 -1
  189. package/lib/commands/sql/detail.js +1 -1
  190. package/lib/commands/sql/exec.js +1 -1
  191. package/lib/commands/sql/index.js +1 -1
  192. package/lib/commands/sql/list.js +1 -1
  193. package/lib/commands/sql/pull.js +1 -1
  194. package/lib/commands/sql/push.js +1 -1
  195. package/lib/commands/sql/shared.js +1 -1
  196. package/lib/commands/sql/status.js +1 -1
  197. package/lib/commands/sql/validate.js +1 -1
  198. package/lib/commands/task/index.js +1 -1
  199. package/lib/commands/task/status.js +1 -1
  200. package/lib/commands/tenant/index.js +1 -1
  201. package/lib/commands/tenant/members-list.js +1 -1
  202. package/lib/commands/tenant/shared.js +1 -1
  203. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  204. package/lib/commands/user-account/index.js +1 -1
  205. package/lib/commands/workspace/add.js +1 -1
  206. package/lib/commands/workspace/index.js +1 -1
  207. package/lib/commands/workspace/remove.js +1 -1
  208. package/lib/config/domain-config.d.ts +1 -1
  209. package/lib/config/domain-config.js +1 -1
  210. package/lib/config/project-routing.d.ts +30 -0
  211. package/lib/config/project-routing.js +1 -0
  212. package/lib/config/schema.d.ts +1 -1
  213. package/lib/config/schema.js +1 -1
  214. package/lib/constant/cdn.js +1 -1
  215. package/lib/constant/cli.js +1 -1
  216. package/lib/constant/defaults.js +1 -1
  217. package/lib/constant/domain.d.ts +7 -2
  218. package/lib/constant/domain.js +1 -1
  219. package/lib/constant/env.js +1 -1
  220. package/lib/constant/output.js +1 -1
  221. package/lib/constant/paths.js +1 -1
  222. package/lib/constant/region.d.ts +2 -2
  223. package/lib/constant/region.js +1 -1
  224. package/lib/constant/risk.js +1 -1
  225. package/lib/constant/routing-profile.d.ts +115 -0
  226. package/lib/constant/routing-profile.js +1 -0
  227. package/lib/context/app-resolver.js +1 -1
  228. package/lib/context/auth-resolver.js +1 -1
  229. package/lib/context/config-loader.js +1 -1
  230. package/lib/context.js +1 -1
  231. package/lib/core/alias-resolver.js +1 -1
  232. package/lib/core/api-client.js +1 -1
  233. package/lib/core/bff/config.js +1 -1
  234. package/lib/core/bff/file-system.js +1 -1
  235. package/lib/core/bff/hash.js +1 -1
  236. package/lib/core/bff/lock.js +1 -1
  237. package/lib/core/bff/utils.js +1 -1
  238. package/lib/core/db-resolver.js +1 -1
  239. package/lib/core/page/file-system.js +1 -1
  240. package/lib/core/page/hash.js +1 -1
  241. package/lib/core/page/lock.js +1 -1
  242. package/lib/core/sql-index-auditor.js +1 -1
  243. package/lib/core/sql-sync/config.js +1 -1
  244. package/lib/core/sql-sync/file-system.js +1 -1
  245. package/lib/core/sql-sync/hash.js +1 -1
  246. package/lib/core/sql-sync/lock.js +1 -1
  247. package/lib/core/sql-sync/utils.js +1 -1
  248. package/lib/core/sql-validator.js +1 -1
  249. package/lib/errors.js +1 -1
  250. package/lib/framework/build-all-flags.js +1 -1
  251. package/lib/framework/error-output.js +1 -1
  252. package/lib/framework/explicit-yes.js +1 -1
  253. package/lib/framework/flags.js +1 -1
  254. package/lib/framework/help.js +1 -1
  255. package/lib/framework/index.js +1 -1
  256. package/lib/framework/output.js +1 -1
  257. package/lib/framework/response.js +1 -1
  258. package/lib/framework/runner-alias.js +1 -1
  259. package/lib/framework/runner.js +1 -1
  260. package/lib/framework/schema-export.js +1 -1
  261. package/lib/framework/types.js +1 -1
  262. package/lib/generated/build-info.d.ts +4 -4
  263. package/lib/generated/build-info.js +1 -1
  264. package/lib/help.js +1 -1
  265. package/lib/postinstall.js +1 -1
  266. package/lib/runtime/confirmation.js +1 -1
  267. package/lib/runtime/event.js +1 -1
  268. package/lib/runtime/index.js +1 -1
  269. package/lib/runtime/queue.js +1 -1
  270. package/lib/runtime/resolve.js +1 -1
  271. package/lib/skills/builtin-skill.js +1 -1
  272. package/lib/skills/main.js +1 -1
  273. package/lib/skills/npx-skills-add.js +1 -1
  274. package/lib/skills/skill-presence.js +1 -1
  275. package/lib/telemetry/cli-command-trace.js +1 -1
  276. package/lib/telemetry/cli-help-trace.js +1 -1
  277. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  278. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  279. package/lib/telemetry/send-cli-trace-log.js +1 -1
  280. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  281. package/lib/utils/ai_config.js +1 -1
  282. package/lib/utils/apply-jq-filter.js +1 -1
  283. package/lib/utils/cdn-config.js +1 -1
  284. package/lib/utils/check-sdk-version.js +1 -1
  285. package/lib/utils/cli-version-check.js +1 -1
  286. package/lib/utils/cli-version-policy.js +1 -1
  287. package/lib/utils/config.js +1 -1
  288. package/lib/utils/entity-with-id.js +1 -1
  289. package/lib/utils/file-utils.js +1 -1
  290. package/lib/utils/guides-cdn.js +1 -1
  291. package/lib/utils/http-client.js +1 -1
  292. package/lib/utils/is-non-interactive.js +1 -1
  293. package/lib/utils/logger.js +1 -1
  294. package/lib/utils/params.js +1 -1
  295. package/lib/utils/platform.js +1 -1
  296. package/lib/utils/sleep.js +1 -1
  297. package/lib/utils/template-replacer.js +1 -1
  298. package/lib/utils/update-notice.js +1 -1
  299. package/lib/utils/version.js +1 -1
  300. package/lib/utils/with-active-cookie.js +1 -1
  301. package/lib/utils/write-cli-side-channel.js +1 -1
  302. package/package.json +1 -2
  303. package/skills/rabetbase/SKILL.md +10 -5
  304. package/skills/rabetbase/guides/frontend-development.md +2 -0
  305. package/skills/rabetbase/guides/sdk-client-generation.md +3 -2
  306. package/skills/rabetbase/guides/typescript-sdk.md +42 -0
  307. package/skills/rabetbase/references/rabetbase-api-pull.md +5 -3
  308. package/skills/rabetbase/references/rabetbase-config.md +9 -5
  309. package/skills/rabetbase/references/rabetbase-init.md +11 -5
  310. package/skills/rabetbase/references/rabetbase-project-create.md +6 -5
  311. package/skills/rabetbase.manifest.json +3 -3
  312. package/templates/README.md +13 -17
@@ -1 +1 @@
1
- const a206_0x205d99=a206_0x56c5;function a206_0x56c5(_0x294140,_0x4a55f1){_0x294140=_0x294140-0x169;const _0x26467e=a206_0x2646();let _0x56c59d=_0x26467e[_0x294140];return _0x56c59d;}(function(_0x1927e4,_0x3eaa34){const _0x265915=a206_0x56c5,_0xa229f2=_0x1927e4();while(!![]){try{const _0x33f12f=parseInt(_0x265915(0x18e))/0x1*(parseInt(_0x265915(0x18b))/0x2)+-parseInt(_0x265915(0x192))/0x3*(parseInt(_0x265915(0x198))/0x4)+-parseInt(_0x265915(0x171))/0x5+-parseInt(_0x265915(0x18a))/0x6+parseInt(_0x265915(0x188))/0x7*(parseInt(_0x265915(0x173))/0x8)+parseInt(_0x265915(0x193))/0x9+parseInt(_0x265915(0x196))/0xa;if(_0x33f12f===_0x3eaa34)break;else _0xa229f2['push'](_0xa229f2['shift']());}catch(_0xd5309e){_0xa229f2['push'](_0xa229f2['shift']());}}}(a206_0x2646,0x6205e));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';function a206_0x2646(){const _0x2ec86a=['https:','userDomain','91PHdBbT','skill-domain','798540EYFIeF','353204cFjgLD','user-domain','str','1JdEoZJ','Domain\x20config\x20file\x20not\x20found:\x20','hash','Invalid\x20','706692LPaDqE','2658627uCvCjJ','agentDomain','string','8089630ajNChV','appDomain','12JIfHHM','keys','validation','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','password','pathname','origin','Allowed\x20fields:\x20','app-domain','1834665CbJlCJ','parse','201384bIWgdl','join','filter','api-domain','kbDomain','skillDomain','trim','kb-domain','runtime-domain','search','includes','utf8','platformDomain',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','Invalid\x20domain\x20config\x20JSON:\x20','Unsupported\x20domain\x20config\x20field(s):\x20','username','isArray','object'];a206_0x2646=function(){return _0x2ec86a;};return a206_0x2646();}import{CliErrors}from'../errors.js';export const DOMAIN_CONFIG_FIELDS=[a206_0x205d99(0x187),'apiDomain','runtimeDomain',a206_0x205d99(0x178),a206_0x205d99(0x177),a206_0x205d99(0x197)];const DOMAIN_FLAGS={'userDomain':a206_0x205d99(0x18c),'apiDomain':a206_0x205d99(0x176),'runtimeDomain':a206_0x205d99(0x17b),'skillDomain':a206_0x205d99(0x189),'kbDomain':a206_0x205d99(0x17a),'appDomain':a206_0x205d99(0x170)};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a206_0x205d99(0x194),a206_0x205d99(0x17f),'skillHubDomain'];export function normalizeDomainOrigin(_0x2efdf4,_0x565b33){const _0x555ac5=a206_0x205d99;if(typeof _0x565b33!==_0x555ac5(0x195)||!_0x565b33[_0x555ac5(0x179)]())throw CliErrors[_0x555ac5(0x16a)](_0x555ac5(0x191)+_0x2efdf4+_0x555ac5(0x180));let _0x5a4f6a;try{_0x5a4f6a=new URL(_0x565b33[_0x555ac5(0x179)]());}catch{throw CliErrors['validation'](_0x555ac5(0x191)+_0x2efdf4+':\x20\x22'+_0x565b33+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x5a4f6a['protocol']!==_0x555ac5(0x186)||_0x5a4f6a[_0x555ac5(0x183)]||_0x5a4f6a[_0x555ac5(0x16c)]||_0x5a4f6a[_0x555ac5(0x16d)]!=='/'&&_0x5a4f6a[_0x555ac5(0x16d)]!==''||_0x5a4f6a[_0x555ac5(0x17c)]||_0x5a4f6a[_0x555ac5(0x190)])throw CliErrors[_0x555ac5(0x16a)](_0x555ac5(0x191)+_0x2efdf4+':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.',_0x555ac5(0x16b));return _0x5a4f6a[_0x555ac5(0x16e)];}export function readDomainConfig(_0x3776d8){const _0x42db63=a206_0x205d99,_0x1e4e82=isAbsolute(_0x3776d8)?_0x3776d8:resolve(process['cwd'](),_0x3776d8);if(!existsSync(_0x1e4e82))throw CliErrors['validation'](_0x42db63(0x18f)+_0x1e4e82);let _0x1f87f6;try{_0x1f87f6=JSON[_0x42db63(0x172)](readFileSync(_0x1e4e82,_0x42db63(0x17e)));}catch{throw CliErrors[_0x42db63(0x16a)](_0x42db63(0x181)+_0x1e4e82);}if(!_0x1f87f6||typeof _0x1f87f6!==_0x42db63(0x185)||Array[_0x42db63(0x184)](_0x1f87f6))throw CliErrors[_0x42db63(0x16a)]('Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.');const _0xb8f6ee=_0x1f87f6,_0x49208e=Object['keys'](_0xb8f6ee)[_0x42db63(0x175)](_0x447050=>!DOMAIN_CONFIG_FIELDS[_0x42db63(0x17d)](_0x447050));if(_0x49208e['length']>0x0)throw CliErrors['validation'](_0x42db63(0x182)+_0x49208e[_0x42db63(0x174)](',\x20'),_0x42db63(0x16f)+DOMAIN_CONFIG_FIELDS[_0x42db63(0x174)](',\x20'));const _0x85a0f7={};for(const _0x504c3d of DOMAIN_CONFIG_FIELDS){_0xb8f6ee[_0x504c3d]!==undefined&&(_0x85a0f7[_0x504c3d]=normalizeDomainOrigin(_0x504c3d,_0xb8f6ee[_0x504c3d]));}if(Object[_0x42db63(0x169)](_0x85a0f7)['length']===0x0)throw CliErrors[_0x42db63(0x16a)]('Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.');return _0x85a0f7;}export function resolveDomainFlags(_0x15d6fa){const _0x2e37ef=a206_0x205d99,_0x22dfd1=(_0x15d6fa['str']('domain-config')||'')[_0x2e37ef(0x179)](),_0x3e2423=_0x22dfd1?readDomainConfig(_0x22dfd1):{};for(const _0x1e0960 of DOMAIN_CONFIG_FIELDS){const _0x4a159b=(_0x15d6fa[_0x2e37ef(0x18d)](DOMAIN_FLAGS[_0x1e0960])||'')[_0x2e37ef(0x179)]();if(_0x4a159b)_0x3e2423[_0x1e0960]=normalizeDomainOrigin(_0x1e0960,_0x4a159b);}return _0x3e2423;}
1
+ const a206_0x47406f=a206_0x18bf;function a206_0x18bf(_0x277e60,_0x160473){_0x277e60=_0x277e60-0xc7;const _0x14c217=a206_0x14c2();let _0x18bf27=_0x14c217[_0x277e60];return _0x18bf27;}(function(_0x33e958,_0x49ff9f){const _0x1ad445=a206_0x18bf,_0x1b17e9=_0x33e958();while(!![]){try{const _0x519ee6=parseInt(_0x1ad445(0xda))/0x1*(-parseInt(_0x1ad445(0xd1))/0x2)+parseInt(_0x1ad445(0xf8))/0x3+parseInt(_0x1ad445(0xed))/0x4+parseInt(_0x1ad445(0xfa))/0x5+-parseInt(_0x1ad445(0xe0))/0x6+parseInt(_0x1ad445(0xe9))/0x7+-parseInt(_0x1ad445(0xd9))/0x8*(parseInt(_0x1ad445(0xdb))/0x9);if(_0x519ee6===_0x49ff9f)break;else _0x1b17e9['push'](_0x1b17e9['shift']());}catch(_0x161786){_0x1b17e9['push'](_0x1b17e9['shift']());}}}(a206_0x14c2,0x61fe9));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';import{CliErrors}from'../errors.js';export const DOMAIN_CONFIG_FIELDS=['userDomain','apiDomain','runtimeDomain','skillDomain',a206_0x47406f(0xcb),'appDomain',a206_0x47406f(0xf2),a206_0x47406f(0xf1)];const DOMAIN_FLAGS={'userDomain':a206_0x47406f(0xfb),'apiDomain':a206_0x47406f(0xf0),'runtimeDomain':a206_0x47406f(0xdc),'skillDomain':a206_0x47406f(0xe7),'kbDomain':a206_0x47406f(0xf6),'appDomain':a206_0x47406f(0xf3),'localDomain':a206_0x47406f(0xce),'certificateDomain':a206_0x47406f(0xeb)};function a206_0x14c2(){const _0x4534af=['object','hash','string','273696iCLAie','platformDomain','domain-config','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','password','isArray','parse','skill-domain','Invalid\x20','3030419emTomj','https:','certificate-domain','str','2559980qNHbwD','pathname','filter','api-domain','certificateDomain','localDomain','app-domain','cwd','Domain\x20config\x20file\x20not\x20found:\x20','kb-domain','trim','92073IweVUK','skillHubDomain','3861070PrGTGm','user-domain','origin','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','agentDomain',':\x20\x22','kbDomain',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','keys','local-domain','length',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','8TrcTLG','username','validation','Invalid\x20domain\x20config\x20JSON:\x20','join','includes','Unsupported\x20domain\x20config\x20field(s):\x20','Allowed\x20fields:\x20','49144FkeumB','7053yIRCNE','2052aDvqVU','runtime-domain'];a206_0x14c2=function(){return _0x4534af;};return a206_0x14c2();}export const LEGACY_DOMAIN_CONFIG_FIELDS=[a206_0x47406f(0xc9),a206_0x47406f(0xe1),a206_0x47406f(0xf9)];export function normalizeDomainOrigin(_0x21a8ff,_0x2e0cc2){const _0x1ddcc0=a206_0x47406f;if(typeof _0x2e0cc2!==_0x1ddcc0(0xdf)||!_0x2e0cc2[_0x1ddcc0(0xf7)]())throw CliErrors[_0x1ddcc0(0xd3)](_0x1ddcc0(0xe8)+_0x21a8ff+_0x1ddcc0(0xd0));let _0x28716e;try{_0x28716e=new URL(_0x2e0cc2['trim']());}catch{throw CliErrors[_0x1ddcc0(0xd3)](_0x1ddcc0(0xe8)+_0x21a8ff+_0x1ddcc0(0xca)+_0x2e0cc2+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x28716e['protocol']!==_0x1ddcc0(0xea)||_0x28716e[_0x1ddcc0(0xd2)]||_0x28716e[_0x1ddcc0(0xe4)]||_0x28716e[_0x1ddcc0(0xee)]!=='/'&&_0x28716e[_0x1ddcc0(0xee)]!==''||_0x28716e['search']||_0x28716e[_0x1ddcc0(0xde)])throw CliErrors[_0x1ddcc0(0xd3)](_0x1ddcc0(0xe8)+_0x21a8ff+_0x1ddcc0(0xcc),_0x1ddcc0(0xe3));return _0x28716e[_0x1ddcc0(0xc7)];}export function readDomainConfig(_0x496087){const _0x12f5f5=a206_0x47406f,_0x18e78d=isAbsolute(_0x496087)?_0x496087:resolve(process[_0x12f5f5(0xf4)](),_0x496087);if(!existsSync(_0x18e78d))throw CliErrors['validation'](_0x12f5f5(0xf5)+_0x18e78d);let _0x525ee7;try{_0x525ee7=JSON[_0x12f5f5(0xe6)](readFileSync(_0x18e78d,'utf8'));}catch{throw CliErrors[_0x12f5f5(0xd3)](_0x12f5f5(0xd4)+_0x18e78d);}if(!_0x525ee7||typeof _0x525ee7!==_0x12f5f5(0xdd)||Array[_0x12f5f5(0xe5)](_0x525ee7))throw CliErrors[_0x12f5f5(0xd3)]('Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.');const _0x3337a7=_0x525ee7,_0x326fe4=Object['keys'](_0x3337a7)[_0x12f5f5(0xef)](_0x1108f0=>!DOMAIN_CONFIG_FIELDS[_0x12f5f5(0xd6)](_0x1108f0));if(_0x326fe4['length']>0x0)throw CliErrors[_0x12f5f5(0xd3)](_0x12f5f5(0xd7)+_0x326fe4[_0x12f5f5(0xd5)](',\x20'),_0x12f5f5(0xd8)+DOMAIN_CONFIG_FIELDS[_0x12f5f5(0xd5)](',\x20'));const _0x48e515={};for(const _0x213072 of DOMAIN_CONFIG_FIELDS){_0x3337a7[_0x213072]!==undefined&&(_0x48e515[_0x213072]=normalizeDomainOrigin(_0x213072,_0x3337a7[_0x213072]));}if(Object[_0x12f5f5(0xcd)](_0x48e515)[_0x12f5f5(0xcf)]===0x0)throw CliErrors[_0x12f5f5(0xd3)](_0x12f5f5(0xc8));return _0x48e515;}export function resolveDomainFlags(_0x255998){const _0xad7347=a206_0x47406f,_0x1bc70f=(_0x255998[_0xad7347(0xec)](_0xad7347(0xe2))||'')['trim'](),_0x7905a7=_0x1bc70f?readDomainConfig(_0x1bc70f):{};for(const _0x2cfad0 of DOMAIN_CONFIG_FIELDS){const _0x45ba61=(_0x255998['str'](DOMAIN_FLAGS[_0x2cfad0])||'')['trim']();if(_0x45ba61)_0x7905a7[_0x2cfad0]=normalizeDomainOrigin(_0x2cfad0,_0x45ba61);}return _0x7905a7;}
@@ -0,0 +1,30 @@
1
+ import type { LovrabetRegion } from "../constant/region.js";
2
+ export declare const PROJECT_ROUTING_FILE_NAME = "rabetbase.routing.json";
3
+ export declare const PROJECT_ROUTING_PROTOCOL = "lovrabet-project-routing/v1";
4
+ export type ProjectAssetRouting = {
5
+ strategy: "cdn";
6
+ origin: string;
7
+ } | {
8
+ strategy: "bundle";
9
+ };
10
+ export interface ProjectRoutingManifest {
11
+ protocol: typeof PROJECT_ROUTING_PROTOCOL;
12
+ mode: "official" | "independent";
13
+ region: LovrabetRegion | null;
14
+ domains: {
15
+ user: string;
16
+ app: string;
17
+ runtime: string;
18
+ };
19
+ assets: ProjectAssetRouting;
20
+ local: {
21
+ origin: string;
22
+ certificateUrl?: string;
23
+ };
24
+ }
25
+ /** Resolves only public, final routing facts for generated browser projects. */
26
+ export declare function getProjectRoutingManifest(): ProjectRoutingManifest;
27
+ export declare function writeProjectRoutingManifest(projectRoot: string): {
28
+ path: string;
29
+ manifest: ProjectRoutingManifest;
30
+ };
@@ -0,0 +1 @@
1
+ const a207_0x43a76a=a207_0x4eea;(function(_0x5ac74d,_0x4a3291){const _0x457e7d=a207_0x4eea,_0x6af5aa=_0x5ac74d();while(!![]){try{const _0x1ed872=parseInt(_0x457e7d(0x143))/0x1+parseInt(_0x457e7d(0x145))/0x2*(parseInt(_0x457e7d(0x13e))/0x3)+-parseInt(_0x457e7d(0x138))/0x4+parseInt(_0x457e7d(0x148))/0x5*(parseInt(_0x457e7d(0x139))/0x6)+parseInt(_0x457e7d(0x137))/0x7*(parseInt(_0x457e7d(0x141))/0x8)+-parseInt(_0x457e7d(0x13d))/0x9+-parseInt(_0x457e7d(0x147))/0xa*(parseInt(_0x457e7d(0x149))/0xb);if(_0x1ed872===_0x4a3291)break;else _0x6af5aa['push'](_0x6af5aa['shift']());}catch(_0x3c5314){_0x6af5aa['push'](_0x6af5aa['shift']());}}}(a207_0x1b3e,0x1e877));import{writeFileSync}from'node:fs';import{join}from'node:path';function a207_0x4eea(_0x19cd90,_0x2cb4a8){_0x19cd90=_0x19cd90-0x135;const _0x1b3ee0=a207_0x1b3e();let _0x4eeacc=_0x1b3ee0[_0x19cd90];return _0x4eeacc;}import{getActiveRegion,getAppDomain,getCertificateDomain,getLocalDomain,getRuntimeDomain,getUserDomain,isIndependentDeployment}from'../constant/domain.js';function a207_0x1b3e(){const _0x386100=['lovrabet-project-routing/v1','stringify','497lsAZdj','918872MzgcYT','6RFrUUL','utf8','independent','official','195588kmYquP','26949XYeuuP','assets','rabetbase.routing.json','7568apiQpl','http://localhost','228163aLxWOg','Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','52Yhlnpr','/cert/lovrabet-dev.json','887440wcmriz','1012930vlQvqY','44AdVPGx'];a207_0x1b3e=function(){return _0x386100;};return a207_0x1b3e();}import{getOfficialRoutingProfile}from'../constant/routing-profile.js';export const PROJECT_ROUTING_FILE_NAME=a207_0x43a76a(0x140);export const PROJECT_ROUTING_PROTOCOL=a207_0x43a76a(0x135);export function getProjectRoutingManifest(){const _0xe43a24=a207_0x43a76a,_0x525fe6=getActiveRegion(),_0x242106=isIndependentDeployment(),_0x12469e=getOfficialRoutingProfile(_0x525fe6),_0x389956=getLocalDomain(),_0x39e0d1=getCertificateDomain();if(!!_0x389956!==!!_0x39e0d1)throw new Error(_0xe43a24(0x144));return{'protocol':PROJECT_ROUTING_PROTOCOL,'mode':_0x242106?_0xe43a24(0x13b):_0xe43a24(0x13c),'region':_0x242106?null:_0x525fe6,'domains':{'user':getUserDomain(),'app':getAppDomain(),'runtime':getRuntimeDomain()},'assets':_0x12469e[_0xe43a24(0x13f)],'local':_0x389956&&_0x39e0d1?{'origin':_0x389956,'certificateUrl':_0x39e0d1+_0xe43a24(0x146)}:_0x242106?{'origin':_0xe43a24(0x142)}:_0x12469e['local']};}export function writeProjectRoutingManifest(_0x483c09){const _0x509b04=a207_0x43a76a,_0x263ea7=getProjectRoutingManifest(),_0xe1f04c=join(_0x483c09,PROJECT_ROUTING_FILE_NAME);return writeFileSync(_0xe1f04c,JSON[_0x509b04(0x136)](_0x263ea7,null,0x2)+'\x0a',_0x509b04(0x13a)),{'path':_0xe1f04c,'manifest':_0x263ea7};}
@@ -1,6 +1,6 @@
1
1
  import type { FlagDef } from "../framework/types.js";
2
2
  export { DEFAULT_CONFIG_VALUES } from "../constant/defaults.js";
3
- export declare const PROJECT_CREATE_INHERITABLE_KEYS: readonly ["cookie", "accessKey", "locale", "format", "riskLevel", "region", "userDomain", "apiDomain", "runtimeDomain", "skillDomain", "kbDomain", "appDomain"];
3
+ export declare const PROJECT_CREATE_INHERITABLE_KEYS: readonly ["cookie", "accessKey", "locale", "format", "riskLevel", "region", "userDomain", "apiDomain", "runtimeDomain", "skillDomain", "kbDomain", "appDomain", "localDomain", "certificateDomain"];
4
4
  export interface ConfigMetadataFields {
5
5
  version?: string;
6
6
  createdAt?: string;
@@ -1 +1 @@
1
- const a207_0x52f151=a207_0x3d05;(function(_0x40f810,_0xf437ae){const _0x1324d6=a207_0x3d05,_0x3b1e1c=_0x40f810();while(!![]){try{const _0x52875a=parseInt(_0x1324d6(0x147))/0x1*(parseInt(_0x1324d6(0x125))/0x2)+parseInt(_0x1324d6(0x143))/0x3+parseInt(_0x1324d6(0x12c))/0x4+-parseInt(_0x1324d6(0x117))/0x5+parseInt(_0x1324d6(0x118))/0x6*(-parseInt(_0x1324d6(0x144))/0x7)+parseInt(_0x1324d6(0x13f))/0x8*(-parseInt(_0x1324d6(0x13b))/0x9)+parseInt(_0x1324d6(0x123))/0xa*(parseInt(_0x1324d6(0x149))/0xb);if(_0x52875a===_0xf437ae)break;else _0x3b1e1c['push'](_0x3b1e1c['shift']());}catch(_0x8bf19){_0x3b1e1c['push'](_0x3b1e1c['shift']());}}}(a207_0xf787,0xf08ad));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a207_0x52f151(0x136),a207_0x52f151(0x13a),'locale',a207_0x52f151(0x134),a207_0x52f151(0x119),a207_0x52f151(0x11c),'userDomain',a207_0x52f151(0x124),a207_0x52f151(0x127),a207_0x52f151(0x11a),a207_0x52f151(0x13e),a207_0x52f151(0x148)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a207_0x52f151(0x146),a207_0x52f151(0x12f),'locale','format',a207_0x52f151(0x136),a207_0x52f151(0x13a),a207_0x52f151(0x122),a207_0x52f151(0x11c),a207_0x52f151(0x138),'apiDomain',a207_0x52f151(0x127),a207_0x52f151(0x11a),a207_0x52f151(0x13e),a207_0x52f151(0x148)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x4727c0){const _0x580475=a207_0x52f151;return[..._0x4727c0][_0x580475(0x145)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x3b2234){const _0x5e848c=a207_0x52f151;return TOP_LEVEL_CONFIG_KEYS[_0x5e848c(0x133)](_0x3b2234);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x4bc39c=a207_0x52f151;return _0x4bc39c(0x126)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'env':a207_0x52f151(0x12f),'apiDir':a207_0x52f151(0x122),'cookie':a207_0x52f151(0x136),'accessKey':a207_0x52f151(0x13a),'defaultFormat':a207_0x52f151(0x134),'pageSize':a207_0x52f151(0x11d),'riskLevel':'riskLevel','locale':a207_0x52f151(0x137)};export function getAppProfileFlagDefs(){const _0x48cd07=a207_0x52f151;return[{'name':_0x48cd07(0x12f),'type':_0x48cd07(0x11e),'description':_0x48cd07(0x128),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x48cd07(0x122),'type':'string','description':_0x48cd07(0x131)},{'name':_0x48cd07(0x136),'type':'string','description':_0x48cd07(0x121),'hidden':!![]},{'name':'accessKey','type':_0x48cd07(0x11e),'description':_0x48cd07(0x120),'hidden':!![]},{'name':_0x48cd07(0x11f),'type':_0x48cd07(0x11e),'description':_0x48cd07(0x12d),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x48cd07(0x11d),'type':_0x48cd07(0x140),'description':_0x48cd07(0x115)},{'name':_0x48cd07(0x119),'type':_0x48cd07(0x11e),'description':_0x48cd07(0x13d),'enum':[...RISK_LEVEL_VALUES]},{'name':'locale','type':_0x48cd07(0x11e),'description':'App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)'}];}export function collectAppProfileOverrides(_0x58af32){const _0x33ef7a=a207_0x52f151,_0x44bf34={};for(const [_0x1c0c60,_0x31d2b9]of Object[_0x33ef7a(0x12e)](APP_PROFILE_FLAG_KEY_MAP)){const _0x25fbbe=_0x58af32(_0x1c0c60);if(!_0x25fbbe)continue;_0x44bf34[_0x31d2b9]=_0x31d2b9===_0x33ef7a(0x11d)?Number(_0x25fbbe):_0x25fbbe;}return _0x44bf34;}export function buildAppProfileListFields(_0x29fd39){const _0x2dd677=a207_0x52f151;return{'env':_0x29fd39[_0x2dd677(0x12f)]??null,'apiDir':_0x29fd39[_0x2dd677(0x122)]??null,'hasCookie':!!_0x29fd39[_0x2dd677(0x136)],'hasAccessKey':!!_0x29fd39['accessKey'],'format':_0x29fd39[_0x2dd677(0x134)]??null,'pageSize':_0x29fd39['pageSize']??null,'riskLevel':_0x29fd39['riskLevel']??null,'locale':_0x29fd39[_0x2dd677(0x137)]??null};}export function buildAppDoctorFields(_0x2c104a,_0x19937e){const _0xdae8aa=a207_0x52f151;return{'env':{'value':_0x2c104a[_0xdae8aa(0x12f)]||_0x19937e[_0xdae8aa(0x12f)],'source':_0x2c104a[_0xdae8aa(0x12f)]?_0xdae8aa(0x135):_0xdae8aa(0x141)},'apiDir':{'value':_0x2c104a['apiDir']||_0x19937e['apiDir'],'source':_0x2c104a['apiDir']?_0xdae8aa(0x135):'inherit'},'cookie':{'value':_0x2c104a['cookie']||_0x19937e['cookie'],'source':_0x2c104a[_0xdae8aa(0x136)]?_0xdae8aa(0x135):'inherit'},'accessKey':{'value':_0x2c104a[_0xdae8aa(0x13a)]||_0x19937e[_0xdae8aa(0x13a)],'source':_0x2c104a[_0xdae8aa(0x13a)]?_0xdae8aa(0x135):_0xdae8aa(0x141)}};}export function buildCanonicalAppConfig(_0x5e2442,_0x145cdd){const _0x54be2c=a207_0x52f151,_0x444098=_0x5e2442[_0x54be2c(0x129)](_0x4c75bb=>String(_0x4c75bb||'')['trim']())[_0x54be2c(0x12b)](Boolean);if(_0x444098[_0x54be2c(0x130)]===0x0)return{};const _0x3e2c20={};for(const _0x52167e of _0x444098){_0x3e2c20[_0x52167e]=_0x145cdd?{'appcode':_0x52167e,'env':_0x145cdd}:{'appcode':_0x52167e};}return _0x444098[_0x54be2c(0x130)]>0x1?{'apps':_0x3e2c20,'defaultApp':_0x444098[0x0]}:{'apps':_0x3e2c20};}export function normalizeStoredDefaultApp(_0x55dd19,_0x342cda){const _0x1979f3=a207_0x52f151,_0x569ea2=_0x55dd19[_0x1979f3(0x139)]&&typeof _0x55dd19[_0x1979f3(0x139)]===_0x1979f3(0x11b)?_0x55dd19['apps']:{},_0x2dbbc4=Object[_0x1979f3(0x116)](_0x569ea2);if(_0x2dbbc4[_0x1979f3(0x130)]<=0x1)return delete _0x55dd19[_0x1979f3(0x12a)],undefined;const _0x5e68a9=typeof _0x55dd19[_0x1979f3(0x12a)]===_0x1979f3(0x11e)&&_0x569ea2[_0x55dd19[_0x1979f3(0x12a)]]?_0x55dd19[_0x1979f3(0x12a)]:undefined,_0xd22bf0=_0x342cda&&_0x569ea2[_0x342cda]?_0x342cda:_0x5e68a9;if(_0xd22bf0)return _0x55dd19[_0x1979f3(0x12a)]=_0xd22bf0,_0xd22bf0;return delete _0x55dd19[_0x1979f3(0x12a)],undefined;}export function buildCanonicalProjectConfig(_0x56dab2,_0x377003){const _0x3be176=a207_0x52f151,{appCodes:appCodes=[],env:_0x208c09,metadata:_0x3fba28}=_0x377003,_0x532a85={..._0x56dab2,..._0x3fba28||{}};delete _0x532a85[_0x3be176(0x146)],delete _0x532a85[_0x3be176(0x135)];if(_0x208c09)_0x532a85['env']=_0x208c09;else!_0x532a85['env']&&(_0x532a85[_0x3be176(0x12f)]=DEFAULT_CONFIG_VALUES[_0x3be176(0x12f)]);const _0x2c8f35=buildCanonicalAppConfig(appCodes,_0x532a85[_0x3be176(0x12f)]);if(Object[_0x3be176(0x116)](_0x2c8f35)[_0x3be176(0x130)]>0x0){_0x532a85[_0x3be176(0x139)]=_0x2c8f35[_0x3be176(0x139)];if(_0x2c8f35[_0x3be176(0x12a)])_0x532a85[_0x3be176(0x12a)]=_0x2c8f35[_0x3be176(0x12a)];else delete _0x532a85['defaultApp'];}return _0x532a85;}function a207_0x3d05(_0x43d9d9,_0x49a5ca){_0x43d9d9=_0x43d9d9-0x115;const _0xf78790=a207_0xf787();let _0x3d05a6=_0xf78790[_0x43d9d9];return _0x3d05a6;}const LOCALE_MAP={'zh':a207_0x52f151(0x142),'zh-cn':a207_0x52f151(0x142),'zh_cn':'zh-CN','en':'en-US','en-us':a207_0x52f151(0x132),'en_us':a207_0x52f151(0x132)};function a207_0xf787(){const _0x212ec8=['Target\x20environment','map','defaultApp','filter','698412FMvTnQ','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','entries','env','length','API\x20directory\x20path','en-US','has','format','app','cookie','locale','userDomain','apps','accessKey','14813343GykhMc','toLowerCase','Risk\x20level','kbDomain','8Wglltg','number','inherit','zh-CN','5399892bDVLrw','104279cpKzFo','join','appcode','183ahFRni','appDomain','24559744LcxoQS','Default\x20page\x20size','keys','3474700RmIvlZ','534MuNYWU','riskLevel','skillDomain','object','region','pageSize','string','defaultFormat','Access\x20key','Auth\x20cookie','apiDir','10YVHGco','apiDomain','4860EkXLci','Config\x20key\x20(','runtimeDomain'];a207_0xf787=function(){return _0x212ec8;};return a207_0xf787();}export function normalizeLocale(_0xc2b9ef){const _0x353596=a207_0x52f151;if(!_0xc2b9ef)return null;return LOCALE_MAP[_0xc2b9ef[_0x353596(0x13c)]()]??null;}
1
+ const a208_0xabd620=a208_0x6a67;(function(_0x26048e,_0x4d0d7d){const _0x3c7590=a208_0x6a67,_0x5421f8=_0x26048e();while(!![]){try{const _0x624f45=-parseInt(_0x3c7590(0x1ad))/0x1+-parseInt(_0x3c7590(0x192))/0x2*(-parseInt(_0x3c7590(0x1a4))/0x3)+parseInt(_0x3c7590(0x19d))/0x4*(-parseInt(_0x3c7590(0x1b6))/0x5)+-parseInt(_0x3c7590(0x1a1))/0x6+parseInt(_0x3c7590(0x1b0))/0x7+parseInt(_0x3c7590(0x18d))/0x8*(parseInt(_0x3c7590(0x1af))/0x9)+parseInt(_0x3c7590(0x1ac))/0xa;if(_0x624f45===_0x4d0d7d)break;else _0x5421f8['push'](_0x5421f8['shift']());}catch(_0x35c72c){_0x5421f8['push'](_0x5421f8['shift']());}}}(a208_0x2de4,0xa2d0b));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a208_0xabd620(0x1a2),'accessKey','locale',a208_0xabd620(0x1b3),a208_0xabd620(0x191),'region',a208_0xabd620(0x1b2),a208_0xabd620(0x1b5),'runtimeDomain',a208_0xabd620(0x196),a208_0xabd620(0x1bb),a208_0xabd620(0x18e),a208_0xabd620(0x1a3),a208_0xabd620(0x19f)];export const TOP_LEVEL_CONFIG_KEYS=new Set(['appcode',a208_0xabd620(0x1b7),'locale',a208_0xabd620(0x1b3),a208_0xabd620(0x1a2),'accessKey','apiDir',a208_0xabd620(0x1aa),a208_0xabd620(0x1b2),a208_0xabd620(0x1b5),'runtimeDomain',a208_0xabd620(0x196),a208_0xabd620(0x1bb),'appDomain',a208_0xabd620(0x1a3),a208_0xabd620(0x19f)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x474d2a){return[..._0x474d2a]['join'](',\x20');}function a208_0x2de4(){const _0x1f3b6a=['279ibpLak','4261124LyoIQX','defaultApp','userDomain','format','accessKey','apiDomain','685LUHXCh','env','entries','trim','Target\x20environment','kbDomain','apps','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','118056AGBGcE','appDomain','inherit','keys','riskLevel','22YEnTKP','Config\x20key\x20(','length','map','skillDomain','locale','app','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','Risk\x20level','pageSize','has','31972HmziIa','filter','certificateDomain','Default\x20page\x20size','2567808FtXYsJ','cookie','localDomain','35583peyxrA','string','toLowerCase','zh-CN','en-US','defaultFormat','region','apiDir','18112980DzfWFE','818068rmqfAJ','Auth\x20cookie'];a208_0x2de4=function(){return _0x1f3b6a;};return a208_0x2de4();}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x7a535c){const _0x53fd21=a208_0xabd620;return TOP_LEVEL_CONFIG_KEYS[_0x53fd21(0x19c)](_0x7a535c);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x38e8ee=a208_0xabd620;return _0x38e8ee(0x193)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'env':a208_0xabd620(0x1b7),'apiDir':a208_0xabd620(0x1ab),'cookie':a208_0xabd620(0x1a2),'accessKey':'accessKey','defaultFormat':'format','pageSize':a208_0xabd620(0x19b),'riskLevel':a208_0xabd620(0x191),'locale':a208_0xabd620(0x197)};export function getAppProfileFlagDefs(){const _0x4b7ac3=a208_0xabd620;return[{'name':_0x4b7ac3(0x1b7),'type':_0x4b7ac3(0x1a5),'description':_0x4b7ac3(0x1ba),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x4b7ac3(0x1ab),'type':'string','description':'API\x20directory\x20path'},{'name':_0x4b7ac3(0x1a2),'type':_0x4b7ac3(0x1a5),'description':_0x4b7ac3(0x1ae),'hidden':!![]},{'name':_0x4b7ac3(0x1b4),'type':_0x4b7ac3(0x1a5),'description':'Access\x20key','hidden':!![]},{'name':_0x4b7ac3(0x1a9),'type':_0x4b7ac3(0x1a5),'description':_0x4b7ac3(0x199),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':'pageSize','type':'number','description':_0x4b7ac3(0x1a0)},{'name':_0x4b7ac3(0x191),'type':_0x4b7ac3(0x1a5),'description':_0x4b7ac3(0x19a),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x4b7ac3(0x197),'type':'string','description':_0x4b7ac3(0x18c)}];}export function collectAppProfileOverrides(_0x5a5745){const _0x358bfc=a208_0xabd620,_0x38eb58={};for(const [_0x3f5f59,_0x1bc58b]of Object[_0x358bfc(0x1b8)](APP_PROFILE_FLAG_KEY_MAP)){const _0x3d22dd=_0x5a5745(_0x3f5f59);if(!_0x3d22dd)continue;_0x38eb58[_0x1bc58b]=_0x1bc58b==='pageSize'?Number(_0x3d22dd):_0x3d22dd;}return _0x38eb58;}export function buildAppProfileListFields(_0x4704b5){const _0x59a60b=a208_0xabd620;return{'env':_0x4704b5[_0x59a60b(0x1b7)]??null,'apiDir':_0x4704b5['apiDir']??null,'hasCookie':!!_0x4704b5[_0x59a60b(0x1a2)],'hasAccessKey':!!_0x4704b5['accessKey'],'format':_0x4704b5[_0x59a60b(0x1b3)]??null,'pageSize':_0x4704b5[_0x59a60b(0x19b)]??null,'riskLevel':_0x4704b5['riskLevel']??null,'locale':_0x4704b5[_0x59a60b(0x197)]??null};}export function buildAppDoctorFields(_0x1f7d2b,_0x146911){const _0x5d6ff1=a208_0xabd620;return{'env':{'value':_0x1f7d2b[_0x5d6ff1(0x1b7)]||_0x146911[_0x5d6ff1(0x1b7)],'source':_0x1f7d2b[_0x5d6ff1(0x1b7)]?'app':'inherit'},'apiDir':{'value':_0x1f7d2b[_0x5d6ff1(0x1ab)]||_0x146911[_0x5d6ff1(0x1ab)],'source':_0x1f7d2b['apiDir']?_0x5d6ff1(0x198):_0x5d6ff1(0x18f)},'cookie':{'value':_0x1f7d2b[_0x5d6ff1(0x1a2)]||_0x146911[_0x5d6ff1(0x1a2)],'source':_0x1f7d2b[_0x5d6ff1(0x1a2)]?_0x5d6ff1(0x198):'inherit'},'accessKey':{'value':_0x1f7d2b[_0x5d6ff1(0x1b4)]||_0x146911[_0x5d6ff1(0x1b4)],'source':_0x1f7d2b['accessKey']?_0x5d6ff1(0x198):'inherit'}};}export function buildCanonicalAppConfig(_0x1f17b8,_0x305c93){const _0x17802c=a208_0xabd620,_0x224816=_0x1f17b8[_0x17802c(0x195)](_0x27fa8a=>String(_0x27fa8a||'')[_0x17802c(0x1b9)]())[_0x17802c(0x19e)](Boolean);if(_0x224816[_0x17802c(0x194)]===0x0)return{};const _0x2c2ffa={};for(const _0x138c6f of _0x224816){_0x2c2ffa[_0x138c6f]=_0x305c93?{'appcode':_0x138c6f,'env':_0x305c93}:{'appcode':_0x138c6f};}return _0x224816['length']>0x1?{'apps':_0x2c2ffa,'defaultApp':_0x224816[0x0]}:{'apps':_0x2c2ffa};}function a208_0x6a67(_0x5b78ca,_0x2484cd){_0x5b78ca=_0x5b78ca-0x18c;const _0x2de48d=a208_0x2de4();let _0x6a6721=_0x2de48d[_0x5b78ca];return _0x6a6721;}export function normalizeStoredDefaultApp(_0x543ce6,_0x4bb1a3){const _0x209a4f=a208_0xabd620,_0x112270=_0x543ce6[_0x209a4f(0x1bc)]&&typeof _0x543ce6[_0x209a4f(0x1bc)]==='object'?_0x543ce6['apps']:{},_0x402630=Object['keys'](_0x112270);if(_0x402630[_0x209a4f(0x194)]<=0x1)return delete _0x543ce6['defaultApp'],undefined;const _0x1c05d3=typeof _0x543ce6['defaultApp']==='string'&&_0x112270[_0x543ce6[_0x209a4f(0x1b1)]]?_0x543ce6['defaultApp']:undefined,_0x1aa7a5=_0x4bb1a3&&_0x112270[_0x4bb1a3]?_0x4bb1a3:_0x1c05d3;if(_0x1aa7a5)return _0x543ce6['defaultApp']=_0x1aa7a5,_0x1aa7a5;return delete _0x543ce6[_0x209a4f(0x1b1)],undefined;}export function buildCanonicalProjectConfig(_0x25c42c,_0x1598e3){const _0x43c488=a208_0xabd620,{appCodes:appCodes=[],env:_0x3de822,metadata:_0x2de40b}=_0x1598e3,_0x1f9202={..._0x25c42c,..._0x2de40b||{}};delete _0x1f9202['appcode'],delete _0x1f9202[_0x43c488(0x198)];if(_0x3de822)_0x1f9202['env']=_0x3de822;else!_0x1f9202['env']&&(_0x1f9202[_0x43c488(0x1b7)]=DEFAULT_CONFIG_VALUES[_0x43c488(0x1b7)]);const _0x5c773e=buildCanonicalAppConfig(appCodes,_0x1f9202[_0x43c488(0x1b7)]);if(Object[_0x43c488(0x190)](_0x5c773e)['length']>0x0){_0x1f9202['apps']=_0x5c773e['apps'];if(_0x5c773e[_0x43c488(0x1b1)])_0x1f9202['defaultApp']=_0x5c773e[_0x43c488(0x1b1)];else delete _0x1f9202[_0x43c488(0x1b1)];}return _0x1f9202;}const LOCALE_MAP={'zh':a208_0xabd620(0x1a7),'zh-cn':a208_0xabd620(0x1a7),'zh_cn':a208_0xabd620(0x1a7),'en':a208_0xabd620(0x1a8),'en-us':a208_0xabd620(0x1a8),'en_us':'en-US'};export function normalizeLocale(_0x3422d0){const _0x17d33e=a208_0xabd620;if(!_0x3422d0)return null;return LOCALE_MAP[_0x3422d0[_0x17d33e(0x1a6)]()]??null;}
@@ -1 +1 @@
1
- const a208_0x34d771=a208_0x1ed1;(function(_0x403294,_0x26e52b){const _0x5ee16a=a208_0x1ed1,_0x4a7e91=_0x403294();while(!![]){try{const _0x52e866=parseInt(_0x5ee16a(0x188))/0x1*(parseInt(_0x5ee16a(0x18a))/0x2)+-parseInt(_0x5ee16a(0x18e))/0x3+parseInt(_0x5ee16a(0x189))/0x4+-parseInt(_0x5ee16a(0x18c))/0x5+-parseInt(_0x5ee16a(0x18b))/0x6+parseInt(_0x5ee16a(0x190))/0x7+parseInt(_0x5ee16a(0x18f))/0x8;if(_0x52e866===_0x26e52b)break;else _0x4a7e91['push'](_0x4a7e91['shift']());}catch(_0x39cc6d){_0x4a7e91['push'](_0x4a7e91['shift']());}}}(a208_0x34f6,0x7bd12));function a208_0x1ed1(_0x55a8f9,_0x5d19dd){_0x55a8f9=_0x55a8f9-0x187;const _0x34f609=a208_0x34f6();let _0x1ed1c6=_0x34f609[_0x55a8f9];return _0x1ed1c6;}export const RABETBASE_CDN_BASE_URL='https://g.lovrabet.com/dist/rabetbase-cli';export const CLI_VERSION_POLICY_URL=RABETBASE_CDN_BASE_URL+a208_0x34d771(0x18d);export const PROJECT_TEMPLATE_ASSET_BASE_URL=RABETBASE_CDN_BASE_URL+a208_0x34d771(0x187);function a208_0x34f6(){const _0x336306=['/config/index.json','1102461liUPwq','11126520tygqqg','656796GXXqgj','/templates/projects','252897WZYipj','438272pVneEk','2kYUEtK','2607768dEvxbS','2689195LDgNsn'];a208_0x34f6=function(){return _0x336306;};return a208_0x34f6();}
1
+ const a209_0x2039f5=a209_0x5f58;function a209_0x5f58(_0x2836f5,_0xb57d9e){_0x2836f5=_0x2836f5-0xf5;const _0x2eb772=a209_0x2eb7();let _0x5f585b=_0x2eb772[_0x2836f5];return _0x5f585b;}(function(_0x2c5df7,_0x12e85f){const _0xd47ff6=a209_0x5f58,_0x3749b3=_0x2c5df7();while(!![]){try{const _0x5798f5=parseInt(_0xd47ff6(0xf9))/0x1*(parseInt(_0xd47ff6(0x101))/0x2)+-parseInt(_0xd47ff6(0xfb))/0x3*(parseInt(_0xd47ff6(0xf8))/0x4)+parseInt(_0xd47ff6(0xf7))/0x5*(-parseInt(_0xd47ff6(0xf5))/0x6)+-parseInt(_0xd47ff6(0xfc))/0x7+-parseInt(_0xd47ff6(0xfa))/0x8+-parseInt(_0xd47ff6(0x100))/0x9*(-parseInt(_0xd47ff6(0xf6))/0xa)+-parseInt(_0xd47ff6(0x102))/0xb*(-parseInt(_0xd47ff6(0xff))/0xc);if(_0x5798f5===_0x12e85f)break;else _0x3749b3['push'](_0x3749b3['shift']());}catch(_0x24573e){_0x3749b3['push'](_0x3749b3['shift']());}}}(a209_0x2eb7,0xcbd19));export const RABETBASE_CDN_BASE_URL=a209_0x2039f5(0xfe);export const CLI_VERSION_POLICY_URL=RABETBASE_CDN_BASE_URL+a209_0x2039f5(0xfd);function a209_0x2eb7(){const _0x224817=['https://g.lovrabet.com/dist/rabetbase-cli','2448HHXgLI','72YyyFdE','376754tJNPzR','78562rgcwgN','167844OOcTdY','163140vtGOON','25coDWrP','32804KqbiMh','6qysPCs','1560784ggIyre','219Imosna','6644820BHwcLX','/config/index.json'];a209_0x2eb7=function(){return _0x224817;};return a209_0x2eb7();}export const PROJECT_TEMPLATE_ASSET_BASE_URL=RABETBASE_CDN_BASE_URL+'/templates/projects';
@@ -1 +1 @@
1
- function a209_0x5acb(_0x2e2c6d,_0x3c5e6c){_0x2e2c6d=_0x2e2c6d-0xc3;const _0x427f61=a209_0x427f();let _0x5acb39=_0x427f61[_0x2e2c6d];return _0x5acb39;}const a209_0x3fd0b7=a209_0x5acb;(function(_0x516fa1,_0x5db4e5){const _0x276b05=a209_0x5acb,_0x272e5a=_0x516fa1();while(!![]){try{const _0x10bedc=-parseInt(_0x276b05(0xee))/0x1*(-parseInt(_0x276b05(0xf8))/0x2)+-parseInt(_0x276b05(0x130))/0x3*(parseInt(_0x276b05(0xf4))/0x4)+-parseInt(_0x276b05(0x11f))/0x5*(parseInt(_0x276b05(0x13d))/0x6)+-parseInt(_0x276b05(0xd2))/0x7*(-parseInt(_0x276b05(0xec))/0x8)+parseInt(_0x276b05(0xcf))/0x9*(parseInt(_0x276b05(0xd9))/0xa)+-parseInt(_0x276b05(0xde))/0xb+-parseInt(_0x276b05(0x119))/0xc;if(_0x10bedc===_0x5db4e5)break;else _0x272e5a['push'](_0x272e5a['shift']());}catch(_0x245837){_0x272e5a['push'](_0x272e5a['shift']());}}}(a209_0x427f,0xc0ccd));export const CLI_BIN_NAME=a209_0x3fd0b7(0xf6);export const CLI_DISPLAY_NAME=a209_0x3fd0b7(0x102);export const NPM_PACKAGE_NAME=a209_0x3fd0b7(0x111);export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':a209_0x3fd0b7(0xcb),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x110),'hint':a209_0x3fd0b7(0xcc)},{'name':'app','meowKey':'app','type':'string','description':'Select\x20app\x20profile\x20by\x20name','hint':a209_0x3fd0b7(0xe9)},{'name':a209_0x3fd0b7(0x148),'meowKey':'env','type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x125),'hint':a209_0x3fd0b7(0x11d)},{'name':'format','meowKey':a209_0x3fd0b7(0x11e),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x14c),'hint':a209_0x3fd0b7(0x13e)},{'name':'jq','meowKey':'jq','type':a209_0x3fd0b7(0xeb),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','hint':a209_0x3fd0b7(0x116)},{'name':a209_0x3fd0b7(0x129),'meowKey':a209_0x3fd0b7(0xea),'type':a209_0x3fd0b7(0x137),'description':a209_0x3fd0b7(0x114)},{'name':'yes','meowKey':a209_0x3fd0b7(0x108),'type':a209_0x3fd0b7(0x137),'description':'Skip\x20confirmation\x20for\x20high-risk\x20writes'},{'name':a209_0x3fd0b7(0x141),'meowKey':a209_0x3fd0b7(0x11c),'type':a209_0x3fd0b7(0x137),'description':a209_0x3fd0b7(0x13b)},{'name':a209_0x3fd0b7(0xe7),'meowKey':a209_0x3fd0b7(0xe7),'type':'boolean','description':'Use\x20global\x20config\x20scope'},{'name':a209_0x3fd0b7(0x10a),'meowKey':a209_0x3fd0b7(0x10a),'type':a209_0x3fd0b7(0x137),'description':'Use\x20project\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':'boolean','description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a209_0x3fd0b7(0x14f),'meowKey':'help','type':a209_0x3fd0b7(0x137),'description':a209_0x3fd0b7(0x13a)},{'name':'locale','meowKey':a209_0x3fd0b7(0xe3),'type':'string','description':a209_0x3fd0b7(0xc5),'hidden':!![],'hint':a209_0x3fd0b7(0xed)},{'name':a209_0x3fd0b7(0x101),'meowKey':a209_0x3fd0b7(0x101),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0xe2),'hidden':!![]},{'name':a209_0x3fd0b7(0xfb),'meowKey':'title','type':a209_0x3fd0b7(0xeb),'description':'Title','hidden':!![]},{'name':a209_0x3fd0b7(0xfa),'meowKey':a209_0x3fd0b7(0xfa),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x107),'hidden':!![]},{'name':a209_0x3fd0b7(0xe4),'meowKey':'topk','type':'string','description':a209_0x3fd0b7(0x113),'hidden':!![]},{'name':a209_0x3fd0b7(0xc3),'meowKey':a209_0x3fd0b7(0xc3),'type':a209_0x3fd0b7(0x137),'description':'Clear','hidden':!![]},{'name':a209_0x3fd0b7(0xf2),'meowKey':a209_0x3fd0b7(0xf2),'type':a209_0x3fd0b7(0x137),'description':a209_0x3fd0b7(0xd0),'hidden':!![]},{'name':a209_0x3fd0b7(0xff),'meowKey':a209_0x3fd0b7(0xff),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x100),'hidden':!![]},{'name':a209_0x3fd0b7(0x127),'meowKey':a209_0x3fd0b7(0x127),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x133),'hidden':!![]},{'name':a209_0x3fd0b7(0x10d),'meowKey':a209_0x3fd0b7(0x10d),'type':'string','description':a209_0x3fd0b7(0xc8),'hidden':!![]},{'name':a209_0x3fd0b7(0xfd),'meowKey':a209_0x3fd0b7(0xfd),'type':a209_0x3fd0b7(0x137),'description':a209_0x3fd0b7(0x12a),'hidden':!![]},{'name':a209_0x3fd0b7(0x13c),'meowKey':a209_0x3fd0b7(0xf3),'type':'boolean','description':a209_0x3fd0b7(0xce),'hidden':!![]},{'name':'id','meowKey':'id','type':'string','description':a209_0x3fd0b7(0x143),'hidden':!![]},{'name':a209_0x3fd0b7(0xe6),'meowKey':'type','type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0xef),'hidden':!![]},{'name':'file','meowKey':a209_0x3fd0b7(0x128),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x117),'hidden':!![]},{'name':a209_0x3fd0b7(0x14b),'meowKey':a209_0x3fd0b7(0x14b),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x120),'hidden':!![]},{'name':'sql-name','meowKey':'sqlName','type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0xcd),'hidden':!![]},{'name':a209_0x3fd0b7(0xda),'meowKey':a209_0x3fd0b7(0xda),'type':a209_0x3fd0b7(0xeb),'description':'SQL\x20name','hidden':!![]},{'name':a209_0x3fd0b7(0xd7),'meowKey':a209_0x3fd0b7(0x14d),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0xc9),'hidden':!![]},{'name':a209_0x3fd0b7(0x144),'meowKey':'dbid','type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0xc9),'hidden':!![]},{'name':a209_0x3fd0b7(0xd1),'meowKey':a209_0x3fd0b7(0xd1),'type':'string','description':'Description','hidden':!![]},{'name':a209_0x3fd0b7(0xe8),'meowKey':a209_0x3fd0b7(0x105),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0xc4),'hidden':!![]},{'name':a209_0x3fd0b7(0xf5),'meowKey':a209_0x3fd0b7(0xf5),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x138),'hidden':!![]},{'name':a209_0x3fd0b7(0x106),'meowKey':a209_0x3fd0b7(0x106),'type':'string','description':'Page\x20size','hidden':!![]},{'name':'keyword','meowKey':a209_0x3fd0b7(0xd6),'type':'string','description':a209_0x3fd0b7(0x12f),'hidden':!![]},{'name':a209_0x3fd0b7(0x145),'meowKey':'code','type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x149),'hidden':!![]},{'name':'sql','meowKey':a209_0x3fd0b7(0x104),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x103),'hidden':!![]},{'name':'schemas','meowKey':a209_0x3fd0b7(0x136),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0xe1),'hidden':!![]},{'name':a209_0x3fd0b7(0xdd),'meowKey':a209_0x3fd0b7(0xdd),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x13f),'hidden':!![]},{'name':'target','meowKey':a209_0x3fd0b7(0xdc),'type':'string','description':a209_0x3fd0b7(0x12c),'hidden':!![]},{'name':a209_0x3fd0b7(0x123),'meowKey':'skipImports','type':a209_0x3fd0b7(0x137),'description':a209_0x3fd0b7(0xc7),'hidden':!![]},{'name':'key','meowKey':'key','type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x10e),'hidden':!![]},{'name':a209_0x3fd0b7(0x12b),'meowKey':a209_0x3fd0b7(0x12b),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0xd5),'hidden':!![]},{'name':a209_0x3fd0b7(0xd8),'meowKey':a209_0x3fd0b7(0xd8),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x132),'hidden':!![]},{'name':a209_0x3fd0b7(0x115),'meowKey':a209_0x3fd0b7(0x115),'type':a209_0x3fd0b7(0x137),'description':a209_0x3fd0b7(0x10f),'hidden':!![]},{'name':a209_0x3fd0b7(0x121),'meowKey':a209_0x3fd0b7(0x12e),'type':a209_0x3fd0b7(0xeb),'description':'Read\x20value\x20from\x20environment\x20variable','hidden':!![]},{'name':a209_0x3fd0b7(0x142),'meowKey':'reveal','type':a209_0x3fd0b7(0x137),'description':a209_0x3fd0b7(0x14a),'hidden':!![]},{'name':'force','meowKey':a209_0x3fd0b7(0x150),'type':a209_0x3fd0b7(0x137),'description':a209_0x3fd0b7(0x146),'hidden':!![]},{'name':a209_0x3fd0b7(0x140),'meowKey':'confirm','type':a209_0x3fd0b7(0x137),'description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':a209_0x3fd0b7(0xdf),'meowKey':'remote','type':'boolean','description':a209_0x3fd0b7(0xc6),'hidden':!![]},{'name':a209_0x3fd0b7(0xf7),'meowKey':'verbose','type':a209_0x3fd0b7(0x137),'description':a209_0x3fd0b7(0x147),'hidden':!![]},{'name':a209_0x3fd0b7(0x109),'meowKey':'expectedCount','type':a209_0x3fd0b7(0xeb),'description':'Expected\x20affected\x20count','hidden':!![]},{'name':'label','meowKey':a209_0x3fd0b7(0xca),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0xd3),'hidden':!![]},{'name':a209_0x3fd0b7(0xfc),'meowKey':a209_0x3fd0b7(0xd4),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x112),'hidden':!![]},{'name':a209_0x3fd0b7(0xe0),'meowKey':a209_0x3fd0b7(0xe0),'type':a209_0x3fd0b7(0xeb),'description':'Menu\x20sort\x20value','hidden':!![]},{'name':a209_0x3fd0b7(0xdb),'meowKey':a209_0x3fd0b7(0x10c),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x126),'hidden':!![]},{'name':a209_0x3fd0b7(0xe5),'meowKey':a209_0x3fd0b7(0xf9),'type':'string','description':a209_0x3fd0b7(0x11b),'hidden':!![]},{'name':a209_0x3fd0b7(0x118),'meowKey':'expectedChildrenCount','type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x11a),'hidden':!![]},{'name':a209_0x3fd0b7(0x122),'meowKey':a209_0x3fd0b7(0xf1),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x12d),'hidden':!![]},{'name':'task-id','meowKey':'taskId','type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0xfe),'hidden':!![]},{'name':a209_0x3fd0b7(0xf0),'meowKey':a209_0x3fd0b7(0x139),'type':a209_0x3fd0b7(0xeb),'description':'Operation\x20type','hidden':!![]},{'name':a209_0x3fd0b7(0x124),'meowKey':a209_0x3fd0b7(0x135),'type':a209_0x3fd0b7(0xeb),'description':a209_0x3fd0b7(0x134),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a209_0x3fd0b7(0xcb),'app',a209_0x3fd0b7(0x148),a209_0x3fd0b7(0x11e),'jq',a209_0x3fd0b7(0x129),a209_0x3fd0b7(0x108),a209_0x3fd0b7(0x141),'ci']);function a209_0x427f(){const _0x440d5e=['Expected\x20current\x20child\x20count','Expected\x20current\x20menu\x20path','nonInteractive','production\x20|\x20daily','format','65QnBblO','SQL\x20code','from-env','menu-ids','skip-imports','function-node','Environment','Expected\x20current\x20parent\x20menu\x20id','params','file','dry-run','Apply\x20to\x20all','value','Target\x20path','Comma-separated\x20menu\x20IDs','fromEnv','Keyword\x20filter','1246803JpHSBH','meowKey','Tags','JSON\x20params','Function\x20node','functionNode','schemas','boolean','Page\x20number','operationType','Show\x20help','Force\x20non-interactive\x20mode\x20(CI)','enable-bff-save','329370XPuDer','json\x20|\x20pretty\x20|\x20compress','Operation\x20type','confirm','non-interactive','reveal','Record\x20ID','dbid','code','Force\x20overwrite','Verbose\x20output','env','Code\x20filter','Reveal\x20sensitive\x20value','sqlcode','Output\x20format','dbId','fromEntries','help','force','clear','Description\x20file','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','Use\x20remote','Skip\x20import\x20generation','Dataset\x20code','DB\x20ID','label','appcode','<code>','SQL\x20name','Enable\x20Backend\x20Function\x20save','9xQlEsa','Watch\x20mode','description','287VMahxc','Menu\x20label','parentId','Config\x20value','keyword','db-id','tags','12950760PRijJV','sqlname','expect-parent-id','target','operation','2828551zanRpv','remote','sort','Schemas','Name','locale','topk','expect-path','type','global','description-file','<name>','dryRun','string','244072XPILRK','zh-CN\x20|\x20en-US','917771lsljyM','Type\x20filter','operation-type','menuIds','watch','enableBffSave','4ZiEknw','page','rabetbase','verbose','2wChafn','expectPath','query','title','parent-id','all','Asynchronous\x20task\x20ID','output','Output\x20path','name','Rabetbase\x20CLI','SQL\x20string','sql','descriptionFile','pagesize','Search\x20query','yes','expected-count','project','map','expectParentId','datasetcode','Config\x20key','Read\x20value\x20from\x20stdin','Override\x20appcode','@lovrabet/rabetbase-cli','Parent\x20menu\x20id','Maximum\x20search\x20hits','Preview\x20operation\x20without\x20executing','stdin','<expr>','File\x20path','expected-children-count','15451560rtuVAT'];a209_0x427f=function(){return _0x440d5e;};return a209_0x427f();}export function buildMeowFlags(){const _0x10afd3=a209_0x3fd0b7;return Object[_0x10afd3(0x14e)](GLOBAL_FLAGS[_0x10afd3(0x10b)](_0x42a9a0=>[_0x42a9a0[_0x10afd3(0x131)],{'type':_0x42a9a0[_0x10afd3(0xe6)]}]));}
1
+ const a210_0x2609dc=a210_0x53d4;(function(_0x288504,_0x22d835){const _0xe1d59=a210_0x53d4,_0x156858=_0x288504();while(!![]){try{const _0x4449b5=-parseInt(_0xe1d59(0x9d))/0x1*(-parseInt(_0xe1d59(0xa3))/0x2)+parseInt(_0xe1d59(0xb6))/0x3*(-parseInt(_0xe1d59(0x10f))/0x4)+-parseInt(_0xe1d59(0xdc))/0x5*(parseInt(_0xe1d59(0xf3))/0x6)+parseInt(_0xe1d59(0x105))/0x7*(parseInt(_0xe1d59(0xde))/0x8)+-parseInt(_0xe1d59(0xc6))/0x9*(parseInt(_0xe1d59(0x93))/0xa)+parseInt(_0xe1d59(0xef))/0xb*(-parseInt(_0xe1d59(0xe7))/0xc)+parseInt(_0xe1d59(0xee))/0xd*(parseInt(_0xe1d59(0xf1))/0xe);if(_0x4449b5===_0x22d835)break;else _0x156858['push'](_0x156858['shift']());}catch(_0x41dd0e){_0x156858['push'](_0x156858['shift']());}}}(a210_0xb20c,0x9b0af));export const CLI_BIN_NAME='rabetbase';export const CLI_DISPLAY_NAME='Rabetbase\x20CLI';export const NPM_PACKAGE_NAME=a210_0x2609dc(0xbd);export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':'appcode','type':a210_0x2609dc(0xe1),'description':'Override\x20appcode','hint':a210_0x2609dc(0xa5)},{'name':'app','meowKey':a210_0x2609dc(0xc0),'type':'string','description':'Select\x20app\x20profile\x20by\x20name','hint':a210_0x2609dc(0x10e)},{'name':a210_0x2609dc(0xbe),'meowKey':a210_0x2609dc(0xbe),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xb5),'hint':a210_0x2609dc(0xff)},{'name':a210_0x2609dc(0xac),'meowKey':a210_0x2609dc(0xac),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xb2),'hint':a210_0x2609dc(0xa4)},{'name':'jq','meowKey':'jq','type':a210_0x2609dc(0xe1),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','hint':a210_0x2609dc(0xb4)},{'name':'dry-run','meowKey':a210_0x2609dc(0xf8),'type':a210_0x2609dc(0xea),'description':a210_0x2609dc(0xb3)},{'name':a210_0x2609dc(0xd5),'meowKey':a210_0x2609dc(0xd5),'type':'boolean','description':a210_0x2609dc(0xe9)},{'name':a210_0x2609dc(0xf6),'meowKey':'nonInteractive','type':a210_0x2609dc(0xea),'description':a210_0x2609dc(0xd7)},{'name':a210_0x2609dc(0xf9),'meowKey':a210_0x2609dc(0xf9),'type':a210_0x2609dc(0xea),'description':a210_0x2609dc(0xc4)},{'name':a210_0x2609dc(0xae),'meowKey':a210_0x2609dc(0xae),'type':'boolean','description':'Use\x20project\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':'boolean','description':a210_0x2609dc(0xb1),'hidden':!![]},{'name':a210_0x2609dc(0xc8),'meowKey':a210_0x2609dc(0xc8),'type':a210_0x2609dc(0xea),'description':a210_0x2609dc(0xf7)},{'name':a210_0x2609dc(0xe3),'meowKey':a210_0x2609dc(0xe3),'type':a210_0x2609dc(0xe1),'description':'App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','hidden':!![],'hint':a210_0x2609dc(0xd2)},{'name':a210_0x2609dc(0x9e),'meowKey':a210_0x2609dc(0x9e),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0x10b),'hidden':!![]},{'name':a210_0x2609dc(0x99),'meowKey':a210_0x2609dc(0x99),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xec),'hidden':!![]},{'name':a210_0x2609dc(0x9a),'meowKey':'query','type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0x96),'hidden':!![]},{'name':a210_0x2609dc(0xad),'meowKey':a210_0x2609dc(0xad),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0x110),'hidden':!![]},{'name':a210_0x2609dc(0xaa),'meowKey':a210_0x2609dc(0xaa),'type':a210_0x2609dc(0xea),'description':a210_0x2609dc(0xe6),'hidden':!![]},{'name':a210_0x2609dc(0x92),'meowKey':'watch','type':'boolean','description':'Watch\x20mode','hidden':!![]},{'name':a210_0x2609dc(0xc9),'meowKey':a210_0x2609dc(0xc9),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xe5),'hidden':!![]},{'name':a210_0x2609dc(0xd8),'meowKey':a210_0x2609dc(0xd8),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xb9),'hidden':!![]},{'name':'datasetcode','meowKey':a210_0x2609dc(0xcd),'type':'string','description':'Dataset\x20code','hidden':!![]},{'name':a210_0x2609dc(0xbf),'meowKey':'all','type':a210_0x2609dc(0xea),'description':a210_0x2609dc(0xcb),'hidden':!![]},{'name':a210_0x2609dc(0xfb),'meowKey':'enableBffSave','type':a210_0x2609dc(0xea),'description':a210_0x2609dc(0xd9),'hidden':!![]},{'name':'id','meowKey':'id','type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0x9c),'hidden':!![]},{'name':a210_0x2609dc(0xa8),'meowKey':a210_0x2609dc(0xa8),'type':a210_0x2609dc(0xe1),'description':'Type\x20filter','hidden':!![]},{'name':a210_0x2609dc(0xa1),'meowKey':a210_0x2609dc(0xa1),'type':a210_0x2609dc(0xe1),'description':'File\x20path','hidden':!![]},{'name':'sqlcode','meowKey':'sqlcode','type':a210_0x2609dc(0xe1),'description':'SQL\x20code','hidden':!![]},{'name':'sql-name','meowKey':a210_0x2609dc(0x8d),'type':'string','description':a210_0x2609dc(0x111),'hidden':!![]},{'name':a210_0x2609dc(0xaf),'meowKey':a210_0x2609dc(0xaf),'type':'string','description':a210_0x2609dc(0x111),'hidden':!![]},{'name':a210_0x2609dc(0xb7),'meowKey':'dbId','type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0x112),'hidden':!![]},{'name':a210_0x2609dc(0xcc),'meowKey':'dbid','type':a210_0x2609dc(0xe1),'description':'DB\x20ID','hidden':!![]},{'name':a210_0x2609dc(0xfd),'meowKey':a210_0x2609dc(0xfd),'type':'string','description':a210_0x2609dc(0xce),'hidden':!![]},{'name':a210_0x2609dc(0x100),'meowKey':a210_0x2609dc(0xdb),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xbb),'hidden':!![]},{'name':a210_0x2609dc(0xd6),'meowKey':a210_0x2609dc(0xd6),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xdf),'hidden':!![]},{'name':a210_0x2609dc(0x9b),'meowKey':a210_0x2609dc(0x9b),'type':'string','description':a210_0x2609dc(0xc5),'hidden':!![]},{'name':a210_0x2609dc(0xeb),'meowKey':a210_0x2609dc(0xeb),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xbc),'hidden':!![]},{'name':a210_0x2609dc(0x10c),'meowKey':a210_0x2609dc(0x10c),'type':'string','description':'Code\x20filter','hidden':!![]},{'name':'sql','meowKey':a210_0x2609dc(0x107),'type':a210_0x2609dc(0xe1),'description':'SQL\x20string','hidden':!![]},{'name':a210_0x2609dc(0xe2),'meowKey':a210_0x2609dc(0xe2),'type':a210_0x2609dc(0xe1),'description':'Schemas','hidden':!![]},{'name':a210_0x2609dc(0xca),'meowKey':'operation','type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xd3),'hidden':!![]},{'name':'target','meowKey':a210_0x2609dc(0xda),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xe0),'hidden':!![]},{'name':a210_0x2609dc(0xa6),'meowKey':a210_0x2609dc(0xf5),'type':'boolean','description':a210_0x2609dc(0xdd),'hidden':!![]},{'name':a210_0x2609dc(0xc2),'meowKey':a210_0x2609dc(0xc2),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xfa),'hidden':!![]},{'name':a210_0x2609dc(0x94),'meowKey':a210_0x2609dc(0x94),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0x91),'hidden':!![]},{'name':a210_0x2609dc(0x8f),'meowKey':a210_0x2609dc(0x8f),'type':'string','description':a210_0x2609dc(0x10a),'hidden':!![]},{'name':a210_0x2609dc(0x90),'meowKey':a210_0x2609dc(0x90),'type':a210_0x2609dc(0xea),'description':'Read\x20value\x20from\x20stdin','hidden':!![]},{'name':'from-env','meowKey':a210_0x2609dc(0xf2),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0x106),'hidden':!![]},{'name':a210_0x2609dc(0x98),'meowKey':a210_0x2609dc(0x98),'type':a210_0x2609dc(0xea),'description':a210_0x2609dc(0xf0),'hidden':!![]},{'name':a210_0x2609dc(0xa2),'meowKey':a210_0x2609dc(0xa2),'type':a210_0x2609dc(0xea),'description':'Force\x20overwrite','hidden':!![]},{'name':a210_0x2609dc(0xd4),'meowKey':a210_0x2609dc(0xd4),'type':a210_0x2609dc(0xea),'description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':a210_0x2609dc(0xc7),'meowKey':a210_0x2609dc(0xc7),'type':a210_0x2609dc(0xea),'description':a210_0x2609dc(0x101),'hidden':!![]},{'name':'verbose','meowKey':'verbose','type':a210_0x2609dc(0xea),'description':a210_0x2609dc(0xba),'hidden':!![]},{'name':a210_0x2609dc(0xa9),'meowKey':a210_0x2609dc(0xe4),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xed),'hidden':!![]},{'name':a210_0x2609dc(0xd1),'meowKey':'label','type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0x9f),'hidden':!![]},{'name':a210_0x2609dc(0xfe),'meowKey':a210_0x2609dc(0x10d),'type':'string','description':'Parent\x20menu\x20id','hidden':!![]},{'name':a210_0x2609dc(0x95),'meowKey':'sort','type':'string','description':a210_0x2609dc(0xc3),'hidden':!![]},{'name':a210_0x2609dc(0x109),'meowKey':a210_0x2609dc(0xf4),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xa0),'hidden':!![]},{'name':a210_0x2609dc(0x103),'meowKey':a210_0x2609dc(0xc1),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0x8e),'hidden':!![]},{'name':a210_0x2609dc(0x102),'meowKey':'expectedChildrenCount','type':'string','description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':a210_0x2609dc(0xfc),'meowKey':'menuIds','type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xa7),'hidden':!![]},{'name':'task-id','meowKey':a210_0x2609dc(0xd0),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xab),'hidden':!![]},{'name':a210_0x2609dc(0xcf),'meowKey':a210_0x2609dc(0x108),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xd3),'hidden':!![]},{'name':'function-node','meowKey':a210_0x2609dc(0xb8),'type':a210_0x2609dc(0xe1),'description':a210_0x2609dc(0xb0),'hidden':!![]}];function a210_0xb20c(){const _0x3ee1ae=['Read\x20value\x20from\x20environment\x20variable','sql','operationType','expect-parent-id','Tags','Name','code','parentId','<name>','908AvCwUl','Maximum\x20search\x20hits','SQL\x20name','DB\x20ID','sqlName','Expected\x20current\x20menu\x20path','tags','stdin','Config\x20value','watch','269130WukSBO','value','sort','Search\x20query','appcode','reveal','title','query','pagesize','Record\x20ID','5PYVfVU','name','Menu\x20label','Expected\x20current\x20parent\x20menu\x20id','file','force','124170zuKLcu','json\x20|\x20pretty\x20|\x20compress','<code>','skip-imports','Comma-separated\x20menu\x20IDs','type','expected-count','clear','Asynchronous\x20task\x20ID','format','topk','project','sqlname','Function\x20node','Alias\x20for\x20--non-interactive','Output\x20format','Preview\x20operation\x20without\x20executing','<expr>','Environment','1329CNwdjE','db-id','functionNode','JSON\x20params','Verbose\x20output','Description\x20file','Keyword\x20filter','@lovrabet/rabetbase-cli','env','all','app','expectPath','key','Menu\x20sort\x20value','Use\x20global\x20config\x20scope','Page\x20size','135PGTPaU','remote','help','output','operation','Apply\x20to\x20all','dbid','datasetcode','Description','operation-type','taskId','label','zh-CN\x20|\x20en-US','Operation\x20type','confirm','yes','page','Force\x20non-interactive\x20mode\x20(CI)','params','Enable\x20Backend\x20Function\x20save','target','descriptionFile','125VTCcCk','Skip\x20import\x20generation','3417832nBlgWm','Page\x20number','Target\x20path','string','schemas','locale','expectedCount','Output\x20path','Clear','108KNFQaD','dry-run','Skip\x20confirmation\x20for\x20high-risk\x20writes','boolean','keyword','Title','Expected\x20affected\x20count','13YelRZm','49071hZpVNj','Reveal\x20sensitive\x20value','11742934hcbjXb','fromEnv','95274wVyvVE','expectParentId','skipImports','non-interactive','Show\x20help','dryRun','global','Config\x20key','enable-bff-save','menu-ids','description','parent-id','production\x20|\x20daily','description-file','Use\x20remote','expected-children-count','expect-path','map','7kbTwlC'];a210_0xb20c=function(){return _0x3ee1ae;};return a210_0xb20c();}export const PIPELINE_FLAG_NAMES=new Set([a210_0x2609dc(0x97),a210_0x2609dc(0xc0),a210_0x2609dc(0xbe),a210_0x2609dc(0xac),'jq',a210_0x2609dc(0xe8),'yes',a210_0x2609dc(0xf6),'ci']);function a210_0x53d4(_0x11fe91,_0x1d7a56){_0x11fe91=_0x11fe91-0x8d;const _0xb20caf=a210_0xb20c();let _0x53d493=_0xb20caf[_0x11fe91];return _0x53d493;}export function buildMeowFlags(){const _0x4e646a=a210_0x2609dc;return Object['fromEntries'](GLOBAL_FLAGS[_0x4e646a(0x104)](_0x438bb8=>[_0x438bb8['meowKey'],{'type':_0x438bb8[_0x4e646a(0xa8)]}]));}
@@ -1 +1 @@
1
- const a210_0x11519e=a210_0x201d;function a210_0x55b3(){const _0x242316=['write','compress','619419nFFIlS','2785734tXtGIh','33384vsWGOx','en-US','10RdvCcY','4LIMgBb','295382ZTOamm','7MRpNLg','355MTEWRs','2902141mrKdBS','2970728EqxLTI','production','1536188BVfQSy'];a210_0x55b3=function(){return _0x242316;};return a210_0x55b3();}(function(_0xb15d74,_0x518fb1){const _0x39e308=a210_0x201d,_0x88166=_0xb15d74();while(!![]){try{const _0x1848b4=-parseInt(_0x39e308(0xd1))/0x1+-parseInt(_0x39e308(0xd0))/0x2*(parseInt(_0x39e308(0xcb))/0x3)+parseInt(_0x39e308(0xc8))/0x4+-parseInt(_0x39e308(0xd3))/0x5*(parseInt(_0x39e308(0xcd))/0x6)+parseInt(_0x39e308(0xd2))/0x7*(parseInt(_0x39e308(0xd5))/0x8)+parseInt(_0x39e308(0xcc))/0x9+parseInt(_0x39e308(0xcf))/0xa*(parseInt(_0x39e308(0xd4))/0xb);if(_0x1848b4===_0x518fb1)break;else _0x88166['push'](_0x88166['shift']());}catch(_0x366fca){_0x88166['push'](_0x88166['shift']());}}}(a210_0x55b3,0x3705d));import{DEFAULT_API_DIR}from'../constant/paths.js';function a210_0x201d(_0x319b5d,_0x36d33d){_0x319b5d=_0x319b5d-0xc7;const _0x55b303=a210_0x55b3();let _0x201de6=_0x55b303[_0x319b5d];return _0x201de6;}export const DEFAULT_CONFIG_VALUES={'env':a210_0x11519e(0xc7),'format':a210_0x11519e(0xca),'locale':a210_0x11519e(0xce),'riskLevel':a210_0x11519e(0xc9),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT='compress';
1
+ function a211_0x2d4a(_0x3fe811,_0x50cedb){_0x3fe811=_0x3fe811-0x116;const _0x178785=a211_0x1787();let _0x2d4a95=_0x178785[_0x3fe811];return _0x2d4a95;}const a211_0xa13a88=a211_0x2d4a;function a211_0x1787(){const _0x59c4f1=['en-US','production','5887ShRxGg','6744xKKRlP','1036itIZpZ','14338180ksrxkg','1128690svpXrZ','630avjgqW','1198719rQZzKP','2404PUtMQx','1052hawEzY','2194272lesQJi','compress'];a211_0x1787=function(){return _0x59c4f1;};return a211_0x1787();}(function(_0x2b195e,_0x3e5cc7){const _0x184f4c=a211_0x2d4a,_0x1a0a64=_0x2b195e();while(!![]){try{const _0xf428f5=parseInt(_0x184f4c(0x116))/0x1*(parseInt(_0x184f4c(0x11c))/0x2)+-parseInt(_0x184f4c(0x11d))/0x3+-parseInt(_0x184f4c(0x11b))/0x4*(parseInt(_0x184f4c(0x119))/0x5)+-parseInt(_0x184f4c(0x118))/0x6+-parseInt(_0x184f4c(0x121))/0x7*(parseInt(_0x184f4c(0x122))/0x8)+parseInt(_0x184f4c(0x11a))/0x9+parseInt(_0x184f4c(0x117))/0xa;if(_0xf428f5===_0x3e5cc7)break;else _0x1a0a64['push'](_0x1a0a64['shift']());}catch(_0x559c72){_0x1a0a64['push'](_0x1a0a64['shift']());}}}(a211_0x1787,0x638a5));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a211_0xa13a88(0x120),'format':a211_0xa13a88(0x11e),'locale':a211_0xa13a88(0x11f),'riskLevel':'write','apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT='compress';
@@ -10,6 +10,8 @@ export declare function initDomains(domains?: {
10
10
  skillDomain?: string;
11
11
  kbDomain?: string;
12
12
  appDomain?: string;
13
+ localDomain?: string;
14
+ certificateDomain?: string;
13
15
  region?: LovrabetRegion;
14
16
  }): void;
15
17
  export declare const getUserDomain: () => string;
@@ -19,13 +21,16 @@ export declare const getSkillDomain: () => string;
19
21
  export declare const getKbDomain: () => string;
20
22
  export declare const getAppDomain: () => string;
21
23
  export declare const getActiveRegion: () => "global" | "id" | "cn";
24
+ export declare const getLocalDomain: () => string | undefined;
25
+ export declare const getCertificateDomain: () => string | undefined;
26
+ export declare function isIndependentDeployment(): boolean;
22
27
  /**
23
28
  * 生成到浏览器项目中的 SDK 路由白名单。
24
29
  *
25
30
  * - 企业独立部署只下发显式 runtimeDomain;
26
- * - id 下发 region,由 SDK 按 env 解析官方节点;
31
+ * - ID 下发 region,由 SDK 1.5.3+ 解析官方 Runtime Domain;
27
32
  * - cn 是 SDK 默认值,无需写入生成文件;
28
- * - 历史 global 配置不再作为 SDK region 暴露,改为下发当前 env 的完整地址。
33
+ * - Global 在 SDK 原生支持前下发当前完整地址。
29
34
  */
30
35
  export declare function getSdkClientRoutingConfig(): {
31
36
  region?: "id";
@@ -1 +1 @@
1
- const a211_0x392f83=a211_0x4b50;(function(_0x27b6d2,_0x1eec1f){const _0x40b9aa=a211_0x4b50,_0x321a7a=_0x27b6d2();while(!![]){try{const _0x8eefc8=parseInt(_0x40b9aa(0x1d0))/0x1+parseInt(_0x40b9aa(0x1d1))/0x2*(-parseInt(_0x40b9aa(0x1dc))/0x3)+parseInt(_0x40b9aa(0x1da))/0x4+parseInt(_0x40b9aa(0x1b4))/0x5+-parseInt(_0x40b9aa(0x1b0))/0x6+-parseInt(_0x40b9aa(0x1d9))/0x7+parseInt(_0x40b9aa(0x1c0))/0x8*(parseInt(_0x40b9aa(0x1d2))/0x9);if(_0x8eefc8===_0x1eec1f)break;else _0x321a7a['push'](_0x321a7a['shift']());}catch(_0x227847){_0x321a7a['push'](_0x321a7a['shift']());}}}(a211_0x4548,0xb78cc));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customAppDomain,activeRegion=DEFAULT_LOVRABET_REGION;const REGION_DOMAINS={'cn':{'production':{'user':a211_0x392f83(0x1b1),'api':'https://api.lovrabet.com','runtime':a211_0x392f83(0x1cd),'skill':'https://skills.lovrabet.com','kb':a211_0x392f83(0x1ba),'app':a211_0x392f83(0x1c8)},'nonProduction':{'user':a211_0x392f83(0x1d7),'api':a211_0x392f83(0x1b8),'runtime':a211_0x392f83(0x1b9),'skill':a211_0x392f83(0x1d6),'kb':'https://daily-api.lovrabet.com','app':a211_0x392f83(0x1d8)}},'id':{'production':{'user':a211_0x392f83(0x1c5),'api':a211_0x392f83(0x1c4),'runtime':'https://runtime.lovrabet.id','skill':a211_0x392f83(0x1c2),'kb':a211_0x392f83(0x1c4),'app':a211_0x392f83(0x1cf)},'nonProduction':{'user':a211_0x392f83(0x1c1),'api':a211_0x392f83(0x1d3),'runtime':'https://daily-runtime.lovrabet.id','skill':'https://skills-daily.lovrabet.id','kb':'https://daily-api.lovrabet.id','app':a211_0x392f83(0x1db)}},'global':{'production':{'user':a211_0x392f83(0x1bc),'api':a211_0x392f83(0x1c6),'runtime':'https://runtime.lovrabet.ai','skill':'https://skills.lovrabet.ai','kb':a211_0x392f83(0x1c6),'app':a211_0x392f83(0x1d5)},'nonProduction':{'user':a211_0x392f83(0x1bf),'api':a211_0x392f83(0x1be),'runtime':a211_0x392f83(0x1c7),'skill':a211_0x392f83(0x1cc),'kb':'https://daily-api.lovrabet.ai','app':a211_0x392f83(0x1ce)}}};function a211_0x4b50(_0x53d23f,_0x26075b){_0x53d23f=_0x53d23f-0x1b0;const _0x45488e=a211_0x4548();let _0x4b5012=_0x45488e[_0x53d23f];return _0x4b5012;}function getActiveRegionDomains(){const _0x316f21=a211_0x392f83;return REGION_DOMAINS[activeRegion][isProduction(getEnv())?_0x316f21(0x1bd):_0x316f21(0x1ca)];}export function initDomains(_0x29069a){const _0x54ddb8=a211_0x392f83;customApiDomain=_0x29069a?.[_0x54ddb8(0x1b3)],customUserDomain=_0x29069a?.[_0x54ddb8(0x1b5)],customRuntimeDomain=_0x29069a?.[_0x54ddb8(0x1cb)],customSkillDomain=_0x29069a?.[_0x54ddb8(0x1dd)],customKbDomain=_0x29069a?.['kbDomain'],customAppDomain=_0x29069a?.[_0x54ddb8(0x1b2)],activeRegion=_0x29069a?.['region']??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()['user'];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a211_0x392f83(0x1c9)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a211_0x392f83(0x1d4)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a211_0x392f83(0x1bb)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()['app'];export const getActiveRegion=()=>activeRegion;export function getSdkClientRoutingConfig(){const _0x215678=a211_0x392f83;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x215678(0x1d4)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion==='id')return{'region':'id'};if(activeRegion==='global')return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x5bfd07=>{const _0x19fd59=a211_0x392f83,_0x41dd5f=encodeURIComponent(_0x5bfd07[_0x19fd59(0x1b7)]());return isProduction(getEnv())?getAppDomain()+'/app/'+_0x41dd5f:getAppDomain()+'/web-app/app/'+_0x41dd5f;};function a211_0x4548(){const _0x34023f=['https://daily-api.lovrabet.id','runtime','https://app.lovrabet.ai','https://skills-daily.lovrabet.com','https://user-daily.lovrabet.com','https://daily.lovrabet.com','9313675jIzwyv','2161740cjoIXL','https://daily.lovrabet.id','1997277POZkoL','skillDomain','6474894HolJbb','https://user.lovrabet.com','appDomain','apiDomain','2891985JdlxMb','userDomain','hostname','trim','https://daily-api.lovrabet.com','https://daily-runtime.lovrabet.com','https://api.lovrabet.com','skill','https://user.lovrabet.ai','production','https://daily-api.lovrabet.ai','https://user-daily.lovrabet.ai','4097768wlPQNC','https://user-daily.lovrabet.id','https://skills.lovrabet.id','origin','https://api.lovrabet.id','https://user.lovrabet.id','https://api.lovrabet.ai','https://daily-runtime.lovrabet.ai','https://app.lovrabet.com','api','nonProduction','runtimeDomain','https://skills-daily.lovrabet.ai','https://runtime.lovrabet.com','https://daily.lovrabet.ai','https://app.lovrabet.id','1325296nbGatZ','4aPFPHC','36qjJeFG'];a211_0x4548=function(){return _0x34023f;};return a211_0x4548();}export const getPublishedAppDomain=_0x5ae015=>{const _0x6f3022=a211_0x392f83,_0x27e3f4=new URL(getAppDomain());return _0x27e3f4['hostname']=_0x5ae015[_0x6f3022(0x1b7)]()+'.'+_0x27e3f4[_0x6f3022(0x1b6)],_0x27e3f4[_0x6f3022(0x1c3)];};
1
+ const a212_0x4cc35c=a212_0x2799;(function(_0x46e352,_0x52dc69){const _0x5d133f=a212_0x2799,_0x5b92c9=_0x46e352();while(!![]){try{const _0x5a8551=parseInt(_0x5d133f(0x107))/0x1*(-parseInt(_0x5d133f(0xf7))/0x2)+-parseInt(_0x5d133f(0xf1))/0x3+-parseInt(_0x5d133f(0xfb))/0x4*(-parseInt(_0x5d133f(0xf4))/0x5)+-parseInt(_0x5d133f(0x100))/0x6*(-parseInt(_0x5d133f(0xf9))/0x7)+-parseInt(_0x5d133f(0xf6))/0x8*(-parseInt(_0x5d133f(0xf8))/0x9)+-parseInt(_0x5d133f(0xff))/0xa+parseInt(_0x5d133f(0x102))/0xb*(parseInt(_0x5d133f(0xf2))/0xc);if(_0x5a8551===_0x52dc69)break;else _0x5b92c9['push'](_0x5b92c9['shift']());}catch(_0x47d9b8){_0x5b92c9['push'](_0x5b92c9['shift']());}}}(a212_0x3227,0xcb2ad));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customAppDomain,customLocalDomain,customCertificateDomain,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x5f38c3=a212_0x2799,_0x50beac=getOfficialRoutingProfile(activeRegion);return _0x50beac[_0x5f38c3(0xf3)][isProduction(getEnv())?_0x5f38c3(0x10e):_0x5f38c3(0x106)];}export function initDomains(_0x3500fc){const _0xdc1821=a212_0x2799;customApiDomain=_0x3500fc?.[_0xdc1821(0x10c)],customUserDomain=_0x3500fc?.['userDomain'],customRuntimeDomain=_0x3500fc?.['runtimeDomain'],customSkillDomain=_0x3500fc?.[_0xdc1821(0xfc)],customKbDomain=_0x3500fc?.[_0xdc1821(0x105)],customAppDomain=_0x3500fc?.[_0xdc1821(0xfa)],customLocalDomain=_0x3500fc?.[_0xdc1821(0x10d)],customCertificateDomain=_0x3500fc?.[_0xdc1821(0xfe)],activeRegion=_0x3500fc?.[_0xdc1821(0xfd)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a212_0x4cc35c(0x103)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a212_0x4cc35c(0x10b)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()['runtime'];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a212_0x4cc35c(0x104)];function a212_0x3227(){const _0x372994=['13007550IlnQJv','3307626jRdqsV','origin','15874969UqflgO','user','skill','kbDomain','preview','1iRpbSx','/web-app/app/','/app/','trim','api','apiDomain','localDomain','primary','3986982AiqYOR','24wqgdqb','serviceDomains','8395eMGISK','runtime','639416AsRdWE','2023786flJqsv','27DXBLwt','14ryekHg','appDomain','584nZeBNY','skillDomain','region','certificateDomain'];a212_0x3227=function(){return _0x372994;};return a212_0x3227();}export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()['app'];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x32d7a2=a212_0x4cc35c;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x32d7a2(0xf5)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion==='id')return{'region':'id'};if(activeRegion==='global')return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x1a1b8e=>{const _0x21d021=a212_0x4cc35c,_0x29a45a=encodeURIComponent(_0x1a1b8e[_0x21d021(0x10a)]());return isProduction(getEnv())?getAppDomain()+_0x21d021(0x109)+_0x29a45a:getAppDomain()+_0x21d021(0x108)+_0x29a45a;};function a212_0x2799(_0x2b7272,_0x32d66c){_0x2b7272=_0x2b7272-0xf1;const _0x32270b=a212_0x3227();let _0x27999c=_0x32270b[_0x2b7272];return _0x27999c;}export const getPublishedAppDomain=_0x3c01e6=>{const _0x392f4e=a212_0x4cc35c,_0x1ccc9f=new URL(getAppDomain());return _0x1ccc9f['hostname']=_0x3c01e6[_0x392f4e(0x10a)]()+'.'+_0x1ccc9f['hostname'],_0x1ccc9f[_0x392f4e(0x101)];};
@@ -1 +1 @@
1
- const a212_0xb04b08=a212_0x2cf5;function a212_0x1b49(){const _0xd6de7a=['online','415886xFnvFg','development','222388RfAnKg','613120OxyTmS','3TinSnT','production','523954MvZxjK','1110780fcNXLB','15342czrlBN','dev','1025880uFAeyD','daily','217ZweuZF'];a212_0x1b49=function(){return _0xd6de7a;};return a212_0x1b49();}(function(_0x37c6f3,_0x1b2811){const _0xe3cb8=a212_0x2cf5,_0x24e797=_0x37c6f3();while(!![]){try{const _0x4262a1=-parseInt(_0xe3cb8(0x1cb))/0x1+parseInt(_0xe3cb8(0x1d1))/0x2+-parseInt(_0xe3cb8(0x1cf))/0x3*(-parseInt(_0xe3cb8(0x1cd))/0x4)+parseInt(_0xe3cb8(0x1d5))/0x5+-parseInt(_0xe3cb8(0x1d3))/0x6*(parseInt(_0xe3cb8(0x1d7))/0x7)+parseInt(_0xe3cb8(0x1ce))/0x8+parseInt(_0xe3cb8(0x1d2))/0x9;if(_0x4262a1===_0x1b2811)break;else _0x24e797['push'](_0x24e797['shift']());}catch(_0x556146){_0x24e797['push'](_0x24e797['shift']());}}}(a212_0x1b49,0x37949));export const RABETBASE_ENV_VALUES=['production',a212_0xb04b08(0x1d6)];export function normalizeEnv(_0x44e746){const _0x34b6b1=a212_0xb04b08;return _0x44e746===_0x34b6b1(0x1ca)?_0x34b6b1(0x1d0):_0x44e746;}export function isProduction(_0x22d167){return normalizeEnv(_0x22d167)==='production';}export function isDaily(_0x1fb166){const _0x1a49e0=a212_0xb04b08;return normalizeEnv(_0x1fb166)===_0x1a49e0(0x1d6);}export function isDev(_0x396463){const _0x57847a=a212_0xb04b08,_0x4278f6=normalizeEnv(_0x396463);return _0x4278f6===_0x57847a(0x1cc)||_0x4278f6===_0x57847a(0x1d4);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a212_0xb04b08(0x1d0));function a212_0x2cf5(_0x1c51ae,_0x2260eb){_0x1c51ae=_0x1c51ae-0x1ca;const _0x1b490f=a212_0x1b49();let _0x2cf5d4=_0x1b490f[_0x1c51ae];return _0x2cf5d4;}export function getEnv(){return env;}export function initEnv(_0x2d2a89){env=normalizeEnv(_0x2d2a89);}
1
+ function a213_0x407d(){const _0x5c6ce9=['online','21GpFLBf','daily','127590ljXfAp','14284NdAOzL','11XyTpTB','dev','70VRECjl','12LnCRlU','2115940nNspeQ','1986864wvRDIK','production','9368796kQbUdz','4464299UceZDT','18dEXJST','development','8407PCiguc'];a213_0x407d=function(){return _0x5c6ce9;};return a213_0x407d();}const a213_0x15948c=a213_0x4532;(function(_0x392744,_0x4fd2c8){const _0x4808a1=a213_0x4532,_0x4a5d31=_0x392744();while(!![]){try{const _0x13464e=-parseInt(_0x4808a1(0x104))/0x1*(-parseInt(_0x4808a1(0x10c))/0x2)+parseInt(_0x4808a1(0x106))/0x3*(-parseInt(_0x4808a1(0x109))/0x4)+-parseInt(_0x4808a1(0x108))/0x5*(-parseInt(_0x4808a1(0x10d))/0x6)+parseInt(_0x4808a1(0x101))/0x7+-parseInt(_0x4808a1(0x10f))/0x8+-parseInt(_0x4808a1(0x102))/0x9*(-parseInt(_0x4808a1(0x10e))/0xa)+parseInt(_0x4808a1(0x10a))/0xb*(-parseInt(_0x4808a1(0x111))/0xc);if(_0x13464e===_0x4fd2c8)break;else _0x4a5d31['push'](_0x4a5d31['shift']());}catch(_0x266fdf){_0x4a5d31['push'](_0x4a5d31['shift']());}}}(a213_0x407d,0x55f8a));export const RABETBASE_ENV_VALUES=[a213_0x15948c(0x110),a213_0x15948c(0x107)];function a213_0x4532(_0x2183a9,_0x5c47ed){_0x2183a9=_0x2183a9-0x101;const _0x407d41=a213_0x407d();let _0x453247=_0x407d41[_0x2183a9];return _0x453247;}export function normalizeEnv(_0xa6d06c){const _0x5b6d9c=a213_0x15948c;return _0xa6d06c===_0x5b6d9c(0x105)?_0x5b6d9c(0x110):_0xa6d06c;}export function isProduction(_0x4267de){const _0x102b07=a213_0x15948c;return normalizeEnv(_0x4267de)===_0x102b07(0x110);}export function isDaily(_0x5e8582){const _0x1901a7=a213_0x15948c;return normalizeEnv(_0x5e8582)===_0x1901a7(0x107);}export function isDev(_0x5dea04){const _0xe3dfe5=a213_0x15948c,_0x375508=normalizeEnv(_0x5dea04);return _0x375508===_0xe3dfe5(0x103)||_0x375508===_0xe3dfe5(0x10b);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a213_0x15948c(0x110));export function getEnv(){return env;}export function initEnv(_0x171997){env=normalizeEnv(_0x171997);}
@@ -1 +1 @@
1
- const a213_0x171061=a213_0x1482;(function(_0x431d94,_0x32e28d){const _0x4afa22=a213_0x1482,_0x2e4db8=_0x431d94();while(!![]){try{const _0x219fbe=-parseInt(_0x4afa22(0x168))/0x1+parseInt(_0x4afa22(0x167))/0x2+parseInt(_0x4afa22(0x164))/0x3*(-parseInt(_0x4afa22(0x169))/0x4)+-parseInt(_0x4afa22(0x163))/0x5*(parseInt(_0x4afa22(0x16b))/0x6)+parseInt(_0x4afa22(0x16a))/0x7+-parseInt(_0x4afa22(0x16d))/0x8+-parseInt(_0x4afa22(0x165))/0x9*(-parseInt(_0x4afa22(0x16e))/0xa);if(_0x219fbe===_0x32e28d)break;else _0x2e4db8['push'](_0x2e4db8['shift']());}catch(_0x57df3e){_0x2e4db8['push'](_0x2e4db8['shift']());}}}(a213_0x14ad,0x48e6d));function a213_0x14ad(){const _0x40ef82=['1765080DYhXlc','17220LxMmiD','json','5ORcQVW','3RxLtAA','7173iMtboe','compress','570650pldhKY','322344kRpKKi','1771676mNCURv','769181oazUej','2898834hXvhAX','pretty'];a213_0x14ad=function(){return _0x40ef82;};return a213_0x14ad();}function a213_0x1482(_0x37553e,_0x3445ae){_0x37553e=_0x37553e-0x162;const _0x14ad37=a213_0x14ad();let _0x148260=_0x14ad37[_0x37553e];return _0x148260;}export const RABETBASE_OUTPUT_FORMAT_VALUES=[a213_0x171061(0x162),a213_0x171061(0x16c),a213_0x171061(0x166)];
1
+ const a214_0x377e75=a214_0x47dd;(function(_0x31926c,_0x166aca){const _0x53df47=a214_0x47dd,_0x28bfc5=_0x31926c();while(!![]){try{const _0x34c4bf=-parseInt(_0x53df47(0x117))/0x1+-parseInt(_0x53df47(0x114))/0x2*(parseInt(_0x53df47(0x11c))/0x3)+parseInt(_0x53df47(0x111))/0x4*(-parseInt(_0x53df47(0x11b))/0x5)+-parseInt(_0x53df47(0x116))/0x6*(-parseInt(_0x53df47(0x11e))/0x7)+-parseInt(_0x53df47(0x11a))/0x8*(parseInt(_0x53df47(0x115))/0x9)+-parseInt(_0x53df47(0x118))/0xa*(parseInt(_0x53df47(0x11d))/0xb)+parseInt(_0x53df47(0x112))/0xc*(parseInt(_0x53df47(0x119))/0xd);if(_0x34c4bf===_0x166aca)break;else _0x28bfc5['push'](_0x28bfc5['shift']());}catch(_0x323410){_0x28bfc5['push'](_0x28bfc5['shift']());}}}(a214_0x10ca,0x86332));function a214_0x47dd(_0x2bafd9,_0x2cd609){_0x2bafd9=_0x2bafd9-0x111;const _0x10ca3e=a214_0x10ca();let _0x47ddee=_0x10ca3e[_0x2bafd9];return _0x47ddee;}export const RABETBASE_OUTPUT_FORMAT_VALUES=['json',a214_0x377e75(0x113),'compress'];function a214_0x10ca(){const _0x45aa09=['4182114QDjyCs','78201mesBpm','3680530hWtlmY','13klxoSn','3652104mwTwbZ','1887615QFCEFr','89283btgZnY','22pcBDlc','7USkyFv','4ONEkpM','24797580rQZdoh','pretty','38oMFNVs','9IdttzB'];a214_0x10ca=function(){return _0x45aa09;};return a214_0x10ca();}
@@ -1 +1 @@
1
- function a214_0x102c(){const _0x1fe9ff=['90yqkMId','65022MvVVNP','16vVQDbV','7644FPSyvw','1019029AoNECe','1043vbcyzQ','884930YYwAGM','52672QRBPyz','4qvPwND','496UcgVrk','138177luxoKT','35373NYLwsL','3285768ydaxgZ'];a214_0x102c=function(){return _0x1fe9ff;};return a214_0x102c();}(function(_0x5d3372,_0x48fe53){const _0x23a547=a214_0xcf25,_0x270920=_0x5d3372();while(!![]){try{const _0xb719fc=parseInt(_0x23a547(0xa0))/0x1*(-parseInt(_0x23a547(0x98))/0x2)+parseInt(_0x23a547(0x9d))/0x3*(parseInt(_0x23a547(0x99))/0x4)+parseInt(_0x23a547(0x97))/0x5+parseInt(_0x23a547(0x9f))/0x6*(parseInt(_0x23a547(0x96))/0x7)+parseInt(_0x23a547(0x9a))/0x8*(parseInt(_0x23a547(0x9b))/0x9)+parseInt(_0x23a547(0x9e))/0xa*(-parseInt(_0x23a547(0x95))/0xb)+parseInt(_0x23a547(0xa1))/0xc*(-parseInt(_0x23a547(0x9c))/0xd);if(_0xb719fc===_0x48fe53)break;else _0x270920['push'](_0x270920['shift']());}catch(_0xaedf8e){_0x270920['push'](_0x270920['shift']());}}}(a214_0x102c,0xcfa05));function a214_0xcf25(_0x555129,_0x3d2fa4){_0x555129=_0x555129-0x95;const _0x102c5c=a214_0x102c();let _0xcf253=_0x102c5c[_0x555129];return _0xcf253;}export const DEFAULT_API_DIR='./src/api';
1
+ function a215_0x1eae(){const _0x41aff3=['203135xtiSYT','377940xVrmbd','5BSdYgA','261284tHeuQb','./src/api','9IXUPJI','51927gTuZQu','478674MYFEUg','441483dujtcP','2293744teUcdA'];a215_0x1eae=function(){return _0x41aff3;};return a215_0x1eae();}const a215_0xeb694=a215_0x58d1;(function(_0x2e9ab2,_0x331e9c){const _0x354627=a215_0x58d1,_0x5af433=_0x2e9ab2();while(!![]){try{const _0x12923f=-parseInt(_0x354627(0x11e))/0x1+parseInt(_0x354627(0x11b))/0x2+parseInt(_0x354627(0x11a))/0x3+-parseInt(_0x354627(0x121))/0x4*(parseInt(_0x354627(0x120))/0x5)+-parseInt(_0x354627(0x11f))/0x6+-parseInt(_0x354627(0x11c))/0x7+-parseInt(_0x354627(0x11d))/0x8*(-parseInt(_0x354627(0x123))/0x9);if(_0x12923f===_0x331e9c)break;else _0x5af433['push'](_0x5af433['shift']());}catch(_0x46d906){_0x5af433['push'](_0x5af433['shift']());}}}(a215_0x1eae,0x24571));function a215_0x58d1(_0x3e684d,_0x4c8639){_0x3e684d=_0x3e684d-0x11a;const _0x1eaef8=a215_0x1eae();let _0x58d1fb=_0x1eaef8[_0x3e684d];return _0x58d1fb;}export const DEFAULT_API_DIR=a215_0xeb694(0x122);
@@ -4,6 +4,6 @@ export declare const ENABLED_LOVRABET_REGION_VALUES: readonly ["cn", "id"];
4
4
  export type LovrabetRegion = (typeof LOVRABET_REGION_VALUES)[number];
5
5
  export declare const DEFAULT_LOVRABET_REGION: LovrabetRegion;
6
6
  export declare function isLovrabetRegion(value: unknown): value is LovrabetRegion;
7
- export declare function isEnabledLovrabetRegion(value: unknown): value is "cn" | "id";
8
- /** Keeps legacy long names and disabled regions readable; new writes use the enabled list. */
7
+ export declare function isEnabledLovrabetRegion(value: unknown): value is LovrabetRegion;
8
+ /** Keeps legacy long names readable; new writes use canonical short values. */
9
9
  export declare function normalizeLovrabetRegion(value: unknown): LovrabetRegion;
@@ -1 +1 @@
1
- const a215_0x439990=a215_0x47e3;function a215_0xbda9(){const _0x45b04e=['39Twabjc','2295544qyrAzy','170lQMygI','477014jTKWaK','62074hJZDdq','indonesia','includes','62514RVqnnz','2796092gEWeLs','string','3422461tgVtiW','global','19487466sRXdxK'];a215_0xbda9=function(){return _0x45b04e;};return a215_0xbda9();}(function(_0x2ba1ab,_0x13c040){const _0x35e8c7=a215_0x47e3,_0x57150e=_0x2ba1ab();while(!![]){try{const _0xb8661b=-parseInt(_0x35e8c7(0x1bd))/0x1+parseInt(_0x35e8c7(0x1be))/0x2*(-parseInt(_0x35e8c7(0x1ba))/0x3)+-parseInt(_0x35e8c7(0x1c2))/0x4+-parseInt(_0x35e8c7(0x1bc))/0x5*(parseInt(_0x35e8c7(0x1c1))/0x6)+parseInt(_0x35e8c7(0x1b7))/0x7+-parseInt(_0x35e8c7(0x1bb))/0x8+parseInt(_0x35e8c7(0x1b9))/0x9;if(_0xb8661b===_0x13c040)break;else _0x57150e['push'](_0x57150e['shift']());}catch(_0x40f032){_0x57150e['push'](_0x57150e['shift']());}}}(a215_0xbda9,0x69d52));export const LOVRABET_REGION_VALUES=['cn','id',a215_0x439990(0x1b8)];export const ENABLED_LOVRABET_REGION_VALUES=['cn','id'];export const DEFAULT_LOVRABET_REGION='cn';export function isLovrabetRegion(_0x5ded4a){const _0x55fdb6=a215_0x439990;return typeof _0x5ded4a===_0x55fdb6(0x1c3)&&LOVRABET_REGION_VALUES[_0x55fdb6(0x1c0)](_0x5ded4a);}export function isEnabledLovrabetRegion(_0x377fcc){const _0x129b31=a215_0x439990;return typeof _0x377fcc===_0x129b31(0x1c3)&&ENABLED_LOVRABET_REGION_VALUES['includes'](_0x377fcc);}function a215_0x47e3(_0x26d381,_0x4c2286){_0x26d381=_0x26d381-0x1b7;const _0xbda99d=a215_0xbda9();let _0x47e3e8=_0xbda99d[_0x26d381];return _0x47e3e8;}export function normalizeLovrabetRegion(_0x3af531){const _0x17d6c6=a215_0x439990;if(_0x3af531==='china')return'cn';if(_0x3af531===_0x17d6c6(0x1bf))return'id';return isLovrabetRegion(_0x3af531)?_0x3af531:DEFAULT_LOVRABET_REGION;}
1
+ const a216_0x25a12a=a216_0x5f24;function a216_0x32ea(){const _0x530cd7=['8866860uLNNix','2105560fNvZzU','182686BUZEnN','10BGxFib','294240EAZkrJ','9803532auzMfB','string','72Qhmnqn','8500545ybAcRq','includes','china','global','indonesia','65715wTqQaE'];a216_0x32ea=function(){return _0x530cd7;};return a216_0x32ea();}function a216_0x5f24(_0x2139a6,_0x5bb690){_0x2139a6=_0x2139a6-0xc4;const _0x32ea79=a216_0x32ea();let _0x5f24c4=_0x32ea79[_0x2139a6];return _0x5f24c4;}(function(_0x5c834b,_0x5765c3){const _0x3e2066=a216_0x5f24,_0x250459=_0x5c834b();while(!![]){try{const _0x555049=parseInt(_0x3e2066(0xcc))/0x1*(parseInt(_0x3e2066(0xcb))/0x2)+parseInt(_0x3e2066(0xc7))/0x3+parseInt(_0x3e2066(0xc9))/0x4+parseInt(_0x3e2066(0xc8))/0x5+-parseInt(_0x3e2066(0xcd))/0x6+parseInt(_0x3e2066(0xca))/0x7*(-parseInt(_0x3e2066(0xcf))/0x8)+-parseInt(_0x3e2066(0xd0))/0x9;if(_0x555049===_0x5765c3)break;else _0x250459['push'](_0x250459['shift']());}catch(_0x4b89a1){_0x250459['push'](_0x250459['shift']());}}}(a216_0x32ea,0xef266));export const LOVRABET_REGION_VALUES=['cn','id',a216_0x25a12a(0xc5)];export const ENABLED_LOVRABET_REGION_VALUES=['cn','id'];export const DEFAULT_LOVRABET_REGION='cn';export function isLovrabetRegion(_0x36fa86){const _0x3d9287=a216_0x25a12a;return typeof _0x36fa86===_0x3d9287(0xce)&&LOVRABET_REGION_VALUES[_0x3d9287(0xd1)](_0x36fa86);}export function isEnabledLovrabetRegion(_0x501e4d){const _0x3d3ed3=a216_0x25a12a;return typeof _0x501e4d===_0x3d3ed3(0xce)&&ENABLED_LOVRABET_REGION_VALUES[_0x3d3ed3(0xd1)](_0x501e4d);}export function normalizeLovrabetRegion(_0x50e673){const _0x19566f=a216_0x25a12a;if(_0x50e673===_0x19566f(0xc4))return'cn';if(_0x50e673===_0x19566f(0xc6))return'id';return isLovrabetRegion(_0x50e673)?_0x50e673:DEFAULT_LOVRABET_REGION;}
@@ -1 +1 @@
1
- function a216_0x1ffb(){const _0x5a4554=['1380827chKDCd','19352pMsoFB','389078NPArGv','568kiiPLY','write','18CVdqpr','high-risk-write','22070mKqUmn','24039JEMZVr','3DVJJjp','1397UgSRAl','1915YpiUzS','708464JOEjsA'];a216_0x1ffb=function(){return _0x5a4554;};return a216_0x1ffb();}const a216_0x4221b4=a216_0x859d;(function(_0x9fc755,_0x462fbf){const _0x20ff35=a216_0x859d,_0x29b94f=_0x9fc755();while(!![]){try{const _0x4c4744=parseInt(_0x20ff35(0x9e))/0x1+parseInt(_0x20ff35(0x9f))/0x2+parseInt(_0x20ff35(0xa6))/0x3*(parseInt(_0x20ff35(0xa9))/0x4)+parseInt(_0x20ff35(0xa8))/0x5*(parseInt(_0x20ff35(0xa2))/0x6)+-parseInt(_0x20ff35(0xaa))/0x7+parseInt(_0x20ff35(0xa0))/0x8*(parseInt(_0x20ff35(0xa5))/0x9)+-parseInt(_0x20ff35(0xa4))/0xa*(parseInt(_0x20ff35(0xa7))/0xb);if(_0x4c4744===_0x462fbf)break;else _0x29b94f['push'](_0x29b94f['shift']());}catch(_0x1f6158){_0x29b94f['push'](_0x29b94f['shift']());}}}(a216_0x1ffb,0x19737));function a216_0x859d(_0x457bed,_0x120524){_0x457bed=_0x457bed-0x9e;const _0x1ffb8=a216_0x1ffb();let _0x859d2f=_0x1ffb8[_0x457bed];return _0x859d2f;}export const RISK_LEVEL_VALUES=['read',a216_0x4221b4(0xa1),a216_0x4221b4(0xa3)];
1
+ function a217_0x52d7(_0x505571,_0x143700){_0x505571=_0x505571-0xdc;const _0x2a0e48=a217_0x2a0e();let _0x52d742=_0x2a0e48[_0x505571];return _0x52d742;}function a217_0x2a0e(){const _0x3b5c5c=['1915XBdiyY','94678enjaMb','10xEpKbZ','454102WhDHDe','411304Bsuqyn','1011609FFcZzx','write','1796fkxMfu','129904HMnZHt','high-risk-write','181782DisGkb','3fTYhWB','7JYSEil'];a217_0x2a0e=function(){return _0x3b5c5c;};return a217_0x2a0e();}const a217_0x504e7b=a217_0x52d7;(function(_0x27abb2,_0x205ebb){const _0x19c691=a217_0x52d7,_0x373853=_0x27abb2();while(!![]){try{const _0x5050fc=parseInt(_0x19c691(0xdf))/0x1+-parseInt(_0x19c691(0xe5))/0x2*(parseInt(_0x19c691(0xe2))/0x3)+-parseInt(_0x19c691(0xde))/0x4*(-parseInt(_0x19c691(0xe4))/0x5)+-parseInt(_0x19c691(0xe1))/0x6*(parseInt(_0x19c691(0xe3))/0x7)+parseInt(_0x19c691(0xe8))/0x8+parseInt(_0x19c691(0xdc))/0x9*(-parseInt(_0x19c691(0xe6))/0xa)+-parseInt(_0x19c691(0xe7))/0xb;if(_0x5050fc===_0x205ebb)break;else _0x373853['push'](_0x373853['shift']());}catch(_0x251d05){_0x373853['push'](_0x373853['shift']());}}}(a217_0x2a0e,0x1dc6d));export const RISK_LEVEL_VALUES=['read',a217_0x504e7b(0xdd),a217_0x504e7b(0xe0)];
@@ -0,0 +1,115 @@
1
+ import type { LovrabetRegion } from "../constant/region.js";
2
+ export interface LovrabetServiceDomains {
3
+ user: string;
4
+ api: string;
5
+ runtime: string;
6
+ skill: string;
7
+ kb: string;
8
+ app: string;
9
+ }
10
+ export interface OfficialRoutingProfile {
11
+ label: string;
12
+ serviceDomains: {
13
+ primary: LovrabetServiceDomains;
14
+ preview: LovrabetServiceDomains;
15
+ };
16
+ assets: {
17
+ strategy: "cdn";
18
+ origin: string;
19
+ };
20
+ local: {
21
+ origin: string;
22
+ certificateUrl: string;
23
+ };
24
+ }
25
+ /** Single source of truth for every official Lovrabet routing profile. */
26
+ export declare const OFFICIAL_ROUTING_PROFILES: {
27
+ readonly cn: {
28
+ readonly label: "Mainland China";
29
+ readonly serviceDomains: {
30
+ readonly primary: {
31
+ readonly user: "https://user.lovrabet.com";
32
+ readonly api: "https://api.lovrabet.com";
33
+ readonly runtime: "https://runtime.lovrabet.com";
34
+ readonly skill: "https://skills.lovrabet.com";
35
+ readonly kb: "https://api.lovrabet.com";
36
+ readonly app: "https://app.lovrabet.com";
37
+ };
38
+ readonly preview: {
39
+ readonly user: "https://user-daily.lovrabet.com";
40
+ readonly api: "https://daily-api.lovrabet.com";
41
+ readonly runtime: "https://daily-runtime.lovrabet.com";
42
+ readonly skill: "https://skills-daily.lovrabet.com";
43
+ readonly kb: "https://daily-api.lovrabet.com";
44
+ readonly app: "https://daily.lovrabet.com";
45
+ };
46
+ };
47
+ readonly assets: {
48
+ readonly strategy: "cdn";
49
+ readonly origin: "https://g.alicdn.com";
50
+ };
51
+ readonly local: {
52
+ readonly origin: "https://dev.lovrabet.com";
53
+ readonly certificateUrl: "https://g.lovrabet.com/cert/lovrabet-dev.json";
54
+ };
55
+ };
56
+ readonly id: {
57
+ readonly label: "Indonesia";
58
+ readonly serviceDomains: {
59
+ readonly primary: {
60
+ readonly user: "https://user.lovrabet.id";
61
+ readonly api: "https://api.lovrabet.id";
62
+ readonly runtime: "https://runtime.lovrabet.id";
63
+ readonly skill: "https://skills.lovrabet.id";
64
+ readonly kb: "https://api.lovrabet.id";
65
+ readonly app: "https://app.lovrabet.id";
66
+ };
67
+ readonly preview: {
68
+ readonly user: "https://user-daily.lovrabet.id";
69
+ readonly api: "https://daily-api.lovrabet.id";
70
+ readonly runtime: "https://daily-runtime.lovrabet.id";
71
+ readonly skill: "https://skills-daily.lovrabet.id";
72
+ readonly kb: "https://daily-api.lovrabet.id";
73
+ readonly app: "https://daily.lovrabet.id";
74
+ };
75
+ };
76
+ readonly assets: {
77
+ readonly strategy: "cdn";
78
+ readonly origin: "https://g.alicdn.com";
79
+ };
80
+ readonly local: {
81
+ readonly origin: "https://dev.lovrabet.id";
82
+ readonly certificateUrl: "https://g.lovrabet.id/cert/lovrabet-dev.json";
83
+ };
84
+ };
85
+ readonly global: {
86
+ readonly label: "Global";
87
+ readonly serviceDomains: {
88
+ readonly primary: {
89
+ readonly user: "https://user.lovrabet.ai";
90
+ readonly api: "https://api.lovrabet.ai";
91
+ readonly runtime: "https://runtime.lovrabet.ai";
92
+ readonly skill: "https://skills.lovrabet.ai";
93
+ readonly kb: "https://api.lovrabet.ai";
94
+ readonly app: "https://app.lovrabet.ai";
95
+ };
96
+ readonly preview: {
97
+ readonly user: "https://user-daily.lovrabet.ai";
98
+ readonly api: "https://daily-api.lovrabet.ai";
99
+ readonly runtime: "https://daily-runtime.lovrabet.ai";
100
+ readonly skill: "https://skills-daily.lovrabet.ai";
101
+ readonly kb: "https://daily-api.lovrabet.ai";
102
+ readonly app: "https://daily.lovrabet.ai";
103
+ };
104
+ };
105
+ readonly assets: {
106
+ readonly strategy: "cdn";
107
+ readonly origin: "https://g.alicdn.com";
108
+ };
109
+ readonly local: {
110
+ readonly origin: "https://dev.lovrabet.ai";
111
+ readonly certificateUrl: "https://g.lovrabet.ai/cert/lovrabet-dev.json";
112
+ };
113
+ };
114
+ };
115
+ export declare function getOfficialRoutingProfile(region: LovrabetRegion): OfficialRoutingProfile;
@@ -0,0 +1 @@
1
+ const a218_0x1467e4=a218_0x3e30;(function(_0x1d816f,_0x9812fe){const _0x4e5d85=a218_0x3e30,_0x169cfb=_0x1d816f();while(!![]){try{const _0x191cd2=-parseInt(_0x4e5d85(0xa6))/0x1*(parseInt(_0x4e5d85(0xa3))/0x2)+parseInt(_0x4e5d85(0x88))/0x3+parseInt(_0x4e5d85(0x8a))/0x4*(-parseInt(_0x4e5d85(0x86))/0x5)+parseInt(_0x4e5d85(0x91))/0x6+parseInt(_0x4e5d85(0x9f))/0x7*(-parseInt(_0x4e5d85(0xad))/0x8)+parseInt(_0x4e5d85(0x9b))/0x9+-parseInt(_0x4e5d85(0x94))/0xa*(parseInt(_0x4e5d85(0x9d))/0xb);if(_0x191cd2===_0x9812fe)break;else _0x169cfb['push'](_0x169cfb['shift']());}catch(_0x23ec06){_0x169cfb['push'](_0x169cfb['shift']());}}}(a218_0x405b,0xa4f89));export const OFFICIAL_ROUTING_PROFILES={'cn':{'label':a218_0x1467e4(0xa0),'serviceDomains':{'primary':{'user':a218_0x1467e4(0x92),'api':a218_0x1467e4(0xa5),'runtime':a218_0x1467e4(0xa2),'skill':'https://skills.lovrabet.com','kb':a218_0x1467e4(0xa5),'app':a218_0x1467e4(0xab)},'preview':{'user':a218_0x1467e4(0x90),'api':a218_0x1467e4(0xa9),'runtime':a218_0x1467e4(0x99),'skill':a218_0x1467e4(0x93),'kb':a218_0x1467e4(0xa9),'app':'https://daily.lovrabet.com'}},'assets':{'strategy':a218_0x1467e4(0x98),'origin':a218_0x1467e4(0x87)},'local':{'origin':'https://dev.lovrabet.com','certificateUrl':a218_0x1467e4(0x89)}},'id':{'label':'Indonesia','serviceDomains':{'primary':{'user':a218_0x1467e4(0xa8),'api':'https://api.lovrabet.id','runtime':'https://runtime.lovrabet.id','skill':a218_0x1467e4(0xaa),'kb':'https://api.lovrabet.id','app':'https://app.lovrabet.id'},'preview':{'user':'https://user-daily.lovrabet.id','api':a218_0x1467e4(0x97),'runtime':'https://daily-runtime.lovrabet.id','skill':'https://skills-daily.lovrabet.id','kb':'https://daily-api.lovrabet.id','app':a218_0x1467e4(0x9e)}},'assets':{'strategy':a218_0x1467e4(0x98),'origin':a218_0x1467e4(0x87)},'local':{'origin':a218_0x1467e4(0x96),'certificateUrl':'https://g.lovrabet.id/cert/lovrabet-dev.json'}},'global':{'label':a218_0x1467e4(0xa7),'serviceDomains':{'primary':{'user':a218_0x1467e4(0x8f),'api':'https://api.lovrabet.ai','runtime':a218_0x1467e4(0xa4),'skill':a218_0x1467e4(0x8c),'kb':a218_0x1467e4(0x8e),'app':a218_0x1467e4(0xac)},'preview':{'user':a218_0x1467e4(0xa1),'api':'https://daily-api.lovrabet.ai','runtime':a218_0x1467e4(0x9a),'skill':a218_0x1467e4(0x95),'kb':a218_0x1467e4(0x8b),'app':a218_0x1467e4(0x8d)}},'assets':{'strategy':a218_0x1467e4(0x98),'origin':a218_0x1467e4(0x87)},'local':{'origin':'https://dev.lovrabet.ai','certificateUrl':a218_0x1467e4(0x9c)}}};function a218_0x405b(){const _0x24a3c9=['https://user.lovrabet.com','https://skills-daily.lovrabet.com','2808670TWjcZn','https://skills-daily.lovrabet.ai','https://dev.lovrabet.id','https://daily-api.lovrabet.id','cdn','https://daily-runtime.lovrabet.com','https://daily-runtime.lovrabet.ai','5908950EzlfsC','https://g.lovrabet.ai/cert/lovrabet-dev.json','11MMkVip','https://daily.lovrabet.id','3353ZSsUUd','Mainland\x20China','https://user-daily.lovrabet.ai','https://runtime.lovrabet.com','4cpjmIJ','https://runtime.lovrabet.ai','https://api.lovrabet.com','37951fuCeqm','Global','https://user.lovrabet.id','https://daily-api.lovrabet.com','https://skills.lovrabet.id','https://app.lovrabet.com','https://app.lovrabet.ai','2424dFRwda','10435PqOmCi','https://g.alicdn.com','3411855SLKbaz','https://g.lovrabet.com/cert/lovrabet-dev.json','1676hDIwtX','https://daily-api.lovrabet.ai','https://skills.lovrabet.ai','https://daily.lovrabet.ai','https://api.lovrabet.ai','https://user.lovrabet.ai','https://user-daily.lovrabet.com','1549470ZrxDXB'];a218_0x405b=function(){return _0x24a3c9;};return a218_0x405b();}function a218_0x3e30(_0x430fe4,_0x1c32cb){_0x430fe4=_0x430fe4-0x86;const _0x405be4=a218_0x405b();let _0x3e30c6=_0x405be4[_0x430fe4];return _0x3e30c6;}export function getOfficialRoutingProfile(_0x182886){return OFFICIAL_ROUTING_PROFILES[_0x182886];}