@lovrabet/lovrabet-cli 2.3.2-beta.1 → 2.3.2-beta.2

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 (168) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/artifact/index.js +1 -1
  12. package/lib/commands/auth/device.js +1 -1
  13. package/lib/commands/auth/index.js +1 -1
  14. package/lib/commands/auth/prompt.js +1 -1
  15. package/lib/commands/bff/detail.js +1 -1
  16. package/lib/commands/bff/exec.js +1 -1
  17. package/lib/commands/bff/index.js +1 -1
  18. package/lib/commands/cli-skill/index.js +1 -1
  19. package/lib/commands/common/config-policy.js +1 -1
  20. package/lib/commands/common/constraints.js +1 -1
  21. package/lib/commands/common/flags.js +1 -1
  22. package/lib/commands/common/local-file.js +1 -1
  23. package/lib/commands/config/definitions.js +1 -1
  24. package/lib/commands/config/init.js +1 -1
  25. package/lib/commands/config/shared.js +1 -1
  26. package/lib/commands/data/index.js +1 -1
  27. package/lib/commands/dataset/detail.js +1 -1
  28. package/lib/commands/dataset/index.js +1 -1
  29. package/lib/commands/dataset/list.js +1 -1
  30. package/lib/commands/dataset/sdk-doc.js +1 -1
  31. package/lib/commands/doctor.js +1 -1
  32. package/lib/commands/file/index.js +1 -1
  33. package/lib/commands/init.js +1 -1
  34. package/lib/commands/kb/index.js +1 -1
  35. package/lib/commands/logs/index.js +1 -1
  36. package/lib/commands/notification/config-list.js +1 -1
  37. package/lib/commands/notification/index.js +1 -1
  38. package/lib/commands/notification/shared.js +1 -1
  39. package/lib/commands/ocr/index.js +1 -1
  40. package/lib/commands/permit/dataset-get.js +1 -1
  41. package/lib/commands/permit/dataset-set.js +1 -1
  42. package/lib/commands/permit/index.js +1 -1
  43. package/lib/commands/permit/page-get.js +1 -1
  44. package/lib/commands/permit/page-set.js +1 -1
  45. package/lib/commands/permit/role-menus-set.js +1 -1
  46. package/lib/commands/permit/role-menus.js +1 -1
  47. package/lib/commands/permit/shared.js +1 -1
  48. package/lib/commands/personal-bff/index.js +1 -1
  49. package/lib/commands/registry.js +1 -1
  50. package/lib/commands/role/create.js +1 -1
  51. package/lib/commands/role/delete.js +1 -1
  52. package/lib/commands/role/detail.js +1 -1
  53. package/lib/commands/role/index.js +1 -1
  54. package/lib/commands/role/list.js +1 -1
  55. package/lib/commands/role/shared.js +1 -1
  56. package/lib/commands/role/update.js +1 -1
  57. package/lib/commands/role/user-add.js +1 -1
  58. package/lib/commands/role/user-remove.js +1 -1
  59. package/lib/commands/schedule/index.js +1 -1
  60. package/lib/commands/schema.js +1 -1
  61. package/lib/commands/service/dynamic.js +1 -1
  62. package/lib/commands/service/function-name-adapter.js +1 -1
  63. package/lib/commands/service/index.js +1 -1
  64. package/lib/commands/service/registry.js +1 -1
  65. package/lib/commands/skill/commands/create.js +1 -1
  66. package/lib/commands/skill/commands/diagram.js +1 -1
  67. package/lib/commands/skill/commands/install.js +1 -1
  68. package/lib/commands/skill/commands/list.js +1 -1
  69. package/lib/commands/skill/commands/push.js +1 -1
  70. package/lib/commands/skill/commands/validate.js +1 -1
  71. package/lib/commands/skill/diagram.js +1 -1
  72. package/lib/commands/skill/flags.js +1 -1
  73. package/lib/commands/skill/index.js +1 -1
  74. package/lib/commands/skill/manifest-helpers.js +1 -1
  75. package/lib/commands/skill/push-execute.js +1 -1
  76. package/lib/commands/skill/push-flow-helpers.js +1 -1
  77. package/lib/commands/skill/push-retarget.js +1 -1
  78. package/lib/commands/skill/scopes.js +1 -1
  79. package/lib/commands/skill/summary.js +1 -1
  80. package/lib/commands/skill/templates.js +1 -1
  81. package/lib/commands/skill/validate.js +1 -1
  82. package/lib/commands/sql/detail.js +1 -1
  83. package/lib/commands/sql/exec.js +1 -1
  84. package/lib/commands/sql/index.js +1 -1
  85. package/lib/commands/update.js +1 -1
  86. package/lib/commands/user-account/bind.js +1 -1
  87. package/lib/commands/user-account/index.js +1 -1
  88. package/lib/commands/workspace/index.js +1 -1
  89. package/lib/config/domain-config.js +1 -1
  90. package/lib/config/schema.js +1 -1
  91. package/lib/constant/app.js +1 -1
  92. package/lib/constant/auth-mode.js +1 -1
  93. package/lib/constant/cli.js +1 -1
  94. package/lib/constant/defaults.js +1 -1
  95. package/lib/constant/distribution.js +1 -1
  96. package/lib/constant/domain.js +1 -1
  97. package/lib/constant/env.js +1 -1
  98. package/lib/constant/output.js +1 -1
  99. package/lib/constant/product.js +1 -1
  100. package/lib/constant/region.js +1 -1
  101. package/lib/constant/risk.js +1 -1
  102. package/lib/constant/url.js +1 -1
  103. package/lib/context.js +1 -1
  104. package/lib/core/api-client.js +1 -1
  105. package/lib/core/db-resolver.js +1 -1
  106. package/lib/core/kb-search-client.js +1 -1
  107. package/lib/core/sdk-client.js +1 -1
  108. package/lib/errors.js +1 -1
  109. package/lib/framework/build-all-flags.js +1 -1
  110. package/lib/framework/dryrun.js +1 -1
  111. package/lib/framework/flags.js +1 -1
  112. package/lib/framework/help.js +1 -1
  113. package/lib/framework/index.js +1 -1
  114. package/lib/framework/output.js +1 -1
  115. package/lib/framework/preparse.js +1 -1
  116. package/lib/framework/rate-limit.js +1 -1
  117. package/lib/framework/raw-flags.js +1 -1
  118. package/lib/framework/response.js +1 -1
  119. package/lib/framework/runner-confirmation.js +1 -1
  120. package/lib/framework/runner-error.js +1 -1
  121. package/lib/framework/runner.js +1 -1
  122. package/lib/framework/schema-export.js +1 -1
  123. package/lib/framework/service-order.js +1 -1
  124. package/lib/framework/types.js +1 -1
  125. package/lib/generated/build-info.d.ts +4 -4
  126. package/lib/generated/build-info.js +1 -1
  127. package/lib/generated/official-routing.js +1 -1
  128. package/lib/generated/routing-contract.js +1 -1
  129. package/lib/help.js +1 -1
  130. package/lib/postinstall.js +1 -1
  131. package/lib/runtime/confirmation.js +1 -1
  132. package/lib/runtime/event.js +1 -1
  133. package/lib/runtime/index.js +1 -1
  134. package/lib/runtime/queue.js +1 -1
  135. package/lib/runtime/resolve.js +1 -1
  136. package/lib/skills/builtin-skill.js +1 -1
  137. package/lib/skills/npx-skills-add.js +1 -1
  138. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  139. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  140. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  141. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  142. package/lib/skills/runtime-skill-sync/links.js +1 -1
  143. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  144. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  145. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  146. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  147. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  148. package/lib/skills/runtime-skill-sync/push.js +1 -1
  149. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  150. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  151. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  152. package/lib/skills/runtime-skill-sync.js +1 -1
  153. package/lib/skills/skill-presence.js +1 -1
  154. package/lib/utils/access-key-redaction.js +1 -1
  155. package/lib/utils/apply-jq-filter.js +1 -1
  156. package/lib/utils/cli-version-check.js +1 -1
  157. package/lib/utils/cli-version-policy.js +1 -1
  158. package/lib/utils/logger.js +1 -1
  159. package/lib/utils/lossless-json.js +1 -1
  160. package/lib/utils/params.js +1 -1
  161. package/lib/utils/update-notice.js +1 -1
  162. package/lib/utils/version.js +1 -1
  163. package/lib/utils/write-cli-side-channel.js +1 -1
  164. package/package.json +2 -1
  165. package/skills/lovrabet/SKILL.md +1 -1
  166. package/skills/lovrabet.manifest.json +3 -3
  167. package/lib/utils/platform.d.ts +0 -17
  168. package/lib/utils/platform.js +0 -1
