@lovrabet/rabetbase-cli 2.3.16-beta.2 → 2.3.16-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/README.md +1 -1
  2. package/lib/api/api-doc.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.js +1 -1
  7. package/lib/auth/constant.js +1 -1
  8. package/lib/auth/get-cookie.js +1 -1
  9. package/lib/auth/get-session-user.js +1 -1
  10. package/lib/auth/is-session-valid.js +1 -1
  11. package/lib/auth/login-success-html.js +1 -1
  12. package/lib/auth/logout.js +1 -1
  13. package/lib/cli-flags.js +1 -1
  14. package/lib/cli.js +1 -1
  15. package/lib/commands/api/generate.js +1 -1
  16. package/lib/commands/api/index.js +1 -1
  17. package/lib/commands/api/list.js +1 -1
  18. package/lib/commands/api/pull.js +1 -1
  19. package/lib/commands/api/shared.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/members-list.js +1 -1
  23. package/lib/commands/app/remote-directory.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/async-task.js +1 -1
  48. package/lib/commands/common/dry-run.js +1 -1
  49. package/lib/commands/common/flags.js +1 -1
  50. package/lib/commands/common/local-file.js +1 -1
  51. package/lib/commands/common/validate.js +1 -1
  52. package/lib/commands/config/get.js +1 -1
  53. package/lib/commands/config/index.js +1 -1
  54. package/lib/commands/config/list.js +1 -1
  55. package/lib/commands/config/set.js +1 -1
  56. package/lib/commands/config/shared.js +1 -1
  57. package/lib/commands/data/filter.js +1 -1
  58. package/lib/commands/data/getOne.js +1 -1
  59. package/lib/commands/data/index.js +1 -1
  60. package/lib/commands/data/shared.js +1 -1
  61. package/lib/commands/dataset/business-group-update.js +1 -1
  62. package/lib/commands/dataset/capability.js +1 -1
  63. package/lib/commands/dataset/delete.js +1 -1
  64. package/lib/commands/dataset/detail.js +1 -1
  65. package/lib/commands/dataset/extend-update.js +1 -1
  66. package/lib/commands/dataset/field-update.js +1 -1
  67. package/lib/commands/dataset/generate.js +1 -1
  68. package/lib/commands/dataset/index.js +1 -1
  69. package/lib/commands/dataset/list.js +1 -1
  70. package/lib/commands/dataset/operations.js +1 -1
  71. package/lib/commands/dataset/relation-audit.js +1 -1
  72. package/lib/commands/dataset/relation-create.js +1 -1
  73. package/lib/commands/dataset/relation-delete.js +1 -1
  74. package/lib/commands/dataset/relation-shared.js +1 -1
  75. package/lib/commands/dataset/relation-update.js +1 -1
  76. package/lib/commands/dataset/relations.js +1 -1
  77. package/lib/commands/dataset/rename.js +1 -1
  78. package/lib/commands/dataset/restore.js +1 -1
  79. package/lib/commands/db/analysis-batching.js +1 -1
  80. package/lib/commands/db/analyze-batch-plan.js +1 -1
  81. package/lib/commands/db/analyze-cancel.js +1 -1
  82. package/lib/commands/db/analyze-start.js +1 -1
  83. package/lib/commands/db/analyze-status.js +1 -1
  84. package/lib/commands/db/create.js +1 -1
  85. package/lib/commands/db/delete.js +1 -1
  86. package/lib/commands/db/detail.js +1 -1
  87. package/lib/commands/db/diff.js +1 -1
  88. package/lib/commands/db/index.js +1 -1
  89. package/lib/commands/db/list.js +1 -1
  90. package/lib/commands/db/shared.js +1 -1
  91. package/lib/commands/db/tables.js +1 -1
  92. package/lib/commands/db/test.js +1 -1
  93. package/lib/commands/db/update.js +1 -1
  94. package/lib/commands/doctor.js +1 -1
  95. package/lib/commands/file/index.js +1 -1
  96. package/lib/commands/init/index.js +1 -1
  97. package/lib/commands/issue/index.js +1 -1
  98. package/lib/commands/issue/nudge.js +1 -1
  99. package/lib/commands/issue/report.js +1 -1
  100. package/lib/commands/issue/shared.js +1 -1
  101. package/lib/commands/kb/create.js +1 -1
  102. package/lib/commands/kb/delete.js +1 -1
  103. package/lib/commands/kb/detail.js +1 -1
  104. package/lib/commands/kb/index.js +1 -1
  105. package/lib/commands/kb/list.js +1 -1
  106. package/lib/commands/kb/shared.js +1 -1
  107. package/lib/commands/kb/update.js +1 -1
  108. package/lib/commands/logs/index.js +1 -1
  109. package/lib/commands/menu/asset-update.js +1 -1
  110. package/lib/commands/menu/delete.js +1 -1
  111. package/lib/commands/menu/external-link-create.js +1 -1
  112. package/lib/commands/menu/external-link-update.js +1 -1
  113. package/lib/commands/menu/group-create.js +1 -1
  114. package/lib/commands/menu/group-update.js +1 -1
  115. package/lib/commands/menu/index.js +1 -1
  116. package/lib/commands/menu/list.js +1 -1
  117. package/lib/commands/menu/move.js +1 -1
  118. package/lib/commands/menu/regroup-start.js +1 -1
  119. package/lib/commands/menu/rename.js +1 -1
  120. package/lib/commands/menu/shared/compare-table.js +1 -1
  121. package/lib/commands/menu/shared/delete-plan.js +1 -1
  122. package/lib/commands/menu/shared/facts.js +1 -1
  123. package/lib/commands/menu/shared/index.js +1 -1
  124. package/lib/commands/menu/shared/inquirer.js +1 -1
  125. package/lib/commands/menu/shared/local-pages.js +1 -1
  126. package/lib/commands/menu/shared/logic.js +1 -1
  127. package/lib/commands/menu/shared/mutations.js +1 -1
  128. package/lib/commands/menu/shared/service.js +1 -1
  129. package/lib/commands/menu/shared/sync-core.js +1 -1
  130. package/lib/commands/menu/shared/update-core.js +1 -1
  131. package/lib/commands/menu/shared/valid-url.js +1 -1
  132. package/lib/commands/menu/sync.js +1 -1
  133. package/lib/commands/notification/config-list.js +1 -1
  134. package/lib/commands/notification/index.js +1 -1
  135. package/lib/commands/ocr/index.js +1 -1
  136. package/lib/commands/page/generate-start.js +1 -1
  137. package/lib/commands/page/generate-status.js +1 -1
  138. package/lib/commands/page/index.js +1 -1
  139. package/lib/commands/page/pull.js +1 -1
  140. package/lib/commands/page/push.js +1 -1
  141. package/lib/commands/page/relation-audit.js +1 -1
  142. package/lib/commands/page/restore.js +1 -1
  143. package/lib/commands/page/shared.js +1 -1
  144. package/lib/commands/page/standard-page-status.js +1 -1
  145. package/lib/commands/page/sync.js +1 -1
  146. package/lib/commands/permit/index.js +1 -1
  147. package/lib/commands/permit/page-get.js +1 -1
  148. package/lib/commands/permit/page-set.js +1 -1
  149. package/lib/commands/permit/role-apis-set.js +1 -1
  150. package/lib/commands/permit/role-menus-set.js +1 -1
  151. package/lib/commands/permit/role-menus.js +1 -1
  152. package/lib/commands/permit/shared.js +1 -1
  153. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  154. package/lib/commands/project/create/format-elapsed.js +1 -1
  155. package/lib/commands/project/create/main.js +1 -1
  156. package/lib/commands/project/create/non-interactive.js +1 -1
  157. package/lib/commands/project/create/project-template-path.js +1 -1
  158. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  159. package/lib/commands/project/create/use-format-code.js +1 -1
  160. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  161. package/lib/commands/project/index.js +1 -1
  162. package/lib/commands/project/upgrade.js +1 -1
  163. package/lib/commands/registry.js +1 -1
  164. package/lib/commands/role/create.js +1 -1
  165. package/lib/commands/role/delete.js +1 -1
  166. package/lib/commands/role/detail.js +1 -1
  167. package/lib/commands/role/index.js +1 -1
  168. package/lib/commands/role/list.js +1 -1
  169. package/lib/commands/role/shared.js +1 -1
  170. package/lib/commands/role/update.js +1 -1
  171. package/lib/commands/role/user-add.js +1 -1
  172. package/lib/commands/role/user-remove.js +1 -1
  173. package/lib/commands/role/user-resolve.js +1 -1
  174. package/lib/commands/run/index.js +1 -1
  175. package/lib/commands/schema.js +1 -1
  176. package/lib/commands/sql/create.js +1 -1
  177. package/lib/commands/sql/delete.js +1 -1
  178. package/lib/commands/sql/detail.js +1 -1
  179. package/lib/commands/sql/exec.js +1 -1
  180. package/lib/commands/sql/index.js +1 -1
  181. package/lib/commands/sql/list.js +1 -1
  182. package/lib/commands/sql/pull.js +1 -1
  183. package/lib/commands/sql/push.js +1 -1
  184. package/lib/commands/sql/shared.js +1 -1
  185. package/lib/commands/sql/status.js +1 -1
  186. package/lib/commands/sql/validate.js +1 -1
  187. package/lib/commands/task/index.js +1 -1
  188. package/lib/commands/task/status.js +1 -1
  189. package/lib/commands/tenant/index.js +1 -1
  190. package/lib/commands/tenant/members-list.js +1 -1
  191. package/lib/commands/tenant/shared.js +1 -1
  192. package/lib/commands/workspace/add.js +1 -1
  193. package/lib/commands/workspace/index.js +1 -1
  194. package/lib/commands/workspace/remove.js +1 -1
  195. package/lib/config/schema.js +1 -1
  196. package/lib/constant/cdn.js +1 -1
  197. package/lib/constant/cli.js +1 -1
  198. package/lib/constant/defaults.js +1 -1
  199. package/lib/constant/domain.js +1 -1
  200. package/lib/constant/env.js +1 -1
  201. package/lib/constant/output.js +1 -1
  202. package/lib/constant/paths.js +1 -1
  203. package/lib/constant/risk.js +1 -1
  204. package/lib/context/app-resolver.js +1 -1
  205. package/lib/context/auth-resolver.js +1 -1
  206. package/lib/context/config-loader.js +1 -1
  207. package/lib/context.js +1 -1
  208. package/lib/core/alias-resolver.js +1 -1
  209. package/lib/core/api-client.js +1 -1
  210. package/lib/core/bff/config.js +1 -1
  211. package/lib/core/bff/file-system.js +1 -1
  212. package/lib/core/bff/hash.js +1 -1
  213. package/lib/core/bff/lock.js +1 -1
  214. package/lib/core/bff/utils.js +1 -1
  215. package/lib/core/db-resolver.js +1 -1
  216. package/lib/core/page/file-system.js +1 -1
  217. package/lib/core/page/hash.js +1 -1
  218. package/lib/core/page/lock.js +1 -1
  219. package/lib/core/sql-index-auditor.js +1 -1
  220. package/lib/core/sql-sync/config.js +1 -1
  221. package/lib/core/sql-sync/file-system.js +1 -1
  222. package/lib/core/sql-sync/hash.js +1 -1
  223. package/lib/core/sql-sync/lock.js +1 -1
  224. package/lib/core/sql-sync/utils.js +1 -1
  225. package/lib/core/sql-validator.js +1 -1
  226. package/lib/errors.js +1 -1
  227. package/lib/framework/build-all-flags.js +1 -1
  228. package/lib/framework/error-output.js +1 -1
  229. package/lib/framework/explicit-yes.js +1 -1
  230. package/lib/framework/flags.js +1 -1
  231. package/lib/framework/help.js +1 -1
  232. package/lib/framework/index.js +1 -1
  233. package/lib/framework/output.js +1 -1
  234. package/lib/framework/response.js +1 -1
  235. package/lib/framework/runner-alias.js +1 -1
  236. package/lib/framework/runner.js +1 -1
  237. package/lib/framework/schema-export.js +1 -1
  238. package/lib/framework/types.js +1 -1
  239. package/lib/generated/build-info.js +1 -1
  240. package/lib/help.js +1 -1
  241. package/lib/skills/main.js +1 -1
  242. package/lib/skills/npx-skills-add.js +1 -1
  243. package/lib/skills/skill-presence.js +1 -1
  244. package/lib/telemetry/cli-command-trace.js +1 -1
  245. package/lib/telemetry/cli-help-trace.js +1 -1
  246. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  247. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  248. package/lib/telemetry/send-cli-trace-log.js +1 -1
  249. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  250. package/lib/utils/ai_config.js +1 -1
  251. package/lib/utils/apply-jq-filter.js +1 -1
  252. package/lib/utils/cdn-config.js +1 -1
  253. package/lib/utils/check-sdk-version.js +1 -1
  254. package/lib/utils/cli-version-check.js +1 -1
  255. package/lib/utils/cli-version-policy.js +1 -1
  256. package/lib/utils/config.js +1 -1
  257. package/lib/utils/copy-directory.js +1 -1
  258. package/lib/utils/entity-with-id.js +1 -1
  259. package/lib/utils/file-utils.js +1 -1
  260. package/lib/utils/guides-cdn.js +1 -1
  261. package/lib/utils/http-client.js +1 -1
  262. package/lib/utils/is-non-interactive.js +1 -1
  263. package/lib/utils/logger.js +1 -1
  264. package/lib/utils/params.js +1 -1
  265. package/lib/utils/platform.js +1 -1
  266. package/lib/utils/rules-cdn.js +1 -1
  267. package/lib/utils/sleep.js +1 -1
  268. package/lib/utils/template-replacer.js +1 -1
  269. package/lib/utils/update-notice.js +1 -1
  270. package/lib/utils/version.js +1 -1
  271. package/lib/utils/with-active-cookie.js +1 -1
  272. package/lib/utils/write-cli-side-channel.js +1 -1
  273. package/package.json +1 -1
  274. package/templates/projects/sub-app-react-demo/CHANGELOG.md +1 -1
  275. package/templates/projects/sub-app-react-demo/README.md +1 -1
  276. package/templates/projects/sub-app-react-demo/docs/quick-start.md +1 -1
  277. package/templates/projects/sub-app-react-demo/src/pages/index.tsx +1 -1
  278. package/lib/commands/project/init.js +0 -1
  279. package/lib/commands/sql/save.js +0 -1
