@lovrabet/lovrabet-cli 2.3.8-beta.4 → 2.3.8-beta.6

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 (191) hide show
  1. package/README.md +12 -0
  2. package/lib/cli.js +1 -1
  3. package/lib/commands/api-doc/index.js +1 -1
  4. package/lib/commands/app/cache.js +1 -1
  5. package/lib/commands/app/definitions.js +1 -1
  6. package/lib/commands/app/eligibility.js +1 -1
  7. package/lib/commands/app/mock-loader.js +1 -1
  8. package/lib/commands/app/remote-source.js +1 -1
  9. package/lib/commands/app/shared.js +1 -1
  10. package/lib/commands/app-config/get.js +1 -1
  11. package/lib/commands/app-config/index.js +1 -1
  12. package/lib/commands/approval/index.js +1 -1
  13. package/lib/commands/artifact/index.js +1 -1
  14. package/lib/commands/auth/device.js +1 -1
  15. package/lib/commands/auth/index.js +1 -1
  16. package/lib/commands/auth/prompt.js +1 -1
  17. package/lib/commands/bff/detail.js +1 -1
  18. package/lib/commands/bff/exec.js +1 -1
  19. package/lib/commands/bff/index.js +1 -1
  20. package/lib/commands/cli-skill/index.js +1 -1
  21. package/lib/commands/common/config-policy.js +1 -1
  22. package/lib/commands/common/constraints.js +1 -1
  23. package/lib/commands/common/flags.js +1 -1
  24. package/lib/commands/common/local-file.js +1 -1
  25. package/lib/commands/config/definitions.js +1 -1
  26. package/lib/commands/config/init.js +1 -1
  27. package/lib/commands/config/shared.js +1 -1
  28. package/lib/commands/data/import-excel.js +1 -1
  29. package/lib/commands/data/index.js +1 -1
  30. package/lib/commands/dataset/detail.js +1 -1
  31. package/lib/commands/dataset/index.js +1 -1
  32. package/lib/commands/dataset/list.js +1 -1
  33. package/lib/commands/dataset/sdk-doc.js +1 -1
  34. package/lib/commands/doctor.js +1 -1
  35. package/lib/commands/file/index.js +1 -1
  36. package/lib/commands/init.js +1 -1
  37. package/lib/commands/issue/context.d.ts +3 -0
  38. package/lib/commands/issue/context.js +1 -0
  39. package/lib/commands/issue/index.d.ts +2 -0
  40. package/lib/commands/issue/index.js +1 -0
  41. package/lib/commands/issue/report.d.ts +2 -0
  42. package/lib/commands/issue/report.js +1 -0
  43. package/lib/commands/kb/index.js +1 -1
  44. package/lib/commands/logs/index.js +1 -1
  45. package/lib/commands/notification/config-list.js +1 -1
  46. package/lib/commands/notification/index.js +1 -1
  47. package/lib/commands/notification/shared.js +1 -1
  48. package/lib/commands/ocr/index.js +1 -1
  49. package/lib/commands/permit/dataset-get.js +1 -1
  50. package/lib/commands/permit/dataset-set.js +1 -1
  51. package/lib/commands/permit/index.js +1 -1
  52. package/lib/commands/permit/page-get.js +1 -1
  53. package/lib/commands/permit/page-set.js +1 -1
  54. package/lib/commands/permit/role-menus-set.js +1 -1
  55. package/lib/commands/permit/role-menus.js +1 -1
  56. package/lib/commands/permit/shared.js +1 -1
  57. package/lib/commands/personal-bff/index.js +1 -1
  58. package/lib/commands/registry.js +1 -1
  59. package/lib/commands/role/create.js +1 -1
  60. package/lib/commands/role/delete.js +1 -1
  61. package/lib/commands/role/detail.js +1 -1
  62. package/lib/commands/role/index.js +1 -1
  63. package/lib/commands/role/list.js +1 -1
  64. package/lib/commands/role/shared.js +1 -1
  65. package/lib/commands/role/update.js +1 -1
  66. package/lib/commands/role/user-add.js +1 -1
  67. package/lib/commands/role/user-remove.js +1 -1
  68. package/lib/commands/schedule/index.js +1 -1
  69. package/lib/commands/schema.js +1 -1
  70. package/lib/commands/service/dynamic.js +1 -1
  71. package/lib/commands/service/function-name-adapter.js +1 -1
  72. package/lib/commands/service/index.js +1 -1
  73. package/lib/commands/service/registry.js +1 -1
  74. package/lib/commands/skill/commands/create.js +1 -1
  75. package/lib/commands/skill/commands/diagram.js +1 -1
  76. package/lib/commands/skill/commands/install.js +1 -1
  77. package/lib/commands/skill/commands/list.js +1 -1
  78. package/lib/commands/skill/commands/push.js +1 -1
  79. package/lib/commands/skill/commands/validate.js +1 -1
  80. package/lib/commands/skill/diagram.js +1 -1
  81. package/lib/commands/skill/flags.js +1 -1
  82. package/lib/commands/skill/index.js +1 -1
  83. package/lib/commands/skill/manifest-helpers.js +1 -1
  84. package/lib/commands/skill/push-execute.js +1 -1
  85. package/lib/commands/skill/push-flow-helpers.js +1 -1
  86. package/lib/commands/skill/push-retarget.js +1 -1
  87. package/lib/commands/skill/scopes.js +1 -1
  88. package/lib/commands/skill/summary.js +1 -1
  89. package/lib/commands/skill/templates.js +1 -1
  90. package/lib/commands/skill/validate.js +1 -1
  91. package/lib/commands/sql/detail.js +1 -1
  92. package/lib/commands/sql/exec.js +1 -1
  93. package/lib/commands/sql/index.js +1 -1
  94. package/lib/commands/update.js +1 -1
  95. package/lib/commands/user-account/bind.js +1 -1
  96. package/lib/commands/user-account/index.js +1 -1
  97. package/lib/commands/workspace/index.js +1 -1
  98. package/lib/config/domain-config.js +1 -1
  99. package/lib/config/schema.js +1 -1
  100. package/lib/constant/app.js +1 -1
  101. package/lib/constant/auth-mode.js +1 -1
  102. package/lib/constant/cli.js +1 -1
  103. package/lib/constant/defaults.js +1 -1
  104. package/lib/constant/distribution.js +1 -1
  105. package/lib/constant/domain.js +1 -1
  106. package/lib/constant/env.js +1 -1
  107. package/lib/constant/output.js +1 -1
  108. package/lib/constant/product.js +1 -1
  109. package/lib/constant/region.js +1 -1
  110. package/lib/constant/risk.js +1 -1
  111. package/lib/constant/url.js +1 -1
  112. package/lib/context.js +1 -1
  113. package/lib/core/api-client.js +1 -1
  114. package/lib/core/db-resolver.js +1 -1
  115. package/lib/core/kb-management-client.js +1 -1
  116. package/lib/core/kb-sdk-errors.js +1 -1
  117. package/lib/core/kb-search-client.js +1 -1
  118. package/lib/core/sdk-client.js +1 -1
  119. package/lib/errors.js +1 -1
  120. package/lib/framework/access-error.js +1 -1
  121. package/lib/framework/build-all-flags.js +1 -1
  122. package/lib/framework/dryrun.js +1 -1
  123. package/lib/framework/flags.js +1 -1
  124. package/lib/framework/help.js +1 -1
  125. package/lib/framework/index.js +1 -1
  126. package/lib/framework/output.js +1 -1
  127. package/lib/framework/preparse.js +1 -1
  128. package/lib/framework/rate-limit.js +1 -1
  129. package/lib/framework/raw-flags.js +1 -1
  130. package/lib/framework/response.js +1 -1
  131. package/lib/framework/runner-confirmation.js +1 -1
  132. package/lib/framework/runner-error.js +1 -1
  133. package/lib/framework/runner.js +1 -1
  134. package/lib/framework/schema-export.js +1 -1
  135. package/lib/framework/service-order.js +1 -1
  136. package/lib/framework/types.js +1 -1
  137. package/lib/generated/build-info.d.ts +4 -4
  138. package/lib/generated/build-info.js +1 -1
  139. package/lib/generated/official-routing.js +1 -1
  140. package/lib/generated/routing-contract.js +1 -1
  141. package/lib/help.js +1 -1
  142. package/lib/postinstall.js +1 -1
  143. package/lib/runtime/confirmation.js +1 -1
  144. package/lib/runtime/event.js +1 -1
  145. package/lib/runtime/index.js +1 -1
  146. package/lib/runtime/queue.js +1 -1
  147. package/lib/runtime/resolve.js +1 -1
  148. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  149. package/lib/services/dataset-import/excel-reader.js +1 -1
  150. package/lib/services/dataset-import/image-bytes.js +1 -1
  151. package/lib/services/dataset-import/image-ooxml.js +1 -1
  152. package/lib/services/dataset-import/image-runner.js +1 -1
  153. package/lib/services/dataset-import/metadata.js +1 -1
  154. package/lib/services/dataset-import/preview.js +1 -1
  155. package/lib/services/dataset-import/runner.js +1 -1
  156. package/lib/skills/builtin-skill.js +1 -1
  157. package/lib/skills/npx-skills-add.js +1 -1
  158. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  159. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  160. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  161. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  162. package/lib/skills/runtime-skill-sync/links.js +1 -1
  163. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  164. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  165. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  166. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  167. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  168. package/lib/skills/runtime-skill-sync/push.js +1 -1
  169. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  170. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  171. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  172. package/lib/skills/runtime-skill-sync.js +1 -1
  173. package/lib/skills/skill-presence.js +1 -1
  174. package/lib/utils/access-key-redaction.js +1 -1
  175. package/lib/utils/apply-jq-filter.js +1 -1
  176. package/lib/utils/cli-version-check.js +1 -1
  177. package/lib/utils/cli-version-policy.js +1 -1
  178. package/lib/utils/logger.js +1 -1
  179. package/lib/utils/lossless-json.js +1 -1
  180. package/lib/utils/params.js +1 -1
  181. package/lib/utils/positive-safe-integer.js +1 -1
  182. package/lib/utils/redaction.js +1 -1
  183. package/lib/utils/runtime-user-id.js +1 -1
  184. package/lib/utils/update-notice.js +1 -1
  185. package/lib/utils/version.js +1 -1
  186. package/lib/utils/write-cli-side-channel.js +1 -1
  187. package/package.json +2 -2
  188. package/skills/lovrabet/SKILL.md +12 -2
  189. package/skills/lovrabet/guides/development-intent-handoff.md +58 -0
  190. package/skills/lovrabet/references/lovrabet-issue-report.md +24 -0
  191. package/skills/lovrabet.manifest.json +5 -3
