@lovrabet/lovrabet-cli 2.0.7 → 2.0.8

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 (68) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/app/cache.js +1 -1
  3. package/lib/commands/app/definitions.js +1 -1
  4. package/lib/commands/app/mock-loader.js +1 -1
  5. package/lib/commands/app/remote-source.js +1 -1
  6. package/lib/commands/app/shared.js +1 -1
  7. package/lib/commands/auth/index.js +1 -1
  8. package/lib/commands/auth/prompt.js +1 -1
  9. package/lib/commands/bff/detail.js +1 -1
  10. package/lib/commands/bff/exec.js +1 -1
  11. package/lib/commands/bff/index.js +1 -1
  12. package/lib/commands/common/config-policy.js +1 -1
  13. package/lib/commands/common/constraints.js +1 -1
  14. package/lib/commands/common/flags.js +1 -1
  15. package/lib/commands/config/definitions.js +1 -1
  16. package/lib/commands/config/shared.js +1 -1
  17. package/lib/commands/data/index.js +1 -1
  18. package/lib/commands/dataset/detail.js +1 -1
  19. package/lib/commands/dataset/index.js +1 -1
  20. package/lib/commands/dataset/list.js +1 -1
  21. package/lib/commands/doctor.js +1 -1
  22. package/lib/commands/init.js +1 -1
  23. package/lib/commands/logs/index.js +1 -1
  24. package/lib/commands/registry.js +1 -1
  25. package/lib/commands/schema.js +1 -1
  26. package/lib/commands/skill/index.js +1 -1
  27. package/lib/commands/sql/detail.js +1 -1
  28. package/lib/commands/sql/exec.js +1 -1
  29. package/lib/commands/sql/index.js +1 -1
  30. package/lib/commands/update.js +1 -1
  31. package/lib/config/schema.js +1 -1
  32. package/lib/constant/auth-mode.js +1 -1
  33. package/lib/constant/cli.js +1 -1
  34. package/lib/constant/defaults.js +1 -1
  35. package/lib/constant/distribution.js +1 -1
  36. package/lib/constant/domain.js +1 -1
  37. package/lib/constant/env.js +1 -1
  38. package/lib/constant/output.js +1 -1
  39. package/lib/constant/product.js +1 -1
  40. package/lib/constant/risk.js +1 -1
  41. package/lib/constant/url.js +1 -1
  42. package/lib/context.js +1 -1
  43. package/lib/core/api-client.js +1 -1
  44. package/lib/core/db-resolver.js +1 -1
  45. package/lib/core/sdk-client.js +1 -1
  46. package/lib/errors.js +1 -1
  47. package/lib/framework/build-all-flags.js +1 -1
  48. package/lib/framework/dryrun.js +1 -1
  49. package/lib/framework/flags.js +1 -1
  50. package/lib/framework/help.js +1 -1
  51. package/lib/framework/index.js +1 -1
  52. package/lib/framework/output.js +1 -1
  53. package/lib/framework/preparse.js +1 -1
  54. package/lib/framework/response.js +1 -1
  55. package/lib/framework/runner-confirmation.js +1 -1
  56. package/lib/framework/runner-error.js +1 -1
  57. package/lib/framework/runner.js +1 -1
  58. package/lib/framework/schema-export.js +1 -1
  59. package/lib/framework/types.js +1 -1
  60. package/lib/help.js +1 -1
  61. package/lib/skills/npx-skills-add.js +1 -1
  62. package/lib/utils/apply-jq-filter.js +1 -1
  63. package/lib/utils/logger.js +1 -1
  64. package/lib/utils/params.js +1 -1
  65. package/lib/utils/platform.js +1 -1
  66. package/lib/utils/version.js +1 -1
  67. package/lib/utils/write-cli-side-channel.js +1 -1
  68. package/package.json +1 -1
