@lovrabet/rabetbase-cli 2.3.5 → 2.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) 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/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/remote-directory.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-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/dry-run.js +1 -1
  48. package/lib/commands/common/flags.js +1 -1
  49. package/lib/commands/common/validate.js +1 -1
  50. package/lib/commands/config/get.js +1 -1
  51. package/lib/commands/config/index.js +1 -1
  52. package/lib/commands/config/list.js +1 -1
  53. package/lib/commands/config/set.js +1 -1
  54. package/lib/commands/config/shared.js +1 -1
  55. package/lib/commands/data/filter.js +1 -1
  56. package/lib/commands/data/getOne.js +1 -1
  57. package/lib/commands/data/index.js +1 -1
  58. package/lib/commands/data/shared.js +1 -1
  59. package/lib/commands/dataset/business-group-update.js +1 -1
  60. package/lib/commands/dataset/capability.js +1 -1
  61. package/lib/commands/dataset/delete.js +1 -1
  62. package/lib/commands/dataset/detail.js +1 -1
  63. package/lib/commands/dataset/extend-update.js +1 -1
  64. package/lib/commands/dataset/field-update.js +1 -1
  65. package/lib/commands/dataset/generate.js +1 -1
  66. package/lib/commands/dataset/index.js +1 -1
  67. package/lib/commands/dataset/list.js +1 -1
  68. package/lib/commands/dataset/operations.js +1 -1
  69. package/lib/commands/dataset/relation-audit.js +1 -1
  70. package/lib/commands/dataset/relation-create.js +1 -1
  71. package/lib/commands/dataset/relation-delete.js +1 -1
  72. package/lib/commands/dataset/relation-shared.js +1 -1
  73. package/lib/commands/dataset/relation-update.js +1 -1
  74. package/lib/commands/dataset/relations.js +1 -1
  75. package/lib/commands/dataset/rename.js +1 -1
  76. package/lib/commands/dataset/restore.js +1 -1
  77. package/lib/commands/db/analyze-cancel.js +1 -1
  78. package/lib/commands/db/analyze-start.js +1 -1
  79. package/lib/commands/db/analyze-status.js +1 -1
  80. package/lib/commands/db/create.js +1 -1
  81. package/lib/commands/db/delete.js +1 -1
  82. package/lib/commands/db/detail.js +1 -1
  83. package/lib/commands/db/diff.js +1 -1
  84. package/lib/commands/db/index.js +1 -1
  85. package/lib/commands/db/list.js +1 -1
  86. package/lib/commands/db/shared.js +1 -1
  87. package/lib/commands/db/tables.js +1 -1
  88. package/lib/commands/db/test.js +1 -1
  89. package/lib/commands/db/update.js +1 -1
  90. package/lib/commands/doctor.js +1 -1
  91. package/lib/commands/init/index.js +1 -1
  92. package/lib/commands/issue/index.js +1 -1
  93. package/lib/commands/issue/nudge.js +1 -1
  94. package/lib/commands/issue/report.js +1 -1
  95. package/lib/commands/issue/shared.js +1 -1
  96. package/lib/commands/logs/index.js +1 -1
  97. package/lib/commands/menu/index.js +1 -1
  98. package/lib/commands/menu/list.js +1 -1
  99. package/lib/commands/menu/shared/compare-table.js +1 -1
  100. package/lib/commands/menu/shared/index.js +1 -1
  101. package/lib/commands/menu/shared/inquirer.js +1 -1
  102. package/lib/commands/menu/shared/local-pages.js +1 -1
  103. package/lib/commands/menu/shared/logic.js +1 -1
  104. package/lib/commands/menu/shared/service.js +1 -1
  105. package/lib/commands/menu/shared/sync-core.js +1 -1
  106. package/lib/commands/menu/shared/update-core.js +1 -1
  107. package/lib/commands/menu/shared/valid-url.js +1 -1
  108. package/lib/commands/menu/sync.js +1 -1
  109. package/lib/commands/menu/update.js +1 -1
  110. package/lib/commands/page/generate-start.js +1 -1
  111. package/lib/commands/page/generate-status.js +1 -1
  112. package/lib/commands/page/index.js +1 -1
  113. package/lib/commands/page/pull.js +1 -1
  114. package/lib/commands/page/push.js +1 -1
  115. package/lib/commands/page/relation-audit.js +1 -1
  116. package/lib/commands/page/shared.js +1 -1
  117. package/lib/commands/page/standard-page-status.js +1 -1
  118. package/lib/commands/page/sync.js +1 -1
  119. package/lib/commands/permit/index.js +1 -1
  120. package/lib/commands/permit/page-get.js +1 -1
  121. package/lib/commands/permit/page-set.js +1 -1
  122. package/lib/commands/permit/role-apis-set.js +1 -1
  123. package/lib/commands/permit/role-menus-set.js +1 -1
  124. package/lib/commands/permit/role-menus.js +1 -1
  125. package/lib/commands/permit/shared.js +1 -1
  126. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  127. package/lib/commands/project/create/format-elapsed.js +1 -1
  128. package/lib/commands/project/create/main.js +1 -1
  129. package/lib/commands/project/create/non-interactive.js +1 -1
  130. package/lib/commands/project/create/project-template-path.js +1 -1
  131. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  132. package/lib/commands/project/create/use-format-code.js +1 -1
  133. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  134. package/lib/commands/project/index.js +1 -1
  135. package/lib/commands/project/init.js +1 -1
  136. package/lib/commands/project/upgrade.js +1 -1
  137. package/lib/commands/registry.js +1 -1
  138. package/lib/commands/role/create.js +1 -1
  139. package/lib/commands/role/delete.js +1 -1
  140. package/lib/commands/role/detail.js +1 -1
  141. package/lib/commands/role/index.js +1 -1
  142. package/lib/commands/role/list.js +1 -1
  143. package/lib/commands/role/shared.js +1 -1
  144. package/lib/commands/role/update.js +1 -1
  145. package/lib/commands/role/user-add.js +1 -1
  146. package/lib/commands/role/user-remove.js +1 -1
  147. package/lib/commands/role/user-resolve.js +1 -1
  148. package/lib/commands/run/index.js +1 -1
  149. package/lib/commands/schema.js +1 -1
  150. package/lib/commands/sql/create.js +1 -1
  151. package/lib/commands/sql/delete.js +1 -1
  152. package/lib/commands/sql/detail.js +1 -1
  153. package/lib/commands/sql/exec.js +1 -1
  154. package/lib/commands/sql/index.js +1 -1
  155. package/lib/commands/sql/list.js +1 -1
  156. package/lib/commands/sql/pull.js +1 -1
  157. package/lib/commands/sql/push.js +1 -1
  158. package/lib/commands/sql/save.js +1 -1
  159. package/lib/commands/sql/shared.js +1 -1
  160. package/lib/commands/sql/status.js +1 -1
  161. package/lib/commands/sql/validate.js +1 -1
  162. package/lib/commands/workspace/add.js +1 -1
  163. package/lib/commands/workspace/index.js +1 -1
  164. package/lib/commands/workspace/remove.js +1 -1
  165. package/lib/config/schema.js +1 -1
  166. package/lib/constant/cdn.js +1 -1
  167. package/lib/constant/cli.js +1 -1
  168. package/lib/constant/defaults.js +1 -1
  169. package/lib/constant/domain.js +1 -1
  170. package/lib/constant/env.js +1 -1
  171. package/lib/constant/output.js +1 -1
  172. package/lib/constant/paths.js +1 -1
  173. package/lib/constant/risk.js +1 -1
  174. package/lib/context/app-resolver.js +1 -1
  175. package/lib/context/auth-resolver.js +1 -1
  176. package/lib/context/config-loader.js +1 -1
  177. package/lib/context.js +1 -1
  178. package/lib/core/alias-resolver.js +1 -1
  179. package/lib/core/api-client.js +1 -1
  180. package/lib/core/bff/config.js +1 -1
  181. package/lib/core/bff/file-system.js +1 -1
  182. package/lib/core/bff/hash.js +1 -1
  183. package/lib/core/bff/lock.js +1 -1
  184. package/lib/core/bff/utils.js +1 -1
  185. package/lib/core/db-resolver.js +1 -1
  186. package/lib/core/page/file-system.js +1 -1
  187. package/lib/core/page/hash.js +1 -1
  188. package/lib/core/page/lock.js +1 -1
  189. package/lib/core/sql-sync/config.js +1 -1
  190. package/lib/core/sql-sync/file-system.js +1 -1
  191. package/lib/core/sql-sync/hash.js +1 -1
  192. package/lib/core/sql-sync/lock.js +1 -1
  193. package/lib/core/sql-sync/utils.js +1 -1
  194. package/lib/core/sql-validator.js +1 -1
  195. package/lib/errors.js +1 -1
  196. package/lib/framework/build-all-flags.js +1 -1
  197. package/lib/framework/flags.js +1 -1
  198. package/lib/framework/help.js +1 -1
  199. package/lib/framework/index.js +1 -1
  200. package/lib/framework/output.js +1 -1
  201. package/lib/framework/response.js +1 -1
  202. package/lib/framework/runner-alias.js +1 -1
  203. package/lib/framework/runner.js +1 -1
  204. package/lib/framework/schema-export.js +1 -1
  205. package/lib/framework/types.js +1 -1
  206. package/lib/generated/build-info.js +1 -1
  207. package/lib/help.js +1 -1
  208. package/lib/skills/main.js +1 -1
  209. package/lib/skills/npx-skills-add.js +1 -1
  210. package/lib/telemetry/cli-command-trace.js +1 -1
  211. package/lib/telemetry/cli-help-trace.js +1 -1
  212. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  213. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  214. package/lib/telemetry/send-cli-trace-log.js +1 -1
  215. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  216. package/lib/utils/ai_config.js +1 -1
  217. package/lib/utils/apply-jq-filter.js +1 -1
  218. package/lib/utils/cdn-config.js +1 -1
  219. package/lib/utils/check-sdk-version.js +1 -1
  220. package/lib/utils/cli-version-check.js +1 -1
  221. package/lib/utils/cli-version-policy.js +1 -1
  222. package/lib/utils/config.js +1 -1
  223. package/lib/utils/copy-directory.js +1 -1
  224. package/lib/utils/entity-with-id.js +1 -1
  225. package/lib/utils/file-utils.js +1 -1
  226. package/lib/utils/guides-cdn.js +1 -1
  227. package/lib/utils/http-client.js +1 -1
  228. package/lib/utils/is-non-interactive.js +1 -1
  229. package/lib/utils/logger.js +1 -1
  230. package/lib/utils/params.js +1 -1
  231. package/lib/utils/platform.js +1 -1
  232. package/lib/utils/rules-cdn.js +1 -1
  233. package/lib/utils/sleep.js +1 -1
  234. package/lib/utils/template-replacer.js +1 -1
  235. package/lib/utils/update-notice.js +1 -1
  236. package/lib/utils/version.js +1 -1
  237. package/lib/utils/with-active-cookie.js +1 -1
  238. package/lib/utils/write-cli-side-channel.js +1 -1
  239. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x5147e2,_0x4ab087){const _0x126e18=a211_0x5732,_0x3c85e4=_0x5147e2();while(!![]){try{const _0x49b9ea=-parseInt(_0x126e18(0x116))/0x1*(parseInt(_0x126e18(0x102))/0x2)+-parseInt(_0x126e18(0x10b))/0x3+-parseInt(_0x126e18(0x115))/0x4*(parseInt(_0x126e18(0x11b))/0x5)+-parseInt(_0x126e18(0x110))/0x6+parseInt(_0x126e18(0x11a))/0x7*(-parseInt(_0x126e18(0x10d))/0x8)+-parseInt(_0x126e18(0x111))/0x9+-parseInt(_0x126e18(0x11c))/0xa*(-parseInt(_0x126e18(0x117))/0xb);if(_0x49b9ea===_0x4ab087)break;else _0x3c85e4['push'](_0x3c85e4['shift']());}catch(_0x446734){_0x3c85e4['push'](_0x3c85e4['shift']());}}}(a211_0x2d11,0x33b0c));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0xada261){const _0x4ecfa9=a211_0x5732,_0x374fb4=[];for(const [_0x576eb0,_0x44eb41]of Object[_0x4ecfa9(0xfd)](_0xada261)){if(_0x44eb41===!![]){const _0x3e3869=_0x576eb0[_0x4ecfa9(0xfb)](/([A-Z])/g,_0x4ecfa9(0x101))['toLowerCase']();_0x374fb4[_0x4ecfa9(0x11d)](_0x3e3869);}}return _0x374fb4;}function a211_0x2d11(){const _0x19b654=['283065FWPLPs','4830VUBWIt','push','replace','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','entries','from','(empty)','--help','-$1','6tVURCO','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','cwd','\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill','Error:\x20Unsupported\x20command:\x20','不支持的命令:\x20','\x0aAvailable\x20commands:','length','argv','27666aCkNEs','error','16shBOsO','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','startsWith','2406474ZNEaBE','455535AdpNNL','includes','enable-bff-save','skill','24aJdfzS','96221FRlmdI','34507LXysQl','log','add','749665OUVnTC'];a211_0x2d11=function(){return _0x19b654;};return a211_0x2d11();}export function parseDynamicFlags(){const _0x193ac9=a211_0x5732,_0x434c45=[];for(let _0x12c3f7=0x3;_0x12c3f7<process[_0x193ac9(0x10a)][_0x193ac9(0x109)];_0x12c3f7++){const _0x1b9279=process[_0x193ac9(0x10a)][_0x12c3f7];if(_0x1b9279&&_0x1b9279[_0x193ac9(0x10f)]('--')){const _0x4f37ff=_0x1b9279['slice'](0x2);_0x4f37ff&&!_0x4f37ff[_0x193ac9(0x112)]('=')&&_0x434c45[_0x193ac9(0x11d)](_0x4f37ff);}}return _0x434c45;}export function getAllProvidedFlags(_0x4d4153){const _0x174400=camelCaseFlagsToKebab(_0x4d4153),_0x30ac84=parseDynamicFlags(),_0x5973e9=new Set([..._0x174400,..._0x30ac84]);return Array['from'](_0x5973e9);}export function normalizeLegacyBffSaveFlags(_0x16fe48){const _0x5bc617=a211_0x5732,_0x2628c0=new Set(_0x16fe48);return _0x2628c0['has']('dangerously-bff-save')&&_0x2628c0[_0x5bc617(0x119)](_0x5bc617(0x113)),Array[_0x5bc617(0xfe)](_0x2628c0);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x1bc64d,_0x1aeafa,_0x46f02f){const _0x58efde=a211_0x5732;logger['setLogPath'](process[_0x58efde(0x104)]());if(_0x46f02f?.['help']||_0x1bc64d===_0x58efde(0x100)){showHelp();return;}console[_0x58efde(0x10c)](_0x58efde(0x106)+(_0x1bc64d||_0x58efde(0xff))),console[_0x58efde(0x118)](_0x58efde(0x108)),console[_0x58efde(0x118)]('\x20\x20'+CLI_BIN_NAME+_0x58efde(0x105)),console[_0x58efde(0x118)](''),console[_0x58efde(0x118)]('Equivalent\x20command:\x20'+SKILLS_INSTALL_COMMAND_LINE),logger[_0x58efde(0x10c)](_0x58efde(0x114),_0x58efde(0x107)+_0x1bc64d),process['exit'](0x1);}function a211_0x5732(_0x4db5c7,_0x542187){_0x4db5c7=_0x4db5c7-0xfb;const _0x2d115b=a211_0x2d11();let _0x573275=_0x2d115b[_0x4db5c7];return _0x573275;}function showHelp(){const _0x5b1718=a211_0x5732;console[_0x5b1718(0x118)](_0x5b1718(0x103)+CLI_BIN_NAME+_0x5b1718(0x10e)+SKILLS_INSTALL_COMMAND_LINE+_0x5b1718(0xfc));}
