@lovrabet/rabetbase-cli 2.3.3-beta.4 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/add.js +1 -1
  20. package/lib/commands/app/discover.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app/use.js +1 -1
  26. package/lib/commands/app-config/delete.js +1 -1
  27. package/lib/commands/app-config/get.js +1 -1
  28. package/lib/commands/app-config/index.js +1 -1
  29. package/lib/commands/app-config/list.js +1 -1
  30. package/lib/commands/app-config/set.js +1 -1
  31. package/lib/commands/app-config/shared.js +1 -1
  32. package/lib/commands/auth/index.js +1 -1
  33. package/lib/commands/bff/create.js +1 -1
  34. package/lib/commands/bff/delete.js +1 -1
  35. package/lib/commands/bff/detail.js +1 -1
  36. package/lib/commands/bff/index.js +1 -1
  37. package/lib/commands/bff/list.js +1 -1
  38. package/lib/commands/bff/pull.js +1 -1
  39. package/lib/commands/bff/push.js +1 -1
  40. package/lib/commands/bff/status.js +1 -1
  41. package/lib/commands/cli-skill/index.js +1 -1
  42. package/lib/commands/cli-update.js +1 -1
  43. package/lib/commands/codegen/index.js +1 -1
  44. package/lib/commands/codegen/sdk.js +1 -1
  45. package/lib/commands/codegen/sql.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/flags.js +1 -1
  48. package/lib/commands/common/validate.js +1 -1
  49. package/lib/commands/config/get.js +1 -1
  50. package/lib/commands/config/index.js +1 -1
  51. package/lib/commands/config/list.js +1 -1
  52. package/lib/commands/config/set.js +1 -1
  53. package/lib/commands/config/shared.js +1 -1
  54. package/lib/commands/data/filter.js +1 -1
  55. package/lib/commands/data/getOne.js +1 -1
  56. package/lib/commands/data/index.js +1 -1
  57. package/lib/commands/data/shared.js +1 -1
  58. package/lib/commands/dataset/business-group-update.js +1 -1
  59. package/lib/commands/dataset/capability.js +1 -1
  60. package/lib/commands/dataset/delete.js +1 -1
  61. package/lib/commands/dataset/detail.js +1 -1
  62. package/lib/commands/dataset/extend-update.js +1 -1
  63. package/lib/commands/dataset/field-update.js +1 -1
  64. package/lib/commands/dataset/generate.js +1 -1
  65. package/lib/commands/dataset/index.js +1 -1
  66. package/lib/commands/dataset/list.js +1 -1
  67. package/lib/commands/dataset/operations.js +1 -1
  68. package/lib/commands/dataset/relation-audit.js +1 -1
  69. package/lib/commands/dataset/relation-create.js +1 -1
  70. package/lib/commands/dataset/relation-delete.js +1 -1
  71. package/lib/commands/dataset/relation-shared.js +1 -1
  72. package/lib/commands/dataset/relation-update.js +1 -1
  73. package/lib/commands/dataset/relations.js +1 -1
  74. package/lib/commands/dataset/rename.js +1 -1
  75. package/lib/commands/dataset/restore.js +1 -1
  76. package/lib/commands/db/analyze-cancel.js +1 -1
  77. package/lib/commands/db/analyze-start.js +1 -1
  78. package/lib/commands/db/analyze-status.js +1 -1
  79. package/lib/commands/db/create.js +1 -1
  80. package/lib/commands/db/delete.js +1 -1
  81. package/lib/commands/db/detail.js +1 -1
  82. package/lib/commands/db/diff.js +1 -1
  83. package/lib/commands/db/index.js +1 -1
  84. package/lib/commands/db/list.js +1 -1
  85. package/lib/commands/db/shared.js +1 -1
  86. package/lib/commands/db/tables.js +1 -1
  87. package/lib/commands/db/test.js +1 -1
  88. package/lib/commands/db/update.js +1 -1
  89. package/lib/commands/doctor.js +1 -1
  90. package/lib/commands/init/index.js +1 -1
  91. package/lib/commands/issue/index.js +1 -1
  92. package/lib/commands/issue/nudge.js +1 -1
  93. package/lib/commands/issue/report.js +1 -1
  94. package/lib/commands/issue/shared.js +1 -1
  95. package/lib/commands/logs/index.js +1 -1
  96. package/lib/commands/menu/index.js +1 -1
  97. package/lib/commands/menu/list.js +1 -1
  98. package/lib/commands/menu/shared/compare-table.js +1 -1
  99. package/lib/commands/menu/shared/index.js +1 -1
  100. package/lib/commands/menu/shared/inquirer.js +1 -1
  101. package/lib/commands/menu/shared/local-pages.js +1 -1
  102. package/lib/commands/menu/shared/logic.js +1 -1
  103. package/lib/commands/menu/shared/service.js +1 -1
  104. package/lib/commands/menu/shared/sync-core.js +1 -1
  105. package/lib/commands/menu/shared/update-core.js +1 -1
  106. package/lib/commands/menu/shared/valid-url.js +1 -1
  107. package/lib/commands/menu/sync.js +1 -1
  108. package/lib/commands/menu/update.js +1 -1
  109. package/lib/commands/page/generate-start.js +1 -1
  110. package/lib/commands/page/generate-status.js +1 -1
  111. package/lib/commands/page/index.js +1 -1
  112. package/lib/commands/page/pull.js +1 -1
  113. package/lib/commands/page/push.js +1 -1
  114. package/lib/commands/page/relation-audit.js +1 -1
  115. package/lib/commands/page/shared.js +1 -1
  116. package/lib/commands/page/standard-page-status.js +1 -1
  117. package/lib/commands/page/sync.js +1 -1
  118. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  119. package/lib/commands/project/create/format-elapsed.js +1 -1
  120. package/lib/commands/project/create/main.js +1 -1
  121. package/lib/commands/project/create/non-interactive.js +1 -1
  122. package/lib/commands/project/create/project-template-path.js +1 -1
  123. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  124. package/lib/commands/project/create/use-format-code.js +1 -1
  125. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  126. package/lib/commands/project/index.js +1 -1
  127. package/lib/commands/project/init.js +1 -1
  128. package/lib/commands/project/upgrade.js +1 -1
  129. package/lib/commands/registry.js +1 -1
  130. package/lib/commands/run/index.js +1 -1
  131. package/lib/commands/schema.js +1 -1
  132. package/lib/commands/sql/create.js +1 -1
  133. package/lib/commands/sql/delete.js +1 -1
  134. package/lib/commands/sql/detail.js +1 -1
  135. package/lib/commands/sql/exec.js +1 -1
  136. package/lib/commands/sql/index.js +1 -1
  137. package/lib/commands/sql/list.js +1 -1
  138. package/lib/commands/sql/pull.js +1 -1
  139. package/lib/commands/sql/push.js +1 -1
  140. package/lib/commands/sql/save.js +1 -1
  141. package/lib/commands/sql/shared.js +1 -1
  142. package/lib/commands/sql/status.js +1 -1
  143. package/lib/commands/sql/validate.js +1 -1
  144. package/lib/commands/workspace/index.js +1 -1
  145. package/lib/config/schema.js +1 -1
  146. package/lib/constant/cdn.js +1 -1
  147. package/lib/constant/cli.js +1 -1
  148. package/lib/constant/defaults.js +1 -1
  149. package/lib/constant/domain.js +1 -1
  150. package/lib/constant/env.js +1 -1
  151. package/lib/constant/output.js +1 -1
  152. package/lib/constant/paths.js +1 -1
  153. package/lib/constant/risk.js +1 -1
  154. package/lib/context/app-resolver.js +1 -1
  155. package/lib/context/auth-resolver.js +1 -1
  156. package/lib/context/config-loader.js +1 -1
  157. package/lib/context.js +1 -1
  158. package/lib/core/alias-resolver.js +1 -1
  159. package/lib/core/api-client.js +1 -1
  160. package/lib/core/bff/config.js +1 -1
  161. package/lib/core/bff/file-system.js +1 -1
  162. package/lib/core/bff/hash.js +1 -1
  163. package/lib/core/bff/lock.js +1 -1
  164. package/lib/core/bff/utils.js +1 -1
  165. package/lib/core/db-resolver.js +1 -1
  166. package/lib/core/page/file-system.js +1 -1
  167. package/lib/core/page/hash.js +1 -1
  168. package/lib/core/page/lock.js +1 -1
  169. package/lib/core/sql-sync/config.js +1 -1
  170. package/lib/core/sql-sync/file-system.js +1 -1
  171. package/lib/core/sql-sync/hash.js +1 -1
  172. package/lib/core/sql-sync/lock.js +1 -1
  173. package/lib/core/sql-sync/utils.js +1 -1
  174. package/lib/core/sql-validator.js +1 -1
  175. package/lib/errors.js +1 -1
  176. package/lib/framework/build-all-flags.js +1 -1
  177. package/lib/framework/flags.js +1 -1
  178. package/lib/framework/help.js +1 -1
  179. package/lib/framework/index.js +1 -1
  180. package/lib/framework/output.js +1 -1
  181. package/lib/framework/response.js +1 -1
  182. package/lib/framework/runner-alias.js +1 -1
  183. package/lib/framework/runner.js +1 -1
  184. package/lib/framework/schema-export.js +1 -1
  185. package/lib/framework/types.js +1 -1
  186. package/lib/generated/build-info.js +1 -1
  187. package/lib/help.js +1 -1
  188. package/lib/skills/main.js +1 -1
  189. package/lib/skills/npx-skills-add.js +1 -1
  190. package/lib/telemetry/cli-command-trace.js +1 -1
  191. package/lib/telemetry/cli-help-trace.js +1 -1
  192. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  193. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  194. package/lib/telemetry/send-cli-trace-log.js +1 -1
  195. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  196. package/lib/utils/ai_config.js +1 -1
  197. package/lib/utils/apply-jq-filter.js +1 -1
  198. package/lib/utils/cdn-config.js +1 -1
  199. package/lib/utils/check-sdk-version.js +1 -1
  200. package/lib/utils/cli-version-check.js +1 -1
  201. package/lib/utils/cli-version-policy.js +1 -1
  202. package/lib/utils/config.js +1 -1
  203. package/lib/utils/copy-directory.js +1 -1
  204. package/lib/utils/entity-with-id.js +1 -1
  205. package/lib/utils/file-utils.js +1 -1
  206. package/lib/utils/guides-cdn.js +1 -1
  207. package/lib/utils/http-client.js +1 -1
  208. package/lib/utils/is-non-interactive.js +1 -1
  209. package/lib/utils/logger.js +1 -1
  210. package/lib/utils/params.js +1 -1
  211. package/lib/utils/platform.js +1 -1
  212. package/lib/utils/rules-cdn.js +1 -1
  213. package/lib/utils/sleep.js +1 -1
  214. package/lib/utils/template-replacer.js +1 -1
  215. package/lib/utils/update-notice.js +1 -1
  216. package/lib/utils/version.js +1 -1
  217. package/lib/utils/with-active-cookie.js +1 -1
  218. package/lib/utils/write-cli-side-channel.js +1 -1
  219. package/package.json +1 -1
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x26906c,_0x3b48c8){var _0xb78924=a190_0x504e,_0x3b5c2e=_0x26906c();while(!![]){try{var _0x446245=-parseInt(_0xb78924(0x95))/0x1+-parseInt(_0xb78924(0x99))/0x2+parseInt(_0xb78924(0x9a))/0x3*(-parseInt(_0xb78924(0xa0))/0x4)+-parseInt(_0xb78924(0x9f))/0x5*(-parseInt(_0xb78924(0x94))/0x6)+-parseInt(_0xb78924(0xa1))/0x7*(parseInt(_0xb78924(0x91))/0x8)+parseInt(_0xb78924(0x9d))/0x9*(parseInt(_0xb78924(0x9c))/0xa)+parseInt(_0xb78924(0x92))/0xb;if(_0x446245===_0x3b48c8)break;else _0x3b5c2e['push'](_0x3b5c2e['shift']());}catch(_0xb55a84){_0x3b5c2e['push'](_0x3b5c2e['shift']());}}}(a190_0x55cc,0x5ee8a));import a190_0x1c5977 from'chalk';function a190_0x55cc(){var _0x34b427=['\x20--help','log','834734DFGwBT','8178KJhZSw','\x20\x20Use\x20','515960HIdIeD','45VODJTQ','\x20to\x20view\x20available\x20commands.','5KTQlAR','1072RXlRHJ','1987244IzTlcf','8xSljIn','15324111MSASIw','bold','2887494mmaVbl','311757ZMbAWL','green'];a190_0x55cc=function(){return _0x34b427;};return a190_0x55cc();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a190_0x504e(_0x492ee2,_0x5c0a48){_0x492ee2=_0x492ee2-0x91;var _0x55cccf=a190_0x55cc();var _0x504e7c=_0x55cccf[_0x492ee2];return _0x504e7c;}export function showHelp(){var _0x410bb0=a190_0x504e;console['log'](),console['log'](a190_0x1c5977[_0x410bb0(0x96)][_0x410bb0(0x93)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x410bb0(0x98)](),console[_0x410bb0(0x98)](_0x410bb0(0x9b)+a190_0x1c5977[_0x410bb0(0x96)][_0x410bb0(0x93)](CLI_BIN_NAME+_0x410bb0(0x97))+_0x410bb0(0x9e)),console['log']();}
1
+ (function(_0x52057a,_0x1612ef){var _0x5158d=a190_0x48c1,_0x1aeb38=_0x52057a();while(!![]){try{var _0x423dd8=parseInt(_0x5158d(0x134))/0x1+parseInt(_0x5158d(0x12e))/0x2+-parseInt(_0x5158d(0x132))/0x3*(parseInt(_0x5158d(0x13c))/0x4)+parseInt(_0x5158d(0x135))/0x5*(-parseInt(_0x5158d(0x133))/0x6)+-parseInt(_0x5158d(0x13b))/0x7+-parseInt(_0x5158d(0x138))/0x8+parseInt(_0x5158d(0x137))/0x9;if(_0x423dd8===_0x1612ef)break;else _0x1aeb38['push'](_0x1aeb38['shift']());}catch(_0x4fe08a){_0x1aeb38['push'](_0x1aeb38['shift']());}}}(a190_0x1f9d,0x835da));import a190_0x31e682 from'chalk';function a190_0x48c1(_0x2047de,_0x638cb4){_0x2047de=_0x2047de-0x12e;var _0x1f9da1=a190_0x1f9d();var _0x48c1e8=_0x1f9da1[_0x2047de];return _0x48c1e8;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a190_0x1f9d(){var _0x1471db=['\x20\x20Use\x20','165573TCzboa','145758fRWuvy','186093MvtfQQ','215slgWKc','\x20--help','11905488DDJqXi','2626704EZiHTh','log','green','250901ERdwpa','40mVKAow','1979678QTkDYs','bold','\x20to\x20view\x20available\x20commands.'];a190_0x1f9d=function(){return _0x1471db;};return a190_0x1f9d();}export function showHelp(){var _0x5da0bd=a190_0x48c1;console['log'](),console[_0x5da0bd(0x139)](a190_0x31e682[_0x5da0bd(0x13a)][_0x5da0bd(0x12f)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x5da0bd(0x139)](),console['log'](_0x5da0bd(0x131)+a190_0x31e682[_0x5da0bd(0x13a)][_0x5da0bd(0x12f)](CLI_BIN_NAME+_0x5da0bd(0x136))+_0x5da0bd(0x130)),console[_0x5da0bd(0x139)]();}
@@ -1 +1 @@
1
- function a191_0x4533(_0xae88e6,_0x2b9fba){_0xae88e6=_0xae88e6-0x115;const _0x44a718=a191_0x44a7();let _0x453300=_0x44a718[_0xae88e6];return _0x453300;}(function(_0x4d0434,_0xfc0da6){const _0x33587f=a191_0x4533,_0x46b18b=_0x4d0434();while(!![]){try{const _0xff7f50=parseInt(_0x33587f(0x12c))/0x1*(parseInt(_0x33587f(0x115))/0x2)+parseInt(_0x33587f(0x117))/0x3*(-parseInt(_0x33587f(0x121))/0x4)+parseInt(_0x33587f(0x12f))/0x5*(parseInt(_0x33587f(0x122))/0x6)+-parseInt(_0x33587f(0x130))/0x7+parseInt(_0x33587f(0x132))/0x8*(-parseInt(_0x33587f(0x11b))/0x9)+-parseInt(_0x33587f(0x120))/0xa+parseInt(_0x33587f(0x12d))/0xb;if(_0xff7f50===_0xfc0da6)break;else _0x46b18b['push'](_0x46b18b['shift']());}catch(_0xf8e680){_0x46b18b['push'](_0x46b18b['shift']());}}}(a191_0x44a7,0xe9f65));import{logger}from'../utils/logger.js';function a191_0x44a7(){const _0x198292=['Error:\x20Unsupported\x20command:\x20','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','length','entries','-$1','toLowerCase','101zGJJgk','33737880KGNnYB','setLogPath','5yalvbF','12020183pxaSOa','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','422240ybOJtf','dangerously-bff-save','add','includes','error','slice','Equivalent\x20command:\x20','25702TfjJRc','push','125571YsVjfA','startsWith','from','has','18iGrAXz','\x0aAvailable\x20commands:','log','cwd','不支持的命令:\x20','9775690TIyVUA','180WMSWcj','7662846mRVXaO','skill','help'];a191_0x44a7=function(){return _0x198292;};return a191_0x44a7();}import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x357844){const _0x19ca97=a191_0x4533,_0xcd62af=[];for(const [_0x3bc799,_0x2bfb4a]of Object[_0x19ca97(0x129)](_0x357844)){if(_0x2bfb4a===!![]){const _0x3877eb=_0x3bc799['replace'](/([A-Z])/g,_0x19ca97(0x12a))[_0x19ca97(0x12b)]();_0xcd62af[_0x19ca97(0x116)](_0x3877eb);}}return _0xcd62af;}export function parseDynamicFlags(){const _0x44dccd=a191_0x4533,_0x3aea6f=[];for(let _0x3f654e=0x3;_0x3f654e<process['argv'][_0x44dccd(0x128)];_0x3f654e++){const _0x5877c2=process['argv'][_0x3f654e];if(_0x5877c2&&_0x5877c2[_0x44dccd(0x118)]('--')){const _0x4c90eb=_0x5877c2[_0x44dccd(0x137)](0x2);_0x4c90eb&&!_0x4c90eb[_0x44dccd(0x135)]('=')&&_0x3aea6f[_0x44dccd(0x116)](_0x4c90eb);}}return _0x3aea6f;}export function getAllProvidedFlags(_0x340128){const _0x522119=a191_0x4533,_0x537a21=camelCaseFlagsToKebab(_0x340128),_0x4f05ca=parseDynamicFlags(),_0x34ffe1=new Set([..._0x537a21,..._0x4f05ca]);return Array[_0x522119(0x119)](_0x34ffe1);}export function normalizeLegacyBffSaveFlags(_0x25e71f){const _0x3cfd66=a191_0x4533,_0x5bbc3a=new Set(_0x25e71f);return _0x5bbc3a[_0x3cfd66(0x11a)](_0x3cfd66(0x133))&&_0x5bbc3a[_0x3cfd66(0x134)]('enable-bff-save'),Array['from'](_0x5bbc3a);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x56aade,_0x55c272,_0x3f098b){const _0x110d7c=a191_0x4533;logger[_0x110d7c(0x12e)](process[_0x110d7c(0x11e)]());if(_0x3f098b?.[_0x110d7c(0x124)]||_0x56aade==='--help'){showHelp();return;}console[_0x110d7c(0x136)](_0x110d7c(0x125)+(_0x56aade||'(empty)')),console[_0x110d7c(0x11d)](_0x110d7c(0x11c)),console[_0x110d7c(0x11d)]('\x20\x20'+CLI_BIN_NAME+_0x110d7c(0x126)),console[_0x110d7c(0x11d)](''),console[_0x110d7c(0x11d)](_0x110d7c(0x138)+SKILLS_INSTALL_COMMAND_LINE),logger[_0x110d7c(0x136)](_0x110d7c(0x123),_0x110d7c(0x11f)+_0x56aade),process['exit'](0x1);}function showHelp(){const _0x58f7f7=a191_0x4533;console[_0x58f7f7(0x11d)](_0x58f7f7(0x127)+CLI_BIN_NAME+'\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE+_0x58f7f7(0x131));}
1
+ (function(_0x50d3fe,_0x89626c){const _0x347f8b=a191_0x400b,_0x2e44a9=_0x50d3fe();while(!![]){try{const _0x449d63=parseInt(_0x347f8b(0xe2))/0x1+parseInt(_0x347f8b(0xc4))/0x2+parseInt(_0x347f8b(0xd7))/0x3*(-parseInt(_0x347f8b(0xc3))/0x4)+-parseInt(_0x347f8b(0xe8))/0x5*(parseInt(_0x347f8b(0xd9))/0x6)+parseInt(_0x347f8b(0xe5))/0x7+-parseInt(_0x347f8b(0xe0))/0x8+-parseInt(_0x347f8b(0xdd))/0x9*(-parseInt(_0x347f8b(0xc6))/0xa);if(_0x449d63===_0x89626c)break;else _0x2e44a9['push'](_0x2e44a9['shift']());}catch(_0x19dc5a){_0x2e44a9['push'](_0x2e44a9['shift']());}}}(a191_0x13f1,0x36aa0));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a191_0x13f1(){const _0x55eb69=['156906NIIROG','help','has','2497075PRMnKH','(empty)','toLowerCase','7715SDRqPz','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','285676MITgdu','323580JXmPAn','argv','6810WFosRn','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','enable-bff-save','log','push','cwd','exit','setLogPath','Error:\x20Unsupported\x20command:\x20','from','includes','dangerously-bff-save','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','error','replace','startsWith','slice','6desjie','length','1074frCZYo','-$1','entries','--help','4284uCSVKS','不支持的命令:\x20','skill','2853104zHKKhS','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a'];a191_0x13f1=function(){return _0x55eb69;};return a191_0x13f1();}import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x10848f){const _0x39643b=a191_0x400b,_0x5ca0d7=[];for(const [_0x58dc00,_0x5294af]of Object[_0x39643b(0xdb)](_0x10848f)){if(_0x5294af===!![]){const _0x5382c3=_0x58dc00[_0x39643b(0xd4)](/([A-Z])/g,_0x39643b(0xda))[_0x39643b(0xe7)]();_0x5ca0d7[_0x39643b(0xca)](_0x5382c3);}}return _0x5ca0d7;}export function parseDynamicFlags(){const _0x554aae=a191_0x400b,_0x16119d=[];for(let _0x382a05=0x3;_0x382a05<process[_0x554aae(0xc5)][_0x554aae(0xd8)];_0x382a05++){const _0x56e4b2=process[_0x554aae(0xc5)][_0x382a05];if(_0x56e4b2&&_0x56e4b2[_0x554aae(0xd5)]('--')){const _0x42cd43=_0x56e4b2[_0x554aae(0xd6)](0x2);_0x42cd43&&!_0x42cd43[_0x554aae(0xd0)]('=')&&_0x16119d[_0x554aae(0xca)](_0x42cd43);}}return _0x16119d;}export function getAllProvidedFlags(_0x4ff4f1){const _0x4b9eda=camelCaseFlagsToKebab(_0x4ff4f1),_0x746236=parseDynamicFlags(),_0x341497=new Set([..._0x4b9eda,..._0x746236]);return Array['from'](_0x341497);}export function normalizeLegacyBffSaveFlags(_0x3778ca){const _0x3089dd=a191_0x400b,_0x539722=new Set(_0x3778ca);return _0x539722[_0x3089dd(0xe4)](_0x3089dd(0xd1))&&_0x539722['add'](_0x3089dd(0xc8)),Array[_0x3089dd(0xcf)](_0x539722);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;function a191_0x400b(_0x336f58,_0x4b4226){_0x336f58=_0x336f58-0xc2;const _0x13f132=a191_0x13f1();let _0x400b18=_0x13f132[_0x336f58];return _0x400b18;}export async function skillsCommand(_0x98b04f,_0x5497b2,_0x5862f8){const _0x432521=a191_0x400b;logger[_0x432521(0xcd)](process[_0x432521(0xcb)]());if(_0x5862f8?.[_0x432521(0xe3)]||_0x98b04f===_0x432521(0xdc)){showHelp();return;}console[_0x432521(0xd3)](_0x432521(0xce)+(_0x98b04f||_0x432521(0xe6))),console[_0x432521(0xc9)]('\x0aAvailable\x20commands:'),console[_0x432521(0xc9)]('\x20\x20'+CLI_BIN_NAME+_0x432521(0xd2)),console[_0x432521(0xc9)](''),console[_0x432521(0xc9)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x432521(0xd3)](_0x432521(0xdf),_0x432521(0xde)+_0x98b04f),process[_0x432521(0xcc)](0x1);}function showHelp(){const _0x384b83=a191_0x400b;console[_0x384b83(0xc9)](_0x384b83(0xc7)+CLI_BIN_NAME+_0x384b83(0xc2)+SKILLS_INSTALL_COMMAND_LINE+_0x384b83(0xe1));}
@@ -1 +1 @@
1
- const a192_0x28558a=a192_0xae73;(function(_0x21a214,_0x5a0e34){const _0x3e179d=a192_0xae73,_0x32c0a5=_0x21a214();while(!![]){try{const _0x3128f8=-parseInt(_0x3e179d(0x183))/0x1+parseInt(_0x3e179d(0x178))/0x2+parseInt(_0x3e179d(0x181))/0x3+-parseInt(_0x3e179d(0x18f))/0x4*(parseInt(_0x3e179d(0x177))/0x5)+parseInt(_0x3e179d(0x17d))/0x6+-parseInt(_0x3e179d(0x187))/0x7*(parseInt(_0x3e179d(0x18b))/0x8)+-parseInt(_0x3e179d(0x18e))/0x9*(-parseInt(_0x3e179d(0x176))/0xa);if(_0x3128f8===_0x5a0e34)break;else _0x32c0a5['push'](_0x32c0a5['shift']());}catch(_0x3938aa){_0x32c0a5['push'](_0x32c0a5['shift']());}}}(a192_0x1127,0xa0276));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI='skills';export const NPX_SKILLS_SUBCOMMAND_ADD=a192_0x28558a(0x18c);export const NPX_SKILLS_FLAG_SKILL=a192_0x28558a(0x17c);export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';export const LEGACY_RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';function a192_0xae73(_0x1a5243,_0x56ace0){_0x1a5243=_0x1a5243-0x176;const _0x1127d4=a192_0x1127();let _0xae73be=_0x1127d4[_0x1a5243];return _0xae73be;}export const DEFAULT_RABETBASE_SKILL_NAME='Lovrabet';export function buildNpxSkillsAddArgv(_0x5ebd29){const _0x3b2fa6=a192_0x28558a,_0x49fc7b=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x5ebd29&&_0x49fc7b[_0x3b2fa6(0x185)](NPX_SKILLS_FLAG_SKILL,_0x5ebd29),_0x49fc7b;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a192_0x28558a(0x17f),...buildNpxSkillsAddArgv()]['join']('\x20');function a192_0x1127(){const _0x243322=['311424witWvj','join','pipe','stdio','--skill','3970350aASwjl','toString','npx','trim','2776557NtldbI','stderr','341854dghlBC','skill','push','inherit','812672QFtzrs','log','remove','exit\x20','16UqWCGC','add','stdout','159759HRLBJa','1756wGcIWN','status','yes','290QoaVbE','11705gLsHXi'];a192_0x1127=function(){return _0x243322;};return a192_0x1127();}export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a192_0x28558a(0x17f),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a192_0x28558a(0x179)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x242086,_0x51d779){const _0x5384a6=a192_0x28558a;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x27f11f=_0x51d779?.[_0x5384a6(0x17b)]??_0x5384a6(0x186),_0x1bdb04=resolveNpmBin(_0x5384a6(0x17f)),_0x1bc480=buildNpxSkillsAddArgv(_0x51d779?.[_0x5384a6(0x184)]),_0x2e76df=['npx',..._0x1bc480][_0x5384a6(0x179)]('\x20');console[_0x5384a6(0x188)]('*\x20'+_0x2e76df);const _0x457242=spawnSync(_0x1bdb04,_0x1bc480,{'cwd':_0x242086,'stdio':_0x27f11f,'env':process.env,'shell':![]}),_0x4961fa=_0x457242[_0x5384a6(0x190)];if(_0x4961fa===0x0)return{'ok':!![],'status':0x0};let _0x17cbf4=_0x5384a6(0x18a)+(_0x4961fa??'unknown');if(_0x27f11f==='pipe'){const _0x2297d9=_0x457242[_0x5384a6(0x182)]?_0x457242[_0x5384a6(0x182)][_0x5384a6(0x17e)]()[_0x5384a6(0x180)]():'',_0x632621=_0x457242[_0x5384a6(0x18d)]?_0x457242[_0x5384a6(0x18d)][_0x5384a6(0x17e)]()[_0x5384a6(0x180)]():'';if(_0x2297d9)_0x17cbf4=_0x2297d9;else{if(_0x632621)_0x17cbf4=_0x632621;}}return{'ok':![],'status':_0x4961fa??null,'error':_0x17cbf4};}export function runNpxSkillsRemove(_0x241d0c,_0x2e7344,_0x384f2a=LEGACY_RABETBASE_SKILL_SOURCE){const _0xaf5336=a192_0x28558a;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x29bfe3=_0x2e7344?.[_0xaf5336(0x17b)]??_0xaf5336(0x186),_0x529760=resolveNpmBin('npx'),_0x3450f0=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0xaf5336(0x189),_0x384f2a,NPX_SKILLS_FLAG_SKILL,_0x2e7344?.[_0xaf5336(0x184)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x2e7344?.[_0xaf5336(0x191)]?['-y']:[]],_0x2e87ce=[_0x529760,..._0x3450f0][_0xaf5336(0x179)]('\x20');console['log']('*\x20'+_0x2e87ce);const _0x159eb6=spawnSync(_0x529760,_0x3450f0,{'cwd':_0x241d0c,'stdio':_0x29bfe3,'env':process.env,'shell':![]}),_0x4d4e63=_0x159eb6['status'];if(_0x4d4e63===0x0)return{'ok':!![],'status':0x0};let _0x376ffc='exit\x20'+(_0x4d4e63??'unknown');if(_0x29bfe3===_0xaf5336(0x17a)){const _0x5d80e5=_0x159eb6[_0xaf5336(0x182)]?_0x159eb6[_0xaf5336(0x182)][_0xaf5336(0x17e)]()[_0xaf5336(0x180)]():'',_0x1ea460=_0x159eb6['stdout']?_0x159eb6['stdout'][_0xaf5336(0x17e)]()[_0xaf5336(0x180)]():'';if(_0x5d80e5)_0x376ffc=_0x5d80e5;else{if(_0x1ea460)_0x376ffc=_0x1ea460;}}return{'ok':![],'status':_0x4d4e63??null,'error':_0x376ffc};}export function runNpxSkillsAddGlobal(_0x267957,_0xabca5e,_0x18e781){const _0x5ecf2c=a192_0x28558a;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3ffaa7=_0x18e781?.[_0x5ecf2c(0x17b)]??'inherit',_0x367127=resolveNpmBin('npx'),_0x26b57d=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0xabca5e,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x55c454=[_0x5ecf2c(0x17f),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0xabca5e,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x5ecf2c(0x179)]('\x20');console[_0x5ecf2c(0x188)]('*\x20'+_0x55c454);const _0x413325=spawnSync(_0x367127,_0x26b57d,{'cwd':_0x267957,'stdio':_0x3ffaa7,'env':process.env,'shell':![]}),_0x1504e7=_0x413325[_0x5ecf2c(0x190)];if(_0x1504e7===0x0)return{'ok':!![],'status':0x0};let _0x264ed1=_0x5ecf2c(0x18a)+(_0x1504e7??'unknown');if(_0x3ffaa7===_0x5ecf2c(0x17a)){const _0x4fc5da=_0x413325[_0x5ecf2c(0x182)]?_0x413325[_0x5ecf2c(0x182)][_0x5ecf2c(0x17e)]()[_0x5ecf2c(0x180)]():'',_0xf4fe99=_0x413325['stdout']?_0x413325[_0x5ecf2c(0x18d)][_0x5ecf2c(0x17e)]()['trim']():'';if(_0x4fc5da)_0x264ed1=_0x4fc5da;else{if(_0xf4fe99)_0x264ed1=_0xf4fe99;}}return{'ok':![],'status':_0x1504e7??null,'error':_0x264ed1};}
1
+ const a192_0xfbe91a=a192_0x324f;(function(_0x2c3bed,_0x159d9c){const _0x72cedd=a192_0x324f,_0x1d09b6=_0x2c3bed();while(!![]){try{const _0xae7b3c=parseInt(_0x72cedd(0x16e))/0x1+parseInt(_0x72cedd(0x175))/0x2+-parseInt(_0x72cedd(0x161))/0x3+-parseInt(_0x72cedd(0x170))/0x4+-parseInt(_0x72cedd(0x176))/0x5*(-parseInt(_0x72cedd(0x167))/0x6)+parseInt(_0x72cedd(0x17a))/0x7*(parseInt(_0x72cedd(0x16c))/0x8)+-parseInt(_0x72cedd(0x169))/0x9*(parseInt(_0x72cedd(0x174))/0xa);if(_0xae7b3c===_0x159d9c)break;else _0x1d09b6['push'](_0x1d09b6['shift']());}catch(_0x5c1135){_0x1d09b6['push'](_0x1d09b6['shift']());}}}(a192_0x4092,0x65b15));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';export const NPX_FLAG_YES='-y';function a192_0x324f(_0x55546e,_0x2e9e53){_0x55546e=_0x55546e-0x160;const _0x4092f5=a192_0x4092();let _0x324f9f=_0x4092f5[_0x55546e];return _0x324f9f;}export const SKILLS_FLAG_GLOBAL='-g';export const SKILLS_FLAG_YES='-y';export const NPX_SKILLS_CLI=a192_0xfbe91a(0x179);export const NPX_SKILLS_SUBCOMMAND_ADD=a192_0xfbe91a(0x177);export const NPX_SKILLS_FLAG_SKILL=a192_0xfbe91a(0x172);export const RABETBASE_SKILL_SOURCE=a192_0xfbe91a(0x16b);export const LEGACY_RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';export const DEFAULT_RABETBASE_SKILL_NAME=a192_0xfbe91a(0x168);function a192_0x4092(){const _0x4fd767=['skill','2553594MZptSK','Lovrabet','36TajmPb','stdout','lovrabet/rabetbase','141376klvcnp','stdio','329430NVcecs','trim','871108rcPBsi','npx','--skill','exit\x20','790430ozxoBQ','490402iUleOX','5hgcFWv','add','yes','skills','168jmbcYQ','toString','log','status','stderr','pipe','1421628DVdDmg','inherit','push','unknown','join'];a192_0x4092=function(){return _0x4fd767;};return a192_0x4092();}export function buildNpxSkillsAddArgv(_0x6d0dc8){const _0x101eb5=a192_0xfbe91a,_0x7fbb41=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x6d0dc8&&_0x7fbb41[_0x101eb5(0x163)](NPX_SKILLS_FLAG_SKILL,_0x6d0dc8),_0x7fbb41;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a192_0xfbe91a(0x171),...buildNpxSkillsAddArgv()][a192_0xfbe91a(0x165)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a192_0xfbe91a(0x165)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x2950c2,_0x2d9a41){const _0x555c60=a192_0xfbe91a;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2544a8=_0x2d9a41?.[_0x555c60(0x16d)]??'inherit',_0x46df05=resolveNpmBin(_0x555c60(0x171)),_0x33d971=buildNpxSkillsAddArgv(_0x2d9a41?.[_0x555c60(0x166)]),_0x21c25f=[_0x555c60(0x171),..._0x33d971]['join']('\x20');console[_0x555c60(0x17c)]('*\x20'+_0x21c25f);const _0x4d7c00=spawnSync(_0x46df05,_0x33d971,{'cwd':_0x2950c2,'stdio':_0x2544a8,'env':process.env,'shell':![]}),_0x518985=_0x4d7c00[_0x555c60(0x17d)];if(_0x518985===0x0)return{'ok':!![],'status':0x0};let _0x13ad5d=_0x555c60(0x173)+(_0x518985??'unknown');if(_0x2544a8===_0x555c60(0x160)){const _0x5b17f6=_0x4d7c00[_0x555c60(0x17e)]?_0x4d7c00[_0x555c60(0x17e)][_0x555c60(0x17b)]()[_0x555c60(0x16f)]():'',_0x8e5964=_0x4d7c00[_0x555c60(0x16a)]?_0x4d7c00[_0x555c60(0x16a)][_0x555c60(0x17b)]()[_0x555c60(0x16f)]():'';if(_0x5b17f6)_0x13ad5d=_0x5b17f6;else{if(_0x8e5964)_0x13ad5d=_0x8e5964;}}return{'ok':![],'status':_0x518985??null,'error':_0x13ad5d};}export function runNpxSkillsRemove(_0x4befba,_0x143a0b,_0x37b18b=LEGACY_RABETBASE_SKILL_SOURCE){const _0x185ad3=a192_0xfbe91a;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x34809e=_0x143a0b?.[_0x185ad3(0x16d)]??_0x185ad3(0x162),_0x363fb9=resolveNpmBin(_0x185ad3(0x171)),_0x2b0208=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',_0x37b18b,NPX_SKILLS_FLAG_SKILL,_0x143a0b?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x143a0b?.[_0x185ad3(0x178)]?['-y']:[]],_0x3982c4=[_0x363fb9,..._0x2b0208][_0x185ad3(0x165)]('\x20');console['log']('*\x20'+_0x3982c4);const _0x3a3590=spawnSync(_0x363fb9,_0x2b0208,{'cwd':_0x4befba,'stdio':_0x34809e,'env':process.env,'shell':![]}),_0x1082dd=_0x3a3590[_0x185ad3(0x17d)];if(_0x1082dd===0x0)return{'ok':!![],'status':0x0};let _0x28c4db=_0x185ad3(0x173)+(_0x1082dd??_0x185ad3(0x164));if(_0x34809e===_0x185ad3(0x160)){const _0x2609de=_0x3a3590[_0x185ad3(0x17e)]?_0x3a3590[_0x185ad3(0x17e)][_0x185ad3(0x17b)]()['trim']():'',_0x1ed32=_0x3a3590[_0x185ad3(0x16a)]?_0x3a3590[_0x185ad3(0x16a)][_0x185ad3(0x17b)]()[_0x185ad3(0x16f)]():'';if(_0x2609de)_0x28c4db=_0x2609de;else{if(_0x1ed32)_0x28c4db=_0x1ed32;}}return{'ok':![],'status':_0x1082dd??null,'error':_0x28c4db};}export function runNpxSkillsAddGlobal(_0x55ad12,_0x34fd22,_0x5a2c23){const _0x4743dd=a192_0xfbe91a;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x2350de=_0x5a2c23?.['stdio']??_0x4743dd(0x162),_0x386ffe=resolveNpmBin(_0x4743dd(0x171)),_0x1faad4=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x34fd22,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0xb7d5a=['npx',NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x34fd22,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES]['join']('\x20');console['log']('*\x20'+_0xb7d5a);const _0x2ca363=spawnSync(_0x386ffe,_0x1faad4,{'cwd':_0x55ad12,'stdio':_0x2350de,'env':process.env,'shell':![]}),_0x1b73c4=_0x2ca363['status'];if(_0x1b73c4===0x0)return{'ok':!![],'status':0x0};let _0x26bd62=_0x4743dd(0x173)+(_0x1b73c4??_0x4743dd(0x164));if(_0x2350de===_0x4743dd(0x160)){const _0x29211b=_0x2ca363[_0x4743dd(0x17e)]?_0x2ca363[_0x4743dd(0x17e)][_0x4743dd(0x17b)]()[_0x4743dd(0x16f)]():'',_0x34088a=_0x2ca363[_0x4743dd(0x16a)]?_0x2ca363['stdout'][_0x4743dd(0x17b)]()['trim']():'';if(_0x29211b)_0x26bd62=_0x29211b;else{if(_0x34088a)_0x26bd62=_0x34088a;}}return{'ok':![],'status':_0x1b73c4??null,'error':_0x26bd62};}
@@ -1 +1 @@
1
- (function(_0x54c60f,_0xa625f1){const _0x5bff42=a193_0x2011,_0xec80e1=_0x54c60f();while(!![]){try{const _0x4ce513=parseInt(_0x5bff42(0x99))/0x1*(-parseInt(_0x5bff42(0x9e))/0x2)+-parseInt(_0x5bff42(0x92))/0x3*(parseInt(_0x5bff42(0x9a))/0x4)+parseInt(_0x5bff42(0x90))/0x5*(parseInt(_0x5bff42(0x94))/0x6)+-parseInt(_0x5bff42(0x8c))/0x7*(-parseInt(_0x5bff42(0x95))/0x8)+parseInt(_0x5bff42(0x98))/0x9*(-parseInt(_0x5bff42(0x96))/0xa)+-parseInt(_0x5bff42(0x8f))/0xb*(parseInt(_0x5bff42(0x8d))/0xc)+parseInt(_0x5bff42(0x9c))/0xd;if(_0x4ce513===_0xa625f1)break;else _0xec80e1['push'](_0xec80e1['shift']());}catch(_0x430474){_0xec80e1['push'](_0xec80e1['shift']());}}}(a193_0x331b,0xb7496));function a193_0x2011(_0x55cbb3,_0x5d5fee){_0x55cbb3=_0x55cbb3-0x8b;const _0x331be5=a193_0x331b();let _0x201183=_0x331be5[_0x55cbb3];return _0x201183;}function a193_0x331b(){const _0x5d0b2d=['748855dbMyHx','command','6ovcDqc','stringify','18wcpjQt','5112vrDNQE','30ELBhCi','rabetbase.command','647442yiGRMk','21059geDuME','926216UhyUNa','error','19886893AVgDht','some','82odfAAE','service','5803zWrALa','156DGUhkE','message','182534SkPZGH'];a193_0x331b=function(){return _0x5d0b2d;};return a193_0x331b();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x4e10bd){const _0xf6a415=a193_0x2011;return SENSITIVE_PATTERNS[_0xf6a415(0x9d)](_0x503053=>_0x503053['test'](_0x4e10bd));}function sanitizeFlags(_0x1b6661){const _0x21a381={};for(const [_0x49ad42,_0x4c6106]of Object['entries'](_0x1b6661)){isSensitiveKey(_0x49ad42)?_0x21a381[_0x49ad42]=_0x4c6106!=null&&_0x4c6106!==''?'[REDACTED]':_0x4c6106:_0x21a381[_0x49ad42]=_0x4c6106;}return _0x21a381;}export async function reportCommandTrace(_0x3eae3e){const _0xae8fd=a193_0x2011;try{const _0x3dd617=sanitizeFlags(_0x3eae3e['flags']);await sendCliTraceLog({'spanName':_0xae8fd(0x97),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x3eae3e[_0xae8fd(0x8b)],'command.name':_0x3eae3e[_0xae8fd(0x91)],'command.flags':JSON[_0xae8fd(0x93)](_0x3dd617),..._0x3eae3e['durationMs']!=null?{'command.duration_ms':_0x3eae3e['durationMs']}:{},..._0x3eae3e[_0xae8fd(0x9b)]?{'command.error':_0x3eae3e[_0xae8fd(0x9b)]instanceof Error?_0x3eae3e[_0xae8fd(0x9b)][_0xae8fd(0x8e)]:String(_0x3eae3e[_0xae8fd(0x9b)])}:{}}});}catch{}}
1
+ (function(_0xf02cc9,_0x1b43fd){const _0x49a2b6=a193_0x3e01,_0x4c664a=_0xf02cc9();while(!![]){try{const _0x52b417=-parseInt(_0x49a2b6(0x195))/0x1*(parseInt(_0x49a2b6(0x199))/0x2)+-parseInt(_0x49a2b6(0x192))/0x3+parseInt(_0x49a2b6(0x19c))/0x4*(-parseInt(_0x49a2b6(0x18f))/0x5)+parseInt(_0x49a2b6(0x19d))/0x6+-parseInt(_0x49a2b6(0x19f))/0x7+parseInt(_0x49a2b6(0x18d))/0x8+parseInt(_0x49a2b6(0x197))/0x9;if(_0x52b417===_0x1b43fd)break;else _0x4c664a['push'](_0x4c664a['shift']());}catch(_0x47abbc){_0x4c664a['push'](_0x4c664a['shift']());}}}(a193_0x2a4c,0x89660));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function a193_0x3e01(_0x37ecd6,_0x1c9c36){_0x37ecd6=_0x37ecd6-0x18d;const _0x2a4c7f=a193_0x2a4c();let _0x3e0196=_0x2a4c7f[_0x37ecd6];return _0x3e0196;}function isSensitiveKey(_0x559b86){const _0xb46a42=a193_0x3e01;return SENSITIVE_PATTERNS[_0xb46a42(0x193)](_0x4b1bb4=>_0x4b1bb4[_0xb46a42(0x194)](_0x559b86));}function sanitizeFlags(_0x4fcd85){const _0x481868=a193_0x3e01,_0x5d1e3a={};for(const [_0x571d2a,_0x108842]of Object['entries'](_0x4fcd85)){isSensitiveKey(_0x571d2a)?_0x5d1e3a[_0x571d2a]=_0x108842!=null&&_0x108842!==''?_0x481868(0x19b):_0x108842:_0x5d1e3a[_0x571d2a]=_0x108842;}return _0x5d1e3a;}function a193_0x2a4c(){const _0x1653a9=['rabetbase.command','message','182625uueDBi','some','test','41gKlHtA','flags','14096016RJzSie','service','7846UbsRkG','command','[REDACTED]','207796KQIaHn','2139276vvnhKC','error','7717472fTZqIg','4285336gaJklQ','durationMs','55IbxSrq'];a193_0x2a4c=function(){return _0x1653a9;};return a193_0x2a4c();}export async function reportCommandTrace(_0x4dbccf){const _0x2b6d36=a193_0x3e01;try{const _0x558c39=sanitizeFlags(_0x4dbccf[_0x2b6d36(0x196)]);await sendCliTraceLog({'spanName':_0x2b6d36(0x190),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x4dbccf[_0x2b6d36(0x198)],'command.name':_0x4dbccf[_0x2b6d36(0x19a)],'command.flags':JSON['stringify'](_0x558c39),..._0x4dbccf['durationMs']!=null?{'command.duration_ms':_0x4dbccf[_0x2b6d36(0x18e)]}:{},..._0x4dbccf[_0x2b6d36(0x19e)]?{'command.error':_0x4dbccf[_0x2b6d36(0x19e)]instanceof Error?_0x4dbccf[_0x2b6d36(0x19e)][_0x2b6d36(0x191)]:String(_0x4dbccf[_0x2b6d36(0x19e)])}:{}}});}catch{}}
@@ -1 +1 @@
1
- function a194_0x2461(_0x3242f5,_0x547743){_0x3242f5=_0x3242f5-0x8f;var _0x2c143e=a194_0x2c14();var _0x246179=_0x2c143e[_0x3242f5];return _0x246179;}function a194_0x2c14(){var _0x176a4b=['Failed\x20to\x20report\x20CLI\x20help\x20trace:','398921noMrDV','32548571NUoJwp','10yZvQSs','393352zLyfdh','122345eRUNhy','cli.help','error','164JnTasD','2604771IoWkxY','77PJUGUe','14896152AXjzHZ','service','896874bYJSup','2oAtdUj'];a194_0x2c14=function(){return _0x176a4b;};return a194_0x2c14();}(function(_0x3b0f5b,_0x564801){var _0x37f186=a194_0x2461,_0x24e312=_0x3b0f5b();while(!![]){try{var _0x2ae8ee=parseInt(_0x37f186(0x92))/0x1*(parseInt(_0x37f186(0x90))/0x2)+parseInt(_0x37f186(0x9a))/0x3+parseInt(_0x37f186(0x99))/0x4*(-parseInt(_0x37f186(0x96))/0x5)+-parseInt(_0x37f186(0x8f))/0x6+parseInt(_0x37f186(0x9b))/0x7*(-parseInt(_0x37f186(0x95))/0x8)+-parseInt(_0x37f186(0x9c))/0x9+-parseInt(_0x37f186(0x94))/0xa*(-parseInt(_0x37f186(0x93))/0xb);if(_0x2ae8ee===_0x564801)break;else _0x24e312['push'](_0x24e312['shift']());}catch(_0x4dd791){_0x24e312['push'](_0x24e312['shift']());}}}(a194_0x2c14,0xd6384));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0xadda66,_0x5c3f1a){var _0x140203=a194_0x2461;try{await sendCliTraceLog({'spanName':_0x140203(0x97),'logData':{'rabetbase.help.kind':_0xadda66,..._0x5c3f1a?.[_0x140203(0x9d)]&&{'rabetbase.help.service':_0x5c3f1a[_0x140203(0x9d)]}}});}catch(_0x42b67f){console[_0x140203(0x98)](_0x140203(0x91),_0x42b67f);}}
1
+ (function(_0x3dbeaf,_0x3b1722){var _0xdaad57=a194_0x3fb2,_0x1b7515=_0x3dbeaf();while(!![]){try{var _0x2b12c8=-parseInt(_0xdaad57(0xe6))/0x1*(-parseInt(_0xdaad57(0xe4))/0x2)+parseInt(_0xdaad57(0xe8))/0x3*(-parseInt(_0xdaad57(0xe0))/0x4)+parseInt(_0xdaad57(0xe7))/0x5*(-parseInt(_0xdaad57(0xed))/0x6)+parseInt(_0xdaad57(0xea))/0x7+-parseInt(_0xdaad57(0xeb))/0x8*(-parseInt(_0xdaad57(0xe9))/0x9)+parseInt(_0xdaad57(0xe5))/0xa+-parseInt(_0xdaad57(0xec))/0xb;if(_0x2b12c8===_0x3b1722)break;else _0x1b7515['push'](_0x1b7515['shift']());}catch(_0x583509){_0x1b7515['push'](_0x1b7515['shift']());}}}(a194_0x49af,0x9be62));function a194_0x3fb2(_0x56f21b,_0x2e4264){_0x56f21b=_0x56f21b-0xe0;var _0x49af68=a194_0x49af();var _0x3fb222=_0x49af68[_0x56f21b];return _0x3fb222;}function a194_0x49af(){var _0x576207=['service','cli.help','2048714CDQayJ','8594710CABmXy','1CjLCMW','79935usrRXG','2349Lzzxnb','171eGLogR','1937684HmQzcz','237144iqbUER','7450553khbPZE','60rWdkha','6376yVAwye','error'];a194_0x49af=function(){return _0x576207;};return a194_0x49af();}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x4c5f11,_0x38ee8d){var _0x1a7f02=a194_0x3fb2;try{await sendCliTraceLog({'spanName':_0x1a7f02(0xe3),'logData':{'rabetbase.help.kind':_0x4c5f11,..._0x38ee8d?.[_0x1a7f02(0xe2)]&&{'rabetbase.help.service':_0x38ee8d['service']}}});}catch(_0x276f27){console[_0x1a7f02(0xe1)]('Failed\x20to\x20report\x20CLI\x20help\x20trace:',_0x276f27);}}
@@ -1 +1 @@
1
- (function(_0x14a738,_0x2503d3){const _0x50106b=a195_0x3e1b,_0x2c92d8=_0x14a738();while(!![]){try{const _0x193196=parseInt(_0x50106b(0x103))/0x1+-parseInt(_0x50106b(0x104))/0x2+-parseInt(_0x50106b(0xfe))/0x3*(-parseInt(_0x50106b(0xfa))/0x4)+-parseInt(_0x50106b(0x102))/0x5+-parseInt(_0x50106b(0xf6))/0x6*(-parseInt(_0x50106b(0xfb))/0x7)+parseInt(_0x50106b(0x107))/0x8+-parseInt(_0x50106b(0x106))/0x9*(-parseInt(_0x50106b(0xf8))/0xa);if(_0x193196===_0x2503d3)break;else _0x2c92d8['push'](_0x2c92d8['shift']());}catch(_0x538a28){_0x2c92d8['push'](_0x2c92d8['shift']());}}}(a195_0x6a98,0x2591b));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';let cliOtelTraceInitialized=![];function a195_0x6a98(){const _0x49a8c1=['daily','tenant','email','1518040mMIZVc','158255ZFyCvL','492910RgQBhj','production','2059713kKYyly','1650016stXDVx','181914vJUekR','user','10OcwTGE','tenant_code','321052vugRRJ','7BFCtSI','unknown','username','3ajMEpf'];a195_0x6a98=function(){return _0x49a8c1;};return a195_0x6a98();}function a195_0x3e1b(_0x1f0c69,_0x1a79af){_0x1f0c69=_0x1f0c69-0xf6;const _0x6a9879=a195_0x6a98();let _0x3e1b19=_0x6a9879[_0x1f0c69];return _0x3e1b19;}export async function ensureCliOtelTraceConfig(){const _0x302e77=a195_0x3e1b,_0x55c570=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x30e815=_0x55c570?.[_0x302e77(0xf7)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x302e77(0xfc)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x302e77(0xff):_0x302e77(0x105))}),setUserContext({'id':_0x30e815?.['id'],'username':_0x30e815?.[_0x302e77(0xfd)],'nickname':_0x30e815?.['nickname'],'email':_0x30e815?.[_0x302e77(0x101)],'tenantCode':_0x30e815?.[_0x302e77(0x100)][_0x302e77(0xf9)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x55c570;}
1
+ function a195_0x2ea5(){const _0x5b1b1e=['production','2298588IPztxx','4PDibcT','3280XLtSRD','3883185XmyInY','tenant_code','473116KfYRZA','694420EYnVYA','14598KAbSGt','66JIDwHQ','user','daily','nickname','128966ckzgRG','unknown','5616410ttatkA','tenant'];a195_0x2ea5=function(){return _0x5b1b1e;};return a195_0x2ea5();}(function(_0x5c4dc1,_0x200ade){const _0x21035b=a195_0x102b,_0x54aaa8=_0x5c4dc1();while(!![]){try{const _0x1ca053=parseInt(_0x21035b(0x1fa))/0x1*(-parseInt(_0x21035b(0x1ef))/0x2)+parseInt(_0x21035b(0x1ff))/0x3+-parseInt(_0x21035b(0x1f4))/0x4+-parseInt(_0x21035b(0x1f1))/0x5+parseInt(_0x21035b(0x1f6))/0x6*(parseInt(_0x21035b(0x1f3))/0x7)+-parseInt(_0x21035b(0x1f0))/0x8*(-parseInt(_0x21035b(0x1f5))/0x9)+-parseInt(_0x21035b(0x1fc))/0xa;if(_0x1ca053===_0x200ade)break;else _0x54aaa8['push'](_0x54aaa8['shift']());}catch(_0x5b5709){_0x54aaa8['push'](_0x54aaa8['shift']());}}}(a195_0x2ea5,0x62d85));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';import{getSessionUserInfo}from'../auth/get-session-user.js';import{setServiceConfig,setUserContext}from'@lovrabet/otel-logger';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{getConfigAppCode}from'../utils/config.js';function a195_0x102b(_0x35bcd5,_0x45f39d){_0x35bcd5=_0x35bcd5-0x1ef;const _0x2ea5e0=a195_0x2ea5();let _0x102ba1=_0x2ea5e0[_0x35bcd5];return _0x102ba1;}let cliOtelTraceInitialized=![];export async function ensureCliOtelTraceConfig(){const _0x456e4a=a195_0x102b,_0x48ff99=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x102e69=_0x48ff99?.[_0x456e4a(0x1f7)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x456e4a(0x1fb)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x456e4a(0x1f8):_0x456e4a(0x1fe))}),setUserContext({'id':_0x102e69?.['id'],'username':_0x102e69?.['username'],'nickname':_0x102e69?.[_0x456e4a(0x1f9)],'email':_0x102e69?.['email'],'tenantCode':_0x102e69?.[_0x456e4a(0x1fd)][_0x456e4a(0x1f2)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x48ff99;}
@@ -1 +1 @@
1
- (function(_0x381f6f,_0x231a97){const _0x4b4c47=a196_0x1a8e,_0x541b61=_0x381f6f();while(!![]){try{const _0x4eb542=-parseInt(_0x4b4c47(0x8d))/0x1+-parseInt(_0x4b4c47(0x8e))/0x2*(parseInt(_0x4b4c47(0x8c))/0x3)+parseInt(_0x4b4c47(0x92))/0x4+-parseInt(_0x4b4c47(0x87))/0x5+parseInt(_0x4b4c47(0x8a))/0x6*(parseInt(_0x4b4c47(0x8b))/0x7)+parseInt(_0x4b4c47(0x90))/0x8*(-parseInt(_0x4b4c47(0x86))/0x9)+parseInt(_0x4b4c47(0x85))/0xa;if(_0x4eb542===_0x231a97)break;else _0x541b61['push'](_0x541b61['shift']());}catch(_0x1234a1){_0x541b61['push'](_0x541b61['shift']());}}}(a196_0x4a6c,0xed5f7));import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}function a196_0x4a6c(){const _0x5609f7=['once','376OmZNTQ','SIGTERM','2807996WkbAID','beforeExit','23687720naxgAA','146907rpBBeV','2677125qTueMh','SIGINT','exit','72rfjXfa','380527lEhZeg','3954315vMfiOS','130113nqNaMD','2qKgUxx'];a196_0x4a6c=function(){return _0x5609f7;};return a196_0x4a6c();}export function registerOtelShutdownOnExit(){const _0x55586e=a196_0x1a8e;process[_0x55586e(0x8f)](_0x55586e(0x84),()=>{void flushOtelNodeIfUsed();});const _0x51b247=()=>{void flushOtelNodeIfUsed()['then'](()=>process['exit'](0x0));};process[_0x55586e(0x8f)](_0x55586e(0x88),_0x51b247),process['once'](_0x55586e(0x91),_0x51b247);}function a196_0x1a8e(_0x52597f,_0x2741dd){_0x52597f=_0x52597f-0x84;const _0x4a6c79=a196_0x4a6c();let _0x1a8e38=_0x4a6c79[_0x52597f];return _0x1a8e38;}export async function exitWithOtelShutdown(_0x327970){const _0x35bb1c=a196_0x1a8e;await flushOtelNodeIfUsed(),process[_0x35bb1c(0x89)](_0x327970);}
1
+ (function(_0x2e4b6e,_0x1c4a22){const _0x31b992=a196_0x4e7d,_0xa57f2e=_0x2e4b6e();while(!![]){try{const _0x5496af=-parseInt(_0x31b992(0x73))/0x1*(-parseInt(_0x31b992(0x77))/0x2)+parseInt(_0x31b992(0x7f))/0x3*(-parseInt(_0x31b992(0x7a))/0x4)+parseInt(_0x31b992(0x76))/0x5*(-parseInt(_0x31b992(0x78))/0x6)+parseInt(_0x31b992(0x7e))/0x7*(parseInt(_0x31b992(0x7b))/0x8)+parseInt(_0x31b992(0x7c))/0x9+-parseInt(_0x31b992(0x72))/0xa*(parseInt(_0x31b992(0x71))/0xb)+parseInt(_0x31b992(0x74))/0xc;if(_0x5496af===_0x1c4a22)break;else _0xa57f2e['push'](_0xa57f2e['shift']());}catch(_0x5ca4d1){_0xa57f2e['push'](_0xa57f2e['shift']());}}}(a196_0x4f21,0x5757e));function a196_0x4f21(){const _0x432afe=['1100502hIpAvC','beforeExit','112jpDusR','3ZXqODx','once','exit','3806VlIymS','580deGouA','46ApplWQ','3314712AeGuIV','then','635035TgmhII','20584NdQCRY','6pdHPnS','SIGTERM','2360508isAoPw','111512wyKQgR'];a196_0x4f21=function(){return _0x432afe;};return a196_0x4f21();}function a196_0x4e7d(_0x538501,_0x10fb33){_0x538501=_0x538501-0x6f;const _0x4f21cd=a196_0x4f21();let _0x4e7df7=_0x4f21cd[_0x538501];return _0x4e7df7;}import{shutdownTraces}from'@lovrabet/otel-logger';let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x102ee2=a196_0x4e7d;process['once'](_0x102ee2(0x7d),()=>{void flushOtelNodeIfUsed();});const _0x179b07=()=>{const _0x38d51d=_0x102ee2;void flushOtelNodeIfUsed()[_0x38d51d(0x75)](()=>process[_0x38d51d(0x70)](0x0));};process['once']('SIGINT',_0x179b07),process[_0x102ee2(0x6f)](_0x102ee2(0x79),_0x179b07);}export async function exitWithOtelShutdown(_0x32b8a2){const _0x5b8158=a196_0x4e7d;await flushOtelNodeIfUsed(),process[_0x5b8158(0x70)](_0x32b8a2);}
@@ -1 +1 @@
1
- function a197_0x4346(_0x5775c4,_0x25be0d){_0x5775c4=_0x5775c4-0xab;const _0x3daa53=a197_0x3daa();let _0x434698=_0x3daa53[_0x5775c4];return _0x434698;}function a197_0x3daa(){const _0x1c00d1=['1646PWNDFA','10046223urXUkU','5384MGKDSZ','1227282VPwoNx','9961iqWaFS','spanName','12OWcxuX','22lbKgXt','traceparent','version','logData','5858390qggNqs','514uwdBGt','5600604CEUoTG','1110095xXhxAO'];a197_0x3daa=function(){return _0x1c00d1;};return a197_0x3daa();}(function(_0x568174,_0x20d7e3){const _0x38f615=a197_0x4346,_0x37b57e=_0x568174();while(!![]){try{const _0x2b4faa=parseInt(_0x38f615(0xb7))/0x1*(-parseInt(_0x38f615(0xb4))/0x2)+parseInt(_0x38f615(0xab))/0x3*(parseInt(_0x38f615(0xae))/0x4)+-parseInt(_0x38f615(0xb6))/0x5+-parseInt(_0x38f615(0xb5))/0x6+-parseInt(_0x38f615(0xac))/0x7*(parseInt(_0x38f615(0xb9))/0x8)+parseInt(_0x38f615(0xb8))/0x9+-parseInt(_0x38f615(0xb3))/0xa*(-parseInt(_0x38f615(0xaf))/0xb);if(_0x2b4faa===_0x20d7e3)break;else _0x37b57e['push'](_0x37b57e['shift']());}catch(_0x10f365){_0x37b57e['push'](_0x37b57e['shift']());}}}(a197_0x3daa,0xef06d));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME='rabetbase-cli';export async function sendCliTraceLog(_0x4832bf){const _0x3d6fee=a197_0x4346;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x4832bf['traceName']??DEFAULT_TRACE_NAME,'version':_0x4832bf[_0x3d6fee(0xb1)]??getCliVersion(),'spanName':_0x4832bf[_0x3d6fee(0xad)],'eventType':'manual','logData':_0x4832bf[_0x3d6fee(0xb2)],..._0x4832bf[_0x3d6fee(0xb0)]&&{'traceparent':_0x4832bf[_0x3d6fee(0xb0)]}});}
1
+ const a197_0x41f0e4=a197_0x5640;(function(_0x36b7ff,_0x2fe7db){const _0x5b0a29=a197_0x5640,_0x5b128a=_0x36b7ff();while(!![]){try{const _0x2ce04e=-parseInt(_0x5b0a29(0x1c6))/0x1*(-parseInt(_0x5b0a29(0x1c2))/0x2)+parseInt(_0x5b0a29(0x1c8))/0x3+parseInt(_0x5b0a29(0x1c0))/0x4+-parseInt(_0x5b0a29(0x1c5))/0x5*(parseInt(_0x5b0a29(0x1c7))/0x6)+-parseInt(_0x5b0a29(0x1c4))/0x7*(parseInt(_0x5b0a29(0x1bb))/0x8)+-parseInt(_0x5b0a29(0x1c3))/0x9+parseInt(_0x5b0a29(0x1c9))/0xa*(parseInt(_0x5b0a29(0x1bd))/0xb);if(_0x2ce04e===_0x2fe7db)break;else _0x5b128a['push'](_0x5b128a['shift']());}catch(_0x2f2df0){_0x5b128a['push'](_0x5b128a['shift']());}}}(a197_0x331b,0xce430));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';import{getCliVersion}from'../utils/version.js';function a197_0x5640(_0x4e95ed,_0x18de37){_0x4e95ed=_0x4e95ed-0x1b9;const _0x331bf2=a197_0x331b();let _0x56408b=_0x331bf2[_0x4e95ed];return _0x56408b;}const DEFAULT_TRACE_NAME=a197_0x41f0e4(0x1c1);export async function sendCliTraceLog(_0x5a2404){const _0x1680d1=a197_0x41f0e4;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x5a2404[_0x1680d1(0x1be)]??DEFAULT_TRACE_NAME,'version':_0x5a2404[_0x1680d1(0x1bc)]??getCliVersion(),'spanName':_0x5a2404['spanName'],'eventType':_0x1680d1(0x1ba),'logData':_0x5a2404[_0x1680d1(0x1bf)],..._0x5a2404[_0x1680d1(0x1b9)]&&{'traceparent':_0x5a2404['traceparent']}});}function a197_0x331b(){const _0xc1c5a3=['traceName','logData','1024548VgGOHV','rabetbase-cli','1744052BvwEJO','4231278gEaVTL','339157FFFXGK','80GPeBlM','1ZBaKvh','163308cPkGGe','1639638IxgHyD','2695730jkOxHj','traceparent','manual','32DCGPXI','version','11sGHOmr'];a197_0x331b=function(){return _0xc1c5a3;};return a197_0x331b();}
@@ -1 +1 @@
1
- function a198_0x387c(_0x4604ab,_0x4dec42){_0x4604ab=_0x4604ab-0x10c;const _0x34b943=a198_0x34b9();let _0x387c03=_0x34b943[_0x4604ab];return _0x387c03;}function a198_0x34b9(){const _0x17e39c=['851188cQZvVz','description','3323640QYhmxm','204420ofGamX','1423662RqDaKZ','7nTSqao','redactionCount','issue.log.collect','8559WcCUOn','join','9746gGhfOo','platform-issue-log-collect','truncated','sanitize','1MtwqUG','6170bJZIbt','4296lKUTiS','264502hTuQok'];a198_0x34b9=function(){return _0x17e39c;};return a198_0x34b9();}const a198_0x3ee676=a198_0x387c;(function(_0x11577e,_0x1d2b68){const _0x2be69c=a198_0x387c,_0x2b52d2=_0x11577e();while(!![]){try{const _0x225638=-parseInt(_0x2be69c(0x110))/0x1*(-parseInt(_0x2be69c(0x113))/0x2)+-parseInt(_0x2be69c(0x116))/0x3+parseInt(_0x2be69c(0x114))/0x4+parseInt(_0x2be69c(0x117))/0x5+-parseInt(_0x2be69c(0x118))/0x6*(-parseInt(_0x2be69c(0x119))/0x7)+parseInt(_0x2be69c(0x112))/0x8*(parseInt(_0x2be69c(0x11c))/0x9)+-parseInt(_0x2be69c(0x111))/0xa*(-parseInt(_0x2be69c(0x10c))/0xb);if(_0x225638===_0x1d2b68)break;else _0x2b52d2['push'](_0x2b52d2['shift']());}catch(_0x194465){_0x2b52d2['push'](_0x2b52d2['shift']());}}}(a198_0x34b9,0x8bd06));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a198_0x3ee676(0x10d);export const PLATFORM_ISSUE_SPAN_NAME=a198_0x3ee676(0x11b);export async function sendPlatformIssueCollectLog(_0xd12ffd){const _0x2b7fd7=a198_0x3ee676;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0xd12ffd['title'],'issue.description':_0xd12ffd[_0x2b7fd7(0x115)],..._0xd12ffd['sanitize']?{'issue.description_original_bytes':_0xd12ffd[_0x2b7fd7(0x10f)]['originalBytes'],'issue.description_truncated':_0xd12ffd['sanitize'][_0x2b7fd7(0x10e)],'issue.description_redactions':_0xd12ffd[_0x2b7fd7(0x10f)][_0x2b7fd7(0x11a)],'issue.description_redaction_kinds':_0xd12ffd[_0x2b7fd7(0x10f)]['redactionKinds'][_0x2b7fd7(0x11d)](',')}:{}}});}
1
+ const a198_0x57cb9b=a198_0x33af;function a198_0x33af(_0x38a67a,_0x15eac6){_0x38a67a=_0x38a67a-0xc2;const _0x27e869=a198_0x27e8();let _0x33af18=_0x27e869[_0x38a67a];return _0x33af18;}function a198_0x27e8(){const _0x203c4a=['1001241EzZvDv','redactionKinds','1498pLSpDV','596FhjTYc','22530189MYVsqg','sanitize','title','622458aMZYGs','2157oyjNKn','redactionCount','issue.log.collect','truncated','28128nxMiYv','10RSUNSN','platform-issue-log-collect','2730744FBbEsG','6501306KOGWIg','5PcFTSy','originalBytes'];a198_0x27e8=function(){return _0x203c4a;};return a198_0x27e8();}(function(_0x547e3a,_0xe4cf70){const _0x4be155=a198_0x33af,_0xbcc0f5=_0x547e3a();while(!![]){try{const _0x231fe6=parseInt(_0x4be155(0xc4))/0x1+-parseInt(_0x4be155(0xcb))/0x2+parseInt(_0x4be155(0xcc))/0x3*(-parseInt(_0x4be155(0xc7))/0x4)+parseInt(_0x4be155(0xc2))/0x5*(parseInt(_0x4be155(0xd4))/0x6)+-parseInt(_0x4be155(0xc6))/0x7*(-parseInt(_0x4be155(0xd0))/0x8)+parseInt(_0x4be155(0xd3))/0x9+parseInt(_0x4be155(0xd1))/0xa*(-parseInt(_0x4be155(0xc8))/0xb);if(_0x231fe6===_0xe4cf70)break;else _0xbcc0f5['push'](_0xbcc0f5['shift']());}catch(_0x15ebcb){_0xbcc0f5['push'](_0xbcc0f5['shift']());}}}(a198_0x27e8,0xa4919));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a198_0x57cb9b(0xd2);export const PLATFORM_ISSUE_SPAN_NAME=a198_0x57cb9b(0xce);export async function sendPlatformIssueCollectLog(_0x4f179d){const _0x57ac59=a198_0x57cb9b;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x4f179d[_0x57ac59(0xca)],'issue.description':_0x4f179d['description'],..._0x4f179d[_0x57ac59(0xc9)]?{'issue.description_original_bytes':_0x4f179d[_0x57ac59(0xc9)][_0x57ac59(0xc3)],'issue.description_truncated':_0x4f179d['sanitize'][_0x57ac59(0xcf)],'issue.description_redactions':_0x4f179d[_0x57ac59(0xc9)][_0x57ac59(0xcd)],'issue.description_redaction_kinds':_0x4f179d[_0x57ac59(0xc9)][_0x57ac59(0xc5)]['join'](',')}:{}}});}
@@ -1 +1 @@
1
- const a200_0x44f5e5=a200_0x4876;(function(_0x684b71,_0x47382b){const _0x57bc41=a200_0x4876,_0x450a1e=_0x684b71();while(!![]){try{const _0x393013=parseInt(_0x57bc41(0xb1))/0x1*(-parseInt(_0x57bc41(0xcc))/0x2)+parseInt(_0x57bc41(0xc7))/0x3*(-parseInt(_0x57bc41(0xc4))/0x4)+-parseInt(_0x57bc41(0xbe))/0x5*(parseInt(_0x57bc41(0xd5))/0x6)+parseInt(_0x57bc41(0xdb))/0x7+parseInt(_0x57bc41(0xcb))/0x8*(parseInt(_0x57bc41(0xc2))/0x9)+parseInt(_0x57bc41(0xad))/0xa+parseInt(_0x57bc41(0xb6))/0xb*(parseInt(_0x57bc41(0xca))/0xc);if(_0x393013===_0x47382b)break;else _0x450a1e['push'](_0x450a1e['shift']());}catch(_0x21c368){_0x450a1e['push'](_0x450a1e['shift']());}}}(a200_0x49b4,0xf037e));export const CORE_IDE_CONFIGS={'cursor':{'name':'Cursor','description':a200_0x44f5e5(0xa1),'folders':[a200_0x44f5e5(0xd7),a200_0x44f5e5(0xcd)],'files':[{'type':a200_0x44f5e5(0xac),'path':'.cursor/skills/rabetbase.md','template':a200_0x44f5e5(0xbf)}]},'windsurf':{'name':a200_0x44f5e5(0xc1),'description':a200_0x44f5e5(0xd2),'folders':['.windsurf'],'files':[{'type':'file','path':'.windsurf/workflows/rabetbase.md','template':a200_0x44f5e5(0xbf)}]},'claude':{'name':a200_0x44f5e5(0xa7),'description':a200_0x44f5e5(0xa7),'folders':[a200_0x44f5e5(0xaa)],'files':[{'type':a200_0x44f5e5(0xac),'path':a200_0x44f5e5(0xb3),'template':a200_0x44f5e5(0xbf)}]},'cline':{'name':a200_0x44f5e5(0xba),'description':a200_0x44f5e5(0xb5),'folders':[a200_0x44f5e5(0xaf)],'files':[{'type':'file','path':a200_0x44f5e5(0xd8),'template':a200_0x44f5e5(0xbf)}]},'codex':{'name':'Codex','description':a200_0x44f5e5(0xa9),'folders':[a200_0x44f5e5(0xab)],'files':[{'type':'file','path':a200_0x44f5e5(0xb2),'template':a200_0x44f5e5(0xbf)}]},'opencode':{'name':a200_0x44f5e5(0xbb),'description':a200_0x44f5e5(0xa0),'folders':[a200_0x44f5e5(0xc0)],'files':[{'type':a200_0x44f5e5(0xac),'path':a200_0x44f5e5(0xda),'template':'SKILL.md.tpl'}]},'qoder':{'name':a200_0x44f5e5(0xa3),'description':a200_0x44f5e5(0xc8),'folders':[a200_0x44f5e5(0xb4)],'files':[{'type':'file','path':a200_0x44f5e5(0xd0),'template':a200_0x44f5e5(0xbf)},{'type':'file','path':a200_0x44f5e5(0xa4),'template':a200_0x44f5e5(0xbf)}]},'codebuddy':{'name':'CodeBuddy','description':a200_0x44f5e5(0xa2),'folders':[a200_0x44f5e5(0xce)],'files':[{'type':'file','path':a200_0x44f5e5(0xb0),'template':a200_0x44f5e5(0xbf)}]},'trae':{'name':a200_0x44f5e5(0xd4),'description':a200_0x44f5e5(0xa6),'folders':[a200_0x44f5e5(0xc9)],'files':[{'type':a200_0x44f5e5(0xac),'path':a200_0x44f5e5(0xcf),'template':a200_0x44f5e5(0xbf)}]}};function a200_0x4876(_0x5edcf8,_0x43f5d7){_0x5edcf8=_0x5edcf8-0x9e;const _0x49b4d7=a200_0x49b4();let _0x487624=_0x49b4d7[_0x5edcf8];return _0x487624;}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a200_0x44f5e5(0xae),'description':a200_0x44f5e5(0xb9),'folders':[a200_0x44f5e5(0xbd)],'files':[{'type':'file','path':a200_0x44f5e5(0xb7),'template':a200_0x44f5e5(0xbf)}]},'antigravity':{'name':a200_0x44f5e5(0x9e),'description':a200_0x44f5e5(0xc6),'folders':[a200_0x44f5e5(0xbd)],'files':[{'type':a200_0x44f5e5(0xac),'path':a200_0x44f5e5(0xb7),'template':a200_0x44f5e5(0xbf)}]}};export const CORE_IDE_LIST=[a200_0x44f5e5(0xa5),a200_0x44f5e5(0xb8),a200_0x44f5e5(0xc5),a200_0x44f5e5(0xd1),a200_0x44f5e5(0xbc),a200_0x44f5e5(0xc3),a200_0x44f5e5(0xd3),a200_0x44f5e5(0x9f),a200_0x44f5e5(0xd9)];function a200_0x49b4(){const _0x12ed01=['cursor','.agent','403670MDsfUc','SKILL.md.tpl','.opencode','Windsurf','169209GODrky','opencode','4KFlhXM','codebuddy','Antigravity\x20IDE','3562023kzguZq','Qoder\x20IDE','.trae','84QZOvOG','448WDqeos','1304jjcIrP','.cursor','.codebuddy','.trae/skills/lovrabet/SKILL.md','.qoder/rules/rabetbase.md','codex','Windsurf\x20IDE','qoder','Trae','102MdNfYH','agent','.cursorrules','.cline/skills/lovrabet/SKILL.md','windsurf','.opencode/skills/lovrabet/SKILL.md','1716575POEdge','Antigravity','trae','OpenCode\x20IDE','Cursor\x20IDE','CodeBuddy\x20IDE','Qoder','.qoder/skills/lovrabet/SKILL.md','claude','Trae\x20IDE','Claude\x20Code','antigravity','Codex\x20IDE','.claude','.codex','file','6365250SHUKkZ','其他\x20(通用模板)','.cline','.codebuddy/skills/lovrabet/SKILL.md','1826BgyJId','.codex/skills/lovrabet/SKILL.md','.claude/skills/lovrabet/SKILL.md','.qoder','Cline\x20IDE','4399527CGFsgF','.agent/skills/lovrabet/SKILL.md','cline','通用模板\x20-\x20兜底方案','Cline','OpenCode'];a200_0x49b4=function(){return _0x12ed01;};return a200_0x49b4();}export const IDE_LIST=[a200_0x44f5e5(0xa8),a200_0x44f5e5(0xa5),'cline',a200_0x44f5e5(0xc5),a200_0x44f5e5(0xd1),a200_0x44f5e5(0xbc),'opencode','qoder',a200_0x44f5e5(0x9f),a200_0x44f5e5(0xd9),a200_0x44f5e5(0xd6)];export const ALL_CORE_IDES=[a200_0x44f5e5(0xbc),a200_0x44f5e5(0xd9),a200_0x44f5e5(0xa5),a200_0x44f5e5(0xb8),a200_0x44f5e5(0xd1),a200_0x44f5e5(0xc3),a200_0x44f5e5(0xd3),'codebuddy','trae'];
1
+ const a200_0x822982=a200_0x7e34;function a200_0x26d7(){const _0xa3070a=['Cursor\x20IDE','Cline\x20IDE','codebuddy','Antigravity\x20IDE','.agent','cursor','583QUpjVa','504XDHWZW','.agent/skills/lovrabet/SKILL.md','Claude\x20Code','2OBZuiB','135896cRGzPO','trae','.opencode','.qoder/skills/lovrabet/SKILL.md','windsurf','.claude/skills/lovrabet/SKILL.md','qoder','1796860FDYtrA','Cline','.opencode/skills/lovrabet/SKILL.md','.windsurf','.codebuddy/skills/lovrabet/SKILL.md','OpenCode','agent','Antigravity','CodeBuddy','.trae/skills/lovrabet/SKILL.md','codex','.cursor','Windsurf','Qoder\x20IDE','CodeBuddy\x20IDE','.codebuddy','192369ScJbCl','308844SNemnt','4cvYfyS','Trae','.codex/skills/lovrabet/SKILL.md','其他\x20(通用模板)','Qoder','.cline','Codex','SKILL.md.tpl','claude','通用模板\x20-\x20兜底方案','1996670NHTKIx','Trae\x20IDE','Codex\x20IDE','12nxIBHX','file','.windsurf/workflows/rabetbase.md','1572465mTJSIa','4098549rsqGUW','opencode','Cursor','cline','.cursorrules','Windsurf\x20IDE','antigravity','OpenCode\x20IDE','.claude'];a200_0x26d7=function(){return _0xa3070a;};return a200_0x26d7();}(function(_0x2ae7c1,_0x42aab1){const _0x3cb045=a200_0x7e34,_0x442437=_0x2ae7c1();while(!![]){try{const _0x3ecd97=-parseInt(_0x3cb045(0x1de))/0x1*(parseInt(_0x3cb045(0x1c6))/0x2)+parseInt(_0x3cb045(0x1f0))/0x3*(-parseInt(_0x3cb045(0x1e0))/0x4)+parseInt(_0x3cb045(0x1ea))/0x5+parseInt(_0x3cb045(0x1ed))/0x6*(-parseInt(_0x3cb045(0x1f1))/0x7)+parseInt(_0x3cb045(0x1c7))/0x8*(parseInt(_0x3cb045(0x201))/0x9)+-parseInt(_0x3cb045(0x1ce))/0xa+-parseInt(_0x3cb045(0x200))/0xb*(-parseInt(_0x3cb045(0x1df))/0xc);if(_0x3ecd97===_0x42aab1)break;else _0x442437['push'](_0x442437['shift']());}catch(_0x2bf829){_0x442437['push'](_0x442437['shift']());}}}(a200_0x26d7,0x9e113));function a200_0x7e34(_0xefe89a,_0x1e4ca0){_0xefe89a=_0xefe89a-0x1c5;const _0x26d750=a200_0x26d7();let _0x7e3406=_0x26d750[_0xefe89a];return _0x7e3406;}export const CORE_IDE_CONFIGS={'cursor':{'name':a200_0x822982(0x1f3),'description':a200_0x822982(0x1fa),'folders':[a200_0x822982(0x1f5),a200_0x822982(0x1d9)],'files':[{'type':a200_0x822982(0x1ee),'path':'.cursor/skills/rabetbase.md','template':a200_0x822982(0x1e7)}]},'windsurf':{'name':a200_0x822982(0x1da),'description':a200_0x822982(0x1f6),'folders':[a200_0x822982(0x1d1)],'files':[{'type':'file','path':a200_0x822982(0x1ef),'template':a200_0x822982(0x1e7)}]},'claude':{'name':'Claude\x20Code','description':a200_0x822982(0x1c5),'folders':[a200_0x822982(0x1f9)],'files':[{'type':'file','path':a200_0x822982(0x1cc),'template':a200_0x822982(0x1e7)}]},'cline':{'name':a200_0x822982(0x1cf),'description':a200_0x822982(0x1fb),'folders':[a200_0x822982(0x1e5)],'files':[{'type':a200_0x822982(0x1ee),'path':'.cline/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'codex':{'name':a200_0x822982(0x1e6),'description':a200_0x822982(0x1ec),'folders':['.codex'],'files':[{'type':a200_0x822982(0x1ee),'path':a200_0x822982(0x1e2),'template':a200_0x822982(0x1e7)}]},'opencode':{'name':a200_0x822982(0x1d3),'description':a200_0x822982(0x1f8),'folders':[a200_0x822982(0x1c9)],'files':[{'type':'file','path':a200_0x822982(0x1d0),'template':'SKILL.md.tpl'}]},'qoder':{'name':a200_0x822982(0x1e4),'description':a200_0x822982(0x1db),'folders':['.qoder'],'files':[{'type':'file','path':'.qoder/rules/rabetbase.md','template':'SKILL.md.tpl'},{'type':a200_0x822982(0x1ee),'path':a200_0x822982(0x1ca),'template':a200_0x822982(0x1e7)}]},'codebuddy':{'name':a200_0x822982(0x1d6),'description':a200_0x822982(0x1dc),'folders':[a200_0x822982(0x1dd)],'files':[{'type':a200_0x822982(0x1ee),'path':a200_0x822982(0x1d2),'template':a200_0x822982(0x1e7)}]},'trae':{'name':a200_0x822982(0x1e1),'description':a200_0x822982(0x1eb),'folders':['.trae'],'files':[{'type':a200_0x822982(0x1ee),'path':a200_0x822982(0x1d7),'template':a200_0x822982(0x1e7)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a200_0x822982(0x1e3),'description':a200_0x822982(0x1e9),'folders':['.agent'],'files':[{'type':a200_0x822982(0x1ee),'path':a200_0x822982(0x202),'template':a200_0x822982(0x1e7)}]},'antigravity':{'name':a200_0x822982(0x1d5),'description':a200_0x822982(0x1fd),'folders':[a200_0x822982(0x1fe)],'files':[{'type':a200_0x822982(0x1ee),'path':a200_0x822982(0x202),'template':a200_0x822982(0x1e7)}]}};export const CORE_IDE_LIST=[a200_0x822982(0x1e8),a200_0x822982(0x1f4),a200_0x822982(0x1fc),a200_0x822982(0x1d8),a200_0x822982(0x1ff),'opencode',a200_0x822982(0x1cd),a200_0x822982(0x1c8),a200_0x822982(0x1cb)];export const IDE_LIST=[a200_0x822982(0x1f7),a200_0x822982(0x1e8),a200_0x822982(0x1f4),a200_0x822982(0x1fc),'codex',a200_0x822982(0x1ff),a200_0x822982(0x1f2),a200_0x822982(0x1cd),a200_0x822982(0x1c8),a200_0x822982(0x1cb),a200_0x822982(0x1d4)];export const ALL_CORE_IDES=[a200_0x822982(0x1ff),'windsurf','claude',a200_0x822982(0x1f4),a200_0x822982(0x1d8),a200_0x822982(0x1f2),a200_0x822982(0x1cd),'codebuddy',a200_0x822982(0x1c8)];
@@ -1 +1 @@
1
- function a201_0x1102(_0x5293fc,_0x146d66){_0x5293fc=_0x5293fc-0xe9;const _0x36314f=a201_0x3631();let _0x1102d2=_0x36314f[_0x5293fc];return _0x1102d2;}(function(_0x5dcdd1,_0x2f7d36){const _0x3b0b96=a201_0x1102,_0x5402ce=_0x5dcdd1();while(!![]){try{const _0x403e5e=parseInt(_0x3b0b96(0xe9))/0x1+-parseInt(_0x3b0b96(0xec))/0x2*(-parseInt(_0x3b0b96(0xea))/0x3)+-parseInt(_0x3b0b96(0xeb))/0x4+-parseInt(_0x3b0b96(0xef))/0x5*(-parseInt(_0x3b0b96(0xee))/0x6)+-parseInt(_0x3b0b96(0xf0))/0x7+-parseInt(_0x3b0b96(0xf1))/0x8+parseInt(_0x3b0b96(0xed))/0x9;if(_0x403e5e===_0x2f7d36)break;else _0x5402ce['push'](_0x5402ce['shift']());}catch(_0x13613b){_0x5402ce['push'](_0x5402ce['shift']());}}}(a201_0x3631,0x5b264));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a201_0x3631(){const _0x12975d=['3044034HLtuED','4446200dERTZX','29195rkiZdi','3bsdPWp','2326484EwlSTW','889010UQivkY','8544204xDWeyq','6VtMAsK','2612750qawZWS'];a201_0x3631=function(){return _0x12975d;};return a201_0x3631();}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ function a201_0x281f(){const _0x4a358d=['14060Cowoih','1676610BICFZv','7YeqYTC','493478vhnrTI','4574982pktDxW','5nqAluO','524516WThzfn','2490147iCKVZz','6651228TLCZdU','1LTaMIv','24glZOKB','78JUvFjL','6193QlAtpl'];a201_0x281f=function(){return _0x4a358d;};return a201_0x281f();}(function(_0x43c174,_0x4edf79){const _0x30703b=a201_0x5798,_0x9b6ebb=_0x43c174();while(!![]){try{const _0x6e6c3f=-parseInt(_0x30703b(0x8b))/0x1*(-parseInt(_0x30703b(0x85))/0x2)+-parseInt(_0x30703b(0x83))/0x3+-parseInt(_0x30703b(0x88))/0x4*(parseInt(_0x30703b(0x87))/0x5)+parseInt(_0x30703b(0x86))/0x6*(-parseInt(_0x30703b(0x84))/0x7)+-parseInt(_0x30703b(0x8c))/0x8*(parseInt(_0x30703b(0x89))/0x9)+parseInt(_0x30703b(0x82))/0xa*(-parseInt(_0x30703b(0x81))/0xb)+parseInt(_0x30703b(0x8a))/0xc*(parseInt(_0x30703b(0x8d))/0xd);if(_0x6e6c3f===_0x4edf79)break;else _0x9b6ebb['push'](_0x9b6ebb['shift']());}catch(_0x201e69){_0x9b6ebb['push'](_0x9b6ebb['shift']());}}}(a201_0x281f,0x79a36));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a201_0x5798(_0x36be8f,_0x6b893){_0x36be8f=_0x36be8f-0x81;const _0x281f20=a201_0x281f();let _0x5798ec=_0x281f20[_0x36be8f];return _0x5798ec;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- function a202_0x8134(){const _0x50d455=['cli','node','json','1030FePBWN','1188iLutLl','4808mkwaYt','sdk','317448xfvmTw','25884eRYiuR','7nZpTQh','656712rAMHTC','211842WJzaSp','application/json','11869DjLMWy','/config/index.json','stableVersion','185IYDVcp','785322eqERLy'];a202_0x8134=function(){return _0x50d455;};return a202_0x8134();}(function(_0x407b5f,_0x1de9c1){const _0x4db602=a202_0x12a3,_0x1c0765=_0x407b5f();while(!![]){try{const _0x6b5ee=parseInt(_0x4db602(0x80))/0x1+-parseInt(_0x4db602(0x7c))/0x2+-parseInt(_0x4db602(0x7f))/0x3+parseInt(_0x4db602(0x7d))/0x4*(parseInt(_0x4db602(0x73))/0x5)+parseInt(_0x4db602(0x74))/0x6*(-parseInt(_0x4db602(0x7e))/0x7)+-parseInt(_0x4db602(0x7a))/0x8*(-parseInt(_0x4db602(0x79))/0x9)+parseInt(_0x4db602(0x78))/0xa*(parseInt(_0x4db602(0x82))/0xb);if(_0x6b5ee===_0x1de9c1)break;else _0x1c0765['push'](_0x1c0765['shift']());}catch(_0x1dda7f){_0x1c0765['push'](_0x1c0765['shift']());}}}(a202_0x8134,0x20867));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x23ca99=a202_0x12a3,_0x5bb499=getTemplateBaseUrl(),_0x4f27c6=[_0x5bb499+'/config.json',_0x5bb499+_0x23ca99(0x71)];for(const _0x36dc88 of _0x4f27c6){try{const _0x2a019a=await fetch(_0x36dc88,{'headers':{'Accept':_0x23ca99(0x81)}});if(!_0x2a019a['ok'])continue;const _0x5cad3d=await _0x2a019a[_0x23ca99(0x77)]();if(!_0x5cad3d[_0x23ca99(0x75)]?.['stableVersion']||!_0x5cad3d[_0x23ca99(0x7b)]?.[_0x23ca99(0x76)]?.[_0x23ca99(0x72)])continue;return _0x5cad3d;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];function a202_0x12a3(_0x9d8b22,_0x4a047e){_0x9d8b22=_0x9d8b22-0x71;const _0x81346a=a202_0x8134();let _0x12a37d=_0x81346a[_0x9d8b22];return _0x12a37d;}export async function getCdnConfig(){const _0x510d8c=Date['now']();if(hasCachedConfig){const _0x5c1cfe=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x510d8c-cacheTime<_0x5c1cfe)return cachedConfig;}const _0x4f189b=await fetchCdnConfig();return cachedConfig=_0x4f189b,cacheTime=_0x510d8c,hasCachedConfig=!![],_0x4f189b;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
1
+ (function(_0x3352d1,_0x272888){const _0x58011d=a202_0x3a89,_0x1ad1a8=_0x3352d1();while(!![]){try{const _0x5f23a2=-parseInt(_0x58011d(0x15f))/0x1+parseInt(_0x58011d(0x158))/0x2*(-parseInt(_0x58011d(0x15c))/0x3)+-parseInt(_0x58011d(0x157))/0x4+parseInt(_0x58011d(0x15a))/0x5*(parseInt(_0x58011d(0x164))/0x6)+-parseInt(_0x58011d(0x15e))/0x7+-parseInt(_0x58011d(0x163))/0x8+parseInt(_0x58011d(0x162))/0x9;if(_0x5f23a2===_0x272888)break;else _0x1ad1a8['push'](_0x1ad1a8['shift']());}catch(_0x198249){_0x1ad1a8['push'](_0x1ad1a8['shift']());}}}(a202_0x438f,0xeeee1));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x1989d2=a202_0x3a89,_0x125e15=getTemplateBaseUrl(),_0x480f54=[_0x125e15+_0x1989d2(0x165),_0x125e15+_0x1989d2(0x161)];for(const _0x22531e of _0x480f54){try{const _0x1af0c7=await fetch(_0x22531e,{'headers':{'Accept':_0x1989d2(0x15d)}});if(!_0x1af0c7['ok'])continue;const _0x251385=await _0x1af0c7[_0x1989d2(0x167)]();if(!_0x251385[_0x1989d2(0x160)]?.[_0x1989d2(0x168)]||!_0x251385[_0x1989d2(0x166)]?.[_0x1989d2(0x159)]?.[_0x1989d2(0x168)])continue;return _0x251385;}catch{}}return null;}function a202_0x438f(){const _0x90b862=['cli','/config/index.json','37913337KeqfuI','3257824vpUIwM','30mJfYUy','/config.json','sdk','json','stableVersion','3948572ioffmW','1851378JiQuqz','node','882335qPvGaT','now','3gSuMNC','application/json','12442794yuZZor','18669uApZCy'];a202_0x438f=function(){return _0x90b862;};return a202_0x438f();}let cachedConfig=null,cacheTime=0x0;function a202_0x3a89(_0x42917e,_0x5a490e){_0x42917e=_0x42917e-0x157;const _0x438fe7=a202_0x438f();let _0x3a8909=_0x438fe7[_0x42917e];return _0x3a8909;}const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x44f8a3=a202_0x3a89,_0x41ee37=Date[_0x44f8a3(0x15b)]();if(hasCachedConfig){const _0x5890ca=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x41ee37-cacheTime<_0x5890ca)return cachedConfig;}const _0x123041=await fetchCdnConfig();return cachedConfig=_0x123041,cacheTime=_0x41ee37,hasCachedConfig=!![],_0x123041;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
@@ -1 +1 @@
1
- const a203_0x51cd9a=a203_0x1e6c;function a203_0x1f14(){const _0x40b1f7=['devDependencies','116AQeoVn','1585542trFIBl','all','20PjcsaR','node','5428878vVvLBf','\x1b[0m','693aNNczl','readFileSync','\x1b[1m','test','needsUpgrade','↪\x20SDK\x20update\x20available','1583406QTKrof','latest','sdk','105464pHmAOU','1174879UKplug','package.json','stableVersion','utf8','utf-8','118135YCYxYk','\x20\x20\x20Current\x20version:\x20','npm\x20install\x20','join','48DSTIBl','2020422lGQMbT','2OKKWpZ','packageName','version','coerce','existsSync','7NJuBVj','@lovrabet/sdk','log','parse','dependencies','1.2.0'];a203_0x1f14=function(){return _0x40b1f7;};return a203_0x1f14();}(function(_0x3293bf,_0x15896d){const _0x46404=a203_0x1e6c,_0x4c4d8e=_0x3293bf();while(!![]){try{const _0x141d43=-parseInt(_0x46404(0x176))/0x1*(-parseInt(_0x46404(0x159))/0x2)+-parseInt(_0x46404(0x166))/0x3+parseInt(_0x46404(0x165))/0x4*(parseInt(_0x46404(0x17b))/0x5)+parseInt(_0x46404(0x158))/0x6*(-parseInt(_0x46404(0x15e))/0x7)+-parseInt(_0x46404(0x175))/0x8*(-parseInt(_0x46404(0x16c))/0x9)+parseInt(_0x46404(0x168))/0xa*(parseInt(_0x46404(0x172))/0xb)+-parseInt(_0x46404(0x17f))/0xc*(parseInt(_0x46404(0x16a))/0xd);if(_0x141d43===_0x15896d)break;else _0x4c4d8e['push'](_0x4c4d8e['shift']());}catch(_0x41347b){_0x4c4d8e['push'](_0x4c4d8e['shift']());}}}(a203_0x1f14,0x992aa));import a203_0x127085 from'node:fs';import a203_0x144ec3 from'node:path';import a203_0x318ff2 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION=a203_0x51cd9a(0x163);function isNonNumericVersion(_0x2ad499){const _0x5f08d3=a203_0x51cd9a,_0x514d55=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x514d55['some'](_0x1e1a71=>_0x1e1a71[_0x5f08d3(0x16f)](_0x2ad499));}function getInstalledVersion(_0x5bf622,_0x29f247){const _0x392bc7=a203_0x51cd9a;try{const _0xd45611=a203_0x144ec3[_0x392bc7(0x17e)](_0x5bf622,'node_modules',_0x29f247,_0x392bc7(0x177));if(a203_0x127085['existsSync'](_0xd45611)){const _0x3ad45c=JSON[_0x392bc7(0x161)](a203_0x127085[_0x392bc7(0x16d)](_0xd45611,_0x392bc7(0x17a)));return _0x3ad45c[_0x392bc7(0x15b)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x3598f2=a203_0x51cd9a;try{const _0x554cde=await getCdnConfig();return _0x554cde?.[_0x3598f2(0x174)]?.[_0x3598f2(0x169)]?.['stableVersion']||null;}catch{return null;}}async function getSdkPackageName(){const _0x5e9692=a203_0x51cd9a;try{const _0x2e1144=await getCdnConfig();return _0x2e1144?.[_0x5e9692(0x174)]?.['node']?.[_0x5e9692(0x15a)]||'@lovrabet/sdk';}catch{return _0x5e9692(0x15f);}}export async function checkSdkVersion(_0x104d5b){const _0x47096a=a203_0x51cd9a,_0x1bc1e0=a203_0x144ec3[_0x47096a(0x17e)](_0x104d5b,'package.json'),[_0x3cc971,_0x5b331c]=await Promise[_0x47096a(0x167)]([getSdkStableVersion(),getSdkPackageName()]),_0x5933f7=_0x3cc971||FALLBACK_MIN_SDK_VERSION;if(!a203_0x127085[_0x47096a(0x15d)](_0x1bc1e0))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x5933f7,'packageName':_0x5b331c,'stableVersion':_0x3cc971};try{const _0x183aa3=JSON[_0x47096a(0x161)](a203_0x127085['readFileSync'](_0x1bc1e0,_0x47096a(0x179))),_0x4d1dbb=_0x183aa3[_0x47096a(0x162)]||{},_0x305af4=_0x183aa3[_0x47096a(0x164)]||{},_0x182fbe=_0x4d1dbb[_0x5b331c]||_0x305af4[_0x5b331c];if(!_0x182fbe)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x5933f7,'packageName':_0x5b331c,'stableVersion':_0x3cc971};let _0x2603b4=getInstalledVersion(_0x104d5b,_0x5b331c);!_0x2603b4&&(_0x2603b4=_0x182fbe);if(isNonNumericVersion(_0x182fbe))return{'installed':!![],'version':_0x2603b4,'needsUpgrade':![],'minVersion':_0x5933f7,'packageName':_0x5b331c,'stableVersion':_0x3cc971};const _0x2a2827=a203_0x318ff2[_0x47096a(0x15c)](_0x2603b4),_0x558a7a=a203_0x318ff2[_0x47096a(0x15c)](_0x5933f7),_0x22dff7=_0x2a2827&&_0x558a7a?a203_0x318ff2['lt'](_0x2a2827,_0x558a7a):![];return{'installed':!![],'version':_0x2603b4,'needsUpgrade':_0x22dff7,'minVersion':_0x5933f7,'packageName':_0x5b331c,'stableVersion':_0x3cc971};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x5933f7,'packageName':_0x5b331c,'stableVersion':_0x3cc971};}}export function checkSdkVersionSync(_0x303056){const _0x19802b=a203_0x51cd9a,_0x145792=a203_0x144ec3[_0x19802b(0x17e)](_0x303056,_0x19802b(0x177)),_0x30f2be=_0x19802b(0x15f);if(!a203_0x127085[_0x19802b(0x15d)](_0x145792))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x30f2be,'stableVersion':null};try{const _0x55bbd1=JSON[_0x19802b(0x161)](a203_0x127085[_0x19802b(0x16d)](_0x145792,_0x19802b(0x179))),_0x314455=_0x55bbd1[_0x19802b(0x162)]||{},_0xe7ec5c=_0x55bbd1[_0x19802b(0x164)]||{},_0x2770dc=_0x314455[_0x30f2be]||_0xe7ec5c[_0x30f2be];if(!_0x2770dc)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x30f2be,'stableVersion':null};let _0x1e8930=getInstalledVersion(_0x303056,_0x30f2be);!_0x1e8930&&(_0x1e8930=_0x2770dc);if(isNonNumericVersion(_0x2770dc))return{'installed':!![],'version':_0x1e8930,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x30f2be,'stableVersion':null};const _0x52817a=a203_0x318ff2[_0x19802b(0x15c)](_0x1e8930),_0x133118=_0x52817a?a203_0x318ff2['lt'](_0x52817a,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x1e8930,'needsUpgrade':_0x133118,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x30f2be,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x30f2be,'stableVersion':null};}}function a203_0x1e6c(_0x17510b,_0xb45c58){_0x17510b=_0x17510b-0x158;const _0x1f144e=a203_0x1f14();let _0x1e6c80=_0x1f144e[_0x17510b];return _0x1e6c80;}export function printSdkUpgradeWarning(_0x574754){const _0x2b014e=a203_0x51cd9a;if(!_0x574754[_0x2b014e(0x170)])return;const _0x224b5c='\x1b[33m',_0x35c5fe=_0x2b014e(0x16b),_0x239588=_0x2b014e(0x16e),_0x5df74c=_0x574754[_0x2b014e(0x15a)]||_0x2b014e(0x15f),_0x3c7007=_0x574754[_0x2b014e(0x178)]||_0x574754['minVersion'],_0x232700=_0x2b014e(0x17d)+_0x5df74c+'@'+(_0x3c7007||_0x2b014e(0x173));console[_0x2b014e(0x160)](),console[_0x2b014e(0x160)](''+_0x224b5c+_0x239588+_0x2b014e(0x171)+_0x35c5fe),console[_0x2b014e(0x160)](_0x224b5c+_0x2b014e(0x17c)+_0x5df74c+'@'+_0x574754[_0x2b014e(0x15b)]+_0x35c5fe),console['log'](_0x224b5c+'\x20\x20\x20Stable\x20version:\x20'+_0x3c7007+_0x35c5fe),console['log'](_0x224b5c+'\x20\x20\x20Upgrade\x20command:\x20'+_0x232700+_0x35c5fe),console[_0x2b014e(0x160)]();}
1
+ function a203_0x4c08(_0xb47f70,_0x1e88d2){_0xb47f70=_0xb47f70-0xe3;const _0x3cbdee=a203_0x3cbd();let _0x4c08fd=_0x3cbdee[_0xb47f70];return _0x4c08fd;}(function(_0x2b1e65,_0x3a0887){const _0x46847d=a203_0x4c08,_0x5e27bd=_0x2b1e65();while(!![]){try{const _0x503ff6=-parseInt(_0x46847d(0xe8))/0x1*(-parseInt(_0x46847d(0x108))/0x2)+-parseInt(_0x46847d(0xf2))/0x3+-parseInt(_0x46847d(0xf6))/0x4*(parseInt(_0x46847d(0x101))/0x5)+parseInt(_0x46847d(0xfd))/0x6*(-parseInt(_0x46847d(0x102))/0x7)+-parseInt(_0x46847d(0xe4))/0x8*(-parseInt(_0x46847d(0xf8))/0x9)+parseInt(_0x46847d(0xf9))/0xa*(-parseInt(_0x46847d(0xf5))/0xb)+parseInt(_0x46847d(0x10c))/0xc;if(_0x503ff6===_0x3a0887)break;else _0x5e27bd['push'](_0x5e27bd['shift']());}catch(_0x1b7e5c){_0x5e27bd['push'](_0x5e27bd['shift']());}}}(a203_0x3cbd,0x4a9b4));import a203_0x456c8a from'node:fs';function a203_0x3cbd(){const _0x7e3247=['594kPCVzd','954070NGVPGx','packageName','↪\x20SDK\x20update\x20available','devDependencies','12OHgonY','readFileSync','minVersion','dependencies','305ZdoJlP','266518QpgGHf','log','\x1b[33m','latest','\x20\x20\x20Current\x20version:\x20','stableVersion','34QMEESW','package.json','utf8','version','2487504BTDOGn','all','70568QekYfR','node','some','utf-8','17231rMaTol','existsSync','@lovrabet/sdk','test','needsUpgrade','join','\x20\x20\x20Upgrade\x20command:\x20','node_modules','\x1b[0m','parse','1809015zUOSTh','npm\x20install\x20','sdk','11EmapKi','148wTjjFb','coerce'];a203_0x3cbd=function(){return _0x7e3247;};return a203_0x3cbd();}import a203_0x562a19 from'node:path';import a203_0x2f3684 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION='1.2.0';function isNonNumericVersion(_0x12847a){const _0x3984a9=a203_0x4c08,_0x5d5b9a=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x5d5b9a[_0x3984a9(0xe6)](_0x40776d=>_0x40776d[_0x3984a9(0xeb)](_0x12847a));}function getInstalledVersion(_0x32aacf,_0x5bafe4){const _0x512cec=a203_0x4c08;try{const _0x3b7b59=a203_0x562a19[_0x512cec(0xed)](_0x32aacf,_0x512cec(0xef),_0x5bafe4,_0x512cec(0x109));if(a203_0x456c8a[_0x512cec(0xe9)](_0x3b7b59)){const _0x5a85c1=JSON['parse'](a203_0x456c8a[_0x512cec(0xfe)](_0x3b7b59,_0x512cec(0xe7)));return _0x5a85c1[_0x512cec(0x10b)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x57535c=a203_0x4c08;try{const _0x1e9f9d=await getCdnConfig();return _0x1e9f9d?.[_0x57535c(0xf4)]?.[_0x57535c(0xe5)]?.['stableVersion']||null;}catch{return null;}}async function getSdkPackageName(){const _0x47eaf1=a203_0x4c08;try{const _0x155a78=await getCdnConfig();return _0x155a78?.[_0x47eaf1(0xf4)]?.[_0x47eaf1(0xe5)]?.[_0x47eaf1(0xfa)]||'@lovrabet/sdk';}catch{return'@lovrabet/sdk';}}export async function checkSdkVersion(_0x495207){const _0x3605f7=a203_0x4c08,_0x5352ef=a203_0x562a19['join'](_0x495207,_0x3605f7(0x109)),[_0xd77fb9,_0x427b45]=await Promise[_0x3605f7(0xe3)]([getSdkStableVersion(),getSdkPackageName()]),_0x291eda=_0xd77fb9||FALLBACK_MIN_SDK_VERSION;if(!a203_0x456c8a[_0x3605f7(0xe9)](_0x5352ef))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x291eda,'packageName':_0x427b45,'stableVersion':_0xd77fb9};try{const _0x30b9d8=JSON['parse'](a203_0x456c8a[_0x3605f7(0xfe)](_0x5352ef,_0x3605f7(0x10a))),_0x4ce6d4=_0x30b9d8[_0x3605f7(0x100)]||{},_0x153a63=_0x30b9d8[_0x3605f7(0xfc)]||{},_0x50c791=_0x4ce6d4[_0x427b45]||_0x153a63[_0x427b45];if(!_0x50c791)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x291eda,'packageName':_0x427b45,'stableVersion':_0xd77fb9};let _0x13ba0b=getInstalledVersion(_0x495207,_0x427b45);!_0x13ba0b&&(_0x13ba0b=_0x50c791);if(isNonNumericVersion(_0x50c791))return{'installed':!![],'version':_0x13ba0b,'needsUpgrade':![],'minVersion':_0x291eda,'packageName':_0x427b45,'stableVersion':_0xd77fb9};const _0x142c93=a203_0x2f3684[_0x3605f7(0xf7)](_0x13ba0b),_0x41ab48=a203_0x2f3684[_0x3605f7(0xf7)](_0x291eda),_0x51eeed=_0x142c93&&_0x41ab48?a203_0x2f3684['lt'](_0x142c93,_0x41ab48):![];return{'installed':!![],'version':_0x13ba0b,'needsUpgrade':_0x51eeed,'minVersion':_0x291eda,'packageName':_0x427b45,'stableVersion':_0xd77fb9};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x291eda,'packageName':_0x427b45,'stableVersion':_0xd77fb9};}}export function checkSdkVersionSync(_0x56bb50){const _0x3270a4=a203_0x4c08,_0x137c3d=a203_0x562a19[_0x3270a4(0xed)](_0x56bb50,_0x3270a4(0x109)),_0x1db44f='@lovrabet/sdk';if(!a203_0x456c8a[_0x3270a4(0xe9)](_0x137c3d))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1db44f,'stableVersion':null};try{const _0x40acbc=JSON[_0x3270a4(0xf1)](a203_0x456c8a['readFileSync'](_0x137c3d,_0x3270a4(0x10a))),_0x8818b1=_0x40acbc[_0x3270a4(0x100)]||{},_0x445904=_0x40acbc['devDependencies']||{},_0x395ad4=_0x8818b1[_0x1db44f]||_0x445904[_0x1db44f];if(!_0x395ad4)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1db44f,'stableVersion':null};let _0x490cae=getInstalledVersion(_0x56bb50,_0x1db44f);!_0x490cae&&(_0x490cae=_0x395ad4);if(isNonNumericVersion(_0x395ad4))return{'installed':!![],'version':_0x490cae,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1db44f,'stableVersion':null};const _0x555617=a203_0x2f3684[_0x3270a4(0xf7)](_0x490cae),_0x4ac019=_0x555617?a203_0x2f3684['lt'](_0x555617,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x490cae,'needsUpgrade':_0x4ac019,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1db44f,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x1db44f,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x347ef8){const _0x2d609a=a203_0x4c08;if(!_0x347ef8[_0x2d609a(0xec)])return;const _0x289533=_0x2d609a(0x104),_0x199c3f=_0x2d609a(0xf0),_0x4aba0d='\x1b[1m',_0x565662=_0x347ef8[_0x2d609a(0xfa)]||_0x2d609a(0xea),_0x371ddb=_0x347ef8[_0x2d609a(0x107)]||_0x347ef8[_0x2d609a(0xff)],_0x2af428=_0x2d609a(0xf3)+_0x565662+'@'+(_0x371ddb||_0x2d609a(0x105));console[_0x2d609a(0x103)](),console[_0x2d609a(0x103)](''+_0x289533+_0x4aba0d+_0x2d609a(0xfb)+_0x199c3f),console[_0x2d609a(0x103)](_0x289533+_0x2d609a(0x106)+_0x565662+'@'+_0x347ef8['version']+_0x199c3f),console[_0x2d609a(0x103)](_0x289533+'\x20\x20\x20Stable\x20version:\x20'+_0x371ddb+_0x199c3f),console[_0x2d609a(0x103)](_0x289533+_0x2d609a(0xee)+_0x2af428+_0x199c3f),console[_0x2d609a(0x103)]();}
@@ -1 +1 @@
1
- (function(_0x59fd12,_0x179249){const _0x43d653=a204_0xf9d1,_0x32cf68=_0x59fd12();while(!![]){try{const _0x57b7e9=-parseInt(_0x43d653(0x1fb))/0x1+-parseInt(_0x43d653(0x203))/0x2*(-parseInt(_0x43d653(0x1fc))/0x3)+-parseInt(_0x43d653(0x20c))/0x4*(parseInt(_0x43d653(0x20e))/0x5)+-parseInt(_0x43d653(0x1fa))/0x6+parseInt(_0x43d653(0x206))/0x7*(parseInt(_0x43d653(0x215))/0x8)+parseInt(_0x43d653(0x211))/0x9+parseInt(_0x43d653(0x207))/0xa;if(_0x57b7e9===_0x179249)break;else _0x32cf68['push'](_0x32cf68['shift']());}catch(_0x4689e6){_0x32cf68['push'](_0x32cf68['shift']());}}}(a204_0x313d,0xcd70b));import{readFileSync}from'node:fs';function a204_0xf9d1(_0x225336,_0xf90160){_0x225336=_0x225336-0x1f4;const _0x313dad=a204_0x313d();let _0xf9d179=_0x313dad[_0x225336];return _0xf9d179;}import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a204_0x6b62b5 from'semver';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';function a204_0x313d(){const _0x1395f7=['Current\x20version:\x20','utf-8','minimumVersion','log','coerce','Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.','2546508FYhfsN','435697VqQZLz','2235EwitYP','upgradeMessage','currentVersion','belowMinimum','\x1b[0m','join','\x20\x20\x20Upgrade\x20command:\x20','2134GjBYOb','stableVersion','minimumVersionMessage','7MQGzKs','311250xfwNth','\x20\x20\x20Current\x20CLI\x20version:\x20','npm\x20install\x20-g\x20','\x20\x20\x20Stable\x20version:\x20','\x20\x20\x20Recommended\x20stable:\x20','4852192WnESjp','↪\x20Critical\x20CLI\x20upgrade\x20required','5oaqJRF','latest','\x20\x20\x20Minimum\x20supported:\x20','8856675rbNcVU','needsUpgrade','\x1b[33m','↪\x20New\x20version\x20available','8836248gZxJey','1.0.0','\x1b[31m'];a204_0x313d=function(){return _0x1395f7;};return a204_0x313d();}import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x248044){const _0x5d082a=a204_0xf9d1,_0x1e05d6=_0x248044[_0x5d082a(0x204)]||_0x5d082a(0x20f);return _0x5d082a(0x209)+NPM_PACKAGE_NAME+'@'+_0x1e05d6;}function getCurrentCliVersion(){const _0x3ba062=a204_0xf9d1;try{const _0xed80ed=fileURLToPath(import.meta.url),_0x1f3b20=resolve(dirname(_0xed80ed),'../..'),_0x15b724=resolve(_0x1f3b20,'package.json'),_0x6a17f6=JSON['parse'](readFileSync(_0x15b724,_0x3ba062(0x1f5)));return _0x6a17f6['version']||_0x3ba062(0x216);}catch{return'1.0.0';}}export async function checkCliVersion(){const _0x1bf503=a204_0xf9d1,_0x3270b9=getCurrentCliVersion(),_0x5e83ea=await getCliVersionPolicy(),_0x36226d=_0x5e83ea?.[_0x1bf503(0x204)]||null,_0x4d8b5d=_0x5e83ea?.[_0x1bf503(0x1f6)]||null;let _0xca55f6=![],_0x28ef0f=![];const _0x22e0da=a204_0x6b62b5[_0x1bf503(0x1f8)](_0x3270b9);if(_0x22e0da&&_0x36226d)try{const _0x28594e=a204_0x6b62b5[_0x1bf503(0x1f8)](_0x36226d);if(_0x28594e)_0xca55f6=a204_0x6b62b5['lt'](_0x22e0da,_0x28594e);}catch{}if(_0x22e0da&&_0x4d8b5d)try{const _0x44736d=a204_0x6b62b5[_0x1bf503(0x1f8)](_0x4d8b5d);if(_0x44736d)_0x28ef0f=a204_0x6b62b5['lt'](_0x22e0da,_0x44736d);}catch{}return _0x28ef0f&&(_0xca55f6=!![]),{'currentVersion':_0x3270b9,'stableVersion':_0x36226d,'minimumVersion':_0x4d8b5d,'needsUpgrade':_0xca55f6,'belowMinimum':_0x28ef0f,'isPreRelease':![],'upgradeMessage':_0x5e83ea?.[_0x1bf503(0x1fd)],'minimumVersionMessage':_0x5e83ea?.[_0x1bf503(0x205)]};}export function printCliUpgradeWarning(_0x36a5f2){const _0x387a3a=a204_0xf9d1;if(!_0x36a5f2[_0x387a3a(0x212)]&&!_0x36a5f2[_0x387a3a(0x1ff)])return;const _0x573825=_0x387a3a(0x217),_0xb456b3=_0x387a3a(0x213),_0x4fc2ae=_0x387a3a(0x200),_0x2b2472='\x1b[1m',_0x36a796=getCliUpgradeCommand(_0x36a5f2);console[_0x387a3a(0x1f7)](),_0x36a5f2[_0x387a3a(0x1ff)]?(console[_0x387a3a(0x1f7)](''+_0x573825+_0x2b2472+_0x387a3a(0x20d)+_0x4fc2ae),console['log'](_0x573825+_0x387a3a(0x208)+_0x36a5f2[_0x387a3a(0x1fe)]+_0x4fc2ae),_0x36a5f2[_0x387a3a(0x1f6)]&&console[_0x387a3a(0x1f7)](_0x573825+_0x387a3a(0x210)+_0x36a5f2[_0x387a3a(0x1f6)]+_0x4fc2ae),_0x36a5f2[_0x387a3a(0x204)]&&_0x36a5f2['stableVersion']!==_0x36a5f2[_0x387a3a(0x1f6)]&&console[_0x387a3a(0x1f7)](_0x573825+_0x387a3a(0x20b)+_0x36a5f2[_0x387a3a(0x204)]+_0x4fc2ae),_0x36a5f2[_0x387a3a(0x205)]&&console[_0x387a3a(0x1f7)](_0x573825+'\x20\x20\x20'+_0x36a5f2[_0x387a3a(0x205)]+_0x4fc2ae),console[_0x387a3a(0x1f7)](_0x573825+_0x387a3a(0x202)+_0x36a796+_0x4fc2ae)):(console[_0x387a3a(0x1f7)](''+_0xb456b3+_0x2b2472+_0x387a3a(0x214)+_0x4fc2ae),console['log'](_0xb456b3+_0x387a3a(0x208)+_0x36a5f2[_0x387a3a(0x1fe)]+_0x4fc2ae),console[_0x387a3a(0x1f7)](_0xb456b3+_0x387a3a(0x20a)+_0x36a5f2[_0x387a3a(0x204)]+_0x4fc2ae),_0x36a5f2[_0x387a3a(0x1fd)]&&console[_0x387a3a(0x1f7)](_0xb456b3+'\x20\x20\x20'+_0x36a5f2[_0x387a3a(0x1fd)]+_0x4fc2ae),console[_0x387a3a(0x1f7)](_0xb456b3+_0x387a3a(0x202)+_0x36a796+_0x4fc2ae)),console[_0x387a3a(0x1f7)]();}export function assertCliVersionSupported(_0x5209e9){const _0xb6e938=a204_0xf9d1;if(!_0x5209e9['belowMinimum'])return;const _0x1d475a=[_0x5209e9['minimumVersionMessage'],_0xb6e938(0x1f4)+_0x5209e9[_0xb6e938(0x1fe)],_0x5209e9[_0xb6e938(0x1f6)]?'Minimum\x20supported:\x20'+_0x5209e9[_0xb6e938(0x1f6)]:null,'Upgrade\x20command:\x20'+getCliUpgradeCommand(_0x5209e9)]['filter'](Boolean)[_0xb6e938(0x201)]('\x0a');throw CliErrors['validation'](_0xb6e938(0x1f9),_0x1d475a);}
1
+ (function(_0xc7fd82,_0x1ac332){const _0x14b454=a204_0x13c7,_0x501bab=_0xc7fd82();while(!![]){try{const _0xfdc50b=-parseInt(_0x14b454(0x85))/0x1*(parseInt(_0x14b454(0x84))/0x2)+-parseInt(_0x14b454(0x6c))/0x3*(-parseInt(_0x14b454(0x7e))/0x4)+parseInt(_0x14b454(0x7d))/0x5*(parseInt(_0x14b454(0x80))/0x6)+parseInt(_0x14b454(0x6b))/0x7*(-parseInt(_0x14b454(0x7a))/0x8)+-parseInt(_0x14b454(0x87))/0x9+parseInt(_0x14b454(0x81))/0xa+-parseInt(_0x14b454(0x78))/0xb*(parseInt(_0x14b454(0x76))/0xc);if(_0xfdc50b===_0x1ac332)break;else _0x501bab['push'](_0x501bab['shift']());}catch(_0x40c06b){_0x501bab['push'](_0x501bab['shift']());}}}(a204_0x1d95,0xca0cc));import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a204_0x4bb1ef from'semver';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';function a204_0x13c7(_0x3abb91,_0x47646a){_0x3abb91=_0x3abb91-0x66;const _0x1d954a=a204_0x1d95();let _0x13c7d4=_0x1d954a[_0x3abb91];return _0x13c7d4;}import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x14cc32){const _0x5b30a9=a204_0x13c7,_0x4fe0c5=_0x14cc32[_0x5b30a9(0x77)]||'latest';return'npm\x20install\x20-g\x20'+NPM_PACKAGE_NAME+'@'+_0x4fe0c5;}function getCurrentCliVersion(){const _0x190683=a204_0x13c7;try{const _0x2dcfcd=fileURLToPath(import.meta.url),_0x4d74ef=resolve(dirname(_0x2dcfcd),_0x190683(0x66)),_0x44e3ed=resolve(_0x4d74ef,_0x190683(0x6d)),_0x7ef060=JSON[_0x190683(0x68)](readFileSync(_0x44e3ed,'utf-8'));return _0x7ef060['version']||_0x190683(0x6f);}catch{return _0x190683(0x6f);}}export async function checkCliVersion(){const _0x1dbaa8=a204_0x13c7,_0x43e7cb=getCurrentCliVersion(),_0x1a3c26=await getCliVersionPolicy(),_0x5abcaa=_0x1a3c26?.['stableVersion']||null,_0x2ff9d9=_0x1a3c26?.[_0x1dbaa8(0x79)]||null;let _0x1e9b3a=![],_0x5ea3b5=![];const _0xf27338=a204_0x4bb1ef[_0x1dbaa8(0x8d)](_0x43e7cb);if(_0xf27338&&_0x5abcaa)try{const _0x929f8f=a204_0x4bb1ef[_0x1dbaa8(0x8d)](_0x5abcaa);if(_0x929f8f)_0x1e9b3a=a204_0x4bb1ef['lt'](_0xf27338,_0x929f8f);}catch{}if(_0xf27338&&_0x2ff9d9)try{const _0x471766=a204_0x4bb1ef[_0x1dbaa8(0x8d)](_0x2ff9d9);if(_0x471766)_0x5ea3b5=a204_0x4bb1ef['lt'](_0xf27338,_0x471766);}catch{}return _0x5ea3b5&&(_0x1e9b3a=!![]),{'currentVersion':_0x43e7cb,'stableVersion':_0x5abcaa,'minimumVersion':_0x2ff9d9,'needsUpgrade':_0x1e9b3a,'belowMinimum':_0x5ea3b5,'isPreRelease':![],'upgradeMessage':_0x1a3c26?.[_0x1dbaa8(0x73)],'minimumVersionMessage':_0x1a3c26?.[_0x1dbaa8(0x72)]};}export function printCliUpgradeWarning(_0xd03149){const _0x588459=a204_0x13c7;if(!_0xd03149['needsUpgrade']&&!_0xd03149['belowMinimum'])return;const _0x565498=_0x588459(0x6a),_0x1b281d=_0x588459(0x83),_0x2371d2=_0x588459(0x69),_0x4d0529=_0x588459(0x71),_0x234ff0=getCliUpgradeCommand(_0xd03149);console['log'](),_0xd03149[_0x588459(0x8a)]?(console['log'](''+_0x565498+_0x4d0529+_0x588459(0x8c)+_0x2371d2),console[_0x588459(0x82)](_0x565498+_0x588459(0x89)+_0xd03149[_0x588459(0x70)]+_0x2371d2),_0xd03149[_0x588459(0x79)]&&console[_0x588459(0x82)](_0x565498+_0x588459(0x86)+_0xd03149[_0x588459(0x79)]+_0x2371d2),_0xd03149[_0x588459(0x77)]&&_0xd03149['stableVersion']!==_0xd03149['minimumVersion']&&console['log'](_0x565498+_0x588459(0x7b)+_0xd03149[_0x588459(0x77)]+_0x2371d2),_0xd03149['minimumVersionMessage']&&console['log'](_0x565498+_0x588459(0x88)+_0xd03149[_0x588459(0x72)]+_0x2371d2),console['log'](_0x565498+_0x588459(0x74)+_0x234ff0+_0x2371d2)):(console[_0x588459(0x82)](''+_0x1b281d+_0x4d0529+_0x588459(0x7f)+_0x2371d2),console[_0x588459(0x82)](_0x1b281d+_0x588459(0x89)+_0xd03149['currentVersion']+_0x2371d2),console['log'](_0x1b281d+'\x20\x20\x20Stable\x20version:\x20'+_0xd03149[_0x588459(0x77)]+_0x2371d2),_0xd03149[_0x588459(0x73)]&&console[_0x588459(0x82)](_0x1b281d+_0x588459(0x88)+_0xd03149[_0x588459(0x73)]+_0x2371d2),console[_0x588459(0x82)](_0x1b281d+'\x20\x20\x20Upgrade\x20command:\x20'+_0x234ff0+_0x2371d2)),console[_0x588459(0x82)]();}function a204_0x1d95(){const _0x1a19dd=['45090KpjUBd','13540ZuxVsl','↪\x20New\x20version\x20available','654dJySZc','10407810OqHNbL','log','\x1b[33m','2qTAoej','1017770YXutgp','\x20\x20\x20Minimum\x20supported:\x20','1486899HMuJmM','\x20\x20\x20','\x20\x20\x20Current\x20CLI\x20version:\x20','belowMinimum','Current\x20version:\x20','↪\x20Critical\x20CLI\x20upgrade\x20required','coerce','../..','join','parse','\x1b[0m','\x1b[31m','21bFylkf','1464SKXCKt','package.json','validation','1.0.0','currentVersion','\x1b[1m','minimumVersionMessage','upgradeMessage','\x20\x20\x20Upgrade\x20command:\x20','Minimum\x20supported:\x20','105204DNbYit','stableVersion','803wDkwzv','minimumVersion','2733480cApPoB','\x20\x20\x20Recommended\x20stable:\x20','Upgrade\x20command:\x20'];a204_0x1d95=function(){return _0x1a19dd;};return a204_0x1d95();}export function assertCliVersionSupported(_0x2d5be0){const _0x36c759=a204_0x13c7;if(!_0x2d5be0[_0x36c759(0x8a)])return;const _0x470442=[_0x2d5be0[_0x36c759(0x72)],_0x36c759(0x8b)+_0x2d5be0['currentVersion'],_0x2d5be0['minimumVersion']?_0x36c759(0x75)+_0x2d5be0[_0x36c759(0x79)]:null,_0x36c759(0x7c)+getCliUpgradeCommand(_0x2d5be0)]['filter'](Boolean)[_0x36c759(0x67)]('\x0a');throw CliErrors[_0x36c759(0x6e)]('Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.',_0x470442);}
@@ -1 +1 @@
1
- (function(_0x1a43b9,_0x20eceb){const _0x151900=a205_0x334c,_0x4f9039=_0x1a43b9();while(!![]){try{const _0x531f92=parseInt(_0x151900(0x13a))/0x1*(-parseInt(_0x151900(0x13d))/0x2)+-parseInt(_0x151900(0x141))/0x3+-parseInt(_0x151900(0x146))/0x4+-parseInt(_0x151900(0x139))/0x5+-parseInt(_0x151900(0x135))/0x6+-parseInt(_0x151900(0x140))/0x7*(parseInt(_0x151900(0x147))/0x8)+parseInt(_0x151900(0x134))/0x9;if(_0x531f92===_0x20eceb)break;else _0x4f9039['push'](_0x4f9039['shift']());}catch(_0x170405){_0x4f9039['push'](_0x4f9039['shift']());}}}(a205_0x2da3,0x772c4));import{CLI_VERSION_POLICY_URL}from'../constant/cdn.js';function a205_0x334c(_0x498d95,_0x2b83cf){_0x498d95=_0x498d95-0x133;const _0x2da3c0=a205_0x2da3();let _0x334cbc=_0x2da3c0[_0x498d95];return _0x334cbc;}const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8,FETCH_TIMEOUT_MS=0xbb8;function pickString(_0x4a5109){const _0x575b5d=a205_0x334c;return typeof _0x4a5109==='string'&&_0x4a5109[_0x575b5d(0x133)]()[_0x575b5d(0x13c)]>0x0?_0x4a5109[_0x575b5d(0x133)]():null;}function normalizeCliVersionPolicy(_0x293a84){const _0x1857fa=a205_0x334c;if(!_0x293a84||typeof _0x293a84!=='object')return null;const _0xbc762f=_0x293a84,_0x21f3a9=_0xbc762f[_0x1857fa(0x137)]&&typeof _0xbc762f[_0x1857fa(0x137)]===_0x1857fa(0x14a)?_0xbc762f['cli']:_0xbc762f,_0x2f7818=pickString(_0x21f3a9[_0x1857fa(0x138)])||pickString(_0x21f3a9[_0x1857fa(0x143)])||pickString(_0x21f3a9[_0x1857fa(0x148)]),_0xfa1f06=pickString(_0x21f3a9[_0x1857fa(0x13f)])||pickString(_0x21f3a9[_0x1857fa(0x149)]);if(!_0x2f7818&&!_0xfa1f06)return null;return{'stableVersion':_0x2f7818,'minimumVersion':_0xfa1f06,'upgradeMessage':pickString(_0x21f3a9[_0x1857fa(0x145)])||undefined,'minimumVersionMessage':pickString(_0x21f3a9[_0x1857fa(0x144)])||undefined};}export async function fetchCliVersionPolicy(){const _0x56d124=a205_0x334c,_0x55b489=new AbortController(),_0x401206=setTimeout(()=>_0x55b489[_0x56d124(0x13b)](),FETCH_TIMEOUT_MS);try{const _0x31501e=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x56d124(0x13e)},'signal':_0x55b489['signal']});if(!_0x31501e['ok'])return null;const _0x5ab6ac=await _0x31501e[_0x56d124(0x136)]();return normalizeCliVersionPolicy(_0x5ab6ac);}catch{return null;}finally{clearTimeout(_0x401206);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x2524fc=a205_0x334c,_0x3cca95=Date[_0x2524fc(0x142)]();if(hasCachedPolicy){const _0x4406ad=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x3cca95-cacheTime<_0x4406ad)return cachedPolicy;}const _0xfc30f1=await fetchCliVersionPolicy();return cachedPolicy=_0xfc30f1,cacheTime=_0x3cca95,hasCachedPolicy=!![],_0xfc30f1;}function a205_0x2da3(){const _0x1ce4e3=['length','2WoIsSF','application/json','minimumVersion','48062BlgDqY','1962918ZlUCcz','now','latestVersion','minimumVersionMessage','upgradeMessage','1525996ztDZdR','840OlAOQe','recommendedVersion','minVersion','object','trim','25402806LzMJER','24582lWJEbp','json','cli','stableVersion','2771875iepriS','19195bjjflE','abort'];a205_0x2da3=function(){return _0x1ce4e3;};return a205_0x2da3();}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}
1
+ (function(_0x4a33b1,_0x5d37de){const _0x2bc849=a205_0x43e7,_0x2d94ae=_0x4a33b1();while(!![]){try{const _0x4de9c4=parseInt(_0x2bc849(0x149))/0x1+parseInt(_0x2bc849(0x13d))/0x2*(parseInt(_0x2bc849(0x146))/0x3)+-parseInt(_0x2bc849(0x135))/0x4+-parseInt(_0x2bc849(0x139))/0x5+parseInt(_0x2bc849(0x144))/0x6*(-parseInt(_0x2bc849(0x141))/0x7)+-parseInt(_0x2bc849(0x13b))/0x8+-parseInt(_0x2bc849(0x14c))/0x9*(-parseInt(_0x2bc849(0x142))/0xa);if(_0x4de9c4===_0x5d37de)break;else _0x2d94ae['push'](_0x2d94ae['shift']());}catch(_0x186cbb){_0x2d94ae['push'](_0x2d94ae['shift']());}}}(a205_0x3001,0xd4a56));function a205_0x43e7(_0x4b4570,_0x130b59){_0x4b4570=_0x4b4570-0x135;const _0x300169=a205_0x3001();let _0x43e7d4=_0x300169[_0x4b4570];return _0x43e7d4;}import{CLI_VERSION_POLICY_URL}from'../constant/cdn.js';const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8,FETCH_TIMEOUT_MS=0xbb8;function pickString(_0x300fb0){const _0x3d38b8=a205_0x43e7;return typeof _0x300fb0===_0x3d38b8(0x13c)&&_0x300fb0[_0x3d38b8(0x14b)]()[_0x3d38b8(0x137)]>0x0?_0x300fb0[_0x3d38b8(0x14b)]():null;}function a205_0x3001(){const _0x1362c4=['string','1680142QsIsEh','cli','object','json','3829ULsLdw','20xsFzSx','stableVersion','7302gFfHIS','latestVersion','6BLqNHA','minVersion','abort','1011193XdflTE','recommendedVersion','trim','11511198vsHRRt','4996812AKSccH','now','length','signal','4084220HgZzPQ','application/json','13173080oKPeeU'];a205_0x3001=function(){return _0x1362c4;};return a205_0x3001();}function normalizeCliVersionPolicy(_0x2ad5c4){const _0x3e1f82=a205_0x43e7;if(!_0x2ad5c4||typeof _0x2ad5c4!==_0x3e1f82(0x13f))return null;const _0x41590d=_0x2ad5c4,_0x19e6d3=_0x41590d[_0x3e1f82(0x13e)]&&typeof _0x41590d['cli']==='object'?_0x41590d[_0x3e1f82(0x13e)]:_0x41590d,_0x45ae6b=pickString(_0x19e6d3[_0x3e1f82(0x143)])||pickString(_0x19e6d3[_0x3e1f82(0x145)])||pickString(_0x19e6d3[_0x3e1f82(0x14a)]),_0x1389ab=pickString(_0x19e6d3['minimumVersion'])||pickString(_0x19e6d3[_0x3e1f82(0x147)]);if(!_0x45ae6b&&!_0x1389ab)return null;return{'stableVersion':_0x45ae6b,'minimumVersion':_0x1389ab,'upgradeMessage':pickString(_0x19e6d3['upgradeMessage'])||undefined,'minimumVersionMessage':pickString(_0x19e6d3['minimumVersionMessage'])||undefined};}export async function fetchCliVersionPolicy(){const _0x1c31aa=a205_0x43e7,_0x367613=new AbortController(),_0x4512a6=setTimeout(()=>_0x367613[_0x1c31aa(0x148)](),FETCH_TIMEOUT_MS);try{const _0x165f85=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x1c31aa(0x13a)},'signal':_0x367613[_0x1c31aa(0x138)]});if(!_0x165f85['ok'])return null;const _0x15f20b=await _0x165f85[_0x1c31aa(0x140)]();return normalizeCliVersionPolicy(_0x15f20b);}catch{return null;}finally{clearTimeout(_0x4512a6);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x6ccfbe=a205_0x43e7,_0x33e5dd=Date[_0x6ccfbe(0x136)]();if(hasCachedPolicy){const _0x4f7ef5=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x33e5dd-cacheTime<_0x4f7ef5)return cachedPolicy;}const _0x58b5c3=await fetchCliVersionPolicy();return cachedPolicy=_0x58b5c3,cacheTime=_0x33e5dd,hasCachedPolicy=!![],_0x58b5c3;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}
@@ -1 +1 @@
1
- (function(_0x574e45,_0x14f94a){const _0x22d74c=a206_0xb8f2,_0x31fbd1=_0x574e45();while(!![]){try{const _0x362641=-parseInt(_0x22d74c(0x12f))/0x1*(-parseInt(_0x22d74c(0x134))/0x2)+parseInt(_0x22d74c(0x12e))/0x3+-parseInt(_0x22d74c(0x132))/0x4*(parseInt(_0x22d74c(0x12d))/0x5)+parseInt(_0x22d74c(0x133))/0x6+parseInt(_0x22d74c(0x12b))/0x7+-parseInt(_0x22d74c(0x130))/0x8+-parseInt(_0x22d74c(0x131))/0x9*(-parseInt(_0x22d74c(0x129))/0xa);if(_0x362641===_0x14f94a)break;else _0x31fbd1['push'](_0x31fbd1['shift']());}catch(_0x223f21){_0x31fbd1['push'](_0x31fbd1['shift']());}}}(a206_0x2725,0xa3794));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a206_0x1df631,getMultiAppConfigs as a206_0xd227c0,getTemplateBaseUrl as a206_0x5ce216}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';function a206_0x2725(){const _0x46ac6f=['5175angbPd','1304016vRdmYu','19jAggIr','10304064biknBZ','135LmnsHv','3244KEyhrA','5945226xvzOcW','41882DchxKm','411310PDbVuo','env','2496158aRukOO','string'];a206_0x2725=function(){return _0x46ac6f;};return a206_0x2725();}export function readConfig(_0x33fce2){const _0x13101a=a206_0xb8f2,_0x40a012=readRawConfig(_0x33fce2);return _0x40a012['env']&&typeof _0x40a012[_0x13101a(0x12a)]===_0x13101a(0x12c)&&initEnv(_0x40a012[_0x13101a(0x12a)]),_0x40a012;}function a206_0xb8f2(_0x171fca,_0xe7a005){_0x171fca=_0x171fca-0x129;const _0x2725a9=a206_0x2725();let _0xb8f2d=_0x2725a9[_0x171fca];return _0xb8f2d;}export function getConfigAppCode(){return a206_0x1df631();}export function getMultiAppConfigs(_0x4af5f8='project'){return a206_0xd227c0(_0x4af5f8);}export function getTemplateBaseUrl(){return a206_0x5ce216();}
1
+ function a206_0x3a89(_0x1b8e40,_0x5bdb18){_0x1b8e40=_0x1b8e40-0x175;const _0xc23417=a206_0xc234();let _0x3a89da=_0xc23417[_0x1b8e40];return _0x3a89da;}const a206_0x36bfb7=a206_0x3a89;function a206_0xc234(){const _0x195edb=['3219904NtCNhR','16871470AevfRx','9RKAetH','3RFEJpV','2828790lVjBek','12204wJgnJu','155czQFWN','env','3034toAQbO','373314DEHcxm','14ZVxNhQ','10447790nqEpSz','project'];a206_0xc234=function(){return _0x195edb;};return a206_0xc234();}(function(_0x1493c7,_0x32ad8a){const _0x2c8094=a206_0x3a89,_0x22ee65=_0x1493c7();while(!![]){try{const _0x3cd16b=-parseInt(_0x2c8094(0x17f))/0x1+-parseInt(_0x2c8094(0x17e))/0x2*(parseInt(_0x2c8094(0x179))/0x3)+parseInt(_0x2c8094(0x17b))/0x4*(parseInt(_0x2c8094(0x17c))/0x5)+-parseInt(_0x2c8094(0x17a))/0x6+-parseInt(_0x2c8094(0x180))/0x7*(-parseInt(_0x2c8094(0x176))/0x8)+parseInt(_0x2c8094(0x178))/0x9*(-parseInt(_0x2c8094(0x181))/0xa)+parseInt(_0x2c8094(0x177))/0xb;if(_0x3cd16b===_0x32ad8a)break;else _0x22ee65['push'](_0x22ee65['shift']());}catch(_0x5875c9){_0x22ee65['push'](_0x22ee65['shift']());}}}(a206_0xc234,0x8462c));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a206_0x101d7e,getMultiAppConfigs as a206_0x32d6d0,getTemplateBaseUrl as a206_0x3f69f4}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';export function readConfig(_0x41b10a){const _0x36bac2=a206_0x3a89,_0x42f5c4=readRawConfig(_0x41b10a);return _0x42f5c4[_0x36bac2(0x17d)]&&typeof _0x42f5c4[_0x36bac2(0x17d)]==='string'&&initEnv(_0x42f5c4[_0x36bac2(0x17d)]),_0x42f5c4;}export function getConfigAppCode(){return a206_0x101d7e();}export function getMultiAppConfigs(_0x493e43=a206_0x36bfb7(0x175)){return a206_0x32d6d0(_0x493e43);}export function getTemplateBaseUrl(){return a206_0x3f69f4();}
@@ -1 +1 @@
1
- (function(_0x44abbf,_0x30dfa0){const _0x4774fc=a207_0x4c09,_0x110395=_0x44abbf();while(!![]){try{const _0x566bf9=-parseInt(_0x4774fc(0x155))/0x1*(parseInt(_0x4774fc(0x151))/0x2)+parseInt(_0x4774fc(0x157))/0x3*(-parseInt(_0x4774fc(0x14a))/0x4)+parseInt(_0x4774fc(0x150))/0x5+-parseInt(_0x4774fc(0x159))/0x6*(-parseInt(_0x4774fc(0x152))/0x7)+-parseInt(_0x4774fc(0x158))/0x8+parseInt(_0x4774fc(0x14e))/0x9+-parseInt(_0x4774fc(0x14f))/0xa*(-parseInt(_0x4774fc(0x15a))/0xb);if(_0x566bf9===_0x30dfa0)break;else _0x110395['push'](_0x110395['shift']());}catch(_0x6619be){_0x110395['push'](_0x110395['shift']());}}}(a207_0x394d,0xe67cb));import a207_0x2703c2 from'node:path';function a207_0x4c09(_0x1c44e1,_0x360382){_0x1c44e1=_0x1c44e1-0x14a;const _0x394df5=a207_0x394d();let _0x4c0908=_0x394df5[_0x1c44e1];return _0x4c0908;}import a207_0x4b5f25 from'node:fs';function a207_0x394d(){const _0x16cbf7=['55wFWbrZ','复制目录时出错:','92FgdCan','mkdirSync','copyFileSync','error','8997237eKntFq','1378730gBOOna','8600535Atmmwb','3653262ZRhDGl','2513vIXJMj','name','isDirectory','1vTbejS','join','6462lbwJVb','7718320rxXnGH','6282PcTnug'];a207_0x394d=function(){return _0x16cbf7;};return a207_0x394d();}export async function copyDirectory(_0xd5daf2,_0x3311c8){const _0x2e0b67=a207_0x4c09;try{const _0x3b827f=a207_0x4b5f25['readdirSync'](_0xd5daf2,{'withFileTypes':!![]});a207_0x4b5f25[_0x2e0b67(0x14b)](_0x3311c8,{'recursive':!![]});for(const _0x13ee6 of _0x3b827f){const _0x36ddda=a207_0x2703c2[_0x2e0b67(0x156)](_0xd5daf2,_0x13ee6[_0x2e0b67(0x153)]),_0x10bb97=a207_0x2703c2[_0x2e0b67(0x156)](_0x3311c8,_0x13ee6[_0x2e0b67(0x153)]);_0x13ee6[_0x2e0b67(0x154)]()?await copyDirectory(_0x36ddda,_0x10bb97):a207_0x4b5f25[_0x2e0b67(0x14c)](_0x36ddda,_0x10bb97);}}catch(_0x4ea4e5){console[_0x2e0b67(0x14d)](_0x2e0b67(0x15b),_0x4ea4e5);}}
1
+ function a207_0x400e(_0x26fabb,_0xf6cfbe){_0x26fabb=_0x26fabb-0x119;const _0x26a0d8=a207_0x26a0();let _0x400eaf=_0x26a0d8[_0x26fabb];return _0x400eaf;}function a207_0x26a0(){const _0x166cb5=['join','error','4211208huthKE','130HVMDQh','2350323TckMzV','copyFileSync','849876uoGgSv','24xStOKY','69601aQfBuD','472052mbhSNq','2875UDmIdL','isDirectory','4kfAoZP','mkdirSync','readdirSync','1UUQNEi','1038RmKrYe','58069XIwMfH','name'];a207_0x26a0=function(){return _0x166cb5;};return a207_0x26a0();}(function(_0x5edba8,_0x541f58){const _0xdc3c27=a207_0x400e,_0x42eba7=_0x5edba8();while(!![]){try{const _0x544e6e=parseInt(_0xdc3c27(0x11d))/0x1*(-parseInt(_0xdc3c27(0x12a))/0x2)+parseInt(_0xdc3c27(0x127))/0x3*(parseInt(_0xdc3c27(0x11a))/0x4)+parseInt(_0xdc3c27(0x12b))/0x5*(parseInt(_0xdc3c27(0x11e))/0x6)+-parseInt(_0xdc3c27(0x129))/0x7*(-parseInt(_0xdc3c27(0x128))/0x8)+parseInt(_0xdc3c27(0x125))/0x9+parseInt(_0xdc3c27(0x124))/0xa*(parseInt(_0xdc3c27(0x11f))/0xb)+-parseInt(_0xdc3c27(0x123))/0xc;if(_0x544e6e===_0x541f58)break;else _0x42eba7['push'](_0x42eba7['shift']());}catch(_0x3477d6){_0x42eba7['push'](_0x42eba7['shift']());}}}(a207_0x26a0,0x25f12));import a207_0x40c206 from'node:path';import a207_0x55c810 from'node:fs';export async function copyDirectory(_0x495c3e,_0x2f677e){const _0x21c10a=a207_0x400e;try{const _0x29d0af=a207_0x55c810[_0x21c10a(0x11c)](_0x495c3e,{'withFileTypes':!![]});a207_0x55c810[_0x21c10a(0x11b)](_0x2f677e,{'recursive':!![]});for(const _0x5401ee of _0x29d0af){const _0xcaec9f=a207_0x40c206[_0x21c10a(0x121)](_0x495c3e,_0x5401ee[_0x21c10a(0x120)]),_0x1717af=a207_0x40c206[_0x21c10a(0x121)](_0x2f677e,_0x5401ee[_0x21c10a(0x120)]);_0x5401ee[_0x21c10a(0x119)]()?await copyDirectory(_0xcaec9f,_0x1717af):a207_0x55c810[_0x21c10a(0x126)](_0xcaec9f,_0x1717af);}}catch(_0x28c922){console[_0x21c10a(0x122)]('复制目录时出错:',_0x28c922);}}
@@ -1 +1 @@
1
- (function(_0x5ae4a1,_0x1346f5){const _0x386728=a208_0x4021,_0x8ded1c=_0x5ae4a1();while(!![]){try{const _0x1bb723=parseInt(_0x386728(0x1d0))/0x1*(parseInt(_0x386728(0x1d6))/0x2)+-parseInt(_0x386728(0x1d4))/0x3+parseInt(_0x386728(0x1d2))/0x4+-parseInt(_0x386728(0x1d1))/0x5*(parseInt(_0x386728(0x1cc))/0x6)+parseInt(_0x386728(0x1d5))/0x7*(parseInt(_0x386728(0x1cd))/0x8)+-parseInt(_0x386728(0x1ca))/0x9+-parseInt(_0x386728(0x1cf))/0xa;if(_0x1bb723===_0x1346f5)break;else _0x8ded1c['push'](_0x8ded1c['shift']());}catch(_0xd70467){_0x8ded1c['push'](_0x8ded1c['shift']());}}}(a208_0x555e,0xa5d04));function a208_0x4021(_0x29e0f9,_0x29e35d){_0x29e0f9=_0x29e0f9-0x1ca;const _0x555e12=a208_0x555e();let _0x40213d=_0x555e12[_0x29e0f9];return _0x40213d;}function toFiniteNumber(_0xe6024c){const _0x3eeafb=a208_0x4021;if(typeof _0xe6024c===_0x3eeafb(0x1d7)&&Number[_0x3eeafb(0x1d3)](_0xe6024c))return _0xe6024c;if(typeof _0xe6024c==='string'){const _0x376881=_0xe6024c[_0x3eeafb(0x1ce)]();if(!_0x376881)return undefined;const _0x2b8041=Number(_0x376881);if(Number[_0x3eeafb(0x1d3)](_0x2b8041))return _0x2b8041;}return undefined;}function a208_0x555e(){const _0x3846c8=['150UFfDNv','8arsyWJ','trim','1634510lqfJKB','19iHRQvf','82085KyMEXv','2480296lJGuZA','isFinite','2715780oBdaRC','4399157UEruDp','139796kIdkDK','number','3764511MjncEK','object'];a208_0x555e=function(){return _0x3846c8;};return a208_0x555e();}export function normalizeEntityWithIdResponse(_0x4bdb66){const _0xa29751=a208_0x4021,_0x1637a4=toFiniteNumber(_0x4bdb66);if(_0x1637a4!==undefined)return{'id':_0x1637a4,'entity':{'id':_0x1637a4}};if(!_0x4bdb66||typeof _0x4bdb66!==_0xa29751(0x1cb))return{'id':undefined,'entity':{}};const _0x221c07={..._0x4bdb66},_0x55f64a=toFiniteNumber(_0x221c07['id']);return _0x55f64a!==undefined&&(_0x221c07['id']=_0x55f64a),{'id':_0x55f64a,'entity':_0x221c07};}
1
+ function a208_0x55e0(){const _0x41b2c0=['899105oLMvot','trim','1803660cXUoUN','8UVSnyv','757878gVneNt','77FOfKzo','string','9893736wFLENT','9uQzHGy','1042116weJnKD','9261860uiOMqU','isFinite','2885215nRjJJf'];a208_0x55e0=function(){return _0x41b2c0;};return a208_0x55e0();}function a208_0x2bca(_0x1846e7,_0x1453b8){_0x1846e7=_0x1846e7-0xb7;const _0x55e098=a208_0x55e0();let _0x2bca38=_0x55e098[_0x1846e7];return _0x2bca38;}(function(_0x1ca7a4,_0x3d1cef){const _0x23918e=a208_0x2bca,_0x1136b0=_0x1ca7a4();while(!![]){try{const _0x2dbee6=-parseInt(_0x23918e(0xbf))/0x1+-parseInt(_0x23918e(0xc1))/0x2+parseInt(_0x23918e(0xbb))/0x3+parseInt(_0x23918e(0xc2))/0x4*(-parseInt(_0x23918e(0xbe))/0x5)+-parseInt(_0x23918e(0xc3))/0x6*(-parseInt(_0x23918e(0xb7))/0x7)+parseInt(_0x23918e(0xb9))/0x8+-parseInt(_0x23918e(0xba))/0x9*(-parseInt(_0x23918e(0xbc))/0xa);if(_0x2dbee6===_0x3d1cef)break;else _0x1136b0['push'](_0x1136b0['shift']());}catch(_0x4c521d){_0x1136b0['push'](_0x1136b0['shift']());}}}(a208_0x55e0,0xe6a39));function toFiniteNumber(_0x2641e1){const _0x302aec=a208_0x2bca;if(typeof _0x2641e1==='number'&&Number[_0x302aec(0xbd)](_0x2641e1))return _0x2641e1;if(typeof _0x2641e1===_0x302aec(0xb8)){const _0x7146ee=_0x2641e1[_0x302aec(0xc0)]();if(!_0x7146ee)return undefined;const _0x952ac7=Number(_0x7146ee);if(Number[_0x302aec(0xbd)](_0x952ac7))return _0x952ac7;}return undefined;}export function normalizeEntityWithIdResponse(_0x2f5e7f){const _0x185fc6=toFiniteNumber(_0x2f5e7f);if(_0x185fc6!==undefined)return{'id':_0x185fc6,'entity':{'id':_0x185fc6}};if(!_0x2f5e7f||typeof _0x2f5e7f!=='object')return{'id':undefined,'entity':{}};const _0x32111d={..._0x2f5e7f},_0x1c9f46=toFiniteNumber(_0x32111d['id']);return _0x1c9f46!==undefined&&(_0x32111d['id']=_0x1c9f46),{'id':_0x1c9f46,'entity':_0x32111d};}
@@ -1 +1 @@
1
- (function(_0x3488e7,_0x4f0cde){const _0x13065e=a209_0x18fd,_0x561aba=_0x3488e7();while(!![]){try{const _0x3a2da1=parseInt(_0x13065e(0xdb))/0x1+parseInt(_0x13065e(0xd0))/0x2*(-parseInt(_0x13065e(0xd6))/0x3)+-parseInt(_0x13065e(0xd5))/0x4*(parseInt(_0x13065e(0xd9))/0x5)+parseInt(_0x13065e(0xd2))/0x6+-parseInt(_0x13065e(0xd4))/0x7*(parseInt(_0x13065e(0xd8))/0x8)+-parseInt(_0x13065e(0xda))/0x9+parseInt(_0x13065e(0xd3))/0xa*(parseInt(_0x13065e(0xd7))/0xb);if(_0x3a2da1===_0x4f0cde)break;else _0x561aba['push'](_0x561aba['shift']());}catch(_0x286630){_0x561aba['push'](_0x561aba['shift']());}}}(a209_0x4972,0x5ba4a));import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';function a209_0x18fd(_0x968e7,_0x159fc2){_0x968e7=_0x968e7-0xd0;const _0x4972a3=a209_0x4972();let _0x18fda5=_0x4972a3[_0x968e7];return _0x18fda5;}function a209_0x4972(){const _0x542ce7=['243318kbeTxw','2djyepJ','isDirectory','2987148jGyrXj','2248170COXqSM','7lrsIet','558076JFAKEr','800049hpltwO','66EQENAJ','4523416kgRlFS','15BQRTlz','4176369zbYQQO'];a209_0x4972=function(){return _0x542ce7;};return a209_0x4972();}import{join}from'node:path';export async function copyDir(_0x193c9c,_0x3c6dd1){const _0x188469=a209_0x18fd,_0x767e06=statSync(_0x193c9c);if(_0x767e06[_0x188469(0xd1)]()){!existsSync(_0x3c6dd1)&&mkdirSync(_0x3c6dd1,{'recursive':!![]});const _0x5c4443=readdirSync(_0x193c9c);for(const _0x182062 of _0x5c4443){await copyDir(join(_0x193c9c,_0x182062),join(_0x3c6dd1,_0x182062));}}else copyFileSync(_0x193c9c,_0x3c6dd1);}export function ensureDir(_0x14d92f){!existsSync(_0x14d92f)&&mkdirSync(_0x14d92f,{'recursive':!![]});}export function pathExists(_0x3ba241){return existsSync(_0x3ba241);}
1
+ (function(_0x2e12f1,_0x1c2433){const _0x471181=a209_0x26d7,_0x15e090=_0x2e12f1();while(!![]){try{const _0x559f30=parseInt(_0x471181(0xf2))/0x1*(parseInt(_0x471181(0xf7))/0x2)+-parseInt(_0x471181(0xf4))/0x3*(-parseInt(_0x471181(0xee))/0x4)+parseInt(_0x471181(0xf3))/0x5*(parseInt(_0x471181(0xf1))/0x6)+parseInt(_0x471181(0xf5))/0x7*(-parseInt(_0x471181(0xf6))/0x8)+parseInt(_0x471181(0xf8))/0x9+-parseInt(_0x471181(0xed))/0xa*(-parseInt(_0x471181(0xf0))/0xb)+parseInt(_0x471181(0xf9))/0xc*(-parseInt(_0x471181(0xef))/0xd);if(_0x559f30===_0x1c2433)break;else _0x15e090['push'](_0x15e090['shift']());}catch(_0x333888){_0x15e090['push'](_0x15e090['shift']());}}}(a209_0x54c6,0xb271c));import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';function a209_0x54c6(){const _0x14ba45=['640ghNzzf','2379658VvbcKs','3989907nguvcj','11632368KTwfpz','20ySmvul','20NqewkA','26AmEuVm','1431276VARQUz','2456382dzrnFG','1qtqlNu','5otCytw','529041TgxJny','45052xVLmst'];a209_0x54c6=function(){return _0x14ba45;};return a209_0x54c6();}import{join}from'node:path';export async function copyDir(_0x338d0a,_0x340bc8){const _0xa4e7aa=statSync(_0x338d0a);if(_0xa4e7aa['isDirectory']()){!existsSync(_0x340bc8)&&mkdirSync(_0x340bc8,{'recursive':!![]});const _0x1bb3c8=readdirSync(_0x338d0a);for(const _0x12793b of _0x1bb3c8){await copyDir(join(_0x338d0a,_0x12793b),join(_0x340bc8,_0x12793b));}}else copyFileSync(_0x338d0a,_0x340bc8);}export function ensureDir(_0x48e376){!existsSync(_0x48e376)&&mkdirSync(_0x48e376,{'recursive':!![]});}function a209_0x26d7(_0x415935,_0x352aca){_0x415935=_0x415935-0xed;const _0x54c652=a209_0x54c6();let _0x26d752=_0x54c652[_0x415935];return _0x26d752;}export function pathExists(_0x52011f){return existsSync(_0x52011f);}
@@ -1 +1 @@
1
- function a210_0x186d(_0x411da0,_0x2c43a2){_0x411da0=_0x411da0-0x139;const _0x211158=a210_0x2111();let _0x186dd7=_0x211158[_0x411da0];return _0x186dd7;}const a210_0x50de9c=a210_0x186d;(function(_0x5e85b9,_0x4fed1f){const _0x19495e=a210_0x186d,_0x46b27f=_0x5e85b9();while(!![]){try{const _0x4c661d=parseInt(_0x19495e(0x15a))/0x1*(-parseInt(_0x19495e(0x139))/0x2)+parseInt(_0x19495e(0x155))/0x3+-parseInt(_0x19495e(0x14b))/0x4*(parseInt(_0x19495e(0x154))/0x5)+-parseInt(_0x19495e(0x14d))/0x6*(parseInt(_0x19495e(0x148))/0x7)+parseInt(_0x19495e(0x15c))/0x8+parseInt(_0x19495e(0x159))/0x9*(-parseInt(_0x19495e(0x13d))/0xa)+parseInt(_0x19495e(0x144))/0xb;if(_0x4c661d===_0x4fed1f)break;else _0x46b27f['push'](_0x46b27f['shift']());}catch(_0xf403ac){_0x46b27f['push'](_0x46b27f['shift']());}}}(a210_0x2111,0x853ff));import{mkdirSync,writeFileSync}from'node:fs';import{dirname,join}from'node:path';import{homedir}from'node:os';import{getTemplateBaseUrl}from'../utils/config.js';function getGuidesCdnUrl(){const _0x5859f9=a210_0x186d,_0x54be37=getTemplateBaseUrl();return _0x54be37+_0x5859f9(0x13a);}const CACHE_DIR=join(homedir(),a210_0x50de9c(0x146),a210_0x50de9c(0x14e));export async function fetchGuidesFromCDN(){const _0x1f3723=a210_0x50de9c,_0x31d115=getGuidesCdnUrl(),_0x2b03ab=await fetch(_0x31d115,{'headers':{'Accept':_0x1f3723(0x14f)}});if(!_0x2b03ab['ok'])throw new Error('CDN\x20请求失败:\x20'+_0x2b03ab[_0x1f3723(0x150)]+'\x20'+_0x2b03ab[_0x1f3723(0x149)]);const _0x45d0c1=await _0x2b03ab[_0x1f3723(0x141)]();if(!_0x45d0c1[_0x1f3723(0x13b)]||typeof _0x45d0c1['guides']!==_0x1f3723(0x153))throw new Error(_0x1f3723(0x158));return _0x45d0c1;}export function writeGuidesToProject(_0x49ae6d,_0x442fed,_0x14bdc8=a210_0x50de9c(0x152),_0x4afa03){const _0x525889=a210_0x50de9c,_0x56000a=join(_0x442fed,_0x14bdc8);mkdirSync(_0x56000a,{'recursive':!![]});for(const [_0x291d82,_0x125f0a]of Object[_0x525889(0x13c)](_0x49ae6d[_0x525889(0x13b)])){let _0x1d2f2a=_0x125f0a[_0x525889(0x13f)];_0x125f0a[_0x525889(0x142)]&&(_0x1d2f2a=appendUpdateTime(_0x1d2f2a,_0x125f0a['lastUpdated'])),writeFileSync(join(_0x56000a,_0x291d82+'.md'),_0x1d2f2a,_0x525889(0x151));}}export function appendUpdateTime(_0x1e9fef,_0x19ea18){const _0x33bf7d=a210_0x50de9c;return _0x1e9fef=_0x1e9fef[_0x33bf7d(0x143)](/\n*>更新时间:.*$/m,''),_0x1e9fef[_0x33bf7d(0x156)]()+(_0x33bf7d(0x15b)+_0x19ea18);}export function getSkillTemplate(_0x279193){const _0x4d5525=a210_0x50de9c;return _0x279193[_0x4d5525(0x157)]?.[_0x4d5525(0x13f)]||'';}export function appendExtendContents(_0x321e02,_0x31ab49,_0x532807){const _0x32ba24=a210_0x50de9c,_0x59c59e=[];for(const [,_0x57b5d0]of Object['entries'](_0x31ab49['guides'])){_0x57b5d0[_0x32ba24(0x13e)]&&_0x59c59e[_0x32ba24(0x145)](_0x57b5d0[_0x32ba24(0x13e)][_0x32ba24(0x156)]());}if(_0x59c59e[_0x32ba24(0x140)]===0x0)return _0x321e02;return _0x321e02['trimEnd']()+'\x0a\x0a'+_0x59c59e['join']('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x53d416,_0x3d345a,_0x28f512){const _0x46c1f7=a210_0x50de9c,_0x2448d4=getSkillTemplate(_0x53d416);if(!_0x2448d4)throw new Error('CDN\x20数据中缺少\x20skillTemplate');const _0x3c8574=dirname(_0x3d345a);mkdirSync(_0x3c8574,{'recursive':!![]});let _0x6ce3d=_0x2448d4[_0x46c1f7(0x143)](/\{\{IDE_NAME\}\}/g,_0x28f512);_0x6ce3d=appendExtendContents(_0x6ce3d,_0x53d416),_0x53d416[_0x46c1f7(0x157)][_0x46c1f7(0x142)]&&(_0x6ce3d=appendUpdateTime(_0x6ce3d,_0x53d416[_0x46c1f7(0x157)][_0x46c1f7(0x142)])),writeFileSync(_0x3d345a,_0x6ce3d,_0x46c1f7(0x151));}function a210_0x2111(){const _0x28afd6=['json','lastUpdated','replace','10233839DoFECc','push','.lovrabet','keys','101164NEQfmZ','statusText','map','151324ffcjNA','path','258mLaFhz','cache','application/json','status','utf-8','.lovrabet/skill/guides','object','85BujGFW','2244159STgfjY','trimEnd','skillTemplate','CDN\x20返回数据格式错误','468hPeHbj','257TcVlWx','\x0a\x0a>更新时间:','8075976bzeQhd','6106ZegpPT','/skills/guides.json','guides','entries','17870TJFkmN','extendContent','content','length'];a210_0x2111=function(){return _0x28afd6;};return a210_0x2111();}export async function installGuides(_0x182eaa){const _0x5070d1=a210_0x50de9c,_0x50860d=await fetchGuidesFromCDN();return writeGuidesToProject(_0x50860d,_0x182eaa),Object[_0x5070d1(0x147)](_0x50860d[_0x5070d1(0x13b)])[_0x5070d1(0x140)];}export function getGuidesSummary(_0x24014b){const _0x466b5e=a210_0x50de9c;return Object[_0x466b5e(0x13c)](_0x24014b[_0x466b5e(0x13b)])[_0x466b5e(0x14a)](([_0x47dd97,_0x4a4f75])=>({'key':_0x47dd97,'title':_0x4a4f75['title'],'path':_0x4a4f75[_0x466b5e(0x14c)]}));}
1
+ const a210_0x4409a2=a210_0x14bf;(function(_0x5ddc2e,_0x5589d0){const _0xadedf4=a210_0x14bf,_0x10cb96=_0x5ddc2e();while(!![]){try{const _0x5146d9=parseInt(_0xadedf4(0x182))/0x1+parseInt(_0xadedf4(0x184))/0x2*(parseInt(_0xadedf4(0x183))/0x3)+parseInt(_0xadedf4(0x17f))/0x4+-parseInt(_0xadedf4(0x186))/0x5+-parseInt(_0xadedf4(0x198))/0x6+-parseInt(_0xadedf4(0x187))/0x7*(-parseInt(_0xadedf4(0x180))/0x8)+-parseInt(_0xadedf4(0x177))/0x9;if(_0x5146d9===_0x5589d0)break;else _0x10cb96['push'](_0x10cb96['shift']());}catch(_0x578a6e){_0x10cb96['push'](_0x10cb96['shift']());}}}(a210_0x322e,0x30d5f));import{mkdirSync,writeFileSync}from'node:fs';import{dirname,join}from'node:path';import{homedir}from'node:os';import{getTemplateBaseUrl}from'../utils/config.js';function getGuidesCdnUrl(){const _0x3e14b5=a210_0x14bf,_0x453b0b=getTemplateBaseUrl();return _0x453b0b+_0x3e14b5(0x179);}const CACHE_DIR=join(homedir(),a210_0x4409a2(0x191),a210_0x4409a2(0x18c));function a210_0x14bf(_0x334ed9,_0x5c5599){_0x334ed9=_0x334ed9-0x177;const _0x322e4d=a210_0x322e();let _0x14bf18=_0x322e4d[_0x334ed9];return _0x14bf18;}export async function fetchGuidesFromCDN(){const _0x26d0cf=a210_0x4409a2,_0x11231b=getGuidesCdnUrl(),_0x181208=await fetch(_0x11231b,{'headers':{'Accept':_0x26d0cf(0x18d)}});if(!_0x181208['ok'])throw new Error('CDN\x20请求失败:\x20'+_0x181208[_0x26d0cf(0x18a)]+'\x20'+_0x181208[_0x26d0cf(0x17d)]);const _0x4e0e3b=await _0x181208[_0x26d0cf(0x18b)]();if(!_0x4e0e3b['guides']||typeof _0x4e0e3b[_0x26d0cf(0x195)]!==_0x26d0cf(0x192))throw new Error(_0x26d0cf(0x189));return _0x4e0e3b;}function a210_0x322e(){const _0x516d8f=['entries','CDN\x20返回数据格式错误','status','json','cache','application/json','lastUpdated','\x0a\x0a>更新时间:','map','.lovrabet','object','path','content','guides','.lovrabet/skill/guides','trimEnd','1230852HXRFmH','extendContent','keys','2106918HYGGeb','title','/skills/guides.json','skillTemplate','utf-8','replace','statusText','length','259796JSSrHG','6264wOHpaw','CDN\x20数据中缺少\x20skillTemplate','382605fRruaE','150iTZIHi','9242pYlmoi','join','572485ANwWuZ','672OAOaZs'];a210_0x322e=function(){return _0x516d8f;};return a210_0x322e();}export function writeGuidesToProject(_0x24e310,_0xc1573a,_0x4e6c1a=a210_0x4409a2(0x196),_0x2952f1){const _0x48bfcf=a210_0x4409a2,_0x51c906=join(_0xc1573a,_0x4e6c1a);mkdirSync(_0x51c906,{'recursive':!![]});for(const [_0x42735d,_0x4dc53d]of Object[_0x48bfcf(0x188)](_0x24e310['guides'])){let _0x21d072=_0x4dc53d[_0x48bfcf(0x194)];_0x4dc53d[_0x48bfcf(0x18e)]&&(_0x21d072=appendUpdateTime(_0x21d072,_0x4dc53d[_0x48bfcf(0x18e)])),writeFileSync(join(_0x51c906,_0x42735d+'.md'),_0x21d072,_0x48bfcf(0x17b));}}export function appendUpdateTime(_0x58e343,_0x586164){const _0x4d5013=a210_0x4409a2;return _0x58e343=_0x58e343[_0x4d5013(0x17c)](/\n*>更新时间:.*$/m,''),_0x58e343['trimEnd']()+(_0x4d5013(0x18f)+_0x586164);}export function getSkillTemplate(_0x23bdc1){const _0x27750c=a210_0x4409a2;return _0x23bdc1[_0x27750c(0x17a)]?.[_0x27750c(0x194)]||'';}export function appendExtendContents(_0x23220d,_0x2a6781,_0x15f8ba){const _0x64256b=a210_0x4409a2,_0x41fa3e=[];for(const [,_0x411c82]of Object[_0x64256b(0x188)](_0x2a6781[_0x64256b(0x195)])){_0x411c82[_0x64256b(0x199)]&&_0x41fa3e['push'](_0x411c82[_0x64256b(0x199)][_0x64256b(0x197)]());}if(_0x41fa3e[_0x64256b(0x17e)]===0x0)return _0x23220d;return _0x23220d[_0x64256b(0x197)]()+'\x0a\x0a'+_0x41fa3e[_0x64256b(0x185)]('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x1ed2a1,_0x1f052c,_0xdb02b){const _0x4806e0=a210_0x4409a2,_0x575424=getSkillTemplate(_0x1ed2a1);if(!_0x575424)throw new Error(_0x4806e0(0x181));const _0x503b06=dirname(_0x1f052c);mkdirSync(_0x503b06,{'recursive':!![]});let _0x364ac5=_0x575424[_0x4806e0(0x17c)](/\{\{IDE_NAME\}\}/g,_0xdb02b);_0x364ac5=appendExtendContents(_0x364ac5,_0x1ed2a1),_0x1ed2a1['skillTemplate']['lastUpdated']&&(_0x364ac5=appendUpdateTime(_0x364ac5,_0x1ed2a1[_0x4806e0(0x17a)][_0x4806e0(0x18e)])),writeFileSync(_0x1f052c,_0x364ac5,_0x4806e0(0x17b));}export async function installGuides(_0x1bd488){const _0xdf7771=a210_0x4409a2,_0x83f9b2=await fetchGuidesFromCDN();return writeGuidesToProject(_0x83f9b2,_0x1bd488),Object[_0xdf7771(0x19a)](_0x83f9b2['guides'])[_0xdf7771(0x17e)];}export function getGuidesSummary(_0x403599){const _0x29d53c=a210_0x4409a2;return Object[_0x29d53c(0x188)](_0x403599['guides'])[_0x29d53c(0x190)](([_0x68edd2,_0x494aad])=>({'key':_0x68edd2,'title':_0x494aad[_0x29d53c(0x178)],'path':_0x494aad[_0x29d53c(0x193)]}));}
@@ -1 +1 @@
1
- (function(_0x2f3de,_0x5d66d3){const _0x594d26=a211_0x368e,_0x5c294c=_0x2f3de();while(!![]){try{const _0xe8db1b=parseInt(_0x594d26(0x167))/0x1*(-parseInt(_0x594d26(0x169))/0x2)+parseInt(_0x594d26(0x16b))/0x3*(parseInt(_0x594d26(0x14e))/0x4)+-parseInt(_0x594d26(0x16a))/0x5*(-parseInt(_0x594d26(0x15d))/0x6)+-parseInt(_0x594d26(0x152))/0x7*(parseInt(_0x594d26(0x158))/0x8)+-parseInt(_0x594d26(0x159))/0x9*(parseInt(_0x594d26(0x14f))/0xa)+parseInt(_0x594d26(0x154))/0xb*(-parseInt(_0x594d26(0x16c))/0xc)+parseInt(_0x594d26(0x153))/0xd;if(_0xe8db1b===_0x5d66d3)break;else _0x5c294c['push'](_0x5c294c['shift']());}catch(_0x4af133){_0x5c294c['push'](_0x5c294c['shift']());}}}(a211_0x3669,0x5ccbc));export async function httpRequest(_0x564443,_0x36f9b0={}){const _0x2d2a66=a211_0x368e,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x36f9b0;let _0x2136f1=null;for(let _0x1cfff3=0x0;_0x1cfff3<=retries;_0x1cfff3++){try{const _0x5635c8=new AbortController(),_0x1334ad=setTimeout(()=>_0x5635c8[_0x2d2a66(0x15c)](),timeout),_0x596261=await fetch(_0x564443,{'headers':headers,'signal':_0x5635c8['signal']});clearTimeout(_0x1334ad);let _0x217aeb;const _0x33adda=_0x596261[_0x2d2a66(0x165)][_0x2d2a66(0x168)](_0x2d2a66(0x164));return _0x33adda?.[_0x2d2a66(0x15a)](_0x2d2a66(0x157))?_0x217aeb=await _0x596261[_0x2d2a66(0x15e)]():_0x217aeb=await _0x596261[_0x2d2a66(0x15b)](),{'ok':_0x596261['ok'],'status':_0x596261[_0x2d2a66(0x163)],'statusText':_0x596261[_0x2d2a66(0x151)],'data':_0x217aeb,'headers':_0x596261[_0x2d2a66(0x165)],'url':_0x596261[_0x2d2a66(0x14c)],'text':()=>_0x596261[_0x2d2a66(0x15b)]()};}catch(_0x4478ff){_0x2136f1=_0x4478ff instanceof Error?_0x4478ff:new Error(String(_0x4478ff));if(_0x1cfff3===retries)break;if(shouldRetry(_0x4478ff)){console['log'](_0x2d2a66(0x14b)+retryDelay+_0x2d2a66(0x14a)+(_0x1cfff3+0x1)+_0x2d2a66(0x162)),await sleep(retryDelay);continue;}else break;}}throw _0x2136f1||new Error(_0x2d2a66(0x160));}function a211_0x368e(_0x21c798,_0x3ecec5){_0x21c798=_0x21c798-0x14a;const _0x366905=a211_0x3669();let _0x368ed9=_0x366905[_0x21c798];return _0x368ed9;}function shouldRetry(_0x1939b8){const _0x5e3401=a211_0x368e;if(_0x1939b8 instanceof Error){if(_0x1939b8[_0x5e3401(0x155)]===_0x5e3401(0x161))return![];if(_0x1939b8[_0x5e3401(0x155)]===_0x5e3401(0x150)&&_0x1939b8[_0x5e3401(0x15f)]['includes'](_0x5e3401(0x156)))return!![];if(_0x1939b8[_0x5e3401(0x15f)]['includes'](_0x5e3401(0x14d)))return!![];if(_0x1939b8['message'][_0x5e3401(0x15a)](_0x5e3401(0x166)))return![];}return![];}function sleep(_0x2376fb){return new Promise(_0x234903=>setTimeout(_0x234903,_0x2376fb));}function a211_0x3669(){const _0x4e3a3c=['11142053cmotRQ','1375HYwUwa','name','fetch','application/json','840iVEwTp','7578DTjVyj','includes','text','abort','264CeEQRe','json','message','Request\x20failed','AbortError','\x20次重试...','status','content-type','headers','ENOTFOUND','1RwHKQD','get','1155254GUEYVH','11175fRjmsj','348LzBYsz','25836AypQyZ','ms\x20后进行第\x20','*\x20请求失败,','url','ECONNRESET','25468oRoZBi','3170AoXDth','TypeError','statusText','13349LXlGXf'];a211_0x3669=function(){return _0x4e3a3c;};return a211_0x3669();}export function validateUrl(_0x4c61da){try{return new URL(_0x4c61da),!![];}catch{return![];}}
1
+ (function(_0x2a02e4,_0x3ffe95){const _0x3a9c93=a211_0x5892,_0xe2239=_0x2a02e4();while(!![]){try{const _0x3fafcb=parseInt(_0x3a9c93(0x75))/0x1*(-parseInt(_0x3a9c93(0x6a))/0x2)+parseInt(_0x3a9c93(0x87))/0x3*(parseInt(_0x3a9c93(0x7a))/0x4)+-parseInt(_0x3a9c93(0x88))/0x5*(parseInt(_0x3a9c93(0x85))/0x6)+-parseInt(_0x3a9c93(0x84))/0x7*(-parseInt(_0x3a9c93(0x71))/0x8)+-parseInt(_0x3a9c93(0x73))/0x9*(parseInt(_0x3a9c93(0x6d))/0xa)+parseInt(_0x3a9c93(0x74))/0xb*(parseInt(_0x3a9c93(0x70))/0xc)+-parseInt(_0x3a9c93(0x83))/0xd;if(_0x3fafcb===_0x3ffe95)break;else _0xe2239['push'](_0xe2239['shift']());}catch(_0xe2d552){_0xe2239['push'](_0xe2239['shift']());}}}(a211_0x43fa,0xde250));export async function httpRequest(_0x293a53,_0x19216f={}){const _0x4b3bb0=a211_0x5892,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x19216f;let _0x34336a=null;for(let _0x5b572f=0x0;_0x5b572f<=retries;_0x5b572f++){try{const _0x253e25=new AbortController(),_0x502946=setTimeout(()=>_0x253e25[_0x4b3bb0(0x82)](),timeout),_0x345c8d=await fetch(_0x293a53,{'headers':headers,'signal':_0x253e25['signal']});clearTimeout(_0x502946);let _0x586b53;const _0x30a151=_0x345c8d[_0x4b3bb0(0x6f)][_0x4b3bb0(0x6b)](_0x4b3bb0(0x77));return _0x30a151?.[_0x4b3bb0(0x79)](_0x4b3bb0(0x80))?_0x586b53=await _0x345c8d[_0x4b3bb0(0x89)]():_0x586b53=await _0x345c8d[_0x4b3bb0(0x86)](),{'ok':_0x345c8d['ok'],'status':_0x345c8d[_0x4b3bb0(0x81)],'statusText':_0x345c8d['statusText'],'data':_0x586b53,'headers':_0x345c8d['headers'],'url':_0x345c8d[_0x4b3bb0(0x7e)],'text':()=>_0x345c8d[_0x4b3bb0(0x86)]()};}catch(_0x333d0e){_0x34336a=_0x333d0e instanceof Error?_0x333d0e:new Error(String(_0x333d0e));if(_0x5b572f===retries)break;if(shouldRetry(_0x333d0e)){console['log'](_0x4b3bb0(0x72)+retryDelay+'ms\x20后进行第\x20'+(_0x5b572f+0x1)+_0x4b3bb0(0x76)),await sleep(retryDelay);continue;}else break;}}throw _0x34336a||new Error(_0x4b3bb0(0x7c));}function shouldRetry(_0x4895cc){const _0xdd6d1d=a211_0x5892;if(_0x4895cc instanceof Error){if(_0x4895cc[_0xdd6d1d(0x7d)]===_0xdd6d1d(0x6e))return![];if(_0x4895cc['name']===_0xdd6d1d(0x8a)&&_0x4895cc[_0xdd6d1d(0x7f)]['includes'](_0xdd6d1d(0x78)))return!![];if(_0x4895cc[_0xdd6d1d(0x7f)]['includes'](_0xdd6d1d(0x7b)))return!![];if(_0x4895cc[_0xdd6d1d(0x7f)][_0xdd6d1d(0x79)](_0xdd6d1d(0x6c)))return![];}return![];}function sleep(_0x19f30a){return new Promise(_0x404137=>setTimeout(_0x404137,_0x19f30a));}function a211_0x5892(_0xb11e04,_0x209472){_0xb11e04=_0xb11e04-0x6a;const _0x43fa97=a211_0x43fa();let _0x589247=_0x43fa97[_0xb11e04];return _0x589247;}export function validateUrl(_0x51aff0){try{return new URL(_0x51aff0),!![];}catch{return![];}}function a211_0x43fa(){const _0x49d899=['218608xsuDDb','*\x20请求失败,','1610649sVcJEH','11XuVdBK','71NPHQMF','\x20次重试...','content-type','fetch','includes','8FYrfgd','ECONNRESET','Request\x20failed','name','url','message','application/json','status','abort','12231141lFsQFZ','420EZTqcY','6TTnlcN','text','2256423wWboow','3118160HvhyCy','json','TypeError','19924qscabt','get','ENOTFOUND','50zerytM','AbortError','headers','11191896wBGCVd'];a211_0x43fa=function(){return _0x49d899;};return a211_0x43fa();}
@@ -1 +1 @@
1
- (function(_0x2d0ed9,_0x5009ce){const _0x594e47=a212_0xbe96,_0x4f54b7=_0x2d0ed9();while(!![]){try{const _0xeb377a=parseInt(_0x594e47(0x178))/0x1+-parseInt(_0x594e47(0x17b))/0x2+parseInt(_0x594e47(0x173))/0x3*(parseInt(_0x594e47(0x16b))/0x4)+parseInt(_0x594e47(0x175))/0x5+-parseInt(_0x594e47(0x179))/0x6*(parseInt(_0x594e47(0x17a))/0x7)+-parseInt(_0x594e47(0x16f))/0x8*(parseInt(_0x594e47(0x16e))/0x9)+parseInt(_0x594e47(0x176))/0xa*(parseInt(_0x594e47(0x171))/0xb);if(_0xeb377a===_0x5009ce)break;else _0x4f54b7['push'](_0x4f54b7['shift']());}catch(_0x5104d2){_0x4f54b7['push'](_0x4f54b7['shift']());}}}(a212_0x1b11,0x24878));function a212_0xbe96(_0x5b7b7a,_0x225d87){_0x5b7b7a=_0x5b7b7a-0x16b;const _0x1b1107=a212_0x1b11();let _0xbe96de=_0x1b1107[_0x5b7b7a];return _0xbe96de;}function env(_0x512617){return process.env[`RABETBASE_${_0x512617}`]||process.env[`LOVRABET_${_0x512617}`]||undefined;}export function isNonInteractive(_0x7055){const _0x34a965=a212_0xbe96;return!!(_0x7055[_0x34a965(0x174)]||_0x7055['ci']||env('CI')===_0x34a965(0x177)||process.env.CI===_0x34a965(0x177)||!process[_0x34a965(0x16c)][_0x34a965(0x16d)]||!isStdinRawModeSupported());}function a212_0x1b11(){const _0x3587be=['94890tAiKng','true','140754MepVaN','8178CRxBeM','1148qOZnPY','90152FZuyfS','stdin','4PxsXvu','stdout','isTTY','171KIwYYK','24136VBouuq','setRawMode','66pnrNJw','isRaw','632481WyHaOC','nonInteractive','335200ISprQb'];a212_0x1b11=function(){return _0x3587be;};return a212_0x1b11();}function isStdinRawModeSupported(){const _0x54a48e=a212_0xbe96;if(!process[_0x54a48e(0x17c)][_0x54a48e(0x16d)])return![];try{const _0x43abd6=process[_0x54a48e(0x17c)][_0x54a48e(0x172)];return process[_0x54a48e(0x17c)]['setRawMode'](!![]),process['stdin'][_0x54a48e(0x170)](_0x43abd6??![]),!![];}catch{return![];}}
1
+ function a212_0x152c(){const _0x7a58ea=['520QknHdm','21344060RihKiX','5897742jetjtX','6590528ksbgyP','setRawMode','267456nDBFkU','isRaw','stdin','11065IrzUWY','true','134992JpnDhU','nonInteractive','stdout','261KAEwPK','76vahBYU','isTTY','21255MnvZIk'];a212_0x152c=function(){return _0x7a58ea;};return a212_0x152c();}function a212_0x2f80(_0x34bee6,_0x4a78ce){_0x34bee6=_0x34bee6-0x137;const _0x152c4f=a212_0x152c();let _0x2f804a=_0x152c4f[_0x34bee6];return _0x2f804a;}(function(_0x3a64b6,_0x1f8a42){const _0x423a7f=a212_0x2f80,_0x88c2af=_0x3a64b6();while(!![]){try{const _0x49d90a=-parseInt(_0x423a7f(0x13c))/0x1*(parseInt(_0x423a7f(0x13a))/0x2)+parseInt(_0x423a7f(0x142))/0x3+parseInt(_0x423a7f(0x13d))/0x4*(-parseInt(_0x423a7f(0x145))/0x5)+-parseInt(_0x423a7f(0x13f))/0x6+parseInt(_0x423a7f(0x140))/0x7+parseInt(_0x423a7f(0x147))/0x8*(-parseInt(_0x423a7f(0x139))/0x9)+parseInt(_0x423a7f(0x13e))/0xa;if(_0x49d90a===_0x1f8a42)break;else _0x88c2af['push'](_0x88c2af['shift']());}catch(_0x36fedd){_0x88c2af['push'](_0x88c2af['shift']());}}}(a212_0x152c,0x91d83));function env(_0x186de9){return process.env[`RABETBASE_${_0x186de9}`]||process.env[`LOVRABET_${_0x186de9}`]||undefined;}export function isNonInteractive(_0x2746e5){const _0x1a50ff=a212_0x2f80;return!!(_0x2746e5[_0x1a50ff(0x137)]||_0x2746e5['ci']||env('CI')===_0x1a50ff(0x146)||process.env.CI==='true'||!process[_0x1a50ff(0x138)][_0x1a50ff(0x13b)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x20994b=a212_0x2f80;if(!process[_0x20994b(0x144)][_0x20994b(0x13b)])return![];try{const _0xac5019=process[_0x20994b(0x144)][_0x20994b(0x143)];return process['stdin'][_0x20994b(0x141)](!![]),process[_0x20994b(0x144)][_0x20994b(0x141)](_0xac5019??![]),!![];}catch{return![];}}