@@ -1 +1 @@
1
- const a187_0x43cdc5=a187_0x3f11;(function(_0x1ce6ee,_0x5a75f4){const _0x4ccab5=a187_0x3f11,_0x18e608=_0x1ce6ee();while(!![]){try{const _0x1861eb=-parseInt(_0x4ccab5(0xa8))/0x1+parseInt(_0x4ccab5(0x93))/0x2+-parseInt(_0x4ccab5(0xaf))/0x3+parseInt(_0x4ccab5(0x9b))/0x4*(-parseInt(_0x4ccab5(0x8e))/0x5)+-parseInt(_0x4ccab5(0xa2))/0x6*(-parseInt(_0x4ccab5(0xa3))/0x7)+parseInt(_0x4ccab5(0xa5))/0x8*(-parseInt(_0x4ccab5(0x99))/0x9)+parseInt(_0x4ccab5(0xb2))/0xa;if(_0x1861eb===_0x5a75f4)break;else _0x18e608['push'](_0x18e608['shift']());}catch(_0x21c747){_0x18e608['push'](_0x18e608['shift']());}}}(a187_0x2d0d,0x2a87a));function a187_0x3f11(_0x517415,_0x11e429){_0x517415=_0x517415-0x7b;const _0x2d0d65=a187_0x2d0d();let _0x3f114b=_0x2d0d65[_0x517415];return _0x3f114b;}import{readFileSync,existsSync}from'node:fs';import{resolve}from'node:path';import{validateSql}from'../../core/sql-validator.js';import{auditSqlJoinIndexes}from'../../core/sql-index-auditor.js';import{getDatasetDetail,listDatasets}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';import{assertDatasetIsDbTableBacked,filterDbTableBackedDatasets}from'../../commands/dataset/capability.js';export const sqlValidate={'service':a187_0x43cdc5(0xac),'command':'validate','description':'Validate\x20SQL\x20content\x20without\x20saving\x20(type\x20detection,\x20parameter\x20extraction,\x20optional\x20schema\x20check)','risk':a187_0x43cdc5(0x8d),'flags':[{'name':a187_0x43cdc5(0xb6),'type':a187_0x43cdc5(0xae),'description':a187_0x43cdc5(0x81)},{'name':a187_0x43cdc5(0xac),'type':'string','description':'Inline\x20SQL\x20content\x20to\x20validate\x20(alternative\x20to\x20--file)'},{'name':a187_0x43cdc5(0x83),'type':a187_0x43cdc5(0xae),'description':a187_0x43cdc5(0xbb)},{'name':a187_0x43cdc5(0xba),'type':a187_0x43cdc5(0x8b),'description':a187_0x43cdc5(0x91)}],async 'execute'(_0x7e8ce3){const _0x3402a2=a187_0x43cdc5,_0xd5d80a=_0x7e8ce3[_0x3402a2(0xad)](_0x3402a2(0xb6)),_0x43a244=_0x7e8ce3[_0x3402a2(0xad)](_0x3402a2(0xac)),_0x1a77f0=_0x7e8ce3['str'](_0x3402a2(0x83)),_0xaf537a=_0x7e8ce3[_0x3402a2(0x7c)](_0x3402a2(0xba));if(!_0xd5d80a&&!_0x43a244)throw CliErrors['flagMissing'](_0x3402a2(0xb6),_0x3402a2(0x7d));if(_0xaf537a&&!_0x1a77f0)throw CliErrors[_0x3402a2(0x82)](_0x3402a2(0xb0));let _0x5984af;if(_0xd5d80a){const _0x2f2a2c=resolve(process[_0x3402a2(0x8a)](),_0xd5d80a);if(!existsSync(_0x2f2a2c))throw CliErrors[_0x3402a2(0x82)](_0x3402a2(0x80)+_0x2f2a2c);_0x5984af=readFileSync(_0x2f2a2c,_0x3402a2(0xaa));}else _0x5984af=_0x43a244;const _0x5bcd15=validateSql(_0x5984af),_0x2516c3={'valid':_0x5bcd15[_0x3402a2(0x9a)],'sqlType':_0x5bcd15[_0x3402a2(0x84)][_0x3402a2(0x8c)],'isSelectOnly':_0x5bcd15[_0x3402a2(0x84)][_0x3402a2(0xa9)],'isDangerous':_0x5bcd15[_0x3402a2(0x84)][_0x3402a2(0xa6)],'tables':_0x5bcd15['tables'],'parameters':_0x5bcd15[_0x3402a2(0xbc)],'message':_0x5bcd15[_0x3402a2(0xb4)]};_0x5bcd15[_0x3402a2(0x84)]['reason']&&(_0x2516c3['reason']=_0x5bcd15[_0x3402a2(0x84)][_0x3402a2(0x94)]);if(_0x1a77f0&&_0x5bcd15[_0x3402a2(0x9a)]){const _0x5bd2cb=_0x1a77f0[_0x3402a2(0xa1)](',')[_0x3402a2(0x98)](_0x1e0cfd=>_0x1e0cfd[_0x3402a2(0xab)]())['filter'](Boolean),_0x10338a=[],_0x584982=[],_0x290dd8=filterDbTableBackedDatasets(await listDatasets(_0x7e8ce3[_0x3402a2(0x90)])),_0x1a9e7c=new Map(_0x290dd8[_0x3402a2(0x98)](_0x26b0ef=>[_0x26b0ef[_0x3402a2(0x7f)]?.[_0x3402a2(0x92)]?.['toLowerCase'](),_0x26b0ef]));for(const _0x39cdad of _0x5bcd15['tables']){const _0x2cfdb3=_0x1a9e7c[_0x3402a2(0x97)](_0x39cdad['toLowerCase']());!_0x2cfdb3&&_0x10338a[_0x3402a2(0xb1)](_0x3402a2(0x9d)+_0x39cdad+_0x3402a2(0x86));}for(const _0x54a98e of _0x5bd2cb){let _0x1e98cd;try{_0x1e98cd=await getDatasetDetail(_0x54a98e);}catch{_0x10338a[_0x3402a2(0xb1)](_0x3402a2(0x9c)+_0x54a98e+'\x22\x20not\x20found\x20or\x20not\x20accessible');continue;}assertDatasetIsDbTableBacked(_0x1e98cd,_0x3402a2(0x8f));const _0x1e1c73=Array[_0x3402a2(0xb3)](_0x1e98cd[_0x3402a2(0xa4)])?_0x1e98cd[_0x3402a2(0xa4)]:[],_0xb149b2=new Set(_0x1e1c73[_0x3402a2(0x98)](_0x40d888=>_0x40d888[_0x3402a2(0xb7)]?.['toLowerCase']())),_0x1e28c2=_0x1e98cd['dbtableConfig']?.['tableName']||_0x1e98cd[_0x3402a2(0x92)]||_0x54a98e;_0x2516c3[_0x3402a2(0xb5)+_0x1e28c2]={'code':_0x54a98e,'tableName':_0x1e28c2,'fieldCount':_0xb149b2[_0x3402a2(0xb8)],'fields':Array[_0x3402a2(0x95)](_0xb149b2)};if(_0xaf537a){const _0x4ae033=normalizeDatasetIndexes(_0x1e98cd);_0x584982[_0x3402a2(0xb1)]({'tableName':_0x1e28c2,..._0x4ae033});}}_0x10338a['length']>0x0&&(_0x2516c3['schemaWarnings']=_0x10338a),_0xaf537a&&(_0x2516c3[_0x3402a2(0xb9)]=auditSqlJoinIndexes(_0x5984af,_0x584982));}return{'ok':_0x5bcd15[_0x3402a2(0x9a)],'data':_0x2516c3,'message':_0x5bcd15['message']};}};function a187_0x2d0d(){const _0x209035=['Comma-separated\x20dataset\x20codes\x20to\x20cross-check\x20table/column\x20names\x20against','parameters','indexes','bool','Provide\x20--file\x20or\x20--sql','dataset','dbtableConfig','File\x20not\x20found:\x20','Path\x20to\x20the\x20SQL\x20file\x20to\x20validate','validation','schemas','sqlType','indexName','\x22\x20not\x20found\x20in\x20any\x20dataset','columns','filter','index_columns','cwd','boolean','type','read','215MmzdtS','SQL\x20schema\x20validation','appCode','Audit\x20top-level\x20JOIN\x20equality\x20predicates\x20against\x20dataset\x20index\x20metadata','tableName','499208CJsQaZ','reason','from','find','get','map','135dXgCrY','valid','31156FHLWHr','Dataset\x20\x22','Table\x20\x22','length','pkField','unshift','split','322914oPPoRs','21sWLIOM','fields','103504LgQqWR','isDangerous','flatMap','130335VUAiEL','isSelectOnly','utf-8','trim','sql','str','string','500121SEnKXN','--check-indexes\x20requires\x20--schemas.','push','5891800kYRuhQ','isArray','message','schema:','file','name','size','joinAudit','check-indexes'];a187_0x2d0d=function(){return _0x209035;};return a187_0x2d0d();}function normalizeDatasetIndexes(_0x45dc76){const _0x49687b=a187_0x43cdc5,_0x7c37ee=Array[_0x49687b(0xb3)](_0x45dc76?.[_0x49687b(0x7e)]?.[_0x49687b(0x7b)])?_0x45dc76[_0x49687b(0x7e)][_0x49687b(0x7b)]:Array[_0x49687b(0xb3)](_0x45dc76?.[_0x49687b(0x7b)])?_0x45dc76[_0x49687b(0x7b)]:[],_0x392668=_0x7c37ee[_0x49687b(0xa7)](_0x27e6b6=>{const _0x11069c=_0x49687b,_0x5aea1e=Array['isArray'](_0x27e6b6?.['index_columns'])?_0x27e6b6[_0x11069c(0x89)]:Array['isArray'](_0x27e6b6?.['columnNames'])?_0x27e6b6['columnNames']:Array[_0x11069c(0xb3)](_0x27e6b6?.[_0x11069c(0x87)])?_0x27e6b6[_0x11069c(0x87)]:[],_0x4ef4ab=_0x5aea1e[_0x11069c(0x88)](_0x57f34b=>typeof _0x57f34b===_0x11069c(0xae))[_0x11069c(0x98)](_0xbaabc4=>_0xbaabc4[_0x11069c(0xab)]())[_0x11069c(0x88)](Boolean);if(_0x4ef4ab[_0x11069c(0x9e)]===0x0)return[];const _0x17090a=[_0x27e6b6?.[_0x11069c(0x85)],_0x27e6b6?.['index_name'],_0x27e6b6?.[_0x11069c(0xb7)]][_0x11069c(0x96)](_0x24c14a=>typeof _0x24c14a===_0x11069c(0xae)&&_0x24c14a['trim']()),_0x360ceb=[_0x27e6b6?.['index_type'],_0x27e6b6?.[_0x11069c(0x8c)]]['find'](_0x4f451b=>typeof _0x4f451b===_0x11069c(0xae)&&_0x4f451b[_0x11069c(0xab)]());return[{..._0x17090a?{'name':_0x17090a[_0x11069c(0xab)]()}:{},..._0x360ceb?{'type':_0x360ceb['trim']()}:{},'columns':_0x4ef4ab}];}),_0x3d44cb=[..._0x392668],_0x926947=typeof _0x45dc76?.[_0x49687b(0x7f)]?.[_0x49687b(0x9f)]==='string'?_0x45dc76[_0x49687b(0x7f)][_0x49687b(0x9f)]['split'](',')[_0x49687b(0x98)](_0x50065c=>_0x50065c[_0x49687b(0xab)]())[_0x49687b(0x88)](Boolean):[];return _0x926947[_0x49687b(0x9e)]>0x0&&_0x3d44cb[_0x49687b(0xa0)]({'type':'primary','columns':_0x926947}),{'indexes':_0x3d44cb,'metadataAvailable':_0x392668[_0x49687b(0x9e)]>0x0};}
1
+ const a185_0xbd40a4=a185_0x4bfd;function a185_0x4bfd(_0xf41c1f,_0x580157){_0xf41c1f=_0xf41c1f-0x132;const _0x450414=a185_0x4504();let _0x4bfdd5=_0x450414[_0xf41c1f];return _0x4bfdd5;}(function(_0x2187dd,_0x14dfb5){const _0x5d0104=a185_0x4bfd,_0x49937e=_0x2187dd();while(!![]){try{const _0x1f9beb=parseInt(_0x5d0104(0x139))/0x1*(-parseInt(_0x5d0104(0x15a))/0x2)+parseInt(_0x5d0104(0x15c))/0x3+parseInt(_0x5d0104(0x162))/0x4*(parseInt(_0x5d0104(0x13f))/0x5)+parseInt(_0x5d0104(0x171))/0x6+parseInt(_0x5d0104(0x161))/0x7+-parseInt(_0x5d0104(0x156))/0x8+parseInt(_0x5d0104(0x167))/0x9;if(_0x1f9beb===_0x14dfb5)break;else _0x49937e['push'](_0x49937e['shift']());}catch(_0x2d2aa7){_0x49937e['push'](_0x49937e['shift']());}}}(a185_0x4504,0xd190e));import{readFileSync,existsSync}from'node:fs';import{resolve}from'node:path';import{validateSql}from'../../core/sql-validator.js';import{auditSqlJoinIndexes}from'../../core/sql-index-auditor.js';import{getDatasetDetail,listDatasets}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';import{assertDatasetIsDbTableBacked,filterDbTableBackedDatasets}from'../../commands/dataset/capability.js';export const sqlValidate={'service':a185_0xbd40a4(0x166),'command':a185_0xbd40a4(0x137),'description':a185_0xbd40a4(0x140),'risk':a185_0xbd40a4(0x153),'flags':[{'name':a185_0xbd40a4(0x13c),'type':a185_0xbd40a4(0x173),'description':a185_0xbd40a4(0x14e)},{'name':'sql','type':a185_0xbd40a4(0x173),'description':'Inline\x20SQL\x20content\x20to\x20validate\x20(alternative\x20to\x20--file)'},{'name':a185_0xbd40a4(0x15b),'type':a185_0xbd40a4(0x173),'description':a185_0xbd40a4(0x142)},{'name':'check-indexes','type':a185_0xbd40a4(0x154),'description':'Audit\x20top-level\x20JOIN\x20equality\x20predicates\x20against\x20dataset\x20index\x20metadata'}],async 'execute'(_0x5c0bbf){const _0xed17a=a185_0xbd40a4,_0xff6388=_0x5c0bbf[_0xed17a(0x150)](_0xed17a(0x13c)),_0x2b8042=_0x5c0bbf[_0xed17a(0x150)](_0xed17a(0x166)),_0x18cf5c=_0x5c0bbf[_0xed17a(0x150)]('schemas'),_0x41b2d7=_0x5c0bbf[_0xed17a(0x16e)](_0xed17a(0x165));if(!_0xff6388&&!_0x2b8042)throw CliErrors[_0xed17a(0x141)](_0xed17a(0x13c),'Provide\x20--file\x20or\x20--sql');if(_0x41b2d7&&!_0x18cf5c)throw CliErrors[_0xed17a(0x16c)](_0xed17a(0x14f));let _0x4e0689;if(_0xff6388){const _0x39d2aa=resolve(process[_0xed17a(0x159)](),_0xff6388);if(!existsSync(_0x39d2aa))throw CliErrors[_0xed17a(0x16c)](_0xed17a(0x144)+_0x39d2aa);_0x4e0689=readFileSync(_0x39d2aa,'utf-8');}else _0x4e0689=_0x2b8042;const _0x2c4fb8=validateSql(_0x4e0689),_0x26bacc={'valid':_0x2c4fb8[_0xed17a(0x175)],'sqlType':_0x2c4fb8[_0xed17a(0x164)][_0xed17a(0x147)],'isSelectOnly':_0x2c4fb8[_0xed17a(0x164)][_0xed17a(0x14c)],'isDangerous':_0x2c4fb8['sqlType'][_0xed17a(0x145)],'tables':_0x2c4fb8[_0xed17a(0x132)],'parameters':_0x2c4fb8[_0xed17a(0x163)],'message':_0x2c4fb8[_0xed17a(0x146)]};_0x2c4fb8[_0xed17a(0x164)][_0xed17a(0x133)]&&(_0x26bacc[_0xed17a(0x133)]=_0x2c4fb8[_0xed17a(0x164)][_0xed17a(0x133)]);if(_0x18cf5c&&_0x2c4fb8[_0xed17a(0x175)]){const _0x419fe5=_0x18cf5c['split'](',')[_0xed17a(0x13a)](_0x21d722=>_0x21d722[_0xed17a(0x169)]())[_0xed17a(0x136)](Boolean),_0x540edb=[],_0x3836f4=[],_0x52bd41=filterDbTableBackedDatasets(await listDatasets(_0x5c0bbf[_0xed17a(0x134)])),_0x25a6d1=new Map(_0x52bd41[_0xed17a(0x13a)](_0x2333aa=>[_0x2333aa['dbtableConfig']?.['tableName']?.[_0xed17a(0x143)](),_0x2333aa]));for(const _0x2a8e69 of _0x2c4fb8['tables']){const _0x2f29de=_0x25a6d1[_0xed17a(0x158)](_0x2a8e69[_0xed17a(0x143)]());!_0x2f29de&&_0x540edb['push']('Table\x20\x22'+_0x2a8e69+'\x22\x20not\x20found\x20in\x20any\x20dataset');}for(const _0x4a7695 of _0x419fe5){let _0x1e5ce4;try{_0x1e5ce4=await getDatasetDetail(_0x4a7695);}catch{_0x540edb['push']('Dataset\x20\x22'+_0x4a7695+'\x22\x20not\x20found\x20or\x20not\x20accessible');continue;}assertDatasetIsDbTableBacked(_0x1e5ce4,_0xed17a(0x148));const _0x158cf7=Array[_0xed17a(0x16d)](_0x1e5ce4[_0xed17a(0x14a)])?_0x1e5ce4[_0xed17a(0x14a)]:[],_0x24ce44=new Set(_0x158cf7[_0xed17a(0x13a)](_0x1649db=>_0x1649db[_0xed17a(0x155)]?.[_0xed17a(0x143)]())),_0x544a72=_0x1e5ce4[_0xed17a(0x13e)]?.[_0xed17a(0x174)]||_0x1e5ce4[_0xed17a(0x174)]||_0x4a7695;_0x26bacc[_0xed17a(0x168)+_0x544a72]={'code':_0x4a7695,'tableName':_0x544a72,'fieldCount':_0x24ce44[_0xed17a(0x15e)],'fields':Array[_0xed17a(0x15d)](_0x24ce44)};if(_0x41b2d7){const _0x1fa160=normalizeDatasetIndexes(_0x1e5ce4);_0x3836f4[_0xed17a(0x135)]({'tableName':_0x544a72,..._0x1fa160});}}_0x540edb[_0xed17a(0x16a)]>0x0&&(_0x26bacc[_0xed17a(0x14d)]=_0x540edb),_0x41b2d7&&(_0x26bacc[_0xed17a(0x13d)]=auditSqlJoinIndexes(_0x4e0689,_0x3836f4));}return{'ok':_0x2c4fb8[_0xed17a(0x175)],'data':_0x26bacc,'message':_0x2c4fb8[_0xed17a(0x146)]};}};function a185_0x4504(){const _0x4d0297=['tableName','valid','tables','reason','appCode','push','filter','validate','index_type','7054QDhonG','map','split','file','joinAudit','dbtableConfig','5bCvXsZ','Validate\x20SQL\x20content\x20without\x20saving\x20(type\x20detection,\x20parameter\x20extraction,\x20optional\x20schema\x20check)','flagMissing','Comma-separated\x20dataset\x20codes\x20to\x20cross-check\x20table/column\x20names\x20against','toLowerCase','File\x20not\x20found:\x20','isDangerous','message','type','SQL\x20schema\x20validation','columnNames','fields','indexes','isSelectOnly','schemaWarnings','Path\x20to\x20the\x20SQL\x20file\x20to\x20validate','--check-indexes\x20requires\x20--schemas.','str','primary','dataset','read','boolean','name','9393280SkFdqr','pkField','get','cwd','382dZjDng','schemas','1268133csIRuC','from','size','columns','unshift','10492608VuzUkO','1916900lMjpwx','parameters','sqlType','check-indexes','sql','7687935OkXKIr','schema:','trim','length','indexName','validation','isArray','bool','find','flatMap','748566FfLXBN','index_columns','string'];a185_0x4504=function(){return _0x4d0297;};return a185_0x4504();}function normalizeDatasetIndexes(_0x2d84fe){const _0x12656f=a185_0xbd40a4,_0x57e356=Array[_0x12656f(0x16d)](_0x2d84fe?.[_0x12656f(0x152)]?.[_0x12656f(0x14b)])?_0x2d84fe[_0x12656f(0x152)]['indexes']:Array[_0x12656f(0x16d)](_0x2d84fe?.[_0x12656f(0x14b)])?_0x2d84fe['indexes']:[],_0x134eee=_0x57e356[_0x12656f(0x170)](_0x41a324=>{const _0x548dad=_0x12656f,_0x4c869a=Array['isArray'](_0x41a324?.['index_columns'])?_0x41a324[_0x548dad(0x172)]:Array['isArray'](_0x41a324?.[_0x548dad(0x149)])?_0x41a324[_0x548dad(0x149)]:Array[_0x548dad(0x16d)](_0x41a324?.[_0x548dad(0x15f)])?_0x41a324[_0x548dad(0x15f)]:[],_0x488d4c=_0x4c869a[_0x548dad(0x136)](_0x131d7f=>typeof _0x131d7f===_0x548dad(0x173))[_0x548dad(0x13a)](_0x16a485=>_0x16a485[_0x548dad(0x169)]())[_0x548dad(0x136)](Boolean);if(_0x488d4c['length']===0x0)return[];const _0xd15829=[_0x41a324?.[_0x548dad(0x16b)],_0x41a324?.['index_name'],_0x41a324?.[_0x548dad(0x155)]][_0x548dad(0x16f)](_0x40bfcd=>typeof _0x40bfcd===_0x548dad(0x173)&&_0x40bfcd[_0x548dad(0x169)]()),_0x17acb4=[_0x41a324?.[_0x548dad(0x138)],_0x41a324?.[_0x548dad(0x147)]]['find'](_0xe9f446=>typeof _0xe9f446===_0x548dad(0x173)&&_0xe9f446['trim']());return[{..._0xd15829?{'name':_0xd15829[_0x548dad(0x169)]()}:{},..._0x17acb4?{'type':_0x17acb4[_0x548dad(0x169)]()}:{},'columns':_0x488d4c}];}),_0x352a9a=[..._0x134eee],_0x5694d3=typeof _0x2d84fe?.[_0x12656f(0x13e)]?.[_0x12656f(0x157)]===_0x12656f(0x173)?_0x2d84fe[_0x12656f(0x13e)]['pkField'][_0x12656f(0x13b)](',')[_0x12656f(0x13a)](_0x469c05=>_0x469c05['trim']())[_0x12656f(0x136)](Boolean):[];return _0x5694d3[_0x12656f(0x16a)]>0x0&&_0x352a9a[_0x12656f(0x160)]({'type':_0x12656f(0x151),'columns':_0x5694d3}),{'indexes':_0x352a9a,'metadataAvailable':_0x134eee[_0x12656f(0x16a)]>0x0};}
@@ -1 +1 @@
1
- function a188_0x1144(){const _0x4d3f49=['136xsRUYT','494148pGrPpR','171054OVWxIB','4ogrLIM','1355761JOXhPp','10XPlHCN','14203gXsUYP','341495tkhLbJ','12IloCzm','38674pUojHe','12byZzpW','55629DCabfr'];a188_0x1144=function(){return _0x4d3f49;};return a188_0x1144();}function a188_0x2cf1(_0x1928b5,_0x4e5519){_0x1928b5=_0x1928b5-0x1c2;const _0x11444f=a188_0x1144();let _0x2cf122=_0x11444f[_0x1928b5];return _0x2cf122;}(function(_0x5c3cee,_0x42400a){const _0x32a40c=a188_0x2cf1,_0x1f0d11=_0x5c3cee();while(!![]){try{const _0x1e2f52=-parseInt(_0x32a40c(0x1c8))/0x1*(parseInt(_0x32a40c(0x1c2))/0x2)+parseInt(_0x32a40c(0x1cd))/0x3+parseInt(_0x32a40c(0x1cc))/0x4+-parseInt(_0x32a40c(0x1c6))/0x5*(-parseInt(_0x32a40c(0x1c7))/0x6)+-parseInt(_0x32a40c(0x1c5))/0x7*(-parseInt(_0x32a40c(0x1cb))/0x8)+parseInt(_0x32a40c(0x1ca))/0x9*(-parseInt(_0x32a40c(0x1c4))/0xa)+parseInt(_0x32a40c(0x1c3))/0xb*(-parseInt(_0x32a40c(0x1c9))/0xc);if(_0x1e2f52===_0x42400a)break;else _0x1f0d11['push'](_0x1f0d11['shift']());}catch(_0x356098){_0x1f0d11['push'](_0x1f0d11['shift']());}}}(a188_0x1144,0x235e2));import{taskStatus}from'../../commands/task/status.js';export const taskDefinitions=[taskStatus];
1
+ function a186_0x12ba(){const _0x2c3720=['3525XztVeH','335aXwVow','9taafWT','93702xmpvdm','160IQpAHq','4764xfsxcw','71780isJOLQ','2825676uLpTsW','14159lyaQoq','6019464IRemCN','27103384EVzCZG'];a186_0x12ba=function(){return _0x2c3720;};return a186_0x12ba();}(function(_0x1d94a2,_0x3bbb89){const _0x5d8a90=a186_0x3c33,_0x5441f9=_0x1d94a2();while(!![]){try{const _0x3f4956=-parseInt(_0x5d8a90(0xe3))/0x1*(-parseInt(_0x5d8a90(0xdf))/0x2)+parseInt(_0x5d8a90(0xe6))/0x3*(parseInt(_0x5d8a90(0xe0))/0x4)+parseInt(_0x5d8a90(0xe7))/0x5*(parseInt(_0x5d8a90(0xe9))/0x6)+parseInt(_0x5d8a90(0xe2))/0x7+parseInt(_0x5d8a90(0xe4))/0x8*(-parseInt(_0x5d8a90(0xe8))/0x9)+-parseInt(_0x5d8a90(0xe1))/0xa+-parseInt(_0x5d8a90(0xe5))/0xb;if(_0x3f4956===_0x3bbb89)break;else _0x5441f9['push'](_0x5441f9['shift']());}catch(_0x21fd13){_0x5441f9['push'](_0x5441f9['shift']());}}}(a186_0x12ba,0xb9345));function a186_0x3c33(_0x500f01,_0x14053a){_0x500f01=_0x500f01-0xdf;const _0x12baa6=a186_0x12ba();let _0x3c33d8=_0x12baa6[_0x500f01];return _0x3c33d8;}import{taskStatus}from'../../commands/task/status.js';export const taskDefinitions=[taskStatus];
@@ -1 +1 @@
1
- const a189_0x5b7695=a189_0xe8b1;function a189_0xe8b1(_0x48e8a0,_0x29994f){_0x48e8a0=_0x48e8a0-0x1c7;const _0x5aa5b0=a189_0x5aa5();let _0xe8b18c=_0x5aa5b0[_0x48e8a0];return _0xe8b18c;}(function(_0x1763ba,_0x49efc0){const _0x1bd8e8=a189_0xe8b1,_0x569a58=_0x1763ba();while(!![]){try{const _0x182bcb=parseInt(_0x1bd8e8(0x1cc))/0x1*(parseInt(_0x1bd8e8(0x1da))/0x2)+parseInt(_0x1bd8e8(0x1d4))/0x3+-parseInt(_0x1bd8e8(0x1dc))/0x4*(parseInt(_0x1bd8e8(0x1cb))/0x5)+parseInt(_0x1bd8e8(0x1e0))/0x6*(parseInt(_0x1bd8e8(0x1ca))/0x7)+-parseInt(_0x1bd8e8(0x1c7))/0x8*(-parseInt(_0x1bd8e8(0x1d8))/0x9)+-parseInt(_0x1bd8e8(0x1d1))/0xa*(-parseInt(_0x1bd8e8(0x1c8))/0xb)+-parseInt(_0x1bd8e8(0x1d9))/0xc;if(_0x182bcb===_0x49efc0)break;else _0x569a58['push'](_0x569a58['shift']());}catch(_0x269c61){_0x569a58['push'](_0x569a58['shift']());}}}(a189_0x5aa5,0x75349));function a189_0x5aa5(){const _0x5658b0=['10AJqwCU','task','apiError','692514jkqbUC','appCode','string','str','4923dUOgxc','15347676SrVVJW','130TNaPQU','Query\x20an\x20asynchronous\x20task;\x20repeat\x20for\x20PENDING\x20or\x20PROCESSING\x20until\x20SUCCESS\x20or\x20FAILED','4KHtyRC','Task\x20id\x20returned\x20by\x20an\x20asynchronous\x20platform\x20command','flagMissing','taskId','6nnrILJ','9784xdepji','5436871txnsuE','isTerminal','3155719yukhtB','913505plbfpp','1490fMnBHd','task-id','read','status','compress'];a189_0x5aa5=function(){return _0x5658b0;};return a189_0x5aa5();}import{APPCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';import{asyncTaskMessage,buildAsyncTaskStatusCommand,normalizeAsyncTask}from'../../commands/common/async-task.js';import{getAsyncTaskStatus}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';export const taskStatus={'service':a189_0x5b7695(0x1d2),'command':a189_0x5b7695(0x1cf),'description':a189_0x5b7695(0x1db),'risk':a189_0x5b7695(0x1ce),'defaultOutputFormat':a189_0x5b7695(0x1d0),'structuredErrors':!![],'flags':[{'name':'task-id','type':a189_0x5b7695(0x1d6),'required':!![],'description':a189_0x5b7695(0x1dd)},APPCODE_FLAG_OPTIONAL],async 'validate'(_0x166672){const _0x58d731=a189_0x5b7695;if(!_0x166672['str'](_0x58d731(0x1cd))['trim']())throw CliErrors[_0x58d731(0x1de)]('task-id');},async 'execute'(_0x2e7ebe){const _0x57962f=a189_0x5b7695,_0x4ce44d=_0x2e7ebe[_0x57962f(0x1d7)](_0x57962f(0x1cd))['trim'](),_0x132142=normalizeAsyncTask(await getAsyncTaskStatus(_0x4ce44d,_0x2e7ebe[_0x57962f(0x1d5)],_0x2e7ebe['cookie']));if(_0x132142[_0x57962f(0x1df)]!==_0x4ce44d)throw CliErrors[_0x57962f(0x1d3)]('Task\x20status\x20response\x20id\x20mismatch:\x20requested\x20'+_0x4ce44d+',\x20received\x20'+_0x132142['taskId']+'.');const _0x5cb713=buildAsyncTaskStatusCommand(_0x132142['taskId'],_0x2e7ebe[_0x57962f(0x1d5)]);return{'ok':!![],'message':asyncTaskMessage(_0x132142),'data':{'appCode':_0x2e7ebe[_0x57962f(0x1d5)],..._0x132142,'query':_0x132142[_0x57962f(0x1c9)]?null:{'command':_0x5cb713}}};}};
1
+ const a187_0x5a74cc=a187_0x20aa;(function(_0x50a6a,_0x527892){const _0x5e657f=a187_0x20aa,_0x25670a=_0x50a6a();while(!![]){try{const _0x5e88f9=parseInt(_0x5e657f(0x108))/0x1*(parseInt(_0x5e657f(0xff))/0x2)+parseInt(_0x5e657f(0x100))/0x3*(parseInt(_0x5e657f(0xfb))/0x4)+-parseInt(_0x5e657f(0xfe))/0x5+-parseInt(_0x5e657f(0x107))/0x6+-parseInt(_0x5e657f(0x105))/0x7+-parseInt(_0x5e657f(0x104))/0x8+parseInt(_0x5e657f(0x10b))/0x9;if(_0x5e88f9===_0x527892)break;else _0x25670a['push'](_0x25670a['shift']());}catch(_0x25db11){_0x25670a['push'](_0x25670a['shift']());}}}(a187_0x1129,0x6df5b));import{APPCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';import{asyncTaskMessage,buildAsyncTaskStatusCommand,normalizeAsyncTask}from'../../commands/common/async-task.js';import{getAsyncTaskStatus}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';function a187_0x1129(){const _0x358491=['task','Task\x20status\x20response\x20id\x20mismatch:\x20requested\x20','930660MdXBTP','14636TWuaZT','10503ivPBEr','compress','isTerminal','trim','6168104DzcuLv','2936556vkEAil','task-id','5152872LJUhfX','101roSUtU','flagMissing','apiError','12132639iMCVBU','status','read','taskId','appCode','684zYUtJh'];a187_0x1129=function(){return _0x358491;};return a187_0x1129();}function a187_0x20aa(_0x10dc97,_0x1fc8a3){_0x10dc97=_0x10dc97-0xfb;const _0x1129fe=a187_0x1129();let _0x20aace=_0x1129fe[_0x10dc97];return _0x20aace;}export const taskStatus={'service':a187_0x5a74cc(0xfc),'command':a187_0x5a74cc(0x10c),'description':'Query\x20an\x20asynchronous\x20task;\x20repeat\x20for\x20PENDING\x20or\x20PROCESSING\x20until\x20SUCCESS\x20or\x20FAILED','risk':a187_0x5a74cc(0x10d),'defaultOutputFormat':a187_0x5a74cc(0x101),'structuredErrors':!![],'flags':[{'name':a187_0x5a74cc(0x106),'type':'string','required':!![],'description':'Task\x20id\x20returned\x20by\x20an\x20asynchronous\x20platform\x20command'},APPCODE_FLAG_OPTIONAL],async 'validate'(_0x187f09){const _0x24fb34=a187_0x5a74cc;if(!_0x187f09['str'](_0x24fb34(0x106))['trim']())throw CliErrors[_0x24fb34(0x109)](_0x24fb34(0x106));},async 'execute'(_0x505aff){const _0x4527fa=a187_0x5a74cc,_0xbc5dc1=_0x505aff['str'](_0x4527fa(0x106))[_0x4527fa(0x103)](),_0x378a82=normalizeAsyncTask(await getAsyncTaskStatus(_0xbc5dc1,_0x505aff['appCode'],_0x505aff['cookie']));if(_0x378a82[_0x4527fa(0x10e)]!==_0xbc5dc1)throw CliErrors[_0x4527fa(0x10a)](_0x4527fa(0xfd)+_0xbc5dc1+',\x20received\x20'+_0x378a82[_0x4527fa(0x10e)]+'.');const _0x5232df=buildAsyncTaskStatusCommand(_0x378a82[_0x4527fa(0x10e)],_0x505aff[_0x4527fa(0x10f)]);return{'ok':!![],'message':asyncTaskMessage(_0x378a82),'data':{'appCode':_0x505aff[_0x4527fa(0x10f)],..._0x378a82,'query':_0x378a82[_0x4527fa(0x102)]?null:{'command':_0x5232df}}};}};
@@ -1 +1 @@
1
- (function(_0x5693b7,_0x5cf5c4){const _0x53f864=a190_0x52ca,_0x165b5f=_0x5693b7();while(!![]){try{const _0x57bfa3=parseInt(_0x53f864(0x7e))/0x1*(parseInt(_0x53f864(0x7b))/0x2)+-parseInt(_0x53f864(0x81))/0x3+parseInt(_0x53f864(0x80))/0x4+-parseInt(_0x53f864(0x83))/0x5*(-parseInt(_0x53f864(0x85))/0x6)+-parseInt(_0x53f864(0x7d))/0x7*(parseInt(_0x53f864(0x7f))/0x8)+-parseInt(_0x53f864(0x84))/0x9+-parseInt(_0x53f864(0x7c))/0xa*(parseInt(_0x53f864(0x82))/0xb);if(_0x57bfa3===_0x5cf5c4)break;else _0x165b5f['push'](_0x165b5f['shift']());}catch(_0x2b8105){_0x165b5f['push'](_0x165b5f['shift']());}}}(a190_0x5100,0xc4e3b));function a190_0x52ca(_0x23a112,_0x5d47c0){_0x23a112=_0x23a112-0x7b;const _0x510097=a190_0x5100();let _0x52cac4=_0x510097[_0x23a112];return _0x52cac4;}import{tenantMembersListDefinition}from'../../commands/tenant/members-list.js';export const tenantDefinitions=[tenantMembersListDefinition];function a190_0x5100(){const _0xa3e518=['2emkFsf','10ooisoI','17311jCROqh','1060601gFbQIF','2456dwrwIA','5450920tdIjhK','2077809jcrxKt','14591533PLJfpg','15GwFjOD','2162502vzKAcl','2803446TwREfN'];a190_0x5100=function(){return _0xa3e518;};return a190_0x5100();}
1
+ function a188_0x53b5(){const _0x11417b=['1611144sMCWCt','16nqYmJX','519486AElVMN','48XDlNMB','5294600QlAHRH','403399BigNrN','598428cfdWZl','7679581ezniEJ','264567kpRuqC'];a188_0x53b5=function(){return _0x11417b;};return a188_0x53b5();}function a188_0x51de(_0x2bded8,_0x94a04d){_0x2bded8=_0x2bded8-0x18c;const _0x53b5=a188_0x53b5();let _0x51de26=_0x53b5[_0x2bded8];return _0x51de26;}(function(_0x336643,_0x1e9d62){const _0x13af30=a188_0x51de,_0x355a48=_0x336643();while(!![]){try{const _0x4fce7b=-parseInt(_0x13af30(0x18c))/0x1+parseInt(_0x13af30(0x190))/0x2+-parseInt(_0x13af30(0x18f))/0x3*(parseInt(_0x13af30(0x191))/0x4)+-parseInt(_0x13af30(0x194))/0x5+parseInt(_0x13af30(0x192))/0x6+parseInt(_0x13af30(0x18e))/0x7+-parseInt(_0x13af30(0x193))/0x8*(-parseInt(_0x13af30(0x18d))/0x9);if(_0x4fce7b===_0x1e9d62)break;else _0x355a48['push'](_0x355a48['shift']());}catch(_0x5a84bd){_0x355a48['push'](_0x355a48['shift']());}}}(a188_0x53b5,0x8beb9));import{tenantMembersListDefinition}from'../../commands/tenant/members-list.js';export const tenantDefinitions=[tenantMembersListDefinition];
@@ -1 +1 @@
1
- const a191_0x433801=a191_0x41fe;(function(_0xd00f32,_0x5bd4e9){const _0x235c3e=a191_0x41fe,_0x50cbd9=_0xd00f32();while(!![]){try{const _0x5ee298=-parseInt(_0x235c3e(0xfb))/0x1*(parseInt(_0x235c3e(0xfc))/0x2)+parseInt(_0x235c3e(0x104))/0x3*(-parseInt(_0x235c3e(0xf3))/0x4)+parseInt(_0x235c3e(0xf8))/0x5+parseInt(_0x235c3e(0xf5))/0x6+parseInt(_0x235c3e(0xf2))/0x7*(parseInt(_0x235c3e(0xf4))/0x8)+parseInt(_0x235c3e(0x103))/0x9*(parseInt(_0x235c3e(0x101))/0xa)+-parseInt(_0x235c3e(0x105))/0xb;if(_0x5ee298===_0x5bd4e9)break;else _0x50cbd9['push'](_0x50cbd9['shift']());}catch(_0x75c226){_0x50cbd9['push'](_0x50cbd9['shift']());}}}(a191_0x4b2d,0xa510a));import{listCurrentUserTenantMemberships,listTenantDirectoryMembers}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';import{assertTenantAccessible,projectTenantMembers}from'../../commands/tenant/shared.js';function a191_0x41fe(_0x18697f,_0xc8bd9f){_0x18697f=_0x18697f-0xee;const _0x4b2d2d=a191_0x4b2d();let _0x41feeb=_0x4b2d2d[_0x18697f];return _0x41feeb;}export const tenantMembersListDefinition={'service':a191_0x433801(0xfd),'command':a191_0x433801(0x102),'description':a191_0x433801(0xf6),'risk':a191_0x433801(0xff),'requiresAuth':!![],'requiresAppCode':![],'structuredErrors':!![],'flags':[{'name':a191_0x433801(0xf9),'type':a191_0x433801(0xf1),'required':!![],'description':a191_0x433801(0xfe)}],async 'validate'(_0xaa6a54){const _0x1abc47=a191_0x433801;if(!_0xaa6a54[_0x1abc47(0xfa)](_0x1abc47(0xf9))[_0x1abc47(0xf0)]())throw CliErrors[_0x1abc47(0xf7)]('tenant-code',_0x1abc47(0x100));},async 'execute'(_0x6cd6b8){const _0x21e0c7=a191_0x433801,_0x799d5e=_0x6cd6b8[_0x21e0c7(0xfa)](_0x21e0c7(0xf9))[_0x21e0c7(0xf0)](),_0x2de7ba=await listCurrentUserTenantMemberships();assertTenantAccessible(_0x799d5e,_0x2de7ba);const _0x37311a=projectTenantMembers(await listTenantDirectoryMembers(_0x799d5e));return{'ok':!![],'data':{'tenantCode':_0x799d5e,'items':_0x37311a,'totalCount':_0x37311a[_0x21e0c7(0xef)]},'message':'Found\x20'+_0x37311a[_0x21e0c7(0xef)]+_0x21e0c7(0xee)};}};function a191_0x4b2d(){const _0x1c18f2=['16yxYaAf','9542752CDRfBr','877566YCPkJS','List\x20members\x20of\x20a\x20tenant\x20available\x20to\x20the\x20current\x20account','flagMissing','5248015YyHfzP','tenant-code','str','271161ippNRP','2rFHwXB','tenant','Exact\x20tenant\x20code','read','Pass\x20--tenant-code\x20<code>.','3707690YtXVJQ','members-list','9oXomEJ','589257sOmFCO','11291874YjeAGe','\x20tenant\x20member(s)','length','trim','string','7ZrMTTd'];a191_0x4b2d=function(){return _0x1c18f2;};return a191_0x4b2d();}
1
+ const a189_0x1074d9=a189_0x58d0;function a189_0x58d0(_0xd9c15,_0x41b16e){_0xd9c15=_0xd9c15-0x118;const _0x473dd5=a189_0x473d();let _0x58d0be=_0x473dd5[_0xd9c15];return _0x58d0be;}(function(_0xdbcae6,_0x5b7bfb){const _0x5da28b=a189_0x58d0,_0x52eb91=_0xdbcae6();while(!![]){try{const _0x1e5c19=-parseInt(_0x5da28b(0x11b))/0x1+parseInt(_0x5da28b(0x123))/0x2+parseInt(_0x5da28b(0x121))/0x3+-parseInt(_0x5da28b(0x122))/0x4+-parseInt(_0x5da28b(0x128))/0x5*(-parseInt(_0x5da28b(0x11a))/0x6)+parseInt(_0x5da28b(0x125))/0x7*(parseInt(_0x5da28b(0x118))/0x8)+-parseInt(_0x5da28b(0x11c))/0x9;if(_0x1e5c19===_0x5b7bfb)break;else _0x52eb91['push'](_0x52eb91['shift']());}catch(_0x1d6728){_0x52eb91['push'](_0x52eb91['shift']());}}}(a189_0x473d,0xbce7b));function a189_0x473d(){const _0x4f1347=['\x20tenant\x20member(s)','8Drutpb','trim','1037886rWMXmc','703983cUzzKA','11055501jbszQL','List\x20members\x20of\x20a\x20tenant\x20available\x20to\x20the\x20current\x20account','str','tenant','members-list','2075298IbOnPN','299164MzeEHj','2946738gyEYas','length','3099614RpWAUM','flagMissing','tenant-code','5AaImeW'];a189_0x473d=function(){return _0x4f1347;};return a189_0x473d();}import{listCurrentUserTenantMemberships,listTenantDirectoryMembers}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';import{assertTenantAccessible,projectTenantMembers}from'../../commands/tenant/shared.js';export const tenantMembersListDefinition={'service':a189_0x1074d9(0x11f),'command':a189_0x1074d9(0x120),'description':a189_0x1074d9(0x11d),'risk':'read','requiresAuth':!![],'requiresAppCode':![],'structuredErrors':!![],'flags':[{'name':a189_0x1074d9(0x127),'type':'string','required':!![],'description':'Exact\x20tenant\x20code'}],async 'validate'(_0x380c4d){const _0x419a8d=a189_0x1074d9;if(!_0x380c4d[_0x419a8d(0x11e)](_0x419a8d(0x127))[_0x419a8d(0x119)]())throw CliErrors[_0x419a8d(0x126)](_0x419a8d(0x127),'Pass\x20--tenant-code\x20<code>.');},async 'execute'(_0x39cdfa){const _0x57a485=a189_0x1074d9,_0x40fae6=_0x39cdfa[_0x57a485(0x11e)](_0x57a485(0x127))[_0x57a485(0x119)](),_0x3156fe=await listCurrentUserTenantMemberships();assertTenantAccessible(_0x40fae6,_0x3156fe);const _0x559cdd=projectTenantMembers(await listTenantDirectoryMembers(_0x40fae6));return{'ok':!![],'data':{'tenantCode':_0x40fae6,'items':_0x559cdd,'totalCount':_0x559cdd[_0x57a485(0x124)]},'message':'Found\x20'+_0x559cdd[_0x57a485(0x124)]+_0x57a485(0x129)};}};
@@ -1 +1 @@
1
- function a192_0x34a0(_0x22cf3d,_0x17cf77){_0x22cf3d=_0x22cf3d-0xf9;const _0xae0096=a192_0xae00();let _0x34a0d3=_0xae0096[_0x22cf3d];return _0x34a0d3;}(function(_0xc35030,_0x1fd2ff){const _0x3af5dc=a192_0x34a0,_0x56163=_0xc35030();while(!![]){try{const _0x367566=-parseInt(_0x3af5dc(0x109))/0x1*(parseInt(_0x3af5dc(0x114))/0x2)+-parseInt(_0x3af5dc(0x10a))/0x3+-parseInt(_0x3af5dc(0x10b))/0x4*(-parseInt(_0x3af5dc(0x110))/0x5)+-parseInt(_0x3af5dc(0xfd))/0x6+parseInt(_0x3af5dc(0x101))/0x7*(parseInt(_0x3af5dc(0x115))/0x8)+-parseInt(_0x3af5dc(0x104))/0x9+parseInt(_0x3af5dc(0x111))/0xa*(parseInt(_0x3af5dc(0xf9))/0xb);if(_0x367566===_0x1fd2ff)break;else _0x56163['push'](_0x56163['shift']());}catch(_0x4d0704){_0x56163['push'](_0x56163['shift']());}}}(a192_0xae00,0x52904));import{CliErrors}from'../../errors.js';function textOrNull(_0x238604){const _0x40acff=a192_0x34a0,_0x4a80c6=_0x238604?.[_0x40acff(0x10d)]();return _0x4a80c6?_0x4a80c6:null;}function a192_0xae00(){const _0x2d102a=['validation','17603SSGcFb','477975kaymGn','1817012tkbltH','ADMIN','trim','userId','Tenant\x20\x22','5ZSJdzy','4127510lQvjCQ','\x22\x20is\x20not\x20available\x20to\x20the\x20current\x20account.','role','50pLKMpy','89600xfiVeV','22WRWnio','Check\x20--tenant-code\x20or\x20login\x20with\x20an\x20account\x20that\x20belongs\x20to\x20this\x20tenant.','tenantCode','username','2182260YOMctN','adminFlag','set','isFinite','56ADmlBk','sort','status','612585gaiCue','get','nickname','displayName'];a192_0xae00=function(){return _0x2d102a;};return a192_0xae00();}export function projectTenantMembers(_0x5e8ca6){const _0x2484e3=a192_0x34a0,_0x4cc51f=new Map();for(const _0xcdeee0 of _0x5e8ca6){const _0x21e019=Number(_0xcdeee0[_0x2484e3(0x10e)]);if(!Number[_0x2484e3(0x100)](_0x21e019)||_0x21e019<=0x0)continue;const _0x29c2bf={'userId':_0x21e019,'username':textOrNull(_0xcdeee0[_0x2484e3(0xfc)]),'displayName':textOrNull(_0xcdeee0[_0x2484e3(0x106)]),'role':_0xcdeee0[_0x2484e3(0xfe)]===!![]?_0x2484e3(0x10c):'MEMBER','status':textOrNull(_0xcdeee0[_0x2484e3(0x103)])},_0x491588=_0x4cc51f[_0x2484e3(0x105)](_0x21e019);if(!_0x491588){_0x4cc51f[_0x2484e3(0xff)](_0x21e019,_0x29c2bf);continue;}_0x491588['username']??=_0x29c2bf[_0x2484e3(0xfc)],_0x491588[_0x2484e3(0x107)]??=_0x29c2bf['displayName'],_0x491588[_0x2484e3(0x103)]??=_0x29c2bf[_0x2484e3(0x103)];if(_0x29c2bf['role']===_0x2484e3(0x10c))_0x491588[_0x2484e3(0x113)]=_0x2484e3(0x10c);}return[..._0x4cc51f['values']()][_0x2484e3(0x102)]((_0x335bf0,_0x5c7499)=>_0x335bf0['userId']-_0x5c7499['userId']);}export function assertTenantAccessible(_0x5a891b,_0x28189f){const _0x414308=a192_0x34a0;if(_0x28189f['some'](_0xa1e9a6=>_0xa1e9a6[_0x414308(0xfb)]===_0x5a891b))return;throw CliErrors[_0x414308(0x108)](_0x414308(0x10f)+_0x5a891b+_0x414308(0x112),_0x414308(0xfa));}
1
+ function a190_0xa83e(){const _0x14e7f5=['username','1737884FMcumg','Tenant\x20\x22','10660SgoHnU','ADMIN','status','18708129QqxJAt','9VzazRH','232022BJMCIk','trim','7659RHOELC','1931224zwGLJH','some','displayName','adminFlag','sort','userId','10070GIJcHJ','tenantCode','4278GvGSMu','role','878439aZVcgj','MEMBER','isFinite','152VVNZrn'];a190_0xa83e=function(){return _0x14e7f5;};return a190_0xa83e();}function a190_0x54a4(_0x5458d1,_0x21c3b5){_0x5458d1=_0x5458d1-0x115;const _0xa83e1e=a190_0xa83e();let _0x54a40a=_0xa83e1e[_0x5458d1];return _0x54a40a;}(function(_0x523ce1,_0x15d187){const _0x14e715=a190_0x54a4,_0x29ce6b=_0x523ce1();while(!![]){try{const _0xe812d5=-parseInt(_0x14e715(0x117))/0x1+-parseInt(_0x14e715(0x126))/0x2+-parseInt(_0x14e715(0x122))/0x3*(-parseInt(_0x14e715(0x11c))/0x4)+-parseInt(_0x14e715(0x11e))/0x5*(-parseInt(_0x14e715(0x115))/0x6)+-parseInt(_0x14e715(0x123))/0x7*(-parseInt(_0x14e715(0x11a))/0x8)+-parseInt(_0x14e715(0x125))/0x9*(-parseInt(_0x14e715(0x12c))/0xa)+-parseInt(_0x14e715(0x121))/0xb;if(_0xe812d5===_0x15d187)break;else _0x29ce6b['push'](_0x29ce6b['shift']());}catch(_0x4591ff){_0x29ce6b['push'](_0x29ce6b['shift']());}}}(a190_0xa83e,0xbae1e));import{CliErrors}from'../../errors.js';function textOrNull(_0x2588de){const _0x34452b=a190_0x54a4,_0x12da64=_0x2588de?.[_0x34452b(0x124)]();return _0x12da64?_0x12da64:null;}export function projectTenantMembers(_0x482948){const _0x3ae92f=a190_0x54a4,_0x111378=new Map();for(const _0x2b1126 of _0x482948){const _0x51ef88=Number(_0x2b1126[_0x3ae92f(0x12b)]);if(!Number[_0x3ae92f(0x119)](_0x51ef88)||_0x51ef88<=0x0)continue;const _0x511450={'userId':_0x51ef88,'username':textOrNull(_0x2b1126[_0x3ae92f(0x11b)]),'displayName':textOrNull(_0x2b1126['nickname']),'role':_0x2b1126[_0x3ae92f(0x129)]===!![]?_0x3ae92f(0x11f):_0x3ae92f(0x118),'status':textOrNull(_0x2b1126[_0x3ae92f(0x120)])},_0x38baad=_0x111378['get'](_0x51ef88);if(!_0x38baad){_0x111378['set'](_0x51ef88,_0x511450);continue;}_0x38baad[_0x3ae92f(0x11b)]??=_0x511450[_0x3ae92f(0x11b)],_0x38baad[_0x3ae92f(0x128)]??=_0x511450[_0x3ae92f(0x128)],_0x38baad['status']??=_0x511450[_0x3ae92f(0x120)];if(_0x511450[_0x3ae92f(0x116)]===_0x3ae92f(0x11f))_0x38baad[_0x3ae92f(0x116)]=_0x3ae92f(0x11f);}return[..._0x111378['values']()][_0x3ae92f(0x12a)]((_0x2cf9f8,_0x4faacf)=>_0x2cf9f8['userId']-_0x4faacf[_0x3ae92f(0x12b)]);}export function assertTenantAccessible(_0xccc99c,_0x436116){const _0x5501b1=a190_0x54a4;if(_0x436116[_0x5501b1(0x127)](_0x1dd54d=>_0x1dd54d[_0x5501b1(0x12d)]===_0xccc99c))return;throw CliErrors['validation'](_0x5501b1(0x11d)+_0xccc99c+'\x22\x20is\x20not\x20available\x20to\x20the\x20current\x20account.','Check\x20--tenant-code\x20or\x20login\x20with\x20an\x20account\x20that\x20belongs\x20to\x20this\x20tenant.');}
@@ -1 +1 @@
1
- const a193_0x5d3b1f=a193_0xca26;(function(_0x5707b5,_0x223e4a){const _0x3c4a83=a193_0xca26,_0x27784d=_0x5707b5();while(!![]){try{const _0x26f26f=parseInt(_0x3c4a83(0xea))/0x1+-parseInt(_0x3c4a83(0xf1))/0x2+-parseInt(_0x3c4a83(0xed))/0x3+parseInt(_0x3c4a83(0xf4))/0x4*(parseInt(_0x3c4a83(0xef))/0x5)+parseInt(_0x3c4a83(0xec))/0x6+-parseInt(_0x3c4a83(0xf5))/0x7+-parseInt(_0x3c4a83(0xf3))/0x8;if(_0x26f26f===_0x223e4a)break;else _0x27784d['push'](_0x27784d['shift']());}catch(_0x2393af){_0x27784d['push'](_0x27784d['shift']());}}}(a193_0x5870,0x1b6d3));function a193_0xca26(_0x42cb92,_0x8e2f1c){_0x42cb92=_0x42cb92-0xea;const _0x587077=a193_0x5870();let _0xca26fa=_0x587077[_0x42cb92];return _0xca26fa;}import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':a193_0x5d3b1f(0xf0),'command':'add','description':a193_0x5d3b1f(0xee),'risk':a193_0x5d3b1f(0xf2),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a193_0x5d3b1f(0xf6),'description':'App\x20profile\x20name','required':!![]}],'flags':buildAppAddFlags(),'validate':_0x2854a0=>validateAppName(_0x2854a0,a193_0x5d3b1f(0xeb)),'execute':_0x292ddd=>runAppAdd(_0x292ddd,a193_0x5d3b1f(0xeb))};function a193_0x5870(){const _0x5c2d1b=['100329cMSugP','Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','30JodYYJ','workspace','102808iFZRkf','write','366616PXTpJZ','82556IZGqgu','887726oMHlsc','name','39916jFkxyk','workspace\x20add','1236486sfPVCp'];a193_0x5870=function(){return _0x5c2d1b;};return a193_0x5870();}
1
+ function a191_0x718c(_0x29f16e,_0x24c581){_0x29f16e=_0x29f16e-0x197;const _0x9dfb2=a191_0x9dfb();let _0x718c8e=_0x9dfb2[_0x29f16e];return _0x718c8e;}const a191_0x4ac470=a191_0x718c;(function(_0x364861,_0x2ca853){const _0x58ee81=a191_0x718c,_0x3a61b3=_0x364861();while(!![]){try{const _0x2d52cb=-parseInt(_0x58ee81(0x1a4))/0x1+-parseInt(_0x58ee81(0x19c))/0x2+parseInt(_0x58ee81(0x198))/0x3+-parseInt(_0x58ee81(0x19d))/0x4*(-parseInt(_0x58ee81(0x1a1))/0x5)+parseInt(_0x58ee81(0x19e))/0x6+-parseInt(_0x58ee81(0x19a))/0x7*(parseInt(_0x58ee81(0x197))/0x8)+parseInt(_0x58ee81(0x1a0))/0x9*(parseInt(_0x58ee81(0x19b))/0xa);if(_0x2d52cb===_0x2ca853)break;else _0x3a61b3['push'](_0x3a61b3['shift']());}catch(_0x410010){_0x3a61b3['push'](_0x3a61b3['shift']());}}}(a191_0x9dfb,0x1e3be));import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';function a191_0x9dfb(){const _0xb16b05=['12010gXLFrw','55144asVEaj','95672YKPNtD','1289508eCasQH','name','747yZeqAN','5IeJLOI','App\x20profile\x20name','write','46969XmJitz','workspace\x20add','1984ULzOvz','116004UedQnl','Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','5047FfslNM'];a191_0x9dfb=function(){return _0xb16b05;};return a191_0x9dfb();}export const workspaceAddDefinition={'service':'workspace','command':'add','description':a191_0x4ac470(0x199),'risk':a191_0x4ac470(0x1a3),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a191_0x4ac470(0x19f),'description':a191_0x4ac470(0x1a2),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0x695a0a=>validateAppName(_0x695a0a,a191_0x4ac470(0x1a5)),'execute':_0xf2243=>runAppAdd(_0xf2243,a191_0x4ac470(0x1a5))};
@@ -1 +1 @@
1
- const a194_0x576554=a194_0x6d56;(function(_0x33c923,_0x36f0b3){const _0x143b70=a194_0x6d56,_0x408d55=_0x33c923();while(!![]){try{const _0x2fcdcb=parseInt(_0x143b70(0x13f))/0x1+parseInt(_0x143b70(0x13e))/0x2*(-parseInt(_0x143b70(0x14c))/0x3)+parseInt(_0x143b70(0x138))/0x4*(-parseInt(_0x143b70(0x12f))/0x5)+-parseInt(_0x143b70(0x119))/0x6*(-parseInt(_0x143b70(0x120))/0x7)+-parseInt(_0x143b70(0x124))/0x8+-parseInt(_0x143b70(0x11a))/0x9*(-parseInt(_0x143b70(0x123))/0xa)+-parseInt(_0x143b70(0x127))/0xb*(parseInt(_0x143b70(0x130))/0xc);if(_0x2fcdcb===_0x36f0b3)break;else _0x408d55['push'](_0x408d55['shift']());}catch(_0x3bb26b){_0x408d55['push'](_0x408d55['shift']());}}}(a194_0x1823,0x80d2d));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';import{RABETBASE_ENV_VALUES}from'../../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../../constant/output.js';function a194_0x1823(){const _0x293f19=['5TPNrNI','12qSiwZK','app','Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','validation','init','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','App\x20\x22','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace','385516YdGBrp','Workspace\x20','\x20workspace\x20use\x20--app\x20<name>`.','string','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','flag','20dVOpBm','35310XAnxAD','str','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','Switch\x20the\x20current\x20workspace\x20app\x20binding','write','pageSize','appcode','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','\x20workspace\x20','workspace.','Locale\x20for\x20this\x20workspace\x20app\x20profile','length','apps','146037GFMtwS','format','trim','riskLevel','\x20(appcode:\x20',').\x20Config:\x20','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile','5158884lgeeLH','9haatvn','Invalid\x20appcode:\x20','number','project','updated','object','7cdMEiw','\x22\x20not\x20found.','use','9654050HfuiQH','3360000cfUkEM','workspace','Missing\x20workspace\x20app\x20selector.','3626689cLTCss','env','Use\x20`','Initialize\x20the\x20current\x20workspace\x20app\x20binding','apiDir','\x20--appcode\x20<code>`.','Target\x20environment','locale'];a194_0x1823=function(){return _0x293f19;};return a194_0x1823();}import{RISK_LEVEL_VALUES}from'../../constant/risk.js';import{validateAppcode}from'../../commands/common/validate.js';import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';const WORKSPACE_USAGE=CLI_BIN_NAME+a194_0x576554(0x146),SAFE_PROFILE_KEYS=['appcode',a194_0x576554(0x128),a194_0x576554(0x12b),a194_0x576554(0x14d),'pageSize',a194_0x576554(0x14f),a194_0x576554(0x12e)],workspaceFlags=[{'name':a194_0x576554(0x131),'type':a194_0x576554(0x13b),'description':a194_0x576554(0x137)},{'name':'appcode','type':a194_0x576554(0x13b),'description':a194_0x576554(0x13c)},{'name':a194_0x576554(0x128),'type':a194_0x576554(0x13b),'description':a194_0x576554(0x12d),'enum':[...RABETBASE_ENV_VALUES]},{'name':a194_0x576554(0x12b),'type':a194_0x576554(0x13b),'description':a194_0x576554(0x152)},{'name':'defaultFormat','type':a194_0x576554(0x13b),'description':'Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a194_0x576554(0x144),'type':a194_0x576554(0x11c),'description':a194_0x576554(0x135)},{'name':'riskLevel','type':a194_0x576554(0x13b),'description':a194_0x576554(0x132),'enum':[...RISK_LEVEL_VALUES]},{'name':a194_0x576554(0x12e),'type':a194_0x576554(0x13b),'description':a194_0x576554(0x149)}];function isRecord(_0x302068){const _0x10cb5d=a194_0x576554;return!!_0x302068&&typeof _0x302068===_0x10cb5d(0x11f)&&!Array['isArray'](_0x302068);}function assertValidAppcode(_0x4b8067){const _0x2aea8a=a194_0x576554,{valid:_0x376ec2,message:_0x39b2d7}=validateAppcode(_0x4b8067);if(!_0x376ec2)throw CliErrors['validation'](_0x2aea8a(0x11b)+_0x4b8067,_0x39b2d7);}function sanitizeProfile(_0x3f3de0){if(!isRecord(_0x3f3de0))return{};const _0x5c19c9={};for(const _0x51a99c of SAFE_PROFILE_KEYS){if(_0x3f3de0[_0x51a99c]!==undefined)_0x5c19c9[_0x51a99c]=_0x3f3de0[_0x51a99c];}return _0x5c19c9;}function cloneProfile(_0x33988e){return isRecord(_0x33988e)?{..._0x33988e}:{};}function collectWorkspaceProfileOverrides(_0xdb3429){const _0x1f3f48=a194_0x576554,_0x5890cb={},_0x364a7a=_0xdb3429[_0x1f3f48(0x140)](_0x1f3f48(0x128)),_0x3a6eb8=_0xdb3429[_0x1f3f48(0x140)](_0x1f3f48(0x12b)),_0x490d23=_0xdb3429[_0x1f3f48(0x140)]('defaultFormat'),_0x172f06=_0xdb3429[_0x1f3f48(0x13d)]('pageSize'),_0x4d8c9c=_0xdb3429[_0x1f3f48(0x140)]('riskLevel'),_0x563f60=_0xdb3429['str'](_0x1f3f48(0x12e));if(_0x364a7a)_0x5890cb[_0x1f3f48(0x128)]=_0x364a7a;if(_0x3a6eb8)_0x5890cb[_0x1f3f48(0x12b)]=_0x3a6eb8;if(_0x490d23)_0x5890cb[_0x1f3f48(0x14d)]=_0x490d23;if(_0x172f06!==undefined&&_0x172f06!=='')_0x5890cb[_0x1f3f48(0x144)]=Number(_0x172f06);if(_0x4d8c9c)_0x5890cb[_0x1f3f48(0x14f)]=_0x4d8c9c;if(_0x563f60)_0x5890cb[_0x1f3f48(0x12e)]=_0x563f60;return _0x5890cb;}function a194_0x6d56(_0x2b565f,_0x33898f){_0x2b565f=_0x2b565f-0x119;const _0x18234f=a194_0x1823();let _0x6d5606=_0x18234f[_0x2b565f];return _0x6d5606;}async function validateWorkspaceArgs(_0x3d39c7){const _0x2f76c9=a194_0x576554,_0x32d15f=_0x3d39c7[_0x2f76c9(0x140)](_0x2f76c9(0x131))['trim'](),_0x320ba0=_0x3d39c7[_0x2f76c9(0x140)](_0x2f76c9(0x145))[_0x2f76c9(0x14e)]();if(!_0x32d15f&&!_0x320ba0)throw CliErrors['validation'](_0x2f76c9(0x126),_0x2f76c9(0x129)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+_0x2f76c9(0x13a));if(_0x320ba0)assertValidAppcode(_0x320ba0);}function resolveKnownApps(){const _0x413ede=a194_0x576554,{config:_0x4c239f,layers:_0x4c8522}=readRawConfigWithLayers(),_0x17eb69=isRecord(_0x4c239f[_0x413ede(0x14b)])?_0x4c239f[_0x413ede(0x14b)]:{},_0x36330f=isRecord(_0x4c8522['globalConfig'][_0x413ede(0x14b)])?_0x4c8522['globalConfig'][_0x413ede(0x14b)]:{};return{..._0x36330f,..._0x17eb69};}async function configureWorkspace(_0x5194ca,_0x1c8599){const _0x385c67=a194_0x576554,_0x34c8fc=_0x5194ca[_0x385c67(0x140)](_0x385c67(0x131))[_0x385c67(0x14e)](),_0x797e15=_0x5194ca[_0x385c67(0x140)]('appcode')[_0x385c67(0x14e)](),_0x392cbf=_0x34c8fc||_0x797e15;if(!_0x392cbf)throw CliErrors[_0x385c67(0x133)](_0x385c67(0x126),_0x385c67(0x129)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+_0x385c67(0x13a));if(_0x797e15)assertValidAppcode(_0x797e15);const _0x5136e0=resolveWriteConfigPath(_0x385c67(0x11d)),_0x5d641f=readConfigFile(_0x5136e0),_0x388131=resolveKnownApps(),_0x36e167=isRecord(_0x5d641f[_0x385c67(0x14b)])?{..._0x5d641f[_0x385c67(0x14b)]}:{},_0x2e09cb=cloneProfile(_0x36e167[_0x392cbf]),_0x12fb71=sanitizeProfile(_0x388131[_0x392cbf]),_0x467798=_0x797e15?{}:_0x12fb71,_0xe20ce2=_0x797e15||_0x467798[_0x385c67(0x145)];if(!_0xe20ce2){const _0x585347=Object['keys'](_0x388131),_0x148c21=_0x585347[_0x385c67(0x14a)]===0x0?_0x385c67(0x129)+CLI_BIN_NAME+_0x385c67(0x147)+_0x1c8599+'\x20--app\x20'+_0x392cbf+_0x385c67(0x12c):_0x385c67(0x141)+_0x585347['join'](',\x20');throw CliErrors[_0x385c67(0x133)](_0x385c67(0x136)+_0x392cbf+_0x385c67(0x121),_0x148c21);}assertValidAppcode(String(_0xe20ce2));const _0x13b3b8={..._0x467798,..._0x2e09cb,'appcode':String(_0xe20ce2),...collectWorkspaceProfileOverrides(_0x5194ca)};return _0x36e167[_0x392cbf]=_0x13b3b8,_0x5d641f[_0x385c67(0x14b)]=_0x36e167,_0x5d641f['defaultApp']=_0x392cbf,delete _0x5d641f['appcode'],delete _0x5d641f[_0x385c67(0x131)],_0x13b3b8['env']&&(_0x5d641f[_0x385c67(0x128)]=_0x13b3b8['env']),writeConfigFile(_0x5136e0,_0x5d641f),{'ok':!![],'message':_0x385c67(0x139)+(_0x1c8599===_0x385c67(0x134)?'initialized':_0x385c67(0x11e))+':\x20'+_0x392cbf+_0x385c67(0x150)+_0x13b3b8['appcode']+_0x385c67(0x151)+_0x5136e0+'.\x20Credentials:\x20not\x20written.','data':{'operation':_0x385c67(0x148)+_0x1c8599,'configPath':_0x5136e0,'app':_0x392cbf,'appcode':_0x13b3b8[_0x385c67(0x145)],'env':_0x13b3b8[_0x385c67(0x128)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a194_0x576554(0x125),'command':a194_0x576554(0x134),'description':a194_0x576554(0x12a),'risk':a194_0x576554(0x143),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x2b73e2=>configureWorkspace(_0x2b73e2,a194_0x576554(0x134))},workspaceUseDefinition={'service':a194_0x576554(0x125),'command':a194_0x576554(0x122),'description':a194_0x576554(0x142),'risk':a194_0x576554(0x143),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x25ce11=>configureWorkspace(_0x25ce11,'use')};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
1
+ const a192_0x123c3f=a192_0x1c6c;(function(_0xa1d0f9,_0x58fdb1){const _0x35d4fe=a192_0x1c6c,_0x28c771=_0xa1d0f9();while(!![]){try{const _0x21361a=-parseInt(_0x35d4fe(0x17b))/0x1*(parseInt(_0x35d4fe(0x19c))/0x2)+-parseInt(_0x35d4fe(0x184))/0x3+-parseInt(_0x35d4fe(0x16c))/0x4*(-parseInt(_0x35d4fe(0x17c))/0x5)+parseInt(_0x35d4fe(0x16f))/0x6+parseInt(_0x35d4fe(0x164))/0x7+-parseInt(_0x35d4fe(0x193))/0x8*(-parseInt(_0x35d4fe(0x19a))/0x9)+-parseInt(_0x35d4fe(0x175))/0xa;if(_0x21361a===_0x58fdb1)break;else _0x28c771['push'](_0x28c771['shift']());}catch(_0xc03e1e){_0x28c771['push'](_0x28c771['shift']());}}}(a192_0x167d,0x48c0a));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';import{RABETBASE_ENV_VALUES}from'../../constant/env.js';function a192_0x167d(){const _0x836fb5=['Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','use','workspace','env','init','.\x20Credentials:\x20not\x20written.','16MokAQO','number','initialized','isArray','riskLevel','join','workspace.','1977057ruJVOu','pageSize','8ARBMkK','apiDir','locale','format','2966733kVdThj','\x20(appcode:\x20','string','write','\x20workspace\x20use\x20--app\x20<name>`.','keys','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace','defaultApp','11540zxtUyS','flag',').\x20Config:\x20','1240182Yrsrqm','Missing\x20workspace\x20app\x20selector.','app','Workspace\x20','Invalid\x20appcode:\x20','Switch\x20the\x20current\x20workspace\x20app\x20binding','4516420HbFKrZ','object','appcode','project','Use\x20`','globalConfig','1637dFSbOQ','325TtBECa','apps','updated','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','App\x20\x22','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','Locale\x20for\x20this\x20workspace\x20app\x20profile','Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','1503609bimALb','defaultFormat','trim','validation','str','\x20--app\x20','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'];a192_0x167d=function(){return _0x836fb5;};return a192_0x167d();}import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{RISK_LEVEL_VALUES}from'../../constant/risk.js';import{validateAppcode}from'../../commands/common/validate.js';import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';function a192_0x1c6c(_0x2f052a,_0x4d2921){_0x2f052a=_0x2f052a-0x164;const _0x167d82=a192_0x167d();let _0x1c6cd0=_0x167d82[_0x2f052a];return _0x1c6cd0;}import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';const WORKSPACE_USAGE=CLI_BIN_NAME+a192_0x123c3f(0x18d),SAFE_PROFILE_KEYS=[a192_0x123c3f(0x177),a192_0x123c3f(0x190),a192_0x123c3f(0x19d),a192_0x123c3f(0x19f),'pageSize','riskLevel',a192_0x123c3f(0x19e)],workspaceFlags=[{'name':a192_0x123c3f(0x171),'type':a192_0x123c3f(0x166),'description':a192_0x123c3f(0x16a)},{'name':a192_0x123c3f(0x177),'type':a192_0x123c3f(0x166),'description':a192_0x123c3f(0x17f)},{'name':'env','type':a192_0x123c3f(0x166),'description':'Target\x20environment','enum':[...RABETBASE_ENV_VALUES]},{'name':a192_0x123c3f(0x19d),'type':'string','description':'API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile'},{'name':a192_0x123c3f(0x185),'type':a192_0x123c3f(0x166),'description':a192_0x123c3f(0x18c),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':'pageSize','type':a192_0x123c3f(0x194),'description':a192_0x123c3f(0x18b)},{'name':a192_0x123c3f(0x197),'type':'string','description':a192_0x123c3f(0x183),'enum':[...RISK_LEVEL_VALUES]},{'name':a192_0x123c3f(0x19e),'type':'string','description':a192_0x123c3f(0x182)}];function isRecord(_0x595513){const _0x17a10b=a192_0x123c3f;return!!_0x595513&&typeof _0x595513===_0x17a10b(0x176)&&!Array[_0x17a10b(0x196)](_0x595513);}function assertValidAppcode(_0xc35b38){const _0x248570=a192_0x123c3f,{valid:_0x426066,message:_0x4ef61b}=validateAppcode(_0xc35b38);if(!_0x426066)throw CliErrors[_0x248570(0x187)](_0x248570(0x173)+_0xc35b38,_0x4ef61b);}function sanitizeProfile(_0x2dd2d4){if(!isRecord(_0x2dd2d4))return{};const _0x32b89d={};for(const _0x246ae1 of SAFE_PROFILE_KEYS){if(_0x2dd2d4[_0x246ae1]!==undefined)_0x32b89d[_0x246ae1]=_0x2dd2d4[_0x246ae1];}return _0x32b89d;}function cloneProfile(_0x30567e){return isRecord(_0x30567e)?{..._0x30567e}:{};}function collectWorkspaceProfileOverrides(_0x3bedc8){const _0x25a7e2=a192_0x123c3f,_0x3ee978={},_0x406754=_0x3bedc8['str']('env'),_0xdf2d91=_0x3bedc8['str']('apiDir'),_0x17363b=_0x3bedc8['str']('defaultFormat'),_0xe82f7f=_0x3bedc8[_0x25a7e2(0x16d)]('pageSize'),_0x270206=_0x3bedc8[_0x25a7e2(0x188)]('riskLevel'),_0x2fe9d6=_0x3bedc8['str']('locale');if(_0x406754)_0x3ee978['env']=_0x406754;if(_0xdf2d91)_0x3ee978[_0x25a7e2(0x19d)]=_0xdf2d91;if(_0x17363b)_0x3ee978[_0x25a7e2(0x19f)]=_0x17363b;if(_0xe82f7f!==undefined&&_0xe82f7f!=='')_0x3ee978[_0x25a7e2(0x19b)]=Number(_0xe82f7f);if(_0x270206)_0x3ee978[_0x25a7e2(0x197)]=_0x270206;if(_0x2fe9d6)_0x3ee978['locale']=_0x2fe9d6;return _0x3ee978;}async function validateWorkspaceArgs(_0x2ba6b3){const _0x12fde8=a192_0x123c3f,_0x26e0c1=_0x2ba6b3[_0x12fde8(0x188)]('app')['trim'](),_0x2ded00=_0x2ba6b3['str'](_0x12fde8(0x177))[_0x12fde8(0x186)]();if(!_0x26e0c1&&!_0x2ded00)throw CliErrors[_0x12fde8(0x187)](_0x12fde8(0x170),_0x12fde8(0x179)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+_0x12fde8(0x168));if(_0x2ded00)assertValidAppcode(_0x2ded00);}function resolveKnownApps(){const _0x171705=a192_0x123c3f,{config:_0x3cbb4d,layers:_0x3e7519}=readRawConfigWithLayers(),_0x654608=isRecord(_0x3cbb4d[_0x171705(0x17d)])?_0x3cbb4d[_0x171705(0x17d)]:{},_0x1b5952=isRecord(_0x3e7519[_0x171705(0x17a)][_0x171705(0x17d)])?_0x3e7519[_0x171705(0x17a)][_0x171705(0x17d)]:{};return{..._0x1b5952,..._0x654608};}async function configureWorkspace(_0x24e16c,_0x5ba6c1){const _0x313f1b=a192_0x123c3f,_0xeaf0d2=_0x24e16c[_0x313f1b(0x188)](_0x313f1b(0x171))['trim'](),_0x5bf998=_0x24e16c['str'](_0x313f1b(0x177))[_0x313f1b(0x186)](),_0x4e8085=_0xeaf0d2||_0x5bf998;if(!_0x4e8085)throw CliErrors[_0x313f1b(0x187)](_0x313f1b(0x170),'Use\x20`'+CLI_BIN_NAME+_0x313f1b(0x18a)+CLI_BIN_NAME+_0x313f1b(0x168));if(_0x5bf998)assertValidAppcode(_0x5bf998);const _0x405805=resolveWriteConfigPath(_0x313f1b(0x178)),_0x2ba002=readConfigFile(_0x405805),_0x55c610=resolveKnownApps(),_0x43a0ff=isRecord(_0x2ba002[_0x313f1b(0x17d)])?{..._0x2ba002[_0x313f1b(0x17d)]}:{},_0x490d33=cloneProfile(_0x43a0ff[_0x4e8085]),_0x51c13c=sanitizeProfile(_0x55c610[_0x4e8085]),_0xda0157=_0x5bf998?{}:_0x51c13c,_0x20f243=_0x5bf998||_0xda0157[_0x313f1b(0x177)];if(!_0x20f243){const _0x4aac19=Object[_0x313f1b(0x169)](_0x55c610),_0x34b0f2=_0x4aac19['length']===0x0?_0x313f1b(0x179)+CLI_BIN_NAME+'\x20workspace\x20'+_0x5ba6c1+_0x313f1b(0x189)+_0x4e8085+'\x20--appcode\x20<code>`.':_0x313f1b(0x181)+_0x4aac19[_0x313f1b(0x198)](',\x20');throw CliErrors[_0x313f1b(0x187)](_0x313f1b(0x180)+_0x4e8085+'\x22\x20not\x20found.',_0x34b0f2);}assertValidAppcode(String(_0x20f243));const _0x22af8d={..._0xda0157,..._0x490d33,'appcode':String(_0x20f243),...collectWorkspaceProfileOverrides(_0x24e16c)};return _0x43a0ff[_0x4e8085]=_0x22af8d,_0x2ba002[_0x313f1b(0x17d)]=_0x43a0ff,_0x2ba002[_0x313f1b(0x16b)]=_0x4e8085,delete _0x2ba002[_0x313f1b(0x177)],delete _0x2ba002[_0x313f1b(0x171)],_0x22af8d[_0x313f1b(0x190)]&&(_0x2ba002['env']=_0x22af8d[_0x313f1b(0x190)]),writeConfigFile(_0x405805,_0x2ba002),{'ok':!![],'message':_0x313f1b(0x172)+(_0x5ba6c1===_0x313f1b(0x191)?_0x313f1b(0x195):_0x313f1b(0x17e))+':\x20'+_0x4e8085+_0x313f1b(0x165)+_0x22af8d[_0x313f1b(0x177)]+_0x313f1b(0x16e)+_0x405805+_0x313f1b(0x192),'data':{'operation':_0x313f1b(0x199)+_0x5ba6c1,'configPath':_0x405805,'app':_0x4e8085,'appcode':_0x22af8d[_0x313f1b(0x177)],'env':_0x22af8d[_0x313f1b(0x190)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a192_0x123c3f(0x18f),'command':a192_0x123c3f(0x191),'description':'Initialize\x20the\x20current\x20workspace\x20app\x20binding','risk':a192_0x123c3f(0x167),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0xcc748f=>configureWorkspace(_0xcc748f,'init')},workspaceUseDefinition={'service':a192_0x123c3f(0x18f),'command':a192_0x123c3f(0x18e),'description':a192_0x123c3f(0x174),'risk':a192_0x123c3f(0x167),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x19e0ac=>configureWorkspace(_0x19e0ac,a192_0x123c3f(0x18e))};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
@@ -1 +1 @@
1
- const a195_0x25405c=a195_0x411c;(function(_0x74ad68,_0x10c892){const _0x1c0304=a195_0x411c,_0x360f91=_0x74ad68();while(!![]){try{const _0x38ac90=-parseInt(_0x1c0304(0x135))/0x1*(-parseInt(_0x1c0304(0x136))/0x2)+-parseInt(_0x1c0304(0x132))/0x3+-parseInt(_0x1c0304(0x12c))/0x4+parseInt(_0x1c0304(0x12a))/0x5*(-parseInt(_0x1c0304(0x12f))/0x6)+-parseInt(_0x1c0304(0x134))/0x7+parseInt(_0x1c0304(0x137))/0x8*(parseInt(_0x1c0304(0x13a))/0x9)+-parseInt(_0x1c0304(0x12b))/0xa*(-parseInt(_0x1c0304(0x139))/0xb);if(_0x38ac90===_0x10c892)break;else _0x360f91['push'](_0x360f91['shift']());}catch(_0x4d736d){_0x360f91['push'](_0x360f91['shift']());}}}(a195_0x3dd0,0xc8e45));function a195_0x411c(_0x1a80d7,_0x2b62ae){_0x1a80d7=_0x1a80d7-0x12a;const _0x3dd086=a195_0x3dd0();let _0x411c35=_0x3dd086[_0x1a80d7];return _0x411c35;}function a195_0x3dd0(){const _0x2b3997=['3385636rpMTLf','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','workspace','54QETcBy','remove','App\x20profile\x20name\x20to\x20remove','1351776sDEbMy','name','2773029UbnTFr','1yDruiI','728332MSfqis','8mBTQsI','high-risk-write','10556117nREKWh','11027529qYxQSN','workspace\x20remove','18385qffgTZ','10WDTFpA'];a195_0x3dd0=function(){return _0x2b3997;};return a195_0x3dd0();}import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';export const workspaceRemoveDefinition={'service':a195_0x25405c(0x12e),'command':a195_0x25405c(0x130),'description':a195_0x25405c(0x12d),'risk':a195_0x25405c(0x138),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a195_0x25405c(0x133),'description':a195_0x25405c(0x131),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x947597=>validateAppName(_0x947597,'workspace\x20remove'),'execute':_0x3400ef=>runAppRemove(_0x3400ef,a195_0x25405c(0x13b))};
1
+ const a193_0x54532f=a193_0xb7c4;function a193_0xb7c4(_0x487d43,_0x2c548f){_0x487d43=_0x487d43-0xcd;const _0x5cad4f=a193_0x5cad();let _0xb7c45b=_0x5cad4f[_0x487d43];return _0xb7c45b;}(function(_0x44c9f2,_0x28feb0){const _0x2a8ed1=a193_0xb7c4,_0x151fa2=_0x44c9f2();while(!![]){try{const _0x32b27d=-parseInt(_0x2a8ed1(0xcf))/0x1+parseInt(_0x2a8ed1(0xd8))/0x2*(parseInt(_0x2a8ed1(0xd1))/0x3)+-parseInt(_0x2a8ed1(0xd2))/0x4*(parseInt(_0x2a8ed1(0xda))/0x5)+-parseInt(_0x2a8ed1(0xd4))/0x6+parseInt(_0x2a8ed1(0xce))/0x7+parseInt(_0x2a8ed1(0xdb))/0x8*(parseInt(_0x2a8ed1(0xdc))/0x9)+-parseInt(_0x2a8ed1(0xd3))/0xa;if(_0x32b27d===_0x28feb0)break;else _0x151fa2['push'](_0x151fa2['shift']());}catch(_0xf24d48){_0x151fa2['push'](_0x151fa2['shift']());}}}(a193_0x5cad,0x9c548));function a193_0x5cad(){const _0x25e960=['964893fFqKxJ','5756XutERc','741560kOoDvG','489042NjuJOZ','remove','workspace\x20remove','name','2AWzGDP','App\x20profile\x20name\x20to\x20remove','2255OdDCdZ','10140728nFMsqc','9GswmUl','workspace','write','6500200aqdgon','1072842MBXYIi','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)'];a193_0x5cad=function(){return _0x25e960;};return a193_0x5cad();}import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';export const workspaceRemoveDefinition={'service':a193_0x54532f(0xdd),'command':a193_0x54532f(0xd5),'description':a193_0x54532f(0xd0),'risk':a193_0x54532f(0xcd),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a193_0x54532f(0xd7),'description':a193_0x54532f(0xd9),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x5e4d50=>validateAppName(_0x5e4d50,a193_0x54532f(0xd6)),'execute':_0x381b4c=>runAppRemove(_0x381b4c,a193_0x54532f(0xd6))};
@@ -1 +1 @@
1
- const a196_0x2a6fce=a196_0x1351;(function(_0x751679,_0x54c26b){const _0xe94155=a196_0x1351,_0x140133=_0x751679();while(!![]){try{const _0x1a33d1=parseInt(_0xe94155(0x197))/0x1+-parseInt(_0xe94155(0x198))/0x2*(-parseInt(_0xe94155(0x194))/0x3)+-parseInt(_0xe94155(0x19b))/0x4+-parseInt(_0xe94155(0x1a4))/0x5+-parseInt(_0xe94155(0x196))/0x6+parseInt(_0xe94155(0x1a3))/0x7+-parseInt(_0xe94155(0x19c))/0x8*(-parseInt(_0xe94155(0x187))/0x9);if(_0x1a33d1===_0x54c26b)break;else _0x140133['push'](_0x140133['shift']());}catch(_0x2a64ad){_0x140133['push'](_0x140133['shift']());}}}(a196_0x404b,0xde53f));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';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a196_0x2a6fce(0x186),'accessKey',a196_0x2a6fce(0x19d),a196_0x2a6fce(0x18b),'riskLevel'];function a196_0x404b(){const _0x56c322=['API\x20directory\x20path','3475828aEQpqm','8BPZvEw','locale','en-US','Locale','env','number','entries','766262IlDSHN','5873400PTKrMt','Access\x20key','pageSize','apiDir','inherit','defaultFormat','zh-CN','accessKey','trim','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','cookie','13017177VkFOEP','length','appcode','defaultApp','format','join','Config\x20key\x20(','toLowerCase','string','Target\x20environment','map','Auth\x20cookie','app','7419LKKwzO','Risk\x20level','5027934yEPVKe','1304141jLyJAj','754bcgzvO','apps'];a196_0x404b=function(){return _0x56c322;};return a196_0x404b();}export const TOP_LEVEL_CONFIG_KEYS=new Set([a196_0x2a6fce(0x189),a196_0x2a6fce(0x1a0),a196_0x2a6fce(0x19d),a196_0x2a6fce(0x18b),a196_0x2a6fce(0x186),'accessKey',a196_0x2a6fce(0x17f)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES]};export function formatConfigKeyList(_0x32748a){const _0x507e71=a196_0x2a6fce;return[..._0x32748a][_0x507e71(0x18c)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}function a196_0x1351(_0xdd59cd,_0x26c64a){_0xdd59cd=_0xdd59cd-0x17f;const _0x404b82=a196_0x404b();let _0x1351f5=_0x404b82[_0xdd59cd];return _0x1351f5;}export function isTopLevelConfigKey(_0x27d87d){return TOP_LEVEL_CONFIG_KEYS['has'](_0x27d87d);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x43af3e=a196_0x2a6fce;return _0x43af3e(0x18d)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'env':'env','apiDir':a196_0x2a6fce(0x17f),'cookie':a196_0x2a6fce(0x186),'accessKey':'accessKey','defaultFormat':'format','pageSize':'pageSize','riskLevel':'riskLevel','locale':'locale'};export function getAppProfileFlagDefs(){const _0x44f0a2=a196_0x2a6fce;return[{'name':_0x44f0a2(0x1a0),'type':_0x44f0a2(0x18f),'description':_0x44f0a2(0x190),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x44f0a2(0x17f),'type':_0x44f0a2(0x18f),'description':_0x44f0a2(0x19a)},{'name':_0x44f0a2(0x186),'type':_0x44f0a2(0x18f),'description':_0x44f0a2(0x192),'hidden':!![]},{'name':_0x44f0a2(0x183),'type':_0x44f0a2(0x18f),'description':_0x44f0a2(0x1a5),'hidden':!![]},{'name':_0x44f0a2(0x181),'type':_0x44f0a2(0x18f),'description':_0x44f0a2(0x185),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x44f0a2(0x1a6),'type':_0x44f0a2(0x1a1),'description':'Default\x20page\x20size'},{'name':'riskLevel','type':_0x44f0a2(0x18f),'description':_0x44f0a2(0x195),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x44f0a2(0x19d),'type':_0x44f0a2(0x18f),'description':_0x44f0a2(0x19f)}];}export function collectAppProfileOverrides(_0x9b139e){const _0x3f4a31=a196_0x2a6fce,_0x3ca379={};for(const [_0x1d635b,_0x4bfd29]of Object[_0x3f4a31(0x1a2)](APP_PROFILE_FLAG_KEY_MAP)){const _0x3e9c67=_0x9b139e(_0x1d635b);if(!_0x3e9c67)continue;_0x3ca379[_0x4bfd29]=_0x4bfd29===_0x3f4a31(0x1a6)?Number(_0x3e9c67):_0x3e9c67;}return _0x3ca379;}export function buildAppProfileListFields(_0x226cd2){const _0x5e7bea=a196_0x2a6fce;return{'env':_0x226cd2[_0x5e7bea(0x1a0)]??null,'apiDir':_0x226cd2[_0x5e7bea(0x17f)]??null,'hasCookie':!!_0x226cd2[_0x5e7bea(0x186)],'hasAccessKey':!!_0x226cd2['accessKey'],'format':_0x226cd2['format']??null,'pageSize':_0x226cd2['pageSize']??null,'riskLevel':_0x226cd2['riskLevel']??null,'locale':_0x226cd2['locale']??null};}export function buildAppDoctorFields(_0x5c51a6,_0x445eb6){const _0x24dedc=a196_0x2a6fce;return{'env':{'value':_0x5c51a6[_0x24dedc(0x1a0)]||_0x445eb6[_0x24dedc(0x1a0)],'source':_0x5c51a6[_0x24dedc(0x1a0)]?'app':'inherit'},'apiDir':{'value':_0x5c51a6[_0x24dedc(0x17f)]||_0x445eb6[_0x24dedc(0x17f)],'source':_0x5c51a6['apiDir']?_0x24dedc(0x193):_0x24dedc(0x180)},'cookie':{'value':_0x5c51a6['cookie']||_0x445eb6[_0x24dedc(0x186)],'source':_0x5c51a6['cookie']?_0x24dedc(0x193):_0x24dedc(0x180)},'accessKey':{'value':_0x5c51a6['accessKey']||_0x445eb6[_0x24dedc(0x183)],'source':_0x5c51a6['accessKey']?'app':_0x24dedc(0x180)}};}export function buildCanonicalAppConfig(_0x20b1b4,_0x15b037){const _0x1b79a5=a196_0x2a6fce,_0xc27367=_0x20b1b4[_0x1b79a5(0x191)](_0x17d6e3=>String(_0x17d6e3||'')[_0x1b79a5(0x184)]())['filter'](Boolean);if(_0xc27367['length']===0x0)return{};const _0x4a2164={};for(const _0xa51e9e of _0xc27367){_0x4a2164[_0xa51e9e]=_0x15b037?{'appcode':_0xa51e9e,'env':_0x15b037}:{'appcode':_0xa51e9e};}return{'apps':_0x4a2164,'defaultApp':_0xc27367[0x0]};}export function buildCanonicalProjectConfig(_0x58bcdc,_0x1f43eb){const _0x48a295=a196_0x2a6fce,{appCodes:appCodes=[],env:_0x322b3f,metadata:_0x48bde5}=_0x1f43eb,_0x1b1062={..._0x58bcdc,..._0x48bde5||{}};delete _0x1b1062[_0x48a295(0x189)],delete _0x1b1062[_0x48a295(0x193)];if(_0x322b3f)_0x1b1062[_0x48a295(0x1a0)]=_0x322b3f;else!_0x1b1062[_0x48a295(0x1a0)]&&(_0x1b1062[_0x48a295(0x1a0)]=DEFAULT_CONFIG_VALUES[_0x48a295(0x1a0)]);const _0x39aa8d=buildCanonicalAppConfig(appCodes,_0x1b1062[_0x48a295(0x1a0)]);return Object['keys'](_0x39aa8d)[_0x48a295(0x188)]>0x0&&(_0x1b1062[_0x48a295(0x199)]=_0x39aa8d['apps'],_0x1b1062[_0x48a295(0x18a)]=_0x39aa8d[_0x48a295(0x18a)]),_0x1b1062;}const LOCALE_MAP={'zh':a196_0x2a6fce(0x182),'zh-cn':a196_0x2a6fce(0x182),'zh_cn':a196_0x2a6fce(0x182),'en':a196_0x2a6fce(0x19e),'en-us':a196_0x2a6fce(0x19e),'en_us':a196_0x2a6fce(0x19e)};export function normalizeLocale(_0x34517e){const _0x2194f9=a196_0x2a6fce;if(!_0x34517e)return null;return LOCALE_MAP[_0x34517e[_0x2194f9(0x18e)]()]??null;}
1
+ const a194_0x74540a=a194_0x5949;(function(_0x346251,_0x3a0f9e){const _0x197272=a194_0x5949,_0x12c576=_0x346251();while(!![]){try{const _0x3cd4d9=parseInt(_0x197272(0x197))/0x1*(parseInt(_0x197272(0x1b8))/0x2)+-parseInt(_0x197272(0x1a1))/0x3+parseInt(_0x197272(0x1a4))/0x4*(-parseInt(_0x197272(0x1a9))/0x5)+parseInt(_0x197272(0x1ac))/0x6*(-parseInt(_0x197272(0x1a0))/0x7)+-parseInt(_0x197272(0x198))/0x8+parseInt(_0x197272(0x1af))/0x9*(-parseInt(_0x197272(0x1ae))/0xa)+parseInt(_0x197272(0x1ab))/0xb;if(_0x3cd4d9===_0x3a0f9e)break;else _0x12c576['push'](_0x12c576['shift']());}catch(_0x187fc9){_0x12c576['push'](_0x12c576['shift']());}}}(a194_0x4dce,0xe3235));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';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';function a194_0x4dce(){const _0x41f16d=['apiDir','52684940koHhHv','5682DfVwHR','format','44370CEWDty','1413jTMpYv','defaultApp','accessKey','riskLevel','app','locale','inherit','Auth\x20cookie','Config\x20key\x20(','6xfwrIi','zh-CN','cookie','trim','join','Access\x20key','pageSize','string','Default\x20page\x20size','Locale','env','102965ItACKp','8677744iXYeYA','number','defaultFormat','en-US','length','toLowerCase','apps','filter','7462CLRASZ','2429622tFpZpt','Target\x20environment','Risk\x20level','100sGmBfj','API\x20directory\x20path','keys','has','appcode','113475ddvoon'];a194_0x4dce=function(){return _0x41f16d;};return a194_0x4dce();}export const PROJECT_CREATE_INHERITABLE_KEYS=[a194_0x74540a(0x18e),a194_0x74540a(0x1b1),a194_0x74540a(0x1b4),'format',a194_0x74540a(0x1b2)];export const TOP_LEVEL_CONFIG_KEYS=new Set(['appcode',a194_0x74540a(0x196),a194_0x74540a(0x1b4),a194_0x74540a(0x1ad),a194_0x74540a(0x18e),a194_0x74540a(0x1b1),'apiDir']);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES]};export function formatConfigKeyList(_0x137b8e){const _0x111f5d=a194_0x74540a;return[..._0x137b8e][_0x111f5d(0x190)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x3d860d){const _0x44c23f=a194_0x74540a;return TOP_LEVEL_CONFIG_KEYS[_0x44c23f(0x1a7)](_0x3d860d);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x3d9ae0=a194_0x74540a;return _0x3d9ae0(0x1b7)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'env':a194_0x74540a(0x196),'apiDir':'apiDir','cookie':a194_0x74540a(0x18e),'accessKey':a194_0x74540a(0x1b1),'defaultFormat':a194_0x74540a(0x1ad),'pageSize':'pageSize','riskLevel':a194_0x74540a(0x1b2),'locale':a194_0x74540a(0x1b4)};export function getAppProfileFlagDefs(){const _0x1002d0=a194_0x74540a;return[{'name':_0x1002d0(0x196),'type':'string','description':_0x1002d0(0x1a2),'enum':[...RABETBASE_ENV_VALUES]},{'name':'apiDir','type':'string','description':_0x1002d0(0x1a5)},{'name':_0x1002d0(0x18e),'type':_0x1002d0(0x193),'description':_0x1002d0(0x1b6),'hidden':!![]},{'name':_0x1002d0(0x1b1),'type':_0x1002d0(0x193),'description':_0x1002d0(0x191),'hidden':!![]},{'name':_0x1002d0(0x19a),'type':_0x1002d0(0x193),'description':'Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x1002d0(0x192),'type':_0x1002d0(0x199),'description':_0x1002d0(0x194)},{'name':_0x1002d0(0x1b2),'type':_0x1002d0(0x193),'description':_0x1002d0(0x1a3),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x1002d0(0x1b4),'type':_0x1002d0(0x193),'description':_0x1002d0(0x195)}];}export function collectAppProfileOverrides(_0x6513a2){const _0xe0ac60=a194_0x74540a,_0xc20016={};for(const [_0x5e42cf,_0x5d854d]of Object['entries'](APP_PROFILE_FLAG_KEY_MAP)){const _0x30f759=_0x6513a2(_0x5e42cf);if(!_0x30f759)continue;_0xc20016[_0x5d854d]=_0x5d854d===_0xe0ac60(0x192)?Number(_0x30f759):_0x30f759;}return _0xc20016;}export function buildAppProfileListFields(_0xab5833){const _0x556d48=a194_0x74540a;return{'env':_0xab5833['env']??null,'apiDir':_0xab5833[_0x556d48(0x1aa)]??null,'hasCookie':!!_0xab5833['cookie'],'hasAccessKey':!!_0xab5833[_0x556d48(0x1b1)],'format':_0xab5833[_0x556d48(0x1ad)]??null,'pageSize':_0xab5833[_0x556d48(0x192)]??null,'riskLevel':_0xab5833['riskLevel']??null,'locale':_0xab5833[_0x556d48(0x1b4)]??null};}export function buildAppDoctorFields(_0x10e88f,_0x5e82a2){const _0x442011=a194_0x74540a;return{'env':{'value':_0x10e88f['env']||_0x5e82a2[_0x442011(0x196)],'source':_0x10e88f[_0x442011(0x196)]?'app':'inherit'},'apiDir':{'value':_0x10e88f[_0x442011(0x1aa)]||_0x5e82a2[_0x442011(0x1aa)],'source':_0x10e88f[_0x442011(0x1aa)]?_0x442011(0x1b3):_0x442011(0x1b5)},'cookie':{'value':_0x10e88f[_0x442011(0x18e)]||_0x5e82a2[_0x442011(0x18e)],'source':_0x10e88f[_0x442011(0x18e)]?'app':'inherit'},'accessKey':{'value':_0x10e88f[_0x442011(0x1b1)]||_0x5e82a2[_0x442011(0x1b1)],'source':_0x10e88f[_0x442011(0x1b1)]?'app':_0x442011(0x1b5)}};}function a194_0x5949(_0x2088c5,_0x57dd37){_0x2088c5=_0x2088c5-0x18e;const _0x4dce25=a194_0x4dce();let _0x594922=_0x4dce25[_0x2088c5];return _0x594922;}export function buildCanonicalAppConfig(_0xd34ff1,_0x231835){const _0x4ebe5a=a194_0x74540a,_0x2cbe99=_0xd34ff1['map'](_0x337ea=>String(_0x337ea||'')[_0x4ebe5a(0x18f)]())[_0x4ebe5a(0x19f)](Boolean);if(_0x2cbe99['length']===0x0)return{};const _0x523fb8={};for(const _0x30f6c1 of _0x2cbe99){_0x523fb8[_0x30f6c1]=_0x231835?{'appcode':_0x30f6c1,'env':_0x231835}:{'appcode':_0x30f6c1};}return{'apps':_0x523fb8,'defaultApp':_0x2cbe99[0x0]};}export function buildCanonicalProjectConfig(_0x4c15d8,_0xaa6750){const _0x21d2e9=a194_0x74540a,{appCodes:appCodes=[],env:_0x4a342a,metadata:_0x3ffa3a}=_0xaa6750,_0x15d5cc={..._0x4c15d8,..._0x3ffa3a||{}};delete _0x15d5cc[_0x21d2e9(0x1a8)],delete _0x15d5cc['app'];if(_0x4a342a)_0x15d5cc[_0x21d2e9(0x196)]=_0x4a342a;else!_0x15d5cc[_0x21d2e9(0x196)]&&(_0x15d5cc['env']=DEFAULT_CONFIG_VALUES[_0x21d2e9(0x196)]);const _0x4989ca=buildCanonicalAppConfig(appCodes,_0x15d5cc[_0x21d2e9(0x196)]);return Object[_0x21d2e9(0x1a6)](_0x4989ca)[_0x21d2e9(0x19c)]>0x0&&(_0x15d5cc[_0x21d2e9(0x19e)]=_0x4989ca[_0x21d2e9(0x19e)],_0x15d5cc[_0x21d2e9(0x1b0)]=_0x4989ca[_0x21d2e9(0x1b0)]),_0x15d5cc;}const LOCALE_MAP={'zh':a194_0x74540a(0x1b9),'zh-cn':a194_0x74540a(0x1b9),'zh_cn':a194_0x74540a(0x1b9),'en':a194_0x74540a(0x19b),'en-us':a194_0x74540a(0x19b),'en_us':'en-US'};export function normalizeLocale(_0x255c9a){const _0x5829a0=a194_0x74540a;if(!_0x255c9a)return null;return LOCALE_MAP[_0x255c9a[_0x5829a0(0x19d)]()]??null;}
@@ -1 +1 @@
1
- const a197_0x3ac8af=a197_0x4e50;(function(_0x391df9,_0x4b0074){const _0x19e86b=a197_0x4e50,_0x4d6c76=_0x391df9();while(!![]){try{const _0x56a959=-parseInt(_0x19e86b(0x1d9))/0x1+-parseInt(_0x19e86b(0x1dd))/0x2+-parseInt(_0x19e86b(0x1df))/0x3+parseInt(_0x19e86b(0x1da))/0x4*(-parseInt(_0x19e86b(0x1d8))/0x5)+parseInt(_0x19e86b(0x1dc))/0x6+-parseInt(_0x19e86b(0x1de))/0x7*(-parseInt(_0x19e86b(0x1d7))/0x8)+parseInt(_0x19e86b(0x1d6))/0x9*(parseInt(_0x19e86b(0x1e0))/0xa);if(_0x56a959===_0x4b0074)break;else _0x4d6c76['push'](_0x4d6c76['shift']());}catch(_0x4e5b78){_0x4d6c76['push'](_0x4d6c76['shift']());}}}(a197_0x2846,0x69d76));export const CLI_VERSION_POLICY_URL=a197_0x3ac8af(0x1db);function a197_0x4e50(_0x3a09b8,_0x28c8e8){_0x3a09b8=_0x3a09b8-0x1d6;const _0x28465a=a197_0x2846();let _0x4e50dd=_0x28465a[_0x3a09b8];return _0x4e50dd;}function a197_0x2846(){const _0x26d070=['97680JHYBmU','685524pVdiCw','177758PmLsoq','1610448JfiFqo','12193010RkycNb','9VzkXgZ','112cVqylr','155GqZyav','170857KmSFag','13824lQHoQU','https://g.lovrabet.com/dist/rabetbase-cli/config/index.json'];a197_0x2846=function(){return _0x26d070;};return a197_0x2846();}
1
+ const a195_0x6f66da=a195_0x41b8;(function(_0x8813ff,_0x463c2f){const _0x591ed5=a195_0x41b8,_0x19ba26=_0x8813ff();while(!![]){try{const _0x49d416=parseInt(_0x591ed5(0x19b))/0x1+parseInt(_0x591ed5(0x1a0))/0x2+-parseInt(_0x591ed5(0x1a1))/0x3*(-parseInt(_0x591ed5(0x19d))/0x4)+parseInt(_0x591ed5(0x19c))/0x5+parseInt(_0x591ed5(0x1a3))/0x6*(-parseInt(_0x591ed5(0x1a2))/0x7)+parseInt(_0x591ed5(0x199))/0x8*(-parseInt(_0x591ed5(0x19a))/0x9)+-parseInt(_0x591ed5(0x19f))/0xa;if(_0x49d416===_0x463c2f)break;else _0x19ba26['push'](_0x19ba26['shift']());}catch(_0x14831d){_0x19ba26['push'](_0x19ba26['shift']());}}}(a195_0x3972,0x2b4e5));export const CLI_VERSION_POLICY_URL=a195_0x6f66da(0x19e);function a195_0x41b8(_0x2241dc,_0x29eff5){_0x2241dc=_0x2241dc-0x199;const _0x397279=a195_0x3972();let _0x41b823=_0x397279[_0x2241dc];return _0x41b823;}function a195_0x3972(){const _0x1a723b=['4341mRJqhu','7udPPHW','1179726FXjUwd','88NthRre','117801EtGEOR','87184QTgGng','654535jrBZPo','344tuskmf','https://g.lovrabet.com/dist/rabetbase-cli/config/index.json','1260680KqaThc','603032aNyaGJ'];a195_0x3972=function(){return _0x1a723b;};return a195_0x3972();}
@@ -1 +1 @@
1
- const a198_0x317b16=a198_0x526d;(function(_0x36443f,_0x43a662){const _0xecf8a8=a198_0x526d,_0x228ca3=_0x36443f();while(!![]){try{const _0x3a08be=parseInt(_0xecf8a8(0x152))/0x1+-parseInt(_0xecf8a8(0x1af))/0x2+-parseInt(_0xecf8a8(0x1c8))/0x3*(-parseInt(_0xecf8a8(0x187))/0x4)+parseInt(_0xecf8a8(0x197))/0x5*(-parseInt(_0xecf8a8(0x18e))/0x6)+parseInt(_0xecf8a8(0x1b9))/0x7+parseInt(_0xecf8a8(0x16e))/0x8*(parseInt(_0xecf8a8(0x1a3))/0x9)+parseInt(_0xecf8a8(0x176))/0xa*(-parseInt(_0xecf8a8(0x16c))/0xb);if(_0x3a08be===_0x43a662)break;else _0x228ca3['push'](_0x228ca3['shift']());}catch(_0x4508bb){_0x228ca3['push'](_0x228ca3['shift']());}}}(a198_0x40dc,0xe5b7c));export const CLI_BIN_NAME=a198_0x317b16(0x1c4);export const CLI_DISPLAY_NAME=a198_0x317b16(0x16d);export const NPM_PACKAGE_NAME=a198_0x317b16(0x179);export const GLOBAL_FLAGS=[{'name':a198_0x317b16(0x198),'meowKey':a198_0x317b16(0x198),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x178),'hint':a198_0x317b16(0x1a2)},{'name':'app','meowKey':a198_0x317b16(0x169),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x15f),'hint':a198_0x317b16(0x170)},{'name':'env','meowKey':a198_0x317b16(0x181),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x172),'hint':a198_0x317b16(0x190)},{'name':a198_0x317b16(0x18c),'meowKey':a198_0x317b16(0x18c),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x17c),'hint':a198_0x317b16(0x1bb)},{'name':'jq','meowKey':'jq','type':a198_0x317b16(0x158),'description':a198_0x317b16(0x161),'hint':a198_0x317b16(0x162)},{'name':a198_0x317b16(0x1b7),'meowKey':a198_0x317b16(0x19e),'type':'boolean','description':'Preview\x20operation\x20without\x20executing'},{'name':a198_0x317b16(0x180),'meowKey':a198_0x317b16(0x180),'type':a198_0x317b16(0x16f),'description':a198_0x317b16(0x185)},{'name':a198_0x317b16(0x1a6),'meowKey':'nonInteractive','type':a198_0x317b16(0x16f),'description':a198_0x317b16(0x1be)},{'name':a198_0x317b16(0x153),'meowKey':a198_0x317b16(0x153),'type':a198_0x317b16(0x16f),'description':a198_0x317b16(0x15d)},{'name':a198_0x317b16(0x19c),'meowKey':a198_0x317b16(0x19c),'type':a198_0x317b16(0x16f),'description':a198_0x317b16(0x18d)},{'name':'ci','meowKey':'ci','type':a198_0x317b16(0x16f),'description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a198_0x317b16(0x1d0),'meowKey':'help','type':a198_0x317b16(0x16f),'description':a198_0x317b16(0x1ba)},{'name':a198_0x317b16(0x1a8),'meowKey':a198_0x317b16(0x1a8),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x19d),'hidden':!![]},{'name':a198_0x317b16(0x1a9),'meowKey':a198_0x317b16(0x1a9),'type':'string','description':a198_0x317b16(0x1c7),'hidden':!![]},{'name':a198_0x317b16(0x1c9),'meowKey':a198_0x317b16(0x1c9),'type':a198_0x317b16(0x16f),'description':a198_0x317b16(0x1ac),'hidden':!![]},{'name':a198_0x317b16(0x1cd),'meowKey':'watch','type':'boolean','description':a198_0x317b16(0x19f),'hidden':!![]},{'name':a198_0x317b16(0x155),'meowKey':a198_0x317b16(0x155),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x184),'hidden':!![]},{'name':a198_0x317b16(0x1b4),'meowKey':a198_0x317b16(0x1b4),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x164),'hidden':!![]},{'name':a198_0x317b16(0x18f),'meowKey':a198_0x317b16(0x18f),'type':a198_0x317b16(0x158),'description':'Dataset\x20code','hidden':!![]},{'name':'all','meowKey':a198_0x317b16(0x1a7),'type':a198_0x317b16(0x16f),'description':'Apply\x20to\x20all','hidden':!![]},{'name':a198_0x317b16(0x19b),'meowKey':'enableBffSave','type':a198_0x317b16(0x16f),'description':a198_0x317b16(0x1c1),'hidden':!![]},{'name':'id','meowKey':'id','type':'string','description':a198_0x317b16(0x171),'hidden':!![]},{'name':'type','meowKey':a198_0x317b16(0x154),'type':'string','description':a198_0x317b16(0x18b),'hidden':!![]},{'name':'file','meowKey':a198_0x317b16(0x18a),'type':a198_0x317b16(0x158),'description':'File\x20path','hidden':!![]},{'name':a198_0x317b16(0x1ab),'meowKey':a198_0x317b16(0x1ab),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x183),'hidden':!![]},{'name':a198_0x317b16(0x156),'meowKey':a198_0x317b16(0x1b8),'type':'string','description':'SQL\x20name','hidden':!![]},{'name':a198_0x317b16(0x1bf),'meowKey':a198_0x317b16(0x1bf),'type':'string','description':a198_0x317b16(0x1b1),'hidden':!![]},{'name':a198_0x317b16(0x1cc),'meowKey':'dbId','type':'string','description':a198_0x317b16(0x1b2),'hidden':!![]},{'name':'dbid','meowKey':a198_0x317b16(0x159),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x1b2),'hidden':!![]},{'name':'description','meowKey':a198_0x317b16(0x17f),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x1c2),'hidden':!![]},{'name':a198_0x317b16(0x177),'meowKey':'descriptionFile','type':'string','description':a198_0x317b16(0x1a1),'hidden':!![]},{'name':'page','meowKey':'page','type':a198_0x317b16(0x158),'description':a198_0x317b16(0x1a4),'hidden':!![]},{'name':a198_0x317b16(0x193),'meowKey':a198_0x317b16(0x193),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x1ca),'hidden':!![]},{'name':a198_0x317b16(0x16b),'meowKey':a198_0x317b16(0x16b),'type':'string','description':a198_0x317b16(0x1b5),'hidden':!![]},{'name':a198_0x317b16(0x174),'meowKey':a198_0x317b16(0x174),'type':a198_0x317b16(0x158),'description':'Code\x20filter','hidden':!![]},{'name':'sql','meowKey':a198_0x317b16(0x1bd),'type':a198_0x317b16(0x158),'description':'SQL\x20string','hidden':!![]},{'name':a198_0x317b16(0x16a),'meowKey':a198_0x317b16(0x16a),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x1cf),'hidden':!![]},{'name':a198_0x317b16(0x1b3),'meowKey':a198_0x317b16(0x1b3),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x1cb),'hidden':!![]},{'name':a198_0x317b16(0x167),'meowKey':a198_0x317b16(0x167),'type':'string','description':a198_0x317b16(0x165),'hidden':!![]},{'name':a198_0x317b16(0x195),'meowKey':a198_0x317b16(0x1a5),'type':a198_0x317b16(0x16f),'description':a198_0x317b16(0x191),'hidden':!![]},{'name':'key','meowKey':a198_0x317b16(0x1aa),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x1b6),'hidden':!![]},{'name':a198_0x317b16(0x157),'meowKey':a198_0x317b16(0x157),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x199),'hidden':!![]},{'name':'tags','meowKey':a198_0x317b16(0x15e),'type':a198_0x317b16(0x158),'description':'Tags','hidden':!![]},{'name':'stdin','meowKey':a198_0x317b16(0x1d1),'type':a198_0x317b16(0x16f),'description':'Read\x20value\x20from\x20stdin','hidden':!![]},{'name':a198_0x317b16(0x1c0),'meowKey':'fromEnv','type':a198_0x317b16(0x158),'description':a198_0x317b16(0x160),'hidden':!![]},{'name':a198_0x317b16(0x15c),'meowKey':'reveal','type':'boolean','description':a198_0x317b16(0x15b),'hidden':!![]},{'name':'force','meowKey':a198_0x317b16(0x1bc),'type':'boolean','description':a198_0x317b16(0x189),'hidden':!![]},{'name':a198_0x317b16(0x1ad),'meowKey':a198_0x317b16(0x1ad),'type':a198_0x317b16(0x16f),'description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':'remote','meowKey':a198_0x317b16(0x17b),'type':a198_0x317b16(0x16f),'description':a198_0x317b16(0x1ce),'hidden':!![]},{'name':a198_0x317b16(0x1a0),'meowKey':a198_0x317b16(0x1a0),'type':a198_0x317b16(0x16f),'description':'Verbose\x20output','hidden':!![]},{'name':'expected-count','meowKey':'expectedCount','type':a198_0x317b16(0x158),'description':'Expected\x20affected\x20count','hidden':!![]},{'name':a198_0x317b16(0x186),'meowKey':a198_0x317b16(0x186),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x1c5),'hidden':!![]},{'name':a198_0x317b16(0x15a),'meowKey':a198_0x317b16(0x166),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x163),'hidden':!![]},{'name':'sort','meowKey':'sort','type':a198_0x317b16(0x158),'description':a198_0x317b16(0x1c3),'hidden':!![]},{'name':'expect-parent-id','meowKey':a198_0x317b16(0x196),'type':a198_0x317b16(0x158),'description':'Expected\x20current\x20parent\x20menu\x20id','hidden':!![]},{'name':a198_0x317b16(0x194),'meowKey':a198_0x317b16(0x1c6),'type':a198_0x317b16(0x158),'description':'Expected\x20current\x20menu\x20path','hidden':!![]},{'name':a198_0x317b16(0x17a),'meowKey':a198_0x317b16(0x173),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x19a),'hidden':!![]},{'name':a198_0x317b16(0x182),'meowKey':a198_0x317b16(0x168),'type':a198_0x317b16(0x158),'description':a198_0x317b16(0x188),'hidden':!![]},{'name':'task-id','meowKey':'taskId','type':a198_0x317b16(0x158),'description':a198_0x317b16(0x192),'hidden':!![]},{'name':a198_0x317b16(0x1b0),'meowKey':'operationType','type':a198_0x317b16(0x158),'description':a198_0x317b16(0x1cb),'hidden':!![]},{'name':'function-node','meowKey':'functionNode','type':a198_0x317b16(0x158),'description':a198_0x317b16(0x17e),'hidden':!![]}];function a198_0x526d(_0x5ea3b1,_0x4a7660){_0x5ea3b1=_0x5ea3b1-0x152;const _0x40dc83=a198_0x40dc();let _0x526df5=_0x40dc83[_0x5ea3b1];return _0x526df5;}function a198_0x40dc(){const _0x350d25=['Function\x20node','description','yes','env','menu-ids','SQL\x20code','Output\x20path','Skip\x20confirmation\x20for\x20high-risk\x20writes','label','2981236TxbLOU','Comma-separated\x20menu\x20IDs','Force\x20overwrite','file','Type\x20filter','format','Use\x20project\x20config\x20scope','18MDmbDv','datasetcode','production\x20|\x20daily','Skip\x20import\x20generation','Asynchronous\x20task\x20ID','pagesize','expect-path','skip-imports','expectParentId','240655ExYOsz','appcode','Config\x20value','Expected\x20current\x20child\x20count','enable-bff-save','project','Name','dryRun','Watch\x20mode','verbose','Description\x20file','<code>','1053054LTdCeo','Page\x20number','skipImports','non-interactive','all','name','title','key','sqlcode','Clear','confirm','map','1870804MszZhE','operation-type','SQL\x20name','DB\x20ID','operation','params','Keyword\x20filter','Config\x20key','dry-run','sqlName','149471qOxuuY','Show\x20help','json\x20|\x20pretty\x20|\x20compress','force','sql','Force\x20non-interactive\x20mode\x20(CI)','sqlname','from-env','Enable\x20BFF\x20save','Description','Menu\x20sort\x20value','rabetbase','Menu\x20label','expectPath','Title','6VkwXBO','clear','Page\x20size','Operation\x20type','db-id','watch','Use\x20remote','Schemas','help','stdin','892594XxfNTh','global','type','output','sql-name','value','string','dbid','parent-id','Reveal\x20sensitive\x20value','reveal','Use\x20global\x20config\x20scope','tags','Select\x20app\x20profile\x20by\x20name','Read\x20value\x20from\x20environment\x20variable','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','<expr>','Parent\x20menu\x20id','JSON\x20params','Target\x20path','parentId','target','menuIds','app','schemas','keyword','22bDOXZv','Rabetbase\x20CLI','64pBiccA','boolean','<name>','Record\x20ID','Environment','expectedChildrenCount','code','fromEntries','6599470MFDyVn','description-file','Override\x20appcode','@lovrabet/rabetbase-cli','expected-children-count','remote','Output\x20format','meowKey'];a198_0x40dc=function(){return _0x350d25;};return a198_0x40dc();}export const PIPELINE_FLAG_NAMES=new Set([a198_0x317b16(0x198),a198_0x317b16(0x169),a198_0x317b16(0x181),a198_0x317b16(0x18c),'jq',a198_0x317b16(0x1b7),a198_0x317b16(0x180),a198_0x317b16(0x1a6),'ci']);export function buildMeowFlags(){const _0x56565e=a198_0x317b16;return Object[_0x56565e(0x175)](GLOBAL_FLAGS[_0x56565e(0x1ae)](_0x270f2c=>[_0x270f2c[_0x56565e(0x17d)],{'type':_0x270f2c[_0x56565e(0x154)]}]));}
1
+ const a196_0x156f69=a196_0xf7e3;function a196_0xf7e3(_0x39f8df,_0x408968){_0x39f8df=_0x39f8df-0x14e;const _0x145d9d=a196_0x145d();let _0xf7e3a9=_0x145d9d[_0x39f8df];return _0xf7e3a9;}(function(_0x320e2a,_0x4717b4){const _0x33002f=a196_0xf7e3,_0x3720bd=_0x320e2a();while(!![]){try{const _0x1dff03=-parseInt(_0x33002f(0x170))/0x1+parseInt(_0x33002f(0x174))/0x2*(-parseInt(_0x33002f(0x15b))/0x3)+parseInt(_0x33002f(0x1b0))/0x4+parseInt(_0x33002f(0x1bf))/0x5*(parseInt(_0x33002f(0x166))/0x6)+parseInt(_0x33002f(0x196))/0x7+-parseInt(_0x33002f(0x1bd))/0x8+-parseInt(_0x33002f(0x16c))/0x9*(-parseInt(_0x33002f(0x163))/0xa);if(_0x1dff03===_0x4717b4)break;else _0x3720bd['push'](_0x3720bd['shift']());}catch(_0x1c4533){_0x3720bd['push'](_0x3720bd['shift']());}}}(a196_0x145d,0x52632));export const CLI_BIN_NAME=a196_0x156f69(0x1b6);export const CLI_DISPLAY_NAME=a196_0x156f69(0x1a5);function a196_0x145d(){const _0x5e4404=['clear','name','title','Verbose\x20output','menuIds','dry-run','parentId','Code\x20filter','production\x20|\x20daily','972153UAYVKJ','non-interactive','expect-parent-id','sql','Output\x20path','functionNode','SQL\x20string','env','Operation\x20type','Comma-separated\x20menu\x20IDs','menu-ids','type','Record\x20ID','Page\x20size','global','Rabetbase\x20CLI','sqlcode','operation-type','string','key','yes','datasetcode','expect-path','fromEnv','Apply\x20to\x20all','Menu\x20label','2601116FTYExX','taskId','output','dbid','Expected\x20current\x20menu\x20path','file','rabetbase','Config\x20key','fromEntries','Target\x20path','Alias\x20for\x20--non-interactive','json\x20|\x20pretty\x20|\x20compress','stdin','2573984fnZpYE','descriptionFile','8425vGoOQu','operation','enable-bff-save','expected-children-count','description-file','label','Title','tags','File\x20path','target','expectPath','from-env','Page\x20number','Schemas','<name>','sqlName','SQL\x20name','Expected\x20affected\x20count','Keyword\x20filter','Use\x20project\x20config\x20scope','Force\x20overwrite','params','expectParentId','confirm','nonInteractive','operationType','reveal','watch','dryRun','Select\x20app\x20profile\x20by\x20name','Enable\x20BFF\x20save','skipImports','Use\x20global\x20config\x20scope','expectedChildrenCount','task-id','Asynchronous\x20task\x20ID','1057074odUcXq','function-node','skip-imports','verbose','Dataset\x20code','Override\x20appcode','Watch\x20mode','format','132520IrOYHf','Expected\x20current\x20child\x20count','value','1698RmOqqt','Environment','Read\x20value\x20from\x20stdin','Read\x20value\x20from\x20environment\x20variable','Menu\x20sort\x20value','boolean','171utDUvy','sqlname','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','Use\x20remote','506237SuYnvR','enableBffSave','Output\x20format','keyword','2eNTKzT','sql-name','Parent\x20menu\x20id','help','project','schemas','Show\x20help','pagesize','JSON\x20params','DB\x20ID','Config\x20value','app','map','Description','all','Description\x20file','code','SQL\x20code','page','sort','remote','force','Clear','appcode','<code>'];a196_0x145d=function(){return _0x5e4404;};return a196_0x145d();}export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':a196_0x156f69(0x18b),'meowKey':a196_0x156f69(0x18b),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x160),'hint':a196_0x156f69(0x18c)},{'name':a196_0x156f69(0x17f),'meowKey':a196_0x156f69(0x17f),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x154),'hint':a196_0x156f69(0x1cd)},{'name':a196_0x156f69(0x19d),'meowKey':'env','type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x167),'hint':a196_0x156f69(0x195)},{'name':'format','meowKey':a196_0x156f69(0x162),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x172),'hint':a196_0x156f69(0x1bb)},{'name':'jq','meowKey':'jq','type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x16e),'hint':'<expr>'},{'name':'dry-run','meowKey':a196_0x156f69(0x153),'type':a196_0x156f69(0x16b),'description':'Preview\x20operation\x20without\x20executing'},{'name':'yes','meowKey':a196_0x156f69(0x1aa),'type':a196_0x156f69(0x16b),'description':'Skip\x20confirmation\x20for\x20high-risk\x20writes'},{'name':'non-interactive','meowKey':a196_0x156f69(0x14f),'type':a196_0x156f69(0x16b),'description':'Force\x20non-interactive\x20mode\x20(CI)'},{'name':a196_0x156f69(0x1a4),'meowKey':a196_0x156f69(0x1a4),'type':'boolean','description':a196_0x156f69(0x157)},{'name':a196_0x156f69(0x178),'meowKey':a196_0x156f69(0x178),'type':'boolean','description':a196_0x156f69(0x1d2)},{'name':'ci','meowKey':'ci','type':a196_0x156f69(0x16b),'description':a196_0x156f69(0x1ba),'hidden':!![]},{'name':'help','meowKey':a196_0x156f69(0x177),'type':a196_0x156f69(0x16b),'description':a196_0x156f69(0x17a)},{'name':a196_0x156f69(0x18e),'meowKey':'name','type':a196_0x156f69(0x1a8),'description':'Name','hidden':!![]},{'name':a196_0x156f69(0x18f),'meowKey':a196_0x156f69(0x18f),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x1c5),'hidden':!![]},{'name':a196_0x156f69(0x18d),'meowKey':a196_0x156f69(0x18d),'type':a196_0x156f69(0x16b),'description':a196_0x156f69(0x18a),'hidden':!![]},{'name':a196_0x156f69(0x152),'meowKey':a196_0x156f69(0x152),'type':a196_0x156f69(0x16b),'description':a196_0x156f69(0x161),'hidden':!![]},{'name':a196_0x156f69(0x1b2),'meowKey':'output','type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x19a),'hidden':!![]},{'name':a196_0x156f69(0x1d4),'meowKey':'params','type':'string','description':a196_0x156f69(0x17c),'hidden':!![]},{'name':a196_0x156f69(0x1ab),'meowKey':'datasetcode','type':'string','description':a196_0x156f69(0x15f),'hidden':!![]},{'name':a196_0x156f69(0x182),'meowKey':a196_0x156f69(0x182),'type':a196_0x156f69(0x16b),'description':a196_0x156f69(0x1ae),'hidden':!![]},{'name':a196_0x156f69(0x1c1),'meowKey':a196_0x156f69(0x171),'type':'boolean','description':a196_0x156f69(0x155),'hidden':!![]},{'name':'id','meowKey':'id','type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x1a2),'hidden':!![]},{'name':a196_0x156f69(0x1a1),'meowKey':'type','type':a196_0x156f69(0x1a8),'description':'Type\x20filter','hidden':!![]},{'name':'file','meowKey':a196_0x156f69(0x1b5),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x1c7),'hidden':!![]},{'name':'sqlcode','meowKey':a196_0x156f69(0x1a6),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x185),'hidden':!![]},{'name':a196_0x156f69(0x175),'meowKey':a196_0x156f69(0x1ce),'type':'string','description':'SQL\x20name','hidden':!![]},{'name':a196_0x156f69(0x16d),'meowKey':a196_0x156f69(0x16d),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x1cf),'hidden':!![]},{'name':'db-id','meowKey':'dbId','type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x17d),'hidden':!![]},{'name':a196_0x156f69(0x1b3),'meowKey':a196_0x156f69(0x1b3),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x17d),'hidden':!![]},{'name':'description','meowKey':'description','type':'string','description':a196_0x156f69(0x181),'hidden':!![]},{'name':a196_0x156f69(0x1c3),'meowKey':a196_0x156f69(0x1be),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x183),'hidden':!![]},{'name':a196_0x156f69(0x186),'meowKey':a196_0x156f69(0x186),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x1cb),'hidden':!![]},{'name':a196_0x156f69(0x17b),'meowKey':a196_0x156f69(0x17b),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x1a3),'hidden':!![]},{'name':a196_0x156f69(0x173),'meowKey':a196_0x156f69(0x173),'type':'string','description':a196_0x156f69(0x1d1),'hidden':!![]},{'name':a196_0x156f69(0x184),'meowKey':'code','type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x194),'hidden':!![]},{'name':a196_0x156f69(0x199),'meowKey':a196_0x156f69(0x199),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x19c),'hidden':!![]},{'name':'schemas','meowKey':a196_0x156f69(0x179),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x1cc),'hidden':!![]},{'name':a196_0x156f69(0x1c0),'meowKey':a196_0x156f69(0x1c0),'type':'string','description':'Operation\x20type','hidden':!![]},{'name':a196_0x156f69(0x1c8),'meowKey':a196_0x156f69(0x1c8),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x1b9),'hidden':!![]},{'name':a196_0x156f69(0x15d),'meowKey':a196_0x156f69(0x156),'type':'boolean','description':'Skip\x20import\x20generation','hidden':!![]},{'name':a196_0x156f69(0x1a9),'meowKey':a196_0x156f69(0x1a9),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x1b7),'hidden':!![]},{'name':a196_0x156f69(0x165),'meowKey':a196_0x156f69(0x165),'type':'string','description':a196_0x156f69(0x17e),'hidden':!![]},{'name':a196_0x156f69(0x1c6),'meowKey':a196_0x156f69(0x1c6),'type':'string','description':'Tags','hidden':!![]},{'name':'stdin','meowKey':a196_0x156f69(0x1bc),'type':a196_0x156f69(0x16b),'description':a196_0x156f69(0x168),'hidden':!![]},{'name':a196_0x156f69(0x1ca),'meowKey':a196_0x156f69(0x1ad),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x169),'hidden':!![]},{'name':'reveal','meowKey':a196_0x156f69(0x151),'type':a196_0x156f69(0x16b),'description':'Reveal\x20sensitive\x20value','hidden':!![]},{'name':a196_0x156f69(0x189),'meowKey':a196_0x156f69(0x189),'type':a196_0x156f69(0x16b),'description':a196_0x156f69(0x1d3),'hidden':!![]},{'name':a196_0x156f69(0x14e),'meowKey':a196_0x156f69(0x14e),'type':a196_0x156f69(0x16b),'description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':a196_0x156f69(0x188),'meowKey':a196_0x156f69(0x188),'type':'boolean','description':a196_0x156f69(0x16f),'hidden':!![]},{'name':a196_0x156f69(0x15e),'meowKey':a196_0x156f69(0x15e),'type':'boolean','description':a196_0x156f69(0x190),'hidden':!![]},{'name':'expected-count','meowKey':'expectedCount','type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x1d0),'hidden':!![]},{'name':a196_0x156f69(0x1c4),'meowKey':a196_0x156f69(0x1c4),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x1af),'hidden':!![]},{'name':'parent-id','meowKey':a196_0x156f69(0x193),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x176),'hidden':!![]},{'name':a196_0x156f69(0x187),'meowKey':a196_0x156f69(0x187),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x16a),'hidden':!![]},{'name':a196_0x156f69(0x198),'meowKey':a196_0x156f69(0x1d5),'type':a196_0x156f69(0x1a8),'description':'Expected\x20current\x20parent\x20menu\x20id','hidden':!![]},{'name':a196_0x156f69(0x1ac),'meowKey':a196_0x156f69(0x1c9),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x1b4),'hidden':!![]},{'name':a196_0x156f69(0x1c2),'meowKey':a196_0x156f69(0x158),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x164),'hidden':!![]},{'name':a196_0x156f69(0x1a0),'meowKey':a196_0x156f69(0x191),'type':'string','description':a196_0x156f69(0x19f),'hidden':!![]},{'name':a196_0x156f69(0x159),'meowKey':a196_0x156f69(0x1b1),'type':a196_0x156f69(0x1a8),'description':a196_0x156f69(0x15a),'hidden':!![]},{'name':a196_0x156f69(0x1a7),'meowKey':a196_0x156f69(0x150),'type':'string','description':a196_0x156f69(0x19e),'hidden':!![]},{'name':a196_0x156f69(0x15c),'meowKey':a196_0x156f69(0x19b),'type':a196_0x156f69(0x1a8),'description':'Function\x20node','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set(['appcode',a196_0x156f69(0x17f),a196_0x156f69(0x19d),a196_0x156f69(0x162),'jq',a196_0x156f69(0x192),a196_0x156f69(0x1aa),a196_0x156f69(0x197),'ci']);export function buildMeowFlags(){const _0xf71c09=a196_0x156f69;return Object[_0xf71c09(0x1b8)](GLOBAL_FLAGS[_0xf71c09(0x180)](_0x421af9=>[_0x421af9['meowKey'],{'type':_0x421af9['type']}]));}
@@ -1 +1 @@
1
- const a199_0x31520b=a199_0x1484;(function(_0x209228,_0x39d246){const _0x277f93=a199_0x1484,_0x5930cf=_0x209228();while(!![]){try{const _0x24ab6a=parseInt(_0x277f93(0x178))/0x1*(-parseInt(_0x277f93(0x183))/0x2)+-parseInt(_0x277f93(0x176))/0x3*(parseInt(_0x277f93(0x17d))/0x4)+-parseInt(_0x277f93(0x17a))/0x5*(-parseInt(_0x277f93(0x17f))/0x6)+-parseInt(_0x277f93(0x177))/0x7*(parseInt(_0x277f93(0x179))/0x8)+parseInt(_0x277f93(0x17c))/0x9*(-parseInt(_0x277f93(0x17b))/0xa)+-parseInt(_0x277f93(0x182))/0xb+parseInt(_0x277f93(0x180))/0xc;if(_0x24ab6a===_0x39d246)break;else _0x5930cf['push'](_0x5930cf['shift']());}catch(_0x117274){_0x5930cf['push'](_0x5930cf['shift']());}}}(a199_0x59e9,0xeb3c2));function a199_0x59e9(){const _0x5e4971=['production','126645pXsHre','18816bDYAru','32257dIHBYW','1584SnXZQe','5CCMioF','340VdBvVP','136737AqOgSZ','152wECsQU','compress','6771588iRoQfK','51517536VmuqWu','en-US','7793610XFUXkM','68AMJzLq'];a199_0x59e9=function(){return _0x5e4971;};return a199_0x59e9();}import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a199_0x31520b(0x184),'format':a199_0x31520b(0x17e),'locale':a199_0x31520b(0x181),'riskLevel':'high-risk-write','apiDir':DEFAULT_API_DIR};function a199_0x1484(_0x1db2b3,_0x51c5dc){_0x1db2b3=_0x1db2b3-0x176;const _0x59e999=a199_0x59e9();let _0x14848b=_0x59e999[_0x1db2b3];return _0x14848b;}export const DEFAULT_COMMAND_OUTPUT_FORMAT='compress';
1
+ function a197_0x9b65(_0x3a0dc5,_0x35a39c){_0x3a0dc5=_0x3a0dc5-0xc7;const _0x3b0952=a197_0x3b09();let _0x9b65c3=_0x3b0952[_0x3a0dc5];return _0x9b65c3;}const a197_0x33f70c=a197_0x9b65;(function(_0x24a7d1,_0x2d3bc5){const _0x2b6dca=a197_0x9b65,_0xd42003=_0x24a7d1();while(!![]){try{const _0x1828e1=parseInt(_0x2b6dca(0xcb))/0x1*(-parseInt(_0x2b6dca(0xd4))/0x2)+-parseInt(_0x2b6dca(0xd0))/0x3*(-parseInt(_0x2b6dca(0xd2))/0x4)+parseInt(_0x2b6dca(0xc7))/0x5*(-parseInt(_0x2b6dca(0xd6))/0x6)+parseInt(_0x2b6dca(0xca))/0x7*(parseInt(_0x2b6dca(0xcd))/0x8)+-parseInt(_0x2b6dca(0xc8))/0x9+parseInt(_0x2b6dca(0xce))/0xa*(parseInt(_0x2b6dca(0xd3))/0xb)+parseInt(_0x2b6dca(0xd7))/0xc*(parseInt(_0x2b6dca(0xcf))/0xd);if(_0x1828e1===_0x2d3bc5)break;else _0xd42003['push'](_0xd42003['shift']());}catch(_0x21d02a){_0xd42003['push'](_0xd42003['shift']());}}}(a197_0x3b09,0x89605));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a197_0x33f70c(0xd5),'format':'compress','locale':a197_0x33f70c(0xc9),'riskLevel':a197_0x33f70c(0xcc),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a197_0x33f70c(0xd1);function a197_0x3b09(){const _0xa6db32=['2383810NTrUef','6CDmCfL','compress','1384124zzqbOE','74096mGuOCT','437170WagLDd','production','159468zOoTcp','108gxQGZU','55sqckav','9303885vUsJwC','en-US','203LNYlXr','4mZhvqy','high-risk-write','108640KHLphu','40kRJQGV'];a197_0x3b09=function(){return _0xa6db32;};return a197_0x3b09();}
@@ -1 +1 @@
1
- const a200_0x419367=a200_0x39d9;(function(_0x4895ae,_0x39e42d){const _0x3b0b0=a200_0x39d9,_0x2db65b=_0x4895ae();while(!![]){try{const _0x3e7747=-parseInt(_0x3b0b0(0x10e))/0x1*(parseInt(_0x3b0b0(0x110))/0x2)+parseInt(_0x3b0b0(0x113))/0x3*(-parseInt(_0x3b0b0(0x108))/0x4)+-parseInt(_0x3b0b0(0x116))/0x5+-parseInt(_0x3b0b0(0x106))/0x6*(parseInt(_0x3b0b0(0x10c))/0x7)+-parseInt(_0x3b0b0(0x105))/0x8*(parseInt(_0x3b0b0(0x11d))/0x9)+parseInt(_0x3b0b0(0x11a))/0xa*(-parseInt(_0x3b0b0(0x114))/0xb)+parseInt(_0x3b0b0(0x112))/0xc;if(_0x3e7747===_0x39e42d)break;else _0x2db65b['push'](_0x2db65b['shift']());}catch(_0x52a62a){_0x2db65b['push'](_0x2db65b['shift']());}}}(a200_0x2c4a,0xc47b8));import{getEnv,isProduction}from'../constant/env.js';function a200_0x2c4a(){const _0xab514=['/web-app/app/','https://runtime.lovrabet.com','4720473lbKWOU','8cufrwt','6WpmYFE','/app/','2777108ohlRgK','userDomain','runtimeDomain','https://api.lovrabet.com','9614899hbUqaz','trim','3NIJCVB','https://daily-api.lovrabet.com','388372PJjZZo','https://daily.lovrabet.com','67564476WEJAFn','3PTQdWY','77yFYKcf','https://user.lovrabet.com','4648565akGTvU','apiDomain','https://app.lovrabet.com','https://daily-runtime.lovrabet.com','1029970SBSzPM'];a200_0x2c4a=function(){return _0xab514;};return a200_0x2c4a();}let customApiDomain,customUserDomain,customRuntimeDomain;export function initDomains(_0x2b92ad){const _0x5106ce=a200_0x39d9;customApiDomain=_0x2b92ad?.[_0x5106ce(0x117)],customUserDomain=_0x2b92ad?.[_0x5106ce(0x109)],customRuntimeDomain=_0x2b92ad?.[_0x5106ce(0x10a)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?a200_0x419367(0x115):'https://user-daily.lovrabet.com');function a200_0x39d9(_0x239749,_0x50352a){_0x239749=_0x239749-0x105;const _0x2c4a08=a200_0x2c4a();let _0x39d99b=_0x2c4a08[_0x239749];return _0x39d99b;}export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?a200_0x419367(0x10b):a200_0x419367(0x10f));export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?a200_0x419367(0x11c):a200_0x419367(0x119));export const getAppDomain=()=>isProduction(getEnv())?a200_0x419367(0x118):a200_0x419367(0x111);export const getAppBaseUrl=_0x1448e0=>{const _0x2f17d8=a200_0x419367,_0x14d82d=encodeURIComponent(_0x1448e0[_0x2f17d8(0x10d)]());return isProduction(getEnv())?getAppDomain()+_0x2f17d8(0x107)+_0x14d82d:getAppDomain()+_0x2f17d8(0x11b)+_0x14d82d;};
1
+ const a198_0x43ae51=a198_0x3f08;(function(_0x84ac3,_0x4a4b4f){const _0x9e5a1a=a198_0x3f08,_0x26042a=_0x84ac3();while(!![]){try{const _0x495f68=-parseInt(_0x9e5a1a(0x1ae))/0x1+parseInt(_0x9e5a1a(0x1aa))/0x2+-parseInt(_0x9e5a1a(0x1ad))/0x3+parseInt(_0x9e5a1a(0x1a9))/0x4+-parseInt(_0x9e5a1a(0x1b6))/0x5*(-parseInt(_0x9e5a1a(0x1b3))/0x6)+parseInt(_0x9e5a1a(0x1ba))/0x7*(-parseInt(_0x9e5a1a(0x1b9))/0x8)+-parseInt(_0x9e5a1a(0x1b4))/0x9*(-parseInt(_0x9e5a1a(0x1af))/0xa);if(_0x495f68===_0x4a4b4f)break;else _0x26042a['push'](_0x26042a['shift']());}catch(_0x35cc92){_0x26042a['push'](_0x26042a['shift']());}}}(a198_0x44de,0x3dfb6));function a198_0x44de(){const _0x11b872=['340024Clngwo','120CNAjCv','/app/','https://daily.lovrabet.com','https://user.lovrabet.com','12XzwcVZ','192105fVqNuu','https://api.lovrabet.com','1226185PsgjtR','/web-app/app/','runtimeDomain','60800qToTfd','441AbiTJT','trim','1414548ueWjjv','367748IObMDN','apiDomain','https://app.lovrabet.com','634269odtGBv'];a198_0x44de=function(){return _0x11b872;};return a198_0x44de();}import{getEnv,isProduction}from'../constant/env.js';let customApiDomain,customUserDomain,customRuntimeDomain;export function initDomains(_0x16b75c){const _0x3fa976=a198_0x3f08;customApiDomain=_0x16b75c?.[_0x3fa976(0x1ab)],customUserDomain=_0x16b75c?.['userDomain'],customRuntimeDomain=_0x16b75c?.[_0x3fa976(0x1b8)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?a198_0x43ae51(0x1b2):'https://user-daily.lovrabet.com');function a198_0x3f08(_0x34a609,_0x3c6f76){_0x34a609=_0x34a609-0x1a8;const _0x44de41=a198_0x44de();let _0x3f08db=_0x44de41[_0x34a609];return _0x3f08db;}export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?a198_0x43ae51(0x1b5):'https://daily-api.lovrabet.com');export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?'https://runtime.lovrabet.com':'https://daily-runtime.lovrabet.com');export const getAppDomain=()=>isProduction(getEnv())?a198_0x43ae51(0x1ac):a198_0x43ae51(0x1b1);export const getAppBaseUrl=_0x2d6565=>{const _0x3e8068=a198_0x43ae51,_0x1b713d=encodeURIComponent(_0x2d6565[_0x3e8068(0x1a8)]());return isProduction(getEnv())?getAppDomain()+_0x3e8068(0x1b0)+_0x1b713d:getAppDomain()+_0x3e8068(0x1b7)+_0x1b713d;};
@@ -1 +1 @@
1
- const a201_0x4292ec=a201_0x410f;(function(_0x24b894,_0x463333){const _0x86e7f6=a201_0x410f,_0x4dead9=_0x24b894();while(!![]){try{const _0x38eff1=parseInt(_0x86e7f6(0x118))/0x1*(parseInt(_0x86e7f6(0x11f))/0x2)+-parseInt(_0x86e7f6(0x122))/0x3*(-parseInt(_0x86e7f6(0x125))/0x4)+-parseInt(_0x86e7f6(0x123))/0x5+-parseInt(_0x86e7f6(0x127))/0x6*(parseInt(_0x86e7f6(0x126))/0x7)+-parseInt(_0x86e7f6(0x117))/0x8*(-parseInt(_0x86e7f6(0x11e))/0x9)+-parseInt(_0x86e7f6(0x11a))/0xa+-parseInt(_0x86e7f6(0x119))/0xb*(-parseInt(_0x86e7f6(0x11b))/0xc);if(_0x38eff1===_0x463333)break;else _0x4dead9['push'](_0x4dead9['shift']());}catch(_0x13b4ce){_0x4dead9['push'](_0x4dead9['shift']());}}}(a201_0x156c,0xd9efd));export const RABETBASE_ENV_VALUES=['production','daily'];function a201_0x156c(){const _0x20cf84=['1168812WDBwxv','52JTMOKD','online','development','24FvcQme','7767155lwZvtH','production','314576LWcuds','7vcwTyz','6481902bUlijx','40QwYqDW','9056srXpqb','11PtsBJb','3753730MTGGNd','28654104KptOCo','daily','dev'];a201_0x156c=function(){return _0x20cf84;};return a201_0x156c();}export function normalizeEnv(_0x1c9323){const _0x39dd83=a201_0x410f;return _0x1c9323===_0x39dd83(0x120)?'production':_0x1c9323;}export function isProduction(_0x4c4e23){const _0x2c5763=a201_0x410f;return normalizeEnv(_0x4c4e23)===_0x2c5763(0x124);}export function isDaily(_0x11d9c3){const _0x2e6a73=a201_0x410f;return normalizeEnv(_0x11d9c3)===_0x2e6a73(0x11c);}export function isDev(_0x467d86){const _0x2535aa=a201_0x410f,_0x23cc55=normalizeEnv(_0x467d86);return _0x23cc55===_0x2535aa(0x121)||_0x23cc55===_0x2535aa(0x11d);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a201_0x4292ec(0x124));function a201_0x410f(_0x47adec,_0x50118c){_0x47adec=_0x47adec-0x117;const _0x156cea=a201_0x156c();let _0x410f41=_0x156cea[_0x47adec];return _0x410f41;}export function getEnv(){return env;}export function initEnv(_0xe9e749){env=normalizeEnv(_0xe9e749);}
1
+ function a199_0x3e53(_0x44cedc,_0x562213){_0x44cedc=_0x44cedc-0xfd;const _0x45fdaf=a199_0x45fd();let _0x3e5373=_0x45fdaf[_0x44cedc];return _0x3e5373;}const a199_0x1c1682=a199_0x3e53;(function(_0x3b0b01,_0x3f858e){const _0x3b9f6e=a199_0x3e53,_0x46c52a=_0x3b0b01();while(!![]){try{const _0xcdd873=-parseInt(_0x3b9f6e(0x101))/0x1*(-parseInt(_0x3b9f6e(0x107))/0x2)+parseInt(_0x3b9f6e(0x10a))/0x3+parseInt(_0x3b9f6e(0xfd))/0x4+parseInt(_0x3b9f6e(0x102))/0x5+-parseInt(_0x3b9f6e(0x105))/0x6*(-parseInt(_0x3b9f6e(0x108))/0x7)+parseInt(_0x3b9f6e(0x109))/0x8*(parseInt(_0x3b9f6e(0x106))/0x9)+-parseInt(_0x3b9f6e(0x104))/0xa;if(_0xcdd873===_0x3f858e)break;else _0x46c52a['push'](_0x46c52a['shift']());}catch(_0x16e28c){_0x46c52a['push'](_0x46c52a['shift']());}}}(a199_0x45fd,0xc9627));function a199_0x45fd(){const _0x69346a=['280737PpWSGl','2bFpgUG','7rcEMBR','344yWJpoB','1760424wESzJp','2778276aDHOIx','daily','online','development','76814IjhyCy','6769635iaTsZc','production','46109030xUGRtN','8294142aDMICu'];a199_0x45fd=function(){return _0x69346a;};return a199_0x45fd();}export const RABETBASE_ENV_VALUES=['production',a199_0x1c1682(0xfe)];export function normalizeEnv(_0x1a2454){const _0x9d86e8=a199_0x1c1682;return _0x1a2454===_0x9d86e8(0xff)?_0x9d86e8(0x103):_0x1a2454;}export function isProduction(_0x2de1a4){return normalizeEnv(_0x2de1a4)==='production';}export function isDaily(_0xd83965){const _0x30edb4=a199_0x1c1682;return normalizeEnv(_0xd83965)===_0x30edb4(0xfe);}export function isDev(_0x3601e4){const _0x24d720=a199_0x1c1682,_0x54ed1f=normalizeEnv(_0x3601e4);return _0x54ed1f===_0x24d720(0x100)||_0x54ed1f==='dev';}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a199_0x1c1682(0x103));export function getEnv(){return env;}export function initEnv(_0x54215f){env=normalizeEnv(_0x54215f);}
@@ -1 +1 @@
1
- const a202_0x18e936=a202_0x1141;function a202_0x1141(_0x432024,_0x39fd7c){_0x432024=_0x432024-0x98;const _0x1e22ac=a202_0x1e22();let _0x11414c=_0x1e22ac[_0x432024];return _0x11414c;}(function(_0x208590,_0x4f43bf){const _0x1c3d77=a202_0x1141,_0x5e4523=_0x208590();while(!![]){try{const _0x79959=-parseInt(_0x1c3d77(0x99))/0x1*(-parseInt(_0x1c3d77(0x9b))/0x2)+parseInt(_0x1c3d77(0xa5))/0x3*(parseInt(_0x1c3d77(0x9d))/0x4)+-parseInt(_0x1c3d77(0x98))/0x5+parseInt(_0x1c3d77(0xa2))/0x6*(parseInt(_0x1c3d77(0xa4))/0x7)+-parseInt(_0x1c3d77(0xa0))/0x8*(parseInt(_0x1c3d77(0x9a))/0x9)+-parseInt(_0x1c3d77(0xa6))/0xa+parseInt(_0x1c3d77(0xa1))/0xb*(-parseInt(_0x1c3d77(0xa3))/0xc);if(_0x79959===_0x4f43bf)break;else _0x5e4523['push'](_0x5e4523['shift']());}catch(_0x34f147){_0x5e4523['push'](_0x5e4523['shift']());}}}(a202_0x1e22,0xb56e5));function a202_0x1e22(){const _0x22878c=['json','pretty','8IwRxTF','638MydsSg','2748CAukUb','69624hyxERk','12229EVTGQB','977187ZnEAfE','7153090uGDNlY','5222945YbRscu','9oJMVtj','1094481hwQYPM','263078PLKSoC','compress','12WdwAEg'];a202_0x1e22=function(){return _0x22878c;};return a202_0x1e22();}export const RABETBASE_OUTPUT_FORMAT_VALUES=[a202_0x18e936(0x9e),a202_0x18e936(0x9f),a202_0x18e936(0x9c)];
1
+ const a200_0x1ffa27=a200_0x30fe;function a200_0x3fea(){const _0xa9d684=['1998456MEnAvI','1240bhlvxP','21813wwqtEJ','1591177BSqmLp','json','184588DHZyja','25qjTGCY','38712YpgxiT','6snYMzf','682146qHKWNw','104998RyPqJu','1GoNFvQ'];a200_0x3fea=function(){return _0xa9d684;};return a200_0x3fea();}function a200_0x30fe(_0x4c74c3,_0x5eec62){_0x4c74c3=_0x4c74c3-0xfc;const _0x3feaf8=a200_0x3fea();let _0x30fea2=_0x3feaf8[_0x4c74c3];return _0x30fea2;}(function(_0x2324cc,_0x4b0144){const _0xcffcdd=a200_0x30fe,_0x3ef19f=_0x2324cc();while(!![]){try{const _0x19dc47=-parseInt(_0xcffcdd(0x103))/0x1*(parseInt(_0xcffcdd(0x102))/0x2)+-parseInt(_0xcffcdd(0x100))/0x3*(parseInt(_0xcffcdd(0xfd))/0x4)+-parseInt(_0xcffcdd(0xfe))/0x5*(parseInt(_0xcffcdd(0xff))/0x6)+parseInt(_0xcffcdd(0x107))/0x7+parseInt(_0xcffcdd(0x104))/0x8+parseInt(_0xcffcdd(0x101))/0x9+parseInt(_0xcffcdd(0x105))/0xa*(-parseInt(_0xcffcdd(0x106))/0xb);if(_0x19dc47===_0x4b0144)break;else _0x3ef19f['push'](_0x3ef19f['shift']());}catch(_0x487c88){_0x3ef19f['push'](_0x3ef19f['shift']());}}}(a200_0x3fea,0x1fbaf));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a200_0x1ffa27(0xfc),'pretty','compress'];
@@ -1 +1 @@
1
- function a203_0x2f10(){const _0x382bca=['9pTFPnt','1wQehLC','5286nUCovE','./src/api','71558MYfjJO','3315455aHtGlr','1113406xcOHWt','31056yKTWap','3ujqNXO','84FYFtMY','1850pmlEUq','5107820mAlTZT','7402256KHvIiN'];a203_0x2f10=function(){return _0x382bca;};return a203_0x2f10();}const a203_0x4e308a=a203_0x5a20;(function(_0x3f6671,_0x3501ee){const _0x527cfd=a203_0x5a20,_0x18ce63=_0x3f6671();while(!![]){try{const _0x35af25=parseInt(_0x527cfd(0x7b))/0x1*(-parseInt(_0x527cfd(0x7e))/0x2)+-parseInt(_0x527cfd(0x82))/0x3*(-parseInt(_0x527cfd(0x81))/0x4)+parseInt(_0x527cfd(0x84))/0x5*(-parseInt(_0x527cfd(0x7c))/0x6)+parseInt(_0x527cfd(0x80))/0x7+-parseInt(_0x527cfd(0x79))/0x8+parseInt(_0x527cfd(0x7a))/0x9*(-parseInt(_0x527cfd(0x78))/0xa)+parseInt(_0x527cfd(0x7f))/0xb*(parseInt(_0x527cfd(0x83))/0xc);if(_0x35af25===_0x3501ee)break;else _0x18ce63['push'](_0x18ce63['shift']());}catch(_0x1b8371){_0x18ce63['push'](_0x18ce63['shift']());}}}(a203_0x2f10,0x74e7c));function a203_0x5a20(_0x38a5ec,_0x249aaf){_0x38a5ec=_0x38a5ec-0x78;const _0x2f108e=a203_0x2f10();let _0x5a20f9=_0x2f108e[_0x38a5ec];return _0x5a20f9;}export const DEFAULT_API_DIR=a203_0x4e308a(0x7d);
1
+ const a201_0x33ef34=a201_0x5374;function a201_0x57fb(){const _0x5e5842=['120762TGFXJm','1137PcdVHZ','127YjpSBz','2504dMjQnp','111210ekThTV','1078CRlkiy','15006GXoXDd','4746096iSdUuh','7207740uPxbzz','3064OypePh','21133ArjlMi','110xzgBiH','./src/api'];a201_0x57fb=function(){return _0x5e5842;};return a201_0x57fb();}(function(_0x50af93,_0x4b0b77){const _0x44ca1d=a201_0x5374,_0x290430=_0x50af93();while(!![]){try{const _0x4e6afd=-parseInt(_0x44ca1d(0x192))/0x1*(parseInt(_0x44ca1d(0x189))/0x2)+parseInt(_0x44ca1d(0x191))/0x3*(-parseInt(_0x44ca1d(0x193))/0x4)+-parseInt(_0x44ca1d(0x18e))/0x5*(parseInt(_0x44ca1d(0x190))/0x6)+-parseInt(_0x44ca1d(0x18d))/0x7*(-parseInt(_0x44ca1d(0x18c))/0x8)+-parseInt(_0x44ca1d(0x18a))/0x9+-parseInt(_0x44ca1d(0x194))/0xa*(-parseInt(_0x44ca1d(0x195))/0xb)+parseInt(_0x44ca1d(0x18b))/0xc;if(_0x4e6afd===_0x4b0b77)break;else _0x290430['push'](_0x290430['shift']());}catch(_0x21a75c){_0x290430['push'](_0x290430['shift']());}}}(a201_0x57fb,0xa79ab));function a201_0x5374(_0xad3a9c,_0x5f3344){_0xad3a9c=_0xad3a9c-0x189;const _0x57fb38=a201_0x57fb();let _0x5374f8=_0x57fb38[_0xad3a9c];return _0x5374f8;}export const DEFAULT_API_DIR=a201_0x33ef34(0x18f);
@@ -1 +1 @@
1
- function a204_0x5242(){const _0x1b46b6=['high-risk-write','236TezTJQ','1155135kiYZbo','write','2441844UiXjDU','519407cpPzuR','1151670kqzkDY','13245FiNvzD','10jMoDKs','8uBBSug','239151zfQfwN','219862VFdvOS','read'];a204_0x5242=function(){return _0x1b46b6;};return a204_0x5242();}const a204_0x1aac66=a204_0x209c;(function(_0x1823c7,_0x20ff3f){const _0x33819c=a204_0x209c,_0xa5fced=_0x1823c7();while(!![]){try{const _0x522839=parseInt(_0x33819c(0x1b1))/0x1+parseInt(_0x33819c(0x1b2))/0x2+-parseInt(_0x33819c(0x1bb))/0x3*(parseInt(_0x33819c(0x1b5))/0x4)+parseInt(_0x33819c(0x1b6))/0x5+parseInt(_0x33819c(0x1ba))/0x6+-parseInt(_0x33819c(0x1b9))/0x7*(parseInt(_0x33819c(0x1b0))/0x8)+-parseInt(_0x33819c(0x1b8))/0x9*(parseInt(_0x33819c(0x1af))/0xa);if(_0x522839===_0x20ff3f)break;else _0xa5fced['push'](_0xa5fced['shift']());}catch(_0x23b6a5){_0xa5fced['push'](_0xa5fced['shift']());}}}(a204_0x5242,0x288a4));function a204_0x209c(_0x47aea6,_0x4f69c4){_0x47aea6=_0x47aea6-0x1af;const _0x5242ec=a204_0x5242();let _0x209ca6=_0x5242ec[_0x47aea6];return _0x209ca6;}export const RISK_LEVEL_VALUES=[a204_0x1aac66(0x1b3),a204_0x1aac66(0x1b7),a204_0x1aac66(0x1b4)];
1
+ const a202_0xab4c9d=a202_0x3e06;function a202_0x3e06(_0x11131e,_0x2a96c4){_0x11131e=_0x11131e-0x10b;const _0xfa99ba=a202_0xfa99();let _0x3e06ec=_0xfa99ba[_0x11131e];return _0x3e06ec;}function a202_0xfa99(){const _0x9276fd=['4318920UtHjmy','646016uxXqSe','74324QcFpAy','115oaDIZA','136rcEOgb','942330xehqBV','read','288856qarxci','88026ccTYBf','5GRKUfs','write'];a202_0xfa99=function(){return _0x9276fd;};return a202_0xfa99();}(function(_0x1d26d2,_0x397e33){const _0x906d43=a202_0x3e06,_0x2724af=_0x1d26d2();while(!![]){try{const _0xc6cf10=parseInt(_0x906d43(0x110))/0x1*(-parseInt(_0x906d43(0x114))/0x2)+parseInt(_0x906d43(0x10c))/0x3+parseInt(_0x906d43(0x10e))/0x4+parseInt(_0x906d43(0x115))/0x5*(-parseInt(_0x906d43(0x10f))/0x6)+-parseInt(_0x906d43(0x113))/0x7+-parseInt(_0x906d43(0x10b))/0x8+parseInt(_0x906d43(0x112))/0x9;if(_0xc6cf10===_0x397e33)break;else _0x2724af['push'](_0x2724af['shift']());}catch(_0x45e997){_0x2724af['push'](_0x2724af['shift']());}}}(a202_0xfa99,0x3d320));export const RISK_LEVEL_VALUES=[a202_0xab4c9d(0x10d),a202_0xab4c9d(0x111),'high-risk-write'];