@lovrabet/lovrabet-cli 2.3.8-beta.1 → 2.3.8-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/approval/index.js +1 -1
  12. package/lib/commands/artifact/index.js +1 -1
  13. package/lib/commands/auth/device.js +1 -1
  14. package/lib/commands/auth/index.js +1 -1
  15. package/lib/commands/auth/prompt.js +1 -1
  16. package/lib/commands/bff/detail.js +1 -1
  17. package/lib/commands/bff/exec.js +1 -1
  18. package/lib/commands/bff/index.js +1 -1
  19. package/lib/commands/cli-skill/index.js +1 -1
  20. package/lib/commands/common/config-policy.js +1 -1
  21. package/lib/commands/common/constraints.js +1 -1
  22. package/lib/commands/common/flags.js +1 -1
  23. package/lib/commands/common/local-file.js +1 -1
  24. package/lib/commands/config/definitions.js +1 -1
  25. package/lib/commands/config/init.d.ts +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/kb/index.js +1 -1
  38. package/lib/commands/logs/index.js +1 -1
  39. package/lib/commands/notification/config-list.js +1 -1
  40. package/lib/commands/notification/index.js +1 -1
  41. package/lib/commands/notification/shared.js +1 -1
  42. package/lib/commands/ocr/index.js +1 -1
  43. package/lib/commands/permit/dataset-get.js +1 -1
  44. package/lib/commands/permit/dataset-set.js +1 -1
  45. package/lib/commands/permit/index.js +1 -1
  46. package/lib/commands/permit/page-get.js +1 -1
  47. package/lib/commands/permit/page-set.js +1 -1
  48. package/lib/commands/permit/role-menus-set.js +1 -1
  49. package/lib/commands/permit/role-menus.js +1 -1
  50. package/lib/commands/permit/shared.js +1 -1
  51. package/lib/commands/personal-bff/index.js +1 -1
  52. package/lib/commands/registry.js +1 -1
  53. package/lib/commands/role/create.js +1 -1
  54. package/lib/commands/role/delete.js +1 -1
  55. package/lib/commands/role/detail.js +1 -1
  56. package/lib/commands/role/index.js +1 -1
  57. package/lib/commands/role/list.js +1 -1
  58. package/lib/commands/role/shared.d.ts +32 -6
  59. package/lib/commands/role/shared.js +1 -1
  60. package/lib/commands/role/update.js +1 -1
  61. package/lib/commands/role/user-add.js +1 -1
  62. package/lib/commands/role/user-remove.js +1 -1
  63. package/lib/commands/schedule/index.js +1 -1
  64. package/lib/commands/schema.js +1 -1
  65. package/lib/commands/service/dynamic.js +1 -1
  66. package/lib/commands/service/function-name-adapter.js +1 -1
  67. package/lib/commands/service/index.js +1 -1
  68. package/lib/commands/service/registry.js +1 -1
  69. package/lib/commands/skill/commands/create.js +1 -1
  70. package/lib/commands/skill/commands/diagram.js +1 -1
  71. package/lib/commands/skill/commands/install.js +1 -1
  72. package/lib/commands/skill/commands/list.js +1 -1
  73. package/lib/commands/skill/commands/push.js +1 -1
  74. package/lib/commands/skill/commands/validate.js +1 -1
  75. package/lib/commands/skill/diagram.js +1 -1
  76. package/lib/commands/skill/flags.js +1 -1
  77. package/lib/commands/skill/index.js +1 -1
  78. package/lib/commands/skill/manifest-helpers.js +1 -1
  79. package/lib/commands/skill/push-execute.js +1 -1
  80. package/lib/commands/skill/push-flow-helpers.js +1 -1
  81. package/lib/commands/skill/push-retarget.js +1 -1
  82. package/lib/commands/skill/scopes.js +1 -1
  83. package/lib/commands/skill/summary.js +1 -1
  84. package/lib/commands/skill/templates.js +1 -1
  85. package/lib/commands/skill/validate.js +1 -1
  86. package/lib/commands/sql/detail.js +1 -1
  87. package/lib/commands/sql/exec.d.ts +2 -4
  88. package/lib/commands/sql/exec.js +1 -1
  89. package/lib/commands/sql/index.js +1 -1
  90. package/lib/commands/update.js +1 -1
  91. package/lib/commands/user-account/bind.js +1 -1
  92. package/lib/commands/user-account/index.js +1 -1
  93. package/lib/commands/workspace/index.js +1 -1
  94. package/lib/config/domain-config.js +1 -1
  95. package/lib/config/schema.js +1 -1
  96. package/lib/constant/app.js +1 -1
  97. package/lib/constant/auth-mode.js +1 -1
  98. package/lib/constant/cli.js +1 -1
  99. package/lib/constant/defaults.js +1 -1
  100. package/lib/constant/distribution.js +1 -1
  101. package/lib/constant/domain.js +1 -1
  102. package/lib/constant/env.js +1 -1
  103. package/lib/constant/output.js +1 -1
  104. package/lib/constant/product.js +1 -1
  105. package/lib/constant/region.js +1 -1
  106. package/lib/constant/risk.js +1 -1
  107. package/lib/constant/url.js +1 -1
  108. package/lib/context.js +1 -1
  109. package/lib/core/api-client.d.ts +26 -358
  110. package/lib/core/api-client.js +1 -1
  111. package/lib/core/db-resolver.js +1 -1
  112. package/lib/core/kb-management-client.js +1 -1
  113. package/lib/core/kb-search-client.js +1 -1
  114. package/lib/core/sdk-client.d.ts +9 -10
  115. package/lib/core/sdk-client.js +1 -1
  116. package/lib/errors.js +1 -1
  117. package/lib/framework/access-error.js +1 -1
  118. package/lib/framework/build-all-flags.js +1 -1
  119. package/lib/framework/dryrun.js +1 -1
  120. package/lib/framework/flags.js +1 -1
  121. package/lib/framework/help.js +1 -1
  122. package/lib/framework/index.js +1 -1
  123. package/lib/framework/output.js +1 -1
  124. package/lib/framework/preparse.js +1 -1
  125. package/lib/framework/rate-limit.js +1 -1
  126. package/lib/framework/raw-flags.js +1 -1
  127. package/lib/framework/response.js +1 -1
  128. package/lib/framework/runner-confirmation.js +1 -1
  129. package/lib/framework/runner-error.js +1 -1
  130. package/lib/framework/runner.js +1 -1
  131. package/lib/framework/schema-export.js +1 -1
  132. package/lib/framework/service-order.js +1 -1
  133. package/lib/framework/types.js +1 -1
  134. package/lib/generated/build-info.d.ts +4 -4
  135. package/lib/generated/build-info.js +1 -1
  136. package/lib/generated/official-routing.js +1 -1
  137. package/lib/generated/routing-contract.js +1 -1
  138. package/lib/help.js +1 -1
  139. package/lib/postinstall.js +1 -1
  140. package/lib/runtime/confirmation.js +1 -1
  141. package/lib/runtime/event.js +1 -1
  142. package/lib/runtime/index.js +1 -1
  143. package/lib/runtime/queue.js +1 -1
  144. package/lib/runtime/resolve.js +1 -1
  145. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  146. package/lib/services/dataset-import/excel-reader.js +1 -1
  147. package/lib/services/dataset-import/image-bytes.js +1 -1
  148. package/lib/services/dataset-import/image-ooxml.js +1 -1
  149. package/lib/services/dataset-import/image-runner.js +1 -1
  150. package/lib/services/dataset-import/metadata.js +1 -1
  151. package/lib/services/dataset-import/preview.js +1 -1
  152. package/lib/services/dataset-import/runner.js +1 -1
  153. package/lib/skills/builtin-skill.js +1 -1
  154. package/lib/skills/npx-skills-add.js +1 -1
  155. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  156. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  157. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  158. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  159. package/lib/skills/runtime-skill-sync/links.js +1 -1
  160. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  161. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  162. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  163. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  164. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  165. package/lib/skills/runtime-skill-sync/push.js +1 -1
  166. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  167. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  168. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  169. package/lib/skills/runtime-skill-sync.js +1 -1
  170. package/lib/skills/skill-presence.js +1 -1
  171. package/lib/utils/access-key-redaction.js +1 -1
  172. package/lib/utils/apply-jq-filter.js +1 -1
  173. package/lib/utils/cli-version-check.js +1 -1
  174. package/lib/utils/cli-version-policy.js +1 -1
  175. package/lib/utils/logger.js +1 -1
  176. package/lib/utils/lossless-json.js +1 -1
  177. package/lib/utils/params.js +1 -1
  178. package/lib/utils/positive-safe-integer.js +1 -1
  179. package/lib/utils/redaction.js +1 -1
  180. package/lib/utils/runtime-user-id.d.ts +2 -0
  181. package/lib/utils/runtime-user-id.js +1 -0
  182. package/lib/utils/update-notice.js +1 -1
  183. package/lib/utils/version.js +1 -1
  184. package/lib/utils/write-cli-side-channel.js +1 -1
  185. package/package.json +2 -2
  186. package/skills/lovrabet/SKILL.md +1 -1
  187. package/skills/lovrabet/guides/role-and-permission-workflow.md +3 -2
  188. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- function a92_0x1198(_0x4c8c6f,_0x1b7f92){_0x4c8c6f=_0x4c8c6f-0x132;const _0x11b21d=a92_0x11b2();let _0x11986b=_0x11b21d[_0x4c8c6f];return _0x11986b;}const a92_0x4d8b80=a92_0x1198;(function(_0x407af9,_0x379784){const _0x544ec8=a92_0x1198,_0xefc7cc=_0x407af9();while(!![]){try{const _0x578ee8=-parseInt(_0x544ec8(0x137))/0x1+parseInt(_0x544ec8(0x13a))/0x2+-parseInt(_0x544ec8(0x132))/0x3+parseInt(_0x544ec8(0x134))/0x4*(parseInt(_0x544ec8(0x138))/0x5)+parseInt(_0x544ec8(0x139))/0x6*(-parseInt(_0x544ec8(0x13c))/0x7)+-parseInt(_0x544ec8(0x133))/0x8*(-parseInt(_0x544ec8(0x135))/0x9)+parseInt(_0x544ec8(0x136))/0xa;if(_0x578ee8===_0x379784)break;else _0xefc7cc['push'](_0xefc7cc['shift']());}catch(_0x4a63c3){_0xefc7cc['push'](_0xefc7cc['shift']());}}}(a92_0x11b2,0x5612b));export const APP_PUBLISH_STATUS={'Published':'PUBLISHED','Unpublished':a92_0x4d8b80(0x13b)};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS['Published'];function a92_0x11b2(){const _0x8d0f27=['108qwPIsA','3232370HeWTnO','300184KjQiBA','1395echcDN','6aNwaZk','747102qMFNMp','UNPUBLISH','461405vOCTGr','1193286RLrDTH','66224MWLoHk','4592JyAshi'];a92_0x11b2=function(){return _0x8d0f27;};return a92_0x11b2();}