@@ -1 +1 @@
1
- function a92_0x21fc(_0x5e14e8,_0x51db48){_0x5e14e8=_0x5e14e8-0x18c;const _0x5aabb6=a92_0x5aab();let _0x21fcb1=_0x5aabb6[_0x5e14e8];return _0x21fcb1;}const a92_0x40f90a=a92_0x21fc;(function(_0x2749e6,_0x436e3e){const _0x2ba1a9=a92_0x21fc,_0x3f55da=_0x2749e6();while(!![]){try{const _0x6f1a02=-parseInt(_0x2ba1a9(0x18c))/0x1*(parseInt(_0x2ba1a9(0x193))/0x2)+parseInt(_0x2ba1a9(0x194))/0x3+-parseInt(_0x2ba1a9(0x18f))/0x4*(-parseInt(_0x2ba1a9(0x192))/0x5)+parseInt(_0x2ba1a9(0x197))/0x6*(-parseInt(_0x2ba1a9(0x18d))/0x7)+-parseInt(_0x2ba1a9(0x18e))/0x8+-parseInt(_0x2ba1a9(0x190))/0x9*(-parseInt(_0x2ba1a9(0x196))/0xa)+-parseInt(_0x2ba1a9(0x195))/0xb;if(_0x6f1a02===_0x436e3e)break;else _0x3f55da['push'](_0x3f55da['shift']());}catch(_0x42eb4a){_0x3f55da['push'](_0x3f55da['shift']());}}}(a92_0x5aab,0xc1a49));function a92_0x5aab(){const _0x584e2c=['18934WJyHyZ','2117988EArFqC','7468912AHWWRO','1158940WKGtdk','6WeHxXz','17tfBHGL','3765181uAspCu','4665384KguALd','40rqKvTQ','117TMehtY','UNPUBLISH','270765mWOYUo'];a92_0x5aab=function(){return _0x584e2c;};return a92_0x5aab();}export const APP_PUBLISH_STATUS={'Published':'PUBLISHED','Unpublished':a92_0x40f90a(0x191)};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS['Published'];
1
+ const a95_0x5caa3f=a95_0x20ac;function a95_0x20ac(_0x556825,_0x2735e1){_0x556825=_0x556825-0xd7;const _0x19254c=a95_0x1925();let _0x20ac83=_0x19254c[_0x556825];return _0x20ac83;}function a95_0x1925(){const _0x3428d9=['PUBLISHED','945920KkeudI','16415wKVjPa','6fojNka','2qKtIeL','207820TTfTrT','2302450ANikCA','56mrraxY','246mEGqlZ','680841GoIrif','187169cJZMzO','Published','13796827ggivfr','12mOMGtV'];a95_0x1925=function(){return _0x3428d9;};return a95_0x1925();}(function(_0x1c5979,_0x5ef39c){const _0x4d4483=a95_0x20ac,_0x19dd6d=_0x1c5979();while(!![]){try{const _0x56e843=-parseInt(_0x4d4483(0xdc))/0x1*(-parseInt(_0x4d4483(0xe4))/0x2)+-parseInt(_0x4d4483(0xe3))/0x3*(-parseInt(_0x4d4483(0xd7))/0x4)+-parseInt(_0x4d4483(0xe1))/0x5+parseInt(_0x4d4483(0xda))/0x6*(-parseInt(_0x4d4483(0xe2))/0x7)+-parseInt(_0x4d4483(0xd9))/0x8*(parseInt(_0x4d4483(0xdb))/0x9)+-parseInt(_0x4d4483(0xd8))/0xa+-parseInt(_0x4d4483(0xde))/0xb*(-parseInt(_0x4d4483(0xdf))/0xc);if(_0x56e843===_0x5ef39c)break;else _0x19dd6d['push'](_0x19dd6d['shift']());}catch(_0x52e071){_0x19dd6d['push'](_0x19dd6d['shift']());}}}(a95_0x1925,0x7a1fb));export const APP_PUBLISH_STATUS={'Published':a95_0x5caa3f(0xe0),'Unpublished':'UNPUBLISH'};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a95_0x5caa3f(0xdd)];
@@ -1 +1 @@
1
- function a93_0x3900(_0x1833fc,_0x5ddc7f){_0x1833fc=_0x1833fc-0xfa;const _0x2b8755=a93_0x2b87();let _0x39007b=_0x2b8755[_0x1833fc];return _0x39007b;}const a93_0xe32b27=a93_0x3900;(function(_0x53c525,_0x5767ad){const _0x5d98d1=a93_0x3900,_0x5c1152=_0x53c525();while(!![]){try{const _0x3d4a92=parseInt(_0x5d98d1(0x101))/0x1+parseInt(_0x5d98d1(0xfb))/0x2+-parseInt(_0x5d98d1(0xff))/0x3+parseInt(_0x5d98d1(0xfc))/0x4+-parseInt(_0x5d98d1(0xfd))/0x5+parseInt(_0x5d98d1(0x102))/0x6+-parseInt(_0x5d98d1(0xfa))/0x7;if(_0x3d4a92===_0x5767ad)break;else _0x5c1152['push'](_0x5c1152['shift']());}catch(_0x14b81f){_0x5c1152['push'](_0x5c1152['shift']());}}}(a93_0x2b87,0xd92c9));function a93_0x2b87(){const _0x21de8d=['3270162uITJJd','ClientAk','1697190PflPKw','3509094TPFwQN','7182686EeMwEt','672086wCeVHK','3698620aYzucz','2685200ThaZWi','client-ak'];a93_0x2b87=function(){return _0x21de8d;};return a93_0x2b87();}export const AUTH_MODE={'ClientAk':a93_0xe32b27(0xfe)};export function isAuthMode(_0x59beaf){const _0x109cf8=a93_0xe32b27;return _0x59beaf===AUTH_MODE[_0x109cf8(0x100)];}
1
+ function a96_0x3042(_0x4a692b,_0x39d7c6){_0x4a692b=_0x4a692b-0x1c7;const _0x36e2b0=a96_0x36e2();let _0x304223=_0x36e2b0[_0x4a692b];return _0x304223;}const a96_0x5edce9=a96_0x3042;(function(_0x1a5a71,_0x54e4e9){const _0x498cd6=a96_0x3042,_0x4a6524=_0x1a5a71();while(!![]){try{const _0x13995f=-parseInt(_0x498cd6(0x1d1))/0x1*(parseInt(_0x498cd6(0x1d2))/0x2)+parseInt(_0x498cd6(0x1d0))/0x3*(-parseInt(_0x498cd6(0x1cf))/0x4)+-parseInt(_0x498cd6(0x1cd))/0x5*(-parseInt(_0x498cd6(0x1c7))/0x6)+-parseInt(_0x498cd6(0x1ca))/0x7+parseInt(_0x498cd6(0x1ce))/0x8+-parseInt(_0x498cd6(0x1d3))/0x9+parseInt(_0x498cd6(0x1cc))/0xa*(parseInt(_0x498cd6(0x1c9))/0xb);if(_0x13995f===_0x54e4e9)break;else _0x4a6524['push'](_0x4a6524['shift']());}catch(_0x4f9861){_0x4a6524['push'](_0x4a6524['shift']());}}}(a96_0x36e2,0x49191));export const AUTH_MODE={'ClientAk':a96_0x5edce9(0x1cb)};function a96_0x36e2(){const _0x1b4c9e=['350vaXzZK','15wYSCQU','1284600chpANE','4eCypgl','1036677JdjtUU','63883GOasAB','6TmyYKJ','4922541PdTYqX','90438idwLXE','ClientAk','523468pSaDMs','3414656eOYzid','client-ak'];a96_0x36e2=function(){return _0x1b4c9e;};return a96_0x36e2();}export function isAuthMode(_0x232549){const _0x32ffb1=a96_0x5edce9;return _0x232549===AUTH_MODE[_0x32ffb1(0x1c8)];}
@@ -1 +1 @@
1
- const a94_0x318684=a94_0x4a0d;(function(_0xfcd616,_0x232728){const _0x130543=a94_0x4a0d,_0xf517cd=_0xfcd616();while(!![]){try{const _0x12dd5e=-parseInt(_0x130543(0x14e))/0x1+-parseInt(_0x130543(0x15d))/0x2*(parseInt(_0x130543(0x150))/0x3)+parseInt(_0x130543(0x159))/0x4+parseInt(_0x130543(0x15c))/0x5*(parseInt(_0x130543(0x148))/0x6)+-parseInt(_0x130543(0x14a))/0x7*(-parseInt(_0x130543(0x14f))/0x8)+-parseInt(_0x130543(0x135))/0x9+parseInt(_0x130543(0x158))/0xa;if(_0x12dd5e===_0x232728)break;else _0xf517cd['push'](_0xf517cd['shift']());}catch(_0x13a626){_0xf517cd['push'](_0xf517cd['shift']());}}}(a94_0x2c9c,0x2afda));function a94_0x2c9c(){const _0x358113=['name','Name\x20filter','appcode','2464002VEeuNi','non-interactive','<code>','map','cliDisplayName','meowKey','dry-run','Override\x20appcode','Environment','type','Clear\x20output','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','Preview\x20operation\x20without\x20executing','JSON\x20params\x20for\x20execute\x20commands','yes','Verbose\x20output','nonInteractive','params','env','1241958orCUix','global','21mcyNwR','cliBinName','production\x20|\x20development\x20|\x20daily','verbose','8976SgwDcH','160376cSoOdt','431979LTWIIy','json\x20|\x20pretty\x20|\x20compress','string','Select\x20app\x20profile\x20by\x20name','app','boolean','clear','format','2558820bgnVeM','319284sRjmag','Use\x20global\x20config\x20scope','Output\x20format','5sRDfJe','2SZMuur','Alias\x20for\x20--non-interactive','Force\x20non-interactive\x20mode\x20(CI)','Record\x20ID','Show\x20help'];a94_0x2c9c=function(){return _0x358113;};return a94_0x2c9c();}import{PRODUCT_CONFIG}from'../constant/product.js';function a94_0x4a0d(_0x20e4a7,_0x13975c){_0x20e4a7=_0x20e4a7-0x133;const _0x2c9caa=a94_0x2c9c();let _0x4a0d27=_0x2c9caa[_0x20e4a7];return _0x4a0d27;}import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a94_0x318684(0x14b)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a94_0x318684(0x139)];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a94_0x318684(0x134),'meowKey':'appcode','type':a94_0x318684(0x152),'description':a94_0x318684(0x13c),'hint':a94_0x318684(0x137)},{'name':a94_0x318684(0x154),'meowKey':a94_0x318684(0x154),'type':a94_0x318684(0x152),'description':a94_0x318684(0x153),'hint':'<name>'},{'name':a94_0x318684(0x147),'meowKey':a94_0x318684(0x147),'type':'string','description':a94_0x318684(0x13d),'hint':a94_0x318684(0x14c)},{'name':a94_0x318684(0x157),'meowKey':a94_0x318684(0x157),'type':a94_0x318684(0x152),'description':a94_0x318684(0x15b),'hint':a94_0x318684(0x151)},{'name':'jq','meowKey':'jq','type':'string','description':a94_0x318684(0x140),'hint':'<expr>'},{'name':a94_0x318684(0x13b),'meowKey':'dryRun','type':'boolean','description':a94_0x318684(0x141)},{'name':'yes','meowKey':a94_0x318684(0x143),'type':a94_0x318684(0x155),'description':'Skip\x20confirmation\x20for\x20high-risk\x20writes'},{'name':'non-interactive','meowKey':a94_0x318684(0x145),'type':a94_0x318684(0x155),'description':a94_0x318684(0x15f)},{'name':a94_0x318684(0x149),'meowKey':a94_0x318684(0x149),'type':a94_0x318684(0x155),'description':a94_0x318684(0x15a)},{'name':'ci','meowKey':'ci','type':a94_0x318684(0x155),'description':a94_0x318684(0x15e),'hidden':!![]},{'name':'help','meowKey':'help','type':a94_0x318684(0x155),'description':a94_0x318684(0x161)},{'name':'id','meowKey':'id','type':a94_0x318684(0x152),'description':a94_0x318684(0x160),'hidden':!![]},{'name':'name','meowKey':a94_0x318684(0x162),'type':a94_0x318684(0x152),'description':a94_0x318684(0x133),'hidden':!![]},{'name':'sqlcode','meowKey':'sqlcode','type':a94_0x318684(0x152),'description':'SQL\x20query\x20code','hidden':!![]},{'name':a94_0x318684(0x146),'meowKey':a94_0x318684(0x146),'type':a94_0x318684(0x152),'description':a94_0x318684(0x142),'hidden':!![]},{'name':a94_0x318684(0x14d),'meowKey':a94_0x318684(0x14d),'type':a94_0x318684(0x155),'description':a94_0x318684(0x144),'hidden':!![]},{'name':'clear','meowKey':a94_0x318684(0x156),'type':a94_0x318684(0x155),'description':a94_0x318684(0x13f),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a94_0x318684(0x134),a94_0x318684(0x154),a94_0x318684(0x147),'format','jq',a94_0x318684(0x13b),a94_0x318684(0x143),a94_0x318684(0x136),'ci']);export function buildMeowFlags(){const _0xd9262d=a94_0x318684;return Object['fromEntries'](GLOBAL_FLAGS[_0xd9262d(0x138)](_0x12c4aa=>[_0x12c4aa[_0xd9262d(0x13a)],{'type':_0x12c4aa[_0xd9262d(0x13e)]}]));}
1
+ const a97_0x6e444=a97_0xd3f6;(function(_0x3e8615,_0x437527){const _0x3caa55=a97_0xd3f6,_0x293f17=_0x3e8615();while(!![]){try{const _0x443225=parseInt(_0x3caa55(0xb6))/0x1+parseInt(_0x3caa55(0xd9))/0x2+parseInt(_0x3caa55(0xd4))/0x3*(parseInt(_0x3caa55(0xde))/0x4)+parseInt(_0x3caa55(0xcd))/0x5*(parseInt(_0x3caa55(0xcb))/0x6)+parseInt(_0x3caa55(0xc8))/0x7*(parseInt(_0x3caa55(0xb8))/0x8)+-parseInt(_0x3caa55(0xd5))/0x9*(parseInt(_0x3caa55(0xcf))/0xa)+-parseInt(_0x3caa55(0xc4))/0xb;if(_0x443225===_0x437527)break;else _0x293f17['push'](_0x293f17['shift']());}catch(_0x2f1300){_0x293f17['push'](_0x293f17['shift']());}}}(a97_0x5901,0xb14c0));function a97_0xd3f6(_0x8f3081,_0x22c187){_0x8f3081=_0x8f3081-0xb2;const _0x59014e=a97_0x5901();let _0xd3f6ec=_0x59014e[_0x8f3081];return _0xd3f6ec;}import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG['cliBinName'];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a97_0x6e444(0xba)];function a97_0x5901(){const _0x258298=['Record\x20ID','47848ThWruZ','boolean','cliDisplayName','name','type','Alias\x20for\x20--non-interactive','json\x20|\x20pretty\x20|\x20compress','<code>','params','JSON\x20params\x20for\x20execute\x20commands','map','SQL\x20query\x20code','40331390Immjuk','Show\x20help','sqlcode','Use\x20global\x20config\x20scope','945TPjZyf','dryRun','Select\x20app\x20profile\x20by\x20name','1943724NFhsVW','app','10LkATGh','non-interactive','10pTsLIM','Skip\x20confirmation\x20for\x20high-risk\x20writes','help','meowKey','format','1545243cWeUcu','663948HUfwOK','yes','fromEntries','dry-run','2617518xnoINV','env','Clear\x20output','verbose','nonInteractive','4eohfGN','Environment','production\x20|\x20development\x20|\x20daily','<expr>','Override\x20appcode','Name\x20filter','Verbose\x20output','appcode','global','string','Force\x20non-interactive\x20mode\x20(CI)','clear','Preview\x20operation\x20without\x20executing','1187287ZXklks'];a97_0x5901=function(){return _0x258298;};return a97_0x5901();}export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a97_0x6e444(0xe5),'meowKey':'appcode','type':a97_0x6e444(0xb2),'description':a97_0x6e444(0xe2),'hint':a97_0x6e444(0xbf)},{'name':a97_0x6e444(0xcc),'meowKey':a97_0x6e444(0xcc),'type':a97_0x6e444(0xb2),'description':a97_0x6e444(0xca),'hint':'<name>'},{'name':'env','meowKey':a97_0x6e444(0xda),'type':a97_0x6e444(0xb2),'description':a97_0x6e444(0xdf),'hint':a97_0x6e444(0xe0)},{'name':a97_0x6e444(0xd3),'meowKey':a97_0x6e444(0xd3),'type':a97_0x6e444(0xb2),'description':'Output\x20format','hint':a97_0x6e444(0xbe)},{'name':'jq','meowKey':'jq','type':'string','description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','hint':a97_0x6e444(0xe1)},{'name':'dry-run','meowKey':a97_0x6e444(0xc9),'type':'boolean','description':a97_0x6e444(0xb5)},{'name':'yes','meowKey':a97_0x6e444(0xd6),'type':a97_0x6e444(0xb9),'description':a97_0x6e444(0xd0)},{'name':a97_0x6e444(0xce),'meowKey':a97_0x6e444(0xdd),'type':a97_0x6e444(0xb9),'description':a97_0x6e444(0xb3)},{'name':a97_0x6e444(0xe6),'meowKey':a97_0x6e444(0xe6),'type':'boolean','description':a97_0x6e444(0xc7)},{'name':'ci','meowKey':'ci','type':a97_0x6e444(0xb9),'description':a97_0x6e444(0xbd),'hidden':!![]},{'name':a97_0x6e444(0xd1),'meowKey':a97_0x6e444(0xd1),'type':a97_0x6e444(0xb9),'description':a97_0x6e444(0xc5)},{'name':'id','meowKey':'id','type':a97_0x6e444(0xb2),'description':a97_0x6e444(0xb7),'hidden':!![]},{'name':'name','meowKey':a97_0x6e444(0xbb),'type':a97_0x6e444(0xb2),'description':a97_0x6e444(0xe3),'hidden':!![]},{'name':a97_0x6e444(0xc6),'meowKey':a97_0x6e444(0xc6),'type':a97_0x6e444(0xb2),'description':a97_0x6e444(0xc3),'hidden':!![]},{'name':a97_0x6e444(0xc0),'meowKey':a97_0x6e444(0xc0),'type':'string','description':a97_0x6e444(0xc1),'hidden':!![]},{'name':'verbose','meowKey':a97_0x6e444(0xdc),'type':a97_0x6e444(0xb9),'description':a97_0x6e444(0xe4),'hidden':!![]},{'name':a97_0x6e444(0xb4),'meowKey':'clear','type':a97_0x6e444(0xb9),'description':a97_0x6e444(0xdb),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a97_0x6e444(0xe5),a97_0x6e444(0xcc),a97_0x6e444(0xda),a97_0x6e444(0xd3),'jq',a97_0x6e444(0xd8),'yes',a97_0x6e444(0xce),'ci']);export function buildMeowFlags(){const _0x3f14ce=a97_0x6e444;return Object[_0x3f14ce(0xd7)](GLOBAL_FLAGS[_0x3f14ce(0xc2)](_0x13712d=>[_0x13712d[_0x3f14ce(0xd2)],{'type':_0x13712d[_0x3f14ce(0xbc)]}]));}
@@ -1 +1 @@
1
- function a95_0x2ca2(_0x2ef838,_0x178879){_0x2ef838=_0x2ef838-0x1f4;const _0x354865=a95_0x3548();let _0x2ca24f=_0x354865[_0x2ef838];return _0x2ca24f;}const a95_0x3e0de6=a95_0x2ca2;(function(_0x4ae4c4,_0x29cde3){const _0x365f99=a95_0x2ca2,_0x15bad8=_0x4ae4c4();while(!![]){try{const _0x358b52=parseInt(_0x365f99(0x1fe))/0x1*(-parseInt(_0x365f99(0x1f8))/0x2)+-parseInt(_0x365f99(0x1f4))/0x3*(parseInt(_0x365f99(0x1fb))/0x4)+-parseInt(_0x365f99(0x1f9))/0x5*(parseInt(_0x365f99(0x1f6))/0x6)+-parseInt(_0x365f99(0x200))/0x7+-parseInt(_0x365f99(0x1fa))/0x8+-parseInt(_0x365f99(0x1f7))/0x9+parseInt(_0x365f99(0x1ff))/0xa*(parseInt(_0x365f99(0x201))/0xb);if(_0x358b52===_0x29cde3)break;else _0x15bad8['push'](_0x15bad8['shift']());}catch(_0x10badb){_0x15bad8['push'](_0x15bad8['shift']());}}}(a95_0x3548,0xb94c7));export const DEFAULT_APP_PROFILE_NAME='main';export const DEFAULT_CONFIG_VALUES={'env':a95_0x3e0de6(0x1f5),'format':a95_0x3e0de6(0x1fc),'locale':'en-US','riskLevel':a95_0x3e0de6(0x1fd)};function a95_0x3548(){const _0x38a259=['1czLvqJ','17687390sFyKvk','7846328pvBHYr','33STAkzq','382209KUzmOg','production','6qqSrCC','11562687MktTYt','1099396WyHMuL','3490045vfjzOZ','1035696XsbQvi','24fwnoss','compress','write'];a95_0x3548=function(){return _0x38a259;};return a95_0x3548();}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a95_0x3e0de6(0x1fc);
1
+ const a98_0x52f3e4=a98_0x28e9;(function(_0x16949e,_0x49620e){const _0x3fe407=a98_0x28e9,_0x16eb95=_0x16949e();while(!![]){try{const _0x36fc8a=parseInt(_0x3fe407(0x1ec))/0x1+-parseInt(_0x3fe407(0x1ee))/0x2+-parseInt(_0x3fe407(0x1f8))/0x3*(-parseInt(_0x3fe407(0x1f2))/0x4)+-parseInt(_0x3fe407(0x1fa))/0x5+-parseInt(_0x3fe407(0x1ef))/0x6*(parseInt(_0x3fe407(0x1f0))/0x7)+-parseInt(_0x3fe407(0x1f9))/0x8+-parseInt(_0x3fe407(0x1f1))/0x9*(-parseInt(_0x3fe407(0x1f3))/0xa);if(_0x36fc8a===_0x49620e)break;else _0x16eb95['push'](_0x16eb95['shift']());}catch(_0x360530){_0x16eb95['push'](_0x16eb95['shift']());}}}(a98_0xefb8,0x55f7c));function a98_0xefb8(){const _0x4c3704=['main','1177152RlSRwh','234cHXJkS','101738npwQjX','677601SaIkLd','1455276gcwBTX','220BmiuIC','write','en-US','production','compress','3TxDRjs','3816424WoDohh','3215325nnOiKU','607467vRKKXW'];a98_0xefb8=function(){return _0x4c3704;};return a98_0xefb8();}export const DEFAULT_APP_PROFILE_NAME=a98_0x52f3e4(0x1ed);export const DEFAULT_CONFIG_VALUES={'env':a98_0x52f3e4(0x1f6),'format':a98_0x52f3e4(0x1f7),'locale':a98_0x52f3e4(0x1f5),'riskLevel':a98_0x52f3e4(0x1f4)};function a98_0x28e9(_0x28b446,_0xb4e530){_0x28b446=_0x28b446-0x1ec;const _0xefb815=a98_0xefb8();let _0x28e9f0=_0xefb815[_0x28b446];return _0x28e9f0;}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a98_0x52f3e4(0x1f7);
@@ -1 +1 @@
1
- const a96_0x2400b2=a96_0x3ab7;(function(_0x572d16,_0x1bef1d){const _0x2904ca=a96_0x3ab7,_0x2dd099=_0x572d16();while(!![]){try{const _0x27f063=-parseInt(_0x2904ca(0x1f1))/0x1*(-parseInt(_0x2904ca(0x1f9))/0x2)+-parseInt(_0x2904ca(0x1f2))/0x3*(-parseInt(_0x2904ca(0x1f0))/0x4)+-parseInt(_0x2904ca(0x1fe))/0x5*(parseInt(_0x2904ca(0x1ef))/0x6)+-parseInt(_0x2904ca(0x1f8))/0x7*(parseInt(_0x2904ca(0x1f5))/0x8)+-parseInt(_0x2904ca(0x1fd))/0x9*(-parseInt(_0x2904ca(0x1f3))/0xa)+parseInt(_0x2904ca(0x1f7))/0xb*(parseInt(_0x2904ca(0x1fa))/0xc)+parseInt(_0x2904ca(0x1f4))/0xd;if(_0x27f063===_0x1bef1d)break;else _0x2dd099['push'](_0x2dd099['shift']());}catch(_0x4e9277){_0x2dd099['push'](_0x2dd099['shift']());}}}(a96_0x1224,0x19113));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a96_0x2400b2(0x1f6)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a96_0x2400b2(0x1fb)];function a96_0x1224(){const _0x43d819=['306330wUXkOj','6pfaAiv','20904MttpwV','67865zVAaZE','6nlQxzu','730YqdoGN','604396nJqPTx','1495080HuhgHW','npmPackageName','627icfgdH','7jfEZGw','6wZQtco','14136qxjiTv','skillSource','npmRegistryBaseUrl','2853BrEvyV'];a96_0x1224=function(){return _0x43d819;};return a96_0x1224();}function a96_0x3ab7(_0x306561,_0x49393c){_0x306561=_0x306561-0x1ef;const _0x1224d0=a96_0x1224();let _0x3ab720=_0x1224d0[_0x306561];return _0x3ab720;}export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a96_0x2400b2(0x1fc)];export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG['cliCdnBaseUrl'];export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+'/dist/lovrabet-cli/config/index.json';
1
+ const a99_0x5cf323=a99_0x4cea;function a99_0x4aa7(){const _0x19c2ed=['2424lByrsJ','394386zGSeLY','2dtZBGS','/dist/lovrabet-cli/config/index.json','13479djhMIV','npmRegistryBaseUrl','10UwSYiR','cliCdnBaseUrl','480FkKQRi','2602472zIlZmZ','npmPackageName','1865780VSouhP','skillSource','5122233SWZYUv','60093ogMtWH','188854aqFOgI','5ZMUQIW'];a99_0x4aa7=function(){return _0x19c2ed;};return a99_0x4aa7();}(function(_0x1126f2,_0x539070){const _0x3b6188=a99_0x4cea,_0x34ee1d=_0x1126f2();while(!![]){try{const _0x567081=parseInt(_0x3b6188(0xa7))/0x1*(-parseInt(_0x3b6188(0xa3))/0x2)+-parseInt(_0x3b6188(0xa9))/0x3*(-parseInt(_0x3b6188(0xad))/0x4)+-parseInt(_0x3b6188(0xa4))/0x5*(parseInt(_0x3b6188(0xa6))/0x6)+parseInt(_0x3b6188(0xb0))/0x7+parseInt(_0x3b6188(0xae))/0x8+parseInt(_0x3b6188(0xb2))/0x9*(parseInt(_0x3b6188(0xab))/0xa)+parseInt(_0x3b6188(0xa2))/0xb*(-parseInt(_0x3b6188(0xa5))/0xc);if(_0x567081===_0x539070)break;else _0x34ee1d['push'](_0x34ee1d['shift']());}catch(_0x430e37){_0x34ee1d['push'](_0x34ee1d['shift']());}}}(a99_0x4aa7,0x53813));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a99_0x5cf323(0xaf)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a99_0x5cf323(0xb1)];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a99_0x5cf323(0xaa)];export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG[a99_0x5cf323(0xac)];function a99_0x4cea(_0x38754d,_0x1e306d){_0x38754d=_0x38754d-0xa2;const _0x4aa741=a99_0x4aa7();let _0x4ceaad=_0x4aa741[_0x38754d];return _0x4ceaad;}export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+a99_0x5cf323(0xa8);
@@ -1 +1 @@
1
- function a97_0x1555(){const _0x27be6f=['region','2910964NedDXZ','587629NhyoEg','888612YezHjI','daily','skill','36QNtXsC','1193392CfhjWq','231wUgAbc','310585aIcTek','production','kbServiceDomain','2JyEBRe','user','runtime','allowOfficialKbServiceDefault','5LBbSiV','runtimeDomain','5525970UZhSFV','skillDomain','serviceDomains','1794726rbnWNa','6kkVBLE'];a97_0x1555=function(){return _0x27be6f;};return a97_0x1555();}const a97_0x186e16=a97_0x1a94;(function(_0x5c9a2c,_0x311a0f){const _0x328e15=a97_0x1a94,_0x5854eb=_0x5c9a2c();while(!![]){try{const _0x4dcbe7=parseInt(_0x328e15(0xc7))/0x1*(parseInt(_0x328e15(0xb3))/0x2)+-parseInt(_0x328e15(0xbc))/0x3+parseInt(_0x328e15(0xbf))/0x4*(-parseInt(_0x328e15(0xb7))/0x5)+parseInt(_0x328e15(0xbd))/0x6*(parseInt(_0x328e15(0xc0))/0x7)+parseInt(_0x328e15(0xc5))/0x8*(parseInt(_0x328e15(0xc4))/0x9)+-parseInt(_0x328e15(0xb9))/0xa+parseInt(_0x328e15(0xc6))/0xb*(parseInt(_0x328e15(0xc1))/0xc);if(_0x4dcbe7===_0x311a0f)break;else _0x5854eb['push'](_0x5854eb['shift']());}catch(_0x56206d){_0x5854eb['push'](_0x5854eb['shift']());}}}(a97_0x1555,0xa3047));import{getEnv,isProduction}from'../constant/env.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbServiceDomain,allowOfficialKbServiceDefault=!![],activeRegion=DEFAULT_LOVRABET_REGION;function a97_0x1a94(_0x11618b,_0x56d18e){_0x11618b=_0x11618b-0xb3;const _0x1555a7=a97_0x1555();let _0x1a9413=_0x1555a7[_0x11618b];return _0x1a9413;}export function initDomains(_0xa2c4d6){const _0x126fb2=a97_0x1a94;customApiDomain=_0xa2c4d6?.['apiDomain'],customUserDomain=_0xa2c4d6?.['userDomain'],customRuntimeDomain=_0xa2c4d6?.[_0x126fb2(0xb8)],customSkillDomain=_0xa2c4d6?.[_0x126fb2(0xba)],customKbServiceDomain=_0xa2c4d6?.[_0x126fb2(0xc9)],allowOfficialKbServiceDefault=_0xa2c4d6?.[_0x126fb2(0xb6)]??!![],activeRegion=_0xa2c4d6?.[_0x126fb2(0xbe)]??DEFAULT_LOVRABET_REGION;}const getActiveRegionDomains=()=>{const _0x141217=a97_0x1a94,_0x159415=OFFICIAL_ROUTING_PROFILES[activeRegion][_0x141217(0xbb)];return isProduction(getEnv())?_0x159415[_0x141217(0xc8)]:_0x141217(0xc2)in _0x159415?_0x159415[_0x141217(0xc2)]:_0x159415[_0x141217(0xc8)];};export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a97_0x186e16(0xb4)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()['api'];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a97_0x186e16(0xb5)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a97_0x186e16(0xc3)];export const getKbServiceDomain=()=>{if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;const _0x1b893f=getActiveRegionDomains();return'kbService'in _0x1b893f?_0x1b893f['kbService']:undefined;};
1
+ function a100_0x8ef8(){const _0x4772b2=['production','serviceDomains','19736ytBZBf','6MBBwLh','262RpBJxA','1971558qPgRsZ','3351vPdVGv','skillDomain','kbService','runtime','1350vUmmtV','skill','allowOfficialKbServiceDefault','4665705imlXxn','api','9616IsVPTx','daily','12620030nwWUet','6896771xHDDXr','userDomain','kbServiceDomain','runtimeDomain','1370hZpAzm'];a100_0x8ef8=function(){return _0x4772b2;};return a100_0x8ef8();}const a100_0x4a3580=a100_0x5151;(function(_0x35d789,_0x16c95a){const _0x17f84f=a100_0x5151,_0xd2591=_0x35d789();while(!![]){try{const _0x2b4d9b=parseInt(_0x17f84f(0x10b))/0x1*(parseInt(_0x17f84f(0x109))/0x2)+-parseInt(_0x17f84f(0x10a))/0x3+parseInt(_0x17f84f(0xfd))/0x4*(parseInt(_0x17f84f(0x104))/0x5)+-parseInt(_0x17f84f(0x108))/0x6*(parseInt(_0x17f84f(0x100))/0x7)+-parseInt(_0x17f84f(0x107))/0x8*(-parseInt(_0x17f84f(0x10f))/0x9)+parseInt(_0x17f84f(0xff))/0xa+-parseInt(_0x17f84f(0xfb))/0xb;if(_0x2b4d9b===_0x16c95a)break;else _0xd2591['push'](_0xd2591['shift']());}catch(_0x484e79){_0xd2591['push'](_0xd2591['shift']());}}}(a100_0x8ef8,0xa1e60));import{getEnv,isProduction}from'../constant/env.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbServiceDomain,allowOfficialKbServiceDefault=!![],activeRegion=DEFAULT_LOVRABET_REGION;export function initDomains(_0x3d17dc){const _0x2e7150=a100_0x5151;customApiDomain=_0x3d17dc?.['apiDomain'],customUserDomain=_0x3d17dc?.[_0x2e7150(0x101)],customRuntimeDomain=_0x3d17dc?.[_0x2e7150(0x103)],customSkillDomain=_0x3d17dc?.[_0x2e7150(0x10c)],customKbServiceDomain=_0x3d17dc?.[_0x2e7150(0x102)],allowOfficialKbServiceDefault=_0x3d17dc?.[_0x2e7150(0xfa)]??!![],activeRegion=_0x3d17dc?.['region']??DEFAULT_LOVRABET_REGION;}const getActiveRegionDomains=()=>{const _0x447bcb=a100_0x5151,_0x4ae502=OFFICIAL_ROUTING_PROFILES[activeRegion][_0x447bcb(0x106)];return isProduction(getEnv())?_0x4ae502[_0x447bcb(0x105)]:_0x447bcb(0xfe)in _0x4ae502?_0x4ae502[_0x447bcb(0xfe)]:_0x4ae502[_0x447bcb(0x105)];};export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()['user'];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a100_0x4a3580(0xfc)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a100_0x4a3580(0x10e)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a100_0x4a3580(0x110)];function a100_0x5151(_0x33242c,_0x21eaa0){_0x33242c=_0x33242c-0xfa;const _0x8ef877=a100_0x8ef8();let _0x515161=_0x8ef877[_0x33242c];return _0x515161;}export const getKbServiceDomain=()=>{const _0x1afe2d=a100_0x4a3580;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;const _0x108561=getActiveRegionDomains();return _0x1afe2d(0x10d)in _0x108561?_0x108561[_0x1afe2d(0x10d)]:undefined;};
@@ -1 +1 @@
1
- const a98_0x1d566d=a98_0x392f;function a98_0x2b89(){const _0x36a7cc=['2995597jcKVun','70MMnbOP','dev','daily','12607970gHWUXw','2886912skPyio','3804YiFkhG','1610589wYmjWs','246200CgfejP','development','production','9aIWAVN','15dDhPZR','1357698lOVLZS','563DYUBuV'];a98_0x2b89=function(){return _0x36a7cc;};return a98_0x2b89();}(function(_0x4a9137,_0x208d76){const _0x156203=a98_0x392f,_0x35d135=_0x4a9137();while(!![]){try{const _0x1d556f=-parseInt(_0x156203(0xd1))/0x1*(-parseInt(_0x156203(0xd8))/0x2)+-parseInt(_0x156203(0xca))/0x3+parseInt(_0x156203(0xd7))/0x4+parseInt(_0x156203(0xcf))/0x5*(parseInt(_0x156203(0xd0))/0x6)+parseInt(_0x156203(0xd3))/0x7*(parseInt(_0x156203(0xcb))/0x8)+-parseInt(_0x156203(0xce))/0x9*(parseInt(_0x156203(0xd6))/0xa)+-parseInt(_0x156203(0xd2))/0xb;if(_0x1d556f===_0x208d76)break;else _0x35d135['push'](_0x35d135['shift']());}catch(_0x1c5e55){_0x35d135['push'](_0x35d135['shift']());}}}(a98_0x2b89,0xad22e));import{productEnv}from'../constant/product.js';function a98_0x392f(_0x3ea782,_0x50e798){_0x3ea782=_0x3ea782-0xca;const _0x2b8972=a98_0x2b89();let _0x392f93=_0x2b8972[_0x3ea782];return _0x392f93;}export const RUNTIME_ENV_VALUES=[a98_0x1d566d(0xcd),'development',a98_0x1d566d(0xd5)];export function normalizeEnv(_0x3cb069){const _0x1a197e=a98_0x1d566d;return _0x3cb069==='online'?_0x1a197e(0xcd):_0x3cb069;}export function isProduction(_0x34eef5){const _0x54b820=a98_0x1d566d;return normalizeEnv(_0x34eef5)===_0x54b820(0xcd);}export function isDaily(_0x983e03){const _0xad4ba2=a98_0x1d566d;return normalizeEnv(_0x983e03)===_0xad4ba2(0xd5);}export function isDev(_0x272d8e){const _0xce5cf=a98_0x1d566d,_0x3fa8a=normalizeEnv(_0x272d8e);return _0x3fa8a===_0xce5cf(0xcc)||_0x3fa8a===_0xce5cf(0xd4);}let env=normalizeEnv(productEnv('ENV')||a98_0x1d566d(0xcd));export function getEnv(){return env;}export function initEnv(_0x11b493){env=normalizeEnv(_0x11b493);}
1
+ const a101_0x3581d1=a101_0x328f;function a101_0x328f(_0x391219,_0x3ad891){_0x391219=_0x391219-0x1e9;const _0xb0dadf=a101_0xb0da();let _0x328fac=_0xb0dadf[_0x391219];return _0x328fac;}(function(_0x557734,_0x4ed8e3){const _0x18ada8=a101_0x328f,_0xfa0a7=_0x557734();while(!![]){try{const _0x22cdb6=-parseInt(_0x18ada8(0x1ed))/0x1+-parseInt(_0x18ada8(0x1f4))/0x2+-parseInt(_0x18ada8(0x1f2))/0x3*(parseInt(_0x18ada8(0x1ef))/0x4)+-parseInt(_0x18ada8(0x1eb))/0x5+parseInt(_0x18ada8(0x1f5))/0x6+parseInt(_0x18ada8(0x1f3))/0x7+parseInt(_0x18ada8(0x1f6))/0x8*(parseInt(_0x18ada8(0x1ee))/0x9);if(_0x22cdb6===_0x4ed8e3)break;else _0xfa0a7['push'](_0xfa0a7['shift']());}catch(_0x31f8e7){_0xfa0a7['push'](_0xfa0a7['shift']());}}}(a101_0xb0da,0x58bc7));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a101_0x3581d1(0x1ec),a101_0x3581d1(0x1f1),a101_0x3581d1(0x1ea)];export function normalizeEnv(_0x5622ec){const _0x595026=a101_0x3581d1;return _0x5622ec===_0x595026(0x1e9)?_0x595026(0x1ec):_0x5622ec;}export function isProduction(_0x4af2e8){const _0x5d7000=a101_0x3581d1;return normalizeEnv(_0x4af2e8)===_0x5d7000(0x1ec);}export function isDaily(_0x5d0041){const _0x5b771c=a101_0x3581d1;return normalizeEnv(_0x5d0041)===_0x5b771c(0x1ea);}export function isDev(_0x262f24){const _0x48d25d=a101_0x3581d1,_0xa6c6e7=normalizeEnv(_0x262f24);return _0xa6c6e7==='development'||_0xa6c6e7===_0x48d25d(0x1f0);}let env=normalizeEnv(productEnv('ENV')||'production');export function getEnv(){return env;}function a101_0xb0da(){const _0x8ed5d=['605685iAFTus','production','585291WbvvDv','32517PSljWH','4MoQHCQ','dev','development','336072peqvEc','239582DWAtMh','293738utSGEE','3063222veGXDr','1736ehtZwB','online','daily'];a101_0xb0da=function(){return _0x8ed5d;};return a101_0xb0da();}export function initEnv(_0x2918a9){env=normalizeEnv(_0x2918a9);}
@@ -1 +1 @@
1
- function a99_0x20f7(_0x28c720,_0x27e329){_0x28c720=_0x28c720-0xc7;const _0x30d591=a99_0x30d5();let _0x20f7da=_0x30d591[_0x28c720];return _0x20f7da;}const a99_0x411986=a99_0x20f7;(function(_0x36a851,_0x2db85c){const _0x2b8dfb=a99_0x20f7,_0x4b2fc6=_0x36a851();while(!![]){try{const _0x1e0cdd=parseInt(_0x2b8dfb(0xc7))/0x1*(-parseInt(_0x2b8dfb(0xcb))/0x2)+-parseInt(_0x2b8dfb(0xcf))/0x3*(-parseInt(_0x2b8dfb(0xcc))/0x4)+parseInt(_0x2b8dfb(0xca))/0x5+-parseInt(_0x2b8dfb(0xd1))/0x6*(-parseInt(_0x2b8dfb(0xc9))/0x7)+parseInt(_0x2b8dfb(0xd2))/0x8*(parseInt(_0x2b8dfb(0xd3))/0x9)+parseInt(_0x2b8dfb(0xd0))/0xa+-parseInt(_0x2b8dfb(0xc8))/0xb;if(_0x1e0cdd===_0x2db85c)break;else _0x4b2fc6['push'](_0x4b2fc6['shift']());}catch(_0x265301){_0x4b2fc6['push'](_0x4b2fc6['shift']());}}}(a99_0x30d5,0x7aac2));function a99_0x30d5(){const _0x252f23=['compress','1059vrycEf','6846820hCUepi','426wOODxx','16VGpyJs','3375459cfeRms','5046lFIfjj','28181252Pyvfhz','88746jPquYX','2119170ULLShm','164qHEeHA','8152lfVqIq','pretty'];a99_0x30d5=function(){return _0x252f23;};return a99_0x30d5();}export const OUTPUT_FORMAT_VALUES=['json',a99_0x411986(0xcd),a99_0x411986(0xce)];
1
+ function a102_0x5e9c(){const _0x4927a8=['21MTEMZH','990081vHrqtp','298148UHCJhX','2370LQhJDB','809979sbsuSA','pretty','1670400Kpokzk','compress','792264ZNWuzV','306125rmlmNr','1500RcJbwG'];a102_0x5e9c=function(){return _0x4927a8;};return a102_0x5e9c();}const a102_0x4e548b=a102_0x50df;function a102_0x50df(_0x331ab8,_0x22fb9c){_0x331ab8=_0x331ab8-0x102;const _0x5e9c4e=a102_0x5e9c();let _0x50df2c=_0x5e9c4e[_0x331ab8];return _0x50df2c;}(function(_0xadaf45,_0x46e63c){const _0x3c9e87=a102_0x50df,_0x580c5a=_0xadaf45();while(!![]){try{const _0x122ebc=parseInt(_0x3c9e87(0x102))/0x1+-parseInt(_0x3c9e87(0x106))/0x2+-parseInt(_0x3c9e87(0x108))/0x3+-parseInt(_0x3c9e87(0x103))/0x4*(parseInt(_0x3c9e87(0x107))/0x5)+parseInt(_0x3c9e87(0x10a))/0x6+parseInt(_0x3c9e87(0x104))/0x7*(parseInt(_0x3c9e87(0x10c))/0x8)+-parseInt(_0x3c9e87(0x105))/0x9;if(_0x122ebc===_0x46e63c)break;else _0x580c5a['push'](_0x580c5a['shift']());}catch(_0x530f52){_0x580c5a['push'](_0x580c5a['shift']());}}}(a102_0x5e9c,0x2aace));export const OUTPUT_FORMAT_VALUES=['json',a102_0x4e548b(0x109),a102_0x4e548b(0x10b)];
@@ -1 +1 @@
1
- const a100_0x4fdbec=a100_0x49da;function a100_0x49da(_0x513abf,_0x42d506){_0x513abf=_0x513abf-0x1a1;const _0x5000c0=a100_0x5000();let _0x49da29=_0x5000c0[_0x513abf];return _0x49da29;}(function(_0x8cc61,_0x10721d){const _0x1ba649=a100_0x49da,_0x2d35da=_0x8cc61();while(!![]){try{const _0x2b46a1=-parseInt(_0x1ba649(0x1a1))/0x1+-parseInt(_0x1ba649(0x1a6))/0x2*(-parseInt(_0x1ba649(0x1b3))/0x3)+parseInt(_0x1ba649(0x1a3))/0x4+parseInt(_0x1ba649(0x1ae))/0x5*(-parseInt(_0x1ba649(0x1ba))/0x6)+parseInt(_0x1ba649(0x1b5))/0x7+-parseInt(_0x1ba649(0x1b6))/0x8*(-parseInt(_0x1ba649(0x1b2))/0x9)+-parseInt(_0x1ba649(0x1a5))/0xa;if(_0x2b46a1===_0x10721d)break;else _0x2d35da['push'](_0x2d35da['shift']());}catch(_0x1f62d6){_0x2d35da['push'](_0x2d35da['shift']());}}}(a100_0x5000,0xa29a2));export const PRODUCT_CONFIG={'cliBinName':'lovrabet','cliDisplayName':a100_0x4fdbec(0x1a2),'npmPackageName':'@lovrabet/lovrabet-cli','skillSource':a100_0x4fdbec(0x1b0),'internalSkillSource':a100_0x4fdbec(0x1b1),'globalSkillName':'lovrabet','npmRegistryBaseUrl':a100_0x4fdbec(0x1b7),'cliCdnBaseUrl':a100_0x4fdbec(0x1a4),'envPrefix':'LOVRABET','legacyEnvPrefixes':[a100_0x4fdbec(0x1a7)],'configFileNames':['.lovrabet.json'],'newConfigFileName':a100_0x4fdbec(0x1b9),'homeDirName':a100_0x4fdbec(0x1ad),'logFileName':a100_0x4fdbec(0x1b4),'invokeSource':a100_0x4fdbec(0x1af),'userCenterDisplayName':a100_0x4fdbec(0x1a8),'skipNpxSkillsEnvSuffix':a100_0x4fdbec(0x1b8),'accessKeyCreatePath':a100_0x4fdbec(0x1aa)};export function productEnvName(_0x5f454a){const _0x4653a2=a100_0x4fdbec;return PRODUCT_CONFIG[_0x4653a2(0x1a9)]+'_'+_0x5f454a;}function a100_0x5000(){const _0x5572b1=['2699548rtBNNG','https://g.lovrabet.com','5196150sDgOQa','34348LOndNz','RABETBASE','Lovrabet\x20User\x20Center','envPrefix','/user/ak','map','legacyEnvPrefixes','.lovrabet','3240290RXBIoQ','cli:lovrabet-runtime','lovrabet/lovrabet-cli','git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','16020bewokw','177HGTDGB','.lovrabet-runtime.log','6451907NvsfzJ','208ALkqXy','https://registry.npmjs.org','SKIP_NPX_SKILLS','.lovrabet.json','6QCrwDZ','822443EyPyia','Lovrabet\x20Runtime\x20CLI'];a100_0x5000=function(){return _0x5572b1;};return a100_0x5000();}export function productEnvNames(_0x1bec75){const _0x26d892=a100_0x4fdbec;return[productEnvName(_0x1bec75),...PRODUCT_CONFIG[_0x26d892(0x1ac)][_0x26d892(0x1ab)](_0x2acd4c=>_0x2acd4c+'_'+_0x1bec75)];}export function productEnv(_0x2e6bb6){for(const _0x2b62fb of productEnvNames(_0x2e6bb6)){const _0x2ef8c6=process.env[_0x2b62fb];if(_0x2ef8c6!==undefined)return _0x2ef8c6;}return undefined;}
1
+ function a103_0x597f(_0x348b0a,_0xd7c862){_0x348b0a=_0x348b0a-0xc0;const _0x3aec2b=a103_0x3aec();let _0x597f54=_0x3aec2b[_0x348b0a];return _0x597f54;}const a103_0x2d6b19=a103_0x597f;function a103_0x3aec(){const _0x32bc34=['5825vuZObn','.lovrabet','git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','LOVRABET','1172400vQioFh','26815920oQtLnG','lovrabet','Lovrabet\x20Runtime\x20CLI','487550rAxSKN','5736SEAlWk','https://registry.npmjs.org','Lovrabet\x20User\x20Center','.lovrabet.json','https://g.lovrabet.com','map','8IIhkpA','/user/ak','186oHAVdm','425113lcCvbO','8464779pxBWzX','SKIP_NPX_SKILLS','507EjgseJ','@lovrabet/lovrabet-cli','.lovrabet-runtime.log','envPrefix','legacyEnvPrefixes','lovrabet/lovrabet-cli'];a103_0x3aec=function(){return _0x32bc34;};return a103_0x3aec();}(function(_0x184e73,_0x52972d){const _0x507377=a103_0x597f,_0x2d9bbc=_0x184e73();while(!![]){try{const _0x4ab6d7=parseInt(_0x507377(0xca))/0x1+parseInt(_0x507377(0xc9))/0x2*(-parseInt(_0x507377(0xcd))/0x3)+-parseInt(_0x507377(0xd7))/0x4+parseInt(_0x507377(0xd3))/0x5*(-parseInt(_0x507377(0xc1))/0x6)+-parseInt(_0x507377(0xc0))/0x7+-parseInt(_0x507377(0xc7))/0x8*(parseInt(_0x507377(0xcb))/0x9)+parseInt(_0x507377(0xd8))/0xa;if(_0x4ab6d7===_0x52972d)break;else _0x2d9bbc['push'](_0x2d9bbc['shift']());}catch(_0x46ab5e){_0x2d9bbc['push'](_0x2d9bbc['shift']());}}}(a103_0x3aec,0xa48af));export const PRODUCT_CONFIG={'cliBinName':a103_0x2d6b19(0xd9),'cliDisplayName':a103_0x2d6b19(0xda),'npmPackageName':a103_0x2d6b19(0xce),'skillSource':a103_0x2d6b19(0xd2),'internalSkillSource':a103_0x2d6b19(0xd5),'globalSkillName':a103_0x2d6b19(0xd9),'npmRegistryBaseUrl':a103_0x2d6b19(0xc2),'cliCdnBaseUrl':a103_0x2d6b19(0xc5),'envPrefix':a103_0x2d6b19(0xd6),'legacyEnvPrefixes':['RABETBASE'],'configFileNames':[a103_0x2d6b19(0xc4)],'newConfigFileName':'.lovrabet.json','homeDirName':a103_0x2d6b19(0xd4),'logFileName':a103_0x2d6b19(0xcf),'invokeSource':'cli:lovrabet-runtime','userCenterDisplayName':a103_0x2d6b19(0xc3),'skipNpxSkillsEnvSuffix':a103_0x2d6b19(0xcc),'accessKeyCreatePath':a103_0x2d6b19(0xc8)};export function productEnvName(_0x3584ed){const _0x12d328=a103_0x2d6b19;return PRODUCT_CONFIG[_0x12d328(0xd0)]+'_'+_0x3584ed;}export function productEnvNames(_0x20f145){const _0x504d8c=a103_0x2d6b19;return[productEnvName(_0x20f145),...PRODUCT_CONFIG[_0x504d8c(0xd1)][_0x504d8c(0xc6)](_0x355c33=>_0x355c33+'_'+_0x20f145)];}export function productEnv(_0x35ded2){for(const _0xe6c777 of productEnvNames(_0x35ded2)){const _0x4746bd=process.env[_0xe6c777];if(_0x4746bd!==undefined)return _0x4746bd;}return undefined;}
@@ -1 +1 @@
1
- (function(_0x37c10d,_0x148a80){const _0x4a7f2b=a101_0xab20,_0x21d627=_0x37c10d();while(!![]){try{const _0x39c22e=-parseInt(_0x4a7f2b(0x170))/0x1*(parseInt(_0x4a7f2b(0x164))/0x2)+-parseInt(_0x4a7f2b(0x165))/0x3+-parseInt(_0x4a7f2b(0x16e))/0x4+-parseInt(_0x4a7f2b(0x172))/0x5+parseInt(_0x4a7f2b(0x167))/0x6*(-parseInt(_0x4a7f2b(0x163))/0x7)+-parseInt(_0x4a7f2b(0x16b))/0x8+parseInt(_0x4a7f2b(0x168))/0x9;if(_0x39c22e===_0x148a80)break;else _0x21d627['push'](_0x21d627['shift']());}catch(_0x28ecf8){_0x21d627['push'](_0x21d627['shift']());}}}(a101_0x17cf,0x98132));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';function a101_0x17cf(){const _0x4e5eb3=['Available\x20regions:\x20','2163066RsdeLv','40579020UkvXHG','join','Region\x20\x22','41360pHbPju','includes','validation','4013624zFJJFT','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.','389gmGNRK','string','6026160iVNpKI','7WValpq','1906cpbANd','2822538GpbkHG'];a101_0x17cf=function(){return _0x4e5eb3;};return a101_0x17cf();}function a101_0xab20(_0x4dd132,_0x42312b){_0x4dd132=_0x4dd132-0x163;const _0x17cf83=a101_0x17cf();let _0xab2035=_0x17cf83[_0x4dd132];return _0xab2035;}import{CliErrors}from'../errors.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x3c012d){const _0x5696b9=a101_0xab20;return typeof _0x3c012d===_0x5696b9(0x171)&&LOVRABET_REGION_VALUES[_0x5696b9(0x16c)](_0x3c012d);}export function isEnabledLovrabetRegion(_0x23509b){return typeof _0x23509b==='string'&&ENABLED_LOVRABET_REGION_VALUES['includes'](_0x23509b);}export function normalizeLovrabetRegion(_0x2efe7e){const _0x120ff3=a101_0xab20;if(_0x2efe7e===undefined||_0x2efe7e===null||_0x2efe7e==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x2efe7e!==_0x120ff3(0x171))throw CliErrors[_0x120ff3(0x16d)]('Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20'+typeof _0x2efe7e+'.',_0x120ff3(0x16f));const _0x28c2c2=REGION_ALIASES[_0x2efe7e]??_0x2efe7e;if(isEnabledLovrabetRegion(_0x28c2c2))return _0x28c2c2;throw CliErrors[_0x120ff3(0x16d)](_0x120ff3(0x16a)+_0x2efe7e+'\x22\x20is\x20not\x20currently\x20available.',_0x120ff3(0x166)+ENABLED_LOVRABET_REGION_VALUES[_0x120ff3(0x169)](',\x20')+'.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.');}
1
+ (function(_0x2543d4,_0x423ce9){const _0x4d804=a104_0x4993,_0x2651fd=_0x2543d4();while(!![]){try{const _0x180c4f=-parseInt(_0x4d804(0x174))/0x1+parseInt(_0x4d804(0x164))/0x2*(-parseInt(_0x4d804(0x16a))/0x3)+parseInt(_0x4d804(0x16d))/0x4+parseInt(_0x4d804(0x167))/0x5+-parseInt(_0x4d804(0x16e))/0x6*(parseInt(_0x4d804(0x173))/0x7)+parseInt(_0x4d804(0x172))/0x8+parseInt(_0x4d804(0x166))/0x9*(parseInt(_0x4d804(0x171))/0xa);if(_0x180c4f===_0x423ce9)break;else _0x2651fd['push'](_0x2651fd['shift']());}catch(_0x2738a5){_0x2651fd['push'](_0x2651fd['shift']());}}}(a104_0x34ea,0x357ef));function a104_0x34ea(){const _0x30e95c=['2238zzALxv','includes','validation','1395748ELSbRA','33522FkUTLO','.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.','Region\x20\x22','15740XlNjVZ','3231288xGQKVV','315IGpOpo','324561uOPPOK','740BYxyZG','\x22\x20is\x20not\x20currently\x20available.','333lHOaBo','1300145FmXlwW','string','Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20'];a104_0x34ea=function(){return _0x30e95c;};return a104_0x34ea();}function a104_0x4993(_0xe94643,_0x1281e3){_0xe94643=_0xe94643-0x164;const _0x34ea57=a104_0x34ea();let _0x4993b6=_0x34ea57[_0xe94643];return _0x4993b6;}import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';import{CliErrors}from'../errors.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x295f11){const _0x479c13=a104_0x4993;return typeof _0x295f11===_0x479c13(0x168)&&LOVRABET_REGION_VALUES[_0x479c13(0x16b)](_0x295f11);}export function isEnabledLovrabetRegion(_0x196363){const _0x21f639=a104_0x4993;return typeof _0x196363===_0x21f639(0x168)&&ENABLED_LOVRABET_REGION_VALUES[_0x21f639(0x16b)](_0x196363);}export function normalizeLovrabetRegion(_0x21ef55){const _0x1b4935=a104_0x4993;if(_0x21ef55===undefined||_0x21ef55===null||_0x21ef55==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x21ef55!==_0x1b4935(0x168))throw CliErrors['validation'](_0x1b4935(0x169)+typeof _0x21ef55+'.','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.');const _0x3111df=REGION_ALIASES[_0x21ef55]??_0x21ef55;if(isEnabledLovrabetRegion(_0x3111df))return _0x3111df;throw CliErrors[_0x1b4935(0x16c)](_0x1b4935(0x170)+_0x21ef55+_0x1b4935(0x165),'Available\x20regions:\x20'+ENABLED_LOVRABET_REGION_VALUES['join'](',\x20')+_0x1b4935(0x16f));}
@@ -1 +1 @@
1
- function a102_0x104f(_0x3413b8,_0x2fdc88){_0x3413b8=_0x3413b8-0x1a1;const _0x51200f=a102_0x5120();let _0x104fab=_0x51200f[_0x3413b8];return _0x104fab;}const a102_0xdcfa4e=a102_0x104f;(function(_0xf2c1dc,_0x4256cd){const _0xb9a58d=a102_0x104f,_0x341280=_0xf2c1dc();while(!![]){try{const _0x7f4b0f=parseInt(_0xb9a58d(0x1a2))/0x1*(parseInt(_0xb9a58d(0x1ae))/0x2)+-parseInt(_0xb9a58d(0x1ad))/0x3*(-parseInt(_0xb9a58d(0x1af))/0x4)+parseInt(_0xb9a58d(0x1ab))/0x5*(-parseInt(_0xb9a58d(0x1a4))/0x6)+-parseInt(_0xb9a58d(0x1a3))/0x7*(-parseInt(_0xb9a58d(0x1a1))/0x8)+parseInt(_0xb9a58d(0x1a5))/0x9*(parseInt(_0xb9a58d(0x1a7))/0xa)+parseInt(_0xb9a58d(0x1aa))/0xb+parseInt(_0xb9a58d(0x1a8))/0xc*(-parseInt(_0xb9a58d(0x1ac))/0xd);if(_0x7f4b0f===_0x4256cd)break;else _0x341280['push'](_0x341280['shift']());}catch(_0x5d23f6){_0x341280['push'](_0x341280['shift']());}}}(a102_0x5120,0x2222a));function a102_0x5120(){const _0x5b21ce=['13hUANXZ','3GRaVoR','507722BInryc','495884KwxgCV','6792OcfIqx','1UHIZYH','1442RsDTpO','1338NnQOeP','9cFREyo','high-risk-write','80560ooHIkJ','3811812QVrvoi','read','487443GnfkpT','3310dXRanC'];a102_0x5120=function(){return _0x5b21ce;};return a102_0x5120();}export const RISK_LEVEL_VALUES=[a102_0xdcfa4e(0x1a9),'write',a102_0xdcfa4e(0x1a6)];
1
+ function a105_0x18a0(_0x3d8eca,_0xebcf9e){_0x3d8eca=_0x3d8eca-0xcc;const _0x57895f=a105_0x5789();let _0x18a035=_0x57895f[_0x3d8eca];return _0x18a035;}function a105_0x5789(){const _0xdf5900=['162jeMOUR','4019455dioXCG','2599374jTvWYx','3533xuofcu','high-risk-write','14oYlMPf','3548yVOVti','write','1862632KhkbrC','7PNbJOd','439975XfvXcE','1263bFbcFL','101350qIBNwx'];a105_0x5789=function(){return _0xdf5900;};return a105_0x5789();}const a105_0x582e47=a105_0x18a0;(function(_0x5014f4,_0x4bc2bd){const _0x43bcfe=a105_0x18a0,_0x4fadc4=_0x5014f4();while(!![]){try{const _0x102457=-parseInt(_0x43bcfe(0xd2))/0x1*(-parseInt(_0x43bcfe(0xd4))/0x2)+parseInt(_0x43bcfe(0xcd))/0x3*(-parseInt(_0x43bcfe(0xd5))/0x4)+parseInt(_0x43bcfe(0xcc))/0x5+parseInt(_0x43bcfe(0xd1))/0x6*(parseInt(_0x43bcfe(0xd8))/0x7)+parseInt(_0x43bcfe(0xd7))/0x8+parseInt(_0x43bcfe(0xcf))/0x9*(parseInt(_0x43bcfe(0xce))/0xa)+-parseInt(_0x43bcfe(0xd0))/0xb;if(_0x102457===_0x4bc2bd)break;else _0x4fadc4['push'](_0x4fadc4['shift']());}catch(_0x3f9563){_0x4fadc4['push'](_0x4fadc4['shift']());}}}(a105_0x5789,0x364ae));export const RISK_LEVEL_VALUES=['read',a105_0x582e47(0xd6),a105_0x582e47(0xd3)];
@@ -1 +1 @@
1
- (function(_0xe19bd3,_0xb22f72){const _0x50137a=a103_0x5e90,_0x6dec54=_0xe19bd3();while(!![]){try{const _0x868d95=-parseInt(_0x50137a(0xa7))/0x1*(-parseInt(_0x50137a(0x9e))/0x2)+-parseInt(_0x50137a(0x9b))/0x3*(-parseInt(_0x50137a(0xa4))/0x4)+parseInt(_0x50137a(0xa5))/0x5*(-parseInt(_0x50137a(0x9c))/0x6)+parseInt(_0x50137a(0x9a))/0x7+-parseInt(_0x50137a(0x9f))/0x8+-parseInt(_0x50137a(0xa1))/0x9*(parseInt(_0x50137a(0x9d))/0xa)+-parseInt(_0x50137a(0xa3))/0xb*(-parseInt(_0x50137a(0xa6))/0xc);if(_0x868d95===_0xb22f72)break;else _0x6dec54['push'](_0x6dec54['shift']());}catch(_0x3a4c7d){_0x6dec54['push'](_0x6dec54['shift']());}}}(a103_0x1dc3,0xc2f67));import{PRODUCT_CONFIG}from'../constant/product.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';export function getUserAccessKeyCreateUrl(_0x1d0a28=DEFAULT_LOVRABET_REGION){const _0x537a05=a103_0x5e90,_0x5caf86=OFFICIAL_ROUTING_PROFILES[_0x1d0a28][_0x537a05(0x99)][_0x537a05(0xa0)][_0x537a05(0xa8)];return''+_0x5caf86+PRODUCT_CONFIG[_0x537a05(0xa2)];}function a103_0x5e90(_0x37cb78,_0x5b9326){_0x37cb78=_0x37cb78-0x99;const _0x1dc357=a103_0x1dc3();let _0x5e901e=_0x1dc357[_0x37cb78];return _0x5e901e;}function a103_0x1dc3(){const _0x71c3e4=['1vyoMAF','user','serviceDomains','5843663DfxJUd','212589nCPeMT','84HzHLqL','18330OyAWaq','1345518fLqTcf','2963056mMSrbx','production','7731jonjlY','accessKeyCreatePath','11euWxMT','4tfTbGr','186985vKEUVe','20263476LWtFHa'];a103_0x1dc3=function(){return _0x71c3e4;};return a103_0x1dc3();}export const USER_ACCESS_KEY_CREATE_URL=getUserAccessKeyCreateUrl();
1
+ (function(_0x24da3f,_0x272268){const _0x39f3cf=a106_0x1afa,_0x383db1=_0x24da3f();while(!![]){try{const _0x2ee4b8=parseInt(_0x39f3cf(0xeb))/0x1*(-parseInt(_0x39f3cf(0xe5))/0x2)+-parseInt(_0x39f3cf(0xe9))/0x3+parseInt(_0x39f3cf(0xee))/0x4*(-parseInt(_0x39f3cf(0xef))/0x5)+parseInt(_0x39f3cf(0xe1))/0x6*(parseInt(_0x39f3cf(0xe4))/0x7)+parseInt(_0x39f3cf(0xe3))/0x8*(-parseInt(_0x39f3cf(0xe2))/0x9)+parseInt(_0x39f3cf(0xe7))/0xa*(parseInt(_0x39f3cf(0xe8))/0xb)+parseInt(_0x39f3cf(0xed))/0xc;if(_0x2ee4b8===_0x272268)break;else _0x383db1['push'](_0x383db1['shift']());}catch(_0x5cdd95){_0x383db1['push'](_0x383db1['shift']());}}}(a106_0x2d4d,0xb8644));import{PRODUCT_CONFIG}from'../constant/product.js';function a106_0x1afa(_0x65f61e,_0x3ced90){_0x65f61e=_0x65f61e-0xe1;const _0x2d4d9c=a106_0x2d4d();let _0x1afa78=_0x2d4d9c[_0x65f61e];return _0x1afa78;}import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';function a106_0x2d4d(){const _0x1f50e2=['5751535coBxqZ','1252962DuYfcD','9RHjFfC','1103752ptaKOY','7PztyMU','2LiIYfe','accessKeyCreatePath','78700YjpcWd','649CwWhju','1475061HHRPqF','user','1089351iwJCBF','production','35417100ySoeSt','4JcWzGM'];a106_0x2d4d=function(){return _0x1f50e2;};return a106_0x2d4d();}import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';export function getUserAccessKeyCreateUrl(_0x54923a=DEFAULT_LOVRABET_REGION){const _0x25920=a106_0x1afa,_0x79b12d=OFFICIAL_ROUTING_PROFILES[_0x54923a]['serviceDomains'][_0x25920(0xec)][_0x25920(0xea)];return''+_0x79b12d+PRODUCT_CONFIG[_0x25920(0xe6)];}export const USER_ACCESS_KEY_CREATE_URL=getUserAccessKeyCreateUrl();
package/lib/context.js CHANGED
@@ -1 +1 @@
1
- const a104_0x288465=a104_0x4d53;function a104_0x3ff7(){const _0x491a73=['nonInteractive','setRawMode','message','locale','raw','546555rhprQc','utf8','accessKey','format','./constant/domain.js','newConfigFileName','userDomain','isTTY','241329JCiiyY','code','string','routing','nativeToolAvailable','11144750BMtlKc','4036110YwERsN','read','EPERM','1232051UiipTL','some','APPCODE','object','app','stdout','defaultApp','globalConfig','trim','projectConfig','parse','hasOwnProperty','write','online','pageSize','local-alias','missing','cache','.tmp','stdin','explicit','7uuIola','skillHubDomain','EXDEV','values','riskLevel','564vMTUSC','top-level','EACCES','true','authRequired','ACCESS_KEY','8hRaYmA','slice','11757069FTzlPV','stringify','high-risk-write','prototype','production','apiDomain','env','daily','kbDomain','56hjmTXT','2201778ZELqxG','region','development','cwd','call','4PrhdaK','empty','appcode','platformDomain','runtimeDomain','agentDomain','kbServiceDomain','join','global','skillDomain','project','find','PAGE_SIZE','host','apps'];a104_0x3ff7=function(){return _0x491a73;};return a104_0x3ff7();}(function(_0x274d5f,_0x105c57){const _0x47bffa=a104_0x4d53,_0x32a8c4=_0x274d5f();while(!![]){try{const _0x17f19f=-parseInt(_0x47bffa(0xcc))/0x1+parseInt(_0x47bffa(0xa7))/0x2*(parseInt(_0x47bffa(0xa2))/0x3)+-parseInt(_0x47bffa(0xa1))/0x4*(parseInt(_0x47bffa(0xbb))/0x5)+-parseInt(_0x47bffa(0xc9))/0x6*(-parseInt(_0x47bffa(0x8b))/0x7)+parseInt(_0x47bffa(0x96))/0x8*(parseInt(_0x47bffa(0x98))/0x9)+parseInt(_0x47bffa(0xc8))/0xa+parseInt(_0x47bffa(0xc3))/0xb*(-parseInt(_0x47bffa(0x90))/0xc);if(_0x17f19f===_0x105c57)break;else _0x32a8c4['push'](_0x32a8c4['shift']());}catch(_0x1d1a9c){_0x32a8c4['push'](_0x32a8c4['shift']());}}}(a104_0x3ff7,0xbb747));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{redactCommandArgv}from'./utils/redaction.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';import{normalizeLovrabetRegion}from'./constant/region.js';import{resolveEnterpriseRoutingConfig}from'./config/domain-config.js';export{AUTH_MODE,isAuthMode}from'./constant/auth-mode.js';const CONFIG_NAMES=PRODUCT_CONFIG['configFileNames'];export const NEW_CONFIG_NAME=PRODUCT_CONFIG[a104_0x288465(0xc0)];function resolveConfigPath(_0x3e4a9c){for(const _0x426886 of CONFIG_NAMES){const _0x429d38=resolve(_0x3e4a9c,_0x426886);if(existsSync(_0x429d38))return _0x429d38;}return undefined;}export function resolveWriteConfigPath(_0x34e4ae){const _0x2ad699=a104_0x288465,_0x26948a=_0x34e4ae===_0x2ad699(0xb1)?process[_0x2ad699(0xa5)]():homedir(),_0x2d642f=resolveConfigPath(_0x26948a);return _0x2d642f??resolve(_0x26948a,NEW_CONFIG_NAME);}export function readConfigFile(_0x4a2d12){const _0x30ff60=a104_0x288465;try{if(existsSync(_0x4a2d12)){const _0xd7df78=readFileSync(_0x4a2d12,{'encoding':_0x30ff60(0xbc)});if(_0xd7df78){const _0x57a69b=JSON[_0x30ff60(0x80)](_0xd7df78);return migrateOnlineEnv(_0x4a2d12,_0x57a69b),_0x57a69b;}}}catch{}return{};}function migrateOnlineEnv(_0x220c48,_0x1533e6){const _0x530bf6=a104_0x288465;let _0x4d34f5=![];_0x1533e6['env']===_0x530bf6(0x83)&&(_0x1533e6[_0x530bf6(0x9e)]=_0x530bf6(0x9c),_0x4d34f5=!![]);if(_0x1533e6[_0x530bf6(0xb5)]&&typeof _0x1533e6[_0x530bf6(0xb5)]==='object')for(const _0x4641f8 of Object[_0x530bf6(0x8e)](_0x1533e6[_0x530bf6(0xb5)])){_0x4641f8&&_0x4641f8[_0x530bf6(0x9e)]===_0x530bf6(0x83)&&(_0x4641f8[_0x530bf6(0x9e)]=_0x530bf6(0x9c),_0x4d34f5=!![]);}if(_0x4d34f5)try{writeConfigFile(_0x220c48,_0x1533e6);}catch{}}export function writeConfigFile(_0x4cd564,_0x275b2f){const _0x46cd6f=a104_0x288465,_0x9aa32=dirname(_0x4cd564);!existsSync(_0x9aa32)&&mkdirSync(_0x9aa32,{'recursive':!![]});const _0x2527e4=_0x4cd564+_0x46cd6f(0x88);try{writeFileSync(_0x2527e4,JSON[_0x46cd6f(0x99)](_0x275b2f,null,0x2)+'\x0a',{'encoding':_0x46cd6f(0xbc),'mode':0x180});try{renameSync(_0x2527e4,_0x4cd564);}catch(_0x48d07b){if(_0x48d07b[_0x46cd6f(0xc4)]===_0x46cd6f(0xcb)||_0x48d07b[_0x46cd6f(0xc4)]===_0x46cd6f(0x8d)||_0x48d07b[_0x46cd6f(0xc4)]===_0x46cd6f(0x92)){writeFileSync(_0x4cd564,JSON[_0x46cd6f(0x99)](_0x275b2f,null,0x2)+'\x0a',{'encoding':_0x46cd6f(0xbc)});try{unlinkSync(_0x2527e4);}catch{}}else throw _0x48d07b;}}catch(_0x357c14){try{unlinkSync(_0x2527e4);}catch{}throw _0x357c14;}}export function isNonInteractiveMode(_0x19fec3){const _0x125227=a104_0x288465;return!!(_0x19fec3[_0x125227(0xb6)]||_0x19fec3['ci']||productEnvNames('CI')[_0x125227(0xcd)](_0x55809c=>process.env[_0x55809c]==='true')||process.env.CI===_0x125227(0x93)||!process[_0x125227(0xd1)][_0x125227(0xc2)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x176d3b=a104_0x288465;if(!process['stdin'][_0x176d3b(0xc2)])return![];try{const _0x21dbb0=process[_0x176d3b(0x89)]['isRaw'];return process[_0x176d3b(0x89)][_0x176d3b(0xb7)](!![]),process[_0x176d3b(0x89)][_0x176d3b(0xb7)](_0x21dbb0??![]),!![];}catch{return![];}}export async function createContext(_0x377bb2){const _0x1c799f=a104_0x288465,_0x576353=readRawConfig(),_0x1ad046=buildConfig(_0x576353,_0x377bb2);await initGlobalEnvironment(_0x1ad046);const {getUserDomain:_0x33cdac,getApiDomain:_0x59b1b3}=await import(_0x1c799f(0xbf)),_0x10c2f5={'apiDomain':_0x59b1b3(),'userDomain':_0x33cdac()},_0x36dfbe=await buildAuth(_0x1ad046);logger['setLogPath'](process[_0x1c799f(0xa5)]());const _0x410482=(CLI_BIN_NAME+'\x20'+redactCommandArgv(process['argv'][_0x1c799f(0x97)](0x2))[_0x1c799f(0xae)]('\x20'))[_0x1c799f(0xd4)]();logger['setRawCommand'](_0x410482);const _0x145733=isNonInteractiveMode(_0x377bb2);return{'config':_0x1ad046,'auth':_0x36dfbe,'logger':logger,'env':_0x10c2f5,'nonInteractive':_0x145733};}function a104_0x4d53(_0x2a5535,_0x4793ec){_0x2a5535=_0x2a5535-0x7f;const _0x3ff787=a104_0x3ff7();let _0x4d5377=_0x3ff787[_0x2a5535];return _0x4d5377;}export function buildConfigFromFlags(_0x40a117){return buildConfig(readRawConfig(),_0x40a117);}export function getLocalAppAliases(_0x3d028c){const _0x9a43f5=a104_0x288465;return _0x3d028c[_0x9a43f5(0xb5)]&&typeof _0x3d028c[_0x9a43f5(0xb5)]===_0x9a43f5(0xcf)?_0x3d028c[_0x9a43f5(0xb5)]:{};}export function resolveLocalAppAliasCode(_0x4c54a6,_0x16d679){const _0x16786e=a104_0x288465;if(!_0x16d679)return undefined;const _0x3f488c=getLocalAppAliases(_0x4c54a6)[_0x16d679],_0x2c2b3a=_0x3f488c?.[_0x16786e(0xa9)];return typeof _0x2c2b3a===_0x16786e(0xc5)&&_0x2c2b3a[_0x16786e(0xd4)]()?_0x2c2b3a[_0x16786e(0xd4)]():undefined;}export function readAppCodeFromConfig(){const _0x34d52d=a104_0x288465,_0x19e217=readRawConfig(),_0x191605=_0x19e217[_0x34d52d(0xa9)]??_0x19e217[_0x34d52d(0xd0)];if(typeof _0x191605===_0x34d52d(0xc5)&&_0x191605[_0x34d52d(0xd4)]())return _0x191605[_0x34d52d(0xd4)]();const _0x39349d=resolveLocalAppAliasCode(_0x19e217,typeof _0x19e217[_0x34d52d(0xd2)]===_0x34d52d(0xc5)?_0x19e217[_0x34d52d(0xd2)]:undefined);if(_0x39349d)return _0x39349d;const _0x1823e9=normalizeEnv(String(_0x19e217['env']||_0x34d52d(0x9c))),_0x4270cd=isDaily(_0x1823e9)?_0x34d52d(0x9f):isDev(_0x1823e9)?_0x34d52d(0xa4):_0x34d52d(0x9c),_0x2a1715=resolveCachedAppCode(typeof _0x19e217[_0x34d52d(0xd2)]==='string'?_0x19e217['defaultApp']:undefined,_0x4270cd,typeof _0x19e217[_0x34d52d(0xbd)]===_0x34d52d(0xc5)?_0x19e217[_0x34d52d(0xbd)]:undefined);if(_0x2a1715)return _0x2a1715;const _0x5917a0=Object['values'](getLocalAppAliases(_0x19e217))[_0x34d52d(0xb2)](_0x20f7bd=>_0x20f7bd?.[_0x34d52d(0xa9)]);return typeof _0x5917a0?.['appcode']==='string'&&_0x5917a0[_0x34d52d(0xa9)]['trim']()?_0x5917a0[_0x34d52d(0xa9)][_0x34d52d(0xd4)]():undefined;}export function readScopedConfig(_0x6ac078){const _0x264a2b=a104_0x288465,_0x5e4cff=_0x6ac078[_0x264a2b(0xaf)]?'global':_0x264a2b(0xb1);return readConfigFile(resolveWriteConfigPath(_0x5e4cff));}export function writeScopedConfig(_0x36a9a0,_0x106a3d){const _0x5229e6=a104_0x288465,_0x5d7211=_0x106a3d[_0x5229e6(0xaf)]?'global':_0x5229e6(0xb1);writeConfigFile(resolveWriteConfigPath(_0x5d7211),_0x36a9a0);}export async function initGlobalEnvironment(_0x460099){const _0x41e27c=a104_0x288465,{initEnv:_0x33d29a}=await import('./constant/env.js');_0x33d29a(_0x460099[_0x41e27c(0x9e)]);const {initDomains:_0x437c64}=await import(_0x41e27c(0xbf)),_0x7fb8d9=resolveEnterpriseRoutingConfig(_0x460099[_0x41e27c(0xba)][_0x41e27c(0xc6)]),_0x1866ec=[_0x41e27c(0x9d),_0x41e27c(0xb4),'userDomain','runtimeDomain',_0x41e27c(0xb0),_0x41e27c(0x8c),_0x41e27c(0xac),_0x41e27c(0xaa),_0x41e27c(0xa0),_0x41e27c(0xad)],_0x5d697a=_0x7fb8d9!==undefined||_0x1866ec[_0x41e27c(0xcd)](_0x379aba=>Object[_0x41e27c(0x9b)][_0x41e27c(0x81)][_0x41e27c(0xa6)](_0x460099[_0x41e27c(0xba)],_0x379aba));_0x437c64({'apiDomain':_0x7fb8d9?_0x7fb8d9['apiDomain']:_0x460099['raw'][_0x41e27c(0x9d)]||_0x460099['raw'][_0x41e27c(0xb4)]||undefined,'userDomain':_0x7fb8d9?_0x7fb8d9[_0x41e27c(0xc1)]:_0x460099['raw'][_0x41e27c(0xc1)]||undefined,'runtimeDomain':_0x7fb8d9?_0x7fb8d9[_0x41e27c(0xab)]:_0x460099[_0x41e27c(0xba)][_0x41e27c(0xab)]||undefined,'skillDomain':_0x7fb8d9?_0x7fb8d9[_0x41e27c(0xb0)]:_0x460099[_0x41e27c(0xba)][_0x41e27c(0xb0)]||_0x460099[_0x41e27c(0xba)][_0x41e27c(0x8c)]||_0x460099[_0x41e27c(0xba)][_0x41e27c(0xac)]||_0x460099[_0x41e27c(0xba)]['platformDomain']||undefined,'kbServiceDomain':_0x7fb8d9?_0x7fb8d9[_0x41e27c(0xad)]:typeof _0x460099['raw']['kbServiceDomain']==='string'&&_0x460099[_0x41e27c(0xba)][_0x41e27c(0xad)][_0x41e27c(0xd4)]()?_0x460099[_0x41e27c(0xba)][_0x41e27c(0xad)]:undefined,'allowOfficialKbServiceDefault':!_0x5d697a,'region':normalizeLovrabetRegion(_0x460099[_0x41e27c(0xba)][_0x41e27c(0xa3)])});}export function getProjectConfigPath(){const _0x56066c=a104_0x288465;return resolveConfigPath(process[_0x56066c(0xa5)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x4c1a34){const _0x2bc62f=a104_0x288465;if(!existsSync(_0x4c1a34))return{'status':_0x2bc62f(0x86)};try{const _0x1a671b=readFileSync(_0x4c1a34,{'encoding':'utf8'});if(!_0x1a671b?.[_0x2bc62f(0xd4)]())return{'status':_0x2bc62f(0xa8)};const _0x10d535=JSON[_0x2bc62f(0x80)](_0x1a671b);return{'status':'ok','data':_0x10d535};}catch(_0x456a96){return{'status':'error','message':_0x456a96 instanceof Error?_0x456a96[_0x2bc62f(0xb8)]:String(_0x456a96)};}}export function loadRawConfigLayers(_0x1370df){const _0x6d2d24=a104_0x288465;let _0x4b0ba8={},_0x50de8e={},_0x101c49,_0x49177c;try{_0x101c49=resolveConfigPath(homedir());if(_0x101c49){const _0x433380=readFileSync(_0x101c49,{'encoding':'utf8'});if(_0x433380)_0x4b0ba8=JSON[_0x6d2d24(0x80)](_0x433380);}}catch{}try{const _0x5747c6=_0x1370df||process['cwd']();_0x49177c=resolveConfigPath(_0x5747c6);if(_0x49177c){const _0x12012d=readFileSync(_0x49177c,{'encoding':_0x6d2d24(0xbc)});if(_0x12012d)_0x50de8e=JSON[_0x6d2d24(0x80)](_0x12012d);}}catch{}return{'globalPath':_0x101c49,'projectPath':_0x49177c,'globalConfig':_0x4b0ba8,'projectConfig':_0x50de8e};}function mergeRawConfigLayers(_0x212404){const _0xfa0c87=a104_0x288465,{globalConfig:_0x3fb274,projectConfig:_0xbb0517}=_0x212404,_0x29d489={..._0x3fb274,..._0xbb0517};delete _0x29d489['inherit'];if(_0xfa0c87(0xd2)in _0xbb0517)_0x29d489['defaultApp']=_0xbb0517['defaultApp'];else _0x3fb274['defaultApp']&&(_0x29d489[_0xfa0c87(0xd2)]=_0x3fb274[_0xfa0c87(0xd2)]);return _0x29d489;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x5e9204){return mergeRawConfigLayers(loadRawConfigLayers(_0x5e9204));}export function readRawConfigWithLayers(_0x1107c8){const _0xfea283=loadRawConfigLayers(_0x1107c8);return{'config':mergeRawConfigLayers(_0xfea283),'layers':_0xfea283};}export function resolveDefaultAppSource(_0x146199){const _0x121431=a104_0x288465;if('defaultApp'in _0x146199[_0x121431(0x7f)])return'project';if(_0x146199[_0x121431(0xd3)]['defaultApp'])return _0x121431(0xaf);return null;}function buildConfig(_0x1b0b52,_0x32d14e){const _0x3fb230=a104_0x288465,_0xeb50b0=_0x1b0b52[_0x3fb230(0xd2)]||undefined,_0x189f3a=_0x32d14e[_0x3fb230(0xd0)]||env('APP')||undefined,_0x2d980f=_0x189f3a||_0xeb50b0||undefined,_0x274a13=env(_0x3fb230(0x95))||_0x1b0b52[_0x3fb230(0xbd)]||undefined,_0x10924c=_0x32d14e[_0x3fb230(0x9e)]||env('ENV')||_0x1b0b52['env']||DEFAULT_CONFIG_VALUES[_0x3fb230(0x9e)],_0x5aa847=normalizeEnv(String(_0x10924c)),_0x166ef4=isDaily(_0x5aa847)?_0x3fb230(0x9f):isDev(_0x5aa847)?'development':'production',_0x311f2a=typeof _0x32d14e[_0x3fb230(0xa9)]===_0x3fb230(0xc5)?_0x32d14e[_0x3fb230(0xa9)]:undefined,_0xddad9e=env(_0x3fb230(0xce)),_0x281f43=_0x189f3a?undefined:_0x1b0b52[_0x3fb230(0xa9)]||_0x1b0b52['app']||undefined,_0x383f58=_0x189f3a||(_0x281f43?undefined:_0xeb50b0),_0x136100=resolveLocalAppAliasCode(_0x1b0b52,_0x383f58),_0x199f20=resolveCachedAppCode(_0x383f58,_0x166ef4,_0x274a13),_0x584dd6=_0x311f2a||_0xddad9e||_0x281f43||_0x136100||_0x199f20||undefined,_0x2f67c9=_0x311f2a?_0x3fb230(0x8a):_0xddad9e?_0x3fb230(0x9e):_0x281f43?_0x3fb230(0x91):_0x136100?_0x3fb230(0x85):_0x199f20?_0x3fb230(0x87):undefined,_0x5beaae=_0x1b0b52[_0x3fb230(0xb9)]||DEFAULT_CONFIG_VALUES['locale'],_0x1fe025=undefined,_0x3a32da=_0x32d14e[_0x3fb230(0xbe)]||env('FORMAT')||_0x1b0b52[_0x3fb230(0xbe)],_0x915f6f=normalizeLegacyOutputFormat(_0x3a32da),_0x2c90ef=env(_0x3fb230(0xb3))||_0x1b0b52[_0x3fb230(0x84)],_0x37ad0e=_0x2c90ef?Number(_0x2c90ef)||undefined:undefined,_0x4768ea=_0x1b0b52[_0x3fb230(0x8f)],_0x2ab0c1=_0x4768ea===_0x3fb230(0xca)||_0x4768ea===_0x3fb230(0x82)||_0x4768ea===_0x3fb230(0x9a)?_0x4768ea:DEFAULT_CONFIG_VALUES['riskLevel'],_0x9602e9=_0x1b0b52[_0x3fb230(0xc7)]===!![],_0x15b434=env('VERBOSE'),_0x59938b=_0x15b434==='1'||_0x15b434===_0x3fb230(0x93);return{'appCode':typeof _0x584dd6===_0x3fb230(0xc5)&&_0x584dd6[_0x3fb230(0xd4)]()?_0x584dd6[_0x3fb230(0xd4)]():undefined,'appCodeSource':_0x2f67c9,'env':_0x166ef4,'locale':_0x5beaae,'cookie':_0x1fe025,'accessKey':_0x274a13,'format':_0x915f6f,'pageSize':_0x37ad0e,'riskLevel':_0x2ab0c1,'nativeToolAvailable':_0x9602e9,'verbose':_0x59938b,'defaultApp':_0xeb50b0,'currentApp':typeof _0x2d980f===_0x3fb230(0xc5)?_0x2d980f:undefined,'raw':_0x1b0b52};}function env(_0x35f323){return productEnv(_0x35f323);}async function buildAuth(_0x58f629){const _0x3e47bb=a104_0x288465,_0x566b8a='',_0x5b3101=!!_0x58f629[_0x3e47bb(0xbd)];return{'cookie':_0x566b8a,'isLoggedIn':_0x5b3101,async 'getOrLogin'(){const _0x5b7da0=_0x3e47bb;if(_0x5b3101)return _0x566b8a;throw CliErrors[_0x5b7da0(0x94)]();}};}
1
+ function a107_0x36f6(_0x2e153c,_0x40c848){_0x2e153c=_0x2e153c-0x11e;const _0x17b1ac=a107_0x17b1();let _0x36f6e3=_0x17b1ac[_0x2e153c];return _0x36f6e3;}const a107_0x4bd6e5=a107_0x36f6;(function(_0x375627,_0x1d0c3c){const _0xbd3bdc=a107_0x36f6,_0x24202c=_0x375627();while(!![]){try{const _0x28361c=-parseInt(_0xbd3bdc(0x126))/0x1*(parseInt(_0xbd3bdc(0x11f))/0x2)+-parseInt(_0xbd3bdc(0x142))/0x3*(-parseInt(_0xbd3bdc(0x163))/0x4)+parseInt(_0xbd3bdc(0x132))/0x5+-parseInt(_0xbd3bdc(0x158))/0x6+parseInt(_0xbd3bdc(0x122))/0x7*(parseInt(_0xbd3bdc(0x159))/0x8)+parseInt(_0xbd3bdc(0x13a))/0x9*(-parseInt(_0xbd3bdc(0x12d))/0xa)+parseInt(_0xbd3bdc(0x139))/0xb*(parseInt(_0xbd3bdc(0x153))/0xc);if(_0x28361c===_0x1d0c3c)break;else _0x24202c['push'](_0x24202c['shift']());}catch(_0x473024){_0x24202c['push'](_0x24202c['shift']());}}}(a107_0x17b1,0x576d1));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{redactCommandArgv}from'./utils/redaction.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';import{normalizeLovrabetRegion}from'./constant/region.js';import{resolveEnterpriseRoutingConfig}from'./config/domain-config.js';export{AUTH_MODE,isAuthMode}from'./constant/auth-mode.js';const CONFIG_NAMES=PRODUCT_CONFIG['configFileNames'];export const NEW_CONFIG_NAME=PRODUCT_CONFIG[a107_0x4bd6e5(0x14a)];function resolveConfigPath(_0x33a563){for(const _0x2c524a of CONFIG_NAMES){const _0x2aa29f=resolve(_0x33a563,_0x2c524a);if(existsSync(_0x2aa29f))return _0x2aa29f;}return undefined;}export function resolveWriteConfigPath(_0x46ef5f){const _0x3e057e=a107_0x4bd6e5,_0x3f91e0=_0x46ef5f===_0x3e057e(0x170)?process['cwd']():homedir(),_0x115519=resolveConfigPath(_0x3f91e0);return _0x115519??resolve(_0x3f91e0,NEW_CONFIG_NAME);}function a107_0x17b1(){const _0x4fe553=['trim','defaultApp','development','165FuBoZP','333KIkRGU','global','platformDomain','skillDomain','format','call','slice','true','1011963GELtAn','isTTY','object','kbServiceDomain','stringify','top-level','runtimeDomain','EPERM','newConfigFileName','stdin','kbDomain','region','app','.tmp','appcode','riskLevel','inherit','283524tlXuFp','online','PAGE_SIZE','EACCES','ACCESS_KEY','2274276wekArP','3324592ShkdIq','parse','locale','routing','nativeToolAvailable','raw','setRawCommand','utf8','host','VERBOSE','8PDUjFU','./constant/env.js','join','accessKey','nonInteractive','missing','FORMAT','projectConfig','setRawMode','stdout','setLogPath','daily','production','project','cache','high-risk-write','46oQzCiU','cwd','globalConfig','7dowQcB','argv','hasOwnProperty','authRequired','24205YlCxLW','./constant/domain.js','skillHubDomain','message','string','agentDomain','values','150970OnciPA','apps','isRaw','userDomain','some','2039130eaLtTv','explicit','env','code'];a107_0x17b1=function(){return _0x4fe553;};return a107_0x17b1();}export function readConfigFile(_0x58d71f){const _0xe234de=a107_0x4bd6e5;try{if(existsSync(_0x58d71f)){const _0x42de0e=readFileSync(_0x58d71f,{'encoding':_0xe234de(0x160)});if(_0x42de0e){const _0x187f8e=JSON[_0xe234de(0x15a)](_0x42de0e);return migrateOnlineEnv(_0x58d71f,_0x187f8e),_0x187f8e;}}}catch{}return{};}function migrateOnlineEnv(_0x174448,_0x1eca95){const _0x39198c=a107_0x4bd6e5;let _0x1f3b52=![];_0x1eca95['env']===_0x39198c(0x154)&&(_0x1eca95[_0x39198c(0x134)]=_0x39198c(0x16f),_0x1f3b52=!![]);if(_0x1eca95[_0x39198c(0x12e)]&&typeof _0x1eca95[_0x39198c(0x12e)]===_0x39198c(0x144))for(const _0x164fe2 of Object[_0x39198c(0x12c)](_0x1eca95[_0x39198c(0x12e)])){_0x164fe2&&_0x164fe2[_0x39198c(0x134)]==='online'&&(_0x164fe2['env']=_0x39198c(0x16f),_0x1f3b52=!![]);}if(_0x1f3b52)try{writeConfigFile(_0x174448,_0x1eca95);}catch{}}export function writeConfigFile(_0x3d94fc,_0xbd6bad){const _0x2845e0=a107_0x4bd6e5,_0x45b1b6=dirname(_0x3d94fc);!existsSync(_0x45b1b6)&&mkdirSync(_0x45b1b6,{'recursive':!![]});const _0x2f8abc=_0x3d94fc+_0x2845e0(0x14f);try{writeFileSync(_0x2f8abc,JSON[_0x2845e0(0x146)](_0xbd6bad,null,0x2)+'\x0a',{'encoding':'utf8','mode':0x180});try{renameSync(_0x2f8abc,_0x3d94fc);}catch(_0x2eace1){if(_0x2eace1['code']===_0x2845e0(0x149)||_0x2eace1[_0x2845e0(0x135)]==='EXDEV'||_0x2eace1['code']===_0x2845e0(0x156)){writeFileSync(_0x3d94fc,JSON['stringify'](_0xbd6bad,null,0x2)+'\x0a',{'encoding':_0x2845e0(0x160)});try{unlinkSync(_0x2f8abc);}catch{}}else throw _0x2eace1;}}catch(_0x51370f){try{unlinkSync(_0x2f8abc);}catch{}throw _0x51370f;}}export function isNonInteractiveMode(_0x9e0608){const _0x86bd79=a107_0x4bd6e5;return!!(_0x9e0608[_0x86bd79(0x167)]||_0x9e0608['ci']||productEnvNames('CI')[_0x86bd79(0x131)](_0x591bff=>process.env[_0x591bff]===_0x86bd79(0x141))||process.env.CI===_0x86bd79(0x141)||!process[_0x86bd79(0x16c)][_0x86bd79(0x143)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x32e4b6=a107_0x4bd6e5;if(!process['stdin'][_0x32e4b6(0x143)])return![];try{const _0x3b28f4=process['stdin'][_0x32e4b6(0x12f)];return process['stdin'][_0x32e4b6(0x16b)](!![]),process[_0x32e4b6(0x14b)]['setRawMode'](_0x3b28f4??![]),!![];}catch{return![];}}export async function createContext(_0x3192e7){const _0x31a003=a107_0x4bd6e5,_0x374acf=readRawConfig(),_0x107fbb=buildConfig(_0x374acf,_0x3192e7);await initGlobalEnvironment(_0x107fbb);const {getUserDomain:_0x5cd64d,getApiDomain:_0x1f3822}=await import('./constant/domain.js'),_0x226c86={'apiDomain':_0x1f3822(),'userDomain':_0x5cd64d()},_0x5b0f28=await buildAuth(_0x107fbb);logger[_0x31a003(0x16d)](process[_0x31a003(0x120)]());const _0x2394d7=(CLI_BIN_NAME+'\x20'+redactCommandArgv(process[_0x31a003(0x123)][_0x31a003(0x140)](0x2))[_0x31a003(0x165)]('\x20'))[_0x31a003(0x136)]();logger[_0x31a003(0x15f)](_0x2394d7);const _0x505b63=isNonInteractiveMode(_0x3192e7);return{'config':_0x107fbb,'auth':_0x5b0f28,'logger':logger,'env':_0x226c86,'nonInteractive':_0x505b63};}export function buildConfigFromFlags(_0x3ff333){return buildConfig(readRawConfig(),_0x3ff333);}export function getLocalAppAliases(_0x3dad71){const _0x8395f6=a107_0x4bd6e5;return _0x3dad71[_0x8395f6(0x12e)]&&typeof _0x3dad71['apps']==='object'?_0x3dad71['apps']:{};}export function resolveLocalAppAliasCode(_0x56fcd0,_0xdfd409){const _0x2ea414=a107_0x4bd6e5;if(!_0xdfd409)return undefined;const _0x4ed1da=getLocalAppAliases(_0x56fcd0)[_0xdfd409],_0x421fe5=_0x4ed1da?.[_0x2ea414(0x150)];return typeof _0x421fe5==='string'&&_0x421fe5[_0x2ea414(0x136)]()?_0x421fe5[_0x2ea414(0x136)]():undefined;}export function readAppCodeFromConfig(){const _0x5c4109=a107_0x4bd6e5,_0x3da7df=readRawConfig(),_0x2edd62=_0x3da7df['appcode']??_0x3da7df[_0x5c4109(0x14e)];if(typeof _0x2edd62==='string'&&_0x2edd62['trim']())return _0x2edd62[_0x5c4109(0x136)]();const _0x8fde26=resolveLocalAppAliasCode(_0x3da7df,typeof _0x3da7df[_0x5c4109(0x137)]===_0x5c4109(0x12a)?_0x3da7df[_0x5c4109(0x137)]:undefined);if(_0x8fde26)return _0x8fde26;const _0x4bfba1=normalizeEnv(String(_0x3da7df['env']||_0x5c4109(0x16f))),_0x515269=isDaily(_0x4bfba1)?'daily':isDev(_0x4bfba1)?_0x5c4109(0x138):_0x5c4109(0x16f),_0x5a4843=resolveCachedAppCode(typeof _0x3da7df['defaultApp']===_0x5c4109(0x12a)?_0x3da7df[_0x5c4109(0x137)]:undefined,_0x515269,typeof _0x3da7df[_0x5c4109(0x166)]==='string'?_0x3da7df['accessKey']:undefined);if(_0x5a4843)return _0x5a4843;const _0x4bb755=Object[_0x5c4109(0x12c)](getLocalAppAliases(_0x3da7df))['find'](_0x2c8b55=>_0x2c8b55?.['appcode']);return typeof _0x4bb755?.['appcode']===_0x5c4109(0x12a)&&_0x4bb755[_0x5c4109(0x150)][_0x5c4109(0x136)]()?_0x4bb755['appcode'][_0x5c4109(0x136)]():undefined;}export function readScopedConfig(_0x495f38){const _0x1ae01d=a107_0x4bd6e5,_0x2fde61=_0x495f38[_0x1ae01d(0x13b)]?_0x1ae01d(0x13b):_0x1ae01d(0x170);return readConfigFile(resolveWriteConfigPath(_0x2fde61));}export function writeScopedConfig(_0x5c65f0,_0xb4c5c7){const _0x1af4da=a107_0x4bd6e5,_0x3fe3da=_0xb4c5c7['global']?_0x1af4da(0x13b):_0x1af4da(0x170);writeConfigFile(resolveWriteConfigPath(_0x3fe3da),_0x5c65f0);}export async function initGlobalEnvironment(_0x1c386b){const _0x26ce29=a107_0x4bd6e5,{initEnv:_0x4c1537}=await import(_0x26ce29(0x164));_0x4c1537(_0x1c386b['env']);const {initDomains:_0x376fb5}=await import(_0x26ce29(0x127)),_0x77fc20=resolveEnterpriseRoutingConfig(_0x1c386b['raw'][_0x26ce29(0x15c)]),_0x240708=['apiDomain',_0x26ce29(0x161),_0x26ce29(0x130),_0x26ce29(0x148),_0x26ce29(0x13d),_0x26ce29(0x128),'agentDomain',_0x26ce29(0x13c),_0x26ce29(0x14c),'kbServiceDomain'],_0x463c10=_0x77fc20!==undefined||_0x240708['some'](_0x19a8cc=>Object['prototype'][_0x26ce29(0x124)][_0x26ce29(0x13f)](_0x1c386b['raw'],_0x19a8cc));_0x376fb5({'apiDomain':_0x77fc20?_0x77fc20['apiDomain']:_0x1c386b[_0x26ce29(0x15e)]['apiDomain']||_0x1c386b[_0x26ce29(0x15e)][_0x26ce29(0x161)]||undefined,'userDomain':_0x77fc20?_0x77fc20[_0x26ce29(0x130)]:_0x1c386b['raw'][_0x26ce29(0x130)]||undefined,'runtimeDomain':_0x77fc20?_0x77fc20[_0x26ce29(0x148)]:_0x1c386b['raw'][_0x26ce29(0x148)]||undefined,'skillDomain':_0x77fc20?_0x77fc20[_0x26ce29(0x13d)]:_0x1c386b[_0x26ce29(0x15e)]['skillDomain']||_0x1c386b[_0x26ce29(0x15e)][_0x26ce29(0x128)]||_0x1c386b[_0x26ce29(0x15e)][_0x26ce29(0x12b)]||_0x1c386b[_0x26ce29(0x15e)][_0x26ce29(0x13c)]||undefined,'kbServiceDomain':_0x77fc20?_0x77fc20['kbServiceDomain']:typeof _0x1c386b[_0x26ce29(0x15e)][_0x26ce29(0x145)]===_0x26ce29(0x12a)&&_0x1c386b[_0x26ce29(0x15e)][_0x26ce29(0x145)][_0x26ce29(0x136)]()?_0x1c386b[_0x26ce29(0x15e)][_0x26ce29(0x145)]:undefined,'allowOfficialKbServiceDefault':!_0x463c10,'region':normalizeLovrabetRegion(_0x1c386b[_0x26ce29(0x15e)][_0x26ce29(0x14d)])});}export function getProjectConfigPath(){const _0x58c950=a107_0x4bd6e5;return resolveConfigPath(process[_0x58c950(0x120)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x3f9644){const _0x1df530=a107_0x4bd6e5;if(!existsSync(_0x3f9644))return{'status':_0x1df530(0x168)};try{const _0x168408=readFileSync(_0x3f9644,{'encoding':'utf8'});if(!_0x168408?.[_0x1df530(0x136)]())return{'status':'empty'};const _0x1a0d0c=JSON[_0x1df530(0x15a)](_0x168408);return{'status':'ok','data':_0x1a0d0c};}catch(_0x521259){return{'status':'error','message':_0x521259 instanceof Error?_0x521259[_0x1df530(0x129)]:String(_0x521259)};}}export function loadRawConfigLayers(_0x2a4d90){const _0xecbe9f=a107_0x4bd6e5;let _0x382376={},_0x48afe9={},_0x908979,_0x97dcfa;try{_0x908979=resolveConfigPath(homedir());if(_0x908979){const _0x5ea3b4=readFileSync(_0x908979,{'encoding':'utf8'});if(_0x5ea3b4)_0x382376=JSON['parse'](_0x5ea3b4);}}catch{}try{const _0x1fd752=_0x2a4d90||process[_0xecbe9f(0x120)]();_0x97dcfa=resolveConfigPath(_0x1fd752);if(_0x97dcfa){const _0x33ef51=readFileSync(_0x97dcfa,{'encoding':_0xecbe9f(0x160)});if(_0x33ef51)_0x48afe9=JSON['parse'](_0x33ef51);}}catch{}return{'globalPath':_0x908979,'projectPath':_0x97dcfa,'globalConfig':_0x382376,'projectConfig':_0x48afe9};}function mergeRawConfigLayers(_0x80a8df){const _0x214556=a107_0x4bd6e5,{globalConfig:_0x439440,projectConfig:_0x5d3b44}=_0x80a8df,_0x5b6265={..._0x439440,..._0x5d3b44};delete _0x5b6265[_0x214556(0x152)];if(_0x214556(0x137)in _0x5d3b44)_0x5b6265[_0x214556(0x137)]=_0x5d3b44['defaultApp'];else _0x439440[_0x214556(0x137)]&&(_0x5b6265[_0x214556(0x137)]=_0x439440[_0x214556(0x137)]);return _0x5b6265;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x22ac0b){return mergeRawConfigLayers(loadRawConfigLayers(_0x22ac0b));}export function readRawConfigWithLayers(_0x12a6f4){const _0x6fe0b1=loadRawConfigLayers(_0x12a6f4);return{'config':mergeRawConfigLayers(_0x6fe0b1),'layers':_0x6fe0b1};}export function resolveDefaultAppSource(_0x1aa793){const _0x641e0a=a107_0x4bd6e5;if(_0x641e0a(0x137)in _0x1aa793[_0x641e0a(0x16a)])return _0x641e0a(0x170);if(_0x1aa793[_0x641e0a(0x121)][_0x641e0a(0x137)])return _0x641e0a(0x13b);return null;}function buildConfig(_0x118800,_0x53db02){const _0x5749d6=a107_0x4bd6e5,_0x53dbe2=_0x118800[_0x5749d6(0x137)]||undefined,_0x41f487=_0x53db02[_0x5749d6(0x14e)]||env('APP')||undefined,_0x12df3b=_0x41f487||_0x53dbe2||undefined,_0x3a7da4=env(_0x5749d6(0x157))||_0x118800[_0x5749d6(0x166)]||undefined,_0x2d8c22=_0x53db02[_0x5749d6(0x134)]||env('ENV')||_0x118800['env']||DEFAULT_CONFIG_VALUES[_0x5749d6(0x134)],_0x20aab0=normalizeEnv(String(_0x2d8c22)),_0x466f63=isDaily(_0x20aab0)?_0x5749d6(0x16e):isDev(_0x20aab0)?'development':'production',_0x346911=typeof _0x53db02[_0x5749d6(0x150)]===_0x5749d6(0x12a)?_0x53db02[_0x5749d6(0x150)]:undefined,_0xbcdc76=env('APPCODE'),_0xee4c8=_0x41f487?undefined:_0x118800[_0x5749d6(0x150)]||_0x118800[_0x5749d6(0x14e)]||undefined,_0x6c2fd9=_0x41f487||(_0xee4c8?undefined:_0x53dbe2),_0x44adfa=resolveLocalAppAliasCode(_0x118800,_0x6c2fd9),_0xd1b02d=resolveCachedAppCode(_0x6c2fd9,_0x466f63,_0x3a7da4),_0x40c686=_0x346911||_0xbcdc76||_0xee4c8||_0x44adfa||_0xd1b02d||undefined,_0x38bcf7=_0x346911?_0x5749d6(0x133):_0xbcdc76?_0x5749d6(0x134):_0xee4c8?_0x5749d6(0x147):_0x44adfa?'local-alias':_0xd1b02d?_0x5749d6(0x171):undefined,_0xf83e0b=_0x118800[_0x5749d6(0x15b)]||DEFAULT_CONFIG_VALUES['locale'],_0x3564e9=undefined,_0x2e549b=_0x53db02['format']||env(_0x5749d6(0x169))||_0x118800[_0x5749d6(0x13e)],_0x39797d=normalizeLegacyOutputFormat(_0x2e549b),_0x208116=env(_0x5749d6(0x155))||_0x118800['pageSize'],_0x334886=_0x208116?Number(_0x208116)||undefined:undefined,_0x45da6f=_0x118800[_0x5749d6(0x151)],_0x6bb5a9=_0x45da6f==='read'||_0x45da6f==='write'||_0x45da6f===_0x5749d6(0x11e)?_0x45da6f:DEFAULT_CONFIG_VALUES[_0x5749d6(0x151)],_0x20d20a=_0x118800[_0x5749d6(0x15d)]===!![],_0x59cb08=env(_0x5749d6(0x162)),_0x76bd55=_0x59cb08==='1'||_0x59cb08==='true';return{'appCode':typeof _0x40c686==='string'&&_0x40c686['trim']()?_0x40c686[_0x5749d6(0x136)]():undefined,'appCodeSource':_0x38bcf7,'env':_0x466f63,'locale':_0xf83e0b,'cookie':_0x3564e9,'accessKey':_0x3a7da4,'format':_0x39797d,'pageSize':_0x334886,'riskLevel':_0x6bb5a9,'nativeToolAvailable':_0x20d20a,'verbose':_0x76bd55,'defaultApp':_0x53dbe2,'currentApp':typeof _0x12df3b===_0x5749d6(0x12a)?_0x12df3b:undefined,'raw':_0x118800};}function env(_0x82c0fc){return productEnv(_0x82c0fc);}async function buildAuth(_0x2fb353){const _0x102fcb=a107_0x4bd6e5,_0x41cada='',_0x5c2b00=!!_0x2fb353[_0x102fcb(0x166)];return{'cookie':_0x41cada,'isLoggedIn':_0x5c2b00,async 'getOrLogin'(){const _0x4d6bf6=_0x102fcb;if(_0x5c2b00)return _0x41cada;throw CliErrors[_0x4d6bf6(0x125)]();}};}