@lovrabet/rabetbase-cli 2.3.13-beta.2 → 2.3.13-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/README.md +1 -1
  2. package/lib/api/api-doc.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.js +1 -1
  7. package/lib/auth/constant.js +1 -1
  8. package/lib/auth/get-cookie.js +1 -1
  9. package/lib/auth/get-session-user.js +1 -1
  10. package/lib/auth/is-session-valid.js +1 -1
  11. package/lib/auth/login-success-html.js +1 -1
  12. package/lib/auth/logout.js +1 -1
  13. package/lib/cli-flags.js +1 -1
  14. package/lib/cli.js +1 -1
  15. package/lib/commands/api/generate.js +1 -1
  16. package/lib/commands/api/index.js +1 -1
  17. package/lib/commands/api/list.js +1 -1
  18. package/lib/commands/api/pull.js +1 -1
  19. package/lib/commands/api/shared.js +1 -1
  20. package/lib/commands/app/add.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.js +1 -1
  23. package/lib/commands/app/remote-directory.js +1 -1
  24. package/lib/commands/app/remove.js +1 -1
  25. package/lib/commands/app/shared.js +1 -1
  26. package/lib/commands/app-config/delete.js +1 -1
  27. package/lib/commands/app-config/get.js +1 -1
  28. package/lib/commands/app-config/index.js +1 -1
  29. package/lib/commands/app-config/list.js +1 -1
  30. package/lib/commands/app-config/set.js +1 -1
  31. package/lib/commands/app-config/shared.js +1 -1
  32. package/lib/commands/auth/index.js +1 -1
  33. package/lib/commands/bff/create.js +1 -1
  34. package/lib/commands/bff/delete.js +1 -1
  35. package/lib/commands/bff/detail.js +1 -1
  36. package/lib/commands/bff/index.js +1 -1
  37. package/lib/commands/bff/list.js +1 -1
  38. package/lib/commands/bff/pull.js +1 -1
  39. package/lib/commands/bff/push.js +1 -1
  40. package/lib/commands/bff/status.js +1 -1
  41. package/lib/commands/cli-skill/index.js +1 -1
  42. package/lib/commands/cli-update.js +1 -1
  43. package/lib/commands/codegen/index.js +1 -1
  44. package/lib/commands/codegen/sdk.js +1 -1
  45. package/lib/commands/codegen/sql.js +1 -1
  46. package/lib/commands/common/app-registry.js +1 -1
  47. package/lib/commands/common/app-selector.js +1 -1
  48. package/lib/commands/common/async-task.js +1 -1
  49. package/lib/commands/common/dry-run.js +1 -1
  50. package/lib/commands/common/flags.js +1 -1
  51. package/lib/commands/common/local-file.js +1 -1
  52. package/lib/commands/common/validate.js +1 -1
  53. package/lib/commands/config/get.js +1 -1
  54. package/lib/commands/config/index.js +1 -1
  55. package/lib/commands/config/list.js +1 -1
  56. package/lib/commands/config/set.js +1 -1
  57. package/lib/commands/config/shared.js +1 -1
  58. package/lib/commands/data/filter.js +1 -1
  59. package/lib/commands/data/getOne.js +1 -1
  60. package/lib/commands/data/index.js +1 -1
  61. package/lib/commands/data/shared.js +1 -1
  62. package/lib/commands/dataset/business-group-update.js +1 -1
  63. package/lib/commands/dataset/capability.js +1 -1
  64. package/lib/commands/dataset/delete.js +1 -1
  65. package/lib/commands/dataset/detail.js +1 -1
  66. package/lib/commands/dataset/extend-update.js +1 -1
  67. package/lib/commands/dataset/field-update.js +1 -1
  68. package/lib/commands/dataset/generate.js +1 -1
  69. package/lib/commands/dataset/index.js +1 -1
  70. package/lib/commands/dataset/list.js +1 -1
  71. package/lib/commands/dataset/operations.js +1 -1
  72. package/lib/commands/dataset/relation-audit.js +1 -1
  73. package/lib/commands/dataset/relation-create.js +1 -1
  74. package/lib/commands/dataset/relation-delete.js +1 -1
  75. package/lib/commands/dataset/relation-shared.js +1 -1
  76. package/lib/commands/dataset/relation-update.js +1 -1
  77. package/lib/commands/dataset/relations.js +1 -1
  78. package/lib/commands/dataset/rename.js +1 -1
  79. package/lib/commands/dataset/restore.js +1 -1
  80. package/lib/commands/db/analysis-batching.js +1 -1
  81. package/lib/commands/db/analyze-batch-plan.js +1 -1
  82. package/lib/commands/db/analyze-cancel.js +1 -1
  83. package/lib/commands/db/analyze-start.js +1 -1
  84. package/lib/commands/db/analyze-status.js +1 -1
  85. package/lib/commands/db/create.js +1 -1
  86. package/lib/commands/db/delete.js +1 -1
  87. package/lib/commands/db/detail.js +1 -1
  88. package/lib/commands/db/diff.js +1 -1
  89. package/lib/commands/db/index.js +1 -1
  90. package/lib/commands/db/list.js +1 -1
  91. package/lib/commands/db/shared.js +1 -1
  92. package/lib/commands/db/tables.js +1 -1
  93. package/lib/commands/db/test.js +1 -1
  94. package/lib/commands/db/update.js +1 -1
  95. package/lib/commands/doctor.js +1 -1
  96. package/lib/commands/file/index.js +1 -1
  97. package/lib/commands/init/index.js +1 -1
  98. package/lib/commands/issue/index.js +1 -1
  99. package/lib/commands/issue/nudge.js +1 -1
  100. package/lib/commands/issue/report.js +1 -1
  101. package/lib/commands/issue/shared.js +1 -1
  102. package/lib/commands/logs/index.js +1 -1
  103. package/lib/commands/menu/asset-update.js +1 -0
  104. package/lib/commands/menu/delete.js +1 -1
  105. package/lib/commands/menu/external-link-create.js +1 -1
  106. package/lib/commands/menu/external-link-update.js +1 -0
  107. package/lib/commands/menu/group-create.js +1 -1
  108. package/lib/commands/menu/group-update.js +1 -1
  109. package/lib/commands/menu/index.js +1 -1
  110. package/lib/commands/menu/list.js +1 -1
  111. package/lib/commands/menu/move.js +1 -1
  112. package/lib/commands/menu/regroup-start.js +1 -1
  113. package/lib/commands/menu/shared/compare-table.js +1 -1
  114. package/lib/commands/menu/shared/delete-plan.js +1 -1
  115. package/lib/commands/menu/shared/facts.js +1 -1
  116. package/lib/commands/menu/shared/index.js +1 -1
  117. package/lib/commands/menu/shared/inquirer.js +1 -1
  118. package/lib/commands/menu/shared/local-pages.js +1 -1
  119. package/lib/commands/menu/shared/logic.js +1 -1
  120. package/lib/commands/menu/shared/mutations.js +1 -1
  121. package/lib/commands/menu/shared/service.js +1 -1
  122. package/lib/commands/menu/shared/sync-core.js +1 -1
  123. package/lib/commands/menu/shared/update-core.js +1 -1
  124. package/lib/commands/menu/shared/valid-url.js +1 -1
  125. package/lib/commands/menu/sync.js +1 -1
  126. package/lib/commands/notification/config-list.js +1 -1
  127. package/lib/commands/notification/index.js +1 -1
  128. package/lib/commands/page/generate-start.js +1 -1
  129. package/lib/commands/page/generate-status.js +1 -1
  130. package/lib/commands/page/index.js +1 -1
  131. package/lib/commands/page/pull.js +1 -1
  132. package/lib/commands/page/push.js +1 -1
  133. package/lib/commands/page/relation-audit.js +1 -1
  134. package/lib/commands/page/shared.js +1 -1
  135. package/lib/commands/page/standard-page-status.js +1 -1
  136. package/lib/commands/page/sync.js +1 -1
  137. package/lib/commands/permit/index.js +1 -1
  138. package/lib/commands/permit/page-get.js +1 -1
  139. package/lib/commands/permit/page-set.js +1 -1
  140. package/lib/commands/permit/role-apis-set.js +1 -1
  141. package/lib/commands/permit/role-menus-set.js +1 -1
  142. package/lib/commands/permit/role-menus.js +1 -1
  143. package/lib/commands/permit/shared.js +1 -1
  144. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  145. package/lib/commands/project/create/format-elapsed.js +1 -1
  146. package/lib/commands/project/create/main.js +1 -1
  147. package/lib/commands/project/create/non-interactive.js +1 -1
  148. package/lib/commands/project/create/project-template-path.js +1 -1
  149. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  150. package/lib/commands/project/create/use-format-code.js +1 -1
  151. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  152. package/lib/commands/project/index.js +1 -1
  153. package/lib/commands/project/init.js +1 -1
  154. package/lib/commands/project/upgrade.js +1 -1
  155. package/lib/commands/registry.js +1 -1
  156. package/lib/commands/role/create.js +1 -1
  157. package/lib/commands/role/delete.js +1 -1
  158. package/lib/commands/role/detail.js +1 -1
  159. package/lib/commands/role/index.js +1 -1
  160. package/lib/commands/role/list.js +1 -1
  161. package/lib/commands/role/shared.js +1 -1
  162. package/lib/commands/role/update.js +1 -1
  163. package/lib/commands/role/user-add.js +1 -1
  164. package/lib/commands/role/user-remove.js +1 -1
  165. package/lib/commands/role/user-resolve.js +1 -1
  166. package/lib/commands/run/index.js +1 -1
  167. package/lib/commands/schema.js +1 -1
  168. package/lib/commands/sql/create.js +1 -1
  169. package/lib/commands/sql/delete.js +1 -1
  170. package/lib/commands/sql/detail.js +1 -1
  171. package/lib/commands/sql/exec.js +1 -1
  172. package/lib/commands/sql/index.js +1 -1
  173. package/lib/commands/sql/list.js +1 -1
  174. package/lib/commands/sql/pull.js +1 -1
  175. package/lib/commands/sql/push.js +1 -1
  176. package/lib/commands/sql/save.js +1 -1
  177. package/lib/commands/sql/shared.js +1 -1
  178. package/lib/commands/sql/status.js +1 -1
  179. package/lib/commands/sql/validate.js +1 -1
  180. package/lib/commands/task/index.js +1 -1
  181. package/lib/commands/task/status.js +1 -1
  182. package/lib/commands/workspace/add.js +1 -1
  183. package/lib/commands/workspace/index.js +1 -1
  184. package/lib/commands/workspace/remove.js +1 -1
  185. package/lib/config/schema.js +1 -1
  186. package/lib/constant/cdn.js +1 -1
  187. package/lib/constant/cli.js +1 -1
  188. package/lib/constant/defaults.js +1 -1
  189. package/lib/constant/domain.js +1 -1
  190. package/lib/constant/env.js +1 -1
  191. package/lib/constant/output.js +1 -1
  192. package/lib/constant/paths.js +1 -1
  193. package/lib/constant/risk.js +1 -1
  194. package/lib/context/app-resolver.js +1 -1
  195. package/lib/context/auth-resolver.js +1 -1
  196. package/lib/context/config-loader.js +1 -1
  197. package/lib/context.js +1 -1
  198. package/lib/core/alias-resolver.js +1 -1
  199. package/lib/core/api-client.js +1 -1
  200. package/lib/core/bff/config.js +1 -1
  201. package/lib/core/bff/file-system.js +1 -1
  202. package/lib/core/bff/hash.js +1 -1
  203. package/lib/core/bff/lock.js +1 -1
  204. package/lib/core/bff/utils.js +1 -1
  205. package/lib/core/db-resolver.js +1 -1
  206. package/lib/core/page/file-system.js +1 -1
  207. package/lib/core/page/hash.js +1 -1
  208. package/lib/core/page/lock.js +1 -1
  209. package/lib/core/sql-index-auditor.js +1 -1
  210. package/lib/core/sql-sync/config.js +1 -1
  211. package/lib/core/sql-sync/file-system.js +1 -1
  212. package/lib/core/sql-sync/hash.js +1 -1
  213. package/lib/core/sql-sync/lock.js +1 -1
  214. package/lib/core/sql-sync/utils.js +1 -1
  215. package/lib/core/sql-validator.js +1 -1
  216. package/lib/errors.js +1 -1
  217. package/lib/framework/build-all-flags.js +1 -1
  218. package/lib/framework/error-output.js +1 -1
  219. package/lib/framework/explicit-yes.js +1 -1
  220. package/lib/framework/flags.js +1 -1
  221. package/lib/framework/help.js +1 -1
  222. package/lib/framework/index.js +1 -1
  223. package/lib/framework/output.js +1 -1
  224. package/lib/framework/response.js +1 -1
  225. package/lib/framework/runner-alias.js +1 -1
  226. package/lib/framework/runner.js +1 -1
  227. package/lib/framework/schema-export.js +1 -1
  228. package/lib/framework/types.js +1 -1
  229. package/lib/generated/build-info.js +1 -1
  230. package/lib/help.js +1 -1
  231. package/lib/skills/main.js +1 -1
  232. package/lib/skills/npx-skills-add.js +1 -1
  233. package/lib/telemetry/cli-command-trace.js +1 -1
  234. package/lib/telemetry/cli-help-trace.js +1 -1
  235. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  236. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  237. package/lib/telemetry/send-cli-trace-log.js +1 -1
  238. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  239. package/lib/utils/ai_config.js +1 -1
  240. package/lib/utils/apply-jq-filter.js +1 -1
  241. package/lib/utils/cdn-config.js +1 -1
  242. package/lib/utils/check-sdk-version.js +1 -1
  243. package/lib/utils/cli-version-check.js +1 -1
  244. package/lib/utils/cli-version-policy.js +1 -1
  245. package/lib/utils/config.js +1 -1
  246. package/lib/utils/copy-directory.js +1 -1
  247. package/lib/utils/entity-with-id.js +1 -1
  248. package/lib/utils/file-utils.js +1 -1
  249. package/lib/utils/guides-cdn.js +1 -1
  250. package/lib/utils/http-client.js +1 -1
  251. package/lib/utils/is-non-interactive.js +1 -1
  252. package/lib/utils/logger.js +1 -1
  253. package/lib/utils/params.js +1 -1
  254. package/lib/utils/platform.js +1 -1
  255. package/lib/utils/rules-cdn.js +1 -1
  256. package/lib/utils/sleep.js +1 -1
  257. package/lib/utils/template-replacer.js +1 -1
  258. package/lib/utils/update-notice.js +1 -1
  259. package/lib/utils/version.js +1 -1
  260. package/lib/utils/with-active-cookie.js +1 -1
  261. package/lib/utils/write-cli-side-channel.js +1 -1
  262. package/package.json +1 -1
  263. package/lib/commands/menu/update.js +0 -1