1
+ function a211_0x4a8d(){const _0x209af1=['7835495HOypQQ','log','slice','replace','enable-bff-save','2204mkJTZq','from','cwd','argv','toLowerCase','includes','106392oWtAIL','376383KxHuBf','不支持的命令:\x20','Equivalent\x20command:\x20','entries','17844760xKKXqj','\x20cli-skill\x20install\x0a\x0aEquivalent\x20command:\x20','774gYoipv','22GdQwlm','dangerously-bff-save','setLogPath','\x0a\x0aNote:\x20npx\x20skills\x20selects\x20the\x20agent\x20and\x20writes\x20files;\x20guides\x20live\x20under\x20skills/rabetbase/guides/.\x0a','41751dghoZP','skill','108wuEUCv','3202428RqvZTO','add','--help','-$1','\x0aRabetbase\x20CLI\x20Skill\x20-\x20Developer\x20Workflow\x20Installation\x20Tool\x0a\x0aUsage:\x0a\x20\x20','has','40IXGrrE'];a211_0x4a8d=function(){return _0x209af1;};return a211_0x4a8d();}(function(_0xf912b6,_0x32b27c){const _0x2aab29=a211_0x4a0e,_0x2bcc56=_0xf912b6();while(!![]){try{const _0x43304c=parseInt(_0x2aab29(0x10c))/0x1*(-parseInt(_0x2aab29(0x112))/0x2)+parseInt(_0x2aab29(0x103))/0x3*(-parseInt(_0x2aab29(0x105))/0x4)+-parseInt(_0x2aab29(0x10d))/0x5+parseInt(_0x2aab29(0x106))/0x6+-parseInt(_0x2aab29(0xf8))/0x7+-parseInt(_0x2aab29(0x118))/0x8*(parseInt(_0x2aab29(0xfe))/0x9)+-parseInt(_0x2aab29(0xfc))/0xa*(-parseInt(_0x2aab29(0xff))/0xb);if(_0x43304c===_0x32b27c)break;else _0x2bcc56['push'](_0x2bcc56['shift']());}catch(_0x8f5057){_0x2bcc56['push'](_0x2bcc56['shift']());}}}(a211_0x4a8d,0xe02fd));import{logger}from'../utils/logger.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE}from'../skills/npx-skills-add.js';export function camelCaseFlagsToKebab(_0x37e22f){const _0xa33456=a211_0x4a0e,_0x584382=[];for(const [_0x5c4ae3,_0xba80c8]of Object[_0xa33456(0xfb)](_0x37e22f)){if(_0xba80c8===!![]){const _0xe82c73=_0x5c4ae3[_0xa33456(0x110)](/([A-Z])/g,_0xa33456(0x109))[_0xa33456(0x116)]();_0x584382['push'](_0xe82c73);}}return _0x584382;}export function parseDynamicFlags(){const _0x4ff490=a211_0x4a0e,_0x3b1d58=[];for(let _0x5a4bbe=0x3;_0x5a4bbe<process[_0x4ff490(0x115)]['length'];_0x5a4bbe++){const _0x396057=process['argv'][_0x5a4bbe];if(_0x396057&&_0x396057['startsWith']('--')){const _0x246f37=_0x396057[_0x4ff490(0x10f)](0x2);_0x246f37&&!_0x246f37[_0x4ff490(0x117)]('=')&&_0x3b1d58['push'](_0x246f37);}}return _0x3b1d58;}export function getAllProvidedFlags(_0x2511a0){const _0x2a6d36=a211_0x4a0e,_0x5be8a3=camelCaseFlagsToKebab(_0x2511a0),_0x266682=parseDynamicFlags(),_0xf5ce97=new Set([..._0x5be8a3,..._0x266682]);return Array[_0x2a6d36(0x113)](_0xf5ce97);}function a211_0x4a0e(_0x5a3ca0,_0x135bf4){_0x5a3ca0=_0x5a3ca0-0xf8;const _0x4a8d19=a211_0x4a8d();let _0x4a0e34=_0x4a8d19[_0x5a3ca0];return _0x4a0e34;}export function normalizeLegacyBffSaveFlags(_0xe87acd){const _0x39d446=a211_0x4a0e,_0x489f8f=new Set(_0xe87acd);return _0x489f8f[_0x39d446(0x10b)](_0x39d446(0x100))&&_0x489f8f[_0x39d446(0x107)](_0x39d446(0x111)),Array[_0x39d446(0x113)](_0x489f8f);}const SKILLS_INSTALL_COMMAND_LINE=NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE;export async function skillsCommand(_0x38d419,_0x1f9e3a,_0x3c9972){const _0x10e6bc=a211_0x4a0e;logger[_0x10e6bc(0x101)](process[_0x10e6bc(0x114)]());if(_0x3c9972?.['help']||_0x38d419===_0x10e6bc(0x108)){showHelp();return;}console['error']('Error:\x20Unsupported\x20command:\x20'+(_0x38d419||'(empty)')),console[_0x10e6bc(0x10e)]('\x0aAvailable\x20commands:'),console[_0x10e6bc(0x10e)]('\x20\x20'+CLI_BIN_NAME+'\x20cli-skill\x20install\x20\x20\x20\x20\x20\x20\x20#\x20Install\x20CLI\x20Built-in\x20Skill'),console['log'](''),console[_0x10e6bc(0x10e)](_0x10e6bc(0xfa)+SKILLS_INSTALL_COMMAND_LINE),logger['error'](_0x10e6bc(0x104),_0x10e6bc(0xf9)+_0x38d419),process['exit'](0x1);}function showHelp(){const _0x5721bd=a211_0x4a0e;console['log'](_0x5721bd(0x10a)+CLI_BIN_NAME+_0x5721bd(0xfd)+SKILLS_INSTALL_COMMAND_LINE+_0x5721bd(0x102));}
@@ -1 +1 @@
1
- const a212_0x4137e4=a212_0x5570;(function(_0x4ac088,_0x40c36a){const _0x586a4f=a212_0x5570,_0x582ffb=_0x4ac088();while(!![]){try{const _0x2be5d1=parseInt(_0x586a4f(0x1e5))/0x1*(-parseInt(_0x586a4f(0x1eb))/0x2)+-parseInt(_0x586a4f(0x1d9))/0x3*(parseInt(_0x586a4f(0x1ee))/0x4)+-parseInt(_0x586a4f(0x1dd))/0x5*(parseInt(_0x586a4f(0x1f0))/0x6)+-parseInt(_0x586a4f(0x1d8))/0x7*(parseInt(_0x586a4f(0x1ef))/0x8)+-parseInt(_0x586a4f(0x1d7))/0x9+-parseInt(_0x586a4f(0x1d6))/0xa+-parseInt(_0x586a4f(0x1e8))/0xb*(-parseInt(_0x586a4f(0x1de))/0xc);if(_0x2be5d1===_0x40c36a)break;else _0x582ffb['push'](_0x582ffb['shift']());}catch(_0x37cc4b){_0x582ffb['push'](_0x582ffb['shift']());}}}(a212_0x2ef9,0xc236f));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';function a212_0x5570(_0x367225,_0x44b4e1){_0x367225=_0x367225-0x1d4;const _0x2ef9f8=a212_0x2ef9();let _0x557085=_0x2ef9f8[_0x367225];return _0x557085;}export const NPX_SKILLS_CLI='skills';export const NPX_SKILLS_SUBCOMMAND_ADD=a212_0x4137e4(0x1e2);export const NPX_SKILLS_FLAG_SKILL=a212_0x4137e4(0x1ec);function a212_0x2ef9(){const _0x10d60a=['4246300cFMOtP','886545vdSecA','4886iUiXQJ','11226ZcKWlx','lovrabet/rabetbase','skill','push','2630330BQRjzP','62945940fDIFZg','pipe','status','stdout','add','toString','unknown','3FmIjoN','inherit','Lovrabet','11hDDANJ','log','trim','913174qEjtWQ','--skill','npx','1028Irejzj','12256rwQjhp','6MiJUhZ','stdio','join','stderr'];a212_0x2ef9=function(){return _0x10d60a;};return a212_0x2ef9();}export const RABETBASE_SKILL_SOURCE=a212_0x4137e4(0x1da);export const LEGACY_RABETBASE_SKILL_SOURCE='lovrabet/lovrabet-skill';export const DEFAULT_RABETBASE_SKILL_NAME=a212_0x4137e4(0x1e7);export function buildNpxSkillsAddArgv(_0x528ad9){const _0x1d8113=a212_0x4137e4,_0x33bac2=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x528ad9&&_0x33bac2[_0x1d8113(0x1dc)](NPX_SKILLS_FLAG_SKILL,_0x528ad9),_0x33bac2;}export const NPX_SKILLS_ADD_COMMAND_LINE=['npx',...buildNpxSkillsAddArgv()]['join']('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a212_0x4137e4(0x1ed),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a212_0x4137e4(0x1d4)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x2ee52d,_0x4fe404){const _0x17b5aa=a212_0x4137e4;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0xba9ec7=_0x4fe404?.[_0x17b5aa(0x1f1)]??_0x17b5aa(0x1e6),_0x4f7269=resolveNpmBin('npx'),_0x47ec9b=buildNpxSkillsAddArgv(_0x4fe404?.[_0x17b5aa(0x1db)]),_0x32c1ad=[_0x17b5aa(0x1ed),..._0x47ec9b][_0x17b5aa(0x1d4)]('\x20');console[_0x17b5aa(0x1e9)]('*\x20'+_0x32c1ad);const _0x68a3dc=spawnSync(_0x4f7269,_0x47ec9b,{'cwd':_0x2ee52d,'stdio':_0xba9ec7,'env':process.env,'shell':![]}),_0xfd24ca=_0x68a3dc[_0x17b5aa(0x1e0)];if(_0xfd24ca===0x0)return{'ok':!![],'status':0x0};let _0x20d801='exit\x20'+(_0xfd24ca??'unknown');if(_0xba9ec7===_0x17b5aa(0x1df)){const _0x3410cb=_0x68a3dc['stderr']?_0x68a3dc[_0x17b5aa(0x1d5)][_0x17b5aa(0x1e3)]()[_0x17b5aa(0x1ea)]():'',_0x55c22e=_0x68a3dc[_0x17b5aa(0x1e1)]?_0x68a3dc['stdout'][_0x17b5aa(0x1e3)]()[_0x17b5aa(0x1ea)]():'';if(_0x3410cb)_0x20d801=_0x3410cb;else{if(_0x55c22e)_0x20d801=_0x55c22e;}}return{'ok':![],'status':_0xfd24ca??null,'error':_0x20d801};}export function runNpxSkillsRemove(_0x310ec3,_0x9eeb08,_0x35976f=LEGACY_RABETBASE_SKILL_SOURCE){const _0x438064=a212_0x4137e4;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x4a2699=_0x9eeb08?.['stdio']??_0x438064(0x1e6),_0x4c7e19=resolveNpmBin(_0x438064(0x1ed)),_0x4f5c87=[NPX_FLAG_YES,NPX_SKILLS_CLI,'remove',_0x35976f,NPX_SKILLS_FLAG_SKILL,_0x9eeb08?.[_0x438064(0x1db)]??DEFAULT_RABETBASE_SKILL_NAME,..._0x9eeb08?.['yes']?['-y']:[]],_0x3f2c38=[_0x4c7e19,..._0x4f5c87][_0x438064(0x1d4)]('\x20');console['log']('*\x20'+_0x3f2c38);const _0x429ae3=spawnSync(_0x4c7e19,_0x4f5c87,{'cwd':_0x310ec3,'stdio':_0x4a2699,'env':process.env,'shell':![]}),_0x20dd09=_0x429ae3['status'];if(_0x20dd09===0x0)return{'ok':!![],'status':0x0};let _0x4b4afb='exit\x20'+(_0x20dd09??'unknown');if(_0x4a2699==='pipe'){const _0x3692de=_0x429ae3['stderr']?_0x429ae3['stderr']['toString']()[_0x438064(0x1ea)]():'',_0x55f405=_0x429ae3[_0x438064(0x1e1)]?_0x429ae3[_0x438064(0x1e1)]['toString']()[_0x438064(0x1ea)]():'';if(_0x3692de)_0x4b4afb=_0x3692de;else{if(_0x55f405)_0x4b4afb=_0x55f405;}}return{'ok':![],'status':_0x20dd09??null,'error':_0x4b4afb};}export function runNpxSkillsAddGlobal(_0x4ac744,_0xe4656e,_0x8cc8d6){const _0x518c56=a212_0x4137e4;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x4b34b1=_0x8cc8d6?.[_0x518c56(0x1f1)]??_0x518c56(0x1e6),_0x5bcc3b=resolveNpmBin(_0x518c56(0x1ed)),_0x59edb1=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0xe4656e,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x4a8bc1=[_0x518c56(0x1ed),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0xe4656e,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x518c56(0x1d4)]('\x20');console[_0x518c56(0x1e9)]('*\x20'+_0x4a8bc1);const _0x2f37a0=spawnSync(_0x5bcc3b,_0x59edb1,{'cwd':_0x4ac744,'stdio':_0x4b34b1,'env':process.env,'shell':![]}),_0x1091cf=_0x2f37a0['status'];if(_0x1091cf===0x0)return{'ok':!![],'status':0x0};let _0x53c597='exit\x20'+(_0x1091cf??_0x518c56(0x1e4));if(_0x4b34b1===_0x518c56(0x1df)){const _0x33d34a=_0x2f37a0[_0x518c56(0x1d5)]?_0x2f37a0[_0x518c56(0x1d5)][_0x518c56(0x1e3)]()[_0x518c56(0x1ea)]():'',_0x5e0689=_0x2f37a0[_0x518c56(0x1e1)]?_0x2f37a0[_0x518c56(0x1e1)][_0x518c56(0x1e3)]()['trim']():'';if(_0x33d34a)_0x53c597=_0x33d34a;else{if(_0x5e0689)_0x53c597=_0x5e0689;}}return{'ok':![],'status':_0x1091cf??null,'error':_0x53c597};}
1
+ const a212_0x51b922=a212_0x4cc8;(function(_0x1e968b,_0x3f75da){const _0x52b3b9=a212_0x4cc8,_0x41dd29=_0x1e968b();while(!![]){try{const _0x56b186=-parseInt(_0x52b3b9(0x1c7))/0x1+parseInt(_0x52b3b9(0x1cf))/0x2+-parseInt(_0x52b3b9(0x1ce))/0x3*(-parseInt(_0x52b3b9(0x1ba))/0x4)+parseInt(_0x52b3b9(0x1c2))/0x5*(-parseInt(_0x52b3b9(0x1d0))/0x6)+-parseInt(_0x52b3b9(0x1c4))/0x7*(parseInt(_0x52b3b9(0x1d2))/0x8)+parseInt(_0x52b3b9(0x1c3))/0x9+parseInt(_0x52b3b9(0x1d3))/0xa;if(_0x56b186===_0x3f75da)break;else _0x41dd29['push'](_0x41dd29['shift']());}catch(_0xf359da){_0x41dd29['push'](_0x41dd29['shift']());}}}(a212_0x2a23,0xc0662));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=a212_0x51b922(0x1c9);function a212_0x4cc8(_0x458f43,_0x4ca1a1){_0x458f43=_0x458f43-0x1b7;const _0x2a2344=a212_0x2a23();let _0x4cc84d=_0x2a2344[_0x458f43];return _0x4cc84d;}export const NPX_SKILLS_SUBCOMMAND_ADD=a212_0x51b922(0x1c0);export const NPX_SKILLS_FLAG_SKILL=a212_0x51b922(0x1bb);export const RABETBASE_SKILL_SOURCE='lovrabet/rabetbase';function a212_0x2a23(){const _0x45400c=['npx','add','lovrabet/lovrabet-skill','182815xEklib','14046354PkLIWs','856030NpNFaO','stdio','inherit','971742FFtGZU','log','skills','unknown','toString','exit\x20','stderr','138IisGxA','2777562dZuHNC','138mqjGjO','push','96rMpZDw','6842340ovXYQN','trim','pipe','Lovrabet','stdout','37784JcmZJu','--skill','join','remove','status'];a212_0x2a23=function(){return _0x45400c;};return a212_0x2a23();}export const LEGACY_RABETBASE_SKILL_SOURCE=a212_0x51b922(0x1c1);export const DEFAULT_RABETBASE_SKILL_NAME=a212_0x51b922(0x1b8);export function buildNpxSkillsAddArgv(_0x5725ab){const _0xac37b3=a212_0x51b922,_0x291d4d=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE];return _0x5725ab&&_0x291d4d[_0xac37b3(0x1d1)](NPX_SKILLS_FLAG_SKILL,_0x5725ab),_0x291d4d;}export const NPX_SKILLS_ADD_COMMAND_LINE=[a212_0x51b922(0x1bf),...buildNpxSkillsAddArgv()][a212_0x51b922(0x1bc)]('\x20');export const NPX_SKILLS_ADD_GLOBAL_COMMAND_LINE=[a212_0x51b922(0x1bf),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,RABETBASE_SKILL_SOURCE,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][a212_0x51b922(0x1bc)]('\x20');export function shouldSkipNpxSkillsAdd(){return process.env.RABETBASE_SKIP_NPX_SKILLS==='1';}export function runNpxSkillsAdd(_0x568f8c,_0x471923){const _0x5f77f7=a212_0x51b922;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x5652b6=_0x471923?.[_0x5f77f7(0x1c5)]??_0x5f77f7(0x1c6),_0x51a7c7=resolveNpmBin(_0x5f77f7(0x1bf)),_0x2b0177=buildNpxSkillsAddArgv(_0x471923?.['skill']),_0x394df1=[_0x5f77f7(0x1bf),..._0x2b0177][_0x5f77f7(0x1bc)]('\x20');console[_0x5f77f7(0x1c8)]('*\x20'+_0x394df1);const _0x13f36b=spawnSync(_0x51a7c7,_0x2b0177,{'cwd':_0x568f8c,'stdio':_0x5652b6,'env':process.env,'shell':![]}),_0x3268bd=_0x13f36b[_0x5f77f7(0x1be)];if(_0x3268bd===0x0)return{'ok':!![],'status':0x0};let _0x24e16a='exit\x20'+(_0x3268bd??_0x5f77f7(0x1ca));if(_0x5652b6==='pipe'){const _0x570d1c=_0x13f36b[_0x5f77f7(0x1cd)]?_0x13f36b['stderr']['toString']()[_0x5f77f7(0x1d4)]():'',_0x321dc0=_0x13f36b['stdout']?_0x13f36b[_0x5f77f7(0x1b9)][_0x5f77f7(0x1cb)]()[_0x5f77f7(0x1d4)]():'';if(_0x570d1c)_0x24e16a=_0x570d1c;else{if(_0x321dc0)_0x24e16a=_0x321dc0;}}return{'ok':![],'status':_0x3268bd??null,'error':_0x24e16a};}export function runNpxSkillsRemove(_0x2fccf5,_0x406d78,_0x53ed69=LEGACY_RABETBASE_SKILL_SOURCE){const _0x50e034=a212_0x51b922;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x51c174=_0x406d78?.[_0x50e034(0x1c5)]??_0x50e034(0x1c6),_0x4dfe5c=resolveNpmBin('npx'),_0x1ed515=[NPX_FLAG_YES,NPX_SKILLS_CLI,_0x50e034(0x1bd),_0x53ed69,NPX_SKILLS_FLAG_SKILL,_0x406d78?.['skill']??DEFAULT_RABETBASE_SKILL_NAME,..._0x406d78?.['yes']?['-y']:[]],_0x5100ce=[_0x4dfe5c,..._0x1ed515][_0x50e034(0x1bc)]('\x20');console[_0x50e034(0x1c8)]('*\x20'+_0x5100ce);const _0x5342ef=spawnSync(_0x4dfe5c,_0x1ed515,{'cwd':_0x2fccf5,'stdio':_0x51c174,'env':process.env,'shell':![]}),_0x2b4ee1=_0x5342ef[_0x50e034(0x1be)];if(_0x2b4ee1===0x0)return{'ok':!![],'status':0x0};let _0x223ffc='exit\x20'+(_0x2b4ee1??_0x50e034(0x1ca));if(_0x51c174===_0x50e034(0x1b7)){const _0x5cbd03=_0x5342ef[_0x50e034(0x1cd)]?_0x5342ef['stderr'][_0x50e034(0x1cb)]()[_0x50e034(0x1d4)]():'',_0x7cb951=_0x5342ef[_0x50e034(0x1b9)]?_0x5342ef[_0x50e034(0x1b9)]['toString']()[_0x50e034(0x1d4)]():'';if(_0x5cbd03)_0x223ffc=_0x5cbd03;else{if(_0x7cb951)_0x223ffc=_0x7cb951;}}return{'ok':![],'status':_0x2b4ee1??null,'error':_0x223ffc};}export function runNpxSkillsAddGlobal(_0x1fc97e,_0x1c1c09,_0x51bc61){const _0x388f04=a212_0x51b922;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x172861=_0x51bc61?.[_0x388f04(0x1c5)]??_0x388f04(0x1c6),_0x592b9e=resolveNpmBin(_0x388f04(0x1bf)),_0x2ad63e=[NPX_FLAG_YES,NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x1c1c09,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES],_0x381cba=[_0x388f04(0x1bf),NPX_SKILLS_CLI,NPX_SKILLS_SUBCOMMAND_ADD,_0x1c1c09,SKILLS_FLAG_GLOBAL,SKILLS_FLAG_YES][_0x388f04(0x1bc)]('\x20');console[_0x388f04(0x1c8)]('*\x20'+_0x381cba);const _0x1f14dd=spawnSync(_0x592b9e,_0x2ad63e,{'cwd':_0x1fc97e,'stdio':_0x172861,'env':process.env,'shell':![]}),_0x59f979=_0x1f14dd['status'];if(_0x59f979===0x0)return{'ok':!![],'status':0x0};let _0x94c1b5=_0x388f04(0x1cc)+(_0x59f979??_0x388f04(0x1ca));if(_0x172861===_0x388f04(0x1b7)){const _0xa1816e=_0x1f14dd[_0x388f04(0x1cd)]?_0x1f14dd['stderr'][_0x388f04(0x1cb)]()[_0x388f04(0x1d4)]():'',_0x5ac2a2=_0x1f14dd[_0x388f04(0x1b9)]?_0x1f14dd['stdout'][_0x388f04(0x1cb)]()[_0x388f04(0x1d4)]():'';if(_0xa1816e)_0x94c1b5=_0xa1816e;else{if(_0x5ac2a2)_0x94c1b5=_0x5ac2a2;}}return{'ok':![],'status':_0x59f979??null,'error':_0x94c1b5};}
@@ -1 +1 @@
1
- (function(_0x5c722c,_0x7424d6){const _0x369224=a213_0x42fc,_0x3c151a=_0x5c722c();while(!![]){try{const _0x1d270c=parseInt(_0x369224(0x99))/0x1*(parseInt(_0x369224(0x94))/0x2)+parseInt(_0x369224(0xa0))/0x3+-parseInt(_0x369224(0x98))/0x4*(-parseInt(_0x369224(0x93))/0x5)+-parseInt(_0x369224(0x96))/0x6*(-parseInt(_0x369224(0xa1))/0x7)+-parseInt(_0x369224(0x95))/0x8+-parseInt(_0x369224(0x9e))/0x9+parseInt(_0x369224(0x97))/0xa*(-parseInt(_0x369224(0xa3))/0xb);if(_0x1d270c===_0x7424d6)break;else _0x3c151a['push'](_0x3c151a['shift']());}catch(_0x3e5527){_0x3c151a['push'](_0x3c151a['shift']());}}}(a213_0x2ebb,0x7dc96));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';import{getCliVersion}from'../utils/version.js';function a213_0x42fc(_0x4d8bff,_0x22ee4a){_0x4d8bff=_0x4d8bff-0x91;const _0x2ebbc3=a213_0x2ebb();let _0x42fc69=_0x2ebbc3[_0x4d8bff];return _0x42fc69;}function a213_0x2ebb(){const _0x5c8c83=['error','rabetbase.command','some','8877636vlyEzA','stringify','2543754oQTuka','223755juHMmK','service','12760FAiXnp','entries','durationMs','364535UonGKh','492wlQVJm','7908424TfMGiP','132cKpzNW','6480UPmrgw','52UcUrFU','3020jTmZRZ','test'];a213_0x2ebb=function(){return _0x5c8c83;};return a213_0x2ebb();}const SENSITIVE_PATTERNS=[/cookie/i,/token/i,/password/i,/passwd/i,/secret/i,/auth/i,/session/i,/credential/i,/^value$/i];function isSensitiveKey(_0x29a2e9){const _0x49914c=a213_0x42fc;return SENSITIVE_PATTERNS[_0x49914c(0x9d)](_0x3759cf=>_0x3759cf[_0x49914c(0x9a)](_0x29a2e9));}function sanitizeFlags(_0x6a587e){const _0x4615fb=a213_0x42fc,_0x367059={};for(const [_0x282547,_0xb5764e]of Object[_0x4615fb(0x91)](_0x6a587e)){isSensitiveKey(_0x282547)?_0x367059[_0x282547]=_0xb5764e!=null&&_0xb5764e!==''?'[REDACTED]':_0xb5764e:_0x367059[_0x282547]=_0xb5764e;}return _0x367059;}export async function reportCommandTrace(_0x5375a1){const _0xd70f16=a213_0x42fc;try{const _0x170af5=sanitizeFlags(_0x5375a1['flags']);await sendCliTraceLog({'spanName':_0xd70f16(0x9c),'logData':{'command.cli_version':getCliVersion(),'command.service':_0x5375a1[_0xd70f16(0xa2)],'command.name':_0x5375a1['command'],'command.flags':JSON[_0xd70f16(0x9f)](_0x170af5),..._0x5375a1[_0xd70f16(0x92)]!=null?{'command.duration_ms':_0x5375a1[_0xd70f16(0x92)]}:{},..._0x5375a1[_0xd70f16(0x9b)]?{'command.error':_0x5375a1[_0xd70f16(0x9b)]instanceof Error?_0x5375a1['error']['message']:String(_0x5375a1[_0xd70f16(0x9b)])}:{}}});}catch{}}
1
+ (function(_0x5124c0,_0x13b1cd){const _0x1d574e=a213_0x4c9e,_0x25dff4=_0x5124c0();while(!![]){try{const _0x497585=parseInt(_0x1d574e(0xc5))/0x1*(parseInt(_0x1d574e(0xb5))/0x2)+-parseInt(_0x1d574e(0xbc))/0x3*(parseInt(_0x1d574e(0xbb))/0x4)+-parseInt(_0x1d574e(0xb8))/0x5*(-parseInt(_0x1d574e(0xb4))/0x6)+-parseInt(_0x1d574e(0xbe))/0x7*(parseInt(_0x1d574e(0xbd))/0x8)+parseInt(_0x1d574e(0xc2))/0x9*(parseInt(_0x1d574e(0xb9))/0xa)+parseInt(_0x1d574e(0xbf))/0xb*(-parseInt(_0x1d574e(0xc1))/0xc)+-parseInt(_0x1d574e(0xb6))/0xd;if(_0x497585===_0x13b1cd)break;else _0x25dff4['push'](_0x25dff4['shift']());}catch(_0x1260f2){_0x25dff4['push'](_0x25dff4['shift']());}}}(a213_0x31ee,0x356b7));function a213_0x4c9e(_0xa902fd,_0x203d8c){_0xa902fd=_0xa902fd-0xb4;const _0x31ee3f=a213_0x31ee();let _0x4c9ed9=_0x31ee3f[_0xa902fd];return _0x4c9ed9;}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(_0x3caa95){return SENSITIVE_PATTERNS['some'](_0x4783b7=>_0x4783b7['test'](_0x3caa95));}function a213_0x31ee(){const _0x49f1ef=['durationMs','189444BujGXn','9JXtIHP','error','stringify','17GIGEXR','service','6bnEsaz','47510tuIuDx','3001076DgtZFp','entries','1517785AyArUU','3352490IdMbRA','rabetbase.command','488zMoLmW','1041HnFKzD','198704BmNjkG','84sAoTdS','176caBJbt'];a213_0x31ee=function(){return _0x49f1ef;};return a213_0x31ee();}function sanitizeFlags(_0x24580e){const _0x1d7250=a213_0x4c9e,_0x192fb4={};for(const [_0x199d58,_0x437431]of Object[_0x1d7250(0xb7)](_0x24580e)){isSensitiveKey(_0x199d58)?_0x192fb4[_0x199d58]=_0x437431!=null&&_0x437431!==''?'[REDACTED]':_0x437431:_0x192fb4[_0x199d58]=_0x437431;}return _0x192fb4;}export async function reportCommandTrace(_0xf86290){const _0x4be788=a213_0x4c9e;try{const _0x232e05=sanitizeFlags(_0xf86290['flags']);await sendCliTraceLog({'spanName':_0x4be788(0xba),'logData':{'command.cli_version':getCliVersion(),'command.service':_0xf86290[_0x4be788(0xc6)],'command.name':_0xf86290['command'],'command.flags':JSON[_0x4be788(0xc4)](_0x232e05),..._0xf86290['durationMs']!=null?{'command.duration_ms':_0xf86290[_0x4be788(0xc0)]}:{},..._0xf86290['error']?{'command.error':_0xf86290[_0x4be788(0xc3)]instanceof Error?_0xf86290[_0x4be788(0xc3)]['message']:String(_0xf86290['error'])}:{}}});}catch{}}
@@ -1 +1 @@
1
- function a214_0x36c5(_0x379c21,_0x2784bb){_0x379c21=_0x379c21-0x1f1;var _0x4f12cc=a214_0x4f12();var _0x36c5b3=_0x4f12cc[_0x379c21];return _0x36c5b3;}function a214_0x4f12(){var _0x1597b1=['9958828JrbxMa','Failed\x20to\x20report\x20CLI\x20help\x20trace:','792799mrQGIs','2MXCuDw','211599Kmijdk','18CUROkU','644060RyYgac','error','1138080GVKuEl','2439635sssmCc','388253lbBNyB','6CvHRKx','4saVgra','service'];a214_0x4f12=function(){return _0x1597b1;};return a214_0x4f12();}(function(_0x59ce51,_0x49ab8f){var _0x2f3608=a214_0x36c5,_0x316d60=_0x59ce51();while(!![]){try{var _0x1d390b=-parseInt(_0x2f3608(0x1f4))/0x1*(-parseInt(_0x2f3608(0x1fb))/0x2)+-parseInt(_0x2f3608(0x1fc))/0x3*(-parseInt(_0x2f3608(0x1f6))/0x4)+-parseInt(_0x2f3608(0x1f3))/0x5*(-parseInt(_0x2f3608(0x1f5))/0x6)+-parseInt(_0x2f3608(0x1fa))/0x7+-parseInt(_0x2f3608(0x1f2))/0x8*(-parseInt(_0x2f3608(0x1fd))/0x9)+parseInt(_0x2f3608(0x1fe))/0xa+-parseInt(_0x2f3608(0x1f8))/0xb;if(_0x1d390b===_0x49ab8f)break;else _0x316d60['push'](_0x316d60['shift']());}catch(_0x39e521){_0x316d60['push'](_0x316d60['shift']());}}}(a214_0x4f12,0x43a2a));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export async function reportCliHelpTrace(_0x44b384,_0x3b1270){var _0x384191=a214_0x36c5;try{await sendCliTraceLog({'spanName':'cli.help','logData':{'rabetbase.help.kind':_0x44b384,..._0x3b1270?.[_0x384191(0x1f7)]&&{'rabetbase.help.service':_0x3b1270['service']}}});}catch(_0x188947){console[_0x384191(0x1f1)](_0x384191(0x1f9),_0x188947);}}
1
+ function a214_0x1b25(){var _0x461b40=['error','cli.help','Failed\x20to\x20report\x20CLI\x20help\x20trace:','11eoeiyD','16748170JnDMjq','1840416thjYjH','6pmoQIL','1344303VSMcPw','640518RjlUry','5563935NoCLoR','325615dWLknF','409821BFSwqG','service','8RJsFtU','21tADGwY'];a214_0x1b25=function(){return _0x461b40;};return a214_0x1b25();}(function(_0x2209aa,_0x3aaa3d){var _0x111540=a214_0x22ea,_0x26cf88=_0x2209aa();while(!![]){try{var _0x34a5eb=-parseInt(_0x111540(0x1e7))/0x1+-parseInt(_0x111540(0x1e3))/0x2*(-parseInt(_0x111540(0x1e8))/0x3)+parseInt(_0x111540(0x1e2))/0x4+-parseInt(_0x111540(0x1e6))/0x5+-parseInt(_0x111540(0x1e5))/0x6*(parseInt(_0x111540(0x1dc))/0x7)+-parseInt(_0x111540(0x1db))/0x8*(parseInt(_0x111540(0x1e4))/0x9)+parseInt(_0x111540(0x1e1))/0xa*(parseInt(_0x111540(0x1e0))/0xb);if(_0x34a5eb===_0x3aaa3d)break;else _0x26cf88['push'](_0x26cf88['shift']());}catch(_0x743de7){_0x26cf88['push'](_0x26cf88['shift']());}}}(a214_0x1b25,0x9b72a));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';function a214_0x22ea(_0x1f0949,_0x4b5bfa){_0x1f0949=_0x1f0949-0x1db;var _0x1b255e=a214_0x1b25();var _0x22eace=_0x1b255e[_0x1f0949];return _0x22eace;}export async function reportCliHelpTrace(_0xf91c2c,_0x4ef67d){var _0x8c5a98=a214_0x22ea;try{await sendCliTraceLog({'spanName':_0x8c5a98(0x1de),'logData':{'rabetbase.help.kind':_0xf91c2c,..._0x4ef67d?.[_0x8c5a98(0x1e9)]&&{'rabetbase.help.service':_0x4ef67d[_0x8c5a98(0x1e9)]}}});}catch(_0x3c884a){console[_0x8c5a98(0x1dd)](_0x8c5a98(0x1df),_0x3c884a);}}
@@ -1 +1 @@
1
- (function(_0x5b4b86,_0x3f4155){const _0x2a31df=a215_0x1a6f,_0x1b2ae9=_0x5b4b86();while(!![]){try{const _0x2fe0b0=parseInt(_0x2a31df(0x130))/0x1+parseInt(_0x2a31df(0x122))/0x2*(parseInt(_0x2a31df(0x128))/0x3)+parseInt(_0x2a31df(0x131))/0x4*(-parseInt(_0x2a31df(0x12b))/0x5)+-parseInt(_0x2a31df(0x12f))/0x6*(parseInt(_0x2a31df(0x127))/0x7)+-parseInt(_0x2a31df(0x12e))/0x8+parseInt(_0x2a31df(0x126))/0x9*(parseInt(_0x2a31df(0x12d))/0xa)+parseInt(_0x2a31df(0x12a))/0xb;if(_0x2fe0b0===_0x3f4155)break;else _0x1b2ae9['push'](_0x1b2ae9['shift']());}catch(_0x3459d7){_0x1b2ae9['push'](_0x1b2ae9['shift']());}}}(a215_0x5165,0x23ba5));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a215_0x1a6f(_0x4cc112,_0x5aa9d3){_0x4cc112=_0x4cc112-0x11f;const _0x51652c=a215_0x5165();let _0x1a6f8f=_0x51652c[_0x4cc112];return _0x1a6f8f;}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 a215_0x5165(){const _0x2f82fd=['420lCKQvm','1972144PwcCKA','458226xCsEgI','103886GEPVJU','284184RRVDcY','unknown','production','daily','email','2mtbQev','tenant','nickname','user','22104HaFOAP','21yDUyiW','399561ADFYyJ','username','6225241uurObv','20guqhXG','tenant_code'];a215_0x5165=function(){return _0x2f82fd;};return a215_0x5165();}export async function ensureCliOtelTraceConfig(){const _0x10c036=a215_0x1a6f,_0x51bcb4=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x51585e=_0x51bcb4?.[_0x10c036(0x125)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x10c036(0x132)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x10c036(0x120):_0x10c036(0x11f))}),setUserContext({'id':_0x51585e?.['id'],'username':_0x51585e?.[_0x10c036(0x129)],'nickname':_0x51585e?.[_0x10c036(0x124)],'email':_0x51585e?.[_0x10c036(0x121)],'tenantCode':_0x51585e?.[_0x10c036(0x123)][_0x10c036(0x12c)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x51bcb4;}
1
+ function a215_0x5da9(){const _0x2604a4=['tenant','user','username','2920432iOnJAK','4279836Kjhkov','11EJplXs','tenant_code','503629ZGqcKW','production','71506UpyPuO','96NVIZyV','85jMQgig','186882TXRMXG','2651415dvnCXX','unknown','email','5867379jHbrSS','10NwooeE','nickname','daily'];a215_0x5da9=function(){return _0x2604a4;};return a215_0x5da9();}(function(_0x557640,_0x361143){const _0x8a8052=a215_0x5d95,_0x42eb07=_0x557640();while(!![]){try{const _0x794a28=parseInt(_0x8a8052(0x90))/0x1*(-parseInt(_0x8a8052(0x80))/0x2)+parseInt(_0x8a8052(0x84))/0x3+parseInt(_0x8a8052(0x8e))/0x4+-parseInt(_0x8a8052(0x82))/0x5*(parseInt(_0x8a8052(0x83))/0x6)+parseInt(_0x8a8052(0x92))/0x7*(parseInt(_0x8a8052(0x81))/0x8)+-parseInt(_0x8a8052(0x87))/0x9+parseInt(_0x8a8052(0x88))/0xa*(-parseInt(_0x8a8052(0x8f))/0xb);if(_0x794a28===_0x361143)break;else _0x42eb07['push'](_0x42eb07['shift']());}catch(_0xbe50e){_0x42eb07['push'](_0x42eb07['shift']());}}}(a215_0x5da9,0x7d5d0));import{VERSION,GIT_COMMIT}from'../generated/build-info.js';function a215_0x5d95(_0x5e666e,_0x2ca85a){_0x5e666e=_0x5e666e-0x7f;const _0x5da9c4=a215_0x5da9();let _0x5d95d2=_0x5da9c4[_0x5e666e];return _0x5d95d2;}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=![];export async function ensureCliOtelTraceConfig(){const _0x51c704=a215_0x5d95,_0x39d824=await getSessionUserInfo();if(!cliOtelTraceInitialized){const _0x516b36=_0x39d824?.[_0x51c704(0x8c)];setServiceConfig({'serviceName':NPM_PACKAGE_NAME,'serviceVersion':GIT_COMMIT!==_0x51c704(0x85)?VERSION+'+'+GIT_COMMIT:VERSION,'serviceEnv':process.env.RABETBASE_ENV??(process.env.RABETBASE_E2E_DAILY==='1'?_0x51c704(0x8a):_0x51c704(0x7f))}),setUserContext({'id':_0x516b36?.['id'],'username':_0x516b36?.[_0x51c704(0x8d)],'nickname':_0x516b36?.[_0x51c704(0x89)],'email':_0x516b36?.[_0x51c704(0x86)],'tenantCode':_0x516b36?.[_0x51c704(0x8b)][_0x51c704(0x91)],'appCode':getConfigAppCode()}),cliOtelTraceInitialized=!![];}return _0x39d824;}
@@ -1 +1 @@
1
- (function(_0x4c4794,_0x2a109d){const _0x3eaa10=a216_0x344a,_0x262cd3=_0x4c4794();while(!![]){try{const _0x36ddbb=-parseInt(_0x3eaa10(0x1e5))/0x1*(parseInt(_0x3eaa10(0x1e6))/0x2)+-parseInt(_0x3eaa10(0x1ec))/0x3+parseInt(_0x3eaa10(0x1ea))/0x4*(-parseInt(_0x3eaa10(0x1e9))/0x5)+-parseInt(_0x3eaa10(0x1e2))/0x6*(parseInt(_0x3eaa10(0x1ee))/0x7)+-parseInt(_0x3eaa10(0x1e0))/0x8+-parseInt(_0x3eaa10(0x1ed))/0x9*(parseInt(_0x3eaa10(0x1e3))/0xa)+-parseInt(_0x3eaa10(0x1ef))/0xb*(-parseInt(_0x3eaa10(0x1e7))/0xc);if(_0x36ddbb===_0x2a109d)break;else _0x262cd3['push'](_0x262cd3['shift']());}catch(_0x4f40b5){_0x262cd3['push'](_0x262cd3['shift']());}}}(a216_0x34d5,0x3631b));import{shutdownTraces}from'@lovrabet/otel-logger';function a216_0x344a(_0x24e0ab,_0x316c89){_0x24e0ab=_0x24e0ab-0x1e0;const _0x34d570=a216_0x34d5();let _0x344afc=_0x34d570[_0x24e0ab];return _0x344afc;}let shutdownPromise=null;export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x58f1b0=a216_0x344a;process['once']('beforeExit',()=>{void flushOtelNodeIfUsed();});const _0x12846b=()=>{const _0x2a6c0d=a216_0x344a;void flushOtelNodeIfUsed()[_0x2a6c0d(0x1e4)](()=>process['exit'](0x0));};process[_0x58f1b0(0x1e1)]('SIGINT',_0x12846b),process[_0x58f1b0(0x1e1)](_0x58f1b0(0x1e8),_0x12846b);}export async function exitWithOtelShutdown(_0x507731){const _0x3cd69b=a216_0x344a;await flushOtelNodeIfUsed(),process[_0x3cd69b(0x1eb)](_0x507731);}function a216_0x34d5(){const _0x4a7202=['10wOMEjE','831848sSahov','exit','1051518LGxVHt','9xoIPcy','40047RKOjsl','23455135nScUsn','2632616bqKhHP','once','102DVmQGV','4365170wrNRcN','then','1249BtZCgT','450XgMpIB','12mOyKkZ','SIGTERM'];a216_0x34d5=function(){return _0x4a7202;};return a216_0x34d5();}
1
+ (function(_0x96918c,_0x328a25){const _0x256bce=a216_0x2769,_0x486066=_0x96918c();while(!![]){try{const _0x4ced00=-parseInt(_0x256bce(0x149))/0x1*(parseInt(_0x256bce(0x151))/0x2)+-parseInt(_0x256bce(0x153))/0x3*(parseInt(_0x256bce(0x14b))/0x4)+parseInt(_0x256bce(0x150))/0x5+parseInt(_0x256bce(0x14e))/0x6*(-parseInt(_0x256bce(0x147))/0x7)+parseInt(_0x256bce(0x14f))/0x8*(parseInt(_0x256bce(0x145))/0x9)+-parseInt(_0x256bce(0x144))/0xa+-parseInt(_0x256bce(0x148))/0xb*(-parseInt(_0x256bce(0x14d))/0xc);if(_0x4ced00===_0x328a25)break;else _0x486066['push'](_0x486066['shift']());}catch(_0x34211a){_0x486066['push'](_0x486066['shift']());}}}(a216_0x4349,0x7baa7));import{shutdownTraces}from'@lovrabet/otel-logger';function a216_0x4349(){const _0x27ea86=['once','16aWfNrU','SIGTERM','15597444lnbXBP','6zJzLcT','5128iPpIXh','2605915GHCFWk','42VSesCH','beforeExit','749823WvmQgB','exit','695940EPWWNu','4878AqYdOW','then','2520350sZrIih','11Svoiej','11069BtsGdF'];a216_0x4349=function(){return _0x27ea86;};return a216_0x4349();}let shutdownPromise=null;function a216_0x2769(_0x7452e8,_0x249131){_0x7452e8=_0x7452e8-0x144;const _0x43493f=a216_0x4349();let _0x276979=_0x43493f[_0x7452e8];return _0x276979;}export async function flushOtelNodeIfUsed(){if(shutdownPromise)return shutdownPromise;return shutdownPromise=((async()=>{try{await shutdownTraces();}catch{}})()),shutdownPromise;}export function registerOtelShutdownOnExit(){const _0x28114f=a216_0x2769;process[_0x28114f(0x14a)](_0x28114f(0x152),()=>{void flushOtelNodeIfUsed();});const _0x52a8b2=()=>{const _0x57bd06=_0x28114f;void flushOtelNodeIfUsed()[_0x57bd06(0x146)](()=>process[_0x57bd06(0x154)](0x0));};process['once']('SIGINT',_0x52a8b2),process[_0x28114f(0x14a)](_0x28114f(0x14c),_0x52a8b2);}export async function exitWithOtelShutdown(_0x14062c){const _0x1be883=a216_0x2769;await flushOtelNodeIfUsed(),process[_0x1be883(0x154)](_0x14062c);}
@@ -1 +1 @@
1
- const a217_0x3e2ce7=a217_0x1202;(function(_0x1e74fc,_0x17638b){const _0x12bd5f=a217_0x1202,_0x1ada19=_0x1e74fc();while(!![]){try{const _0x52cee8=-parseInt(_0x12bd5f(0x102))/0x1*(parseInt(_0x12bd5f(0xf4))/0x2)+parseInt(_0x12bd5f(0xff))/0x3+-parseInt(_0x12bd5f(0xf8))/0x4*(-parseInt(_0x12bd5f(0x101))/0x5)+parseInt(_0x12bd5f(0xf6))/0x6*(parseInt(_0x12bd5f(0xf3))/0x7)+parseInt(_0x12bd5f(0xf5))/0x8+parseInt(_0x12bd5f(0xf1))/0x9+-parseInt(_0x12bd5f(0xf7))/0xa*(parseInt(_0x12bd5f(0x100))/0xb);if(_0x52cee8===_0x17638b)break;else _0x1ada19['push'](_0x1ada19['shift']());}catch(_0x183884){_0x1ada19['push'](_0x1ada19['shift']());}}}(a217_0x5684,0xee4a8));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';function a217_0x1202(_0xc04718,_0x1e96f6){_0xc04718=_0xc04718-0xf1;const _0x568405=a217_0x5684();let _0x120292=_0x568405[_0xc04718];return _0x120292;}import{getCliVersion}from'../utils/version.js';function a217_0x5684(){const _0x3e086e=['5rHMIoE','243527nzEewH','6360372JVPvox','spanName','1085eXWYEy','10tWUeXT','11367944WVbdiR','5574fMSMvt','12770wediTq','7001592ETvZFa','rabetbase-cli','traceName','logData','traceparent','version','manual','1958376VncLmL','21373sZFHBv'];a217_0x5684=function(){return _0x3e086e;};return a217_0x5684();}const DEFAULT_TRACE_NAME=a217_0x3e2ce7(0xf9);export async function sendCliTraceLog(_0x3bf47d){const _0x49b352=a217_0x3e2ce7;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x3bf47d[_0x49b352(0xfa)]??DEFAULT_TRACE_NAME,'version':_0x3bf47d[_0x49b352(0xfd)]??getCliVersion(),'spanName':_0x3bf47d[_0x49b352(0xf2)],'eventType':_0x49b352(0xfe),'logData':_0x3bf47d[_0x49b352(0xfb)],..._0x3bf47d[_0x49b352(0xfc)]&&{'traceparent':_0x3bf47d['traceparent']}});}
1
+ const a217_0x264d28=a217_0x3ed5;(function(_0x11ff92,_0x40bbdd){const _0x2497f1=a217_0x3ed5,_0xdedf0a=_0x11ff92();while(!![]){try{const _0x324255=parseInt(_0x2497f1(0x144))/0x1*(parseInt(_0x2497f1(0x153))/0x2)+parseInt(_0x2497f1(0x149))/0x3*(-parseInt(_0x2497f1(0x143))/0x4)+-parseInt(_0x2497f1(0x14a))/0x5*(parseInt(_0x2497f1(0x14b))/0x6)+parseInt(_0x2497f1(0x147))/0x7*(parseInt(_0x2497f1(0x154))/0x8)+parseInt(_0x2497f1(0x14f))/0x9*(parseInt(_0x2497f1(0x152))/0xa)+parseInt(_0x2497f1(0x150))/0xb*(parseInt(_0x2497f1(0x151))/0xc)+-parseInt(_0x2497f1(0x148))/0xd;if(_0x324255===_0x40bbdd)break;else _0xdedf0a['push'](_0xdedf0a['shift']());}catch(_0x241bc6){_0xdedf0a['push'](_0xdedf0a['shift']());}}}(a217_0x417d,0xa79b6));import{sendTraceLog}from'@lovrabet/otel-logger';import{ensureCliOtelTraceConfig}from'../telemetry/ensure-cli-otel-config.js';function a217_0x3ed5(_0x3feebe,_0x5c528c){_0x3feebe=_0x3feebe-0x143;const _0x417d92=a217_0x417d();let _0x3ed5dd=_0x417d92[_0x3feebe];return _0x3ed5dd;}function a217_0x417d(){const _0x391116=['manual','99dQSeep','11AONLun','8855928ebowVV','570310CmDgkB','310ZKLuQf','8IHjcYJ','92qKibrA','5246CaseNa','version','rabetbase-cli','5371569HMCAEg','4470804gcdiCU','153561coiuTH','25uJXLRl','885726dQbVyB','logData','traceparent'];a217_0x417d=function(){return _0x391116;};return a217_0x417d();}import{getCliVersion}from'../utils/version.js';const DEFAULT_TRACE_NAME=a217_0x264d28(0x146);export async function sendCliTraceLog(_0x57488d){const _0x26c6dc=a217_0x264d28;await ensureCliOtelTraceConfig(),sendTraceLog({'traceName':_0x57488d['traceName']??DEFAULT_TRACE_NAME,'version':_0x57488d[_0x26c6dc(0x145)]??getCliVersion(),'spanName':_0x57488d['spanName'],'eventType':_0x26c6dc(0x14e),'logData':_0x57488d[_0x26c6dc(0x14c)],..._0x57488d[_0x26c6dc(0x14d)]&&{'traceparent':_0x57488d[_0x26c6dc(0x14d)]}});}
@@ -1 +1 @@
1
- function a218_0x2bd3(_0x1446e1,_0x155ac4){_0x1446e1=_0x1446e1-0x164;const _0x493766=a218_0x4937();let _0x2bd382=_0x493766[_0x1446e1];return _0x2bd382;}const a218_0x5ccdbb=a218_0x2bd3;(function(_0x5d213e,_0x52863d){const _0x560b9b=a218_0x2bd3,_0x6f05af=_0x5d213e();while(!![]){try{const _0x5bcf71=parseInt(_0x560b9b(0x174))/0x1*(-parseInt(_0x560b9b(0x16c))/0x2)+-parseInt(_0x560b9b(0x16d))/0x3+-parseInt(_0x560b9b(0x16f))/0x4*(parseInt(_0x560b9b(0x16e))/0x5)+parseInt(_0x560b9b(0x166))/0x6+parseInt(_0x560b9b(0x16b))/0x7+-parseInt(_0x560b9b(0x172))/0x8*(-parseInt(_0x560b9b(0x175))/0x9)+parseInt(_0x560b9b(0x173))/0xa;if(_0x5bcf71===_0x52863d)break;else _0x6f05af['push'](_0x6f05af['shift']());}catch(_0x1faaa3){_0x6f05af['push'](_0x6f05af['shift']());}}}(a218_0x4937,0x613da));import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a218_0x5ccdbb(0x170);export const PLATFORM_ISSUE_SPAN_NAME=a218_0x5ccdbb(0x167);export async function sendPlatformIssueCollectLog(_0x143bc9){const _0xaa24c=a218_0x5ccdbb;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x143bc9[_0xaa24c(0x171)],'issue.description':_0x143bc9[_0xaa24c(0x164)],..._0x143bc9[_0xaa24c(0x176)]?{'issue.description_original_bytes':_0x143bc9[_0xaa24c(0x176)][_0xaa24c(0x165)],'issue.description_truncated':_0x143bc9[_0xaa24c(0x176)][_0xaa24c(0x169)],'issue.description_redactions':_0x143bc9[_0xaa24c(0x176)][_0xaa24c(0x168)],'issue.description_redaction_kinds':_0x143bc9['sanitize']['redactionKinds'][_0xaa24c(0x16a)](',')}:{}}});}function a218_0x4937(){const _0x181fb6=['63UGReIy','sanitize','description','originalBytes','430686YfHLaC','issue.log.collect','redactionCount','truncated','join','4286282lHfscJ','1786NjeLIs','603633FZOaBK','876695FLJzFQ','12qfzWkQ','platform-issue-log-collect','title','316952XDVLUT','5811170KjTBMW','467sACPVS'];a218_0x4937=function(){return _0x181fb6;};return a218_0x4937();}
1
+ const a218_0x1811b3=a218_0x9b80;(function(_0x27cd1c,_0x20bc8a){const _0x82c5b6=a218_0x9b80,_0x5b828d=_0x27cd1c();while(!![]){try{const _0x50fb04=parseInt(_0x82c5b6(0x1ba))/0x1+-parseInt(_0x82c5b6(0x1b9))/0x2+-parseInt(_0x82c5b6(0x1b7))/0x3*(-parseInt(_0x82c5b6(0x1bc))/0x4)+-parseInt(_0x82c5b6(0x1c3))/0x5*(parseInt(_0x82c5b6(0x1b5))/0x6)+-parseInt(_0x82c5b6(0x1bf))/0x7+parseInt(_0x82c5b6(0x1c2))/0x8+parseInt(_0x82c5b6(0x1b6))/0x9;if(_0x50fb04===_0x20bc8a)break;else _0x5b828d['push'](_0x5b828d['shift']());}catch(_0x3a81af){_0x5b828d['push'](_0x5b828d['shift']());}}}(a218_0x2fa8,0xb64bf));function a218_0x9b80(_0x49adaa,_0x21f0b0){_0x49adaa=_0x49adaa-0x1b5;const _0x2fa88c=a218_0x2fa8();let _0x9b8005=_0x2fa88c[_0x49adaa];return _0x9b8005;}import{sendCliTraceLog}from'../telemetry/send-cli-trace-log.js';export const PLATFORM_ISSUE_TRACE_NAME=a218_0x1811b3(0x1b8);function a218_0x2fa8(){const _0x59405c=['15MxipOQ','2151576pbqFYs','8876151mhWcAL','911949tQUqsW','platform-issue-log-collect','499076qnJYYC','167751BuxzgW','title','8SZzIIM','redactionCount','originalBytes','2999269tbwgJq','sanitize','truncated','5908192YbawwO'];a218_0x2fa8=function(){return _0x59405c;};return a218_0x2fa8();}export const PLATFORM_ISSUE_SPAN_NAME='issue.log.collect';export async function sendPlatformIssueCollectLog(_0x11a27a){const _0x106535=a218_0x1811b3;await sendCliTraceLog({'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x11a27a[_0x106535(0x1bb)],'issue.description':_0x11a27a['description'],..._0x11a27a[_0x106535(0x1c0)]?{'issue.description_original_bytes':_0x11a27a[_0x106535(0x1c0)][_0x106535(0x1be)],'issue.description_truncated':_0x11a27a['sanitize'][_0x106535(0x1c1)],'issue.description_redactions':_0x11a27a[_0x106535(0x1c0)][_0x106535(0x1bd)],'issue.description_redaction_kinds':_0x11a27a[_0x106535(0x1c0)]['redactionKinds']['join'](',')}:{}}});}
@@ -1 +1 @@
1
- const a220_0x208e27=a220_0xbb48;(function(_0x77f425,_0x3a86ea){const _0x492d8e=a220_0xbb48,_0x54aa37=_0x77f425();while(!![]){try{const _0x249f3e=parseInt(_0x492d8e(0x1ae))/0x1*(-parseInt(_0x492d8e(0x1a1))/0x2)+-parseInt(_0x492d8e(0x1c1))/0x3+parseInt(_0x492d8e(0x19e))/0x4+parseInt(_0x492d8e(0x1b3))/0x5*(-parseInt(_0x492d8e(0x195))/0x6)+parseInt(_0x492d8e(0x1b5))/0x7*(-parseInt(_0x492d8e(0x19f))/0x8)+parseInt(_0x492d8e(0x1a7))/0x9*(-parseInt(_0x492d8e(0x1a8))/0xa)+parseInt(_0x492d8e(0x192))/0xb;if(_0x249f3e===_0x3a86ea)break;else _0x54aa37['push'](_0x54aa37['shift']());}catch(_0x46f797){_0x54aa37['push'](_0x54aa37['shift']());}}}(a220_0x188f,0xa09cf));export const CORE_IDE_CONFIGS={'cursor':{'name':'Cursor','description':'Cursor\x20IDE','folders':[a220_0x208e27(0x1ab),a220_0x208e27(0x190)],'files':[{'type':a220_0x208e27(0x1b1),'path':'.cursor/skills/rabetbase.md','template':a220_0x208e27(0x1ad)}]},'windsurf':{'name':'Windsurf','description':a220_0x208e27(0x1ac),'folders':['.windsurf'],'files':[{'type':a220_0x208e27(0x1b1),'path':a220_0x208e27(0x1ba),'template':'SKILL.md.tpl'}]},'claude':{'name':a220_0x208e27(0x194),'description':a220_0x208e27(0x194),'folders':[a220_0x208e27(0x1b2)],'files':[{'type':'file','path':'.claude/skills/lovrabet/SKILL.md','template':a220_0x208e27(0x1ad)}]},'cline':{'name':a220_0x208e27(0x1a2),'description':'Cline\x20IDE','folders':['.cline'],'files':[{'type':a220_0x208e27(0x1b1),'path':a220_0x208e27(0x1af),'template':a220_0x208e27(0x1ad)}]},'codex':{'name':a220_0x208e27(0x197),'description':a220_0x208e27(0x1b7),'folders':[a220_0x208e27(0x1bf)],'files':[{'type':a220_0x208e27(0x1b1),'path':a220_0x208e27(0x1bd),'template':a220_0x208e27(0x1ad)}]},'opencode':{'name':'OpenCode','description':a220_0x208e27(0x19d),'folders':[a220_0x208e27(0x1a4)],'files':[{'type':a220_0x208e27(0x1b1),'path':a220_0x208e27(0x1bc),'template':a220_0x208e27(0x1ad)}]},'qoder':{'name':'Qoder','description':a220_0x208e27(0x199),'folders':[a220_0x208e27(0x1b6)],'files':[{'type':'file','path':'.qoder/rules/rabetbase.md','template':a220_0x208e27(0x1ad)},{'type':a220_0x208e27(0x1b1),'path':a220_0x208e27(0x1b4),'template':a220_0x208e27(0x1ad)}]},'codebuddy':{'name':'CodeBuddy','description':a220_0x208e27(0x1a9),'folders':[a220_0x208e27(0x1a3)],'files':[{'type':'file','path':'.codebuddy/skills/lovrabet/SKILL.md','template':a220_0x208e27(0x1ad)}]},'trae':{'name':a220_0x208e27(0x1bb),'description':'Trae\x20IDE','folders':[a220_0x208e27(0x1b8)],'files':[{'type':a220_0x208e27(0x1b1),'path':a220_0x208e27(0x1a5),'template':a220_0x208e27(0x1ad)}]}};export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':'其他\x20(通用模板)','description':a220_0x208e27(0x198),'folders':[a220_0x208e27(0x1b0)],'files':[{'type':a220_0x208e27(0x1b1),'path':a220_0x208e27(0x1b9),'template':a220_0x208e27(0x1ad)}]},'antigravity':{'name':'Antigravity','description':a220_0x208e27(0x1a6),'folders':[a220_0x208e27(0x1b0)],'files':[{'type':a220_0x208e27(0x1b1),'path':a220_0x208e27(0x1b9),'template':a220_0x208e27(0x1ad)}]}};export const CORE_IDE_LIST=[a220_0x208e27(0x1be),a220_0x208e27(0x19b),'codebuddy',a220_0x208e27(0x196),'cursor',a220_0x208e27(0x1c0),a220_0x208e27(0x191),a220_0x208e27(0x19c),'windsurf'];export const IDE_LIST=[a220_0x208e27(0x1aa),a220_0x208e27(0x1be),'cline',a220_0x208e27(0x193),a220_0x208e27(0x196),a220_0x208e27(0x19a),a220_0x208e27(0x1c0),'qoder',a220_0x208e27(0x19c),'windsurf',a220_0x208e27(0x1a0)];function a220_0xbb48(_0x15c304,_0x4a7d13){_0x15c304=_0x15c304-0x190;const _0x188f40=a220_0x188f();let _0xbb4804=_0x188f40[_0x15c304];return _0xbb4804;}function a220_0x188f(){const _0x34cd4b=['Antigravity\x20IDE','126opcAjL','886610QTXEuI','CodeBuddy\x20IDE','antigravity','.cursorrules','Windsurf\x20IDE','SKILL.md.tpl','81922szVrRj','.cline/skills/lovrabet/SKILL.md','.agent','file','.claude','5615635SwSVsP','.qoder/skills/lovrabet/SKILL.md','17045YKghzo','.qoder','Codex\x20IDE','.trae','.agent/skills/lovrabet/SKILL.md','.windsurf/workflows/rabetbase.md','Trae','.opencode/skills/lovrabet/SKILL.md','.codex/skills/lovrabet/SKILL.md','claude','.codex','opencode','2476320lxEDDV','.cursor','qoder','36504061dtvIxu','codebuddy','Claude\x20Code','6HAarjC','codex','Codex','通用模板\x20-\x20兜底方案','Qoder\x20IDE','cursor','cline','trae','OpenCode\x20IDE','4806924XXVtiH','864wNBQQm','agent','10xBEPBr','Cline','.codebuddy','.opencode','.trae/skills/lovrabet/SKILL.md'];a220_0x188f=function(){return _0x34cd4b;};return a220_0x188f();}export const ALL_CORE_IDES=['cursor','windsurf',a220_0x208e27(0x1be),a220_0x208e27(0x19b),a220_0x208e27(0x196),a220_0x208e27(0x1c0),a220_0x208e27(0x191),'codebuddy',a220_0x208e27(0x19c)];
1
+ const a220_0x5017c5=a220_0x1964;(function(_0x4b0d04,_0x3edfb2){const _0x24fa71=a220_0x1964,_0x3aed07=_0x4b0d04();while(!![]){try{const _0x17f174=parseInt(_0x24fa71(0x12a))/0x1*(parseInt(_0x24fa71(0x153))/0x2)+-parseInt(_0x24fa71(0x137))/0x3*(-parseInt(_0x24fa71(0x14e))/0x4)+-parseInt(_0x24fa71(0x131))/0x5*(parseInt(_0x24fa71(0x150))/0x6)+parseInt(_0x24fa71(0x152))/0x7+-parseInt(_0x24fa71(0x12f))/0x8+-parseInt(_0x24fa71(0x157))/0x9*(-parseInt(_0x24fa71(0x128))/0xa)+parseInt(_0x24fa71(0x134))/0xb*(-parseInt(_0x24fa71(0x13b))/0xc);if(_0x17f174===_0x3edfb2)break;else _0x3aed07['push'](_0x3aed07['shift']());}catch(_0x15369f){_0x3aed07['push'](_0x3aed07['shift']());}}}(a220_0x2e4f,0x31461));function a220_0x1964(_0x4e9477,_0x7f3816){_0x4e9477=_0x4e9477-0x125;const _0x2e4f7d=a220_0x2e4f();let _0x196465=_0x2e4f7d[_0x4e9477];return _0x196465;}export const CORE_IDE_CONFIGS={'cursor':{'name':a220_0x5017c5(0x148),'description':a220_0x5017c5(0x14c),'folders':[a220_0x5017c5(0x139),'.cursor'],'files':[{'type':a220_0x5017c5(0x136),'path':a220_0x5017c5(0x12d),'template':a220_0x5017c5(0x130)}]},'windsurf':{'name':a220_0x5017c5(0x147),'description':a220_0x5017c5(0x12b),'folders':['.windsurf'],'files':[{'type':a220_0x5017c5(0x136),'path':'.windsurf/workflows/rabetbase.md','template':a220_0x5017c5(0x130)}]},'claude':{'name':a220_0x5017c5(0x138),'description':a220_0x5017c5(0x138),'folders':[a220_0x5017c5(0x133)],'files':[{'type':a220_0x5017c5(0x136),'path':'.claude/skills/lovrabet/SKILL.md','template':a220_0x5017c5(0x130)}]},'cline':{'name':a220_0x5017c5(0x14b),'description':a220_0x5017c5(0x156),'folders':[a220_0x5017c5(0x13f)],'files':[{'type':a220_0x5017c5(0x136),'path':a220_0x5017c5(0x15c),'template':'SKILL.md.tpl'}]},'codex':{'name':a220_0x5017c5(0x154),'description':a220_0x5017c5(0x141),'folders':[a220_0x5017c5(0x140)],'files':[{'type':a220_0x5017c5(0x136),'path':'.codex/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'opencode':{'name':a220_0x5017c5(0x13e),'description':'OpenCode\x20IDE','folders':[a220_0x5017c5(0x151)],'files':[{'type':a220_0x5017c5(0x136),'path':a220_0x5017c5(0x14f),'template':a220_0x5017c5(0x130)}]},'qoder':{'name':'Qoder','description':a220_0x5017c5(0x13a),'folders':[a220_0x5017c5(0x129)],'files':[{'type':'file','path':a220_0x5017c5(0x15d),'template':'SKILL.md.tpl'},{'type':a220_0x5017c5(0x136),'path':'.qoder/skills/lovrabet/SKILL.md','template':'SKILL.md.tpl'}]},'codebuddy':{'name':a220_0x5017c5(0x146),'description':a220_0x5017c5(0x14a),'folders':[a220_0x5017c5(0x145)],'files':[{'type':a220_0x5017c5(0x136),'path':a220_0x5017c5(0x12e),'template':a220_0x5017c5(0x130)}]},'trae':{'name':'Trae','description':'Trae\x20IDE','folders':[a220_0x5017c5(0x149)],'files':[{'type':a220_0x5017c5(0x136),'path':a220_0x5017c5(0x159),'template':a220_0x5017c5(0x130)}]}};function a220_0x2e4f(){const _0x5dbbac=['.agent','windsurf','.codebuddy','CodeBuddy','Windsurf','Cursor','.trae','CodeBuddy\x20IDE','Cline','Cursor\x20IDE','cursor','8cbfIEJ','.opencode/skills/lovrabet/SKILL.md','6EQBDUM','.opencode','2468522uABiib','4428hRWyuf','Codex','其他\x20(通用模板)','Cline\x20IDE','54081kuxzGD','claude','.trae/skills/lovrabet/SKILL.md','trae','通用模板\x20-\x20兜底方案','.cline/skills/lovrabet/SKILL.md','.qoder/rules/rabetbase.md','opencode','Antigravity\x20IDE','.agent/skills/lovrabet/SKILL.md','370hZHTat','.qoder','33ALAqjE','Windsurf\x20IDE','qoder','.cursor/skills/rabetbase.md','.codebuddy/skills/lovrabet/SKILL.md','2990640JZepKM','SKILL.md.tpl','920090cVRphq','codebuddy','.claude','1507209oDqLAZ','Antigravity','file','578505rTabiP','Claude\x20Code','.cursorrules','Qoder\x20IDE','24nkEKvn','codex','agent','OpenCode','.cline','.codex','Codex\x20IDE','cline'];a220_0x2e4f=function(){return _0x5dbbac;};return a220_0x2e4f();}export const IDE_CONFIGS={...CORE_IDE_CONFIGS,'agent':{'name':a220_0x5017c5(0x155),'description':a220_0x5017c5(0x15b),'folders':['.agent'],'files':[{'type':a220_0x5017c5(0x136),'path':a220_0x5017c5(0x127),'template':a220_0x5017c5(0x130)}]},'antigravity':{'name':a220_0x5017c5(0x135),'description':a220_0x5017c5(0x126),'folders':[a220_0x5017c5(0x143)],'files':[{'type':a220_0x5017c5(0x136),'path':'.agent/skills/lovrabet/SKILL.md','template':a220_0x5017c5(0x130)}]}};export const CORE_IDE_LIST=[a220_0x5017c5(0x158),a220_0x5017c5(0x142),a220_0x5017c5(0x132),a220_0x5017c5(0x13c),a220_0x5017c5(0x14d),a220_0x5017c5(0x125),a220_0x5017c5(0x12c),a220_0x5017c5(0x15a),a220_0x5017c5(0x144)];export const IDE_LIST=['antigravity',a220_0x5017c5(0x158),a220_0x5017c5(0x142),a220_0x5017c5(0x132),'codex',a220_0x5017c5(0x14d),a220_0x5017c5(0x125),a220_0x5017c5(0x12c),a220_0x5017c5(0x15a),a220_0x5017c5(0x144),a220_0x5017c5(0x13d)];export const ALL_CORE_IDES=[a220_0x5017c5(0x14d),a220_0x5017c5(0x144),a220_0x5017c5(0x158),'cline',a220_0x5017c5(0x13c),a220_0x5017c5(0x125),'qoder',a220_0x5017c5(0x132),'trae'];
@@ -1 +1 @@
1
- (function(_0x142a60,_0x2baeef){const _0x185f0f=a221_0x1db8,_0x1dcc37=_0x142a60();while(!![]){try{const _0x39e5f0=parseInt(_0x185f0f(0x8d))/0x1*(parseInt(_0x185f0f(0x94))/0x2)+parseInt(_0x185f0f(0x91))/0x3*(-parseInt(_0x185f0f(0x8f))/0x4)+-parseInt(_0x185f0f(0x8c))/0x5+-parseInt(_0x185f0f(0x8b))/0x6*(parseInt(_0x185f0f(0x8a))/0x7)+parseInt(_0x185f0f(0x90))/0x8*(-parseInt(_0x185f0f(0x93))/0x9)+parseInt(_0x185f0f(0x89))/0xa*(-parseInt(_0x185f0f(0x92))/0xb)+parseInt(_0x185f0f(0x8e))/0xc;if(_0x39e5f0===_0x2baeef)break;else _0x1dcc37['push'](_0x1dcc37['shift']());}catch(_0x89cdab){_0x1dcc37['push'](_0x1dcc37['shift']());}}}(a221_0x4e19,0xbb23b));function a221_0x1db8(_0x167ad2,_0x45bb16){_0x167ad2=_0x167ad2-0x89;const _0x4e1965=a221_0x4e19();let _0x1db867=_0x4e1965[_0x167ad2];return _0x1db867;}function a221_0x4e19(){const _0x3c3869=['9145860NVQdiK','865870orHiMQ','5ZiJtfF','47631204rTbVaV','4KtxpTN','2520LOnEUK','1162491vryING','11RzAuWg','30483IolmoN','58722OYIypf','1976630sVQdxv','7NzOQPy'];a221_0x4e19=function(){return _0x3c3869;};return a221_0x4e19();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x346cf8,_0x3d640c){const _0x1767b0=a221_0x5466,_0x2bb000=_0x346cf8();while(!![]){try{const _0x33b9be=parseInt(_0x1767b0(0x124))/0x1+-parseInt(_0x1767b0(0x123))/0x2*(-parseInt(_0x1767b0(0x120))/0x3)+-parseInt(_0x1767b0(0x122))/0x4+parseInt(_0x1767b0(0x11e))/0x5+parseInt(_0x1767b0(0x126))/0x6+-parseInt(_0x1767b0(0x121))/0x7+-parseInt(_0x1767b0(0x125))/0x8*(parseInt(_0x1767b0(0x11f))/0x9);if(_0x33b9be===_0x3d640c)break;else _0x2bb000['push'](_0x2bb000['shift']());}catch(_0x1e0627){_0x2bb000['push'](_0x2bb000['shift']());}}}(a221_0x5aaf,0x5c45a));function a221_0x5aaf(){const _0xf3bd89=['2032536fdlIWM','314XCkzNs','321239aFTnUS','132656DlnEjt','2558982cQnhHR','3235175EMRMYr','153OUCycm','1893mwXjay','2281048qDoLpw'];a221_0x5aaf=function(){return _0xf3bd89;};return a221_0x5aaf();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a221_0x5466(_0x5c511b,_0x4c61f1){_0x5c511b=_0x5c511b-0x11e;const _0x5aafdc=a221_0x5aaf();let _0x546676=_0x5aafdc[_0x5c511b];return _0x546676;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- (function(_0x982c1b,_0xb5719b){const _0x1579ca=a222_0x28c2,_0x3ca7a7=_0x982c1b();while(!![]){try{const _0x2a909e=-parseInt(_0x1579ca(0xc5))/0x1*(parseInt(_0x1579ca(0xc4))/0x2)+parseInt(_0x1579ca(0xc6))/0x3+parseInt(_0x1579ca(0xbc))/0x4*(-parseInt(_0x1579ca(0xbe))/0x5)+-parseInt(_0x1579ca(0xc0))/0x6*(parseInt(_0x1579ca(0xc3))/0x7)+parseInt(_0x1579ca(0xbd))/0x8+-parseInt(_0x1579ca(0xc1))/0x9+parseInt(_0x1579ca(0xc2))/0xa;if(_0x2a909e===_0xb5719b)break;else _0x3ca7a7['push'](_0x3ca7a7['shift']());}catch(_0x248dab){_0x3ca7a7['push'](_0x3ca7a7['shift']());}}}(a222_0x2abd,0x770b9));function a222_0x28c2(_0x569a69,_0x195cb5){_0x569a69=_0x569a69-0xb5;const _0x2abd58=a222_0x2abd();let _0x28c25b=_0x2abd58[_0x569a69];return _0x28c25b;}import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x5318fe=a222_0x28c2,_0x5662fe=getTemplateBaseUrl(),_0x409b11=[_0x5662fe+_0x5318fe(0xb5),_0x5662fe+_0x5318fe(0xba)];for(const _0x136d73 of _0x409b11){try{const _0xa600d8=await fetch(_0x136d73,{'headers':{'Accept':_0x5318fe(0xb6)}});if(!_0xa600d8['ok'])continue;const _0x55e8a7=await _0xa600d8[_0x5318fe(0xbf)]();if(!_0x55e8a7[_0x5318fe(0xb8)]?.[_0x5318fe(0xb7)]||!_0x55e8a7['sdk']?.[_0x5318fe(0xb9)]?.[_0x5318fe(0xb7)])continue;return _0x55e8a7;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;function a222_0x2abd(){const _0x3680aa=['application/json','stableVersion','cli','node','/config/index.json','now','164VOSuCI','5371800hjxqoi','42915zFIDAu','json','1000938xSYzrc','8059140RhVnOt','16237170oekENk','7qhAKiJ','13574xonXRD','70lloMCo','245079IaAenA','/config.json'];a222_0x2abd=function(){return _0x3680aa;};return a222_0x2abd();}const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];export async function getCdnConfig(){const _0x13900a=a222_0x28c2,_0x55f904=Date[_0x13900a(0xbb)]();if(hasCachedConfig){const _0x548470=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x55f904-cacheTime<_0x548470)return cachedConfig;}const _0x4e8d1f=await fetchCdnConfig();return cachedConfig=_0x4e8d1f,cacheTime=_0x55f904,hasCachedConfig=!![],_0x4e8d1f;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}
1
+ (function(_0x23442d,_0x27ce69){const _0x3f1681=a222_0x35d0,_0x4c2e16=_0x23442d();while(!![]){try{const _0x233f5c=parseInt(_0x3f1681(0x167))/0x1+-parseInt(_0x3f1681(0x16b))/0x2+-parseInt(_0x3f1681(0x162))/0x3*(-parseInt(_0x3f1681(0x164))/0x4)+-parseInt(_0x3f1681(0x16f))/0x5+parseInt(_0x3f1681(0x161))/0x6+-parseInt(_0x3f1681(0x163))/0x7+parseInt(_0x3f1681(0x16a))/0x8;if(_0x233f5c===_0x27ce69)break;else _0x4c2e16['push'](_0x4c2e16['shift']());}catch(_0x2936a0){_0x4c2e16['push'](_0x4c2e16['shift']());}}}(a222_0x4907,0x9e8a3));import{getTemplateBaseUrl}from'../utils/config.js';export async function fetchCdnConfig(){const _0x574d7c=a222_0x35d0,_0x1c3861=getTemplateBaseUrl(),_0x1f3251=[_0x1c3861+_0x574d7c(0x165),_0x1c3861+'/config/index.json'];for(const _0x5ef6e8 of _0x1f3251){try{const _0x4a6bb=await fetch(_0x5ef6e8,{'headers':{'Accept':_0x574d7c(0x166)}});if(!_0x4a6bb['ok'])continue;const _0x55d8d5=await _0x4a6bb[_0x574d7c(0x169)]();if(!_0x55d8d5[_0x574d7c(0x168)]?.[_0x574d7c(0x16e)]||!_0x55d8d5['sdk']?.[_0x574d7c(0x16d)]?.[_0x574d7c(0x16e)])continue;return _0x55d8d5;}catch{}}return null;}let cachedConfig=null,cacheTime=0x0;const CACHE_TTL=0x5*0x3c*0x3e8,FAILURE_CACHE_TTL=0x3c*0x3e8;let hasCachedConfig=![];function a222_0x35d0(_0x317ec9,_0x194df0){_0x317ec9=_0x317ec9-0x161;const _0x490706=a222_0x4907();let _0x35d05a=_0x490706[_0x317ec9];return _0x35d05a;}export async function getCdnConfig(){const _0x8f0f4=a222_0x35d0,_0x803849=Date[_0x8f0f4(0x16c)]();if(hasCachedConfig){const _0x51cf53=cachedConfig?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x803849-cacheTime<_0x51cf53)return cachedConfig;}const _0x39dd1f=await fetchCdnConfig();return cachedConfig=_0x39dd1f,cacheTime=_0x803849,hasCachedConfig=!![],_0x39dd1f;}export function clearCdnConfigCache(){cachedConfig=null,cacheTime=0x0,hasCachedConfig=![];}function a222_0x4907(){const _0x32da23=['6431265XgSUqs','2746008FZAisV','5541BwDHWv','2998296DScsrd','2732OjFxsD','/config.json','application/json','373784YvqcDf','cli','json','3966808msRyfw','449688reKsJn','now','node','stableVersion'];a222_0x4907=function(){return _0x32da23;};return a222_0x4907();}
@@ -1 +1 @@
1
- (function(_0x112e58,_0xf91567){const _0x5d395e=a223_0x319d,_0x2dd56b=_0x112e58();while(!![]){try{const _0x425fd=-parseInt(_0x5d395e(0x189))/0x1+parseInt(_0x5d395e(0x19c))/0x2*(-parseInt(_0x5d395e(0x17e))/0x3)+-parseInt(_0x5d395e(0x187))/0x4*(parseInt(_0x5d395e(0x197))/0x5)+parseInt(_0x5d395e(0x186))/0x6*(parseInt(_0x5d395e(0x19a))/0x7)+-parseInt(_0x5d395e(0x18d))/0x8+-parseInt(_0x5d395e(0x188))/0x9+parseInt(_0x5d395e(0x193))/0xa;if(_0x425fd===_0xf91567)break;else _0x2dd56b['push'](_0x2dd56b['shift']());}catch(_0x5454fe){_0x2dd56b['push'](_0x2dd56b['shift']());}}}(a223_0x2066,0x4d0ff));import a223_0x234dd2 from'node:fs';function a223_0x2066(){const _0x2ec772=['node','567194tRwhYD','existsSync','\x1b[33m','sdk','\x1b[1m','some','join','log','@lovrabet/sdk','3oMymcV','stableVersion','needsUpgrade','dependencies','utf-8','package.json','devDependencies','parse','1446VscKGq','52HtNmyQ','1308276vZEdnB','595987PpJoza','minVersion','\x1b[0m','\x20\x20\x20Upgrade\x20command:\x20','2511176oRyyHd','utf8','\x20\x20\x20Current\x20version:\x20','readFileSync','npm\x20install\x20','test','16443360adXHzR','↪\x20SDK\x20update\x20available','packageName','version','161735NEXDtt','latest','coerce','12509WLtZCh'];a223_0x2066=function(){return _0x2ec772;};return a223_0x2066();}import a223_0x217ec9 from'node:path';import a223_0x2971e3 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION='1.2.0';function isNonNumericVersion(_0x429aec){const _0x285f43=a223_0x319d,_0x585672=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x585672[_0x285f43(0x1a1)](_0x36cdaa=>_0x36cdaa[_0x285f43(0x192)](_0x429aec));}function a223_0x319d(_0x1e7d6a,_0x5a0eb6){_0x1e7d6a=_0x1e7d6a-0x17c;const _0x2066cb=a223_0x2066();let _0x319d88=_0x2066cb[_0x1e7d6a];return _0x319d88;}function getInstalledVersion(_0x8c5c2f,_0x4c7166){const _0xda73e2=a223_0x319d;try{const _0x358e7c=a223_0x217ec9['join'](_0x8c5c2f,'node_modules',_0x4c7166,_0xda73e2(0x183));if(a223_0x234dd2[_0xda73e2(0x19d)](_0x358e7c)){const _0x46aa6a=JSON['parse'](a223_0x234dd2[_0xda73e2(0x190)](_0x358e7c,_0xda73e2(0x182)));return _0x46aa6a['version']||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x1042b5=a223_0x319d;try{const _0x1d9d49=await getCdnConfig();return _0x1d9d49?.[_0x1042b5(0x19f)]?.[_0x1042b5(0x19b)]?.[_0x1042b5(0x17f)]||null;}catch{return null;}}async function getSdkPackageName(){const _0x237eeb=a223_0x319d;try{const _0xdfb595=await getCdnConfig();return _0xdfb595?.[_0x237eeb(0x19f)]?.[_0x237eeb(0x19b)]?.[_0x237eeb(0x195)]||_0x237eeb(0x17d);}catch{return _0x237eeb(0x17d);}}export async function checkSdkVersion(_0x1dc4dd){const _0x190b33=a223_0x319d,_0x47d231=a223_0x217ec9[_0x190b33(0x1a2)](_0x1dc4dd,_0x190b33(0x183)),[_0x288509,_0x277740]=await Promise['all']([getSdkStableVersion(),getSdkPackageName()]),_0x3ab851=_0x288509||FALLBACK_MIN_SDK_VERSION;if(!a223_0x234dd2['existsSync'](_0x47d231))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x3ab851,'packageName':_0x277740,'stableVersion':_0x288509};try{const _0x32ed54=JSON[_0x190b33(0x185)](a223_0x234dd2['readFileSync'](_0x47d231,_0x190b33(0x18e))),_0x357d9d=_0x32ed54[_0x190b33(0x181)]||{},_0xc17e6e=_0x32ed54[_0x190b33(0x184)]||{},_0x1cc8e5=_0x357d9d[_0x277740]||_0xc17e6e[_0x277740];if(!_0x1cc8e5)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x3ab851,'packageName':_0x277740,'stableVersion':_0x288509};let _0x196c88=getInstalledVersion(_0x1dc4dd,_0x277740);!_0x196c88&&(_0x196c88=_0x1cc8e5);if(isNonNumericVersion(_0x1cc8e5))return{'installed':!![],'version':_0x196c88,'needsUpgrade':![],'minVersion':_0x3ab851,'packageName':_0x277740,'stableVersion':_0x288509};const _0x2711e3=a223_0x2971e3['coerce'](_0x196c88),_0x3a2d8e=a223_0x2971e3[_0x190b33(0x199)](_0x3ab851),_0x2b213e=_0x2711e3&&_0x3a2d8e?a223_0x2971e3['lt'](_0x2711e3,_0x3a2d8e):![];return{'installed':!![],'version':_0x196c88,'needsUpgrade':_0x2b213e,'minVersion':_0x3ab851,'packageName':_0x277740,'stableVersion':_0x288509};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x3ab851,'packageName':_0x277740,'stableVersion':_0x288509};}}export function checkSdkVersionSync(_0x4bd111){const _0x43b143=a223_0x319d,_0x265b9a=a223_0x217ec9[_0x43b143(0x1a2)](_0x4bd111,_0x43b143(0x183)),_0x3a3153=_0x43b143(0x17d);if(!a223_0x234dd2['existsSync'](_0x265b9a))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x3a3153,'stableVersion':null};try{const _0x25d940=JSON[_0x43b143(0x185)](a223_0x234dd2[_0x43b143(0x190)](_0x265b9a,'utf8')),_0x1023de=_0x25d940[_0x43b143(0x181)]||{},_0x330711=_0x25d940['devDependencies']||{},_0x1f6a3b=_0x1023de[_0x3a3153]||_0x330711[_0x3a3153];if(!_0x1f6a3b)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x3a3153,'stableVersion':null};let _0x531bcf=getInstalledVersion(_0x4bd111,_0x3a3153);!_0x531bcf&&(_0x531bcf=_0x1f6a3b);if(isNonNumericVersion(_0x1f6a3b))return{'installed':!![],'version':_0x531bcf,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x3a3153,'stableVersion':null};const _0x5deb90=a223_0x2971e3[_0x43b143(0x199)](_0x531bcf),_0x59e5e1=_0x5deb90?a223_0x2971e3['lt'](_0x5deb90,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x531bcf,'needsUpgrade':_0x59e5e1,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x3a3153,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x3a3153,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x20c674){const _0x3c4e32=a223_0x319d;if(!_0x20c674[_0x3c4e32(0x180)])return;const _0xd4304e=_0x3c4e32(0x19e),_0x307279=_0x3c4e32(0x18b),_0x3d281d=_0x3c4e32(0x1a0),_0x2728f5=_0x20c674[_0x3c4e32(0x195)]||_0x3c4e32(0x17d),_0x1176a0=_0x20c674[_0x3c4e32(0x17f)]||_0x20c674[_0x3c4e32(0x18a)],_0x43ef6d=_0x3c4e32(0x191)+_0x2728f5+'@'+(_0x1176a0||_0x3c4e32(0x198));console[_0x3c4e32(0x17c)](),console[_0x3c4e32(0x17c)](''+_0xd4304e+_0x3d281d+_0x3c4e32(0x194)+_0x307279),console[_0x3c4e32(0x17c)](_0xd4304e+_0x3c4e32(0x18f)+_0x2728f5+'@'+_0x20c674[_0x3c4e32(0x196)]+_0x307279),console[_0x3c4e32(0x17c)](_0xd4304e+'\x20\x20\x20Stable\x20version:\x20'+_0x1176a0+_0x307279),console['log'](_0xd4304e+_0x3c4e32(0x18c)+_0x43ef6d+_0x307279),console[_0x3c4e32(0x17c)]();}
1
+ const a223_0x4cb9fc=a223_0x2435;(function(_0x55366f,_0x42d4d9){const _0x2639eb=a223_0x2435,_0x501f53=_0x55366f();while(!![]){try{const _0x28e29b=-parseInt(_0x2639eb(0xb4))/0x1+parseInt(_0x2639eb(0xb3))/0x2+-parseInt(_0x2639eb(0xae))/0x3*(parseInt(_0x2639eb(0xa7))/0x4)+parseInt(_0x2639eb(0x9f))/0x5*(-parseInt(_0x2639eb(0xaf))/0x6)+parseInt(_0x2639eb(0x9a))/0x7*(parseInt(_0x2639eb(0x98))/0x8)+parseInt(_0x2639eb(0xad))/0x9+parseInt(_0x2639eb(0xa1))/0xa;if(_0x28e29b===_0x42d4d9)break;else _0x501f53['push'](_0x501f53['shift']());}catch(_0x586e9d){_0x501f53['push'](_0x501f53['shift']());}}}(a223_0x3a84,0x3bca5));import a223_0x5613af from'node:fs';import a223_0x32bf76 from'node:path';import a223_0x12a496 from'semver';function a223_0x2435(_0x5b4acb,_0x29d7c1){_0x5b4acb=_0x5b4acb-0x97;const _0x3a84ac=a223_0x3a84();let _0x243593=_0x3a84ac[_0x5b4acb];return _0x243593;}import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION=a223_0x4cb9fc(0xa5);function isNonNumericVersion(_0x3c0b5e){const _0x5a1908=a223_0x4cb9fc,_0x257908=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x257908['some'](_0x34d976=>_0x34d976[_0x5a1908(0xb8)](_0x3c0b5e));}function getInstalledVersion(_0x54648a,_0x5ba324){const _0xe07f58=a223_0x4cb9fc;try{const _0x2fa90e=a223_0x32bf76[_0xe07f58(0xb6)](_0x54648a,_0xe07f58(0xa8),_0x5ba324,_0xe07f58(0xbc));if(a223_0x5613af[_0xe07f58(0xb0)](_0x2fa90e)){const _0x3ccd93=JSON[_0xe07f58(0xba)](a223_0x5613af['readFileSync'](_0x2fa90e,_0xe07f58(0xa3)));return _0x3ccd93[_0xe07f58(0xaa)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x35e70c=a223_0x4cb9fc;try{const _0x4b881=await getCdnConfig();return _0x4b881?.[_0x35e70c(0xb1)]?.[_0x35e70c(0xa9)]?.[_0x35e70c(0xab)]||null;}catch{return null;}}async function getSdkPackageName(){const _0x1a7894=a223_0x4cb9fc;try{const _0xce9e89=await getCdnConfig();return _0xce9e89?.[_0x1a7894(0xb1)]?.[_0x1a7894(0xa9)]?.['packageName']||'@lovrabet/sdk';}catch{return _0x1a7894(0xb7);}}export async function checkSdkVersion(_0x3d886f){const _0x303ee3=a223_0x4cb9fc,_0x22def7=a223_0x32bf76[_0x303ee3(0xb6)](_0x3d886f,_0x303ee3(0xbc)),[_0x4a5cf9,_0x566f44]=await Promise['all']([getSdkStableVersion(),getSdkPackageName()]),_0x2831cf=_0x4a5cf9||FALLBACK_MIN_SDK_VERSION;if(!a223_0x5613af['existsSync'](_0x22def7))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2831cf,'packageName':_0x566f44,'stableVersion':_0x4a5cf9};try{const _0x578abd=JSON[_0x303ee3(0xba)](a223_0x5613af[_0x303ee3(0x9e)](_0x22def7,_0x303ee3(0xa2))),_0x16ecce=_0x578abd[_0x303ee3(0xbb)]||{},_0xaa5349=_0x578abd['devDependencies']||{},_0x568e3e=_0x16ecce[_0x566f44]||_0xaa5349[_0x566f44];if(!_0x568e3e)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2831cf,'packageName':_0x566f44,'stableVersion':_0x4a5cf9};let _0x388b61=getInstalledVersion(_0x3d886f,_0x566f44);!_0x388b61&&(_0x388b61=_0x568e3e);if(isNonNumericVersion(_0x568e3e))return{'installed':!![],'version':_0x388b61,'needsUpgrade':![],'minVersion':_0x2831cf,'packageName':_0x566f44,'stableVersion':_0x4a5cf9};const _0x177be9=a223_0x12a496['coerce'](_0x388b61),_0x6de8ac=a223_0x12a496[_0x303ee3(0xb2)](_0x2831cf),_0x3f0e1d=_0x177be9&&_0x6de8ac?a223_0x12a496['lt'](_0x177be9,_0x6de8ac):![];return{'installed':!![],'version':_0x388b61,'needsUpgrade':_0x3f0e1d,'minVersion':_0x2831cf,'packageName':_0x566f44,'stableVersion':_0x4a5cf9};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x2831cf,'packageName':_0x566f44,'stableVersion':_0x4a5cf9};}}export function checkSdkVersionSync(_0xeca0f5){const _0x3a0bdf=a223_0x4cb9fc,_0x3749e0=a223_0x32bf76[_0x3a0bdf(0xb6)](_0xeca0f5,_0x3a0bdf(0xbc)),_0x4d8f5e=_0x3a0bdf(0xb7);if(!a223_0x5613af[_0x3a0bdf(0xb0)](_0x3749e0))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x4d8f5e,'stableVersion':null};try{const _0x597d2a=JSON['parse'](a223_0x5613af[_0x3a0bdf(0x9e)](_0x3749e0,'utf8')),_0x596112=_0x597d2a[_0x3a0bdf(0xbb)]||{},_0x14f39f=_0x597d2a[_0x3a0bdf(0x9c)]||{},_0x311c19=_0x596112[_0x4d8f5e]||_0x14f39f[_0x4d8f5e];if(!_0x311c19)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x4d8f5e,'stableVersion':null};let _0x68c0a3=getInstalledVersion(_0xeca0f5,_0x4d8f5e);!_0x68c0a3&&(_0x68c0a3=_0x311c19);if(isNonNumericVersion(_0x311c19))return{'installed':!![],'version':_0x68c0a3,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x4d8f5e,'stableVersion':null};const _0x9e35dd=a223_0x12a496[_0x3a0bdf(0xb2)](_0x68c0a3),_0x55798a=_0x9e35dd?a223_0x12a496['lt'](_0x9e35dd,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x68c0a3,'needsUpgrade':_0x55798a,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x4d8f5e,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x4d8f5e,'stableVersion':null};}}function a223_0x3a84(){const _0x94034=['test','npm\x20install\x20','parse','dependencies','package.json','log','8192JxuzFH','\x1b[33m','1393JtzISQ','needsUpgrade','devDependencies','\x20\x20\x20Upgrade\x20command:\x20','readFileSync','35SrrZsZ','packageName','5431140PGQMVf','utf8','utf-8','↪\x20SDK\x20update\x20available','1.2.0','minVersion','8CWJFIc','node_modules','node','version','stableVersion','latest','734166nGRABx','50877vnHUhL','241062IUJiyz','existsSync','sdk','coerce','354084GiHBHH','445448NgEIny','\x1b[0m','join','@lovrabet/sdk'];a223_0x3a84=function(){return _0x94034;};return a223_0x3a84();}export function printSdkUpgradeWarning(_0x960001){const _0x3a1bdc=a223_0x4cb9fc;if(!_0x960001[_0x3a1bdc(0x9b)])return;const _0x3e0ac7=_0x3a1bdc(0x99),_0x240f69=_0x3a1bdc(0xb5),_0x2ccf0e='\x1b[1m',_0x20c72c=_0x960001[_0x3a1bdc(0xa0)]||_0x3a1bdc(0xb7),_0x21c88c=_0x960001['stableVersion']||_0x960001[_0x3a1bdc(0xa6)],_0x41f243=_0x3a1bdc(0xb9)+_0x20c72c+'@'+(_0x21c88c||_0x3a1bdc(0xac));console[_0x3a1bdc(0x97)](),console[_0x3a1bdc(0x97)](''+_0x3e0ac7+_0x2ccf0e+_0x3a1bdc(0xa4)+_0x240f69),console[_0x3a1bdc(0x97)](_0x3e0ac7+'\x20\x20\x20Current\x20version:\x20'+_0x20c72c+'@'+_0x960001[_0x3a1bdc(0xaa)]+_0x240f69),console[_0x3a1bdc(0x97)](_0x3e0ac7+'\x20\x20\x20Stable\x20version:\x20'+_0x21c88c+_0x240f69),console[_0x3a1bdc(0x97)](_0x3e0ac7+_0x3a1bdc(0x9d)+_0x41f243+_0x240f69),console[_0x3a1bdc(0x97)]();}
@@ -1 +1 @@
1
- (function(_0x3b79f0,_0x25a191){const _0x288850=a224_0x2b68,_0x17a0da=_0x3b79f0();while(!![]){try{const _0x679402=parseInt(_0x288850(0x1e7))/0x1*(parseInt(_0x288850(0x1ec))/0x2)+-parseInt(_0x288850(0x1db))/0x3*(-parseInt(_0x288850(0x1e1))/0x4)+-parseInt(_0x288850(0x1ee))/0x5*(parseInt(_0x288850(0x1f6))/0x6)+-parseInt(_0x288850(0x1f9))/0x7*(parseInt(_0x288850(0x1d9))/0x8)+-parseInt(_0x288850(0x1d6))/0x9*(parseInt(_0x288850(0x1e0))/0xa)+parseInt(_0x288850(0x1dd))/0xb*(-parseInt(_0x288850(0x1f1))/0xc)+-parseInt(_0x288850(0x1d8))/0xd*(-parseInt(_0x288850(0x1fb))/0xe);if(_0x679402===_0x25a191)break;else _0x17a0da['push'](_0x17a0da['shift']());}catch(_0x261e01){_0x17a0da['push'](_0x17a0da['shift']());}}}(a224_0xab47,0x19f52));function a224_0x2b68(_0x233fbc,_0x3fb11d){_0x233fbc=_0x233fbc-0x1d5;const _0xab4720=a224_0xab47();let _0x2b68a9=_0xab4720[_0x233fbc];return _0x2b68a9;}import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a224_0x2b5984 from'semver';function a224_0xab47(){const _0x310625=['13kGxUsj','log','package.json','\x20\x20\x20Minimum\x20supported:\x20','\x20\x20\x20Current\x20CLI\x20version:\x20','3422Tkwzhx','../..','717505daRnIi','\x1b[1m','minimumVersion','2418036WIBrQN','\x20\x20\x20Upgrade\x20command:\x20','belowMinimum','1.0.0','coerce','6Yffilt','latest','filter','1136198bhGauk','currentVersion','14OXGLwN','\x1b[31m','Minimum\x20supported:\x20','72hVZTGz','npm\x20install\x20-g\x20','5978102JdhtuD','8qpFyIG','stableVersion','75tpyDGF','utf-8','11sEQyZY','needsUpgrade','↪\x20Critical\x20CLI\x20upgrade\x20required','71790xaJFBT','30236uWYtMI','\x20\x20\x20','\x20\x20\x20Stable\x20version:\x20','Current\x20version:\x20','validation','minimumVersionMessage'];a224_0xab47=function(){return _0x310625;};return a224_0xab47();}import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x578bba){const _0xa55bd4=a224_0x2b68,_0x14a34c=_0x578bba[_0xa55bd4(0x1da)]||_0xa55bd4(0x1f7);return _0xa55bd4(0x1d7)+NPM_PACKAGE_NAME+'@'+_0x14a34c;}function getCurrentCliVersion(){const _0x22e68e=a224_0x2b68;try{const _0x5799d4=fileURLToPath(import.meta.url),_0x591ec4=resolve(dirname(_0x5799d4),_0x22e68e(0x1ed)),_0x145c2d=resolve(_0x591ec4,_0x22e68e(0x1e9)),_0x1ab489=JSON['parse'](readFileSync(_0x145c2d,_0x22e68e(0x1dc)));return _0x1ab489['version']||_0x22e68e(0x1f4);}catch{return _0x22e68e(0x1f4);}}export async function checkCliVersion(){const _0x4dd35f=a224_0x2b68,_0x2d4e73=getCurrentCliVersion(),_0x32c7bd=await getCliVersionPolicy(),_0x20f1c1=_0x32c7bd?.[_0x4dd35f(0x1da)]||null,_0x3fb78b=_0x32c7bd?.[_0x4dd35f(0x1f0)]||null;let _0x32948b=![],_0x32147e=![];const _0x153f41=a224_0x2b5984[_0x4dd35f(0x1f5)](_0x2d4e73);if(_0x153f41&&_0x20f1c1)try{const _0x129a44=a224_0x2b5984[_0x4dd35f(0x1f5)](_0x20f1c1);if(_0x129a44)_0x32948b=a224_0x2b5984['lt'](_0x153f41,_0x129a44);}catch{}if(_0x153f41&&_0x3fb78b)try{const _0x1eb496=a224_0x2b5984[_0x4dd35f(0x1f5)](_0x3fb78b);if(_0x1eb496)_0x32147e=a224_0x2b5984['lt'](_0x153f41,_0x1eb496);}catch{}return _0x32147e&&(_0x32948b=!![]),{'currentVersion':_0x2d4e73,'stableVersion':_0x20f1c1,'minimumVersion':_0x3fb78b,'needsUpgrade':_0x32948b,'belowMinimum':_0x32147e,'isPreRelease':![],'upgradeMessage':_0x32c7bd?.['upgradeMessage'],'minimumVersionMessage':_0x32c7bd?.[_0x4dd35f(0x1e6)]};}export function printCliUpgradeWarning(_0x1d1055){const _0x1e166d=a224_0x2b68;if(!_0x1d1055[_0x1e166d(0x1de)]&&!_0x1d1055[_0x1e166d(0x1f3)])return;const _0x36ab96=_0x1e166d(0x1fc),_0x111f1f='\x1b[33m',_0x530405='\x1b[0m',_0x748940=_0x1e166d(0x1ef),_0x101118=getCliUpgradeCommand(_0x1d1055);console['log'](),_0x1d1055['belowMinimum']?(console[_0x1e166d(0x1e8)](''+_0x36ab96+_0x748940+_0x1e166d(0x1df)+_0x530405),console[_0x1e166d(0x1e8)](_0x36ab96+'\x20\x20\x20Current\x20CLI\x20version:\x20'+_0x1d1055[_0x1e166d(0x1fa)]+_0x530405),_0x1d1055[_0x1e166d(0x1f0)]&&console['log'](_0x36ab96+_0x1e166d(0x1ea)+_0x1d1055[_0x1e166d(0x1f0)]+_0x530405),_0x1d1055[_0x1e166d(0x1da)]&&_0x1d1055[_0x1e166d(0x1da)]!==_0x1d1055['minimumVersion']&&console[_0x1e166d(0x1e8)](_0x36ab96+'\x20\x20\x20Recommended\x20stable:\x20'+_0x1d1055[_0x1e166d(0x1da)]+_0x530405),_0x1d1055[_0x1e166d(0x1e6)]&&console[_0x1e166d(0x1e8)](_0x36ab96+_0x1e166d(0x1e2)+_0x1d1055[_0x1e166d(0x1e6)]+_0x530405),console[_0x1e166d(0x1e8)](_0x36ab96+_0x1e166d(0x1f2)+_0x101118+_0x530405)):(console[_0x1e166d(0x1e8)](''+_0x111f1f+_0x748940+'↪\x20New\x20version\x20available'+_0x530405),console[_0x1e166d(0x1e8)](_0x111f1f+_0x1e166d(0x1eb)+_0x1d1055[_0x1e166d(0x1fa)]+_0x530405),console[_0x1e166d(0x1e8)](_0x111f1f+_0x1e166d(0x1e3)+_0x1d1055['stableVersion']+_0x530405),_0x1d1055['upgradeMessage']&&console[_0x1e166d(0x1e8)](_0x111f1f+_0x1e166d(0x1e2)+_0x1d1055['upgradeMessage']+_0x530405),console[_0x1e166d(0x1e8)](_0x111f1f+_0x1e166d(0x1f2)+_0x101118+_0x530405)),console[_0x1e166d(0x1e8)]();}export function assertCliVersionSupported(_0x34d997){const _0x28b598=a224_0x2b68;if(!_0x34d997[_0x28b598(0x1f3)])return;const _0xad25e2=[_0x34d997[_0x28b598(0x1e6)],_0x28b598(0x1e4)+_0x34d997[_0x28b598(0x1fa)],_0x34d997['minimumVersion']?_0x28b598(0x1d5)+_0x34d997[_0x28b598(0x1f0)]:null,'Upgrade\x20command:\x20'+getCliUpgradeCommand(_0x34d997)][_0x28b598(0x1f8)](Boolean)['join']('\x0a');throw CliErrors[_0x28b598(0x1e5)]('Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.',_0xad25e2);}
1
+ (function(_0x3c7f31,_0x1b2bd0){const _0x385642=a224_0x4f54,_0x2327ba=_0x3c7f31();while(!![]){try{const _0x545f76=parseInt(_0x385642(0x15b))/0x1*(-parseInt(_0x385642(0x160))/0x2)+-parseInt(_0x385642(0x174))/0x3+parseInt(_0x385642(0x164))/0x4*(-parseInt(_0x385642(0x16a))/0x5)+parseInt(_0x385642(0x16f))/0x6+parseInt(_0x385642(0x171))/0x7+-parseInt(_0x385642(0x167))/0x8+parseInt(_0x385642(0x173))/0x9*(parseInt(_0x385642(0x179))/0xa);if(_0x545f76===_0x1b2bd0)break;else _0x2327ba['push'](_0x2327ba['shift']());}catch(_0x146bf8){_0x2327ba['push'](_0x2327ba['shift']());}}}(a224_0x7b59,0x69416));import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a224_0x4d3a52 from'semver';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';function a224_0x7b59(){const _0x25848c=['Minimum\x20supported:\x20','upgradeMessage','255321DTmUFe','minimumVersion','\x20\x20\x20Upgrade\x20command:\x20','\x20\x20\x20Recommended\x20stable:\x20','package.json','2hUNlbX','Current\x20version:\x20','belowMinimum','needsUpgrade','1949852NyyuoZ','minimumVersionMessage','validation','4642008SXnOyW','../..','join','5ukVAbt','parse','stableVersion','\x1b[31m','filter','3303912iVafEh','↪\x20New\x20version\x20available','2016322bjHrjV','\x20\x20\x20Stable\x20version:\x20','6597waRjsE','2216754kWNzNQ','npm\x20install\x20-g\x20','coerce','↪\x20Critical\x20CLI\x20upgrade\x20required','1.0.0','22570eGYJVq','utf-8','\x1b[0m','currentVersion','latest','\x20\x20\x20','\x1b[1m','\x1b[33m','log','\x20\x20\x20Current\x20CLI\x20version:\x20'];a224_0x7b59=function(){return _0x25848c;};return a224_0x7b59();}import{CliErrors}from'../errors.js';function a224_0x4f54(_0x59ca3b,_0x3bee8a){_0x59ca3b=_0x59ca3b-0x15b;const _0x7b59bd=a224_0x7b59();let _0x4f548e=_0x7b59bd[_0x59ca3b];return _0x4f548e;}export function getCliUpgradeCommand(_0x41eb6a){const _0x4aea30=a224_0x4f54,_0x24dab6=_0x41eb6a['stableVersion']||_0x4aea30(0x17d);return _0x4aea30(0x175)+NPM_PACKAGE_NAME+'@'+_0x24dab6;}function getCurrentCliVersion(){const _0x5117ab=a224_0x4f54;try{const _0x10b20a=fileURLToPath(import.meta.url),_0x5636ed=resolve(dirname(_0x10b20a),_0x5117ab(0x168)),_0x1c6b28=resolve(_0x5636ed,_0x5117ab(0x15f)),_0xc8bda0=JSON[_0x5117ab(0x16b)](readFileSync(_0x1c6b28,_0x5117ab(0x17a)));return _0xc8bda0['version']||_0x5117ab(0x178);}catch{return _0x5117ab(0x178);}}export async function checkCliVersion(){const _0x840a1f=a224_0x4f54,_0x1de0a4=getCurrentCliVersion(),_0x202748=await getCliVersionPolicy(),_0x35caff=_0x202748?.[_0x840a1f(0x16c)]||null,_0x19ef6e=_0x202748?.['minimumVersion']||null;let _0x3a9c53=![],_0x2d7479=![];const _0x55a56e=a224_0x4d3a52[_0x840a1f(0x176)](_0x1de0a4);if(_0x55a56e&&_0x35caff)try{const _0x1ea704=a224_0x4d3a52[_0x840a1f(0x176)](_0x35caff);if(_0x1ea704)_0x3a9c53=a224_0x4d3a52['lt'](_0x55a56e,_0x1ea704);}catch{}if(_0x55a56e&&_0x19ef6e)try{const _0x794885=a224_0x4d3a52['coerce'](_0x19ef6e);if(_0x794885)_0x2d7479=a224_0x4d3a52['lt'](_0x55a56e,_0x794885);}catch{}return _0x2d7479&&(_0x3a9c53=!![]),{'currentVersion':_0x1de0a4,'stableVersion':_0x35caff,'minimumVersion':_0x19ef6e,'needsUpgrade':_0x3a9c53,'belowMinimum':_0x2d7479,'isPreRelease':![],'upgradeMessage':_0x202748?.[_0x840a1f(0x184)],'minimumVersionMessage':_0x202748?.[_0x840a1f(0x165)]};}export function printCliUpgradeWarning(_0x12c995){const _0x3dc271=a224_0x4f54;if(!_0x12c995[_0x3dc271(0x163)]&&!_0x12c995[_0x3dc271(0x162)])return;const _0x4f0cc7=_0x3dc271(0x16d),_0x1a3571=_0x3dc271(0x180),_0x2926c6=_0x3dc271(0x17b),_0xe5d9bd=_0x3dc271(0x17f),_0x337efd=getCliUpgradeCommand(_0x12c995);console[_0x3dc271(0x181)](),_0x12c995[_0x3dc271(0x162)]?(console[_0x3dc271(0x181)](''+_0x4f0cc7+_0xe5d9bd+_0x3dc271(0x177)+_0x2926c6),console['log'](_0x4f0cc7+_0x3dc271(0x182)+_0x12c995[_0x3dc271(0x17c)]+_0x2926c6),_0x12c995['minimumVersion']&&console[_0x3dc271(0x181)](_0x4f0cc7+'\x20\x20\x20Minimum\x20supported:\x20'+_0x12c995[_0x3dc271(0x15c)]+_0x2926c6),_0x12c995[_0x3dc271(0x16c)]&&_0x12c995[_0x3dc271(0x16c)]!==_0x12c995[_0x3dc271(0x15c)]&&console['log'](_0x4f0cc7+_0x3dc271(0x15e)+_0x12c995[_0x3dc271(0x16c)]+_0x2926c6),_0x12c995[_0x3dc271(0x165)]&&console[_0x3dc271(0x181)](_0x4f0cc7+_0x3dc271(0x17e)+_0x12c995[_0x3dc271(0x165)]+_0x2926c6),console['log'](_0x4f0cc7+'\x20\x20\x20Upgrade\x20command:\x20'+_0x337efd+_0x2926c6)):(console['log'](''+_0x1a3571+_0xe5d9bd+_0x3dc271(0x170)+_0x2926c6),console[_0x3dc271(0x181)](_0x1a3571+_0x3dc271(0x182)+_0x12c995[_0x3dc271(0x17c)]+_0x2926c6),console[_0x3dc271(0x181)](_0x1a3571+_0x3dc271(0x172)+_0x12c995['stableVersion']+_0x2926c6),_0x12c995[_0x3dc271(0x184)]&&console[_0x3dc271(0x181)](_0x1a3571+_0x3dc271(0x17e)+_0x12c995['upgradeMessage']+_0x2926c6),console[_0x3dc271(0x181)](_0x1a3571+_0x3dc271(0x15d)+_0x337efd+_0x2926c6)),console[_0x3dc271(0x181)]();}export function assertCliVersionSupported(_0x2e7e89){const _0x5e5d14=a224_0x4f54;if(!_0x2e7e89['belowMinimum'])return;const _0x31a1f9=[_0x2e7e89[_0x5e5d14(0x165)],_0x5e5d14(0x161)+_0x2e7e89[_0x5e5d14(0x17c)],_0x2e7e89[_0x5e5d14(0x15c)]?_0x5e5d14(0x183)+_0x2e7e89[_0x5e5d14(0x15c)]:null,'Upgrade\x20command:\x20'+getCliUpgradeCommand(_0x2e7e89)][_0x5e5d14(0x16e)](Boolean)[_0x5e5d14(0x169)]('\x0a');throw CliErrors[_0x5e5d14(0x166)]('Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.',_0x31a1f9);}
@@ -1 +1 @@
1
- (function(_0x1d0381,_0x4bf2d2){const _0x27799d=a225_0x4f31,_0x2210f1=_0x1d0381();while(!![]){try{const _0x59255c=parseInt(_0x27799d(0xb8))/0x1+-parseInt(_0x27799d(0xc1))/0x2*(parseInt(_0x27799d(0xc0))/0x3)+-parseInt(_0x27799d(0xbc))/0x4+-parseInt(_0x27799d(0xcc))/0x5+-parseInt(_0x27799d(0xc8))/0x6*(-parseInt(_0x27799d(0xc3))/0x7)+-parseInt(_0x27799d(0xc4))/0x8+parseInt(_0x27799d(0xc6))/0x9;if(_0x59255c===_0x4bf2d2)break;else _0x2210f1['push'](_0x2210f1['shift']());}catch(_0x400495){_0x2210f1['push'](_0x2210f1['shift']());}}}(a225_0x12ef,0x8834c));function a225_0x4f31(_0x5a46a5,_0x513ced){_0x5a46a5=_0x5a46a5-0xb6;const _0x12efe1=a225_0x12ef();let _0x4f31be=_0x12efe1[_0x5a46a5];return _0x4f31be;}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(_0x1330f0){const _0xb258a5=a225_0x4f31;return typeof _0x1330f0==='string'&&_0x1330f0[_0xb258a5(0xc9)]()[_0xb258a5(0xc5)]>0x0?_0x1330f0[_0xb258a5(0xc9)]():null;}function normalizeCliVersionPolicy(_0x1c0489){const _0x53a7ae=a225_0x4f31;if(!_0x1c0489||typeof _0x1c0489!=='object')return null;const _0x29ee31=_0x1c0489,_0x137c5f=_0x29ee31[_0x53a7ae(0xb6)]&&typeof _0x29ee31[_0x53a7ae(0xb6)]==='object'?_0x29ee31['cli']:_0x29ee31,_0x4fbc52=pickString(_0x137c5f[_0x53a7ae(0xb7)])||pickString(_0x137c5f[_0x53a7ae(0xc2)])||pickString(_0x137c5f[_0x53a7ae(0xbd)]),_0x2e62e8=pickString(_0x137c5f[_0x53a7ae(0xbf)])||pickString(_0x137c5f[_0x53a7ae(0xba)]);if(!_0x4fbc52&&!_0x2e62e8)return null;return{'stableVersion':_0x4fbc52,'minimumVersion':_0x2e62e8,'upgradeMessage':pickString(_0x137c5f[_0x53a7ae(0xb9)])||undefined,'minimumVersionMessage':pickString(_0x137c5f[_0x53a7ae(0xc7)])||undefined};}export async function fetchCliVersionPolicy(){const _0xf7accd=a225_0x4f31,_0x5d159e=new AbortController(),_0x3129ad=setTimeout(()=>_0x5d159e[_0xf7accd(0xbb)](),FETCH_TIMEOUT_MS);try{const _0x2e5444=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0xf7accd(0xbe)},'signal':_0x5d159e[_0xf7accd(0xca)]});if(!_0x2e5444['ok'])return null;const _0x397609=await _0x2e5444['json']();return normalizeCliVersionPolicy(_0x397609);}catch{return null;}finally{clearTimeout(_0x3129ad);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x4b5ce9=a225_0x4f31,_0x999df0=Date[_0x4b5ce9(0xcb)]();if(hasCachedPolicy){const _0x20e041=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x999df0-cacheTime<_0x20e041)return cachedPolicy;}const _0x362f61=await fetchCliVersionPolicy();return cachedPolicy=_0x362f61,cacheTime=_0x999df0,hasCachedPolicy=!![],_0x362f61;}function a225_0x12ef(){const _0x33d05d=['now','4887695OSrfCi','cli','stableVersion','919065xDyHlt','upgradeMessage','minVersion','abort','2306468RNpnmq','recommendedVersion','application/json','minimumVersion','3zktjRy','2012954QeEUaH','latestVersion','14YqrdRF','3988824RmvCku','length','16586073agetEI','minimumVersionMessage','2565522mLXwQD','trim','signal'];a225_0x12ef=function(){return _0x33d05d;};return a225_0x12ef();}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}
1
+ (function(_0x113151,_0x42b00c){const _0x27b079=a225_0x5925,_0x488451=_0x113151();while(!![]){try{const _0x51ebd7=parseInt(_0x27b079(0x1c1))/0x1+parseInt(_0x27b079(0x1ce))/0x2*(-parseInt(_0x27b079(0x1c9))/0x3)+parseInt(_0x27b079(0x1d0))/0x4*(parseInt(_0x27b079(0x1cc))/0x5)+-parseInt(_0x27b079(0x1bb))/0x6+parseInt(_0x27b079(0x1c4))/0x7+-parseInt(_0x27b079(0x1c2))/0x8*(parseInt(_0x27b079(0x1ca))/0x9)+parseInt(_0x27b079(0x1d2))/0xa*(parseInt(_0x27b079(0x1d1))/0xb);if(_0x51ebd7===_0x42b00c)break;else _0x488451['push'](_0x488451['shift']());}catch(_0x529248){_0x488451['push'](_0x488451['shift']());}}}(a225_0x28a3,0xea4c0));function a225_0x5925(_0x502974,_0x14d5f3){_0x502974=_0x502974-0x1ba;const _0x28a328=a225_0x28a3();let _0x5925cc=_0x28a328[_0x502974];return _0x5925cc;}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(_0x15b40e){const _0x349496=a225_0x5925;return typeof _0x15b40e===_0x349496(0x1c5)&&_0x15b40e['trim']()[_0x349496(0x1c3)]>0x0?_0x15b40e[_0x349496(0x1bc)]():null;}function normalizeCliVersionPolicy(_0x394297){const _0x3848d9=a225_0x5925;if(!_0x394297||typeof _0x394297!==_0x3848d9(0x1c6))return null;const _0x594455=_0x394297,_0x15b3b2=_0x594455['cli']&&typeof _0x594455[_0x3848d9(0x1be)]===_0x3848d9(0x1c6)?_0x594455[_0x3848d9(0x1be)]:_0x594455,_0x52e7ab=pickString(_0x15b3b2['stableVersion'])||pickString(_0x15b3b2[_0x3848d9(0x1cb)])||pickString(_0x15b3b2[_0x3848d9(0x1c8)]),_0x4aa2e7=pickString(_0x15b3b2[_0x3848d9(0x1cf)])||pickString(_0x15b3b2[_0x3848d9(0x1ba)]);if(!_0x52e7ab&&!_0x4aa2e7)return null;return{'stableVersion':_0x52e7ab,'minimumVersion':_0x4aa2e7,'upgradeMessage':pickString(_0x15b3b2[_0x3848d9(0x1cd)])||undefined,'minimumVersionMessage':pickString(_0x15b3b2[_0x3848d9(0x1d3)])||undefined};}export async function fetchCliVersionPolicy(){const _0x3b1a68=a225_0x5925,_0x10f371=new AbortController(),_0x5e7304=setTimeout(()=>_0x10f371[_0x3b1a68(0x1bf)](),FETCH_TIMEOUT_MS);try{const _0x1e2910=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x3b1a68(0x1c7)},'signal':_0x10f371[_0x3b1a68(0x1c0)]});if(!_0x1e2910['ok'])return null;const _0x4b4596=await _0x1e2910[_0x3b1a68(0x1bd)]();return normalizeCliVersionPolicy(_0x4b4596);}catch{return null;}finally{clearTimeout(_0x5e7304);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x8730b9=Date['now']();if(hasCachedPolicy){const _0x2e6e05=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x8730b9-cacheTime<_0x2e6e05)return cachedPolicy;}const _0x527526=await fetchCliVersionPolicy();return cachedPolicy=_0x527526,cacheTime=_0x8730b9,hasCachedPolicy=!![],_0x527526;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}function a225_0x28a3(){const _0x51b536=['abort','signal','442687RjAgVS','2183920yLGfVl','length','1193150YBjHWh','string','object','application/json','recommendedVersion','1880313eWvVTs','9kuNOoG','latestVersion','10565jrCLHb','upgradeMessage','6hKUyXb','minimumVersion','2348aCMeBf','13134bzWxsG','15240wkTvCC','minimumVersionMessage','minVersion','3360846OWkOAm','trim','json','cli'];a225_0x28a3=function(){return _0x51b536;};return a225_0x28a3();}
@@ -1 +1 @@
1
- const a226_0x4acb40=a226_0x2c20;(function(_0x2d1be6,_0x48dd19){const _0x2bcde5=a226_0x2c20,_0xa2614f=_0x2d1be6();while(!![]){try{const _0xc65c09=parseInt(_0x2bcde5(0x148))/0x1+parseInt(_0x2bcde5(0x144))/0x2*(-parseInt(_0x2bcde5(0x141))/0x3)+-parseInt(_0x2bcde5(0x146))/0x4+parseInt(_0x2bcde5(0x143))/0x5+parseInt(_0x2bcde5(0x13f))/0x6+parseInt(_0x2bcde5(0x140))/0x7*(parseInt(_0x2bcde5(0x145))/0x8)+-parseInt(_0x2bcde5(0x13d))/0x9*(parseInt(_0x2bcde5(0x149))/0xa);if(_0xc65c09===_0x48dd19)break;else _0xa2614f['push'](_0xa2614f['shift']());}catch(_0x5b72a4){_0xa2614f['push'](_0xa2614f['shift']());}}}(a226_0x3743,0x20620));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a226_0x492b91,getMultiAppConfigs as a226_0x2ed5b5,getTemplateBaseUrl as a226_0x50261e}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';function a226_0x3743(){const _0x26ce00=['project','147103dCkihT','1228070IBZSbr','18JobRqA','env','1419666Lwmwap','77xhYBHt','147594MStrYq','string','1014350Dewkgu','6bSeIXr','148112HyAzYL','1057560PougyM'];a226_0x3743=function(){return _0x26ce00;};return a226_0x3743();}export{isInProject}from'../context.js';export function readConfig(_0x331149){const _0x1979b8=a226_0x2c20,_0x35595a=readRawConfig(_0x331149);return _0x35595a['env']&&typeof _0x35595a[_0x1979b8(0x13e)]===_0x1979b8(0x142)&&initEnv(_0x35595a[_0x1979b8(0x13e)]),_0x35595a;}export function getConfigAppCode(){return a226_0x492b91();}export function getMultiAppConfigs(_0x40e4c2=a226_0x4acb40(0x147)){return a226_0x2ed5b5(_0x40e4c2);}function a226_0x2c20(_0x596f57,_0x5dfc6f){_0x596f57=_0x596f57-0x13d;const _0x37433c=a226_0x3743();let _0x2c2046=_0x37433c[_0x596f57];return _0x2c2046;}export function getTemplateBaseUrl(){return a226_0x50261e();}
1
+ function a226_0x2a3d(_0x27f14a,_0x33a3d1){_0x27f14a=_0x27f14a-0x12c;const _0x596777=a226_0x5967();let _0x2a3dac=_0x596777[_0x27f14a];return _0x2a3dac;}function a226_0x5967(){const _0x45876a=['509230xRuNwm','366848FUUgKR','27fmVAkB','2532334KSbvNc','325284ekRgAc','string','1740516baHGMG','562190DcfwjQ','27JBWzVA','env','4MEetvP','48738MelIpx'];a226_0x5967=function(){return _0x45876a;};return a226_0x5967();}(function(_0x1a2246,_0x1a61c1){const _0x39b55f=a226_0x2a3d,_0x14be83=_0x1a2246();while(!![]){try{const _0x15898d=parseInt(_0x39b55f(0x133))/0x1+-parseInt(_0x39b55f(0x12e))/0x2*(parseInt(_0x39b55f(0x131))/0x3)+-parseInt(_0x39b55f(0x12d))/0x4*(parseInt(_0x39b55f(0x12f))/0x5)+-parseInt(_0x39b55f(0x135))/0x6+parseInt(_0x39b55f(0x132))/0x7+-parseInt(_0x39b55f(0x130))/0x8+-parseInt(_0x39b55f(0x137))/0x9*(-parseInt(_0x39b55f(0x136))/0xa);if(_0x15898d===_0x1a61c1)break;else _0x14be83['push'](_0x14be83['shift']());}catch(_0x573347){_0x14be83['push'](_0x14be83['shift']());}}}(a226_0x5967,0x307c2));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a226_0x546a5a,getMultiAppConfigs as a226_0x2e2a68,getTemplateBaseUrl as a226_0x260b1f}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';export function readConfig(_0x36b85c){const _0x51edb9=a226_0x2a3d,_0x2b4f3a=readRawConfig(_0x36b85c);return _0x2b4f3a[_0x51edb9(0x12c)]&&typeof _0x2b4f3a[_0x51edb9(0x12c)]===_0x51edb9(0x134)&&initEnv(_0x2b4f3a[_0x51edb9(0x12c)]),_0x2b4f3a;}export function getConfigAppCode(){return a226_0x546a5a();}export function getMultiAppConfigs(_0x2b3d55='project'){return a226_0x2e2a68(_0x2b3d55);}export function getTemplateBaseUrl(){return a226_0x260b1f();}
@@ -1 +1 @@
1
- (function(_0x43cdfb,_0x2b9dc2){const _0x512913=a227_0x7b1d,_0x101588=_0x43cdfb();while(!![]){try{const _0xd88c42=-parseInt(_0x512913(0x1ec))/0x1*(-parseInt(_0x512913(0x1f3))/0x2)+parseInt(_0x512913(0x1ef))/0x3+parseInt(_0x512913(0x1e5))/0x4*(-parseInt(_0x512913(0x1ed))/0x5)+parseInt(_0x512913(0x1eb))/0x6+-parseInt(_0x512913(0x1ee))/0x7+-parseInt(_0x512913(0x1e7))/0x8+parseInt(_0x512913(0x1e8))/0x9*(parseInt(_0x512913(0x1e4))/0xa);if(_0xd88c42===_0x2b9dc2)break;else _0x101588['push'](_0x101588['shift']());}catch(_0x3045d9){_0x101588['push'](_0x101588['shift']());}}}(a227_0x3a34,0xada3f));import a227_0x908a42 from'node:path';function a227_0x7b1d(_0x127271,_0x509142){_0x127271=_0x127271-0x1e3;const _0x3a342e=a227_0x3a34();let _0x7b1d7=_0x3a342e[_0x127271];return _0x7b1d7;}import a227_0x336a5b from'node:fs';function a227_0x3a34(){const _0x5d1cde=['27460OqgnyL','604tCSasQ','复制目录时出错:','5303944hbhJgk','900lXhuTJ','mkdirSync','join','530898OJywlZ','1366538muRuvV','3245IXFrTy','5264924ZETtVH','1484202eMNHMh','readdirSync','copyFileSync','isDirectory','2XieAHp','error'];a227_0x3a34=function(){return _0x5d1cde;};return a227_0x3a34();}export async function copyDirectory(_0x1a89aa,_0x1bbb0f){const _0x36d569=a227_0x7b1d;try{const _0x10fa90=a227_0x336a5b[_0x36d569(0x1f0)](_0x1a89aa,{'withFileTypes':!![]});a227_0x336a5b[_0x36d569(0x1e9)](_0x1bbb0f,{'recursive':!![]});for(const _0x4bebd5 of _0x10fa90){const _0x24dbdf=a227_0x908a42['join'](_0x1a89aa,_0x4bebd5['name']),_0x1d6d1b=a227_0x908a42[_0x36d569(0x1ea)](_0x1bbb0f,_0x4bebd5['name']);_0x4bebd5[_0x36d569(0x1f2)]()?await copyDirectory(_0x24dbdf,_0x1d6d1b):a227_0x336a5b[_0x36d569(0x1f1)](_0x24dbdf,_0x1d6d1b);}}catch(_0x2d3309){console[_0x36d569(0x1e3)](_0x36d569(0x1e6),_0x2d3309);}}
1
+ (function(_0x4709d3,_0x1f4cae){const _0x1cb786=a227_0x214b,_0x38c781=_0x4709d3();while(!![]){try{const _0x528365=parseInt(_0x1cb786(0xfa))/0x1+-parseInt(_0x1cb786(0xf7))/0x2*(-parseInt(_0x1cb786(0xed))/0x3)+parseInt(_0x1cb786(0xea))/0x4*(parseInt(_0x1cb786(0xf8))/0x5)+parseInt(_0x1cb786(0xf3))/0x6*(-parseInt(_0x1cb786(0xe9))/0x7)+-parseInt(_0x1cb786(0xf0))/0x8+-parseInt(_0x1cb786(0xf4))/0x9+-parseInt(_0x1cb786(0xf5))/0xa*(-parseInt(_0x1cb786(0xef))/0xb);if(_0x528365===_0x1f4cae)break;else _0x38c781['push'](_0x38c781['shift']());}catch(_0x3c74bf){_0x38c781['push'](_0x38c781['shift']());}}}(a227_0x2557,0xaf967));import a227_0x414212 from'node:path';import a227_0x5710b6 from'node:fs';function a227_0x2557(){const _0x2d8b32=['20bakKvv','join','error','6MwbtBz','name','4649843sIDLkv','4290408UcRYVF','isDirectory','mkdirSync','2506026cFoBvy','10297701HZGLhK','10XXsVey','复制目录时出错:','350518TKNPFY','858375CVzDno','copyFileSync','1185762bsKfWq','7XKOynV'];a227_0x2557=function(){return _0x2d8b32;};return a227_0x2557();}function a227_0x214b(_0xc0432d,_0x3be9dd){_0xc0432d=_0xc0432d-0xe9;const _0x2557df=a227_0x2557();let _0x214b45=_0x2557df[_0xc0432d];return _0x214b45;}export async function copyDirectory(_0x2ffbdf,_0x16574b){const _0x362cb0=a227_0x214b;try{const _0x302351=a227_0x5710b6['readdirSync'](_0x2ffbdf,{'withFileTypes':!![]});a227_0x5710b6[_0x362cb0(0xf2)](_0x16574b,{'recursive':!![]});for(const _0x56ea39 of _0x302351){const _0x61b53c=a227_0x414212[_0x362cb0(0xeb)](_0x2ffbdf,_0x56ea39['name']),_0x3f7181=a227_0x414212['join'](_0x16574b,_0x56ea39[_0x362cb0(0xee)]);_0x56ea39[_0x362cb0(0xf1)]()?await copyDirectory(_0x61b53c,_0x3f7181):a227_0x5710b6[_0x362cb0(0xf9)](_0x61b53c,_0x3f7181);}}catch(_0x99d0ef){console[_0x362cb0(0xec)](_0x362cb0(0xf6),_0x99d0ef);}}
@@ -1 +1 @@
1
- function a228_0x9542(){const _0x43afe1=['number','3568975RhRJAZ','7QAuakO','3987RniFxn','10096806DZiqDk','742642ltlfSm','string','object','1572369YbNuGc','266030hKDdeb','12665824qBCDMo','279ZSHGbP','404RDqVga','isFinite'];a228_0x9542=function(){return _0x43afe1;};return a228_0x9542();}(function(_0x2a8552,_0x4a8b05){const _0x5a1a65=a228_0x20f8,_0xb780db=_0x2a8552();while(!![]){try{const _0x538500=parseInt(_0x5a1a65(0x169))/0x1+-parseInt(_0x5a1a65(0x166))/0x2+parseInt(_0x5a1a65(0x164))/0x3*(-parseInt(_0x5a1a65(0x16d))/0x4)+parseInt(_0x5a1a65(0x170))/0x5+parseInt(_0x5a1a65(0x165))/0x6*(-parseInt(_0x5a1a65(0x171))/0x7)+parseInt(_0x5a1a65(0x16b))/0x8+-parseInt(_0x5a1a65(0x16c))/0x9*(parseInt(_0x5a1a65(0x16a))/0xa);if(_0x538500===_0x4a8b05)break;else _0xb780db['push'](_0xb780db['shift']());}catch(_0x2336c8){_0xb780db['push'](_0xb780db['shift']());}}}(a228_0x9542,0xd111c));function a228_0x20f8(_0x3c15ad,_0x32ad3e){_0x3c15ad=_0x3c15ad-0x164;const _0x9542c4=a228_0x9542();let _0x20f898=_0x9542c4[_0x3c15ad];return _0x20f898;}function toFiniteNumber(_0x48178d){const _0x1b6482=a228_0x20f8;if(typeof _0x48178d===_0x1b6482(0x16f)&&Number[_0x1b6482(0x16e)](_0x48178d))return _0x48178d;if(typeof _0x48178d===_0x1b6482(0x167)){const _0x4f5c83=_0x48178d['trim']();if(!_0x4f5c83)return undefined;const _0x31f13b=Number(_0x4f5c83);if(Number[_0x1b6482(0x16e)](_0x31f13b))return _0x31f13b;}return undefined;}export function normalizeEntityWithIdResponse(_0x2842f2){const _0x1a0c87=a228_0x20f8,_0x232fae=toFiniteNumber(_0x2842f2);if(_0x232fae!==undefined)return{'id':_0x232fae,'entity':{'id':_0x232fae}};if(!_0x2842f2||typeof _0x2842f2!==_0x1a0c87(0x168))return{'id':undefined,'entity':{}};const _0x734475={..._0x2842f2},_0xe9933=toFiniteNumber(_0x734475['id']);return _0xe9933!==undefined&&(_0x734475['id']=_0xe9933),{'id':_0xe9933,'entity':_0x734475};}
1
+ function a228_0x4576(_0x109099,_0x8c2848){_0x109099=_0x109099-0x112;const _0x4a4d2b=a228_0x4a4d();let _0x4576db=_0x4a4d2b[_0x109099];return _0x4576db;}(function(_0x2d7f0e,_0x293561){const _0x574aaf=a228_0x4576,_0x59eb1d=_0x2d7f0e();while(!![]){try{const _0x3edaa9=parseInt(_0x574aaf(0x112))/0x1+-parseInt(_0x574aaf(0x11e))/0x2*(-parseInt(_0x574aaf(0x11d))/0x3)+-parseInt(_0x574aaf(0x11b))/0x4*(-parseInt(_0x574aaf(0x11c))/0x5)+-parseInt(_0x574aaf(0x119))/0x6*(parseInt(_0x574aaf(0x11f))/0x7)+parseInt(_0x574aaf(0x114))/0x8+-parseInt(_0x574aaf(0x115))/0x9+-parseInt(_0x574aaf(0x113))/0xa*(-parseInt(_0x574aaf(0x11a))/0xb);if(_0x3edaa9===_0x293561)break;else _0x59eb1d['push'](_0x59eb1d['shift']());}catch(_0x36b938){_0x59eb1d['push'](_0x59eb1d['shift']());}}}(a228_0x4a4d,0x313cf));function toFiniteNumber(_0x1102a5){const _0x47092f=a228_0x4576;if(typeof _0x1102a5==='number'&&Number[_0x47092f(0x116)](_0x1102a5))return _0x1102a5;if(typeof _0x1102a5===_0x47092f(0x118)){const _0x584770=_0x1102a5['trim']();if(!_0x584770)return undefined;const _0x51236b=Number(_0x584770);if(Number[_0x47092f(0x116)](_0x51236b))return _0x51236b;}return undefined;}function a228_0x4a4d(){const _0x1287d5=['2972SjAqyx','560070WlcOuS','2878928WsfDEd','3120525GpGZHn','isFinite','object','string','2448uTRvGa','44CHAZLd','692764sqHEql','5yYGqro','131883uDjxbv','6Hhgxsa','5894BjGATE'];a228_0x4a4d=function(){return _0x1287d5;};return a228_0x4a4d();}export function normalizeEntityWithIdResponse(_0x51a176){const _0x156463=a228_0x4576,_0x321e55=toFiniteNumber(_0x51a176);if(_0x321e55!==undefined)return{'id':_0x321e55,'entity':{'id':_0x321e55}};if(!_0x51a176||typeof _0x51a176!==_0x156463(0x117))return{'id':undefined,'entity':{}};const _0x17df2e={..._0x51a176},_0x15032b=toFiniteNumber(_0x17df2e['id']);return _0x15032b!==undefined&&(_0x17df2e['id']=_0x15032b),{'id':_0x15032b,'entity':_0x17df2e};}
@@ -1 +1 @@
1
- (function(_0x47d448,_0x59a6dd){const _0x512185=a229_0x2d65,_0x3aeb2a=_0x47d448();while(!![]){try{const _0x29b48b=parseInt(_0x512185(0x1d2))/0x1*(-parseInt(_0x512185(0x1d4))/0x2)+parseInt(_0x512185(0x1cf))/0x3+parseInt(_0x512185(0x1d3))/0x4+-parseInt(_0x512185(0x1d6))/0x5*(-parseInt(_0x512185(0x1d1))/0x6)+-parseInt(_0x512185(0x1d0))/0x7+parseInt(_0x512185(0x1d7))/0x8+-parseInt(_0x512185(0x1d8))/0x9;if(_0x29b48b===_0x59a6dd)break;else _0x3aeb2a['push'](_0x3aeb2a['shift']());}catch(_0xbfd48b){_0x3aeb2a['push'](_0x3aeb2a['shift']());}}}(a229_0x2189,0xd776d));import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';function a229_0x2d65(_0xef40a2,_0x25ca2d){_0xef40a2=_0xef40a2-0x1cf;const _0x2189e3=a229_0x2189();let _0x2d6589=_0x2189e3[_0xef40a2];return _0x2d6589;}import{join}from'node:path';export async function copyDir(_0x4673a9,_0x2420c3){const _0x69710b=a229_0x2d65,_0x275665=statSync(_0x4673a9);if(_0x275665[_0x69710b(0x1d5)]()){!existsSync(_0x2420c3)&&mkdirSync(_0x2420c3,{'recursive':!![]});const _0x4acee0=readdirSync(_0x4673a9);for(const _0xd636ca of _0x4acee0){await copyDir(join(_0x4673a9,_0xd636ca),join(_0x2420c3,_0xd636ca));}}else copyFileSync(_0x4673a9,_0x2420c3);}export function ensureDir(_0x21ed87){!existsSync(_0x21ed87)&&mkdirSync(_0x21ed87,{'recursive':!![]});}export function pathExists(_0x482955){return existsSync(_0x482955);}function a229_0x2189(){const _0x4f7574=['6mumfNH','797141jFSlyF','1182228ufIaRw','4UZMXWm','isDirectory','5661155Wsaoea','12220192bpyVLp','9984573uSGSyB','3432786XDvICP','3593478tcypbR'];a229_0x2189=function(){return _0x4f7574;};return a229_0x2189();}
1
+ (function(_0x4151c8,_0x16f951){const _0x5182ce=a229_0x4faf,_0x558abb=_0x4151c8();while(!![]){try{const _0x59b9a2=parseInt(_0x5182ce(0x188))/0x1*(parseInt(_0x5182ce(0x186))/0x2)+parseInt(_0x5182ce(0x183))/0x3+-parseInt(_0x5182ce(0x189))/0x4+-parseInt(_0x5182ce(0x18c))/0x5*(parseInt(_0x5182ce(0x18a))/0x6)+parseInt(_0x5182ce(0x184))/0x7+parseInt(_0x5182ce(0x182))/0x8*(parseInt(_0x5182ce(0x18b))/0x9)+-parseInt(_0x5182ce(0x187))/0xa;if(_0x59b9a2===_0x16f951)break;else _0x558abb['push'](_0x558abb['shift']());}catch(_0x5ebe0d){_0x558abb['push'](_0x558abb['shift']());}}}(a229_0x5ea5,0xee206));function a229_0x4faf(_0x4127ec,_0x460d19){_0x4127ec=_0x4127ec-0x182;const _0x5ea54b=a229_0x5ea5();let _0x4faf9a=_0x5ea54b[_0x4127ec];return _0x4faf9a;}function a229_0x5ea5(){const _0x64be48=['11598IfRkSY','152210xXUnHa','245MJTlqh','4296516fOWRrN','5623158LzKFNL','657UNrixT','5rXgywV','1896ZJeSrM','51042dVoVIj','10827873fjvERd','isDirectory'];a229_0x5ea5=function(){return _0x64be48;};return a229_0x5ea5();}import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';import{join}from'node:path';export async function copyDir(_0x42c678,_0x2f4bbc){const _0x5adcc9=a229_0x4faf,_0x35bbf3=statSync(_0x42c678);if(_0x35bbf3[_0x5adcc9(0x185)]()){!existsSync(_0x2f4bbc)&&mkdirSync(_0x2f4bbc,{'recursive':!![]});const _0x354c57=readdirSync(_0x42c678);for(const _0x46381e of _0x354c57){await copyDir(join(_0x42c678,_0x46381e),join(_0x2f4bbc,_0x46381e));}}else copyFileSync(_0x42c678,_0x2f4bbc);}export function ensureDir(_0x2696ca){!existsSync(_0x2696ca)&&mkdirSync(_0x2696ca,{'recursive':!![]});}export function pathExists(_0x353122){return existsSync(_0x353122);}
@@ -1 +1 @@
1
- const a230_0x3aa637=a230_0x2e23;(function(_0x508860,_0x4cb3ed){const _0x3a657a=a230_0x2e23,_0x25e265=_0x508860();while(!![]){try{const _0x470dc3=parseInt(_0x3a657a(0x1c6))/0x1*(-parseInt(_0x3a657a(0x1db))/0x2)+parseInt(_0x3a657a(0x1c3))/0x3*(parseInt(_0x3a657a(0x1e4))/0x4)+-parseInt(_0x3a657a(0x1de))/0x5*(parseInt(_0x3a657a(0x1d0))/0x6)+parseInt(_0x3a657a(0x1e2))/0x7+-parseInt(_0x3a657a(0x1d9))/0x8*(parseInt(_0x3a657a(0x1d5))/0x9)+-parseInt(_0x3a657a(0x1e0))/0xa*(-parseInt(_0x3a657a(0x1ce))/0xb)+parseInt(_0x3a657a(0x1dc))/0xc;if(_0x470dc3===_0x4cb3ed)break;else _0x25e265['push'](_0x25e265['shift']());}catch(_0x392609){_0x25e265['push'](_0x25e265['shift']());}}}(a230_0x185d,0x7c7a2));function a230_0x185d(){const _0x2e73f3=['.lovrabet/skill/guides','CDN\x20返回数据格式错误','491289jxnYhI','statusText','CDN\x20请求失败:\x20','5ElNden','CDN\x20数据中缺少\x20skillTemplate','length','utf-8','application/json','guides','keys','replace','33XGVlbW','extendContent','12uAtDxz','lastUpdated','entries','.md','status','9459RlblGp','map','join','/skills/guides.json','2456mkfNun','content','255544IrjcIg','7321728RtUbhk','path','1570830brcFYU','cache','30210wZXdhO','skillTemplate','3485454iqsaad','trimEnd','24msxmin','title'];a230_0x185d=function(){return _0x2e73f3;};return a230_0x185d();}import{mkdirSync,writeFileSync}from'node:fs';import{dirname,join}from'node:path';import{homedir}from'node:os';function a230_0x2e23(_0x2bcb97,_0xf2f8fa){_0x2bcb97=_0x2bcb97-0x1c2;const _0x185d1c=a230_0x185d();let _0x2e2373=_0x185d1c[_0x2bcb97];return _0x2e2373;}import{getTemplateBaseUrl}from'../utils/config.js';function getGuidesCdnUrl(){const _0x1eeef0=a230_0x2e23,_0xdc3ab=getTemplateBaseUrl();return _0xdc3ab+_0x1eeef0(0x1d8);}const CACHE_DIR=join(homedir(),'.lovrabet',a230_0x3aa637(0x1df));export async function fetchGuidesFromCDN(){const _0x62f4e9=a230_0x3aa637,_0x541139=getGuidesCdnUrl(),_0x15e71a=await fetch(_0x541139,{'headers':{'Accept':_0x62f4e9(0x1ca)}});if(!_0x15e71a['ok'])throw new Error(_0x62f4e9(0x1c5)+_0x15e71a[_0x62f4e9(0x1d4)]+'\x20'+_0x15e71a[_0x62f4e9(0x1c4)]);const _0x4fcf17=await _0x15e71a['json']();if(!_0x4fcf17[_0x62f4e9(0x1cb)]||typeof _0x4fcf17[_0x62f4e9(0x1cb)]!=='object')throw new Error(_0x62f4e9(0x1c2));return _0x4fcf17;}export function writeGuidesToProject(_0x12845f,_0x45ac9c,_0x300cc3=a230_0x3aa637(0x1e6),_0x1a7ecc){const _0x127a63=a230_0x3aa637,_0x139b6b=join(_0x45ac9c,_0x300cc3);mkdirSync(_0x139b6b,{'recursive':!![]});for(const [_0x5005c4,_0x5cf464]of Object[_0x127a63(0x1d2)](_0x12845f['guides'])){let _0x4df92a=_0x5cf464[_0x127a63(0x1da)];_0x5cf464['lastUpdated']&&(_0x4df92a=appendUpdateTime(_0x4df92a,_0x5cf464['lastUpdated'])),writeFileSync(join(_0x139b6b,_0x5005c4+_0x127a63(0x1d3)),_0x4df92a,_0x127a63(0x1c9));}}export function appendUpdateTime(_0x526574,_0x39d44a){const _0x4090a7=a230_0x3aa637;return _0x526574=_0x526574[_0x4090a7(0x1cd)](/\n*>更新时间:.*$/m,''),_0x526574[_0x4090a7(0x1e3)]()+('\x0a\x0a>更新时间:'+_0x39d44a);}export function getSkillTemplate(_0x25817b){const _0x3c05d4=a230_0x3aa637;return _0x25817b[_0x3c05d4(0x1e1)]?.[_0x3c05d4(0x1da)]||'';}export function appendExtendContents(_0x5d0740,_0x672de7,_0x61da9){const _0x6be57c=a230_0x3aa637,_0x3e06bc=[];for(const [,_0xfe330d]of Object[_0x6be57c(0x1d2)](_0x672de7[_0x6be57c(0x1cb)])){_0xfe330d[_0x6be57c(0x1cf)]&&_0x3e06bc['push'](_0xfe330d[_0x6be57c(0x1cf)][_0x6be57c(0x1e3)]());}if(_0x3e06bc[_0x6be57c(0x1c8)]===0x0)return _0x5d0740;return _0x5d0740[_0x6be57c(0x1e3)]()+'\x0a\x0a'+_0x3e06bc[_0x6be57c(0x1d7)]('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x15b133,_0x1d975f,_0x3588c9){const _0x4e2d9f=a230_0x3aa637,_0x4b938a=getSkillTemplate(_0x15b133);if(!_0x4b938a)throw new Error(_0x4e2d9f(0x1c7));const _0x1901fc=dirname(_0x1d975f);mkdirSync(_0x1901fc,{'recursive':!![]});let _0x3033a3=_0x4b938a[_0x4e2d9f(0x1cd)](/\{\{IDE_NAME\}\}/g,_0x3588c9);_0x3033a3=appendExtendContents(_0x3033a3,_0x15b133),_0x15b133[_0x4e2d9f(0x1e1)][_0x4e2d9f(0x1d1)]&&(_0x3033a3=appendUpdateTime(_0x3033a3,_0x15b133[_0x4e2d9f(0x1e1)]['lastUpdated'])),writeFileSync(_0x1d975f,_0x3033a3,_0x4e2d9f(0x1c9));}export async function installGuides(_0x14a725){const _0x1bc289=a230_0x3aa637,_0x5841b7=await fetchGuidesFromCDN();return writeGuidesToProject(_0x5841b7,_0x14a725),Object[_0x1bc289(0x1cc)](_0x5841b7[_0x1bc289(0x1cb)])[_0x1bc289(0x1c8)];}export function getGuidesSummary(_0x5f4119){const _0x585e0d=a230_0x3aa637;return Object[_0x585e0d(0x1d2)](_0x5f4119[_0x585e0d(0x1cb)])[_0x585e0d(0x1d6)](([_0xd61bf,_0x1a4f17])=>({'key':_0xd61bf,'title':_0x1a4f17[_0x585e0d(0x1e5)],'path':_0x1a4f17[_0x585e0d(0x1dd)]}));}
1
+ const a230_0x385920=a230_0x1e73;(function(_0x2c2376,_0x364b5b){const _0x68f80c=a230_0x1e73,_0xed3107=_0x2c2376();while(!![]){try{const _0x37a36b=parseInt(_0x68f80c(0xae))/0x1+-parseInt(_0x68f80c(0xab))/0x2+parseInt(_0x68f80c(0xcd))/0x3*(-parseInt(_0x68f80c(0xbe))/0x4)+parseInt(_0x68f80c(0xbb))/0x5*(parseInt(_0x68f80c(0xba))/0x6)+parseInt(_0x68f80c(0xb9))/0x7*(-parseInt(_0x68f80c(0xc9))/0x8)+-parseInt(_0x68f80c(0xce))/0x9*(parseInt(_0x68f80c(0xc6))/0xa)+-parseInt(_0x68f80c(0xb3))/0xb*(-parseInt(_0x68f80c(0xc4))/0xc);if(_0x37a36b===_0x364b5b)break;else _0xed3107['push'](_0xed3107['shift']());}catch(_0x38db06){_0xed3107['push'](_0xed3107['shift']());}}}(a230_0x2584,0x800ea));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 _0x3f5101=a230_0x1e73,_0x1c0350=getTemplateBaseUrl();return _0x1c0350+_0x3f5101(0xc2);}const CACHE_DIR=join(homedir(),'.lovrabet',a230_0x385920(0xb4));export async function fetchGuidesFromCDN(){const _0x1f12de=a230_0x385920,_0x5af936=getGuidesCdnUrl(),_0x437886=await fetch(_0x5af936,{'headers':{'Accept':_0x1f12de(0xaf)}});if(!_0x437886['ok'])throw new Error('CDN\x20请求失败:\x20'+_0x437886[_0x1f12de(0xbd)]+'\x20'+_0x437886[_0x1f12de(0xb2)]);const _0x2e9f11=await _0x437886[_0x1f12de(0xca)]();if(!_0x2e9f11[_0x1f12de(0xc1)]||typeof _0x2e9f11['guides']!==_0x1f12de(0xc0))throw new Error('CDN\x20返回数据格式错误');return _0x2e9f11;}function a230_0x1e73(_0x3b90c2,_0x124f98){_0x3b90c2=_0x3b90c2-0xab;const _0x2584c1=a230_0x2584();let _0x1e73e2=_0x2584c1[_0x3b90c2];return _0x1e73e2;}export function writeGuidesToProject(_0x369724,_0x17990b,_0x14b120=a230_0x385920(0xc8),_0xdb5887){const _0x5b3ce1=a230_0x385920,_0x1338ac=join(_0x17990b,_0x14b120);mkdirSync(_0x1338ac,{'recursive':!![]});for(const [_0x1d6458,_0x3d9939]of Object[_0x5b3ce1(0xcc)](_0x369724[_0x5b3ce1(0xc1)])){let _0x13224e=_0x3d9939['content'];_0x3d9939[_0x5b3ce1(0xc3)]&&(_0x13224e=appendUpdateTime(_0x13224e,_0x3d9939[_0x5b3ce1(0xc3)])),writeFileSync(join(_0x1338ac,_0x1d6458+_0x5b3ce1(0xb8)),_0x13224e,_0x5b3ce1(0xbf));}}export function appendUpdateTime(_0x2c1743,_0x10f69b){const _0x5778d0=a230_0x385920;return _0x2c1743=_0x2c1743[_0x5778d0(0xb6)](/\n*>更新时间:.*$/m,''),_0x2c1743[_0x5778d0(0xb1)]()+(_0x5778d0(0xb0)+_0x10f69b);}export function getSkillTemplate(_0x4d9b82){const _0x4e35a8=a230_0x385920;return _0x4d9b82[_0x4e35a8(0xc5)]?.['content']||'';}export function appendExtendContents(_0x1c802a,_0x277de0,_0x35e329){const _0x46e06e=a230_0x385920,_0x524791=[];for(const [,_0x383280]of Object['entries'](_0x277de0[_0x46e06e(0xc1)])){_0x383280['extendContent']&&_0x524791[_0x46e06e(0xb5)](_0x383280[_0x46e06e(0xcb)][_0x46e06e(0xb1)]());}if(_0x524791[_0x46e06e(0xad)]===0x0)return _0x1c802a;return _0x1c802a[_0x46e06e(0xb1)]()+'\x0a\x0a'+_0x524791['join']('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x790df6,_0xa1cfb0,_0x3a8b7e){const _0x13975e=a230_0x385920,_0x8fa6f7=getSkillTemplate(_0x790df6);if(!_0x8fa6f7)throw new Error(_0x13975e(0xb7));const _0x13d873=dirname(_0xa1cfb0);mkdirSync(_0x13d873,{'recursive':!![]});let _0x13811b=_0x8fa6f7[_0x13975e(0xb6)](/\{\{IDE_NAME\}\}/g,_0x3a8b7e);_0x13811b=appendExtendContents(_0x13811b,_0x790df6),_0x790df6[_0x13975e(0xc5)][_0x13975e(0xc3)]&&(_0x13811b=appendUpdateTime(_0x13811b,_0x790df6['skillTemplate'][_0x13975e(0xc3)])),writeFileSync(_0xa1cfb0,_0x13811b,_0x13975e(0xbf));}function a230_0x2584(){const _0x41b61f=['extendContent','entries','428091IzwiVl','360MStWga','810166vsJEyx','keys','length','849233dijXmJ','application/json','\x0a\x0a>更新时间:','trimEnd','statusText','1748549fyKfFp','cache','push','replace','CDN\x20数据中缺少\x20skillTemplate','.md','63dFabWB','702iKiRWp','34635lXcVZk','map','status','12XLINZr','utf-8','object','guides','/skills/guides.json','lastUpdated','36QheOXT','skillTemplate','1630hfNwmS','title','.lovrabet/skill/guides','686536JueEkt','json'];a230_0x2584=function(){return _0x41b61f;};return a230_0x2584();}export async function installGuides(_0x10375f){const _0x1c9a6e=a230_0x385920,_0x588d04=await fetchGuidesFromCDN();return writeGuidesToProject(_0x588d04,_0x10375f),Object[_0x1c9a6e(0xac)](_0x588d04['guides'])[_0x1c9a6e(0xad)];}export function getGuidesSummary(_0x36e08a){const _0x336aaf=a230_0x385920;return Object[_0x336aaf(0xcc)](_0x36e08a[_0x336aaf(0xc1)])[_0x336aaf(0xbc)](([_0x129e7c,_0x2de691])=>({'key':_0x129e7c,'title':_0x2de691[_0x336aaf(0xc7)],'path':_0x2de691['path']}));}
@@ -1 +1 @@
1
- (function(_0x3bd2ef,_0x4bd3a0){const _0x216bf7=a231_0x3c08,_0x5c6920=_0x3bd2ef();while(!![]){try{const _0x3e9816=parseInt(_0x216bf7(0x1a7))/0x1+parseInt(_0x216bf7(0x1aa))/0x2*(-parseInt(_0x216bf7(0x19c))/0x3)+-parseInt(_0x216bf7(0x194))/0x4+parseInt(_0x216bf7(0x1ac))/0x5+-parseInt(_0x216bf7(0x1b2))/0x6*(parseInt(_0x216bf7(0x1ad))/0x7)+parseInt(_0x216bf7(0x198))/0x8+parseInt(_0x216bf7(0x1a8))/0x9*(parseInt(_0x216bf7(0x19b))/0xa);if(_0x3e9816===_0x4bd3a0)break;else _0x5c6920['push'](_0x5c6920['shift']());}catch(_0xe07f27){_0x5c6920['push'](_0x5c6920['shift']());}}}(a231_0x616b,0x8f80b));export async function httpRequest(_0x12f15,_0x1155ea={}){const _0x12f711=a231_0x3c08,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x1155ea;let _0x288401=null;for(let _0x1376a8=0x0;_0x1376a8<=retries;_0x1376a8++){try{const _0x5d9a63=new AbortController(),_0x47384f=setTimeout(()=>_0x5d9a63[_0x12f711(0x1b0)](),timeout),_0x382dff=await fetch(_0x12f15,{'headers':headers,'signal':_0x5d9a63['signal']});clearTimeout(_0x47384f);let _0x2a18e4;const _0x57b790=_0x382dff['headers'][_0x12f711(0x1a5)](_0x12f711(0x1a2));return _0x57b790?.['includes'](_0x12f711(0x199))?_0x2a18e4=await _0x382dff['json']():_0x2a18e4=await _0x382dff[_0x12f711(0x1a4)](),{'ok':_0x382dff['ok'],'status':_0x382dff[_0x12f711(0x1a3)],'statusText':_0x382dff[_0x12f711(0x195)],'data':_0x2a18e4,'headers':_0x382dff[_0x12f711(0x1b1)],'url':_0x382dff[_0x12f711(0x1a0)],'text':()=>_0x382dff[_0x12f711(0x1a4)]()};}catch(_0x57be1a){_0x288401=_0x57be1a instanceof Error?_0x57be1a:new Error(String(_0x57be1a));if(_0x1376a8===retries)break;if(shouldRetry(_0x57be1a)){console[_0x12f711(0x19a)](_0x12f711(0x1a9)+retryDelay+_0x12f711(0x196)+(_0x1376a8+0x1)+'\x20次重试...'),await sleep(retryDelay);continue;}else break;}}throw _0x288401||new Error(_0x12f711(0x1af));}function a231_0x616b(){const _0x2acd90=['url','message','content-type','status','text','get','ECONNRESET','186670bUQzBj','5291343nliZru','*\x20请求失败,','594IrrWto','AbortError','239170AysiqA','2703323qyhDzi','ENOTFOUND','Request\x20failed','abort','headers','18eMSaxE','4019536POSvFh','statusText','ms\x20后进行第\x20','name','6282608gxywfn','application/json','log','30KfJjki','327YjfGsq','includes','fetch','TypeError'];a231_0x616b=function(){return _0x2acd90;};return a231_0x616b();}function shouldRetry(_0x223a1b){const _0x278958=a231_0x3c08;if(_0x223a1b instanceof Error){if(_0x223a1b['name']===_0x278958(0x1ab))return![];if(_0x223a1b[_0x278958(0x197)]===_0x278958(0x19f)&&_0x223a1b[_0x278958(0x1a1)][_0x278958(0x19d)](_0x278958(0x19e)))return!![];if(_0x223a1b[_0x278958(0x1a1)][_0x278958(0x19d)](_0x278958(0x1a6)))return!![];if(_0x223a1b[_0x278958(0x1a1)][_0x278958(0x19d)](_0x278958(0x1ae)))return![];}return![];}function sleep(_0x39e2ae){return new Promise(_0x1cd4cf=>setTimeout(_0x1cd4cf,_0x39e2ae));}function a231_0x3c08(_0x30584a,_0x263a6b){_0x30584a=_0x30584a-0x194;const _0x616b0c=a231_0x616b();let _0x3c087e=_0x616b0c[_0x30584a];return _0x3c087e;}export function validateUrl(_0xb66818){try{return new URL(_0xb66818),!![];}catch{return![];}}
1
+ function a231_0x415c(){const _0x5c2d0a=['\x20次重试...','18232tvZFLg','734248dwHkFS','headers','get','531Ebeoxf','content-type','application/json','fetch','199145pEHhsF','statusText','30qrUjwX','*\x20请求失败,','5430887dnRlpb','ENOTFOUND','11uGqNfA','1252239YHHuEq','message','text','ms\x20后进行第\x20','name','AbortError','includes','log','1cClSRU','url','4135030zTNsjY','1025006jjYNKI','json'];a231_0x415c=function(){return _0x5c2d0a;};return a231_0x415c();}function a231_0x1d74(_0x3651eb,_0x2ca337){_0x3651eb=_0x3651eb-0xa9;const _0x415cd1=a231_0x415c();let _0x1d7461=_0x415cd1[_0x3651eb];return _0x1d7461;}(function(_0x2fbcb5,_0x124ddf){const _0x3e7166=a231_0x1d74,_0x165bfe=_0x2fbcb5();while(!![]){try{const _0x153793=parseInt(_0x3e7166(0xb7))/0x1*(-parseInt(_0x3e7166(0xba))/0x2)+-parseInt(_0x3e7166(0xaf))/0x3+-parseInt(_0x3e7166(0xbe))/0x4+-parseInt(_0x3e7166(0xc5))/0x5*(-parseInt(_0x3e7166(0xaa))/0x6)+parseInt(_0x3e7166(0xac))/0x7+-parseInt(_0x3e7166(0xbd))/0x8*(-parseInt(_0x3e7166(0xc1))/0x9)+-parseInt(_0x3e7166(0xb9))/0xa*(-parseInt(_0x3e7166(0xae))/0xb);if(_0x153793===_0x124ddf)break;else _0x165bfe['push'](_0x165bfe['shift']());}catch(_0x40fc1d){_0x165bfe['push'](_0x165bfe['shift']());}}}(a231_0x415c,0x63f80));export async function httpRequest(_0x45b624,_0x5d50d2={}){const _0x53baa8=a231_0x1d74,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x5d50d2;let _0x3285d7=null;for(let _0x5bc968=0x0;_0x5bc968<=retries;_0x5bc968++){try{const _0x5b6cd0=new AbortController(),_0x4b2a8e=setTimeout(()=>_0x5b6cd0['abort'](),timeout),_0x2100f4=await fetch(_0x45b624,{'headers':headers,'signal':_0x5b6cd0['signal']});clearTimeout(_0x4b2a8e);let _0x46fa00;const _0x16ffc7=_0x2100f4[_0x53baa8(0xbf)][_0x53baa8(0xc0)](_0x53baa8(0xc2));return _0x16ffc7?.[_0x53baa8(0xb5)](_0x53baa8(0xc3))?_0x46fa00=await _0x2100f4[_0x53baa8(0xbb)]():_0x46fa00=await _0x2100f4[_0x53baa8(0xb1)](),{'ok':_0x2100f4['ok'],'status':_0x2100f4['status'],'statusText':_0x2100f4[_0x53baa8(0xa9)],'data':_0x46fa00,'headers':_0x2100f4[_0x53baa8(0xbf)],'url':_0x2100f4[_0x53baa8(0xb8)],'text':()=>_0x2100f4[_0x53baa8(0xb1)]()};}catch(_0x2fcf9f){_0x3285d7=_0x2fcf9f instanceof Error?_0x2fcf9f:new Error(String(_0x2fcf9f));if(_0x5bc968===retries)break;if(shouldRetry(_0x2fcf9f)){console[_0x53baa8(0xb6)](_0x53baa8(0xab)+retryDelay+_0x53baa8(0xb2)+(_0x5bc968+0x1)+_0x53baa8(0xbc)),await sleep(retryDelay);continue;}else break;}}throw _0x3285d7||new Error('Request\x20failed');}function shouldRetry(_0x12b357){const _0x476b33=a231_0x1d74;if(_0x12b357 instanceof Error){if(_0x12b357['name']===_0x476b33(0xb4))return![];if(_0x12b357[_0x476b33(0xb3)]==='TypeError'&&_0x12b357[_0x476b33(0xb0)][_0x476b33(0xb5)](_0x476b33(0xc4)))return!![];if(_0x12b357[_0x476b33(0xb0)][_0x476b33(0xb5)]('ECONNRESET'))return!![];if(_0x12b357[_0x476b33(0xb0)][_0x476b33(0xb5)](_0x476b33(0xad)))return![];}return![];}function sleep(_0x9ad07e){return new Promise(_0x56a8ae=>setTimeout(_0x56a8ae,_0x9ad07e));}export function validateUrl(_0x355788){try{return new URL(_0x355788),!![];}catch{return![];}}
@@ -1 +1 @@
1
- (function(_0x5e041e,_0x519c76){const _0x5533fa=a232_0x1736,_0x547a90=_0x5e041e();while(!![]){try{const _0x342ddf=parseInt(_0x5533fa(0x174))/0x1*(parseInt(_0x5533fa(0x16b))/0x2)+parseInt(_0x5533fa(0x163))/0x3*(-parseInt(_0x5533fa(0x162))/0x4)+-parseInt(_0x5533fa(0x16e))/0x5*(parseInt(_0x5533fa(0x168))/0x6)+parseInt(_0x5533fa(0x171))/0x7*(parseInt(_0x5533fa(0x16f))/0x8)+parseInt(_0x5533fa(0x169))/0x9*(parseInt(_0x5533fa(0x165))/0xa)+-parseInt(_0x5533fa(0x166))/0xb+parseInt(_0x5533fa(0x167))/0xc*(parseInt(_0x5533fa(0x164))/0xd);if(_0x342ddf===_0x519c76)break;else _0x547a90['push'](_0x547a90['shift']());}catch(_0x5eb89b){_0x547a90['push'](_0x547a90['shift']());}}}(a232_0x525b,0xf1593));function a232_0x525b(){const _0xec3486=['3ZsGIJC','6368052MlYpik','3ZGoULo','13bSuloY','10gQqUxl','16292815LZjvzq','35475444WnRFqY','1710dmBhOa','6174567XzATfW','isTTY','439238dKSYqG','isRaw','setRawMode','27265YTyQuw','632EzfRfS','nonInteractive','116487FOcJBs','stdin','true'];a232_0x525b=function(){return _0xec3486;};return a232_0x525b();}function env(_0x30b50e){return process.env[`RABETBASE_${_0x30b50e}`]||process.env[`LOVRABET_${_0x30b50e}`]||undefined;}export function isNonInteractive(_0x45f80c){const _0x50d7e5=a232_0x1736;return!!(_0x45f80c[_0x50d7e5(0x170)]||_0x45f80c['ci']||env('CI')==='true'||process.env.CI===_0x50d7e5(0x173)||!process['stdout'][_0x50d7e5(0x16a)]||!isStdinRawModeSupported());}function a232_0x1736(_0x5d32d2,_0x5ab592){_0x5d32d2=_0x5d32d2-0x162;const _0x525bb8=a232_0x525b();let _0x17364b=_0x525bb8[_0x5d32d2];return _0x17364b;}function isStdinRawModeSupported(){const _0x9d199d=a232_0x1736;if(!process[_0x9d199d(0x172)][_0x9d199d(0x16a)])return![];try{const _0x157a58=process[_0x9d199d(0x172)][_0x9d199d(0x16c)];return process[_0x9d199d(0x172)]['setRawMode'](!![]),process[_0x9d199d(0x172)][_0x9d199d(0x16d)](_0x157a58??![]),!![];}catch{return![];}}
1
+ function a232_0x4ff2(){const _0x3cd417=['146130uVSFda','143Tdnanl','isRaw','stdout','50734ilBGun','6618640gYpfEL','true','setRawMode','65XBhKay','18UyGZJq','7248661SHAmTC','stdin','9521064VhKStA','25316HWKcBn','273ALSZdB','isTTY','1506460HRTbwv'];a232_0x4ff2=function(){return _0x3cd417;};return a232_0x4ff2();}function a232_0x53ec(_0x949615,_0x49cf8b){_0x949615=_0x949615-0x1a7;const _0x4ff23a=a232_0x4ff2();let _0x53ec0b=_0x4ff23a[_0x949615];return _0x53ec0b;}(function(_0x2effd7,_0x6e5d23){const _0x25f435=a232_0x53ec,_0x3a018a=_0x2effd7();while(!![]){try{const _0x5b5b65=-parseInt(_0x25f435(0x1b1))/0x1*(parseInt(_0x25f435(0x1ad))/0x2)+-parseInt(_0x25f435(0x1b7))/0x3*(-parseInt(_0x25f435(0x1b6))/0x4)+-parseInt(_0x25f435(0x1a8))/0x5*(-parseInt(_0x25f435(0x1b2))/0x6)+-parseInt(_0x25f435(0x1b3))/0x7+parseInt(_0x25f435(0x1ae))/0x8+parseInt(_0x25f435(0x1b5))/0x9+-parseInt(_0x25f435(0x1a9))/0xa*(-parseInt(_0x25f435(0x1aa))/0xb);if(_0x5b5b65===_0x6e5d23)break;else _0x3a018a['push'](_0x3a018a['shift']());}catch(_0x16c627){_0x3a018a['push'](_0x3a018a['shift']());}}}(a232_0x4ff2,0xd48e8));function env(_0x10547d){return process.env[`RABETBASE_${_0x10547d}`]||process.env[`LOVRABET_${_0x10547d}`]||undefined;}export function isNonInteractive(_0x1074c2){const _0x3f9054=a232_0x53ec;return!!(_0x1074c2['nonInteractive']||_0x1074c2['ci']||env('CI')===_0x3f9054(0x1af)||process.env.CI===_0x3f9054(0x1af)||!process[_0x3f9054(0x1ac)]['isTTY']||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x407ef2=a232_0x53ec;if(!process[_0x407ef2(0x1b4)][_0x407ef2(0x1a7)])return![];try{const _0x1e4e93=process['stdin'][_0x407ef2(0x1ab)];return process[_0x407ef2(0x1b4)]['setRawMode'](!![]),process[_0x407ef2(0x1b4)][_0x407ef2(0x1b0)](_0x1e4e93??![]),!![];}catch{return![];}}