@@ -1 +1 @@
1
- const a84_0x3b8153=a84_0x4a4f;function a84_0x4a4f(_0x335b8f,_0x399855){_0x335b8f=_0x335b8f-0xe4;const _0x48d459=a84_0x48d4();let _0x4a4ff3=_0x48d459[_0x335b8f];return _0x4a4ff3;}(function(_0x41d05f,_0x46f2bc){const _0x24416e=a84_0x4a4f,_0x3dbb04=_0x41d05f();while(!![]){try{const _0x773985=-parseInt(_0x24416e(0x11e))/0x1*(-parseInt(_0x24416e(0x120))/0x2)+parseInt(_0x24416e(0x11d))/0x3+parseInt(_0x24416e(0x109))/0x4+-parseInt(_0x24416e(0xf6))/0x5+-parseInt(_0x24416e(0x121))/0x6+parseInt(_0x24416e(0x111))/0x7+parseInt(_0x24416e(0x128))/0x8*(-parseInt(_0x24416e(0xfa))/0x9);if(_0x773985===_0x46f2bc)break;else _0x3dbb04['push'](_0x3dbb04['shift']());}catch(_0x4af757){_0x3dbb04['push'](_0x3dbb04['shift']());}}}(a84_0x48d4,0xd8d98));import{spawnSync}from'node:child_process';import{fileURLToPath}from'node:url';import{basename,dirname,relative,win32}from'node:path';import a84_0x3e409e 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{resolveNpmBin}from'../utils/platform.js';import{getCliVersion}from'../utils/version.js';function a84_0x48d4(){const _0x5d3002=['json','trim','relative','includes','\x20is\x20current.','version','@lovrabet\x5clovrabet-cli','2015545wPsGcM','find','map','nonInteractive','\x20->\x20','pipe','--prefix','fromEntries','Use\x20a\x20full\x20semver\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','log','\x20\x20Try\x20manually:\x20npm\x20install\x20-g\x20','--latest,\x20--beta,\x20and\x20version\x20cannot\x20be\x20used\x20together.','4951629tNiduX','26lVufVU','Updated\x20to\x20v','86798NIhpgN','2246862VuPyTn','win32','stdout','Already\x20on\x20requested\x20version\x20(v','/dist-tags',',\x20but\x20Built-in\x20Skill\x20verification\x20failed.','Update\x20failed:\x20','9466384DWSEuZ','Already\x20up\x20to\x20date\x20(v','latest','platform','lib','error','\x20\x20Built-in\x20Skill\x20verification\x20failed:\x20','join','reason','status','toString','write','code','Install\x20the\x20version\x20from\x20npm\x20beta\x20dist-tag','read','Choose\x20exactly\x20one\x20target:\x20--latest,\x20--beta,\x20or\x20--version\x20<version>.','valid','Checking\x20CLI\x20Built-in\x20Skill...','length','test','state','Update\x20the\x20','install','INSTALL_FAILED','inherit','bool','\x20\x20CLI\x20Built-in\x20Skill\x20repair\x20failed\x20[','\x20\x20Run\x20manually:\x20npm\x20install\x20-g\x20','\x20\x20CLI\x20Built-in\x20Skill\x20','npm','Version\x20comparison\x20failed:\x20','toLowerCase','entries','unknown','args','str','warn','basename','613915vLTFfH','source','beta','node_modules','18ffuAcK','@lovrabet/lovrabet-cli','exit\x20','repairCommand','update','validation','run','/-/package/','CLI\x20is\x20up\x20to\x20date,\x20but\x20Built-in\x20Skill\x20repair\x20failed.','filter','stderr','string','Install\x20the\x20version\x20from\x20npm\x20latest\x20dist-tag','\x20\x20Restart\x20your\x20terminal\x20to\x20use\x20the\x20new\x20version.','dirname','2740880JpPvkH'];a84_0x48d4=function(){return _0x5d3002;};return a84_0x48d4();}import{inspectInstalledBuiltinSkillVersion,installBuiltinSkill}from'../skills/builtin-skill.js';const updateFlags=[{'name':a84_0x3b8153(0x12a),'type':'boolean','description':a84_0x3b8153(0x106),'default':![]},{'name':a84_0x3b8153(0xf8),'type':'boolean','description':a84_0x3b8153(0x135),'default':![]},{'name':a84_0x3b8153(0x10f),'type':'string','description':'Install\x20a\x20specific\x20CLI\x20version'}];function getRequestedVersion(_0x37c935){const _0x376e4e=a84_0x3b8153,_0x4565c0=_0x37c935[_0x376e4e(0xf3)](_0x376e4e(0x10f))[_0x376e4e(0x10b)]();if(_0x4565c0)return _0x4565c0;return String(_0x37c935[_0x376e4e(0xf2)]?.[0x0]??'')[_0x376e4e(0x10b)]();}async function validateUpdateFlags(_0x59f903){const _0x593304=a84_0x3b8153,_0x308204=getRequestedVersion(_0x59f903),_0x2c5ede=[_0x59f903[_0x593304(0xe9)]('latest')?'latest':'',_0x59f903[_0x593304(0xe9)](_0x593304(0xf8))?_0x593304(0xf8):'',_0x308204?'version':''][_0x593304(0x103)](Boolean);if(_0x2c5ede[_0x593304(0x13a)]>0x1)throw CliErrors[_0x593304(0xff)](_0x593304(0x11c),_0x593304(0x137));if(_0x308204&&!a84_0x3e409e[_0x593304(0x138)](_0x308204))throw CliErrors['validation']('Invalid\x20version:\x20'+_0x308204,_0x593304(0x119));}async function fetchNpmDistTags(){const _0x427d07=a84_0x3b8153;try{const _0x424efb=NPM_REGISTRY_BASE_URL+_0x427d07(0x101)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x427d07(0x125),_0x34c58e=await fetch(_0x424efb,{'signal':AbortSignal['timeout'](0x2710)});if(!_0x34c58e['ok'])return null;const _0x3456a2=await _0x34c58e[_0x427d07(0x10a)]();if(!_0x3456a2||typeof _0x3456a2!=='object')return null;return Object[_0x427d07(0x118)](Object[_0x427d07(0xf0)](_0x3456a2)[_0x427d07(0x103)](([,_0x58f99d])=>typeof _0x58f99d===_0x427d07(0x105)&&_0x58f99d[_0x427d07(0x10b)]())[_0x427d07(0x113)](([_0x276f12,_0x383638])=>[_0x276f12,String(_0x383638)[_0x427d07(0x10b)]()]));}catch{return null;}}async function resolveTargetVersion(_0x11989e){const _0x2fdfee=a84_0x3b8153,_0x1094c9=getRequestedVersion(_0x11989e);if(_0x1094c9)return{'version':_0x1094c9,'source':_0x2fdfee(0x10f)};const _0x3d0a90=_0x11989e[_0x2fdfee(0xe9)]('beta')?_0x2fdfee(0xf8):_0x2fdfee(0x12a),_0x1f1a72=await fetchNpmDistTags(),_0x3ec53f=_0x1f1a72?.[_0x3d0a90];if(!_0x3ec53f)return null;return{'version':_0x3ec53f,'source':_0x3d0a90};}function shouldInstallTarget(_0x5d10d3,_0xb2e68a){const _0x285727=a84_0x3b8153;if(_0xb2e68a['source']===_0x285727(0x10f)||_0xb2e68a[_0x285727(0xf7)]===_0x285727(0xf8))return!a84_0x3e409e['eq'](_0x5d10d3,_0xb2e68a[_0x285727(0x10f)]);return a84_0x3e409e['lt'](_0x5d10d3,_0xb2e68a[_0x285727(0x10f)]);}export function installCliPackage(_0x46691e,_0x3ca654,_0x5689bb=resolveCurrentCliNpmPrefix()){const _0x325253=a84_0x3b8153,_0x232b76=resolveNpmBin(_0x325253(0xed)),_0xabf526=LOVRABET_NPM_PACKAGE_NAME+'@'+_0x46691e,_0xc610e6=[_0x325253(0xe6),'-g',_0xabf526],_0x17b949=runNpmInstall(_0x232b76,_0xc610e6,_0x3ca654);if(_0x17b949['ok']||!isNpmPrefixPermissionError(_0x17b949[_0x325253(0x12d)]))return _0x17b949;if(!_0x5689bb||_0x17b949[_0x325253(0x12d)]?.[_0x325253(0xef)]()[_0x325253(0x10d)](_0x5689bb['toLowerCase']()))return _0x17b949;return console[_0x325253(0xf4)]('Global\x20npm\x20prefix\x20is\x20not\x20writable;\x20retrying\x20in\x20the\x20current\x20CLI\x20Node\x20environment:\x20'+_0x5689bb),runNpmInstall(_0x232b76,[..._0xc610e6,_0x325253(0x117),_0x5689bb],_0x3ca654);}export function resolveCurrentCliNpmPrefix(_0x3d3c32=fileURLToPath(import.meta.url),_0x521764=process[a84_0x3b8153(0x12b)]){const _0x34bf10=a84_0x3b8153,_0x1f8ed4=_0x521764==='win32'?win32:{'basename':basename,'dirname':dirname,'relative':relative},_0x49f146=_0x1f8ed4['dirname'](_0x1f8ed4[_0x34bf10(0x108)](_0x1f8ed4[_0x34bf10(0x108)](_0x3d3c32))),_0x3c238b=_0x521764===_0x34bf10(0x122)?_0x34bf10(0x110):_0x34bf10(0xfb);let _0x16a268=_0x1f8ed4[_0x34bf10(0x108)](_0x49f146);while(!![]){if(_0x1f8ed4[_0x34bf10(0xf5)](_0x16a268)===_0x34bf10(0xf9)&&_0x1f8ed4[_0x34bf10(0x10c)](_0x16a268,_0x49f146)===_0x3c238b){const _0x32fada=_0x1f8ed4[_0x34bf10(0x108)](_0x16a268);return _0x1f8ed4[_0x34bf10(0xf5)](_0x32fada)===_0x34bf10(0x12c)?_0x1f8ed4[_0x34bf10(0x108)](_0x32fada):_0x32fada;}const _0x1b4d63=_0x1f8ed4[_0x34bf10(0x108)](_0x16a268);if(_0x1b4d63===_0x16a268)return null;_0x16a268=_0x1b4d63;}}function runNpmInstall(_0x4fbaae,_0x420aef,_0x363ce9){const _0x1e0ea9=a84_0x3b8153;console[_0x1e0ea9(0x11a)]('*\x20'+[_0x4fbaae,..._0x420aef][_0x1e0ea9(0x12f)]('\x20'));const _0x3776f3=spawnSync(_0x4fbaae,_0x420aef,{'cwd':process['cwd'](),'stdio':_0x1e0ea9(0x116),'env':process.env,'shell':![]}),_0x4d64d0=_0x3776f3['stderr']?_0x3776f3[_0x1e0ea9(0x104)][_0x1e0ea9(0x132)]()[_0x1e0ea9(0x10b)]():'',_0x329471=_0x3776f3[_0x1e0ea9(0x123)]?_0x3776f3[_0x1e0ea9(0x123)][_0x1e0ea9(0x132)]()[_0x1e0ea9(0x10b)]():'';if(!_0x363ce9){if(_0x329471)process[_0x1e0ea9(0x123)][_0x1e0ea9(0x133)](_0x329471+'\x0a');if(_0x4d64d0)process[_0x1e0ea9(0x104)][_0x1e0ea9(0x133)](_0x4d64d0+'\x0a');}if(_0x3776f3[_0x1e0ea9(0x131)]===0x0)return{'ok':!![]};const _0x575781=_0x3776f3[_0x1e0ea9(0x12d)]?.['message']||_0x4d64d0||_0x329471||_0x1e0ea9(0xfc)+(_0x3776f3[_0x1e0ea9(0x131)]??_0x1e0ea9(0xf1));return{'ok':![],'error':_0x575781};}function isNpmPrefixPermissionError(_0x5b6836){const _0x2c9460=a84_0x3b8153;return Boolean(_0x5b6836&&/\b(?:EACCES|EPERM)\b/[_0x2c9460(0x13b)](_0x5b6836));}function repairCurrentBuiltinSkill(_0x2934b7){const _0x191ae0=a84_0x3b8153;console[_0x191ae0(0x11a)]('Checking\x20CLI\x20Built-in\x20Skill...');const _0x5133d3=installBuiltinSkill({'stdio':_0x2934b7?'pipe':_0x191ae0(0xe8)});if(_0x5133d3['ok'])return console[_0x191ae0(0x11a)](_0x191ae0(0xec)+_0x5133d3['skillVersion']+_0x191ae0(0x10e)),!![];return console['warn'](_0x191ae0(0xea)+(_0x5133d3[_0x191ae0(0x134)]||_0x191ae0(0xe7))+']:\x20'+(_0x5133d3[_0x191ae0(0x12d)]||_0x191ae0(0xf1))),console[_0x191ae0(0x11a)]('\x20\x20Run\x20manually:\x20'+_0x5133d3[_0x191ae0(0xfd)]),![];}function verifyUpdatedBuiltinSkill(_0x10bf96){const _0x540a3a=a84_0x3b8153;console[_0x540a3a(0x11a)](_0x540a3a(0x139));const _0x21d63c=inspectInstalledBuiltinSkillVersion(_0x10bf96);if(_0x21d63c[_0x540a3a(0xe4)]==='current')return console[_0x540a3a(0x11a)](_0x540a3a(0xec)+_0x10bf96+_0x540a3a(0x10e)),!![];console[_0x540a3a(0xf4)](_0x540a3a(0x12e)+_0x21d63c[_0x540a3a(0xe4)]+'.');if(_0x21d63c[_0x540a3a(0x130)])console[_0x540a3a(0xf4)]('\x20\x20'+_0x21d63c[_0x540a3a(0x130)]);return console['log']('\x20\x20Run\x20manually:\x20'+_0x21d63c['repairCommand']),![];}async function execute(_0x2632e2){const _0x4f14a3=a84_0x3b8153;await validateUpdateFlags(_0x2632e2);const _0x3bfe80=getCliVersion();console[_0x4f14a3(0x11a)]('Current\x20version:\x20'+_0x3bfe80),console['log']('Checking\x20npm\x20dist-tags...');const _0x2bc60d=await resolveTargetVersion(_0x2632e2);if(!_0x2bc60d){const _0x261cbb=_0x2632e2[_0x4f14a3(0xe9)](_0x4f14a3(0xf8))?'beta':'latest',_0x24ba04='Unable\x20to\x20resolve\x20'+_0x261cbb+'\x20version\x20from\x20npm.';return console[_0x4f14a3(0xf4)](_0x24ba04),console[_0x4f14a3(0x11a)](_0x4f14a3(0xeb)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x261cbb),{'ok':![],'message':_0x24ba04};}const _0x131ce8=[_0x3bfe80,_0x2bc60d[_0x4f14a3(0x10f)]][_0x4f14a3(0x112)](_0x45cb11=>!a84_0x3e409e[_0x4f14a3(0x138)](_0x45cb11));if(_0x131ce8){const _0x49602a=_0x4f14a3(0xee)+_0x131ce8+'.';return console[_0x4f14a3(0xf4)](_0x49602a),{'ok':![],'message':_0x49602a};}if(!shouldInstallTarget(_0x3bfe80,_0x2bc60d)){const _0x373b02=_0x2bc60d[_0x4f14a3(0xf7)]===_0x4f14a3(0x10f)?_0x4f14a3(0x124)+_0x2bc60d['version']+').':_0x4f14a3(0x129)+_0x2bc60d[_0x4f14a3(0x10f)]+').';return console[_0x4f14a3(0x11a)](_0x373b02),repairCurrentBuiltinSkill(_0x2632e2['nonInteractive'])?{'ok':!![]}:{'ok':![],'message':_0x4f14a3(0x102)};}console['log']('Updating\x20'+LOVRABET_NPM_PACKAGE_NAME+':\x20'+_0x3bfe80+_0x4f14a3(0x115)+_0x2bc60d[_0x4f14a3(0x10f)]);const _0x2a3492=installCliPackage(_0x2bc60d[_0x4f14a3(0x10f)],_0x2632e2[_0x4f14a3(0x114)]);if(!_0x2a3492['ok']){const _0x356114=_0x4f14a3(0x127)+(_0x2a3492[_0x4f14a3(0x12d)]||_0x4f14a3(0xf1));return console[_0x4f14a3(0x12d)](_0x356114),console[_0x4f14a3(0x11a)](_0x4f14a3(0x11b)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x2bc60d[_0x4f14a3(0x10f)]),{'ok':![],'message':_0x356114};}return console[_0x4f14a3(0x11a)](_0x4f14a3(0x11f)+_0x2bc60d['version']+'.'),console[_0x4f14a3(0x11a)](_0x4f14a3(0x107)),verifyUpdatedBuiltinSkill(_0x2bc60d[_0x4f14a3(0x10f)])?{'ok':!![]}:{'ok':![],'message':'CLI\x20updated\x20to\x20v'+_0x2bc60d['version']+_0x4f14a3(0x126)};}export const updateDefinition={'service':a84_0x3b8153(0xfe),'command':a84_0x3b8153(0x100),'description':a84_0x3b8153(0xe5)+CLI_BIN_NAME+'\x20CLI\x20from\x20npm','risk':a84_0x3b8153(0x136),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':updateFlags,'validate':validateUpdateFlags,'execute':execute};
1
+ function a84_0x3046(){const _0xa46d41=['dirname','version','Unable\x20to\x20resolve\x20','update','Update\x20failed:\x20','join','cwd','reason','exitCode','\x20version\x20from\x20npm.','bool','1295480oJVGFv',',\x20but\x20Built-in\x20Skill\x20verification\x20failed:\x20','fromEntries','npm','skillVersion','relative','\x20\x20Restart\x20your\x20terminal\x20to\x20use\x20the\x20new\x20version.','basename','8508wDbGwh','exit\x20','2LQGnTN','nonInteractive','apiError','inherit','CLI\x20Built-in\x20Skill\x20repair\x20failed\x20[','Update\x20the\x20','find','write','string','Version\x20comparison\x20failed:\x20','error','map','4206169zSitab','5526391tBHUnA','includes','source','install','\x20doctor','\x20is\x20current.','\x20dist-tags,\x20then\x20retry.','pipe','\x20CLI\x20from\x20npm','args','run','Install\x20the\x20version\x20from\x20npm\x20beta\x20dist-tag','Install\x20the\x20version\x20from\x20npm\x20latest\x20dist-tag','win32','log','object','Checking\x20npm\x20dist-tags...','\x20\x20CLI\x20Built-in\x20Skill\x20','Checking\x20CLI\x20Built-in\x20Skill...','validation','current',',\x20found\x20','18HvWJtk','Run:\x20','entries','@lovrabet/lovrabet-cli','valid','repairCommand','44839FUUomX','trim','Choose\x20exactly\x20one\x20target:\x20--latest,\x20--beta,\x20or\x20--version\x20<version>.','boolean','Updating\x20',',\x20then\x20verify\x20with:\x20','24vFnIfc','read','Run:\x20npm\x20install\x20-g\x20','Invalid\x20version:\x20','filter','/-/package/','length','/dist-tags','--prefix','warn','latest','str','40urdohx','unknown','\x20->\x20','CLI\x20updated\x20to\x20v','Updated\x20to\x20v','Already\x20up\x20to\x20date\x20(v','855LfBWcH','beta','stderr','25795tTzGdN','1799748ufBcXx','Already\x20on\x20requested\x20version\x20(v','node_modules','1168MQFoqa','json','stdout','state','toLowerCase','expected\x20','--latest,\x20--beta,\x20and\x20version\x20cannot\x20be\x20used\x20together.','test'];a84_0x3046=function(){return _0xa46d41;};return a84_0x3046();}const a84_0x545ffb=a84_0x527e;(function(_0x30235a,_0x5a7eff){const _0x499f7=a84_0x527e,_0x2606e=_0x30235a();while(!![]){try{const _0x542683=-parseInt(_0x499f7(0xbf))/0x1*(parseInt(_0x499f7(0x96))/0x2)+-parseInt(_0x499f7(0xd7))/0x3*(-parseInt(_0x499f7(0x94))/0x4)+-parseInt(_0x499f7(0x8c))/0x5*(parseInt(_0x499f7(0xb9))/0x6)+parseInt(_0x499f7(0xda))/0x7*(parseInt(_0x499f7(0xde))/0x8)+-parseInt(_0x499f7(0xdb))/0x9*(parseInt(_0x499f7(0xd1))/0xa)+parseInt(_0x499f7(0xa2))/0xb+-parseInt(_0x499f7(0xc5))/0xc*(-parseInt(_0x499f7(0xa3))/0xd);if(_0x542683===_0x5a7eff)break;else _0x2606e['push'](_0x2606e['shift']());}catch(_0xf4f88){_0x2606e['push'](_0x2606e['shift']());}}}(a84_0x3046,0xb845f));import{fileURLToPath}from'node:url';import{basename,dirname,relative,win32}from'node:path';import{execaSync}from'execa';import a84_0xc4d26f 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 a84_0x527e(_0x3a4c98,_0x4adace){_0x3a4c98=_0x3a4c98-0x84;const _0x304638=a84_0x3046();let _0x527e8f=_0x304638[_0x3a4c98];return _0x527e8f;}import{getCliVersion}from'../utils/version.js';import{inspectInstalledBuiltinSkillVersion,installBuiltinSkill}from'../skills/builtin-skill.js';const updateFlags=[{'name':a84_0x545ffb(0xcf),'type':'boolean','description':a84_0x545ffb(0xaf),'default':![]},{'name':a84_0x545ffb(0xd8),'type':a84_0x545ffb(0xc2),'description':a84_0x545ffb(0xae),'default':![]},{'name':a84_0x545ffb(0xe7),'type':a84_0x545ffb(0x9e),'description':'Install\x20a\x20specific\x20CLI\x20version'}];function getRequestedVersion(_0x1b8de8){const _0x2b9b53=a84_0x545ffb,_0x3357b6=_0x1b8de8[_0x2b9b53(0xd0)]('version')[_0x2b9b53(0xc0)]();if(_0x3357b6)return _0x3357b6;return String(_0x1b8de8[_0x2b9b53(0xac)]?.[0x0]??'')['trim']();}async function validateUpdateFlags(_0x5e9ab7){const _0x3f073e=a84_0x545ffb,_0x2d3df9=getRequestedVersion(_0x5e9ab7),_0x1c11ad=[_0x5e9ab7['bool'](_0x3f073e(0xcf))?_0x3f073e(0xcf):'',_0x5e9ab7[_0x3f073e(0x8b)](_0x3f073e(0xd8))?'beta':'',_0x2d3df9?_0x3f073e(0xe7):''][_0x3f073e(0xc9)](Boolean);if(_0x1c11ad[_0x3f073e(0xcb)]>0x1)throw CliErrors[_0x3f073e(0xb6)](_0x3f073e(0xe4),_0x3f073e(0xc1));if(_0x2d3df9&&!a84_0xc4d26f[_0x3f073e(0xbd)](_0x2d3df9))throw CliErrors[_0x3f073e(0xb6)](_0x3f073e(0xc8)+_0x2d3df9,'Use\x20a\x20full\x20semver\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.');}async function fetchNpmDistTags(){const _0x2b4106=a84_0x545ffb;try{const _0x32da2b=NPM_REGISTRY_BASE_URL+_0x2b4106(0xca)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x2b4106(0xcc),_0x441495=await fetch(_0x32da2b,{'signal':AbortSignal['timeout'](0x2710)});if(!_0x441495['ok'])return null;const _0x111362=await _0x441495[_0x2b4106(0xdf)]();if(!_0x111362||typeof _0x111362!==_0x2b4106(0xb2))return null;return Object[_0x2b4106(0x8e)](Object[_0x2b4106(0xbb)](_0x111362)[_0x2b4106(0xc9)](([,_0x30509e])=>typeof _0x30509e==='string'&&_0x30509e[_0x2b4106(0xc0)]())[_0x2b4106(0xa1)](([_0x2c429b,_0x4dce80])=>[_0x2c429b,String(_0x4dce80)['trim']()]));}catch{return null;}}async function resolveTargetVersion(_0x75dab6){const _0x1453e1=a84_0x545ffb,_0x4fb378=getRequestedVersion(_0x75dab6);if(_0x4fb378)return{'version':_0x4fb378,'source':_0x1453e1(0xe7)};const _0x88628e=_0x75dab6[_0x1453e1(0x8b)](_0x1453e1(0xd8))?_0x1453e1(0xd8):_0x1453e1(0xcf),_0x3c0ae5=await fetchNpmDistTags(),_0x168d90=_0x3c0ae5?.[_0x88628e];if(!_0x168d90)return null;return{'version':_0x168d90,'source':_0x88628e};}function shouldInstallTarget(_0xe08060,_0x23c507){const _0x57e677=a84_0x545ffb;if(_0x23c507[_0x57e677(0xa5)]==='version'||_0x23c507[_0x57e677(0xa5)]===_0x57e677(0xd8))return!a84_0xc4d26f['eq'](_0xe08060,_0x23c507[_0x57e677(0xe7)]);return a84_0xc4d26f['lt'](_0xe08060,_0x23c507['version']);}export function installCliPackage(_0x6b2dee,_0x5eccca,_0x46bdce=resolveCurrentCliNpmPrefix()){const _0x3e0caa=a84_0x545ffb,_0x26f004=LOVRABET_NPM_PACKAGE_NAME+'@'+_0x6b2dee,_0x1aaaef=[_0x3e0caa(0xa6),'-g',_0x26f004],_0x3fb9b1=runNpmInstall(_0x1aaaef,_0x5eccca);if(_0x3fb9b1['ok']||!isNpmPrefixPermissionError(_0x3fb9b1[_0x3e0caa(0xa0)]))return _0x3fb9b1;if(!_0x46bdce||_0x3fb9b1[_0x3e0caa(0xa0)]?.[_0x3e0caa(0xe2)]()[_0x3e0caa(0xa4)](_0x46bdce[_0x3e0caa(0xe2)]()))return _0x3fb9b1;return console[_0x3e0caa(0xce)]('Global\x20npm\x20prefix\x20is\x20not\x20writable;\x20retrying\x20in\x20the\x20current\x20CLI\x20Node\x20environment:\x20'+_0x46bdce),runNpmInstall([..._0x1aaaef,_0x3e0caa(0xcd),_0x46bdce],_0x5eccca);}export function resolveCurrentCliNpmPrefix(_0x5e1f02=fileURLToPath(import.meta.url),_0x3a0238=process['platform']){const _0x14613e=a84_0x545ffb,_0x235638=_0x3a0238===_0x14613e(0xb0)?win32:{'basename':basename,'dirname':dirname,'relative':relative},_0x573e58=_0x235638[_0x14613e(0xe6)](_0x235638['dirname'](_0x235638['dirname'](_0x5e1f02))),_0x5f0b51=_0x3a0238===_0x14613e(0xb0)?'@lovrabet\x5clovrabet-cli':_0x14613e(0xbc);let _0x50ff5d=_0x235638[_0x14613e(0xe6)](_0x573e58);while(!![]){if(_0x235638[_0x14613e(0x93)](_0x50ff5d)===_0x14613e(0xdd)&&_0x235638[_0x14613e(0x91)](_0x50ff5d,_0x573e58)===_0x5f0b51){const _0x48667d=_0x235638['dirname'](_0x50ff5d);return _0x235638[_0x14613e(0x93)](_0x48667d)==='lib'?_0x235638[_0x14613e(0xe6)](_0x48667d):_0x48667d;}const _0x3f9276=_0x235638[_0x14613e(0xe6)](_0x50ff5d);if(_0x3f9276===_0x50ff5d)return null;_0x50ff5d=_0x3f9276;}}function runNpmInstall(_0x3a6644,_0x1570c8){const _0x121dd5=a84_0x545ffb;console[_0x121dd5(0xb1)]('*\x20'+[_0x121dd5(0x8f),..._0x3a6644][_0x121dd5(0x86)]('\x20'));const _0x1e029d=execaSync(_0x121dd5(0x8f),_0x3a6644,{'cwd':process[_0x121dd5(0x87)](),'stdio':_0x121dd5(0xaa),'env':process.env,'extendEnv':![],'shell':![],'reject':![]}),_0x70919c=_0x1e029d[_0x121dd5(0xd9)]?String(_0x1e029d[_0x121dd5(0xd9)])[_0x121dd5(0xc0)]():'',_0x184bd9=_0x1e029d[_0x121dd5(0xe0)]?String(_0x1e029d[_0x121dd5(0xe0)])['trim']():'';if(!_0x1570c8){if(_0x184bd9)process[_0x121dd5(0xe0)][_0x121dd5(0x9d)](_0x184bd9+'\x0a');if(_0x70919c)process[_0x121dd5(0xd9)][_0x121dd5(0x9d)](_0x70919c+'\x0a');}if(_0x1e029d[_0x121dd5(0x89)]===0x0)return{'ok':!![]};const _0x42a18c=_0x70919c||_0x184bd9||_0x1e029d['shortMessage']||_0x121dd5(0x95)+(_0x1e029d[_0x121dd5(0x89)]??_0x121dd5(0xd2));return{'ok':![],'error':_0x42a18c};}function isNpmPrefixPermissionError(_0x48cf78){const _0x57e303=a84_0x545ffb;return Boolean(_0x48cf78&&/\b(?:EACCES|EPERM)\b/[_0x57e303(0xe5)](_0x48cf78));}function repairCurrentBuiltinSkill(_0x58b264){const _0x33c27c=a84_0x545ffb;console['log'](_0x33c27c(0xb5));const _0x5552a3=installBuiltinSkill({'stdio':_0x58b264?_0x33c27c(0xaa):_0x33c27c(0x99)});if(_0x5552a3['ok']){console[_0x33c27c(0xb1)](_0x33c27c(0xb4)+_0x5552a3[_0x33c27c(0x90)]+_0x33c27c(0xa8));return;}throw CliErrors[_0x33c27c(0x98)](_0x33c27c(0x9a)+(_0x5552a3['code']||'INSTALL_FAILED')+']:\x20'+(_0x5552a3['error']||_0x33c27c(0xd2)),_0x33c27c(0xba)+_0x5552a3[_0x33c27c(0xbe)]+_0x33c27c(0xc4)+CLI_BIN_NAME+_0x33c27c(0xa7));}function verifyUpdatedBuiltinSkill(_0x23797a){const _0x560182=a84_0x545ffb;console[_0x560182(0xb1)](_0x560182(0xb5));const _0x48380a=inspectInstalledBuiltinSkillVersion(_0x23797a);if(_0x48380a[_0x560182(0xe1)]===_0x560182(0xb7)){console['log'](_0x560182(0xb4)+_0x23797a+_0x560182(0xa8));return;}const _0x214b2a=_0x48380a['skillVersion']?_0x560182(0xe3)+_0x23797a+_0x560182(0xb8)+_0x48380a['skillVersion']:_0x560182(0xe3)+_0x23797a+',\x20state\x20'+_0x48380a[_0x560182(0xe1)],_0x61edf1=_0x48380a[_0x560182(0x88)]?_0x214b2a+':\x20'+_0x48380a[_0x560182(0x88)]:_0x214b2a;throw CliErrors[_0x560182(0x98)](_0x560182(0xd4)+_0x23797a+_0x560182(0x8d)+_0x61edf1,_0x560182(0xba)+_0x48380a[_0x560182(0xbe)]+_0x560182(0xc4)+CLI_BIN_NAME+_0x560182(0xa7));}async function execute(_0x2f4709){const _0x1e7af2=a84_0x545ffb;await validateUpdateFlags(_0x2f4709);const _0x377cec=getCliVersion();console[_0x1e7af2(0xb1)]('Current\x20version:\x20'+_0x377cec),console[_0x1e7af2(0xb1)](_0x1e7af2(0xb3));const _0x5256e3=await resolveTargetVersion(_0x2f4709);if(!_0x5256e3){const _0x275463=_0x2f4709[_0x1e7af2(0x8b)](_0x1e7af2(0xd8))?'beta':_0x1e7af2(0xcf),_0x204203=_0x1e7af2(0xe8)+_0x275463+_0x1e7af2(0x8a);throw CliErrors[_0x1e7af2(0x98)](_0x204203,_0x1e7af2(0xc7)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x275463);}const _0x5d7596=[_0x377cec,_0x5256e3[_0x1e7af2(0xe7)]][_0x1e7af2(0x9c)](_0x3ace8c=>!a84_0xc4d26f[_0x1e7af2(0xbd)](_0x3ace8c));if(_0x5d7596){const _0x470575=_0x1e7af2(0x9f)+_0x5d7596+'.';throw CliErrors[_0x1e7af2(0x98)](_0x470575,'Run:\x20npm\x20view\x20'+LOVRABET_NPM_PACKAGE_NAME+_0x1e7af2(0xa9));}if(!shouldInstallTarget(_0x377cec,_0x5256e3)){const _0x122e98=_0x5256e3[_0x1e7af2(0xa5)]==='version'?_0x1e7af2(0xdc)+_0x5256e3[_0x1e7af2(0xe7)]+').':_0x1e7af2(0xd6)+_0x5256e3[_0x1e7af2(0xe7)]+').';return console[_0x1e7af2(0xb1)](_0x122e98),repairCurrentBuiltinSkill(_0x2f4709[_0x1e7af2(0x97)]),{'ok':!![]};}console['log'](_0x1e7af2(0xc3)+LOVRABET_NPM_PACKAGE_NAME+':\x20'+_0x377cec+_0x1e7af2(0xd3)+_0x5256e3[_0x1e7af2(0xe7)]);const _0x14f86f=installCliPackage(_0x5256e3['version'],_0x2f4709[_0x1e7af2(0x97)]);if(!_0x14f86f['ok']){const _0x2ea0a6=_0x1e7af2(0x85)+(_0x14f86f[_0x1e7af2(0xa0)]||'unknown');throw CliErrors[_0x1e7af2(0x98)](_0x2ea0a6,_0x1e7af2(0xc7)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x5256e3[_0x1e7af2(0xe7)]);}return console[_0x1e7af2(0xb1)](_0x1e7af2(0xd5)+_0x5256e3['version']+'.'),console[_0x1e7af2(0xb1)](_0x1e7af2(0x92)),verifyUpdatedBuiltinSkill(_0x5256e3[_0x1e7af2(0xe7)]),{'ok':!![]};}export const updateDefinition={'service':a84_0x545ffb(0x84),'command':a84_0x545ffb(0xad),'description':a84_0x545ffb(0x9b)+CLI_BIN_NAME+a84_0x545ffb(0xab),'risk':a84_0x545ffb(0xc6),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':updateFlags,'validate':validateUpdateFlags,'execute':execute};
@@ -1 +1 @@
1
- const a85_0x839f72=a85_0x2c06;(function(_0x267c3b,_0x58366d){const _0x39c7b3=a85_0x2c06,_0x463050=_0x267c3b();while(!![]){try{const _0x880db4=parseInt(_0x39c7b3(0x197))/0x1+-parseInt(_0x39c7b3(0x188))/0x2*(-parseInt(_0x39c7b3(0x194))/0x3)+-parseInt(_0x39c7b3(0x181))/0x4+parseInt(_0x39c7b3(0x18a))/0x5*(parseInt(_0x39c7b3(0x185))/0x6)+-parseInt(_0x39c7b3(0x19a))/0x7*(-parseInt(_0x39c7b3(0x190))/0x8)+-parseInt(_0x39c7b3(0x182))/0x9+-parseInt(_0x39c7b3(0x199))/0xa;if(_0x880db4===_0x58366d)break;else _0x463050['push'](_0x463050['shift']());}catch(_0x48e6d9){_0x463050['push'](_0x463050['shift']());}}}(a85_0x4e8e,0xd7e82));import{bindExternalUserAccount,USER_ACCOUNT_BIND_PATH}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';function a85_0x4e8e(){const _0x5268d5=['2232123wYeYDz','toLowerCase','Pass\x20the\x20external\x20account\x20ID\x20for\x20the\x20selected\x20provider.','1550437mUiaJJ','write','15118460NpcNmG','847BbukBg','External\x20account\x20ID\x20for\x20the\x20selected\x20provider','bind','user-account','includes','apiError','1117944soRJQe','1579050QREJEt','The\x20current\x20binding\x20is\x20not\x20exposed\x20by\x20the\x20server;\x20before\x20is\x20unavailable.','provider','6XVBiUI','Bound\x20current\x20user\x20to\x20external\x20provider\x20account.','string','2gdflCS','Pass\x20one\x20of:\x20','2773610QafsBx','dingtalk','Retry\x20with\x20the\x20same\x20--provider\x20and\x20--account-id\x20only\x20after\x20checking\x20the\x20current\x20AccessKey\x20identity.','validation','str','trim','128LtdQiI','account-id','Binds\x20the\x20platform\x20user\x20of\x20the\x20current\x20AccessKey\x20to\x20the\x20given\x20collaboration-provider\x20account.\x20An\x20existing\x20bind\x20for\x20the\x20same\x20provider\x20may\x20be\x20replaced.','(empty)'];a85_0x4e8e=function(){return _0x5268d5;};return a85_0x4e8e();}const CURRENT_BINDING_WARNING=a85_0x839f72(0x183),SUPPORTED_PROVIDERS=[a85_0x839f72(0x18b)];function readBindingInput(_0x57bc13){const _0x3ccd27=a85_0x839f72,_0x12bed6=_0x57bc13[_0x3ccd27(0x18e)](_0x3ccd27(0x184))[_0x3ccd27(0x18f)]()[_0x3ccd27(0x195)]();if(!SUPPORTED_PROVIDERS[_0x3ccd27(0x17f)](_0x12bed6))throw CliErrors[_0x3ccd27(0x18d)]('Unsupported\x20provider:\x20'+(_0x12bed6||_0x3ccd27(0x193))+'.',_0x3ccd27(0x189)+SUPPORTED_PROVIDERS['join'](',\x20')+'.');const _0x589007=_0x57bc13[_0x3ccd27(0x18e)]('account-id')[_0x3ccd27(0x18f)]();if(!_0x589007)throw CliErrors[_0x3ccd27(0x18d)]('--account-id\x20cannot\x20be\x20empty.',_0x3ccd27(0x196));return{'provider':_0x12bed6,'accountId':_0x589007};}function a85_0x2c06(_0x19634a,_0x277c64){_0x19634a=_0x19634a-0x17c;const _0x4e8e59=a85_0x4e8e();let _0x2c06d9=_0x4e8e59[_0x19634a];return _0x2c06d9;}function buildBindingData(_0x35ae55,_0x23e192,_0xccb3d2){const _0x9fec2a=a85_0x839f72;return{'operation':_0x9fec2a(0x17d),'selector':{'provider':_0x35ae55,'accountId':_0x23e192},'before':null,'after':{'provider':_0x35ae55,'accountId':_0x23e192,'bound':!![]},'dryRun':_0xccb3d2,'warnings':[CURRENT_BINDING_WARNING]};}export const bindUserAccount={'service':a85_0x839f72(0x17e),'command':a85_0x839f72(0x17d),'description':'Bind\x20the\x20current\x20platform\x20user\x20to\x20an\x20external\x20provider\x20account','risk':a85_0x839f72(0x198),'confirmationDescription':a85_0x839f72(0x192),'requiresAuth':!![],'requiresAppCode':![],'flags':[{'name':'provider','type':a85_0x839f72(0x187),'required':!![],'enum':[...SUPPORTED_PROVIDERS],'description':'External\x20account\x20provider'},{'name':a85_0x839f72(0x191),'type':a85_0x839f72(0x187),'required':!![],'description':a85_0x839f72(0x17c)}],async 'validate'(_0x4bc5f0){readBindingInput(_0x4bc5f0);},async 'dryRun'(_0x3025e0){const {provider:_0x276ec2,accountId:_0x58e5cb}=readBindingInput(_0x3025e0);return{...buildBindingData(_0x276ec2,_0x58e5cb,!![]),'method':'POST','url':USER_ACCOUNT_BIND_PATH,'body':{'provider':_0x276ec2,'accountId':_0x58e5cb}};},async 'execute'(_0x21e6f6){const _0x225182=a85_0x839f72,{provider:_0x2fbb52,accountId:_0x3e53c1}=readBindingInput(_0x21e6f6),_0x125850=await bindExternalUserAccount(_0x2fbb52,_0x3e53c1);if(_0x125850!==!![])throw CliErrors[_0x225182(0x180)]('External\x20account\x20binding\x20was\x20not\x20confirmed.',_0x225182(0x18c));return{'ok':!![],'data':buildBindingData(_0x2fbb52,_0x3e53c1,![]),'message':_0x225182(0x186)};}};
1
+ const a85_0x12d514=a85_0x27d3;(function(_0x21fd5f,_0x135468){const _0x45b67e=a85_0x27d3,_0x12da86=_0x21fd5f();while(!![]){try{const _0x4d8fc2=parseInt(_0x45b67e(0x1b1))/0x1*(-parseInt(_0x45b67e(0x1a0))/0x2)+-parseInt(_0x45b67e(0x1a4))/0x3+parseInt(_0x45b67e(0x1a6))/0x4+-parseInt(_0x45b67e(0x1b9))/0x5*(parseInt(_0x45b67e(0x1a1))/0x6)+parseInt(_0x45b67e(0x1a2))/0x7*(-parseInt(_0x45b67e(0x1ae))/0x8)+parseInt(_0x45b67e(0x1bc))/0x9+parseInt(_0x45b67e(0x1ad))/0xa*(parseInt(_0x45b67e(0x1a8))/0xb);if(_0x4d8fc2===_0x135468)break;else _0x12da86['push'](_0x12da86['shift']());}catch(_0x250937){_0x12da86['push'](_0x12da86['shift']());}}}(a85_0x276e,0xaec5d));import{bindExternalUserAccount,USER_ACCOUNT_BIND_PATH}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';const CURRENT_BINDING_WARNING=a85_0x12d514(0x19c),SUPPORTED_PROVIDERS=[a85_0x12d514(0x1af)];function a85_0x27d3(_0x4d755f,_0xa7513c){_0x4d755f=_0x4d755f-0x19c;const _0x276eb5=a85_0x276e();let _0x27d3ef=_0x276eb5[_0x4d755f];return _0x27d3ef;}function readBindingInput(_0x2dbdac){const _0xe0126e=a85_0x12d514,_0x105f95=_0x2dbdac[_0xe0126e(0x1b4)](_0xe0126e(0x1b6))[_0xe0126e(0x1ac)]()[_0xe0126e(0x19e)]();if(!SUPPORTED_PROVIDERS[_0xe0126e(0x1b8)](_0x105f95))throw CliErrors[_0xe0126e(0x19f)](_0xe0126e(0x1b2)+(_0x105f95||'(empty)')+'.',_0xe0126e(0x1a5)+SUPPORTED_PROVIDERS['join'](',\x20')+'.');const _0x2a0940=_0x2dbdac[_0xe0126e(0x1b4)](_0xe0126e(0x1a7))['trim']();if(!_0x2a0940)throw CliErrors['validation'](_0xe0126e(0x1aa),_0xe0126e(0x1ab));return{'provider':_0x105f95,'accountId':_0x2a0940};}function buildBindingData(_0x5861ae,_0xfe9fb6,_0x4f6419){const _0xe14c9c=a85_0x12d514;return{'operation':_0xe14c9c(0x1bb),'selector':{'provider':_0x5861ae,'accountId':_0xfe9fb6},'before':null,'after':{'provider':_0x5861ae,'accountId':_0xfe9fb6,'bound':!![]},'dryRun':_0x4f6419,'warnings':[CURRENT_BINDING_WARNING]};}export const bindUserAccount={'service':a85_0x12d514(0x1ba),'command':a85_0x12d514(0x1bb),'description':a85_0x12d514(0x1b7),'risk':a85_0x12d514(0x1a3),'confirmationDescription':a85_0x12d514(0x1b0),'requiresAuth':!![],'requiresAppCode':![],'flags':[{'name':'provider','type':a85_0x12d514(0x1b3),'required':!![],'enum':[...SUPPORTED_PROVIDERS],'description':'External\x20account\x20provider'},{'name':a85_0x12d514(0x1a7),'type':a85_0x12d514(0x1b3),'required':!![],'description':a85_0x12d514(0x1bd)}],async 'validate'(_0xc005ec){readBindingInput(_0xc005ec);},async 'dryRun'(_0x1dd68d){const _0x3cfd55=a85_0x12d514,{provider:_0x5b6a29,accountId:_0x500659}=readBindingInput(_0x1dd68d);return{...buildBindingData(_0x5b6a29,_0x500659,!![]),'method':_0x3cfd55(0x1b5),'url':USER_ACCOUNT_BIND_PATH,'body':{'provider':_0x5b6a29,'accountId':_0x500659}};},async 'execute'(_0x2860ea){const _0x4e36e1=a85_0x12d514,{provider:_0x574258,accountId:_0x5e0ace}=readBindingInput(_0x2860ea),_0x58e146=await bindExternalUserAccount(_0x574258,_0x5e0ace);if(_0x58e146!==!![])throw CliErrors['apiError'](_0x4e36e1(0x1a9),_0x4e36e1(0x19d));return{'ok':!![],'data':buildBindingData(_0x574258,_0x5e0ace,![]),'message':'Bound\x20current\x20user\x20to\x20external\x20provider\x20account.'};}};function a85_0x276e(){const _0x5aff3f=['write','1699065rJVVIB','Pass\x20one\x20of:\x20','2395704nMLaFo','account-id','33SsRqSw','External\x20account\x20binding\x20was\x20not\x20confirmed.','--account-id\x20cannot\x20be\x20empty.','Pass\x20the\x20external\x20account\x20ID\x20for\x20the\x20selected\x20provider.','trim','1403880KOAzgZ','31600IGcgmQ','dingtalk','Binds\x20the\x20platform\x20user\x20of\x20the\x20current\x20AccessKey\x20to\x20the\x20given\x20collaboration-provider\x20account.\x20An\x20existing\x20bind\x20for\x20the\x20same\x20provider\x20may\x20be\x20replaced.','542XZvklB','Unsupported\x20provider:\x20','string','str','POST','provider','Bind\x20the\x20current\x20platform\x20user\x20to\x20an\x20external\x20provider\x20account','includes','5WqzYgN','user-account','bind','11476251QDtbHl','External\x20account\x20ID\x20for\x20the\x20selected\x20provider','The\x20current\x20binding\x20is\x20not\x20exposed\x20by\x20the\x20server;\x20before\x20is\x20unavailable.','Retry\x20with\x20the\x20same\x20--provider\x20and\x20--account-id\x20only\x20after\x20checking\x20the\x20current\x20AccessKey\x20identity.','toLowerCase','validation','1538gCWyoY','1207242GHEwdg','700rmKluZ'];a85_0x276e=function(){return _0x5aff3f;};return a85_0x276e();}
@@ -1 +1 @@
1
- (function(_0x3ed389,_0x28017b){const _0x3a8a87=a86_0x2560,_0x58b561=_0x3ed389();while(!![]){try{const _0x4f6a64=-parseInt(_0x3a8a87(0x12b))/0x1+parseInt(_0x3a8a87(0x131))/0x2*(parseInt(_0x3a8a87(0x129))/0x3)+-parseInt(_0x3a8a87(0x12c))/0x4+-parseInt(_0x3a8a87(0x12d))/0x5*(parseInt(_0x3a8a87(0x12a))/0x6)+parseInt(_0x3a8a87(0x132))/0x7+-parseInt(_0x3a8a87(0x12f))/0x8+parseInt(_0x3a8a87(0x12e))/0x9*(parseInt(_0x3a8a87(0x130))/0xa);if(_0x4f6a64===_0x28017b)break;else _0x58b561['push'](_0x58b561['shift']());}catch(_0x1e628e){_0x58b561['push'](_0x58b561['shift']());}}}(a86_0x1d9a,0x2a4b3));function a86_0x2560(_0x4d6d14,_0x3a64c1){_0x4d6d14=_0x4d6d14-0x129;const _0x1d9ac7=a86_0x1d9a();let _0x25605c=_0x1d9ac7[_0x4d6d14];return _0x25605c;}import{bindUserAccount}from'../../commands/user-account/bind.js';export const userAccountDefinitions=[bindUserAccount];function a86_0x1d9a(){const _0x1d3577=['12CJQrRo','326520xvraMk','186844FgpJaB','410920lqwtHK','5985567DDAQpH','2685080NDKFWX','10TSxsxt','220TfaqWJ','340592uBFIwb','9075nfTdRn'];a86_0x1d9a=function(){return _0x1d3577;};return a86_0x1d9a();}
1
+ function a86_0x56f7(_0x10a6fe,_0x3867a9){_0x10a6fe=_0x10a6fe-0x1db;const _0x18f59a=a86_0x18f5();let _0x56f792=_0x18f59a[_0x10a6fe];return _0x56f792;}(function(_0xe2aedf,_0x2833d6){const _0x50d6bd=a86_0x56f7,_0x191fb5=_0xe2aedf();while(!![]){try{const _0x5bf875=-parseInt(_0x50d6bd(0x1e5))/0x1*(parseInt(_0x50d6bd(0x1de))/0x2)+parseInt(_0x50d6bd(0x1dd))/0x3*(-parseInt(_0x50d6bd(0x1e2))/0x4)+parseInt(_0x50d6bd(0x1e1))/0x5*(parseInt(_0x50d6bd(0x1db))/0x6)+parseInt(_0x50d6bd(0x1e4))/0x7*(-parseInt(_0x50d6bd(0x1e3))/0x8)+parseInt(_0x50d6bd(0x1e0))/0x9+-parseInt(_0x50d6bd(0x1dc))/0xa*(-parseInt(_0x50d6bd(0x1df))/0xb)+-parseInt(_0x50d6bd(0x1e6))/0xc*(-parseInt(_0x50d6bd(0x1e7))/0xd);if(_0x5bf875===_0x2833d6)break;else _0x191fb5['push'](_0x191fb5['shift']());}catch(_0x293a99){_0x191fb5['push'](_0x191fb5['shift']());}}}(a86_0x18f5,0x6d0cc));import{bindUserAccount}from'../../commands/user-account/bind.js';export const userAccountDefinitions=[bindUserAccount];function a86_0x18f5(){const _0x4b09dc=['125KmuNNR','12Lrcjdd','31080rgfoWu','1281NniUMz','61DXgZCB','506868yZPuFO','351GquGZp','6270BiDycD','4630iMeZAd','709170jPQOPN','7916NAQucp','16984puHdLb','2041029eCRxbj'];a86_0x18f5=function(){return _0x4b09dc;};return a86_0x18f5();}
@@ -1 +1 @@
1
- const a87_0x58ed1a=a87_0x1ddb;(function(_0xcfda46,_0x2c675c){const _0x363e85=a87_0x1ddb,_0x4c3ebc=_0xcfda46();while(!![]){try{const _0x246ca3=-parseInt(_0x363e85(0x99))/0x1+-parseInt(_0x363e85(0x7a))/0x2*(-parseInt(_0x363e85(0x8b))/0x3)+-parseInt(_0x363e85(0x84))/0x4*(-parseInt(_0x363e85(0xa3))/0x5)+-parseInt(_0x363e85(0x73))/0x6*(-parseInt(_0x363e85(0x7e))/0x7)+parseInt(_0x363e85(0xa2))/0x8*(-parseInt(_0x363e85(0x8a))/0x9)+-parseInt(_0x363e85(0x72))/0xa+-parseInt(_0x363e85(0xa5))/0xb*(-parseInt(_0x363e85(0x92))/0xc);if(_0x246ca3===_0x2c675c)break;else _0x4c3ebc['push'](_0x4c3ebc['shift']());}catch(_0x37b50c){_0x4c3ebc['push'](_0x4c3ebc['shift']());}}}(a87_0x35c5,0xc45e5));import{CLI_BIN_NAME}from'../../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../../constant/env.js';function a87_0x35c5(){const _0x4b0bfd=['110254OPfDRA','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20pass\x20--appcode\x20directly.','../../commands/app/remote-source.js','Pass\x20either\x20--app\x20<name>\x20or\x20--appcode\x20<code>,\x20not\x20both.','246757ASAxcX','Usage:\x20','App\x20name\x20to\x20bind\x20as\x20the\x20current\x20workspace\x20default','\x20workspace\x20init\x20--appcode\x20<code>`\x20first.','\x20--appcode\x20<code>\x20[--env\x20daily]','workspace','41764iEzSgY','\x20workspace\x20use\x20--app\x20<name>`\x20or\x20`','App\x20code\x20to\x20bind\x20directly','appName','accessKey','\x20workspace\x20use\x20--appcode\x20<code>`\x20to\x20change\x20it.','1359VxqhWy','15WARImD','string','trim','map','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','includes','2724324MQZuAT','app','join','\x20workspace\x20','App\x20\x22','apps','\x22\x20not\x20found.','9699sfIDAF','Workspace\x20configured.\x0aConfig\x20file:\x20','validation','from','\x22.\x20Allowed:\x20','Change\x20the\x20app\x20context\x20already\x20bound\x20to\x20the\x20current\x20working\x20directory','\x20--app\x20<name>\x20[--env\x20daily]\x20or\x20','object','use','29248CgFmrr','195wvHuly','Run\x20`','44DcTgSN','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.','envName','env','filter','appcode','project','items','workspace\x20','Workspace\x20app\x20context\x20is\x20already\x20initialized.','defaultApp','length','6831250BecQkC','78NiczrA','str','\x0aAccessKey:\x20not\x20written','\x0aEnv:\x20','init','authRequired','Missing\x20workspace\x20app\x20selector.'];a87_0x35c5=function(){return _0x4b0bfd;};return a87_0x35c5();}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':'app','type':'string','description':a87_0x58ed1a(0x80)},{'name':'appcode','type':a87_0x58ed1a(0x8c),'description':a87_0x58ed1a(0x86)},{'name':a87_0x58ed1a(0xa8),'type':a87_0x58ed1a(0x8c),'description':'Target\x20environment','enum':[...RUNTIME_ENV_VALUES]}];async function executeWorkspaceUse(_0x3114e0,_0x4c1212){const _0x2b685f=a87_0x58ed1a,_0x1d936c=_0x3114e0[_0x2b685f(0x74)](_0x2b685f(0x93))[_0x2b685f(0x8d)](),_0x12287c=_0x3114e0[_0x2b685f(0x74)](_0x2b685f(0xaa))['trim'](),_0x6cff67=_0x3114e0[_0x2b685f(0x74)](_0x2b685f(0xa8))['trim'](),_0x4af698=resolveWorkspaceEnv(_0x6cff67||_0x3114e0[_0x2b685f(0xa7)]||DEFAULT_CONFIG_VALUES[_0x2b685f(0xa8)]);if(!_0x1d936c&&!_0x12287c)throw CliErrors[_0x2b685f(0x9b)](_0x2b685f(0x79),_0x2b685f(0x7f)+CLI_BIN_NAME+_0x2b685f(0x95)+_0x4c1212+_0x2b685f(0x9f)+CLI_BIN_NAME+_0x2b685f(0x95)+_0x4c1212+_0x2b685f(0x82));if(_0x1d936c&&_0x12287c)throw CliErrors['validation']('Conflicting\x20workspace\x20app\x20selectors.',_0x2b685f(0x7d));const _0xbdcd36=resolveWriteConfigPath(_0x2b685f(0xab)),_0xcd5ea6=readConfigFile(_0xbdcd36);assertWorkspaceCommandState(_0x4c1212,_0xcd5ea6);const _0x3580b3=_0x12287c||await resolveRemoteAppCode({'command':_0x4c1212,'appName':_0x1d936c,'env':_0x4af698,'accessKey':_0x3114e0['accessKey']});return writeWorkspaceConfig({'command':_0x4c1212,'appName':_0x1d936c,'appcode':_0x3580b3,'env':_0x4af698,'shouldWriteEnv':!!_0x6cff67,'accessKey':_0x3114e0[_0x2b685f(0x88)]},_0xbdcd36,_0xcd5ea6),{'ok':!![],'data':{'configPath':_0xbdcd36,'app':_0x1d936c||null,'appcode':_0x3580b3,'env':_0x6cff67?_0x4af698:null,'accessKeyWritten':![],'command':_0x2b685f(0xad)+_0x4c1212},'message':buildWorkspaceMessage(_0xbdcd36,_0x1d936c,_0x3580b3,_0x6cff67?_0x4af698:undefined)};}async function resolveRemoteAppCode(_0x372e34){const _0x30b312=a87_0x58ed1a;if(!_0x372e34['accessKey'])throw CliErrors[_0x30b312(0x78)]('Resolving\x20--app\x20requires\x20accessKey.\x20Pass\x20--appcode\x20directly,\x20or\x20set\x20accessKey\x20before\x20running\x20'+CLI_BIN_NAME+'\x20workspace\x20'+_0x372e34['command']+'.');const {setActiveAK:_0x5698ce}=await import('../../core/api-client.js'),{getRemoteAppList:_0x2dcebf}=await import(_0x30b312(0x7c));_0x5698ce(_0x372e34[_0x30b312(0x88)]);const _0x1e7fcb=await _0x2dcebf({'env':_0x372e34['env'],'accessKey':_0x372e34['accessKey'],'noCache':![]}),_0x4c8a18=findAppByName(_0x1e7fcb[_0x30b312(0xac)],_0x372e34[_0x30b312(0x87)]);if(_0x4c8a18&&!isRuntimeAccessibleApp(_0x4c8a18))throw runtimeInaccessibleAppError(_0x4c8a18,'\x22'+_0x372e34['appName']+'\x22');const _0xa2cf85=_0x4c8a18?.['appCode']?.[_0x30b312(0x8d)]();if(_0xa2cf85)return _0xa2cf85;const _0xe7c1a0=_0x1e7fcb[_0x30b312(0xac)][_0x30b312(0x8e)](_0x57bd2e=>_0x57bd2e[_0x30b312(0x87)])[_0x30b312(0xa9)](Boolean),_0x502ccd=_0xe7c1a0[_0x30b312(0xb0)]?'Available\x20apps:\x20'+Array[_0x30b312(0x9c)](new Set(_0xe7c1a0))[_0x30b312(0x94)](',\x20')+'.':_0x30b312(0xa4)+CLI_BIN_NAME+_0x30b312(0x7b);throw CliErrors[_0x30b312(0x9b)](_0x30b312(0x96)+_0x372e34[_0x30b312(0x87)]+_0x30b312(0x98),_0x502ccd);}function writeWorkspaceConfig(_0x564b80,_0x14adce,_0x5d06d9){const _0x4ecc87=a87_0x58ed1a;_0x564b80[_0x4ecc87(0x90)]&&(_0x5d06d9[_0x4ecc87(0xa8)]=_0x564b80['env']);if(_0x564b80[_0x4ecc87(0x87)]){const _0x2a2ba5=isRecord(_0x5d06d9[_0x4ecc87(0x97)])?{..._0x5d06d9['apps']}:{},_0x569583=isRecord(_0x2a2ba5[_0x564b80[_0x4ecc87(0x87)]])?_0x2a2ba5[_0x564b80[_0x4ecc87(0x87)]]:{};return _0x2a2ba5[_0x564b80[_0x4ecc87(0x87)]]={..._0x569583,'appcode':_0x564b80[_0x4ecc87(0xaa)]},_0x5d06d9['apps']=_0x2a2ba5,_0x5d06d9[_0x4ecc87(0xaf)]=_0x564b80[_0x4ecc87(0x87)],delete _0x5d06d9[_0x4ecc87(0xaa)],delete _0x5d06d9['app'],writeAndReturn(_0x14adce,_0x5d06d9);}return _0x5d06d9[_0x4ecc87(0xaa)]=_0x564b80['appcode'],delete _0x5d06d9[_0x4ecc87(0xaf)],delete _0x5d06d9['app'],writeAndReturn(_0x14adce,_0x5d06d9);}function writeAndReturn(_0x3889b1,_0x473d17){return writeConfigFile(_0x3889b1,_0x473d17),_0x3889b1;}function resolveWorkspaceEnv(_0x540958){const _0x17de76=a87_0x58ed1a;if(RUNTIME_ENV_VALUES[_0x17de76(0x91)](_0x540958))return _0x540958;throw CliErrors[_0x17de76(0x9b)]('Invalid\x20env\x20\x22'+_0x540958+_0x17de76(0x9d)+RUNTIME_ENV_VALUES[_0x17de76(0x94)](',\x20'));}function a87_0x1ddb(_0x3dd584,_0x561528){_0x3dd584=_0x3dd584-0x72;const _0x35c5e9=a87_0x35c5();let _0x1ddb95=_0x35c5e9[_0x3dd584];return _0x1ddb95;}function buildWorkspaceMessage(_0x2f8e67,_0x47ab8b,_0x5ba941,_0x114b03){const _0x27e0ad=a87_0x58ed1a,_0x33a50b=_0x47ab8b?_0x47ab8b+'\x20('+_0x5ba941+')':_0x5ba941,_0x478692=_0x114b03?_0x27e0ad(0x76)+_0x114b03:'';return _0x27e0ad(0x9a)+_0x2f8e67+'\x0aDefault\x20app:\x20'+_0x33a50b+_0x478692+_0x27e0ad(0x75);}function isRecord(_0x29e5bb){const _0x2a3c0c=a87_0x58ed1a;return typeof _0x29e5bb===_0x2a3c0c(0xa0)&&_0x29e5bb!==null&&!Array['isArray'](_0x29e5bb);}function hasWorkspaceAppBinding(_0x251159){const _0x153c8d=a87_0x58ed1a;if(typeof _0x251159[_0x153c8d(0xaa)]===_0x153c8d(0x8c)&&_0x251159[_0x153c8d(0xaa)][_0x153c8d(0x8d)]()[_0x153c8d(0xb0)]>0x0)return!![];if(typeof _0x251159[_0x153c8d(0xaf)]!==_0x153c8d(0x8c)||!_0x251159['defaultApp']['trim']())return![];if(!isRecord(_0x251159['apps']))return![];const _0x2c7fd5=_0x251159[_0x153c8d(0x97)][_0x251159[_0x153c8d(0xaf)]['trim']()];return isRecord(_0x2c7fd5)&&typeof _0x2c7fd5[_0x153c8d(0xaa)]===_0x153c8d(0x8c)&&_0x2c7fd5[_0x153c8d(0xaa)][_0x153c8d(0x8d)]()[_0x153c8d(0xb0)]>0x0;}function assertWorkspaceCommandState(_0x51580f,_0x3202aa){const _0x28c238=a87_0x58ed1a,_0x2b16dc=hasWorkspaceAppBinding(_0x3202aa);if(_0x51580f===_0x28c238(0x77)&&_0x2b16dc)throw CliErrors[_0x28c238(0x9b)](_0x28c238(0xae),'Use\x20`'+CLI_BIN_NAME+_0x28c238(0x85)+CLI_BIN_NAME+_0x28c238(0x89));if(_0x51580f===_0x28c238(0xa1)&&!_0x2b16dc)throw CliErrors[_0x28c238(0x9b)]('Workspace\x20app\x20context\x20is\x20not\x20initialized.',_0x28c238(0xa4)+CLI_BIN_NAME+'\x20workspace\x20init\x20--app\x20<name>`\x20or\x20`'+CLI_BIN_NAME+_0x28c238(0x81));}function makeWorkspaceCommand(_0x45d48e){const _0x4e0068=a87_0x58ed1a;return{'service':_0x4e0068(0x83),'command':_0x45d48e,'description':_0x45d48e===_0x4e0068(0x77)?'Initialize\x20app\x20context\x20for\x20the\x20current\x20working\x20directory\x20when\x20no\x20app\x20is\x20bound\x20yet':_0x4e0068(0x9e),'risk':'write','confirmationDescription':_0x45d48e===_0x4e0068(0x77)?_0x4e0068(0xa6):_0x4e0068(0x8f),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':WORKSPACE_USE_FLAGS,async 'execute'(_0x52269b){return executeWorkspaceUse(_0x52269b,_0x45d48e);}};}export const workspaceDefinitions=[makeWorkspaceCommand('init'),makeWorkspaceCommand('use')];
1
+ const a87_0x40b6d9=a87_0x2e89;(function(_0x53f84a,_0xa530b0){const _0x457ae2=a87_0x2e89,_0x3906c3=_0x53f84a();while(!![]){try{const _0x4e3c06=-parseInt(_0x457ae2(0x187))/0x1*(parseInt(_0x457ae2(0x17e))/0x2)+-parseInt(_0x457ae2(0x178))/0x3+-parseInt(_0x457ae2(0x183))/0x4+parseInt(_0x457ae2(0x14b))/0x5*(parseInt(_0x457ae2(0x151))/0x6)+-parseInt(_0x457ae2(0x14f))/0x7+parseInt(_0x457ae2(0x14e))/0x8+-parseInt(_0x457ae2(0x175))/0x9*(-parseInt(_0x457ae2(0x172))/0xa);if(_0x4e3c06===_0xa530b0)break;else _0x3906c3['push'](_0x3906c3['shift']());}catch(_0x27c996){_0x3906c3['push'](_0x3906c3['shift']());}}}(a87_0x57e0,0xd9e4c));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';function a87_0x57e0(){const _0x3c63c2=['items','Workspace\x20app\x20context\x20is\x20not\x20initialized.','apps','includes','Run\x20`','\x0aDefault\x20app:\x20','map','env','\x20workspace\x20use\x20--app\x20<name>`\x20or\x20`','use','Usage:\x20','string','\x22\x20not\x20found.','Invalid\x20env\x20\x22','\x22.\x20Allowed:\x20','\x0aAccessKey:\x20not\x20written','authRequired','defaultApp','object','Conflicting\x20workspace\x20app\x20selectors.','App\x20code\x20to\x20bind\x20directly','accessKey','App\x20name\x20to\x20bind\x20as\x20the\x20current\x20workspace\x20default','trim','Missing\x20workspace\x20app\x20selector.','App\x20\x22','init','Workspace\x20app\x20context\x20is\x20already\x20initialized.','Updates\x20the\x20app\x20binding\x20already\x20present\x20in\x20the\x20current\x20working\x20directory\x20and\x20sets\x20the\x20selected\x20app\x20as\x20the\x20directory\x20default.\x20AccessKey\x20is\x20not\x20written.','validation','14020LTVvGT','envName','Resolving\x20--app\x20requires\x20accessKey.\x20Pass\x20--appcode\x20directly,\x20or\x20set\x20accessKey\x20before\x20running\x20','14103JUHImu','../../core/api-client.js','\x20workspace\x20init\x20--appcode\x20<code>`\x20first.','330747ZIeExw','shouldWriteEnv','Pass\x20either\x20--app\x20<name>\x20or\x20--appcode\x20<code>,\x20not\x20both.','Available\x20apps:\x20','join','write','512096SqdUXY','length','app','project','\x20workspace\x20init\x20--app\x20<name>`\x20or\x20`','4350192eUlZmM','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20pass\x20--appcode\x20directly.','appCode','str','6kFnMLg','from','appName','isArray','appcode','command','\x20workspace\x20','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.','\x20workspace\x20use\x20--appcode\x20<code>`\x20to\x20change\x20it.','Target\x20environment','7528715dNpVor','Initialize\x20app\x20context\x20for\x20the\x20current\x20working\x20directory\x20when\x20no\x20app\x20is\x20bound\x20yet','filter','4147096kdQZTc','4161409YeqAQK','Use\x20`','6xvtSzJ','workspace','\x0aEnv:\x20'];a87_0x57e0=function(){return _0x3c63c2;};return a87_0x57e0();}import{findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../../commands/app/eligibility.js';const WORKSPACE_USE_FLAGS=[{'name':a87_0x40b6d9(0x180),'type':a87_0x40b6d9(0x15f),'description':a87_0x40b6d9(0x16a)},{'name':'appcode','type':a87_0x40b6d9(0x15f),'description':a87_0x40b6d9(0x168)},{'name':a87_0x40b6d9(0x15b),'type':a87_0x40b6d9(0x15f),'description':a87_0x40b6d9(0x14a),'enum':[...RUNTIME_ENV_VALUES]}];async function executeWorkspaceUse(_0x28c10f,_0x41a93f){const _0x543081=a87_0x40b6d9,_0x55c35c=_0x28c10f[_0x543081(0x186)](_0x543081(0x180))[_0x543081(0x16b)](),_0x409242=_0x28c10f[_0x543081(0x186)](_0x543081(0x18b))[_0x543081(0x16b)](),_0x3b9c37=_0x28c10f['str'](_0x543081(0x15b))[_0x543081(0x16b)](),_0x45f925=resolveWorkspaceEnv(_0x3b9c37||_0x28c10f[_0x543081(0x173)]||DEFAULT_CONFIG_VALUES[_0x543081(0x15b)]);if(!_0x55c35c&&!_0x409242)throw CliErrors[_0x543081(0x171)](_0x543081(0x16c),_0x543081(0x15e)+CLI_BIN_NAME+_0x543081(0x18d)+_0x41a93f+'\x20--app\x20<name>\x20[--env\x20daily]\x20or\x20'+CLI_BIN_NAME+_0x543081(0x18d)+_0x41a93f+'\x20--appcode\x20<code>\x20[--env\x20daily]');if(_0x55c35c&&_0x409242)throw CliErrors[_0x543081(0x171)](_0x543081(0x167),_0x543081(0x17a));const _0x532275=resolveWriteConfigPath(_0x543081(0x181)),_0x5ad5da=readConfigFile(_0x532275);assertWorkspaceCommandState(_0x41a93f,_0x5ad5da);const _0x2db38d=_0x409242||await resolveRemoteAppCode({'command':_0x41a93f,'appName':_0x55c35c,'env':_0x45f925,'accessKey':_0x28c10f[_0x543081(0x169)]});return writeWorkspaceConfig({'command':_0x41a93f,'appName':_0x55c35c,'appcode':_0x2db38d,'env':_0x45f925,'shouldWriteEnv':!!_0x3b9c37,'accessKey':_0x28c10f['accessKey']},_0x532275,_0x5ad5da),{'ok':!![],'data':{'configPath':_0x532275,'app':_0x55c35c||null,'appcode':_0x2db38d,'env':_0x3b9c37?_0x45f925:null,'accessKeyWritten':![],'command':'workspace\x20'+_0x41a93f},'message':buildWorkspaceMessage(_0x532275,_0x55c35c,_0x2db38d,_0x3b9c37?_0x45f925:undefined)};}async function resolveRemoteAppCode(_0x5a9825){const _0x436c51=a87_0x40b6d9;if(!_0x5a9825['accessKey'])throw CliErrors[_0x436c51(0x164)](_0x436c51(0x174)+CLI_BIN_NAME+_0x436c51(0x18d)+_0x5a9825[_0x436c51(0x18c)]+'.');const {setActiveAK:_0x38e7b7}=await import(_0x436c51(0x176)),{getRemoteAppList:_0x54e0bf}=await import('../../commands/app/remote-source.js');_0x38e7b7(_0x5a9825[_0x436c51(0x169)]);const _0x5f47e3=await _0x54e0bf({'env':_0x5a9825['env'],'accessKey':_0x5a9825['accessKey'],'noCache':![]}),_0x290b73=findAppByName(_0x5f47e3[_0x436c51(0x154)],_0x5a9825[_0x436c51(0x189)]);if(_0x290b73&&!isRuntimeAccessibleApp(_0x290b73))throw runtimeInaccessibleAppError(_0x290b73,'\x22'+_0x5a9825[_0x436c51(0x189)]+'\x22');const _0x2922b1=_0x290b73?.[_0x436c51(0x185)]?.['trim']();if(_0x2922b1)return _0x2922b1;const _0x202662=_0x5f47e3[_0x436c51(0x154)][_0x436c51(0x15a)](_0x3c66d4=>_0x3c66d4['appName'])[_0x436c51(0x14d)](Boolean),_0x4796f3=_0x202662[_0x436c51(0x17f)]?_0x436c51(0x17b)+Array[_0x436c51(0x188)](new Set(_0x202662))[_0x436c51(0x17c)](',\x20')+'.':_0x436c51(0x158)+CLI_BIN_NAME+_0x436c51(0x184);throw CliErrors[_0x436c51(0x171)](_0x436c51(0x16d)+_0x5a9825['appName']+_0x436c51(0x160),_0x4796f3);}function writeWorkspaceConfig(_0x5c1851,_0x2f199a,_0x28ad01){const _0x1cfd42=a87_0x40b6d9;_0x5c1851[_0x1cfd42(0x179)]&&(_0x28ad01['env']=_0x5c1851['env']);if(_0x5c1851[_0x1cfd42(0x189)]){const _0x37141b=isRecord(_0x28ad01['apps'])?{..._0x28ad01['apps']}:{},_0x21fbb0=isRecord(_0x37141b[_0x5c1851[_0x1cfd42(0x189)]])?_0x37141b[_0x5c1851[_0x1cfd42(0x189)]]:{};return _0x37141b[_0x5c1851[_0x1cfd42(0x189)]]={..._0x21fbb0,'appcode':_0x5c1851[_0x1cfd42(0x18b)]},_0x28ad01['apps']=_0x37141b,_0x28ad01[_0x1cfd42(0x165)]=_0x5c1851[_0x1cfd42(0x189)],delete _0x28ad01[_0x1cfd42(0x18b)],delete _0x28ad01[_0x1cfd42(0x180)],writeAndReturn(_0x2f199a,_0x28ad01);}return _0x28ad01[_0x1cfd42(0x18b)]=_0x5c1851[_0x1cfd42(0x18b)],delete _0x28ad01[_0x1cfd42(0x165)],delete _0x28ad01[_0x1cfd42(0x180)],writeAndReturn(_0x2f199a,_0x28ad01);}function writeAndReturn(_0x58f028,_0x3e21fa){return writeConfigFile(_0x58f028,_0x3e21fa),_0x58f028;}function resolveWorkspaceEnv(_0x24f738){const _0x195c92=a87_0x40b6d9;if(RUNTIME_ENV_VALUES[_0x195c92(0x157)](_0x24f738))return _0x24f738;throw CliErrors[_0x195c92(0x171)](_0x195c92(0x161)+_0x24f738+_0x195c92(0x162)+RUNTIME_ENV_VALUES[_0x195c92(0x17c)](',\x20'));}function buildWorkspaceMessage(_0x45fec9,_0x1596b7,_0x4119aa,_0x44b7c9){const _0x59f088=a87_0x40b6d9,_0x129df6=_0x1596b7?_0x1596b7+'\x20('+_0x4119aa+')':_0x4119aa,_0x40256d=_0x44b7c9?_0x59f088(0x153)+_0x44b7c9:'';return'Workspace\x20configured.\x0aConfig\x20file:\x20'+_0x45fec9+_0x59f088(0x159)+_0x129df6+_0x40256d+_0x59f088(0x163);}function isRecord(_0x2b3012){const _0x360984=a87_0x40b6d9;return typeof _0x2b3012===_0x360984(0x166)&&_0x2b3012!==null&&!Array[_0x360984(0x18a)](_0x2b3012);}function hasWorkspaceAppBinding(_0x480b76){const _0x5310e0=a87_0x40b6d9;if(typeof _0x480b76[_0x5310e0(0x18b)]==='string'&&_0x480b76[_0x5310e0(0x18b)][_0x5310e0(0x16b)]()[_0x5310e0(0x17f)]>0x0)return!![];if(typeof _0x480b76[_0x5310e0(0x165)]!==_0x5310e0(0x15f)||!_0x480b76[_0x5310e0(0x165)][_0x5310e0(0x16b)]())return![];if(!isRecord(_0x480b76[_0x5310e0(0x156)]))return![];const _0x382894=_0x480b76[_0x5310e0(0x156)][_0x480b76[_0x5310e0(0x165)]['trim']()];return isRecord(_0x382894)&&typeof _0x382894['appcode']===_0x5310e0(0x15f)&&_0x382894[_0x5310e0(0x18b)][_0x5310e0(0x16b)]()[_0x5310e0(0x17f)]>0x0;}function assertWorkspaceCommandState(_0x1952c1,_0x3654df){const _0x26f0e1=a87_0x40b6d9,_0x1b37b5=hasWorkspaceAppBinding(_0x3654df);if(_0x1952c1==='init'&&_0x1b37b5)throw CliErrors[_0x26f0e1(0x171)](_0x26f0e1(0x16f),_0x26f0e1(0x150)+CLI_BIN_NAME+_0x26f0e1(0x15c)+CLI_BIN_NAME+_0x26f0e1(0x149));if(_0x1952c1===_0x26f0e1(0x15d)&&!_0x1b37b5)throw CliErrors[_0x26f0e1(0x171)](_0x26f0e1(0x155),_0x26f0e1(0x158)+CLI_BIN_NAME+_0x26f0e1(0x182)+CLI_BIN_NAME+_0x26f0e1(0x177));}function makeWorkspaceCommand(_0x3e873e){const _0x251cbe=a87_0x40b6d9;return{'service':_0x251cbe(0x152),'command':_0x3e873e,'description':_0x3e873e===_0x251cbe(0x16e)?_0x251cbe(0x14c):'Change\x20the\x20app\x20context\x20already\x20bound\x20to\x20the\x20current\x20working\x20directory','risk':_0x251cbe(0x17d),'confirmationDescription':_0x3e873e==='init'?_0x251cbe(0x18e):_0x251cbe(0x170),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':WORKSPACE_USE_FLAGS,async 'execute'(_0x38dbeb){return executeWorkspaceUse(_0x38dbeb,_0x3e873e);}};}function a87_0x2e89(_0xdad51e,_0x227cab){_0xdad51e=_0xdad51e-0x149;const _0x57e036=a87_0x57e0();let _0x2e897f=_0x57e036[_0xdad51e];return _0x2e897f;}export const workspaceDefinitions=[makeWorkspaceCommand(a87_0x40b6d9(0x16e)),makeWorkspaceCommand(a87_0x40b6d9(0x15d))];
@@ -1 +1 @@
1
- function a88_0x1d11(){const _0x48602b=['validation','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','runtimeDomain','Allowed\x20fields:\x20','26PGPLXQ','join','8KphoRq','31097748kfiSZg','Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.','skillHubDomain','keys','hash','Invalid\x20','search','length','kind','trim','cwd','\x22\x20and\x20kind\x20\x22','pathname','4593246egVujP',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','enterprise-v1','kbDomain','4867912yaMVGY','object','protocol','parse','str','mode',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','agentDomain',':\x20\x22','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','legacy','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','domain-config','username','string','filter','skillDomain','1168845bbYNjY',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.','5BlasnS','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','18lzrZLm','platformDomain','66186CgCvkG','Domain\x20config\x20file\x20not\x20found:\x20','domains','1061510bzfpsf','3244596qtxpuI','Invalid\x20domain\x20config\x20JSON:\x20','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','Unsupported\x20domain\x20config\x20field(s):\x20','userDomain','isArray'];a88_0x1d11=function(){return _0x48602b;};return a88_0x1d11();}const a88_0x5550cf=a88_0x17a1;(function(_0x520426,_0xf3e63c){const _0x4f4381=a88_0x17a1,_0xe2c3bf=_0x520426();while(!![]){try{const _0x4fdb20=-parseInt(_0x4f4381(0xea))/0x1*(parseInt(_0x4f4381(0xdb))/0x2)+-parseInt(_0x4f4381(0xd5))/0x3+-parseInt(_0x4f4381(0xdf))/0x4+parseInt(_0x4f4381(0xd7))/0x5*(-parseInt(_0x4f4381(0xfa))/0x6)+-parseInt(_0x4f4381(0xfe))/0x7*(-parseInt(_0x4f4381(0xec))/0x8)+parseInt(_0x4f4381(0xd9))/0x9*(-parseInt(_0x4f4381(0xde))/0xa)+parseInt(_0x4f4381(0xed))/0xb;if(_0x4fdb20===_0xf3e63c)break;else _0xe2c3bf['push'](_0xe2c3bf['shift']());}catch(_0x2a9ff1){_0xe2c3bf['push'](_0xe2c3bf['shift']());}}}(a88_0x1d11,0x76083));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';function a88_0x17a1(_0x466fd9,_0x552c0b){_0x466fd9=_0x466fd9-0xd0;const _0x1d1170=a88_0x1d11();let _0x17a1d4=_0x1d1170[_0x466fd9];return _0x17a1d4;}export const DOMAIN_CONFIG_FIELDS=['userDomain','apiDomain',a88_0x5550cf(0xe8),a88_0x5550cf(0xd4)];const DOMAIN_FLAGS={'userDomain':'user-domain','apiDomain':'api-domain','runtimeDomain':'runtime-domain','skillDomain':'skill-domain'};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a88_0x5550cf(0x106),a88_0x5550cf(0xda),a88_0x5550cf(0xef),a88_0x5550cf(0xfd)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a88_0x5550cf(0xe3),'apiDomain':'apiDomain','runtimeDomain':a88_0x5550cf(0xe8),'skillDomain':'skillDomain'},ROUTING_CONSUMER='lovrabet-cli';export function normalizeDomainOrigin(_0x3a26df,_0x51acff){const _0x2824da=a88_0x5550cf;if(typeof _0x51acff!==_0x2824da(0xd2)||!_0x51acff[_0x2824da(0xf6)]())throw CliErrors[_0x2824da(0xe5)](_0x2824da(0xf2)+_0x3a26df+_0x2824da(0x104));let _0x5dd140;try{_0x5dd140=new URL(_0x51acff[_0x2824da(0xf6)]());}catch{throw CliErrors[_0x2824da(0xe5)](_0x2824da(0xf2)+_0x3a26df+_0x2824da(0x107)+_0x51acff+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x5dd140[_0x2824da(0x100)]!=='https:'||_0x5dd140[_0x2824da(0xd1)]||_0x5dd140['password']||_0x5dd140['pathname']!=='/'&&_0x5dd140[_0x2824da(0xf9)]!==''||_0x5dd140[_0x2824da(0xf3)]||_0x5dd140[_0x2824da(0xf1)])throw CliErrors[_0x2824da(0xe5)](_0x2824da(0xf2)+_0x3a26df+_0x2824da(0xfb),_0x2824da(0xe7));return _0x5dd140['origin'];}export function normalizeRoutingDomainValue(_0x4f08d3,_0x5dba3a){const _0x4a7c20=a88_0x5550cf;if(typeof _0x5dba3a===_0x4a7c20(0xd2))return normalizeDomainOrigin(_0x4f08d3,_0x5dba3a);if(!_0x5dba3a||typeof _0x5dba3a!==_0x4a7c20(0xff)||Array[_0x4a7c20(0xe4)](_0x5dba3a))throw CliErrors[_0x4a7c20(0xe5)](_0x4a7c20(0xf2)+_0x4f08d3+_0x4a7c20(0xd6));const _0x338022=_0x5dba3a,_0x519449=_0x338022[ROUTING_CONSUMER]??_0x338022['default'];if(_0x519449===undefined)throw CliErrors[_0x4a7c20(0xe5)]('Enterprise\x20'+_0x4f08d3+_0x4a7c20(0xe1)+ROUTING_CONSUMER+'\x20and\x20has\x20no\x20default.');return normalizeDomainOrigin(_0x4f08d3,_0x519449);}export function resolveEnterpriseRoutingConfig(_0x464b03){const _0x250902=a88_0x5550cf;if(_0x464b03===undefined)return undefined;if(!_0x464b03||typeof _0x464b03!==_0x250902(0xff)||Array[_0x250902(0xe4)](_0x464b03))throw CliErrors[_0x250902(0xe5)](_0x250902(0xee));return parseEnterpriseRoutingManifest(_0x464b03)['domains'];}export function readDomainConfigInput(_0x2bf6cd){const _0x17e11d=a88_0x5550cf,_0x462fa6=isAbsolute(_0x2bf6cd)?_0x2bf6cd:resolve(process[_0x17e11d(0xf7)](),_0x2bf6cd);if(!existsSync(_0x462fa6))throw CliErrors[_0x17e11d(0xe5)](_0x17e11d(0xdc)+_0x462fa6);let _0xecc5b0;try{_0xecc5b0=JSON[_0x17e11d(0x101)](readFileSync(_0x462fa6,'utf8'));}catch{throw CliErrors[_0x17e11d(0xe5)](_0x17e11d(0xe0)+_0x462fa6);}if(!_0xecc5b0||typeof _0xecc5b0!=='object'||Array['isArray'](_0xecc5b0))throw CliErrors[_0x17e11d(0xe5)]('Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.');const _0x19a7b4=_0xecc5b0;if('protocol'in _0x19a7b4)return parseEnterpriseRoutingManifest(_0x19a7b4);const _0x248104=Object[_0x17e11d(0xf0)](_0x19a7b4)[_0x17e11d(0xd3)](_0x24daea=>!DOMAIN_CONFIG_FIELDS['includes'](_0x24daea));if(_0x248104[_0x17e11d(0xf4)]>0x0)throw CliErrors['validation'](_0x17e11d(0xe2)+_0x248104[_0x17e11d(0xeb)](',\x20'),_0x17e11d(0xe9)+DOMAIN_CONFIG_FIELDS[_0x17e11d(0xeb)](',\x20'));const _0x523c08={};for(const _0x838b0c of DOMAIN_CONFIG_FIELDS){_0x19a7b4[_0x838b0c]!==undefined&&(_0x523c08[_0x838b0c]=normalizeDomainOrigin(_0x838b0c,_0x19a7b4[_0x838b0c]));}if(Object[_0x17e11d(0xf0)](_0x523c08)['length']===0x0)throw CliErrors[_0x17e11d(0xe5)](_0x17e11d(0x109));return{'mode':_0x17e11d(0x10a),'domains':_0x523c08};}export function readDomainConfig(_0x2ea435){const _0x5a649f=a88_0x5550cf;return readDomainConfigInput(_0x2ea435)[_0x5a649f(0xdd)];}export function resolveDomainConfigInput(_0x164ddd){const _0x46c18e=a88_0x5550cf,_0x3e920b=(_0x164ddd[_0x46c18e(0x102)](_0x46c18e(0xd0))||'')['trim'](),_0x28d357=_0x3e920b?readDomainConfigInput(_0x3e920b):{'mode':_0x46c18e(0x10a),'domains':{}},_0x112217=DOMAIN_CONFIG_FIELDS['filter'](_0x4467fc=>Boolean((_0x164ddd[_0x46c18e(0x102)](DOMAIN_FLAGS[_0x4467fc])||'')['trim']()));if(_0x28d357[_0x46c18e(0x103)]===_0x46c18e(0xfc)&&_0x112217[_0x46c18e(0xf4)]>0x0)throw CliErrors[_0x46c18e(0xe5)](_0x46c18e(0xd8),_0x46c18e(0x108));for(const _0x1cf2d3 of DOMAIN_CONFIG_FIELDS){const _0x59b7b1=(_0x164ddd[_0x46c18e(0x102)](DOMAIN_FLAGS[_0x1cf2d3])||'')[_0x46c18e(0xf6)]();if(_0x59b7b1)_0x28d357[_0x46c18e(0xdd)][_0x1cf2d3]=normalizeDomainOrigin(_0x1cf2d3,_0x59b7b1);}return _0x28d357;}export function resolveDomainFlags(_0x5e5257){const _0x153167=a88_0x5550cf;return resolveDomainConfigInput(_0x5e5257)[_0x153167(0xdd)];}export function parseEnterpriseRoutingManifest(_0x5ec0d1){const _0x4b1cf9=a88_0x5550cf;if(_0x5ec0d1[_0x4b1cf9(0x100)]!==ENTERPRISE_ROUTING_PROTOCOL||_0x5ec0d1[_0x4b1cf9(0xf5)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x4b1cf9(0xe5)](_0x4b1cf9(0xe6)+ENTERPRISE_ROUTING_PROTOCOL+_0x4b1cf9(0xf8)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x5ec0d1[_0x4b1cf9(0xdd)]||typeof _0x5ec0d1[_0x4b1cf9(0xdd)]!=='object'||Array[_0x4b1cf9(0xe4)](_0x5ec0d1[_0x4b1cf9(0xdd)]))throw CliErrors[_0x4b1cf9(0xe5)](_0x4b1cf9(0x10b));const _0xa9c64=_0x5ec0d1['domains'],_0x2bd80a=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x4b1cf9(0xd3)](_0x4f0c53=>_0xa9c64[_0x4f0c53]===undefined);if(_0x2bd80a[_0x4b1cf9(0xf4)]>0x0)throw CliErrors[_0x4b1cf9(0xe5)](_0x4b1cf9(0x105)+_0x2bd80a['join'](',\x20'));const _0x26c99f={},_0x4dddfe={};for(const _0x113e3f of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x1bda9a=_0xa9c64[_0x113e3f];if(_0x1bda9a===undefined)continue;const _0x4e529e=normalizeRoutingDomainValue(_0x113e3f,_0x1bda9a);_0x26c99f[_0x113e3f]=_0x4e529e;const _0x491fe9=ENTERPRISE_TO_LOCAL_FIELD[_0x113e3f];_0x491fe9&&(_0x4dddfe[_0x491fe9]=_0x4e529e);}return{'mode':_0x4b1cf9(0xfc),'domains':_0x4dddfe,'manifestDomains':_0x26c99f};}
1
+ function a88_0x3dda(_0x393af1,_0x58ed6a){_0x393af1=_0x393af1-0x82;const _0x6b1166=a88_0x6b11();let _0x3dda9a=_0x6b1166[_0x393af1];return _0x3dda9a;}const a88_0x422dac=a88_0x3dda;(function(_0x1cdc46,_0x54e853){const _0x46bab3=a88_0x3dda,_0x42347d=_0x1cdc46();while(!![]){try{const _0x50c968=parseInt(_0x46bab3(0x94))/0x1+parseInt(_0x46bab3(0x87))/0x2+parseInt(_0x46bab3(0x9b))/0x3*(-parseInt(_0x46bab3(0x97))/0x4)+parseInt(_0x46bab3(0xa4))/0x5*(-parseInt(_0x46bab3(0x93))/0x6)+-parseInt(_0x46bab3(0xb4))/0x7*(parseInt(_0x46bab3(0x99))/0x8)+parseInt(_0x46bab3(0xac))/0x9+-parseInt(_0x46bab3(0x83))/0xa;if(_0x50c968===_0x54e853)break;else _0x42347d['push'](_0x42347d['shift']());}catch(_0x38473c){_0x42347d['push'](_0x42347d['shift']());}}}(a88_0x6b11,0xd4c75));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';function a88_0x6b11(){const _0x5456b0=['origin','skillHubDomain','https:','password','Domain\x20config\x20file\x20not\x20found:\x20','kind','\x22\x20and\x20kind\x20\x22','461804gTyDjI','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','skillDomain','trim','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22','user-domain',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','apiDomain','keys','object','isArray','validation','Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.','default','hash','14129520WWiQSA','length','enterprise-v1','pathname','3382314dpKZZS','api-domain','skill-domain','search','filter','cwd','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','\x22\x20is\x20not\x20a\x20valid\x20URL.','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','parse',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','6UDnJKE','803065CNMTnd',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.','runtimeDomain','404UPGzMV','kbDomain','72rThJqO','utf8','4371KKRqrV','Invalid\x20domain\x20config\x20JSON:\x20','domains','string','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','protocol','legacy','Invalid\x20','join','5319155sveEuQ','runtime-domain','lovrabet-cli','domain-config','str','userDomain','agentDomain','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','14355063bvnaqr'];a88_0x6b11=function(){return _0x5456b0;};return a88_0x6b11();}export const DOMAIN_CONFIG_FIELDS=[a88_0x422dac(0xa9),a88_0x422dac(0xbc),a88_0x422dac(0x96),a88_0x422dac(0xb7)];const DOMAIN_FLAGS={'userDomain':a88_0x422dac(0xba),'apiDomain':a88_0x422dac(0x88),'runtimeDomain':a88_0x422dac(0xa5),'skillDomain':a88_0x422dac(0x89)};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a88_0x422dac(0xaa),'platformDomain',a88_0x422dac(0xae),a88_0x422dac(0x98)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a88_0x422dac(0xa9),'apiDomain':a88_0x422dac(0xbc),'runtimeDomain':'runtimeDomain','skillDomain':a88_0x422dac(0xb7)},ROUTING_CONSUMER=a88_0x422dac(0xa6);export function normalizeDomainOrigin(_0x5565f7,_0x2843bd){const _0x24653f=a88_0x422dac;if(typeof _0x2843bd!==_0x24653f(0x9e)||!_0x2843bd[_0x24653f(0xb8)]())throw CliErrors[_0x24653f(0xc0)](_0x24653f(0xa2)+_0x5565f7+_0x24653f(0x92));let _0x25b6bd;try{_0x25b6bd=new URL(_0x2843bd['trim']());}catch{throw CliErrors['validation']('Invalid\x20'+_0x5565f7+':\x20\x22'+_0x2843bd+_0x24653f(0x8e));}if(_0x25b6bd[_0x24653f(0xa0)]!==_0x24653f(0xaf)||_0x25b6bd['username']||_0x25b6bd[_0x24653f(0xb0)]||_0x25b6bd['pathname']!=='/'&&_0x25b6bd[_0x24653f(0x86)]!==''||_0x25b6bd[_0x24653f(0x8a)]||_0x25b6bd[_0x24653f(0x82)])throw CliErrors['validation']('Invalid\x20'+_0x5565f7+_0x24653f(0xbb),_0x24653f(0x90));return _0x25b6bd[_0x24653f(0xad)];}export function normalizeRoutingDomainValue(_0x1deb9a,_0x3de9da){const _0x3dc1ed=a88_0x422dac;if(typeof _0x3de9da===_0x3dc1ed(0x9e))return normalizeDomainOrigin(_0x1deb9a,_0x3de9da);if(!_0x3de9da||typeof _0x3de9da!==_0x3dc1ed(0xbe)||Array['isArray'](_0x3de9da))throw CliErrors[_0x3dc1ed(0xc0)](_0x3dc1ed(0xa2)+_0x1deb9a+_0x3dc1ed(0x95));const _0x36a6d6=_0x3de9da,_0x1cdce7=_0x36a6d6[ROUTING_CONSUMER]??_0x36a6d6[_0x3dc1ed(0xc2)];if(_0x1cdce7===undefined)throw CliErrors[_0x3dc1ed(0xc0)]('Enterprise\x20'+_0x1deb9a+'\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20'+ROUTING_CONSUMER+'\x20and\x20has\x20no\x20default.');return normalizeDomainOrigin(_0x1deb9a,_0x1cdce7);}export function resolveEnterpriseRoutingConfig(_0x584ce5){const _0x3f831b=a88_0x422dac;if(_0x584ce5===undefined)return undefined;if(!_0x584ce5||typeof _0x584ce5!==_0x3f831b(0xbe)||Array[_0x3f831b(0xbf)](_0x584ce5))throw CliErrors[_0x3f831b(0xc0)](_0x3f831b(0xc1));return parseEnterpriseRoutingManifest(_0x584ce5)[_0x3f831b(0x9d)];}export function readDomainConfigInput(_0x5c23dc){const _0x5662fa=a88_0x422dac,_0x5ddaa3=isAbsolute(_0x5c23dc)?_0x5c23dc:resolve(process[_0x5662fa(0x8c)](),_0x5c23dc);if(!existsSync(_0x5ddaa3))throw CliErrors['validation'](_0x5662fa(0xb1)+_0x5ddaa3);let _0x3c58d5;try{_0x3c58d5=JSON[_0x5662fa(0x91)](readFileSync(_0x5ddaa3,_0x5662fa(0x9a)));}catch{throw CliErrors[_0x5662fa(0xc0)](_0x5662fa(0x9c)+_0x5ddaa3);}if(!_0x3c58d5||typeof _0x3c58d5!==_0x5662fa(0xbe)||Array[_0x5662fa(0xbf)](_0x3c58d5))throw CliErrors[_0x5662fa(0xc0)](_0x5662fa(0x8f));const _0x209141=_0x3c58d5;if(_0x5662fa(0xa0)in _0x209141)return parseEnterpriseRoutingManifest(_0x209141);const _0x1f6dee=Object[_0x5662fa(0xbd)](_0x209141)[_0x5662fa(0x8b)](_0x16834b=>!DOMAIN_CONFIG_FIELDS['includes'](_0x16834b));if(_0x1f6dee['length']>0x0)throw CliErrors['validation']('Unsupported\x20domain\x20config\x20field(s):\x20'+_0x1f6dee['join'](',\x20'),'Allowed\x20fields:\x20'+DOMAIN_CONFIG_FIELDS[_0x5662fa(0xa3)](',\x20'));const _0x2344eb={};for(const _0x230ec6 of DOMAIN_CONFIG_FIELDS){_0x209141[_0x230ec6]!==undefined&&(_0x2344eb[_0x230ec6]=normalizeDomainOrigin(_0x230ec6,_0x209141[_0x230ec6]));}if(Object['keys'](_0x2344eb)[_0x5662fa(0x84)]===0x0)throw CliErrors['validation'](_0x5662fa(0x9f));return{'mode':_0x5662fa(0xa1),'domains':_0x2344eb};}export function readDomainConfig(_0x237db8){const _0x4e56ca=a88_0x422dac;return readDomainConfigInput(_0x237db8)[_0x4e56ca(0x9d)];}export function resolveDomainConfigInput(_0x55bb3d){const _0x1856a9=a88_0x422dac,_0x465b86=(_0x55bb3d[_0x1856a9(0xa8)](_0x1856a9(0xa7))||'')[_0x1856a9(0xb8)](),_0x4c723f=_0x465b86?readDomainConfigInput(_0x465b86):{'mode':_0x1856a9(0xa1),'domains':{}},_0x3e92d2=DOMAIN_CONFIG_FIELDS[_0x1856a9(0x8b)](_0x5f1f55=>Boolean((_0x55bb3d[_0x1856a9(0xa8)](DOMAIN_FLAGS[_0x5f1f55])||'')['trim']()));if(_0x4c723f['mode']===_0x1856a9(0x85)&&_0x3e92d2['length']>0x0)throw CliErrors[_0x1856a9(0xc0)](_0x1856a9(0x8d),_0x1856a9(0xb5));for(const _0x2eff81 of DOMAIN_CONFIG_FIELDS){const _0x36b019=(_0x55bb3d['str'](DOMAIN_FLAGS[_0x2eff81])||'')['trim']();if(_0x36b019)_0x4c723f[_0x1856a9(0x9d)][_0x2eff81]=normalizeDomainOrigin(_0x2eff81,_0x36b019);}return _0x4c723f;}export function resolveDomainFlags(_0x38baec){const _0x28cd0e=a88_0x422dac;return resolveDomainConfigInput(_0x38baec)[_0x28cd0e(0x9d)];}export function parseEnterpriseRoutingManifest(_0x1ad3f0){const _0x7fb732=a88_0x422dac;if(_0x1ad3f0[_0x7fb732(0xa0)]!==ENTERPRISE_ROUTING_PROTOCOL||_0x1ad3f0[_0x7fb732(0xb2)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors['validation'](_0x7fb732(0xb9)+ENTERPRISE_ROUTING_PROTOCOL+_0x7fb732(0xb3)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x1ad3f0[_0x7fb732(0x9d)]||typeof _0x1ad3f0[_0x7fb732(0x9d)]!=='object'||Array[_0x7fb732(0xbf)](_0x1ad3f0[_0x7fb732(0x9d)]))throw CliErrors[_0x7fb732(0xc0)](_0x7fb732(0xab));const _0x557df0=_0x1ad3f0[_0x7fb732(0x9d)],_0x4f0557=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x7fb732(0x8b)](_0x1f1188=>_0x557df0[_0x1f1188]===undefined);if(_0x4f0557[_0x7fb732(0x84)]>0x0)throw CliErrors[_0x7fb732(0xc0)](_0x7fb732(0xb6)+_0x4f0557[_0x7fb732(0xa3)](',\x20'));const _0x3df335={},_0xe73093={};for(const _0x34d3ec of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x2f1f26=_0x557df0[_0x34d3ec];if(_0x2f1f26===undefined)continue;const _0x17af81=normalizeRoutingDomainValue(_0x34d3ec,_0x2f1f26);_0x3df335[_0x34d3ec]=_0x17af81;const _0x3fd87b=ENTERPRISE_TO_LOCAL_FIELD[_0x34d3ec];_0x3fd87b&&(_0xe73093[_0x3fd87b]=_0x17af81);}return{'mode':_0x7fb732(0x85),'domains':_0xe73093,'manifestDomains':_0x3df335};}
@@ -1 +1 @@
1
- const a89_0x41e6b=a89_0x10e4;(function(_0x3c9861,_0x59d8e4){const _0x3781c7=a89_0x10e4,_0x15eb1c=_0x3c9861();while(!![]){try{const _0x556d87=-parseInt(_0x3781c7(0x138))/0x1*(parseInt(_0x3781c7(0x133))/0x2)+-parseInt(_0x3781c7(0x143))/0x3+-parseInt(_0x3781c7(0x130))/0x4*(parseInt(_0x3781c7(0x151))/0x5)+-parseInt(_0x3781c7(0x146))/0x6+-parseInt(_0x3781c7(0x14b))/0x7+parseInt(_0x3781c7(0x145))/0x8+parseInt(_0x3781c7(0x147))/0x9;if(_0x556d87===_0x59d8e4)break;else _0x15eb1c['push'](_0x15eb1c['shift']());}catch(_0x4cda1d){_0x15eb1c['push'](_0x15eb1c['shift']());}}}(a89_0x2cdf,0x5eafa));function a89_0x2cdf(){const _0x40cf62=['Config\x20key.\x20Top-level:\x20','locale','zh-CN','en-US','32IYmoHh','Risk\x20level','Lovrabet\x20region','459124UnjdMj','env','entries','filter','Versioned\x20enterprise\x20routing\x20manifest','3dJpqRa','format',';\x20local\x20alias:\x20apps.<alias>.appcode','Override\x20API\x20domain','map','toLowerCase','importable','has','defaultValue','Access\x20key\x20(client-ak\x20auth)','enumValues','69177yTuhJc','Override\x20runtime\x20domain','5086224hWxXwM','1617864UZQhxB','14365953wVNVGy','Override\x20SkillHub\x20domain','fromEntries','legacyCompatOnly','4357892zjGGfs','Native\x20Lovrabet\x20tool\x20availability\x20in\x20the\x20current\x20execution\x20host','cliSettableTopLevel','riskLevel','join','Default\x20page\x20size','150135uDDLoE','Target\x20environment','Override\x20user\x20domain','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','nativeToolAvailable'];a89_0x2cdf=function(){return _0x40cf62;};return a89_0x2cdf();}import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';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':a89_0x41e6b(0x137),'topLevel':!![]},'region':{'description':a89_0x41e6b(0x132),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':ENABLED_LOVRABET_REGION_VALUES,'defaultValue':DEFAULT_LOVRABET_REGION,'importable':!![]},'env':{'description':a89_0x41e6b(0x152),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a89_0x41e6b(0x134)],'importable':!![]},'format':{'description':'Default\x20output\x20format','topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a89_0x41e6b(0x139)],'importable':!![]},'pageSize':{'description':a89_0x41e6b(0x150),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a89_0x41e6b(0x13b),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a89_0x41e6b(0x153),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a89_0x41e6b(0x144),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillDomain':{'description':a89_0x41e6b(0x148),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':a89_0x41e6b(0x141),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a89_0x41e6b(0x131),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a89_0x41e6b(0x14e)],'importable':!![]},'nativeToolAvailable':{'description':a89_0x41e6b(0x14c),'topLevel':!![],'defaultValue':![]},'locale':{'description':a89_0x41e6b(0x154),'topLevel':!![],'cliSettableTopLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a89_0x41e6b(0x157)],'importable':!![]}};function a89_0x10e4(_0x27ec3c,_0x1aa892){_0x27ec3c=_0x27ec3c-0x130;const _0x2cdf1b=a89_0x2cdf();let _0x10e4bc=_0x2cdf1b[_0x27ec3c];return _0x10e4bc;}export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a89_0x41e6b(0x135)](CONFIG_FIELD_SCHEMAS)[a89_0x41e6b(0x136)](([,_0x4ce146])=>_0x4ce146[a89_0x41e6b(0x14d)])[a89_0x41e6b(0x13c)](([_0x1a4d1f])=>_0x1a4d1f));export const CLI_PROTECTED_CONFIG_KEYS=new Set(['riskLevel',a89_0x41e6b(0x155)]);export const CONFIG_ENUM_VALUES=Object[a89_0x41e6b(0x149)](Object[a89_0x41e6b(0x135)](CONFIG_FIELD_SCHEMAS)[a89_0x41e6b(0x136)](([,_0x589999])=>_0x589999[a89_0x41e6b(0x142)])[a89_0x41e6b(0x13c)](([_0x1faa0f,_0x1f76d4])=>[_0x1faa0f,[..._0x1f76d4['enumValues']||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a89_0x41e6b(0x135)](CONFIG_FIELD_SCHEMAS)[a89_0x41e6b(0x136)](([,_0x3956cd])=>_0x3956cd[a89_0x41e6b(0x13e)])[a89_0x41e6b(0x13c)](([_0x458cbb])=>_0x458cbb);export function getConfigFieldSchema(_0x2150f2){return CONFIG_FIELD_SCHEMAS[_0x2150f2];}export function getConfigEnumValues(_0x419459){const _0x22a480=a89_0x41e6b;return getConfigFieldSchema(_0x419459)?.[_0x22a480(0x142)];}export function getConfigDefaultValue(_0x315c83){const _0xeb325c=a89_0x41e6b;return getConfigFieldSchema(_0x315c83)?.[_0xeb325c(0x140)];}export function isTopLevelConfigKey(_0x480c4e){const _0x2fbf72=a89_0x41e6b;return TOP_LEVEL_CONFIG_KEYS[_0x2fbf72(0x13f)](_0x480c4e);}export function isCliProtectedConfigKey(_0x4179e9){const _0xf5ffa4=a89_0x41e6b;return CLI_PROTECTED_CONFIG_KEYS[_0xf5ffa4(0x13f)](_0x4179e9);}const LOCALE_MAP={'zh':a89_0x41e6b(0x158),'zh-cn':a89_0x41e6b(0x158),'zh_cn':'zh-CN','en':a89_0x41e6b(0x159),'en-us':'en-US','en_us':'en-US'};export function normalizeLocale(_0x3c6a23){const _0x5b672f=a89_0x41e6b;if(!_0x3c6a23)return null;return LOCALE_MAP[_0x3c6a23[_0x5b672f(0x13d)]()]??null;}export function isLegacyCompatConfigKey(_0x33a015){const _0x519834=a89_0x41e6b;return getConfigFieldSchema(_0x33a015)?.[_0x519834(0x14a)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x4f13c1){const _0x38af0c=a89_0x41e6b;return[..._0x4f13c1][_0x38af0c(0x14f)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x2752e9=a89_0x41e6b;return _0x2752e9(0x156)+getTopLevelConfigKeySummary()+_0x2752e9(0x13a);}export function buildAppProfileListFields(_0x3ba2fe){return{'env':_0x3ba2fe,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
1
+ const a89_0x4b7675=a89_0x1686;(function(_0xe845bd,_0x584f0d){const _0xeca03f=a89_0x1686,_0x3eaf27=_0xe845bd();while(!![]){try{const _0x2d2941=-parseInt(_0xeca03f(0xa9))/0x1*(parseInt(_0xeca03f(0xad))/0x2)+-parseInt(_0xeca03f(0xc5))/0x3+parseInt(_0xeca03f(0xb4))/0x4*(parseInt(_0xeca03f(0xb9))/0x5)+parseInt(_0xeca03f(0xb1))/0x6*(parseInt(_0xeca03f(0xa5))/0x7)+-parseInt(_0xeca03f(0xb7))/0x8*(-parseInt(_0xeca03f(0xaa))/0x9)+parseInt(_0xeca03f(0xbc))/0xa+-parseInt(_0xeca03f(0xa4))/0xb;if(_0x2d2941===_0x584f0d)break;else _0x3eaf27['push'](_0x3eaf27['shift']());}catch(_0x490a77){_0x3eaf27['push'](_0x3eaf27['shift']());}}}(a89_0x3b36,0x2bc92));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';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';function a89_0x3b36(){const _0x4ad986=['nativeToolAvailable','cliSettableTopLevel','2945349CmHfWJ','2090347dunJpS','format','Override\x20API\x20domain','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','1PRKokb','612sjDVIx','filter','Risk\x20level','556538fFbFBJ','legacyCompatOnly','Override\x20user\x20domain','importable','6ofbocr','entries','enumValues','116tNmEYS','en-US','Config\x20key.\x20Top-level:\x20','15112uimTHR','Override\x20SkillHub\x20domain','6805XKnDhZ','env','zh-CN','3463580MUkoIJ','Target\x20environment','Default\x20output\x20format','riskLevel','fromEntries','Override\x20runtime\x20domain','map','has','defaultValue','262578TjFnMo','toLowerCase'];a89_0x3b36=function(){return _0x4ad986;};return a89_0x3b36();}export const CONFIG_FIELD_SCHEMAS={'routing':{'description':'Versioned\x20enterprise\x20routing\x20manifest','topLevel':!![]},'region':{'description':'Lovrabet\x20region','topLevel':!![],'cliSettableTopLevel':!![],'enumValues':ENABLED_LOVRABET_REGION_VALUES,'defaultValue':DEFAULT_LOVRABET_REGION,'importable':!![]},'env':{'description':a89_0x4b7675(0xbd),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a89_0x4b7675(0xba)],'importable':!![]},'format':{'description':a89_0x4b7675(0xbe),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a89_0x4b7675(0xa6)],'importable':!![]},'pageSize':{'description':'Default\x20page\x20size','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a89_0x4b7675(0xa7),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a89_0x4b7675(0xaf),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a89_0x4b7675(0xc1),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillDomain':{'description':a89_0x4b7675(0xb8),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':'Access\x20key\x20(client-ak\x20auth)','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a89_0x4b7675(0xac),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['riskLevel'],'importable':!![]},'nativeToolAvailable':{'description':'Native\x20Lovrabet\x20tool\x20availability\x20in\x20the\x20current\x20execution\x20host','topLevel':!![],'defaultValue':![]},'locale':{'description':a89_0x4b7675(0xa8),'topLevel':!![],'cliSettableTopLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['locale'],'importable':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a89_0x4b7675(0xb2)](CONFIG_FIELD_SCHEMAS)[a89_0x4b7675(0xab)](([,_0xb2f0a0])=>_0xb2f0a0[a89_0x4b7675(0xa3)])[a89_0x4b7675(0xc2)](([_0xbc556f])=>_0xbc556f));export const CLI_PROTECTED_CONFIG_KEYS=new Set([a89_0x4b7675(0xbf),a89_0x4b7675(0xa2)]);export const CONFIG_ENUM_VALUES=Object[a89_0x4b7675(0xc0)](Object[a89_0x4b7675(0xb2)](CONFIG_FIELD_SCHEMAS)[a89_0x4b7675(0xab)](([,_0x2a91e5])=>_0x2a91e5[a89_0x4b7675(0xb3)])['map'](([_0x4f1d8e,_0x4202cd])=>[_0x4f1d8e,[..._0x4202cd[a89_0x4b7675(0xb3)]||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a89_0x4b7675(0xb2)](CONFIG_FIELD_SCHEMAS)['filter'](([,_0xda2bbe])=>_0xda2bbe[a89_0x4b7675(0xb0)])[a89_0x4b7675(0xc2)](([_0x21b197])=>_0x21b197);export function getConfigFieldSchema(_0x11394e){return CONFIG_FIELD_SCHEMAS[_0x11394e];}export function getConfigEnumValues(_0x1cf20e){const _0x6a88c1=a89_0x4b7675;return getConfigFieldSchema(_0x1cf20e)?.[_0x6a88c1(0xb3)];}export function getConfigDefaultValue(_0x21e950){const _0x583f9b=a89_0x4b7675;return getConfigFieldSchema(_0x21e950)?.[_0x583f9b(0xc4)];}function a89_0x1686(_0x1ea6f0,_0x22bdcd){_0x1ea6f0=_0x1ea6f0-0xa2;const _0x3b367e=a89_0x3b36();let _0x1686db=_0x3b367e[_0x1ea6f0];return _0x1686db;}export function isTopLevelConfigKey(_0x3cfdc8){const _0x5ce374=a89_0x4b7675;return TOP_LEVEL_CONFIG_KEYS[_0x5ce374(0xc3)](_0x3cfdc8);}export function isCliProtectedConfigKey(_0x100678){const _0x1f6c76=a89_0x4b7675;return CLI_PROTECTED_CONFIG_KEYS[_0x1f6c76(0xc3)](_0x100678);}const LOCALE_MAP={'zh':a89_0x4b7675(0xbb),'zh-cn':a89_0x4b7675(0xbb),'zh_cn':a89_0x4b7675(0xbb),'en':a89_0x4b7675(0xb5),'en-us':a89_0x4b7675(0xb5),'en_us':a89_0x4b7675(0xb5)};export function normalizeLocale(_0x199cae){const _0xfa4557=a89_0x4b7675;if(!_0x199cae)return null;return LOCALE_MAP[_0x199cae[_0xfa4557(0xc6)]()]??null;}export function isLegacyCompatConfigKey(_0x31e14c){const _0x59bbd3=a89_0x4b7675;return getConfigFieldSchema(_0x31e14c)?.[_0x59bbd3(0xae)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x11f4b4){return[..._0x11f4b4]['join'](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x16ebed=a89_0x4b7675;return _0x16ebed(0xb6)+getTopLevelConfigKeySummary()+';\x20local\x20alias:\x20apps.<alias>.appcode';}export function buildAppProfileListFields(_0x1f6293){return{'env':_0x1f6293,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
@@ -1 +1 @@
1
- const a90_0xb9926c=a90_0x44bf;(function(_0xf22b8a,_0x136df3){const _0x51e98d=a90_0x44bf,_0x490b15=_0xf22b8a();while(!![]){try{const _0x2774fa=parseInt(_0x51e98d(0xda))/0x1+-parseInt(_0x51e98d(0xdc))/0x2+-parseInt(_0x51e98d(0xdd))/0x3+parseInt(_0x51e98d(0xd8))/0x4+parseInt(_0x51e98d(0xe0))/0x5*(parseInt(_0x51e98d(0xde))/0x6)+-parseInt(_0x51e98d(0xd9))/0x7+parseInt(_0x51e98d(0xe1))/0x8*(-parseInt(_0x51e98d(0xdf))/0x9);if(_0x2774fa===_0x136df3)break;else _0x490b15['push'](_0x490b15['shift']());}catch(_0x12aa0e){_0x490b15['push'](_0x490b15['shift']());}}}(a90_0x5b09,0xa90f8));function a90_0x5b09(){const _0x1a0c22=['PUBLISHED','553798TvqVnN','40821pKJvFH','6aKGdNc','9VjJhpO','6683710ndJJGL','10125928XGBIjG','4448692cjZpIr','3882690ePNLki','354474uvtvmV'];a90_0x5b09=function(){return _0x1a0c22;};return a90_0x5b09();}function a90_0x44bf(_0x4fd923,_0x5a9a82){_0x4fd923=_0x4fd923-0xd8;const _0x5b09f4=a90_0x5b09();let _0x44bfe5=_0x5b09f4[_0x4fd923];return _0x44bfe5;}export const APP_PUBLISH_STATUS={'Published':a90_0xb9926c(0xdb),'Unpublished':'UNPUBLISH'};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS['Published'];
1
+ function a90_0x4a55(_0x104d47,_0x53f66d){_0x104d47=_0x104d47-0x188;const _0x54f3db=a90_0x54f3();let _0x4a55eb=_0x54f3db[_0x104d47];return _0x4a55eb;}const a90_0x53ab22=a90_0x4a55;function a90_0x54f3(){const _0x31a6ec=['295eJwHKj','5128wsSvwn','1zAtrjU','UNPUBLISH','19511360TaYeen','1511594hmJfBh','597uQvRIl','17243100gRPyzp','10756KNUemW','13848921HIUFRu','3199zDytdG','94194vLcEqe'];a90_0x54f3=function(){return _0x31a6ec;};return a90_0x54f3();}(function(_0x28c77d,_0x4f0ebb){const _0x568f99=a90_0x4a55,_0x5f4837=_0x28c77d();while(!![]){try{const _0x51effe=parseInt(_0x568f99(0x193))/0x1*(parseInt(_0x568f99(0x18a))/0x2)+parseInt(_0x568f99(0x18b))/0x3*(parseInt(_0x568f99(0x18d))/0x4)+-parseInt(_0x568f99(0x191))/0x5*(-parseInt(_0x568f99(0x190))/0x6)+parseInt(_0x568f99(0x18f))/0x7*(parseInt(_0x568f99(0x192))/0x8)+-parseInt(_0x568f99(0x18e))/0x9+parseInt(_0x568f99(0x18c))/0xa+-parseInt(_0x568f99(0x189))/0xb;if(_0x51effe===_0x4f0ebb)break;else _0x5f4837['push'](_0x5f4837['shift']());}catch(_0x12b55b){_0x5f4837['push'](_0x5f4837['shift']());}}}(a90_0x54f3,0xe110b));export const APP_PUBLISH_STATUS={'Published':'PUBLISHED','Unpublished':a90_0x53ab22(0x188)};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS['Published'];
@@ -1 +1 @@
1
- function a91_0x34d8(_0x5e004f,_0x16ad5a){_0x5e004f=_0x5e004f-0x160;const _0x59fea6=a91_0x59fe();let _0x34d8b0=_0x59fea6[_0x5e004f];return _0x34d8b0;}function a91_0x59fe(){const _0xf681bc=['264SQXkZC','11nxPmAO','9BgUHgd','7sznLGb','8731aVkcTD','13534616uefIdg','1392648YgaccN','4610070IKBuAa','53393630eaIdYK','2646978UzLPTy','7537640cAcpjh','ClientAk'];a91_0x59fe=function(){return _0xf681bc;};return a91_0x59fe();}(function(_0xac36d8,_0x138d52){const _0x346ebf=a91_0x34d8,_0xe0edfe=_0xac36d8();while(!![]){try{const _0x1370b6=-parseInt(_0x346ebf(0x167))/0x1*(-parseInt(_0x346ebf(0x163))/0x2)+parseInt(_0x346ebf(0x160))/0x3+parseInt(_0x346ebf(0x161))/0x4+parseInt(_0x346ebf(0x16a))/0x5+-parseInt(_0x346ebf(0x169))/0x6*(parseInt(_0x346ebf(0x166))/0x7)+parseInt(_0x346ebf(0x168))/0x8*(parseInt(_0x346ebf(0x165))/0x9)+parseInt(_0x346ebf(0x16b))/0xa*(-parseInt(_0x346ebf(0x164))/0xb);if(_0x1370b6===_0x138d52)break;else _0xe0edfe['push'](_0xe0edfe['shift']());}catch(_0x292746){_0xe0edfe['push'](_0xe0edfe['shift']());}}}(a91_0x59fe,0xeac3e));export const AUTH_MODE={'ClientAk':'client-ak'};export function isAuthMode(_0x44bd91){const _0x476274=a91_0x34d8;return _0x44bd91===AUTH_MODE[_0x476274(0x162)];}
1
+ (function(_0x571753,_0x596c57){const _0x5584e1=a91_0x2e64,_0x36f26b=_0x571753();while(!![]){try{const _0xcb2d64=parseInt(_0x5584e1(0x9e))/0x1*(-parseInt(_0x5584e1(0x99))/0x2)+-parseInt(_0x5584e1(0xa2))/0x3+-parseInt(_0x5584e1(0x9a))/0x4*(parseInt(_0x5584e1(0x9c))/0x5)+-parseInt(_0x5584e1(0xa1))/0x6*(parseInt(_0x5584e1(0x9f))/0x7)+-parseInt(_0x5584e1(0xa3))/0x8+-parseInt(_0x5584e1(0x9b))/0x9+parseInt(_0x5584e1(0x9d))/0xa*(parseInt(_0x5584e1(0x98))/0xb);if(_0xcb2d64===_0x596c57)break;else _0x36f26b['push'](_0x36f26b['shift']());}catch(_0x489203){_0x36f26b['push'](_0x36f26b['shift']());}}}(a91_0x3f09,0x92c4f));function a91_0x3f09(){const _0x1a2ce7=['200mMQVbX','1752462jAJXKX','4400dUluqL','70WmsjyB','7XxmBpG','154qIoPin','ClientAk','121908NVXTAZ','3201306ieMoji','8461248kUXzYq','5568871OCLHlk','37768KhyySg'];a91_0x3f09=function(){return _0x1a2ce7;};return a91_0x3f09();}function a91_0x2e64(_0x110b50,_0x549324){_0x110b50=_0x110b50-0x98;const _0x3f09ec=a91_0x3f09();let _0x2e641a=_0x3f09ec[_0x110b50];return _0x2e641a;}export const AUTH_MODE={'ClientAk':'client-ak'};export function isAuthMode(_0x36eecd){const _0x306bd1=a91_0x2e64;return _0x36eecd===AUTH_MODE[_0x306bd1(0xa0)];}
@@ -1 +1 @@
1
- const a92_0x12a6ed=a92_0x280e;(function(_0x3cf35a,_0x1c5f6e){const _0x1ea125=a92_0x280e,_0x2440cb=_0x3cf35a();while(!![]){try{const _0x3e60d6=parseInt(_0x1ea125(0x149))/0x1*(-parseInt(_0x1ea125(0x15a))/0x2)+-parseInt(_0x1ea125(0x147))/0x3*(parseInt(_0x1ea125(0x174))/0x4)+-parseInt(_0x1ea125(0x157))/0x5*(parseInt(_0x1ea125(0x148))/0x6)+parseInt(_0x1ea125(0x153))/0x7*(-parseInt(_0x1ea125(0x16f))/0x8)+-parseInt(_0x1ea125(0x172))/0x9+-parseInt(_0x1ea125(0x16d))/0xa+parseInt(_0x1ea125(0x14b))/0xb*(parseInt(_0x1ea125(0x14a))/0xc);if(_0x3e60d6===_0x1c5f6e)break;else _0x2440cb['push'](_0x2440cb['shift']());}catch(_0x457a38){_0x2440cb['push'](_0x2440cb['shift']());}}}(a92_0x4f63,0xa5579));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a92_0x12a6ed(0x162)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG['cliDisplayName'];function a92_0x4f63(){const _0x220164=['help','appcode','verbose','dryRun','Override\x20appcode','<name>','app','fromEntries','Record\x20ID','JSON\x20params\x20for\x20execute\x20commands','4884670MtNgDT','Force\x20non-interactive\x20mode\x20(CI)','1371008mOYGkJ','sqlcode','global','1109376tYbxWY','type','332cuzqPh','boolean','meowKey','nonInteractive','25479KwSLhj','151836WMIRao','32hLlKwv','53763252QibJVT','11PJzCOR','<code>','string','Show\x20help','params','Skip\x20confirmation\x20for\x20high-risk\x20writes','Use\x20global\x20config\x20scope','clear','7JULfMR','Environment','name','env','190lFqwoq','dry-run','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','84586pAOfrN','non-interactive','format','Output\x20format','Clear\x20output','yes','production\x20|\x20development\x20|\x20daily','SQL\x20query\x20code','cliBinName'];a92_0x4f63=function(){return _0x220164;};return a92_0x4f63();}export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;function a92_0x280e(_0x584378,_0x10ee37){_0x584378=_0x584378-0x146;const _0x4f637e=a92_0x4f63();let _0x280ec7=_0x4f637e[_0x584378];return _0x280ec7;}export const GLOBAL_FLAGS=[{'name':a92_0x12a6ed(0x164),'meowKey':a92_0x12a6ed(0x164),'type':a92_0x12a6ed(0x14d),'description':a92_0x12a6ed(0x167),'hint':a92_0x12a6ed(0x14c)},{'name':a92_0x12a6ed(0x169),'meowKey':a92_0x12a6ed(0x169),'type':'string','description':'Select\x20app\x20profile\x20by\x20name','hint':a92_0x12a6ed(0x168)},{'name':a92_0x12a6ed(0x156),'meowKey':a92_0x12a6ed(0x156),'type':a92_0x12a6ed(0x14d),'description':a92_0x12a6ed(0x154),'hint':a92_0x12a6ed(0x160)},{'name':'format','meowKey':a92_0x12a6ed(0x15c),'type':a92_0x12a6ed(0x14d),'description':a92_0x12a6ed(0x15d),'hint':'json\x20|\x20pretty\x20|\x20compress'},{'name':'jq','meowKey':'jq','type':a92_0x12a6ed(0x14d),'description':a92_0x12a6ed(0x159),'hint':'<expr>'},{'name':a92_0x12a6ed(0x158),'meowKey':a92_0x12a6ed(0x166),'type':a92_0x12a6ed(0x175),'description':'Preview\x20operation\x20without\x20executing'},{'name':a92_0x12a6ed(0x15f),'meowKey':a92_0x12a6ed(0x15f),'type':'boolean','description':a92_0x12a6ed(0x150)},{'name':a92_0x12a6ed(0x15b),'meowKey':a92_0x12a6ed(0x146),'type':'boolean','description':a92_0x12a6ed(0x16e)},{'name':a92_0x12a6ed(0x171),'meowKey':a92_0x12a6ed(0x171),'type':'boolean','description':a92_0x12a6ed(0x151)},{'name':'ci','meowKey':'ci','type':a92_0x12a6ed(0x175),'description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a92_0x12a6ed(0x163),'meowKey':a92_0x12a6ed(0x163),'type':a92_0x12a6ed(0x175),'description':a92_0x12a6ed(0x14e)},{'name':'id','meowKey':'id','type':a92_0x12a6ed(0x14d),'description':a92_0x12a6ed(0x16b),'hidden':!![]},{'name':a92_0x12a6ed(0x155),'meowKey':'name','type':a92_0x12a6ed(0x14d),'description':'Name\x20filter','hidden':!![]},{'name':a92_0x12a6ed(0x170),'meowKey':'sqlcode','type':a92_0x12a6ed(0x14d),'description':a92_0x12a6ed(0x161),'hidden':!![]},{'name':a92_0x12a6ed(0x14f),'meowKey':a92_0x12a6ed(0x14f),'type':a92_0x12a6ed(0x14d),'description':a92_0x12a6ed(0x16c),'hidden':!![]},{'name':a92_0x12a6ed(0x165),'meowKey':a92_0x12a6ed(0x165),'type':'boolean','description':'Verbose\x20output','hidden':!![]},{'name':'clear','meowKey':a92_0x12a6ed(0x152),'type':a92_0x12a6ed(0x175),'description':a92_0x12a6ed(0x15e),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a92_0x12a6ed(0x164),a92_0x12a6ed(0x169),'env',a92_0x12a6ed(0x15c),'jq',a92_0x12a6ed(0x158),a92_0x12a6ed(0x15f),a92_0x12a6ed(0x15b),'ci']);export function buildMeowFlags(){const _0x47884d=a92_0x12a6ed;return Object[_0x47884d(0x16a)](GLOBAL_FLAGS['map'](_0x49812a=>[_0x49812a[_0x47884d(0x176)],{'type':_0x49812a[_0x47884d(0x173)]}]));}
1
+ function a92_0x28ea(_0x101fb8,_0xe7d9ac){_0x101fb8=_0x101fb8-0x70;const _0x52dfd3=a92_0x52df();let _0x28ea2b=_0x52dfd3[_0x101fb8];return _0x28ea2b;}const a92_0x1b40ac=a92_0x28ea;(function(_0x2755d9,_0x21de4b){const _0x44b370=a92_0x28ea,_0x5e503=_0x2755d9();while(!![]){try{const _0x3dca57=parseInt(_0x44b370(0x90))/0x1*(-parseInt(_0x44b370(0x76))/0x2)+-parseInt(_0x44b370(0x99))/0x3*(-parseInt(_0x44b370(0x8e))/0x4)+-parseInt(_0x44b370(0x7a))/0x5+-parseInt(_0x44b370(0x8b))/0x6*(parseInt(_0x44b370(0x9e))/0x7)+parseInt(_0x44b370(0x7d))/0x8*(-parseInt(_0x44b370(0x79))/0x9)+parseInt(_0x44b370(0x7f))/0xa*(-parseInt(_0x44b370(0xa2))/0xb)+parseInt(_0x44b370(0x9f))/0xc*(parseInt(_0x44b370(0x93))/0xd);if(_0x3dca57===_0x21de4b)break;else _0x5e503['push'](_0x5e503['shift']());}catch(_0x136f1f){_0x5e503['push'](_0x5e503['shift']());}}}(a92_0x52df,0x3a1a1));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a92_0x1b40ac(0x78)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG['cliDisplayName'];function a92_0x52df(){const _0x292ea7=['180fyEyWr','Use\x20global\x20config\x20scope','boolean','11zIofTl','help','clear','env','Preview\x20operation\x20without\x20executing','Skip\x20confirmation\x20for\x20high-risk\x20writes','name','dryRun','108XzHZid','json\x20|\x20pretty\x20|\x20compress','cliBinName','9aBDLjz','2134790hrVoPU','production\x20|\x20development\x20|\x20daily','Force\x20non-interactive\x20mode\x20(CI)','2787640mVhXZx','<expr>','52130tXxJkp','Override\x20appcode','Alias\x20for\x20--non-interactive','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','dry-run','params','Select\x20app\x20profile\x20by\x20name','fromEntries','Show\x20help','yes','map','string','6cipKiO','verbose','JSON\x20params\x20for\x20execute\x20commands','76IRnfyv','Verbose\x20output','2146XpyDKD','<code>','nonInteractive','1191983WtPBtI','Clear\x20output','type','appcode','app','format','2787SlCDNn','non-interactive','SQL\x20query\x20code','Environment','global','1809647jCvTcr'];a92_0x52df=function(){return _0x292ea7;};return a92_0x52df();}export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a92_0x1b40ac(0x96),'meowKey':a92_0x1b40ac(0x96),'type':a92_0x1b40ac(0x8a),'description':a92_0x1b40ac(0x80),'hint':a92_0x1b40ac(0x91)},{'name':'app','meowKey':a92_0x1b40ac(0x97),'type':a92_0x1b40ac(0x8a),'description':a92_0x1b40ac(0x85),'hint':'<name>'},{'name':a92_0x1b40ac(0x71),'meowKey':a92_0x1b40ac(0x71),'type':a92_0x1b40ac(0x8a),'description':a92_0x1b40ac(0x9c),'hint':a92_0x1b40ac(0x7b)},{'name':a92_0x1b40ac(0x98),'meowKey':a92_0x1b40ac(0x98),'type':a92_0x1b40ac(0x8a),'description':'Output\x20format','hint':a92_0x1b40ac(0x77)},{'name':'jq','meowKey':'jq','type':a92_0x1b40ac(0x8a),'description':a92_0x1b40ac(0x82),'hint':a92_0x1b40ac(0x7e)},{'name':a92_0x1b40ac(0x83),'meowKey':a92_0x1b40ac(0x75),'type':a92_0x1b40ac(0xa1),'description':a92_0x1b40ac(0x72)},{'name':a92_0x1b40ac(0x88),'meowKey':a92_0x1b40ac(0x88),'type':'boolean','description':a92_0x1b40ac(0x73)},{'name':a92_0x1b40ac(0x9a),'meowKey':a92_0x1b40ac(0x92),'type':a92_0x1b40ac(0xa1),'description':a92_0x1b40ac(0x7c)},{'name':'global','meowKey':a92_0x1b40ac(0x9d),'type':'boolean','description':a92_0x1b40ac(0xa0)},{'name':'ci','meowKey':'ci','type':a92_0x1b40ac(0xa1),'description':a92_0x1b40ac(0x81),'hidden':!![]},{'name':a92_0x1b40ac(0xa3),'meowKey':a92_0x1b40ac(0xa3),'type':a92_0x1b40ac(0xa1),'description':a92_0x1b40ac(0x87)},{'name':'id','meowKey':'id','type':'string','description':'Record\x20ID','hidden':!![]},{'name':a92_0x1b40ac(0x74),'meowKey':a92_0x1b40ac(0x74),'type':a92_0x1b40ac(0x8a),'description':'Name\x20filter','hidden':!![]},{'name':'sqlcode','meowKey':'sqlcode','type':a92_0x1b40ac(0x8a),'description':a92_0x1b40ac(0x9b),'hidden':!![]},{'name':a92_0x1b40ac(0x84),'meowKey':a92_0x1b40ac(0x84),'type':a92_0x1b40ac(0x8a),'description':a92_0x1b40ac(0x8d),'hidden':!![]},{'name':a92_0x1b40ac(0x8c),'meowKey':a92_0x1b40ac(0x8c),'type':a92_0x1b40ac(0xa1),'description':a92_0x1b40ac(0x8f),'hidden':!![]},{'name':a92_0x1b40ac(0x70),'meowKey':'clear','type':'boolean','description':a92_0x1b40ac(0x94),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set(['appcode',a92_0x1b40ac(0x97),a92_0x1b40ac(0x71),a92_0x1b40ac(0x98),'jq',a92_0x1b40ac(0x83),a92_0x1b40ac(0x88),'non-interactive','ci']);export function buildMeowFlags(){const _0x1165b2=a92_0x1b40ac;return Object[_0x1165b2(0x86)](GLOBAL_FLAGS[_0x1165b2(0x89)](_0x4a3e5a=>[_0x4a3e5a['meowKey'],{'type':_0x4a3e5a[_0x1165b2(0x95)]}]));}
@@ -1 +1 @@
1
- const a93_0x22f6f5=a93_0x3cf7;function a93_0x3cf7(_0x32227f,_0x1666c5){_0x32227f=_0x32227f-0x1c8;const _0x491296=a93_0x4912();let _0x3cf759=_0x491296[_0x32227f];return _0x3cf759;}(function(_0x5ab004,_0x32b629){const _0x39dc25=a93_0x3cf7,_0x47ffe5=_0x5ab004();while(!![]){try{const _0x27aa59=-parseInt(_0x39dc25(0x1cd))/0x1*(-parseInt(_0x39dc25(0x1ca))/0x2)+parseInt(_0x39dc25(0x1d2))/0x3+parseInt(_0x39dc25(0x1ce))/0x4+-parseInt(_0x39dc25(0x1cf))/0x5*(-parseInt(_0x39dc25(0x1d4))/0x6)+-parseInt(_0x39dc25(0x1d0))/0x7+parseInt(_0x39dc25(0x1c8))/0x8+-parseInt(_0x39dc25(0x1d3))/0x9;if(_0x27aa59===_0x32b629)break;else _0x47ffe5['push'](_0x47ffe5['shift']());}catch(_0x51b16d){_0x47ffe5['push'](_0x47ffe5['shift']());}}}(a93_0x4912,0x6a996));export const DEFAULT_APP_PROFILE_NAME='main';export const DEFAULT_CONFIG_VALUES={'env':a93_0x22f6f5(0x1cc),'format':a93_0x22f6f5(0x1d1),'locale':a93_0x22f6f5(0x1cb),'riskLevel':a93_0x22f6f5(0x1c9)};function a93_0x4912(){const _0x34b08f=['5129775uQYtxt','compress','803427EObDMW','6742710FNKzvW','60lSuXlU','2604856cjHgmV','write','3226LgBatY','en-US','production','194iEyWGa','770868USdidp','409795RKMrbO'];a93_0x4912=function(){return _0x34b08f;};return a93_0x4912();}export const DEFAULT_COMMAND_OUTPUT_FORMAT='compress';
1
+ const a93_0x3e0a08=a93_0x209a;(function(_0x18df08,_0x38d116){const _0xc2cde9=a93_0x209a,_0x374635=_0x18df08();while(!![]){try{const _0x355f5d=parseInt(_0xc2cde9(0x19c))/0x1*(-parseInt(_0xc2cde9(0x197))/0x2)+parseInt(_0xc2cde9(0x19a))/0x3+parseInt(_0xc2cde9(0x1a0))/0x4*(-parseInt(_0xc2cde9(0x1a4))/0x5)+parseInt(_0xc2cde9(0x1a3))/0x6+-parseInt(_0xc2cde9(0x198))/0x7*(parseInt(_0xc2cde9(0x19f))/0x8)+-parseInt(_0xc2cde9(0x19d))/0x9+parseInt(_0xc2cde9(0x19b))/0xa;if(_0x355f5d===_0x38d116)break;else _0x374635['push'](_0x374635['shift']());}catch(_0x26d615){_0x374635['push'](_0x374635['shift']());}}}(a93_0x443f,0xb10f2));export const DEFAULT_APP_PROFILE_NAME='main';export const DEFAULT_CONFIG_VALUES={'env':a93_0x3e0a08(0x1a1),'format':a93_0x3e0a08(0x1a2),'locale':a93_0x3e0a08(0x19e),'riskLevel':a93_0x3e0a08(0x199)};function a93_0x443f(){const _0x1291e2=['316492wKJDWQ','801507EAunlt','write','1495260seinBt','30104520sRyEDA','6ouUrTL','2521656CXVnBa','en-US','64ADFpze','16OWeebJ','production','compress','1863588hqoMjm','1185710KCEcfq'];a93_0x443f=function(){return _0x1291e2;};return a93_0x443f();}function a93_0x209a(_0x329575,_0x5b8c0b){_0x329575=_0x329575-0x197;const _0x443ff2=a93_0x443f();let _0x209a3c=_0x443ff2[_0x329575];return _0x209a3c;}export const DEFAULT_COMMAND_OUTPUT_FORMAT='compress';
@@ -1 +1 @@
1
- const a94_0xabbf2b=a94_0x3b11;(function(_0x50e556,_0x25ee69){const _0x295d99=a94_0x3b11,_0xdf79a8=_0x50e556();while(!![]){try{const _0x5b47df=-parseInt(_0x295d99(0x17b))/0x1*(-parseInt(_0x295d99(0x174))/0x2)+-parseInt(_0x295d99(0x172))/0x3+parseInt(_0x295d99(0x17a))/0x4*(-parseInt(_0x295d99(0x178))/0x5)+-parseInt(_0x295d99(0x171))/0x6*(parseInt(_0x295d99(0x175))/0x7)+-parseInt(_0x295d99(0x17e))/0x8*(-parseInt(_0x295d99(0x180))/0x9)+-parseInt(_0x295d99(0x177))/0xa*(parseInt(_0x295d99(0x179))/0xb)+-parseInt(_0x295d99(0x17f))/0xc*(-parseInt(_0x295d99(0x181))/0xd);if(_0x5b47df===_0x25ee69)break;else _0xdf79a8['push'](_0xdf79a8['shift']());}catch(_0x29d93e){_0xdf79a8['push'](_0xdf79a8['shift']());}}}(a94_0xf16f,0x81ad3));import{PRODUCT_CONFIG}from'../constant/product.js';function a94_0x3b11(_0x3123d6,_0xaee323){_0x3123d6=_0x3123d6-0x171;const _0xf16fe3=a94_0xf16f();let _0x3b115c=_0xf16fe3[_0x3123d6];return _0x3b115c;}export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG['npmPackageName'];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a94_0xabbf2b(0x176)];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a94_0xabbf2b(0x17d)];export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG[a94_0xabbf2b(0x17c)];function a94_0xf16f(){const _0x3d3a18=['16125759tqXZaD','10338cPBzFM','1948044vBeozQ','/dist/lovrabet-cli/config/index.json','4RoKtyt','1771kFwAKZ','skillSource','43490IKHEcn','10aweUdO','1518vpMlHB','1192892eeXyJY','495163DfFqPL','cliCdnBaseUrl','npmRegistryBaseUrl','8MbqXBq','12VhmWkX','5240349vLdGbh'];a94_0xf16f=function(){return _0x3d3a18;};return a94_0xf16f();}export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+a94_0xabbf2b(0x173);
1
+ const a94_0x118d3a=a94_0x1122;function a94_0x1122(_0x2b13af,_0x2b146b){_0x2b13af=_0x2b13af-0xe4;const _0x9d688=a94_0x9d68();let _0x112218=_0x9d688[_0x2b13af];return _0x112218;}(function(_0x390fa9,_0x349e9c){const _0x2ea78a=a94_0x1122,_0x598a51=_0x390fa9();while(!![]){try{const _0x16b192=parseInt(_0x2ea78a(0xee))/0x1*(-parseInt(_0x2ea78a(0xeb))/0x2)+-parseInt(_0x2ea78a(0xed))/0x3*(-parseInt(_0x2ea78a(0xef))/0x4)+parseInt(_0x2ea78a(0xe8))/0x5*(-parseInt(_0x2ea78a(0xec))/0x6)+parseInt(_0x2ea78a(0xe5))/0x7*(parseInt(_0x2ea78a(0xf1))/0x8)+-parseInt(_0x2ea78a(0xe4))/0x9*(parseInt(_0x2ea78a(0xf3))/0xa)+-parseInt(_0x2ea78a(0xea))/0xb+parseInt(_0x2ea78a(0xf2))/0xc;if(_0x16b192===_0x349e9c)break;else _0x598a51['push'](_0x598a51['shift']());}catch(_0x44a810){_0x598a51['push'](_0x598a51['shift']());}}}(a94_0x9d68,0xcf075));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a94_0x118d3a(0xf0)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a94_0x118d3a(0xe7)];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a94_0x118d3a(0xe9)];export const LOVRABET_CLI_CDN_BASE_URL=PRODUCT_CONFIG['cliCdnBaseUrl'];export const LOVRABET_CLI_VERSION_POLICY_URL=LOVRABET_CLI_CDN_BASE_URL+a94_0x118d3a(0xe6);function a94_0x9d68(){const _0xf437e0=['15929320vWzIjQ','2kXAnVn','4818hVuLqP','39eXiEgt','840149EiZWKJ','219028ptrCDw','npmPackageName','4368752TWrNqe','31012776rAhZeq','730qcYIVR','107847nKhdmd','14miXKOS','/dist/lovrabet-cli/config/index.json','skillSource','2350YDAaJi','npmRegistryBaseUrl'];a94_0x9d68=function(){return _0xf437e0;};return a94_0x9d68();}
@@ -1 +1 @@
1
- const a95_0x55247c=a95_0xf744;(function(_0x4d3fd0,_0x31b82f){const _0x50f401=a95_0xf744,_0x2214a9=_0x4d3fd0();while(!![]){try{const _0x15058d=parseInt(_0x50f401(0x1f4))/0x1+parseInt(_0x50f401(0x1ed))/0x2*(-parseInt(_0x50f401(0x1e8))/0x3)+parseInt(_0x50f401(0x1e4))/0x4+-parseInt(_0x50f401(0x1f3))/0x5*(-parseInt(_0x50f401(0x1e3))/0x6)+-parseInt(_0x50f401(0x1e5))/0x7*(parseInt(_0x50f401(0x1f0))/0x8)+parseInt(_0x50f401(0x1e7))/0x9*(parseInt(_0x50f401(0x1f1))/0xa)+-parseInt(_0x50f401(0x1ef))/0xb;if(_0x15058d===_0x31b82f)break;else _0x2214a9['push'](_0x2214a9['shift']());}catch(_0x5df8ca){_0x2214a9['push'](_0x2214a9['shift']());}}}(a95_0x35dd,0xad254));import{getEnv,isProduction}from'../constant/env.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';function a95_0xf744(_0x110650,_0x44824f){_0x110650=_0x110650-0x1e0;const _0x35ddc7=a95_0x35dd();let _0xf74489=_0x35ddc7[_0x110650];return _0xf74489;}let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,activeRegion=DEFAULT_LOVRABET_REGION;export function initDomains(_0x1c6997){const _0x5422fb=a95_0xf744;customApiDomain=_0x1c6997?.[_0x5422fb(0x1e0)],customUserDomain=_0x1c6997?.['userDomain'],customRuntimeDomain=_0x1c6997?.[_0x5422fb(0x1eb)],customSkillDomain=_0x1c6997?.[_0x5422fb(0x1e6)],activeRegion=_0x1c6997?.[_0x5422fb(0x1e9)]??DEFAULT_LOVRABET_REGION;}const getActiveRegionDomains=()=>{const _0x3eb538=a95_0xf744,_0x442dcc=OFFICIAL_ROUTING_PROFILES[activeRegion][_0x3eb538(0x1ec)];return isProduction(getEnv())?_0x442dcc[_0x3eb538(0x1e2)]:_0x3eb538(0x1f2)in _0x442dcc?_0x442dcc[_0x3eb538(0x1f2)]:_0x442dcc['production'];};function a95_0x35dd(){const _0x23a7f8=['2545704zZbbFv','50VVQGyt','daily','11990lfjXPi','542960mqIyUW','apiDomain','skill','production','900srsPUe','4633588QhtIAA','21QutKeM','skillDomain','2028906WawdDI','3JnrobT','region','api','runtimeDomain','serviceDomains','1926462vxYSUe','runtime','6172683CDYNLx'];a95_0x35dd=function(){return _0x23a7f8;};return a95_0x35dd();}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()['user'];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a95_0x55247c(0x1ea)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a95_0x55247c(0x1ee)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a95_0x55247c(0x1e1)];
1
+ const a95_0x4ba867=a95_0x34dd;(function(_0x5e11d4,_0x39d4ca){const _0x419081=a95_0x34dd,_0x2e89a9=_0x5e11d4();while(!![]){try{const _0x274cc7=-parseInt(_0x419081(0x191))/0x1*(-parseInt(_0x419081(0x19a))/0x2)+parseInt(_0x419081(0x1a0))/0x3*(parseInt(_0x419081(0x19b))/0x4)+parseInt(_0x419081(0x199))/0x5*(parseInt(_0x419081(0x1a1))/0x6)+-parseInt(_0x419081(0x19d))/0x7+-parseInt(_0x419081(0x195))/0x8+parseInt(_0x419081(0x1a3))/0x9+-parseInt(_0x419081(0x192))/0xa*(parseInt(_0x419081(0x198))/0xb);if(_0x274cc7===_0x39d4ca)break;else _0x2e89a9['push'](_0x2e89a9['shift']());}catch(_0x5849e4){_0x2e89a9['push'](_0x2e89a9['shift']());}}}(a95_0x17da,0xd21c0));function a95_0x17da(){const _0x41b3ce=['4105696PVZDyP','skill','region','2629cSQbsy','90AIlMXX','4cgRcjL','28qODcQd','runtime','4369092UZjSvV','daily','runtimeDomain','491322gPxXaL','198438nViMNu','serviceDomains','14515038ChZFwl','production','729202CWQXDV','117780seohSJ','userDomain','skillDomain'];a95_0x17da=function(){return _0x41b3ce;};return a95_0x17da();}function a95_0x34dd(_0x10049c,_0xbce834){_0x10049c=_0x10049c-0x190;const _0x17dab0=a95_0x17da();let _0x34ddac=_0x17dab0[_0x10049c];return _0x34ddac;}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(_0x245570){const _0x28f097=a95_0x34dd;customApiDomain=_0x245570?.['apiDomain'],customUserDomain=_0x245570?.[_0x28f097(0x193)],customRuntimeDomain=_0x245570?.[_0x28f097(0x19f)],customSkillDomain=_0x245570?.[_0x28f097(0x194)],activeRegion=_0x245570?.[_0x28f097(0x197)]??DEFAULT_LOVRABET_REGION;}const getActiveRegionDomains=()=>{const _0x1f7341=a95_0x34dd,_0x5c4c7e=OFFICIAL_ROUTING_PROFILES[activeRegion][_0x1f7341(0x1a2)];return isProduction(getEnv())?_0x5c4c7e[_0x1f7341(0x190)]:'daily'in _0x5c4c7e?_0x5c4c7e[_0x1f7341(0x19e)]:_0x5c4c7e[_0x1f7341(0x190)];};export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()['user'];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()['api'];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a95_0x4ba867(0x19c)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a95_0x4ba867(0x196)];
@@ -1 +1 @@
1
- const a96_0x4abeb4=a96_0x159e;(function(_0x8eb5bf,_0x2e2916){const _0x1c7809=a96_0x159e,_0x3e5fba=_0x8eb5bf();while(!![]){try{const _0x2e1099=-parseInt(_0x1c7809(0xba))/0x1+parseInt(_0x1c7809(0xbc))/0x2*(-parseInt(_0x1c7809(0xc4))/0x3)+parseInt(_0x1c7809(0xb7))/0x4*(parseInt(_0x1c7809(0xc3))/0x5)+-parseInt(_0x1c7809(0xc5))/0x6*(parseInt(_0x1c7809(0xbb))/0x7)+-parseInt(_0x1c7809(0xbd))/0x8+-parseInt(_0x1c7809(0xbe))/0x9*(-parseInt(_0x1c7809(0xc1))/0xa)+parseInt(_0x1c7809(0xc2))/0xb*(parseInt(_0x1c7809(0xc6))/0xc);if(_0x2e1099===_0x2e2916)break;else _0x3e5fba['push'](_0x3e5fba['shift']());}catch(_0x39c1ee){_0x3e5fba['push'](_0x3e5fba['shift']());}}}(a96_0x2be3,0x579c5));function a96_0x159e(_0x193fc3,_0x50d669){_0x193fc3=_0x193fc3-0xb7;const _0x2be3c1=a96_0x2be3();let _0x159ee0=_0x2be3c1[_0x193fc3];return _0x159ee0;}import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=['production','development',a96_0x4abeb4(0xb9)];export function normalizeEnv(_0x1eab8a){const _0x40d2b0=a96_0x4abeb4;return _0x1eab8a===_0x40d2b0(0xc7)?_0x40d2b0(0xc8):_0x1eab8a;}export function isProduction(_0x3bcba8){const _0x599c08=a96_0x4abeb4;return normalizeEnv(_0x3bcba8)===_0x599c08(0xc8);}function a96_0x2be3(){const _0x4b41fa=['13188sWtAWV','140ndRAmc','4686448LznPfc','6255ZPFubE','dev','development','6580wADitg','55MENTrE','5445NhhSzA','21069alAvUA','2094PRcsDn','3624408rzUgaI','online','production','1516rMxLZl','ENV','daily','286426ZcgJyA'];a96_0x2be3=function(){return _0x4b41fa;};return a96_0x2be3();}export function isDaily(_0x51286){const _0x4246aa=a96_0x4abeb4;return normalizeEnv(_0x51286)===_0x4246aa(0xb9);}export function isDev(_0x125e54){const _0x42e0f4=a96_0x4abeb4,_0x3e0c0b=normalizeEnv(_0x125e54);return _0x3e0c0b===_0x42e0f4(0xc0)||_0x3e0c0b===_0x42e0f4(0xbf);}let env=normalizeEnv(productEnv(a96_0x4abeb4(0xb8))||'production');export function getEnv(){return env;}export function initEnv(_0x4a3e6f){env=normalizeEnv(_0x4a3e6f);}
1
+ const a96_0x293a79=a96_0x2f4e;(function(_0x2dfc24,_0x3bee02){const _0x1663de=a96_0x2f4e,_0xc3e60c=_0x2dfc24();while(!![]){try{const _0x457551=parseInt(_0x1663de(0xb3))/0x1*(parseInt(_0x1663de(0xc0))/0x2)+-parseInt(_0x1663de(0xb7))/0x3+-parseInt(_0x1663de(0xb6))/0x4*(parseInt(_0x1663de(0xbc))/0x5)+parseInt(_0x1663de(0xba))/0x6+-parseInt(_0x1663de(0xb9))/0x7*(-parseInt(_0x1663de(0xbd))/0x8)+parseInt(_0x1663de(0xb4))/0x9+-parseInt(_0x1663de(0xb2))/0xa;if(_0x457551===_0x3bee02)break;else _0xc3e60c['push'](_0xc3e60c['shift']());}catch(_0xf78fa5){_0xc3e60c['push'](_0xc3e60c['shift']());}}}(a96_0x2354,0x47b17));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=['production',a96_0x293a79(0xc1),a96_0x293a79(0xbf)];function a96_0x2f4e(_0x18d9cc,_0x3563cb){_0x18d9cc=_0x18d9cc-0xb2;const _0x2354e8=a96_0x2354();let _0x2f4efc=_0x2354e8[_0x18d9cc];return _0x2f4efc;}function a96_0x2354(){const _0x3ee073=['daily','4Fmnkuj','development','7775620UXoulZ','145477HASxjy','2744145YlDyEK','dev','8084IAgYXi','26901juAVdo','production','106652EKJFur','740868WqlauX','ENV','125BIsKwV','216clIOQO','online'];a96_0x2354=function(){return _0x3ee073;};return a96_0x2354();}export function normalizeEnv(_0x4f9950){const _0x10393c=a96_0x293a79;return _0x4f9950===_0x10393c(0xbe)?'production':_0x4f9950;}export function isProduction(_0x4ec2f0){const _0x1c14ae=a96_0x293a79;return normalizeEnv(_0x4ec2f0)===_0x1c14ae(0xb8);}export function isDaily(_0x10051d){return normalizeEnv(_0x10051d)==='daily';}export function isDev(_0xabec1f){const _0x3eab67=a96_0x293a79,_0x3d2deb=normalizeEnv(_0xabec1f);return _0x3d2deb===_0x3eab67(0xc1)||_0x3d2deb===_0x3eab67(0xb5);}let env=normalizeEnv(productEnv(a96_0x293a79(0xbb))||a96_0x293a79(0xb8));export function getEnv(){return env;}export function initEnv(_0x15776f){env=normalizeEnv(_0x15776f);}
@@ -1 +1 @@
1
- const a97_0xc00388=a97_0x56ef;(function(_0x20590d,_0x118121){const _0x2498e6=a97_0x56ef,_0x2f28b9=_0x20590d();while(!![]){try{const _0x165050=parseInt(_0x2498e6(0x1c9))/0x1*(-parseInt(_0x2498e6(0x1c8))/0x2)+-parseInt(_0x2498e6(0x1cc))/0x3+parseInt(_0x2498e6(0x1ce))/0x4+-parseInt(_0x2498e6(0x1ca))/0x5+parseInt(_0x2498e6(0x1c6))/0x6+parseInt(_0x2498e6(0x1c7))/0x7*(parseInt(_0x2498e6(0x1c4))/0x8)+-parseInt(_0x2498e6(0x1cb))/0x9;if(_0x165050===_0x118121)break;else _0x2f28b9['push'](_0x2f28b9['shift']());}catch(_0x21a27f){_0x2f28b9['push'](_0x2f28b9['shift']());}}}(a97_0x4c5f,0x19ea5));function a97_0x4c5f(){const _0x3b340d=['2GztXiB','63268RSotUN','574260lwoTfr','1242270tyOrsI','72477woCXoO','json','823832RpLAXD','pretty','1320WFMasf','compress','1133130jxkwDa','2191WzBVCF'];a97_0x4c5f=function(){return _0x3b340d;};return a97_0x4c5f();}function a97_0x56ef(_0x57e474,_0x1cf3b6){_0x57e474=_0x57e474-0x1c4;const _0x4c5f47=a97_0x4c5f();let _0x56ef47=_0x4c5f47[_0x57e474];return _0x56ef47;}export const OUTPUT_FORMAT_VALUES=[a97_0xc00388(0x1cd),a97_0xc00388(0x1cf),a97_0xc00388(0x1c5)];
1
+ function a97_0x52a1(){const _0x405ac7=['45Btxbzb','pretty','json','906yRLLsS','7iaVerN','1973346nPZTKB','5082495bJRIub','2910kXdxwg','797488ZMjyRK','27yjJykx','569830GtZfIv','848680BeuLGU','184596UoKSOl'];a97_0x52a1=function(){return _0x405ac7;};return a97_0x52a1();}function a97_0x1216(_0x484907,_0x4bdeee){_0x484907=_0x484907-0x87;const _0x52a163=a97_0x52a1();let _0x121649=_0x52a163[_0x484907];return _0x121649;}const a97_0x5c7db7=a97_0x1216;(function(_0x4ddedf,_0x218d78){const _0x3765c6=a97_0x1216,_0x574477=_0x4ddedf();while(!![]){try{const _0x22bfef=parseInt(_0x3765c6(0x87))/0x1+parseInt(_0x3765c6(0x91))/0x2*(-parseInt(_0x3765c6(0x8d))/0x3)+-parseInt(_0x3765c6(0x89))/0x4*(parseInt(_0x3765c6(0x8a))/0x5)+parseInt(_0x3765c6(0x8f))/0x6*(parseInt(_0x3765c6(0x8e))/0x7)+parseInt(_0x3765c6(0x92))/0x8*(-parseInt(_0x3765c6(0x93))/0x9)+parseInt(_0x3765c6(0x88))/0xa+parseInt(_0x3765c6(0x90))/0xb;if(_0x22bfef===_0x218d78)break;else _0x574477['push'](_0x574477['shift']());}catch(_0x12022d){_0x574477['push'](_0x574477['shift']());}}}(a97_0x52a1,0x473f1));export const OUTPUT_FORMAT_VALUES=[a97_0x5c7db7(0x8c),a97_0x5c7db7(0x8b),'compress'];
@@ -1 +1 @@
1
- function a98_0x5bd4(_0xaac436,_0x2e8df9){_0xaac436=_0xaac436-0x1ba;const _0x888690=a98_0x8886();let _0x5bd443=_0x888690[_0xaac436];return _0x5bd443;}const a98_0x1ccc63=a98_0x5bd4;(function(_0x57f3ba,_0x21e55c){const _0x1da863=a98_0x5bd4,_0x5e9c85=_0x57f3ba();while(!![]){try{const _0x4e9188=parseInt(_0x1da863(0x1bd))/0x1*(parseInt(_0x1da863(0x1bc))/0x2)+-parseInt(_0x1da863(0x1be))/0x3+-parseInt(_0x1da863(0x1d2))/0x4*(parseInt(_0x1da863(0x1c5))/0x5)+parseInt(_0x1da863(0x1c9))/0x6+parseInt(_0x1da863(0x1ca))/0x7*(parseInt(_0x1da863(0x1cf))/0x8)+parseInt(_0x1da863(0x1c3))/0x9+-parseInt(_0x1da863(0x1d3))/0xa*(parseInt(_0x1da863(0x1ba))/0xb);if(_0x4e9188===_0x21e55c)break;else _0x5e9c85['push'](_0x5e9c85['shift']());}catch(_0x2ab631){_0x5e9c85['push'](_0x5e9c85['shift']());}}}(a98_0x8886,0x78172));export const PRODUCT_CONFIG={'cliBinName':a98_0x1ccc63(0x1c2),'cliDisplayName':a98_0x1ccc63(0x1cd),'npmPackageName':a98_0x1ccc63(0x1cc),'skillSource':'lovrabet/lovrabet-cli','internalSkillSource':a98_0x1ccc63(0x1cb),'globalSkillName':a98_0x1ccc63(0x1c2),'npmRegistryBaseUrl':'https://registry.npmjs.org','cliCdnBaseUrl':a98_0x1ccc63(0x1c4),'envPrefix':a98_0x1ccc63(0x1c0),'legacyEnvPrefixes':[a98_0x1ccc63(0x1c7)],'configFileNames':[a98_0x1ccc63(0x1bf)],'newConfigFileName':a98_0x1ccc63(0x1bf),'homeDirName':a98_0x1ccc63(0x1ce),'logFileName':a98_0x1ccc63(0x1d1),'invokeSource':'cli:lovrabet-runtime','userCenterDisplayName':'Lovrabet\x20User\x20Center','skipNpxSkillsEnvSuffix':a98_0x1ccc63(0x1bb),'accessKeyCreatePath':a98_0x1ccc63(0x1d0)};function a98_0x8886(){const _0x4acee=['legacyEnvPrefixes','RABETBASE','envPrefix','2066934llnpkZ','28YSWAiM','git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','@lovrabet/lovrabet-cli','Lovrabet\x20Runtime\x20CLI','.lovrabet','657704UrFiZC','/user/ak','.lovrabet-runtime.log','3718600uoAyCb','5523990EBkwqz','11PiWUGh','SKIP_NPX_SKILLS','321378eZbCBm','5vCBQDD','9678gYFPUW','.lovrabet.json','LOVRABET','map','lovrabet','4503411CdflZi','https://g.lovrabet.com','5fsbOpb'];a98_0x8886=function(){return _0x4acee;};return a98_0x8886();}export function productEnvName(_0x42af47){const _0x1481a2=a98_0x1ccc63;return PRODUCT_CONFIG[_0x1481a2(0x1c8)]+'_'+_0x42af47;}export function productEnvNames(_0x23fcfc){const _0x37c5f6=a98_0x1ccc63;return[productEnvName(_0x23fcfc),...PRODUCT_CONFIG[_0x37c5f6(0x1c6)][_0x37c5f6(0x1c1)](_0x175d86=>_0x175d86+'_'+_0x23fcfc)];}export function productEnv(_0xc07e1){for(const _0x2e20e1 of productEnvNames(_0xc07e1)){const _0x18d66f=process.env[_0x2e20e1];if(_0x18d66f!==undefined)return _0x18d66f;}return undefined;}
1
+ const a98_0x4e825a=a98_0x576c;(function(_0x11065f,_0x47109b){const _0x268b2d=a98_0x576c,_0x46eb7d=_0x11065f();while(!![]){try{const _0x2f602e=-parseInt(_0x268b2d(0x15b))/0x1+-parseInt(_0x268b2d(0x160))/0x2+-parseInt(_0x268b2d(0x167))/0x3*(parseInt(_0x268b2d(0x161))/0x4)+-parseInt(_0x268b2d(0x163))/0x5*(parseInt(_0x268b2d(0x16d))/0x6)+parseInt(_0x268b2d(0x156))/0x7*(parseInt(_0x268b2d(0x16b))/0x8)+-parseInt(_0x268b2d(0x165))/0x9*(parseInt(_0x268b2d(0x169))/0xa)+-parseInt(_0x268b2d(0x15f))/0xb*(-parseInt(_0x268b2d(0x16c))/0xc);if(_0x2f602e===_0x47109b)break;else _0x46eb7d['push'](_0x46eb7d['shift']());}catch(_0x2832eb){_0x46eb7d['push'](_0x46eb7d['shift']());}}}(a98_0xfdfe,0xbe2cb));export const PRODUCT_CONFIG={'cliBinName':a98_0x4e825a(0x166),'cliDisplayName':a98_0x4e825a(0x168),'npmPackageName':'@lovrabet/lovrabet-cli','skillSource':a98_0x4e825a(0x16e),'internalSkillSource':'git@codeup.aliyun.com:yuntoo/open/lovrabet-runtime-cli.git','globalSkillName':'lovrabet','npmRegistryBaseUrl':a98_0x4e825a(0x164),'cliCdnBaseUrl':a98_0x4e825a(0x155),'envPrefix':a98_0x4e825a(0x15d),'legacyEnvPrefixes':[a98_0x4e825a(0x15c)],'configFileNames':[a98_0x4e825a(0x15e)],'newConfigFileName':'.lovrabet.json','homeDirName':'.lovrabet','logFileName':a98_0x4e825a(0x15a),'invokeSource':'cli:lovrabet-runtime','userCenterDisplayName':'Lovrabet\x20User\x20Center','skipNpxSkillsEnvSuffix':a98_0x4e825a(0x162),'accessKeyCreatePath':a98_0x4e825a(0x159)};function a98_0x576c(_0x468895,_0xedae06){_0x468895=_0x468895-0x155;const _0xfdfe38=a98_0xfdfe();let _0x576ccc=_0xfdfe38[_0x468895];return _0x576ccc;}export function productEnvName(_0x212ea6){const _0x34d6f1=a98_0x4e825a;return PRODUCT_CONFIG[_0x34d6f1(0x157)]+'_'+_0x212ea6;}export function productEnvNames(_0x11651f){const _0x99ca4=a98_0x4e825a;return[productEnvName(_0x11651f),...PRODUCT_CONFIG[_0x99ca4(0x158)][_0x99ca4(0x16a)](_0x5355d5=>_0x5355d5+'_'+_0x11651f)];}export function productEnv(_0x463aec){for(const _0x1495eb of productEnvNames(_0x463aec)){const _0x18a8e7=process.env[_0x1495eb];if(_0x18a8e7!==undefined)return _0x18a8e7;}return undefined;}function a98_0xfdfe(){const _0x50fe4b=['/user/ak','.lovrabet-runtime.log','192886ijXawA','RABETBASE','LOVRABET','.lovrabet.json','1969kGfLuI','2389432fYXGRO','8PVXKNm','SKIP_NPX_SKILLS','373495ZVWhAX','https://registry.npmjs.org','4167oJZeeq','lovrabet','1467423uqFqMV','Lovrabet\x20Runtime\x20CLI','1010gMsMyn','map','831064BLRfAf','223116zYhhND','36iSTiwz','lovrabet/lovrabet-cli','https://g.lovrabet.com','21ITLaXE','envPrefix','legacyEnvPrefixes'];a98_0xfdfe=function(){return _0x50fe4b;};return a98_0xfdfe();}
@@ -1 +1 @@
1
- (function(_0x58b872,_0x1d403f){const _0x2c49ee=a99_0x1e69,_0x38d93c=_0x58b872();while(!![]){try{const _0x258a93=-parseInt(_0x2c49ee(0x1c1))/0x1+-parseInt(_0x2c49ee(0x1be))/0x2+-parseInt(_0x2c49ee(0x1c0))/0x3+parseInt(_0x2c49ee(0x1cd))/0x4*(parseInt(_0x2c49ee(0x1cb))/0x5)+parseInt(_0x2c49ee(0x1c6))/0x6+-parseInt(_0x2c49ee(0x1c9))/0x7*(-parseInt(_0x2c49ee(0x1c3))/0x8)+-parseInt(_0x2c49ee(0x1c7))/0x9;if(_0x258a93===_0x1d403f)break;else _0x38d93c['push'](_0x38d93c['shift']());}catch(_0x5d47b5){_0x38d93c['push'](_0x38d93c['shift']());}}}(a99_0x386f,0x41d19));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';import{CliErrors}from'../errors.js';function a99_0x1e69(_0x13ec06,_0x55be5c){_0x13ec06=_0x13ec06-0x1be;const _0x386f05=a99_0x386f();let _0x1e6976=_0x386f05[_0x13ec06];return _0x1e6976;}export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x3edf57){const _0x4833fc=a99_0x1e69;return typeof _0x3edf57===_0x4833fc(0x1bf)&&LOVRABET_REGION_VALUES[_0x4833fc(0x1c8)](_0x3edf57);}export function isEnabledLovrabetRegion(_0x459c24){const _0x4de3d1=a99_0x1e69;return typeof _0x459c24===_0x4de3d1(0x1bf)&&ENABLED_LOVRABET_REGION_VALUES[_0x4de3d1(0x1c8)](_0x459c24);}export function normalizeLovrabetRegion(_0x9c1604){const _0x50ecd3=a99_0x1e69;if(_0x9c1604===undefined||_0x9c1604===null||_0x9c1604==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x9c1604!==_0x50ecd3(0x1bf))throw CliErrors[_0x50ecd3(0x1c5)]('Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20'+typeof _0x9c1604+'.',_0x50ecd3(0x1ca));const _0x51f0be=REGION_ALIASES[_0x9c1604]??_0x9c1604;if(isEnabledLovrabetRegion(_0x51f0be))return _0x51f0be;throw CliErrors[_0x50ecd3(0x1c5)]('Region\x20\x22'+_0x9c1604+_0x50ecd3(0x1cc),_0x50ecd3(0x1c2)+ENABLED_LOVRABET_REGION_VALUES[_0x50ecd3(0x1c4)](',\x20')+'.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.');}function a99_0x386f(){const _0x19da19=['join','validation','2341242jpLGXd','39006CuYZIX','includes','5047mSRPNy','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.','5dSKZxi','\x22\x20is\x20not\x20currently\x20available.','763552heFFXZ','588874PFMutr','string','141072XRLHZo','180565gaJwzc','Available\x20regions:\x20','2384VJRpsA'];a99_0x386f=function(){return _0x19da19;};return a99_0x386f();}
1
+ (function(_0x50278d,_0x4f74a5){const _0x2cf968=a99_0x53a4,_0x345b31=_0x50278d();while(!![]){try{const _0xa7310f=parseInt(_0x2cf968(0x81))/0x1+parseInt(_0x2cf968(0x7c))/0x2+parseInt(_0x2cf968(0x82))/0x3+parseInt(_0x2cf968(0x7b))/0x4+parseInt(_0x2cf968(0x89))/0x5*(parseInt(_0x2cf968(0x84))/0x6)+-parseInt(_0x2cf968(0x7e))/0x7*(-parseInt(_0x2cf968(0x79))/0x8)+-parseInt(_0x2cf968(0x83))/0x9*(parseInt(_0x2cf968(0x86))/0xa);if(_0xa7310f===_0x4f74a5)break;else _0x345b31['push'](_0x345b31['shift']());}catch(_0x60d847){_0x345b31['push'](_0x345b31['shift']());}}}(a99_0x5127,0x3bc92));function a99_0x53a4(_0xbb5499,_0x3b9e0a){_0xbb5499=_0xbb5499-0x78;const _0x5127f5=a99_0x5127();let _0x53a40a=_0x5127f5[_0xbb5499];return _0x53a40a;}import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';import{CliErrors}from'../errors.js';function a99_0x5127(){const _0x152cc3=['9762650efZqhh','includes','Available\x20regions:\x20','25mUnKUy','string','join','16zoIHlM','\x22\x20is\x20not\x20currently\x20available.','730956RyPWkM','829888yeoLBF','validation','888069eUlkrX','Run\x20`lovrabet\x20config\x20init`\x20to\x20restore\x20the\x20global\x20country/region\x20configuration.','Invalid\x20region\x20value:\x20expected\x20a\x20string,\x20received\x20','36157CMDAnc','308604InVNFa','9GtFcrb','276846bSHNjc','Region\x20\x22'];a99_0x5127=function(){return _0x152cc3;};return a99_0x5127();}export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x185c42){const _0x45c0e4=a99_0x53a4;return typeof _0x185c42===_0x45c0e4(0x8a)&&LOVRABET_REGION_VALUES[_0x45c0e4(0x87)](_0x185c42);}export function isEnabledLovrabetRegion(_0xa7329c){const _0x1a08bf=a99_0x53a4;return typeof _0xa7329c==='string'&&ENABLED_LOVRABET_REGION_VALUES[_0x1a08bf(0x87)](_0xa7329c);}export function normalizeLovrabetRegion(_0x3a07fc){const _0x225d23=a99_0x53a4;if(_0x3a07fc===undefined||_0x3a07fc===null||_0x3a07fc==='')return DEFAULT_LOVRABET_REGION;if(typeof _0x3a07fc!==_0x225d23(0x8a))throw CliErrors[_0x225d23(0x7d)](_0x225d23(0x80)+typeof _0x3a07fc+'.',_0x225d23(0x7f));const _0x11d991=REGION_ALIASES[_0x3a07fc]??_0x3a07fc;if(isEnabledLovrabetRegion(_0x11d991))return _0x11d991;throw CliErrors[_0x225d23(0x7d)](_0x225d23(0x85)+_0x3a07fc+_0x225d23(0x7a),_0x225d23(0x88)+ENABLED_LOVRABET_REGION_VALUES[_0x225d23(0x78)](',\x20')+'.\x20Run\x20`lovrabet\x20config\x20init`\x20to\x20repair\x20the\x20global\x20configuration.');}
@@ -1 +1 @@
1
- const a100_0x4e2b1a=a100_0x4796;(function(_0x1da3ed,_0x1da189){const _0x5c2664=a100_0x4796,_0x5d9348=_0x1da3ed();while(!![]){try{const _0x3b7f2f=parseInt(_0x5c2664(0x1a7))/0x1+-parseInt(_0x5c2664(0x1ab))/0x2+-parseInt(_0x5c2664(0x1a2))/0x3+-parseInt(_0x5c2664(0x1a6))/0x4*(-parseInt(_0x5c2664(0x1a1))/0x5)+parseInt(_0x5c2664(0x1a9))/0x6*(parseInt(_0x5c2664(0x1a5))/0x7)+parseInt(_0x5c2664(0x1aa))/0x8*(parseInt(_0x5c2664(0x1a3))/0x9)+-parseInt(_0x5c2664(0x1ac))/0xa;if(_0x3b7f2f===_0x1da189)break;else _0x5d9348['push'](_0x5d9348['shift']());}catch(_0x23b9f5){_0x5d9348['push'](_0x5d9348['shift']());}}}(a100_0x2f65,0xe0aaf));function a100_0x4796(_0x3d582a,_0x52d748){_0x3d582a=_0x3d582a-0x1a1;const _0x2f654d=a100_0x2f65();let _0x47968f=_0x2f654d[_0x3d582a];return _0x47968f;}function a100_0x2f65(){const _0x1bf54c=['3038325iYitNb','106254mVYMkv','read','7xeToSB','4644cPbLIg','929318izkuwh','write','1546098IbdhSU','1008Iuqctu','20558vZqQcQ','17041820AjMkQa','4190tJHnpS'];a100_0x2f65=function(){return _0x1bf54c;};return a100_0x2f65();}export const RISK_LEVEL_VALUES=[a100_0x4e2b1a(0x1a4),a100_0x4e2b1a(0x1a8),'high-risk-write'];
1
+ const a100_0x49bd18=a100_0x8456;function a100_0x8456(_0x34be54,_0x27401e){_0x34be54=_0x34be54-0x1c1;const _0x5cce2e=a100_0x5cce();let _0x84564b=_0x5cce2e[_0x34be54];return _0x84564b;}function a100_0x5cce(){const _0x146be0=['988302mnMrpD','192390hqoDjJ','high-risk-write','1238616Ogjype','2751925JnNSxz','18mcRbTZ','write','28ijNOOm','read','506391EziXBK','132YriIxp','144uzAzJL','324hAwZVa','63555OangZO','22290qzYKli'];a100_0x5cce=function(){return _0x146be0;};return a100_0x5cce();}(function(_0x1b5943,_0x274ff4){const _0xa8f9eb=a100_0x8456,_0x176597=_0x1b5943();while(!![]){try{const _0x2b3f69=-parseInt(_0xa8f9eb(0x1c7))/0x1+parseInt(_0xa8f9eb(0x1c3))/0x2*(-parseInt(_0xa8f9eb(0x1cc))/0x3)+parseInt(_0xa8f9eb(0x1c8))/0x4*(-parseInt(_0xa8f9eb(0x1cb))/0x5)+parseInt(_0xa8f9eb(0x1cd))/0x6*(-parseInt(_0xa8f9eb(0x1c5))/0x7)+-parseInt(_0xa8f9eb(0x1c1))/0x8+parseInt(_0xa8f9eb(0x1ca))/0x9*(-parseInt(_0xa8f9eb(0x1ce))/0xa)+-parseInt(_0xa8f9eb(0x1c2))/0xb*(-parseInt(_0xa8f9eb(0x1c9))/0xc);if(_0x2b3f69===_0x274ff4)break;else _0x176597['push'](_0x176597['shift']());}catch(_0x2233ac){_0x176597['push'](_0x176597['shift']());}}}(a100_0x5cce,0x7ad25));export const RISK_LEVEL_VALUES=[a100_0x49bd18(0x1c6),a100_0x49bd18(0x1c4),a100_0x49bd18(0x1cf)];
@@ -1 +1 @@
1
- function a101_0x39e5(_0x1f2469,_0x2293b9){_0x1f2469=_0x1f2469-0xfa;const _0x4d0925=a101_0x4d09();let _0x39e5c4=_0x4d0925[_0x1f2469];return _0x39e5c4;}function a101_0x4d09(){const _0x386cb8=['11582310oxUJcf','1315677CaprcJ','user','6642hUwoCl','4096180CWaAHm','9818vTJIlz','serviceDomains','6404896rLOtsk','59763869gIidve','8519eGGBWq','18EwcjNl','accessKeyCreatePath','8htGUnO','429sPYpOf'];a101_0x4d09=function(){return _0x386cb8;};return a101_0x4d09();}(function(_0x89c1b3,_0x3ed963){const _0x4eb338=a101_0x39e5,_0x2b582a=_0x89c1b3();while(!![]){try{const _0x4ee856=-parseInt(_0x4eb338(0x106))/0x1+-parseInt(_0x4eb338(0xfc))/0x2*(parseInt(_0x4eb338(0x104))/0x3)+parseInt(_0x4eb338(0x103))/0x4*(-parseInt(_0x4eb338(0xfb))/0x5)+parseInt(_0x4eb338(0xfa))/0x6*(-parseInt(_0x4eb338(0x100))/0x7)+parseInt(_0x4eb338(0xfe))/0x8*(parseInt(_0x4eb338(0x101))/0x9)+-parseInt(_0x4eb338(0x105))/0xa+parseInt(_0x4eb338(0xff))/0xb;if(_0x4ee856===_0x3ed963)break;else _0x2b582a['push'](_0x2b582a['shift']());}catch(_0x5ce769){_0x2b582a['push'](_0x2b582a['shift']());}}}(a101_0x4d09,0xd510d));import{PRODUCT_CONFIG}from'../constant/product.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';export function getUserAccessKeyCreateUrl(_0x2774df=DEFAULT_LOVRABET_REGION){const _0x2a6551=a101_0x39e5,_0x336667=OFFICIAL_ROUTING_PROFILES[_0x2774df][_0x2a6551(0xfd)]['production'][_0x2a6551(0x107)];return''+_0x336667+PRODUCT_CONFIG[_0x2a6551(0x102)];}export const USER_ACCESS_KEY_CREATE_URL=getUserAccessKeyCreateUrl();
1
+ (function(_0x1d255e,_0x544378){const _0x743480=a101_0x44e3,_0x52a2dc=_0x1d255e();while(!![]){try{const _0x207d72=parseInt(_0x743480(0x152))/0x1+-parseInt(_0x743480(0x151))/0x2+parseInt(_0x743480(0x156))/0x3+parseInt(_0x743480(0x153))/0x4+parseInt(_0x743480(0x154))/0x5*(-parseInt(_0x743480(0x150))/0x6)+parseInt(_0x743480(0x14f))/0x7+-parseInt(_0x743480(0x155))/0x8;if(_0x207d72===_0x544378)break;else _0x52a2dc['push'](_0x52a2dc['shift']());}catch(_0x145900){_0x52a2dc['push'](_0x52a2dc['shift']());}}}(a101_0x132f,0x28e46));import{PRODUCT_CONFIG}from'../constant/product.js';import{OFFICIAL_ROUTING_PROFILES}from'../generated/official-routing.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';function a101_0x44e3(_0x10d0f5,_0x529630){_0x10d0f5=_0x10d0f5-0x14f;const _0x132f19=a101_0x132f();let _0x44e388=_0x132f19[_0x10d0f5];return _0x44e388;}export function getUserAccessKeyCreateUrl(_0x52f2e3=DEFAULT_LOVRABET_REGION){const _0x41243f=a101_0x44e3,_0x56395b=OFFICIAL_ROUTING_PROFILES[_0x52f2e3][_0x41243f(0x158)]['production'][_0x41243f(0x157)];return''+_0x56395b+PRODUCT_CONFIG['accessKeyCreatePath'];}export const USER_ACCESS_KEY_CREATE_URL=getUserAccessKeyCreateUrl();function a101_0x132f(){const _0x23d3f7=['serviceDomains','1468782aJhYFG','6BFTiTV','148248wRcFrn','247707hOvJFg','980728xGFKsn','1665105CSxAiu','1427904abscpM','151236VWSCMw','user'];a101_0x132f=function(){return _0x23d3f7;};return a101_0x132f();}