@@ -1 +1 @@
1
- (function(_0x49072b,_0x374e31){const _0x1b2a60=a244_0x1a0a,_0x11e32a=_0x49072b();while(!![]){try{const _0x5ceb37=parseInt(_0x1b2a60(0x106))/0x1+parseInt(_0x1b2a60(0x10d))/0x2*(-parseInt(_0x1b2a60(0x118))/0x3)+-parseInt(_0x1b2a60(0x11d))/0x4*(parseInt(_0x1b2a60(0x108))/0x5)+-parseInt(_0x1b2a60(0x11a))/0x6*(parseInt(_0x1b2a60(0x119))/0x7)+parseInt(_0x1b2a60(0x11f))/0x8*(-parseInt(_0x1b2a60(0x115))/0x9)+-parseInt(_0x1b2a60(0x109))/0xa*(parseInt(_0x1b2a60(0x129))/0xb)+parseInt(_0x1b2a60(0x125))/0xc;if(_0x5ceb37===_0x374e31)break;else _0x11e32a['push'](_0x11e32a['shift']());}catch(_0x5ba032){_0x11e32a['push'](_0x11e32a['shift']());}}}(a244_0x24bc,0xe6081));function a244_0x1a0a(_0x5e9a13,_0x1cf035){_0x5e9a13=_0x5e9a13-0x105;const _0x24bc25=a244_0x24bc();let _0x1a0a29=_0x24bc25[_0x5e9a13];return _0x1a0a29;}import a244_0x524fb7 from'node:fs';import a244_0xb4a649 from'node:path';import a244_0x387c52 from'semver';import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION='1.2.0';function isNonNumericVersion(_0x7dd97f){const _0x3fc2d2=a244_0x1a0a,_0x157d3f=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x157d3f['some'](_0x527083=>_0x527083[_0x3fc2d2(0x113)](_0x7dd97f));}function getInstalledVersion(_0x3720cd,_0x21547a){const _0x1dd85c=a244_0x1a0a;try{const _0x5ae8ee=a244_0xb4a649['join'](_0x3720cd,_0x1dd85c(0x122),_0x21547a,_0x1dd85c(0x124));if(a244_0x524fb7[_0x1dd85c(0x110)](_0x5ae8ee)){const _0x529013=JSON[_0x1dd85c(0x114)](a244_0x524fb7['readFileSync'](_0x5ae8ee,'utf-8'));return _0x529013[_0x1dd85c(0x123)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x4c741f=a244_0x1a0a;try{const _0x44f3ac=await getCdnConfig();return _0x44f3ac?.[_0x4c741f(0x105)]?.[_0x4c741f(0x120)]?.[_0x4c741f(0x117)]||null;}catch{return null;}}async function getSdkPackageName(){const _0x2de1ec=a244_0x1a0a;try{const _0x5a932e=await getCdnConfig();return _0x5a932e?.[_0x2de1ec(0x105)]?.['node']?.[_0x2de1ec(0x107)]||'@lovrabet/sdk';}catch{return _0x2de1ec(0x121);}}export async function checkSdkVersion(_0x4e1cf3){const _0x3987d8=a244_0x1a0a,_0x164203=a244_0xb4a649[_0x3987d8(0x116)](_0x4e1cf3,_0x3987d8(0x124)),[_0x2ede4c,_0x13635b]=await Promise['all']([getSdkStableVersion(),getSdkPackageName()]),_0x47692c=_0x2ede4c||FALLBACK_MIN_SDK_VERSION;if(!a244_0x524fb7[_0x3987d8(0x110)](_0x164203))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x47692c,'packageName':_0x13635b,'stableVersion':_0x2ede4c};try{const _0x39f1cf=JSON['parse'](a244_0x524fb7[_0x3987d8(0x10b)](_0x164203,_0x3987d8(0x126))),_0x4aa9dc=_0x39f1cf['dependencies']||{},_0x125e1e=_0x39f1cf[_0x3987d8(0x10e)]||{},_0x56aa33=_0x4aa9dc[_0x13635b]||_0x125e1e[_0x13635b];if(!_0x56aa33)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x47692c,'packageName':_0x13635b,'stableVersion':_0x2ede4c};let _0x1ce308=getInstalledVersion(_0x4e1cf3,_0x13635b);!_0x1ce308&&(_0x1ce308=_0x56aa33);if(isNonNumericVersion(_0x56aa33))return{'installed':!![],'version':_0x1ce308,'needsUpgrade':![],'minVersion':_0x47692c,'packageName':_0x13635b,'stableVersion':_0x2ede4c};const _0x3ec2ab=a244_0x387c52[_0x3987d8(0x11b)](_0x1ce308),_0x2d46f0=a244_0x387c52['coerce'](_0x47692c),_0x137920=_0x3ec2ab&&_0x2d46f0?a244_0x387c52['lt'](_0x3ec2ab,_0x2d46f0):![];return{'installed':!![],'version':_0x1ce308,'needsUpgrade':_0x137920,'minVersion':_0x47692c,'packageName':_0x13635b,'stableVersion':_0x2ede4c};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x47692c,'packageName':_0x13635b,'stableVersion':_0x2ede4c};}}function a244_0x24bc(){const _0x134f56=['utf8','latest','\x20\x20\x20Upgrade\x20command:\x20','22AmohVh','sdk','1015282eXNvDZ','packageName','111490fmreJO','430410FceSOw','↪\x20SDK\x20update\x20available','readFileSync','log','417926LOmoce','devDependencies','needsUpgrade','existsSync','\x1b[1m','\x1b[33m','test','parse','3177hAtrzG','join','stableVersion','3pQcuki','15225EhiFnI','4818aaCbeK','coerce','\x1b[0m','164PvNVIC','npm\x20install\x20','38888vJhEyS','node','@lovrabet/sdk','node_modules','version','package.json','55183776NlEmOF'];a244_0x24bc=function(){return _0x134f56;};return a244_0x24bc();}export function checkSdkVersionSync(_0x18e0b1){const _0xf49296=a244_0x1a0a,_0x2ec1cc=a244_0xb4a649[_0xf49296(0x116)](_0x18e0b1,_0xf49296(0x124)),_0x161b0e='@lovrabet/sdk';if(!a244_0x524fb7[_0xf49296(0x110)](_0x2ec1cc))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x161b0e,'stableVersion':null};try{const _0x632b66=JSON[_0xf49296(0x114)](a244_0x524fb7[_0xf49296(0x10b)](_0x2ec1cc,_0xf49296(0x126))),_0x31e6fd=_0x632b66['dependencies']||{},_0x176c54=_0x632b66[_0xf49296(0x10e)]||{},_0x1a13e7=_0x31e6fd[_0x161b0e]||_0x176c54[_0x161b0e];if(!_0x1a13e7)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x161b0e,'stableVersion':null};let _0x1116cd=getInstalledVersion(_0x18e0b1,_0x161b0e);!_0x1116cd&&(_0x1116cd=_0x1a13e7);if(isNonNumericVersion(_0x1a13e7))return{'installed':!![],'version':_0x1116cd,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x161b0e,'stableVersion':null};const _0x3e4416=a244_0x387c52[_0xf49296(0x11b)](_0x1116cd),_0x6a87ad=_0x3e4416?a244_0x387c52['lt'](_0x3e4416,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x1116cd,'needsUpgrade':_0x6a87ad,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x161b0e,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x161b0e,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x312aec){const _0x2a040a=a244_0x1a0a;if(!_0x312aec[_0x2a040a(0x10f)])return;const _0x47831a=_0x2a040a(0x112),_0x26a334=_0x2a040a(0x11c),_0x223245=_0x2a040a(0x111),_0x451fe9=_0x312aec[_0x2a040a(0x107)]||_0x2a040a(0x121),_0x262729=_0x312aec[_0x2a040a(0x117)]||_0x312aec['minVersion'],_0x3d48c5=_0x2a040a(0x11e)+_0x451fe9+'@'+(_0x262729||_0x2a040a(0x127));console[_0x2a040a(0x10c)](),console['log'](''+_0x47831a+_0x223245+_0x2a040a(0x10a)+_0x26a334),console[_0x2a040a(0x10c)](_0x47831a+'\x20\x20\x20Current\x20version:\x20'+_0x451fe9+'@'+_0x312aec[_0x2a040a(0x123)]+_0x26a334),console[_0x2a040a(0x10c)](_0x47831a+'\x20\x20\x20Stable\x20version:\x20'+_0x262729+_0x26a334),console['log'](_0x47831a+_0x2a040a(0x128)+_0x3d48c5+_0x26a334),console[_0x2a040a(0x10c)]();}
1
+ (function(_0x50bb4a,_0x180cf6){const _0x4630db=a245_0x32da,_0x34794e=_0x50bb4a();while(!![]){try{const _0x364a6c=-parseInt(_0x4630db(0x94))/0x1+parseInt(_0x4630db(0x8c))/0x2*(-parseInt(_0x4630db(0x8b))/0x3)+parseInt(_0x4630db(0x80))/0x4+parseInt(_0x4630db(0x85))/0x5+-parseInt(_0x4630db(0x96))/0x6+-parseInt(_0x4630db(0x8d))/0x7*(parseInt(_0x4630db(0x90))/0x8)+parseInt(_0x4630db(0xa5))/0x9;if(_0x364a6c===_0x180cf6)break;else _0x34794e['push'](_0x34794e['shift']());}catch(_0x4f061e){_0x34794e['push'](_0x34794e['shift']());}}}(a245_0x2afe,0x89ea5));import a245_0x314bc5 from'node:fs';import a245_0x23a75d from'node:path';import a245_0x3ba02b from'semver';function a245_0x32da(_0xa460d6,_0x4e8fc5){_0xa460d6=_0xa460d6-0x80;const _0x2afe47=a245_0x2afe();let _0x32da95=_0x2afe47[_0xa460d6];return _0x32da95;}import{getCdnConfig}from'../utils/cdn-config.js';const FALLBACK_MIN_SDK_VERSION='1.2.0';function isNonNumericVersion(_0x27d8e1){const _0x14af51=a245_0x32da,_0x28cdd3=[/^latest$/i,/^beta$/i,/^alpha$/i,/^canary$/i,/^\*$/,/^x$/];return _0x28cdd3[_0x14af51(0x9b)](_0x18f7d5=>_0x18f7d5[_0x14af51(0x91)](_0x27d8e1));}function getInstalledVersion(_0x5a58a0,_0x23fea0){const _0x3e7ff1=a245_0x32da;try{const _0x4e0ae2=a245_0x23a75d[_0x3e7ff1(0x88)](_0x5a58a0,_0x3e7ff1(0x82),_0x23fea0,_0x3e7ff1(0x81));if(a245_0x314bc5[_0x3e7ff1(0x9e)](_0x4e0ae2)){const _0x3fdd85=JSON[_0x3e7ff1(0xa2)](a245_0x314bc5[_0x3e7ff1(0x83)](_0x4e0ae2,_0x3e7ff1(0x8a)));return _0x3fdd85[_0x3e7ff1(0x8f)]||null;}}catch{}return null;}async function getSdkStableVersion(){const _0x4ce544=a245_0x32da;try{const _0x44b8f3=await getCdnConfig();return _0x44b8f3?.['sdk']?.[_0x4ce544(0x99)]?.[_0x4ce544(0x86)]||null;}catch{return null;}}function a245_0x2afe(){const _0x51eb92=['794806MABXPV','\x20\x20\x20Upgrade\x20command:\x20','1417800JYKbSN','log','\x1b[33m','node','\x1b[0m','some','↪\x20SDK\x20update\x20available','@lovrabet/sdk','existsSync','utf8','\x1b[1m','\x20\x20\x20Current\x20version:\x20','parse','needsUpgrade','dependencies','12163113vhOgYf','937864QgnnBY','package.json','node_modules','readFileSync','devDependencies','5066625ZRAViS','stableVersion','all','join','\x20\x20\x20Stable\x20version:\x20','utf-8','10587leWtdy','242aYjdxM','133FfGuXs','npm\x20install\x20','version','242624dGiRbV','test','coerce','packageName'];a245_0x2afe=function(){return _0x51eb92;};return a245_0x2afe();}async function getSdkPackageName(){const _0xbda29a=a245_0x32da;try{const _0x4bb185=await getCdnConfig();return _0x4bb185?.['sdk']?.['node']?.[_0xbda29a(0x93)]||_0xbda29a(0x9d);}catch{return'@lovrabet/sdk';}}export async function checkSdkVersion(_0x4f82f3){const _0x2f047b=a245_0x32da,_0x38ec52=a245_0x23a75d['join'](_0x4f82f3,_0x2f047b(0x81)),[_0x313512,_0x533a5f]=await Promise[_0x2f047b(0x87)]([getSdkStableVersion(),getSdkPackageName()]),_0x3c3ffa=_0x313512||FALLBACK_MIN_SDK_VERSION;if(!a245_0x314bc5[_0x2f047b(0x9e)](_0x38ec52))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x3c3ffa,'packageName':_0x533a5f,'stableVersion':_0x313512};try{const _0x4a4187=JSON['parse'](a245_0x314bc5['readFileSync'](_0x38ec52,'utf8')),_0x56283f=_0x4a4187[_0x2f047b(0xa4)]||{},_0x3ee8b5=_0x4a4187[_0x2f047b(0x84)]||{},_0x56c422=_0x56283f[_0x533a5f]||_0x3ee8b5[_0x533a5f];if(!_0x56c422)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x3c3ffa,'packageName':_0x533a5f,'stableVersion':_0x313512};let _0x4fc54b=getInstalledVersion(_0x4f82f3,_0x533a5f);!_0x4fc54b&&(_0x4fc54b=_0x56c422);if(isNonNumericVersion(_0x56c422))return{'installed':!![],'version':_0x4fc54b,'needsUpgrade':![],'minVersion':_0x3c3ffa,'packageName':_0x533a5f,'stableVersion':_0x313512};const _0x40ab6a=a245_0x3ba02b[_0x2f047b(0x92)](_0x4fc54b),_0x26750e=a245_0x3ba02b[_0x2f047b(0x92)](_0x3c3ffa),_0x16c106=_0x40ab6a&&_0x26750e?a245_0x3ba02b['lt'](_0x40ab6a,_0x26750e):![];return{'installed':!![],'version':_0x4fc54b,'needsUpgrade':_0x16c106,'minVersion':_0x3c3ffa,'packageName':_0x533a5f,'stableVersion':_0x313512};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':_0x3c3ffa,'packageName':_0x533a5f,'stableVersion':_0x313512};}}export function checkSdkVersionSync(_0x4c4312){const _0x4e9154=a245_0x32da,_0x4b4d70=a245_0x23a75d[_0x4e9154(0x88)](_0x4c4312,_0x4e9154(0x81)),_0x380797='@lovrabet/sdk';if(!a245_0x314bc5[_0x4e9154(0x9e)](_0x4b4d70))return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x380797,'stableVersion':null};try{const _0x5ecdd6=JSON[_0x4e9154(0xa2)](a245_0x314bc5[_0x4e9154(0x83)](_0x4b4d70,_0x4e9154(0x9f))),_0x971b52=_0x5ecdd6['dependencies']||{},_0x122861=_0x5ecdd6[_0x4e9154(0x84)]||{},_0x51232e=_0x971b52[_0x380797]||_0x122861[_0x380797];if(!_0x51232e)return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x380797,'stableVersion':null};let _0x31b3ab=getInstalledVersion(_0x4c4312,_0x380797);!_0x31b3ab&&(_0x31b3ab=_0x51232e);if(isNonNumericVersion(_0x51232e))return{'installed':!![],'version':_0x31b3ab,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x380797,'stableVersion':null};const _0x4c3d38=a245_0x3ba02b['coerce'](_0x31b3ab),_0x57530f=_0x4c3d38?a245_0x3ba02b['lt'](_0x4c3d38,FALLBACK_MIN_SDK_VERSION):![];return{'installed':!![],'version':_0x31b3ab,'needsUpgrade':_0x57530f,'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x380797,'stableVersion':null};}catch{return{'installed':![],'version':null,'needsUpgrade':![],'minVersion':FALLBACK_MIN_SDK_VERSION,'packageName':_0x380797,'stableVersion':null};}}export function printSdkUpgradeWarning(_0x9b26ab){const _0x1b97e0=a245_0x32da;if(!_0x9b26ab[_0x1b97e0(0xa3)])return;const _0x364e0e=_0x1b97e0(0x98),_0x1f027b=_0x1b97e0(0x9a),_0x529b63=_0x1b97e0(0xa0),_0x99ee76=_0x9b26ab[_0x1b97e0(0x93)]||_0x1b97e0(0x9d),_0x1b5cb3=_0x9b26ab[_0x1b97e0(0x86)]||_0x9b26ab['minVersion'],_0x571e31=_0x1b97e0(0x8e)+_0x99ee76+'@'+(_0x1b5cb3||'latest');console['log'](),console[_0x1b97e0(0x97)](''+_0x364e0e+_0x529b63+_0x1b97e0(0x9c)+_0x1f027b),console[_0x1b97e0(0x97)](_0x364e0e+_0x1b97e0(0xa1)+_0x99ee76+'@'+_0x9b26ab[_0x1b97e0(0x8f)]+_0x1f027b),console['log'](_0x364e0e+_0x1b97e0(0x89)+_0x1b5cb3+_0x1f027b),console[_0x1b97e0(0x97)](_0x364e0e+_0x1b97e0(0x95)+_0x571e31+_0x1f027b),console[_0x1b97e0(0x97)]();}
@@ -1 +1 @@
1
- (function(_0x5382ec,_0x245b81){const _0x29e899=a245_0x4757,_0x398c32=_0x5382ec();while(!![]){try{const _0x24ff8b=-parseInt(_0x29e899(0x155))/0x1+parseInt(_0x29e899(0x159))/0x2*(-parseInt(_0x29e899(0x15a))/0x3)+-parseInt(_0x29e899(0x157))/0x4+parseInt(_0x29e899(0x148))/0x5+parseInt(_0x29e899(0x14a))/0x6*(parseInt(_0x29e899(0x144))/0x7)+parseInt(_0x29e899(0x142))/0x8*(parseInt(_0x29e899(0x147))/0x9)+-parseInt(_0x29e899(0x152))/0xa;if(_0x24ff8b===_0x245b81)break;else _0x398c32['push'](_0x398c32['shift']());}catch(_0x439bf5){_0x398c32['push'](_0x398c32['shift']());}}}(a245_0x55cc,0xb2184));function a245_0x4757(_0xcaffe6,_0x214eb6){_0xcaffe6=_0xcaffe6-0x13d;const _0x55cc39=a245_0x55cc();let _0x475730=_0x55cc39[_0xcaffe6];return _0x475730;}function a245_0x55cc(){const _0x55ddb0=['stableVersion','↪\x20New\x20version\x20available','\x20\x20\x20','npm\x20install\x20-g\x20','\x1b[33m','currentVersion','8gGeVOy','minimumVersionMessage','9275gycBtZ','validation','\x20\x20\x20Current\x20CLI\x20version:\x20','3809403IqkpQs','4354755zcmEND','1.0.0','4020mEmeLL','../..','\x20\x20\x20Stable\x20version:\x20','parse','version','belowMinimum','log','Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.','2487570VDZIzK','\x1b[1m','join','984506IZdOFH','filter','744840ZgbwqN','coerce','106RzcMLk','1869RfobRX','Current\x20version:\x20','upgradeMessage','\x1b[0m','minimumVersion','utf-8','\x1b[31m','\x20\x20\x20Upgrade\x20command:\x20'];a245_0x55cc=function(){return _0x55ddb0;};return a245_0x55cc();}import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a245_0x525563 from'semver';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x403300){const _0x55ccdd=a245_0x4757,_0x2dc1b5=_0x403300['stableVersion']||'latest';return _0x55ccdd(0x13f)+NPM_PACKAGE_NAME+'@'+_0x2dc1b5;}function getCurrentCliVersion(){const _0x894859=a245_0x4757;try{const _0x58cee3=fileURLToPath(import.meta.url),_0x5bc9df=resolve(dirname(_0x58cee3),_0x894859(0x14b)),_0xb5e575=resolve(_0x5bc9df,'package.json'),_0xc17e0d=JSON[_0x894859(0x14d)](readFileSync(_0xb5e575,_0x894859(0x15f)));return _0xc17e0d[_0x894859(0x14e)]||_0x894859(0x149);}catch{return _0x894859(0x149);}}export async function checkCliVersion(){const _0x5d51e3=a245_0x4757,_0x173b1c=getCurrentCliVersion(),_0x4a9f85=await getCliVersionPolicy(),_0x57754c=_0x4a9f85?.['stableVersion']||null,_0x359dff=_0x4a9f85?.[_0x5d51e3(0x15e)]||null;let _0xf13b25=![],_0x389b62=![];const _0x4f7dba=a245_0x525563[_0x5d51e3(0x158)](_0x173b1c);if(_0x4f7dba&&_0x57754c)try{const _0x2d8e00=a245_0x525563[_0x5d51e3(0x158)](_0x57754c);if(_0x2d8e00)_0xf13b25=a245_0x525563['lt'](_0x4f7dba,_0x2d8e00);}catch{}if(_0x4f7dba&&_0x359dff)try{const _0x413f2b=a245_0x525563['coerce'](_0x359dff);if(_0x413f2b)_0x389b62=a245_0x525563['lt'](_0x4f7dba,_0x413f2b);}catch{}return _0x389b62&&(_0xf13b25=!![]),{'currentVersion':_0x173b1c,'stableVersion':_0x57754c,'minimumVersion':_0x359dff,'needsUpgrade':_0xf13b25,'belowMinimum':_0x389b62,'isPreRelease':![],'upgradeMessage':_0x4a9f85?.[_0x5d51e3(0x15c)],'minimumVersionMessage':_0x4a9f85?.['minimumVersionMessage']};}export function printCliUpgradeWarning(_0x14a674){const _0x58558e=a245_0x4757;if(!_0x14a674['needsUpgrade']&&!_0x14a674[_0x58558e(0x14f)])return;const _0x58e597=_0x58558e(0x160),_0xcbede4=_0x58558e(0x140),_0x5ded28=_0x58558e(0x15d),_0x37fc31=_0x58558e(0x153),_0x42e2e6=getCliUpgradeCommand(_0x14a674);console['log'](),_0x14a674['belowMinimum']?(console[_0x58558e(0x150)](''+_0x58e597+_0x37fc31+'↪\x20Critical\x20CLI\x20upgrade\x20required'+_0x5ded28),console[_0x58558e(0x150)](_0x58e597+_0x58558e(0x146)+_0x14a674['currentVersion']+_0x5ded28),_0x14a674[_0x58558e(0x15e)]&&console[_0x58558e(0x150)](_0x58e597+'\x20\x20\x20Minimum\x20supported:\x20'+_0x14a674[_0x58558e(0x15e)]+_0x5ded28),_0x14a674[_0x58558e(0x162)]&&_0x14a674['stableVersion']!==_0x14a674[_0x58558e(0x15e)]&&console[_0x58558e(0x150)](_0x58e597+'\x20\x20\x20Recommended\x20stable:\x20'+_0x14a674[_0x58558e(0x162)]+_0x5ded28),_0x14a674[_0x58558e(0x143)]&&console[_0x58558e(0x150)](_0x58e597+_0x58558e(0x13e)+_0x14a674['minimumVersionMessage']+_0x5ded28),console[_0x58558e(0x150)](_0x58e597+_0x58558e(0x161)+_0x42e2e6+_0x5ded28)):(console[_0x58558e(0x150)](''+_0xcbede4+_0x37fc31+_0x58558e(0x13d)+_0x5ded28),console[_0x58558e(0x150)](_0xcbede4+_0x58558e(0x146)+_0x14a674[_0x58558e(0x141)]+_0x5ded28),console['log'](_0xcbede4+_0x58558e(0x14c)+_0x14a674['stableVersion']+_0x5ded28),_0x14a674[_0x58558e(0x15c)]&&console['log'](_0xcbede4+'\x20\x20\x20'+_0x14a674[_0x58558e(0x15c)]+_0x5ded28),console[_0x58558e(0x150)](_0xcbede4+_0x58558e(0x161)+_0x42e2e6+_0x5ded28)),console[_0x58558e(0x150)]();}export function assertCliVersionSupported(_0x3d4cc2){const _0x5451ed=a245_0x4757;if(!_0x3d4cc2[_0x5451ed(0x14f)])return;const _0x1d6359=[_0x3d4cc2[_0x5451ed(0x143)],_0x5451ed(0x15b)+_0x3d4cc2['currentVersion'],_0x3d4cc2[_0x5451ed(0x15e)]?'Minimum\x20supported:\x20'+_0x3d4cc2[_0x5451ed(0x15e)]:null,'Upgrade\x20command:\x20'+getCliUpgradeCommand(_0x3d4cc2)][_0x5451ed(0x156)](Boolean)[_0x5451ed(0x154)]('\x0a');throw CliErrors[_0x5451ed(0x145)](_0x5451ed(0x151),_0x1d6359);}
1
+ (function(_0x1c9b5c,_0x202f65){const _0x215ecc=a246_0x30cc,_0x2dcf72=_0x1c9b5c();while(!![]){try{const _0x393583=parseInt(_0x215ecc(0x1da))/0x1*(-parseInt(_0x215ecc(0x1c5))/0x2)+parseInt(_0x215ecc(0x1cf))/0x3+-parseInt(_0x215ecc(0x1bb))/0x4*(-parseInt(_0x215ecc(0x1bd))/0x5)+parseInt(_0x215ecc(0x1d6))/0x6*(parseInt(_0x215ecc(0x1d1))/0x7)+-parseInt(_0x215ecc(0x1c0))/0x8*(parseInt(_0x215ecc(0x1be))/0x9)+-parseInt(_0x215ecc(0x1dd))/0xa*(-parseInt(_0x215ecc(0x1df))/0xb)+-parseInt(_0x215ecc(0x1c4))/0xc;if(_0x393583===_0x202f65)break;else _0x2dcf72['push'](_0x2dcf72['shift']());}catch(_0x39266c){_0x2dcf72['push'](_0x2dcf72['shift']());}}}(a246_0x7998,0x66cf5));function a246_0x7998(){const _0x2ea2f0=['10QXJIQH','npm\x20install\x20-g\x20','2212859IoXWQf','log','upgradeMessage','↪\x20Critical\x20CLI\x20upgrade\x20required','../..','Minimum\x20supported:\x20','1.0.0','1204852JdBjyk','Current\x20version:\x20','5zdsaxa','10242zxLHTc','\x1b[31m','3896oXbzuu','validation','stableVersion','utf-8','5433264YIkLzj','42HxvlRF','\x20\x20\x20Stable\x20version:\x20','latest','coerce','\x20\x20\x20','\x20\x20\x20Upgrade\x20command:\x20','belowMinimum','\x1b[33m','\x20\x20\x20Current\x20CLI\x20version:\x20','parse','2300319ItjJHq','\x1b[0m','18515AHZLDY','currentVersion','\x20\x20\x20Recommended\x20stable:\x20','minimumVersionMessage','filter','1614KVAXtS','minimumVersion','needsUpgrade','Current\x20CLI\x20version\x20is\x20below\x20the\x20service\x20compatibility\x20support\x20line.','26313tSLizc','\x20\x20\x20Minimum\x20supported:\x20','version'];a246_0x7998=function(){return _0x2ea2f0;};return a246_0x7998();}function a246_0x30cc(_0x4eb6e0,_0x2db342){_0x4eb6e0=_0x4eb6e0-0x1bb;const _0x799832=a246_0x7998();let _0x30cc0a=_0x799832[_0x4eb6e0];return _0x30cc0a;}import{readFileSync}from'node:fs';import{resolve,dirname}from'node:path';import{fileURLToPath}from'node:url';import a246_0x2a6aa8 from'semver';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{NPM_PACKAGE_NAME}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function getCliUpgradeCommand(_0x9056ee){const _0x14869e=a246_0x30cc,_0x3102f8=_0x9056ee[_0x14869e(0x1c2)]||_0x14869e(0x1c7);return _0x14869e(0x1de)+NPM_PACKAGE_NAME+'@'+_0x3102f8;}function getCurrentCliVersion(){const _0x10befc=a246_0x30cc;try{const _0x3500de=fileURLToPath(import.meta.url),_0x64f1d2=resolve(dirname(_0x3500de),_0x10befc(0x1e3)),_0x522665=resolve(_0x64f1d2,'package.json'),_0x1b6684=JSON[_0x10befc(0x1ce)](readFileSync(_0x522665,_0x10befc(0x1c3)));return _0x1b6684[_0x10befc(0x1dc)]||_0x10befc(0x1e5);}catch{return _0x10befc(0x1e5);}}export async function checkCliVersion(){const _0x2c8822=a246_0x30cc,_0x2eccd6=getCurrentCliVersion(),_0x10f34a=await getCliVersionPolicy(),_0x9b6054=_0x10f34a?.[_0x2c8822(0x1c2)]||null,_0x208308=_0x10f34a?.[_0x2c8822(0x1d7)]||null;let _0x15d096=![],_0x1f0d88=![];const _0x44965f=a246_0x2a6aa8[_0x2c8822(0x1c8)](_0x2eccd6);if(_0x44965f&&_0x9b6054)try{const _0x38b1cd=a246_0x2a6aa8[_0x2c8822(0x1c8)](_0x9b6054);if(_0x38b1cd)_0x15d096=a246_0x2a6aa8['lt'](_0x44965f,_0x38b1cd);}catch{}if(_0x44965f&&_0x208308)try{const _0x986d8c=a246_0x2a6aa8['coerce'](_0x208308);if(_0x986d8c)_0x1f0d88=a246_0x2a6aa8['lt'](_0x44965f,_0x986d8c);}catch{}return _0x1f0d88&&(_0x15d096=!![]),{'currentVersion':_0x2eccd6,'stableVersion':_0x9b6054,'minimumVersion':_0x208308,'needsUpgrade':_0x15d096,'belowMinimum':_0x1f0d88,'isPreRelease':![],'upgradeMessage':_0x10f34a?.['upgradeMessage'],'minimumVersionMessage':_0x10f34a?.[_0x2c8822(0x1d4)]};}export function printCliUpgradeWarning(_0x4e7286){const _0x552c14=a246_0x30cc;if(!_0x4e7286[_0x552c14(0x1d8)]&&!_0x4e7286[_0x552c14(0x1cb)])return;const _0xd5a63=_0x552c14(0x1bf),_0x3a03d5=_0x552c14(0x1cc),_0x21c622=_0x552c14(0x1d0),_0xfc8ba2='\x1b[1m',_0x4c3dd4=getCliUpgradeCommand(_0x4e7286);console[_0x552c14(0x1e0)](),_0x4e7286[_0x552c14(0x1cb)]?(console[_0x552c14(0x1e0)](''+_0xd5a63+_0xfc8ba2+_0x552c14(0x1e2)+_0x21c622),console[_0x552c14(0x1e0)](_0xd5a63+_0x552c14(0x1cd)+_0x4e7286[_0x552c14(0x1d2)]+_0x21c622),_0x4e7286[_0x552c14(0x1d7)]&&console['log'](_0xd5a63+_0x552c14(0x1db)+_0x4e7286[_0x552c14(0x1d7)]+_0x21c622),_0x4e7286[_0x552c14(0x1c2)]&&_0x4e7286[_0x552c14(0x1c2)]!==_0x4e7286[_0x552c14(0x1d7)]&&console[_0x552c14(0x1e0)](_0xd5a63+_0x552c14(0x1d3)+_0x4e7286[_0x552c14(0x1c2)]+_0x21c622),_0x4e7286[_0x552c14(0x1d4)]&&console[_0x552c14(0x1e0)](_0xd5a63+'\x20\x20\x20'+_0x4e7286[_0x552c14(0x1d4)]+_0x21c622),console[_0x552c14(0x1e0)](_0xd5a63+_0x552c14(0x1ca)+_0x4c3dd4+_0x21c622)):(console[_0x552c14(0x1e0)](''+_0x3a03d5+_0xfc8ba2+'↪\x20New\x20version\x20available'+_0x21c622),console[_0x552c14(0x1e0)](_0x3a03d5+_0x552c14(0x1cd)+_0x4e7286[_0x552c14(0x1d2)]+_0x21c622),console['log'](_0x3a03d5+_0x552c14(0x1c6)+_0x4e7286[_0x552c14(0x1c2)]+_0x21c622),_0x4e7286[_0x552c14(0x1e1)]&&console['log'](_0x3a03d5+_0x552c14(0x1c9)+_0x4e7286['upgradeMessage']+_0x21c622),console[_0x552c14(0x1e0)](_0x3a03d5+_0x552c14(0x1ca)+_0x4c3dd4+_0x21c622)),console['log']();}export function assertCliVersionSupported(_0x374c8e){const _0x3ebcf5=a246_0x30cc;if(!_0x374c8e[_0x3ebcf5(0x1cb)])return;const _0x23448e=[_0x374c8e[_0x3ebcf5(0x1d4)],_0x3ebcf5(0x1bc)+_0x374c8e[_0x3ebcf5(0x1d2)],_0x374c8e[_0x3ebcf5(0x1d7)]?_0x3ebcf5(0x1e4)+_0x374c8e[_0x3ebcf5(0x1d7)]:null,'Upgrade\x20command:\x20'+getCliUpgradeCommand(_0x374c8e)][_0x3ebcf5(0x1d5)](Boolean)['join']('\x0a');throw CliErrors[_0x3ebcf5(0x1c1)](_0x3ebcf5(0x1d9),_0x23448e);}
@@ -1 +1 @@
1
- (function(_0x5aab83,_0x2f7b15){const _0x5c6aa1=a246_0x2092,_0x3a6013=_0x5aab83();while(!![]){try{const _0x177a23=-parseInt(_0x5c6aa1(0xd2))/0x1*(parseInt(_0x5c6aa1(0xe1))/0x2)+-parseInt(_0x5c6aa1(0xe3))/0x3*(-parseInt(_0x5c6aa1(0xd6))/0x4)+-parseInt(_0x5c6aa1(0xd8))/0x5+parseInt(_0x5c6aa1(0xe2))/0x6*(parseInt(_0x5c6aa1(0xdc))/0x7)+-parseInt(_0x5c6aa1(0xda))/0x8+-parseInt(_0x5c6aa1(0xd9))/0x9+-parseInt(_0x5c6aa1(0xd4))/0xa*(-parseInt(_0x5c6aa1(0xd1))/0xb);if(_0x177a23===_0x2f7b15)break;else _0x3a6013['push'](_0x3a6013['shift']());}catch(_0x3570b3){_0x3a6013['push'](_0x3a6013['shift']());}}}(a246_0x2d76,0xa80f1));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 a246_0x2d76(){const _0x20a916=['9988176xlibPM','cli','10549vcdHdG','minimumVersion','upgradeMessage','minimumVersionMessage','latestVersion','5206BKwgGs','30dQxYoo','1991322vhbAWC','trim','application/json','length','24816561HjKpIU','408zeKrUw','string','10fnFoAs','recommendedVersion','8NhOemy','now','1952515QOCWhD','1815444Oektra'];a246_0x2d76=function(){return _0x20a916;};return a246_0x2d76();}function a246_0x2092(_0x2573c9,_0x10312e){_0x2573c9=_0x2573c9-0xce;const _0x2d76aa=a246_0x2d76();let _0x209266=_0x2d76aa[_0x2573c9];return _0x209266;}function pickString(_0x4ff272){const _0x28e1ee=a246_0x2092;return typeof _0x4ff272===_0x28e1ee(0xd3)&&_0x4ff272['trim']()[_0x28e1ee(0xd0)]>0x0?_0x4ff272[_0x28e1ee(0xce)]():null;}function normalizeCliVersionPolicy(_0x575119){const _0x1a260b=a246_0x2092;if(!_0x575119||typeof _0x575119!=='object')return null;const _0x5985bc=_0x575119,_0x98f5e7=_0x5985bc[_0x1a260b(0xdb)]&&typeof _0x5985bc[_0x1a260b(0xdb)]==='object'?_0x5985bc['cli']:_0x5985bc,_0x2cbd37=pickString(_0x98f5e7['stableVersion'])||pickString(_0x98f5e7[_0x1a260b(0xe0)])||pickString(_0x98f5e7[_0x1a260b(0xd5)]),_0x21482f=pickString(_0x98f5e7[_0x1a260b(0xdd)])||pickString(_0x98f5e7['minVersion']);if(!_0x2cbd37&&!_0x21482f)return null;return{'stableVersion':_0x2cbd37,'minimumVersion':_0x21482f,'upgradeMessage':pickString(_0x98f5e7[_0x1a260b(0xde)])||undefined,'minimumVersionMessage':pickString(_0x98f5e7[_0x1a260b(0xdf)])||undefined};}export async function fetchCliVersionPolicy(){const _0x19f007=a246_0x2092,_0x37616a=new AbortController(),_0x377cd5=setTimeout(()=>_0x37616a['abort'](),FETCH_TIMEOUT_MS);try{const _0x28f07f=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x19f007(0xcf)},'signal':_0x37616a['signal']});if(!_0x28f07f['ok'])return null;const _0x5b481c=await _0x28f07f['json']();return normalizeCliVersionPolicy(_0x5b481c);}catch{return null;}finally{clearTimeout(_0x377cd5);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x44ce5f=a246_0x2092,_0x2afd7f=Date[_0x44ce5f(0xd7)]();if(hasCachedPolicy){const _0x478c4d=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x2afd7f-cacheTime<_0x478c4d)return cachedPolicy;}const _0x58f68e=await fetchCliVersionPolicy();return cachedPolicy=_0x58f68e,cacheTime=_0x2afd7f,hasCachedPolicy=!![],_0x58f68e;}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}
1
+ function a247_0x5b29(_0x15c3c3,_0x3ef292){_0x15c3c3=_0x15c3c3-0xda;const _0x2d4c98=a247_0x2d4c();let _0x5b2934=_0x2d4c98[_0x15c3c3];return _0x5b2934;}(function(_0x16f126,_0x4c1558){const _0x1fd3fa=a247_0x5b29,_0x412a5a=_0x16f126();while(!![]){try{const _0x505c8d=-parseInt(_0x1fd3fa(0xe5))/0x1+parseInt(_0x1fd3fa(0xea))/0x2*(-parseInt(_0x1fd3fa(0xf1))/0x3)+-parseInt(_0x1fd3fa(0xe9))/0x4+-parseInt(_0x1fd3fa(0xda))/0x5*(-parseInt(_0x1fd3fa(0xf5))/0x6)+parseInt(_0x1fd3fa(0xe1))/0x7*(parseInt(_0x1fd3fa(0xdc))/0x8)+parseInt(_0x1fd3fa(0xed))/0x9*(parseInt(_0x1fd3fa(0xf3))/0xa)+parseInt(_0x1fd3fa(0xec))/0xb*(parseInt(_0x1fd3fa(0xde))/0xc);if(_0x505c8d===_0x4c1558)break;else _0x412a5a['push'](_0x412a5a['shift']());}catch(_0x529493){_0x412a5a['push'](_0x412a5a['shift']());}}}(a247_0x2d4c,0xf3b1d));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(_0x1975b1){const _0x33336c=a247_0x5b29;return typeof _0x1975b1===_0x33336c(0xe8)&&_0x1975b1[_0x33336c(0xee)]()[_0x33336c(0xf4)]>0x0?_0x1975b1[_0x33336c(0xee)]():null;}function normalizeCliVersionPolicy(_0x2cf1f1){const _0x39b307=a247_0x5b29;if(!_0x2cf1f1||typeof _0x2cf1f1!==_0x39b307(0xe3))return null;const _0x1e50e=_0x2cf1f1,_0x2d517f=_0x1e50e['cli']&&typeof _0x1e50e[_0x39b307(0xf0)]===_0x39b307(0xe3)?_0x1e50e[_0x39b307(0xf0)]:_0x1e50e,_0x191c26=pickString(_0x2d517f[_0x39b307(0xdd)])||pickString(_0x2d517f['latestVersion'])||pickString(_0x2d517f[_0x39b307(0xe2)]),_0x4eabcb=pickString(_0x2d517f[_0x39b307(0xef)])||pickString(_0x2d517f[_0x39b307(0xe6)]);if(!_0x191c26&&!_0x4eabcb)return null;return{'stableVersion':_0x191c26,'minimumVersion':_0x4eabcb,'upgradeMessage':pickString(_0x2d517f[_0x39b307(0xdb)])||undefined,'minimumVersionMessage':pickString(_0x2d517f[_0x39b307(0xdf)])||undefined};}export async function fetchCliVersionPolicy(){const _0x1bc5d3=a247_0x5b29,_0x5ad12b=new AbortController(),_0x46512b=setTimeout(()=>_0x5ad12b[_0x1bc5d3(0xe0)](),FETCH_TIMEOUT_MS);try{const _0x45abbe=await fetch(CLI_VERSION_POLICY_URL,{'headers':{'Accept':_0x1bc5d3(0xe7)},'signal':_0x5ad12b[_0x1bc5d3(0xeb)]});if(!_0x45abbe['ok'])return null;const _0x146fd9=await _0x45abbe[_0x1bc5d3(0xe4)]();return normalizeCliVersionPolicy(_0x146fd9);}catch{return null;}finally{clearTimeout(_0x46512b);}}let cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];export async function getCliVersionPolicy(){const _0x49823f=a247_0x5b29,_0x2fa900=Date[_0x49823f(0xf2)]();if(hasCachedPolicy){const _0x21c530=cachedPolicy?CACHE_TTL:FAILURE_CACHE_TTL;if(_0x2fa900-cacheTime<_0x21c530)return cachedPolicy;}const _0x3fe399=await fetchCliVersionPolicy();return cachedPolicy=_0x3fe399,cacheTime=_0x2fa900,hasCachedPolicy=!![],_0x3fe399;}function a247_0x2d4c(){const _0x31617a=['recommendedVersion','object','json','64175wqMemY','minVersion','application/json','string','5259996ReIErq','106fAhmkQ','signal','11gkDoLr','702TVFsOL','trim','minimumVersion','cli','111351POAuJE','now','169020xqQenE','length','39828QsbRfd','1165EZLQYa','upgradeMessage','1132840TDyVrL','stableVersion','16055196yhjNVT','minimumVersionMessage','abort','7WeeibJ'];a247_0x2d4c=function(){return _0x31617a;};return a247_0x2d4c();}export function clearCliVersionPolicyCache(){cachedPolicy=null,cacheTime=0x0,hasCachedPolicy=![];}
@@ -1 +1 @@
1
- const a247_0x2cb590=a247_0x36f6;(function(_0x42487d,_0x24b4fe){const _0x29a6dd=a247_0x36f6,_0x22e31f=_0x42487d();while(!![]){try{const _0x12e66e=-parseInt(_0x29a6dd(0x187))/0x1+-parseInt(_0x29a6dd(0x17f))/0x2+parseInt(_0x29a6dd(0x186))/0x3*(-parseInt(_0x29a6dd(0x181))/0x4)+-parseInt(_0x29a6dd(0x184))/0x5*(-parseInt(_0x29a6dd(0x183))/0x6)+parseInt(_0x29a6dd(0x182))/0x7*(parseInt(_0x29a6dd(0x185))/0x8)+-parseInt(_0x29a6dd(0x189))/0x9*(-parseInt(_0x29a6dd(0x18b))/0xa)+parseInt(_0x29a6dd(0x188))/0xb;if(_0x12e66e===_0x24b4fe)break;else _0x22e31f['push'](_0x22e31f['shift']());}catch(_0x1e175e){_0x22e31f['push'](_0x22e31f['shift']());}}}(a247_0x2a8b,0x1a581));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a247_0x208a6c,getMultiAppConfigs as a247_0x360d40,getTemplateBaseUrl as a247_0x4b0e24}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';function a247_0x36f6(_0x2fedd1,_0x3b6091){_0x2fedd1=_0x2fedd1-0x17f;const _0x2a8b03=a247_0x2a8b();let _0x36f669=_0x2a8b03[_0x2fedd1];return _0x36f669;}function a247_0x2a8b(){const _0xc1fee5=['275960jTpWHH','3rgYyPH','112415jSxCUr','101332WOAheg','288954KzscHc','env','30TQTHDE','162618oHupaZ','project','206724BYlucw','7FYVrtl','1770xxJkHB','3615qpCvoG'];a247_0x2a8b=function(){return _0xc1fee5;};return a247_0x2a8b();}export function readConfig(_0x2d59b3){const _0x5cbc82=a247_0x36f6,_0x6bca74=readRawConfig(_0x2d59b3);return _0x6bca74[_0x5cbc82(0x18a)]&&typeof _0x6bca74['env']==='string'&&initEnv(_0x6bca74[_0x5cbc82(0x18a)]),_0x6bca74;}export function getConfigAppCode(){return a247_0x208a6c();}export function getMultiAppConfigs(_0x43b2c8=a247_0x2cb590(0x180)){return a247_0x360d40(_0x43b2c8);}export function getTemplateBaseUrl(){return a247_0x4b0e24();}
1
+ const a248_0x540b5e=a248_0x26ac;function a248_0x2eb8(){const _0x14cbba=['749048oYqcCq','6oSWIpa','290ErJNcE','env','1126015KSQieW','project','935976HoXVvY','45GdRFWL','182039lXjuGR','3049781qYEXcl','16878KZjMUN','string','22ItPgPI','317178DSvIdn'];a248_0x2eb8=function(){return _0x14cbba;};return a248_0x2eb8();}(function(_0x4645ef,_0x482bb6){const _0x4a6d60=a248_0x26ac,_0x5b1da8=_0x4645ef();while(!![]){try{const _0x27e2ea=parseInt(_0x4a6d60(0x1f0))/0x1+parseInt(_0x4a6d60(0x1ef))/0x2*(-parseInt(_0x4a6d60(0x1ed))/0x3)+-parseInt(_0x4a6d60(0x1e9))/0x4+parseInt(_0x4a6d60(0x1f5))/0x5*(-parseInt(_0x4a6d60(0x1f2))/0x6)+parseInt(_0x4a6d60(0x1ec))/0x7+-parseInt(_0x4a6d60(0x1f1))/0x8*(parseInt(_0x4a6d60(0x1ea))/0x9)+-parseInt(_0x4a6d60(0x1f3))/0xa*(-parseInt(_0x4a6d60(0x1eb))/0xb);if(_0x27e2ea===_0x482bb6)break;else _0x5b1da8['push'](_0x5b1da8['shift']());}catch(_0xda5036){_0x5b1da8['push'](_0x5b1da8['shift']());}}}(a248_0x2eb8,0x3b758));import{initEnv}from'../constant/env.js';import{readRawConfig,getConfigAppCode as a248_0x12f594,getMultiAppConfigs as a248_0x446ff5,getTemplateBaseUrl as a248_0x3cd6b2}from'../context.js';export{getProjectConfigPath,getGlobalConfigPath}from'../context.js';export{isInProject}from'../context.js';export function readConfig(_0x58ae26){const _0x42bd79=a248_0x26ac,_0x169d92=readRawConfig(_0x58ae26);return _0x169d92[_0x42bd79(0x1f4)]&&typeof _0x169d92[_0x42bd79(0x1f4)]===_0x42bd79(0x1ee)&&initEnv(_0x169d92['env']),_0x169d92;}export function getConfigAppCode(){return a248_0x12f594();}function a248_0x26ac(_0x278b1f,_0x224763){_0x278b1f=_0x278b1f-0x1e9;const _0x2eb891=a248_0x2eb8();let _0x26ac0c=_0x2eb891[_0x278b1f];return _0x26ac0c;}export function getMultiAppConfigs(_0x571d60=a248_0x540b5e(0x1f6)){return a248_0x446ff5(_0x571d60);}export function getTemplateBaseUrl(){return a248_0x3cd6b2();}
@@ -1 +1 @@
1
- (function(_0x8be7c0,_0x245e2a){const _0x143e81=a248_0x11c5,_0x8e01cc=_0x8be7c0();while(!![]){try{const _0x159164=parseInt(_0x143e81(0x70))/0x1+parseInt(_0x143e81(0x6b))/0x2+-parseInt(_0x143e81(0x75))/0x3*(parseInt(_0x143e81(0x6e))/0x4)+parseInt(_0x143e81(0x71))/0x5*(-parseInt(_0x143e81(0x6d))/0x6)+-parseInt(_0x143e81(0x74))/0x7*(parseInt(_0x143e81(0x69))/0x8)+parseInt(_0x143e81(0x73))/0x9+parseInt(_0x143e81(0x72))/0xa*(-parseInt(_0x143e81(0x6f))/0xb);if(_0x159164===_0x245e2a)break;else _0x8e01cc['push'](_0x8e01cc['shift']());}catch(_0x11b442){_0x8e01cc['push'](_0x8e01cc['shift']());}}}(a248_0x144c,0xc8670));function a248_0x144c(){const _0x340ba9=['275610GXeEwo','9303345LPMjfT','118811ojaxNp','3guebqK','join','isDirectory','name','248dvpeXz','复制目录时出错:','2171764Tuynmr','copyFileSync','797766uRbzXg','3061136xnGWHW','11XGItfS','419152htmYHo','15oNnPHr'];a248_0x144c=function(){return _0x340ba9;};return a248_0x144c();}import a248_0x3b0206 from'node:path';function a248_0x11c5(_0x2cec9a,_0xf28570){_0x2cec9a=_0x2cec9a-0x66;const _0x144c44=a248_0x144c();let _0x11c58b=_0x144c44[_0x2cec9a];return _0x11c58b;}import a248_0x2a7ddc from'node:fs';export async function copyDirectory(_0x1ac01c,_0x3b3dad){const _0x146f8c=a248_0x11c5;try{const _0x26c3d6=a248_0x2a7ddc['readdirSync'](_0x1ac01c,{'withFileTypes':!![]});a248_0x2a7ddc['mkdirSync'](_0x3b3dad,{'recursive':!![]});for(const _0x4f2045 of _0x26c3d6){const _0x5a44ad=a248_0x3b0206[_0x146f8c(0x66)](_0x1ac01c,_0x4f2045[_0x146f8c(0x68)]),_0x47580f=a248_0x3b0206['join'](_0x3b3dad,_0x4f2045[_0x146f8c(0x68)]);_0x4f2045[_0x146f8c(0x67)]()?await copyDirectory(_0x5a44ad,_0x47580f):a248_0x2a7ddc[_0x146f8c(0x6c)](_0x5a44ad,_0x47580f);}}catch(_0x539b7d){console['error'](_0x146f8c(0x6a),_0x539b7d);}}
1
+ (function(_0x1dc224,_0x2087f1){const _0x34ed51=a249_0x47c1,_0x40dc0f=_0x1dc224();while(!![]){try{const _0x9399b5=parseInt(_0x34ed51(0xca))/0x1+-parseInt(_0x34ed51(0xc2))/0x2*(parseInt(_0x34ed51(0xce))/0x3)+parseInt(_0x34ed51(0xc6))/0x4+-parseInt(_0x34ed51(0xc7))/0x5+parseInt(_0x34ed51(0xc5))/0x6+parseInt(_0x34ed51(0xc4))/0x7*(parseInt(_0x34ed51(0xc9))/0x8)+parseInt(_0x34ed51(0xcc))/0x9;if(_0x9399b5===_0x2087f1)break;else _0x40dc0f['push'](_0x40dc0f['shift']());}catch(_0x5cbdb6){_0x40dc0f['push'](_0x40dc0f['shift']());}}}(a249_0x2150,0xca28c));function a249_0x47c1(_0x18c51c,_0x4739cc){_0x18c51c=_0x18c51c-0xc1;const _0x2150f2=a249_0x2150();let _0x47c181=_0x2150f2[_0x18c51c];return _0x47c181;}import a249_0x2a955f from'node:path';function a249_0x2150(){const _0x381a97=['9GybXPz','isDirectory','error','758826AdCCuv','name','133BKxlMc','6586242YtYlWw','3234408FSuugx','2462065rsNAPu','join','222648SZhxsc','9623mUAxne','复制目录时出错:','125775TOIIhY','mkdirSync'];a249_0x2150=function(){return _0x381a97;};return a249_0x2150();}import a249_0x5d1fd3 from'node:fs';export async function copyDirectory(_0x4b4923,_0xa9e967){const _0x39dc68=a249_0x47c1;try{const _0xc62b9b=a249_0x5d1fd3['readdirSync'](_0x4b4923,{'withFileTypes':!![]});a249_0x5d1fd3[_0x39dc68(0xcd)](_0xa9e967,{'recursive':!![]});for(const _0x2d472a of _0xc62b9b){const _0x48b4ab=a249_0x2a955f[_0x39dc68(0xc8)](_0x4b4923,_0x2d472a[_0x39dc68(0xc3)]),_0x5ccede=a249_0x2a955f['join'](_0xa9e967,_0x2d472a[_0x39dc68(0xc3)]);_0x2d472a[_0x39dc68(0xcf)]()?await copyDirectory(_0x48b4ab,_0x5ccede):a249_0x5d1fd3['copyFileSync'](_0x48b4ab,_0x5ccede);}}catch(_0x2f70c8){console[_0x39dc68(0xc1)](_0x39dc68(0xcb),_0x2f70c8);}}
@@ -1 +1 @@
1
- (function(_0x514f82,_0x5687d0){const _0x489cb4=a249_0x1791,_0x20363e=_0x514f82();while(!![]){try{const _0x42da0c=parseInt(_0x489cb4(0x164))/0x1*(parseInt(_0x489cb4(0x167))/0x2)+parseInt(_0x489cb4(0x16b))/0x3+parseInt(_0x489cb4(0x16a))/0x4*(parseInt(_0x489cb4(0x161))/0x5)+-parseInt(_0x489cb4(0x169))/0x6*(-parseInt(_0x489cb4(0x15f))/0x7)+parseInt(_0x489cb4(0x16c))/0x8*(-parseInt(_0x489cb4(0x163))/0x9)+parseInt(_0x489cb4(0x15e))/0xa*(parseInt(_0x489cb4(0x168))/0xb)+-parseInt(_0x489cb4(0x160))/0xc;if(_0x42da0c===_0x5687d0)break;else _0x20363e['push'](_0x20363e['shift']());}catch(_0x1bce4d){_0x20363e['push'](_0x20363e['shift']());}}}(a249_0x31fa,0xd2624));function toFiniteNumber(_0x73be27){const _0x41b91f=a249_0x1791;if(typeof _0x73be27==='number'&&Number[_0x41b91f(0x162)](_0x73be27))return _0x73be27;if(typeof _0x73be27===_0x41b91f(0x166)){const _0x30c9ab=_0x73be27['trim']();if(!_0x30c9ab)return undefined;const _0x19ca7=Number(_0x30c9ab);if(Number[_0x41b91f(0x162)](_0x19ca7))return _0x19ca7;}return undefined;}function a249_0x1791(_0x10b68f,_0x2630f0){_0x10b68f=_0x10b68f-0x15e;const _0x31fa88=a249_0x31fa();let _0x1791fb=_0x31fa88[_0x10b68f];return _0x1791fb;}function a249_0x31fa(){const _0x26797c=['126UrHCVE','279UwLOrm','object','string','7722YfmsDp','99yfvpzE','804fMWZqM','136qMZfQL','1738848TdixKp','603952orMzFY','1324930fCiOjK','34902BZCQZX','33094920kLozxA','170465yufQvG','isFinite'];a249_0x31fa=function(){return _0x26797c;};return a249_0x31fa();}export function normalizeEntityWithIdResponse(_0xdcc083){const _0x3a3a32=a249_0x1791,_0x5cd631=toFiniteNumber(_0xdcc083);if(_0x5cd631!==undefined)return{'id':_0x5cd631,'entity':{'id':_0x5cd631}};if(!_0xdcc083||typeof _0xdcc083!==_0x3a3a32(0x165))return{'id':undefined,'entity':{}};const _0x56384={..._0xdcc083},_0x154f10=toFiniteNumber(_0x56384['id']);return _0x154f10!==undefined&&(_0x56384['id']=_0x154f10),{'id':_0x154f10,'entity':_0x56384};}
1
+ (function(_0x2733bf,_0x141320){const _0x170da8=a250_0x423a,_0x4a13ad=_0x2733bf();while(!![]){try{const _0x3f2031=-parseInt(_0x170da8(0x11f))/0x1*(-parseInt(_0x170da8(0x119))/0x2)+-parseInt(_0x170da8(0x123))/0x3+-parseInt(_0x170da8(0x121))/0x4*(parseInt(_0x170da8(0x122))/0x5)+-parseInt(_0x170da8(0x11e))/0x6+parseInt(_0x170da8(0x120))/0x7+parseInt(_0x170da8(0x11b))/0x8+parseInt(_0x170da8(0x11c))/0x9;if(_0x3f2031===_0x141320)break;else _0x4a13ad['push'](_0x4a13ad['shift']());}catch(_0x2b7595){_0x4a13ad['push'](_0x4a13ad['shift']());}}}(a250_0xded3,0x4f3f1));function a250_0x423a(_0x2746b6,_0x24c88f){_0x2746b6=_0x2746b6-0x119;const _0xded34=a250_0xded3();let _0x423a4b=_0xded34[_0x2746b6];return _0x423a4b;}function toFiniteNumber(_0x2eb7c2){const _0x1c79c4=a250_0x423a;if(typeof _0x2eb7c2==='number'&&Number[_0x1c79c4(0x11a)](_0x2eb7c2))return _0x2eb7c2;if(typeof _0x2eb7c2==='string'){const _0x2b74bb=_0x2eb7c2['trim']();if(!_0x2b74bb)return undefined;const _0x1ed816=Number(_0x2b74bb);if(Number[_0x1c79c4(0x11a)](_0x1ed816))return _0x1ed816;}return undefined;}export function normalizeEntityWithIdResponse(_0x198b83){const _0x4804c3=a250_0x423a,_0x3eecfa=toFiniteNumber(_0x198b83);if(_0x3eecfa!==undefined)return{'id':_0x3eecfa,'entity':{'id':_0x3eecfa}};if(!_0x198b83||typeof _0x198b83!==_0x4804c3(0x11d))return{'id':undefined,'entity':{}};const _0x347968={..._0x198b83},_0x17e4c4=toFiniteNumber(_0x347968['id']);return _0x17e4c4!==undefined&&(_0x347968['id']=_0x17e4c4),{'id':_0x17e4c4,'entity':_0x347968};}function a250_0xded3(){const _0xc6fe5f=['2344096tHiRgy','1329993oJFTvC','object','1034142tovKVe','8880HswzmR','326935XAnTtu','96188wMfYcG','15DLMnui','1486809LcgAfc','130oIcTzR','isFinite'];a250_0xded3=function(){return _0xc6fe5f;};return a250_0xded3();}
@@ -1 +1 @@
1
- function a250_0x27bf(){const _0x36f721=['252LOZkuq','1330780aepzIj','10236304NMqWHH','211561FUtPFs','9vHWOoF','11856380EKFQmh','3710169ksQVPD','2037918elwbTV','1284124SxjmOi','10waUpWn'];a250_0x27bf=function(){return _0x36f721;};return a250_0x27bf();}(function(_0x2377d6,_0x75caa1){const _0x1313fc=a250_0x4265,_0x126a85=_0x2377d6();while(!![]){try{const _0xa23f9b=-parseInt(_0x1313fc(0x1d9))/0x1+-parseInt(_0x1313fc(0x1d5))/0x2+parseInt(_0x1313fc(0x1d4))/0x3+parseInt(_0x1313fc(0x1d6))/0x4*(parseInt(_0x1313fc(0x1d7))/0x5)+parseInt(_0x1313fc(0x1d8))/0x6*(-parseInt(_0x1313fc(0x1db))/0x7)+parseInt(_0x1313fc(0x1da))/0x8*(parseInt(_0x1313fc(0x1d2))/0x9)+parseInt(_0x1313fc(0x1d3))/0xa;if(_0xa23f9b===_0x75caa1)break;else _0x126a85['push'](_0x126a85['shift']());}catch(_0x1ec0d0){_0x126a85['push'](_0x126a85['shift']());}}}(a250_0x27bf,0xb0f78));import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';import{join}from'node:path';export async function copyDir(_0x239f4e,_0x4c379e){const _0x29b088=statSync(_0x239f4e);if(_0x29b088['isDirectory']()){!existsSync(_0x4c379e)&&mkdirSync(_0x4c379e,{'recursive':!![]});const _0x3f870e=readdirSync(_0x239f4e);for(const _0x467261 of _0x3f870e){await copyDir(join(_0x239f4e,_0x467261),join(_0x4c379e,_0x467261));}}else copyFileSync(_0x239f4e,_0x4c379e);}function a250_0x4265(_0x2f9b90,_0x5d14be){_0x2f9b90=_0x2f9b90-0x1d2;const _0x27bf27=a250_0x27bf();let _0x4265fb=_0x27bf27[_0x2f9b90];return _0x4265fb;}export function ensureDir(_0x5bd174){!existsSync(_0x5bd174)&&mkdirSync(_0x5bd174,{'recursive':!![]});}export function pathExists(_0x11e510){return existsSync(_0x11e510);}
1
+ (function(_0x16bbe5,_0x571bd8){const _0xead631=a251_0xf2ae,_0x2696d0=_0x16bbe5();while(!![]){try{const _0x5672c8=-parseInt(_0xead631(0x1bc))/0x1*(-parseInt(_0xead631(0x1be))/0x2)+parseInt(_0xead631(0x1b5))/0x3*(-parseInt(_0xead631(0x1b9))/0x4)+-parseInt(_0xead631(0x1bb))/0x5*(-parseInt(_0xead631(0x1bd))/0x6)+parseInt(_0xead631(0x1b6))/0x7+parseInt(_0xead631(0x1bf))/0x8+-parseInt(_0xead631(0x1ba))/0x9*(parseInt(_0xead631(0x1b7))/0xa)+-parseInt(_0xead631(0x1b8))/0xb*(parseInt(_0xead631(0x1c0))/0xc);if(_0x5672c8===_0x571bd8)break;else _0x2696d0['push'](_0x2696d0['shift']());}catch(_0x30c319){_0x2696d0['push'](_0x2696d0['shift']());}}}(a251_0x15f9,0xa39a6));import{existsSync,mkdirSync,copyFileSync,readdirSync,statSync}from'node:fs';function a251_0xf2ae(_0x45a63c,_0x5c45de){_0x45a63c=_0x45a63c-0x1b5;const _0x15f94a=a251_0x15f9();let _0xf2ae8f=_0x15f94a[_0x45a63c];return _0xf2ae8f;}import{join}from'node:path';export async function copyDir(_0x3baae2,_0x5a170c){const _0x396e8b=a251_0xf2ae,_0x1c0800=statSync(_0x3baae2);if(_0x1c0800[_0x396e8b(0x1c1)]()){!existsSync(_0x5a170c)&&mkdirSync(_0x5a170c,{'recursive':!![]});const _0x5b4b23=readdirSync(_0x3baae2);for(const _0x5c8154 of _0x5b4b23){await copyDir(join(_0x3baae2,_0x5c8154),join(_0x5a170c,_0x5c8154));}}else copyFileSync(_0x3baae2,_0x5a170c);}function a251_0x15f9(){const _0x233d58=['11WiSrIw','20FHPQqQ','648KKvVzC','20fXtxIq','355aDBRIn','196998dzzOGe','6900wsTOOX','6508584CqrnPM','19818492iUGdMx','isDirectory','33780nEfhNn','8919344oPsmpI','148040aiYcqK'];a251_0x15f9=function(){return _0x233d58;};return a251_0x15f9();}export function ensureDir(_0x2f6c90){!existsSync(_0x2f6c90)&&mkdirSync(_0x2f6c90,{'recursive':!![]});}export function pathExists(_0x1a9972){return existsSync(_0x1a9972);}
@@ -1 +1 @@
1
- const a251_0x526f6d=a251_0x2617;(function(_0x2f8c86,_0x47ee86){const _0xf117a3=a251_0x2617,_0x508c9c=_0x2f8c86();while(!![]){try{const _0x2c0a5e=parseInt(_0xf117a3(0x174))/0x1*(-parseInt(_0xf117a3(0x15c))/0x2)+parseInt(_0xf117a3(0x154))/0x3*(-parseInt(_0xf117a3(0x170))/0x4)+parseInt(_0xf117a3(0x176))/0x5*(parseInt(_0xf117a3(0x167))/0x6)+-parseInt(_0xf117a3(0x164))/0x7*(parseInt(_0xf117a3(0x162))/0x8)+parseInt(_0xf117a3(0x163))/0x9+parseInt(_0xf117a3(0x16f))/0xa+parseInt(_0xf117a3(0x155))/0xb;if(_0x2c0a5e===_0x47ee86)break;else _0x508c9c['push'](_0x508c9c['shift']());}catch(_0x47442d){_0x508c9c['push'](_0x508c9c['shift']());}}}(a251_0x3a90,0x8d4dc));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 _0x2ba4f3=a251_0x2617,_0x32a743=getTemplateBaseUrl();return _0x32a743+_0x2ba4f3(0x156);}const CACHE_DIR=join(homedir(),'.lovrabet',a251_0x526f6d(0x15e));function a251_0x2617(_0x2aa6ed,_0x25ad32){_0x2aa6ed=_0x2aa6ed-0x154;const _0x3a9084=a251_0x3a90();let _0x2617ae=_0x3a9084[_0x2aa6ed];return _0x2617ae;}export async function fetchGuidesFromCDN(){const _0x24ee57=a251_0x526f6d,_0x342e74=getGuidesCdnUrl(),_0x118355=await fetch(_0x342e74,{'headers':{'Accept':_0x24ee57(0x15d)}});if(!_0x118355['ok'])throw new Error(_0x24ee57(0x157)+_0x118355[_0x24ee57(0x172)]+'\x20'+_0x118355[_0x24ee57(0x177)]);const _0x146a0a=await _0x118355['json']();if(!_0x146a0a[_0x24ee57(0x169)]||typeof _0x146a0a[_0x24ee57(0x169)]!==_0x24ee57(0x168))throw new Error('CDN\x20返回数据格式错误');return _0x146a0a;}export function writeGuidesToProject(_0x9aff9f,_0x29aed,_0x58e089=a251_0x526f6d(0x16a),_0x2ce005){const _0x19076d=a251_0x526f6d,_0xfd00=join(_0x29aed,_0x58e089);mkdirSync(_0xfd00,{'recursive':!![]});for(const [_0x3715f5,_0x2fd6f1]of Object[_0x19076d(0x16b)](_0x9aff9f[_0x19076d(0x169)])){let _0x2dac2f=_0x2fd6f1[_0x19076d(0x173)];_0x2fd6f1['lastUpdated']&&(_0x2dac2f=appendUpdateTime(_0x2dac2f,_0x2fd6f1[_0x19076d(0x15b)])),writeFileSync(join(_0xfd00,_0x3715f5+_0x19076d(0x15f)),_0x2dac2f,_0x19076d(0x16c));}}export function appendUpdateTime(_0x11c6c3,_0x4f06bd){const _0x5a0c77=a251_0x526f6d;return _0x11c6c3=_0x11c6c3[_0x5a0c77(0x159)](/\n*>更新时间:.*$/m,''),_0x11c6c3[_0x5a0c77(0x160)]()+(_0x5a0c77(0x15a)+_0x4f06bd);}function a251_0x3a90(){const _0x48ad17=['8AwnSOM','title','status','content','109669KZktKY','CDN\x20数据中缺少\x20skillTemplate','59420xiZmsx','statusText','639336FIoOch','2650582eWlkDh','/skills/guides.json','CDN\x20请求失败:\x20','map','replace','\x0a\x0a>更新时间:','lastUpdated','2UHZIij','application/json','cache','.md','trimEnd','extendContent','720eTGgRb','3090141jggVuG','89663bYZeEZ','join','skillTemplate','582eQHtfv','object','guides','.lovrabet/skill/guides','entries','utf-8','path','length','5304240XJuAfh'];a251_0x3a90=function(){return _0x48ad17;};return a251_0x3a90();}export function getSkillTemplate(_0x5ca195){const _0x1747b7=a251_0x526f6d;return _0x5ca195[_0x1747b7(0x166)]?.[_0x1747b7(0x173)]||'';}export function appendExtendContents(_0x20e9c4,_0x43037d,_0x27cf7f){const _0x140d41=a251_0x526f6d,_0x1da4ad=[];for(const [,_0x1282b1]of Object['entries'](_0x43037d[_0x140d41(0x169)])){_0x1282b1[_0x140d41(0x161)]&&_0x1da4ad['push'](_0x1282b1[_0x140d41(0x161)]['trimEnd']());}if(_0x1da4ad[_0x140d41(0x16e)]===0x0)return _0x20e9c4;return _0x20e9c4[_0x140d41(0x160)]()+'\x0a\x0a'+_0x1da4ad[_0x140d41(0x165)]('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x838768,_0x25670d,_0x3a7064){const _0x267a74=a251_0x526f6d,_0x4996f8=getSkillTemplate(_0x838768);if(!_0x4996f8)throw new Error(_0x267a74(0x175));const _0x2d6141=dirname(_0x25670d);mkdirSync(_0x2d6141,{'recursive':!![]});let _0x3b3a76=_0x4996f8[_0x267a74(0x159)](/\{\{IDE_NAME\}\}/g,_0x3a7064);_0x3b3a76=appendExtendContents(_0x3b3a76,_0x838768),_0x838768[_0x267a74(0x166)]['lastUpdated']&&(_0x3b3a76=appendUpdateTime(_0x3b3a76,_0x838768[_0x267a74(0x166)][_0x267a74(0x15b)])),writeFileSync(_0x25670d,_0x3b3a76,_0x267a74(0x16c));}export async function installGuides(_0x32ee2d){const _0x5e4801=a251_0x526f6d,_0x3fde63=await fetchGuidesFromCDN();return writeGuidesToProject(_0x3fde63,_0x32ee2d),Object['keys'](_0x3fde63[_0x5e4801(0x169)])[_0x5e4801(0x16e)];}export function getGuidesSummary(_0x4ec725){const _0x2d7aec=a251_0x526f6d;return Object[_0x2d7aec(0x16b)](_0x4ec725[_0x2d7aec(0x169)])[_0x2d7aec(0x158)](([_0x30ba27,_0x1f2267])=>({'key':_0x30ba27,'title':_0x1f2267[_0x2d7aec(0x171)],'path':_0x1f2267[_0x2d7aec(0x16d)]}));}
1
+ const a252_0x57e6c4=a252_0x121c;(function(_0x102d56,_0x285a08){const _0x444c15=a252_0x121c,_0x5146c6=_0x102d56();while(!![]){try{const _0x13b580=parseInt(_0x444c15(0x1de))/0x1*(-parseInt(_0x444c15(0x1d7))/0x2)+parseInt(_0x444c15(0x1e7))/0x3+parseInt(_0x444c15(0x1d9))/0x4+parseInt(_0x444c15(0x1d6))/0x5*(parseInt(_0x444c15(0x1da))/0x6)+parseInt(_0x444c15(0x1c8))/0x7*(-parseInt(_0x444c15(0x1d4))/0x8)+parseInt(_0x444c15(0x1df))/0x9*(parseInt(_0x444c15(0x1c6))/0xa)+-parseInt(_0x444c15(0x1d2))/0xb*(parseInt(_0x444c15(0x1e6))/0xc);if(_0x13b580===_0x285a08)break;else _0x5146c6['push'](_0x5146c6['shift']());}catch(_0x6580a8){_0x5146c6['push'](_0x5146c6['shift']());}}}(a252_0x488c,0xc4b7c));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 _0x30807c=a252_0x121c,_0x4ef9a7=getTemplateBaseUrl();return _0x4ef9a7+_0x30807c(0x1d1);}const CACHE_DIR=join(homedir(),a252_0x57e6c4(0x1e9),a252_0x57e6c4(0x1cc));export async function fetchGuidesFromCDN(){const _0x59cdb0=a252_0x57e6c4,_0x5d380c=getGuidesCdnUrl(),_0x56a6ac=await fetch(_0x5d380c,{'headers':{'Accept':_0x59cdb0(0x1d0)}});if(!_0x56a6ac['ok'])throw new Error('CDN\x20请求失败:\x20'+_0x56a6ac['status']+'\x20'+_0x56a6ac['statusText']);const _0x15254e=await _0x56a6ac[_0x59cdb0(0x1c9)]();if(!_0x15254e[_0x59cdb0(0x1cf)]||typeof _0x15254e['guides']!==_0x59cdb0(0x1dd))throw new Error(_0x59cdb0(0x1e3));return _0x15254e;}export function writeGuidesToProject(_0x2b0575,_0x3b1dd0,_0x421daf=a252_0x57e6c4(0x1d5),_0x4e46dd){const _0x3a7c68=a252_0x57e6c4,_0x52a50c=join(_0x3b1dd0,_0x421daf);mkdirSync(_0x52a50c,{'recursive':!![]});for(const [_0xf103f9,_0xa62bc5]of Object[_0x3a7c68(0x1d3)](_0x2b0575[_0x3a7c68(0x1cf)])){let _0x1d8c14=_0xa62bc5[_0x3a7c68(0x1e1)];_0xa62bc5[_0x3a7c68(0x1c7)]&&(_0x1d8c14=appendUpdateTime(_0x1d8c14,_0xa62bc5[_0x3a7c68(0x1c7)])),writeFileSync(join(_0x52a50c,_0xf103f9+_0x3a7c68(0x1e8)),_0x1d8c14,'utf-8');}}export function appendUpdateTime(_0x4b1797,_0x18ef8a){const _0x451234=a252_0x57e6c4;return _0x4b1797=_0x4b1797[_0x451234(0x1e2)](/\n*>更新时间:.*$/m,''),_0x4b1797[_0x451234(0x1e4)]()+(_0x451234(0x1d8)+_0x18ef8a);}export function getSkillTemplate(_0x693cd8){const _0x4f39d9=a252_0x57e6c4;return _0x693cd8[_0x4f39d9(0x1dc)]?.[_0x4f39d9(0x1e1)]||'';}export function appendExtendContents(_0x453f0a,_0x5bece3,_0x36affd){const _0xca7454=a252_0x57e6c4,_0x59b587=[];for(const [,_0x1c7fa0]of Object[_0xca7454(0x1d3)](_0x5bece3[_0xca7454(0x1cf)])){_0x1c7fa0[_0xca7454(0x1e5)]&&_0x59b587[_0xca7454(0x1cb)](_0x1c7fa0[_0xca7454(0x1e5)][_0xca7454(0x1e4)]());}if(_0x59b587[_0xca7454(0x1ca)]===0x0)return _0x453f0a;return _0x453f0a[_0xca7454(0x1e4)]()+'\x0a\x0a'+_0x59b587['join']('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x41e481,_0x3d3020,_0x24327c){const _0x46da87=a252_0x57e6c4,_0x2fa881=getSkillTemplate(_0x41e481);if(!_0x2fa881)throw new Error(_0x46da87(0x1cd));const _0x3896b1=dirname(_0x3d3020);mkdirSync(_0x3896b1,{'recursive':!![]});let _0x122157=_0x2fa881['replace'](/\{\{IDE_NAME\}\}/g,_0x24327c);_0x122157=appendExtendContents(_0x122157,_0x41e481),_0x41e481[_0x46da87(0x1dc)][_0x46da87(0x1c7)]&&(_0x122157=appendUpdateTime(_0x122157,_0x41e481[_0x46da87(0x1dc)][_0x46da87(0x1c7)])),writeFileSync(_0x3d3020,_0x122157,_0x46da87(0x1ce));}function a252_0x488c(){const _0x40c8dc=['path','skillTemplate','object','94469HqoeBP','9ApboaC','map','content','replace','CDN\x20返回数据格式错误','trimEnd','extendContent','9414624fwrvIj','3282285KiFrcf','.md','.lovrabet','keys','2654030fiGJNH','lastUpdated','7dzFAcL','json','length','push','cache','CDN\x20数据中缺少\x20skillTemplate','utf-8','guides','application/json','/skills/guides.json','11DNXdCy','entries','3174896biYAxR','.lovrabet/skill/guides','5JFDSlR','30FvVILv','\x0a\x0a>更新时间:','2489560ZMwMPX','8533902AWNpWD'];a252_0x488c=function(){return _0x40c8dc;};return a252_0x488c();}function a252_0x121c(_0xbc74ae,_0x9e8c00){_0xbc74ae=_0xbc74ae-0x1c6;const _0x488cb8=a252_0x488c();let _0x121c64=_0x488cb8[_0xbc74ae];return _0x121c64;}export async function installGuides(_0x5567e5){const _0x299a25=a252_0x57e6c4,_0x5e6436=await fetchGuidesFromCDN();return writeGuidesToProject(_0x5e6436,_0x5567e5),Object[_0x299a25(0x1ea)](_0x5e6436[_0x299a25(0x1cf)])[_0x299a25(0x1ca)];}export function getGuidesSummary(_0x5c33a2){const _0x46e45e=a252_0x57e6c4;return Object[_0x46e45e(0x1d3)](_0x5c33a2['guides'])[_0x46e45e(0x1e0)](([_0x580190,_0x5a83c6])=>({'key':_0x580190,'title':_0x5a83c6['title'],'path':_0x5a83c6[_0x46e45e(0x1db)]}));}
@@ -1 +1 @@
1
- function a252_0x3815(_0x3151ae,_0x4c2ac7){_0x3151ae=_0x3151ae-0x14f;const _0x4f00c5=a252_0x4f00();let _0x38151a=_0x4f00c5[_0x3151ae];return _0x38151a;}(function(_0x5d81a6,_0x3f23c3){const _0x5021ab=a252_0x3815,_0x3f6a7f=_0x5d81a6();while(!![]){try{const _0x322597=-parseInt(_0x5021ab(0x160))/0x1+parseInt(_0x5021ab(0x152))/0x2+parseInt(_0x5021ab(0x154))/0x3*(-parseInt(_0x5021ab(0x169))/0x4)+parseInt(_0x5021ab(0x151))/0x5+parseInt(_0x5021ab(0x15f))/0x6*(-parseInt(_0x5021ab(0x162))/0x7)+parseInt(_0x5021ab(0x156))/0x8*(-parseInt(_0x5021ab(0x168))/0x9)+parseInt(_0x5021ab(0x16e))/0xa*(parseInt(_0x5021ab(0x161))/0xb);if(_0x322597===_0x3f23c3)break;else _0x3f6a7f['push'](_0x3f6a7f['shift']());}catch(_0x930726){_0x3f6a7f['push'](_0x3f6a7f['shift']());}}}(a252_0x4f00,0x60469));export async function httpRequest(_0x36d24a,_0x3e5d2b={}){const _0x213135=a252_0x3815,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x3e5d2b;let _0x1c017d=null;for(let _0x25b90b=0x0;_0x25b90b<=retries;_0x25b90b++){try{const _0x4d3313=new AbortController(),_0x4fbc5f=setTimeout(()=>_0x4d3313['abort'](),timeout),_0x3ea200=await fetch(_0x36d24a,{'headers':headers,'signal':_0x4d3313[_0x213135(0x150)]});clearTimeout(_0x4fbc5f);let _0x40f48e;const _0x1ab8c7=_0x3ea200['headers'][_0x213135(0x153)](_0x213135(0x157));return _0x1ab8c7?.[_0x213135(0x155)]('application/json')?_0x40f48e=await _0x3ea200[_0x213135(0x16a)]():_0x40f48e=await _0x3ea200['text'](),{'ok':_0x3ea200['ok'],'status':_0x3ea200[_0x213135(0x15b)],'statusText':_0x3ea200[_0x213135(0x167)],'data':_0x40f48e,'headers':_0x3ea200[_0x213135(0x159)],'url':_0x3ea200[_0x213135(0x164)],'text':()=>_0x3ea200[_0x213135(0x166)]()};}catch(_0x1b5e2b){_0x1c017d=_0x1b5e2b instanceof Error?_0x1b5e2b:new Error(String(_0x1b5e2b));if(_0x25b90b===retries)break;if(shouldRetry(_0x1b5e2b)){console[_0x213135(0x15c)](_0x213135(0x163)+retryDelay+_0x213135(0x16b)+(_0x25b90b+0x1)+_0x213135(0x16c)),await sleep(retryDelay);continue;}else break;}}throw _0x1c017d||new Error(_0x213135(0x158));}function a252_0x4f00(){const _0x308b21=['558537PzrcbA','includes','16ujpIyD','content-type','Request\x20failed','headers','message','status','log','TypeError','AbortError','1410BSjPma','328763dIJYqs','11YQpFGe','21847wgWxwe','*\x20请求失败,','url','name','text','statusText','4014lEQWqU','12bMhhXz','json','ms\x20后进行第\x20','\x20次重试...','fetch','15767970YRWvpe','ENOTFOUND','signal','1467975SKDJxx','291160lzyJez','get'];a252_0x4f00=function(){return _0x308b21;};return a252_0x4f00();}function shouldRetry(_0xdea5f8){const _0x2c7667=a252_0x3815;if(_0xdea5f8 instanceof Error){if(_0xdea5f8[_0x2c7667(0x165)]===_0x2c7667(0x15e))return![];if(_0xdea5f8[_0x2c7667(0x165)]===_0x2c7667(0x15d)&&_0xdea5f8[_0x2c7667(0x15a)]['includes'](_0x2c7667(0x16d)))return!![];if(_0xdea5f8[_0x2c7667(0x15a)]['includes']('ECONNRESET'))return!![];if(_0xdea5f8[_0x2c7667(0x15a)]['includes'](_0x2c7667(0x14f)))return![];}return![];}function sleep(_0x5978d3){return new Promise(_0x315075=>setTimeout(_0x315075,_0x5978d3));}export function validateUrl(_0x2d8708){try{return new URL(_0x2d8708),!![];}catch{return![];}}
1
+ (function(_0x5ef7f9,_0x11eaf3){const _0x41f14c=a253_0x798e,_0x2472ed=_0x5ef7f9();while(!![]){try{const _0x7a7cf=parseInt(_0x41f14c(0xf7))/0x1*(-parseInt(_0x41f14c(0xf4))/0x2)+-parseInt(_0x41f14c(0xe1))/0x3+parseInt(_0x41f14c(0xe6))/0x4*(parseInt(_0x41f14c(0xe4))/0x5)+-parseInt(_0x41f14c(0xe3))/0x6*(-parseInt(_0x41f14c(0xec))/0x7)+parseInt(_0x41f14c(0xf3))/0x8+-parseInt(_0x41f14c(0xed))/0x9*(-parseInt(_0x41f14c(0xdd))/0xa)+-parseInt(_0x41f14c(0xdf))/0xb*(-parseInt(_0x41f14c(0xf9))/0xc);if(_0x7a7cf===_0x11eaf3)break;else _0x2472ed['push'](_0x2472ed['shift']());}catch(_0x4e07a3){_0x2472ed['push'](_0x2472ed['shift']());}}}(a253_0xb820,0x957b9));function a253_0x798e(_0x3fb3c1,_0x5186b8){_0x3fb3c1=_0x3fb3c1-0xdb;const _0xb8205a=a253_0xb820();let _0x798e51=_0xb8205a[_0x3fb3c1];return _0x798e51;}export async function httpRequest(_0x1b1e5f,_0xb9d1d2={}){const _0x619398=a253_0x798e,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0xb9d1d2;let _0x11e619=null;for(let _0x1c16bb=0x0;_0x1c16bb<=retries;_0x1c16bb++){try{const _0x400bcb=new AbortController(),_0x41fb2c=setTimeout(()=>_0x400bcb[_0x619398(0xf2)](),timeout),_0x1a6c3b=await fetch(_0x1b1e5f,{'headers':headers,'signal':_0x400bcb[_0x619398(0xf5)]});clearTimeout(_0x41fb2c);let _0xaf0910;const _0x13203d=_0x1a6c3b[_0x619398(0xee)][_0x619398(0xea)](_0x619398(0xde));return _0x13203d?.['includes'](_0x619398(0xf1))?_0xaf0910=await _0x1a6c3b['json']():_0xaf0910=await _0x1a6c3b[_0x619398(0xdb)](),{'ok':_0x1a6c3b['ok'],'status':_0x1a6c3b[_0x619398(0xe0)],'statusText':_0x1a6c3b['statusText'],'data':_0xaf0910,'headers':_0x1a6c3b['headers'],'url':_0x1a6c3b[_0x619398(0xe2)],'text':()=>_0x1a6c3b['text']()};}catch(_0x578d2f){_0x11e619=_0x578d2f instanceof Error?_0x578d2f:new Error(String(_0x578d2f));if(_0x1c16bb===retries)break;if(shouldRetry(_0x578d2f)){console['log'](_0x619398(0xef)+retryDelay+_0x619398(0xf6)+(_0x1c16bb+0x1)+_0x619398(0xdc)),await sleep(retryDelay);continue;}else break;}}throw _0x11e619||new Error('Request\x20failed');}function shouldRetry(_0x50e42b){const _0x2c08df=a253_0x798e;if(_0x50e42b instanceof Error){if(_0x50e42b[_0x2c08df(0xeb)]==='AbortError')return![];if(_0x50e42b[_0x2c08df(0xeb)]===_0x2c08df(0xe7)&&_0x50e42b['message'][_0x2c08df(0xe9)](_0x2c08df(0xf8)))return!![];if(_0x50e42b['message'][_0x2c08df(0xe9)](_0x2c08df(0xe5)))return!![];if(_0x50e42b[_0x2c08df(0xe8)][_0x2c08df(0xe9)](_0x2c08df(0xf0)))return![];}return![];}function sleep(_0x35eaa1){return new Promise(_0xdcfd8c=>setTimeout(_0xdcfd8c,_0x35eaa1));}function a253_0xb820(){const _0x5729b4=['includes','get','name','43351UiqRom','308277mAGzTQ','headers','*\x20请求失败,','ENOTFOUND','application/json','abort','4937272GKLyXj','475012rPwhHp','signal','ms\x20后进行第\x20','1owCWIC','fetch','516TXZqeO','text','\x20次重试...','10JqCUqk','content-type','191037sPmWiF','status','2040564abnwfK','url','126cUROcx','5xnBHyD','ECONNRESET','6916wwUNUQ','TypeError','message'];a253_0xb820=function(){return _0x5729b4;};return a253_0xb820();}export function validateUrl(_0x1d2461){try{return new URL(_0x1d2461),!![];}catch{return![];}}
@@ -1 +1 @@
1
- function a253_0x5c6e(_0x49c850,_0x39bc72){_0x49c850=_0x49c850-0x1c8;const _0x409b24=a253_0x409b();let _0x5c6ec8=_0x409b24[_0x49c850];return _0x5c6ec8;}function a253_0x409b(){const _0x7347c4=['setRawMode','1455840qKEnQn','stdin','4666380xMTDuY','5890908QNSLgS','stdout','6907563RiWCbm','3251549bhMlCt','isRaw','4mWCJcz','true','16qGbsZm','isTTY','11209180yHdyel','150OVeyAd','8724MDkbGx','nonInteractive'];a253_0x409b=function(){return _0x7347c4;};return a253_0x409b();}(function(_0x2feae9,_0x3c231d){const _0x30f7a2=a253_0x5c6e,_0x930045=_0x2feae9();while(!![]){try{const _0x2b655e=parseInt(_0x30f7a2(0x1cf))/0x1*(parseInt(_0x30f7a2(0x1d0))/0x2)+-parseInt(_0x30f7a2(0x1d3))/0x3+parseInt(_0x30f7a2(0x1ca))/0x4*(parseInt(_0x30f7a2(0x1d5))/0x5)+parseInt(_0x30f7a2(0x1d6))/0x6+parseInt(_0x30f7a2(0x1c8))/0x7*(-parseInt(_0x30f7a2(0x1cc))/0x8)+parseInt(_0x30f7a2(0x1d8))/0x9+-parseInt(_0x30f7a2(0x1ce))/0xa;if(_0x2b655e===_0x3c231d)break;else _0x930045['push'](_0x930045['shift']());}catch(_0x4ef591){_0x930045['push'](_0x930045['shift']());}}}(a253_0x409b,0xc3b99));function env(_0x564f97){return process.env[`RABETBASE_${_0x564f97}`]||process.env[`LOVRABET_${_0x564f97}`]||undefined;}export function isNonInteractive(_0xf84332){const _0x2774a7=a253_0x5c6e;return!!(_0xf84332[_0x2774a7(0x1d1)]||_0xf84332['ci']||env('CI')===_0x2774a7(0x1cb)||process.env.CI===_0x2774a7(0x1cb)||!process[_0x2774a7(0x1d7)][_0x2774a7(0x1cd)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x292484=a253_0x5c6e;if(!process[_0x292484(0x1d4)][_0x292484(0x1cd)])return![];try{const _0xb3cae8=process[_0x292484(0x1d4)][_0x292484(0x1c9)];return process[_0x292484(0x1d4)][_0x292484(0x1d2)](!![]),process[_0x292484(0x1d4)][_0x292484(0x1d2)](_0xb3cae8??![]),!![];}catch{return![];}}
1
+ (function(_0x19e410,_0x3258c3){const _0x527ac8=a254_0xc058,_0xb67ca5=_0x19e410();while(!![]){try{const _0x3c5ba7=-parseInt(_0x527ac8(0x142))/0x1*(-parseInt(_0x527ac8(0x149))/0x2)+-parseInt(_0x527ac8(0x14e))/0x3*(parseInt(_0x527ac8(0x13d))/0x4)+-parseInt(_0x527ac8(0x14b))/0x5*(-parseInt(_0x527ac8(0x14d))/0x6)+-parseInt(_0x527ac8(0x147))/0x7+parseInt(_0x527ac8(0x145))/0x8*(parseInt(_0x527ac8(0x140))/0x9)+-parseInt(_0x527ac8(0x143))/0xa+parseInt(_0x527ac8(0x14a))/0xb*(-parseInt(_0x527ac8(0x14c))/0xc);if(_0x3c5ba7===_0x3258c3)break;else _0xb67ca5['push'](_0xb67ca5['shift']());}catch(_0x22d115){_0xb67ca5['push'](_0xb67ca5['shift']());}}}(a254_0x4378,0xca758));function env(_0x35240f){return process.env[`RABETBASE_${_0x35240f}`]||process.env[`LOVRABET_${_0x35240f}`]||undefined;}export function isNonInteractive(_0xdbfd82){const _0x60459d=a254_0xc058;return!!(_0xdbfd82[_0x60459d(0x13e)]||_0xdbfd82['ci']||env('CI')==='true'||process.env.CI===_0x60459d(0x141)||!process[_0x60459d(0x13f)][_0x60459d(0x146)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x54a945=a254_0xc058;if(!process[_0x54a945(0x144)]['isTTY'])return![];try{const _0x29f355=process[_0x54a945(0x144)][_0x54a945(0x148)];return process[_0x54a945(0x144)][_0x54a945(0x13c)](!![]),process[_0x54a945(0x144)][_0x54a945(0x13c)](_0x29f355??![]),!![];}catch{return![];}}function a254_0xc058(_0x578781,_0xfad9f5){_0x578781=_0x578781-0x13c;const _0x43789b=a254_0x4378();let _0xc058d0=_0x43789b[_0x578781];return _0xc058d0;}function a254_0x4378(){const _0xa27c23=['isTTY','7193753zHqHmf','isRaw','2qBoEHC','3235463fZwvOb','6090245shmqPE','72JmYgJc','6rcToWd','69ogXqDt','setRawMode','5020plVfHl','nonInteractive','stdout','4788576ZUkBio','true','1378520mDWQnH','100830Hhcipb','stdin','16DqVsdn'];a254_0x4378=function(){return _0xa27c23;};return a254_0x4378();}
@@ -1 +1 @@
1
- const a254_0x4f094c=a254_0x557e;(function(_0x219da3,_0x523000){const _0x3406c5=a254_0x557e,_0x58434c=_0x219da3();while(!![]){try{const _0x293744=parseInt(_0x3406c5(0xc9))/0x1+-parseInt(_0x3406c5(0xce))/0x2+parseInt(_0x3406c5(0xb2))/0x3+parseInt(_0x3406c5(0xc6))/0x4*(-parseInt(_0x3406c5(0xb3))/0x5)+parseInt(_0x3406c5(0xe0))/0x6*(parseInt(_0x3406c5(0xe3))/0x7)+parseInt(_0x3406c5(0xd5))/0x8+parseInt(_0x3406c5(0xbc))/0x9*(-parseInt(_0x3406c5(0xb6))/0xa);if(_0x293744===_0x523000)break;else _0x58434c['push'](_0x58434c['shift']());}catch(_0x5a39d9){_0x58434c['push'](_0x58434c['shift']());}}}(a254_0x5f1c,0x63dca));import a254_0x4cc4e9 from'winston';function a254_0x5f1c(){const _0x503490=['mkdirSync','join','logTask','4qvskjd','utf8','red','602285aBXZEO','unknown','errors','完成:\x20','toISOString','1319846YijlLz','.lovrabet.log','transports','initWinstonLogger','失败:\x20','printf','writeFileSync','5789976MYqZvF','duration','now','createLogger','logFilePath','currentRawCommand','readLogs','split','blue','warn','clearLogs','6Vnwnpv','rawCommand','combine','3206882GFLNeO','setLogPath','Failed\x20to\x20clear\x20logs:','log','timestamp','trim','error','1973823RhvOLB','4085135SDCGWi','level','yellow','5561150eEmWjo','getWinstonInstance','addColors','readFileSync','format','existsSync','9qOpmZO','details','winstonLogger','info','stringify','parse','setRawCommand'];a254_0x5f1c=function(){return _0x503490;};return a254_0x5f1c();}import a254_0x22508a from'node:fs';import a254_0x5a0dcd from'node:path';function a254_0x557e(_0x577351,_0x2ccfac){_0x577351=_0x577351-0xae;const _0x5f1c36=a254_0x5f1c();let _0x557ec7=_0x5f1c36[_0x577351];return _0x557ec7;}class Logger{['winstonLogger'];[a254_0x4f094c(0xd9)];[a254_0x4f094c(0xda)]='';constructor(){this['logFilePath']='';}[a254_0x4f094c(0xc2)](_0x858cb0){const _0x22d45a=a254_0x4f094c;this[_0x22d45a(0xda)]=_0x858cb0;}[a254_0x4f094c(0xd1)](){const _0x2ae978=a254_0x4f094c,_0x3823c8=a254_0x5a0dcd['dirname'](this[_0x2ae978(0xd9)]);!a254_0x22508a[_0x2ae978(0xbb)](_0x3823c8)&&a254_0x22508a[_0x2ae978(0xc3)](_0x3823c8,{'recursive':!![]});const _0x4dd03c=a254_0x4cc4e9[_0x2ae978(0xba)][_0x2ae978(0xe2)](a254_0x4cc4e9[_0x2ae978(0xba)][_0x2ae978(0xaf)](),a254_0x4cc4e9[_0x2ae978(0xba)][_0x2ae978(0xcb)]({'stack':!![]}),a254_0x4cc4e9[_0x2ae978(0xba)][_0x2ae978(0xd3)](_0x2062d4=>{const _0x260940=_0x2ae978,_0x4bedb5={'timestamp':_0x2062d4['timestamp']||new Date()[_0x260940(0xcd)](),'level':_0x2062d4[_0x260940(0xb4)]||_0x260940(0xbf),'command':_0x2062d4['command']||_0x260940(0xca),'rawCommand':_0x2062d4[_0x260940(0xe1)]||this[_0x260940(0xda)]||undefined,'message':_0x2062d4['message']||'','duration':_0x2062d4[_0x260940(0xd6)]||undefined,'details':_0x2062d4[_0x260940(0xbd)]||undefined};return JSON[_0x260940(0xc0)](_0x4bedb5);}));this[_0x2ae978(0xbe)]=a254_0x4cc4e9[_0x2ae978(0xd8)]({'level':_0x2ae978(0xbf),'format':_0x4dd03c,'transports':[new a254_0x4cc4e9[(_0x2ae978(0xd0))]['File']({'filename':this[_0x2ae978(0xd9)],'level':_0x2ae978(0xbf)})],'silent':![]}),a254_0x4cc4e9[_0x2ae978(0xb8)]({'success':'green','error':_0x2ae978(0xc8),'warn':_0x2ae978(0xb5),'info':_0x2ae978(0xdd)});}[a254_0x4f094c(0xe4)](_0x3589ac){const _0x2b3fb7=a254_0x4f094c;this['logFilePath']=a254_0x5a0dcd[_0x2b3fb7(0xc4)](_0x3589ac,_0x2b3fb7(0xcf)),this[_0x2b3fb7(0xbe)]&&this['winstonLogger']['clear'](),this[_0x2b3fb7(0xd1)]();}['info'](_0xcf7461,_0x28fb5d,_0x37ad13){const _0x3139d4=a254_0x4f094c;if(!this[_0x3139d4(0xd9)]||!this[_0x3139d4(0xbe)])return;this['winstonLogger']['info'](_0x28fb5d,{'command':_0xcf7461,'details':_0x37ad13});}['success'](_0xd010d1,_0x1108c0,_0x39cb53,_0x52c830){const _0x16fbfb=a254_0x4f094c;if(!this['logFilePath']||!this['winstonLogger'])return;this['winstonLogger'][_0x16fbfb(0xae)]('info',_0x1108c0,{'level':'success','command':_0xd010d1,'duration':_0x39cb53,'details':_0x52c830});}[a254_0x4f094c(0xb1)](_0xed4955,_0x171b07,_0x3efe84){const _0x665cdb=a254_0x4f094c;if(!this[_0x665cdb(0xd9)]||!this['winstonLogger'])return;this['winstonLogger']['error'](_0x171b07,{'command':_0xed4955,'details':_0x3efe84});}['warn'](_0x3729ba,_0x2a3726,_0x35c46f){const _0xbfd84e=a254_0x4f094c;if(!this[_0xbfd84e(0xd9)]||!this[_0xbfd84e(0xbe)])return;this[_0xbfd84e(0xbe)][_0xbfd84e(0xde)](_0x2a3726,{'command':_0x3729ba,'details':_0x35c46f});}async[a254_0x4f094c(0xc5)](_0x3d0a78,_0x36b20a,_0x5d0f2f){const _0x2cf16b=a254_0x4f094c,_0x4fd1ca=Date[_0x2cf16b(0xd7)]();this['info'](_0x3d0a78,'开始执行:\x20'+_0x36b20a);try{const _0x58eba1=await _0x5d0f2f(),_0x41f4e5=Date[_0x2cf16b(0xd7)]()-_0x4fd1ca;return this['success'](_0x3d0a78,_0x2cf16b(0xcc)+_0x36b20a,_0x41f4e5),_0x58eba1;}catch(_0x29e57e){const _0x4f63d1=Date[_0x2cf16b(0xd7)]()-_0x4fd1ca;this[_0x2cf16b(0xb1)](_0x3d0a78,_0x2cf16b(0xd2)+_0x36b20a,{'error':_0x29e57e instanceof Error?_0x29e57e['message']:String(_0x29e57e),'duration':_0x4f63d1});throw _0x29e57e;}}[a254_0x4f094c(0xdb)](){const _0x4c14c3=a254_0x4f094c;try{if(!a254_0x22508a[_0x4c14c3(0xbb)](this[_0x4c14c3(0xd9)]))return[];const _0x3cc7c3=a254_0x22508a[_0x4c14c3(0xb9)](this['logFilePath'],'utf8');return _0x3cc7c3[_0x4c14c3(0xdc)]('\x0a')['filter'](_0x21d05b=>_0x21d05b[_0x4c14c3(0xb0)]())['map'](_0x21b6cb=>JSON[_0x4c14c3(0xc1)](_0x21b6cb));}catch(_0x3d988a){return console[_0x4c14c3(0xde)]('Failed\x20to\x20read\x20logs:',_0x3d988a),[];}}[a254_0x4f094c(0xdf)](){const _0x49523c=a254_0x4f094c;try{a254_0x22508a[_0x49523c(0xbb)](this[_0x49523c(0xd9)])&&a254_0x22508a[_0x49523c(0xd4)](this[_0x49523c(0xd9)],'',_0x49523c(0xc7));}catch(_0x5b7818){console[_0x49523c(0xde)](_0x49523c(0xe5),_0x5b7818);}}[a254_0x4f094c(0xb7)](){const _0x4dab76=a254_0x4f094c;return this[_0x4dab76(0xbe)];}}export const logger=new Logger();
1
+ const a255_0x1c8c1b=a255_0x189f;(function(_0x33b40f,_0x3e46ef){const _0x33dd0a=a255_0x189f,_0x218f66=_0x33b40f();while(!![]){try{const _0x291b2d=parseInt(_0x33dd0a(0x1dd))/0x1+-parseInt(_0x33dd0a(0x1f5))/0x2*(parseInt(_0x33dd0a(0x1df))/0x3)+parseInt(_0x33dd0a(0x1da))/0x4+-parseInt(_0x33dd0a(0x1e2))/0x5*(parseInt(_0x33dd0a(0x202))/0x6)+parseInt(_0x33dd0a(0x1e0))/0x7*(-parseInt(_0x33dd0a(0x1f4))/0x8)+-parseInt(_0x33dd0a(0x1e8))/0x9+parseInt(_0x33dd0a(0x1fe))/0xa;if(_0x291b2d===_0x3e46ef)break;else _0x218f66['push'](_0x218f66['shift']());}catch(_0xf7f5f4){_0x218f66['push'](_0x218f66['shift']());}}}(a255_0x2043,0x78a59));import a255_0x5bffc3 from'winston';function a255_0x2043(){const _0x3caa9a=['87tmpVHY','7588htNyIJ','trim','165BNuddn','logFilePath','combine','now','command','开始执行:\x20','1931166JuKGVl','format','parse','readFileSync','split','yellow','timestamp','currentRawCommand','success','setLogPath','errors','readLogs','5120iydsLP','21158gFgpuc','info','filter','initWinstonLogger','transports','log','createLogger','clear','duration','20920620RDQXVz','.lovrabet.log','writeFileSync','winstonLogger','73146TFaSrC','message','level','blue','失败:\x20','stringify','unknown','printf','existsSync','error','dirname','toISOString','50352LTHgsH','warn','Failed\x20to\x20clear\x20logs:','6947wBlYfG','完成:\x20'];a255_0x2043=function(){return _0x3caa9a;};return a255_0x2043();}import a255_0x5d288b from'node:fs';function a255_0x189f(_0x526dbf,_0x5e84cd){_0x526dbf=_0x526dbf-0x1d2;const _0x2043e5=a255_0x2043();let _0x189f90=_0x2043e5[_0x526dbf];return _0x189f90;}import a255_0x37ec0a from'node:path';class Logger{[a255_0x1c8c1b(0x201)];[a255_0x1c8c1b(0x1e3)];[a255_0x1c8c1b(0x1ef)]='';constructor(){this['logFilePath']='';}['setRawCommand'](_0x324b21){this['currentRawCommand']=_0x324b21;}[a255_0x1c8c1b(0x1f8)](){const _0x50a4f4=a255_0x1c8c1b,_0x1a5403=a255_0x37ec0a[_0x50a4f4(0x1d8)](this[_0x50a4f4(0x1e3)]);!a255_0x5d288b[_0x50a4f4(0x1d6)](_0x1a5403)&&a255_0x5d288b['mkdirSync'](_0x1a5403,{'recursive':!![]});const _0x7c5739=a255_0x5bffc3[_0x50a4f4(0x1e9)][_0x50a4f4(0x1e4)](a255_0x5bffc3['format'][_0x50a4f4(0x1ee)](),a255_0x5bffc3[_0x50a4f4(0x1e9)][_0x50a4f4(0x1f2)]({'stack':!![]}),a255_0x5bffc3[_0x50a4f4(0x1e9)][_0x50a4f4(0x1d5)](_0x519e15=>{const _0x51419f=_0x50a4f4,_0x178853={'timestamp':_0x519e15[_0x51419f(0x1ee)]||new Date()[_0x51419f(0x1d9)](),'level':_0x519e15[_0x51419f(0x204)]||_0x51419f(0x1f6),'command':_0x519e15[_0x51419f(0x1e6)]||_0x51419f(0x1d4),'rawCommand':_0x519e15['rawCommand']||this[_0x51419f(0x1ef)]||undefined,'message':_0x519e15[_0x51419f(0x203)]||'','duration':_0x519e15[_0x51419f(0x1fd)]||undefined,'details':_0x519e15['details']||undefined};return JSON[_0x51419f(0x1d3)](_0x178853);}));this[_0x50a4f4(0x201)]=a255_0x5bffc3[_0x50a4f4(0x1fb)]({'level':_0x50a4f4(0x1f6),'format':_0x7c5739,'transports':[new a255_0x5bffc3[(_0x50a4f4(0x1f9))]['File']({'filename':this['logFilePath'],'level':'info'})],'silent':![]}),a255_0x5bffc3['addColors']({'success':'green','error':'red','warn':_0x50a4f4(0x1ed),'info':_0x50a4f4(0x205)});}[a255_0x1c8c1b(0x1f1)](_0x499c67){const _0x3fca94=a255_0x1c8c1b;this[_0x3fca94(0x1e3)]=a255_0x37ec0a['join'](_0x499c67,_0x3fca94(0x1ff)),this['winstonLogger']&&this[_0x3fca94(0x201)][_0x3fca94(0x1fc)](),this[_0x3fca94(0x1f8)]();}[a255_0x1c8c1b(0x1f6)](_0x445357,_0x2cbfd2,_0xe3132b){const _0x648df8=a255_0x1c8c1b;if(!this[_0x648df8(0x1e3)]||!this[_0x648df8(0x201)])return;this['winstonLogger'][_0x648df8(0x1f6)](_0x2cbfd2,{'command':_0x445357,'details':_0xe3132b});}[a255_0x1c8c1b(0x1f0)](_0x5abfb8,_0x56be9e,_0x3d316e,_0x5a6089){const _0xa65eb6=a255_0x1c8c1b;if(!this[_0xa65eb6(0x1e3)]||!this[_0xa65eb6(0x201)])return;this[_0xa65eb6(0x201)][_0xa65eb6(0x1fa)](_0xa65eb6(0x1f6),_0x56be9e,{'level':'success','command':_0x5abfb8,'duration':_0x3d316e,'details':_0x5a6089});}[a255_0x1c8c1b(0x1d7)](_0x570bb9,_0x4dccc9,_0x2b2aec){const _0x2affc6=a255_0x1c8c1b;if(!this[_0x2affc6(0x1e3)]||!this[_0x2affc6(0x201)])return;this[_0x2affc6(0x201)][_0x2affc6(0x1d7)](_0x4dccc9,{'command':_0x570bb9,'details':_0x2b2aec});}[a255_0x1c8c1b(0x1db)](_0x53270d,_0x3acfc0,_0x44e65f){const _0x405584=a255_0x1c8c1b;if(!this[_0x405584(0x1e3)]||!this[_0x405584(0x201)])return;this[_0x405584(0x201)][_0x405584(0x1db)](_0x3acfc0,{'command':_0x53270d,'details':_0x44e65f});}async['logTask'](_0x38fca4,_0x5a4fe3,_0x11e0c4){const _0x3a939c=a255_0x1c8c1b,_0x3c6bd5=Date['now']();this[_0x3a939c(0x1f6)](_0x38fca4,_0x3a939c(0x1e7)+_0x5a4fe3);try{const _0x2998cf=await _0x11e0c4(),_0x499d4d=Date['now']()-_0x3c6bd5;return this[_0x3a939c(0x1f0)](_0x38fca4,_0x3a939c(0x1de)+_0x5a4fe3,_0x499d4d),_0x2998cf;}catch(_0xe6efcf){const _0x3b1a62=Date[_0x3a939c(0x1e5)]()-_0x3c6bd5;this[_0x3a939c(0x1d7)](_0x38fca4,_0x3a939c(0x1d2)+_0x5a4fe3,{'error':_0xe6efcf instanceof Error?_0xe6efcf[_0x3a939c(0x203)]:String(_0xe6efcf),'duration':_0x3b1a62});throw _0xe6efcf;}}[a255_0x1c8c1b(0x1f3)](){const _0x4d036f=a255_0x1c8c1b;try{if(!a255_0x5d288b[_0x4d036f(0x1d6)](this[_0x4d036f(0x1e3)]))return[];const _0x59ef45=a255_0x5d288b[_0x4d036f(0x1eb)](this[_0x4d036f(0x1e3)],'utf8');return _0x59ef45[_0x4d036f(0x1ec)]('\x0a')[_0x4d036f(0x1f7)](_0x20bf7b=>_0x20bf7b[_0x4d036f(0x1e1)]())['map'](_0x29eb5a=>JSON[_0x4d036f(0x1ea)](_0x29eb5a));}catch(_0x4c17af){return console[_0x4d036f(0x1db)]('Failed\x20to\x20read\x20logs:',_0x4c17af),[];}}['clearLogs'](){const _0x4e5848=a255_0x1c8c1b;try{a255_0x5d288b[_0x4e5848(0x1d6)](this[_0x4e5848(0x1e3)])&&a255_0x5d288b[_0x4e5848(0x200)](this[_0x4e5848(0x1e3)],'','utf8');}catch(_0x358cf6){console['warn'](_0x4e5848(0x1dc),_0x358cf6);}}['getWinstonInstance'](){const _0x4557ad=a255_0x1c8c1b;return this[_0x4557ad(0x201)];}}export const logger=new Logger();
@@ -1 +1 @@
1
- function a255_0x17f4(){const _0x56abac=['21612SNvvne','1162110vaZrdL','parse','--params\x20must\x20be\x20a\x20JSON\x20object','2IgdWOO','873553AUeZtW','isArray','4865176avGPIJ','validation','7318460QyvrCa','406125KAFYbV','3733384OSFhqL','279TqbxTt','object','1995NsQmqr','Invalid\x20JSON\x20for\x20--params:\x20'];a255_0x17f4=function(){return _0x56abac;};return a255_0x17f4();}(function(_0x41ce0d,_0x162356){const _0x3e44b2=a255_0x200b,_0x4d5d89=_0x41ce0d();while(!![]){try{const _0x2c937c=parseInt(_0x3e44b2(0xa2))/0x1*(-parseInt(_0x3e44b2(0xa1))/0x2)+parseInt(_0x3e44b2(0xa7))/0x3+-parseInt(_0x3e44b2(0xa4))/0x4+-parseInt(_0x3e44b2(0xa6))/0x5+-parseInt(_0x3e44b2(0xad))/0x6*(-parseInt(_0x3e44b2(0xab))/0x7)+-parseInt(_0x3e44b2(0xa8))/0x8+parseInt(_0x3e44b2(0xa9))/0x9*(parseInt(_0x3e44b2(0xae))/0xa);if(_0x2c937c===_0x162356)break;else _0x4d5d89['push'](_0x4d5d89['shift']());}catch(_0x835684){_0x4d5d89['push'](_0x4d5d89['shift']());}}}(a255_0x17f4,0xb5b52));function a255_0x200b(_0x2a9515,_0x382b10){_0x2a9515=_0x2a9515-0xa0;const _0x17f444=a255_0x17f4();let _0x200b35=_0x17f444[_0x2a9515];return _0x200b35;}import{CliErrors}from'../errors.js';export function parseJsonParams(_0xa71005){const _0x538dd5=a255_0x200b;if(!_0xa71005)return undefined;let _0x4482df;try{_0x4482df=JSON[_0x538dd5(0xaf)](_0xa71005);}catch{throw CliErrors[_0x538dd5(0xa5)](_0x538dd5(0xac)+_0xa71005);}if(!_0x4482df||typeof _0x4482df!==_0x538dd5(0xaa)||Array[_0x538dd5(0xa3)](_0x4482df))throw CliErrors[_0x538dd5(0xa5)](_0x538dd5(0xa0),'Example:\x20--params\x20\x27{\x22id\x22:123}\x27');return _0x4482df;}
1
+ function a256_0x1d32(){const _0x5b45dc=['157310PSqSAC','--params\x20must\x20be\x20a\x20JSON\x20object','9591225HwKTRx','10tyQznY','2452023ivUdzy','25734SkgUSm','40EvlMZU','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','4459476bBDZug','40606445WglpRo','10xorfel','object','6ubySvn','validation','496708QWHPJX'];a256_0x1d32=function(){return _0x5b45dc;};return a256_0x1d32();}function a256_0x20cc(_0x2405e3,_0x108375){_0x2405e3=_0x2405e3-0x16e;const _0x1d32fc=a256_0x1d32();let _0x20cc48=_0x1d32fc[_0x2405e3];return _0x20cc48;}(function(_0x2a4c51,_0x1f8459){const _0x13db50=a256_0x20cc,_0x299e76=_0x2a4c51();while(!![]){try{const _0x37df89=parseInt(_0x13db50(0x16f))/0x1+-parseInt(_0x13db50(0x170))/0x2*(-parseInt(_0x13db50(0x17c))/0x3)+parseInt(_0x13db50(0x178))/0x4+-parseInt(_0x13db50(0x17a))/0x5*(parseInt(_0x13db50(0x175))/0x6)+parseInt(_0x13db50(0x172))/0x7+-parseInt(_0x13db50(0x176))/0x8*(-parseInt(_0x13db50(0x174))/0x9)+parseInt(_0x13db50(0x173))/0xa*(-parseInt(_0x13db50(0x179))/0xb);if(_0x37df89===_0x1f8459)break;else _0x299e76['push'](_0x299e76['shift']());}catch(_0x27399f){_0x299e76['push'](_0x299e76['shift']());}}}(a256_0x1d32,0xc39c8));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x44de6c){const _0x50ba0a=a256_0x20cc;if(!_0x44de6c)return undefined;let _0x4c479b;try{_0x4c479b=JSON['parse'](_0x44de6c);}catch{throw CliErrors[_0x50ba0a(0x16e)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x44de6c);}if(!_0x4c479b||typeof _0x4c479b!==_0x50ba0a(0x17b)||Array['isArray'](_0x4c479b))throw CliErrors['validation'](_0x50ba0a(0x171),_0x50ba0a(0x177));return _0x4c479b;}
@@ -1 +1 @@
1
- function a256_0x4cb1(_0x44b341,_0xa324ba){_0x44b341=_0x44b341-0x1ba;const _0x19d64b=a256_0x19d6();let _0x4cb165=_0x19d64b[_0x44b341];return _0x4cb165;}function a256_0x19d6(){const _0x22f5fe=['4409778qZmspO','win32','platform','1655410TJTGdz','2389215AYVVCq','840nwqOLt','22184ltHThy','.cmd','84dKlCkZ','3926216kWPXyR','44SFTjnE','44mxhpvP','20205vPETrU','32532ZUzbgG'];a256_0x19d6=function(){return _0x22f5fe;};return a256_0x19d6();}const a256_0x56874e=a256_0x4cb1;(function(_0x840e8d,_0x316d71){const _0x495f5b=a256_0x4cb1,_0x1b3a83=_0x840e8d();while(!![]){try{const _0x232b0d=-parseInt(_0x495f5b(0x1c6))/0x1*(-parseInt(_0x495f5b(0x1bd))/0x2)+parseInt(_0x495f5b(0x1ba))/0x3*(-parseInt(_0x495f5b(0x1bf))/0x4)+-parseInt(_0x495f5b(0x1c4))/0x5+parseInt(_0x495f5b(0x1c0))/0x6+-parseInt(_0x495f5b(0x1bb))/0x7+parseInt(_0x495f5b(0x1c5))/0x8*(-parseInt(_0x495f5b(0x1be))/0x9)+-parseInt(_0x495f5b(0x1c3))/0xa*(-parseInt(_0x495f5b(0x1bc))/0xb);if(_0x232b0d===_0x316d71)break;else _0x1b3a83['push'](_0x1b3a83['shift']());}catch(_0x25aab1){_0x1b3a83['push'](_0x1b3a83['shift']());}}}(a256_0x19d6,0x5d813));export const isWindows=process[a256_0x56874e(0x1c2)]===a256_0x56874e(0x1c1);export function resolveNpmBin(_0xbb8704){const _0x26745d=a256_0x56874e;return isWindows?_0xbb8704+_0x26745d(0x1c7):_0xbb8704;}
1
+ function a257_0x2928(_0x418bf9,_0x569dde){_0x418bf9=_0x418bf9-0x10b;const _0x2aa2f5=a257_0x2aa2();let _0x2928c8=_0x2aa2f5[_0x418bf9];return _0x2928c8;}const a257_0x4ba4eb=a257_0x2928;function a257_0x2aa2(){const _0x5e910f=['3035372acNgIb','win32','11JuXkny','23235340akfRWK','24WuylTF','1708026ZZTsis','240fpBHAv','.cmd','1211760voCHWf','948033XADsrw','1599453pwzsyC','35aWTFpe','100712jCYYSk'];a257_0x2aa2=function(){return _0x5e910f;};return a257_0x2aa2();}(function(_0x149752,_0x1c82b5){const _0x46e41f=a257_0x2928,_0x5e6f8f=_0x149752();while(!![]){try{const _0x1f81e2=-parseInt(_0x46e41f(0x114))/0x1+parseInt(_0x46e41f(0x10c))/0x2+parseInt(_0x46e41f(0x116))/0x3+parseInt(_0x46e41f(0x10b))/0x4*(parseInt(_0x46e41f(0x112))/0x5)+parseInt(_0x46e41f(0x111))/0x6*(parseInt(_0x46e41f(0x117))/0x7)+-parseInt(_0x46e41f(0x110))/0x8*(parseInt(_0x46e41f(0x115))/0x9)+-parseInt(_0x46e41f(0x10f))/0xa*(parseInt(_0x46e41f(0x10e))/0xb);if(_0x1f81e2===_0x1c82b5)break;else _0x5e6f8f['push'](_0x5e6f8f['shift']());}catch(_0x23e5aa){_0x5e6f8f['push'](_0x5e6f8f['shift']());}}}(a257_0x2aa2,0xcafc7));export const isWindows=process['platform']===a257_0x4ba4eb(0x10d);export function resolveNpmBin(_0x204866){const _0x12e684=a257_0x4ba4eb;return isWindows?_0x204866+_0x12e684(0x113):_0x204866;}
@@ -1 +1 @@
1
- const a257_0x1bc657=a257_0x3948;(function(_0x284782,_0x53d945){const _0x405013=a257_0x3948,_0x3a0add=_0x284782();while(!![]){try{const _0x4a8aed=-parseInt(_0x405013(0x192))/0x1*(parseInt(_0x405013(0x18c))/0x2)+-parseInt(_0x405013(0x19a))/0x3+-parseInt(_0x405013(0x199))/0x4+parseInt(_0x405013(0x19d))/0x5*(parseInt(_0x405013(0x196))/0x6)+parseInt(_0x405013(0x1a1))/0x7*(-parseInt(_0x405013(0x18d))/0x8)+-parseInt(_0x405013(0x191))/0x9*(parseInt(_0x405013(0x19b))/0xa)+parseInt(_0x405013(0x193))/0xb;if(_0x4a8aed===_0x53d945)break;else _0x3a0add['push'](_0x3a0add['shift']());}catch(_0x4099d2){_0x3a0add['push'](_0x3a0add['shift']());}}}(a257_0x3c2c,0x493a0));import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';import{dirname,join,resolve}from'node:path';import{fileURLToPath}from'node:url';import{getTemplateBaseUrl}from'../utils/config.js';import{appendUpdateTime}from'../utils/guides-cdn.js';function a257_0x3948(_0x56ebd3,_0x3766cb){_0x56ebd3=_0x56ebd3-0x18b;const _0x3c2cea=a257_0x3c2c();let _0x39489f=_0x3c2cea[_0x56ebd3];return _0x39489f;}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function getRulesCdnUrl(){const _0x360e2f=getTemplateBaseUrl();return _0x360e2f+'/rules/rules.json';}const LOCAL_TEMPLATE_PATH=resolve(__dirname,a257_0x1bc657(0x198));export async function fetchRulesFromCDN(){const _0x398507=a257_0x1bc657,_0x516e14=getRulesCdnUrl(),_0x27cc32=await fetch(_0x516e14,{'headers':{'Accept':'application/json'}});if(!_0x27cc32['ok'])throw new Error(_0x398507(0x1a0)+_0x27cc32[_0x398507(0x18b)]+'\x20'+_0x27cc32[_0x398507(0x19f)]);const _0x244781=await _0x27cc32[_0x398507(0x194)]();if(!_0x244781[_0x398507(0x190)]||typeof _0x244781['content']!==_0x398507(0x18f))throw new Error(_0x398507(0x195));return _0x244781;}export async function getRulesContent(){const _0x89809c=a257_0x1bc657;try{const _0x251f80=await fetchRulesFromCDN();return _0x251f80[_0x89809c(0x190)];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x367392=a257_0x1bc657;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x367392(0x18e));throw new Error('本地模板文件不存在:\x20'+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x3959c4){const _0x4b5ce3=a257_0x1bc657,_0x3e6cb3=await fetchRulesFromCDN()['catch'](()=>null);let _0xa26720;_0x3e6cb3?(_0xa26720=_0x3e6cb3[_0x4b5ce3(0x190)],_0x3e6cb3['lastUpdated']&&(_0xa26720=appendUpdateTime(_0xa26720,_0x3e6cb3[_0x4b5ce3(0x19c)]))):_0xa26720=readLocalTemplate();const _0x4a7887=dirname(_0x3959c4);!existsSync(_0x4a7887)&&mkdirSync(_0x4a7887,{'recursive':!![]}),writeFileSync(_0x3959c4,_0xa26720,'utf-8');}function a257_0x3c2c(){const _0x3fa7aa=['status','94XzhLUr','7640tVGtXz','utf-8','string','content','1107ucAtIA','7382jaxOdN','15381201xrVZlt','json','CDN\x20返回数据格式错误','6xAYWWG','.cursor/rules','../../templates/rules/lovrabet_rules.mdc.tpl','1182744WKzmlU','466332egUHtM','45230fiyiBk','lastUpdated','1294615VvrIbt','agents.md','statusText','CDN\x20请求失败:\x20','21feVlmb'];a257_0x3c2c=function(){return _0x3fa7aa;};return a257_0x3c2c();}export async function copyRulesToCursor(_0x489efc){const _0x33c1b4=a257_0x1bc657,_0x320958=join(_0x489efc,_0x33c1b4(0x197)),_0x2698dd=join(_0x320958,'lovrabet_rules.mdc');if(existsSync(_0x2698dd))return![];return await writeRulesFile(_0x2698dd),!![];}export async function copyRulesToAgentsMd(_0x3cfd63){const _0x8066d2=a257_0x1bc657,_0x300d2b=join(_0x3cfd63,_0x8066d2(0x19e));if(existsSync(_0x300d2b))return![];return await writeRulesFile(_0x300d2b),!![];}
1
+ (function(_0x110ee3,_0x1fa753){const _0x465cc0=a258_0x54c4,_0x413086=_0x110ee3();while(!![]){try{const _0x1094cc=parseInt(_0x465cc0(0x1f2))/0x1*(-parseInt(_0x465cc0(0x1ef))/0x2)+-parseInt(_0x465cc0(0x1f7))/0x3+parseInt(_0x465cc0(0x1f9))/0x4*(parseInt(_0x465cc0(0x1fe))/0x5)+-parseInt(_0x465cc0(0x1f1))/0x6*(parseInt(_0x465cc0(0x1e9))/0x7)+-parseInt(_0x465cc0(0x1f6))/0x8*(-parseInt(_0x465cc0(0x1f0))/0x9)+parseInt(_0x465cc0(0x1fc))/0xa+parseInt(_0x465cc0(0x1ea))/0xb;if(_0x1094cc===_0x1fa753)break;else _0x413086['push'](_0x413086['shift']());}catch(_0x2eb091){_0x413086['push'](_0x413086['shift']());}}}(a258_0x465c,0xbba1a));import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';function a258_0x465c(){const _0x56790d=['17768AXnRoC','224874bEtibo','12JUeIcu','17YaPfbW','utf-8','status','content','232wLoBkX','1615113JErqDD','lovrabet_rules.mdc','12GgxwNb','.cursor/rules','lastUpdated','284170FLDgfb','statusText','1066255VxvNYC','catch','4863509uXqGdU','16002217NhSGyH','CDN\x20请求失败:\x20','json','agents.md','本地模板文件不存在:\x20'];a258_0x465c=function(){return _0x56790d;};return a258_0x465c();}import{dirname,join,resolve}from'node:path';import{fileURLToPath}from'node:url';import{getTemplateBaseUrl}from'../utils/config.js';import{appendUpdateTime}from'../utils/guides-cdn.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function getRulesCdnUrl(){const _0x20dbb2=getTemplateBaseUrl();return _0x20dbb2+'/rules/rules.json';}function a258_0x54c4(_0x4aa16d,_0x2729f0){_0x4aa16d=_0x4aa16d-0x1e8;const _0x465cbd=a258_0x465c();let _0x54c439=_0x465cbd[_0x4aa16d];return _0x54c439;}const LOCAL_TEMPLATE_PATH=resolve(__dirname,'../../templates/rules/lovrabet_rules.mdc.tpl');export async function fetchRulesFromCDN(){const _0x430919=a258_0x54c4,_0x347666=getRulesCdnUrl(),_0x481030=await fetch(_0x347666,{'headers':{'Accept':'application/json'}});if(!_0x481030['ok'])throw new Error(_0x430919(0x1eb)+_0x481030[_0x430919(0x1f4)]+'\x20'+_0x481030[_0x430919(0x1fd)]);const _0x18bf0f=await _0x481030[_0x430919(0x1ec)]();if(!_0x18bf0f[_0x430919(0x1f5)]||typeof _0x18bf0f['content']!=='string')throw new Error('CDN\x20返回数据格式错误');return _0x18bf0f;}export async function getRulesContent(){const _0x3b068a=a258_0x54c4;try{const _0x26633b=await fetchRulesFromCDN();return _0x26633b[_0x3b068a(0x1f5)];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x5a1532=a258_0x54c4;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x5a1532(0x1f3));throw new Error(_0x5a1532(0x1ee)+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x25fd81){const _0x2b3736=a258_0x54c4,_0x2b051a=await fetchRulesFromCDN()[_0x2b3736(0x1e8)](()=>null);let _0x17bf51;_0x2b051a?(_0x17bf51=_0x2b051a[_0x2b3736(0x1f5)],_0x2b051a[_0x2b3736(0x1fb)]&&(_0x17bf51=appendUpdateTime(_0x17bf51,_0x2b051a[_0x2b3736(0x1fb)]))):_0x17bf51=readLocalTemplate();const _0x305025=dirname(_0x25fd81);!existsSync(_0x305025)&&mkdirSync(_0x305025,{'recursive':!![]}),writeFileSync(_0x25fd81,_0x17bf51,_0x2b3736(0x1f3));}export async function copyRulesToCursor(_0x2e3aa4){const _0x110c96=a258_0x54c4,_0x1688eb=join(_0x2e3aa4,_0x110c96(0x1fa)),_0x76f700=join(_0x1688eb,_0x110c96(0x1f8));if(existsSync(_0x76f700))return![];return await writeRulesFile(_0x76f700),!![];}export async function copyRulesToAgentsMd(_0x4fa395){const _0xff289c=a258_0x54c4,_0x212618=join(_0x4fa395,_0xff289c(0x1ed));if(existsSync(_0x212618))return![];return await writeRulesFile(_0x212618),!![];}
@@ -1 +1 @@
1
- export function sleep(_0x536f22){return new Promise(_0x441ec3=>setTimeout(_0x441ec3,_0x536f22));}
1
+ export function sleep(_0x156e06){return new Promise(_0x3163ea=>setTimeout(_0x3163ea,_0x156e06));}
@@ -1 +1 @@
1
- const a259_0x45a8d4=a259_0x344e;(function(_0x5bf133,_0x4a97dd){const _0x46f798=a259_0x344e,_0x4d4e47=_0x5bf133();while(!![]){try{const _0x504ddf=-parseInt(_0x46f798(0x214))/0x1*(parseInt(_0x46f798(0x1f6))/0x2)+-parseInt(_0x46f798(0x1f1))/0x3*(parseInt(_0x46f798(0x206))/0x4)+parseInt(_0x46f798(0x225))/0x5*(-parseInt(_0x46f798(0x202))/0x6)+-parseInt(_0x46f798(0x20c))/0x7+-parseInt(_0x46f798(0x1e8))/0x8*(parseInt(_0x46f798(0x20b))/0x9)+-parseInt(_0x46f798(0x20e))/0xa*(parseInt(_0x46f798(0x1f9))/0xb)+-parseInt(_0x46f798(0x1f5))/0xc*(-parseInt(_0x46f798(0x223))/0xd);if(_0x504ddf===_0x4a97dd)break;else _0x4d4e47['push'](_0x4d4e47['shift']());}catch(_0x2d4754){_0x4d4e47['push'](_0x4d4e47['shift']());}}}(a259_0x620b,0xea0cf));import a259_0x3bce7d from'node:fs';import a259_0x43ed8f from'node:path';import{logger}from'../utils/logger.js';function a259_0x344e(_0x3a3577,_0x26917f){_0x3a3577=_0x3a3577-0x1e0;const _0x620bfc=a259_0x620b();let _0x344e19=_0x620bfc[_0x3a3577];return _0x344e19;}import{getCliVersion}from'../utils/version.js';function a259_0x620b(){const _0x1b5e5d=['datasetCode:\x20\x22','processFile','toDisplayTitle','info','pop','processTemplate','getMonth','开始处理模板内容替换','258IeFHrc','tableName:\x20\x22','name','toUpperCase','1058968wmQHqK','now','endsWith','replaceContent','toComponentName','7209FjbnzB','11980269FAkzhi','slice','20vUCjOm','map','.ts','.css','.json','formatLocalTimestamp','3nxmvPP','push','split','\x20},','LOVRABET','toLowerCase','模板内容替换失败','tableName','replaceApiContent','replace','template','readFile','getHours','utf8','getDate','13zHxaOW','success','142655IHSkAF','promises','getMinutes','toISOString','isDirectory','api','mkdir','\x0a\x20\x20\x20\x20{\x20','alias','padStart','.tpl','.scss','pad','11488adStyO','.jsx','模板内容替换完成','name:\x20\x22','join','datasetCode','charAt','default','YourModel','15UxhrfC','extname','includes','getSeconds','103624044pNqhfg','814288ceqcqb','copyFile','processDirectory','5736434IaOPQU'];a259_0x620b=function(){return _0x1b5e5d;};return a259_0x620b();}const CLI_VERSION=getCliVersion();export class TemplateReplacer{static['pad'](_0x4e1ba9){const _0xb53bd5=a259_0x344e;return String(_0x4e1ba9)[_0xb53bd5(0x1e4)](0x2,'0');}static[a259_0x45a8d4(0x213)](_0x20e2dd){const _0x56a8d7=a259_0x45a8d4,_0x2aeb3f=_0x20e2dd['getFullYear'](),_0x11064f=this[_0x56a8d7(0x1e7)](_0x20e2dd[_0x56a8d7(0x200)]()+0x1),_0x519e25=this[_0x56a8d7(0x1e7)](_0x20e2dd[_0x56a8d7(0x222)]()),_0x48604d=this[_0x56a8d7(0x1e7)](_0x20e2dd[_0x56a8d7(0x220)]()),_0x317610=this[_0x56a8d7(0x1e7)](_0x20e2dd[_0x56a8d7(0x227)]()),_0x8db060=this[_0x56a8d7(0x1e7)](_0x20e2dd[_0x56a8d7(0x1f4)]());return{'createdAt':_0x2aeb3f+'-'+_0x11064f+'-'+_0x519e25+'\x20'+_0x48604d+':'+_0x317610+':'+_0x8db060,'createdDate':_0x2aeb3f+'-'+_0x11064f+'-'+_0x519e25,'createdTime':_0x48604d+':'+_0x317610+':'+_0x8db060};}static[a259_0x45a8d4(0x20a)](_0x95be5){const _0x148f90=a259_0x45a8d4,_0x277b4e=_0x95be5['split']('/')['pop']()||_0x95be5;return _0x277b4e[_0x148f90(0x216)]('-')[_0x148f90(0x20f)](_0xe0c090=>_0xe0c090[_0x148f90(0x1ee)](0x0)['toUpperCase']()+_0xe0c090[_0x148f90(0x20d)](0x1)['toLowerCase']())['join']('');}static['toDisplayTitle'](_0x10dad0){const _0x4be642=a259_0x45a8d4,_0x4ce7db=_0x10dad0[_0x4be642(0x216)]('/')[_0x4be642(0x1fe)]()||_0x10dad0;return _0x4ce7db[_0x4be642(0x216)]('-')[_0x4be642(0x20f)](_0x52b5d1=>_0x52b5d1[_0x4be642(0x1ee)](0x0)[_0x4be642(0x205)]()+_0x52b5d1['slice'](0x1)[_0x4be642(0x219)]())['join']('\x20');}static[a259_0x45a8d4(0x209)](_0x4d1786,_0x30d7f5,_0x28b851){const _0x15009f=a259_0x45a8d4,_0x26c96e=this[_0x15009f(0x20a)](_0x30d7f5),_0x4cf9ce=this[_0x15009f(0x1fc)](_0x30d7f5),{createdAt:_0x3de2ae,createdDate:_0x5b5a59,createdTime:_0x2dcf4e}=this[_0x15009f(0x213)](new Date());let _0xce6f73=_0x4d1786['replace'](/\{CliVersion\}/g,CLI_VERSION)[_0x15009f(0x21d)](/\{ComponentName\}/g,_0x26c96e)[_0x15009f(0x21d)](/\{DisplayTitle\}/g,_0x4cf9ce)[_0x15009f(0x21d)](/\{PageName\}/g,_0x30d7f5)['replace'](/\{TemplateName\}/g,_0x28b851)[_0x15009f(0x21d)](/\{CreatedAt\}/g,_0x3de2ae)[_0x15009f(0x21d)](/\{CreatedDate\}/g,_0x5b5a59)[_0x15009f(0x21d)](/\{CreatedTime\}/g,_0x2dcf4e);return _0xce6f73;}static[a259_0x45a8d4(0x21c)](_0x4befce,_0x3fe7e5,_0x13f172,_0x5de89d,_0x1d1f84,_0x294b4a,_0x1cdfdd,_0xfe1553){const _0x140d9b=a259_0x45a8d4,_0x53f878=new Date(),_0x5c620e=_0x53f878[_0x140d9b(0x228)](),_0x583627=_0x13f172[_0x140d9b(0x20f)](_0x69f4b6=>{const _0x587218=_0x140d9b,_0x27cac0=[_0x587218(0x1fa)+_0x69f4b6[_0x587218(0x1ed)]+'\x22',_0x587218(0x203)+_0x69f4b6[_0x587218(0x21b)]+'\x22',_0x587218(0x1eb)+_0x69f4b6['name']+'\x22'];return _0x69f4b6[_0x587218(0x1e3)]&&_0x27cac0[_0x587218(0x215)]('alias:\x20\x22'+_0x69f4b6['alias']+'\x22'),_0x587218(0x1e2)+_0x27cac0[_0x587218(0x1ec)](',\x20')+_0x587218(0x217);})[_0x140d9b(0x1ec)](''),_0x9a472a=_0x5de89d||_0x13f172[0x0]?.['alias']||_0x140d9b(0x1f0);let _0x5f2e37=_0x4befce[_0x140d9b(0x21d)](/\{AppCode\}/g,_0x3fe7e5)[_0x140d9b(0x21d)](/\{ModelConfigs\}/g,_0x583627)[_0x140d9b(0x21d)](/\{ExampleModelName\}/g,_0x9a472a)[_0x140d9b(0x21d)](/\{ApiFileName\}/g,_0x1d1f84||_0x140d9b(0x1e0))[_0x140d9b(0x21d)](/\{ConfigName\}/g,_0x294b4a||_0x140d9b(0x1ef))[_0x140d9b(0x21d)](/\{ClientConfigParam\}/g,_0x1cdfdd||'')[_0x140d9b(0x21d)](/\{VarPrefix\}/g,_0xfe1553||_0x140d9b(0x218))[_0x140d9b(0x21d)](/\{CreatedAt\}/g,_0x5c620e);return _0x5f2e37;}static async[a259_0x45a8d4(0x1ff)](_0x481dd5,_0xb3629c,_0x4c237a,_0x517ca8,_0x45f931=!![]){const _0x553470=a259_0x45a8d4,_0x6ec2a2=Date[_0x553470(0x207)]();try{_0x45f931&&logger[_0x553470(0x1fd)](_0x553470(0x21e),_0x553470(0x201),{'templatePath':_0x481dd5,'targetPath':_0xb3629c,'pageName':_0x4c237a,'templateName':_0x517ca8});await a259_0x3bce7d[_0x553470(0x226)][_0x553470(0x1e1)](_0xb3629c,{'recursive':!![]}),await this[_0x553470(0x1f8)](_0x481dd5,_0xb3629c,_0x4c237a,_0x517ca8);if(_0x45f931){const _0x5eb057=Date[_0x553470(0x207)]()-_0x6ec2a2;logger[_0x553470(0x224)]('template',_0x553470(0x1ea),_0x5eb057,{'pageName':_0x4c237a,'templateName':_0x517ca8});}}catch(_0x3eebe7){if(_0x45f931){const _0x6000e8=Date[_0x553470(0x207)]()-_0x6ec2a2;logger['error'](_0x553470(0x21e),_0x553470(0x21a),{'templatePath':_0x481dd5,'targetPath':_0xb3629c,'pageName':_0x4c237a,'templateName':_0x517ca8,'error':_0x3eebe7 instanceof Error?_0x3eebe7['message']:String(_0x3eebe7),'duration':_0x6000e8});}throw _0x3eebe7;}}static async['processDirectory'](_0x4d194c,_0x5f09e9,_0x4aff53,_0x5aae8a){const _0xfaf97=a259_0x45a8d4,_0x57d825=await a259_0x3bce7d['promises']['readdir'](_0x4d194c,{'withFileTypes':!![]});for(const _0x3347e5 of _0x57d825){const _0x217680=a259_0x43ed8f[_0xfaf97(0x1ec)](_0x4d194c,_0x3347e5['name']);let _0x5960af=a259_0x43ed8f['join'](_0x5f09e9,_0x3347e5[_0xfaf97(0x204)]);_0x3347e5[_0xfaf97(0x204)]['endsWith'](_0xfaf97(0x1e5))&&(_0x5960af=a259_0x43ed8f[_0xfaf97(0x1ec)](_0x5f09e9,_0x3347e5['name'][_0xfaf97(0x21d)](/\.tpl$/,'')));if(_0x3347e5[_0xfaf97(0x229)]())await a259_0x3bce7d[_0xfaf97(0x226)][_0xfaf97(0x1e1)](_0x5960af,{'recursive':!![]}),await this[_0xfaf97(0x1f8)](_0x217680,_0x5960af,_0x4aff53,_0x5aae8a);else _0x3347e5['isFile']()&&await this[_0xfaf97(0x1fb)](_0x217680,_0x5960af,_0x4aff53,_0x5aae8a);}}static async['processFile'](_0x583efc,_0x35a2db,_0x2fff6e,_0x58319c){const _0x4f6d41=a259_0x45a8d4,_0xdadcdb=a259_0x43ed8f[_0x4f6d41(0x1f2)](_0x583efc)[_0x4f6d41(0x219)]();_0x583efc[_0x4f6d41(0x208)](_0x4f6d41(0x1e5))&&(_0x35a2db=_0x35a2db[_0x4f6d41(0x21d)](/\.tpl$/,''));const _0xc0cdd5=['.tsx',_0x4f6d41(0x210),_0x4f6d41(0x1e9),'.js',_0x4f6d41(0x212),'.md',_0x4f6d41(0x211),_0x4f6d41(0x1e6),'.tpl'];if(_0xc0cdd5[_0x4f6d41(0x1f3)](_0xdadcdb)||_0x583efc[_0x4f6d41(0x208)](_0x4f6d41(0x1e5))){const _0x51122b=await a259_0x3bce7d[_0x4f6d41(0x226)][_0x4f6d41(0x21f)](_0x583efc,_0x4f6d41(0x221)),_0x1f2d77=this[_0x4f6d41(0x209)](_0x51122b,_0x2fff6e,_0x58319c);await a259_0x3bce7d['promises']['writeFile'](_0x35a2db,_0x1f2d77,'utf8');}else await a259_0x3bce7d['promises'][_0x4f6d41(0x1f7)](_0x583efc,_0x35a2db);}}
1
+ const a260_0x11c1e1=a260_0x2711;(function(_0x36bdf2,_0x321535){const _0x370da3=a260_0x2711,_0x51316e=_0x36bdf2();while(!![]){try{const _0x4c1d77=-parseInt(_0x370da3(0x14c))/0x1+parseInt(_0x370da3(0x129))/0x2+parseInt(_0x370da3(0x124))/0x3*(-parseInt(_0x370da3(0x12e))/0x4)+parseInt(_0x370da3(0x138))/0x5+-parseInt(_0x370da3(0x11b))/0x6+-parseInt(_0x370da3(0x14a))/0x7+parseInt(_0x370da3(0x120))/0x8;if(_0x4c1d77===_0x321535)break;else _0x51316e['push'](_0x51316e['shift']());}catch(_0x284044){_0x51316e['push'](_0x51316e['shift']());}}}(a260_0x1345,0x96198));import a260_0x5d74f1 from'node:fs';import a260_0x40f2f9 from'node:path';import{logger}from'../utils/logger.js';function a260_0x2711(_0x5a68a1,_0x18b6b7){_0x5a68a1=_0x5a68a1-0x109;const _0x1345d4=a260_0x1345();let _0x271183=_0x1345d4[_0x5a68a1];return _0x271183;}import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a260_0x11c1e1(0x128)](_0x10c11d){const _0x505465=a260_0x11c1e1;return String(_0x10c11d)[_0x505465(0x14d)](0x2,'0');}static[a260_0x11c1e1(0x11a)](_0x178ea7){const _0x5e3cfe=a260_0x11c1e1,_0x1e0ea6=_0x178ea7[_0x5e3cfe(0x145)](),_0x5d0d64=this[_0x5e3cfe(0x128)](_0x178ea7[_0x5e3cfe(0x13f)]()+0x1),_0xca2020=this['pad'](_0x178ea7['getDate']()),_0x4d3a68=this[_0x5e3cfe(0x128)](_0x178ea7[_0x5e3cfe(0x121)]()),_0x3e1ab8=this[_0x5e3cfe(0x128)](_0x178ea7[_0x5e3cfe(0x13e)]()),_0x3b4d84=this[_0x5e3cfe(0x128)](_0x178ea7[_0x5e3cfe(0x12b)]());return{'createdAt':_0x1e0ea6+'-'+_0x5d0d64+'-'+_0xca2020+'\x20'+_0x4d3a68+':'+_0x3e1ab8+':'+_0x3b4d84,'createdDate':_0x1e0ea6+'-'+_0x5d0d64+'-'+_0xca2020,'createdTime':_0x4d3a68+':'+_0x3e1ab8+':'+_0x3b4d84};}static[a260_0x11c1e1(0x111)](_0xffc396){const _0x5907a5=a260_0x11c1e1,_0x3d2b44=_0xffc396['split']('/')['pop']()||_0xffc396;return _0x3d2b44[_0x5907a5(0x134)]('-')[_0x5907a5(0x112)](_0x104d92=>_0x104d92[_0x5907a5(0x10d)](0x0)[_0x5907a5(0x12d)]()+_0x104d92['slice'](0x1)[_0x5907a5(0x10e)]())[_0x5907a5(0x13b)]('');}static['toDisplayTitle'](_0x3e3afe){const _0x30169b=a260_0x11c1e1,_0x1e60a3=_0x3e3afe['split']('/')['pop']()||_0x3e3afe;return _0x1e60a3[_0x30169b(0x134)]('-')[_0x30169b(0x112)](_0x4c5bbf=>_0x4c5bbf[_0x30169b(0x10d)](0x0)['toUpperCase']()+_0x4c5bbf['slice'](0x1)['toLowerCase']())[_0x30169b(0x13b)]('\x20');}static[a260_0x11c1e1(0x13a)](_0x23a149,_0x52d773,_0x2903cd){const _0xb07415=a260_0x11c1e1,_0x15825c=this[_0xb07415(0x111)](_0x52d773),_0x43ac54=this[_0xb07415(0x116)](_0x52d773),{createdAt:_0x10696f,createdDate:_0x2f07a0,createdTime:_0x5989b3}=this[_0xb07415(0x11a)](new Date());let _0x50680e=_0x23a149['replace'](/\{CliVersion\}/g,CLI_VERSION)[_0xb07415(0x133)](/\{ComponentName\}/g,_0x15825c)[_0xb07415(0x133)](/\{DisplayTitle\}/g,_0x43ac54)[_0xb07415(0x133)](/\{PageName\}/g,_0x52d773)[_0xb07415(0x133)](/\{TemplateName\}/g,_0x2903cd)[_0xb07415(0x133)](/\{CreatedAt\}/g,_0x10696f)[_0xb07415(0x133)](/\{CreatedDate\}/g,_0x2f07a0)[_0xb07415(0x133)](/\{CreatedTime\}/g,_0x5989b3);return _0x50680e;}static['replaceApiContent'](_0xd7ea97,_0x5eca32,_0x2e8045,_0x7ce85a,_0x5d9e1e,_0x2b7a1e,_0x56cf8c,_0x137685){const _0x509a41=a260_0x11c1e1,_0x39b126=new Date(),_0x4c2fa0=_0x39b126[_0x509a41(0x147)](),_0x8bede2=_0x2e8045['map'](_0xbcb401=>{const _0x71f4e4=_0x509a41,_0x5c5f02=[_0x71f4e4(0x148)+_0xbcb401[_0x71f4e4(0x130)]+'\x22','tableName:\x20\x22'+_0xbcb401[_0x71f4e4(0x140)]+'\x22',_0x71f4e4(0x119)+_0xbcb401[_0x71f4e4(0x11c)]+'\x22'];return _0xbcb401[_0x71f4e4(0x126)]&&_0x5c5f02[_0x71f4e4(0x11e)](_0x71f4e4(0x135)+_0xbcb401['alias']+'\x22'),_0x71f4e4(0x110)+_0x5c5f02['join'](',\x20')+_0x71f4e4(0x10f);})[_0x509a41(0x13b)](''),_0x544d37=_0x7ce85a||_0x2e8045[0x0]?.[_0x509a41(0x126)]||_0x509a41(0x149);let _0x52a2a3=_0xd7ea97[_0x509a41(0x133)](/\{AppCode\}/g,_0x5eca32)[_0x509a41(0x133)](/\{ModelConfigs\}/g,_0x8bede2)['replace'](/\{ExampleModelName\}/g,_0x544d37)[_0x509a41(0x133)](/\{ApiFileName\}/g,_0x5d9e1e||_0x509a41(0x117))[_0x509a41(0x133)](/\{ConfigName\}/g,_0x2b7a1e||'default')[_0x509a41(0x133)](/\{ClientConfigParam\}/g,_0x56cf8c||'')[_0x509a41(0x133)](/\{VarPrefix\}/g,_0x137685||_0x509a41(0x13d))[_0x509a41(0x133)](/\{CreatedAt\}/g,_0x4c2fa0);return _0x52a2a3;}static async[a260_0x11c1e1(0x136)](_0x74eba,_0x1aeae5,_0x4138b8,_0x6624f9,_0x404415=!![]){const _0x109ca1=a260_0x11c1e1,_0x4ff53a=Date[_0x109ca1(0x131)]();try{_0x404415&&logger[_0x109ca1(0x123)]('template',_0x109ca1(0x11d),{'templatePath':_0x74eba,'targetPath':_0x1aeae5,'pageName':_0x4138b8,'templateName':_0x6624f9});await a260_0x5d74f1['promises'][_0x109ca1(0x10b)](_0x1aeae5,{'recursive':!![]}),await this[_0x109ca1(0x114)](_0x74eba,_0x1aeae5,_0x4138b8,_0x6624f9);if(_0x404415){const _0x569dee=Date['now']()-_0x4ff53a;logger[_0x109ca1(0x12c)](_0x109ca1(0x14b),_0x109ca1(0x109),_0x569dee,{'pageName':_0x4138b8,'templateName':_0x6624f9});}}catch(_0x8cc227){if(_0x404415){const _0x5f3b46=Date[_0x109ca1(0x131)]()-_0x4ff53a;logger[_0x109ca1(0x127)]('template',_0x109ca1(0x113),{'templatePath':_0x74eba,'targetPath':_0x1aeae5,'pageName':_0x4138b8,'templateName':_0x6624f9,'error':_0x8cc227 instanceof Error?_0x8cc227[_0x109ca1(0x118)]:String(_0x8cc227),'duration':_0x5f3b46});}throw _0x8cc227;}}static async[a260_0x11c1e1(0x114)](_0x3857e4,_0x30d6fb,_0x53c28f,_0x540545){const _0x24d9a5=a260_0x11c1e1,_0xb43528=await a260_0x5d74f1[_0x24d9a5(0x132)][_0x24d9a5(0x12f)](_0x3857e4,{'withFileTypes':!![]});for(const _0x5e3a13 of _0xb43528){const _0x374759=a260_0x40f2f9['join'](_0x3857e4,_0x5e3a13[_0x24d9a5(0x11c)]);let _0xd5fe10=a260_0x40f2f9[_0x24d9a5(0x13b)](_0x30d6fb,_0x5e3a13[_0x24d9a5(0x11c)]);_0x5e3a13[_0x24d9a5(0x11c)][_0x24d9a5(0x11f)]('.tpl')&&(_0xd5fe10=a260_0x40f2f9[_0x24d9a5(0x13b)](_0x30d6fb,_0x5e3a13[_0x24d9a5(0x11c)][_0x24d9a5(0x133)](/\.tpl$/,'')));if(_0x5e3a13[_0x24d9a5(0x10c)]())await a260_0x5d74f1['promises'][_0x24d9a5(0x10b)](_0xd5fe10,{'recursive':!![]}),await this['processDirectory'](_0x374759,_0xd5fe10,_0x53c28f,_0x540545);else _0x5e3a13['isFile']()&&await this['processFile'](_0x374759,_0xd5fe10,_0x53c28f,_0x540545);}}static async['processFile'](_0x28ef09,_0x5becc1,_0x4c334,_0x31f24c){const _0x5b0927=a260_0x11c1e1,_0x384fc4=a260_0x40f2f9[_0x5b0927(0x142)](_0x28ef09)['toLowerCase']();_0x28ef09[_0x5b0927(0x11f)](_0x5b0927(0x143))&&(_0x5becc1=_0x5becc1[_0x5b0927(0x133)](/\.tpl$/,''));const _0x1cc4e8=['.tsx','.ts',_0x5b0927(0x12a),_0x5b0927(0x13c),_0x5b0927(0x144),_0x5b0927(0x10a),_0x5b0927(0x122),_0x5b0927(0x146),_0x5b0927(0x143)];if(_0x1cc4e8[_0x5b0927(0x115)](_0x384fc4)||_0x28ef09[_0x5b0927(0x11f)](_0x5b0927(0x143))){const _0x27da20=await a260_0x5d74f1[_0x5b0927(0x132)][_0x5b0927(0x139)](_0x28ef09,_0x5b0927(0x125)),_0x4f9e9b=this[_0x5b0927(0x13a)](_0x27da20,_0x4c334,_0x31f24c);await a260_0x5d74f1[_0x5b0927(0x132)][_0x5b0927(0x141)](_0x5becc1,_0x4f9e9b,_0x5b0927(0x125));}else await a260_0x5d74f1[_0x5b0927(0x132)][_0x5b0927(0x137)](_0x28ef09,_0x5becc1);}}function a260_0x1345(){const _0x23bb81=['utf8','alias','error','pad','1770756iQJCJi','.jsx','getSeconds','success','toUpperCase','114572jKyzVd','readdir','datasetCode','now','promises','replace','split','alias:\x20\x22','processTemplate','copyFile','5678275ZJaOUe','readFile','replaceContent','join','.js','LOVRABET','getMinutes','getMonth','tableName','writeFile','extname','.tpl','.json','getFullYear','.scss','toISOString','datasetCode:\x20\x22','YourModel','5108663kiecdi','template','908475MSuOzg','padStart','模板内容替换完成','.md','mkdir','isDirectory','charAt','toLowerCase','\x20},','\x0a\x20\x20\x20\x20{\x20','toComponentName','map','模板内容替换失败','processDirectory','includes','toDisplayTitle','api','message','name:\x20\x22','formatLocalTimestamp','6264294tujKrB','name','开始处理模板内容替换','push','endsWith','11354584TRzZuJ','getHours','.css','info','15XVQyXn'];a260_0x1345=function(){return _0x23bb81;};return a260_0x1345();}
@@ -1 +1 @@
1
- (function(_0x6b8c78,_0x345898){const _0x29ec46=a260_0x4c87,_0x3392b0=_0x6b8c78();while(!![]){try{const _0x290fb7=-parseInt(_0x29ec46(0x150))/0x1*(parseInt(_0x29ec46(0x160))/0x2)+-parseInt(_0x29ec46(0x15f))/0x3*(-parseInt(_0x29ec46(0x165))/0x4)+parseInt(_0x29ec46(0x167))/0x5+-parseInt(_0x29ec46(0x154))/0x6*(-parseInt(_0x29ec46(0x15b))/0x7)+-parseInt(_0x29ec46(0x14e))/0x8*(-parseInt(_0x29ec46(0x151))/0x9)+parseInt(_0x29ec46(0x153))/0xa+parseInt(_0x29ec46(0x14b))/0xb*(-parseInt(_0x29ec46(0x15d))/0xc);if(_0x290fb7===_0x345898)break;else _0x3392b0['push'](_0x3392b0['shift']());}catch(_0x263117){_0x3392b0['push'](_0x3392b0['shift']());}}}(a260_0x4949,0x922d2));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a260_0x406ac0 from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x51470d=a260_0x4c87,_0x40d1da=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x51470d(0x152)]()[_0x51470d(0x161)]();return _0x40d1da==='1'||_0x40d1da===_0x51470d(0x14d)||_0x40d1da===_0x51470d(0x156);}function cacheRoot(){const _0x38d9bd=a260_0x4c87;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x38d9bd(0x157));}export function getUpdateNoticeCachePath(){const _0x2aed3e=a260_0x4c87;return join(cacheRoot(),_0x2aed3e(0x163),_0x2aed3e(0x162));}async function readUpdateNoticeCache(){const _0x2faca7=a260_0x4c87;try{const _0x475882=await readFile(getUpdateNoticeCachePath(),_0x2faca7(0x159)),_0x10b5b5=JSON[_0x2faca7(0x14f)](_0x475882);if(!_0x10b5b5||typeof _0x10b5b5!=='object')return{};return _0x10b5b5;}catch{return{};}}async function writeUpdateNoticeCache(_0x599431){const _0x1c207d=a260_0x4c87;try{const _0x375126=getUpdateNoticeCachePath();await mkdir(dirname(_0x375126),{'recursive':!![]}),await writeFile(_0x375126,JSON[_0x1c207d(0x166)](_0x599431,null,0x2)+'\x0a',_0x1c207d(0x159));}catch{}}function isFreshCheck(_0x1dd400,_0x57361c){const _0x540c45=a260_0x4c87;return typeof _0x1dd400['checkedAt']===_0x540c45(0x158)&&_0x57361c-_0x1dd400[_0x540c45(0x155)]<UPDATE_CHECK_TTL_MS;}function a260_0x4c87(_0x211fad,_0x5e350f){_0x211fad=_0x211fad-0x14b;const _0x4949e2=a260_0x4949();let _0x4c8779=_0x4949e2[_0x211fad];return _0x4c8779;}function isRecentlyNotified(_0x5a098e,_0x1b82c2,_0x15d639){const _0x1f3e58=a260_0x4c87;return _0x5a098e['lastNotifiedVersion']===_0x1b82c2&&typeof _0x5a098e['lastNotifiedAt']===_0x1f3e58(0x158)&&_0x15d639-_0x5a098e[_0x1f3e58(0x14c)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0xc38fb6){const _0x303d2c=a260_0x4c87;return'https://www.npmjs.com/package/'+NPM_PACKAGE_NAME+_0x303d2c(0x15e)+_0xc38fb6;}function a260_0x4949(){const _0x1a5cbe=['gte','7pdeGdT','valid','12ccpTPL','/v/','1543083HIaRiZ','373300xZjIta','toLowerCase','update-check.json','rabetbase-cli','stableVersion','8VxvvKl','stringify','2237230YnUjRB','37367011SOkFGK','lastNotifiedAt','true','232BzEGSt','parse','1npeZEo','166104BwYCrX','trim','10045650SXfwAb','6998592VrWcby','checkedAt','yes','.cache','number','utf8'];a260_0x4949=function(){return _0x1a5cbe;};return a260_0x4949();}export async function resolveLatestUpdateNotice(){const _0x377fb5=a260_0x4c87;if(isUpdateNoticeDisabled())return null;try{const _0x1102cb=Date['now'](),_0x1e3496=getCliVersion(),_0x4e0448=await readUpdateNoticeCache();let _0x33189b=isFreshCheck(_0x4e0448,_0x1102cb)?_0x4e0448['latest']?.[_0x377fb5(0x152)]():undefined;if(!_0x33189b&&!isFreshCheck(_0x4e0448,_0x1102cb)){const _0x39e46a=await getCliVersionPolicy();_0x33189b=_0x39e46a?.[_0x377fb5(0x164)]?.[_0x377fb5(0x152)]()||undefined,await writeUpdateNoticeCache({..._0x4e0448,'checkedAt':_0x1102cb,'latest':_0x33189b,'failed':!_0x33189b});}if(!_0x33189b||!a260_0x406ac0[_0x377fb5(0x15c)](_0x1e3496)||!a260_0x406ac0[_0x377fb5(0x15c)](_0x33189b))return null;if(a260_0x406ac0[_0x377fb5(0x15a)](_0x1e3496,_0x33189b))return null;if(isRecentlyNotified(_0x4e0448,_0x33189b,_0x1102cb))return null;const _0x441375=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x4e0448,'checkedAt':isFreshCheck(_0x4e0448,_0x1102cb)?_0x4e0448[_0x377fb5(0x155)]:_0x1102cb,'latest':_0x33189b,'failed':![],'lastNotifiedVersion':_0x33189b,'lastNotifiedAt':_0x1102cb}),{'command':_0x441375,'current':_0x1e3496,'latest':_0x33189b,'url':buildNpmVersionUrl(_0x33189b),'message':CLI_BIN_NAME+'\x20'+_0x33189b+'\x20available,\x20current\x20'+_0x1e3496+',\x20run:\x20'+_0x441375};}catch{return null;}}
1
+ (function(_0x349d49,_0x4e16d9){const _0x577e50=a261_0x225d,_0x1e24d8=_0x349d49();while(!![]){try{const _0x36f5ce=parseInt(_0x577e50(0x180))/0x1*(-parseInt(_0x577e50(0x18c))/0x2)+-parseInt(_0x577e50(0x175))/0x3+-parseInt(_0x577e50(0x17a))/0x4+-parseInt(_0x577e50(0x179))/0x5+-parseInt(_0x577e50(0x18a))/0x6*(parseInt(_0x577e50(0x184))/0x7)+parseInt(_0x577e50(0x172))/0x8+parseInt(_0x577e50(0x173))/0x9;if(_0x36f5ce===_0x4e16d9)break;else _0x1e24d8['push'](_0x1e24d8['shift']());}catch(_0x3b6be7){_0x1e24d8['push'](_0x1e24d8['shift']());}}}(a261_0x420e,0x7611b));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a261_0xa6a9f3 from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x3babeb=a261_0x225d,_0x143f8a=process.env.RABETBASE_NO_UPDATE_NOTICE?.['trim']()[_0x3babeb(0x181)]();return _0x143f8a==='1'||_0x143f8a===_0x3babeb(0x171)||_0x143f8a==='yes';}function cacheRoot(){const _0x348f0e=a261_0x225d;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x348f0e(0x174));}export function getUpdateNoticeCachePath(){const _0x451180=a261_0x225d;return join(cacheRoot(),_0x451180(0x188),'update-check.json');}async function readUpdateNoticeCache(){const _0x47168b=a261_0x225d;try{const _0x357ffd=await readFile(getUpdateNoticeCachePath(),_0x47168b(0x18b)),_0x34e01d=JSON['parse'](_0x357ffd);if(!_0x34e01d||typeof _0x34e01d!==_0x47168b(0x178))return{};return _0x34e01d;}catch{return{};}}async function writeUpdateNoticeCache(_0x4fa4b8){const _0x2c6e45=a261_0x225d;try{const _0x59b71f=getUpdateNoticeCachePath();await mkdir(dirname(_0x59b71f),{'recursive':!![]}),await writeFile(_0x59b71f,JSON[_0x2c6e45(0x182)](_0x4fa4b8,null,0x2)+'\x0a',_0x2c6e45(0x18b));}catch{}}function isFreshCheck(_0xd2bc3d,_0xa9c94){const _0x2fd01b=a261_0x225d;return typeof _0xd2bc3d[_0x2fd01b(0x170)]==='number'&&_0xa9c94-_0xd2bc3d[_0x2fd01b(0x170)]<UPDATE_CHECK_TTL_MS;}function a261_0x420e(){const _0x320485=['3633870OddnoI','1523196OwZXuk','valid',',\x20run:\x20','/v/','lastNotifiedAt','gte','2BimkRv','toLowerCase','stringify','https://www.npmjs.com/package/','49DwaOli','latest','\x20update','number','rabetbase-cli','lastNotifiedVersion','1698rLVdVs','utf8','199894GBQgjl','checkedAt','true','622456kVsRQY','16239348lcFhgT','.cache','267360lSpLKu','stableVersion','\x20available,\x20current\x20','object'];a261_0x420e=function(){return _0x320485;};return a261_0x420e();}function isRecentlyNotified(_0x35a7cd,_0x39b535,_0x313b9e){const _0x51969e=a261_0x225d;return _0x35a7cd[_0x51969e(0x189)]===_0x39b535&&typeof _0x35a7cd[_0x51969e(0x17e)]===_0x51969e(0x187)&&_0x313b9e-_0x35a7cd[_0x51969e(0x17e)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x19aaa7){const _0x2f058b=a261_0x225d;return _0x2f058b(0x183)+NPM_PACKAGE_NAME+_0x2f058b(0x17d)+_0x19aaa7;}function a261_0x225d(_0x22287d,_0x5a8839){_0x22287d=_0x22287d-0x170;const _0x420ef4=a261_0x420e();let _0x225d0e=_0x420ef4[_0x22287d];return _0x225d0e;}export async function resolveLatestUpdateNotice(){const _0x37f9e1=a261_0x225d;if(isUpdateNoticeDisabled())return null;try{const _0x580ab7=Date['now'](),_0x2cb2f3=getCliVersion(),_0x88e35d=await readUpdateNoticeCache();let _0x25cc4f=isFreshCheck(_0x88e35d,_0x580ab7)?_0x88e35d[_0x37f9e1(0x185)]?.['trim']():undefined;if(!_0x25cc4f&&!isFreshCheck(_0x88e35d,_0x580ab7)){const _0x4ae482=await getCliVersionPolicy();_0x25cc4f=_0x4ae482?.[_0x37f9e1(0x176)]?.['trim']()||undefined,await writeUpdateNoticeCache({..._0x88e35d,'checkedAt':_0x580ab7,'latest':_0x25cc4f,'failed':!_0x25cc4f});}if(!_0x25cc4f||!a261_0xa6a9f3[_0x37f9e1(0x17b)](_0x2cb2f3)||!a261_0xa6a9f3[_0x37f9e1(0x17b)](_0x25cc4f))return null;if(a261_0xa6a9f3[_0x37f9e1(0x17f)](_0x2cb2f3,_0x25cc4f))return null;if(isRecentlyNotified(_0x88e35d,_0x25cc4f,_0x580ab7))return null;const _0x213812=CLI_BIN_NAME+_0x37f9e1(0x186);return await writeUpdateNoticeCache({..._0x88e35d,'checkedAt':isFreshCheck(_0x88e35d,_0x580ab7)?_0x88e35d[_0x37f9e1(0x170)]:_0x580ab7,'latest':_0x25cc4f,'failed':![],'lastNotifiedVersion':_0x25cc4f,'lastNotifiedAt':_0x580ab7}),{'command':_0x213812,'current':_0x2cb2f3,'latest':_0x25cc4f,'url':buildNpmVersionUrl(_0x25cc4f),'message':CLI_BIN_NAME+'\x20'+_0x25cc4f+_0x37f9e1(0x177)+_0x2cb2f3+_0x37f9e1(0x17c)+_0x213812};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x27141b,_0x2bd608){var _0x5ce910=a261_0xc32f,_0x6a7c23=_0x27141b();while(!![]){try{var _0x1049d0=-parseInt(_0x5ce910(0x1a8))/0x1*(-parseInt(_0x5ce910(0x1af))/0x2)+parseInt(_0x5ce910(0x1a6))/0x3*(-parseInt(_0x5ce910(0x1ab))/0x4)+parseInt(_0x5ce910(0x1ae))/0x5+-parseInt(_0x5ce910(0x1a5))/0x6+parseInt(_0x5ce910(0x1ad))/0x7*(-parseInt(_0x5ce910(0x1ac))/0x8)+-parseInt(_0x5ce910(0x1b0))/0x9*(parseInt(_0x5ce910(0x1aa))/0xa)+parseInt(_0x5ce910(0x1a7))/0xb*(parseInt(_0x5ce910(0x1a9))/0xc);if(_0x1049d0===_0x2bd608)break;else _0x6a7c23['push'](_0x6a7c23['shift']());}catch(_0x4485c0){_0x6a7c23['push'](_0x6a7c23['shift']());}}}(a261_0x2276,0x27eb7));function a261_0xc32f(_0x408742,_0x84bcd4){_0x408742=_0x408742-0x1a5;var _0x2276b4=a261_0x2276();var _0xc32fdb=_0x2276b4[_0x408742];return _0xc32fdb;}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a261_0x2276(){var _0xc59775=['18vNiUmN','381852DRCLzV','45987iJWMvw','746130JpnOiT','1glevot','12lySbzw','153860tmUVYU','8QxMzSq','1046840IkAJnc','14NEAkef','1166995AIiDIJ','498128uXdGIo'];a261_0x2276=function(){return _0xc59775;};return a261_0x2276();}
1
+ function a262_0x2852(){var _0x51f4b6=['5049020jpafbo','4201788AkvRKV','7046450caSAXW','7DhGJlA','14326352GTlJVJ','4058957xSYODZ','7432074roivPB','442712YKrEhK'];a262_0x2852=function(){return _0x51f4b6;};return a262_0x2852();}function a262_0x2fb7(_0x3255ca,_0x235ccc){_0x3255ca=_0x3255ca-0x1d3;var _0x2852ff=a262_0x2852();var _0x2fb7ca=_0x2852ff[_0x3255ca];return _0x2fb7ca;}(function(_0x1aae7f,_0xaf10c){var _0x1b75f8=a262_0x2fb7,_0x9ef6ca=_0x1aae7f();while(!![]){try{var _0x14d3e3=-parseInt(_0x1b75f8(0x1d6))/0x1*(parseInt(_0x1b75f8(0x1da))/0x2)+parseInt(_0x1b75f8(0x1d4))/0x3+-parseInt(_0x1b75f8(0x1d3))/0x4+-parseInt(_0x1b75f8(0x1d5))/0x5+parseInt(_0x1b75f8(0x1d9))/0x6+parseInt(_0x1b75f8(0x1d8))/0x7+parseInt(_0x1b75f8(0x1d7))/0x8;if(_0x14d3e3===_0xaf10c)break;else _0x9ef6ca['push'](_0x9ef6ca['shift']());}catch(_0x5b1a2c){_0x9ef6ca['push'](_0x9ef6ca['shift']());}}}(a262_0x2852,0xc0993));import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
@@ -1 +1 @@
1
- (function(_0x27e915,_0xda3efc){var _0x3d5493=a262_0x2b80,_0x4f4b37=_0x27e915();while(!![]){try{var _0x4a14c7=-parseInt(_0x3d5493(0x7d))/0x1*(-parseInt(_0x3d5493(0x7e))/0x2)+parseInt(_0x3d5493(0x81))/0x3+parseInt(_0x3d5493(0x87))/0x4*(-parseInt(_0x3d5493(0x7c))/0x5)+-parseInt(_0x3d5493(0x7f))/0x6*(parseInt(_0x3d5493(0x82))/0x7)+parseInt(_0x3d5493(0x85))/0x8*(-parseInt(_0x3d5493(0x80))/0x9)+-parseInt(_0x3d5493(0x83))/0xa+parseInt(_0x3d5493(0x86))/0xb*(parseInt(_0x3d5493(0x84))/0xc);if(_0x4a14c7===_0xda3efc)break;else _0x4f4b37['push'](_0x4f4b37['shift']());}catch(_0x475f74){_0x4f4b37['push'](_0x4f4b37['shift']());}}}(a262_0x5bb8,0x9dc66));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a262_0x2b80(_0x56675a,_0x37af87){_0x56675a=_0x56675a-0x7c;var _0x5bb807=a262_0x5bb8();var _0x2b80d2=_0x5bb807[_0x56675a];return _0x2b80d2;}export async function withActiveCookie(_0x48502f,_0x3a9708){setActiveCookie(_0x48502f);try{return await _0x3a9708();}finally{clearActiveCookie();}}function a262_0x5bb8(){var _0x3ec85c=['2lRfkhV','90mpnpDE','9MQliDj','3475878CHjZNB','399903tVtoPZ','10569320lKlvLw','15455316DRGWNu','2479528tLFiLT','11JtkTOe','525656LfDvQh','5ftGfwa','554899JLmQXg'];a262_0x5bb8=function(){return _0x3ec85c;};return a262_0x5bb8();}
1
+ (function(_0x4924d3,_0xfe24c6){var _0x2b88c2=a263_0x1ace,_0x35cdaa=_0x4924d3();while(!![]){try{var _0x2fd08a=parseInt(_0x2b88c2(0x1dd))/0x1*(-parseInt(_0x2b88c2(0x1df))/0x2)+-parseInt(_0x2b88c2(0x1e1))/0x3*(parseInt(_0x2b88c2(0x1d8))/0x4)+parseInt(_0x2b88c2(0x1e4))/0x5*(-parseInt(_0x2b88c2(0x1da))/0x6)+parseInt(_0x2b88c2(0x1d9))/0x7*(-parseInt(_0x2b88c2(0x1e3))/0x8)+-parseInt(_0x2b88c2(0x1db))/0x9*(parseInt(_0x2b88c2(0x1dc))/0xa)+-parseInt(_0x2b88c2(0x1e2))/0xb+-parseInt(_0x2b88c2(0x1e0))/0xc*(-parseInt(_0x2b88c2(0x1de))/0xd);if(_0x2fd08a===_0xfe24c6)break;else _0x35cdaa['push'](_0x35cdaa['shift']());}catch(_0x5283b5){_0x35cdaa['push'](_0x35cdaa['shift']());}}}(a263_0x4ba3,0x43312));function a263_0x4ba3(){var _0x490ecd=['192534TleLlG','5247OhyDcb','2860WzzGwd','96813BrPyFn','18656534MQXJIZ','2aFYgjO','12RQNTlD','6477dZoHLc','501886absdyI','304iWBwOO','10rQFRBH','596drGlJG','85631UtYLpl'];a263_0x4ba3=function(){return _0x490ecd;};return a263_0x4ba3();}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a263_0x1ace(_0x1e4729,_0x434ecf){_0x1e4729=_0x1e4729-0x1d8;var _0x4ba370=a263_0x4ba3();var _0x1ace4e=_0x4ba370[_0x1e4729];return _0x1ace4e;}export async function withActiveCookie(_0x593044,_0x54e518){setActiveCookie(_0x593044);try{return await _0x54e518();}finally{clearActiveCookie();}}
@@ -1 +1 @@
1
- function a263_0x44a7(_0x2657cb,_0x18b947){_0x2657cb=_0x2657cb-0x18f;var _0x532bd0=a263_0x532b();var _0x44a78a=_0x532bd0[_0x2657cb];return _0x44a78a;}(function(_0x238ec6,_0x4b97d8){var _0x51b015=a263_0x44a7,_0x56c1eb=_0x238ec6();while(!![]){try{var _0x2250c1=-parseInt(_0x51b015(0x193))/0x1+-parseInt(_0x51b015(0x199))/0x2*(-parseInt(_0x51b015(0x191))/0x3)+-parseInt(_0x51b015(0x194))/0x4+parseInt(_0x51b015(0x18f))/0x5+-parseInt(_0x51b015(0x190))/0x6*(-parseInt(_0x51b015(0x19a))/0x7)+parseInt(_0x51b015(0x195))/0x8+parseInt(_0x51b015(0x197))/0x9*(-parseInt(_0x51b015(0x192))/0xa);if(_0x2250c1===_0x4b97d8)break;else _0x56c1eb['push'](_0x56c1eb['shift']());}catch(_0x1aa135){_0x56c1eb['push'](_0x56c1eb['shift']());}}}(a263_0x532b,0x6ce5f));export function writeCliSideChannelLine(_0x2ee582){var _0x133531=a263_0x44a7;process[_0x133531(0x198)][_0x133531(0x196)](_0x2ee582+'\x0a');}function a263_0x532b(){var _0x23f9e8=['5157754bNHiSG','68795IdsbOy','6rsCkzc','1406430NMtLih','589970yScFVr','367287SsaXbV','785848SEIrBm','2571024YxCSAr','write','81AGcYeM','stderr','2Dkbhvk'];a263_0x532b=function(){return _0x23f9e8;};return a263_0x532b();}
1
+ function a264_0x5185(){var _0x302148=['3336776RpFoBD','1164414iRIHzF','8BqskGy','5ZYaNYv','301773fLyofw','2720767eaUrco','5970200qkbZbv','2202993YqbpXx','156056Pwocdt','3ffToRv'];a264_0x5185=function(){return _0x302148;};return a264_0x5185();}function a264_0x4bce(_0xf63f61,_0x508870){_0xf63f61=_0xf63f61-0x1c2;var _0x51852b=a264_0x5185();var _0x4bce6a=_0x51852b[_0xf63f61];return _0x4bce6a;}(function(_0x551ff7,_0xf1f12e){var _0x500b26=a264_0x4bce,_0x3437cf=_0x551ff7();while(!![]){try{var _0x5877d6=parseInt(_0x500b26(0x1cb))/0x1*(parseInt(_0x500b26(0x1ca))/0x2)+parseInt(_0x500b26(0x1c6))/0x3*(parseInt(_0x500b26(0x1c4))/0x4)+parseInt(_0x500b26(0x1c5))/0x5*(parseInt(_0x500b26(0x1c3))/0x6)+parseInt(_0x500b26(0x1c7))/0x7+-parseInt(_0x500b26(0x1c2))/0x8+parseInt(_0x500b26(0x1c9))/0x9+-parseInt(_0x500b26(0x1c8))/0xa;if(_0x5877d6===_0xf1f12e)break;else _0x3437cf['push'](_0x3437cf['shift']());}catch(_0x1c50ef){_0x3437cf['push'](_0x3437cf['shift']());}}}(a264_0x5185,0x3cb64));export function writeCliSideChannelLine(_0x1c120a){process['stderr']['write'](_0x1c120a+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.3.13-beta.2",
3
+ "version": "2.3.13-beta.3",
4
4
  "description": "Developer CLI for Lovrabet apps, datasets, pages, SQL, BFF, database connections, skills, and AI agent workflows.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "keywords": [