@lovrabet/lovrabet-cli 2.3.3 → 2.3.4-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/README.md +11 -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/index.js +1 -1
  29. package/lib/commands/dataset/detail.js +1 -1
  30. package/lib/commands/dataset/index.js +1 -1
  31. package/lib/commands/dataset/list.js +1 -1
  32. package/lib/commands/dataset/sdk-doc.js +1 -1
  33. package/lib/commands/doctor.js +1 -1
  34. package/lib/commands/file/index.js +1 -1
  35. package/lib/commands/init.js +1 -1
  36. package/lib/commands/kb/index.js +1 -1
  37. package/lib/commands/logs/index.js +1 -1
  38. package/lib/commands/notification/config-list.js +1 -1
  39. package/lib/commands/notification/index.js +1 -1
  40. package/lib/commands/notification/shared.js +1 -1
  41. package/lib/commands/ocr/index.js +1 -1
  42. package/lib/commands/permit/dataset-get.js +1 -1
  43. package/lib/commands/permit/dataset-set.js +1 -1
  44. package/lib/commands/permit/index.js +1 -1
  45. package/lib/commands/permit/page-get.js +1 -1
  46. package/lib/commands/permit/page-set.js +1 -1
  47. package/lib/commands/permit/role-menus-set.js +1 -1
  48. package/lib/commands/permit/role-menus.js +1 -1
  49. package/lib/commands/permit/shared.js +1 -1
  50. package/lib/commands/personal-bff/index.js +1 -1
  51. package/lib/commands/registry.js +1 -1
  52. package/lib/commands/role/create.js +1 -1
  53. package/lib/commands/role/delete.js +1 -1
  54. package/lib/commands/role/detail.js +1 -1
  55. package/lib/commands/role/index.js +1 -1
  56. package/lib/commands/role/list.js +1 -1
  57. package/lib/commands/role/shared.js +1 -1
  58. package/lib/commands/role/update.js +1 -1
  59. package/lib/commands/role/user-add.js +1 -1
  60. package/lib/commands/role/user-remove.js +1 -1
  61. package/lib/commands/schedule/index.js +1 -1
  62. package/lib/commands/schema.js +1 -1
  63. package/lib/commands/service/dynamic.js +1 -1
  64. package/lib/commands/service/function-name-adapter.js +1 -1
  65. package/lib/commands/service/index.js +1 -1
  66. package/lib/commands/service/registry.js +1 -1
  67. package/lib/commands/skill/commands/create.js +1 -1
  68. package/lib/commands/skill/commands/diagram.js +1 -1
  69. package/lib/commands/skill/commands/install.js +1 -1
  70. package/lib/commands/skill/commands/list.js +1 -1
  71. package/lib/commands/skill/commands/push.js +1 -1
  72. package/lib/commands/skill/commands/validate.js +1 -1
  73. package/lib/commands/skill/diagram.js +1 -1
  74. package/lib/commands/skill/flags.js +1 -1
  75. package/lib/commands/skill/index.js +1 -1
  76. package/lib/commands/skill/manifest-helpers.js +1 -1
  77. package/lib/commands/skill/push-execute.js +1 -1
  78. package/lib/commands/skill/push-flow-helpers.js +1 -1
  79. package/lib/commands/skill/push-retarget.js +1 -1
  80. package/lib/commands/skill/scopes.js +1 -1
  81. package/lib/commands/skill/summary.js +1 -1
  82. package/lib/commands/skill/templates.js +1 -1
  83. package/lib/commands/skill/validate.js +1 -1
  84. package/lib/commands/sql/detail.js +1 -1
  85. package/lib/commands/sql/exec.js +1 -1
  86. package/lib/commands/sql/index.js +1 -1
  87. package/lib/commands/update.js +1 -1
  88. package/lib/commands/user-account/bind.js +1 -1
  89. package/lib/commands/user-account/index.js +1 -1
  90. package/lib/commands/workspace/index.js +1 -1
  91. package/lib/config/domain-config.js +1 -1
  92. package/lib/config/schema.js +1 -1
  93. package/lib/constant/app.js +1 -1
  94. package/lib/constant/auth-mode.js +1 -1
  95. package/lib/constant/cli.js +1 -1
  96. package/lib/constant/defaults.js +1 -1
  97. package/lib/constant/distribution.js +1 -1
  98. package/lib/constant/domain.js +1 -1
  99. package/lib/constant/env.js +1 -1
  100. package/lib/constant/output.js +1 -1
  101. package/lib/constant/product.js +1 -1
  102. package/lib/constant/region.js +1 -1
  103. package/lib/constant/risk.js +1 -1
  104. package/lib/constant/url.js +1 -1
  105. package/lib/context.js +1 -1
  106. package/lib/core/api-client.js +1 -1
  107. package/lib/core/db-resolver.js +1 -1
  108. package/lib/core/kb-search-client.d.ts +7 -1
  109. package/lib/core/kb-search-client.js +1 -1
  110. package/lib/core/sdk-client.js +1 -1
  111. package/lib/errors.js +1 -1
  112. package/lib/framework/build-all-flags.js +1 -1
  113. package/lib/framework/dryrun.js +1 -1
  114. package/lib/framework/flags.js +1 -1
  115. package/lib/framework/help.js +1 -1
  116. package/lib/framework/index.js +1 -1
  117. package/lib/framework/output.js +1 -1
  118. package/lib/framework/preparse.js +1 -1
  119. package/lib/framework/rate-limit.js +1 -1
  120. package/lib/framework/raw-flags.js +1 -1
  121. package/lib/framework/response.js +1 -1
  122. package/lib/framework/runner-confirmation.js +1 -1
  123. package/lib/framework/runner-error.js +1 -1
  124. package/lib/framework/runner.js +1 -1
  125. package/lib/framework/schema-export.js +1 -1
  126. package/lib/framework/service-order.js +1 -1
  127. package/lib/framework/types.js +1 -1
  128. package/lib/generated/build-info.d.ts +4 -4
  129. package/lib/generated/build-info.js +1 -1
  130. package/lib/generated/official-routing.js +1 -1
  131. package/lib/generated/routing-contract.js +1 -1
  132. package/lib/help.js +1 -1
  133. package/lib/postinstall.js +1 -1
  134. package/lib/runtime/confirmation.js +1 -1
  135. package/lib/runtime/event.js +1 -1
  136. package/lib/runtime/index.js +1 -1
  137. package/lib/runtime/queue.js +1 -1
  138. package/lib/runtime/resolve.js +1 -1
  139. package/lib/skills/builtin-skill.js +1 -1
  140. package/lib/skills/npx-skills-add.js +1 -1
  141. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  142. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  143. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  144. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  145. package/lib/skills/runtime-skill-sync/links.js +1 -1
  146. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  147. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  148. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  149. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  150. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  151. package/lib/skills/runtime-skill-sync/push.js +1 -1
  152. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  153. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  154. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  155. package/lib/skills/runtime-skill-sync.js +1 -1
  156. package/lib/skills/skill-presence.js +1 -1
  157. package/lib/utils/access-key-redaction.js +1 -1
  158. package/lib/utils/apply-jq-filter.js +1 -1
  159. package/lib/utils/cli-version-check.js +1 -1
  160. package/lib/utils/cli-version-policy.js +1 -1
  161. package/lib/utils/logger.js +1 -1
  162. package/lib/utils/lossless-json.js +1 -1
  163. package/lib/utils/params.js +1 -1
  164. package/lib/utils/positive-safe-integer.js +1 -1
  165. package/lib/utils/redaction.js +1 -1
  166. package/lib/utils/update-notice.js +1 -1
  167. package/lib/utils/version.js +1 -1
  168. package/lib/utils/write-cli-side-channel.js +1 -1
  169. package/package.json +1 -1
  170. package/skills/lovrabet/SKILL.md +4 -2
  171. package/skills/lovrabet/references/lovrabet-config-commands.md +1 -1
  172. package/skills/lovrabet/references/lovrabet-config.md +2 -2
  173. package/skills/lovrabet/references/lovrabet-doctor.md +1 -1
  174. package/skills/lovrabet/references/lovrabet-kb-workflow.md +16 -6
  175. package/skills/lovrabet/references/lovrabet-service-tree.md +1 -1
  176. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- const a82_0x4b2caa=a82_0x505c;(function(_0x36bac4,_0x1d76d5){const _0x11742a=a82_0x505c,_0x42f30c=_0x36bac4();while(!![]){try{const _0x392eb0=parseInt(_0x11742a(0x95))/0x1+parseInt(_0x11742a(0x97))/0x2*(-parseInt(_0x11742a(0x90))/0x3)+-parseInt(_0x11742a(0x9f))/0x4+parseInt(_0x11742a(0x91))/0x5*(parseInt(_0x11742a(0xa0))/0x6)+parseInt(_0x11742a(0x9a))/0x7+parseInt(_0x11742a(0x96))/0x8+parseInt(_0x11742a(0x8f))/0x9*(parseInt(_0x11742a(0x93))/0xa);if(_0x392eb0===_0x1d76d5)break;else _0x42f30c['push'](_0x42f30c['shift']());}catch(_0x430fd1){_0x42f30c['push'](_0x42f30c['shift']());}}}(a82_0x5dcd,0x5e04e));import{getSqlQueryInfo}from'../../core/api-client.js';function a82_0x5dcd(){const _0x1f13d3=['sqlContent','verbose','bool','dbId','2024820ZedFWg','492630EEKHZY','930483dOqaLs','142320FRJyRP','45errjYL','detail','10NupjaQ','appCode','30711qJqlER','3458464mOVWNx','20Nzlvei','sqlName','sqlcode','422492MfGhyu'];a82_0x5dcd=function(){return _0x1f13d3;};return a82_0x5dcd();}import{getDbName}from'../../core/db-resolver.js';function a82_0x505c(_0x11dcb8,_0x13d00a){_0x11dcb8=_0x11dcb8-0x8f;const _0x5dcdaf=a82_0x5dcd();let _0x505c61=_0x5dcdaf[_0x11dcb8];return _0x505c61;}import{SQLCODE_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';export const sqlDetail={'service':'sql','command':a82_0x4b2caa(0x92),'description':'Get\x20custom\x20SQL\x20query\x20details\x20by\x20sqlCode','risk':'read','flags':[SQLCODE_FLAG,VERBOSE_FLAG],async 'execute'(_0x5a2387){const _0x35645f=a82_0x4b2caa,_0x3c954b=await getSqlQueryInfo(_0x5a2387[_0x35645f(0x94)],_0x5a2387['str'](_0x35645f(0x99))),_0x96ddb5=_0x5a2387[_0x35645f(0x9d)](_0x35645f(0x9c));if(_0x96ddb5)return{'ok':!![],'data':_0x3c954b};const _0x83bd43=_0x3c954b[_0x35645f(0x9e)]?await getDbName(_0x5a2387[_0x35645f(0x94)],_0x3c954b[_0x35645f(0x9e)]):undefined;return{'ok':!![],'data':{'sqlCode':_0x3c954b['sqlCode'],'sqlName':_0x3c954b[_0x35645f(0x98)],'db':_0x83bd43?_0x83bd43+'\x20('+_0x3c954b[_0x35645f(0x9e)]+')':_0x3c954b[_0x35645f(0x9e)]??'','sqlContent':_0x3c954b[_0x35645f(0x9b)]??''}};}};
1
+ const a82_0x3b9ed3=a82_0x5bcc;function a82_0x5bcc(_0x1aa8a2,_0x33e9a2){_0x1aa8a2=_0x1aa8a2-0xbc;const _0x310219=a82_0x3102();let _0x5bccd4=_0x310219[_0x1aa8a2];return _0x5bccd4;}(function(_0xfef55c,_0x576412){const _0x48e117=a82_0x5bcc,_0x332b11=_0xfef55c();while(!![]){try{const _0x35d208=parseInt(_0x48e117(0xcc))/0x1+parseInt(_0x48e117(0xcb))/0x2+-parseInt(_0x48e117(0xc1))/0x3*(parseInt(_0x48e117(0xc5))/0x4)+parseInt(_0x48e117(0xc2))/0x5+parseInt(_0x48e117(0xca))/0x6*(parseInt(_0x48e117(0xbc))/0x7)+-parseInt(_0x48e117(0xc7))/0x8+parseInt(_0x48e117(0xc4))/0x9;if(_0x35d208===_0x576412)break;else _0x332b11['push'](_0x332b11['shift']());}catch(_0xd19350){_0x332b11['push'](_0x332b11['shift']());}}}(a82_0x3102,0x993ba));import{getSqlQueryInfo}from'../../core/api-client.js';import{getDbName}from'../../core/db-resolver.js';import{SQLCODE_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';export const sqlDetail={'service':'sql','command':'detail','description':'Get\x20custom\x20SQL\x20query\x20details\x20by\x20sqlCode','risk':a82_0x3b9ed3(0xc3),'flags':[SQLCODE_FLAG,VERBOSE_FLAG],async 'execute'(_0x55d188){const _0x497d8c=a82_0x3b9ed3,_0x40d774=await getSqlQueryInfo(_0x55d188['appCode'],_0x55d188[_0x497d8c(0xbe)](_0x497d8c(0xc0))),_0x50d41c=_0x55d188[_0x497d8c(0xc9)](_0x497d8c(0xcd));if(_0x50d41c)return{'ok':!![],'data':_0x40d774};const _0x1ecc48=_0x40d774[_0x497d8c(0xbd)]?await getDbName(_0x55d188['appCode'],_0x40d774[_0x497d8c(0xbd)]):undefined;return{'ok':!![],'data':{'sqlCode':_0x40d774[_0x497d8c(0xbf)],'sqlName':_0x40d774[_0x497d8c(0xc8)],'db':_0x1ecc48?_0x1ecc48+'\x20('+_0x40d774['dbId']+')':_0x40d774[_0x497d8c(0xbd)]??'','sqlContent':_0x40d774[_0x497d8c(0xc6)]??''}};}};function a82_0x3102(){const _0x5a0c78=['182331DDuhuI','verbose','3500ECxTSY','dbId','str','sqlCode','sqlcode','335679iZbKCn','771510JkAczW','read','5151978ferJyV','12xPRpxX','sqlContent','5783416qmxSXv','sqlName','bool','5946vRVnBz','563346nXNBHi'];a82_0x3102=function(){return _0x5a0c78;};return a82_0x3102();}
@@ -1 +1 @@
1
- const a83_0x3290a7=a83_0xc228;(function(_0xde89be,_0x463ad3){const _0x2f8b16=a83_0xc228,_0x45a79e=_0xde89be();while(!![]){try{const _0x15c4dd=parseInt(_0x2f8b16(0x15d))/0x1*(parseInt(_0x2f8b16(0x15a))/0x2)+parseInt(_0x2f8b16(0x14c))/0x3+parseInt(_0x2f8b16(0x149))/0x4+-parseInt(_0x2f8b16(0x14d))/0x5+-parseInt(_0x2f8b16(0x14f))/0x6*(parseInt(_0x2f8b16(0x15b))/0x7)+-parseInt(_0x2f8b16(0x153))/0x8+parseInt(_0x2f8b16(0x14e))/0x9;if(_0x15c4dd===_0x463ad3)break;else _0x45a79e['push'](_0x45a79e['shift']());}catch(_0x58eab6){_0x45a79e['push'](_0x45a79e['shift']());}}}(a83_0x3d68,0x482df));import{executeSdkSql}from'../../core/sdk-client.js';function a83_0xc228(_0x2c4b3c,_0x324e52){_0x2c4b3c=_0x2c4b3c-0x148;const _0x3d6822=a83_0x3d68();let _0xc2283b=_0x3d6822[_0x2c4b3c];return _0xc2283b;}import{SQLCODE_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';import{parseJsonParams}from'../../utils/params.js';export const sqlExec={'service':a83_0x3290a7(0x154),'command':a83_0x3290a7(0x157),'description':'Execute\x20a\x20custom\x20SQL\x20query\x20by\x20sqlCode','risk':'read','flags':[SQLCODE_FLAG,PARAMS_FLAG],async 'execute'(_0x3778d5){const _0x9bf640=a83_0x3290a7,_0x49114e=parseJsonParams(_0x3778d5[_0x9bf640(0x159)](_0x9bf640(0x150))),_0x431df9=Date[_0x9bf640(0x152)](),_0x16f1f4=await executeSdkSql(_0x3778d5[_0x9bf640(0x159)](_0x9bf640(0x14a)),_0x49114e),_0x55a748=Date[_0x9bf640(0x152)]()-_0x431df9,_0x4752b0=_0x16f1f4?.['execResult']??_0x16f1f4,_0x2268a3=_0x16f1f4?.[_0x9bf640(0x158)]??!![];if(!_0x2268a3)return{'ok':![],'data':{'error':_0x16f1f4?.[_0x9bf640(0x156)]||_0x9bf640(0x15c),'elapsed':_0x55a748},'message':'SQL\x20execution\x20failed'};const _0x290962=Array[_0x9bf640(0x155)](_0x4752b0)?_0x4752b0:[];return{'ok':!![],'data':{'rows':_0x290962,'rowCount':_0x290962[_0x9bf640(0x148)],'elapsed':_0x55a748},'message':_0x9bf640(0x14b)+_0x290962[_0x9bf640(0x148)]+_0x9bf640(0x151)+_0x55a748+'ms'};}};function a83_0x3d68(){const _0x5ea470=['params','\x20row(s)\x20in\x20','now','4479760LphLCe','sql','isArray','execError','exec','execSuccess','str','68ohNQzA','2856609aimpCk','SQL\x20execution\x20failed','4603jLNnBn','length','1430616NRaRJH','sqlcode','Returned\x20','1203963qhVfzq','1985790AeEfHW','6708465lfaHcb','6rbzksU'];a83_0x3d68=function(){return _0x5ea470;};return a83_0x3d68();}
1
+ const a83_0x42f370=a83_0x1220;function a83_0x1220(_0x57ec5c,_0x51cbd5){_0x57ec5c=_0x57ec5c-0xfd;const _0x125126=a83_0x1251();let _0x1220f2=_0x125126[_0x57ec5c];return _0x1220f2;}(function(_0x53d0e2,_0xcba45b){const _0x4a9f5e=a83_0x1220,_0x45cfb9=_0x53d0e2();while(!![]){try{const _0x33c330=-parseInt(_0x4a9f5e(0x113))/0x1+-parseInt(_0x4a9f5e(0x108))/0x2*(parseInt(_0x4a9f5e(0x10c))/0x3)+parseInt(_0x4a9f5e(0x10f))/0x4*(parseInt(_0x4a9f5e(0x102))/0x5)+-parseInt(_0x4a9f5e(0x111))/0x6+parseInt(_0x4a9f5e(0x10b))/0x7*(parseInt(_0x4a9f5e(0x10d))/0x8)+parseInt(_0x4a9f5e(0x107))/0x9+parseInt(_0x4a9f5e(0x104))/0xa;if(_0x33c330===_0xcba45b)break;else _0x45cfb9['push'](_0x45cfb9['shift']());}catch(_0xa43a9){_0x45cfb9['push'](_0x45cfb9['shift']());}}}(a83_0x1251,0x60135));import{executeSdkSql}from'../../core/sdk-client.js';import{SQLCODE_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';function a83_0x1251(){const _0x5d664f=['415775xvfUrW','exec','5709810hcPPHL','length','params','1895283jvPQjq','83716TjrgGo','str','Returned\x20','17731jZWirJ','51slKsWj','2184Rftjkx','read','28qUtQrQ','sqlcode','3150162PZAHDm','now','425024kqYAAk','execSuccess','\x20row(s)\x20in\x20','execResult','SQL\x20execution\x20failed','sql','Execute\x20a\x20custom\x20SQL\x20query\x20by\x20sqlCode'];a83_0x1251=function(){return _0x5d664f;};return a83_0x1251();}import{parseJsonParams}from'../../utils/params.js';export const sqlExec={'service':a83_0x42f370(0x100),'command':a83_0x42f370(0x103),'description':a83_0x42f370(0x101),'risk':a83_0x42f370(0x10e),'flags':[SQLCODE_FLAG,PARAMS_FLAG],async 'execute'(_0x50d354){const _0x2f4653=a83_0x42f370,_0x6f4b0f=parseJsonParams(_0x50d354[_0x2f4653(0x109)](_0x2f4653(0x106))),_0x53c517=Date[_0x2f4653(0x112)](),_0x3b4e2c=await executeSdkSql(_0x50d354[_0x2f4653(0x109)](_0x2f4653(0x110)),_0x6f4b0f),_0xc2508d=Date['now']()-_0x53c517,_0x26e482=_0x3b4e2c?.[_0x2f4653(0xfe)]??_0x3b4e2c,_0x6864c2=_0x3b4e2c?.[_0x2f4653(0x114)]??!![];if(!_0x6864c2)return{'ok':![],'data':{'error':_0x3b4e2c?.['execError']||_0x2f4653(0xff),'elapsed':_0xc2508d},'message':_0x2f4653(0xff)};const _0x385699=Array['isArray'](_0x26e482)?_0x26e482:[];return{'ok':!![],'data':{'rows':_0x385699,'rowCount':_0x385699['length'],'elapsed':_0xc2508d},'message':_0x2f4653(0x10a)+_0x385699[_0x2f4653(0x105)]+_0x2f4653(0xfd)+_0xc2508d+'ms'};}};
@@ -1 +1 @@
1
- function a84_0x4460(){const _0x3a65aa=['279DYzqBb','87261vBalSP','28488ZRzLju','291504FNtLIp','1984565iPXmsv','1061176hEPfow','259bhhAgt','1301588AaYuDR','1242135NcNKFo'];a84_0x4460=function(){return _0x3a65aa;};return a84_0x4460();}function a84_0x3b3a(_0x2c95e9,_0x534378){_0x2c95e9=_0x2c95e9-0xc3;const _0x446070=a84_0x4460();let _0x3b3ac2=_0x446070[_0x2c95e9];return _0x3b3ac2;}(function(_0x30f55b,_0x11fe66){const _0x42f440=a84_0x3b3a,_0x2826ee=_0x30f55b();while(!![]){try{const _0x49f340=parseInt(_0x42f440(0xc3))/0x1+-parseInt(_0x42f440(0xc7))/0x2+parseInt(_0x42f440(0xca))/0x3+-parseInt(_0x42f440(0xc9))/0x4+-parseInt(_0x42f440(0xc6))/0x5+parseInt(_0x42f440(0xc4))/0x6*(parseInt(_0x42f440(0xc8))/0x7)+parseInt(_0x42f440(0xc5))/0x8*(parseInt(_0x42f440(0xcb))/0x9);if(_0x49f340===_0x11fe66)break;else _0x2826ee['push'](_0x2826ee['shift']());}catch(_0x26a89b){_0x2826ee['push'](_0x2826ee['shift']());}}}(a84_0x4460,0x872be));import{sqlDetail}from'../../commands/sql/detail.js';import{sqlExec}from'../../commands/sql/exec.js';export const sqlDefinitions=[sqlDetail,sqlExec];
1
+ (function(_0x3a8aee,_0xc2e478){const _0x372f71=a84_0x2bd8,_0x1da9bb=_0x3a8aee();while(!![]){try{const _0x559339=-parseInt(_0x372f71(0x16b))/0x1+parseInt(_0x372f71(0x171))/0x2+-parseInt(_0x372f71(0x172))/0x3+parseInt(_0x372f71(0x16f))/0x4*(-parseInt(_0x372f71(0x16d))/0x5)+-parseInt(_0x372f71(0x170))/0x6*(parseInt(_0x372f71(0x16e))/0x7)+-parseInt(_0x372f71(0x173))/0x8+parseInt(_0x372f71(0x16c))/0x9*(parseInt(_0x372f71(0x174))/0xa);if(_0x559339===_0xc2e478)break;else _0x1da9bb['push'](_0x1da9bb['shift']());}catch(_0x1f1b2b){_0x1da9bb['push'](_0x1da9bb['shift']());}}}(a84_0x688d,0xca275));import{sqlDetail}from'../../commands/sql/detail.js';import{sqlExec}from'../../commands/sql/exec.js';function a84_0x2bd8(_0x788c0c,_0x10acd0){_0x788c0c=_0x788c0c-0x16b;const _0x688d99=a84_0x688d();let _0x2bd8f6=_0x688d99[_0x788c0c];return _0x2bd8f6;}export const sqlDefinitions=[sqlDetail,sqlExec];function a84_0x688d(){const _0x12d32e=['676RkiFPy','32778NAcXuR','1094226LtindT','1881963AHBtJx','8183568zTdUOq','10pplLXV','1545199NwKohY','53689644jRYrCU','46005OqRfsf','1197HztWdh'];a84_0x688d=function(){return _0x12d32e;};return a84_0x688d();}
@@ -1 +1 @@
1
- const a85_0x14a5fb=a85_0x4a53;(function(_0x5903ce,_0x50f9d2){const _0x450be4=a85_0x4a53,_0x3d8b6b=_0x5903ce();while(!![]){try{const _0x1f696c=parseInt(_0x450be4(0x15d))/0x1+-parseInt(_0x450be4(0x15f))/0x2+-parseInt(_0x450be4(0x190))/0x3*(parseInt(_0x450be4(0x167))/0x4)+parseInt(_0x450be4(0x148))/0x5+-parseInt(_0x450be4(0x154))/0x6+-parseInt(_0x450be4(0x18a))/0x7+parseInt(_0x450be4(0x153))/0x8*(parseInt(_0x450be4(0x14a))/0x9);if(_0x1f696c===_0x50f9d2)break;else _0x3d8b6b['push'](_0x3d8b6b['shift']());}catch(_0x914426){_0x3d8b6b['push'](_0x3d8b6b['shift']());}}}(a85_0x4bd2,0xa674a));import{fileURLToPath}from'node:url';import{basename,dirname,relative,win32}from'node:path';import{execaSync}from'execa';import a85_0x10eb0c from'semver';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';function a85_0x4bd2(){const _0x49ba49=['/-/package/','Use\x20a\x20full\x20semver\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','Version\x20comparison\x20failed:\x20',',\x20found\x20','dirname','\x20CLI\x20from\x20npm','reason','object','169004gOYqbI',',\x20then\x20verify\x20with:\x20','1045826RLsLoT','toLowerCase','version','cwd','length','state','source','test','76cOMHvL','includes','exitCode','\x20is\x20current.','nonInteractive','node_modules','write','\x20version\x20from\x20npm.','Already\x20on\x20requested\x20version\x20(v','Checking\x20npm\x20dist-tags...','repairCommand','\x20\x20CLI\x20Built-in\x20Skill\x20','join','timeout','filter','basename','map','unknown','inherit','npm','apiError','bool','Invalid\x20version:\x20','error',',\x20state\x20','Update\x20the\x20','log','Updated\x20to\x20v','Current\x20version:\x20','find','platform','Install\x20a\x20specific\x20CLI\x20version','fromEntries','Global\x20npm\x20prefix\x20is\x20not\x20writable;\x20retrying\x20in\x20the\x20current\x20CLI\x20Node\x20environment:\x20','boolean','6841912pYtoGL','args','exit\x20','skillVersion','trim','stdout','70497oJXqzI','beta','string','win32','\x20->\x20',',\x20but\x20Built-in\x20Skill\x20verification\x20failed:\x20','\x20dist-tags,\x20then\x20retry.','Run:\x20npm\x20install\x20-g\x20','Updating\x20','pipe','expected\x20','json','/dist-tags','Checking\x20CLI\x20Built-in\x20Skill...','--latest,\x20--beta,\x20and\x20version\x20cannot\x20be\x20used\x20together.','lib','2061975avNHmV','relative','20473740CzxGmq','validation','\x20doctor','Already\x20up\x20to\x20date\x20(v','latest','entries','valid','\x20\x20Restart\x20your\x20terminal\x20to\x20use\x20the\x20new\x20version.','stderr','8WKSWBi','1365882lfBHIG'];a85_0x4bd2=function(){return _0x49ba49;};return a85_0x4bd2();}import{getCliVersion}from'../utils/version.js';import{inspectInstalledBuiltinSkillVersion,installBuiltinSkill}from'../skills/builtin-skill.js';const updateFlags=[{'name':'latest','type':a85_0x14a5fb(0x189),'description':'Install\x20the\x20version\x20from\x20npm\x20latest\x20dist-tag','default':![]},{'name':'beta','type':a85_0x14a5fb(0x189),'description':'Install\x20the\x20version\x20from\x20npm\x20beta\x20dist-tag','default':![]},{'name':a85_0x14a5fb(0x161),'type':'string','description':a85_0x14a5fb(0x186)}];function getRequestedVersion(_0x3986fc){const _0x18e880=a85_0x14a5fb,_0xc4fe9b=_0x3986fc['str'](_0x18e880(0x161))[_0x18e880(0x18e)]();if(_0xc4fe9b)return _0xc4fe9b;return String(_0x3986fc[_0x18e880(0x18b)]?.[0x0]??'')[_0x18e880(0x18e)]();}async function validateUpdateFlags(_0x341305){const _0x4a1e43=a85_0x14a5fb,_0x3b0f18=getRequestedVersion(_0x341305),_0x4a0c41=[_0x341305[_0x4a1e43(0x17c)](_0x4a1e43(0x14e))?_0x4a1e43(0x14e):'',_0x341305[_0x4a1e43(0x17c)](_0x4a1e43(0x191))?_0x4a1e43(0x191):'',_0x3b0f18?_0x4a1e43(0x161):''][_0x4a1e43(0x175)](Boolean);if(_0x4a0c41[_0x4a1e43(0x163)]>0x1)throw CliErrors[_0x4a1e43(0x14b)](_0x4a1e43(0x146),'Choose\x20exactly\x20one\x20target:\x20--latest,\x20--beta,\x20or\x20--version\x20<version>.');if(_0x3b0f18&&!a85_0x10eb0c['valid'](_0x3b0f18))throw CliErrors[_0x4a1e43(0x14b)](_0x4a1e43(0x17d)+_0x3b0f18,_0x4a1e43(0x156));}async function fetchNpmDistTags(){const _0x37e038=a85_0x14a5fb;try{const _0x5f1568=NPM_REGISTRY_BASE_URL+_0x37e038(0x155)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x37e038(0x144),_0x35cf18=await fetch(_0x5f1568,{'signal':AbortSignal[_0x37e038(0x174)](0x2710)});if(!_0x35cf18['ok'])return null;const _0x95b1b4=await _0x35cf18[_0x37e038(0x143)]();if(!_0x95b1b4||typeof _0x95b1b4!==_0x37e038(0x15c))return null;return Object[_0x37e038(0x187)](Object[_0x37e038(0x14f)](_0x95b1b4)['filter'](([,_0x51c65f])=>typeof _0x51c65f===_0x37e038(0x192)&&_0x51c65f[_0x37e038(0x18e)]())[_0x37e038(0x177)](([_0x1b8835,_0xf59629])=>[_0x1b8835,String(_0xf59629)[_0x37e038(0x18e)]()]));}catch{return null;}}async function resolveTargetVersion(_0x32a812){const _0x2fee9b=a85_0x14a5fb,_0x12d44b=getRequestedVersion(_0x32a812);if(_0x12d44b)return{'version':_0x12d44b,'source':_0x2fee9b(0x161)};const _0x2905f7=_0x32a812[_0x2fee9b(0x17c)](_0x2fee9b(0x191))?_0x2fee9b(0x191):_0x2fee9b(0x14e),_0x32eb49=await fetchNpmDistTags(),_0x127f22=_0x32eb49?.[_0x2905f7];if(!_0x127f22)return null;return{'version':_0x127f22,'source':_0x2905f7};}function a85_0x4a53(_0x53c7fa,_0x2705e8){_0x53c7fa=_0x53c7fa-0x13e;const _0x4bd2e4=a85_0x4bd2();let _0x4a5328=_0x4bd2e4[_0x53c7fa];return _0x4a5328;}function shouldInstallTarget(_0x4a0a22,_0x56456){const _0x5617c2=a85_0x14a5fb;if(_0x56456[_0x5617c2(0x165)]===_0x5617c2(0x161)||_0x56456[_0x5617c2(0x165)]===_0x5617c2(0x191))return!a85_0x10eb0c['eq'](_0x4a0a22,_0x56456['version']);return a85_0x10eb0c['lt'](_0x4a0a22,_0x56456['version']);}export function installCliPackage(_0x17cdc9,_0x394574,_0x4996fe=resolveCurrentCliNpmPrefix()){const _0x38db8c=a85_0x14a5fb,_0x4a4330=LOVRABET_NPM_PACKAGE_NAME+'@'+_0x17cdc9,_0x47fb97=['install','-g',_0x4a4330],_0x5d2ad9=runNpmInstall(_0x47fb97,_0x394574);if(_0x5d2ad9['ok']||!isNpmPrefixPermissionError(_0x5d2ad9[_0x38db8c(0x17e)]))return _0x5d2ad9;if(!_0x4996fe||_0x5d2ad9[_0x38db8c(0x17e)]?.['toLowerCase']()[_0x38db8c(0x168)](_0x4996fe[_0x38db8c(0x160)]()))return _0x5d2ad9;return console['warn'](_0x38db8c(0x188)+_0x4996fe),runNpmInstall([..._0x47fb97,'--prefix',_0x4996fe],_0x394574);}export function resolveCurrentCliNpmPrefix(_0x4ec1eb=fileURLToPath(import.meta.url),_0xe9dd14=process[a85_0x14a5fb(0x185)]){const _0x46df55=a85_0x14a5fb,_0x3e8528=_0xe9dd14===_0x46df55(0x193)?win32:{'basename':basename,'dirname':dirname,'relative':relative},_0x6b52cb=_0x3e8528[_0x46df55(0x159)](_0x3e8528['dirname'](_0x3e8528['dirname'](_0x4ec1eb))),_0x2c9823=_0xe9dd14==='win32'?'@lovrabet\x5clovrabet-cli':'@lovrabet/lovrabet-cli';let _0xfe5cd1=_0x3e8528[_0x46df55(0x159)](_0x6b52cb);while(!![]){if(_0x3e8528['basename'](_0xfe5cd1)===_0x46df55(0x16c)&&_0x3e8528[_0x46df55(0x149)](_0xfe5cd1,_0x6b52cb)===_0x2c9823){const _0xfa5d6d=_0x3e8528[_0x46df55(0x159)](_0xfe5cd1);return _0x3e8528[_0x46df55(0x176)](_0xfa5d6d)===_0x46df55(0x147)?_0x3e8528[_0x46df55(0x159)](_0xfa5d6d):_0xfa5d6d;}const _0x146a4b=_0x3e8528[_0x46df55(0x159)](_0xfe5cd1);if(_0x146a4b===_0xfe5cd1)return null;_0xfe5cd1=_0x146a4b;}}function runNpmInstall(_0x40f8ac,_0x503770){const _0x5ca1d4=a85_0x14a5fb;console['log']('*\x20'+[_0x5ca1d4(0x17a),..._0x40f8ac][_0x5ca1d4(0x173)]('\x20'));const _0x4357d6=execaSync('npm',_0x40f8ac,{'cwd':process[_0x5ca1d4(0x162)](),'stdio':'pipe','env':process.env,'extendEnv':![],'shell':![],'reject':![]}),_0x201efe=_0x4357d6[_0x5ca1d4(0x152)]?String(_0x4357d6['stderr'])[_0x5ca1d4(0x18e)]():'',_0x4d8321=_0x4357d6[_0x5ca1d4(0x18f)]?String(_0x4357d6[_0x5ca1d4(0x18f)])[_0x5ca1d4(0x18e)]():'';if(!_0x503770){if(_0x4d8321)process[_0x5ca1d4(0x18f)][_0x5ca1d4(0x16d)](_0x4d8321+'\x0a');if(_0x201efe)process[_0x5ca1d4(0x152)][_0x5ca1d4(0x16d)](_0x201efe+'\x0a');}if(_0x4357d6[_0x5ca1d4(0x169)]===0x0)return{'ok':!![]};const _0xfd081f=_0x201efe||_0x4d8321||_0x4357d6['shortMessage']||_0x5ca1d4(0x18c)+(_0x4357d6[_0x5ca1d4(0x169)]??_0x5ca1d4(0x178));return{'ok':![],'error':_0xfd081f};}function isNpmPrefixPermissionError(_0x47d859){const _0x30db36=a85_0x14a5fb;return Boolean(_0x47d859&&/\b(?:EACCES|EPERM)\b/[_0x30db36(0x166)](_0x47d859));}function repairCurrentBuiltinSkill(_0x5b30b3){const _0x545b68=a85_0x14a5fb;console['log'](_0x545b68(0x145));const _0x3a1dba=installBuiltinSkill({'stdio':_0x5b30b3?_0x545b68(0x141):_0x545b68(0x179)});if(_0x3a1dba['ok']){console[_0x545b68(0x181)](_0x545b68(0x172)+_0x3a1dba['skillVersion']+'\x20is\x20current.');return;}throw CliErrors[_0x545b68(0x17b)]('CLI\x20Built-in\x20Skill\x20repair\x20failed\x20['+(_0x3a1dba['code']||'INSTALL_FAILED')+']:\x20'+(_0x3a1dba[_0x545b68(0x17e)]||_0x545b68(0x178)),'Run:\x20'+_0x3a1dba['repairCommand']+',\x20then\x20verify\x20with:\x20'+CLI_BIN_NAME+'\x20doctor');}function verifyUpdatedBuiltinSkill(_0x540e7b){const _0xefaa36=a85_0x14a5fb;console[_0xefaa36(0x181)]('Checking\x20CLI\x20Built-in\x20Skill...');const _0x200bad=inspectInstalledBuiltinSkillVersion(_0x540e7b);if(_0x200bad[_0xefaa36(0x164)]==='current'){console[_0xefaa36(0x181)](_0xefaa36(0x172)+_0x540e7b+_0xefaa36(0x16a));return;}const _0x1d6e21=_0x200bad[_0xefaa36(0x18d)]?_0xefaa36(0x142)+_0x540e7b+_0xefaa36(0x158)+_0x200bad['skillVersion']:_0xefaa36(0x142)+_0x540e7b+_0xefaa36(0x17f)+_0x200bad[_0xefaa36(0x164)],_0x14718a=_0x200bad[_0xefaa36(0x15b)]?_0x1d6e21+':\x20'+_0x200bad[_0xefaa36(0x15b)]:_0x1d6e21;throw CliErrors[_0xefaa36(0x17b)]('CLI\x20updated\x20to\x20v'+_0x540e7b+_0xefaa36(0x195)+_0x14718a,'Run:\x20'+_0x200bad[_0xefaa36(0x171)]+_0xefaa36(0x15e)+CLI_BIN_NAME+_0xefaa36(0x14c));}async function execute(_0x172df0){const _0x477eda=a85_0x14a5fb;await validateUpdateFlags(_0x172df0);const _0x1e7a3b=getCliVersion();console[_0x477eda(0x181)](_0x477eda(0x183)+_0x1e7a3b),console[_0x477eda(0x181)](_0x477eda(0x170));const _0x1c2933=await resolveTargetVersion(_0x172df0);if(!_0x1c2933){const _0x526eef=_0x172df0[_0x477eda(0x17c)](_0x477eda(0x191))?_0x477eda(0x191):_0x477eda(0x14e),_0x243699='Unable\x20to\x20resolve\x20'+_0x526eef+_0x477eda(0x16e);throw CliErrors[_0x477eda(0x17b)](_0x243699,_0x477eda(0x13f)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x526eef);}const _0x571286=[_0x1e7a3b,_0x1c2933[_0x477eda(0x161)]][_0x477eda(0x184)](_0x142c56=>!a85_0x10eb0c[_0x477eda(0x150)](_0x142c56));if(_0x571286){const _0x48980f=_0x477eda(0x157)+_0x571286+'.';throw CliErrors['apiError'](_0x48980f,'Run:\x20npm\x20view\x20'+LOVRABET_NPM_PACKAGE_NAME+_0x477eda(0x13e));}if(!shouldInstallTarget(_0x1e7a3b,_0x1c2933)){const _0x377777=_0x1c2933[_0x477eda(0x165)]==='version'?_0x477eda(0x16f)+_0x1c2933[_0x477eda(0x161)]+').':_0x477eda(0x14d)+_0x1c2933[_0x477eda(0x161)]+').';return console[_0x477eda(0x181)](_0x377777),repairCurrentBuiltinSkill(_0x172df0[_0x477eda(0x16b)]),{'ok':!![]};}console['log'](_0x477eda(0x140)+LOVRABET_NPM_PACKAGE_NAME+':\x20'+_0x1e7a3b+_0x477eda(0x194)+_0x1c2933[_0x477eda(0x161)]);const _0x32799b=installCliPackage(_0x1c2933[_0x477eda(0x161)],_0x172df0[_0x477eda(0x16b)]);if(!_0x32799b['ok']){const _0x4cb822='Update\x20failed:\x20'+(_0x32799b[_0x477eda(0x17e)]||'unknown');throw CliErrors[_0x477eda(0x17b)](_0x4cb822,_0x477eda(0x13f)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x1c2933[_0x477eda(0x161)]);}return console[_0x477eda(0x181)](_0x477eda(0x182)+_0x1c2933[_0x477eda(0x161)]+'.'),console[_0x477eda(0x181)](_0x477eda(0x151)),verifyUpdatedBuiltinSkill(_0x1c2933[_0x477eda(0x161)]),{'ok':!![]};}export const updateDefinition={'service':'update','command':'run','description':a85_0x14a5fb(0x180)+CLI_BIN_NAME+a85_0x14a5fb(0x15a),'risk':'read','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':updateFlags,'validate':validateUpdateFlags,'execute':execute};
1
+ const a85_0x35c983=a85_0x3342;function a85_0x2f47(){const _0x251ddc=['current','string','Update\x20the\x20',',\x20state\x20','update','dirname','unknown','includes','toLowerCase','Checking\x20CLI\x20Built-in\x20Skill...','\x20doctor','reason','24qvvKrX','6iZAxNu','beta','timeout','Use\x20a\x20full\x20semver\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','@lovrabet/lovrabet-cli','skillVersion','@lovrabet\x5clovrabet-cli','499149BQxSTu','exitCode','Unable\x20to\x20resolve\x20','INSTALL_FAILED','3342420qIxNqu','join','nonInteractive','expected\x20','Install\x20a\x20specific\x20CLI\x20version','win32','Update\x20failed:\x20','\x20->\x20','platform','map','\x20is\x20current.','Current\x20version:\x20','fromEntries','write',']:\x20','json','stderr','trim','bool','state','\x20\x20Restart\x20your\x20terminal\x20to\x20use\x20the\x20new\x20version.',',\x20but\x20Built-in\x20Skill\x20verification\x20failed:\x20','\x20dist-tags,\x20then\x20retry.','install','error','Updating\x20','object','\x20version\x20from\x20npm.','3044268ymagdu','Invalid\x20version:\x20','valid','--prefix','lib',',\x20then\x20verify\x20with:\x20','log','164748svXcdo','relative','cwd','repairCommand','warn','Run:\x20npm\x20install\x20-g\x20','Version\x20comparison\x20failed:\x20','271980Cxtywa','npm','Run:\x20','Checking\x20npm\x20dist-tags...','args','apiError','inherit','CLI\x20updated\x20to\x20v','Install\x20the\x20version\x20from\x20npm\x20beta\x20dist-tag','72729NcVUqq','\x20\x20CLI\x20Built-in\x20Skill\x20','Already\x20on\x20requested\x20version\x20(v','code','run','boolean','55406fwmcnL','validation','27AKvYSm','latest','node_modules','stdout','pipe','version','length'];a85_0x2f47=function(){return _0x251ddc;};return a85_0x2f47();}(function(_0xa0c8d8,_0x1394f5){const _0x20ca0e=a85_0x3342,_0x4e6944=_0xa0c8d8();while(!![]){try{const _0x29b206=-parseInt(_0x20ca0e(0xc2))/0x1*(parseInt(_0x20ca0e(0xd8))/0x2)+parseInt(_0x20ca0e(0xc4))/0x3*(-parseInt(_0x20ca0e(0x106))/0x4)+parseInt(_0x20ca0e(0xb3))/0x5+parseInt(_0x20ca0e(0xff))/0x6+-parseInt(_0x20ca0e(0xdf))/0x7+parseInt(_0x20ca0e(0xd7))/0x8*(-parseInt(_0x20ca0e(0xbc))/0x9)+parseInt(_0x20ca0e(0xe3))/0xa;if(_0x29b206===_0x1394f5)break;else _0x4e6944['push'](_0x4e6944['shift']());}catch(_0x3ca024){_0x4e6944['push'](_0x4e6944['shift']());}}}(a85_0x2f47,0x4058d));import{fileURLToPath}from'node:url';import{basename,dirname,relative,win32}from'node:path';function a85_0x3342(_0xbe9757,_0x57c638){_0xbe9757=_0xbe9757-0xb2;const _0x2f479e=a85_0x2f47();let _0x334286=_0x2f479e[_0xbe9757];return _0x334286;}import{execaSync}from'execa';import a85_0x225af0 from'semver';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';import{getCliVersion}from'../utils/version.js';import{inspectInstalledBuiltinSkillVersion,installBuiltinSkill}from'../skills/builtin-skill.js';const updateFlags=[{'name':a85_0x35c983(0xc5),'type':a85_0x35c983(0xc1),'description':'Install\x20the\x20version\x20from\x20npm\x20latest\x20dist-tag','default':![]},{'name':a85_0x35c983(0xd9),'type':a85_0x35c983(0xc1),'description':a85_0x35c983(0xbb),'default':![]},{'name':a85_0x35c983(0xc9),'type':a85_0x35c983(0xcc),'description':a85_0x35c983(0xe7)}];function getRequestedVersion(_0x272827){const _0x1d18ba=a85_0x35c983,_0x2e1523=_0x272827['str']('version')['trim']();if(_0x2e1523)return _0x2e1523;return String(_0x272827[_0x1d18ba(0xb7)]?.[0x0]??'')[_0x1d18ba(0xf4)]();}async function validateUpdateFlags(_0x59a0c1){const _0x213e23=a85_0x35c983,_0x392565=getRequestedVersion(_0x59a0c1),_0x36e2a2=[_0x59a0c1[_0x213e23(0xf5)](_0x213e23(0xc5))?'latest':'',_0x59a0c1[_0x213e23(0xf5)](_0x213e23(0xd9))?_0x213e23(0xd9):'',_0x392565?_0x213e23(0xc9):'']['filter'](Boolean);if(_0x36e2a2[_0x213e23(0xca)]>0x1)throw CliErrors[_0x213e23(0xc3)]('--latest,\x20--beta,\x20and\x20version\x20cannot\x20be\x20used\x20together.','Choose\x20exactly\x20one\x20target:\x20--latest,\x20--beta,\x20or\x20--version\x20<version>.');if(_0x392565&&!a85_0x225af0[_0x213e23(0x101)](_0x392565))throw CliErrors[_0x213e23(0xc3)](_0x213e23(0x100)+_0x392565,_0x213e23(0xdb));}async function fetchNpmDistTags(){const _0x3b49bc=a85_0x35c983;try{const _0x31328f=NPM_REGISTRY_BASE_URL+'/-/package/'+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+'/dist-tags',_0x4cded2=await fetch(_0x31328f,{'signal':AbortSignal[_0x3b49bc(0xda)](0x2710)});if(!_0x4cded2['ok'])return null;const _0x1cd3a8=await _0x4cded2[_0x3b49bc(0xf2)]();if(!_0x1cd3a8||typeof _0x1cd3a8!==_0x3b49bc(0xfd))return null;return Object[_0x3b49bc(0xef)](Object['entries'](_0x1cd3a8)['filter'](([,_0x5f2363])=>typeof _0x5f2363==='string'&&_0x5f2363[_0x3b49bc(0xf4)]())[_0x3b49bc(0xec)](([_0x10c478,_0x213caf])=>[_0x10c478,String(_0x213caf)[_0x3b49bc(0xf4)]()]));}catch{return null;}}async function resolveTargetVersion(_0x50e190){const _0x46fb20=a85_0x35c983,_0x8b9079=getRequestedVersion(_0x50e190);if(_0x8b9079)return{'version':_0x8b9079,'source':_0x46fb20(0xc9)};const _0x14a8ea=_0x50e190[_0x46fb20(0xf5)](_0x46fb20(0xd9))?'beta':_0x46fb20(0xc5),_0x3dcac9=await fetchNpmDistTags(),_0x49c767=_0x3dcac9?.[_0x14a8ea];if(!_0x49c767)return null;return{'version':_0x49c767,'source':_0x14a8ea};}function shouldInstallTarget(_0x3087cd,_0x10732f){const _0x35b447=a85_0x35c983;if(_0x10732f['source']==='version'||_0x10732f['source']===_0x35b447(0xd9))return!a85_0x225af0['eq'](_0x3087cd,_0x10732f['version']);return a85_0x225af0['lt'](_0x3087cd,_0x10732f[_0x35b447(0xc9)]);}export function installCliPackage(_0x1219a1,_0x2e623e,_0x3d3f97=resolveCurrentCliNpmPrefix()){const _0x39ffc7=a85_0x35c983,_0x1430c0=LOVRABET_NPM_PACKAGE_NAME+'@'+_0x1219a1,_0x18cb14=[_0x39ffc7(0xfa),'-g',_0x1430c0],_0x156bd6=runNpmInstall(_0x18cb14,_0x2e623e);if(_0x156bd6['ok']||!isNpmPrefixPermissionError(_0x156bd6[_0x39ffc7(0xfb)]))return _0x156bd6;if(!_0x3d3f97||_0x156bd6['error']?.[_0x39ffc7(0xd3)]()[_0x39ffc7(0xd2)](_0x3d3f97[_0x39ffc7(0xd3)]()))return _0x156bd6;return console[_0x39ffc7(0x10a)]('Global\x20npm\x20prefix\x20is\x20not\x20writable;\x20retrying\x20in\x20the\x20current\x20CLI\x20Node\x20environment:\x20'+_0x3d3f97),runNpmInstall([..._0x18cb14,_0x39ffc7(0x102),_0x3d3f97],_0x2e623e);}export function resolveCurrentCliNpmPrefix(_0x49d270=fileURLToPath(import.meta.url),_0x1ab0d9=process[a85_0x35c983(0xeb)]){const _0x5a7232=a85_0x35c983,_0x3bc3df=_0x1ab0d9===_0x5a7232(0xe8)?win32:{'basename':basename,'dirname':dirname,'relative':relative},_0x15ee8c=_0x3bc3df[_0x5a7232(0xd0)](_0x3bc3df[_0x5a7232(0xd0)](_0x3bc3df[_0x5a7232(0xd0)](_0x49d270))),_0x28d8bc=_0x1ab0d9===_0x5a7232(0xe8)?_0x5a7232(0xde):_0x5a7232(0xdc);let _0x4aab97=_0x3bc3df[_0x5a7232(0xd0)](_0x15ee8c);while(!![]){if(_0x3bc3df['basename'](_0x4aab97)===_0x5a7232(0xc6)&&_0x3bc3df[_0x5a7232(0x107)](_0x4aab97,_0x15ee8c)===_0x28d8bc){const _0x470180=_0x3bc3df[_0x5a7232(0xd0)](_0x4aab97);return _0x3bc3df['basename'](_0x470180)===_0x5a7232(0x103)?_0x3bc3df[_0x5a7232(0xd0)](_0x470180):_0x470180;}const _0x5b8e19=_0x3bc3df[_0x5a7232(0xd0)](_0x4aab97);if(_0x5b8e19===_0x4aab97)return null;_0x4aab97=_0x5b8e19;}}function runNpmInstall(_0x273b2a,_0x41040c){const _0x209a45=a85_0x35c983;console[_0x209a45(0x105)]('*\x20'+[_0x209a45(0xb4),..._0x273b2a][_0x209a45(0xe4)]('\x20'));const _0x17bea6=execaSync(_0x209a45(0xb4),_0x273b2a,{'cwd':process[_0x209a45(0x108)](),'stdio':_0x209a45(0xc8),'env':process.env,'extendEnv':![],'shell':![],'reject':![]}),_0xa11d52=_0x17bea6['stderr']?String(_0x17bea6[_0x209a45(0xf3)])[_0x209a45(0xf4)]():'',_0x456fb5=_0x17bea6[_0x209a45(0xc7)]?String(_0x17bea6[_0x209a45(0xc7)])[_0x209a45(0xf4)]():'';if(!_0x41040c){if(_0x456fb5)process[_0x209a45(0xc7)][_0x209a45(0xf0)](_0x456fb5+'\x0a');if(_0xa11d52)process[_0x209a45(0xf3)][_0x209a45(0xf0)](_0xa11d52+'\x0a');}if(_0x17bea6[_0x209a45(0xe0)]===0x0)return{'ok':!![]};const _0x546cf3=_0xa11d52||_0x456fb5||_0x17bea6['shortMessage']||'exit\x20'+(_0x17bea6[_0x209a45(0xe0)]??_0x209a45(0xd1));return{'ok':![],'error':_0x546cf3};}function isNpmPrefixPermissionError(_0x8ad76e){return Boolean(_0x8ad76e&&/\b(?:EACCES|EPERM)\b/['test'](_0x8ad76e));}function repairCurrentBuiltinSkill(_0x35fc35){const _0x33e64c=a85_0x35c983;console[_0x33e64c(0x105)](_0x33e64c(0xd4));const _0x1f89fc=installBuiltinSkill({'stdio':_0x35fc35?_0x33e64c(0xc8):_0x33e64c(0xb9)});if(_0x1f89fc['ok']){console[_0x33e64c(0x105)](_0x33e64c(0xbd)+_0x1f89fc['skillVersion']+_0x33e64c(0xed));return;}throw CliErrors['apiError']('CLI\x20Built-in\x20Skill\x20repair\x20failed\x20['+(_0x1f89fc[_0x33e64c(0xbf)]||_0x33e64c(0xe2))+_0x33e64c(0xf1)+(_0x1f89fc[_0x33e64c(0xfb)]||_0x33e64c(0xd1)),_0x33e64c(0xb5)+_0x1f89fc[_0x33e64c(0x109)]+_0x33e64c(0x104)+CLI_BIN_NAME+_0x33e64c(0xd5));}function verifyUpdatedBuiltinSkill(_0x9b9c54){const _0x205cdd=a85_0x35c983;console['log'](_0x205cdd(0xd4));const _0x123026=inspectInstalledBuiltinSkillVersion(_0x9b9c54);if(_0x123026[_0x205cdd(0xf6)]===_0x205cdd(0xcb)){console[_0x205cdd(0x105)](_0x205cdd(0xbd)+_0x9b9c54+_0x205cdd(0xed));return;}const _0x1cd798=_0x123026[_0x205cdd(0xdd)]?_0x205cdd(0xe6)+_0x9b9c54+',\x20found\x20'+_0x123026[_0x205cdd(0xdd)]:_0x205cdd(0xe6)+_0x9b9c54+_0x205cdd(0xce)+_0x123026[_0x205cdd(0xf6)],_0x3daefd=_0x123026['reason']?_0x1cd798+':\x20'+_0x123026[_0x205cdd(0xd6)]:_0x1cd798;throw CliErrors['apiError'](_0x205cdd(0xba)+_0x9b9c54+_0x205cdd(0xf8)+_0x3daefd,_0x205cdd(0xb5)+_0x123026[_0x205cdd(0x109)]+',\x20then\x20verify\x20with:\x20'+CLI_BIN_NAME+_0x205cdd(0xd5));}async function execute(_0x46150a){const _0x6ab953=a85_0x35c983;await validateUpdateFlags(_0x46150a);const _0x136f40=getCliVersion();console[_0x6ab953(0x105)](_0x6ab953(0xee)+_0x136f40),console[_0x6ab953(0x105)](_0x6ab953(0xb6));const _0x4d092f=await resolveTargetVersion(_0x46150a);if(!_0x4d092f){const _0x4fd526=_0x46150a[_0x6ab953(0xf5)](_0x6ab953(0xd9))?_0x6ab953(0xd9):_0x6ab953(0xc5),_0x4d928a=_0x6ab953(0xe1)+_0x4fd526+_0x6ab953(0xfe);throw CliErrors[_0x6ab953(0xb8)](_0x4d928a,_0x6ab953(0x10b)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x4fd526);}const _0x41c277=[_0x136f40,_0x4d092f[_0x6ab953(0xc9)]]['find'](_0x5045d3=>!a85_0x225af0[_0x6ab953(0x101)](_0x5045d3));if(_0x41c277){const _0x229654=_0x6ab953(0xb2)+_0x41c277+'.';throw CliErrors[_0x6ab953(0xb8)](_0x229654,'Run:\x20npm\x20view\x20'+LOVRABET_NPM_PACKAGE_NAME+_0x6ab953(0xf9));}if(!shouldInstallTarget(_0x136f40,_0x4d092f)){const _0xe1bfd1=_0x4d092f['source']===_0x6ab953(0xc9)?_0x6ab953(0xbe)+_0x4d092f['version']+').':'Already\x20up\x20to\x20date\x20(v'+_0x4d092f['version']+').';return console[_0x6ab953(0x105)](_0xe1bfd1),repairCurrentBuiltinSkill(_0x46150a[_0x6ab953(0xe5)]),{'ok':!![]};}console['log'](_0x6ab953(0xfc)+LOVRABET_NPM_PACKAGE_NAME+':\x20'+_0x136f40+_0x6ab953(0xea)+_0x4d092f[_0x6ab953(0xc9)]);const _0xf8a315=installCliPackage(_0x4d092f[_0x6ab953(0xc9)],_0x46150a[_0x6ab953(0xe5)]);if(!_0xf8a315['ok']){const _0x169abf=_0x6ab953(0xe9)+(_0xf8a315[_0x6ab953(0xfb)]||_0x6ab953(0xd1));throw CliErrors['apiError'](_0x169abf,'Run:\x20npm\x20install\x20-g\x20'+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x4d092f[_0x6ab953(0xc9)]);}return console[_0x6ab953(0x105)]('Updated\x20to\x20v'+_0x4d092f[_0x6ab953(0xc9)]+'.'),console[_0x6ab953(0x105)](_0x6ab953(0xf7)),verifyUpdatedBuiltinSkill(_0x4d092f[_0x6ab953(0xc9)]),{'ok':!![]};}export const updateDefinition={'service':a85_0x35c983(0xcf),'command':a85_0x35c983(0xc0),'description':a85_0x35c983(0xcd)+CLI_BIN_NAME+'\x20CLI\x20from\x20npm','risk':'read','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':updateFlags,'validate':validateUpdateFlags,'execute':execute};
@@ -1 +1 @@
1
- const a86_0x57e19a=a86_0x5584;(function(_0x5b8c4d,_0x1f7ff9){const _0x55faae=a86_0x5584,_0x4f7a14=_0x5b8c4d();while(!![]){try{const _0x1365bd=parseInt(_0x55faae(0xe2))/0x1*(-parseInt(_0x55faae(0xd1))/0x2)+parseInt(_0x55faae(0xcf))/0x3+-parseInt(_0x55faae(0xdd))/0x4*(parseInt(_0x55faae(0xe1))/0x5)+parseInt(_0x55faae(0xd8))/0x6+-parseInt(_0x55faae(0xe5))/0x7+-parseInt(_0x55faae(0xe6))/0x8+parseInt(_0x55faae(0xcb))/0x9;if(_0x1365bd===_0x1f7ff9)break;else _0x4f7a14['push'](_0x4f7a14['shift']());}catch(_0x32dc3a){_0x4f7a14['push'](_0x4f7a14['shift']());}}}(a86_0xba41,0x87673));import{bindExternalUserAccount,USER_ACCOUNT_BIND_PATH}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';const CURRENT_BINDING_WARNING=a86_0x57e19a(0xce),SUPPORTED_PROVIDERS=[a86_0x57e19a(0xd3)];function readBindingInput(_0x55b23c){const _0x566fa8=a86_0x57e19a,_0x41e082=_0x55b23c[_0x566fa8(0xca)](_0x566fa8(0xd0))[_0x566fa8(0xde)]()['toLowerCase']();if(!SUPPORTED_PROVIDERS[_0x566fa8(0xd5)](_0x41e082))throw CliErrors[_0x566fa8(0xdc)](_0x566fa8(0xcd)+(_0x41e082||_0x566fa8(0xe9))+'.',_0x566fa8(0xd4)+SUPPORTED_PROVIDERS[_0x566fa8(0xdf)](',\x20')+'.');const _0x3eba14=_0x55b23c[_0x566fa8(0xca)](_0x566fa8(0xe0))[_0x566fa8(0xde)]();if(!_0x3eba14)throw CliErrors[_0x566fa8(0xdc)](_0x566fa8(0xe8),'Pass\x20the\x20external\x20account\x20ID\x20for\x20the\x20selected\x20provider.');return{'provider':_0x41e082,'accountId':_0x3eba14};}function buildBindingData(_0x878407,_0xbf0178,_0x4cab60){return{'operation':'bind','selector':{'provider':_0x878407,'accountId':_0xbf0178},'before':null,'after':{'provider':_0x878407,'accountId':_0xbf0178,'bound':!![]},'dryRun':_0x4cab60,'warnings':[CURRENT_BINDING_WARNING]};}export const bindUserAccount={'service':'user-account','command':a86_0x57e19a(0xc9),'description':a86_0x57e19a(0xe3),'risk':a86_0x57e19a(0xdb),'confirmationDescription':a86_0x57e19a(0xe7),'requiresAuth':!![],'requiresAppCode':![],'flags':[{'name':'provider','type':a86_0x57e19a(0xd9),'required':!![],'enum':[...SUPPORTED_PROVIDERS],'description':a86_0x57e19a(0xcc)},{'name':a86_0x57e19a(0xe0),'type':'string','required':!![],'description':'External\x20account\x20ID\x20for\x20the\x20selected\x20provider'}],async 'validate'(_0x5a6279){readBindingInput(_0x5a6279);},async 'dryRun'(_0x30d634){const _0x354f0d=a86_0x57e19a,{provider:_0x1ec3fc,accountId:_0x2d69fb}=readBindingInput(_0x30d634);return{...buildBindingData(_0x1ec3fc,_0x2d69fb,!![]),'method':_0x354f0d(0xd7),'url':USER_ACCOUNT_BIND_PATH,'body':{'provider':_0x1ec3fc,'accountId':_0x2d69fb}};},async 'execute'(_0xf0e5b1){const _0x304454=a86_0x57e19a,{provider:_0x511350,accountId:_0x238861}=readBindingInput(_0xf0e5b1),_0x3ceb42=await bindExternalUserAccount(_0x511350,_0x238861);if(_0x3ceb42!==!![])throw CliErrors[_0x304454(0xe4)](_0x304454(0xd6),_0x304454(0xd2));return{'ok':!![],'data':buildBindingData(_0x511350,_0x238861,![]),'message':_0x304454(0xda)};}};function a86_0x5584(_0xb8713a,_0xbe3515){_0xb8713a=_0xb8713a-0xc9;const _0xba41e5=a86_0xba41();let _0x5584d1=_0xba41e5[_0xb8713a];return _0x5584d1;}function a86_0xba41(){const _0x3821f1=['436YuPLab','Retry\x20with\x20the\x20same\x20--provider\x20and\x20--account-id\x20only\x20after\x20checking\x20the\x20current\x20AccessKey\x20identity.','dingtalk','Pass\x20one\x20of:\x20','includes','External\x20account\x20binding\x20was\x20not\x20confirmed.','POST','2310288vaNieG','string','Bound\x20current\x20user\x20to\x20external\x20provider\x20account.','write','validation','554908AQyEey','trim','join','account-id','35KyIQUJ','4733UNkMLr','Bind\x20the\x20current\x20platform\x20user\x20to\x20an\x20external\x20provider\x20account','apiError','2703848JuoEIm','8625704QfUfhL','Binds\x20the\x20platform\x20user\x20of\x20the\x20current\x20AccessKey\x20to\x20the\x20given\x20collaboration-provider\x20account.\x20An\x20existing\x20bind\x20for\x20the\x20same\x20provider\x20may\x20be\x20replaced.','--account-id\x20cannot\x20be\x20empty.','(empty)','bind','str','22823361jmloCN','External\x20account\x20provider','Unsupported\x20provider:\x20','The\x20current\x20binding\x20is\x20not\x20exposed\x20by\x20the\x20server;\x20before\x20is\x20unavailable.','3302982RHiUSo','provider'];a86_0xba41=function(){return _0x3821f1;};return a86_0xba41();}
1
+ function a86_0x37c7(){const _0x2a3a2f=['dingtalk','string','3576jdJlBB','857128UGORiy','1dGCghA','Binds\x20the\x20platform\x20user\x20of\x20the\x20current\x20AccessKey\x20to\x20the\x20given\x20collaboration-provider\x20account.\x20An\x20existing\x20bind\x20for\x20the\x20same\x20provider\x20may\x20be\x20replaced.','join','Pass\x20one\x20of:\x20','External\x20account\x20ID\x20for\x20the\x20selected\x20provider','provider','bind','5987255gvXtYW','22827JEqOtL','Pass\x20the\x20external\x20account\x20ID\x20for\x20the\x20selected\x20provider.','9361530vIYVtf','Unsupported\x20provider:\x20','3XeXquI','5736990EGtRdk','account-id','write','user-account','validation','35374000zfBvQl','toLowerCase','--account-id\x20cannot\x20be\x20empty.','Retry\x20with\x20the\x20same\x20--provider\x20and\x20--account-id\x20only\x20after\x20checking\x20the\x20current\x20AccessKey\x20identity.','trim','The\x20current\x20binding\x20is\x20not\x20exposed\x20by\x20the\x20server;\x20before\x20is\x20unavailable.','(empty)','str','2331876jQezro','POST'];a86_0x37c7=function(){return _0x2a3a2f;};return a86_0x37c7();}const a86_0x29ecaa=a86_0x34be;(function(_0x1d449a,_0x55dc5c){const _0x21e95e=a86_0x34be,_0x473482=_0x1d449a();while(!![]){try{const _0x5e11da=parseInt(_0x21e95e(0x1f0))/0x1*(parseInt(_0x21e95e(0x1ef))/0x2)+-parseInt(_0x21e95e(0x1fc))/0x3*(parseInt(_0x21e95e(0x20a))/0x4)+parseInt(_0x21e95e(0x1f7))/0x5+parseInt(_0x21e95e(0x1fd))/0x6+-parseInt(_0x21e95e(0x1f8))/0x7*(-parseInt(_0x21e95e(0x1ee))/0x8)+parseInt(_0x21e95e(0x1fa))/0x9+-parseInt(_0x21e95e(0x202))/0xa;if(_0x5e11da===_0x55dc5c)break;else _0x473482['push'](_0x473482['shift']());}catch(_0x5633ff){_0x473482['push'](_0x473482['shift']());}}}(a86_0x37c7,0xea4a0));import{bindExternalUserAccount,USER_ACCOUNT_BIND_PATH}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';function a86_0x34be(_0x4e4dbb,_0x20db91){_0x4e4dbb=_0x4e4dbb-0x1ee;const _0x37c73b=a86_0x37c7();let _0x34beb9=_0x37c73b[_0x4e4dbb];return _0x34beb9;}const CURRENT_BINDING_WARNING=a86_0x29ecaa(0x207),SUPPORTED_PROVIDERS=[a86_0x29ecaa(0x20c)];function readBindingInput(_0x5e07ec){const _0x375270=a86_0x29ecaa,_0x314cf6=_0x5e07ec[_0x375270(0x209)](_0x375270(0x1f5))[_0x375270(0x206)]()[_0x375270(0x203)]();if(!SUPPORTED_PROVIDERS['includes'](_0x314cf6))throw CliErrors[_0x375270(0x201)](_0x375270(0x1fb)+(_0x314cf6||_0x375270(0x208))+'.',_0x375270(0x1f3)+SUPPORTED_PROVIDERS[_0x375270(0x1f2)](',\x20')+'.');const _0x4e93dd=_0x5e07ec['str'](_0x375270(0x1fe))[_0x375270(0x206)]();if(!_0x4e93dd)throw CliErrors[_0x375270(0x201)](_0x375270(0x204),_0x375270(0x1f9));return{'provider':_0x314cf6,'accountId':_0x4e93dd};}function buildBindingData(_0x55c311,_0x1ce7e8,_0x491329){const _0x12473c=a86_0x29ecaa;return{'operation':_0x12473c(0x1f6),'selector':{'provider':_0x55c311,'accountId':_0x1ce7e8},'before':null,'after':{'provider':_0x55c311,'accountId':_0x1ce7e8,'bound':!![]},'dryRun':_0x491329,'warnings':[CURRENT_BINDING_WARNING]};}export const bindUserAccount={'service':a86_0x29ecaa(0x200),'command':a86_0x29ecaa(0x1f6),'description':'Bind\x20the\x20current\x20platform\x20user\x20to\x20an\x20external\x20provider\x20account','risk':a86_0x29ecaa(0x1ff),'confirmationDescription':a86_0x29ecaa(0x1f1),'requiresAuth':!![],'requiresAppCode':![],'flags':[{'name':a86_0x29ecaa(0x1f5),'type':a86_0x29ecaa(0x20d),'required':!![],'enum':[...SUPPORTED_PROVIDERS],'description':'External\x20account\x20provider'},{'name':a86_0x29ecaa(0x1fe),'type':a86_0x29ecaa(0x20d),'required':!![],'description':a86_0x29ecaa(0x1f4)}],async 'validate'(_0x1536a2){readBindingInput(_0x1536a2);},async 'dryRun'(_0x543811){const _0x11455e=a86_0x29ecaa,{provider:_0x2080ec,accountId:_0x28b2bb}=readBindingInput(_0x543811);return{...buildBindingData(_0x2080ec,_0x28b2bb,!![]),'method':_0x11455e(0x20b),'url':USER_ACCOUNT_BIND_PATH,'body':{'provider':_0x2080ec,'accountId':_0x28b2bb}};},async 'execute'(_0xd71151){const _0xdc0893=a86_0x29ecaa,{provider:_0x147090,accountId:_0x2d1326}=readBindingInput(_0xd71151),_0x51fbb1=await bindExternalUserAccount(_0x147090,_0x2d1326);if(_0x51fbb1!==!![])throw CliErrors['apiError']('External\x20account\x20binding\x20was\x20not\x20confirmed.',_0xdc0893(0x205));return{'ok':!![],'data':buildBindingData(_0x147090,_0x2d1326,![]),'message':'Bound\x20current\x20user\x20to\x20external\x20provider\x20account.'};}};
@@ -1 +1 @@
1
- (function(_0x316fdd,_0x80a529){const _0x4bfe78=a87_0x4c19,_0x588507=_0x316fdd();while(!![]){try{const _0x3ae941=parseInt(_0x4bfe78(0x17f))/0x1+parseInt(_0x4bfe78(0x182))/0x2+parseInt(_0x4bfe78(0x186))/0x3+parseInt(_0x4bfe78(0x181))/0x4+parseInt(_0x4bfe78(0x184))/0x5*(-parseInt(_0x4bfe78(0x185))/0x6)+-parseInt(_0x4bfe78(0x17e))/0x7*(parseInt(_0x4bfe78(0x183))/0x8)+parseInt(_0x4bfe78(0x17d))/0x9*(-parseInt(_0x4bfe78(0x180))/0xa);if(_0x3ae941===_0x80a529)break;else _0x588507['push'](_0x588507['shift']());}catch(_0x52cb56){_0x588507['push'](_0x588507['shift']());}}}(a87_0x457e,0x37141));function a87_0x4c19(_0x28a05d,_0x516e4b){_0x28a05d=_0x28a05d-0x17d;const _0x457e30=a87_0x457e();let _0x4c1964=_0x457e30[_0x28a05d];return _0x4c1964;}function a87_0x457e(){const _0x136f78=['4110kMivGn','1380cQlVHb','1123542IPXBEo','3789810IfkmEa','295736CvoNIq','324519JVkEXl','10sLVRHS','598832aArgRL','58516kFdFPS','8KggIUC'];a87_0x457e=function(){return _0x136f78;};return a87_0x457e();}import{bindUserAccount}from'../../commands/user-account/bind.js';export const userAccountDefinitions=[bindUserAccount];
1
+ (function(_0x3f43bd,_0x2d2be6){const _0x25c6cc=a87_0x286f,_0x217ce7=_0x3f43bd();while(!![]){try{const _0x300379=-parseInt(_0x25c6cc(0x10c))/0x1*(-parseInt(_0x25c6cc(0x105))/0x2)+-parseInt(_0x25c6cc(0x10a))/0x3+-parseInt(_0x25c6cc(0x108))/0x4+-parseInt(_0x25c6cc(0x10b))/0x5+parseInt(_0x25c6cc(0x10d))/0x6*(-parseInt(_0x25c6cc(0x109))/0x7)+parseInt(_0x25c6cc(0x106))/0x8*(parseInt(_0x25c6cc(0x107))/0x9)+parseInt(_0x25c6cc(0x104))/0xa;if(_0x300379===_0x2d2be6)break;else _0x217ce7['push'](_0x217ce7['shift']());}catch(_0x40de17){_0x217ce7['push'](_0x217ce7['shift']());}}}(a87_0x37de,0xd943d));function a87_0x286f(_0x6c4756,_0x35c26b){_0x6c4756=_0x6c4756-0x104;const _0x37dea3=a87_0x37de();let _0x286fb0=_0x37dea3[_0x6c4756];return _0x286fb0;}import{bindUserAccount}from'../../commands/user-account/bind.js';function a87_0x37de(){const _0x252b2a=['26386rXpqAs','23664sSRKEl','4113cXaEVb','7072820iIiJVC','28QqVCUU','2147277iBOWRP','8186435QhpmFF','129JZJHAt','1025628JzDyaF','26412170puggwc'];a87_0x37de=function(){return _0x252b2a;};return a87_0x37de();}export const userAccountDefinitions=[bindUserAccount];
@@ -1 +1 @@
1
- const a88_0x4617b1=a88_0x1bab;(function(_0xdde6e6,_0x41d9dd){const _0x5e4ed7=a88_0x1bab,_0x3d1b34=_0xdde6e6();while(!![]){try{const _0x2f399b=-parseInt(_0x5e4ed7(0x9b))/0x1+parseInt(_0x5e4ed7(0xa1))/0x2*(parseInt(_0x5e4ed7(0xa6))/0x3)+-parseInt(_0x5e4ed7(0x94))/0x4+parseInt(_0x5e4ed7(0x8e))/0x5+-parseInt(_0x5e4ed7(0xa4))/0x6*(-parseInt(_0x5e4ed7(0x82))/0x7)+parseInt(_0x5e4ed7(0xb6))/0x8*(-parseInt(_0x5e4ed7(0x79))/0x9)+-parseInt(_0x5e4ed7(0xaf))/0xa;if(_0x2f399b===_0x41d9dd)break;else _0x3d1b34['push'](_0x3d1b34['shift']());}catch(_0x3fcd38){_0x3d1b34['push'](_0x3d1b34['shift']());}}}(a88_0xd59a,0x3ff7b));import{CLI_BIN_NAME}from'../../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../../constant/env.js';import{CliErrors}from'../../errors.js';import{readConfigFile,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../../commands/app/eligibility.js';const WORKSPACE_USE_FLAGS=[{'name':a88_0x4617b1(0x9f),'type':a88_0x4617b1(0x90),'description':'App\x20name\x20to\x20bind\x20as\x20the\x20current\x20workspace\x20default'},{'name':a88_0x4617b1(0x9e),'type':a88_0x4617b1(0x90),'description':a88_0x4617b1(0xb2)},{'name':a88_0x4617b1(0x86),'type':a88_0x4617b1(0x90),'description':a88_0x4617b1(0xa5),'enum':[...RUNTIME_ENV_VALUES]}];async function executeWorkspaceUse(_0x4eec2a,_0x259f41){const _0x1806e5=a88_0x4617b1,_0x3e61f5=_0x4eec2a[_0x1806e5(0xad)](_0x1806e5(0x9f))[_0x1806e5(0xb7)](),_0x2d9072=_0x4eec2a[_0x1806e5(0xad)](_0x1806e5(0x9e))[_0x1806e5(0xb7)](),_0x5f0c2f=_0x4eec2a[_0x1806e5(0xad)](_0x1806e5(0x86))[_0x1806e5(0xb7)](),_0x232fe6=resolveWorkspaceEnv(_0x5f0c2f||_0x4eec2a[_0x1806e5(0x95)]||DEFAULT_CONFIG_VALUES['env']);if(!_0x3e61f5&&!_0x2d9072)throw CliErrors[_0x1806e5(0x7f)]('Missing\x20workspace\x20app\x20selector.',_0x1806e5(0x7b)+CLI_BIN_NAME+_0x1806e5(0x84)+_0x259f41+_0x1806e5(0x80)+CLI_BIN_NAME+'\x20workspace\x20'+_0x259f41+_0x1806e5(0x98));if(_0x3e61f5&&_0x2d9072)throw CliErrors['validation'](_0x1806e5(0x7a),'Pass\x20either\x20--app\x20<name>\x20or\x20--appcode\x20<code>,\x20not\x20both.');const _0x42b518=resolveWriteConfigPath(_0x1806e5(0xa2)),_0x376024=readConfigFile(_0x42b518);assertWorkspaceCommandState(_0x259f41,_0x376024);const _0x1df74e=_0x2d9072||await resolveRemoteAppCode({'command':_0x259f41,'appName':_0x3e61f5,'env':_0x232fe6,'accessKey':_0x4eec2a[_0x1806e5(0x92)]});return writeWorkspaceConfig({'command':_0x259f41,'appName':_0x3e61f5,'appcode':_0x1df74e,'env':_0x232fe6,'shouldWriteEnv':!!_0x5f0c2f,'accessKey':_0x4eec2a[_0x1806e5(0x92)]},_0x42b518,_0x376024),{'ok':!![],'data':{'configPath':_0x42b518,'app':_0x3e61f5||null,'appcode':_0x1df74e,'env':_0x5f0c2f?_0x232fe6:null,'accessKeyWritten':![],'command':_0x1806e5(0x8c)+_0x259f41},'message':buildWorkspaceMessage(_0x42b518,_0x3e61f5,_0x1df74e,_0x5f0c2f?_0x232fe6:undefined)};}async function resolveRemoteAppCode(_0x454c73){const _0x590ef2=a88_0x4617b1;if(!_0x454c73['accessKey'])throw CliErrors[_0x590ef2(0x89)](_0x590ef2(0x97)+CLI_BIN_NAME+_0x590ef2(0x84)+_0x454c73['command']+'.');const {setActiveAK:_0x5d5fc2}=await import(_0x590ef2(0xa0)),{getRemoteAppList:_0x27a668}=await import('../../commands/app/remote-source.js');_0x5d5fc2(_0x454c73['accessKey']);const _0x231486=await _0x27a668({'env':_0x454c73[_0x590ef2(0x86)],'accessKey':_0x454c73[_0x590ef2(0x92)],'noCache':![]}),_0x340d00=findAppByName(_0x231486[_0x590ef2(0xa7)],_0x454c73[_0x590ef2(0x83)]);if(_0x340d00&&!isRuntimeAccessibleApp(_0x340d00))throw runtimeInaccessibleAppError(_0x340d00,'\x22'+_0x454c73[_0x590ef2(0x83)]+'\x22');const _0x35eb01=_0x340d00?.[_0x590ef2(0x9d)]?.[_0x590ef2(0xb7)]();if(_0x35eb01)return _0x35eb01;const _0x45d7a0=_0x231486[_0x590ef2(0xa7)][_0x590ef2(0xa9)](_0x34d00e=>_0x34d00e[_0x590ef2(0x83)])[_0x590ef2(0xb1)](Boolean),_0x2a5577=_0x45d7a0[_0x590ef2(0xa8)]?_0x590ef2(0x8a)+Array[_0x590ef2(0xb0)](new Set(_0x45d7a0))['join'](',\x20')+'.':_0x590ef2(0x8f)+CLI_BIN_NAME+_0x590ef2(0x78);throw CliErrors[_0x590ef2(0x7f)](_0x590ef2(0x9a)+_0x454c73[_0x590ef2(0x83)]+_0x590ef2(0xae),_0x2a5577);}function writeWorkspaceConfig(_0x9f5e18,_0x29e078,_0xa060c9){const _0x5d3ccf=a88_0x4617b1;_0x9f5e18[_0x5d3ccf(0xb5)]&&(_0xa060c9[_0x5d3ccf(0x86)]=_0x9f5e18[_0x5d3ccf(0x86)]);if(_0x9f5e18[_0x5d3ccf(0x83)]){const _0x4fb98f=isRecord(_0xa060c9[_0x5d3ccf(0xb3)])?{..._0xa060c9[_0x5d3ccf(0xb3)]}:{},_0x1e5e84=isRecord(_0x4fb98f[_0x9f5e18[_0x5d3ccf(0x83)]])?_0x4fb98f[_0x9f5e18['appName']]:{};return _0x4fb98f[_0x9f5e18['appName']]={..._0x1e5e84,'appcode':_0x9f5e18['appcode']},_0xa060c9[_0x5d3ccf(0xb3)]=_0x4fb98f,_0xa060c9[_0x5d3ccf(0x99)]=_0x9f5e18[_0x5d3ccf(0x83)],delete _0xa060c9[_0x5d3ccf(0x9e)],delete _0xa060c9[_0x5d3ccf(0x9f)],writeAndReturn(_0x29e078,_0xa060c9);}return _0xa060c9[_0x5d3ccf(0x9e)]=_0x9f5e18[_0x5d3ccf(0x9e)],delete _0xa060c9[_0x5d3ccf(0x99)],delete _0xa060c9[_0x5d3ccf(0x9f)],writeAndReturn(_0x29e078,_0xa060c9);}function writeAndReturn(_0x10fce6,_0xace66a){return writeConfigFile(_0x10fce6,_0xace66a),_0x10fce6;}function resolveWorkspaceEnv(_0x42937f){const _0x3f93f0=a88_0x4617b1;if(RUNTIME_ENV_VALUES['includes'](_0x42937f))return _0x42937f;throw CliErrors[_0x3f93f0(0x7f)](_0x3f93f0(0x85)+_0x42937f+_0x3f93f0(0xab)+RUNTIME_ENV_VALUES['join'](',\x20'));}function buildWorkspaceMessage(_0x557183,_0x3da6d0,_0x47b2d5,_0x4f1561){const _0x21a061=a88_0x4617b1,_0x578cb1=_0x3da6d0?_0x3da6d0+'\x20('+_0x47b2d5+')':_0x47b2d5,_0x4b2785=_0x4f1561?_0x21a061(0x7c)+_0x4f1561:'';return _0x21a061(0x81)+_0x557183+_0x21a061(0x8b)+_0x578cb1+_0x4b2785+_0x21a061(0x88);}function isRecord(_0x5065d9){const _0x139b80=a88_0x4617b1;return typeof _0x5065d9==='object'&&_0x5065d9!==null&&!Array[_0x139b80(0x8d)](_0x5065d9);}function a88_0x1bab(_0x5a7072,_0x280b34){_0x5a7072=_0x5a7072-0x78;const _0xd59a99=a88_0xd59a();let _0x1babc9=_0xd59a99[_0x5a7072];return _0x1babc9;}function hasWorkspaceAppBinding(_0x7e9e41){const _0x5d8283=a88_0x4617b1;if(typeof _0x7e9e41[_0x5d8283(0x9e)]===_0x5d8283(0x90)&&_0x7e9e41[_0x5d8283(0x9e)][_0x5d8283(0xb7)]()[_0x5d8283(0xa8)]>0x0)return!![];if(typeof _0x7e9e41['defaultApp']!==_0x5d8283(0x90)||!_0x7e9e41['defaultApp'][_0x5d8283(0xb7)]())return![];if(!isRecord(_0x7e9e41['apps']))return![];const _0x5f0d28=_0x7e9e41[_0x5d8283(0xb3)][_0x7e9e41[_0x5d8283(0x99)][_0x5d8283(0xb7)]()];return isRecord(_0x5f0d28)&&typeof _0x5f0d28[_0x5d8283(0x9e)]==='string'&&_0x5f0d28['appcode'][_0x5d8283(0xb7)]()['length']>0x0;}function assertWorkspaceCommandState(_0x17782a,_0x5000f9){const _0xb56772=a88_0x4617b1,_0x3f0c69=hasWorkspaceAppBinding(_0x5000f9);if(_0x17782a===_0xb56772(0x91)&&_0x3f0c69)throw CliErrors['validation']('Workspace\x20app\x20context\x20is\x20already\x20initialized.',_0xb56772(0xaa)+CLI_BIN_NAME+_0xb56772(0x7d)+CLI_BIN_NAME+_0xb56772(0xac));if(_0x17782a===_0xb56772(0x96)&&!_0x3f0c69)throw CliErrors[_0xb56772(0x7f)](_0xb56772(0x93),_0xb56772(0x8f)+CLI_BIN_NAME+_0xb56772(0xb8)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20first.');}function a88_0xd59a(){const _0x5d6c7c=['\x20--app\x20<name>\x20[--env\x20daily]\x20or\x20','Workspace\x20configured.\x0aConfig\x20file:\x20','7KbQuzZ','appName','\x20workspace\x20','Invalid\x20env\x20\x22','env','Writes\x20Lovrabet\x20project\x20config\x20in\x20the\x20current\x20working\x20directory\x20when\x20no\x20app\x20is\x20bound\x20yet,\x20and\x20sets\x20the\x20selected\x20app\x20as\x20the\x20directory\x20default.\x20AccessKey\x20is\x20not\x20written.','\x0aAccessKey:\x20not\x20written','authRequired','Available\x20apps:\x20','\x0aDefault\x20app:\x20','workspace\x20','isArray','2215345nrdGVJ','Run\x20`','string','init','accessKey','Workspace\x20app\x20context\x20is\x20not\x20initialized.','1442492fcITSe','envName','use','Resolving\x20--app\x20requires\x20accessKey.\x20Pass\x20--appcode\x20directly,\x20or\x20set\x20accessKey\x20before\x20running\x20','\x20--appcode\x20<code>\x20[--env\x20daily]','defaultApp','App\x20\x22','208457QJYqWX','write','appCode','appcode','app','../../core/api-client.js','44974QrOsKm','project','workspace','3105174mrsKkG','Target\x20environment','45CJqczw','items','length','map','Use\x20`','\x22.\x20Allowed:\x20','\x20workspace\x20use\x20--appcode\x20<code>`\x20to\x20change\x20it.','str','\x22\x20not\x20found.','258010lxYCXc','from','filter','App\x20code\x20to\x20bind\x20directly','apps','Updates\x20the\x20app\x20binding\x20already\x20present\x20in\x20the\x20current\x20working\x20directory\x20and\x20sets\x20the\x20selected\x20app\x20as\x20the\x20directory\x20default.\x20AccessKey\x20is\x20not\x20written.','shouldWriteEnv','3528088idDjwE','trim','\x20workspace\x20init\x20--app\x20<name>`\x20or\x20`','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20pass\x20--appcode\x20directly.','9JTvtwn','Conflicting\x20workspace\x20app\x20selectors.','Usage:\x20','\x0aEnv:\x20','\x20workspace\x20use\x20--app\x20<name>`\x20or\x20`','Initialize\x20app\x20context\x20for\x20the\x20current\x20working\x20directory\x20when\x20no\x20app\x20is\x20bound\x20yet','validation'];a88_0xd59a=function(){return _0x5d6c7c;};return a88_0xd59a();}function makeWorkspaceCommand(_0x25e0ff){const _0x17d391=a88_0x4617b1;return{'service':_0x17d391(0xa3),'command':_0x25e0ff,'description':_0x25e0ff===_0x17d391(0x91)?_0x17d391(0x7e):'Change\x20the\x20app\x20context\x20already\x20bound\x20to\x20the\x20current\x20working\x20directory','risk':_0x17d391(0x9c),'confirmationDescription':_0x25e0ff===_0x17d391(0x91)?_0x17d391(0x87):_0x17d391(0xb4),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':WORKSPACE_USE_FLAGS,async 'execute'(_0xa96131){return executeWorkspaceUse(_0xa96131,_0x25e0ff);}};}export const workspaceDefinitions=[makeWorkspaceCommand(a88_0x4617b1(0x91)),makeWorkspaceCommand(a88_0x4617b1(0x96))];
1
+ const a88_0x39c4a9=a88_0x2869;(function(_0x13fecb,_0x2274fa){const _0x526d58=a88_0x2869,_0x1dd3d3=_0x13fecb();while(!![]){try{const _0x151368=parseInt(_0x526d58(0x19e))/0x1+-parseInt(_0x526d58(0x17a))/0x2*(-parseInt(_0x526d58(0x184))/0x3)+parseInt(_0x526d58(0x1b0))/0x4+parseInt(_0x526d58(0x198))/0x5+-parseInt(_0x526d58(0x1a5))/0x6*(parseInt(_0x526d58(0x17d))/0x7)+parseInt(_0x526d58(0x186))/0x8*(parseInt(_0x526d58(0x197))/0x9)+-parseInt(_0x526d58(0x1af))/0xa*(parseInt(_0x526d58(0x185))/0xb);if(_0x151368===_0x2274fa)break;else _0x1dd3d3['push'](_0x1dd3d3['shift']());}catch(_0x3bd488){_0x1dd3d3['push'](_0x1dd3d3['shift']());}}}(a88_0xc9cc,0x8e679));import{CLI_BIN_NAME}from'../../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../../constant/env.js';import{CliErrors}from'../../errors.js';import{readConfigFile,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../../commands/app/eligibility.js';const WORKSPACE_USE_FLAGS=[{'name':a88_0x39c4a9(0x1a9),'type':a88_0x39c4a9(0x1a4),'description':a88_0x39c4a9(0x180)},{'name':a88_0x39c4a9(0x1a3),'type':'string','description':'App\x20code\x20to\x20bind\x20directly'},{'name':'env','type':a88_0x39c4a9(0x1a4),'description':'Target\x20environment','enum':[...RUNTIME_ENV_VALUES]}];async function executeWorkspaceUse(_0x2e9d7e,_0x23178e){const _0x3fc49c=a88_0x39c4a9,_0x393787=_0x2e9d7e['str'](_0x3fc49c(0x1a9))[_0x3fc49c(0x191)](),_0x28d8e1=_0x2e9d7e[_0x3fc49c(0x195)](_0x3fc49c(0x1a3))[_0x3fc49c(0x191)](),_0x89d0d4=_0x2e9d7e[_0x3fc49c(0x195)]('env')[_0x3fc49c(0x191)](),_0x10c64c=resolveWorkspaceEnv(_0x89d0d4||_0x2e9d7e[_0x3fc49c(0x1b1)]||DEFAULT_CONFIG_VALUES[_0x3fc49c(0x18d)]);if(!_0x393787&&!_0x28d8e1)throw CliErrors[_0x3fc49c(0x19b)](_0x3fc49c(0x1ac),_0x3fc49c(0x189)+CLI_BIN_NAME+_0x3fc49c(0x18b)+_0x23178e+'\x20--app\x20<name>\x20[--env\x20daily]\x20or\x20'+CLI_BIN_NAME+'\x20workspace\x20'+_0x23178e+_0x3fc49c(0x17b));if(_0x393787&&_0x28d8e1)throw CliErrors[_0x3fc49c(0x19b)](_0x3fc49c(0x1b2),'Pass\x20either\x20--app\x20<name>\x20or\x20--appcode\x20<code>,\x20not\x20both.');const _0x26b120=resolveWriteConfigPath(_0x3fc49c(0x183)),_0x5a21bb=readConfigFile(_0x26b120);assertWorkspaceCommandState(_0x23178e,_0x5a21bb);const _0x14b894=_0x28d8e1||await resolveRemoteAppCode({'command':_0x23178e,'appName':_0x393787,'env':_0x10c64c,'accessKey':_0x2e9d7e['accessKey']});return writeWorkspaceConfig({'command':_0x23178e,'appName':_0x393787,'appcode':_0x14b894,'env':_0x10c64c,'shouldWriteEnv':!!_0x89d0d4,'accessKey':_0x2e9d7e[_0x3fc49c(0x17e)]},_0x26b120,_0x5a21bb),{'ok':!![],'data':{'configPath':_0x26b120,'app':_0x393787||null,'appcode':_0x14b894,'env':_0x89d0d4?_0x10c64c:null,'accessKeyWritten':![],'command':_0x3fc49c(0x1a7)+_0x23178e},'message':buildWorkspaceMessage(_0x26b120,_0x393787,_0x14b894,_0x89d0d4?_0x10c64c:undefined)};}async function resolveRemoteAppCode(_0x5171cf){const _0x190ce0=a88_0x39c4a9;if(!_0x5171cf[_0x190ce0(0x17e)])throw CliErrors['authRequired'](_0x190ce0(0x18a)+CLI_BIN_NAME+_0x190ce0(0x18b)+_0x5171cf[_0x190ce0(0x19a)]+'.');const {setActiveAK:_0x5b7c0b}=await import('../../core/api-client.js'),{getRemoteAppList:_0x106aaf}=await import(_0x190ce0(0x19f));_0x5b7c0b(_0x5171cf[_0x190ce0(0x17e)]);const _0x260cc5=await _0x106aaf({'env':_0x5171cf[_0x190ce0(0x18d)],'accessKey':_0x5171cf['accessKey'],'noCache':![]}),_0x4d0ba1=findAppByName(_0x260cc5['items'],_0x5171cf[_0x190ce0(0x1aa)]);if(_0x4d0ba1&&!isRuntimeAccessibleApp(_0x4d0ba1))throw runtimeInaccessibleAppError(_0x4d0ba1,'\x22'+_0x5171cf[_0x190ce0(0x1aa)]+'\x22');const _0x2f9366=_0x4d0ba1?.['appCode']?.['trim']();if(_0x2f9366)return _0x2f9366;const _0xd7cc82=_0x260cc5['items'][_0x190ce0(0x1ab)](_0xa3ba23=>_0xa3ba23[_0x190ce0(0x1aa)])['filter'](Boolean),_0x15ceda=_0xd7cc82[_0x190ce0(0x18f)]?_0x190ce0(0x1ae)+Array[_0x190ce0(0x17c)](new Set(_0xd7cc82))[_0x190ce0(0x17f)](',\x20')+'.':_0x190ce0(0x192)+CLI_BIN_NAME+_0x190ce0(0x19d);throw CliErrors[_0x190ce0(0x19b)](_0x190ce0(0x187)+_0x5171cf[_0x190ce0(0x1aa)]+_0x190ce0(0x19c),_0x15ceda);}function a88_0xc9cc(){const _0x22c4a3=['692711fSBosU','../../commands/app/remote-source.js','\x20workspace\x20init\x20--app\x20<name>`\x20or\x20`','use','Initialize\x20app\x20context\x20for\x20the\x20current\x20working\x20directory\x20when\x20no\x20app\x20is\x20bound\x20yet','appcode','string','57114DOiIka','Workspace\x20app\x20context\x20is\x20already\x20initialized.','workspace\x20','init','app','appName','map','Missing\x20workspace\x20app\x20selector.','\x20workspace\x20use\x20--app\x20<name>`\x20or\x20`','Available\x20apps:\x20','17822330VptFqU','864472jucKoU','envName','Conflicting\x20workspace\x20app\x20selectors.','Workspace\x20app\x20context\x20is\x20not\x20initialized.','272jteJLM','\x20--appcode\x20<code>\x20[--env\x20daily]','from','798tQoZpF','accessKey','join','App\x20name\x20to\x20bind\x20as\x20the\x20current\x20workspace\x20default','Change\x20the\x20app\x20context\x20already\x20bound\x20to\x20the\x20current\x20working\x20directory','shouldWriteEnv','project','19314IwzscY','11PLpiAD','136wTrJgc','App\x20\x22','object','Usage:\x20','Resolving\x20--app\x20requires\x20accessKey.\x20Pass\x20--appcode\x20directly,\x20or\x20set\x20accessKey\x20before\x20running\x20','\x20workspace\x20','apps','env','\x20workspace\x20use\x20--appcode\x20<code>`\x20to\x20change\x20it.','length','\x0aAccessKey:\x20not\x20written','trim','Run\x20`','includes','Writes\x20Lovrabet\x20project\x20config\x20in\x20the\x20current\x20working\x20directory\x20when\x20no\x20app\x20is\x20bound\x20yet,\x20and\x20sets\x20the\x20selected\x20app\x20as\x20the\x20directory\x20default.\x20AccessKey\x20is\x20not\x20written.','str','\x0aEnv:\x20','506241MswEyj','3550290eRSteq','defaultApp','command','validation','\x22\x20not\x20found.','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20pass\x20--appcode\x20directly.'];a88_0xc9cc=function(){return _0x22c4a3;};return a88_0xc9cc();}function writeWorkspaceConfig(_0x537662,_0x17e89d,_0x233413){const _0x50feed=a88_0x39c4a9;_0x537662[_0x50feed(0x182)]&&(_0x233413[_0x50feed(0x18d)]=_0x537662['env']);if(_0x537662[_0x50feed(0x1aa)]){const _0x15d9be=isRecord(_0x233413['apps'])?{..._0x233413[_0x50feed(0x18c)]}:{},_0x1258c8=isRecord(_0x15d9be[_0x537662[_0x50feed(0x1aa)]])?_0x15d9be[_0x537662['appName']]:{};return _0x15d9be[_0x537662[_0x50feed(0x1aa)]]={..._0x1258c8,'appcode':_0x537662[_0x50feed(0x1a3)]},_0x233413[_0x50feed(0x18c)]=_0x15d9be,_0x233413[_0x50feed(0x199)]=_0x537662[_0x50feed(0x1aa)],delete _0x233413[_0x50feed(0x1a3)],delete _0x233413[_0x50feed(0x1a9)],writeAndReturn(_0x17e89d,_0x233413);}return _0x233413[_0x50feed(0x1a3)]=_0x537662['appcode'],delete _0x233413[_0x50feed(0x199)],delete _0x233413[_0x50feed(0x1a9)],writeAndReturn(_0x17e89d,_0x233413);}function writeAndReturn(_0x860763,_0x52ccd4){return writeConfigFile(_0x860763,_0x52ccd4),_0x860763;}function resolveWorkspaceEnv(_0x32f34c){const _0x32b774=a88_0x39c4a9;if(RUNTIME_ENV_VALUES[_0x32b774(0x193)](_0x32f34c))return _0x32f34c;throw CliErrors[_0x32b774(0x19b)]('Invalid\x20env\x20\x22'+_0x32f34c+'\x22.\x20Allowed:\x20'+RUNTIME_ENV_VALUES[_0x32b774(0x17f)](',\x20'));}function buildWorkspaceMessage(_0x37a525,_0xb0f786,_0x26d98b,_0x1ea33b){const _0x14ffa9=a88_0x39c4a9,_0x2c1141=_0xb0f786?_0xb0f786+'\x20('+_0x26d98b+')':_0x26d98b,_0x357b9a=_0x1ea33b?_0x14ffa9(0x196)+_0x1ea33b:'';return'Workspace\x20configured.\x0aConfig\x20file:\x20'+_0x37a525+'\x0aDefault\x20app:\x20'+_0x2c1141+_0x357b9a+_0x14ffa9(0x190);}function a88_0x2869(_0xd0422c,_0x58d20d){_0xd0422c=_0xd0422c-0x17a;const _0xc9cca9=a88_0xc9cc();let _0x2869e0=_0xc9cca9[_0xd0422c];return _0x2869e0;}function isRecord(_0x4d9474){const _0x53301b=a88_0x39c4a9;return typeof _0x4d9474===_0x53301b(0x188)&&_0x4d9474!==null&&!Array['isArray'](_0x4d9474);}function hasWorkspaceAppBinding(_0x4c6e0e){const _0x39dd5d=a88_0x39c4a9;if(typeof _0x4c6e0e[_0x39dd5d(0x1a3)]===_0x39dd5d(0x1a4)&&_0x4c6e0e['appcode'][_0x39dd5d(0x191)]()[_0x39dd5d(0x18f)]>0x0)return!![];if(typeof _0x4c6e0e[_0x39dd5d(0x199)]!==_0x39dd5d(0x1a4)||!_0x4c6e0e[_0x39dd5d(0x199)]['trim']())return![];if(!isRecord(_0x4c6e0e['apps']))return![];const _0x2d85ee=_0x4c6e0e['apps'][_0x4c6e0e['defaultApp'][_0x39dd5d(0x191)]()];return isRecord(_0x2d85ee)&&typeof _0x2d85ee['appcode']==='string'&&_0x2d85ee[_0x39dd5d(0x1a3)][_0x39dd5d(0x191)]()[_0x39dd5d(0x18f)]>0x0;}function assertWorkspaceCommandState(_0x198aab,_0x4b904a){const _0x3979ab=a88_0x39c4a9,_0x5997bb=hasWorkspaceAppBinding(_0x4b904a);if(_0x198aab===_0x3979ab(0x1a8)&&_0x5997bb)throw CliErrors[_0x3979ab(0x19b)](_0x3979ab(0x1a6),'Use\x20`'+CLI_BIN_NAME+_0x3979ab(0x1ad)+CLI_BIN_NAME+_0x3979ab(0x18e));if(_0x198aab===_0x3979ab(0x1a1)&&!_0x5997bb)throw CliErrors[_0x3979ab(0x19b)](_0x3979ab(0x1b3),'Run\x20`'+CLI_BIN_NAME+_0x3979ab(0x1a0)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20first.');}function makeWorkspaceCommand(_0x1b8579){const _0x5d50b7=a88_0x39c4a9;return{'service':'workspace','command':_0x1b8579,'description':_0x1b8579===_0x5d50b7(0x1a8)?_0x5d50b7(0x1a2):_0x5d50b7(0x181),'risk':'write','confirmationDescription':_0x1b8579===_0x5d50b7(0x1a8)?_0x5d50b7(0x194):'Updates\x20the\x20app\x20binding\x20already\x20present\x20in\x20the\x20current\x20working\x20directory\x20and\x20sets\x20the\x20selected\x20app\x20as\x20the\x20directory\x20default.\x20AccessKey\x20is\x20not\x20written.','requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':WORKSPACE_USE_FLAGS,async 'execute'(_0x1273dc){return executeWorkspaceUse(_0x1273dc,_0x1b8579);}};}export const workspaceDefinitions=[makeWorkspaceCommand(a88_0x39c4a9(0x1a8)),makeWorkspaceCommand(a88_0x39c4a9(0x1a1))];
@@ -1 +1 @@
1
- const a89_0x34db4c=a89_0x5aa8;(function(_0x581ce8,_0x24f29a){const _0x3484a9=a89_0x5aa8,_0x4da9a0=_0x581ce8();while(!![]){try{const _0x31df98=parseInt(_0x3484a9(0xd6))/0x1*(parseInt(_0x3484a9(0xd9))/0x2)+-parseInt(_0x3484a9(0xe9))/0x3+-parseInt(_0x3484a9(0xff))/0x4+parseInt(_0x3484a9(0xdc))/0x5+-parseInt(_0x3484a9(0xd8))/0x6+-parseInt(_0x3484a9(0x108))/0x7*(-parseInt(_0x3484a9(0x102))/0x8)+-parseInt(_0x3484a9(0xf4))/0x9;if(_0x31df98===_0x24f29a)break;else _0x4da9a0['push'](_0x4da9a0['shift']());}catch(_0x2a756b){_0x4da9a0['push'](_0x4da9a0['shift']());}}}(a89_0x4d6f,0xa89b2));function a89_0x5aa8(_0x37d9c9,_0x5cb4e4){_0x37d9c9=_0x37d9c9-0xce;const _0x4d6f69=a89_0x4d6f();let _0x5aa891=_0x4d6f69[_0x37d9c9];return _0x5aa891;}import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';import{CliErrors}from'../errors.js';import{ENTERPRISE_ROUTING_DOMAIN_FIELDS,ENTERPRISE_ROUTING_KIND,ENTERPRISE_ROUTING_PROTOCOL,REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS}from'../generated/routing-contract.js';export const DOMAIN_CONFIG_FIELDS=[a89_0x34db4c(0xfd),a89_0x34db4c(0xf6),a89_0x34db4c(0xd3),a89_0x34db4c(0xec)];const DOMAIN_FLAGS={'userDomain':a89_0x34db4c(0x103),'apiDomain':a89_0x34db4c(0xeb),'runtimeDomain':a89_0x34db4c(0xee),'skillDomain':a89_0x34db4c(0xef)};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a89_0x34db4c(0xe0),'platformDomain',a89_0x34db4c(0xd5),a89_0x34db4c(0xe8)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a89_0x34db4c(0xfd),'apiDomain':'apiDomain','runtimeDomain':a89_0x34db4c(0xd3),'skillDomain':'skillDomain'},ROUTING_CONSUMER='lovrabet-cli';export function normalizeDomainOrigin(_0x53cef1,_0x2907b9){const _0x9211d5=a89_0x34db4c;if(typeof _0x2907b9!=='string'||!_0x2907b9[_0x9211d5(0xe3)]())throw CliErrors[_0x9211d5(0xfc)](_0x9211d5(0xf1)+_0x53cef1+_0x9211d5(0xe7));let _0xb916d9;try{_0xb916d9=new URL(_0x2907b9[_0x9211d5(0xe3)]());}catch{throw CliErrors[_0x9211d5(0xfc)](_0x9211d5(0xf1)+_0x53cef1+_0x9211d5(0xed)+_0x2907b9+_0x9211d5(0xd7));}if(_0xb916d9[_0x9211d5(0x109)]!==_0x9211d5(0xe6)||_0xb916d9[_0x9211d5(0x104)]||_0xb916d9['password']||_0xb916d9['pathname']!=='/'&&_0xb916d9[_0x9211d5(0xce)]!==''||_0xb916d9[_0x9211d5(0xdb)]||_0xb916d9[_0x9211d5(0xe2)])throw CliErrors[_0x9211d5(0xfc)](_0x9211d5(0xf1)+_0x53cef1+_0x9211d5(0x101),_0x9211d5(0xf0));return _0xb916d9['origin'];}export function normalizeRoutingDomainValue(_0xe92b55,_0x46df8f){const _0x5982a7=a89_0x34db4c;if(typeof _0x46df8f==='string')return normalizeDomainOrigin(_0xe92b55,_0x46df8f);if(!_0x46df8f||typeof _0x46df8f!==_0x5982a7(0xd0)||Array[_0x5982a7(0xfb)](_0x46df8f))throw CliErrors[_0x5982a7(0xfc)](_0x5982a7(0xf1)+_0xe92b55+':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.');const _0x581b45=_0x46df8f,_0x3bb9af=_0x581b45[ROUTING_CONSUMER]??_0x581b45['default'];if(_0x3bb9af===undefined)throw CliErrors[_0x5982a7(0xfc)](_0x5982a7(0xe5)+_0xe92b55+'\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20'+ROUTING_CONSUMER+_0x5982a7(0xf3));return normalizeDomainOrigin(_0xe92b55,_0x3bb9af);}export function resolveEnterpriseRoutingConfig(_0x460ced){const _0xbe1fb4=a89_0x34db4c;if(_0x460ced===undefined)return undefined;if(!_0x460ced||typeof _0x460ced!==_0xbe1fb4(0xd0)||Array[_0xbe1fb4(0xfb)](_0x460ced))throw CliErrors[_0xbe1fb4(0xfc)](_0xbe1fb4(0xe1));return parseEnterpriseRoutingManifest(_0x460ced)['domains'];}export function readDomainConfigInput(_0x48f756){const _0x35dd47=a89_0x34db4c,_0x4dae4e=isAbsolute(_0x48f756)?_0x48f756:resolve(process[_0x35dd47(0xf7)](),_0x48f756);if(!existsSync(_0x4dae4e))throw CliErrors[_0x35dd47(0xfc)](_0x35dd47(0x105)+_0x4dae4e);let _0x48fdfa;try{_0x48fdfa=JSON['parse'](readFileSync(_0x4dae4e,'utf8'));}catch{throw CliErrors[_0x35dd47(0xfc)](_0x35dd47(0xf8)+_0x4dae4e);}if(!_0x48fdfa||typeof _0x48fdfa!==_0x35dd47(0xd0)||Array['isArray'](_0x48fdfa))throw CliErrors[_0x35dd47(0xfc)](_0x35dd47(0xda));const _0x319697=_0x48fdfa;if(_0x35dd47(0x109)in _0x319697)return parseEnterpriseRoutingManifest(_0x319697);const _0x135bc4=Object[_0x35dd47(0xdf)](_0x319697)[_0x35dd47(0xe4)](_0x417024=>!DOMAIN_CONFIG_FIELDS['includes'](_0x417024));if(_0x135bc4['length']>0x0)throw CliErrors[_0x35dd47(0xfc)]('Unsupported\x20domain\x20config\x20field(s):\x20'+_0x135bc4['join'](',\x20'),_0x35dd47(0x107)+DOMAIN_CONFIG_FIELDS[_0x35dd47(0xf5)](',\x20'));const _0x229eae={};for(const _0x3175ed of DOMAIN_CONFIG_FIELDS){_0x319697[_0x3175ed]!==undefined&&(_0x229eae[_0x3175ed]=normalizeDomainOrigin(_0x3175ed,_0x319697[_0x3175ed]));}if(Object[_0x35dd47(0xdf)](_0x229eae)[_0x35dd47(0x106)]===0x0)throw CliErrors[_0x35dd47(0xfc)](_0x35dd47(0xdd));return{'mode':_0x35dd47(0xfe),'domains':_0x229eae};}export function readDomainConfig(_0x113583){return readDomainConfigInput(_0x113583)['domains'];}export function resolveDomainConfigInput(_0x4cf26b){const _0x3c82aa=a89_0x34db4c,_0x243f74=(_0x4cf26b[_0x3c82aa(0xf9)](_0x3c82aa(0xd4))||'')[_0x3c82aa(0xe3)](),_0x5ab5cb=_0x243f74?readDomainConfigInput(_0x243f74):{'mode':_0x3c82aa(0xfe),'domains':{}},_0x30c836=DOMAIN_CONFIG_FIELDS[_0x3c82aa(0xe4)](_0x652267=>Boolean((_0x4cf26b[_0x3c82aa(0xf9)](DOMAIN_FLAGS[_0x652267])||'')['trim']()));if(_0x5ab5cb[_0x3c82aa(0xde)]===_0x3c82aa(0x100)&&_0x30c836[_0x3c82aa(0x106)]>0x0)throw CliErrors[_0x3c82aa(0xfc)](_0x3c82aa(0xfa),'Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.');for(const _0x1672d5 of DOMAIN_CONFIG_FIELDS){const _0x1b5da8=(_0x4cf26b[_0x3c82aa(0xf9)](DOMAIN_FLAGS[_0x1672d5])||'')[_0x3c82aa(0xe3)]();if(_0x1b5da8)_0x5ab5cb['domains'][_0x1672d5]=normalizeDomainOrigin(_0x1672d5,_0x1b5da8);}return _0x5ab5cb;}export function resolveDomainFlags(_0x560ea4){const _0x44cee4=a89_0x34db4c;return resolveDomainConfigInput(_0x560ea4)[_0x44cee4(0xd1)];}function a89_0x4d6f(){const _0x21cec9=['pathname','\x22\x20and\x20kind\x20\x22','object','domains','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','runtimeDomain','domain-config','skillHubDomain','13WmxeJJ','\x22\x20is\x20not\x20a\x20valid\x20URL.','6070098fizlSf','199942dLPsic','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','search','5134040gofdaT','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','mode','keys','agentDomain','Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.','hash','trim','filter','Enterprise\x20','https:',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','kbDomain','525762gcxGrj','kind','api-domain','skillDomain',':\x20\x22','runtime-domain','skill-domain','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','Invalid\x20','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','\x20and\x20has\x20no\x20default.','15258582WWVGAb','join','apiDomain','cwd','Invalid\x20domain\x20config\x20JSON:\x20','str','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','isArray','validation','userDomain','legacy','118900cqBBYu','enterprise-v1',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','109784ksfbmM','user-domain','username','Domain\x20config\x20file\x20not\x20found:\x20','length','Allowed\x20fields:\x20','651jSyteb','protocol'];a89_0x4d6f=function(){return _0x21cec9;};return a89_0x4d6f();}export function parseEnterpriseRoutingManifest(_0xfb34ed){const _0x16f700=a89_0x34db4c;if(_0xfb34ed[_0x16f700(0x109)]!==ENTERPRISE_ROUTING_PROTOCOL||_0xfb34ed[_0x16f700(0xea)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x16f700(0xfc)]('Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22'+ENTERPRISE_ROUTING_PROTOCOL+_0x16f700(0xcf)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0xfb34ed['domains']||typeof _0xfb34ed[_0x16f700(0xd1)]!==_0x16f700(0xd0)||Array[_0x16f700(0xfb)](_0xfb34ed['domains']))throw CliErrors[_0x16f700(0xfc)](_0x16f700(0xd2));const _0xd8507c=_0xfb34ed[_0x16f700(0xd1)],_0x5bdac4=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x16f700(0xe4)](_0xb01989=>_0xd8507c[_0xb01989]===undefined);if(_0x5bdac4[_0x16f700(0x106)]>0x0)throw CliErrors[_0x16f700(0xfc)](_0x16f700(0xf2)+_0x5bdac4[_0x16f700(0xf5)](',\x20'));const _0x2865c1={},_0x14d64e={};for(const _0x26f63a of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x15caa3=_0xd8507c[_0x26f63a];if(_0x15caa3===undefined)continue;const _0x489494=normalizeRoutingDomainValue(_0x26f63a,_0x15caa3);_0x2865c1[_0x26f63a]=_0x489494;const _0x2b8399=ENTERPRISE_TO_LOCAL_FIELD[_0x26f63a];_0x2b8399&&(_0x14d64e[_0x2b8399]=_0x489494);}return{'mode':'enterprise-v1','domains':_0x14d64e,'manifestDomains':_0x2865c1};}
1
+ const a89_0x4df8af=a89_0x319a;(function(_0x26388e,_0x264649){const _0x438d1a=a89_0x319a,_0xe5af8c=_0x26388e();while(!![]){try{const _0x4636bc=-parseInt(_0x438d1a(0x16c))/0x1+-parseInt(_0x438d1a(0x169))/0x2+parseInt(_0x438d1a(0x189))/0x3+-parseInt(_0x438d1a(0x175))/0x4*(-parseInt(_0x438d1a(0x182))/0x5)+-parseInt(_0x438d1a(0x196))/0x6*(parseInt(_0x438d1a(0x176))/0x7)+-parseInt(_0x438d1a(0x18f))/0x8+parseInt(_0x438d1a(0x192))/0x9;if(_0x4636bc===_0x264649)break;else _0xe5af8c['push'](_0xe5af8c['shift']());}catch(_0x4b0ad3){_0xe5af8c['push'](_0xe5af8c['shift']());}}}(a89_0x3e40,0x3a04b));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';import{CliErrors}from'../errors.js';import{ENTERPRISE_ROUTING_DOMAIN_FIELDS,ENTERPRISE_ROUTING_KIND,ENTERPRISE_ROUTING_PROTOCOL,REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS}from'../generated/routing-contract.js';export const DOMAIN_CONFIG_FIELDS=['userDomain',a89_0x4df8af(0x1a1),a89_0x4df8af(0x179),'skillDomain'];const DOMAIN_FLAGS={'userDomain':a89_0x4df8af(0x19e),'apiDomain':a89_0x4df8af(0x173),'runtimeDomain':a89_0x4df8af(0x194),'skillDomain':a89_0x4df8af(0x177)};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a89_0x4df8af(0x17b),a89_0x4df8af(0x18b),'skillHubDomain',a89_0x4df8af(0x178)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a89_0x4df8af(0x168),'apiDomain':a89_0x4df8af(0x1a1),'runtimeDomain':a89_0x4df8af(0x179),'skillDomain':'skillDomain'},ROUTING_CONSUMER=a89_0x4df8af(0x19d);export function normalizeDomainOrigin(_0x34bcc8,_0x1de074){const _0x5dfaf7=a89_0x4df8af;if(typeof _0x1de074!==_0x5dfaf7(0x17d)||!_0x1de074['trim']())throw CliErrors[_0x5dfaf7(0x190)](_0x5dfaf7(0x185)+_0x34bcc8+_0x5dfaf7(0x187));let _0x3985f1;try{_0x3985f1=new URL(_0x1de074[_0x5dfaf7(0x17e)]());}catch{throw CliErrors[_0x5dfaf7(0x190)](_0x5dfaf7(0x185)+_0x34bcc8+_0x5dfaf7(0x172)+_0x1de074+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x3985f1[_0x5dfaf7(0x195)]!==_0x5dfaf7(0x183)||_0x3985f1['username']||_0x3985f1[_0x5dfaf7(0x170)]||_0x3985f1[_0x5dfaf7(0x19f)]!=='/'&&_0x3985f1['pathname']!==''||_0x3985f1['search']||_0x3985f1[_0x5dfaf7(0x16e)])throw CliErrors[_0x5dfaf7(0x190)]('Invalid\x20'+_0x34bcc8+':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.',_0x5dfaf7(0x199));return _0x3985f1[_0x5dfaf7(0x18c)];}export function normalizeRoutingDomainValue(_0x1a8cff,_0x1303b6){const _0x1ec2dc=a89_0x4df8af;if(typeof _0x1303b6===_0x1ec2dc(0x17d))return normalizeDomainOrigin(_0x1a8cff,_0x1303b6);if(!_0x1303b6||typeof _0x1303b6!=='object'||Array[_0x1ec2dc(0x167)](_0x1303b6))throw CliErrors['validation'](_0x1ec2dc(0x185)+_0x1a8cff+_0x1ec2dc(0x17f));const _0x21fd6a=_0x1303b6,_0x1becee=_0x21fd6a[ROUTING_CONSUMER]??_0x21fd6a['default'];if(_0x1becee===undefined)throw CliErrors[_0x1ec2dc(0x190)](_0x1ec2dc(0x17c)+_0x1a8cff+'\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20'+ROUTING_CONSUMER+_0x1ec2dc(0x186));return normalizeDomainOrigin(_0x1a8cff,_0x1becee);}export function resolveEnterpriseRoutingConfig(_0xd97e38){const _0x317d39=a89_0x4df8af;if(_0xd97e38===undefined)return undefined;if(!_0xd97e38||typeof _0xd97e38!==_0x317d39(0x16a)||Array['isArray'](_0xd97e38))throw CliErrors[_0x317d39(0x190)](_0x317d39(0x166));return parseEnterpriseRoutingManifest(_0xd97e38)[_0x317d39(0x181)];}function a89_0x3e40(){const _0x97e7f4=['domains','5RgFVsx','https:','length','Invalid\x20','\x20and\x20has\x20no\x20default.',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','keys','113874ObtceP','str','platformDomain','origin','kind','utf8','3795696uVzdQq','validation','Domain\x20config\x20file\x20not\x20found:\x20','6026103rqfabG','\x22\x20and\x20kind\x20\x22','runtime-domain','protocol','12FaUHur','legacy','filter','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','Allowed\x20fields:\x20','join','lovrabet-cli','user-domain','pathname','includes','apiDomain','Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.','isArray','userDomain','386652AskkUz','object','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22','153377gZMuXh','domain-config','hash','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','password','Invalid\x20domain\x20config\x20JSON:\x20',':\x20\x22','api-domain','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','1407716vRCanK','2261NQXzpF','skill-domain','kbDomain','runtimeDomain','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','agentDomain','Enterprise\x20','string','trim',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.','enterprise-v1'];a89_0x3e40=function(){return _0x97e7f4;};return a89_0x3e40();}export function readDomainConfigInput(_0x2699df){const _0x5d4b07=a89_0x4df8af,_0x21c7f7=isAbsolute(_0x2699df)?_0x2699df:resolve(process['cwd'](),_0x2699df);if(!existsSync(_0x21c7f7))throw CliErrors[_0x5d4b07(0x190)](_0x5d4b07(0x191)+_0x21c7f7);let _0xc0bb5a;try{_0xc0bb5a=JSON['parse'](readFileSync(_0x21c7f7,_0x5d4b07(0x18e)));}catch{throw CliErrors[_0x5d4b07(0x190)](_0x5d4b07(0x171)+_0x21c7f7);}if(!_0xc0bb5a||typeof _0xc0bb5a!=='object'||Array['isArray'](_0xc0bb5a))throw CliErrors['validation']('Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.');const _0x2777de=_0xc0bb5a;if(_0x5d4b07(0x195)in _0x2777de)return parseEnterpriseRoutingManifest(_0x2777de);const _0x3ca53e=Object[_0x5d4b07(0x188)](_0x2777de)[_0x5d4b07(0x198)](_0x1a7ed7=>!DOMAIN_CONFIG_FIELDS[_0x5d4b07(0x1a0)](_0x1a7ed7));if(_0x3ca53e['length']>0x0)throw CliErrors[_0x5d4b07(0x190)]('Unsupported\x20domain\x20config\x20field(s):\x20'+_0x3ca53e[_0x5d4b07(0x19c)](',\x20'),_0x5d4b07(0x19b)+DOMAIN_CONFIG_FIELDS[_0x5d4b07(0x19c)](',\x20'));const _0x5b0b7e={};for(const _0x182ab3 of DOMAIN_CONFIG_FIELDS){_0x2777de[_0x182ab3]!==undefined&&(_0x5b0b7e[_0x182ab3]=normalizeDomainOrigin(_0x182ab3,_0x2777de[_0x182ab3]));}if(Object['keys'](_0x5b0b7e)[_0x5d4b07(0x184)]===0x0)throw CliErrors[_0x5d4b07(0x190)](_0x5d4b07(0x174));return{'mode':'legacy','domains':_0x5b0b7e};}function a89_0x319a(_0x22dce4,_0x361659){_0x22dce4=_0x22dce4-0x166;const _0x3e4063=a89_0x3e40();let _0x319aae=_0x3e4063[_0x22dce4];return _0x319aae;}export function readDomainConfig(_0x5dd7b5){const _0x4c9c91=a89_0x4df8af;return readDomainConfigInput(_0x5dd7b5)[_0x4c9c91(0x181)];}export function resolveDomainConfigInput(_0x576662){const _0x667b37=a89_0x4df8af,_0x2476f6=(_0x576662[_0x667b37(0x18a)](_0x667b37(0x16d))||'')[_0x667b37(0x17e)](),_0x573f11=_0x2476f6?readDomainConfigInput(_0x2476f6):{'mode':_0x667b37(0x197),'domains':{}},_0x35b82a=DOMAIN_CONFIG_FIELDS[_0x667b37(0x198)](_0x1e5907=>Boolean((_0x576662[_0x667b37(0x18a)](DOMAIN_FLAGS[_0x1e5907])||'')[_0x667b37(0x17e)]()));if(_0x573f11['mode']===_0x667b37(0x180)&&_0x35b82a[_0x667b37(0x184)]>0x0)throw CliErrors[_0x667b37(0x190)](_0x667b37(0x17a),_0x667b37(0x16f));for(const _0x2862ba of DOMAIN_CONFIG_FIELDS){const _0x36eb22=(_0x576662[_0x667b37(0x18a)](DOMAIN_FLAGS[_0x2862ba])||'')[_0x667b37(0x17e)]();if(_0x36eb22)_0x573f11['domains'][_0x2862ba]=normalizeDomainOrigin(_0x2862ba,_0x36eb22);}return _0x573f11;}export function resolveDomainFlags(_0x4797ab){return resolveDomainConfigInput(_0x4797ab)['domains'];}export function parseEnterpriseRoutingManifest(_0x28f672){const _0x301065=a89_0x4df8af;if(_0x28f672['protocol']!==ENTERPRISE_ROUTING_PROTOCOL||_0x28f672[_0x301065(0x18d)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors['validation'](_0x301065(0x16b)+ENTERPRISE_ROUTING_PROTOCOL+_0x301065(0x193)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x28f672['domains']||typeof _0x28f672[_0x301065(0x181)]!==_0x301065(0x16a)||Array[_0x301065(0x167)](_0x28f672['domains']))throw CliErrors[_0x301065(0x190)](_0x301065(0x19a));const _0x399f32=_0x28f672[_0x301065(0x181)],_0x300f80=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x301065(0x198)](_0x154ea5=>_0x399f32[_0x154ea5]===undefined);if(_0x300f80['length']>0x0)throw CliErrors[_0x301065(0x190)]('Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20'+_0x300f80['join'](',\x20'));const _0x4333fe={},_0x5212e9={};for(const _0x83e62f of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x5edd56=_0x399f32[_0x83e62f];if(_0x5edd56===undefined)continue;const _0xd37941=normalizeRoutingDomainValue(_0x83e62f,_0x5edd56);_0x4333fe[_0x83e62f]=_0xd37941;const _0x375658=ENTERPRISE_TO_LOCAL_FIELD[_0x83e62f];_0x375658&&(_0x5212e9[_0x375658]=_0xd37941);}return{'mode':_0x301065(0x180),'domains':_0x5212e9,'manifestDomains':_0x4333fe};}
@@ -1 +1 @@
1
- const a90_0xbcd07e=a90_0x4e01;(function(_0x4769e3,_0x5dba87){const _0x410cab=a90_0x4e01,_0x3e5b85=_0x4769e3();while(!![]){try{const _0x2a315a=-parseInt(_0x410cab(0x100))/0x1*(parseInt(_0x410cab(0x106))/0x2)+parseInt(_0x410cab(0xf0))/0x3+-parseInt(_0x410cab(0xf7))/0x4+-parseInt(_0x410cab(0xf1))/0x5+parseInt(_0x410cab(0x104))/0x6*(parseInt(_0x410cab(0xee))/0x7)+parseInt(_0x410cab(0xf8))/0x8+parseInt(_0x410cab(0xe7))/0x9;if(_0x2a315a===_0x5dba87)break;else _0x3e5b85['push'](_0x3e5b85['shift']());}catch(_0x207212){_0x3e5b85['push'](_0x3e5b85['shift']());}}}(a90_0x4ada,0x79ff6));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';function a90_0x4ada(){const _0x1e0d33=['fromEntries','toLowerCase','legacyCompatOnly','Versioned\x20enterprise\x20routing\x20manifest','cliSettableTopLevel','3831476SyGpEs','1339904RQqwuk','Override\x20user\x20domain','Default\x20page\x20size','map','format','importable','Default\x20output\x20format',';\x20local\x20alias:\x20apps.<alias>.appcode','7zeJwww','filter','Risk\x20level','en-US','12tODbXI','Override\x20runtime\x20domain','85334LPTfux','defaultValue','env','Override\x20API\x20domain','entries','12838590AoKQSw','riskLevel','has','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','Target\x20environment','zh-CN','enumValues','2255519TqLPMa','nativeToolAvailable','591069rQCOtL','3396075SqNfgE'];a90_0x4ada=function(){return _0x1e0d33;};return a90_0x4ada();}import{DEFAULT_LOVRABET_REGION,ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export const CONFIG_FIELD_SCHEMAS={'routing':{'description':a90_0xbcd07e(0xf5),'topLevel':!![]},'region':{'description':'Lovrabet\x20region','topLevel':!![],'cliSettableTopLevel':!![],'enumValues':ENABLED_LOVRABET_REGION_VALUES,'defaultValue':DEFAULT_LOVRABET_REGION,'importable':!![]},'env':{'description':a90_0xbcd07e(0xeb),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a90_0xbcd07e(0x108)],'importable':!![]},'format':{'description':a90_0xbcd07e(0xfe),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a90_0xbcd07e(0xfc)],'importable':!![]},'pageSize':{'description':a90_0xbcd07e(0xfa),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a90_0xbcd07e(0x109),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a90_0xbcd07e(0xf9),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a90_0xbcd07e(0x105),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillDomain':{'description':'Override\x20SkillHub\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':'Access\x20key\x20(client-ak\x20auth)','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a90_0xbcd07e(0x102),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['riskLevel'],'importable':!![]},'nativeToolAvailable':{'description':'Native\x20Lovrabet\x20tool\x20availability\x20in\x20the\x20current\x20execution\x20host','topLevel':!![],'defaultValue':![]},'locale':{'description':a90_0xbcd07e(0xea),'topLevel':!![],'cliSettableTopLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['locale'],'importable':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a90_0xbcd07e(0xe6)](CONFIG_FIELD_SCHEMAS)[a90_0xbcd07e(0x101)](([,_0x214dcf])=>_0x214dcf[a90_0xbcd07e(0xf6)])[a90_0xbcd07e(0xfb)](([_0x3dd131])=>_0x3dd131));export const CLI_PROTECTED_CONFIG_KEYS=new Set([a90_0xbcd07e(0xe8),a90_0xbcd07e(0xef)]);export const CONFIG_ENUM_VALUES=Object[a90_0xbcd07e(0xf2)](Object[a90_0xbcd07e(0xe6)](CONFIG_FIELD_SCHEMAS)[a90_0xbcd07e(0x101)](([,_0x26c69a])=>_0x26c69a[a90_0xbcd07e(0xed)])['map'](([_0xabc4ff,_0x459d4f])=>[_0xabc4ff,[..._0x459d4f[a90_0xbcd07e(0xed)]||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a90_0xbcd07e(0xe6)](CONFIG_FIELD_SCHEMAS)[a90_0xbcd07e(0x101)](([,_0x2b2dad])=>_0x2b2dad[a90_0xbcd07e(0xfd)])['map'](([_0x5a368b])=>_0x5a368b);function a90_0x4e01(_0x785992,_0x1e8876){_0x785992=_0x785992-0xe6;const _0x4ada83=a90_0x4ada();let _0x4e01dc=_0x4ada83[_0x785992];return _0x4e01dc;}export function getConfigFieldSchema(_0x16c1d3){return CONFIG_FIELD_SCHEMAS[_0x16c1d3];}export function getConfigEnumValues(_0x4df9b5){const _0x2ebf19=a90_0xbcd07e;return getConfigFieldSchema(_0x4df9b5)?.[_0x2ebf19(0xed)];}export function getConfigDefaultValue(_0x32efc4){const _0x13e628=a90_0xbcd07e;return getConfigFieldSchema(_0x32efc4)?.[_0x13e628(0x107)];}export function isTopLevelConfigKey(_0x1f084e){return TOP_LEVEL_CONFIG_KEYS['has'](_0x1f084e);}export function isCliProtectedConfigKey(_0x458c34){const _0x1eecf8=a90_0xbcd07e;return CLI_PROTECTED_CONFIG_KEYS[_0x1eecf8(0xe9)](_0x458c34);}const LOCALE_MAP={'zh':a90_0xbcd07e(0xec),'zh-cn':a90_0xbcd07e(0xec),'zh_cn':a90_0xbcd07e(0xec),'en':a90_0xbcd07e(0x103),'en-us':a90_0xbcd07e(0x103),'en_us':'en-US'};export function normalizeLocale(_0x1dec5a){const _0x516d5c=a90_0xbcd07e;if(!_0x1dec5a)return null;return LOCALE_MAP[_0x1dec5a[_0x516d5c(0xf3)]()]??null;}export function isLegacyCompatConfigKey(_0x58c015){const _0x2e0f78=a90_0xbcd07e;return getConfigFieldSchema(_0x58c015)?.[_0x2e0f78(0xf4)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x45b4a8){return[..._0x45b4a8]['join'](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x4abaa5=a90_0xbcd07e;return'Config\x20key.\x20Top-level:\x20'+getTopLevelConfigKeySummary()+_0x4abaa5(0xff);}export function buildAppProfileListFields(_0x65872){return{'env':_0x65872,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
1
+ const a90_0x2b851f=a90_0x1111;(function(_0x2904fe,_0x42cb01){const _0x37d781=a90_0x1111,_0x1cd60e=_0x2904fe();while(!![]){try{const _0x72135b=-parseInt(_0x37d781(0xab))/0x1+-parseInt(_0x37d781(0xb4))/0x2+parseInt(_0x37d781(0xa9))/0x3+-parseInt(_0x37d781(0xa5))/0x4+parseInt(_0x37d781(0xb1))/0x5*(-parseInt(_0x37d781(0xb6))/0x6)+parseInt(_0x37d781(0x9d))/0x7*(-parseInt(_0x37d781(0xa0))/0x8)+parseInt(_0x37d781(0xa1))/0x9;if(_0x72135b===_0x42cb01)break;else _0x1cd60e['push'](_0x1cd60e['shift']());}catch(_0x512844){_0x1cd60e['push'](_0x1cd60e['shift']());}}}(a90_0x5c13,0x8544f));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';function a90_0x1111(_0x4a626d,_0x4576a2){_0x4a626d=_0x4a626d-0x98;const _0x5c1301=a90_0x5c13();let _0x1111d3=_0x5c1301[_0x4a626d];return _0x1111d3;}import{RUNTIME_ENV_VALUES}from'../constant/env.js';import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{DEFAULT_LOVRABET_REGION,ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export const CONFIG_FIELD_SCHEMAS={'routing':{'description':a90_0x2b851f(0xbd),'topLevel':!![]},'region':{'description':a90_0x2b851f(0xba),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':ENABLED_LOVRABET_REGION_VALUES,'defaultValue':DEFAULT_LOVRABET_REGION,'importable':!![]},'env':{'description':'Target\x20environment','topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a90_0x2b851f(0xa6)],'importable':!![]},'format':{'description':a90_0x2b851f(0x99),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a90_0x2b851f(0xb0)],'importable':!![]},'pageSize':{'description':a90_0x2b851f(0xa7),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':'Override\x20API\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a90_0x2b851f(0xb9),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a90_0x2b851f(0x98),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillDomain':{'description':'Override\x20SkillHub\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':a90_0x2b851f(0xa3),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a90_0x2b851f(0xad),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a90_0x2b851f(0xb8)],'importable':!![]},'nativeToolAvailable':{'description':a90_0x2b851f(0xb2),'topLevel':!![],'defaultValue':![]},'locale':{'description':a90_0x2b851f(0xa4),'topLevel':!![],'cliSettableTopLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a90_0x2b851f(0xaf)],'importable':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object['entries'](CONFIG_FIELD_SCHEMAS)[a90_0x2b851f(0xb7)](([,_0x49d7e5])=>_0x49d7e5[a90_0x2b851f(0xbc)])[a90_0x2b851f(0x9a)](([_0x4fc677])=>_0x4fc677));export const CLI_PROTECTED_CONFIG_KEYS=new Set([a90_0x2b851f(0xb8),a90_0x2b851f(0xa8)]);export const CONFIG_ENUM_VALUES=Object[a90_0x2b851f(0xb3)](Object[a90_0x2b851f(0x9e)](CONFIG_FIELD_SCHEMAS)[a90_0x2b851f(0xb7)](([,_0x6788e8])=>_0x6788e8['enumValues'])[a90_0x2b851f(0x9a)](([_0x3af31f,_0x20f513])=>[_0x3af31f,[..._0x20f513[a90_0x2b851f(0x9c)]||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a90_0x2b851f(0x9e)](CONFIG_FIELD_SCHEMAS)[a90_0x2b851f(0xb7)](([,_0x124e59])=>_0x124e59[a90_0x2b851f(0xae)])[a90_0x2b851f(0x9a)](([_0x3129c9])=>_0x3129c9);function a90_0x5c13(){const _0x2dcf65=['locale','format','2144535AYbRTv','Native\x20Lovrabet\x20tool\x20availability\x20in\x20the\x20current\x20execution\x20host','fromEntries','1111018SPPFHv','zh-CN','6HkVDBQ','filter','riskLevel','Override\x20user\x20domain','Lovrabet\x20region','Config\x20key.\x20Top-level:\x20','cliSettableTopLevel','Versioned\x20enterprise\x20routing\x20manifest','Override\x20runtime\x20domain','Default\x20output\x20format','map','toLowerCase','enumValues','6454bJmEno','entries','has','8456rDLNbo','30986379GRNKrz','join','Access\x20key\x20(client-ak\x20auth)','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','2177976szggsM','env','Default\x20page\x20size','nativeToolAvailable','1335138mjholO','en-US','838642cGtZnI','defaultValue','Risk\x20level','importable'];a90_0x5c13=function(){return _0x2dcf65;};return a90_0x5c13();}export function getConfigFieldSchema(_0x1ad50f){return CONFIG_FIELD_SCHEMAS[_0x1ad50f];}export function getConfigEnumValues(_0x850161){const _0x2ab1a5=a90_0x2b851f;return getConfigFieldSchema(_0x850161)?.[_0x2ab1a5(0x9c)];}export function getConfigDefaultValue(_0x1522b8){const _0x28fa81=a90_0x2b851f;return getConfigFieldSchema(_0x1522b8)?.[_0x28fa81(0xac)];}export function isTopLevelConfigKey(_0x9c5099){return TOP_LEVEL_CONFIG_KEYS['has'](_0x9c5099);}export function isCliProtectedConfigKey(_0x5a69de){const _0x5b255a=a90_0x2b851f;return CLI_PROTECTED_CONFIG_KEYS[_0x5b255a(0x9f)](_0x5a69de);}const LOCALE_MAP={'zh':'zh-CN','zh-cn':a90_0x2b851f(0xb5),'zh_cn':'zh-CN','en':'en-US','en-us':a90_0x2b851f(0xaa),'en_us':a90_0x2b851f(0xaa)};export function normalizeLocale(_0x30ba02){const _0x5fac0f=a90_0x2b851f;if(!_0x30ba02)return null;return LOCALE_MAP[_0x30ba02[_0x5fac0f(0x9b)]()]??null;}export function isLegacyCompatConfigKey(_0x174fed){return getConfigFieldSchema(_0x174fed)?.['legacyCompatOnly']===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x4e502c){const _0xe7af58=a90_0x2b851f;return[..._0x4e502c][_0xe7af58(0xa2)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x3b41aa=a90_0x2b851f;return _0x3b41aa(0xbb)+getTopLevelConfigKeySummary()+';\x20local\x20alias:\x20apps.<alias>.appcode';}export function buildAppProfileListFields(_0xa6dfd9){return{'env':_0xa6dfd9,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
@@ -1 +1 @@
1
- const a91_0x70cbce=a91_0x5ce7;function a91_0x3ea5(){const _0x26f707=['545zoCsWm','6595976SadFSS','777729uwsgHR','Published','UNPUBLISH','8612cLXUEK','660201QIBNcY','PUBLISHED','81884esToXY','458941nJNSbu','4089330MLQQHS'];a91_0x3ea5=function(){return _0x26f707;};return a91_0x3ea5();}(function(_0x13a36e,_0xee504c){const _0x33d57e=a91_0x5ce7,_0x26e303=_0x13a36e();while(!![]){try{const _0x861c8b=parseInt(_0x33d57e(0x1ad))/0x1+parseInt(_0x33d57e(0x1b3))/0x2+-parseInt(_0x33d57e(0x1b1))/0x3+-parseInt(_0x33d57e(0x1b0))/0x4*(parseInt(_0x33d57e(0x1ab))/0x5)+-parseInt(_0x33d57e(0x1b5))/0x6+-parseInt(_0x33d57e(0x1b4))/0x7+parseInt(_0x33d57e(0x1ac))/0x8;if(_0x861c8b===_0xee504c)break;else _0x26e303['push'](_0x26e303['shift']());}catch(_0x594adc){_0x26e303['push'](_0x26e303['shift']());}}}(a91_0x3ea5,0x6bbda));export const APP_PUBLISH_STATUS={'Published':a91_0x70cbce(0x1b2),'Unpublished':a91_0x70cbce(0x1af)};function a91_0x5ce7(_0x119f75,_0x4e0e43){_0x119f75=_0x119f75-0x1ab;const _0x3ea523=a91_0x3ea5();let _0x5ce73b=_0x3ea523[_0x119f75];return _0x5ce73b;}export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a91_0x70cbce(0x1ae)];
1
+ const a91_0xfff420=a91_0x5269;function a91_0x5269(_0x55d6c1,_0x52738a){_0x55d6c1=_0x55d6c1-0x1b6;const _0x1c8e9a=a91_0x1c8e();let _0x526903=_0x1c8e9a[_0x55d6c1];return _0x526903;}(function(_0x59601f,_0x2aae95){const _0x1db50e=a91_0x5269,_0xfb3821=_0x59601f();while(!![]){try{const _0x54f74e=parseInt(_0x1db50e(0x1b7))/0x1*(parseInt(_0x1db50e(0x1c2))/0x2)+parseInt(_0x1db50e(0x1bc))/0x3+parseInt(_0x1db50e(0x1c0))/0x4+parseInt(_0x1db50e(0x1c3))/0x5*(-parseInt(_0x1db50e(0x1be))/0x6)+parseInt(_0x1db50e(0x1b8))/0x7*(parseInt(_0x1db50e(0x1c4))/0x8)+-parseInt(_0x1db50e(0x1bf))/0x9*(-parseInt(_0x1db50e(0x1b9))/0xa)+-parseInt(_0x1db50e(0x1c1))/0xb*(parseInt(_0x1db50e(0x1b6))/0xc);if(_0x54f74e===_0x2aae95)break;else _0xfb3821['push'](_0xfb3821['shift']());}catch(_0x4a2c0a){_0xfb3821['push'](_0xfb3821['shift']());}}}(a91_0x1c8e,0x92cc8));export const APP_PUBLISH_STATUS={'Published':a91_0xfff420(0x1ba),'Unpublished':a91_0xfff420(0x1bb)};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a91_0xfff420(0x1bd)];function a91_0x1c8e(){const _0x4d2511=['370785iYagCP','Published','6bSOWEK','5592087GVpZnS','2645140gvlJlU','6908jzRPYe','505982fJUpqM','2409345ZAenwN','16YLGmhn','35616VvtISU','4cgeSMu','1851059JdvaON','10GLviAh','PUBLISHED','UNPUBLISH'];a91_0x1c8e=function(){return _0x4d2511;};return a91_0x1c8e();}
@@ -1 +1 @@
1
- function a92_0x575b(){const _0x15f14f=['client-ak','8366616yeXyIQ','4482eypFHj','438765haZAZr','3048104PZmhdS','ClientAk','1051217XUWBPp','3840270vzXMUY','2926EufQtc','1450488RwjqeL','2mhLSBA','8rDlTzn'];a92_0x575b=function(){return _0x15f14f;};return a92_0x575b();}function a92_0x4ebd(_0x3a0d2b,_0x5b706e){_0x3a0d2b=_0x3a0d2b-0xea;const _0x575b51=a92_0x575b();let _0x4ebd60=_0x575b51[_0x3a0d2b];return _0x4ebd60;}const a92_0x43dc7b=a92_0x4ebd;(function(_0x3f1d9f,_0x198053){const _0x20fb59=a92_0x4ebd,_0x1b2155=_0x3f1d9f();while(!![]){try{const _0xe84f30=-parseInt(_0x20fb59(0xf3))/0x1*(-parseInt(_0x20fb59(0xeb))/0x2)+-parseInt(_0x20fb59(0xea))/0x3*(parseInt(_0x20fb59(0xec))/0x4)+parseInt(_0x20fb59(0xf0))/0x5+-parseInt(_0x20fb59(0xef))/0x6*(parseInt(_0x20fb59(0xf5))/0x7)+parseInt(_0x20fb59(0xf1))/0x8+parseInt(_0x20fb59(0xee))/0x9+-parseInt(_0x20fb59(0xf4))/0xa;if(_0xe84f30===_0x198053)break;else _0x1b2155['push'](_0x1b2155['shift']());}catch(_0x40d19f){_0x1b2155['push'](_0x1b2155['shift']());}}}(a92_0x575b,0xbffa6));export const AUTH_MODE={'ClientAk':a92_0x43dc7b(0xed)};export function isAuthMode(_0x59a1f0){const _0x209890=a92_0x43dc7b;return _0x59a1f0===AUTH_MODE[_0x209890(0xf2)];}
1
+ function a92_0x4049(){const _0x557b89=['150WPPlbC','6064416Yhkpml','2902848dnMibh','3674208ROGWFP','ClientAk','167901jtJLTj','8295byfeqa','44348mnwgOj','4002ZJbTzr','2224625vddpnI'];a92_0x4049=function(){return _0x557b89;};return a92_0x4049();}function a92_0x4b68(_0x508666,_0x38292a){_0x508666=_0x508666-0xa7;const _0x404925=a92_0x4049();let _0x4b683c=_0x404925[_0x508666];return _0x4b683c;}(function(_0x4bc94e,_0x15d10f){const _0x4ed6d1=a92_0x4b68,_0x2a19b2=_0x4bc94e();while(!![]){try{const _0x409ff8=parseInt(_0x4ed6d1(0xad))/0x1+-parseInt(_0x4ed6d1(0xaf))/0x2*(parseInt(_0x4ed6d1(0xa8))/0x3)+parseInt(_0x4ed6d1(0xaa))/0x4+parseInt(_0x4ed6d1(0xa7))/0x5+-parseInt(_0x4ed6d1(0xb0))/0x6*(parseInt(_0x4ed6d1(0xae))/0x7)+parseInt(_0x4ed6d1(0xab))/0x8+parseInt(_0x4ed6d1(0xa9))/0x9;if(_0x409ff8===_0x15d10f)break;else _0x2a19b2['push'](_0x2a19b2['shift']());}catch(_0x56f04a){_0x2a19b2['push'](_0x2a19b2['shift']());}}}(a92_0x4049,0x8bc7f));export const AUTH_MODE={'ClientAk':'client-ak'};export function isAuthMode(_0x444026){const _0x3e2f9e=a92_0x4b68;return _0x444026===AUTH_MODE[_0x3e2f9e(0xac)];}
@@ -1 +1 @@
1
- const a93_0x577504=a93_0x48a6;(function(_0xead0d6,_0x4d1964){const _0x5e5114=a93_0x48a6,_0x2160a6=_0xead0d6();while(!![]){try{const _0x2d9779=parseInt(_0x5e5114(0x1b7))/0x1*(parseInt(_0x5e5114(0x1d4))/0x2)+-parseInt(_0x5e5114(0x1b4))/0x3+parseInt(_0x5e5114(0x1cb))/0x4*(parseInt(_0x5e5114(0x1d0))/0x5)+parseInt(_0x5e5114(0x1bb))/0x6*(parseInt(_0x5e5114(0x1cf))/0x7)+parseInt(_0x5e5114(0x1a8))/0x8*(-parseInt(_0x5e5114(0x1be))/0x9)+-parseInt(_0x5e5114(0x1d2))/0xa+-parseInt(_0x5e5114(0x1bc))/0xb;if(_0x2d9779===_0x4d1964)break;else _0x2160a6['push'](_0x2160a6['shift']());}catch(_0x15f20a){_0x2160a6['push'](_0x2160a6['shift']());}}}(a93_0x815e,0x2153f));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';function a93_0x48a6(_0x1f5004,_0x530cce){_0x1f5004=_0x1f5004-0x1a6;const _0x815ea4=a93_0x815e();let _0x48a665=_0x815ea4[_0x1f5004];return _0x48a665;}export const CLI_BIN_NAME=PRODUCT_CONFIG[a93_0x577504(0x1af)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG['cliDisplayName'];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':a93_0x577504(0x1c1),'type':a93_0x577504(0x1ad),'description':a93_0x577504(0x1ac),'hint':a93_0x577504(0x1a9)},{'name':a93_0x577504(0x1c2),'meowKey':a93_0x577504(0x1c2),'type':a93_0x577504(0x1ad),'description':'Select\x20app\x20profile\x20by\x20name','hint':a93_0x577504(0x1ae)},{'name':a93_0x577504(0x1b1),'meowKey':a93_0x577504(0x1b1),'type':a93_0x577504(0x1ad),'description':'Environment','hint':a93_0x577504(0x1b5)},{'name':'format','meowKey':a93_0x577504(0x1bf),'type':'string','description':a93_0x577504(0x1ba),'hint':a93_0x577504(0x1b2)},{'name':'jq','meowKey':'jq','type':a93_0x577504(0x1ad),'description':a93_0x577504(0x1ab),'hint':a93_0x577504(0x1c4)},{'name':a93_0x577504(0x1b3),'meowKey':a93_0x577504(0x1a6),'type':a93_0x577504(0x1c8),'description':'Preview\x20operation\x20without\x20executing'},{'name':'yes','meowKey':a93_0x577504(0x1b9),'type':'boolean','description':a93_0x577504(0x1d7)},{'name':a93_0x577504(0x1b6),'meowKey':'nonInteractive','type':'boolean','description':a93_0x577504(0x1c7)},{'name':a93_0x577504(0x1c9),'meowKey':a93_0x577504(0x1c9),'type':a93_0x577504(0x1c8),'description':a93_0x577504(0x1d1)},{'name':'ci','meowKey':'ci','type':a93_0x577504(0x1c8),'description':a93_0x577504(0x1ce),'hidden':!![]},{'name':a93_0x577504(0x1a7),'meowKey':a93_0x577504(0x1a7),'type':a93_0x577504(0x1c8),'description':a93_0x577504(0x1c0)},{'name':'id','meowKey':'id','type':a93_0x577504(0x1ad),'description':'Record\x20ID','hidden':!![]},{'name':a93_0x577504(0x1d6),'meowKey':'name','type':a93_0x577504(0x1ad),'description':a93_0x577504(0x1bd),'hidden':!![]},{'name':a93_0x577504(0x1cc),'meowKey':'sqlcode','type':a93_0x577504(0x1ad),'description':'SQL\x20query\x20code','hidden':!![]},{'name':a93_0x577504(0x1c5),'meowKey':a93_0x577504(0x1c5),'type':a93_0x577504(0x1ad),'description':a93_0x577504(0x1c6),'hidden':!![]},{'name':a93_0x577504(0x1b0),'meowKey':'verbose','type':a93_0x577504(0x1c8),'description':a93_0x577504(0x1c3),'hidden':!![]},{'name':'clear','meowKey':a93_0x577504(0x1d3),'type':a93_0x577504(0x1c8),'description':a93_0x577504(0x1ca),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set(['appcode',a93_0x577504(0x1c2),'env',a93_0x577504(0x1bf),'jq',a93_0x577504(0x1b3),a93_0x577504(0x1b9),a93_0x577504(0x1b6),'ci']);export function buildMeowFlags(){const _0x4609dc=a93_0x577504;return Object[_0x4609dc(0x1b8)](GLOBAL_FLAGS[_0x4609dc(0x1d5)](_0x2190f6=>[_0x2190f6[_0x4609dc(0x1aa)],{'type':_0x2190f6[_0x4609dc(0x1cd)]}]));}function a93_0x815e(){const _0x5bf7c3=['Verbose\x20output','<expr>','params','JSON\x20params\x20for\x20execute\x20commands','Force\x20non-interactive\x20mode\x20(CI)','boolean','global','Clear\x20output','740632szbkQC','sqlcode','type','Alias\x20for\x20--non-interactive','424795ITjzSm','5tQNaXS','Use\x20global\x20config\x20scope','381200LnTiTE','clear','94838ttwkij','map','name','Skip\x20confirmation\x20for\x20high-risk\x20writes','dryRun','help','168488IWmBaQ','<code>','meowKey','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','Override\x20appcode','string','<name>','cliBinName','verbose','env','json\x20|\x20pretty\x20|\x20compress','dry-run','24537fwkzNO','production\x20|\x20development\x20|\x20daily','non-interactive','2Lhvyla','fromEntries','yes','Output\x20format','12ohqJva','2172445Tohmip','Name\x20filter','9WexJLs','format','Show\x20help','appcode','app'];a93_0x815e=function(){return _0x5bf7c3;};return a93_0x815e();}
1
+ const a93_0x5aa495=a93_0x50c7;(function(_0x3a3c8d,_0x1d368d){const _0x5d2c5e=a93_0x50c7,_0x203964=_0x3a3c8d();while(!![]){try{const _0x70f061=parseInt(_0x5d2c5e(0x9e))/0x1+-parseInt(_0x5d2c5e(0xbe))/0x2+-parseInt(_0x5d2c5e(0xa7))/0x3*(parseInt(_0x5d2c5e(0xb6))/0x4)+-parseInt(_0x5d2c5e(0xc7))/0x5+parseInt(_0x5d2c5e(0x9c))/0x6+parseInt(_0x5d2c5e(0xac))/0x7+-parseInt(_0x5d2c5e(0xa9))/0x8;if(_0x70f061===_0x1d368d)break;else _0x203964['push'](_0x203964['shift']());}catch(_0x6860fa){_0x203964['push'](_0x203964['shift']());}}}(a93_0x50e1,0x78728));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a93_0x5aa495(0xaf)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a93_0x5aa495(0xb7)];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a93_0x5aa495(0xa2),'meowKey':a93_0x5aa495(0xa2),'type':a93_0x5aa495(0xad),'description':a93_0x5aa495(0x9b),'hint':a93_0x5aa495(0xa4)},{'name':a93_0x5aa495(0xa3),'meowKey':'app','type':a93_0x5aa495(0xad),'description':a93_0x5aa495(0xa0),'hint':a93_0x5aa495(0xbb)},{'name':'env','meowKey':a93_0x5aa495(0xc2),'type':a93_0x5aa495(0xad),'description':a93_0x5aa495(0xaa),'hint':a93_0x5aa495(0xb0)},{'name':a93_0x5aa495(0xc4),'meowKey':a93_0x5aa495(0xc4),'type':'string','description':a93_0x5aa495(0xae),'hint':a93_0x5aa495(0xb5)},{'name':'jq','meowKey':'jq','type':a93_0x5aa495(0xad),'description':a93_0x5aa495(0xb4),'hint':a93_0x5aa495(0xb2)},{'name':a93_0x5aa495(0xbf),'meowKey':a93_0x5aa495(0x9d),'type':a93_0x5aa495(0xa1),'description':a93_0x5aa495(0xba)},{'name':a93_0x5aa495(0xab),'meowKey':'yes','type':a93_0x5aa495(0xa1),'description':a93_0x5aa495(0xa8)},{'name':'non-interactive','meowKey':'nonInteractive','type':a93_0x5aa495(0xa1),'description':'Force\x20non-interactive\x20mode\x20(CI)'},{'name':a93_0x5aa495(0xb3),'meowKey':a93_0x5aa495(0xb3),'type':a93_0x5aa495(0xa1),'description':a93_0x5aa495(0xb1)},{'name':'ci','meowKey':'ci','type':'boolean','description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a93_0x5aa495(0xc3),'meowKey':a93_0x5aa495(0xc3),'type':a93_0x5aa495(0xa1),'description':'Show\x20help'},{'name':'id','meowKey':'id','type':a93_0x5aa495(0xad),'description':'Record\x20ID','hidden':!![]},{'name':'name','meowKey':'name','type':a93_0x5aa495(0xad),'description':a93_0x5aa495(0xbc),'hidden':!![]},{'name':a93_0x5aa495(0xc1),'meowKey':a93_0x5aa495(0xc1),'type':a93_0x5aa495(0xad),'description':'SQL\x20query\x20code','hidden':!![]},{'name':'params','meowKey':a93_0x5aa495(0x9f),'type':'string','description':a93_0x5aa495(0xb8),'hidden':!![]},{'name':a93_0x5aa495(0xb9),'meowKey':a93_0x5aa495(0xb9),'type':a93_0x5aa495(0xa1),'description':'Verbose\x20output','hidden':!![]},{'name':a93_0x5aa495(0xa5),'meowKey':a93_0x5aa495(0xa5),'type':a93_0x5aa495(0xa1),'description':a93_0x5aa495(0xc6),'hidden':!![]}];function a93_0x50c7(_0x44ca86,_0x45eb6d){_0x44ca86=_0x44ca86-0x9b;const _0x50e1c7=a93_0x50e1();let _0x50c7af=_0x50e1c7[_0x44ca86];return _0x50c7af;}export const PIPELINE_FLAG_NAMES=new Set([a93_0x5aa495(0xa2),a93_0x5aa495(0xa3),'env',a93_0x5aa495(0xc4),'jq',a93_0x5aa495(0xbf),'yes',a93_0x5aa495(0xc0),'ci']);export function buildMeowFlags(){const _0x11ce5c=a93_0x5aa495;return Object[_0x11ce5c(0xa6)](GLOBAL_FLAGS['map'](_0x5f808b=>[_0x5f808b[_0x11ce5c(0xbd)],{'type':_0x5f808b[_0x11ce5c(0xc5)]}]));}function a93_0x50e1(){const _0x321b46=['verbose','Preview\x20operation\x20without\x20executing','<name>','Name\x20filter','meowKey','40722pQMFXF','dry-run','non-interactive','sqlcode','env','help','format','type','Clear\x20output','1986990wZGXTo','Override\x20appcode','5792916RtaMnV','dryRun','900762RQMwjc','params','Select\x20app\x20profile\x20by\x20name','boolean','appcode','app','<code>','clear','fromEntries','9vxVzoR','Skip\x20confirmation\x20for\x20high-risk\x20writes','7132560JqTEKi','Environment','yes','1221990LPcutx','string','Output\x20format','cliBinName','production\x20|\x20development\x20|\x20daily','Use\x20global\x20config\x20scope','<expr>','global','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','json\x20|\x20pretty\x20|\x20compress','317516DQcKsN','cliDisplayName','JSON\x20params\x20for\x20execute\x20commands'];a93_0x50e1=function(){return _0x321b46;};return a93_0x50e1();}
@@ -1 +1 @@
1
- function a94_0xf010(){const _0x1d4b38=['184vMExmK','26610Dswmod','3530XbhWFe','142448WbfQLf','compress','3619DmWOyr','189GMIEWA','141321moOwRw','main','726102AUopaS','write','2617470ZzeqOn','1231425OvUouK','7MivsxO','en-US'];a94_0xf010=function(){return _0x1d4b38;};return a94_0xf010();}function a94_0x3681(_0xb1f15f,_0x39a904){_0xb1f15f=_0xb1f15f-0x19c;const _0xf01069=a94_0xf010();let _0x36813e=_0xf01069[_0xb1f15f];return _0x36813e;}const a94_0x41f37a=a94_0x3681;(function(_0x2c68e4,_0x272c70){const _0x4350f1=a94_0x3681,_0x170ab3=_0x2c68e4();while(!![]){try{const _0x1be2a7=parseInt(_0x4350f1(0x19f))/0x1+-parseInt(_0x4350f1(0x1a1))/0x2+-parseInt(_0x4350f1(0x1a4))/0x3+-parseInt(_0x4350f1(0x1a7))/0x4*(parseInt(_0x4350f1(0x1a9))/0x5)+parseInt(_0x4350f1(0x1a3))/0x6*(parseInt(_0x4350f1(0x1a5))/0x7)+parseInt(_0x4350f1(0x1aa))/0x8*(-parseInt(_0x4350f1(0x19e))/0x9)+-parseInt(_0x4350f1(0x1a8))/0xa*(-parseInt(_0x4350f1(0x19d))/0xb);if(_0x1be2a7===_0x272c70)break;else _0x170ab3['push'](_0x170ab3['shift']());}catch(_0x2468f7){_0x170ab3['push'](_0x170ab3['shift']());}}}(a94_0xf010,0x42ad3));export const DEFAULT_APP_PROFILE_NAME=a94_0x41f37a(0x1a0);export const DEFAULT_CONFIG_VALUES={'env':'production','format':a94_0x41f37a(0x19c),'locale':a94_0x41f37a(0x1a6),'riskLevel':a94_0x41f37a(0x1a2)};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a94_0x41f37a(0x19c);
1
+ function a94_0x475d(){const _0x3af034=['254254orbbfN','30tlJvDU','compress','3014484AWiRtQ','8180qEWTFK','216725ewpYCv','1413jkRgEk','main','2663472tfvJZx','2OtZNkA','16179936viWBkd','production','5YgMikt','en-US','3926484pIOfmP','11kJuexb'];a94_0x475d=function(){return _0x3af034;};return a94_0x475d();}const a94_0x36291a=a94_0x2f12;(function(_0x5d971b,_0x5bf096){const _0x2e8ff6=a94_0x2f12,_0x2d3ad1=_0x5d971b();while(!![]){try{const _0x1cce29=parseInt(_0x2e8ff6(0x11b))/0x1*(parseInt(_0x2e8ff6(0x11f))/0x2)+parseInt(_0x2e8ff6(0x119))/0x3+parseInt(_0x2e8ff6(0x114))/0x4*(parseInt(_0x2e8ff6(0x112))/0x5)+-parseInt(_0x2e8ff6(0x117))/0x6*(-parseInt(_0x2e8ff6(0x116))/0x7)+-parseInt(_0x2e8ff6(0x11e))/0x8+parseInt(_0x2e8ff6(0x11c))/0x9*(-parseInt(_0x2e8ff6(0x11a))/0xa)+parseInt(_0x2e8ff6(0x115))/0xb*(-parseInt(_0x2e8ff6(0x120))/0xc);if(_0x1cce29===_0x5bf096)break;else _0x2d3ad1['push'](_0x2d3ad1['shift']());}catch(_0x3af803){_0x2d3ad1['push'](_0x2d3ad1['shift']());}}}(a94_0x475d,0x8c678));export const DEFAULT_APP_PROFILE_NAME=a94_0x36291a(0x11d);export const DEFAULT_CONFIG_VALUES={'env':a94_0x36291a(0x121),'format':a94_0x36291a(0x118),'locale':a94_0x36291a(0x113),'riskLevel':'write'};function a94_0x2f12(_0x41c0a4,_0x43529e){_0x41c0a4=_0x41c0a4-0x112;const _0x475d26=a94_0x475d();let _0x2f124f=_0x475d26[_0x41c0a4];return _0x2f124f;}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a94_0x36291a(0x118);
@@ -1 +1 @@
1
- const a95_0x153bc0=a95_0x18ea;function a95_0x18ea(_0x318f6f,_0x4afa6d){_0x318f6f=_0x318f6f-0x189;const _0x3732f1=a95_0x3732();let _0x18ea62=_0x3732f1[_0x318f6f];return _0x18ea62;}(function(_0x476c3d,_0x3e2baf){const _0x3fbc64=a95_0x18ea,_0x539492=_0x476c3d();while(!![]){try{const _0x2c11b7=-parseInt(_0x3fbc64(0x189))/0x1+-parseInt(_0x3fbc64(0x18f))/0x2+-parseInt(_0x3fbc64(0x191))/0x3+parseInt(_0x3fbc64(0x195))/0x4*(parseInt(_0x3fbc64(0x194))/0x5)+parseInt(_0x3fbc64(0x190))/0x6+parseInt(_0x3fbc64(0x18b))/0x7*(parseInt(_0x3fbc64(0x18e))/0x8)+-parseInt(_0x3fbc64(0x18a))/0x9*(-parseInt(_0x3fbc64(0x18c))/0xa);if(_0x2c11b7===_0x3e2baf)break;else _0x539492['push'](_0x539492['shift']());}catch(_0x3ed18c){_0x539492['push'](_0x539492['shift']());}}}(a95_0x3732,0x7114f));function a95_0x3732(){const _0x22ce63=['842509LPiWJT','4797tDrRIP','2991415GDlAtA','20110jerbJM','cliCdnBaseUrl','8IolJhg','1760434RurdxP','4420344BKwlPx','356676qfmBrG','npmRegistryBaseUrl','/dist/lovrabet-cli/config/index.json','344345hGekhb','4pPIvNs'];a95_0x3732=function(){return _0x22ce63;};return a95_0x3732();}import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG['npmPackageName'];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG['skillSource'];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a95_0x153bc0(0x192)];export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG[a95_0x153bc0(0x18d)];export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+a95_0x153bc0(0x193);
1
+ const a95_0x59520a=a95_0x398a;(function(_0x5f49d2,_0x4adb68){const _0x1e527f=a95_0x398a,_0x1cb50f=_0x5f49d2();while(!![]){try{const _0x5087c1=parseInt(_0x1e527f(0x1bb))/0x1*(-parseInt(_0x1e527f(0x1be))/0x2)+-parseInt(_0x1e527f(0x1c4))/0x3+parseInt(_0x1e527f(0x1c6))/0x4+parseInt(_0x1e527f(0x1c3))/0x5*(parseInt(_0x1e527f(0x1bc))/0x6)+parseInt(_0x1e527f(0x1bf))/0x7*(-parseInt(_0x1e527f(0x1ba))/0x8)+-parseInt(_0x1e527f(0x1c1))/0x9*(-parseInt(_0x1e527f(0x1c0))/0xa)+parseInt(_0x1e527f(0x1c5))/0xb*(-parseInt(_0x1e527f(0x1c7))/0xc);if(_0x5087c1===_0x4adb68)break;else _0x1cb50f['push'](_0x1cb50f['shift']());}catch(_0x1d31ee){_0x1cb50f['push'](_0x1cb50f['shift']());}}}(a95_0x196b,0x39db6));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG['npmPackageName'];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a95_0x59520a(0x1bd)];function a95_0x398a(_0x4331d1,_0x1af465){_0x4331d1=_0x4331d1-0x1ba;const _0x196b65=a95_0x196b();let _0x398a6f=_0x196b65[_0x4331d1];return _0x398a6f;}export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG['npmRegistryBaseUrl'];function a95_0x196b(){const _0x1f0639=['193740EVuUZZ','81aoUzjT','cliCdnBaseUrl','16955drzcSy','369786biubPq','695453mFnsgk','1489736njesaN','24yQyqCv','8GYPNfN','8ZHTuVF','702mBZTWW','skillSource','60868ObsKfl','1493695hXuZCr'];a95_0x196b=function(){return _0x1f0639;};return a95_0x196b();}export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG[a95_0x59520a(0x1c2)];export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+'/dist/lovrabet-cli/config/index.json';
@@ -1 +1 @@
1
- const a96_0x1aaf74=a96_0x4498;(function(_0x511333,_0x323fdb){const _0x4a9c37=a96_0x4498,_0x283efc=_0x511333();while(!![]){try{const _0x4b3b51=parseInt(_0x4a9c37(0x1a0))/0x1*(-parseInt(_0x4a9c37(0x19b))/0x2)+parseInt(_0x4a9c37(0x195))/0x3+parseInt(_0x4a9c37(0x194))/0x4*(-parseInt(_0x4a9c37(0x199))/0x5)+parseInt(_0x4a9c37(0x19d))/0x6*(parseInt(_0x4a9c37(0x197))/0x7)+-parseInt(_0x4a9c37(0x193))/0x8*(parseInt(_0x4a9c37(0x19c))/0x9)+parseInt(_0x4a9c37(0x192))/0xa*(-parseInt(_0x4a9c37(0x196))/0xb)+parseInt(_0x4a9c37(0x198))/0xc;if(_0x4b3b51===_0x323fdb)break;else _0x283efc['push'](_0x283efc['shift']());}catch(_0x1489d0){_0x283efc['push'](_0x283efc['shift']());}}}(a96_0x5e83,0x3abb5));function a96_0x4498(_0x277590,_0x4d0cd8){_0x277590=_0x277590-0x18f;const _0x5e83a2=a96_0x5e83();let _0x449881=_0x5e83a2[_0x277590];return _0x449881;}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,activeRegion=DEFAULT_LOVRABET_REGION;export function initDomains(_0x76d076){const _0x158934=a96_0x4498;customApiDomain=_0x76d076?.[_0x158934(0x19a)],customUserDomain=_0x76d076?.[_0x158934(0x1a4)],customRuntimeDomain=_0x76d076?.[_0x158934(0x1a2)],customSkillDomain=_0x76d076?.['skillDomain'],activeRegion=_0x76d076?.['region']??DEFAULT_LOVRABET_REGION;}function a96_0x5e83(){const _0xfd6de=['3esliZX','runtime','runtimeDomain','api','userDomain','serviceDomains','user','daily','10PdiwBA','1915184BYPxLA','612356TcBfrC','1305699WVqiuC','219890CTuGhW','77WUXqAr','4900080QEQlWh','15GorDOJ','apiDomain','75494OEeHfn','9nLIjtu','124848rrQJlg','production','skill'];a96_0x5e83=function(){return _0xfd6de;};return a96_0x5e83();}const getActiveRegionDomains=()=>{const _0x7edceb=a96_0x4498,_0x81a83b=OFFICIAL_ROUTING_PROFILES[activeRegion][_0x7edceb(0x18f)];return isProduction(getEnv())?_0x81a83b[_0x7edceb(0x19e)]:_0x7edceb(0x191)in _0x81a83b?_0x81a83b[_0x7edceb(0x191)]:_0x81a83b[_0x7edceb(0x19e)];};export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a96_0x1aaf74(0x190)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a96_0x1aaf74(0x1a3)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a96_0x1aaf74(0x1a1)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a96_0x1aaf74(0x19f)];
1
+ const a96_0x433ee0=a96_0x370f;function a96_0x20e6(){const _0x483d14=['skillDomain','18ryHMzT','runtimeDomain','65236KsTTyc','1055688pxqVcn','region','32046421AnXNrT','skill','api','4ivErRD','4756940CRkQoY','daily','user','42CDFgSY','424808iNLDab','apiDomain','production','1110786GMhazT','serviceDomains','1417184TVIjHN','5eCiijV'];a96_0x20e6=function(){return _0x483d14;};return a96_0x20e6();}(function(_0x372707,_0x541932){const _0x1f4063=a96_0x370f,_0x34e257=_0x372707();while(!![]){try{const _0x1ecf87=parseInt(_0x1f4063(0x1a1))/0x1+parseInt(_0x1f4063(0x19c))/0x2*(-parseInt(_0x1f4063(0x1ac))/0x3)+-parseInt(_0x1f4063(0x1ab))/0x4*(-parseInt(_0x1f4063(0x1a7))/0x5)+parseInt(_0x1f4063(0x1a4))/0x6*(-parseInt(_0x1f4063(0x1a0))/0x7)+-parseInt(_0x1f4063(0x1a6))/0x8*(parseInt(_0x1f4063(0x1a9))/0x9)+-parseInt(_0x1f4063(0x19d))/0xa+parseInt(_0x1f4063(0x1ae))/0xb;if(_0x1ecf87===_0x541932)break;else _0x34e257['push'](_0x34e257['shift']());}catch(_0x4ba9fd){_0x34e257['push'](_0x34e257['shift']());}}}(a96_0x20e6,0xad4e4));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,activeRegion=DEFAULT_LOVRABET_REGION;export function initDomains(_0xd4bdd6){const _0x146576=a96_0x370f;customApiDomain=_0xd4bdd6?.[_0x146576(0x1a2)],customUserDomain=_0xd4bdd6?.['userDomain'],customRuntimeDomain=_0xd4bdd6?.[_0x146576(0x1aa)],customSkillDomain=_0xd4bdd6?.[_0x146576(0x1a8)],activeRegion=_0xd4bdd6?.[_0x146576(0x1ad)]??DEFAULT_LOVRABET_REGION;}const getActiveRegionDomains=()=>{const _0x2f6e2c=a96_0x370f,_0x251b2c=OFFICIAL_ROUTING_PROFILES[activeRegion][_0x2f6e2c(0x1a5)];return isProduction(getEnv())?_0x251b2c[_0x2f6e2c(0x1a3)]:_0x2f6e2c(0x19e)in _0x251b2c?_0x251b2c[_0x2f6e2c(0x19e)]:_0x251b2c['production'];};export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a96_0x433ee0(0x19f)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a96_0x433ee0(0x19b)];function a96_0x370f(_0x392cde,_0x4b83b2){_0x392cde=_0x392cde-0x19b;const _0x20e6de=a96_0x20e6();let _0x370f9d=_0x20e6de[_0x392cde];return _0x370f9d;}export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()['runtime'];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a96_0x433ee0(0x1af)];
@@ -1 +1 @@
1
- const a97_0x5494fa=a97_0x33bb;(function(_0x1250b6,_0x12c04d){const _0x417d34=a97_0x33bb,_0xdf38f4=_0x1250b6();while(!![]){try{const _0x5730cf=parseInt(_0x417d34(0x137))/0x1+-parseInt(_0x417d34(0x136))/0x2+-parseInt(_0x417d34(0x138))/0x3+parseInt(_0x417d34(0x132))/0x4+parseInt(_0x417d34(0x13f))/0x5*(parseInt(_0x417d34(0x13e))/0x6)+parseInt(_0x417d34(0x134))/0x7+-parseInt(_0x417d34(0x135))/0x8;if(_0x5730cf===_0x12c04d)break;else _0xdf38f4['push'](_0xdf38f4['shift']());}catch(_0x203154){_0xdf38f4['push'](_0xdf38f4['shift']());}}}(a97_0x3555,0xee19c));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a97_0x5494fa(0x13a),a97_0x5494fa(0x13d),a97_0x5494fa(0x139)];function a97_0x3555(){const _0x1f6161=['ENV','development','1284GAbNjZ','39410umBLBN','935836nGtQqR','online','3405955jesKVm','18078936sYwwHc','1393600YjySaP','1881675tmFQta','1071060jyqrph','daily','production','dev'];a97_0x3555=function(){return _0x1f6161;};return a97_0x3555();}export function normalizeEnv(_0x2d6a3e){const _0x301b34=a97_0x5494fa;return _0x2d6a3e===_0x301b34(0x133)?_0x301b34(0x13a):_0x2d6a3e;}export function isProduction(_0x42a38a){return normalizeEnv(_0x42a38a)==='production';}export function isDaily(_0x5738b8){const _0x38281e=a97_0x5494fa;return normalizeEnv(_0x5738b8)===_0x38281e(0x139);}export function isDev(_0x82e6c4){const _0x68bcd7=a97_0x5494fa,_0x93b290=normalizeEnv(_0x82e6c4);return _0x93b290===_0x68bcd7(0x13d)||_0x93b290===_0x68bcd7(0x13b);}function a97_0x33bb(_0x303bb,_0x30d665){_0x303bb=_0x303bb-0x132;const _0x3555a7=a97_0x3555();let _0x33bb60=_0x3555a7[_0x303bb];return _0x33bb60;}let env=normalizeEnv(productEnv(a97_0x5494fa(0x13c))||a97_0x5494fa(0x13a));export function getEnv(){return env;}export function initEnv(_0x5b5dc8){env=normalizeEnv(_0x5b5dc8);}
1
+ const a97_0xc44c83=a97_0xe286;(function(_0x56cd2f,_0x378212){const _0x26e4b6=a97_0xe286,_0x18306e=_0x56cd2f();while(!![]){try{const _0x4fd2c2=parseInt(_0x26e4b6(0xdc))/0x1+-parseInt(_0x26e4b6(0xe0))/0x2*(-parseInt(_0x26e4b6(0xe6))/0x3)+parseInt(_0x26e4b6(0xde))/0x4*(-parseInt(_0x26e4b6(0xd8))/0x5)+parseInt(_0x26e4b6(0xda))/0x6*(-parseInt(_0x26e4b6(0xe4))/0x7)+parseInt(_0x26e4b6(0xdd))/0x8+parseInt(_0x26e4b6(0xdb))/0x9*(-parseInt(_0x26e4b6(0xe5))/0xa)+parseInt(_0x26e4b6(0xe2))/0xb;if(_0x4fd2c2===_0x378212)break;else _0x18306e['push'](_0x18306e['shift']());}catch(_0x4b0906){_0x18306e['push'](_0x18306e['shift']());}}}(a97_0x8257,0xc4c54));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a97_0xc44c83(0xd9),a97_0xc44c83(0xe1),'daily'];export function normalizeEnv(_0x5bc243){const _0x4f397b=a97_0xc44c83;return _0x5bc243===_0x4f397b(0xdf)?_0x4f397b(0xd9):_0x5bc243;}export function isProduction(_0x32a686){const _0xf443f1=a97_0xc44c83;return normalizeEnv(_0x32a686)===_0xf443f1(0xd9);}export function isDaily(_0x4cce9a){return normalizeEnv(_0x4cce9a)==='daily';}function a97_0xe286(_0x537c7d,_0x13982f){_0x537c7d=_0x537c7d-0xd8;const _0x825791=a97_0x8257();let _0xe28628=_0x825791[_0x537c7d];return _0xe28628;}export function isDev(_0x24425e){const _0x18157f=a97_0xc44c83,_0xff2ddb=normalizeEnv(_0x24425e);return _0xff2ddb===_0x18157f(0xe1)||_0xff2ddb==='dev';}let env=normalizeEnv(productEnv(a97_0xc44c83(0xe3))||a97_0xc44c83(0xd9));export function getEnv(){return env;}export function initEnv(_0x4cc521){env=normalizeEnv(_0x4cc521);}function a97_0x8257(){const _0x2ca5c3=['production','222EItxQM','1395BXljbb','492325IRGrDl','6049760KeQeOW','4ifmDiG','online','2OaAyGE','development','13730255mWPQsU','ENV','53886sPiFQz','39470PoaKHf','1895316owWsOU','7129695tmwxpJ'];a97_0x8257=function(){return _0x2ca5c3;};return a97_0x8257();}
@@ -1 +1 @@
1
- const a98_0x13d29c=a98_0x51f7;(function(_0x4f2fe8,_0x1930aa){const _0x34a0bf=a98_0x51f7,_0x442fb0=_0x4f2fe8();while(!![]){try{const _0x53cc8a=parseInt(_0x34a0bf(0x192))/0x1*(-parseInt(_0x34a0bf(0x187))/0x2)+-parseInt(_0x34a0bf(0x18d))/0x3+parseInt(_0x34a0bf(0x18c))/0x4*(-parseInt(_0x34a0bf(0x185))/0x5)+-parseInt(_0x34a0bf(0x189))/0x6*(-parseInt(_0x34a0bf(0x18a))/0x7)+parseInt(_0x34a0bf(0x186))/0x8*(parseInt(_0x34a0bf(0x18e))/0x9)+parseInt(_0x34a0bf(0x18f))/0xa*(parseInt(_0x34a0bf(0x190))/0xb)+-parseInt(_0x34a0bf(0x191))/0xc;if(_0x53cc8a===_0x1930aa)break;else _0x442fb0['push'](_0x442fb0['shift']());}catch(_0x1c1aea){_0x442fb0['push'](_0x442fb0['shift']());}}}(a98_0x4ff8,0x439e8));function a98_0x51f7(_0x569836,_0x156817){_0x569836=_0x569836-0x185;const _0x4ff81a=a98_0x4ff8();let _0x51f71a=_0x4ff81a[_0x569836];return _0x51f71a;}export const OUTPUT_FORMAT_VALUES=['json',a98_0x13d29c(0x188),a98_0x13d29c(0x18b)];function a98_0x4ff8(){const _0x1a9d77=['6ZGJxti','30gkBwkK','960168VONaMC','101726YfsAJx','pretty','18jVnTYD','1213772oSUyCz','compress','78524fObCXH','785421HJpUDU','27KJjTna','20LlBbkK','1880439ltAdLZ','3124920keZoGD'];a98_0x4ff8=function(){return _0x1a9d77;};return a98_0x4ff8();}
1
+ function a98_0x5915(_0x2541ae,_0x476c71){_0x2541ae=_0x2541ae-0x1e8;const _0xf1d3b2=a98_0xf1d3();let _0x591543=_0xf1d3b2[_0x2541ae];return _0x591543;}function a98_0xf1d3(){const _0x5967c5=['4740RycnzG','188696yZclfA','3003417fXYJmd','2240022vbMRYm','10ZpJGrG','369454otxUiN','277744WTTHtp','7nZaWEX','1143408iuRwvx','pretty','50nNXXNO','19844RPGaDB','6RRjHdC'];a98_0xf1d3=function(){return _0x5967c5;};return a98_0xf1d3();}const a98_0x48909b=a98_0x5915;(function(_0x5ba3f9,_0x3e4f9c){const _0x29fd0f=a98_0x5915,_0x7024af=_0x5ba3f9();while(!![]){try{const _0x1bc9b1=parseInt(_0x29fd0f(0x1ea))/0x1+parseInt(_0x29fd0f(0x1ee))/0x2*(parseInt(_0x29fd0f(0x1e8))/0x3)+-parseInt(_0x29fd0f(0x1ef))/0x4*(parseInt(_0x29fd0f(0x1f3))/0x5)+parseInt(_0x29fd0f(0x1ec))/0x6*(-parseInt(_0x29fd0f(0x1f0))/0x7)+-parseInt(_0x29fd0f(0x1f1))/0x8+-parseInt(_0x29fd0f(0x1eb))/0x9*(-parseInt(_0x29fd0f(0x1ed))/0xa)+-parseInt(_0x29fd0f(0x1f4))/0xb*(-parseInt(_0x29fd0f(0x1e9))/0xc);if(_0x1bc9b1===_0x3e4f9c)break;else _0x7024af['push'](_0x7024af['shift']());}catch(_0x4ebdc1){_0x7024af['push'](_0x7024af['shift']());}}}(a98_0xf1d3,0x6025c));export const OUTPUT_FORMAT_VALUES=['json',a98_0x48909b(0x1f2),'compress'];
@@ -1 +1 @@
1
- function a99_0x5ecb(_0x5166d4,_0x312752){_0x5166d4=_0x5166d4-0xaf;const _0x5d0171=a99_0x5d01();let _0x5ecb15=_0x5d0171[_0x5166d4];return _0x5ecb15;}const a99_0x1333b4=a99_0x5ecb;(function(_0x2f0649,_0x26a93a){const _0x4046d5=a99_0x5ecb,_0x588981=_0x2f0649();while(!![]){try{const _0x2e753a=-parseInt(_0x4046d5(0xc2))/0x1+parseInt(_0x4046d5(0xb2))/0x2+parseInt(_0x4046d5(0xc7))/0x3+parseInt(_0x4046d5(0xb4))/0x4*(parseInt(_0x4046d5(0xb3))/0x5)+parseInt(_0x4046d5(0xc5))/0x6+parseInt(_0x4046d5(0xbb))/0x7+parseInt(_0x4046d5(0xbc))/0x8*(-parseInt(_0x4046d5(0xba))/0x9);if(_0x2e753a===_0x26a93a)break;else _0x588981['push'](_0x588981['shift']());}catch(_0x595e41){_0x588981['push'](_0x588981['shift']());}}}(a99_0x5d01,0x7a56e));export const PRODUCT_CONFIG={'cliBinName':a99_0x1333b4(0xaf),'cliDisplayName':a99_0x1333b4(0xc0),'npmPackageName':a99_0x1333b4(0xbf),'skillSource':a99_0x1333b4(0xbe),'internalSkillSource':'git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','globalSkillName':'lovrabet','npmRegistryBaseUrl':a99_0x1333b4(0xbd),'cliCdnBaseUrl':a99_0x1333b4(0xc1),'envPrefix':'LOVRABET','legacyEnvPrefixes':[a99_0x1333b4(0xb5)],'configFileNames':[a99_0x1333b4(0xb1)],'newConfigFileName':'.lovrabet.json','homeDirName':a99_0x1333b4(0xc6),'logFileName':a99_0x1333b4(0xb8),'invokeSource':a99_0x1333b4(0xb9),'userCenterDisplayName':a99_0x1333b4(0xb6),'skipNpxSkillsEnvSuffix':a99_0x1333b4(0xc3),'accessKeyCreatePath':a99_0x1333b4(0xc4)};function a99_0x5d01(){const _0x86f35c=['.lovrabet-runtime.log','cli:lovrabet-runtime','1467261sfNCNf','1787359rmJSXl','72TiJNYJ','https://registry.npmjs.org','lovrabet/lovrabet-cli','@lovrabet/lovrabet-cli','Lovrabet\x20Runtime\x20CLI','https://g.lovrabet.com','126439MZvNik','SKIP_NPX_SKILLS','/user/ak','1739808HEZhWZ','.lovrabet','2520732FCuJPF','lovrabet','map','.lovrabet.json','759430HUsudZ','10kQDZdN','659076HBVMjS','RABETBASE','Lovrabet\x20User\x20Center','legacyEnvPrefixes'];a99_0x5d01=function(){return _0x86f35c;};return a99_0x5d01();}export function productEnvName(_0x1b5a4c){return PRODUCT_CONFIG['envPrefix']+'_'+_0x1b5a4c;}export function productEnvNames(_0x2b5b94){const _0x37f7aa=a99_0x1333b4;return[productEnvName(_0x2b5b94),...PRODUCT_CONFIG[_0x37f7aa(0xb7)][_0x37f7aa(0xb0)](_0x4e254b=>_0x4e254b+'_'+_0x2b5b94)];}export function productEnv(_0x1cbdf5){for(const _0x1b9c78 of productEnvNames(_0x1cbdf5)){const _0x267353=process.env[_0x1b9c78];if(_0x267353!==undefined)return _0x267353;}return undefined;}
1
+ function a99_0xa67c(){const _0x20561e=['16118biOxdK','1060EaDkat','RABETBASE','.lovrabet.json','1892abdyfG','2812240BAxmpa','SKIP_NPX_SKILLS','lovrabet','legacyEnvPrefixes','714606LVULes','envPrefix','86569lmKmVO','https://registry.npmjs.org','https://g.lovrabet.com','4WxhOLy','map','Lovrabet\x20User\x20Center','@lovrabet/lovrabet-cli','198hlzuPZ','.lovrabet-runtime.log','LOVRABET','13NAdiRY','30231wLvfHM','201215tWMUrY'];a99_0xa67c=function(){return _0x20561e;};return a99_0xa67c();}const a99_0xc3fb97=a99_0x4485;(function(_0x55ff29,_0x421988){const _0x60c2a2=a99_0x4485,_0x179e26=_0x55ff29();while(!![]){try{const _0x22eeda=parseInt(_0x60c2a2(0x13a))/0x1*(-parseInt(_0x60c2a2(0x13d))/0x2)+-parseInt(_0x60c2a2(0x146))/0x3*(-parseInt(_0x60c2a2(0x14b))/0x4)+parseInt(_0x60c2a2(0x13c))/0x5+parseInt(_0x60c2a2(0x14f))/0x6*(parseInt(_0x60c2a2(0x148))/0x7)+-parseInt(_0x60c2a2(0x142))/0x8+parseInt(_0x60c2a2(0x13b))/0x9+-parseInt(_0x60c2a2(0x13e))/0xa*(parseInt(_0x60c2a2(0x141))/0xb);if(_0x22eeda===_0x421988)break;else _0x179e26['push'](_0x179e26['shift']());}catch(_0x3b90ae){_0x179e26['push'](_0x179e26['shift']());}}}(a99_0xa67c,0x3495a));export const PRODUCT_CONFIG={'cliBinName':a99_0xc3fb97(0x144),'cliDisplayName':'Lovrabet\x20Runtime\x20CLI','npmPackageName':a99_0xc3fb97(0x14e),'skillSource':'lovrabet/lovrabet-cli','internalSkillSource':'git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','globalSkillName':'lovrabet','npmRegistryBaseUrl':a99_0xc3fb97(0x149),'cliCdnBaseUrl':a99_0xc3fb97(0x14a),'envPrefix':a99_0xc3fb97(0x139),'legacyEnvPrefixes':[a99_0xc3fb97(0x13f)],'configFileNames':['.lovrabet.json'],'newConfigFileName':a99_0xc3fb97(0x140),'homeDirName':'.lovrabet','logFileName':a99_0xc3fb97(0x138),'invokeSource':'cli:lovrabet-runtime','userCenterDisplayName':a99_0xc3fb97(0x14d),'skipNpxSkillsEnvSuffix':a99_0xc3fb97(0x143),'accessKeyCreatePath':'/user/ak'};function a99_0x4485(_0x59f200,_0x4213df){_0x59f200=_0x59f200-0x138;const _0xa67c70=a99_0xa67c();let _0x448571=_0xa67c70[_0x59f200];return _0x448571;}export function productEnvName(_0x5e1571){const _0x677ead=a99_0xc3fb97;return PRODUCT_CONFIG[_0x677ead(0x147)]+'_'+_0x5e1571;}export function productEnvNames(_0x27ce30){const _0x1022f3=a99_0xc3fb97;return[productEnvName(_0x27ce30),...PRODUCT_CONFIG[_0x1022f3(0x145)][_0x1022f3(0x14c)](_0x20a4f2=>_0x20a4f2+'_'+_0x27ce30)];}export function productEnv(_0x3628f1){for(const _0x1b3112 of productEnvNames(_0x3628f1)){const _0x1aebc7=process.env[_0x1b3112];if(_0x1aebc7!==undefined)return _0x1aebc7;}return undefined;}
@@ -1 +1 @@
1
- (function(_0x4c2f8b,_0x2b55e9){const _0x17290e=a100_0x4e6c,_0x9a83cc=_0x4c2f8b();while(!![]){try{const _0x1daf7d=parseInt(_0x17290e(0x67))/0x1*(-parseInt(_0x17290e(0x73))/0x2)+parseInt(_0x17290e(0x6b))/0x3*(-parseInt(_0x17290e(0x70))/0x4)+-parseInt(_0x17290e(0x74))/0x5+parseInt(_0x17290e(0x76))/0x6+-parseInt(_0x17290e(0x66))/0x7+-parseInt(_0x17290e(0x6e))/0x8*(-parseInt(_0x17290e(0x6d))/0x9)+parseInt(_0x17290e(0x75))/0xa;if(_0x1daf7d===_0x2b55e9)break;else _0x9a83cc['push'](_0x9a83cc['shift']());}catch(_0x3da457){_0x9a83cc['push'](_0x9a83cc['shift']());}}}(a100_0x2cda,0xc0467));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';function a100_0x4e6c(_0x19b4fd,_0x21cfcc){_0x19b4fd=_0x19b4fd-0x64;const _0x2cda77=a100_0x2cda();let _0x4e6c68=_0x2cda77[_0x19b4fd];return _0x4e6c68;}import{CliErrors}from'../errors.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;function a100_0x2cda(){const _0x2003ee=['join','14ctSpRi','5052215OehvUs','19873650PbPuRR','9204960uqMdge','validation','Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20','\x22\x20is\x20not\x20currently\x20available.','1149491EbhZts','172603KFejEf','Region\x20\x22','string','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.','9381FLIsta','includes','243RWRvBq','114632nIYyyE','.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.','944RdjEsJ','Available\x20regions:\x20'];a100_0x2cda=function(){return _0x2003ee;};return a100_0x2cda();}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x4a9430){const _0x3900f1=a100_0x4e6c;return typeof _0x4a9430===_0x3900f1(0x69)&&LOVRABET_REGION_VALUES['includes'](_0x4a9430);}export function isEnabledLovrabetRegion(_0x39de53){const _0x12b255=a100_0x4e6c;return typeof _0x39de53===_0x12b255(0x69)&&ENABLED_LOVRABET_REGION_VALUES[_0x12b255(0x6c)](_0x39de53);}export function normalizeLovrabetRegion(_0x292b52){const _0x2dec0a=a100_0x4e6c;if(_0x292b52===undefined||_0x292b52===null||_0x292b52==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x292b52!=='string')throw CliErrors[_0x2dec0a(0x77)](_0x2dec0a(0x64)+typeof _0x292b52+'.',_0x2dec0a(0x6a));const _0x2e8589=REGION_ALIASES[_0x292b52]??_0x292b52;if(isEnabledLovrabetRegion(_0x2e8589))return _0x2e8589;throw CliErrors[_0x2dec0a(0x77)](_0x2dec0a(0x68)+_0x292b52+_0x2dec0a(0x65),_0x2dec0a(0x71)+ENABLED_LOVRABET_REGION_VALUES[_0x2dec0a(0x72)](',\x20')+_0x2dec0a(0x6f));}
1
+ (function(_0x5ade49,_0x333665){const _0x170f39=a100_0x4f94,_0x21e3f4=_0x5ade49();while(!![]){try{const _0x695f19=parseInt(_0x170f39(0x124))/0x1+-parseInt(_0x170f39(0x127))/0x2+parseInt(_0x170f39(0x122))/0x3+parseInt(_0x170f39(0x11b))/0x4+parseInt(_0x170f39(0x118))/0x5+-parseInt(_0x170f39(0x120))/0x6*(-parseInt(_0x170f39(0x11e))/0x7)+-parseInt(_0x170f39(0x121))/0x8;if(_0x695f19===_0x333665)break;else _0x21e3f4['push'](_0x21e3f4['shift']());}catch(_0x42dd5f){_0x21e3f4['push'](_0x21e3f4['shift']());}}}(a100_0x1b24,0x654b4));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;function a100_0x1b24(){const _0x436261=['validation','2142870drFQjS','string','Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20','785620AVHDNy','.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.','\x22\x20is\x20not\x20currently\x20available.','15659bmqlbG','Available\x20regions:\x20','330cquoAb','4380048UaUhcD','1438113spflMA','includes','202500UJOIza','join','Region\x20\x22','934958HwrGSb'];a100_0x1b24=function(){return _0x436261;};return a100_0x1b24();}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x58bb58){const _0x1ab591=a100_0x4f94;return typeof _0x58bb58===_0x1ab591(0x119)&&LOVRABET_REGION_VALUES[_0x1ab591(0x123)](_0x58bb58);}export function isEnabledLovrabetRegion(_0x2cf11a){const _0x44929d=a100_0x4f94;return typeof _0x2cf11a==='string'&&ENABLED_LOVRABET_REGION_VALUES[_0x44929d(0x123)](_0x2cf11a);}function a100_0x4f94(_0x3d320b,_0x19586d){_0x3d320b=_0x3d320b-0x118;const _0x1b24cd=a100_0x1b24();let _0x4f9483=_0x1b24cd[_0x3d320b];return _0x4f9483;}export function normalizeLovrabetRegion(_0x5a8cd8){const _0x31f00e=a100_0x4f94;if(_0x5a8cd8===undefined||_0x5a8cd8===null||_0x5a8cd8==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x5a8cd8!==_0x31f00e(0x119))throw CliErrors[_0x31f00e(0x128)](_0x31f00e(0x11a)+typeof _0x5a8cd8+'.','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.');const _0x1a4436=REGION_ALIASES[_0x5a8cd8]??_0x5a8cd8;if(isEnabledLovrabetRegion(_0x1a4436))return _0x1a4436;throw CliErrors[_0x31f00e(0x128)](_0x31f00e(0x126)+_0x5a8cd8+_0x31f00e(0x11d),_0x31f00e(0x11f)+ENABLED_LOVRABET_REGION_VALUES[_0x31f00e(0x125)](',\x20')+_0x31f00e(0x11c));}
@@ -1 +1 @@
1
- function a101_0x58f0(_0x4d9b11,_0x9168bd){_0x4d9b11=_0x4d9b11-0xd2;const _0x471d54=a101_0x471d();let _0x58f03c=_0x471d54[_0x4d9b11];return _0x58f03c;}function a101_0x471d(){const _0x5742b0=['high-risk-write','write','1016OsRjpG','1914627BYqYRt','2281940QFoHmi','2ZFimYe','488707bQAMPg','15Xghhwo','50754dkTOQe','353262hWfico','25533JePtVi','27912HozCrl','98NmLBlk','312ZbMXJu'];a101_0x471d=function(){return _0x5742b0;};return a101_0x471d();}const a101_0x2efce7=a101_0x58f0;(function(_0x400e54,_0xda3cd4){const _0x56f707=a101_0x58f0,_0x5343b3=_0x400e54();while(!![]){try{const _0x5dd329=-parseInt(_0x56f707(0xd7))/0x1*(parseInt(_0x56f707(0xd6))/0x2)+-parseInt(_0x56f707(0xd4))/0x3+-parseInt(_0x56f707(0xdc))/0x4*(-parseInt(_0x56f707(0xd8))/0x5)+-parseInt(_0x56f707(0xda))/0x6*(-parseInt(_0x56f707(0xdd))/0x7)+parseInt(_0x56f707(0xd3))/0x8*(parseInt(_0x56f707(0xdb))/0x9)+parseInt(_0x56f707(0xd5))/0xa+-parseInt(_0x56f707(0xd9))/0xb*(-parseInt(_0x56f707(0xde))/0xc);if(_0x5dd329===_0xda3cd4)break;else _0x5343b3['push'](_0x5343b3['shift']());}catch(_0x18ea67){_0x5343b3['push'](_0x5343b3['shift']());}}}(a101_0x471d,0x68301));export const RISK_LEVEL_VALUES=['read',a101_0x2efce7(0xd2),a101_0x2efce7(0xdf)];
1
+ const a101_0xbf67a1=a101_0x41c1;function a101_0x41c1(_0x353b72,_0x2258ee){_0x353b72=_0x353b72-0x1ca;const _0x3da484=a101_0x3da4();let _0x41c135=_0x3da484[_0x353b72];return _0x41c135;}(function(_0x31f98c,_0x141d7d){const _0x50cf7c=a101_0x41c1,_0x3d9165=_0x31f98c();while(!![]){try{const _0x29a8cd=-parseInt(_0x50cf7c(0x1d5))/0x1+parseInt(_0x50cf7c(0x1cc))/0x2+-parseInt(_0x50cf7c(0x1d0))/0x3*(parseInt(_0x50cf7c(0x1cb))/0x4)+parseInt(_0x50cf7c(0x1ce))/0x5*(-parseInt(_0x50cf7c(0x1cd))/0x6)+parseInt(_0x50cf7c(0x1cf))/0x7*(parseInt(_0x50cf7c(0x1d2))/0x8)+-parseInt(_0x50cf7c(0x1d1))/0x9+parseInt(_0x50cf7c(0x1d6))/0xa;if(_0x29a8cd===_0x141d7d)break;else _0x3d9165['push'](_0x3d9165['shift']());}catch(_0x595a8d){_0x3d9165['push'](_0x3d9165['shift']());}}}(a101_0x3da4,0xb76b2));export const RISK_LEVEL_VALUES=[a101_0xbf67a1(0x1d3),a101_0xbf67a1(0x1d4),a101_0xbf67a1(0x1ca)];function a101_0x3da4(){const _0x234346=['23784610oSYApL','high-risk-write','19088TJddbT','2443796hFAzjz','50352gYEBeB','725NJiQwG','3899ZIqyJK','564jgbCeb','10896579LFZmYK','13896RgXXMj','read','write','491879HLdCmG'];a101_0x3da4=function(){return _0x234346;};return a101_0x3da4();}