@@ -1 +1 @@
1
- const a34_0xd126b2=a34_0x1f5c;(function(_0x1be09d,_0x19e6a0){const _0x5210fb=a34_0x1f5c,_0x23b494=_0x1be09d();while(!![]){try{const _0x1d73ea=-parseInt(_0x5210fb(0x6b))/0x1*(-parseInt(_0x5210fb(0x76))/0x2)+parseInt(_0x5210fb(0x71))/0x3*(-parseInt(_0x5210fb(0x73))/0x4)+parseInt(_0x5210fb(0x77))/0x5+-parseInt(_0x5210fb(0x6f))/0x6*(parseInt(_0x5210fb(0x78))/0x7)+-parseInt(_0x5210fb(0x6a))/0x8*(parseInt(_0x5210fb(0x74))/0x9)+-parseInt(_0x5210fb(0x72))/0xa+parseInt(_0x5210fb(0x75))/0xb*(parseInt(_0x5210fb(0x6d))/0xc);if(_0x1d73ea===_0x19e6a0)break;else _0x23b494['push'](_0x23b494['shift']());}catch(_0x3b52b1){_0x23b494['push'](_0x23b494['shift']());}}}(a34_0x1774,0xe0914));function a34_0x1774(){const _0x4e5fad=['skillSource','6qjEhvw','239980NkRYzt','1765596lSnKlx','1306863VEVXVz','7513tJiAOG','58qbqrgc','3420570NyfdTX','7lxyrcg','8ZaLJQm','51185pLkpbG','npmRegistryBaseUrl','9708CYNAGn','npmPackageName','4495170DcNSOe'];a34_0x1774=function(){return _0x4e5fad;};return a34_0x1774();}function a34_0x1f5c(_0x142673,_0x487f23){_0x142673=_0x142673-0x6a;const _0x177454=a34_0x1774();let _0x1f5c5e=_0x177454[_0x142673];return _0x1f5c5e;}import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a34_0xd126b2(0x6e)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a34_0xd126b2(0x70)];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a34_0xd126b2(0x6c)];
1
+ const a34_0x4e4206=a34_0x2436;function a34_0x2436(_0x52c459,_0xc5f430){_0x52c459=_0x52c459-0x18c;const _0x4c183a=a34_0x4c18();let _0x243698=_0x4c183a[_0x52c459];return _0x243698;}(function(_0xcbf445,_0x356b79){const _0x2d45c8=a34_0x2436,_0x12adac=_0xcbf445();while(!![]){try{const _0x3a2e7f=parseInt(_0x2d45c8(0x192))/0x1*(parseInt(_0x2d45c8(0x190))/0x2)+parseInt(_0x2d45c8(0x195))/0x3+parseInt(_0x2d45c8(0x18d))/0x4*(parseInt(_0x2d45c8(0x18c))/0x5)+-parseInt(_0x2d45c8(0x198))/0x6+parseInt(_0x2d45c8(0x194))/0x7*(-parseInt(_0x2d45c8(0x18e))/0x8)+-parseInt(_0x2d45c8(0x193))/0x9*(-parseInt(_0x2d45c8(0x191))/0xa)+-parseInt(_0x2d45c8(0x199))/0xb;if(_0x3a2e7f===_0x356b79)break;else _0x12adac['push'](_0x12adac['shift']());}catch(_0x14299b){_0x12adac['push'](_0x12adac['shift']());}}}(a34_0x4c18,0x206f7));import{PRODUCT_CONFIG}from'../constant/product.js';function a34_0x4c18(){const _0x5597dd=['8UlFdpi','npmPackageName','437110SROnNK','50ETYjKA','1xxUOjs','77733TxnfMM','235585eNDXlS','787824tAdCxv','skillSource','npmRegistryBaseUrl','1061676vONoxi','3448632QKmqfx','6980zyMzVC','380JjXtUq'];a34_0x4c18=function(){return _0x5597dd;};return a34_0x4c18();}export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a34_0x4e4206(0x18f)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a34_0x4e4206(0x196)];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a34_0x4e4206(0x197)];
@@ -1 +1 @@
1
- const a35_0x3439a6=a35_0x21a4;function a35_0xaa03(){const _0x578033=['runtime','3424083URVSzP','userDomain','332oSkUen','domains','208VXpnOW','31272iAfvGy','29326340dehmtn','apiDomain','nonProduction','user','api','production','637BNyHfk','7076yqjQlQ','8983917pegGZT','runtimeDomain','43385aIivFR','5547042ofybTe'];a35_0xaa03=function(){return _0x578033;};return a35_0xaa03();}(function(_0x462e36,_0x5e5e9e){const _0x35832a=a35_0x21a4,_0x2765e2=_0x462e36();while(!![]){try{const _0x373b95=parseInt(_0x35832a(0x120))/0x1*(-parseInt(_0x35832a(0x129))/0x2)+-parseInt(_0x35832a(0x12f))/0x3+parseInt(_0x35832a(0x131))/0x4*(-parseInt(_0x35832a(0x12c))/0x5)+parseInt(_0x35832a(0x12d))/0x6+-parseInt(_0x35832a(0x128))/0x7*(-parseInt(_0x35832a(0x121))/0x8)+-parseInt(_0x35832a(0x12a))/0x9+parseInt(_0x35832a(0x122))/0xa;if(_0x373b95===_0x5e5e9e)break;else _0x2765e2['push'](_0x2765e2['shift']());}catch(_0x5791dc){_0x2765e2['push'](_0x2765e2['shift']());}}}(a35_0xaa03,0x96ae7));import{getEnv,isProduction}from'../constant/env.js';function a35_0x21a4(_0x403005,_0x59dd7d){_0x403005=_0x403005-0x11f;const _0xaa039=a35_0xaa03();let _0x21a461=_0xaa039[_0x403005];return _0x21a461;}import{PRODUCT_CONFIG}from'../constant/product.js';let customApiDomain,customUserDomain,customRuntimeDomain;export function initDomains(_0x78be70){const _0x2850cd=a35_0x21a4;customApiDomain=_0x78be70?.[_0x2850cd(0x123)],customUserDomain=_0x78be70?.[_0x2850cd(0x130)],customRuntimeDomain=_0x78be70?.[_0x2850cd(0x12b)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a35_0x3439a6(0x11f)][a35_0x3439a6(0x127)][a35_0x3439a6(0x125)]:PRODUCT_CONFIG[a35_0x3439a6(0x11f)]['nonProduction']['user']);export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a35_0x3439a6(0x11f)][a35_0x3439a6(0x127)][a35_0x3439a6(0x126)]:PRODUCT_CONFIG[a35_0x3439a6(0x11f)][a35_0x3439a6(0x124)][a35_0x3439a6(0x126)]);export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a35_0x3439a6(0x11f)][a35_0x3439a6(0x127)][a35_0x3439a6(0x12e)]:PRODUCT_CONFIG[a35_0x3439a6(0x11f)][a35_0x3439a6(0x124)][a35_0x3439a6(0x12e)]);
1
+ function a35_0x2b88(_0x1756f4,_0x652532){_0x1756f4=_0x1756f4-0x14e;const _0x423b66=a35_0x423b();let _0x2b889d=_0x423b66[_0x1756f4];return _0x2b889d;}const a35_0x5aa87a=a35_0x2b88;(function(_0xe08ebc,_0x41f7bb){const _0x3901a6=a35_0x2b88,_0x3dcfee=_0xe08ebc();while(!![]){try{const _0x3fe4df=parseInt(_0x3901a6(0x151))/0x1*(parseInt(_0x3901a6(0x152))/0x2)+parseInt(_0x3901a6(0x155))/0x3+-parseInt(_0x3901a6(0x15c))/0x4*(parseInt(_0x3901a6(0x158))/0x5)+-parseInt(_0x3901a6(0x159))/0x6+-parseInt(_0x3901a6(0x15b))/0x7*(-parseInt(_0x3901a6(0x15d))/0x8)+parseInt(_0x3901a6(0x14e))/0x9+-parseInt(_0x3901a6(0x15a))/0xa;if(_0x3fe4df===_0x41f7bb)break;else _0x3dcfee['push'](_0x3dcfee['shift']());}catch(_0x664c1c){_0x3dcfee['push'](_0x3dcfee['shift']());}}}(a35_0x423b,0xb4ab6));import{getEnv,isProduction}from'../constant/env.js';import{PRODUCT_CONFIG}from'../constant/product.js';let customApiDomain,customUserDomain,customRuntimeDomain;export function initDomains(_0x3efe55){const _0x485439=a35_0x2b88;customApiDomain=_0x3efe55?.['apiDomain'],customUserDomain=_0x3efe55?.['userDomain'],customRuntimeDomain=_0x3efe55?.[_0x485439(0x154)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?PRODUCT_CONFIG['domains'][a35_0x5aa87a(0x153)][a35_0x5aa87a(0x15e)]:PRODUCT_CONFIG[a35_0x5aa87a(0x150)][a35_0x5aa87a(0x156)][a35_0x5aa87a(0x15e)]);function a35_0x423b(){const _0x8fe067=['1699593KkgRYQ','60NOjOvm','8TtAquE','user','5739498eAokOj','api','domains','42220TUkbqn','52YWrFbn','production','runtimeDomain','3830112CCIcxy','nonProduction','runtime','470805VcTySI','363060uuvJDa','10419980ZlrOQt'];a35_0x423b=function(){return _0x8fe067;};return a35_0x423b();}export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?PRODUCT_CONFIG['domains'][a35_0x5aa87a(0x153)][a35_0x5aa87a(0x14f)]:PRODUCT_CONFIG['domains'][a35_0x5aa87a(0x156)]['api']);export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a35_0x5aa87a(0x150)]['production']['runtime']:PRODUCT_CONFIG[a35_0x5aa87a(0x150)][a35_0x5aa87a(0x156)][a35_0x5aa87a(0x157)]);
@@ -1 +1 @@
1
- const a36_0x203daf=a36_0x3f98;(function(_0xa56532,_0x16ade8){const _0x128e5d=a36_0x3f98,_0x8bbf3f=_0xa56532();while(!![]){try{const _0x3ddde7=-parseInt(_0x128e5d(0x77))/0x1+parseInt(_0x128e5d(0x72))/0x2*(-parseInt(_0x128e5d(0x6e))/0x3)+-parseInt(_0x128e5d(0x71))/0x4*(parseInt(_0x128e5d(0x74))/0x5)+-parseInt(_0x128e5d(0x6c))/0x6+-parseInt(_0x128e5d(0x70))/0x7+-parseInt(_0x128e5d(0x6b))/0x8+parseInt(_0x128e5d(0x73))/0x9;if(_0x3ddde7===_0x16ade8)break;else _0x8bbf3f['push'](_0x8bbf3f['shift']());}catch(_0x3e98f9){_0x8bbf3f['push'](_0x8bbf3f['shift']());}}}(a36_0x4a31,0xda8f5));import{productEnv}from'../constant/product.js';function a36_0x4a31(){const _0x197677=['production','8572120YHjSBC','4135296nRSsgJ','online','561EhYhCi','development','8890539SofCWQ','3087340Onvgun','10106iowYpS','66415374TuGUbs','10fdhhZH','daily','ENV','964876JAjlhi'];a36_0x4a31=function(){return _0x197677;};return a36_0x4a31();}export const RUNTIME_ENV_VALUES=[a36_0x203daf(0x6a),a36_0x203daf(0x6f),a36_0x203daf(0x75)];export function normalizeEnv(_0x505279){const _0x372f00=a36_0x203daf;return _0x505279===_0x372f00(0x6d)?_0x372f00(0x6a):_0x505279;}export function isProduction(_0x3c45dd){const _0x1aec89=a36_0x203daf;return normalizeEnv(_0x3c45dd)===_0x1aec89(0x6a);}export function isDaily(_0x4c9f79){const _0x4cceb0=a36_0x203daf;return normalizeEnv(_0x4c9f79)===_0x4cceb0(0x75);}export function isDev(_0x2f1173){const _0x298089=normalizeEnv(_0x2f1173);return _0x298089==='development'||_0x298089==='dev';}let env=normalizeEnv(productEnv(a36_0x203daf(0x76))||a36_0x203daf(0x6a));export function getEnv(){return env;}function a36_0x3f98(_0x3256a1,_0x5d8617){_0x3256a1=_0x3256a1-0x6a;const _0x4a3101=a36_0x4a31();let _0x3f98a5=_0x4a3101[_0x3256a1];return _0x3f98a5;}export function initEnv(_0x52e0e4){env=normalizeEnv(_0x52e0e4);}
1
+ const a36_0x7d7fcb=a36_0x3a9d;(function(_0x1be752,_0xcb9488){const _0x20b982=a36_0x3a9d,_0xd8343c=_0x1be752();while(!![]){try{const _0x4dae04=parseInt(_0x20b982(0x141))/0x1+parseInt(_0x20b982(0x143))/0x2+parseInt(_0x20b982(0x13d))/0x3+parseInt(_0x20b982(0x138))/0x4*(parseInt(_0x20b982(0x139))/0x5)+parseInt(_0x20b982(0x13c))/0x6*(parseInt(_0x20b982(0x13b))/0x7)+-parseInt(_0x20b982(0x144))/0x8+-parseInt(_0x20b982(0x13e))/0x9*(parseInt(_0x20b982(0x142))/0xa);if(_0x4dae04===_0xcb9488)break;else _0xd8343c['push'](_0xd8343c['shift']());}catch(_0x147235){_0xd8343c['push'](_0xd8343c['shift']());}}}(a36_0x13e3,0x501aa));function a36_0x3a9d(_0x3f94c3,_0x2af89c){_0x3f94c3=_0x3f94c3-0x138;const _0x13e357=a36_0x13e3();let _0x3a9d35=_0x13e357[_0x3f94c3];return _0x3a9d35;}import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a36_0x7d7fcb(0x146),a36_0x7d7fcb(0x13a),'daily'];export function normalizeEnv(_0x53b3a7){const _0x381011=a36_0x7d7fcb;return _0x53b3a7===_0x381011(0x13f)?'production':_0x53b3a7;}export function isProduction(_0x540b7b){const _0x41c098=a36_0x7d7fcb;return normalizeEnv(_0x540b7b)===_0x41c098(0x146);}export function isDaily(_0x3325b5){const _0x11bc5c=a36_0x7d7fcb;return normalizeEnv(_0x3325b5)===_0x11bc5c(0x140);}export function isDev(_0xa7b168){const _0x420dc3=normalizeEnv(_0xa7b168);return _0x420dc3==='development'||_0x420dc3==='dev';}function a36_0x13e3(){const _0x1e66be=['347826RUTCFu','8103456jHpsNL','online','daily','162248SMukHn','10valEzc','1022598lxodQp','1452392JImFYh','ENV','production','35372TlmZKk','205PScqoI','development','1805909dfOXAf','6jEOlJi'];a36_0x13e3=function(){return _0x1e66be;};return a36_0x13e3();}let env=normalizeEnv(productEnv(a36_0x7d7fcb(0x145))||a36_0x7d7fcb(0x146));export function getEnv(){return env;}export function initEnv(_0x2fa0b6){env=normalizeEnv(_0x2fa0b6);}
@@ -1 +1 @@
1
- const a37_0x405b09=a37_0x535f;function a37_0x1b9d(){const _0x2390cd=['5xejACJ','32cybzmc','3670idtbtf','2220517FtAZJg','json','1533354UZvHYX','5hQRGoJ','240eikXNs','8426NraJYt','36858qTxIZg','pretty','12eEfjoW','39949CKgQIq','1353292juerGn','1247733OESRON'];a37_0x1b9d=function(){return _0x2390cd;};return a37_0x1b9d();}function a37_0x535f(_0x54ca3b,_0x44d210){_0x54ca3b=_0x54ca3b-0x16c;const _0x1b9df6=a37_0x1b9d();let _0x535fee=_0x1b9df6[_0x54ca3b];return _0x535fee;}(function(_0x175b99,_0x2800a4){const _0x20b574=a37_0x535f,_0x452cf3=_0x175b99();while(!![]){try{const _0x4c2abf=parseInt(_0x20b574(0x178))/0x1*(-parseInt(_0x20b574(0x16c))/0x2)+-parseInt(_0x20b574(0x177))/0x3+-parseInt(_0x20b574(0x170))/0x4*(parseInt(_0x20b574(0x172))/0x5)+parseInt(_0x20b574(0x179))/0x6*(parseInt(_0x20b574(0x16f))/0x7)+-parseInt(_0x20b574(0x173))/0x8*(-parseInt(_0x20b574(0x171))/0x9)+-parseInt(_0x20b574(0x174))/0xa*(-parseInt(_0x20b574(0x17a))/0xb)+parseInt(_0x20b574(0x16e))/0xc*(parseInt(_0x20b574(0x175))/0xd);if(_0x4c2abf===_0x2800a4)break;else _0x452cf3['push'](_0x452cf3['shift']());}catch(_0x96594f){_0x452cf3['push'](_0x452cf3['shift']());}}}(a37_0x1b9d,0x47935));export const OUTPUT_FORMAT_VALUES=[a37_0x405b09(0x176),a37_0x405b09(0x16d),'compress'];
1
+ const a37_0x12419d=a37_0x5c35;(function(_0x3d9827,_0x4782fb){const _0x4d8999=a37_0x5c35,_0x53f0c1=_0x3d9827();while(!![]){try{const _0x4d9050=parseInt(_0x4d8999(0x1ed))/0x1*(parseInt(_0x4d8999(0x1e6))/0x2)+parseInt(_0x4d8999(0x1e7))/0x3+parseInt(_0x4d8999(0x1ea))/0x4+parseInt(_0x4d8999(0x1ee))/0x5+-parseInt(_0x4d8999(0x1ef))/0x6+parseInt(_0x4d8999(0x1e8))/0x7*(-parseInt(_0x4d8999(0x1f1))/0x8)+parseInt(_0x4d8999(0x1eb))/0x9;if(_0x4d9050===_0x4782fb)break;else _0x53f0c1['push'](_0x53f0c1['shift']());}catch(_0x4e42cc){_0x53f0c1['push'](_0x53f0c1['shift']());}}}(a37_0xe8b0,0x1b570));function a37_0xe8b0(){const _0x3f779a=['compress','184UzafwD','40682qOgPml','391434pHzekN','65163jYqUQe','pretty','488780wiWFCR','1361772aOTpgU','json','3qYaxkf','260780ZgSRgr','1146414lckJmN'];a37_0xe8b0=function(){return _0x3f779a;};return a37_0xe8b0();}function a37_0x5c35(_0x5a6705,_0x311470){_0x5a6705=_0x5a6705-0x1e6;const _0xe8b0f6=a37_0xe8b0();let _0x5c3555=_0xe8b0f6[_0x5a6705];return _0x5c3555;}export const OUTPUT_FORMAT_VALUES=[a37_0x12419d(0x1ec),a37_0x12419d(0x1e9),a37_0x12419d(0x1f0)];
@@ -1 +1 @@
1
- const a38_0x221504=a38_0x5195;(function(_0x4714ae,_0x51626d){const _0x100491=a38_0x5195,_0x38e284=_0x4714ae();while(!![]){try{const _0x2660dd=-parseInt(_0x100491(0x15a))/0x1*(-parseInt(_0x100491(0x13e))/0x2)+parseInt(_0x100491(0x148))/0x3*(-parseInt(_0x100491(0x159))/0x4)+parseInt(_0x100491(0x157))/0x5*(parseInt(_0x100491(0x143))/0x6)+-parseInt(_0x100491(0x15c))/0x7*(parseInt(_0x100491(0x14a))/0x8)+parseInt(_0x100491(0x142))/0x9+parseInt(_0x100491(0x14c))/0xa*(parseInt(_0x100491(0x150))/0xb)+-parseInt(_0x100491(0x151))/0xc*(parseInt(_0x100491(0x155))/0xd);if(_0x2660dd===_0x51626d)break;else _0x38e284['push'](_0x38e284['shift']());}catch(_0x2225c8){_0x38e284['push'](_0x38e284['shift']());}}}(a38_0x48c2,0x737bf));function a38_0x5195(_0x10dc95,_0x42409a){_0x10dc95=_0x10dc95-0x13e;const _0x48c22b=a38_0x48c2();let _0x5195e8=_0x48c22b[_0x10dc95];return _0x5195e8;}function a38_0x48c2(){const _0xc54339=['12hKdPTI','https://registry.npmjs.org','Lovrabet\x20Runtime\x20CLI','https://runtime.lovrabet.com','5939063DfXtql','Lovrabet\x20User\x20Center','40Ufbpzk','https://daily-api.lovrabet.com','12zWzAbf','3LdciGk','.lovrabet-runtime.log','2758Fkzxyk','.lovrabet.json','262298OdvVek','RABETBASE','lovrabet/lovrabet-cli','https://daily-runtime.lovrabet.com','4516614PYFBbc','551274qqZUJW','envPrefix','https://api.lovrabet.com','https://user-daily.lovrabet.com','@lovrabet/lovrabet-cli','322287odtlOs','/user/ak','15832ZqXLzZ','lovrabet','669270cUzRgj','cli:lovrabet-runtime','.lovrabet','SKIP_NPX_SKILLS','66SZxjrC'];a38_0x48c2=function(){return _0xc54339;};return a38_0x48c2();}export const PRODUCT_CONFIG={'cliBinName':a38_0x221504(0x14b),'cliDisplayName':a38_0x221504(0x153),'npmPackageName':a38_0x221504(0x147),'skillSource':a38_0x221504(0x140),'npmRegistryBaseUrl':a38_0x221504(0x152),'envPrefix':'LOVRABET','legacyEnvPrefixes':[a38_0x221504(0x13f)],'configFileNames':['.lovrabet.json','.lovrabetrc'],'newConfigFileName':a38_0x221504(0x15d),'homeDirName':a38_0x221504(0x14e),'logFileName':a38_0x221504(0x15b),'invokeSource':a38_0x221504(0x14d),'userCenterDisplayName':a38_0x221504(0x156),'skipNpxSkillsEnvSuffix':a38_0x221504(0x14f),'domains':{'production':{'user':'https://user.lovrabet.com','api':a38_0x221504(0x145),'runtime':a38_0x221504(0x154)},'nonProduction':{'user':a38_0x221504(0x146),'api':a38_0x221504(0x158),'runtime':a38_0x221504(0x141)}},'accessKeyCreatePath':a38_0x221504(0x149)};export function productEnvName(_0x1b04a8){const _0x2be0fc=a38_0x221504;return PRODUCT_CONFIG[_0x2be0fc(0x144)]+'_'+_0x1b04a8;}export function productEnvNames(_0x2697c7){return[productEnvName(_0x2697c7),...PRODUCT_CONFIG['legacyEnvPrefixes']['map'](_0x42ddb6=>_0x42ddb6+'_'+_0x2697c7)];}export function productEnv(_0x4ed822){for(const _0x2d8644 of productEnvNames(_0x4ed822)){const _0x5b9795=process.env[_0x2d8644];if(_0x5b9795!==undefined)return _0x5b9795;}return undefined;}
1
+ const a38_0x38c31f=a38_0x1902;function a38_0x1902(_0x5efd6f,_0x2e14f0){_0x5efd6f=_0x5efd6f-0x183;const _0x4e5b87=a38_0x4e5b();let _0x1902c0=_0x4e5b87[_0x5efd6f];return _0x1902c0;}(function(_0x59c847,_0x493eed){const _0x413801=a38_0x1902,_0x543dcb=_0x59c847();while(!![]){try{const _0x4788f2=-parseInt(_0x413801(0x19d))/0x1*(-parseInt(_0x413801(0x199))/0x2)+-parseInt(_0x413801(0x186))/0x3+-parseInt(_0x413801(0x193))/0x4*(-parseInt(_0x413801(0x185))/0x5)+parseInt(_0x413801(0x18f))/0x6+-parseInt(_0x413801(0x189))/0x7+parseInt(_0x413801(0x18d))/0x8*(-parseInt(_0x413801(0x19e))/0x9)+parseInt(_0x413801(0x18e))/0xa;if(_0x4788f2===_0x493eed)break;else _0x543dcb['push'](_0x543dcb['shift']());}catch(_0xf4ba3b){_0x543dcb['push'](_0x543dcb['shift']());}}}(a38_0x4e5b,0x6d08a));export const PRODUCT_CONFIG={'cliBinName':a38_0x38c31f(0x195),'cliDisplayName':'Lovrabet\x20Runtime\x20CLI','npmPackageName':a38_0x38c31f(0x187),'skillSource':a38_0x38c31f(0x19c),'npmRegistryBaseUrl':a38_0x38c31f(0x18b),'envPrefix':'LOVRABET','legacyEnvPrefixes':[a38_0x38c31f(0x196)],'configFileNames':[a38_0x38c31f(0x18a),a38_0x38c31f(0x19a)],'newConfigFileName':'.lovrabet.json','homeDirName':'.lovrabet','logFileName':a38_0x38c31f(0x19b),'invokeSource':a38_0x38c31f(0x188),'userCenterDisplayName':a38_0x38c31f(0x192),'skipNpxSkillsEnvSuffix':a38_0x38c31f(0x190),'domains':{'production':{'user':a38_0x38c31f(0x198),'api':a38_0x38c31f(0x183),'runtime':a38_0x38c31f(0x191)},'nonProduction':{'user':'https://user-daily.lovrabet.com','api':a38_0x38c31f(0x18c),'runtime':a38_0x38c31f(0x197)}},'accessKeyCreatePath':'/user/ak'};export function productEnvName(_0x4cc575){const _0x2a74da=a38_0x38c31f;return PRODUCT_CONFIG[_0x2a74da(0x194)]+'_'+_0x4cc575;}export function productEnvNames(_0x457164){const _0x450cd7=a38_0x38c31f;return[productEnvName(_0x457164),...PRODUCT_CONFIG[_0x450cd7(0x184)]['map'](_0x568cd2=>_0x568cd2+'_'+_0x457164)];}export function productEnv(_0x20f155){for(const _0x4b2d39 of productEnvNames(_0x20f155)){const _0x1c0369=process.env[_0x4b2d39];if(_0x1c0369!==undefined)return _0x1c0369;}return undefined;}function a38_0x4e5b(){const _0xbad546=['https://registry.npmjs.org','https://daily-api.lovrabet.com','248MsmtwM','14128810mCUEAW','732486KOaAAL','SKIP_NPX_SKILLS','https://runtime.lovrabet.com','Lovrabet\x20User\x20Center','4eZcjrk','envPrefix','lovrabet','RABETBASE','https://daily-runtime.lovrabet.com','https://user.lovrabet.com','2vctPGl','.lovrabetrc','.lovrabet-runtime.log','lovrabet/lovrabet-cli','454903zvalQG','181017CNzaDs','https://api.lovrabet.com','legacyEnvPrefixes','550045ucCQqs','1613577SFBgCw','@lovrabet/lovrabet-cli','cli:lovrabet-runtime','3443370yHPLzc','.lovrabet.json'];a38_0x4e5b=function(){return _0xbad546;};return a38_0x4e5b();}
@@ -1 +1 @@
1
- function a39_0x1281(_0x15c288,_0x52c591){_0x15c288=_0x15c288-0x1c0;const _0x3d6428=a39_0x3d64();let _0x1281f4=_0x3d6428[_0x15c288];return _0x1281f4;}const a39_0x171605=a39_0x1281;(function(_0x2ee785,_0x4eb49f){const _0x548559=a39_0x1281,_0x4966a3=_0x2ee785();while(!![]){try{const _0x538743=parseInt(_0x548559(0x1c3))/0x1+parseInt(_0x548559(0x1c5))/0x2*(-parseInt(_0x548559(0x1c9))/0x3)+-parseInt(_0x548559(0x1c1))/0x4+parseInt(_0x548559(0x1c6))/0x5+-parseInt(_0x548559(0x1ca))/0x6*(-parseInt(_0x548559(0x1c2))/0x7)+-parseInt(_0x548559(0x1c8))/0x8*(parseInt(_0x548559(0x1c7))/0x9)+parseInt(_0x548559(0x1c0))/0xa;if(_0x538743===_0x4eb49f)break;else _0x4966a3['push'](_0x4966a3['shift']());}catch(_0x446d0e){_0x4966a3['push'](_0x4966a3['shift']());}}}(a39_0x3d64,0xc7550));function a39_0x3d64(){const _0x34ab41=['2669229ajtQmd','24ZDtsnT','3KvqxSA','6PfQzFZ','high-risk-write','28633920tGpDVA','3020612oXFHZF','415793MNNzFu','205079YZlcIA','write','3233510srhuCI','4751225xQaGJm'];a39_0x3d64=function(){return _0x34ab41;};return a39_0x3d64();}export const RISK_LEVEL_VALUES=['read',a39_0x171605(0x1c4),a39_0x171605(0x1cb)];
1
+ function a39_0x3f2b(){const _0xc1eb52=['5BZzScg','2532456qwXBZO','10jCOwbQ','read','high-risk-write','write','2176664ihAPCp','466938ENVZnD','4222AqBykz','248wiKQsj','1441932cxLgrh','2502024HyBGlY','95264nGpSwN'];a39_0x3f2b=function(){return _0xc1eb52;};return a39_0x3f2b();}function a39_0x559f(_0x312da2,_0x23fbf1){_0x312da2=_0x312da2-0xfe;const _0x3f2b58=a39_0x3f2b();let _0x559fac=_0x3f2b58[_0x312da2];return _0x559fac;}const a39_0x37ec24=a39_0x559f;(function(_0x218259,_0x5af567){const _0x177f81=a39_0x559f,_0xde227a=_0x218259();while(!![]){try{const _0x4fd033=-parseInt(_0x177f81(0x108))/0x1*(parseInt(_0x177f81(0x109))/0x2)+parseInt(_0x177f81(0xfe))/0x3+-parseInt(_0x177f81(0xff))/0x4+parseInt(_0x177f81(0x100))/0x5*(parseInt(_0x177f81(0x10a))/0x6)+-parseInt(_0x177f81(0x106))/0x7+parseInt(_0x177f81(0x101))/0x8+-parseInt(_0x177f81(0x107))/0x9*(parseInt(_0x177f81(0x102))/0xa);if(_0x4fd033===_0x5af567)break;else _0xde227a['push'](_0xde227a['shift']());}catch(_0x471970){_0xde227a['push'](_0xde227a['shift']());}}}(a39_0x3f2b,0x755c5));export const RISK_LEVEL_VALUES=[a39_0x37ec24(0x103),a39_0x37ec24(0x105),a39_0x37ec24(0x104)];
@@ -1 +1 @@
1
- const a40_0x55700e=a40_0x419c;function a40_0x1246(){const _0x557cdb=['15614080yzGOdq','58uIOpzH','2047944ZeaRay','production','accessKeyCreatePath','21630hHxweE','domains','5219052wRMYwP','1029049SMysjM','user','703094YTPaeC','833395nkGvUW'];a40_0x1246=function(){return _0x557cdb;};return a40_0x1246();}(function(_0x380620,_0x3941ed){const _0x1cdd9a=a40_0x419c,_0x5e0023=_0x380620();while(!![]){try{const _0x27e4da=parseInt(_0x1cdd9a(0x10e))/0x1+parseInt(_0x1cdd9a(0x113))/0x2*(-parseInt(_0x1cdd9a(0x10b))/0x3)+parseInt(_0x1cdd9a(0x114))/0x4+parseInt(_0x1cdd9a(0x111))/0x5+parseInt(_0x1cdd9a(0x10d))/0x6+parseInt(_0x1cdd9a(0x110))/0x7+-parseInt(_0x1cdd9a(0x112))/0x8;if(_0x27e4da===_0x3941ed)break;else _0x5e0023['push'](_0x5e0023['shift']());}catch(_0x147ee0){_0x5e0023['push'](_0x5e0023['shift']());}}}(a40_0x1246,0x7e41c));import{PRODUCT_CONFIG}from'../constant/product.js';function a40_0x419c(_0x12be9b,_0x37a44d){_0x12be9b=_0x12be9b-0x10a;const _0x12460d=a40_0x1246();let _0x419c2b=_0x12460d[_0x12be9b];return _0x419c2b;}export const USER_ACCESS_KEY_CREATE_URL=''+PRODUCT_CONFIG[a40_0x55700e(0x10c)][a40_0x55700e(0x115)][a40_0x55700e(0x10f)]+PRODUCT_CONFIG[a40_0x55700e(0x10a)];
1
+ const a40_0x39adf6=a40_0x5a1e;(function(_0x37f9fc,_0x53b75e){const _0x2dbfdc=a40_0x5a1e,_0x5ab40f=_0x37f9fc();while(!![]){try{const _0x25ffd9=parseInt(_0x2dbfdc(0x1bf))/0x1+parseInt(_0x2dbfdc(0x1be))/0x2*(-parseInt(_0x2dbfdc(0x1c1))/0x3)+-parseInt(_0x2dbfdc(0x1c2))/0x4*(-parseInt(_0x2dbfdc(0x1b6))/0x5)+parseInt(_0x2dbfdc(0x1b8))/0x6*(-parseInt(_0x2dbfdc(0x1b7))/0x7)+parseInt(_0x2dbfdc(0x1c3))/0x8+-parseInt(_0x2dbfdc(0x1bd))/0x9*(parseInt(_0x2dbfdc(0x1bc))/0xa)+-parseInt(_0x2dbfdc(0x1b9))/0xb*(-parseInt(_0x2dbfdc(0x1bb))/0xc);if(_0x25ffd9===_0x53b75e)break;else _0x5ab40f['push'](_0x5ab40f['shift']());}catch(_0x74b686){_0x5ab40f['push'](_0x5ab40f['shift']());}}}(a40_0x5d9e,0xe9804));function a40_0x5a1e(_0x502800,_0x11d643){_0x502800=_0x502800-0x1b5;const _0x5d9e1a=a40_0x5d9e();let _0x5a1e05=_0x5d9e1a[_0x502800];return _0x5a1e05;}import{PRODUCT_CONFIG}from'../constant/product.js';export const USER_ACCESS_KEY_CREATE_URL=''+PRODUCT_CONFIG[a40_0x39adf6(0x1ba)]['production'][a40_0x39adf6(0x1b5)]+PRODUCT_CONFIG[a40_0x39adf6(0x1c0)];function a40_0x5d9e(){const _0x56c7ef=['685235xFLMaM','14XbvaXY','1844856LUUUOK','11CIOCgA','domains','8963196xCBaDT','1110MDaFdR','123984HcoSoz','102OaqnBb','1705809GZypoc','accessKeyCreatePath','92577bPNlky','32rIOalR','9001592aIvDFC','user'];a40_0x5d9e=function(){return _0x56c7ef;};return a40_0x5d9e();}
package/lib/context.js CHANGED
@@ -1 +1 @@
1
- const a41_0x575ed1=a41_0xba5a;function a41_0xba5a(_0x5d662a,_0x54feb0){_0x5d662a=_0x5d662a-0xd3;const _0x31c99b=a41_0x31c9();let _0xba5a0b=_0x31c99b[_0x5d662a];return _0xba5a0b;}(function(_0x5ad452,_0x3e9e89){const _0x3330a5=a41_0xba5a,_0x21b19c=_0x5ad452();while(!![]){try{const _0x197a46=-parseInt(_0x3330a5(0xf1))/0x1*(parseInt(_0x3330a5(0x104))/0x2)+-parseInt(_0x3330a5(0xe7))/0x3*(-parseInt(_0x3330a5(0xe8))/0x4)+parseInt(_0x3330a5(0xd8))/0x5*(parseInt(_0x3330a5(0xdc))/0x6)+parseInt(_0x3330a5(0x11a))/0x7*(-parseInt(_0x3330a5(0xdb))/0x8)+parseInt(_0x3330a5(0xf2))/0x9+-parseInt(_0x3330a5(0xda))/0xa*(-parseInt(_0x3330a5(0xe6))/0xb)+-parseInt(_0x3330a5(0xed))/0xc;if(_0x197a46===_0x3e9e89)break;else _0x21b19c['push'](_0x21b19c['shift']());}catch(_0x22e2a7){_0x21b19c['push'](_0x21b19c['shift']());}}}(a41_0x31c9,0x8be8e));import{readFileSync,existsSync,mkdirSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{homedir}from'node:os';import{logger}from'./utils/logger.js';import{CliErrors}from'./errors.js';import{CLI_BIN_NAME}from'./constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvNames}from'./constant/product.js';import{DEFAULT_CONFIG_VALUES}from'./constant/defaults.js';import{normalizeEnv,isDaily,isDev}from'./constant/env.js';import{normalizeLegacyOutputFormat}from'./framework/types.js';import{resolveCachedAppCode}from'./commands/app/cache.js';export{AUTH_MODE,isAuthMode}from'./constant/auth-mode.js';const CONFIG_NAMES=PRODUCT_CONFIG[a41_0x575ed1(0xd4)];export const NEW_CONFIG_NAME=PRODUCT_CONFIG['newConfigFileName'];function resolveConfigPath(_0x19a05a){for(const _0x2467c4 of CONFIG_NAMES){const _0x1272ee=resolve(_0x19a05a,_0x2467c4);if(existsSync(_0x1272ee))return _0x1272ee;}return undefined;}export function resolveWriteConfigPath(_0xfc7703){const _0x3ba780=a41_0x575ed1,_0xddc39f=_0xfc7703===_0x3ba780(0x111)?process[_0x3ba780(0xf3)]():homedir(),_0x5bc46e=resolveConfigPath(_0xddc39f);return _0x5bc46e??resolve(_0xddc39f,NEW_CONFIG_NAME);}export function readConfigFile(_0x399752){const _0x927f18=a41_0x575ed1;try{if(existsSync(_0x399752)){const _0x5d7caf=readFileSync(_0x399752,{'encoding':'utf8'});if(_0x5d7caf){const _0x1a24e4=JSON[_0x927f18(0x116)](_0x5d7caf);return migrateOnlineEnv(_0x399752,_0x1a24e4),_0x1a24e4;}}}catch{}return{};}function migrateOnlineEnv(_0x4b9976,_0xaa2775){const _0x1fd0a7=a41_0x575ed1;let _0x5eb7b7=![];_0xaa2775[_0x1fd0a7(0xf8)]===_0x1fd0a7(0x115)&&(_0xaa2775[_0x1fd0a7(0xf8)]='production',_0x5eb7b7=!![]);if(_0xaa2775[_0x1fd0a7(0x10a)]&&typeof _0xaa2775[_0x1fd0a7(0x10a)]===_0x1fd0a7(0x10f))for(const _0x1c6b14 of Object[_0x1fd0a7(0xd7)](_0xaa2775[_0x1fd0a7(0x10a)])){_0x1c6b14&&_0x1c6b14[_0x1fd0a7(0xf8)]==='online'&&(_0x1c6b14[_0x1fd0a7(0xf8)]=_0x1fd0a7(0x11e),_0x5eb7b7=!![]);}if(_0x5eb7b7)try{writeConfigFile(_0x4b9976,_0xaa2775);}catch{}}export function writeConfigFile(_0x538c1d,_0x56b6f4){const _0xb7772a=a41_0x575ed1,_0x2b3a31=dirname(_0x538c1d);!existsSync(_0x2b3a31)&&mkdirSync(_0x2b3a31,{'recursive':!![]});const _0x2155b3=_0x538c1d+'.tmp';try{writeFileSync(_0x2155b3,JSON['stringify'](_0x56b6f4,null,0x2)+'\x0a',{'encoding':_0xb7772a(0x112),'mode':0x180});try{renameSync(_0x2155b3,_0x538c1d);}catch(_0x4e7f04){if(_0x4e7f04[_0xb7772a(0xe2)]===_0xb7772a(0xd3)||_0x4e7f04[_0xb7772a(0xe2)]==='EXDEV'||_0x4e7f04[_0xb7772a(0xe2)]===_0xb7772a(0xfa)){writeFileSync(_0x538c1d,JSON[_0xb7772a(0x102)](_0x56b6f4,null,0x2)+'\x0a',{'encoding':'utf8'});try{unlinkSync(_0x2155b3);}catch{}}else throw _0x4e7f04;}}catch(_0x53dd92){try{unlinkSync(_0x2155b3);}catch{}throw _0x53dd92;}}export function isNonInteractiveMode(_0x285e3c){const _0x25ef1d=a41_0x575ed1;return!!(_0x285e3c[_0x25ef1d(0x11c)]||_0x285e3c['ci']||productEnvNames('CI')['some'](_0x18bc3a=>process.env[_0x18bc3a]===_0x25ef1d(0xff))||process.env.CI===_0x25ef1d(0xff)||!process[_0x25ef1d(0xe0)][_0x25ef1d(0x11b)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x4d9ba9=a41_0x575ed1;if(!process[_0x4d9ba9(0x10b)][_0x4d9ba9(0x11b)])return![];try{const _0x25daee=process[_0x4d9ba9(0x10b)][_0x4d9ba9(0x103)];return process['stdin']['setRawMode'](!![]),process[_0x4d9ba9(0x10b)][_0x4d9ba9(0x118)](_0x25daee??![]),!![];}catch{return![];}}export async function createContext(_0x17a624){const _0x3322bd=a41_0x575ed1,_0x4b293e=readRawConfig(),_0x57955a=buildConfig(_0x4b293e,_0x17a624);await initGlobalEnvironment(_0x57955a);const {getUserDomain:_0x3887f0,getApiDomain:_0x302c04}=await import(_0x3322bd(0xfc)),_0x37c6c9={'apiDomain':_0x302c04(),'userDomain':_0x3887f0()},_0x16c40a=await buildAuth(_0x57955a);logger['setLogPath'](process['cwd']());const _0x5c2f10=(CLI_BIN_NAME+'\x20'+process['argv']['slice'](0x2)[_0x3322bd(0xfd)]('\x20'))[_0x3322bd(0xfe)]();logger[_0x3322bd(0x10d)](_0x5c2f10);const _0x2119f3=isNonInteractiveMode(_0x17a624);return{'config':_0x57955a,'auth':_0x16c40a,'logger':logger,'env':_0x37c6c9,'nonInteractive':_0x2119f3};}export function buildConfigFromFlags(_0x38cf16){return buildConfig(readRawConfig(),_0x38cf16);}export function getLocalAppAliases(_0x4fab23){const _0x435a8a=a41_0x575ed1;return _0x4fab23[_0x435a8a(0x10a)]&&typeof _0x4fab23['apps']===_0x435a8a(0x10f)?_0x4fab23[_0x435a8a(0x10a)]:{};}export function resolveLocalAppAliasCode(_0x108275,_0x57747e){const _0x525147=a41_0x575ed1;if(!_0x57747e)return undefined;const _0x1feb93=getLocalAppAliases(_0x108275)[_0x57747e],_0xe10860=_0x1feb93?.['appcode'];return typeof _0xe10860===_0x525147(0xdf)&&_0xe10860['trim']()?_0xe10860[_0x525147(0xfe)]():undefined;}export function readAppCodeFromConfig(){const _0x3eba6e=a41_0x575ed1,_0x2acbb7=readRawConfig(),_0xbcf352=_0x2acbb7[_0x3eba6e(0x105)]??_0x2acbb7[_0x3eba6e(0xdd)];if(typeof _0xbcf352==='string'&&_0xbcf352[_0x3eba6e(0xfe)]())return _0xbcf352[_0x3eba6e(0xfe)]();const _0xc9e9c4=resolveLocalAppAliasCode(_0x2acbb7,typeof _0x2acbb7[_0x3eba6e(0xde)]===_0x3eba6e(0xdf)?_0x2acbb7['defaultApp']:undefined);if(_0xc9e9c4)return _0xc9e9c4;const _0x1732f6=normalizeEnv(String(_0x2acbb7['env']||_0x3eba6e(0x11e))),_0x469c43=isDaily(_0x1732f6)?_0x3eba6e(0x113):isDev(_0x1732f6)?_0x3eba6e(0xe1):'production',_0x4865a3=resolveCachedAppCode(typeof _0x2acbb7[_0x3eba6e(0xde)]===_0x3eba6e(0xdf)?_0x2acbb7['defaultApp']:undefined,_0x469c43,typeof _0x2acbb7[_0x3eba6e(0xeb)]==='string'?_0x2acbb7[_0x3eba6e(0xeb)]:undefined);if(_0x4865a3)return _0x4865a3;const _0x555175=Object['values'](getLocalAppAliases(_0x2acbb7))[_0x3eba6e(0x110)](_0x36c141=>_0x36c141?.[_0x3eba6e(0x105)]);return typeof _0x555175?.[_0x3eba6e(0x105)]===_0x3eba6e(0xdf)&&_0x555175[_0x3eba6e(0x105)][_0x3eba6e(0xfe)]()?_0x555175[_0x3eba6e(0x105)]['trim']():undefined;}export function readScopedConfig(_0x3cdeee){const _0x4f0e2f=a41_0x575ed1,_0x5e2862=_0x3cdeee['global']?_0x4f0e2f(0xe3):_0x4f0e2f(0x111);return readConfigFile(resolveWriteConfigPath(_0x5e2862));}export function writeScopedConfig(_0x27ee1e,_0x23b786){const _0x3fc4f4=a41_0x575ed1,_0xd2a257=_0x23b786[_0x3fc4f4(0xe3)]?_0x3fc4f4(0xe3):_0x3fc4f4(0x111);writeConfigFile(resolveWriteConfigPath(_0xd2a257),_0x27ee1e);}export async function initGlobalEnvironment(_0x492572){const _0x285202=a41_0x575ed1,{initEnv:_0x2ff4fa}=await import(_0x285202(0xef));_0x2ff4fa(_0x492572[_0x285202(0xf8)]);const {initDomains:_0x2eecff}=await import(_0x285202(0xfc));_0x2eecff({'apiDomain':_0x492572[_0x285202(0xd6)][_0x285202(0x11d)]||_0x492572[_0x285202(0xd6)][_0x285202(0x119)]||undefined,'userDomain':_0x492572[_0x285202(0xd6)][_0x285202(0xf4)]||undefined,'runtimeDomain':_0x492572[_0x285202(0xd6)][_0x285202(0x109)]||undefined});}export function getProjectConfigPath(){const _0x4a4a44=a41_0x575ed1;return resolveConfigPath(process[_0x4a4a44(0xf3)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x2a4f23){const _0x533997=a41_0x575ed1;if(!existsSync(_0x2a4f23))return{'status':_0x533997(0xf9)};try{const _0x537abd=readFileSync(_0x2a4f23,{'encoding':'utf8'});if(!_0x537abd?.['trim']())return{'status':_0x533997(0xf5)};const _0x2154b9=JSON[_0x533997(0x116)](_0x537abd);return{'status':'ok','data':_0x2154b9};}catch(_0x161eff){return{'status':_0x533997(0xe9),'message':_0x161eff instanceof Error?_0x161eff[_0x533997(0xf7)]:String(_0x161eff)};}}export function loadRawConfigLayers(_0x3a37f8){const _0x12ae87=a41_0x575ed1;let _0x5158b3={},_0x3cd846={},_0x226374,_0xee938e;try{_0x226374=resolveConfigPath(homedir());if(_0x226374){const _0x546570=readFileSync(_0x226374,{'encoding':_0x12ae87(0x112)});if(_0x546570)_0x5158b3=JSON[_0x12ae87(0x116)](_0x546570);}}catch{}try{const _0x31d1d2=_0x3a37f8||process[_0x12ae87(0xf3)]();_0xee938e=resolveConfigPath(_0x31d1d2);if(_0xee938e){const _0x5749ba=readFileSync(_0xee938e,{'encoding':_0x12ae87(0x112)});if(_0x5749ba)_0x3cd846=JSON[_0x12ae87(0x116)](_0x5749ba);}}catch{}return{'globalPath':_0x226374,'projectPath':_0xee938e,'globalConfig':_0x5158b3,'projectConfig':_0x3cd846};}function a41_0x31c9(){const _0x3c85c3=['trim','true','FORMAT','cache','stringify','isRaw','829706bJNTxD','appcode','maxRisk','pageSize','high-risk-write','runtimeDomain','apps','stdin','riskLevel','setRawCommand','projectConfig','object','find','project','utf8','daily','locale','online','parse','APPCODE','setRawMode','host','854eXfBTn','isTTY','nonInteractive','apiDomain','production','EPERM','configFileNames','format','raw','values','74960CqWEBM','VERBOSE','3361970VpyMQF','1360qMOdJS','150NDowoA','app','defaultApp','string','stdout','development','code','global','write','local-alias','22yKJoWG','9WkwguC','277052pKpBJG','error','explicit','accessKey','ENV','7169976KIKlog','inherit','./constant/env.js','PAGE_SIZE','2tnlBZn','6894279XORXYw','cwd','userDomain','empty','authRequired','message','env','missing','EACCES','read','./constant/domain.js','join'];a41_0x31c9=function(){return _0x3c85c3;};return a41_0x31c9();}function mergeRawConfigLayers(_0x3063fd){const _0x14a561=a41_0x575ed1,{globalConfig:_0x3f3d7d,projectConfig:_0x34bdf3}=_0x3063fd;if(_0x34bdf3[_0x14a561(0xee)]===![]){const _0x16e144={..._0x34bdf3};return delete _0x16e144[_0x14a561(0xee)],_0x16e144;}const _0x4e8699={..._0x3f3d7d,..._0x34bdf3};if(_0x14a561(0xde)in _0x34bdf3)_0x4e8699['defaultApp']=_0x34bdf3['defaultApp'];else _0x3f3d7d[_0x14a561(0xde)]&&(_0x4e8699[_0x14a561(0xde)]=_0x3f3d7d[_0x14a561(0xde)]);return _0x4e8699;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x564e5e){return mergeRawConfigLayers(loadRawConfigLayers(_0x564e5e));}export function readRawConfigWithLayers(_0x152c6f){const _0x38eab1=loadRawConfigLayers(_0x152c6f);return{'config':mergeRawConfigLayers(_0x38eab1),'layers':_0x38eab1};}export function resolveDefaultAppSource(_0x138c07){const _0x372fb5=a41_0x575ed1;if(_0x372fb5(0xde)in _0x138c07['projectConfig'])return'project';if(_0x138c07[_0x372fb5(0x10e)][_0x372fb5(0xee)]===![])return null;if(_0x138c07['globalConfig']['defaultApp'])return _0x372fb5(0xe3);return null;}function buildConfig(_0x1349ef,_0x244ccd){const _0x1f0762=a41_0x575ed1,_0x38a781=_0x1349ef[_0x1f0762(0xde)]||undefined,_0x35384b=_0x244ccd['app']||env('APP')||undefined,_0x4a4856=_0x35384b||_0x38a781||undefined,_0x512d61=env('ACCESS_KEY')||_0x1349ef[_0x1f0762(0xeb)]||undefined,_0x7c986f=_0x244ccd[_0x1f0762(0xf8)]||env(_0x1f0762(0xec))||_0x1349ef['env']||DEFAULT_CONFIG_VALUES[_0x1f0762(0xf8)],_0x15cd5b=normalizeEnv(String(_0x7c986f)),_0x433672=isDaily(_0x15cd5b)?_0x1f0762(0x113):isDev(_0x15cd5b)?_0x1f0762(0xe1):_0x1f0762(0x11e),_0x11fbcb=resolveLocalAppAliasCode(_0x1349ef,_0x4a4856),_0x5ab0c0=resolveCachedAppCode(_0x4a4856,_0x433672,_0x512d61),_0x833e16=typeof _0x244ccd[_0x1f0762(0x105)]==='string'?_0x244ccd[_0x1f0762(0x105)]:undefined,_0x48611f=env(_0x1f0762(0x117)),_0x5cfaad=_0x35384b?undefined:_0x1349ef[_0x1f0762(0x105)]||_0x1349ef[_0x1f0762(0xdd)]||undefined,_0x56a548=_0x833e16||_0x48611f||_0x11fbcb||_0x5ab0c0||_0x5cfaad||undefined,_0x5364de=_0x833e16?_0x1f0762(0xea):_0x48611f?'env':_0x11fbcb?_0x1f0762(0xe5):_0x5ab0c0?_0x1f0762(0x101):_0x5cfaad?'top-level':undefined,_0x10e8d7=_0x1349ef[_0x1f0762(0x114)]||DEFAULT_CONFIG_VALUES[_0x1f0762(0x114)],_0x15c6da=undefined,_0x46f2d4=_0x244ccd['format']||env(_0x1f0762(0x100))||_0x1349ef[_0x1f0762(0xd5)],_0x4ea175=normalizeLegacyOutputFormat(_0x46f2d4),_0x1fcd63=env(_0x1f0762(0xf0))||_0x1349ef[_0x1f0762(0x107)],_0xe2c959=_0x1fcd63?Number(_0x1fcd63)||undefined:undefined,_0x15efcc=_0x1349ef[_0x1f0762(0x10c)]||_0x1349ef[_0x1f0762(0x106)],_0x1d51aa=_0x15efcc===_0x1f0762(0xfb)||_0x15efcc===_0x1f0762(0xe4)||_0x15efcc===_0x1f0762(0x108)?_0x15efcc:DEFAULT_CONFIG_VALUES[_0x1f0762(0x10c)],_0x427fbe=env(_0x1f0762(0xd9)),_0x3d4800=_0x427fbe==='1'||_0x427fbe===_0x1f0762(0xff);return{'appCode':typeof _0x56a548==='string'&&_0x56a548[_0x1f0762(0xfe)]()?_0x56a548[_0x1f0762(0xfe)]():undefined,'appCodeSource':_0x5364de,'env':_0x433672,'locale':_0x10e8d7,'cookie':_0x15c6da,'accessKey':_0x512d61,'format':_0x4ea175,'pageSize':_0xe2c959,'riskLevel':_0x1d51aa,'verbose':_0x3d4800,'defaultApp':_0x38a781,'currentApp':typeof _0x4a4856==='string'?_0x4a4856:undefined,'raw':_0x1349ef};}function env(_0x5aa4bc){return productEnv(_0x5aa4bc);}async function buildAuth(_0x58f132){const _0x103698='',_0x2e2e4c=!!_0x58f132['accessKey'];return{'cookie':_0x103698,'isLoggedIn':_0x2e2e4c,async 'getOrLogin'(){const _0x2c2e4d=a41_0xba5a;if(_0x2e2e4c)return _0x103698;throw CliErrors[_0x2c2e4d(0xf6)]();}};}
1
+ const a41_0xbb3efe=a41_0x259b;function a41_0x259b(_0x2bb2a5,_0x74f521){_0x2bb2a5=_0x2bb2a5-0x181;const _0x165225=a41_0x1652();let _0x259ba7=_0x165225[_0x2bb2a5];return _0x259ba7;}(function(_0x580479,_0x2a7abe){const _0x16b522=a41_0x259b,_0x330083=_0x580479();while(!![]){try{const _0x5cc25b=-parseInt(_0x16b522(0x1b3))/0x1+-parseInt(_0x16b522(0x188))/0x2*(parseInt(_0x16b522(0x183))/0x3)+-parseInt(_0x16b522(0x1b4))/0x4+parseInt(_0x16b522(0x1aa))/0x5+parseInt(_0x16b522(0x1c6))/0x6*(parseInt(_0x16b522(0x1a8))/0x7)+-parseInt(_0x16b522(0x1b9))/0x8+parseInt(_0x16b522(0x193))/0x9;if(_0x5cc25b===_0x2a7abe)break;else _0x330083['push'](_0x330083['shift']());}catch(_0x330243){_0x330083['push'](_0x330083['shift']());}}}(a41_0x1652,0x4c251));import{readFileSync,existsSync,mkdirSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{homedir}from'node:os';import{logger}from'./utils/logger.js';import{CliErrors}from'./errors.js';import{CLI_BIN_NAME}from'./constant/cli.js';function a41_0x1652(){const _0x1d82cc=['online','daily','ENV','setRawMode','apiDomain','production','top-level','./constant/env.js','isRaw','runtimeDomain','globalConfig','raw','.tmp','missing','write','pageSize','7RqMiYW','setLogPath','1641965XcRpNR','locale','riskLevel','slice','parse','high-risk-write','inherit','cache','VERBOSE','571730tAASDq','1050684JvOsLV','authRequired','newConfigFileName','appcode','local-alias','4360088AfLJvP','maxRisk','accessKey','argv','configFileNames','development','APPCODE','apps','global','ACCESS_KEY','message','project','stdout','3361398saqNgm','join','env','stdin','projectConfig','63033YhCDLb','host','object','values','APP','50WWNNGw','./constant/domain.js','defaultApp','stringify','cwd','trim','nonInteractive','string','format','error','some','11951550iTNkXi','app','code','EACCES','utf8'];a41_0x1652=function(){return _0x1d82cc;};return a41_0x1652();}import{PRODUCT_CONFIG,productEnv,productEnvNames}from'./constant/product.js';import{DEFAULT_CONFIG_VALUES}from'./constant/defaults.js';import{normalizeEnv,isDaily,isDev}from'./constant/env.js';import{normalizeLegacyOutputFormat}from'./framework/types.js';import{resolveCachedAppCode}from'./commands/app/cache.js';export{AUTH_MODE,isAuthMode}from'./constant/auth-mode.js';const CONFIG_NAMES=PRODUCT_CONFIG[a41_0xbb3efe(0x1bd)];export const NEW_CONFIG_NAME=PRODUCT_CONFIG[a41_0xbb3efe(0x1b6)];function resolveConfigPath(_0x124aae){for(const _0xb79fb4 of CONFIG_NAMES){const _0x2e05cd=resolve(_0x124aae,_0xb79fb4);if(existsSync(_0x2e05cd))return _0x2e05cd;}return undefined;}export function resolveWriteConfigPath(_0x376f81){const _0x4a69c2=a41_0xbb3efe,_0xedde25=_0x376f81===_0x4a69c2(0x1c4)?process['cwd']():homedir(),_0xa43315=resolveConfigPath(_0xedde25);return _0xa43315??resolve(_0xedde25,NEW_CONFIG_NAME);}export function readConfigFile(_0x3a3b91){const _0x4144a0=a41_0xbb3efe;try{if(existsSync(_0x3a3b91)){const _0x582f4f=readFileSync(_0x3a3b91,{'encoding':_0x4144a0(0x197)});if(_0x582f4f){const _0x443dd5=JSON[_0x4144a0(0x1ae)](_0x582f4f);return migrateOnlineEnv(_0x3a3b91,_0x443dd5),_0x443dd5;}}}catch{}return{};}function migrateOnlineEnv(_0x4c0e1c,_0x145ac0){const _0x3b5314=a41_0xbb3efe;let _0x44ecb4=![];_0x145ac0[_0x3b5314(0x1c8)]==='online'&&(_0x145ac0['env']='production',_0x44ecb4=!![]);if(_0x145ac0[_0x3b5314(0x1c0)]&&typeof _0x145ac0[_0x3b5314(0x1c0)]===_0x3b5314(0x185))for(const _0x341bc0 of Object['values'](_0x145ac0[_0x3b5314(0x1c0)])){_0x341bc0&&_0x341bc0[_0x3b5314(0x1c8)]===_0x3b5314(0x198)&&(_0x341bc0['env']=_0x3b5314(0x19d),_0x44ecb4=!![]);}if(_0x44ecb4)try{writeConfigFile(_0x4c0e1c,_0x145ac0);}catch{}}export function writeConfigFile(_0x2c803b,_0x1b3064){const _0x13f9f1=a41_0xbb3efe,_0x5ee79e=dirname(_0x2c803b);!existsSync(_0x5ee79e)&&mkdirSync(_0x5ee79e,{'recursive':!![]});const _0x27c43c=_0x2c803b+_0x13f9f1(0x1a4);try{writeFileSync(_0x27c43c,JSON[_0x13f9f1(0x18b)](_0x1b3064,null,0x2)+'\x0a',{'encoding':_0x13f9f1(0x197),'mode':0x180});try{renameSync(_0x27c43c,_0x2c803b);}catch(_0x155993){if(_0x155993[_0x13f9f1(0x195)]==='EPERM'||_0x155993[_0x13f9f1(0x195)]==='EXDEV'||_0x155993[_0x13f9f1(0x195)]===_0x13f9f1(0x196)){writeFileSync(_0x2c803b,JSON['stringify'](_0x1b3064,null,0x2)+'\x0a',{'encoding':'utf8'});try{unlinkSync(_0x27c43c);}catch{}}else throw _0x155993;}}catch(_0x3c65c6){try{unlinkSync(_0x27c43c);}catch{}throw _0x3c65c6;}}export function isNonInteractiveMode(_0x193816){const _0x4320df=a41_0xbb3efe;return!!(_0x193816[_0x4320df(0x18e)]||_0x193816['ci']||productEnvNames('CI')[_0x4320df(0x192)](_0x200437=>process.env[_0x200437]==='true')||process.env.CI==='true'||!process[_0x4320df(0x1c5)]['isTTY']||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x3815d0=a41_0xbb3efe;if(!process[_0x3815d0(0x181)]['isTTY'])return![];try{const _0x22ccde=process[_0x3815d0(0x181)][_0x3815d0(0x1a0)];return process[_0x3815d0(0x181)][_0x3815d0(0x19b)](!![]),process[_0x3815d0(0x181)][_0x3815d0(0x19b)](_0x22ccde??![]),!![];}catch{return![];}}export async function createContext(_0x266514){const _0xff29a8=a41_0xbb3efe,_0x168252=readRawConfig(),_0x38f2c6=buildConfig(_0x168252,_0x266514);await initGlobalEnvironment(_0x38f2c6);const {getUserDomain:_0x512031,getApiDomain:_0x1952c9}=await import('./constant/domain.js'),_0x32761f={'apiDomain':_0x1952c9(),'userDomain':_0x512031()},_0x4bf596=await buildAuth(_0x38f2c6);logger[_0xff29a8(0x1a9)](process[_0xff29a8(0x18c)]());const _0xce028c=(CLI_BIN_NAME+'\x20'+process[_0xff29a8(0x1bc)][_0xff29a8(0x1ad)](0x2)[_0xff29a8(0x1c7)]('\x20'))[_0xff29a8(0x18d)]();logger['setRawCommand'](_0xce028c);const _0x411469=isNonInteractiveMode(_0x266514);return{'config':_0x38f2c6,'auth':_0x4bf596,'logger':logger,'env':_0x32761f,'nonInteractive':_0x411469};}export function buildConfigFromFlags(_0x129217){return buildConfig(readRawConfig(),_0x129217);}export function getLocalAppAliases(_0x3f0cbf){const _0x5a4f2e=a41_0xbb3efe;return _0x3f0cbf[_0x5a4f2e(0x1c0)]&&typeof _0x3f0cbf[_0x5a4f2e(0x1c0)]==='object'?_0x3f0cbf[_0x5a4f2e(0x1c0)]:{};}export function resolveLocalAppAliasCode(_0x17bd77,_0x482bba){const _0x5bbb7c=a41_0xbb3efe;if(!_0x482bba)return undefined;const _0x111334=getLocalAppAliases(_0x17bd77)[_0x482bba],_0x2f7133=_0x111334?.[_0x5bbb7c(0x1b7)];return typeof _0x2f7133===_0x5bbb7c(0x18f)&&_0x2f7133[_0x5bbb7c(0x18d)]()?_0x2f7133[_0x5bbb7c(0x18d)]():undefined;}export function readAppCodeFromConfig(){const _0x442b73=a41_0xbb3efe,_0x126ada=readRawConfig(),_0xe03d3c=_0x126ada['appcode']??_0x126ada[_0x442b73(0x194)];if(typeof _0xe03d3c==='string'&&_0xe03d3c[_0x442b73(0x18d)]())return _0xe03d3c[_0x442b73(0x18d)]();const _0x1142a5=resolveLocalAppAliasCode(_0x126ada,typeof _0x126ada[_0x442b73(0x18a)]===_0x442b73(0x18f)?_0x126ada[_0x442b73(0x18a)]:undefined);if(_0x1142a5)return _0x1142a5;const _0x3a83ca=normalizeEnv(String(_0x126ada['env']||_0x442b73(0x19d))),_0x5c420b=isDaily(_0x3a83ca)?_0x442b73(0x199):isDev(_0x3a83ca)?_0x442b73(0x1be):_0x442b73(0x19d),_0x14cec4=resolveCachedAppCode(typeof _0x126ada['defaultApp']===_0x442b73(0x18f)?_0x126ada[_0x442b73(0x18a)]:undefined,_0x5c420b,typeof _0x126ada[_0x442b73(0x1bb)]===_0x442b73(0x18f)?_0x126ada[_0x442b73(0x1bb)]:undefined);if(_0x14cec4)return _0x14cec4;const _0x53fb1f=Object[_0x442b73(0x186)](getLocalAppAliases(_0x126ada))['find'](_0x1e2a40=>_0x1e2a40?.[_0x442b73(0x1b7)]);return typeof _0x53fb1f?.[_0x442b73(0x1b7)]===_0x442b73(0x18f)&&_0x53fb1f[_0x442b73(0x1b7)]['trim']()?_0x53fb1f['appcode'][_0x442b73(0x18d)]():undefined;}export function readScopedConfig(_0x2c5447){const _0x2226e8=a41_0xbb3efe,_0x72b110=_0x2c5447[_0x2226e8(0x1c1)]?_0x2226e8(0x1c1):_0x2226e8(0x1c4);return readConfigFile(resolveWriteConfigPath(_0x72b110));}export function writeScopedConfig(_0x41fa65,_0x17825d){const _0x3ce2b6=a41_0xbb3efe,_0x58a001=_0x17825d[_0x3ce2b6(0x1c1)]?_0x3ce2b6(0x1c1):_0x3ce2b6(0x1c4);writeConfigFile(resolveWriteConfigPath(_0x58a001),_0x41fa65);}export async function initGlobalEnvironment(_0x18baf0){const _0x2c2bae=a41_0xbb3efe,{initEnv:_0x41db66}=await import(_0x2c2bae(0x19f));_0x41db66(_0x18baf0[_0x2c2bae(0x1c8)]);const {initDomains:_0x3fb137}=await import(_0x2c2bae(0x189));_0x3fb137({'apiDomain':_0x18baf0[_0x2c2bae(0x1a3)][_0x2c2bae(0x19c)]||_0x18baf0[_0x2c2bae(0x1a3)][_0x2c2bae(0x184)]||undefined,'userDomain':_0x18baf0[_0x2c2bae(0x1a3)]['userDomain']||undefined,'runtimeDomain':_0x18baf0[_0x2c2bae(0x1a3)][_0x2c2bae(0x1a1)]||undefined});}export function getProjectConfigPath(){const _0x32f5cb=a41_0xbb3efe;return resolveConfigPath(process[_0x32f5cb(0x18c)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x4eab73){const _0x2815db=a41_0xbb3efe;if(!existsSync(_0x4eab73))return{'status':_0x2815db(0x1a5)};try{const _0x1c75df=readFileSync(_0x4eab73,{'encoding':_0x2815db(0x197)});if(!_0x1c75df?.[_0x2815db(0x18d)]())return{'status':'empty'};const _0xe9b8a2=JSON['parse'](_0x1c75df);return{'status':'ok','data':_0xe9b8a2};}catch(_0x89df2b){return{'status':_0x2815db(0x191),'message':_0x89df2b instanceof Error?_0x89df2b[_0x2815db(0x1c3)]:String(_0x89df2b)};}}export function loadRawConfigLayers(_0x4eaf41){const _0xca549a=a41_0xbb3efe;let _0x30161c={},_0x349c1b={},_0x4626ab,_0x512739;try{_0x4626ab=resolveConfigPath(homedir());if(_0x4626ab){const _0x3a8584=readFileSync(_0x4626ab,{'encoding':_0xca549a(0x197)});if(_0x3a8584)_0x30161c=JSON[_0xca549a(0x1ae)](_0x3a8584);}}catch{}try{const _0x37f4db=_0x4eaf41||process[_0xca549a(0x18c)]();_0x512739=resolveConfigPath(_0x37f4db);if(_0x512739){const _0x136a19=readFileSync(_0x512739,{'encoding':_0xca549a(0x197)});if(_0x136a19)_0x349c1b=JSON['parse'](_0x136a19);}}catch{}return{'globalPath':_0x4626ab,'projectPath':_0x512739,'globalConfig':_0x30161c,'projectConfig':_0x349c1b};}function mergeRawConfigLayers(_0x54d847){const _0x52c297=a41_0xbb3efe,{globalConfig:_0x368dcb,projectConfig:_0x2da69e}=_0x54d847;if(_0x2da69e[_0x52c297(0x1b0)]===![]){const _0x4ba503={..._0x2da69e};return delete _0x4ba503[_0x52c297(0x1b0)],_0x4ba503;}const _0x56b710={..._0x368dcb,..._0x2da69e};if('defaultApp'in _0x2da69e)_0x56b710[_0x52c297(0x18a)]=_0x2da69e[_0x52c297(0x18a)];else _0x368dcb['defaultApp']&&(_0x56b710[_0x52c297(0x18a)]=_0x368dcb[_0x52c297(0x18a)]);return _0x56b710;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x513a1a){return mergeRawConfigLayers(loadRawConfigLayers(_0x513a1a));}export function readRawConfigWithLayers(_0x19c9a5){const _0x208450=loadRawConfigLayers(_0x19c9a5);return{'config':mergeRawConfigLayers(_0x208450),'layers':_0x208450};}export function resolveDefaultAppSource(_0x4fed28){const _0x51f70b=a41_0xbb3efe;if(_0x51f70b(0x18a)in _0x4fed28[_0x51f70b(0x182)])return _0x51f70b(0x1c4);if(_0x4fed28['projectConfig'][_0x51f70b(0x1b0)]===![])return null;if(_0x4fed28[_0x51f70b(0x1a2)][_0x51f70b(0x18a)])return _0x51f70b(0x1c1);return null;}function buildConfig(_0x3a0cff,_0x4b3564){const _0x4f5af2=a41_0xbb3efe,_0x5142db=_0x3a0cff[_0x4f5af2(0x18a)]||undefined,_0x47992c=_0x4b3564['app']||env(_0x4f5af2(0x187))||undefined,_0x13e76c=_0x47992c||_0x5142db||undefined,_0x7de6d8=env(_0x4f5af2(0x1c2))||_0x3a0cff[_0x4f5af2(0x1bb)]||undefined,_0x5e98be=_0x4b3564[_0x4f5af2(0x1c8)]||env(_0x4f5af2(0x19a))||_0x3a0cff[_0x4f5af2(0x1c8)]||DEFAULT_CONFIG_VALUES['env'],_0x225164=normalizeEnv(String(_0x5e98be)),_0x21ac4d=isDaily(_0x225164)?'daily':isDev(_0x225164)?_0x4f5af2(0x1be):_0x4f5af2(0x19d),_0x18f349=resolveLocalAppAliasCode(_0x3a0cff,_0x13e76c),_0x4014e5=resolveCachedAppCode(_0x13e76c,_0x21ac4d,_0x7de6d8),_0x5d19ff=typeof _0x4b3564['appcode']===_0x4f5af2(0x18f)?_0x4b3564[_0x4f5af2(0x1b7)]:undefined,_0x174653=env(_0x4f5af2(0x1bf)),_0x585b65=_0x47992c?undefined:_0x3a0cff[_0x4f5af2(0x1b7)]||_0x3a0cff[_0x4f5af2(0x194)]||undefined,_0x9ab470=_0x5d19ff||_0x174653||_0x18f349||_0x4014e5||_0x585b65||undefined,_0x38f9ee=_0x5d19ff?'explicit':_0x174653?_0x4f5af2(0x1c8):_0x18f349?_0x4f5af2(0x1b8):_0x4014e5?_0x4f5af2(0x1b1):_0x585b65?_0x4f5af2(0x19e):undefined,_0x140126=_0x3a0cff[_0x4f5af2(0x1ab)]||DEFAULT_CONFIG_VALUES[_0x4f5af2(0x1ab)],_0x791c61=undefined,_0x46f0d3=_0x4b3564['format']||env('FORMAT')||_0x3a0cff[_0x4f5af2(0x190)],_0x2d021c=normalizeLegacyOutputFormat(_0x46f0d3),_0xd0a89f=env('PAGE_SIZE')||_0x3a0cff[_0x4f5af2(0x1a7)],_0x7b3c39=_0xd0a89f?Number(_0xd0a89f)||undefined:undefined,_0x73b5a6=_0x3a0cff[_0x4f5af2(0x1ac)]||_0x3a0cff[_0x4f5af2(0x1ba)],_0x4f4021=_0x73b5a6==='read'||_0x73b5a6===_0x4f5af2(0x1a6)||_0x73b5a6===_0x4f5af2(0x1af)?_0x73b5a6:DEFAULT_CONFIG_VALUES[_0x4f5af2(0x1ac)],_0x43636e=env(_0x4f5af2(0x1b2)),_0x301b7e=_0x43636e==='1'||_0x43636e==='true';return{'appCode':typeof _0x9ab470==='string'&&_0x9ab470[_0x4f5af2(0x18d)]()?_0x9ab470[_0x4f5af2(0x18d)]():undefined,'appCodeSource':_0x38f9ee,'env':_0x21ac4d,'locale':_0x140126,'cookie':_0x791c61,'accessKey':_0x7de6d8,'format':_0x2d021c,'pageSize':_0x7b3c39,'riskLevel':_0x4f4021,'verbose':_0x301b7e,'defaultApp':_0x5142db,'currentApp':typeof _0x13e76c===_0x4f5af2(0x18f)?_0x13e76c:undefined,'raw':_0x3a0cff};}function env(_0x2374eb){return productEnv(_0x2374eb);}async function buildAuth(_0x5ef404){const _0x4c1fba='',_0x3535c4=!!_0x5ef404['accessKey'];return{'cookie':_0x4c1fba,'isLoggedIn':_0x3535c4,async 'getOrLogin'(){const _0x537f15=a41_0x259b;if(_0x3535c4)return _0x4c1fba;throw CliErrors[_0x537f15(0x1b5)]();}};}
@@ -1 +1 @@
1
- (function(_0x35e4e2,_0x14ac91){const _0x40779b=a42_0x3fa1,_0x3b6422=_0x35e4e2();while(!![]){try{const _0x48d91e=parseInt(_0x40779b(0x1c6))/0x1*(parseInt(_0x40779b(0x1e5))/0x2)+-parseInt(_0x40779b(0x1c7))/0x3*(parseInt(_0x40779b(0x1d6))/0x4)+parseInt(_0x40779b(0x1dd))/0x5*(-parseInt(_0x40779b(0x1c3))/0x6)+parseInt(_0x40779b(0x1eb))/0x7*(-parseInt(_0x40779b(0x1ce))/0x8)+parseInt(_0x40779b(0x1d0))/0x9*(parseInt(_0x40779b(0x1de))/0xa)+-parseInt(_0x40779b(0x1df))/0xb+parseInt(_0x40779b(0x1c1))/0xc*(parseInt(_0x40779b(0x1e0))/0xd);if(_0x48d91e===_0x14ac91)break;else _0x3b6422['push'](_0x3b6422['shift']());}catch(_0xdff63c){_0x3b6422['push'](_0x3b6422['shift']());}}}(a42_0x5dfe,0xee5c2));import{getRuntimeDomain}from'../constant/domain.js';import{PRODUCT_CONFIG}from'../constant/product.js';import{CliErrors}from'../errors.js';import{extractList}from'../framework/response.js';let _activeAK;function a42_0x3fa1(_0xa37853,_0x373122){_0xa37853=_0xa37853-0x1bb;const _0x5dfe71=a42_0x5dfe();let _0x3fa1eb=_0x5dfe71[_0xa37853];return _0x3fa1eb;}export function setActiveAK(_0xe3cdf5){_activeAK=_0xe3cdf5||undefined;}export function clearActiveAK(){_activeAK=undefined;}async function apiRequest(_0xf15043,_0x58900f={}){const _0x44cbfb=a42_0x3fa1,{method:method=_0x44cbfb(0x1d2),body:_0x658989,headers:headers={},timeout:timeout=0x7530}=_0x58900f,_0x8bb93e=_activeAK,_0x368d06=getRuntimeDomain();if(!_0x8bb93e)throw CliErrors[_0x44cbfb(0x1e9)]('Configure\x20accessKey\x20in\x20'+PRODUCT_CONFIG['newConfigFileName']+'.');const _0x435773=''+_0x368d06+_0xf15043,_0x11db7a={'X-User-AK':_0x8bb93e},_0x46cd5d=new AbortController(),_0x5db584=setTimeout(()=>_0x46cd5d[_0x44cbfb(0x1db)](),timeout);try{const _0x3d0e8c=await fetch(_0x435773,{'method':method,'headers':{'Content-Type':_0x44cbfb(0x1d4),'X-Invoke-Source':PRODUCT_CONFIG['invokeSource'],..._0x11db7a,...headers},'body':_0x658989?JSON[_0x44cbfb(0x1e1)](_0x658989):undefined,'signal':_0x46cd5d[_0x44cbfb(0x1cc)]});let _0x5b34d4;try{_0x5b34d4=await _0x3d0e8c[_0x44cbfb(0x1bf)]();}catch{throw CliErrors[_0x44cbfb(0x1e7)](_0x44cbfb(0x1c8)+_0x3d0e8c[_0x44cbfb(0x1bb)]+')',_0x3d0e8c[_0x44cbfb(0x1bb)]>=0x190?_0x44cbfb(0x1d3):undefined);}if(!_0x3d0e8c['ok']||_0x5b34d4[_0x44cbfb(0x1e8)]===![])throw CliErrors[_0x44cbfb(0x1e7)](_0x5b34d4[_0x44cbfb(0x1cb)]||_0x5b34d4['message']||'API\x20error:\x20'+_0x3d0e8c[_0x44cbfb(0x1bb)],_0x5b34d4['errorCode']?_0x44cbfb(0x1be)+_0x5b34d4['errorCode']:undefined);return _0x5b34d4;}catch(_0x136c1c){if(_0x136c1c instanceof Error&&_0x136c1c[_0x44cbfb(0x1c9)]==='AbortError')throw CliErrors[_0x44cbfb(0x1e7)](_0x44cbfb(0x1cf)+_0x435773);throw _0x136c1c;}finally{clearTimeout(_0x5db584);}}export async function getBffScriptInfo(_0x55280b){const _0x17413c=a42_0x3fa1,_0x287baf=await apiRequest(_0x17413c(0x1cd)+_0x55280b);if(!_0x287baf['data'])throw CliErrors[_0x17413c(0x1e6)](_0x17413c(0x1c0)+_0x55280b);return _0x287baf['data'];}export async function getSqlQueryInfo(_0x12e193,_0x233ba8){const _0x25d661=a42_0x3fa1,_0x293545=await apiRequest('/client/sql/query',{'method':'POST','body':{'appCode':_0x12e193,'currentPage':0x1,'pageSize':0x1,'sqlCode':_0x233ba8}}),_0x66018e=_0x293545[_0x25d661(0x1bc)],_0x17a8a1=_0x66018e&&typeof _0x66018e===_0x25d661(0x1dc)&&_0x25d661(0x1d5)in _0x66018e?_0x66018e['tableData']?.[0x0]:_0x66018e&&typeof _0x66018e===_0x25d661(0x1dc)&&_0x25d661(0x1bd)in _0x66018e?_0x66018e:undefined;if(!_0x17a8a1)throw CliErrors['validation'](_0x25d661(0x1ec)+_0x233ba8);return _0x17a8a1;}function isRemoteAppItem(_0x532118){const _0x3f1e43=a42_0x3fa1;return!!_0x532118&&typeof _0x532118===_0x3f1e43(0x1dc)&&typeof _0x532118[_0x3f1e43(0x1e2)]===_0x3f1e43(0x1c4)&&typeof _0x532118[_0x3f1e43(0x1d7)]===_0x3f1e43(0x1c4);}function extractRemoteAppItems(_0x15f5e8){const _0x6e74f3=a42_0x3fa1;if(Array[_0x6e74f3(0x1ed)](_0x15f5e8))return _0x15f5e8[_0x6e74f3(0x1ea)](isRemoteAppItem);if(!_0x15f5e8||typeof _0x15f5e8!==_0x6e74f3(0x1dc))throw CliErrors['apiError'](_0x6e74f3(0x1d1));const _0x5b7706=_0x15f5e8;if(Array['isArray'](_0x5b7706[_0x6e74f3(0x1d5)]))return _0x5b7706[_0x6e74f3(0x1d5)][_0x6e74f3(0x1ea)](isRemoteAppItem);if(_0x5b7706[_0x6e74f3(0x1bc)]&&typeof _0x5b7706[_0x6e74f3(0x1bc)]==='object'){const _0x24b01a=_0x5b7706['data'];if(Array[_0x6e74f3(0x1ed)](_0x24b01a[_0x6e74f3(0x1d5)]))return _0x24b01a[_0x6e74f3(0x1d5)][_0x6e74f3(0x1ea)](isRemoteAppItem);}throw CliErrors[_0x6e74f3(0x1e7)](_0x6e74f3(0x1c2));}export async function getMyApps(){const _0x5b92ea=a42_0x3fa1,_0x298b4b=await apiRequest(_0x5b92ea(0x1d9));return extractRemoteAppItems(_0x298b4b[_0x5b92ea(0x1bc)]);}function a42_0x5dfe(){const _0x5d168a=['23647xCUUeS','4992873vbwsln','API\x20returned\x20non-JSON\x20response\x20(HTTP\x20','name','POST','errorMsg','signal','/client/bff/query/','1910792JYATEm','Request\x20timeout:\x20','179289wOmqAt','Invalid\x20app\x20list\x20response:\x20expected\x20object\x20or\x20array.','GET','Check\x20your\x20credentials\x20and\x20try\x20again.','application/json','tableData','4YiuWcR','appName','/client/user/loginUserInfo','/client/app/my-apps','test','abort','object','135obSOhG','470VBlNgV','2806452FtydZl','510809dWEsdA','stringify','appCode','code','/client/dataset/query?','14aoxwuP','validation','apiError','success','authRequired','filter','49RCtixS','SQL\x20query\x20not\x20found:\x20','isArray','status','data','sqlCode','API\x20error\x20code:\x20','json','BFF\x20script\x20not\x20found:\x20id=','1524VgsMfb','Invalid\x20app\x20list\x20response:\x20missing\x20data.tableData.','338742CXPsJp','string','Invalid\x20login\x20user\x20info\x20response:\x20expected\x20object.'];a42_0x5dfe=function(){return _0x5d168a;};return a42_0x5dfe();}export async function getLoginUserInfo(){const _0x172d2b=a42_0x3fa1,_0x33b00f=await apiRequest(_0x172d2b(0x1d8));if(!_0x33b00f['data']||typeof _0x33b00f[_0x172d2b(0x1bc)]!==_0x172d2b(0x1dc)||Array[_0x172d2b(0x1ed)](_0x33b00f[_0x172d2b(0x1bc)]))throw CliErrors[_0x172d2b(0x1e7)](_0x172d2b(0x1c5));return _0x33b00f['data'];}export async function listDatasets(_0x55ec67,_0x54fa38){const _0x35c69a=a42_0x3fa1,_0x451b5e=await apiRequest('/client/dataset/list',{'method':_0x35c69a(0x1ca),'body':{'appCode':_0x55ec67,..._0x54fa38?.['code']&&{'code':_0x54fa38[_0x35c69a(0x1e3)]},..._0x54fa38?.[_0x35c69a(0x1c9)]&&{'name':_0x54fa38[_0x35c69a(0x1c9)]}}});return extractList(_0x451b5e[_0x35c69a(0x1bc)]);}export async function getDatasetDetail(_0x98869a){const _0x454f2f=a42_0x3fa1,_0x111f44=/^\d+$/[_0x454f2f(0x1da)](_0x98869a)?'id':'code',_0x55f248=await apiRequest(_0x454f2f(0x1e4)+_0x111f44+'='+_0x98869a);return _0x55f248[_0x454f2f(0x1bc)];}
1
+ (function(_0xa4b9ab,_0x5cc1f5){const _0x5a8a82=a42_0x288f,_0x49fb67=_0xa4b9ab();while(!![]){try{const _0x20023d=parseInt(_0x5a8a82(0xcb))/0x1+-parseInt(_0x5a8a82(0xf8))/0x2*(parseInt(_0x5a8a82(0xce))/0x3)+-parseInt(_0x5a8a82(0xf7))/0x4*(parseInt(_0x5a8a82(0xd7))/0x5)+-parseInt(_0x5a8a82(0xf3))/0x6+-parseInt(_0x5a8a82(0xc9))/0x7*(parseInt(_0x5a8a82(0xec))/0x8)+parseInt(_0x5a8a82(0xcd))/0x9*(parseInt(_0x5a8a82(0xe9))/0xa)+-parseInt(_0x5a8a82(0xf0))/0xb*(-parseInt(_0x5a8a82(0xf4))/0xc);if(_0x20023d===_0x5cc1f5)break;else _0x49fb67['push'](_0x49fb67['shift']());}catch(_0x495b8b){_0x49fb67['push'](_0x49fb67['shift']());}}}(a42_0x4d7b,0x525d9));function a42_0x4d7b(){const _0x5c8c8d=['/client/dataset/list','appName','11OEERIs','Invalid\x20app\x20list\x20response:\x20expected\x20object\x20or\x20array.','sqlCode','383706vSQVlO','14790408QAlFGp','/client/app/my-apps','Invalid\x20app\x20list\x20response:\x20missing\x20data.tableData.','4XIusAU','2vbtdYO','validation','code','Invalid\x20login\x20user\x20info\x20response:\x20expected\x20object.','/client/user/loginUserInfo','SQL\x20query\x20not\x20found:\x20','3940853PypFPE','newConfigFileName','395031XivAfK','success','225LBCRMT','134454AKTEeR','object','abort','data','AbortError','Check\x20your\x20credentials\x20and\x20try\x20again.','tableData','isArray','appCode','3323615eqZgQJ','name','/client/sql/query','test','string','BFF\x20script\x20not\x20found:\x20id=','/client/bff/query/','message','status','Configure\x20accessKey\x20in\x20','/client/dataset/query?','errorMsg','filter','API\x20returned\x20non-JSON\x20response\x20(HTTP\x20','Request\x20timeout:\x20','json','signal','apiError','18510yZRnNd','API\x20error:\x20','POST','8TcTChK','errorCode'];a42_0x4d7b=function(){return _0x5c8c8d;};return a42_0x4d7b();}import{getRuntimeDomain}from'../constant/domain.js';import{PRODUCT_CONFIG}from'../constant/product.js';import{CliErrors}from'../errors.js';import{extractList}from'../framework/response.js';let _activeAK;export function setActiveAK(_0x54d0ae){_activeAK=_0x54d0ae||undefined;}export function clearActiveAK(){_activeAK=undefined;}async function apiRequest(_0x1b3a84,_0x13c67a={}){const _0x546a5f=a42_0x288f,{method:method='GET',body:_0x3f5de6,headers:headers={},timeout:timeout=0x7530}=_0x13c67a,_0x46cb48=_activeAK,_0x441971=getRuntimeDomain();if(!_0x46cb48)throw CliErrors['authRequired'](_0x546a5f(0xe0)+PRODUCT_CONFIG[_0x546a5f(0xca)]+'.');const _0x5b1b86=''+_0x441971+_0x1b3a84,_0x536d5e={'X-User-AK':_0x46cb48},_0x3a9798=new AbortController(),_0xb58c36=setTimeout(()=>_0x3a9798[_0x546a5f(0xd0)](),timeout);try{const _0x108f5a=await fetch(_0x5b1b86,{'method':method,'headers':{'Content-Type':'application/json','X-Invoke-Source':PRODUCT_CONFIG['invokeSource'],..._0x536d5e,...headers},'body':_0x3f5de6?JSON['stringify'](_0x3f5de6):undefined,'signal':_0x3a9798[_0x546a5f(0xe7)]});let _0x5e8838;try{_0x5e8838=await _0x108f5a[_0x546a5f(0xe6)]();}catch{throw CliErrors['apiError'](_0x546a5f(0xe4)+_0x108f5a[_0x546a5f(0xdf)]+')',_0x108f5a[_0x546a5f(0xdf)]>=0x190?_0x546a5f(0xd3):undefined);}if(!_0x108f5a['ok']||_0x5e8838[_0x546a5f(0xcc)]===![])throw CliErrors[_0x546a5f(0xe8)](_0x5e8838[_0x546a5f(0xe2)]||_0x5e8838[_0x546a5f(0xde)]||_0x546a5f(0xea)+_0x108f5a[_0x546a5f(0xdf)],_0x5e8838[_0x546a5f(0xed)]?'API\x20error\x20code:\x20'+_0x5e8838[_0x546a5f(0xed)]:undefined);return _0x5e8838;}catch(_0x35c1fa){if(_0x35c1fa instanceof Error&&_0x35c1fa[_0x546a5f(0xd8)]===_0x546a5f(0xd2))throw CliErrors['apiError'](_0x546a5f(0xe5)+_0x5b1b86);throw _0x35c1fa;}finally{clearTimeout(_0xb58c36);}}export async function getBffScriptInfo(_0x159c77){const _0x9a8ef3=a42_0x288f,_0x2f273d=await apiRequest(_0x9a8ef3(0xdd)+_0x159c77);if(!_0x2f273d[_0x9a8ef3(0xd1)])throw CliErrors[_0x9a8ef3(0xf9)](_0x9a8ef3(0xdc)+_0x159c77);return _0x2f273d[_0x9a8ef3(0xd1)];}function a42_0x288f(_0x4a33e9,_0x319a25){_0x4a33e9=_0x4a33e9-0xc7;const _0x4d7bf3=a42_0x4d7b();let _0x288fef=_0x4d7bf3[_0x4a33e9];return _0x288fef;}export async function getSqlQueryInfo(_0x25518a,_0x2a1195){const _0x53696d=a42_0x288f,_0x4d9e68=await apiRequest(_0x53696d(0xd9),{'method':_0x53696d(0xeb),'body':{'appCode':_0x25518a,'currentPage':0x1,'pageSize':0x1,'sqlCode':_0x2a1195}}),_0x3fc1c5=_0x4d9e68['data'],_0x230c35=_0x3fc1c5&&typeof _0x3fc1c5===_0x53696d(0xcf)&&_0x53696d(0xd4)in _0x3fc1c5?_0x3fc1c5[_0x53696d(0xd4)]?.[0x0]:_0x3fc1c5&&typeof _0x3fc1c5==='object'&&_0x53696d(0xf2)in _0x3fc1c5?_0x3fc1c5:undefined;if(!_0x230c35)throw CliErrors[_0x53696d(0xf9)](_0x53696d(0xc8)+_0x2a1195);return _0x230c35;}function isRemoteAppItem(_0x91cb8c){const _0x3c2187=a42_0x288f;return!!_0x91cb8c&&typeof _0x91cb8c==='object'&&typeof _0x91cb8c[_0x3c2187(0xd6)]===_0x3c2187(0xdb)&&typeof _0x91cb8c[_0x3c2187(0xef)]===_0x3c2187(0xdb);}function extractRemoteAppItems(_0x1ca205){const _0x4730c5=a42_0x288f;if(Array['isArray'](_0x1ca205))return _0x1ca205[_0x4730c5(0xe3)](isRemoteAppItem);if(!_0x1ca205||typeof _0x1ca205!==_0x4730c5(0xcf))throw CliErrors[_0x4730c5(0xe8)](_0x4730c5(0xf1));const _0x2dcba4=_0x1ca205;if(Array[_0x4730c5(0xd5)](_0x2dcba4[_0x4730c5(0xd4)]))return _0x2dcba4[_0x4730c5(0xd4)][_0x4730c5(0xe3)](isRemoteAppItem);if(_0x2dcba4[_0x4730c5(0xd1)]&&typeof _0x2dcba4[_0x4730c5(0xd1)]===_0x4730c5(0xcf)){const _0x2e12e6=_0x2dcba4[_0x4730c5(0xd1)];if(Array[_0x4730c5(0xd5)](_0x2e12e6[_0x4730c5(0xd4)]))return _0x2e12e6[_0x4730c5(0xd4)]['filter'](isRemoteAppItem);}throw CliErrors[_0x4730c5(0xe8)](_0x4730c5(0xf6));}export async function getMyApps(){const _0x359389=a42_0x288f,_0x3fa8f6=await apiRequest(_0x359389(0xf5));return extractRemoteAppItems(_0x3fa8f6[_0x359389(0xd1)]);}export async function getLoginUserInfo(){const _0x117d6d=a42_0x288f,_0x13a64d=await apiRequest(_0x117d6d(0xc7));if(!_0x13a64d['data']||typeof _0x13a64d[_0x117d6d(0xd1)]!==_0x117d6d(0xcf)||Array[_0x117d6d(0xd5)](_0x13a64d[_0x117d6d(0xd1)]))throw CliErrors[_0x117d6d(0xe8)](_0x117d6d(0xfb));return _0x13a64d[_0x117d6d(0xd1)];}export async function listDatasets(_0x2e9357,_0xbe720){const _0x13b742=a42_0x288f,_0x37312c=await apiRequest(_0x13b742(0xee),{'method':_0x13b742(0xeb),'body':{'appCode':_0x2e9357,..._0xbe720?.[_0x13b742(0xfa)]&&{'code':_0xbe720[_0x13b742(0xfa)]},..._0xbe720?.[_0x13b742(0xd8)]&&{'name':_0xbe720[_0x13b742(0xd8)]}}});return extractList(_0x37312c[_0x13b742(0xd1)]);}export async function getDatasetDetail(_0xab7578){const _0x7e3a08=a42_0x288f,_0x455d4c=/^\d+$/[_0x7e3a08(0xda)](_0xab7578)?'id':_0x7e3a08(0xfa),_0x5ece25=await apiRequest(_0x7e3a08(0xe1)+_0x455d4c+'='+_0xab7578);return _0x5ece25[_0x7e3a08(0xd1)];}
@@ -1 +1 @@
1
- (function(_0x21f10d,_0x11a4fa){const _0x1b2afc=a43_0xc69e,_0x446906=_0x21f10d();while(!![]){try{const _0x453aa3=parseInt(_0x1b2afc(0x1e4))/0x1*(-parseInt(_0x1b2afc(0x1d4))/0x2)+-parseInt(_0x1b2afc(0x1d7))/0x3*(-parseInt(_0x1b2afc(0x1e2))/0x4)+-parseInt(_0x1b2afc(0x1da))/0x5*(-parseInt(_0x1b2afc(0x1db))/0x6)+parseInt(_0x1b2afc(0x1d1))/0x7*(-parseInt(_0x1b2afc(0x1dc))/0x8)+-parseInt(_0x1b2afc(0x1d8))/0x9*(-parseInt(_0x1b2afc(0x1df))/0xa)+-parseInt(_0x1b2afc(0x1d0))/0xb+-parseInt(_0x1b2afc(0x1d6))/0xc*(-parseInt(_0x1b2afc(0x1d3))/0xd);if(_0x453aa3===_0x11a4fa)break;else _0x446906['push'](_0x446906['shift']());}catch(_0x876f46){_0x446906['push'](_0x446906['shift']());}}}(a43_0x151e,0xb91d4));import{listDatasets}from'../core/api-client.js';const cache=new Map();function a43_0x151e(){const _0x58541b=['1018idwwJl','set','1688844LvYHjm','12UfmeeS','292617DgaHdq','get','5ptGZot','2585532JjVEDW','74344baXJST','has','dbName','10bMjYPJ','dbId','entries','801796emSFry','db-','711IfruFw','8212226lxHkFv','77CPRJpa','dbtableConfig','65bfyHbA'];a43_0x151e=function(){return _0x58541b;};return a43_0x151e();}export async function listDatabases(_0x42a986){const _0x5a1905=a43_0xc69e;if(cache[_0x5a1905(0x1dd)](_0x42a986))return cache[_0x5a1905(0x1d9)](_0x42a986);const _0x1e9c0b=await listDatasets(_0x42a986),_0x431332=new Map();for(const _0x19468c of _0x1e9c0b){const _0x5a8968=_0x19468c[_0x5a1905(0x1d2)];_0x5a8968?.['dbId']!=null&&_0x431332['set'](_0x5a8968[_0x5a1905(0x1e0)],_0x5a8968[_0x5a1905(0x1de)]??_0x5a1905(0x1e3)+_0x5a8968[_0x5a1905(0x1e0)]);}const _0x26e2ff=[..._0x431332[_0x5a1905(0x1e1)]()]['map'](([_0x1eed31,_0x510558])=>({'dbId':_0x1eed31,'dbName':_0x510558}));return cache[_0x5a1905(0x1d5)](_0x42a986,_0x26e2ff),_0x26e2ff;}function a43_0xc69e(_0x102dae,_0x301ce1){_0x102dae=_0x102dae-0x1d0;const _0x151e56=a43_0x151e();let _0xc69e07=_0x151e56[_0x102dae];return _0xc69e07;}export async function getDbName(_0x1e5894,_0x5be0aa){const _0x539401=a43_0xc69e;try{const _0x1f5c80=await listDatabases(_0x1e5894);return _0x1f5c80['find'](_0x18d50b=>_0x18d50b[_0x539401(0x1e0)]===_0x5be0aa)?.[_0x539401(0x1de)];}catch{return undefined;}}
1
+ function a43_0x3208(_0x5d4f6e,_0xbe2e92){_0x5d4f6e=_0x5d4f6e-0x1eb;const _0x3879c3=a43_0x3879();let _0x32083e=_0x3879c3[_0x5d4f6e];return _0x32083e;}(function(_0x1cde5d,_0x3fad03){const _0x172639=a43_0x3208,_0x4dc5d7=_0x1cde5d();while(!![]){try{const _0x1e2d85=-parseInt(_0x172639(0x1f2))/0x1*(parseInt(_0x172639(0x1f5))/0x2)+-parseInt(_0x172639(0x1f0))/0x3+-parseInt(_0x172639(0x1f3))/0x4+parseInt(_0x172639(0x1f7))/0x5*(parseInt(_0x172639(0x1f9))/0x6)+parseInt(_0x172639(0x1f4))/0x7+-parseInt(_0x172639(0x1eb))/0x8+parseInt(_0x172639(0x1ec))/0x9*(parseInt(_0x172639(0x1ef))/0xa);if(_0x1e2d85===_0x3fad03)break;else _0x4dc5d7['push'](_0x4dc5d7['shift']());}catch(_0x5118ec){_0x4dc5d7['push'](_0x4dc5d7['shift']());}}}(a43_0x3879,0x76eed));import{listDatasets}from'../core/api-client.js';function a43_0x3879(){const _0x4340fa=['get','dbName','90250PEDfZl','1918536vziFsY','find','42563vQCdfT','285900WNBRKE','6643105NZeTIv','30lqZQvV','map','15Csqsvf','dbId','1248174dknoEP','db-','set','5039968VkZfFM','891gwHTLH'];a43_0x3879=function(){return _0x4340fa;};return a43_0x3879();}const cache=new Map();export async function listDatabases(_0x247750){const _0x19d50d=a43_0x3208;if(cache['has'](_0x247750))return cache[_0x19d50d(0x1ed)](_0x247750);const _0x237283=await listDatasets(_0x247750),_0x50e453=new Map();for(const _0x1dc8bd of _0x237283){const _0x5738fc=_0x1dc8bd['dbtableConfig'];_0x5738fc?.['dbId']!=null&&_0x50e453[_0x19d50d(0x1fb)](_0x5738fc[_0x19d50d(0x1f8)],_0x5738fc[_0x19d50d(0x1ee)]??_0x19d50d(0x1fa)+_0x5738fc['dbId']);}const _0x3245fb=[..._0x50e453['entries']()][_0x19d50d(0x1f6)](([_0x43db37,_0x28ea50])=>({'dbId':_0x43db37,'dbName':_0x28ea50}));return cache[_0x19d50d(0x1fb)](_0x247750,_0x3245fb),_0x3245fb;}export async function getDbName(_0xa8fd15,_0x5ba90c){const _0x12c88a=a43_0x3208;try{const _0x3c8446=await listDatabases(_0xa8fd15);return _0x3c8446[_0x12c88a(0x1f1)](_0x27a94c=>_0x27a94c[_0x12c88a(0x1f8)]===_0x5ba90c)?.[_0x12c88a(0x1ee)];}catch{return undefined;}}
@@ -1 +1 @@
1
- (function(_0x4365ba,_0x255bd8){const _0x374f8e=a44_0x2283,_0x3d1cbc=_0x4365ba();while(!![]){try{const _0x4def5d=-parseInt(_0x374f8e(0x87))/0x1*(-parseInt(_0x374f8e(0x99))/0x2)+-parseInt(_0x374f8e(0x93))/0x3*(-parseInt(_0x374f8e(0x8f))/0x4)+-parseInt(_0x374f8e(0x9a))/0x5+parseInt(_0x374f8e(0x96))/0x6+parseInt(_0x374f8e(0x82))/0x7*(-parseInt(_0x374f8e(0x9d))/0x8)+parseInt(_0x374f8e(0x94))/0x9+parseInt(_0x374f8e(0x91))/0xa*(-parseInt(_0x374f8e(0x9b))/0xb);if(_0x4def5d===_0x255bd8)break;else _0x3d1cbc['push'](_0x3d1cbc['shift']());}catch(_0x1ade7e){_0x3d1cbc['push'](_0x3d1cbc['shift']());}}}(a44_0x1458,0x56837));import{createClient}from'@lovrabet/sdk';function a44_0x1458(){const _0x3111de=['39ONCzqO','3442257VePsZz','getOne','2625552ikoAtQ','isArray','dataset_','238flZSXu','326675SfPQug','11TUNHBq','update','56352jZaKHx','delete\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123}\x27','497UzSDUk','batchCreate','sql','update\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123,\x22name\x22:\x22new\x22}\x27','function','591FXcJQF','SDK\x20client\x20not\x20initialized.\x20Call\x20initSdkClient()\x20first.','execute','authMode','appCode','SDK\x20model\x20does\x20not\x20support\x20operation\x20\x22','delete','accessKey','202268zuvfhZ','env','6279470xkakEH','Available:\x20filter,\x20getOne,\x20create,\x20batchCreate,\x20update,\x20delete,\x20aggregate.'];a44_0x1458=function(){return _0x3111de;};return a44_0x1458();}import{parseBatchCreateItemsFromParams}from'../utils/params.js';let _client;export function initSdkClient(_0x53cc71){const _0x4aede1=a44_0x2283;_client=createClient({'appCode':_0x53cc71[_0x4aede1(0x8b)],'env':_0x53cc71[_0x4aede1(0x90)],'authMode':_0x53cc71[_0x4aede1(0x8a)],..._0x53cc71[_0x4aede1(0x8e)]?{'accessKey':_0x53cc71[_0x4aede1(0x8e)]}:{},'options':{'timeout':0x7530}});}function ensureClient(){const _0x104bca=a44_0x2283;if(!_client)throw new Error(_0x104bca(0x88));return _client;}export async function executeData(_0x4e2e57,_0x188c4d,_0x300e6e){const _0x17b273=a44_0x2283,_0x3b44f2=ensureClient(),_0x19a1e7=_0x17b273(0x98)+_0x4e2e57,_0x14165a=_0x3b44f2['models'][_0x19a1e7];if(!_0x14165a||typeof _0x14165a[_0x188c4d]!==_0x17b273(0x86))throw new Error(_0x17b273(0x8c)+_0x188c4d+'\x22.\x20'+_0x17b273(0x92));if(_0x188c4d===_0x17b273(0x83))return _0x14165a[_0x17b273(0x83)](parseBatchCreateItemsFromParams(_0x300e6e));const _0x286b18=_0x300e6e!==undefined&&_0x300e6e!==null&&!Array[_0x17b273(0x97)](_0x300e6e)?_0x300e6e:{};switch(_0x188c4d){case _0x17b273(0x95):{const _0x383f9e=_0x286b18['id'];if(_0x383f9e===undefined||_0x383f9e===null)throw new Error('getOne\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123}\x27');return _0x14165a[_0x17b273(0x95)](_0x383f9e);}case _0x17b273(0x9c):{const {id:_0x53ca6e,..._0x25262d}=_0x286b18;if(_0x53ca6e===undefined||_0x53ca6e===null)throw new Error(_0x17b273(0x85));return _0x14165a[_0x17b273(0x9c)](_0x53ca6e,_0x25262d);}case _0x17b273(0x8d):{const _0x9ecfdb=_0x286b18['id'];if(_0x9ecfdb===undefined||_0x9ecfdb===null)throw new Error(_0x17b273(0x81));return _0x14165a[_0x17b273(0x8d)](_0x9ecfdb);}default:return _0x14165a[_0x188c4d](_0x286b18);}}function a44_0x2283(_0x57ae8e,_0x2698d3){_0x57ae8e=_0x57ae8e-0x81;const _0x14584c=a44_0x1458();let _0x22835a=_0x14584c[_0x57ae8e];return _0x22835a;}export async function executeSdkSql(_0x7a5e7,_0x5bb6b8){const _0x501fae=a44_0x2283,_0x11ee35=ensureClient();return _0x11ee35[_0x501fae(0x84)][_0x501fae(0x89)]({'sqlCode':_0x7a5e7,'params':_0x5bb6b8});}export async function executeSdkBff(_0xfe8c55,_0x91ff19){const _0x5bc0a9=a44_0x2283,_0x1c6e23=ensureClient();return _0x1c6e23['bff'][_0x5bc0a9(0x89)]({'scriptName':_0xfe8c55,'params':_0x91ff19});}
1
+ (function(_0x4d4c80,_0x29ea2c){const _0x50a0f0=a44_0x4573,_0x8779ca=_0x4d4c80();while(!![]){try{const _0x493bd2=parseInt(_0x50a0f0(0x1d6))/0x1+-parseInt(_0x50a0f0(0x1cf))/0x2+parseInt(_0x50a0f0(0x1d9))/0x3*(parseInt(_0x50a0f0(0x1db))/0x4)+-parseInt(_0x50a0f0(0x1dc))/0x5+parseInt(_0x50a0f0(0x1ce))/0x6+parseInt(_0x50a0f0(0x1cd))/0x7+parseInt(_0x50a0f0(0x1e1))/0x8*(-parseInt(_0x50a0f0(0x1d4))/0x9);if(_0x493bd2===_0x29ea2c)break;else _0x8779ca['push'](_0x8779ca['shift']());}catch(_0x339bb6){_0x8779ca['push'](_0x8779ca['shift']());}}}(a44_0xfd63,0x497e9));import{createClient}from'@lovrabet/sdk';import{parseBatchCreateItemsFromParams}from'../utils/params.js';let _client;export function initSdkClient(_0x5e9bcd){const _0x4728d8=a44_0x4573;_client=createClient({'appCode':_0x5e9bcd[_0x4728d8(0x1d1)],'env':_0x5e9bcd[_0x4728d8(0x1c9)],'authMode':_0x5e9bcd['authMode'],..._0x5e9bcd['accessKey']?{'accessKey':_0x5e9bcd[_0x4728d8(0x1e0)]}:{},'options':{'timeout':0x7530}});}function a44_0x4573(_0x55452c,_0x40c707){_0x55452c=_0x55452c-0x1c9;const _0xfd6341=a44_0xfd63();let _0x457399=_0xfd6341[_0x55452c];return _0x457399;}function a44_0xfd63(){const _0x424c45=['delete','SDK\x20client\x20not\x20initialized.\x20Call\x20initSdkClient()\x20first.','getOne\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123}\x27','accessKey','11352AbeGfu','sql','function','env','SDK\x20model\x20does\x20not\x20support\x20operation\x20\x22','batchCreate','delete\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123}\x27','2355675GUbhSG','1767696Qpbgsy','690266fVVend','execute','appCode','models','update','1917gtSzBe','Available:\x20filter,\x20getOne,\x20create,\x20batchCreate,\x20update,\x20delete,\x20aggregate.','575015dfivSs','getOne','bff','43689xWmRXN','\x22.\x20','56LGSEux','2308125DVySoR'];a44_0xfd63=function(){return _0x424c45;};return a44_0xfd63();}function ensureClient(){const _0x447267=a44_0x4573;if(!_client)throw new Error(_0x447267(0x1de));return _client;}export async function executeData(_0x52fc8b,_0x38850e,_0x33fcc3){const _0x32c2fe=a44_0x4573,_0x99bbff=ensureClient(),_0x2d7957='dataset_'+_0x52fc8b,_0x33bf0d=_0x99bbff[_0x32c2fe(0x1d2)][_0x2d7957];if(!_0x33bf0d||typeof _0x33bf0d[_0x38850e]!==_0x32c2fe(0x1e3))throw new Error(_0x32c2fe(0x1ca)+_0x38850e+_0x32c2fe(0x1da)+_0x32c2fe(0x1d5));if(_0x38850e===_0x32c2fe(0x1cb))return _0x33bf0d['batchCreate'](parseBatchCreateItemsFromParams(_0x33fcc3));const _0x422f14=_0x33fcc3!==undefined&&_0x33fcc3!==null&&!Array['isArray'](_0x33fcc3)?_0x33fcc3:{};switch(_0x38850e){case _0x32c2fe(0x1d7):{const _0x3068f7=_0x422f14['id'];if(_0x3068f7===undefined||_0x3068f7===null)throw new Error(_0x32c2fe(0x1df));return _0x33bf0d[_0x32c2fe(0x1d7)](_0x3068f7);}case _0x32c2fe(0x1d3):{const {id:_0x4b778b,..._0x2c86f6}=_0x422f14;if(_0x4b778b===undefined||_0x4b778b===null)throw new Error('update\x20requires\x20\x22id\x22\x20in\x20--params,\x20e.g.\x20\x27{\x22id\x22:123,\x22name\x22:\x22new\x22}\x27');return _0x33bf0d[_0x32c2fe(0x1d3)](_0x4b778b,_0x2c86f6);}case _0x32c2fe(0x1dd):{const _0x11bf77=_0x422f14['id'];if(_0x11bf77===undefined||_0x11bf77===null)throw new Error(_0x32c2fe(0x1cc));return _0x33bf0d['delete'](_0x11bf77);}default:return _0x33bf0d[_0x38850e](_0x422f14);}}export async function executeSdkSql(_0x436574,_0x5a0c30){const _0x47fb24=a44_0x4573,_0x2a74b6=ensureClient();return _0x2a74b6[_0x47fb24(0x1e2)][_0x47fb24(0x1d0)]({'sqlCode':_0x436574,'params':_0x5a0c30});}export async function executeSdkBff(_0x4bf674,_0x1db638){const _0x3befff=a44_0x4573,_0x545de1=ensureClient();return _0x545de1[_0x3befff(0x1d8)]['execute']({'scriptName':_0x4bf674,'params':_0x1db638});}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- const a45_0x20f3a4=a45_0x3e0b;(function(_0xfdeda0,_0x37a129){const _0x47c0f6=a45_0x3e0b,_0xc8630a=_0xfdeda0();while(!![]){try{const _0x11f1ff=-parseInt(_0x47c0f6(0x1fe))/0x1*(parseInt(_0x47c0f6(0x1fa))/0x2)+-parseInt(_0x47c0f6(0x1f4))/0x3*(parseInt(_0x47c0f6(0x202))/0x4)+parseInt(_0x47c0f6(0x1f5))/0x5+parseInt(_0x47c0f6(0x1fc))/0x6+parseInt(_0x47c0f6(0x1fb))/0x7+-parseInt(_0x47c0f6(0x200))/0x8*(-parseInt(_0x47c0f6(0x1f9))/0x9)+-parseInt(_0x47c0f6(0x1fd))/0xa;if(_0x11f1ff===_0x37a129)break;else _0xc8630a['push'](_0xc8630a['shift']());}catch(_0x2832b8){_0xc8630a['push'](_0xc8630a['shift']());}}}(a45_0x5235,0x427b3));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';function a45_0x3e0b(_0x12d6ee,_0x38b533){_0x12d6ee=_0x12d6ee-0x1f4;const _0x5235d8=a45_0x5235();let _0x3e0b1b=_0x5235d8[_0x12d6ee];return _0x3e0b1b;}import{PRODUCT_CONFIG}from'./constant/product.js';function a45_0x5235(){const _0x121c74=['Set\x20appcode\x20via\x20--appcode\x20or\x20','9lJAzWp','785926gqtriL','2806741WHJPVw','584112ENVseA','1373550qGQsLZ','1VBcpcL','newConfigFileName','1004296gNWtKV','Configure\x20accessKey\x20in\x20','4VHXQRy','\x20or\x20run\x20`','614283lDlNGL','1917670qYhnid','\x20file.','\x20auth\x20login`.'];a45_0x5235=function(){return _0x121c74;};return a45_0x5235();}export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a45_0x20f3a4(0x201)+PRODUCT_CONFIG[a45_0x20f3a4(0x1ff)]+a45_0x20f3a4(0x203)+CLI_BIN_NAME+a45_0x20f3a4(0x1f7),'configMissingHint':a45_0x20f3a4(0x1f8)+PRODUCT_CONFIG[a45_0x20f3a4(0x1ff)]+'.','notInProjectHint':'Run\x20this\x20command\x20inside\x20a\x20directory\x20with\x20a\x20'+PRODUCT_CONFIG[a45_0x20f3a4(0x1ff)]+a45_0x20f3a4(0x1f6)});
1
+ const a45_0x331843=a45_0xbd46;(function(_0x5b4fcb,_0x4ab183){const _0x18c807=a45_0xbd46,_0x13c6b0=_0x5b4fcb();while(!![]){try{const _0x55db14=parseInt(_0x18c807(0x1eb))/0x1+parseInt(_0x18c807(0x1e9))/0x2+-parseInt(_0x18c807(0x1e7))/0x3*(-parseInt(_0x18c807(0x1e8))/0x4)+-parseInt(_0x18c807(0x1ec))/0x5+-parseInt(_0x18c807(0x1f0))/0x6+-parseInt(_0x18c807(0x1f4))/0x7+parseInt(_0x18c807(0x1ea))/0x8*(parseInt(_0x18c807(0x1f1))/0x9);if(_0x55db14===_0x4ab183)break;else _0x13c6b0['push'](_0x13c6b0['shift']());}catch(_0x404b0c){_0x13c6b0['push'](_0x13c6b0['shift']());}}}(a45_0x5d70,0x5ce4b));import{CliError,createCliErrors}from'@lovrabet/cli-framework';function a45_0xbd46(_0x575156,_0x25178e){_0x575156=_0x575156-0x1e7;const _0x5d7011=a45_0x5d70();let _0xbd46c3=_0x5d7011[_0x575156];return _0xbd46c3;}function a45_0x5d70(){const _0x53619c=['1560734uYzZqY','Configure\x20accessKey\x20in\x20','753TlIEdm','7892szycLo','325916cTkJKi','8GVhkGn','421361eYUuCF','216185xAUFEv','\x20or\x20run\x20`','Set\x20appcode\x20via\x20--appcode\x20or\x20','Run\x20this\x20command\x20inside\x20a\x20directory\x20with\x20a\x20','2648994OtMGld','77823GsQgss','\x20auth\x20login`.','newConfigFileName'];a45_0x5d70=function(){return _0x53619c;};return a45_0x5d70();}import{CLI_BIN_NAME}from'./constant/cli.js';import{PRODUCT_CONFIG}from'./constant/product.js';export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a45_0x331843(0x1f5)+PRODUCT_CONFIG['newConfigFileName']+a45_0x331843(0x1ed)+CLI_BIN_NAME+a45_0x331843(0x1f2),'configMissingHint':a45_0x331843(0x1ee)+PRODUCT_CONFIG[a45_0x331843(0x1f3)]+'.','notInProjectHint':a45_0x331843(0x1ef)+PRODUCT_CONFIG['newConfigFileName']+'\x20file.'});
@@ -1 +1 @@
1
- (function(_0x35d971,_0x5c0d5b){var _0x444c8c=a46_0x5c87,_0x490d12=_0x35d971();while(!![]){try{var _0x55dfa0=-parseInt(_0x444c8c(0x174))/0x1+parseInt(_0x444c8c(0x175))/0x2+-parseInt(_0x444c8c(0x173))/0x3*(-parseInt(_0x444c8c(0x176))/0x4)+parseInt(_0x444c8c(0x172))/0x5*(-parseInt(_0x444c8c(0x171))/0x6)+-parseInt(_0x444c8c(0x16f))/0x7*(-parseInt(_0x444c8c(0x16d))/0x8)+parseInt(_0x444c8c(0x170))/0x9*(parseInt(_0x444c8c(0x16e))/0xa)+-parseInt(_0x444c8c(0x177))/0xb;if(_0x55dfa0===_0x5c0d5b)break;else _0x490d12['push'](_0x490d12['shift']());}catch(_0x299e98){_0x490d12['push'](_0x490d12['shift']());}}}(a46_0x8fac,0x80369));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a46_0x8fac(){var _0x32cb1f=['4508295iHMrdG','719944abpqgY','10fYTaJH','35CRKtAl','1998603ggoSiX','5574FMYBnH','3755otRSjj','3YjJgxV','87246kpYnRP','1515936oboLDS','1159724alxpeU'];a46_0x8fac=function(){return _0x32cb1f;};return a46_0x8fac();}function a46_0x5c87(_0x2a9388,_0xfc5060){_0x2a9388=_0x2a9388-0x16d;var _0x8face1=a46_0x8fac();var _0x5c8723=_0x8face1[_0x2a9388];return _0x5c8723;}import{buildAllFlags as a46_0x5536e0}from'@lovrabet/cli-framework';export function buildAllFlags(_0x1f2404){return a46_0x5536e0(_0x1f2404,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
1
+ (function(_0x4eeb1c,_0x2bef5a){var _0x24c40=a46_0x543a,_0x33d994=_0x4eeb1c();while(!![]){try{var _0x58310a=parseInt(_0x24c40(0x6e))/0x1*(parseInt(_0x24c40(0x71))/0x2)+parseInt(_0x24c40(0x75))/0x3+-parseInt(_0x24c40(0x70))/0x4+-parseInt(_0x24c40(0x6f))/0x5+parseInt(_0x24c40(0x76))/0x6*(parseInt(_0x24c40(0x6d))/0x7)+parseInt(_0x24c40(0x73))/0x8+-parseInt(_0x24c40(0x72))/0x9*(parseInt(_0x24c40(0x74))/0xa);if(_0x58310a===_0x2bef5a)break;else _0x33d994['push'](_0x33d994['shift']());}catch(_0x2aaefd){_0x33d994['push'](_0x33d994['shift']());}}}(a46_0x4763,0xc8dc2));function a46_0x4763(){var _0x46f9f8=['2938484XtRlAT','3504XfgAeS','399717yKAihu','2823176IcMTgt','60MoXunD','3125853RehPfS','13836zEDgVD','42PQZcMr','651fmmdzh','3627075ZPtuMV'];a46_0x4763=function(){return _0x46f9f8;};return a46_0x4763();}import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a46_0x51f478}from'@lovrabet/cli-framework';function a46_0x543a(_0xe97bd9,_0xd74344){_0xe97bd9=_0xe97bd9-0x6d;var _0x4763ed=a46_0x4763();var _0x543af6=_0x4763ed[_0xe97bd9];return _0x543af6;}export function buildAllFlags(_0x23a490){return a46_0x51f478(_0x23a490,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
@@ -1 +1 @@
1
- function a47_0x2840(_0x299827,_0x33aadb){_0x299827=_0x299827-0x1ee;const _0x29dff8=a47_0x29df();let _0x28406a=_0x29dff8[_0x299827];return _0x28406a;}(function(_0x33eaed,_0x46b4b2){const _0x96caa8=a47_0x2840,_0x453ecd=_0x33eaed();while(!![]){try{const _0x1a6847=-parseInt(_0x96caa8(0x1ee))/0x1*(-parseInt(_0x96caa8(0x1f0))/0x2)+parseInt(_0x96caa8(0x1f7))/0x3+-parseInt(_0x96caa8(0x1ef))/0x4+-parseInt(_0x96caa8(0x1f1))/0x5*(-parseInt(_0x96caa8(0x1f3))/0x6)+-parseInt(_0x96caa8(0x1f4))/0x7*(parseInt(_0x96caa8(0x1f5))/0x8)+-parseInt(_0x96caa8(0x1f8))/0x9+parseInt(_0x96caa8(0x1f2))/0xa;if(_0x1a6847===_0x46b4b2)break;else _0x453ecd['push'](_0x453ecd['shift']());}catch(_0x53c45c){_0x453ecd['push'](_0x453ecd['shift']());}}}(a47_0x29df,0xc3395));function a47_0x29df(){const _0x38cb36=['3628136lZqeqt','body','2278695JwSGRf','13087161lPnLJp','37524UNTCts','3687916GssKvR','56XnbtQL','9945HgTJYJ','13635440uCNCnm','1374pKHDoC','7INYJss'];a47_0x29df=function(){return _0x38cb36;};return a47_0x29df();}export function dryRun(_0x368e5d,_0x1e1a65){const _0x8a34f={'method':_0x368e5d,'url':_0x1e1a65},_0x9de7f0={'body'(_0x33d876){const _0x1f53d1=a47_0x2840;return _0x8a34f[_0x1f53d1(0x1f6)]=_0x33d876,_0x9de7f0;},'description'(_0xea865f){return _0x8a34f['description']=_0xea865f,_0x9de7f0;},'build'(){return{..._0x8a34f};}};return _0x9de7f0;}
1
+ function a47_0xef58(_0x3c5d30,_0x3a610e){_0x3c5d30=_0x3c5d30-0xae;const _0x547ae4=a47_0x547a();let _0xef5810=_0x547ae4[_0x3c5d30];return _0xef5810;}(function(_0x4e2643,_0x470fc9){const _0x17c7a9=a47_0xef58,_0x292c56=_0x4e2643();while(!![]){try{const _0x56cdcf=parseInt(_0x17c7a9(0xb2))/0x1*(-parseInt(_0x17c7a9(0xb8))/0x2)+parseInt(_0x17c7a9(0xae))/0x3*(parseInt(_0x17c7a9(0xb6))/0x4)+parseInt(_0x17c7a9(0xb5))/0x5*(parseInt(_0x17c7a9(0xb1))/0x6)+parseInt(_0x17c7a9(0xb3))/0x7*(-parseInt(_0x17c7a9(0xbb))/0x8)+parseInt(_0x17c7a9(0xb4))/0x9*(-parseInt(_0x17c7a9(0xba))/0xa)+-parseInt(_0x17c7a9(0xb9))/0xb+parseInt(_0x17c7a9(0xb0))/0xc;if(_0x56cdcf===_0x470fc9)break;else _0x292c56['push'](_0x292c56['shift']());}catch(_0x226d53){_0x292c56['push'](_0x292c56['shift']());}}}(a47_0x547a,0xb4e6a));export function dryRun(_0x4cb780,_0x2e5eed){const _0x365db5={'method':_0x4cb780,'url':_0x2e5eed},_0x182015={'body'(_0x4f4122){const _0x4e1587=a47_0xef58;return _0x365db5[_0x4e1587(0xaf)]=_0x4f4122,_0x182015;},'description'(_0x4858cb){const _0x23f250=a47_0xef58;return _0x365db5[_0x23f250(0xb7)]=_0x4858cb,_0x182015;},'build'(){return{..._0x365db5};}};return _0x182015;}function a47_0x547a(){const _0xb2e9a9=['10IvqUdc','4576OnAkVP','2084046dpsHkA','body','40890540hXQvgw','6YbUAZH','1420630gmWNKd','16814DVSLFJ','11424186HRgRDQ','5819705ibKzfT','4kEBQkq','description','2iiUhxJ','5073970sPbtqn'];a47_0x547a=function(){return _0xb2e9a9;};return a47_0x547a();}
@@ -1 +1 @@
1
- const a48_0x21f519=a48_0x4592;(function(_0x386660,_0x304e8e){const _0x3bdaa2=a48_0x4592,_0x377622=_0x386660();while(!![]){try{const _0x40b4ff=-parseInt(_0x3bdaa2(0x1e2))/0x1*(parseInt(_0x3bdaa2(0x1e1))/0x2)+-parseInt(_0x3bdaa2(0x1dc))/0x3+-parseInt(_0x3bdaa2(0x1e7))/0x4+-parseInt(_0x3bdaa2(0x1df))/0x5*(-parseInt(_0x3bdaa2(0x1e3))/0x6)+parseInt(_0x3bdaa2(0x1dd))/0x7*(-parseInt(_0x3bdaa2(0x1e6))/0x8)+-parseInt(_0x3bdaa2(0x1da))/0x9*(parseInt(_0x3bdaa2(0x1de))/0xa)+-parseInt(_0x3bdaa2(0x1e5))/0xb*(-parseInt(_0x3bdaa2(0x1db))/0xc);if(_0x40b4ff===_0x304e8e)break;else _0x377622['push'](_0x377622['shift']());}catch(_0x5af345){_0x377622['push'](_0x377622['shift']());}}}(a48_0x5722,0x8ea1d));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a48_0x21f519(0x1e4)];export const validateFlags=helpers[a48_0x21f519(0x1e0)];function a48_0x4592(_0x5511ab,_0x3d97d){_0x5511ab=_0x5511ab-0x1da;const _0x57225c=a48_0x5722();let _0x459286=_0x57225c[_0x5511ab];return _0x459286;}function a48_0x5722(){const _0xa6db55=['parseFlags','22ZNXyqv','8uLzoaR','1048568qrQkkl','2569032dnudFQ','16030452oZULZf','3494193PINXFm','4118184cddphB','10pyZtnj','5aNIkUg','validateFlags','446hizhDg','1213LNTkoA','2901666nYKxnp'];a48_0x5722=function(){return _0xa6db55;};return a48_0x5722();}
1
+ function a48_0x5957(){const _0x16f06e=['21mskFeh','parseFlags','validateFlags','360eobKjB','14ZyszSa','16AHcVjw','22712WGPVVY','551469tRybNm','2190798xDqYQG','70996XbngPR','9793428wniGkt','52SZPbQZ','6905895miTwrO','10anqQpq','18216077jlvzqg'];a48_0x5957=function(){return _0x16f06e;};return a48_0x5957();}const a48_0x10f0c8=a48_0xa2c0;function a48_0xa2c0(_0x46d122,_0x594367){_0x46d122=_0x46d122-0x14f;const _0x595759=a48_0x5957();let _0xa2c05b=_0x595759[_0x46d122];return _0xa2c05b;}(function(_0x1982f9,_0x51daf6){const _0x33afa0=a48_0xa2c0,_0x125198=_0x1982f9();while(!![]){try{const _0x29c3e5=parseInt(_0x33afa0(0x150))/0x1*(-parseInt(_0x33afa0(0x159))/0x2)+-parseInt(_0x33afa0(0x157))/0x3*(-parseInt(_0x33afa0(0x155))/0x4)+-parseInt(_0x33afa0(0x15c))/0x5+parseInt(_0x33afa0(0x158))/0x6*(parseInt(_0x33afa0(0x154))/0x7)+parseInt(_0x33afa0(0x156))/0x8*(-parseInt(_0x33afa0(0x153))/0x9)+parseInt(_0x33afa0(0x15d))/0xa*(-parseInt(_0x33afa0(0x14f))/0xb)+-parseInt(_0x33afa0(0x15a))/0xc*(-parseInt(_0x33afa0(0x15b))/0xd);if(_0x29c3e5===_0x51daf6)break;else _0x125198['push'](_0x125198['shift']());}catch(_0x415134){_0x125198['push'](_0x125198['shift']());}}}(a48_0x5957,0xcb926));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a48_0x10f0c8(0x151)];export const validateFlags=helpers[a48_0x10f0c8(0x152)];
@@ -1 +1 @@
1
- const a49_0x3c3152=a49_0x5634;(function(_0x4c6fd1,_0x5d58db){const _0x4eb2b5=a49_0x5634,_0x5cd26f=_0x4c6fd1();while(!![]){try{const _0xc7602=parseInt(_0x4eb2b5(0x9a))/0x1*(parseInt(_0x4eb2b5(0x98))/0x2)+parseInt(_0x4eb2b5(0x94))/0x3*(-parseInt(_0x4eb2b5(0x99))/0x4)+-parseInt(_0x4eb2b5(0x96))/0x5+-parseInt(_0x4eb2b5(0x9b))/0x6+-parseInt(_0x4eb2b5(0x91))/0x7+-parseInt(_0x4eb2b5(0x92))/0x8*(-parseInt(_0x4eb2b5(0x95))/0x9)+parseInt(_0x4eb2b5(0x90))/0xa;if(_0xc7602===_0x5d58db)break;else _0x5cd26f['push'](_0x5cd26f['shift']());}catch(_0x574227){_0x5cd26f['push'](_0x5cd26f['shift']());}}}(a49_0x8439,0xcf717));import{createHelpGenerators}from'@lovrabet/cli-framework';function a49_0x5634(_0x22cf54,_0x411de4){_0x22cf54=_0x22cf54-0x8f;const _0x8439c3=a49_0x8439();let _0x563445=_0x8439c3[_0x22cf54];return _0x563445;}import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{PRODUCT_CONFIG}from'../constant/product.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x52835e=>serviceGroups[a49_0x3c3152(0x8f)](_0x52835e),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a49_0x3c3152(0x97)+PRODUCT_CONFIG['newConfigFileName']+a49_0x3c3152(0x93)});export function generateCommandHelp(_0x4ecb43){return generators['generateCommandHelp'](_0x4ecb43);}export const generateServiceHelp=generators['generateServiceHelp'];export const generateFullHelp=generators['generateFullHelp'];function a49_0x8439(){const _0x5c745f=['Requires\x20appcode\x20(set\x20via\x20','2MTRQxl','4lQVGsN','1630762nqbXYL','2643390xRyAae','get','16266180sDZvww','4930674oglFjr','5248wIDOHi','\x20or\x20--appcode).','4430124PkBcwn','9981TPlBRW','2567710kkXTNd'];a49_0x8439=function(){return _0x5c745f;};return a49_0x8439();}
1
+ const a49_0x4a31dd=a49_0x523e;function a49_0x523e(_0x484430,_0x4b7c2c){_0x484430=_0x484430-0xe2;const _0x19633f=a49_0x1963();let _0x523e58=_0x19633f[_0x484430];return _0x523e58;}(function(_0x3231aa,_0x213d88){const _0x31f4d8=a49_0x523e,_0x5d44d1=_0x3231aa();while(!![]){try{const _0x30162d=parseInt(_0x31f4d8(0xeb))/0x1*(parseInt(_0x31f4d8(0xee))/0x2)+parseInt(_0x31f4d8(0xea))/0x3*(-parseInt(_0x31f4d8(0xef))/0x4)+-parseInt(_0x31f4d8(0xe9))/0x5*(-parseInt(_0x31f4d8(0xf2))/0x6)+parseInt(_0x31f4d8(0xed))/0x7+parseInt(_0x31f4d8(0xe4))/0x8+-parseInt(_0x31f4d8(0xe7))/0x9*(parseInt(_0x31f4d8(0xec))/0xa)+parseInt(_0x31f4d8(0xe6))/0xb;if(_0x30162d===_0x213d88)break;else _0x5d44d1['push'](_0x5d44d1['shift']());}catch(_0x4a87ae){_0x5d44d1['push'](_0x5d44d1['shift']());}}}(a49_0x1963,0xdfa5e));import{createHelpGenerators}from'@lovrabet/cli-framework';function a49_0x1963(){const _0x28dd26=['8455664tZQbzv','generateCommandHelp','11282700Mimabw','9LSKflH','generateServiceHelp','5whwkhq','753ujDKfQ','9jYmUap','10395030VnTGed','322686RPcbxv','151264TFqKxQ','17868JHbgSQ','\x20or\x20--appcode).','get','1604028RTRHKc','generateFullHelp','newConfigFileName'];a49_0x1963=function(){return _0x28dd26;};return a49_0x1963();}import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{PRODUCT_CONFIG}from'../constant/product.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x14d851=>serviceGroups[a49_0x4a31dd(0xf1)](_0x14d851),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20'+PRODUCT_CONFIG[a49_0x4a31dd(0xe3)]+a49_0x4a31dd(0xf0)});export function generateCommandHelp(_0x526050){const _0x3c0c78=a49_0x4a31dd;return generators[_0x3c0c78(0xe5)](_0x526050);}export const generateServiceHelp=generators[a49_0x4a31dd(0xe8)];export const generateFullHelp=generators[a49_0x4a31dd(0xe2)];
@@ -1 +1 @@
1
- function a50_0x1106(_0x1feb1a,_0x1913a2){_0x1feb1a=_0x1feb1a-0xa9;var _0x512d51=a50_0x512d();var _0x1106f8=_0x512d51[_0x1feb1a];return _0x1106f8;}(function(_0x2ac736,_0x21c7f1){var _0x20318f=a50_0x1106,_0x8cbbd1=_0x2ac736();while(!![]){try{var _0xa5b72c=parseInt(_0x20318f(0xac))/0x1+parseInt(_0x20318f(0xb2))/0x2+parseInt(_0x20318f(0xad))/0x3*(-parseInt(_0x20318f(0xab))/0x4)+parseInt(_0x20318f(0xaa))/0x5+-parseInt(_0x20318f(0xaf))/0x6*(-parseInt(_0x20318f(0xae))/0x7)+-parseInt(_0x20318f(0xb0))/0x8*(-parseInt(_0x20318f(0xa9))/0x9)+-parseInt(_0x20318f(0xb3))/0xa*(parseInt(_0x20318f(0xb1))/0xb);if(_0xa5b72c===_0x21c7f1)break;else _0x8cbbd1['push'](_0x8cbbd1['shift']());}catch(_0x3e3831){_0x8cbbd1['push'](_0x8cbbd1['shift']());}}}(a50_0x512d,0xbdd9c));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a50_0x512d(){var _0x27b3b7=['9682834pKOFmz','6bTRgaX','496earcCo','34018325JQstof','2017592icCqHX','10hbitDf','46926RelcEQ','5218190vopBpV','13444LFUuuq','706136PmAfLi','531SDPCaz'];a50_0x512d=function(){return _0x27b3b7;};return a50_0x512d();}export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
1
+ (function(_0x55feae,_0x4dd627){var _0x403e3c=a50_0x1612,_0x4b954a=_0x55feae();while(!![]){try{var _0x476e15=parseInt(_0x403e3c(0x1d9))/0x1+-parseInt(_0x403e3c(0x1e0))/0x2*(parseInt(_0x403e3c(0x1de))/0x3)+-parseInt(_0x403e3c(0x1db))/0x4*(parseInt(_0x403e3c(0x1e1))/0x5)+-parseInt(_0x403e3c(0x1e2))/0x6*(-parseInt(_0x403e3c(0x1dc))/0x7)+parseInt(_0x403e3c(0x1da))/0x8+parseInt(_0x403e3c(0x1df))/0x9*(parseInt(_0x403e3c(0x1e3))/0xa)+-parseInt(_0x403e3c(0x1dd))/0xb;if(_0x476e15===_0x4dd627)break;else _0x4b954a['push'](_0x4b954a['shift']());}catch(_0xab9337){_0x4b954a['push'](_0x4b954a['shift']());}}}(a50_0x420b,0x52065));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a50_0x1612(_0x44556c,_0x5c05f4){_0x44556c=_0x44556c-0x1d9;var _0x420ba9=a50_0x420b();var _0x1612ed=_0x420ba9[_0x44556c];return _0x1612ed;}export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';function a50_0x420b(){var _0x4da7f0=['3130PbrPSb','5472ZPXZvO','2991130FhZRFi','390061eDCTyH','1809072aFTuXQ','2456Bvofnc','980IoWUti','784322vIAakE','107721TGYnPF','9qHssqx','14CUMitg'];a50_0x420b=function(){return _0x4da7f0;};return a50_0x420b();}
@@ -1 +1 @@
1
- function a51_0x3cf7(_0x3cbfdf,_0x15550a){_0x3cbfdf=_0x3cbfdf-0xcb;const _0xf270d6=a51_0xf270();let _0x3cf74f=_0xf270d6[_0x3cbfdf];return _0x3cf74f;}(function(_0x4c6724,_0x51bde4){const _0x5a60ee=a51_0x3cf7,_0x4e4809=_0x4c6724();while(!![]){try{const _0x3d837e=parseInt(_0x5a60ee(0xcd))/0x1+-parseInt(_0x5a60ee(0xd3))/0x2*(-parseInt(_0x5a60ee(0xce))/0x3)+-parseInt(_0x5a60ee(0xd1))/0x4+parseInt(_0x5a60ee(0xd2))/0x5+parseInt(_0x5a60ee(0xcf))/0x6*(-parseInt(_0x5a60ee(0xd0))/0x7)+parseInt(_0x5a60ee(0xcc))/0x8+-parseInt(_0x5a60ee(0xcb))/0x9;if(_0x3d837e===_0x51bde4)break;else _0x4e4809['push'](_0x4e4809['shift']());}catch(_0x1a21af){_0x4e4809['push'](_0x4e4809['shift']());}}}(a51_0xf270,0xb5209));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a51_0xf270(){const _0x4fc73e=['1848860eaEPec','108rktmyO','2998287MrxExI','4673488huFyqm','1182910OiBRLW','36429DDQrqL','73338wYVPOM','441MJNjBU','3790004ziLFcB'];a51_0xf270=function(){return _0x4fc73e;};return a51_0xf270();}
1
+ function a51_0x172b(_0x5db1a8,_0x5a2a3b){_0x5db1a8=_0x5db1a8-0x186;const _0x2b624c=a51_0x2b62();let _0x172b62=_0x2b624c[_0x5db1a8];return _0x172b62;}(function(_0x416be6,_0x513129){const _0x447334=a51_0x172b,_0x1f08c2=_0x416be6();while(!![]){try{const _0x2f65f1=-parseInt(_0x447334(0x18d))/0x1+-parseInt(_0x447334(0x18a))/0x2*(parseInt(_0x447334(0x18f))/0x3)+parseInt(_0x447334(0x190))/0x4*(parseInt(_0x447334(0x191))/0x5)+parseInt(_0x447334(0x188))/0x6*(-parseInt(_0x447334(0x189))/0x7)+-parseInt(_0x447334(0x18c))/0x8*(parseInt(_0x447334(0x18b))/0x9)+parseInt(_0x447334(0x18e))/0xa*(-parseInt(_0x447334(0x187))/0xb)+parseInt(_0x447334(0x186))/0xc;if(_0x2f65f1===_0x513129)break;else _0x1f08c2['push'](_0x1f08c2['shift']());}catch(_0x4ee86e){_0x1f08c2['push'](_0x1f08c2['shift']());}}}(a51_0x2b62,0x90ca7));function a51_0x2b62(){const _0x544997=['66333zcRClw','60804EegMCu','255YHyvkd','21793236fDlZrA','1089HeHisl','18kKsXrk','2751959krMoNW','2sqSgJd','2157390BYCpyx','16nOCJpS','191817QMJhpy','12680IDaIvm'];a51_0x2b62=function(){return _0x544997;};return a51_0x2b62();}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
@@ -1 +1 @@
1
- (function(_0x3139fe,_0x27e583){const _0x23135d=a52_0x5b21,_0x3aa05a=_0x3139fe();while(!![]){try{const _0x261c90=-parseInt(_0x23135d(0xa5))/0x1+parseInt(_0x23135d(0x8a))/0x2+-parseInt(_0x23135d(0x8c))/0x3*(-parseInt(_0x23135d(0x8f))/0x4)+-parseInt(_0x23135d(0x88))/0x5*(parseInt(_0x23135d(0x91))/0x6)+-parseInt(_0x23135d(0x89))/0x7*(-parseInt(_0x23135d(0x8e))/0x8)+-parseInt(_0x23135d(0x94))/0x9+parseInt(_0x23135d(0xa6))/0xa*(parseInt(_0x23135d(0x84))/0xb);if(_0x261c90===_0x27e583)break;else _0x3aa05a['push'](_0x3aa05a['shift']());}catch(_0x89e367){_0x3aa05a['push'](_0x3aa05a['shift']());}}}(a52_0x2df5,0x98d7d));function toKebab(_0x72e3b1){const _0x2cfe25=a52_0x5b21;return _0x72e3b1[_0x2cfe25(0x8b)](/_/g,'-')[_0x2cfe25(0x8b)](/-([A-Z]+)/g,(_0x514b6b,_0x557f68)=>'-'+_0x557f68[_0x2cfe25(0xa2)]())[_0x2cfe25(0x8b)](/([a-z0-9])([A-Z])/g,(_0x3da221,_0x48548d,_0x38ea8d)=>_0x48548d+'-'+_0x38ea8d)['toLowerCase']();}function buildKnownFlags(_0x5e28b8){const _0x5635ee=a52_0x5b21,_0x3bc94a=new Set();for(const _0x60f25b of _0x5e28b8){_0x3bc94a[_0x5635ee(0x93)](_0x60f25b[_0x5635ee(0xa8)]),_0x3bc94a['add'](toCamelCase(_0x60f25b['name']));}for(const _0xdb05ab of['dry-run',_0x5635ee(0x92),_0x5635ee(0x9f),_0x5635ee(0xa4)]){_0x3bc94a['add'](_0xdb05ab);}for(const _0x26de9d of['help',_0x5635ee(0xa1),_0x5635ee(0x86),_0x5635ee(0xa3),'nonInteractive',_0x5635ee(0x90),'ci',_0x5635ee(0x99),_0x5635ee(0xa7)]){_0x3bc94a['add'](_0x26de9d);}return _0x3bc94a;}function a52_0x5b21(_0x1c2caf,_0x38b626){_0x1c2caf=_0x1c2caf-0x84;const _0x2df5e8=a52_0x2df5();let _0x5b21a5=_0x2df5e8[_0x1c2caf];return _0x5b21a5;}function buildFlagTypeMap(_0x57fe26){const _0x249bf6=a52_0x5b21,_0x5f5454=new Map();for(const _0x2f091a of _0x57fe26){_0x5f5454[_0x249bf6(0x96)](_0x2f091a[_0x249bf6(0xa8)],_0x2f091a[_0x249bf6(0x98)]),_0x5f5454[_0x249bf6(0x96)](toCamelCase(_0x2f091a['name']),_0x2f091a[_0x249bf6(0x98)]);}return _0x5f5454;}function toCamelCase(_0x388f07){const _0x2f9d25=a52_0x5b21;return _0x388f07[_0x2f9d25(0x8b)](/-([a-z])/g,(_0x4814a6,_0x3d48bb)=>_0x3d48bb[_0x2f9d25(0x95)]());}function aliasHandler(_0x47d48f,_0x55992b){const _0x1fb5b1=a52_0x5b21,_0x51b9e8=[];for(const _0x13c05e of Object[_0x1fb5b1(0x87)](_0x47d48f)){if(_0x55992b[_0x1fb5b1(0xa0)](_0x13c05e))continue;const _0x36bc0f=toKebab(_0x13c05e);_0x36bc0f!==_0x13c05e&&_0x55992b['has'](_0x36bc0f)&&_0x51b9e8[_0x1fb5b1(0x9a)]({'original':_0x13c05e,'corrected':_0x36bc0f,'handler':_0x1fb5b1(0x9d)});}return _0x51b9e8;}function stickyHandler(_0x575d9c,_0x169c25,_0x25ccaf){const _0x4a66da=a52_0x5b21,_0x4db1b2=[];for(const [_0x13fe40,_0x2bd2b5]of Object[_0x4a66da(0x97)](_0x575d9c)){if(_0x2bd2b5!==!![])continue;for(let _0x5dce36=_0x13fe40['length']-0x1;_0x5dce36>0x0;_0x5dce36--){const _0xfea0d2=_0x13fe40[_0x4a66da(0x8d)](0x0,_0x5dce36),_0x2e05a2=_0x13fe40['slice'](_0x5dce36),_0x34c056=toKebab(_0xfea0d2),_0x4ef741=toCamelCase(_0xfea0d2),_0x2d3ddb=_0x169c25[_0x4a66da(0xa0)](_0xfea0d2)?_0xfea0d2:_0x169c25[_0x4a66da(0xa0)](_0x34c056)?_0x34c056:_0x169c25[_0x4a66da(0xa0)](_0x4ef741)?_0x4ef741:null;if(!_0x2d3ddb)continue;const _0x23ab75=_0x25ccaf['get'](_0x2d3ddb)??_0x4a66da(0x9b);let _0x3ef53a;if(_0x23ab75===_0x4a66da(0xab)){const _0x570955=Number(_0x2e05a2);if(isNaN(_0x570955)||_0x2e05a2==='')continue;_0x3ef53a=_0x570955;}else{if(_0x23ab75===_0x4a66da(0xa9))continue;else{if(_0x2e05a2==='')continue;_0x3ef53a=_0x2e05a2;}}_0x4db1b2['push']({'original':_0x13fe40,'corrected':_0x2d3ddb+'='+_0x3ef53a,'handler':_0x4a66da(0x9c)});break;}}return _0x4db1b2;}export function correctFlags(_0x341f45,_0x51cc91){const _0xd14eaa=a52_0x5b21,_0x5e5aa9=buildKnownFlags(_0x51cc91),_0x4cc61e=buildFlagTypeMap(_0x51cc91),_0x22cbad=aliasHandler(_0x341f45,_0x5e5aa9),_0x1895d4=stickyHandler(_0x341f45,_0x5e5aa9,_0x4cc61e),_0x538da6=[..._0x22cbad,..._0x1895d4];if(_0x538da6['length']===0x0)return{'flags':_0x341f45,'corrections':[]};const _0x431a93={..._0x341f45},_0x9dac22=new Set();for(const _0x5028c5 of _0x22cbad){_0x431a93[_0x5028c5[_0xd14eaa(0xaa)]]=_0x341f45[_0x5028c5[_0xd14eaa(0x85)]],_0x9dac22[_0xd14eaa(0x93)](_0x5028c5[_0xd14eaa(0x85)]);}for(const _0x47915a of _0x1895d4){const _0x1745c8=_0x47915a[_0xd14eaa(0xaa)]['indexOf']('='),_0x3801b9=_0x47915a[_0xd14eaa(0xaa)][_0xd14eaa(0x8d)](0x0,_0x1745c8),_0x25bf18=_0x47915a[_0xd14eaa(0xaa)]['slice'](_0x1745c8+0x1),_0x154a8c=_0x4cc61e[_0xd14eaa(0x9e)](_0x3801b9)??_0xd14eaa(0x9b);_0x154a8c===_0xd14eaa(0xab)?_0x431a93[_0x3801b9]=Number(_0x25bf18):_0x431a93[_0x3801b9]=_0x25bf18,_0x9dac22['add'](_0x47915a[_0xd14eaa(0x85)]);}for(const _0x1030fe of _0x9dac22){delete _0x431a93[_0x1030fe];}return{'flags':_0x431a93,'corrections':_0x538da6};}function a52_0x2df5(){const _0x55a152=['443744QWGNRN','965670cBRAAo','version','name','boolean','corrected','number','143vSzBSH','original','appcode','keys','12460dRsctS','138355WcpRVh','934260rLEPXT','replace','1678566yUGwHj','slice','40GUmSYA','4MgZFsD','non-interactive','2034STCdSU','dryRun','add','4196439ruikUD','toUpperCase','set','entries','type','global','push','string','sticky','alias','get','yes','has','env','toLowerCase','app','format'];a52_0x2df5=function(){return _0x55a152;};return a52_0x2df5();}
1
+ (function(_0x478521,_0x2a9a92){const _0x7fff84=a52_0x4b61,_0x1c6e1b=_0x478521();while(!![]){try{const _0x530831=parseInt(_0x7fff84(0x1fb))/0x1*(parseInt(_0x7fff84(0x1f6))/0x2)+-parseInt(_0x7fff84(0x1ff))/0x3+-parseInt(_0x7fff84(0x1e8))/0x4*(-parseInt(_0x7fff84(0x1fe))/0x5)+parseInt(_0x7fff84(0x1e6))/0x6+parseInt(_0x7fff84(0x1fc))/0x7+parseInt(_0x7fff84(0x1df))/0x8+parseInt(_0x7fff84(0x1f1))/0x9*(-parseInt(_0x7fff84(0x1e5))/0xa);if(_0x530831===_0x2a9a92)break;else _0x1c6e1b['push'](_0x1c6e1b['shift']());}catch(_0xcf7222){_0x1c6e1b['push'](_0x1c6e1b['shift']());}}}(a52_0x5e69,0x66124));function toKebab(_0x4d5d34){const _0x19619b=a52_0x4b61;return _0x4d5d34[_0x19619b(0x1ec)](/_/g,'-')[_0x19619b(0x1ec)](/-([A-Z]+)/g,(_0x470ce1,_0x4495ff)=>'-'+_0x4495ff['toLowerCase']())[_0x19619b(0x1ec)](/([a-z0-9])([A-Z])/g,(_0x66ff65,_0x519ab0,_0x4d3932)=>_0x519ab0+'-'+_0x4d3932)[_0x19619b(0x1e1)]();}function buildKnownFlags(_0x342206){const _0xd2d545=a52_0x4b61,_0x47fa5e=new Set();for(const _0x5acac8 of _0x342206){_0x47fa5e[_0xd2d545(0x1e7)](_0x5acac8[_0xd2d545(0x1f5)]),_0x47fa5e[_0xd2d545(0x1e7)](toCamelCase(_0x5acac8[_0xd2d545(0x1f5)]));}for(const _0x53693f of[_0xd2d545(0x1e4),'dryRun',_0xd2d545(0x1e9),_0xd2d545(0x1de)]){_0x47fa5e['add'](_0x53693f);}for(const _0x35038d of[_0xd2d545(0x1fa),_0xd2d545(0x1e2),_0xd2d545(0x1f3),'app',_0xd2d545(0x1e0),_0xd2d545(0x1f2),'ci',_0xd2d545(0x1ed),_0xd2d545(0x1f9)]){_0x47fa5e[_0xd2d545(0x1e7)](_0x35038d);}return _0x47fa5e;}function a52_0x4b61(_0x67690d,_0x4a0aa5){_0x67690d=_0x67690d-0x1de;const _0x5e69fa=a52_0x5e69();let _0x4b6172=_0x5e69fa[_0x67690d];return _0x4b6172;}function buildFlagTypeMap(_0x2e236b){const _0x4c5b23=a52_0x4b61,_0x4a6419=new Map();for(const _0x385368 of _0x2e236b){_0x4a6419['set'](_0x385368[_0x4c5b23(0x1f5)],_0x385368['type']),_0x4a6419[_0x4c5b23(0x1ef)](toCamelCase(_0x385368[_0x4c5b23(0x1f5)]),_0x385368['type']);}return _0x4a6419;}function toCamelCase(_0x3e68cf){const _0x2aa0b1=a52_0x4b61;return _0x3e68cf[_0x2aa0b1(0x1ec)](/-([a-z])/g,(_0x3d9a8a,_0x12f33c)=>_0x12f33c['toUpperCase']());}function a52_0x5e69(){const _0x48e875=['2625ScmYbT','1358913gXSehX','string','number','entries','has','format','3441520uuDWoo','nonInteractive','toLowerCase','env','original','dry-run','2982350TQTAKo','774192yMDXSI','add','3296mkQYIk','yes','get','length','replace','global','alias','set','push','9LEFWMV','non-interactive','appcode','slice','name','24718srqJma','corrected','keys','version','help','11xECyvY','290633DFeSVJ','boolean'];a52_0x5e69=function(){return _0x48e875;};return a52_0x5e69();}function aliasHandler(_0x1f9972,_0x55eb5f){const _0x5654d3=a52_0x4b61,_0x5ace45=[];for(const _0x136504 of Object[_0x5654d3(0x1f8)](_0x1f9972)){if(_0x55eb5f['has'](_0x136504))continue;const _0x2d2fb7=toKebab(_0x136504);_0x2d2fb7!==_0x136504&&_0x55eb5f[_0x5654d3(0x203)](_0x2d2fb7)&&_0x5ace45['push']({'original':_0x136504,'corrected':_0x2d2fb7,'handler':_0x5654d3(0x1ee)});}return _0x5ace45;}function stickyHandler(_0x54227e,_0x538828,_0x16c057){const _0x47638c=a52_0x4b61,_0x3d3c82=[];for(const [_0x2e2c13,_0x14580b]of Object[_0x47638c(0x202)](_0x54227e)){if(_0x14580b!==!![])continue;for(let _0x1f5560=_0x2e2c13[_0x47638c(0x1eb)]-0x1;_0x1f5560>0x0;_0x1f5560--){const _0x3c8444=_0x2e2c13['slice'](0x0,_0x1f5560),_0x156dcb=_0x2e2c13[_0x47638c(0x1f4)](_0x1f5560),_0x204e0b=toKebab(_0x3c8444),_0x421c04=toCamelCase(_0x3c8444),_0x4a820d=_0x538828['has'](_0x3c8444)?_0x3c8444:_0x538828[_0x47638c(0x203)](_0x204e0b)?_0x204e0b:_0x538828[_0x47638c(0x203)](_0x421c04)?_0x421c04:null;if(!_0x4a820d)continue;const _0x178d51=_0x16c057[_0x47638c(0x1ea)](_0x4a820d)??_0x47638c(0x200);let _0x3a94f1;if(_0x178d51===_0x47638c(0x201)){const _0x3999b8=Number(_0x156dcb);if(isNaN(_0x3999b8)||_0x156dcb==='')continue;_0x3a94f1=_0x3999b8;}else{if(_0x178d51===_0x47638c(0x1fd))continue;else{if(_0x156dcb==='')continue;_0x3a94f1=_0x156dcb;}}_0x3d3c82[_0x47638c(0x1f0)]({'original':_0x2e2c13,'corrected':_0x4a820d+'='+_0x3a94f1,'handler':'sticky'});break;}}return _0x3d3c82;}export function correctFlags(_0x265ed1,_0x152ed9){const _0x54a854=a52_0x4b61,_0x20cbab=buildKnownFlags(_0x152ed9),_0xb1e2bb=buildFlagTypeMap(_0x152ed9),_0x1fc2b9=aliasHandler(_0x265ed1,_0x20cbab),_0xc6535e=stickyHandler(_0x265ed1,_0x20cbab,_0xb1e2bb),_0x26fadc=[..._0x1fc2b9,..._0xc6535e];if(_0x26fadc[_0x54a854(0x1eb)]===0x0)return{'flags':_0x265ed1,'corrections':[]};const _0x353550={..._0x265ed1},_0x3c9fc0=new Set();for(const _0x2ca4d6 of _0x1fc2b9){_0x353550[_0x2ca4d6['corrected']]=_0x265ed1[_0x2ca4d6[_0x54a854(0x1e3)]],_0x3c9fc0[_0x54a854(0x1e7)](_0x2ca4d6['original']);}for(const _0x2e344f of _0xc6535e){const _0x1beea0=_0x2e344f['corrected']['indexOf']('='),_0x512ba0=_0x2e344f['corrected']['slice'](0x0,_0x1beea0),_0x406fa3=_0x2e344f[_0x54a854(0x1f7)][_0x54a854(0x1f4)](_0x1beea0+0x1),_0xd8297d=_0xb1e2bb['get'](_0x512ba0)??_0x54a854(0x200);_0xd8297d===_0x54a854(0x201)?_0x353550[_0x512ba0]=Number(_0x406fa3):_0x353550[_0x512ba0]=_0x406fa3,_0x3c9fc0[_0x54a854(0x1e7)](_0x2e344f[_0x54a854(0x1e3)]);}for(const _0x245c88 of _0x3c9fc0){delete _0x353550[_0x245c88];}return{'flags':_0x353550,'corrections':_0x26fadc};}
@@ -1 +1 @@
1
- (function(_0x4d4e34,_0x1b1bc5){var _0x5941f9=a53_0x137f,_0x2c5fff=_0x4d4e34();while(!![]){try{var _0x12fcd4=-parseInt(_0x5941f9(0xe3))/0x1+parseInt(_0x5941f9(0xea))/0x2*(parseInt(_0x5941f9(0xeb))/0x3)+-parseInt(_0x5941f9(0xe6))/0x4*(parseInt(_0x5941f9(0xe7))/0x5)+parseInt(_0x5941f9(0xe5))/0x6*(-parseInt(_0x5941f9(0xe9))/0x7)+-parseInt(_0x5941f9(0xe8))/0x8+parseInt(_0x5941f9(0xec))/0x9+parseInt(_0x5941f9(0xe4))/0xa;if(_0x12fcd4===_0x1b1bc5)break;else _0x2c5fff['push'](_0x2c5fff['shift']());}catch(_0x11dc66){_0x2c5fff['push'](_0x2c5fff['shift']());}}}(a53_0x4d94,0x65072));function a53_0x137f(_0x54905c,_0x5a05c9){_0x54905c=_0x54905c-0xe3;var _0x4d94fa=a53_0x4d94();var _0x137f7a=_0x4d94fa[_0x54905c];return _0x137f7a;}export{extractList,extractPaging}from'@lovrabet/cli-framework';function a53_0x4d94(){var _0x164eae=['409540rfEgce','2604984YpduDk','8400nnPIhX','2258fncdej','180goMAhG','41769WYmEol','109810CEqfck','16127100xRivpO','1722qQlRwF','24zsSSTT'];a53_0x4d94=function(){return _0x164eae;};return a53_0x4d94();}
1
+ function a53_0x1367(_0x4bfdde,_0x52cab3){_0x4bfdde=_0x4bfdde-0x16d;var _0xe6dfbd=a53_0xe6df();var _0x1367de=_0xe6dfbd[_0x4bfdde];return _0x1367de;}(function(_0x4df1a8,_0x3d6517){var _0x2bd73e=a53_0x1367,_0x362f02=_0x4df1a8();while(!![]){try{var _0x11630c=parseInt(_0x2bd73e(0x176))/0x1*(parseInt(_0x2bd73e(0x16e))/0x2)+-parseInt(_0x2bd73e(0x16f))/0x3*(parseInt(_0x2bd73e(0x173))/0x4)+parseInt(_0x2bd73e(0x16d))/0x5+parseInt(_0x2bd73e(0x174))/0x6*(-parseInt(_0x2bd73e(0x175))/0x7)+parseInt(_0x2bd73e(0x172))/0x8+-parseInt(_0x2bd73e(0x171))/0x9+parseInt(_0x2bd73e(0x170))/0xa;if(_0x11630c===_0x3d6517)break;else _0x362f02['push'](_0x362f02['shift']());}catch(_0x179782){_0x362f02['push'](_0x362f02['shift']());}}}(a53_0xe6df,0x844f6));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a53_0xe6df(){var _0x286f4b=['87366jMkxIB','1215vFqNXN','12824920kknjhi','4352058yNKeMy','3807768dLtKfm','4924bgkbWg','5960622WtqUjD','7gxVSdo','7bicjOS','2266260fEyTqd'];a53_0xe6df=function(){return _0x286f4b;};return a53_0xe6df();}
@@ -1 +1 @@
1
- (function(_0x34fb14,_0x443c9f){const _0x4d4a20=a54_0xf97a,_0x1ee478=_0x34fb14();while(!![]){try{const _0x34e84f=parseInt(_0x4d4a20(0x10d))/0x1+parseInt(_0x4d4a20(0x111))/0x2*(-parseInt(_0x4d4a20(0x112))/0x3)+-parseInt(_0x4d4a20(0x115))/0x4+-parseInt(_0x4d4a20(0xff))/0x5+parseInt(_0x4d4a20(0x100))/0x6*(-parseInt(_0x4d4a20(0x105))/0x7)+-parseInt(_0x4d4a20(0x109))/0x8*(-parseInt(_0x4d4a20(0x118))/0x9)+-parseInt(_0x4d4a20(0x10f))/0xa*(-parseInt(_0x4d4a20(0x104))/0xb);if(_0x34e84f===_0x443c9f)break;else _0x1ee478['push'](_0x1ee478['shift']());}catch(_0x3b2bbe){_0x1ee478['push'](_0x1ee478['shift']());}}}(a54_0x539a,0x982a1));import{CLI_BIN_NAME}from'../constant/cli.js';function a54_0xf97a(_0x9b6690,_0x1f8cb9){_0x9b6690=_0x9b6690-0xfe;const _0x539a1e=a54_0x539a();let _0xf97abc=_0x539a1e[_0x9b6690];return _0xf97abc;}function a54_0x539a(){const _0x1618d2=['1054183CytPUU','length','10NBaIyo','description','142970vqzhSR','6dAzCAy','name','\x20\x20\x20Continue?\x20[y/N]\x20','4661532aIhLNs','code','affectedRecords','873CZCcLb','--yes','\x20\x20\x20','5754430aYQoRL','114xKADNx','join','stringify','id=','28871051uJfUMN','327229gDdWcS','commandLabel','service','command','24072ximUpV','code=','push','params'];a54_0x539a=function(){return _0x1618d2;};return a54_0x539a();}export function buildConfirmationLines(_0x290ba7,_0x3d8b8a,_0x1353cd){const _0x30a190=a54_0xf97a,_0x118b55=buildConfirmationContext(_0x290ba7,_0x3d8b8a,_0x1353cd),_0x314a90=['⚠\x20\x20High-risk\x20operation:\x20'+_0x118b55[_0x30a190(0x106)]];return _0x118b55[_0x30a190(0x110)]&&_0x314a90['push'](_0x30a190(0xfe)+_0x118b55[_0x30a190(0x110)]),_0x118b55['affectedRecords']&&_0x314a90['push']('\x20\x20\x20Affected:\x20'+_0x118b55[_0x30a190(0x117)]),_0x314a90[_0x30a190(0x10b)](_0x30a190(0x114)),_0x314a90;}export function reconstructCommandArgv(_0x28c1ca,_0x19b896){const _0x3fde7b=a54_0xf97a,_0x3b5164=[CLI_BIN_NAME,_0x28c1ca[_0x3fde7b(0x107)],_0x28c1ca[_0x3fde7b(0x108)]];for(const [_0x3a9a02,_0x5cd5bf]of Object['entries'](_0x19b896)){if(_0x5cd5bf===!![])_0x3b5164[_0x3fde7b(0x10b)]('--'+_0x3a9a02);else _0x5cd5bf!==![]&&_0x5cd5bf!==undefined&&_0x5cd5bf!==''&&_0x3b5164[_0x3fde7b(0x10b)]('--'+_0x3a9a02+'\x20'+JSON[_0x3fde7b(0x102)](_0x5cd5bf));}return _0x3b5164['push'](_0x3fde7b(0x119)),_0x3b5164[_0x3fde7b(0x101)]('\x20');}function buildConfirmationContext(_0x7d15fd,_0x13bcad,_0x29d968){const _0xd2fb4f=extractAffectedRecords(_0x29d968);return{'commandLabel':_0x13bcad,'description':_0x7d15fd['description'],'affectedRecords':_0xd2fb4f};}function extractAffectedRecords(_0x383d06){const _0x3247b8=a54_0xf97a,_0x1f91c7=[];if(_0x383d06[_0x3247b8(0x116)])_0x1f91c7[_0x3247b8(0x10b)](_0x3247b8(0x10a)+_0x383d06[_0x3247b8(0x116)]);if(_0x383d06['id'])_0x1f91c7[_0x3247b8(0x10b)](_0x3247b8(0x103)+_0x383d06['id']);if(_0x383d06[_0x3247b8(0x113)])_0x1f91c7[_0x3247b8(0x10b)]('name='+_0x383d06[_0x3247b8(0x113)]);if(_0x383d06[_0x3247b8(0x10c)])_0x1f91c7[_0x3247b8(0x10b)]('params='+_0x383d06[_0x3247b8(0x10c)]);return _0x1f91c7[_0x3247b8(0x10e)]>0x0?_0x1f91c7[_0x3247b8(0x101)](',\x20'):undefined;}
1
+ (function(_0x5cad4a,_0x2f4fa9){const _0x1fa14d=a54_0x4fe8,_0xb5c347=_0x5cad4a();while(!![]){try{const _0x38c0c8=-parseInt(_0x1fa14d(0x1e2))/0x1+parseInt(_0x1fa14d(0x1dc))/0x2*(parseInt(_0x1fa14d(0x1e3))/0x3)+parseInt(_0x1fa14d(0x1d8))/0x4+-parseInt(_0x1fa14d(0x1ed))/0x5*(parseInt(_0x1fa14d(0x1e4))/0x6)+-parseInt(_0x1fa14d(0x1d9))/0x7*(-parseInt(_0x1fa14d(0x1da))/0x8)+parseInt(_0x1fa14d(0x1eb))/0x9+-parseInt(_0x1fa14d(0x1db))/0xa;if(_0x38c0c8===_0x2f4fa9)break;else _0xb5c347['push'](_0xb5c347['shift']());}catch(_0xd341c){_0xb5c347['push'](_0xb5c347['shift']());}}}(a54_0x1e9c,0x58e9c));function a54_0x1e9c(){const _0x7218a0=['join','length','4329540zROEgx','params','5aZsdMI','--yes','code','push','2184992vdKdAw','4217885TMDUcw','8fVIEZP','7173850qZAlSL','212qMQHZR','description','commandLabel','name=','name','stringify','425319fPPJox','5466YFJmCo','1896618soABWh','\x20\x20\x20','entries','\x20\x20\x20Affected:\x20','command'];a54_0x1e9c=function(){return _0x7218a0;};return a54_0x1e9c();}import{CLI_BIN_NAME}from'../constant/cli.js';export function buildConfirmationLines(_0x473b09,_0x25f990,_0x1206f1){const _0x4cd74a=a54_0x4fe8,_0x1671bc=buildConfirmationContext(_0x473b09,_0x25f990,_0x1206f1),_0x14cb83=['⚠\x20\x20High-risk\x20operation:\x20'+_0x1671bc[_0x4cd74a(0x1de)]];return _0x1671bc[_0x4cd74a(0x1dd)]&&_0x14cb83['push'](_0x4cd74a(0x1e5)+_0x1671bc[_0x4cd74a(0x1dd)]),_0x1671bc['affectedRecords']&&_0x14cb83[_0x4cd74a(0x1d7)](_0x4cd74a(0x1e7)+_0x1671bc['affectedRecords']),_0x14cb83['push']('\x20\x20\x20Continue?\x20[y/N]\x20'),_0x14cb83;}function a54_0x4fe8(_0x448a24,_0x1bfe38){_0x448a24=_0x448a24-0x1d7;const _0x1e9c10=a54_0x1e9c();let _0x4fe8fa=_0x1e9c10[_0x448a24];return _0x4fe8fa;}export function reconstructCommandArgv(_0x156063,_0x4cbd85){const _0x2d5bb7=a54_0x4fe8,_0x49dc04=[CLI_BIN_NAME,_0x156063['service'],_0x156063[_0x2d5bb7(0x1e8)]];for(const [_0x1c64f4,_0x262682]of Object[_0x2d5bb7(0x1e6)](_0x4cbd85)){if(_0x262682===!![])_0x49dc04[_0x2d5bb7(0x1d7)]('--'+_0x1c64f4);else _0x262682!==![]&&_0x262682!==undefined&&_0x262682!==''&&_0x49dc04[_0x2d5bb7(0x1d7)]('--'+_0x1c64f4+'\x20'+JSON[_0x2d5bb7(0x1e1)](_0x262682));}return _0x49dc04['push'](_0x2d5bb7(0x1ee)),_0x49dc04[_0x2d5bb7(0x1e9)]('\x20');}function buildConfirmationContext(_0x1629b8,_0x181608,_0x5a9ed7){const _0x3ab6f0=extractAffectedRecords(_0x5a9ed7);return{'commandLabel':_0x181608,'description':_0x1629b8['description'],'affectedRecords':_0x3ab6f0};}function extractAffectedRecords(_0x49a4a1){const _0x4a403b=a54_0x4fe8,_0x1ed2bc=[];if(_0x49a4a1[_0x4a403b(0x1ef)])_0x1ed2bc[_0x4a403b(0x1d7)]('code='+_0x49a4a1[_0x4a403b(0x1ef)]);if(_0x49a4a1['id'])_0x1ed2bc[_0x4a403b(0x1d7)]('id='+_0x49a4a1['id']);if(_0x49a4a1[_0x4a403b(0x1e0)])_0x1ed2bc[_0x4a403b(0x1d7)](_0x4a403b(0x1df)+_0x49a4a1[_0x4a403b(0x1e0)]);if(_0x49a4a1[_0x4a403b(0x1ec)])_0x1ed2bc[_0x4a403b(0x1d7)]('params='+_0x49a4a1[_0x4a403b(0x1ec)]);return _0x1ed2bc[_0x4a403b(0x1ea)]>0x0?_0x1ed2bc[_0x4a403b(0x1e9)](',\x20'):undefined;}
@@ -1 +1 @@
1
- (function(_0x5cd74e,_0x3d94c1){const _0x1c9c86=a55_0xcb43,_0x14da0d=_0x5cd74e();while(!![]){try{const _0x228388=-parseInt(_0x1c9c86(0x108))/0x1*(parseInt(_0x1c9c86(0x111))/0x2)+-parseInt(_0x1c9c86(0x10e))/0x3+parseInt(_0x1c9c86(0x10b))/0x4*(-parseInt(_0x1c9c86(0x105))/0x5)+parseInt(_0x1c9c86(0x107))/0x6*(-parseInt(_0x1c9c86(0x10a))/0x7)+-parseInt(_0x1c9c86(0x10c))/0x8*(-parseInt(_0x1c9c86(0x109))/0x9)+parseInt(_0x1c9c86(0x113))/0xa*(-parseInt(_0x1c9c86(0x10d))/0xb)+-parseInt(_0x1c9c86(0x10f))/0xc*(-parseInt(_0x1c9c86(0x114))/0xd);if(_0x228388===_0x3d94c1)break;else _0x14da0d['push'](_0x14da0d['shift']());}catch(_0x6dde86){_0x14da0d['push'](_0x14da0d['shift']());}}}(a55_0x1422,0x4fd30));import{LovrabetError}from'@lovrabet/sdk';function a55_0x1422(){const _0x57612c=['description','745JVbuyS','trim','3138ocilLU','241499sjJryE','72JfHeJH','1155wIxnNw','10828WZEIcq','141080uXDOvC','849651stOiGw','743490HBLSIm','24OWyRlK','message','2OxpoEX','stringify','30cCiYBr','9077705YOHXhZ'];a55_0x1422=function(){return _0x57612c;};return a55_0x1422();}function a55_0xcb43(_0x28a17e,_0x18f906){_0x28a17e=_0x28a17e-0x104;const _0x142257=a55_0x1422();let _0xcb430e=_0x142257[_0x28a17e];return _0xcb430e;}import{CliErrors}from'../errors.js';export function mapUserFacingExecuteError(_0x55c38d){if(_0x55c38d instanceof LovrabetError)return CliErrors['validation'](userFacingLovrabetMessage(_0x55c38d));return _0x55c38d;}function userFacingLovrabetMessage(_0x11dc73){const _0x5f5559=a55_0xcb43,_0x2ea859=_0x11dc73[_0x5f5559(0x104)];if(_0x2ea859!==undefined&&_0x2ea859!==null){if(typeof _0x2ea859==='string'&&_0x2ea859[_0x5f5559(0x106)]())return _0x2ea859[_0x5f5559(0x106)]();try{return JSON[_0x5f5559(0x112)](_0x2ea859);}catch{}}return _0x11dc73[_0x5f5559(0x110)];}
1
+ (function(_0x150086,_0x18b561){const _0x42c7a5=a55_0x55c5,_0x2c4454=_0x150086();while(!![]){try{const _0x157def=parseInt(_0x42c7a5(0xf8))/0x1*(-parseInt(_0x42c7a5(0xfb))/0x2)+-parseInt(_0x42c7a5(0xf9))/0x3*(parseInt(_0x42c7a5(0xee))/0x4)+parseInt(_0x42c7a5(0xfd))/0x5*(parseInt(_0x42c7a5(0xfa))/0x6)+-parseInt(_0x42c7a5(0xf3))/0x7+-parseInt(_0x42c7a5(0xf6))/0x8*(-parseInt(_0x42c7a5(0xf5))/0x9)+-parseInt(_0x42c7a5(0xf1))/0xa*(parseInt(_0x42c7a5(0xfc))/0xb)+-parseInt(_0x42c7a5(0xf4))/0xc*(-parseInt(_0x42c7a5(0xf7))/0xd);if(_0x157def===_0x18b561)break;else _0x2c4454['push'](_0x2c4454['shift']());}catch(_0x3f6cb8){_0x2c4454['push'](_0x2c4454['shift']());}}}(a55_0x176b,0x1b48a));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';function a55_0x55c5(_0x222807,_0x2c66e5){_0x222807=_0x222807-0xee;const _0x176bf4=a55_0x176b();let _0x55c517=_0x176bf4[_0x222807];return _0x55c517;}export function mapUserFacingExecuteError(_0x1d79e8){if(_0x1d79e8 instanceof LovrabetError)return CliErrors['validation'](userFacingLovrabetMessage(_0x1d79e8));return _0x1d79e8;}function a55_0x176b(){const _0x457d9a=['3202QVTzUh','143UYYbzL','356515KjGZRN','4wWlJsn','string','description','170860lqNFoM','trim','648655EhfVIK','4356024mkWwak','45lXImFK','143464DKCkgs','13MSVYfS','127PYskrc','110136fBlXGv','18aPyXnW'];a55_0x176b=function(){return _0x457d9a;};return a55_0x176b();}function userFacingLovrabetMessage(_0x52c59b){const _0x111792=a55_0x55c5,_0x4b6358=_0x52c59b[_0x111792(0xf0)];if(_0x4b6358!==undefined&&_0x4b6358!==null){if(typeof _0x4b6358===_0x111792(0xef)&&_0x4b6358[_0x111792(0xf2)]())return _0x4b6358[_0x111792(0xf2)]();try{return JSON['stringify'](_0x4b6358);}catch{}}return _0x52c59b['message'];}
@@ -1 +1 @@
1
- const a56_0x11ddcf=a56_0x3389;(function(_0x11b82c,_0x280264){const _0x3a4f08=a56_0x3389,_0x3c86f6=_0x11b82c();while(!![]){try{const _0x3af346=-parseInt(_0x3a4f08(0x152))/0x1+-parseInt(_0x3a4f08(0x13e))/0x2+parseInt(_0x3a4f08(0x14c))/0x3+-parseInt(_0x3a4f08(0x154))/0x4*(-parseInt(_0x3a4f08(0x156))/0x5)+parseInt(_0x3a4f08(0x158))/0x6*(parseInt(_0x3a4f08(0x153))/0x7)+parseInt(_0x3a4f08(0x147))/0x8+-parseInt(_0x3a4f08(0x16f))/0x9;if(_0x3af346===_0x280264)break;else _0x3c86f6['push'](_0x3c86f6['shift']());}catch(_0x1ad401){_0x3c86f6['push'](_0x3c86f6['shift']());}}}(a56_0x463d,0xe0bd5));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvName}from'../constant/product.js';import{isNonInteractiveMode,readAppCodeFromConfig}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';function a56_0x3389(_0x55442c,_0x1f2b87){_0x55442c=_0x55442c-0x13c;const _0x463d64=a56_0x463d();let _0x33893e=_0x463d64[_0x55442c];return _0x33893e;}import{getApiDomain}from'../constant/domain.js';function a56_0x463d(){const _0x7e9c4a=['configMissing','defaultApp','\x20\x20To\x20proceed:\x20','29206368shGKow','ClientAk','string','production','1865448EOVwcn','../core/sdk-client.js','newConfigFileName','Unknown\x20app:\x20','.appcode\x20to\x20','appCode','rawFlags','validation','mergedCli','9869480GMAKfH','accessKey','appcode','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','3082209zxklIL','env','High-risk\x20operation\x20`','app','local-alias','currentApp','149104piLzcg','2744iXXEMC','5113924VOSwMa','APPCODE','5plPokP','../commands/app/remote-source.js','26142pHHeia','verbose','map','../core/api-client.js','error','cancelled','apiDomain','format','appCodeSource','\x20or\x20pass\x20','trim','ACCESS_KEY','items','riskLevel','name','appName','requiresAppCode','pageSize','Run\x20`','isNonInteractive'];a56_0x463d=function(){return _0x7e9c4a;};return a56_0x463d();}import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';import{mapUserFacingExecuteError}from'../framework/runner-error.js';export function resolveAuthMode(_0x7030d4){const _0x22af44=a56_0x3389;return void _0x7030d4,AUTH_MODE[_0x22af44(0x170)];}export function createPipelineEnv(_0x48c669,_0x12afd0){const _0x1d39fe=a56_0x3389,_0x4fea48=typeof _0x12afd0['app']===_0x1d39fe(0x13c)&&_0x12afd0['app'][_0x1d39fe(0x162)]();return{'rawFlags':_0x12afd0,'appCode':_0x48c669['appCode']||productEnv('APPCODE')||(_0x4fea48?undefined:readAppCodeFromConfig()),'appCodeSource':_0x48c669[_0x1d39fe(0x160)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x12afd0),'defaultFormat':_0x48c669[_0x1d39fe(0x15f)],'defaultPageSize':_0x48c669[_0x1d39fe(0x169)],'defaultVerbose':_0x48c669[_0x1d39fe(0x159)],'riskLevel':_0x48c669[_0x1d39fe(0x165)],'accessKey':_0x48c669['accessKey'],'env':_0x48c669[_0x1d39fe(0x14d)],'mergedCli':{'defaultApp':_0x48c669[_0x1d39fe(0x16d)],'currentApp':_0x48c669[_0x1d39fe(0x151)],'appCode':_0x48c669[_0x1d39fe(0x143)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x4f3420=>PIPELINE_FLAG_NAMES['has'](_0x4f3420[a56_0x11ddcf(0x166)]))[a56_0x11ddcf(0x15a)](({name:_0x4b8cb1,type:_0xf8a22d,description:_0x325cda})=>({'name':_0x4b8cb1,'type':_0xf8a22d,'description':_0x325cda})),'formatOutput':formatOutput,'getCommandLabel'(_0x24329b){return CLI_BIN_NAME+'\x20'+_0x24329b['service']+'\x20'+_0x24329b['command'];},'riskPolicy':{'onViolation'(_0x2f8fa6){const _0x1e0747=a56_0x11ddcf;console[_0x1e0747(0x15c)](_0x2f8fa6);},'createError'(_0x2a84f5){const _0x5e4a31=a56_0x11ddcf;return CliErrors[_0x5e4a31(0x15d)](_0x2a84f5);}},async 'prepare'(_0x34baa9,_0x466549){const _0x4778c0=a56_0x11ddcf,_0x5ab011=resolveAuthMode(_0x466549);if(_0x34baa9['requiresAuth']!==![]){if(!_0x466549[_0x4778c0(0x148)])throw CliErrors['authRequired']('Set\x20accessKey\x20in\x20'+PRODUCT_CONFIG[_0x4778c0(0x140)]+_0x4778c0(0x161)+productEnvName(_0x4778c0(0x163))+'.');const {setActiveAK:_0x4f9e1d}=await import(_0x4778c0(0x15b));_0x4f9e1d(_0x466549[_0x4778c0(0x148)]);}let _0x321674='';if(_0x34baa9[_0x4778c0(0x168)]!==![]){_0x321674=_0x466549[_0x4778c0(0x143)]??'',_0x321674=await resolveExplicitAppName(_0x34baa9,_0x466549,_0x321674);if(!_0x321674)throw CliErrors[_0x4778c0(0x16c)](_0x4778c0(0x14a)+PRODUCT_CONFIG[_0x4778c0(0x140)]+'.');}if(_0x321674){const {initSdkClient:_0x2e6033}=await import(_0x4778c0(0x13f));_0x2e6033({'appCode':_0x321674,'env':_0x466549[_0x4778c0(0x14d)]??'production','accessKey':_0x466549['accessKey'],'authMode':_0x5ab011});}return{'defaults':{'booleans':{'verbose':_0x466549['defaultVerbose']},'numbers':{'pagesize':_0x466549['defaultPageSize']}},'extras':{'appCode':_0x321674,'cookie':'','apiDomain':_0x466549[_0x4778c0(0x15e)],'apiDir':'','accessKey':_0x466549[_0x4778c0(0x148)],'envName':_0x466549[_0x4778c0(0x14d)],'mergedCli':_0x466549[_0x4778c0(0x146)]}};},async 'confirmHighRisk'({def:_0x2ac274,env:_0x3fd6c5,flags:_0x1d9f0a,commandLabel:_0x59846d}){const _0x16ac63=a56_0x11ddcf;if(_0x3fd6c5[_0x16ac63(0x16b)]){const _0x419bcd=reconstructCommandArgv(_0x2ac274,_0x1d9f0a);throw CliErrors['validation'](_0x16ac63(0x14e)+_0x59846d+_0x16ac63(0x14b)+(_0x16ac63(0x16e)+_0x419bcd));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x2ac274,_0x59846d,_0x1d9f0a),'createCancelledError':_0x90daa0=>CliErrors['cancelled'](_0x90daa0)});},'mapDryRunError'(_0x2ffb67){return mapUserFacingExecuteError(_0x2ffb67);},'mapExecuteError'(_0x4ffe48){return mapUserFacingExecuteError(_0x4ffe48);},async 'finalize'(){const _0x1d2ffa=a56_0x11ddcf,{clearActiveAK:_0x4d0fdc}=await import(_0x1d2ffa(0x15b));_0x4d0fdc();}};async function resolveExplicitAppName(_0x37754c,_0x29e9e7,_0x3e2e61){const _0x147af7=a56_0x11ddcf;if(_0x37754c[_0x147af7(0x168)]===![])return _0x3e2e61;const _0x5bc085=typeof _0x29e9e7['rawFlags'][_0x147af7(0x14f)]===_0x147af7(0x13c)?_0x29e9e7[_0x147af7(0x144)]['app'][_0x147af7(0x162)]():'';if(!_0x5bc085)return _0x3e2e61;const _0x38d233=typeof _0x29e9e7[_0x147af7(0x144)]['appcode']==='string'&&_0x29e9e7[_0x147af7(0x144)][_0x147af7(0x149)][_0x147af7(0x162)]()||productEnv(_0x147af7(0x155));if(_0x38d233||_0x29e9e7['appCodeSource']===_0x147af7(0x150))return _0x3e2e61;const {getRemoteAppList:_0x4e3fab}=await import(_0x147af7(0x157)),_0x266947=await _0x4e3fab({'env':_0x29e9e7[_0x147af7(0x14d)]??_0x147af7(0x13d),'accessKey':_0x29e9e7[_0x147af7(0x148)]}),_0x5de389=_0x266947[_0x147af7(0x164)]['find'](_0x3ea34f=>_0x3ea34f[_0x147af7(0x167)]===_0x5bc085),_0xf4af6f=_0x5de389?.[_0x147af7(0x143)]?.[_0x147af7(0x162)]();if(_0xf4af6f)return _0xf4af6f;throw CliErrors[_0x147af7(0x145)](_0x147af7(0x141)+_0x5bc085,_0x147af7(0x16a)+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.'+_0x5bc085+_0x147af7(0x142)+PRODUCT_CONFIG['newConfigFileName']+'.');}export async function runCommand(_0x45765d,_0x496ccc){await runCommandWithAdapter(_0x45765d,_0x496ccc,runnerAdapter);}
1
+ const a56_0x725397=a56_0x2179;(function(_0x3488e4,_0x28a3df){const _0x3e6235=a56_0x2179,_0x138983=_0x3488e4();while(!![]){try{const _0x87787a=-parseInt(_0x3e6235(0x176))/0x1+-parseInt(_0x3e6235(0x16d))/0x2*(parseInt(_0x3e6235(0x169))/0x3)+-parseInt(_0x3e6235(0x168))/0x4*(parseInt(_0x3e6235(0x17c))/0x5)+-parseInt(_0x3e6235(0x189))/0x6+parseInt(_0x3e6235(0x182))/0x7*(-parseInt(_0x3e6235(0x15d))/0x8)+parseInt(_0x3e6235(0x18b))/0x9*(parseInt(_0x3e6235(0x181))/0xa)+parseInt(_0x3e6235(0x167))/0xb;if(_0x87787a===_0x28a3df)break;else _0x138983['push'](_0x138983['shift']());}catch(_0x4f9f11){_0x138983['push'](_0x138983['shift']());}}}(a56_0x59a3,0x55b63));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';function a56_0x2179(_0x16a2ab,_0xe3c0f8){_0x16a2ab=_0x16a2ab-0x158;const _0x59a364=a56_0x59a3();let _0x217934=_0x59a364[_0x16a2ab];return _0x217934;}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvName}from'../constant/product.js';import{isNonInteractiveMode,readAppCodeFromConfig}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{getApiDomain}from'../constant/domain.js';import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';import{mapUserFacingExecuteError}from'../framework/runner-error.js';export function resolveAuthMode(_0x235526){const _0x4080e6=a56_0x2179;return void _0x235526,AUTH_MODE[_0x4080e6(0x16b)];}export function createPipelineEnv(_0x15468d,_0x42fbad){const _0xdb488d=a56_0x2179,_0x39deb6=typeof _0x42fbad[_0xdb488d(0x16a)]===_0xdb488d(0x18d)&&_0x42fbad['app'][_0xdb488d(0x16f)]();return{'rawFlags':_0x42fbad,'appCode':_0x15468d[_0xdb488d(0x16c)]||productEnv(_0xdb488d(0x18c))||(_0x39deb6?undefined:readAppCodeFromConfig()),'appCodeSource':_0x15468d[_0xdb488d(0x165)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x42fbad),'defaultFormat':_0x15468d[_0xdb488d(0x180)],'defaultPageSize':_0x15468d['pageSize'],'defaultVerbose':_0x15468d[_0xdb488d(0x18f)],'riskLevel':_0x15468d[_0xdb488d(0x164)],'accessKey':_0x15468d['accessKey'],'env':_0x15468d['env'],'mergedCli':{'defaultApp':_0x15468d['defaultApp'],'currentApp':_0x15468d[_0xdb488d(0x184)],'appCode':_0x15468d[_0xdb488d(0x16c)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a56_0x725397(0x17e)](_0x56ab1a=>PIPELINE_FLAG_NAMES['has'](_0x56ab1a[a56_0x725397(0x15e)]))[a56_0x725397(0x163)](({name:_0x2a2a7c,type:_0x2e2ed0,description:_0x2f6bcf})=>({'name':_0x2a2a7c,'type':_0x2e2ed0,'description':_0x2f6bcf})),'formatOutput':formatOutput,'getCommandLabel'(_0x10930a){const _0x146e91=a56_0x725397;return CLI_BIN_NAME+'\x20'+_0x10930a[_0x146e91(0x160)]+'\x20'+_0x10930a['command'];},'riskPolicy':{'onViolation'(_0x52021c){const _0x4352b2=a56_0x725397;console[_0x4352b2(0x17d)](_0x52021c);},'createError'(_0x59f27b){const _0x4f5641=a56_0x725397;return CliErrors[_0x4f5641(0x162)](_0x59f27b);}},async 'prepare'(_0x3fa28e,_0x3bf75c){const _0x79849d=a56_0x725397,_0x4d9095=resolveAuthMode(_0x3bf75c);if(_0x3fa28e[_0x79849d(0x187)]!==![]){if(!_0x3bf75c[_0x79849d(0x186)])throw CliErrors[_0x79849d(0x17f)](_0x79849d(0x17a)+PRODUCT_CONFIG[_0x79849d(0x175)]+_0x79849d(0x15f)+productEnvName('ACCESS_KEY')+'.');const {setActiveAK:_0x541110}=await import('../core/api-client.js');_0x541110(_0x3bf75c[_0x79849d(0x186)]);}let _0x4087a4='';if(_0x3fa28e[_0x79849d(0x158)]!==![]){_0x4087a4=_0x3bf75c[_0x79849d(0x16c)]??'',_0x4087a4=await resolveExplicitAppName(_0x3fa28e,_0x3bf75c,_0x4087a4);if(!_0x4087a4)throw CliErrors[_0x79849d(0x179)]('Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20'+PRODUCT_CONFIG[_0x79849d(0x175)]+'.');}if(_0x4087a4){const {initSdkClient:_0x11b765}=await import(_0x79849d(0x15a));_0x11b765({'appCode':_0x4087a4,'env':_0x3bf75c[_0x79849d(0x159)]??'production','accessKey':_0x3bf75c[_0x79849d(0x186)],'authMode':_0x4d9095});}return{'defaults':{'booleans':{'verbose':_0x3bf75c[_0x79849d(0x171)]},'numbers':{'pagesize':_0x3bf75c['defaultPageSize']}},'extras':{'appCode':_0x4087a4,'cookie':'','apiDomain':_0x3bf75c[_0x79849d(0x173)],'apiDir':'','accessKey':_0x3bf75c['accessKey'],'envName':_0x3bf75c[_0x79849d(0x159)],'mergedCli':_0x3bf75c[_0x79849d(0x15b)]}};},async 'confirmHighRisk'({def:_0x951418,env:_0xbe9876,flags:_0x326212,commandLabel:_0x203776}){const _0x47cc6a=a56_0x725397;if(_0xbe9876[_0x47cc6a(0x18a)]){const _0x14a88d=reconstructCommandArgv(_0x951418,_0x326212);throw CliErrors[_0x47cc6a(0x18e)]('High-risk\x20operation\x20`'+_0x203776+_0x47cc6a(0x174)+(_0x47cc6a(0x178)+_0x14a88d));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x951418,_0x203776,_0x326212),'createCancelledError':_0x9726d0=>CliErrors[_0x47cc6a(0x162)](_0x9726d0)});},'mapDryRunError'(_0x8a7bfb){return mapUserFacingExecuteError(_0x8a7bfb);},'mapExecuteError'(_0x37f3ea){return mapUserFacingExecuteError(_0x37f3ea);},async 'finalize'(){const _0x870a6=a56_0x725397,{clearActiveAK:_0x43f3a5}=await import(_0x870a6(0x177));_0x43f3a5();}};async function resolveExplicitAppName(_0x4a4d7f,_0x379b5d,_0xb2815c){const _0x54fa1b=a56_0x725397;if(_0x4a4d7f['requiresAppCode']===![])return _0xb2815c;const _0x1ae564=typeof _0x379b5d[_0x54fa1b(0x166)][_0x54fa1b(0x16a)]==='string'?_0x379b5d[_0x54fa1b(0x166)][_0x54fa1b(0x16a)][_0x54fa1b(0x16f)]():'';if(!_0x1ae564)return _0xb2815c;const _0x44f69a=typeof _0x379b5d[_0x54fa1b(0x166)][_0x54fa1b(0x183)]===_0x54fa1b(0x18d)&&_0x379b5d[_0x54fa1b(0x166)][_0x54fa1b(0x183)][_0x54fa1b(0x16f)]()||productEnv(_0x54fa1b(0x18c));if(_0x44f69a||_0x379b5d['appCodeSource']===_0x54fa1b(0x16e))return _0xb2815c;const {getRemoteAppList:_0xe06622}=await import(_0x54fa1b(0x185)),_0x5211bd=await _0xe06622({'env':_0x379b5d[_0x54fa1b(0x159)]??_0x54fa1b(0x172),'accessKey':_0x379b5d[_0x54fa1b(0x186)]}),_0x2b950f=_0x5211bd[_0x54fa1b(0x170)][_0x54fa1b(0x15c)](_0x4862c1=>_0x4862c1[_0x54fa1b(0x17b)]===_0x1ae564),_0x3f0a20=_0x2b950f?.['appCode']?.[_0x54fa1b(0x16f)]();if(_0x3f0a20)return _0x3f0a20;throw CliErrors[_0x54fa1b(0x18e)]('Unknown\x20app:\x20'+_0x1ae564,_0x54fa1b(0x188)+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.'+_0x1ae564+_0x54fa1b(0x161)+PRODUCT_CONFIG[_0x54fa1b(0x175)]+'.');}function a56_0x59a3(){const _0x2da1f9=['appcode','currentApp','../commands/app/remote-source.js','accessKey','requiresAuth','Run\x20`','1944876TrxGnN','isNonInteractive','4131909cpkJWc','APPCODE','string','validation','verbose','requiresAppCode','env','../core/sdk-client.js','mergedCli','find','254744urbNtR','name','\x20or\x20pass\x20','service','.appcode\x20to\x20','cancelled','map','riskLevel','appCodeSource','rawFlags','13814526niHiID','8DjcoLS','44265ZRcbHo','app','ClientAk','appCode','20XRbfKD','local-alias','trim','items','defaultVerbose','production','apiDomain','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','newConfigFileName','559494fALTnc','../core/api-client.js','\x20\x20To\x20proceed:\x20','configMissing','Set\x20accessKey\x20in\x20','appName','513325ymWkxP','error','filter','authRequired','format','10fklkiI','28vCsxmu'];a56_0x59a3=function(){return _0x2da1f9;};return a56_0x59a3();}export async function runCommand(_0xbd4fbd,_0x1a3422){await runCommandWithAdapter(_0xbd4fbd,_0x1a3422,runnerAdapter);}