1
+ function a92_0x6a27(_0x3d8566,_0x35c8e4){_0x3d8566=_0x3d8566-0x10e;const _0x1ff26c=a92_0x1ff2();let _0x6a274c=_0x1ff26c[_0x3d8566];return _0x6a274c;}const a92_0x27d2ab=a92_0x6a27;(function(_0x3e2e36,_0x3a9d0c){const _0x378d48=a92_0x6a27,_0x5f276f=_0x3e2e36();while(!![]){try{const _0x26f156=parseInt(_0x378d48(0x114))/0x1*(parseInt(_0x378d48(0x119))/0x2)+parseInt(_0x378d48(0x115))/0x3+-parseInt(_0x378d48(0x10f))/0x4*(-parseInt(_0x378d48(0x116))/0x5)+parseInt(_0x378d48(0x113))/0x6+-parseInt(_0x378d48(0x10e))/0x7+parseInt(_0x378d48(0x117))/0x8*(-parseInt(_0x378d48(0x110))/0x9)+-parseInt(_0x378d48(0x111))/0xa;if(_0x26f156===_0x3a9d0c)break;else _0x5f276f['push'](_0x5f276f['shift']());}catch(_0xf2d296){_0x5f276f['push'](_0x5f276f['shift']());}}}(a92_0x1ff2,0xc1098));function a92_0x1ff2(){const _0x385d29=['2498152kHoomJ','Published','42JJATHB','PUBLISHED','8459045zeJEXS','26312NwyGrJ','9VJnVgt','7288950vHNeGT','UNPUBLISH','5118606ypgtFS','56127GWudfK','617985JIWmVD','610oSQvYb'];a92_0x1ff2=function(){return _0x385d29;};return a92_0x1ff2();}export const APP_PUBLISH_STATUS={'Published':a92_0x27d2ab(0x11a),'Unpublished':a92_0x27d2ab(0x112)};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a92_0x27d2ab(0x118)];
@@ -1 +1 @@
1
- function a93_0x2774(_0x4177bf,_0x1edf08){_0x4177bf=_0x4177bf-0x172;const _0x44892f=a93_0x4489();let _0x277470=_0x44892f[_0x4177bf];return _0x277470;}function a93_0x4489(){const _0x21f7c8=['482028KVHtyB','9goZVWS','ClientAk','7132120QQdSDV','104054TPTLeZ','7003925SVcdkZ','8089430cgWOZt','client-ak','1328668NLnrnB','8NPPnnJ','5783778olurPu','6QubhBa'];a93_0x4489=function(){return _0x21f7c8;};return a93_0x4489();}const a93_0x1d0233=a93_0x2774;(function(_0x3179d1,_0x13438c){const _0x1d4e47=a93_0x2774,_0x464075=_0x3179d1();while(!![]){try{const _0x1ac1b1=-parseInt(_0x1d4e47(0x178))/0x1+-parseInt(_0x1d4e47(0x17c))/0x2+parseInt(_0x1d4e47(0x174))/0x3+parseInt(_0x1d4e47(0x177))/0x4+parseInt(_0x1d4e47(0x179))/0x5*(parseInt(_0x1d4e47(0x173))/0x6)+parseInt(_0x1d4e47(0x172))/0x7*(-parseInt(_0x1d4e47(0x17d))/0x8)+parseInt(_0x1d4e47(0x175))/0x9*(-parseInt(_0x1d4e47(0x17a))/0xa);if(_0x1ac1b1===_0x13438c)break;else _0x464075['push'](_0x464075['shift']());}catch(_0x558dba){_0x464075['push'](_0x464075['shift']());}}}(a93_0x4489,0xe5b6a));export const AUTH_MODE={'ClientAk':a93_0x1d0233(0x17b)};export function isAuthMode(_0x549513){const _0x2d52e1=a93_0x1d0233;return _0x549513===AUTH_MODE[_0x2d52e1(0x176)];}
1
+ (function(_0x44e103,_0x195cfe){const _0x454462=a93_0x32f1,_0x2af0a4=_0x44e103();while(!![]){try{const _0x588c04=parseInt(_0x454462(0x1e7))/0x1*(-parseInt(_0x454462(0x1ea))/0x2)+-parseInt(_0x454462(0x1eb))/0x3*(parseInt(_0x454462(0x1e9))/0x4)+-parseInt(_0x454462(0x1e8))/0x5+parseInt(_0x454462(0x1ef))/0x6+-parseInt(_0x454462(0x1f0))/0x7+parseInt(_0x454462(0x1ee))/0x8*(-parseInt(_0x454462(0x1f1))/0x9)+parseInt(_0x454462(0x1e6))/0xa*(parseInt(_0x454462(0x1ec))/0xb);if(_0x588c04===_0x195cfe)break;else _0x2af0a4['push'](_0x2af0a4['shift']());}catch(_0x3c269c){_0x2af0a4['push'](_0x2af0a4['shift']());}}}(a93_0x1127,0x985fb));function a93_0x1127(){const _0x105ab1=['1169796PMSSJs','4744446OppHGw','8977320RChrFr','104410wiQDyO','1090457vdXcKE','2448625tRxDiw','1588lDLZpl','2daoDCx','3243DlOmYu','4334DLMSsk','ClientAk','8txBRqJ'];a93_0x1127=function(){return _0x105ab1;};return a93_0x1127();}export const AUTH_MODE={'ClientAk':'client-ak'};function a93_0x32f1(_0x492839,_0x12a910){_0x492839=_0x492839-0x1e6;const _0x112738=a93_0x1127();let _0x32f160=_0x112738[_0x492839];return _0x32f160;}export function isAuthMode(_0x3d23ff){const _0x32c227=a93_0x32f1;return _0x3d23ff===AUTH_MODE[_0x32c227(0x1ed)];}
@@ -1 +1 @@
1
- const a94_0xadbf16=a94_0x5bbf;(function(_0x4ba0b7,_0x163c21){const _0x12a3e6=a94_0x5bbf,_0x1de731=_0x4ba0b7();while(!![]){try{const _0xefde85=-parseInt(_0x12a3e6(0x174))/0x1+parseInt(_0x12a3e6(0x168))/0x2*(parseInt(_0x12a3e6(0x180))/0x3)+-parseInt(_0x12a3e6(0x179))/0x4+parseInt(_0x12a3e6(0x16f))/0x5+-parseInt(_0x12a3e6(0x164))/0x6+-parseInt(_0x12a3e6(0x159))/0x7+parseInt(_0x12a3e6(0x15e))/0x8;if(_0xefde85===_0x163c21)break;else _0x1de731['push'](_0x1de731['shift']());}catch(_0x2676ea){_0x1de731['push'](_0x1de731['shift']());}}}(a94_0x4648,0xd83b6));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['cliDisplayName'];function a94_0x5bbf(_0x4606e6,_0x257b27){_0x4606e6=_0x4606e6-0x156;const _0x46483e=a94_0x4648();let _0x5bbfa1=_0x46483e[_0x4606e6];return _0x5bbfa1;}export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a94_0xadbf16(0x16a),'meowKey':a94_0xadbf16(0x16a),'type':a94_0xadbf16(0x163),'description':a94_0xadbf16(0x16c),'hint':a94_0xadbf16(0x173)},{'name':a94_0xadbf16(0x16d),'meowKey':'app','type':a94_0xadbf16(0x163),'description':'Select\x20app\x20profile\x20by\x20name','hint':'<name>'},{'name':'env','meowKey':'env','type':a94_0xadbf16(0x163),'description':a94_0xadbf16(0x17c),'hint':a94_0xadbf16(0x170)},{'name':'format','meowKey':a94_0xadbf16(0x15f),'type':'string','description':a94_0xadbf16(0x162),'hint':a94_0xadbf16(0x15a)},{'name':'jq','meowKey':'jq','type':a94_0xadbf16(0x163),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','hint':'<expr>'},{'name':a94_0xadbf16(0x161),'meowKey':a94_0xadbf16(0x156),'type':a94_0xadbf16(0x15c),'description':a94_0xadbf16(0x16e)},{'name':'yes','meowKey':a94_0xadbf16(0x167),'type':a94_0xadbf16(0x15c),'description':a94_0xadbf16(0x181)},{'name':a94_0xadbf16(0x17f),'meowKey':'nonInteractive','type':'boolean','description':a94_0xadbf16(0x172)},{'name':a94_0xadbf16(0x182),'meowKey':a94_0xadbf16(0x182),'type':a94_0xadbf16(0x15c),'description':a94_0xadbf16(0x176)},{'name':'ci','meowKey':'ci','type':'boolean','description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a94_0xadbf16(0x171),'meowKey':a94_0xadbf16(0x171),'type':a94_0xadbf16(0x15c),'description':a94_0xadbf16(0x15d)},{'name':'id','meowKey':'id','type':a94_0xadbf16(0x163),'description':a94_0xadbf16(0x175),'hidden':!![]},{'name':a94_0xadbf16(0x15b),'meowKey':a94_0xadbf16(0x15b),'type':a94_0xadbf16(0x163),'description':'Name\x20filter','hidden':!![]},{'name':a94_0xadbf16(0x160),'meowKey':a94_0xadbf16(0x160),'type':a94_0xadbf16(0x163),'description':a94_0xadbf16(0x16b),'hidden':!![]},{'name':a94_0xadbf16(0x17e),'meowKey':a94_0xadbf16(0x17e),'type':'string','description':a94_0xadbf16(0x17b),'hidden':!![]},{'name':'verbose','meowKey':a94_0xadbf16(0x158),'type':a94_0xadbf16(0x15c),'description':a94_0xadbf16(0x178),'hidden':!![]},{'name':a94_0xadbf16(0x169),'meowKey':a94_0xadbf16(0x169),'type':a94_0xadbf16(0x15c),'description':a94_0xadbf16(0x17a),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a94_0xadbf16(0x16a),'app',a94_0xadbf16(0x177),a94_0xadbf16(0x15f),'jq',a94_0xadbf16(0x161),a94_0xadbf16(0x167),'non-interactive','ci']);export function buildMeowFlags(){const _0x58e153=a94_0xadbf16;return Object[_0x58e153(0x157)](GLOBAL_FLAGS[_0x58e153(0x17d)](_0x2911e3=>[_0x2911e3[_0x58e153(0x165)],{'type':_0x2911e3[_0x58e153(0x166)]}]));}function a94_0x4648(){const _0x2bc6be=['Force\x20non-interactive\x20mode\x20(CI)','<code>','1067978ZkVqhk','Record\x20ID','Use\x20global\x20config\x20scope','env','Verbose\x20output','2570364Njohhc','Clear\x20output','JSON\x20params\x20for\x20execute\x20commands','Environment','map','params','non-interactive','132687THDbPn','Skip\x20confirmation\x20for\x20high-risk\x20writes','global','dryRun','fromEntries','verbose','9403485moSmBe','json\x20|\x20pretty\x20|\x20compress','name','boolean','Show\x20help','22019152Gkbjfw','format','sqlcode','dry-run','Output\x20format','string','4299174QWgJMk','meowKey','type','yes','10HtWezZ','clear','appcode','SQL\x20query\x20code','Override\x20appcode','app','Preview\x20operation\x20without\x20executing','8413000HrzAgY','production\x20|\x20development\x20|\x20daily','help'];a94_0x4648=function(){return _0x2bc6be;};return a94_0x4648();}
1
+ const a94_0x21450c=a94_0x5c54;(function(_0x582198,_0x353b51){const _0x3bfb0b=a94_0x5c54,_0x182d58=_0x582198();while(!![]){try{const _0x182b63=-parseInt(_0x3bfb0b(0x1e9))/0x1*(-parseInt(_0x3bfb0b(0x1f7))/0x2)+parseInt(_0x3bfb0b(0x1c7))/0x3*(-parseInt(_0x3bfb0b(0x1ed))/0x4)+-parseInt(_0x3bfb0b(0x1e0))/0x5+-parseInt(_0x3bfb0b(0x1da))/0x6*(-parseInt(_0x3bfb0b(0x1ca))/0x7)+parseInt(_0x3bfb0b(0x1ec))/0x8+-parseInt(_0x3bfb0b(0x1d8))/0x9*(-parseInt(_0x3bfb0b(0x1ef))/0xa)+-parseInt(_0x3bfb0b(0x1e4))/0xb*(parseInt(_0x3bfb0b(0x1e8))/0xc);if(_0x182b63===_0x353b51)break;else _0x182d58['push'](_0x182d58['shift']());}catch(_0x18f4b9){_0x182d58['push'](_0x182d58['shift']());}}}(a94_0x3402,0xa15b4));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a94_0x21450c(0x1e6)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG['cliDisplayName'];function a94_0x3402(){const _0x37dedd=['meowKey','Preview\x20operation\x20without\x20executing','format','Verbose\x20output','Alias\x20for\x20--non-interactive','Output\x20format','174141rgUAqp','non-interactive','7923126srysVh','app','Name\x20filter','Show\x20help','params','string','5010410rFIRmC','<code>','dryRun','map','140492LOleGR','fromEntries','cliBinName','verbose','108SaPwCj','3TjsNOU','json\x20|\x20pretty\x20|\x20compress','appcode','1700176vVLNll','1133964vSgPrD','name','110nwemGU','yes','env','dry-run','Skip\x20confirmation\x20for\x20high-risk\x20writes','nonInteractive','Select\x20app\x20profile\x20by\x20name','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','588358BOiXfE','type','9TkDsgo','Force\x20non-interactive\x20mode\x20(CI)','global','7EnCKdv','Override\x20appcode','SQL\x20query\x20code','boolean','Environment','help','clear','sqlcode'];a94_0x3402=function(){return _0x37dedd;};return a94_0x3402();}export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;function a94_0x5c54(_0x3a75cb,_0x10e8bf){_0x3a75cb=_0x3a75cb-0x1c6;const _0x340295=a94_0x3402();let _0x5c542f=_0x340295[_0x3a75cb];return _0x5c542f;}export const GLOBAL_FLAGS=[{'name':a94_0x21450c(0x1eb),'meowKey':a94_0x21450c(0x1eb),'type':a94_0x21450c(0x1df),'description':a94_0x21450c(0x1cb),'hint':a94_0x21450c(0x1e1)},{'name':a94_0x21450c(0x1db),'meowKey':a94_0x21450c(0x1db),'type':a94_0x21450c(0x1df),'description':a94_0x21450c(0x1f5),'hint':'<name>'},{'name':a94_0x21450c(0x1f1),'meowKey':a94_0x21450c(0x1f1),'type':'string','description':a94_0x21450c(0x1ce),'hint':'production\x20|\x20development\x20|\x20daily'},{'name':a94_0x21450c(0x1d4),'meowKey':'format','type':a94_0x21450c(0x1df),'description':a94_0x21450c(0x1d7),'hint':a94_0x21450c(0x1ea)},{'name':'jq','meowKey':'jq','type':'string','description':a94_0x21450c(0x1f6),'hint':'<expr>'},{'name':a94_0x21450c(0x1f2),'meowKey':a94_0x21450c(0x1e2),'type':a94_0x21450c(0x1cd),'description':a94_0x21450c(0x1d3)},{'name':a94_0x21450c(0x1f0),'meowKey':a94_0x21450c(0x1f0),'type':a94_0x21450c(0x1cd),'description':a94_0x21450c(0x1f3)},{'name':a94_0x21450c(0x1d9),'meowKey':a94_0x21450c(0x1f4),'type':a94_0x21450c(0x1cd),'description':a94_0x21450c(0x1c8)},{'name':a94_0x21450c(0x1c9),'meowKey':a94_0x21450c(0x1c9),'type':a94_0x21450c(0x1cd),'description':'Use\x20global\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':'boolean','description':a94_0x21450c(0x1d6),'hidden':!![]},{'name':'help','meowKey':a94_0x21450c(0x1cf),'type':a94_0x21450c(0x1cd),'description':a94_0x21450c(0x1dd)},{'name':'id','meowKey':'id','type':'string','description':'Record\x20ID','hidden':!![]},{'name':a94_0x21450c(0x1ee),'meowKey':'name','type':'string','description':a94_0x21450c(0x1dc),'hidden':!![]},{'name':'sqlcode','meowKey':a94_0x21450c(0x1d1),'type':a94_0x21450c(0x1df),'description':a94_0x21450c(0x1cc),'hidden':!![]},{'name':a94_0x21450c(0x1de),'meowKey':a94_0x21450c(0x1de),'type':a94_0x21450c(0x1df),'description':'JSON\x20params\x20for\x20execute\x20commands','hidden':!![]},{'name':'verbose','meowKey':a94_0x21450c(0x1e7),'type':a94_0x21450c(0x1cd),'description':a94_0x21450c(0x1d5),'hidden':!![]},{'name':a94_0x21450c(0x1d0),'meowKey':'clear','type':a94_0x21450c(0x1cd),'description':'Clear\x20output','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a94_0x21450c(0x1eb),a94_0x21450c(0x1db),'env',a94_0x21450c(0x1d4),'jq',a94_0x21450c(0x1f2),a94_0x21450c(0x1f0),'non-interactive','ci']);export function buildMeowFlags(){const _0x12d735=a94_0x21450c;return Object[_0x12d735(0x1e5)](GLOBAL_FLAGS[_0x12d735(0x1e3)](_0x131e66=>[_0x131e66[_0x12d735(0x1d2)],{'type':_0x131e66[_0x12d735(0x1c6)]}]));}
@@ -1 +1 @@
1
- function a95_0x5b4c(_0x23ba79,_0x345ef8){_0x23ba79=_0x23ba79-0xeb;const _0x481ed7=a95_0x481e();let _0x5b4c46=_0x481ed7[_0x23ba79];return _0x5b4c46;}const a95_0x283daf=a95_0x5b4c;function a95_0x481e(){const _0x28c51d=['production','948PNiMjm','1225314wFluwV','2597dlxTJC','3239300uqSYzZ','1498028jGmNMz','compress','328818oJZwuc','en-US','20oqTGgj','8608RdDFlc','3547092DMFXLn','3957FIdtRa'];a95_0x481e=function(){return _0x28c51d;};return a95_0x481e();}(function(_0xda8ef2,_0x2f64b3){const _0x27690e=a95_0x5b4c,_0x3c80b7=_0xda8ef2();while(!![]){try{const _0x119e2c=-parseInt(_0x27690e(0xee))/0x1+parseInt(_0x27690e(0xec))/0x2+-parseInt(_0x27690e(0xf3))/0x3*(-parseInt(_0x27690e(0xf5))/0x4)+-parseInt(_0x27690e(0xeb))/0x5+parseInt(_0x27690e(0xf2))/0x6+-parseInt(_0x27690e(0xf7))/0x7*(parseInt(_0x27690e(0xf1))/0x8)+parseInt(_0x27690e(0xf6))/0x9*(parseInt(_0x27690e(0xf0))/0xa);if(_0x119e2c===_0x2f64b3)break;else _0x3c80b7['push'](_0x3c80b7['shift']());}catch(_0x49f73d){_0x3c80b7['push'](_0x3c80b7['shift']());}}}(a95_0x481e,0x86161));export const DEFAULT_APP_PROFILE_NAME='main';export const DEFAULT_CONFIG_VALUES={'env':a95_0x283daf(0xf4),'format':a95_0x283daf(0xed),'locale':a95_0x283daf(0xef),'riskLevel':'write'};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a95_0x283daf(0xed);
1
+ const a95_0x223385=a95_0x405e;function a95_0x405e(_0x4ca256,_0x50e838){_0x4ca256=_0x4ca256-0x1d7;const _0x16e252=a95_0x16e2();let _0x405e92=_0x16e252[_0x4ca256];return _0x405e92;}(function(_0x373768,_0x5327d6){const _0x5b161d=a95_0x405e,_0xef30ef=_0x373768();while(!![]){try{const _0x152984=parseInt(_0x5b161d(0x1d9))/0x1*(parseInt(_0x5b161d(0x1de))/0x2)+-parseInt(_0x5b161d(0x1db))/0x3+-parseInt(_0x5b161d(0x1e1))/0x4+-parseInt(_0x5b161d(0x1da))/0x5+parseInt(_0x5b161d(0x1e0))/0x6+parseInt(_0x5b161d(0x1dd))/0x7*(-parseInt(_0x5b161d(0x1d8))/0x8)+-parseInt(_0x5b161d(0x1dc))/0x9*(-parseInt(_0x5b161d(0x1d7))/0xa);if(_0x152984===_0x5327d6)break;else _0xef30ef['push'](_0xef30ef['shift']());}catch(_0x3a9ce3){_0xef30ef['push'](_0xef30ef['shift']());}}}(a95_0x16e2,0x7451c));function a95_0x16e2(){const _0x3abf57=['387709eOPEWy','2HQNJEY','write','3088410hvHdNl','1432524XdRpEI','compress','production','13711240oFUvRF','80TClToJ','164908zSjclu','419990PWzjzb','1734972nuEtdx','9JeNdqI'];a95_0x16e2=function(){return _0x3abf57;};return a95_0x16e2();}export const DEFAULT_APP_PROFILE_NAME='main';export const DEFAULT_CONFIG_VALUES={'env':a95_0x223385(0x1e3),'format':a95_0x223385(0x1e2),'locale':'en-US','riskLevel':a95_0x223385(0x1df)};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a95_0x223385(0x1e2);
@@ -1 +1 @@
1
- function a96_0x4676(){const _0x116a4d=['7GBCFsE','2299TmtlKb','4392848ByMguj','32560728nvehfX','380320pGvPWr','npmRegistryBaseUrl','/dist/lovrabet-cli/config/index.json','429928XhkiyQ','10535931qHUyIJ','skillSource','20600FWnMqj','3NxBDow','77NCNOvo','319862dCLFJV','cliCdnBaseUrl','78rOjTLY'];a96_0x4676=function(){return _0x116a4d;};return a96_0x4676();}const a96_0x5b5588=a96_0x5970;(function(_0x469038,_0x41df5c){const _0x257ec1=a96_0x5970,_0x566526=_0x469038();while(!![]){try{const _0x5f06ec=parseInt(_0x257ec1(0x160))/0x1*(-parseInt(_0x257ec1(0x15d))/0x2)+parseInt(_0x257ec1(0x15b))/0x3*(parseInt(_0x257ec1(0x162))/0x4)+-parseInt(_0x257ec1(0x164))/0x5*(parseInt(_0x257ec1(0x15f))/0x6)+parseInt(_0x257ec1(0x15c))/0x7*(parseInt(_0x257ec1(0x157))/0x8)+-parseInt(_0x257ec1(0x158))/0x9+parseInt(_0x257ec1(0x15a))/0xa*(-parseInt(_0x257ec1(0x161))/0xb)+parseInt(_0x257ec1(0x163))/0xc;if(_0x5f06ec===_0x41df5c)break;else _0x566526['push'](_0x566526['shift']());}catch(_0x323e0a){_0x566526['push'](_0x566526['shift']());}}}(a96_0x4676,0xa93d9));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG['npmPackageName'];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a96_0x5b5588(0x159)];function a96_0x5970(_0x8aecd6,_0x2495a5){_0x8aecd6=_0x8aecd6-0x157;const _0x4676ff=a96_0x4676();let _0x597010=_0x4676ff[_0x8aecd6];return _0x597010;}export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a96_0x5b5588(0x165)];export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG[a96_0x5b5588(0x15e)];export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+a96_0x5b5588(0x166);
1
+ const a96_0x216323=a96_0x37c5;(function(_0x46e014,_0x120a5b){const _0x2dba8f=a96_0x37c5,_0x422bef=_0x46e014();while(!![]){try{const _0x3ec378=-parseInt(_0x2dba8f(0x13f))/0x1*(-parseInt(_0x2dba8f(0x140))/0x2)+-parseInt(_0x2dba8f(0x137))/0x3+parseInt(_0x2dba8f(0x139))/0x4+parseInt(_0x2dba8f(0x13b))/0x5*(parseInt(_0x2dba8f(0x142))/0x6)+parseInt(_0x2dba8f(0x13e))/0x7+-parseInt(_0x2dba8f(0x13c))/0x8+-parseInt(_0x2dba8f(0x138))/0x9*(parseInt(_0x2dba8f(0x141))/0xa);if(_0x3ec378===_0x120a5b)break;else _0x422bef['push'](_0x422bef['shift']());}catch(_0x53bb3c){_0x422bef['push'](_0x422bef['shift']());}}}(a96_0x10e8,0x63307));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a96_0x216323(0x143)];function a96_0x37c5(_0xee0d41,_0x5da8a6){_0xee0d41=_0xee0d41-0x137;const _0x10e84c=a96_0x10e8();let _0x37c551=_0x10e84c[_0xee0d41];return _0x37c551;}export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG['skillSource'];function a96_0x10e8(){const _0x57222f=['4BXQNMV','2780zRqDxJ','77802CwYLJd','npmPackageName','254892qXTUUZ','6696SqwqlI','2063452DMeWMx','/dist/lovrabet-cli/config/index.json','70DioJHZ','5597512MbuyoL','cliCdnBaseUrl','3885959FsvERR','72613dwurFg'];a96_0x10e8=function(){return _0x57222f;};return a96_0x10e8();}export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG['npmRegistryBaseUrl'];export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG[a96_0x216323(0x13d)];export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+a96_0x216323(0x13a);
@@ -1 +1 @@
1
- const a97_0x28e766=a97_0x4ae5;(function(_0x211ced,_0x1cda0d){const _0x48ff20=a97_0x4ae5,_0x194004=_0x211ced();while(!![]){try{const _0x472388=parseInt(_0x48ff20(0x12c))/0x1*(parseInt(_0x48ff20(0x13b))/0x2)+parseInt(_0x48ff20(0x133))/0x3+-parseInt(_0x48ff20(0x12f))/0x4+-parseInt(_0x48ff20(0x139))/0x5+-parseInt(_0x48ff20(0x138))/0x6*(parseInt(_0x48ff20(0x136))/0x7)+-parseInt(_0x48ff20(0x12e))/0x8+parseInt(_0x48ff20(0x12a))/0x9;if(_0x472388===_0x1cda0d)break;else _0x194004['push'](_0x194004['shift']());}catch(_0x575480){_0x194004['push'](_0x194004['shift']());}}}(a97_0xe177,0x436a0));import{getEnv,isProduction}from'../constant/env.js';function a97_0xe177(){const _0x542baf=['5307273odjfRv','production','4bYRhFQ','userDomain','1348152ODyijs','432108zpGvnT','skillDomain','kbServiceDomain','apiDomain','111747PbYezf','runtimeDomain','api','23786BCSeHc','user','936gzceAo','299880ATmDrC','region','257896pMnJwM','runtime','daily','kbService','serviceDomains'];a97_0xe177=function(){return _0x542baf;};return a97_0xe177();}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(_0x3946fb){const _0x3f44e8=a97_0x4ae5;customApiDomain=_0x3946fb?.[_0x3f44e8(0x132)],customUserDomain=_0x3946fb?.[_0x3f44e8(0x12d)],customRuntimeDomain=_0x3946fb?.[_0x3f44e8(0x134)],customSkillDomain=_0x3946fb?.[_0x3f44e8(0x130)],customKbServiceDomain=_0x3946fb?.[_0x3f44e8(0x131)],allowOfficialKbServiceDefault=_0x3946fb?.['allowOfficialKbServiceDefault']??!![],activeRegion=_0x3946fb?.[_0x3f44e8(0x13a)]??DEFAULT_LOVRABET_REGION;}function a97_0x4ae5(_0x45e246,_0x3e7b9a){_0x45e246=_0x45e246-0x12a;const _0xe1778d=a97_0xe177();let _0x4ae505=_0xe1778d[_0x45e246];return _0x4ae505;}const getActiveRegionDomains=()=>{const _0x3fd3ba=a97_0x4ae5,_0x513696=OFFICIAL_ROUTING_PROFILES[activeRegion][_0x3fd3ba(0x13f)];return isProduction(getEnv())?_0x513696[_0x3fd3ba(0x12b)]:_0x3fd3ba(0x13d)in _0x513696?_0x513696[_0x3fd3ba(0x13d)]:_0x513696[_0x3fd3ba(0x12b)];};export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a97_0x28e766(0x137)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a97_0x28e766(0x135)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a97_0x28e766(0x13c)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbServiceDomain=()=>{const _0x3e349d=a97_0x28e766;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;const _0x5afe84=getActiveRegionDomains();return _0x3e349d(0x13e)in _0x5afe84?_0x5afe84[_0x3e349d(0x13e)]:undefined;};
1
+ const a97_0x171f13=a97_0x34bc;(function(_0xc90a4b,_0x4a8f8d){const _0x133d95=a97_0x34bc,_0x5e0266=_0xc90a4b();while(!![]){try{const _0x144618=-parseInt(_0x133d95(0xec))/0x1+parseInt(_0x133d95(0xea))/0x2+parseInt(_0x133d95(0xee))/0x3*(parseInt(_0x133d95(0xe5))/0x4)+-parseInt(_0x133d95(0xe2))/0x5+-parseInt(_0x133d95(0xe4))/0x6+-parseInt(_0x133d95(0xe9))/0x7+parseInt(_0x133d95(0xf1))/0x8;if(_0x144618===_0x4a8f8d)break;else _0x5e0266['push'](_0x5e0266['shift']());}catch(_0x36071f){_0x5e0266['push'](_0x5e0266['shift']());}}}(a97_0x5067,0x897e1));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(_0x572083){const _0x55c9ed=a97_0x34bc;customApiDomain=_0x572083?.[_0x55c9ed(0xf0)],customUserDomain=_0x572083?.['userDomain'],customRuntimeDomain=_0x572083?.['runtimeDomain'],customSkillDomain=_0x572083?.[_0x55c9ed(0xeb)],customKbServiceDomain=_0x572083?.[_0x55c9ed(0xf2)],allowOfficialKbServiceDefault=_0x572083?.[_0x55c9ed(0xf4)]??!![],activeRegion=_0x572083?.['region']??DEFAULT_LOVRABET_REGION;}const getActiveRegionDomains=()=>{const _0x186563=a97_0x34bc,_0x1402fb=OFFICIAL_ROUTING_PROFILES[activeRegion]['serviceDomains'];return isProduction(getEnv())?_0x1402fb[_0x186563(0xe7)]:_0x186563(0xed)in _0x1402fb?_0x1402fb[_0x186563(0xed)]:_0x1402fb[_0x186563(0xe7)];};export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a97_0x171f13(0xf3)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a97_0x171f13(0xe3)];function a97_0x34bc(_0x4b8425,_0x4abfa4){_0x4b8425=_0x4b8425-0xe2;const _0x5067b8=a97_0x5067();let _0x34bc0b=_0x5067b8[_0x4b8425];return _0x34bc0b;}export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a97_0x171f13(0xef)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a97_0x171f13(0xe8)];function a97_0x5067(){const _0x177a21=['223241iqQsqS','daily','567441nxZgEd','runtime','apiDomain','15674992tSAhNG','kbServiceDomain','user','allowOfficialKbServiceDefault','1903395TQZdUG','api','5388504GuLRiv','4pKQdEO','kbService','production','skill','611940zmOjsr','8144khcsWh','skillDomain'];a97_0x5067=function(){return _0x177a21;};return a97_0x5067();}export const getKbServiceDomain=()=>{const _0x4f7de5=a97_0x171f13;if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;const _0x480fbc=getActiveRegionDomains();return _0x4f7de5(0xe6)in _0x480fbc?_0x480fbc[_0x4f7de5(0xe6)]:undefined;};
@@ -1 +1 @@
1
- const a98_0xcd1fb1=a98_0x2dd1;function a98_0x2dd1(_0x5e9271,_0x490b9c){_0x5e9271=_0x5e9271-0x86;const _0x7f2d97=a98_0x7f2d();let _0x2dd16b=_0x7f2d97[_0x5e9271];return _0x2dd16b;}(function(_0x601adf,_0x1a84ea){const _0x5c2e32=a98_0x2dd1,_0x1f0783=_0x601adf();while(!![]){try{const _0x2bd23d=parseInt(_0x5c2e32(0x8d))/0x1+-parseInt(_0x5c2e32(0x87))/0x2*(parseInt(_0x5c2e32(0x8a))/0x3)+parseInt(_0x5c2e32(0x8f))/0x4*(-parseInt(_0x5c2e32(0x91))/0x5)+-parseInt(_0x5c2e32(0x94))/0x6+-parseInt(_0x5c2e32(0x8c))/0x7*(parseInt(_0x5c2e32(0x8e))/0x8)+-parseInt(_0x5c2e32(0x93))/0x9*(-parseInt(_0x5c2e32(0x92))/0xa)+parseInt(_0x5c2e32(0x88))/0xb;if(_0x2bd23d===_0x1a84ea)break;else _0x1f0783['push'](_0x1f0783['shift']());}catch(_0x35ce4c){_0x1f0783['push'](_0x1f0783['shift']());}}}(a98_0x7f2d,0x3e079));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a98_0xcd1fb1(0x89),a98_0xcd1fb1(0x86),'daily'];export function normalizeEnv(_0x3253a8){const _0x4a9f65=a98_0xcd1fb1;return _0x3253a8===_0x4a9f65(0x8b)?'production':_0x3253a8;}export function isProduction(_0xcfeef4){const _0x2bd422=a98_0xcd1fb1;return normalizeEnv(_0xcfeef4)===_0x2bd422(0x89);}export function isDaily(_0x433f85){const _0x1d6d3c=a98_0xcd1fb1;return normalizeEnv(_0x433f85)===_0x1d6d3c(0x90);}export function isDev(_0x461059){const _0x3717c8=a98_0xcd1fb1,_0x2d4365=normalizeEnv(_0x461059);return _0x2d4365===_0x3717c8(0x86)||_0x2d4365==='dev';}let env=normalizeEnv(productEnv(a98_0xcd1fb1(0x95))||a98_0xcd1fb1(0x89));export function getEnv(){return env;}export function initEnv(_0x2ec2af){env=normalizeEnv(_0x2ec2af);}function a98_0x7f2d(){const _0xc35d5e=['249624ByaAxE','6184wjMxXA','52YXGVDJ','daily','11465qCCnuS','710ZgTRoB','25227MCDVvx','2703846oIOkIW','ENV','development','8378qGRApr','7965584Udklop','production','150tKHncL','online','2072pNShPN'];a98_0x7f2d=function(){return _0xc35d5e;};return a98_0x7f2d();}
1
+ function a98_0x2ffb(_0x4c8f73,_0x1f253a){_0x4c8f73=_0x4c8f73-0x97;const _0x28db83=a98_0x28db();let _0x2ffbe5=_0x28db83[_0x4c8f73];return _0x2ffbe5;}const a98_0x43ee00=a98_0x2ffb;(function(_0x55ab8f,_0x10dcbb){const _0x57eb9d=a98_0x2ffb,_0x1b58fd=_0x55ab8f();while(!![]){try{const _0xd31355=parseInt(_0x57eb9d(0xa5))/0x1+-parseInt(_0x57eb9d(0x9f))/0x2*(-parseInt(_0x57eb9d(0x9c))/0x3)+-parseInt(_0x57eb9d(0x98))/0x4+-parseInt(_0x57eb9d(0x9d))/0x5+-parseInt(_0x57eb9d(0x9a))/0x6*(parseInt(_0x57eb9d(0x9b))/0x7)+-parseInt(_0x57eb9d(0xa3))/0x8+parseInt(_0x57eb9d(0xa1))/0x9;if(_0xd31355===_0x10dcbb)break;else _0x1b58fd['push'](_0x1b58fd['shift']());}catch(_0x194b0a){_0x1b58fd['push'](_0x1b58fd['shift']());}}}(a98_0x28db,0x67437));import{productEnv}from'../constant/product.js';function a98_0x28db(){const _0x51bc73=['online','5904032XSnloz','daily','237682XfItxV','dev','2274636zURWSv','production','101772xwtSqP','336zOdmcW','737925klckyU','153800lIreFS','ENV','4omyyre','development','16604406jAIquO'];a98_0x28db=function(){return _0x51bc73;};return a98_0x28db();}export const RUNTIME_ENV_VALUES=['production','development','daily'];export function normalizeEnv(_0x13bb8f){const _0x25adfe=a98_0x2ffb;return _0x13bb8f===_0x25adfe(0xa2)?_0x25adfe(0x99):_0x13bb8f;}export function isProduction(_0x582826){const _0x4b5c94=a98_0x2ffb;return normalizeEnv(_0x582826)===_0x4b5c94(0x99);}export function isDaily(_0x1a6616){const _0x36f8b0=a98_0x2ffb;return normalizeEnv(_0x1a6616)===_0x36f8b0(0xa4);}export function isDev(_0x4437c2){const _0x2e0c69=a98_0x2ffb,_0x3c8d90=normalizeEnv(_0x4437c2);return _0x3c8d90===_0x2e0c69(0xa0)||_0x3c8d90===_0x2e0c69(0x97);}let env=normalizeEnv(productEnv(a98_0x43ee00(0x9e))||a98_0x43ee00(0x99));export function getEnv(){return env;}export function initEnv(_0x505001){env=normalizeEnv(_0x505001);}
@@ -1 +1 @@
1
- function a99_0xdf1f(){const _0x465917=['8RzrnDu','3709090PfZDvR','2hHjStG','6271260bkZPjI','9ptYOAd','492319qloGuU','1108528fhgFsn','4441675stznnw','6465042plqEDV','4168788bfKeVu','compress'];a99_0xdf1f=function(){return _0x465917;};return a99_0xdf1f();}const a99_0x5ebdc7=a99_0x229e;function a99_0x229e(_0x445e07,_0x3639e0){_0x445e07=_0x445e07-0x69;const _0xdf1fbb=a99_0xdf1f();let _0x229e9e=_0xdf1fbb[_0x445e07];return _0x229e9e;}(function(_0x437f57,_0xc56586){const _0x53f100=a99_0x229e,_0x51fa1d=_0x437f57();while(!![]){try{const _0x44ce60=parseInt(_0x53f100(0x69))/0x1*(-parseInt(_0x53f100(0x71))/0x2)+-parseInt(_0x53f100(0x73))/0x3*(parseInt(_0x53f100(0x6a))/0x4)+parseInt(_0x53f100(0x6b))/0x5+parseInt(_0x53f100(0x6d))/0x6+parseInt(_0x53f100(0x70))/0x7+-parseInt(_0x53f100(0x6f))/0x8*(parseInt(_0x53f100(0x6c))/0x9)+parseInt(_0x53f100(0x72))/0xa;if(_0x44ce60===_0xc56586)break;else _0x51fa1d['push'](_0x51fa1d['shift']());}catch(_0x4895bb){_0x51fa1d['push'](_0x51fa1d['shift']());}}}(a99_0xdf1f,0xaa6dc));export const OUTPUT_FORMAT_VALUES=['json','pretty',a99_0x5ebdc7(0x6e)];
1
+ function a99_0x4c56(){const _0x3658d3=['1454343ltoyMA','51685hDmGaz','compress','36xoMJQo','7aixsQw','2799ljwtZf','750712Aoxtlg','2816742uxUOKZ','4742360NQUziN','6152cQsfBI','pretty','473698PHJpKs'];a99_0x4c56=function(){return _0x3658d3;};return a99_0x4c56();}const a99_0x41fdcd=a99_0x5b61;function a99_0x5b61(_0x40d7da,_0x5dc85d){_0x40d7da=_0x40d7da-0x147;const _0x4c5642=a99_0x4c56();let _0x5b61ce=_0x4c5642[_0x40d7da];return _0x5b61ce;}(function(_0x59b5f9,_0x17dfa9){const _0x3b42e1=a99_0x5b61,_0x4a1410=_0x59b5f9();while(!![]){try{const _0x3ddc20=parseInt(_0x3b42e1(0x14f))/0x1+-parseInt(_0x3b42e1(0x14a))/0x2+parseInt(_0x3b42e1(0x150))/0x3+parseInt(_0x3b42e1(0x147))/0x4*(-parseInt(_0x3b42e1(0x151))/0x5)+parseInt(_0x3b42e1(0x14b))/0x6*(-parseInt(_0x3b42e1(0x148))/0x7)+-parseInt(_0x3b42e1(0x14d))/0x8*(parseInt(_0x3b42e1(0x149))/0x9)+parseInt(_0x3b42e1(0x14c))/0xa;if(_0x3ddc20===_0x17dfa9)break;else _0x4a1410['push'](_0x4a1410['shift']());}catch(_0x294c29){_0x4a1410['push'](_0x4a1410['shift']());}}}(a99_0x4c56,0x3e6de));export const OUTPUT_FORMAT_VALUES=['json',a99_0x41fdcd(0x14e),a99_0x41fdcd(0x152)];
@@ -1 +1 @@
1
- const a100_0x2ee5f8=a100_0x1975;(function(_0x311499,_0xb0513f){const _0x8e9c4e=a100_0x1975,_0x1bbb3b=_0x311499();while(!![]){try{const _0x1cecb1=parseInt(_0x8e9c4e(0x11c))/0x1+parseInt(_0x8e9c4e(0x124))/0x2*(parseInt(_0x8e9c4e(0x119))/0x3)+parseInt(_0x8e9c4e(0x116))/0x4+parseInt(_0x8e9c4e(0x12a))/0x5*(parseInt(_0x8e9c4e(0x11b))/0x6)+-parseInt(_0x8e9c4e(0x117))/0x7+-parseInt(_0x8e9c4e(0x121))/0x8+-parseInt(_0x8e9c4e(0x11f))/0x9;if(_0x1cecb1===_0xb0513f)break;else _0x1bbb3b['push'](_0x1bbb3b['shift']());}catch(_0x361485){_0x1bbb3b['push'](_0x1bbb3b['shift']());}}}(a100_0x3202,0x2e9ed));function a100_0x1975(_0x241455,_0x4a870e){_0x241455=_0x241455-0x113;const _0x320286=a100_0x3202();let _0x197543=_0x320286[_0x241455];return _0x197543;}export const PRODUCT_CONFIG={'cliBinName':'lovrabet','cliDisplayName':'Lovrabet\x20Runtime\x20CLI','npmPackageName':a100_0x2ee5f8(0x125),'skillSource':a100_0x2ee5f8(0x113),'internalSkillSource':a100_0x2ee5f8(0x123),'globalSkillName':a100_0x2ee5f8(0x127),'npmRegistryBaseUrl':a100_0x2ee5f8(0x118),'cliCdnBaseUrl':a100_0x2ee5f8(0x114),'envPrefix':'LOVRABET','legacyEnvPrefixes':[a100_0x2ee5f8(0x128)],'configFileNames':[a100_0x2ee5f8(0x11d)],'newConfigFileName':a100_0x2ee5f8(0x11d),'homeDirName':'.lovrabet','logFileName':a100_0x2ee5f8(0x129),'invokeSource':a100_0x2ee5f8(0x122),'userCenterDisplayName':a100_0x2ee5f8(0x11a),'skipNpxSkillsEnvSuffix':a100_0x2ee5f8(0x126),'accessKeyCreatePath':a100_0x2ee5f8(0x120)};export function productEnvName(_0x300f5f){const _0x29cf8e=a100_0x2ee5f8;return PRODUCT_CONFIG[_0x29cf8e(0x11e)]+'_'+_0x300f5f;}export function productEnvNames(_0x28286e){const _0xb6f1a8=a100_0x2ee5f8;return[productEnvName(_0x28286e),...PRODUCT_CONFIG[_0xb6f1a8(0x115)]['map'](_0x1a0014=>_0x1a0014+'_'+_0x28286e)];}function a100_0x3202(){const _0x396c0a=['379095dQdPFR','Lovrabet\x20User\x20Center','944184VIbSab','81282hjJrDX','.lovrabet.json','envPrefix','629316PvcKDc','/user/ak','376928ASajhj','cli:lovrabet-runtime','git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','2HpBDVb','@lovrabet/lovrabet-cli','SKIP_NPX_SKILLS','lovrabet','RABETBASE','.lovrabet-runtime.log','5ifHDfR','lovrabet/lovrabet-cli','https://g.lovrabet.com','legacyEnvPrefixes','5768qsBmcH','409192DufWgD','https://registry.npmjs.org'];a100_0x3202=function(){return _0x396c0a;};return a100_0x3202();}export function productEnv(_0x4f8e12){for(const _0x360cb0 of productEnvNames(_0x4f8e12)){const _0x317b29=process.env[_0x360cb0];if(_0x317b29!==undefined)return _0x317b29;}return undefined;}
1
+ const a100_0x1a3269=a100_0x1d48;function a100_0x1d48(_0x43d8b6,_0x24f07d){_0x43d8b6=_0x43d8b6-0xc7;const _0x2a250f=a100_0x2a25();let _0x1d48d3=_0x2a250f[_0x43d8b6];return _0x1d48d3;}(function(_0x5c670,_0x3ea999){const _0x1f906b=a100_0x1d48,_0x4f0d3a=_0x5c670();while(!![]){try{const _0x480b44=parseInt(_0x1f906b(0xce))/0x1+-parseInt(_0x1f906b(0xd3))/0x2*(parseInt(_0x1f906b(0xdb))/0x3)+-parseInt(_0x1f906b(0xcb))/0x4+parseInt(_0x1f906b(0xd7))/0x5*(parseInt(_0x1f906b(0xe0))/0x6)+parseInt(_0x1f906b(0xc8))/0x7+-parseInt(_0x1f906b(0xcd))/0x8+-parseInt(_0x1f906b(0xdc))/0x9*(-parseInt(_0x1f906b(0xd0))/0xa);if(_0x480b44===_0x3ea999)break;else _0x4f0d3a['push'](_0x4f0d3a['shift']());}catch(_0xc41599){_0x4f0d3a['push'](_0x4f0d3a['shift']());}}}(a100_0x2a25,0x484fe));export const PRODUCT_CONFIG={'cliBinName':a100_0x1a3269(0xda),'cliDisplayName':a100_0x1a3269(0xd8),'npmPackageName':a100_0x1a3269(0xcc),'skillSource':a100_0x1a3269(0xc7),'internalSkillSource':a100_0x1a3269(0xd5),'globalSkillName':a100_0x1a3269(0xda),'npmRegistryBaseUrl':a100_0x1a3269(0xde),'cliCdnBaseUrl':'https://g.lovrabet.com','envPrefix':a100_0x1a3269(0xca),'legacyEnvPrefixes':[a100_0x1a3269(0xdf)],'configFileNames':[a100_0x1a3269(0xd4)],'newConfigFileName':'.lovrabet.json','homeDirName':a100_0x1a3269(0xd2),'logFileName':'.lovrabet-runtime.log','invokeSource':a100_0x1a3269(0xdd),'userCenterDisplayName':a100_0x1a3269(0xcf),'skipNpxSkillsEnvSuffix':a100_0x1a3269(0xc9),'accessKeyCreatePath':'/user/ak'};export function productEnvName(_0x20ec0d){const _0x3b474f=a100_0x1a3269;return PRODUCT_CONFIG[_0x3b474f(0xd6)]+'_'+_0x20ec0d;}function a100_0x2a25(){const _0x13e584=['lovrabet/lovrabet-cli','164514FDsndj','SKIP_NPX_SKILLS','LOVRABET','375572iklnGe','@lovrabet/lovrabet-cli','2546616LlHWif','133010mkKrXd','Lovrabet\x20User\x20Center','8390CijWtH','map','.lovrabet','1084yDyHLl','.lovrabet.json','git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','envPrefix','5hlGPVF','Lovrabet\x20Runtime\x20CLI','legacyEnvPrefixes','lovrabet','3099qejFAB','8793puYDYM','cli:lovrabet-runtime','https://registry.npmjs.org','RABETBASE','1752486fRMBAa'];a100_0x2a25=function(){return _0x13e584;};return a100_0x2a25();}export function productEnvNames(_0x4392bd){const _0x46ef3b=a100_0x1a3269;return[productEnvName(_0x4392bd),...PRODUCT_CONFIG[_0x46ef3b(0xd9)][_0x46ef3b(0xd1)](_0x34a56a=>_0x34a56a+'_'+_0x4392bd)];}export function productEnv(_0x20f486){for(const _0x59ca54 of productEnvNames(_0x20f486)){const _0x124b42=process.env[_0x59ca54];if(_0x124b42!==undefined)return _0x124b42;}return undefined;}
@@ -1 +1 @@
1
- (function(_0x954ca5,_0x153258){const _0x222382=a101_0xf841,_0x24040d=_0x954ca5();while(!![]){try{const _0x470191=parseInt(_0x222382(0x13e))/0x1+parseInt(_0x222382(0x14b))/0x2*(parseInt(_0x222382(0x140))/0x3)+parseInt(_0x222382(0x150))/0x4*(parseInt(_0x222382(0x14c))/0x5)+parseInt(_0x222382(0x145))/0x6+parseInt(_0x222382(0x149))/0x7*(-parseInt(_0x222382(0x151))/0x8)+parseInt(_0x222382(0x147))/0x9+-parseInt(_0x222382(0x141))/0xa*(parseInt(_0x222382(0x152))/0xb);if(_0x470191===_0x153258)break;else _0x24040d['push'](_0x24040d['shift']());}catch(_0x26f76f){_0x24040d['push'](_0x24040d['shift']());}}}(a101_0x461b,0xe9baa));function a101_0xf841(_0x224f11,_0x43fc87){_0x224f11=_0x224f11-0x13e;const _0x461b7b=a101_0x461b();let _0xf8418=_0x461b7b[_0x224f11];return _0xf8418;}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;function a101_0x461b(){const _0x191189=['Region\x20\x22','18zcmixH','26438890viAorG','Available\x20regions:\x20','string','includes','4781784dCxasw','join','5666967njbrzu','.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.','28UppqWT','validation','158542DXkIPJ','565CeyVzs','Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20','\x22\x20is\x20not\x20currently\x20available.','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.','48164iBkDDH','2280752gBWSjY','11YaBnhM','1478733OnlBGS'];a101_0x461b=function(){return _0x191189;};return a101_0x461b();}export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x1d41d4){const _0x49584e=a101_0xf841;return typeof _0x1d41d4===_0x49584e(0x143)&&LOVRABET_REGION_VALUES[_0x49584e(0x144)](_0x1d41d4);}export function isEnabledLovrabetRegion(_0x40a06e){const _0x3c4c40=a101_0xf841;return typeof _0x40a06e==='string'&&ENABLED_LOVRABET_REGION_VALUES[_0x3c4c40(0x144)](_0x40a06e);}export function normalizeLovrabetRegion(_0x823aea){const _0x55c193=a101_0xf841;if(_0x823aea===undefined||_0x823aea===null||_0x823aea==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x823aea!==_0x55c193(0x143))throw CliErrors[_0x55c193(0x14a)](_0x55c193(0x14d)+typeof _0x823aea+'.',_0x55c193(0x14f));const _0xca57f8=REGION_ALIASES[_0x823aea]??_0x823aea;if(isEnabledLovrabetRegion(_0xca57f8))return _0xca57f8;throw CliErrors[_0x55c193(0x14a)](_0x55c193(0x13f)+_0x823aea+_0x55c193(0x14e),_0x55c193(0x142)+ENABLED_LOVRABET_REGION_VALUES[_0x55c193(0x146)](',\x20')+_0x55c193(0x148));}
1
+ (function(_0x74b09,_0x149da9){const _0x3cb56d=a101_0x10f5,_0x1160c9=_0x74b09();while(!![]){try{const _0x10e83f=parseInt(_0x3cb56d(0x8f))/0x1+-parseInt(_0x3cb56d(0x84))/0x2+-parseInt(_0x3cb56d(0x8e))/0x3*(parseInt(_0x3cb56d(0x90))/0x4)+-parseInt(_0x3cb56d(0x89))/0x5*(-parseInt(_0x3cb56d(0x83))/0x6)+-parseInt(_0x3cb56d(0x87))/0x7*(parseInt(_0x3cb56d(0x8c))/0x8)+-parseInt(_0x3cb56d(0x8b))/0x9+parseInt(_0x3cb56d(0x86))/0xa;if(_0x10e83f===_0x149da9)break;else _0x1160c9['push'](_0x1160c9['shift']());}catch(_0x1af2c8){_0x1160c9['push'](_0x1160c9['shift']());}}}(a101_0x5507,0xf17d8));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;function a101_0x10f5(_0x20d4fa,_0x598307){_0x20d4fa=_0x20d4fa-0x82;const _0x5507a5=a101_0x5507();let _0x10f548=_0x5507a5[_0x20d4fa];return _0x10f548;}export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x2046ee){const _0x327f80=a101_0x10f5;return typeof _0x2046ee===_0x327f80(0x8a)&&LOVRABET_REGION_VALUES[_0x327f80(0x82)](_0x2046ee);}export function isEnabledLovrabetRegion(_0x31abda){const _0xbe52b3=a101_0x10f5;return typeof _0x31abda===_0xbe52b3(0x8a)&&ENABLED_LOVRABET_REGION_VALUES[_0xbe52b3(0x82)](_0x31abda);}export function normalizeLovrabetRegion(_0x3eb620){const _0x3d8df3=a101_0x10f5;if(_0x3eb620===undefined||_0x3eb620===null||_0x3eb620==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x3eb620!=='string')throw CliErrors[_0x3d8df3(0x88)](_0x3d8df3(0x93)+typeof _0x3eb620+'.','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.');const _0x4af9d3=REGION_ALIASES[_0x3eb620]??_0x3eb620;if(isEnabledLovrabetRegion(_0x4af9d3))return _0x4af9d3;throw CliErrors['validation']('Region\x20\x22'+_0x3eb620+_0x3d8df3(0x8d),_0x3d8df3(0x92)+ENABLED_LOVRABET_REGION_VALUES[_0x3d8df3(0x85)](',\x20')+_0x3d8df3(0x91));}function a101_0x5507(){const _0x392c7c=['5oWSyXZ','string','407871InjAHM','3576eVnaeL','\x22\x20is\x20not\x20currently\x20available.','42CbhoLO','385057jpAcvV','423596dIsHEr','.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.','Available\x20regions:\x20','Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20','includes','11072814qOwgDt','2056966EnCtqG','join','29157130DlzVDg','25067ujekgf','validation'];a101_0x5507=function(){return _0x392c7c;};return a101_0x5507();}
@@ -1 +1 @@
1
- const a102_0x17e317=a102_0x2a43;(function(_0x501a5e,_0x24f9ad){const _0x247019=a102_0x2a43,_0x3f25b3=_0x501a5e();while(!![]){try{const _0x5d33a5=-parseInt(_0x247019(0x1a3))/0x1+parseInt(_0x247019(0x1ab))/0x2*(parseInt(_0x247019(0x1a8))/0x3)+-parseInt(_0x247019(0x1b0))/0x4*(-parseInt(_0x247019(0x1a9))/0x5)+parseInt(_0x247019(0x1af))/0x6*(-parseInt(_0x247019(0x1a7))/0x7)+-parseInt(_0x247019(0x1ac))/0x8*(parseInt(_0x247019(0x1a5))/0x9)+-parseInt(_0x247019(0x1a4))/0xa+parseInt(_0x247019(0x1ad))/0xb;if(_0x5d33a5===_0x24f9ad)break;else _0x3f25b3['push'](_0x3f25b3['shift']());}catch(_0x7322d9){_0x3f25b3['push'](_0x3f25b3['shift']());}}}(a102_0x32f5,0x4d067));function a102_0x32f5(){const _0x3dfed3=['117ZcPbEa','write','310093Iihzam','325527yhoZTO','17725TiAYks','read','6OZnUWu','242352wPUlZE','2411871ndIfDF','high-risk-write','6vbDeHJ','404mhHWIe','15685yTLiko','1335320kJqciI'];a102_0x32f5=function(){return _0x3dfed3;};return a102_0x32f5();}function a102_0x2a43(_0x3585fe,_0x465709){_0x3585fe=_0x3585fe-0x1a3;const _0x32f5f6=a102_0x32f5();let _0x2a430c=_0x32f5f6[_0x3585fe];return _0x2a430c;}export const RISK_LEVEL_VALUES=[a102_0x17e317(0x1aa),a102_0x17e317(0x1a6),a102_0x17e317(0x1ae)];
1
+ const a102_0x3b0cf5=a102_0x156a;function a102_0x40ff(){const _0x3a0abf=['247698nCHuwT','28YqOupz','46BEWIhd','15274578iEdvdx','10muHaLm','322WQJzDG','1832406RjWCIf','48Uhssqv','12PSCakR','write','read','169370PmgclD','57614UxnJsu','1075217dVXFvb','18hTAYxy','1896920WfnEiu'];a102_0x40ff=function(){return _0x3a0abf;};return a102_0x40ff();}(function(_0x2087e6,_0x50a69a){const _0x464a3c=a102_0x156a,_0x17c903=_0x2087e6();while(!![]){try{const _0x323f13=parseInt(_0x464a3c(0x1db))/0x1*(-parseInt(_0x464a3c(0x1d5))/0x2)+parseInt(_0x464a3c(0x1d9))/0x3*(parseInt(_0x464a3c(0x1d0))/0x4)+parseInt(_0x464a3c(0x1dd))/0x5*(parseInt(_0x464a3c(0x1df))/0x6)+parseInt(_0x464a3c(0x1da))/0x7*(parseInt(_0x464a3c(0x1d8))/0x8)+parseInt(_0x464a3c(0x1d7))/0x9*(parseInt(_0x464a3c(0x1d4))/0xa)+parseInt(_0x464a3c(0x1dc))/0xb*(parseInt(_0x464a3c(0x1d1))/0xc)+-parseInt(_0x464a3c(0x1d6))/0xd*(parseInt(_0x464a3c(0x1de))/0xe);if(_0x323f13===_0x50a69a)break;else _0x17c903['push'](_0x17c903['shift']());}catch(_0x3b4744){_0x17c903['push'](_0x17c903['shift']());}}}(a102_0x40ff,0xb5e89));function a102_0x156a(_0x1b2a49,_0x359b81){_0x1b2a49=_0x1b2a49-0x1d0;const _0x40ff7c=a102_0x40ff();let _0x156a21=_0x40ff7c[_0x1b2a49];return _0x156a21;}export const RISK_LEVEL_VALUES=[a102_0x3b0cf5(0x1d3),a102_0x3b0cf5(0x1d2),'high-risk-write'];
@@ -1 +1 @@
1
- (function(_0x43d70b,_0x4eef11){const _0x4e7cd1=a103_0x5795,_0x49bb96=_0x43d70b();while(!![]){try{const _0x550227=parseInt(_0x4e7cd1(0xef))/0x1*(parseInt(_0x4e7cd1(0xf5))/0x2)+parseInt(_0x4e7cd1(0xf8))/0x3+parseInt(_0x4e7cd1(0xf2))/0x4*(-parseInt(_0x4e7cd1(0xf6))/0x5)+parseInt(_0x4e7cd1(0xfc))/0x6*(-parseInt(_0x4e7cd1(0xee))/0x7)+-parseInt(_0x4e7cd1(0xf1))/0x8+parseInt(_0x4e7cd1(0xfa))/0x9*(parseInt(_0x4e7cd1(0xf7))/0xa)+parseInt(_0x4e7cd1(0xf4))/0xb;if(_0x550227===_0x4eef11)break;else _0x49bb96['push'](_0x49bb96['shift']());}catch(_0x270903){_0x49bb96['push'](_0x49bb96['shift']());}}}(a103_0x1961,0x98249));import{PRODUCT_CONFIG}from'../constant/product.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';function a103_0x5795(_0x154d1c,_0x3745a1){_0x154d1c=_0x154d1c-0xee;const _0x1961e8=a103_0x1961();let _0x5795ca=_0x1961e8[_0x154d1c];return _0x5795ca;}import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';export function getUserAccessKeyCreateUrl(_0x5b2e25=DEFAULT_LOVRABET_REGION){const _0x532aec=a103_0x5795,_0x23d034=OFFICIAL_ROUTING_PROFILES[_0x5b2e25][_0x532aec(0xf9)][_0x532aec(0xf3)][_0x532aec(0xfb)];return''+_0x23d034+PRODUCT_CONFIG[_0x532aec(0xf0)];}function a103_0x1961(){const _0x4d2ae0=['2277rpqsSF','user','1998qDjeno','889rQywqr','50kDDvNH','accessKeyCreatePath','9753992LQvBTo','20348QJLsva','production','13372744KuNwiB','17908yvsyHP','880ORofxN','34470uSRLGg','733602FhGPuz','serviceDomains'];a103_0x1961=function(){return _0x4d2ae0;};return a103_0x1961();}export const USER_ACCESS_KEY_CREATE_URL=getUserAccessKeyCreateUrl();
1
+ (function(_0x15d02e,_0x240cae){const _0x31d9c8=a103_0x4b24,_0x1c5ba9=_0x15d02e();while(!![]){try{const _0x261444=-parseInt(_0x31d9c8(0x181))/0x1+-parseInt(_0x31d9c8(0x180))/0x2+-parseInt(_0x31d9c8(0x185))/0x3+-parseInt(_0x31d9c8(0x189))/0x4*(-parseInt(_0x31d9c8(0x17f))/0x5)+-parseInt(_0x31d9c8(0x186))/0x6*(parseInt(_0x31d9c8(0x182))/0x7)+-parseInt(_0x31d9c8(0x187))/0x8*(-parseInt(_0x31d9c8(0x188))/0x9)+parseInt(_0x31d9c8(0x18b))/0xa*(parseInt(_0x31d9c8(0x184))/0xb);if(_0x261444===_0x240cae)break;else _0x1c5ba9['push'](_0x1c5ba9['shift']());}catch(_0x3a7f27){_0x1c5ba9['push'](_0x1c5ba9['shift']());}}}(a103_0x7785,0x5afab));import{PRODUCT_CONFIG}from'../constant/product.js';function a103_0x7785(){const _0x45bef7=['8QztoDd','4760082uwUpVy','23524nZBkIg','accessKeyCreatePath','118980gTOYAe','385wdMxBf','843494tsJKBN','206784WsutwS','7alOJqh','serviceDomains','715wYrZHz','1679286YJMazY','1164966TtRoTh'];a103_0x7785=function(){return _0x45bef7;};return a103_0x7785();}import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';function a103_0x4b24(_0x6588aa,_0x4b104b){_0x6588aa=_0x6588aa-0x17f;const _0x7785ab=a103_0x7785();let _0x4b2495=_0x7785ab[_0x6588aa];return _0x4b2495;}export function getUserAccessKeyCreateUrl(_0x339b7b=DEFAULT_LOVRABET_REGION){const _0x117a7a=a103_0x4b24,_0x262d1d=OFFICIAL_ROUTING_PROFILES[_0x339b7b][_0x117a7a(0x183)]['production']['user'];return''+_0x262d1d+PRODUCT_CONFIG[_0x117a7a(0x18a)];}export const USER_ACCESS_KEY_CREATE_URL=getUserAccessKeyCreateUrl();
package/lib/context.js CHANGED
@@ -1 +1 @@
1
- (function(_0x52b2bf,_0x5e9d80){const _0x4b883d=a104_0x5427,_0x3d581a=_0x52b2bf();while(!![]){try{const _0x56f44e=parseInt(_0x4b883d(0x1e3))/0x1+parseInt(_0x4b883d(0x1e1))/0x2+parseInt(_0x4b883d(0x1ea))/0x3+parseInt(_0x4b883d(0x1f7))/0x4+-parseInt(_0x4b883d(0x216))/0x5*(parseInt(_0x4b883d(0x209))/0x6)+parseInt(_0x4b883d(0x1de))/0x7*(parseInt(_0x4b883d(0x1ff))/0x8)+-parseInt(_0x4b883d(0x205))/0x9*(parseInt(_0x4b883d(0x1fa))/0xa);if(_0x56f44e===_0x5e9d80)break;else _0x3d581a['push'](_0x3d581a['shift']());}catch(_0x13681e){_0x3d581a['push'](_0x3d581a['shift']());}}}(a104_0x1168,0x1e7a3));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['newConfigFileName'];function resolveConfigPath(_0x4adef4){for(const _0x1ace04 of CONFIG_NAMES){const _0x13f052=resolve(_0x4adef4,_0x1ace04);if(existsSync(_0x13f052))return _0x13f052;}return undefined;}export function resolveWriteConfigPath(_0x31561d){const _0xee5845=a104_0x5427,_0x35e322=_0x31561d===_0xee5845(0x20f)?process['cwd']():homedir(),_0x33e113=resolveConfigPath(_0x35e322);return _0x33e113??resolve(_0x35e322,NEW_CONFIG_NAME);}export function readConfigFile(_0xd2ad98){const _0x9ab62b=a104_0x5427;try{if(existsSync(_0xd2ad98)){const _0x1a5dfe=readFileSync(_0xd2ad98,{'encoding':_0x9ab62b(0x21a)});if(_0x1a5dfe){const _0x4caa1c=JSON['parse'](_0x1a5dfe);return migrateOnlineEnv(_0xd2ad98,_0x4caa1c),_0x4caa1c;}}}catch{}return{};}function migrateOnlineEnv(_0x55fd44,_0x2e691e){const _0x5297cf=a104_0x5427;let _0x4ebab2=![];_0x2e691e[_0x5297cf(0x1dc)]===_0x5297cf(0x1f3)&&(_0x2e691e['env']=_0x5297cf(0x1f5),_0x4ebab2=!![]);if(_0x2e691e[_0x5297cf(0x1db)]&&typeof _0x2e691e[_0x5297cf(0x1db)]===_0x5297cf(0x1d6))for(const _0xb67865 of Object[_0x5297cf(0x1fb)](_0x2e691e[_0x5297cf(0x1db)])){_0xb67865&&_0xb67865[_0x5297cf(0x1dc)]==='online'&&(_0xb67865[_0x5297cf(0x1dc)]='production',_0x4ebab2=!![]);}if(_0x4ebab2)try{writeConfigFile(_0x55fd44,_0x2e691e);}catch{}}export function writeConfigFile(_0x5275db,_0x56519c){const _0x90eac2=a104_0x5427,_0x5c76a2=dirname(_0x5275db);!existsSync(_0x5c76a2)&&mkdirSync(_0x5c76a2,{'recursive':!![]});const _0x5f8ae0=_0x5275db+_0x90eac2(0x1f2);try{writeFileSync(_0x5f8ae0,JSON['stringify'](_0x56519c,null,0x2)+'\x0a',{'encoding':_0x90eac2(0x21a),'mode':0x180});try{renameSync(_0x5f8ae0,_0x5275db);}catch(_0x410af9){if(_0x410af9[_0x90eac2(0x213)]===_0x90eac2(0x1fc)||_0x410af9[_0x90eac2(0x213)]===_0x90eac2(0x208)||_0x410af9[_0x90eac2(0x213)]===_0x90eac2(0x203)){writeFileSync(_0x5275db,JSON[_0x90eac2(0x200)](_0x56519c,null,0x2)+'\x0a',{'encoding':_0x90eac2(0x21a)});try{unlinkSync(_0x5f8ae0);}catch{}}else throw _0x410af9;}}catch(_0x43881c){try{unlinkSync(_0x5f8ae0);}catch{}throw _0x43881c;}}export function isNonInteractiveMode(_0x14d8e2){const _0x41159a=a104_0x5427;return!!(_0x14d8e2[_0x41159a(0x210)]||_0x14d8e2['ci']||productEnvNames('CI')['some'](_0x5d7f8a=>process.env[_0x5d7f8a]===_0x41159a(0x1e2))||process.env.CI===_0x41159a(0x1e2)||!process[_0x41159a(0x1cf)][_0x41159a(0x1f9)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x57c394=a104_0x5427;if(!process[_0x57c394(0x1ed)][_0x57c394(0x1f9)])return![];try{const _0x2c74db=process[_0x57c394(0x1ed)]['isRaw'];return process[_0x57c394(0x1ed)]['setRawMode'](!![]),process[_0x57c394(0x1ed)][_0x57c394(0x1e0)](_0x2c74db??![]),!![];}catch{return![];}}export async function createContext(_0x63b0b5){const _0x59fd08=a104_0x5427,_0x19e3dc=readRawConfig(),_0x46ebb2=buildConfig(_0x19e3dc,_0x63b0b5);await initGlobalEnvironment(_0x46ebb2);const {getUserDomain:_0x204cdd,getApiDomain:_0x4e6d9c}=await import(_0x59fd08(0x1d7)),_0x194b5d={'apiDomain':_0x4e6d9c(),'userDomain':_0x204cdd()},_0x50faaf=await buildAuth(_0x46ebb2);logger[_0x59fd08(0x20b)](process['cwd']());const _0x1e73d8=(CLI_BIN_NAME+'\x20'+redactCommandArgv(process[_0x59fd08(0x1eb)]['slice'](0x2))['join']('\x20'))[_0x59fd08(0x214)]();logger[_0x59fd08(0x1d0)](_0x1e73d8);const _0x3a73ef=isNonInteractiveMode(_0x63b0b5);return{'config':_0x46ebb2,'auth':_0x50faaf,'logger':logger,'env':_0x194b5d,'nonInteractive':_0x3a73ef};}function a104_0x5427(_0x527295,_0x1f47b6){_0x527295=_0x527295-0x1cd;const _0x11689c=a104_0x1168();let _0x542724=_0x11689c[_0x527295];return _0x542724;}export function buildConfigFromFlags(_0xba2d94){return buildConfig(readRawConfig(),_0xba2d94);}export function getLocalAppAliases(_0x4ba4e6){const _0x1a658c=a104_0x5427;return _0x4ba4e6[_0x1a658c(0x1db)]&&typeof _0x4ba4e6['apps']==='object'?_0x4ba4e6['apps']:{};}export function resolveLocalAppAliasCode(_0x1ad79f,_0x5a6919){const _0x2df7c8=a104_0x5427;if(!_0x5a6919)return undefined;const _0x203d24=getLocalAppAliases(_0x1ad79f)[_0x5a6919],_0x601665=_0x203d24?.[_0x2df7c8(0x21b)];return typeof _0x601665===_0x2df7c8(0x1ee)&&_0x601665[_0x2df7c8(0x214)]()?_0x601665[_0x2df7c8(0x214)]():undefined;}export function readAppCodeFromConfig(){const _0xc1be62=a104_0x5427,_0x34e116=readRawConfig(),_0x3f5633=_0x34e116[_0xc1be62(0x21b)]??_0x34e116[_0xc1be62(0x204)];if(typeof _0x3f5633===_0xc1be62(0x1ee)&&_0x3f5633[_0xc1be62(0x214)]())return _0x3f5633['trim']();const _0xdf7aea=resolveLocalAppAliasCode(_0x34e116,typeof _0x34e116[_0xc1be62(0x218)]==='string'?_0x34e116[_0xc1be62(0x218)]:undefined);if(_0xdf7aea)return _0xdf7aea;const _0x3f6884=normalizeEnv(String(_0x34e116['env']||_0xc1be62(0x1f5))),_0x3267d4=isDaily(_0x3f6884)?_0xc1be62(0x1d2):isDev(_0x3f6884)?_0xc1be62(0x1d8):'production',_0x1d3461=resolveCachedAppCode(typeof _0x34e116['defaultApp']==='string'?_0x34e116[_0xc1be62(0x218)]:undefined,_0x3267d4,typeof _0x34e116[_0xc1be62(0x1fe)]===_0xc1be62(0x1ee)?_0x34e116[_0xc1be62(0x1fe)]:undefined);if(_0x1d3461)return _0x1d3461;const _0x3fb6ad=Object['values'](getLocalAppAliases(_0x34e116))[_0xc1be62(0x1e4)](_0x348c40=>_0x348c40?.[_0xc1be62(0x21b)]);return typeof _0x3fb6ad?.[_0xc1be62(0x21b)]===_0xc1be62(0x1ee)&&_0x3fb6ad['appcode'][_0xc1be62(0x214)]()?_0x3fb6ad[_0xc1be62(0x21b)]['trim']():undefined;}export function readScopedConfig(_0x12e8eb){const _0x260f8f=a104_0x5427,_0x29e0f3=_0x12e8eb['global']?_0x260f8f(0x20c):_0x260f8f(0x20f);return readConfigFile(resolveWriteConfigPath(_0x29e0f3));}export function writeScopedConfig(_0x5dfd5,_0x96d89b){const _0x34e7ec=a104_0x5427,_0x5e9209=_0x96d89b[_0x34e7ec(0x20c)]?'global':_0x34e7ec(0x20f);writeConfigFile(resolveWriteConfigPath(_0x5e9209),_0x5dfd5);}export async function initGlobalEnvironment(_0x186a40){const _0x24f92a=a104_0x5427,{initEnv:_0x8b8f71}=await import('./constant/env.js');_0x8b8f71(_0x186a40[_0x24f92a(0x1dc)]);const {initDomains:_0x5dddfe}=await import(_0x24f92a(0x1d7)),_0x312751=resolveEnterpriseRoutingConfig(_0x186a40[_0x24f92a(0x1e5)][_0x24f92a(0x1e6)]),_0x2526af=['apiDomain',_0x24f92a(0x21d),_0x24f92a(0x202),'runtimeDomain',_0x24f92a(0x1d1),_0x24f92a(0x21c),_0x24f92a(0x1f6),'platformDomain',_0x24f92a(0x1fd),_0x24f92a(0x1df)],_0x262a8f=_0x312751!==undefined||_0x2526af[_0x24f92a(0x20d)](_0x36a857=>Object[_0x24f92a(0x21e)][_0x24f92a(0x1d5)][_0x24f92a(0x1f1)](_0x186a40[_0x24f92a(0x1e5)],_0x36a857));_0x5dddfe({'apiDomain':_0x312751?_0x312751['apiDomain']:_0x186a40['raw'][_0x24f92a(0x206)]||_0x186a40[_0x24f92a(0x1e5)][_0x24f92a(0x21d)]||undefined,'userDomain':_0x312751?_0x312751[_0x24f92a(0x202)]:_0x186a40[_0x24f92a(0x1e5)][_0x24f92a(0x202)]||undefined,'runtimeDomain':_0x312751?_0x312751['runtimeDomain']:_0x186a40['raw']['runtimeDomain']||undefined,'skillDomain':_0x312751?_0x312751['skillDomain']:_0x186a40[_0x24f92a(0x1e5)][_0x24f92a(0x1d1)]||_0x186a40[_0x24f92a(0x1e5)][_0x24f92a(0x21c)]||_0x186a40[_0x24f92a(0x1e5)][_0x24f92a(0x1f6)]||_0x186a40[_0x24f92a(0x1e5)][_0x24f92a(0x1d9)]||undefined,'kbServiceDomain':_0x312751?_0x312751[_0x24f92a(0x1df)]:typeof _0x186a40[_0x24f92a(0x1e5)]['kbServiceDomain']===_0x24f92a(0x1ee)&&_0x186a40[_0x24f92a(0x1e5)][_0x24f92a(0x1df)][_0x24f92a(0x214)]()?_0x186a40[_0x24f92a(0x1e5)][_0x24f92a(0x1df)]:undefined,'allowOfficialKbServiceDefault':!_0x262a8f,'region':normalizeLovrabetRegion(_0x186a40[_0x24f92a(0x1e5)][_0x24f92a(0x1ec)])});}export function getProjectConfigPath(){const _0x559a47=a104_0x5427;return resolveConfigPath(process[_0x559a47(0x1e7)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x5f1d42){const _0x318421=a104_0x5427;if(!existsSync(_0x5f1d42))return{'status':_0x318421(0x1e8)};try{const _0x41ad50=readFileSync(_0x5f1d42,{'encoding':_0x318421(0x21a)});if(!_0x41ad50?.[_0x318421(0x214)]())return{'status':_0x318421(0x217)};const _0x505870=JSON[_0x318421(0x207)](_0x41ad50);return{'status':'ok','data':_0x505870};}catch(_0x321e0a){return{'status':_0x318421(0x1f8),'message':_0x321e0a instanceof Error?_0x321e0a[_0x318421(0x215)]:String(_0x321e0a)};}}export function loadRawConfigLayers(_0x169393){const _0x4dfc19=a104_0x5427;let _0xc63d7a={},_0x4975b5={},_0x3a1652,_0x4c24fc;try{_0x3a1652=resolveConfigPath(homedir());if(_0x3a1652){const _0x533ba4=readFileSync(_0x3a1652,{'encoding':'utf8'});if(_0x533ba4)_0xc63d7a=JSON['parse'](_0x533ba4);}}catch{}try{const _0x5f01e1=_0x169393||process[_0x4dfc19(0x1e7)]();_0x4c24fc=resolveConfigPath(_0x5f01e1);if(_0x4c24fc){const _0x2a962f=readFileSync(_0x4c24fc,{'encoding':'utf8'});if(_0x2a962f)_0x4975b5=JSON[_0x4dfc19(0x207)](_0x2a962f);}}catch{}return{'globalPath':_0x3a1652,'projectPath':_0x4c24fc,'globalConfig':_0xc63d7a,'projectConfig':_0x4975b5};}function mergeRawConfigLayers(_0x215466){const _0x187067=a104_0x5427,{globalConfig:_0xa8f8a2,projectConfig:_0x2419d3}=_0x215466,_0x5284ab={..._0xa8f8a2,..._0x2419d3};delete _0x5284ab['inherit'];if('defaultApp'in _0x2419d3)_0x5284ab[_0x187067(0x218)]=_0x2419d3[_0x187067(0x218)];else _0xa8f8a2[_0x187067(0x218)]&&(_0x5284ab[_0x187067(0x218)]=_0xa8f8a2[_0x187067(0x218)]);return _0x5284ab;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x40c8aa){return mergeRawConfigLayers(loadRawConfigLayers(_0x40c8aa));}export function readRawConfigWithLayers(_0x8c3a35){const _0x55fec9=loadRawConfigLayers(_0x8c3a35);return{'config':mergeRawConfigLayers(_0x55fec9),'layers':_0x55fec9};}export function resolveDefaultAppSource(_0x4eba62){const _0x2eac48=a104_0x5427;if('defaultApp'in _0x4eba62[_0x2eac48(0x1e9)])return _0x2eac48(0x20f);if(_0x4eba62[_0x2eac48(0x20a)]['defaultApp'])return _0x2eac48(0x20c);return null;}function buildConfig(_0x3dde12,_0x471cb5){const _0x1e4433=a104_0x5427,_0x299e1e=_0x3dde12[_0x1e4433(0x218)]||undefined,_0x5def75=_0x471cb5[_0x1e4433(0x204)]||env(_0x1e4433(0x1f4))||undefined,_0x1b4491=_0x5def75||_0x299e1e||undefined,_0x1588a5=env(_0x1e4433(0x1f0))||_0x3dde12[_0x1e4433(0x1fe)]||undefined,_0x1d4943=_0x471cb5[_0x1e4433(0x1dc)]||env('ENV')||_0x3dde12[_0x1e4433(0x1dc)]||DEFAULT_CONFIG_VALUES[_0x1e4433(0x1dc)],_0x31a7b8=normalizeEnv(String(_0x1d4943)),_0x437be5=isDaily(_0x31a7b8)?'daily':isDev(_0x31a7b8)?_0x1e4433(0x1d8):_0x1e4433(0x1f5),_0x4956b5=typeof _0x471cb5[_0x1e4433(0x21b)]===_0x1e4433(0x1ee)?_0x471cb5[_0x1e4433(0x21b)]:undefined,_0x1aeea7=env(_0x1e4433(0x219)),_0x588bda=_0x5def75?undefined:_0x3dde12[_0x1e4433(0x21b)]||_0x3dde12[_0x1e4433(0x204)]||undefined,_0x160f6d=_0x5def75||(_0x588bda?undefined:_0x299e1e),_0x4cacaa=resolveLocalAppAliasCode(_0x3dde12,_0x160f6d),_0x97cb1=resolveCachedAppCode(_0x160f6d,_0x437be5,_0x1588a5),_0x4f4493=_0x4956b5||_0x1aeea7||_0x588bda||_0x4cacaa||_0x97cb1||undefined,_0x536185=_0x4956b5?'explicit':_0x1aeea7?'env':_0x588bda?_0x1e4433(0x1dd):_0x4cacaa?_0x1e4433(0x1d3):_0x97cb1?_0x1e4433(0x1da):undefined,_0xdee71a=_0x3dde12['locale']||DEFAULT_CONFIG_VALUES[_0x1e4433(0x21f)],_0x171d64=undefined,_0x18861d=_0x471cb5[_0x1e4433(0x20e)]||env(_0x1e4433(0x211))||_0x3dde12[_0x1e4433(0x20e)],_0x5d01e3=normalizeLegacyOutputFormat(_0x18861d),_0x3487be=env(_0x1e4433(0x1ef))||_0x3dde12[_0x1e4433(0x1ce)],_0x497df1=_0x3487be?Number(_0x3487be)||undefined:undefined,_0x6dd684=_0x3dde12['riskLevel'],_0x6cc665=_0x6dd684===_0x1e4433(0x1cd)||_0x6dd684===_0x1e4433(0x1d4)||_0x6dd684==='high-risk-write'?_0x6dd684:DEFAULT_CONFIG_VALUES[_0x1e4433(0x212)],_0x3b67ae=_0x3dde12['nativeToolAvailable']===!![],_0x364394=env(_0x1e4433(0x201)),_0x59f56c=_0x364394==='1'||_0x364394===_0x1e4433(0x1e2);return{'appCode':typeof _0x4f4493==='string'&&_0x4f4493[_0x1e4433(0x214)]()?_0x4f4493[_0x1e4433(0x214)]():undefined,'appCodeSource':_0x536185,'env':_0x437be5,'locale':_0xdee71a,'cookie':_0x171d64,'accessKey':_0x1588a5,'format':_0x5d01e3,'pageSize':_0x497df1,'riskLevel':_0x6cc665,'nativeToolAvailable':_0x3b67ae,'verbose':_0x59f56c,'defaultApp':_0x299e1e,'currentApp':typeof _0x1b4491===_0x1e4433(0x1ee)?_0x1b4491:undefined,'raw':_0x3dde12};}function env(_0x4c08c3){return productEnv(_0x4c08c3);}async function buildAuth(_0x2f6ef3){const _0x4af259='',_0x37beb5=!!_0x2f6ef3['accessKey'];return{'cookie':_0x4af259,'isLoggedIn':_0x37beb5,async 'getOrLogin'(){if(_0x37beb5)return _0x4af259;throw CliErrors['authRequired']();}};}function a104_0x1168(){const _0x34ef73=['VERBOSE','userDomain','EACCES','app','4749039gRGqLz','apiDomain','parse','EXDEV','6MevAPi','globalConfig','setLogPath','global','some','format','project','nonInteractive','FORMAT','riskLevel','code','trim','message','44035EprDiz','empty','defaultApp','APPCODE','utf8','appcode','skillHubDomain','host','prototype','locale','read','pageSize','stdout','setRawCommand','skillDomain','daily','local-alias','write','hasOwnProperty','object','./constant/domain.js','development','platformDomain','cache','apps','env','top-level','3094tXgnco','kbServiceDomain','setRawMode','438812sMVHKU','true','2873GUObWP','find','raw','routing','cwd','missing','projectConfig','512793brkhFI','argv','region','stdin','string','PAGE_SIZE','ACCESS_KEY','call','.tmp','online','APP','production','agentDomain','252060dpgvGi','error','isTTY','10WKqcLF','values','EPERM','kbDomain','accessKey','3712kYDCYx','stringify'];a104_0x1168=function(){return _0x34ef73;};return a104_0x1168();}
1
+ const a104_0x479f8e=a104_0x5b0b;(function(_0x674204,_0x589e1c){const _0x1243d1=a104_0x5b0b,_0x1e0431=_0x674204();while(!![]){try{const _0x16a59f=-parseInt(_0x1243d1(0xd8))/0x1*(-parseInt(_0x1243d1(0xe6))/0x2)+-parseInt(_0x1243d1(0x107))/0x3*(-parseInt(_0x1243d1(0x11e))/0x4)+-parseInt(_0x1243d1(0xce))/0x5*(-parseInt(_0x1243d1(0xd1))/0x6)+parseInt(_0x1243d1(0xf8))/0x7+parseInt(_0x1243d1(0xe9))/0x8*(parseInt(_0x1243d1(0xc7))/0x9)+-parseInt(_0x1243d1(0xdb))/0xa+parseInt(_0x1243d1(0x11c))/0xb*(-parseInt(_0x1243d1(0xcc))/0xc);if(_0x16a59f===_0x589e1c)break;else _0x1e0431['push'](_0x1e0431['shift']());}catch(_0x3a8ae2){_0x1e0431['push'](_0x1e0431['shift']());}}}(a104_0x50f8,0xa8012));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';function a104_0x50f8(){const _0x1ff1c6=['16cEwmjW','apiDomain','code','76472sbyVfd','locale','pageSize','write','kbDomain','inherit','cwd','runtimeDomain','EACCES','utf8','isRaw','some','APPCODE','missing','routing','5449976ITNKNO','./constant/env.js','global','raw','stdout','appcode','parse','app','EPERM','isTTY','find','setLogPath','defaultApp','high-risk-write','production','383763KeZxAC','explicit','skillDomain','authRequired','top-level','ENV','nativeToolAvailable','EXDEV','accessKey','skillHubDomain','globalConfig','platformDomain','stdin','nonInteractive','host','ACCESS_KEY','env','./constant/domain.js','riskLevel','read','online','2948sFAwor','kbServiceDomain','12RKJWVV','.tmp','error','198GmUPHn','development','stringify','setRawCommand','setRawMode','50772RojFvJ','newConfigFileName','46795rXLWzu','agentDomain','join','366RcRPKs','project','cache','call','userDomain','format','apps','130966LEfjmB','prototype','PAGE_SIZE','11692020WXEkaj','true','daily','slice','FORMAT','object','values','string','region','trim','local-alias'];a104_0x50f8=function(){return _0x1ff1c6;};return a104_0x50f8();}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_0x479f8e(0xcd)];function resolveConfigPath(_0x5c3e0e){for(const _0x27bddd of CONFIG_NAMES){const _0x45a855=resolve(_0x5c3e0e,_0x27bddd);if(existsSync(_0x45a855))return _0x45a855;}return undefined;}export function resolveWriteConfigPath(_0x9770f9){const _0x590a65=a104_0x479f8e,_0x4fbcf8=_0x9770f9==='project'?process[_0x590a65(0xef)]():homedir(),_0x1c768b=resolveConfigPath(_0x4fbcf8);return _0x1c768b??resolve(_0x4fbcf8,NEW_CONFIG_NAME);}export function readConfigFile(_0x367a84){const _0x25153b=a104_0x479f8e;try{if(existsSync(_0x367a84)){const _0x32b9e6=readFileSync(_0x367a84,{'encoding':_0x25153b(0xf2)});if(_0x32b9e6){const _0x3d3750=JSON[_0x25153b(0xfe)](_0x32b9e6);return migrateOnlineEnv(_0x367a84,_0x3d3750),_0x3d3750;}}}catch{}return{};}function migrateOnlineEnv(_0x31a7fa,_0x401e82){const _0x14a889=a104_0x479f8e;let _0x3df3d1=![];_0x401e82[_0x14a889(0x117)]===_0x14a889(0x11b)&&(_0x401e82['env']=_0x14a889(0x106),_0x3df3d1=!![]);if(_0x401e82[_0x14a889(0xd7)]&&typeof _0x401e82[_0x14a889(0xd7)]==='object')for(const _0x14e7f9 of Object[_0x14a889(0xe1)](_0x401e82['apps'])){_0x14e7f9&&_0x14e7f9[_0x14a889(0x117)]===_0x14a889(0x11b)&&(_0x14e7f9[_0x14a889(0x117)]=_0x14a889(0x106),_0x3df3d1=!![]);}if(_0x3df3d1)try{writeConfigFile(_0x31a7fa,_0x401e82);}catch{}}export function writeConfigFile(_0x51f626,_0x1c4c64){const _0x3fa2b9=a104_0x479f8e,_0x15f397=dirname(_0x51f626);!existsSync(_0x15f397)&&mkdirSync(_0x15f397,{'recursive':!![]});const _0x55a5e3=_0x51f626+_0x3fa2b9(0x11f);try{writeFileSync(_0x55a5e3,JSON[_0x3fa2b9(0xc9)](_0x1c4c64,null,0x2)+'\x0a',{'encoding':_0x3fa2b9(0xf2),'mode':0x180});try{renameSync(_0x55a5e3,_0x51f626);}catch(_0x1ede59){if(_0x1ede59[_0x3fa2b9(0xe8)]===_0x3fa2b9(0x100)||_0x1ede59['code']===_0x3fa2b9(0x10e)||_0x1ede59['code']===_0x3fa2b9(0xf1)){writeFileSync(_0x51f626,JSON[_0x3fa2b9(0xc9)](_0x1c4c64,null,0x2)+'\x0a',{'encoding':_0x3fa2b9(0xf2)});try{unlinkSync(_0x55a5e3);}catch{}}else throw _0x1ede59;}}catch(_0x2eb326){try{unlinkSync(_0x55a5e3);}catch{}throw _0x2eb326;}}export function isNonInteractiveMode(_0x3fe7ee){const _0x94cb55=a104_0x479f8e;return!!(_0x3fe7ee[_0x94cb55(0x114)]||_0x3fe7ee['ci']||productEnvNames('CI')['some'](_0x56829a=>process.env[_0x56829a]==='true')||process.env.CI==='true'||!process[_0x94cb55(0xfc)][_0x94cb55(0x101)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x2af499=a104_0x479f8e;if(!process[_0x2af499(0x113)][_0x2af499(0x101)])return![];try{const _0x4f5083=process[_0x2af499(0x113)][_0x2af499(0xf3)];return process[_0x2af499(0x113)][_0x2af499(0xcb)](!![]),process['stdin'][_0x2af499(0xcb)](_0x4f5083??![]),!![];}catch{return![];}}export async function createContext(_0x30cde0){const _0x492bd2=a104_0x479f8e,_0x3d0da6=readRawConfig(),_0x45ed3a=buildConfig(_0x3d0da6,_0x30cde0);await initGlobalEnvironment(_0x45ed3a);const {getUserDomain:_0x89e81,getApiDomain:_0x298938}=await import(_0x492bd2(0x118)),_0x1c0d94={'apiDomain':_0x298938(),'userDomain':_0x89e81()},_0xd5ebe7=await buildAuth(_0x45ed3a);logger[_0x492bd2(0x103)](process[_0x492bd2(0xef)]());const _0x40f54e=(CLI_BIN_NAME+'\x20'+redactCommandArgv(process['argv'][_0x492bd2(0xde)](0x2))[_0x492bd2(0xd0)]('\x20'))['trim']();logger[_0x492bd2(0xca)](_0x40f54e);const _0x3c1a73=isNonInteractiveMode(_0x30cde0);return{'config':_0x45ed3a,'auth':_0xd5ebe7,'logger':logger,'env':_0x1c0d94,'nonInteractive':_0x3c1a73};}export function buildConfigFromFlags(_0x1ad7b0){return buildConfig(readRawConfig(),_0x1ad7b0);}export function getLocalAppAliases(_0x4a0078){const _0x424685=a104_0x479f8e;return _0x4a0078['apps']&&typeof _0x4a0078[_0x424685(0xd7)]===_0x424685(0xe0)?_0x4a0078[_0x424685(0xd7)]:{};}export function resolveLocalAppAliasCode(_0x1724a4,_0x25e9df){const _0x4fbe01=a104_0x479f8e;if(!_0x25e9df)return undefined;const _0x2c0fef=getLocalAppAliases(_0x1724a4)[_0x25e9df],_0x20add5=_0x2c0fef?.['appcode'];return typeof _0x20add5===_0x4fbe01(0xe2)&&_0x20add5['trim']()?_0x20add5[_0x4fbe01(0xe4)]():undefined;}export function readAppCodeFromConfig(){const _0x51af85=a104_0x479f8e,_0x5f21b3=readRawConfig(),_0x901a1=_0x5f21b3[_0x51af85(0xfd)]??_0x5f21b3[_0x51af85(0xff)];if(typeof _0x901a1==='string'&&_0x901a1[_0x51af85(0xe4)]())return _0x901a1['trim']();const _0x175df2=resolveLocalAppAliasCode(_0x5f21b3,typeof _0x5f21b3['defaultApp']==='string'?_0x5f21b3[_0x51af85(0x104)]:undefined);if(_0x175df2)return _0x175df2;const _0x39d8e3=normalizeEnv(String(_0x5f21b3[_0x51af85(0x117)]||_0x51af85(0x106))),_0x1701cf=isDaily(_0x39d8e3)?_0x51af85(0xdd):isDev(_0x39d8e3)?_0x51af85(0xc8):_0x51af85(0x106),_0x57407e=resolveCachedAppCode(typeof _0x5f21b3[_0x51af85(0x104)]===_0x51af85(0xe2)?_0x5f21b3[_0x51af85(0x104)]:undefined,_0x1701cf,typeof _0x5f21b3[_0x51af85(0x10f)]===_0x51af85(0xe2)?_0x5f21b3['accessKey']:undefined);if(_0x57407e)return _0x57407e;const _0x6141f8=Object[_0x51af85(0xe1)](getLocalAppAliases(_0x5f21b3))[_0x51af85(0x102)](_0x5c622b=>_0x5c622b?.[_0x51af85(0xfd)]);return typeof _0x6141f8?.[_0x51af85(0xfd)]==='string'&&_0x6141f8[_0x51af85(0xfd)][_0x51af85(0xe4)]()?_0x6141f8[_0x51af85(0xfd)][_0x51af85(0xe4)]():undefined;}export function readScopedConfig(_0x52621c){const _0x4f3c9a=a104_0x479f8e,_0x3a1627=_0x52621c[_0x4f3c9a(0xfa)]?_0x4f3c9a(0xfa):_0x4f3c9a(0xd2);return readConfigFile(resolveWriteConfigPath(_0x3a1627));}export function writeScopedConfig(_0x5019bf,_0x408651){const _0x470c89=a104_0x479f8e,_0x388667=_0x408651['global']?_0x470c89(0xfa):_0x470c89(0xd2);writeConfigFile(resolveWriteConfigPath(_0x388667),_0x5019bf);}export async function initGlobalEnvironment(_0x38f345){const _0x41a720=a104_0x479f8e,{initEnv:_0x538368}=await import(_0x41a720(0xf9));_0x538368(_0x38f345[_0x41a720(0x117)]);const {initDomains:_0x20a53f}=await import(_0x41a720(0x118)),_0x4deaf6=resolveEnterpriseRoutingConfig(_0x38f345['raw'][_0x41a720(0xf7)]),_0x258f46=[_0x41a720(0xe7),'host','userDomain',_0x41a720(0xf0),_0x41a720(0x109),_0x41a720(0x110),_0x41a720(0xcf),_0x41a720(0x112),_0x41a720(0xed),_0x41a720(0x11d)],_0x16a954=_0x4deaf6!==undefined||_0x258f46[_0x41a720(0xf4)](_0x2d0334=>Object[_0x41a720(0xd9)]['hasOwnProperty'][_0x41a720(0xd4)](_0x38f345[_0x41a720(0xfb)],_0x2d0334));_0x20a53f({'apiDomain':_0x4deaf6?_0x4deaf6[_0x41a720(0xe7)]:_0x38f345[_0x41a720(0xfb)][_0x41a720(0xe7)]||_0x38f345[_0x41a720(0xfb)][_0x41a720(0x115)]||undefined,'userDomain':_0x4deaf6?_0x4deaf6['userDomain']:_0x38f345[_0x41a720(0xfb)][_0x41a720(0xd5)]||undefined,'runtimeDomain':_0x4deaf6?_0x4deaf6[_0x41a720(0xf0)]:_0x38f345['raw'][_0x41a720(0xf0)]||undefined,'skillDomain':_0x4deaf6?_0x4deaf6['skillDomain']:_0x38f345[_0x41a720(0xfb)][_0x41a720(0x109)]||_0x38f345['raw']['skillHubDomain']||_0x38f345[_0x41a720(0xfb)][_0x41a720(0xcf)]||_0x38f345[_0x41a720(0xfb)][_0x41a720(0x112)]||undefined,'kbServiceDomain':_0x4deaf6?_0x4deaf6['kbServiceDomain']:typeof _0x38f345[_0x41a720(0xfb)][_0x41a720(0x11d)]==='string'&&_0x38f345[_0x41a720(0xfb)][_0x41a720(0x11d)][_0x41a720(0xe4)]()?_0x38f345[_0x41a720(0xfb)]['kbServiceDomain']:undefined,'allowOfficialKbServiceDefault':!_0x16a954,'region':normalizeLovrabetRegion(_0x38f345[_0x41a720(0xfb)][_0x41a720(0xe3)])});}export function getProjectConfigPath(){const _0x50fcef=a104_0x479f8e;return resolveConfigPath(process[_0x50fcef(0xef)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function inspectCliConfigJsonFile(_0x414667){const _0x579be9=a104_0x479f8e;if(!existsSync(_0x414667))return{'status':_0x579be9(0xf6)};try{const _0x4bbb1b=readFileSync(_0x414667,{'encoding':_0x579be9(0xf2)});if(!_0x4bbb1b?.['trim']())return{'status':'empty'};const _0x26648a=JSON[_0x579be9(0xfe)](_0x4bbb1b);return{'status':'ok','data':_0x26648a};}catch(_0x518467){return{'status':_0x579be9(0x120),'message':_0x518467 instanceof Error?_0x518467['message']:String(_0x518467)};}}export function loadRawConfigLayers(_0x528aec){const _0x537f5a=a104_0x479f8e;let _0x10f69d={},_0x3dc507={},_0xd70949,_0x1fef49;try{_0xd70949=resolveConfigPath(homedir());if(_0xd70949){const _0x195ed1=readFileSync(_0xd70949,{'encoding':_0x537f5a(0xf2)});if(_0x195ed1)_0x10f69d=JSON[_0x537f5a(0xfe)](_0x195ed1);}}catch{}try{const _0x5cdbfc=_0x528aec||process[_0x537f5a(0xef)]();_0x1fef49=resolveConfigPath(_0x5cdbfc);if(_0x1fef49){const _0x26e0fc=readFileSync(_0x1fef49,{'encoding':_0x537f5a(0xf2)});if(_0x26e0fc)_0x3dc507=JSON[_0x537f5a(0xfe)](_0x26e0fc);}}catch{}return{'globalPath':_0xd70949,'projectPath':_0x1fef49,'globalConfig':_0x10f69d,'projectConfig':_0x3dc507};}function mergeRawConfigLayers(_0x23f41c){const _0x2290fc=a104_0x479f8e,{globalConfig:_0x32602d,projectConfig:_0x53b621}=_0x23f41c,_0x30ae3f={..._0x32602d,..._0x53b621};delete _0x30ae3f[_0x2290fc(0xee)];if(_0x2290fc(0x104)in _0x53b621)_0x30ae3f[_0x2290fc(0x104)]=_0x53b621[_0x2290fc(0x104)];else _0x32602d[_0x2290fc(0x104)]&&(_0x30ae3f[_0x2290fc(0x104)]=_0x32602d['defaultApp']);return _0x30ae3f;}export function isInProject(){return!!getProjectConfigPath();}export function readRawConfig(_0x5a023f){return mergeRawConfigLayers(loadRawConfigLayers(_0x5a023f));}export function readRawConfigWithLayers(_0xbcf703){const _0x174a43=loadRawConfigLayers(_0xbcf703);return{'config':mergeRawConfigLayers(_0x174a43),'layers':_0x174a43};}export function resolveDefaultAppSource(_0xda2cf4){const _0x4636b3=a104_0x479f8e;if(_0x4636b3(0x104)in _0xda2cf4['projectConfig'])return'project';if(_0xda2cf4[_0x4636b3(0x111)][_0x4636b3(0x104)])return'global';return null;}function buildConfig(_0x51945f,_0xc64353){const _0x489547=a104_0x479f8e,_0x19c8db=_0x51945f['defaultApp']||undefined,_0x5820e7=_0xc64353[_0x489547(0xff)]||env('APP')||undefined,_0x5d0bbe=_0x5820e7||_0x19c8db||undefined,_0x557036=env(_0x489547(0x116))||_0x51945f[_0x489547(0x10f)]||undefined,_0x1cec40=_0xc64353[_0x489547(0x117)]||env(_0x489547(0x10c))||_0x51945f[_0x489547(0x117)]||DEFAULT_CONFIG_VALUES[_0x489547(0x117)],_0x4e4583=normalizeEnv(String(_0x1cec40)),_0x133655=isDaily(_0x4e4583)?_0x489547(0xdd):isDev(_0x4e4583)?'development':'production',_0x290634=typeof _0xc64353[_0x489547(0xfd)]===_0x489547(0xe2)?_0xc64353[_0x489547(0xfd)]:undefined,_0x1c24db=env(_0x489547(0xf5)),_0x47b73c=_0x5820e7?undefined:_0x51945f[_0x489547(0xfd)]||_0x51945f[_0x489547(0xff)]||undefined,_0x36ff62=_0x5820e7||(_0x47b73c?undefined:_0x19c8db),_0x323707=resolveLocalAppAliasCode(_0x51945f,_0x36ff62),_0x15c98e=resolveCachedAppCode(_0x36ff62,_0x133655,_0x557036),_0x5395a8=_0x290634||_0x1c24db||_0x47b73c||_0x323707||_0x15c98e||undefined,_0x51e88d=_0x290634?_0x489547(0x108):_0x1c24db?'env':_0x47b73c?_0x489547(0x10b):_0x323707?_0x489547(0xe5):_0x15c98e?_0x489547(0xd3):undefined,_0x5a6162=_0x51945f[_0x489547(0xea)]||DEFAULT_CONFIG_VALUES[_0x489547(0xea)],_0x449c0c=undefined,_0x17fd64=_0xc64353[_0x489547(0xd6)]||env(_0x489547(0xdf))||_0x51945f[_0x489547(0xd6)],_0x3bb5ee=normalizeLegacyOutputFormat(_0x17fd64),_0x3be43e=env(_0x489547(0xda))||_0x51945f[_0x489547(0xeb)],_0x25afe4=_0x3be43e?Number(_0x3be43e)||undefined:undefined,_0x2a1dd1=_0x51945f[_0x489547(0x119)],_0x4c313b=_0x2a1dd1===_0x489547(0x11a)||_0x2a1dd1===_0x489547(0xec)||_0x2a1dd1===_0x489547(0x105)?_0x2a1dd1:DEFAULT_CONFIG_VALUES['riskLevel'],_0x301a5b=_0x51945f[_0x489547(0x10d)]===!![],_0x271931=env('VERBOSE'),_0x388802=_0x271931==='1'||_0x271931===_0x489547(0xdc);return{'appCode':typeof _0x5395a8===_0x489547(0xe2)&&_0x5395a8['trim']()?_0x5395a8['trim']():undefined,'appCodeSource':_0x51e88d,'env':_0x133655,'locale':_0x5a6162,'cookie':_0x449c0c,'accessKey':_0x557036,'format':_0x3bb5ee,'pageSize':_0x25afe4,'riskLevel':_0x4c313b,'nativeToolAvailable':_0x301a5b,'verbose':_0x388802,'defaultApp':_0x19c8db,'currentApp':typeof _0x5d0bbe===_0x489547(0xe2)?_0x5d0bbe:undefined,'raw':_0x51945f};}function a104_0x5b0b(_0x5a8745,_0x21d008){_0x5a8745=_0x5a8745-0xc7;const _0x50f898=a104_0x50f8();let _0x5b0b7e=_0x50f898[_0x5a8745];return _0x5b0b7e;}function env(_0x4be119){return productEnv(_0x4be119);}async function buildAuth(_0x6d0b4f){const _0x423737=a104_0x479f8e,_0x468d3e='',_0x4ca891=!!_0x6d0b4f[_0x423737(0x10f)];return{'cookie':_0x468d3e,'isLoggedIn':_0x4ca891,async 'getOrLogin'(){const _0xf86736=_0x423737;if(_0x4ca891)return _0x468d3e;throw CliErrors[_0xf86736(0x10a)]();}};}