@lovrabet/rabetbase-cli 2.1.12-beta.2 → 2.1.12

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 (200) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/add.js +1 -1
  20. package/lib/commands/app/discover.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app/use.js +1 -1
  26. package/lib/commands/auth/index.js +1 -1
  27. package/lib/commands/bff/create.js +1 -1
  28. package/lib/commands/bff/delete.js +1 -1
  29. package/lib/commands/bff/detail.js +1 -1
  30. package/lib/commands/bff/index.js +1 -1
  31. package/lib/commands/bff/list.js +1 -1
  32. package/lib/commands/bff/pull.js +1 -1
  33. package/lib/commands/bff/push.js +1 -1
  34. package/lib/commands/bff/status.js +1 -1
  35. package/lib/commands/cli-update.js +1 -1
  36. package/lib/commands/codegen/index.js +1 -1
  37. package/lib/commands/codegen/sdk.js +1 -1
  38. package/lib/commands/codegen/sql.js +1 -1
  39. package/lib/commands/common/app-selector.js +1 -1
  40. package/lib/commands/common/flags.js +1 -1
  41. package/lib/commands/common/validate.js +1 -1
  42. package/lib/commands/config/get.js +1 -1
  43. package/lib/commands/config/index.js +1 -1
  44. package/lib/commands/config/list.js +1 -1
  45. package/lib/commands/config/set.js +1 -1
  46. package/lib/commands/config/shared.js +1 -1
  47. package/lib/commands/data/filter.js +1 -1
  48. package/lib/commands/data/getOne.js +1 -1
  49. package/lib/commands/data/index.js +1 -1
  50. package/lib/commands/data/shared.js +1 -1
  51. package/lib/commands/dataset/capability.js +1 -1
  52. package/lib/commands/dataset/delete.js +1 -1
  53. package/lib/commands/dataset/detail.js +1 -1
  54. package/lib/commands/dataset/field-update.js +1 -1
  55. package/lib/commands/dataset/index.js +1 -1
  56. package/lib/commands/dataset/link-create.js +1 -1
  57. package/lib/commands/dataset/link-delete.js +1 -1
  58. package/lib/commands/dataset/link-shared.js +1 -1
  59. package/lib/commands/dataset/link-update.js +1 -1
  60. package/lib/commands/dataset/links.js +1 -1
  61. package/lib/commands/dataset/list.js +1 -1
  62. package/lib/commands/dataset/operations.js +1 -1
  63. package/lib/commands/db/analyze-cancel.js +1 -1
  64. package/lib/commands/db/analyze-start.js +1 -1
  65. package/lib/commands/db/analyze-status.js +1 -1
  66. package/lib/commands/db/create.js +1 -1
  67. package/lib/commands/db/delete.js +1 -1
  68. package/lib/commands/db/detail.js +1 -1
  69. package/lib/commands/db/diff.js +1 -1
  70. package/lib/commands/db/index.js +1 -1
  71. package/lib/commands/db/list.js +1 -1
  72. package/lib/commands/db/shared.js +1 -1
  73. package/lib/commands/db/tables.js +1 -1
  74. package/lib/commands/db/test.js +1 -1
  75. package/lib/commands/db/update.js +1 -1
  76. package/lib/commands/doctor.js +1 -1
  77. package/lib/commands/init/index.js +1 -1
  78. package/lib/commands/issue/index.js +1 -1
  79. package/lib/commands/issue/nudge.js +1 -1
  80. package/lib/commands/issue/report.js +1 -1
  81. package/lib/commands/issue/shared.js +1 -1
  82. package/lib/commands/logs/index.js +1 -1
  83. package/lib/commands/menu/index.js +1 -1
  84. package/lib/commands/menu/shared/compare-table.js +1 -1
  85. package/lib/commands/menu/shared/index.js +1 -1
  86. package/lib/commands/menu/shared/inquirer.js +1 -1
  87. package/lib/commands/menu/shared/local-pages.js +1 -1
  88. package/lib/commands/menu/shared/logic.js +1 -1
  89. package/lib/commands/menu/shared/service.js +1 -1
  90. package/lib/commands/menu/shared/sync-core.js +1 -1
  91. package/lib/commands/menu/shared/update-core.js +1 -1
  92. package/lib/commands/menu/shared/valid-url.js +1 -1
  93. package/lib/commands/menu/sync.js +1 -1
  94. package/lib/commands/menu/update.js +1 -1
  95. package/lib/commands/page/generate-start.js +1 -1
  96. package/lib/commands/page/generate-status.js +1 -1
  97. package/lib/commands/page/index.js +1 -1
  98. package/lib/commands/page/pull.js +1 -1
  99. package/lib/commands/page/push.js +1 -1
  100. package/lib/commands/page/shared.js +1 -1
  101. package/lib/commands/page/standard-page-status.js +1 -1
  102. package/lib/commands/page/sync.js +1 -1
  103. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  104. package/lib/commands/project/create/format-elapsed.js +1 -1
  105. package/lib/commands/project/create/main.js +1 -1
  106. package/lib/commands/project/create/non-interactive.js +1 -1
  107. package/lib/commands/project/create/project-template-path.js +1 -1
  108. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  109. package/lib/commands/project/create/use-format-code.js +1 -1
  110. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  111. package/lib/commands/project/index.js +1 -1
  112. package/lib/commands/project/init.js +1 -1
  113. package/lib/commands/project/upgrade.js +1 -1
  114. package/lib/commands/registry.js +1 -1
  115. package/lib/commands/run/index.js +1 -1
  116. package/lib/commands/schema.js +1 -1
  117. package/lib/commands/skill/index.js +1 -1
  118. package/lib/commands/sql/create.js +1 -1
  119. package/lib/commands/sql/delete.js +1 -1
  120. package/lib/commands/sql/detail.js +1 -1
  121. package/lib/commands/sql/exec.js +1 -1
  122. package/lib/commands/sql/index.js +1 -1
  123. package/lib/commands/sql/list.js +1 -1
  124. package/lib/commands/sql/pull.js +1 -1
  125. package/lib/commands/sql/push.js +1 -1
  126. package/lib/commands/sql/save.js +1 -1
  127. package/lib/commands/sql/shared.js +1 -1
  128. package/lib/commands/sql/status.js +1 -1
  129. package/lib/commands/sql/validate.js +1 -1
  130. package/lib/config/schema.js +1 -1
  131. package/lib/constant/cdn.js +1 -1
  132. package/lib/constant/cli.js +1 -1
  133. package/lib/constant/defaults.js +1 -1
  134. package/lib/constant/domain.js +1 -1
  135. package/lib/constant/env.js +1 -1
  136. package/lib/constant/output.js +1 -1
  137. package/lib/constant/paths.js +1 -1
  138. package/lib/constant/risk.js +1 -1
  139. package/lib/context.js +1 -1
  140. package/lib/core/alias-resolver.js +1 -1
  141. package/lib/core/api-client.js +1 -1
  142. package/lib/core/bff/config.js +1 -1
  143. package/lib/core/bff/file-system.js +1 -1
  144. package/lib/core/bff/hash.js +1 -1
  145. package/lib/core/bff/lock.js +1 -1
  146. package/lib/core/bff/utils.js +1 -1
  147. package/lib/core/db-resolver.js +1 -1
  148. package/lib/core/page/file-system.js +1 -1
  149. package/lib/core/page/hash.js +1 -1
  150. package/lib/core/page/lock.js +1 -1
  151. package/lib/core/sql-sync/config.js +1 -1
  152. package/lib/core/sql-sync/file-system.js +1 -1
  153. package/lib/core/sql-sync/hash.js +1 -1
  154. package/lib/core/sql-sync/lock.js +1 -1
  155. package/lib/core/sql-sync/utils.js +1 -1
  156. package/lib/core/sql-validator.js +1 -1
  157. package/lib/errors.js +1 -1
  158. package/lib/framework/build-all-flags.js +1 -1
  159. package/lib/framework/flags.js +1 -1
  160. package/lib/framework/help.js +1 -1
  161. package/lib/framework/index.js +1 -1
  162. package/lib/framework/output.js +1 -1
  163. package/lib/framework/response.js +1 -1
  164. package/lib/framework/runner-alias.js +1 -1
  165. package/lib/framework/runner.js +1 -1
  166. package/lib/framework/schema-export.js +1 -1
  167. package/lib/framework/types.js +1 -1
  168. package/lib/generated/build-info.js +1 -1
  169. package/lib/help.js +1 -1
  170. package/lib/skills/main.js +1 -1
  171. package/lib/skills/npx-skills-add.js +1 -1
  172. package/lib/telemetry/cli-command-trace.js +1 -1
  173. package/lib/telemetry/cli-help-trace.js +1 -1
  174. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  175. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  176. package/lib/telemetry/send-cli-trace-log.js +1 -1
  177. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  178. package/lib/utils/ai_config.js +1 -1
  179. package/lib/utils/apply-jq-filter.js +1 -1
  180. package/lib/utils/cdn-config.js +1 -1
  181. package/lib/utils/check-sdk-version.js +1 -1
  182. package/lib/utils/cli-version-check.js +1 -1
  183. package/lib/utils/cli-version-policy.js +1 -1
  184. package/lib/utils/config.js +1 -1
  185. package/lib/utils/copy-directory.js +1 -1
  186. package/lib/utils/entity-with-id.js +1 -1
  187. package/lib/utils/file-utils.js +1 -1
  188. package/lib/utils/guides-cdn.js +1 -1
  189. package/lib/utils/http-client.js +1 -1
  190. package/lib/utils/is-non-interactive.js +1 -1
  191. package/lib/utils/logger.js +1 -1
  192. package/lib/utils/params.js +1 -1
  193. package/lib/utils/platform.js +1 -1
  194. package/lib/utils/rules-cdn.js +1 -1
  195. package/lib/utils/sleep.js +1 -1
  196. package/lib/utils/template-replacer.js +1 -1
  197. package/lib/utils/version.js +1 -1
  198. package/lib/utils/with-active-cookie.js +1 -1
  199. package/lib/utils/write-cli-side-channel.js +1 -1
  200. package/package.json +2 -2
@@ -1 +1 @@
1
- (function(_0x6629ad,_0x5e07b3){const _0x230641=a145_0x3440,_0x15e750=_0x6629ad();while(!![]){try{const _0x3ffd88=parseInt(_0x230641(0x1ba))/0x1*(parseInt(_0x230641(0x1b7))/0x2)+-parseInt(_0x230641(0x1b8))/0x3+-parseInt(_0x230641(0x1c5))/0x4*(-parseInt(_0x230641(0x1c0))/0x5)+parseInt(_0x230641(0x1c4))/0x6*(-parseInt(_0x230641(0x1c2))/0x7)+-parseInt(_0x230641(0x1b3))/0x8*(parseInt(_0x230641(0x1c6))/0x9)+parseInt(_0x230641(0x1b0))/0xa+-parseInt(_0x230641(0x1be))/0xb*(-parseInt(_0x230641(0x1c1))/0xc);if(_0x3ffd88===_0x5e07b3)break;else _0x15e750['push'](_0x15e750['shift']());}catch(_0x398714){_0x15e750['push'](_0x15e750['shift']());}}}(a145_0x35a0,0xb4a69));function a145_0x3440(_0x3d607a,_0xd46c7){_0x3d607a=_0x3d607a-0x1ae;const _0x35a05=a145_0x35a0();let _0x34402c=_0x35a05[_0x3d607a];return _0x34402c;}function a145_0x35a0(){const _0x16b013=['933025Cwawko','1563132ANcHQp','921109tFpWJo','utf8','54YGZuRw','24EMrWOs','1935EKvabM','stringify','Failed\x20to\x20read\x20BFF\x20lock\x20file:\x20','5831080FeyTCF','object','Check\x20.rabetbase/bff.lock.json\x20or\x20operate\x20from\x20the\x20correct\x20project\x20directory.','45688KcaFNf','code','current\x20\x22','apps','34phSELt','381651RttEAI','parse','8453DttvtE','\x22\x20vs\x20lock\x20\x22','lastSync',':\x20scriptsRoot\x20mismatch\x20—\x20','121FOwpFF','scriptsRoot'];a145_0x35a0=function(){return _0x16b013;};return a145_0x35a0();}import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';export function createEmptyBffLock(){return{'apps':{}};}export function ensureLockScope(_0x1c9003,_0x225370,_0x324390,_0x529b4d){const _0x6b961c=a145_0x3440,_0x4e988d={'apps':_0x1c9003[_0x6b961c(0x1b6)]&&typeof _0x1c9003['apps']===_0x6b961c(0x1b1)?_0x1c9003[_0x6b961c(0x1b6)]:{}};let _0x352953=_0x4e988d[_0x6b961c(0x1b6)][_0x225370];if(!_0x352953)return _0x352953={'scriptsRoot':_0x324390,'lastSync':'','functions':{}},_0x4e988d[_0x6b961c(0x1b6)][_0x225370]=_0x352953,{'lockData':_0x4e988d,'appLock':_0x352953};if(!_0x352953[_0x6b961c(0x1bf)])_0x352953[_0x6b961c(0x1bf)]=_0x324390;else{if(_0x352953[_0x6b961c(0x1bf)]!==_0x324390)throw new Error(_0x529b4d+_0x6b961c(0x1bd)+(_0x6b961c(0x1b5)+_0x324390+_0x6b961c(0x1bb)+_0x352953[_0x6b961c(0x1bf)]+'\x22.\x20')+_0x6b961c(0x1b2));}return!_0x352953['functions']&&(_0x352953['functions']={}),!_0x352953[_0x6b961c(0x1bc)]&&(_0x352953[_0x6b961c(0x1bc)]=''),{'lockData':_0x4e988d,'appLock':_0x352953};}export async function readBffLockFile(_0x363f01){const _0x26fe40=a145_0x3440;try{const _0x5db048=await readFile(_0x363f01,_0x26fe40(0x1c3)),_0x53332a=JSON[_0x26fe40(0x1b9)](_0x5db048);return{'apps':_0x53332a[_0x26fe40(0x1b6)]&&typeof _0x53332a[_0x26fe40(0x1b6)]===_0x26fe40(0x1b1)?_0x53332a['apps']:{}};}catch(_0x3a8256){if(_0x3a8256[_0x26fe40(0x1b4)]==='ENOENT')return null;throw new Error(_0x26fe40(0x1af)+String(_0x3a8256));}}export async function writeBffLockFile(_0x751b22,_0x18f269){const _0x3b2d78=a145_0x3440;await mkdir(dirname(_0x751b22),{'recursive':!![]}),await writeFile(_0x751b22,JSON[_0x3b2d78(0x1ae)](_0x18f269,null,0x2),_0x3b2d78(0x1c3));}
1
+ (function(_0x5d1e09,_0x293719){const _0x15a600=a145_0x1022,_0x5026d2=_0x5d1e09();while(!![]){try{const _0x1356c8=-parseInt(_0x15a600(0x81))/0x1*(parseInt(_0x15a600(0x85))/0x2)+-parseInt(_0x15a600(0x7e))/0x3*(-parseInt(_0x15a600(0x79))/0x4)+parseInt(_0x15a600(0x83))/0x5+parseInt(_0x15a600(0x82))/0x6+-parseInt(_0x15a600(0x7d))/0x7+-parseInt(_0x15a600(0x8d))/0x8*(-parseInt(_0x15a600(0x88))/0x9)+parseInt(_0x15a600(0x8e))/0xa;if(_0x1356c8===_0x293719)break;else _0x5026d2['push'](_0x5026d2['shift']());}catch(_0x44e8e9){_0x5026d2['push'](_0x5026d2['shift']());}}}(a145_0x2afd,0x91804));function a145_0x2afd(){const _0x2e958c=['functions','stringify','3644jXucbp','Failed\x20to\x20read\x20BFF\x20lock\x20file:\x20','code','lastSync','6479837ntCxhb','2949fofseA',':\x20scriptsRoot\x20mismatch\x20—\x20','Check\x20.rabetbase/bff.lock.json\x20or\x20operate\x20from\x20the\x20correct\x20project\x20directory.','13GuGIBU','882132fTzIGQ','3606610XTRJXa','parse','80706YtwbsU','ENOENT','scriptsRoot','18JTRyUW','apps','utf8','object','\x22.\x20','627880EIdkLN','1254250ownAbe'];a145_0x2afd=function(){return _0x2e958c;};return a145_0x2afd();}import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';export function createEmptyBffLock(){return{'apps':{}};}function a145_0x1022(_0x4fa916,_0x2f6169){_0x4fa916=_0x4fa916-0x79;const _0x2afdd4=a145_0x2afd();let _0x1022f1=_0x2afdd4[_0x4fa916];return _0x1022f1;}export function ensureLockScope(_0x383e62,_0x44b882,_0x52be90,_0x2d7b28){const _0x25b66a=a145_0x1022,_0x3adcc4={'apps':_0x383e62[_0x25b66a(0x89)]&&typeof _0x383e62[_0x25b66a(0x89)]===_0x25b66a(0x8b)?_0x383e62[_0x25b66a(0x89)]:{}};let _0x1be252=_0x3adcc4[_0x25b66a(0x89)][_0x44b882];if(!_0x1be252)return _0x1be252={'scriptsRoot':_0x52be90,'lastSync':'','functions':{}},_0x3adcc4[_0x25b66a(0x89)][_0x44b882]=_0x1be252,{'lockData':_0x3adcc4,'appLock':_0x1be252};if(!_0x1be252[_0x25b66a(0x87)])_0x1be252[_0x25b66a(0x87)]=_0x52be90;else{if(_0x1be252[_0x25b66a(0x87)]!==_0x52be90)throw new Error(_0x2d7b28+_0x25b66a(0x7f)+('current\x20\x22'+_0x52be90+'\x22\x20vs\x20lock\x20\x22'+_0x1be252[_0x25b66a(0x87)]+_0x25b66a(0x8c))+_0x25b66a(0x80));}return!_0x1be252['functions']&&(_0x1be252[_0x25b66a(0x8f)]={}),!_0x1be252[_0x25b66a(0x7c)]&&(_0x1be252[_0x25b66a(0x7c)]=''),{'lockData':_0x3adcc4,'appLock':_0x1be252};}export async function readBffLockFile(_0x3af23c){const _0x235f6b=a145_0x1022;try{const _0x59ebc5=await readFile(_0x3af23c,_0x235f6b(0x8a)),_0xcf711a=JSON[_0x235f6b(0x84)](_0x59ebc5);return{'apps':_0xcf711a[_0x235f6b(0x89)]&&typeof _0xcf711a[_0x235f6b(0x89)]==='object'?_0xcf711a[_0x235f6b(0x89)]:{}};}catch(_0x549bc6){if(_0x549bc6[_0x235f6b(0x7b)]===_0x235f6b(0x86))return null;throw new Error(_0x235f6b(0x7a)+String(_0x549bc6));}}export async function writeBffLockFile(_0x4185cd,_0x234c59){const _0x541f20=a145_0x1022;await mkdir(dirname(_0x4185cd),{'recursive':!![]}),await writeFile(_0x4185cd,JSON[_0x541f20(0x90)](_0x234c59,null,0x2),_0x541f20(0x8a));}
@@ -1 +1 @@
1
- (function(_0xf58a8d,_0x5e5b75){const _0x463a12=a147_0x24bd,_0x4ec1c9=_0xf58a8d();while(!![]){try{const _0x1aaee0=parseInt(_0x463a12(0xe0))/0x1+parseInt(_0x463a12(0xe3))/0x2+-parseInt(_0x463a12(0xe6))/0x3*(parseInt(_0x463a12(0xd8))/0x4)+parseInt(_0x463a12(0xe7))/0x5*(parseInt(_0x463a12(0xe9))/0x6)+parseInt(_0x463a12(0xe4))/0x7*(parseInt(_0x463a12(0xe1))/0x8)+-parseInt(_0x463a12(0xdf))/0x9+parseInt(_0x463a12(0xe8))/0xa;if(_0x1aaee0===_0x5e5b75)break;else _0x4ec1c9['push'](_0x4ec1c9['shift']());}catch(_0x2cd2af){_0x4ec1c9['push'](_0x4ec1c9['shift']());}}}(a147_0x495f,0x3ad12));function a147_0x24bd(_0x329ab0,_0x69a1aa){_0x329ab0=_0x329ab0-0xd8;const _0x495fb6=a147_0x495f();let _0x24bd54=_0x495fb6[_0x329ab0];return _0x24bd54;}export function snakeToCamel(_0x14cd7f){const _0x47ad4e=a147_0x24bd;return _0x14cd7f[_0x47ad4e(0xe5)]()[_0x47ad4e(0xeb)](/_([a-z])/g,(_0x21263a,_0x373a2f)=>_0x373a2f[_0x47ad4e(0xdd)]());}export function findHookLocationByRemoteId(_0x307248,_0x22426c){const _0x103d72=a147_0x24bd;if(!_0x22426c)return undefined;for(const _0x312e03 of Object[_0x103d72(0xde)](_0x307248)){if(_0x312e03['remoteId']===_0x22426c&&_0x312e03['datasetCode']&&_0x312e03[_0x103d72(0xdc)]&&_0x312e03[_0x103d72(0xd9)])return{'datasetCode':_0x312e03[_0x103d72(0xda)],'operationType':_0x312e03['operationType'],'functionNode':_0x312e03[_0x103d72(0xd9)]};}return undefined;}export function extractScriptDescription(_0x14db5e){const _0x35cae1=a147_0x24bd,_0x35e355=_0x14db5e[_0x35cae1(0xe2)](/\[\s*脚本描述\s*]\s*(.+)/);return _0x35e355?.[0x1]?.[_0x35cae1(0xec)]()||undefined;}export function isValidBffFunctionName(_0x4bf96f){const _0x5a7408=a147_0x24bd;return/^[A-Za-z_$][A-Za-z0-9_$]*$/[_0x5a7408(0xea)](_0x4bf96f);}function a147_0x495f(){const _0xddcc01=['test','replace','trim','564196gNbrcA','functionNode','datasetCode','before','operationType','toUpperCase','values','3392433QDhBpC','194690BItfxr','134944qRMaKK','match','533174owenUW','147akNgyP','toLowerCase','9ovmnbX','234385vYIJIi','1786160OafOBj','6VvyujI'];a147_0x495f=function(){return _0xddcc01;};return a147_0x495f();}export function normalizeHookFunctionNode(_0x2ddcd3){const _0x4397e0=a147_0x24bd;if(!_0x2ddcd3)return undefined;const _0x39e47b=_0x2ddcd3[_0x4397e0(0xec)]()[_0x4397e0(0xe5)]();if(_0x39e47b===_0x4397e0(0xdb)||_0x39e47b==='after')return _0x39e47b;return undefined;}
1
+ (function(_0x18dc95,_0x10c5ca){const _0xa7d47d=a147_0x1ea3,_0x3b3855=_0x18dc95();while(!![]){try{const _0x4a77f3=-parseInt(_0xa7d47d(0xbe))/0x1*(-parseInt(_0xa7d47d(0xb4))/0x2)+parseInt(_0xa7d47d(0xbb))/0x3*(parseInt(_0xa7d47d(0xb8))/0x4)+-parseInt(_0xa7d47d(0xb9))/0x5+-parseInt(_0xa7d47d(0xbf))/0x6*(parseInt(_0xa7d47d(0xbd))/0x7)+-parseInt(_0xa7d47d(0xb2))/0x8*(parseInt(_0xa7d47d(0xb3))/0x9)+parseInt(_0xa7d47d(0xc5))/0xa*(parseInt(_0xa7d47d(0xc2))/0xb)+parseInt(_0xa7d47d(0xb1))/0xc*(parseInt(_0xa7d47d(0xb5))/0xd);if(_0x4a77f3===_0x10c5ca)break;else _0x3b3855['push'](_0x3b3855['shift']());}catch(_0x6fe961){_0x3b3855['push'](_0x3b3855['shift']());}}}(a147_0x25e1,0x4ef5e));export function snakeToCamel(_0x3d4717){const _0x587759=a147_0x1ea3;return _0x3d4717[_0x587759(0xc0)]()['replace'](/_([a-z])/g,(_0x92adc6,_0x4041c6)=>_0x4041c6[_0x587759(0xc1)]());}export function findHookLocationByRemoteId(_0x1b371c,_0x45e32f){const _0xcecc6f=a147_0x1ea3;if(!_0x45e32f)return undefined;for(const _0x54b082 of Object[_0xcecc6f(0xc3)](_0x1b371c)){if(_0x54b082['remoteId']===_0x45e32f&&_0x54b082[_0xcecc6f(0xb7)]&&_0x54b082[_0xcecc6f(0xc4)]&&_0x54b082['functionNode'])return{'datasetCode':_0x54b082['datasetCode'],'operationType':_0x54b082[_0xcecc6f(0xc4)],'functionNode':_0x54b082['functionNode']};}return undefined;}function a147_0x25e1(){const _0x25544f=['181326ZnmiIe','toLowerCase','toUpperCase','149534TDDbdb','values','operationType','20BvOnin','36TpXLkX','8jiEgiJ','5051799ESnpKJ','1084LtbBNC','5574257fISHhY','test','datasetCode','1436644augBpJ','2948440pAOShY','trim','3OtOoiL','match','91rNwREr','359CsjREl'];a147_0x25e1=function(){return _0x25544f;};return a147_0x25e1();}export function extractScriptDescription(_0x1ee91e){const _0x315a1d=a147_0x1ea3,_0x135b06=_0x1ee91e[_0x315a1d(0xbc)](/\[\s*脚本描述\s*]\s*(.+)/);return _0x135b06?.[0x1]?.[_0x315a1d(0xba)]()||undefined;}export function isValidBffFunctionName(_0x464dba){const _0x28357a=a147_0x1ea3;return/^[A-Za-z_$][A-Za-z0-9_$]*$/[_0x28357a(0xb6)](_0x464dba);}function a147_0x1ea3(_0x33323a,_0x5e1f16){_0x33323a=_0x33323a-0xb1;const _0x25e133=a147_0x25e1();let _0x1ea35e=_0x25e133[_0x33323a];return _0x1ea35e;}export function normalizeHookFunctionNode(_0x13d349){const _0x5af5be=a147_0x1ea3;if(!_0x13d349)return undefined;const _0x567f3d=_0x13d349[_0x5af5be(0xba)]()[_0x5af5be(0xc0)]();if(_0x567f3d==='before'||_0x567f3d==='after')return _0x567f3d;return undefined;}
@@ -1 +1 @@
1
- function a148_0x1f93(){const _0x2bf2ad=['453933MYEILa','\x22.\x20Make\x20sure\x20datasets\x20have\x20been\x20created.','.\x20Be\x20more\x20specific.','6350519hXjGve','\x22\x20matches\x20multiple\x20databases:\x20','2371704axOfut','9237648kwkGlM','Multiple\x20databases\x20found.\x20Specify\x20one\x20with\x20--db:\x20','dbName','find','No\x20database\x20matching\x20\x22','11446zemozo','dbId','.\x20If\x20this\x20db\x20belongs\x20to\x20another\x20app,\x20rerun\x20with\x20--appcode\x20<appCode>.','5zAGkov','get','176vlUBzY','map','entries','set','dbtableConfig','toLowerCase','10cwZzDv','length','300641zpQqeK','filter','7259658YBIgHq','join','8Wyyckg','13rZyJYe'];a148_0x1f93=function(){return _0x2bf2ad;};return a148_0x1f93();}function a148_0x3e2a(_0x2c6204,_0x23677b){_0x2c6204=_0x2c6204-0x1e0;const _0x1f93d9=a148_0x1f93();let _0x3e2a8b=_0x1f93d9[_0x2c6204];return _0x3e2a8b;}(function(_0x42a911,_0x4a139c){const _0x33f1db=a148_0x3e2a,_0x30e90a=_0x42a911();while(!![]){try{const _0x49acf2=parseInt(_0x33f1db(0x1e5))/0x1*(-parseInt(_0x33f1db(0x1f1))/0x2)+-parseInt(_0x33f1db(0x1eb))/0x3*(-parseInt(_0x33f1db(0x1e4))/0x4)+parseInt(_0x33f1db(0x1f4))/0x5*(-parseInt(_0x33f1db(0x1e2))/0x6)+parseInt(_0x33f1db(0x1e9))/0x7+-parseInt(_0x33f1db(0x1f6))/0x8*(parseInt(_0x33f1db(0x1e6))/0x9)+parseInt(_0x33f1db(0x1fc))/0xa*(parseInt(_0x33f1db(0x1e0))/0xb)+parseInt(_0x33f1db(0x1ec))/0xc;if(_0x49acf2===_0x4a139c)break;else _0x30e90a['push'](_0x30e90a['shift']());}catch(_0x5f6db2){_0x30e90a['push'](_0x30e90a['shift']());}}}(a148_0x1f93,0xd9a8c));import{listDatasets}from'../core/api-client.js';const cache=new Map();export async function listDatabases(_0x280948){const _0x5a0959=a148_0x3e2a;if(cache['has'](_0x280948))return cache[_0x5a0959(0x1f5)](_0x280948);const _0x597f0c=await listDatasets(_0x280948),_0xb0029b=new Map();for(const _0x13663f of _0x597f0c){const _0x203b9c=_0x13663f[_0x5a0959(0x1fa)];_0x203b9c?.[_0x5a0959(0x1f2)]!=null&&_0xb0029b[_0x5a0959(0x1f9)](_0x203b9c[_0x5a0959(0x1f2)],_0x203b9c[_0x5a0959(0x1ee)]??'db-'+_0x203b9c[_0x5a0959(0x1f2)]);}const _0x194354=[..._0xb0029b[_0x5a0959(0x1f8)]()][_0x5a0959(0x1f7)](([_0x12b288,_0x131ac5])=>({'dbId':_0x12b288,'dbName':_0x131ac5}));return cache[_0x5a0959(0x1f9)](_0x280948,_0x194354),_0x194354;}export async function resolveDb(_0x4150cc,_0x220796){const _0x4816ea=a148_0x3e2a,_0x20b9a1=await listDatabases(_0x4150cc);if(_0x20b9a1[_0x4816ea(0x1fd)]===0x0)return{'resolved':[],'error':'No\x20linked\x20databases\x20found\x20under\x20app\x20\x22'+_0x4150cc+_0x4816ea(0x1e7)};if(!_0x220796)return{'resolved':_0x20b9a1};const _0x46bbaa=Number(_0x220796);if(!Number['isNaN'](_0x46bbaa)){const _0x561f45=_0x20b9a1[_0x4816ea(0x1ef)](_0x196155=>_0x196155[_0x4816ea(0x1f2)]===_0x46bbaa);if(_0x561f45)return{'resolved':[_0x561f45]};}const _0xd424ec=_0x220796[_0x4816ea(0x1fb)](),_0x49e265=_0x20b9a1[_0x4816ea(0x1e1)](_0x2f3046=>_0x2f3046[_0x4816ea(0x1ee)][_0x4816ea(0x1fb)]()['includes'](_0xd424ec));if(_0x49e265[_0x4816ea(0x1fd)]>0x0)return{'resolved':_0x49e265};const _0x1146aa=_0x20b9a1[_0x4816ea(0x1f7)](_0x4d35e8=>_0x4d35e8['dbName']+'\x20('+_0x4d35e8[_0x4816ea(0x1f2)]+')')['join'](',\x20');return{'resolved':[],'error':_0x4816ea(0x1f0)+_0x220796+'\x22\x20under\x20app\x20\x22'+_0x4150cc+'\x22.\x20Available:\x20'+_0x1146aa+_0x4816ea(0x1f3)};}export async function resolveOneDb(_0x3f7ae9,_0x15a2a5){const _0x31fd3d=a148_0x3e2a,{resolved:_0x230285,error:_0x546bd0}=await resolveDb(_0x3f7ae9,_0x15a2a5);if(_0x546bd0)return{'db':null,'error':_0x546bd0};if(_0x230285[_0x31fd3d(0x1fd)]===0x1)return{'db':_0x230285[0x0]};if(!_0x15a2a5){const _0x15c833=_0x230285['map'](_0x4cf30b=>_0x4cf30b[_0x31fd3d(0x1ee)]+'\x20('+_0x4cf30b[_0x31fd3d(0x1f2)]+')')[_0x31fd3d(0x1e3)](',\x20');return{'db':null,'error':_0x31fd3d(0x1ed)+_0x15c833};}const _0x33821f=_0x230285[_0x31fd3d(0x1f7)](_0xb0d922=>_0xb0d922[_0x31fd3d(0x1ee)]+'\x20('+_0xb0d922['dbId']+')')[_0x31fd3d(0x1e3)](',\x20');return{'db':null,'error':'\x22'+_0x15a2a5+_0x31fd3d(0x1ea)+_0x33821f+_0x31fd3d(0x1e8)};}export async function getDbName(_0x40f64e,_0x3adbdd){const _0x445fc8=a148_0x3e2a,_0x440f54=await listDatabases(_0x40f64e);return _0x440f54[_0x445fc8(0x1ef)](_0x541c44=>_0x541c44['dbId']===_0x3adbdd)?.[_0x445fc8(0x1ee)];}
1
+ (function(_0x444887,_0x1ab438){const _0x133c72=a148_0x380f,_0x352520=_0x444887();while(!![]){try{const _0x51ad67=parseInt(_0x133c72(0xe4))/0x1+parseInt(_0x133c72(0xd8))/0x2*(parseInt(_0x133c72(0xf6))/0x3)+parseInt(_0x133c72(0xee))/0x4*(parseInt(_0x133c72(0xe7))/0x5)+-parseInt(_0x133c72(0xe5))/0x6*(parseInt(_0x133c72(0xd9))/0x7)+-parseInt(_0x133c72(0xe2))/0x8+parseInt(_0x133c72(0xdc))/0x9*(parseInt(_0x133c72(0xf0))/0xa)+parseInt(_0x133c72(0xf4))/0xb*(-parseInt(_0x133c72(0xda))/0xc);if(_0x51ad67===_0x1ab438)break;else _0x352520['push'](_0x352520['shift']());}catch(_0x26761b){_0x352520['push'](_0x352520['shift']());}}}(a148_0x3a1b,0x27490));function a148_0x3a1b(){const _0x744a9c=['isNaN','set','entries','8xmeADi','toLowerCase','481530cwXkKj','\x22.\x20Available:\x20','includes','dbId','11LYkHkX','map','430977oqTaoJ','get','.\x20Be\x20more\x20specific.','length','2ErjBnw','84Nplkay','5658792JpQRYO','\x22.\x20Make\x20sure\x20datasets\x20have\x20been\x20created.','18NgsRfT','join','find','db-','No\x20linked\x20databases\x20found\x20under\x20app\x20\x22','dbtableConfig','1581088IoPWlE','Multiple\x20databases\x20found.\x20Specify\x20one\x20with\x20--db:\x20','296743Nzvszp','2802lyYjhp','No\x20database\x20matching\x20\x22','747525EUFUeH','.\x20If\x20this\x20db\x20belongs\x20to\x20another\x20app,\x20rerun\x20with\x20--appcode\x20<appCode>.','dbName','\x22\x20matches\x20multiple\x20databases:\x20'];a148_0x3a1b=function(){return _0x744a9c;};return a148_0x3a1b();}import{listDatasets}from'../core/api-client.js';const cache=new Map();export async function listDatabases(_0x29c5ef){const _0x459829=a148_0x380f;if(cache['has'](_0x29c5ef))return cache[_0x459829(0xf7)](_0x29c5ef);const _0x5865e6=await listDatasets(_0x29c5ef),_0x262b1b=new Map();for(const _0x41dbae of _0x5865e6){const _0x100155=_0x41dbae[_0x459829(0xe1)];_0x100155?.[_0x459829(0xf3)]!=null&&_0x262b1b[_0x459829(0xec)](_0x100155[_0x459829(0xf3)],_0x100155['dbName']??_0x459829(0xdf)+_0x100155['dbId']);}const _0xb609f1=[..._0x262b1b[_0x459829(0xed)]()]['map'](([_0x212f7b,_0x5977c4])=>({'dbId':_0x212f7b,'dbName':_0x5977c4}));return cache['set'](_0x29c5ef,_0xb609f1),_0xb609f1;}export async function resolveDb(_0x43c3fb,_0x115190){const _0xf53b0c=a148_0x380f,_0x57cf96=await listDatabases(_0x43c3fb);if(_0x57cf96[_0xf53b0c(0xd7)]===0x0)return{'resolved':[],'error':_0xf53b0c(0xe0)+_0x43c3fb+_0xf53b0c(0xdb)};if(!_0x115190)return{'resolved':_0x57cf96};const _0xc1a8aa=Number(_0x115190);if(!Number[_0xf53b0c(0xeb)](_0xc1a8aa)){const _0x2aa8ff=_0x57cf96[_0xf53b0c(0xde)](_0x39ac0a=>_0x39ac0a[_0xf53b0c(0xf3)]===_0xc1a8aa);if(_0x2aa8ff)return{'resolved':[_0x2aa8ff]};}const _0x46eadd=_0x115190[_0xf53b0c(0xef)](),_0x275b0e=_0x57cf96['filter'](_0xba1f8d=>_0xba1f8d[_0xf53b0c(0xe9)]['toLowerCase']()[_0xf53b0c(0xf2)](_0x46eadd));if(_0x275b0e[_0xf53b0c(0xd7)]>0x0)return{'resolved':_0x275b0e};const _0x3bb43d=_0x57cf96[_0xf53b0c(0xf5)](_0x307213=>_0x307213[_0xf53b0c(0xe9)]+'\x20('+_0x307213[_0xf53b0c(0xf3)]+')')[_0xf53b0c(0xdd)](',\x20');return{'resolved':[],'error':_0xf53b0c(0xe6)+_0x115190+'\x22\x20under\x20app\x20\x22'+_0x43c3fb+_0xf53b0c(0xf1)+_0x3bb43d+_0xf53b0c(0xe8)};}function a148_0x380f(_0x116695,_0x5dba51){_0x116695=_0x116695-0xd6;const _0x3a1bd7=a148_0x3a1b();let _0x380f1b=_0x3a1bd7[_0x116695];return _0x380f1b;}export async function resolveOneDb(_0x7d430,_0x3500b3){const _0x18fdb5=a148_0x380f,{resolved:_0x18f778,error:_0x55dbc5}=await resolveDb(_0x7d430,_0x3500b3);if(_0x55dbc5)return{'db':null,'error':_0x55dbc5};if(_0x18f778[_0x18fdb5(0xd7)]===0x1)return{'db':_0x18f778[0x0]};if(!_0x3500b3){const _0x466f15=_0x18f778[_0x18fdb5(0xf5)](_0x4aae32=>_0x4aae32[_0x18fdb5(0xe9)]+'\x20('+_0x4aae32[_0x18fdb5(0xf3)]+')')[_0x18fdb5(0xdd)](',\x20');return{'db':null,'error':_0x18fdb5(0xe3)+_0x466f15};}const _0x68f0dc=_0x18f778[_0x18fdb5(0xf5)](_0x29e94c=>_0x29e94c[_0x18fdb5(0xe9)]+'\x20('+_0x29e94c[_0x18fdb5(0xf3)]+')')[_0x18fdb5(0xdd)](',\x20');return{'db':null,'error':'\x22'+_0x3500b3+_0x18fdb5(0xea)+_0x68f0dc+_0x18fdb5(0xd6)};}export async function getDbName(_0x77cddc,_0x56c8e7){const _0xba4c5b=a148_0x380f,_0x419454=await listDatabases(_0x77cddc);return _0x419454[_0xba4c5b(0xde)](_0x80767e=>_0x80767e[_0xba4c5b(0xf3)]===_0x56c8e7)?.[_0xba4c5b(0xe9)];}
@@ -1 +1 @@
1
- function a149_0x16b0(){const _0x56fb3d=['21855OfMDPi','1685560euEMrs','367320RCPENv','.rabetbase','6534qiZcoc','445400aUnluq','313391yAiUUt','.json','116YvkgAv','page','655212MUQZzD','36szpLXt','F_OK','cwd','appPagesDir','1379bJvhQl','page.lock.json','toUpperCase'];a149_0x16b0=function(){return _0x56fb3d;};return a149_0x16b0();}const a149_0x46d778=a149_0x12bf;(function(_0x1db32d,_0x4f8458){const _0x390b61=a149_0x12bf,_0x570597=_0x1db32d();while(!![]){try{const _0x323ffa=parseInt(_0x390b61(0xd0))/0x1+-parseInt(_0x390b61(0xd4))/0x2+-parseInt(_0x390b61(0xdc))/0x3*(parseInt(_0x390b61(0xd2))/0x4)+parseInt(_0x390b61(0xdd))/0x5+-parseInt(_0x390b61(0xce))/0x6*(-parseInt(_0x390b61(0xd9))/0x7)+parseInt(_0x390b61(0xcf))/0x8+parseInt(_0x390b61(0xd5))/0x9*(-parseInt(_0x390b61(0xde))/0xa);if(_0x323ffa===_0x4f8458)break;else _0x570597['push'](_0x570597['shift']());}catch(_0x1e1aa5){_0x570597['push'](_0x570597['shift']());}}}(a149_0x16b0,0x395a0));import{constants}from'node:fs';import{access,mkdir}from'node:fs/promises';function a149_0x12bf(_0x2cf4d8,_0x5ec1ff){_0x2cf4d8=_0x2cf4d8-0xcd;const _0x16b0d2=a149_0x16b0();let _0x12bf54=_0x16b0d2[_0x2cf4d8];return _0x12bf54;}import{dirname,join,resolve}from'node:path';export function loadPageProjectConfig(_0x3662ac,_0x263610=process[a149_0x46d778(0xd7)]()){const _0x27ca92=a149_0x46d778,_0x20c6ed=resolve(_0x263610),_0x5e5eab=join(_0x20c6ed,_0x27ca92(0xcd),_0x27ca92(0xd3));return{'projectRoot':_0x20c6ed,'pagesBaseDir':_0x5e5eab,'appPagesDir':join(_0x5e5eab,_0x3662ac),'lockFilePath':join(_0x20c6ed,_0x27ca92(0xcd),_0x27ca92(0xda))};}export function buildPageFileName(_0x4258b2,_0x303c7e){const _0x1af550=a149_0x46d778;return _0x4258b2+'-'+String(_0x303c7e)[_0x1af550(0xdb)]()+_0x1af550(0xd1);}export function resolvePageFilePath(_0x4c504c,_0x40f253,_0x208037){const _0x274e42=a149_0x46d778;return join(_0x4c504c[_0x274e42(0xd8)],buildPageFileName(_0x40f253,_0x208037));}export async function ensureParentDirectory(_0x46779e){await mkdir(dirname(_0x46779e),{'recursive':!![]});}export async function fileExists(_0x51001d){const _0x57c1d5=a149_0x46d778;try{return await access(_0x51001d,constants[_0x57c1d5(0xd6)]),!![];}catch{return![];}}
1
+ const a149_0x332b0e=a149_0x1b48;(function(_0x51c059,_0x4b50cd){const _0x570a62=a149_0x1b48,_0x44268b=_0x51c059();while(!![]){try{const _0x56ac77=parseInt(_0x570a62(0x94))/0x1*(parseInt(_0x570a62(0x9e))/0x2)+-parseInt(_0x570a62(0xa1))/0x3*(-parseInt(_0x570a62(0x9d))/0x4)+parseInt(_0x570a62(0x9a))/0x5+-parseInt(_0x570a62(0x97))/0x6+-parseInt(_0x570a62(0x99))/0x7+-parseInt(_0x570a62(0xa0))/0x8*(-parseInt(_0x570a62(0x91))/0x9)+parseInt(_0x570a62(0x92))/0xa*(-parseInt(_0x570a62(0x9f))/0xb);if(_0x56ac77===_0x4b50cd)break;else _0x44268b['push'](_0x44268b['shift']());}catch(_0x37edab){_0x44268b['push'](_0x44268b['shift']());}}}(a149_0xf07d,0x58d25));import{constants}from'node:fs';import{access,mkdir}from'node:fs/promises';import{dirname,join,resolve}from'node:path';function a149_0x1b48(_0x18d1ab,_0x2eff4c){_0x18d1ab=_0x18d1ab-0x91;const _0xf07d0e=a149_0xf07d();let _0x1b486d=_0xf07d0e[_0x18d1ab];return _0x1b486d;}export function loadPageProjectConfig(_0x1487f4,_0x448ce1=process[a149_0x332b0e(0x98)]()){const _0x3e11bd=a149_0x332b0e,_0x219877=resolve(_0x448ce1),_0x4feb96=join(_0x219877,_0x3e11bd(0x93),_0x3e11bd(0x9b));return{'projectRoot':_0x219877,'pagesBaseDir':_0x4feb96,'appPagesDir':join(_0x4feb96,_0x1487f4),'lockFilePath':join(_0x219877,_0x3e11bd(0x93),'page.lock.json')};}function a149_0xf07d(){const _0x4143ea=['823823ESmeoV','8wgfHoF','3QqFSnC','2950632eNIpdO','10uHjpJP','.rabetbase','330363TEgytj','F_OK','.json','1769934qjNFMF','cwd','1524579OlkXZu','860870sDGyBD','page','toUpperCase','484428fLYQEq','2VRhObi'];a149_0xf07d=function(){return _0x4143ea;};return a149_0xf07d();}export function buildPageFileName(_0x14532e,_0x39b581){const _0x2efd9b=a149_0x332b0e;return _0x14532e+'-'+String(_0x39b581)[_0x2efd9b(0x9c)]()+_0x2efd9b(0x96);}export function resolvePageFilePath(_0x1189a0,_0x1147ca,_0x4e9611){return join(_0x1189a0['appPagesDir'],buildPageFileName(_0x1147ca,_0x4e9611));}export async function ensureParentDirectory(_0x5ce1e6){await mkdir(dirname(_0x5ce1e6),{'recursive':!![]});}export async function fileExists(_0x455f4b){const _0x18f9e9=a149_0x332b0e;try{return await access(_0x455f4b,constants[_0x18f9e9(0x95)]),!![];}catch{return![];}}
@@ -1 +1 @@
1
- (function(_0xe7d2e9,_0x59ee49){const _0x2cf602=a150_0x11a2,_0x2fa3df=_0xe7d2e9();while(!![]){try{const _0x21b26d=parseInt(_0x2cf602(0x18c))/0x1+parseInt(_0x2cf602(0x185))/0x2+parseInt(_0x2cf602(0x187))/0x3*(-parseInt(_0x2cf602(0x190))/0x4)+parseInt(_0x2cf602(0x18e))/0x5+-parseInt(_0x2cf602(0x18f))/0x6+-parseInt(_0x2cf602(0x186))/0x7*(parseInt(_0x2cf602(0x18a))/0x8)+parseInt(_0x2cf602(0x188))/0x9;if(_0x21b26d===_0x59ee49)break;else _0x2fa3df['push'](_0x2fa3df['shift']());}catch(_0xd64029){_0x2fa3df['push'](_0x2fa3df['shift']());}}}(a150_0x4c77,0x79c7c));import a150_0x845696 from'node:crypto';function a150_0x11a2(_0x27cbc4,_0x524f9d){_0x27cbc4=_0x27cbc4-0x184;const _0x4c773e=a150_0x4c77();let _0x11a2c3=_0x4c773e[_0x27cbc4];return _0x11a2c3;}import{readFile}from'node:fs/promises';export function serializePageSchemaForFile(_0x1099d8){const _0x30d051=a150_0x11a2;return JSON['stringify'](JSON[_0x30d051(0x18d)](_0x1099d8),null,0x2)+'\x0a';}export function computePageContentHash(_0x1ae7b5){const _0x5c7fb8=a150_0x11a2;return a150_0x845696[_0x5c7fb8(0x18b)](_0x5c7fb8(0x184))['update'](_0x1ae7b5)[_0x5c7fb8(0x189)]('hex');}function a150_0x4c77(){const _0x1be0ce=['createHash','603413qMrIUo','parse','4859930MXaevf','5451732ziYRhB','1678972brrMIO','md5','861314VFCYsB','4442921HmvJwI','6RjceTJ','7880103rvTtnV','digest','8oPlcAN'];a150_0x4c77=function(){return _0x1be0ce;};return a150_0x4c77();}export function computeSerializedSchemaHash(_0x1b3006){return computePageContentHash(serializePageSchemaForFile(_0x1b3006));}export async function computePageFileHash(_0xeab733){const _0x18455c=await readFile(_0xeab733,'utf8');return computePageContentHash(_0x18455c);}
1
+ (function(_0x75939d,_0x30a4ea){const _0x3d725d=a150_0x1690,_0x32a506=_0x75939d();while(!![]){try{const _0xefcf9d=-parseInt(_0x3d725d(0xac))/0x1*(parseInt(_0x3d725d(0xae))/0x2)+-parseInt(_0x3d725d(0xb3))/0x3*(-parseInt(_0x3d725d(0xb6))/0x4)+-parseInt(_0x3d725d(0xb2))/0x5+-parseInt(_0x3d725d(0xb7))/0x6+-parseInt(_0x3d725d(0xba))/0x7+-parseInt(_0x3d725d(0xad))/0x8+-parseInt(_0x3d725d(0xbb))/0x9*(-parseInt(_0x3d725d(0xbc))/0xa);if(_0xefcf9d===_0x30a4ea)break;else _0x32a506['push'](_0x32a506['shift']());}catch(_0x413f1d){_0x32a506['push'](_0x32a506['shift']());}}}(a150_0x73cc,0x3f391));import a150_0x35efd4 from'node:crypto';function a150_0x1690(_0x40cde5,_0x21cc3f){_0x40cde5=_0x40cde5-0xac;const _0x73cc2d=a150_0x73cc();let _0x169034=_0x73cc2d[_0x40cde5];return _0x169034;}import{readFile}from'node:fs/promises';export function serializePageSchemaForFile(_0x392a9c){const _0x1b2fe8=a150_0x1690;return JSON[_0x1b2fe8(0xaf)](JSON[_0x1b2fe8(0xb5)](_0x392a9c),null,0x2)+'\x0a';}export function computePageContentHash(_0x1c7fd4){const _0xd1a281=a150_0x1690;return a150_0x35efd4[_0xd1a281(0xb1)](_0xd1a281(0xb0))[_0xd1a281(0xb9)](_0x1c7fd4)['digest'](_0xd1a281(0xb4));}export function computeSerializedSchemaHash(_0x1b94e7){return computePageContentHash(serializePageSchemaForFile(_0x1b94e7));}export async function computePageFileHash(_0x1118db){const _0x4d1e3a=a150_0x1690,_0x420d08=await readFile(_0x1118db,_0x4d1e3a(0xb8));return computePageContentHash(_0x420d08);}function a150_0x73cc(){const _0x254d94=['172268dfobUP','stringify','md5','createHash','2414160PTwdET','6cePxIQ','hex','parse','184596wjMfgL','1964214iJnuJe','utf8','update','2631615YawTZG','129285afzbMn','1370zHAPiZ','2wByncZ','3543424ghkPjB'];a150_0x73cc=function(){return _0x254d94;};return a150_0x73cc();}
@@ -1 +1 @@
1
- function a151_0x1a10(_0x4e3eb7,_0x135d9a){_0x4e3eb7=_0x4e3eb7-0x16b;const _0x1ceece=a151_0x1cee();let _0x1a1003=_0x1ceece[_0x4e3eb7];return _0x1a1003;}(function(_0x28e436,_0x1e8d9f){const _0x42e89a=a151_0x1a10,_0x3e2e9d=_0x28e436();while(!![]){try{const _0x4ca541=parseInt(_0x42e89a(0x171))/0x1+-parseInt(_0x42e89a(0x178))/0x2*(-parseInt(_0x42e89a(0x170))/0x3)+-parseInt(_0x42e89a(0x174))/0x4*(-parseInt(_0x42e89a(0x17a))/0x5)+parseInt(_0x42e89a(0x177))/0x6*(parseInt(_0x42e89a(0x17b))/0x7)+-parseInt(_0x42e89a(0x172))/0x8*(-parseInt(_0x42e89a(0x173))/0x9)+-parseInt(_0x42e89a(0x16c))/0xa*(parseInt(_0x42e89a(0x17d))/0xb)+parseInt(_0x42e89a(0x16d))/0xc*(-parseInt(_0x42e89a(0x17c))/0xd);if(_0x4ca541===_0x1e8d9f)break;else _0x3e2e9d['push'](_0x3e2e9d['shift']());}catch(_0x5911fb){_0x3e2e9d['push'](_0x3e2e9d['shift']());}}}(a151_0x1cee,0x6c812));import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';export function createEmptyPageLock(){return{'apps':{}};}export function ensurePageLockScope(_0x128839,_0x3e673f){const _0x58dcf2=a151_0x1a10,_0x448a1e={'apps':_0x128839[_0x58dcf2(0x16b)]&&typeof _0x128839['apps']===_0x58dcf2(0x16f)?_0x128839[_0x58dcf2(0x16b)]:{}};let _0xd4bce0=_0x448a1e[_0x58dcf2(0x16b)][_0x3e673f];if(!_0xd4bce0)return _0xd4bce0={'lastSync':'','pages':{}},_0x448a1e[_0x58dcf2(0x16b)][_0x3e673f]=_0xd4bce0,{'lockData':_0x448a1e,'appLock':_0xd4bce0};return!_0xd4bce0[_0x58dcf2(0x180)]&&(_0xd4bce0[_0x58dcf2(0x180)]=''),(!_0xd4bce0['pages']||typeof _0xd4bce0['pages']!=='object')&&(_0xd4bce0[_0x58dcf2(0x175)]={}),{'lockData':_0x448a1e,'appLock':_0xd4bce0};}export async function readPageLockFile(_0x416ab4){const _0x3a4624=a151_0x1a10;try{const _0x119639=await readFile(_0x416ab4,_0x3a4624(0x179)),_0x52507=JSON['parse'](_0x119639);return{'apps':_0x52507['apps']&&typeof _0x52507[_0x3a4624(0x16b)]==='object'?_0x52507['apps']:{}};}catch(_0x3de732){if(_0x3de732[_0x3a4624(0x17e)]===_0x3a4624(0x17f))return null;throw new Error(_0x3a4624(0x16e)+String(_0x3de732));}}export async function writePageLockFile(_0x4bf9f1,_0x4df609){const _0x51acb2=a151_0x1a10;await mkdir(dirname(_0x4bf9f1),{'recursive':!![]}),await writeFile(_0x4bf9f1,JSON[_0x51acb2(0x176)](_0x4df609,null,0x2),_0x51acb2(0x179));}function a151_0x1cee(){const _0xfbeffe=['pages','stringify','17478nrqzzx','44MXwHZQ','utf8','133975qyWXrE','518fehwbO','2856451yFlxey','1485QStjMH','code','ENOENT','lastSync','apps','49010TOLNGy','24Ntzyge','Failed\x20to\x20read\x20page\x20lock\x20file:\x20','object','204JODGhL','375366QvUqqt','8DBUMfh','1584396pyITci','116FmvKPe'];a151_0x1cee=function(){return _0xfbeffe;};return a151_0x1cee();}
1
+ (function(_0xa0ef3e,_0x514a40){const _0x93d35d=a151_0x556b,_0x5bf4cf=_0xa0ef3e();while(!![]){try{const _0x34a5f0=-parseInt(_0x93d35d(0x73))/0x1+-parseInt(_0x93d35d(0x7a))/0x2+parseInt(_0x93d35d(0x78))/0x3*(-parseInt(_0x93d35d(0x6e))/0x4)+parseInt(_0x93d35d(0x76))/0x5+parseInt(_0x93d35d(0x72))/0x6*(-parseInt(_0x93d35d(0x74))/0x7)+-parseInt(_0x93d35d(0x6d))/0x8+-parseInt(_0x93d35d(0x71))/0x9*(-parseInt(_0x93d35d(0x70))/0xa);if(_0x34a5f0===_0x514a40)break;else _0x5bf4cf['push'](_0x5bf4cf['shift']());}catch(_0x5b6fd0){_0x5bf4cf['push'](_0x5bf4cf['shift']());}}}(a151_0x472f,0x9216b));import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';function a151_0x556b(_0x19c1c7,_0x42627a){_0x19c1c7=_0x19c1c7-0x6d;const _0x472f41=a151_0x472f();let _0x556ba1=_0x472f41[_0x19c1c7];return _0x556ba1;}export function createEmptyPageLock(){return{'apps':{}};}export function ensurePageLockScope(_0x58573b,_0x1ca413){const _0x15abaf=a151_0x556b,_0x4b9ae3={'apps':_0x58573b[_0x15abaf(0x7c)]&&typeof _0x58573b[_0x15abaf(0x7c)]==='object'?_0x58573b[_0x15abaf(0x7c)]:{}};let _0x4bb69b=_0x4b9ae3[_0x15abaf(0x7c)][_0x1ca413];if(!_0x4bb69b)return _0x4bb69b={'lastSync':'','pages':{}},_0x4b9ae3[_0x15abaf(0x7c)][_0x1ca413]=_0x4bb69b,{'lockData':_0x4b9ae3,'appLock':_0x4bb69b};return!_0x4bb69b['lastSync']&&(_0x4bb69b['lastSync']=''),(!_0x4bb69b[_0x15abaf(0x77)]||typeof _0x4bb69b['pages']!==_0x15abaf(0x79))&&(_0x4bb69b[_0x15abaf(0x77)]={}),{'lockData':_0x4b9ae3,'appLock':_0x4bb69b};}export async function readPageLockFile(_0x4b6144){const _0x149208=a151_0x556b;try{const _0x4a62c4=await readFile(_0x4b6144,_0x149208(0x7b)),_0x3974cf=JSON['parse'](_0x4a62c4);return{'apps':_0x3974cf[_0x149208(0x7c)]&&typeof _0x3974cf[_0x149208(0x7c)]==='object'?_0x3974cf[_0x149208(0x7c)]:{}};}catch(_0x3be696){if(_0x3be696['code']==='ENOENT')return null;throw new Error(_0x149208(0x6f)+String(_0x3be696));}}function a151_0x472f(){const _0x275143=['object','1233022Ludifj','utf8','apps','8622632BGDwut','4PqzMPE','Failed\x20to\x20read\x20page\x20lock\x20file:\x20','4999420VFQxap','36lixTlm','892686Pbruyr','487120gmseXA','7sGadLJ','stringify','5026435YtMgnA','pages','229305kioWXO'];a151_0x472f=function(){return _0x275143;};return a151_0x472f();}export async function writePageLockFile(_0x5f332e,_0x3bddde){const _0x21d153=a151_0x556b;await mkdir(dirname(_0x5f332e),{'recursive':!![]}),await writeFile(_0x5f332e,JSON[_0x21d153(0x75)](_0x3bddde,null,0x2),_0x21d153(0x7b));}
@@ -1 +1 @@
1
- function a153_0x3074(_0xb4fbed,_0x5e3b51){_0xb4fbed=_0xb4fbed-0x138;const _0x42df9e=a153_0x42df();let _0x307461=_0x42df9e[_0xb4fbed];return _0x307461;}const a153_0x41c798=a153_0x3074;(function(_0x259fa4,_0x1e1cd4){const _0x412983=a153_0x3074,_0x542075=_0x259fa4();while(!![]){try{const _0x311a82=parseInt(_0x412983(0x139))/0x1+parseInt(_0x412983(0x141))/0x2+-parseInt(_0x412983(0x145))/0x3*(-parseInt(_0x412983(0x13d))/0x4)+parseInt(_0x412983(0x13f))/0x5*(parseInt(_0x412983(0x140))/0x6)+parseInt(_0x412983(0x13b))/0x7*(parseInt(_0x412983(0x147))/0x8)+parseInt(_0x412983(0x142))/0x9*(-parseInt(_0x412983(0x138))/0xa)+-parseInt(_0x412983(0x144))/0xb*(-parseInt(_0x412983(0x13c))/0xc);if(_0x311a82===_0x1e1cd4)break;else _0x542075['push'](_0x542075['shift']());}catch(_0x24ae3d){_0x542075['push'](_0x542075['shift']());}}}(a153_0x42df,0x192e7));function a153_0x42df(){const _0x128b09=['120GJAIqE','33260XIqcry','sql-trash','13995JTRglH','144hYgXmK','134178HPGIqI','1660977aqBpmG','sql','132836LViUzy','9zhondz','sql.lock.json','336srITte','10kfRWdw','2140amjgTV','.rabetbase','931uqWyWx'];a153_0x42df=function(){return _0x128b09;};return a153_0x42df();}import{resolve}from'node:path';import{findProjectRootDirectory}from'../../context.js';const DOT_DIR=a153_0x41c798(0x13a),LOCK_FILE_NAME=a153_0x41c798(0x146),TRASH_DIR_NAME=a153_0x41c798(0x13e);export function loadSqlProjectConfig(_0x47eb6d,_0x488aec){const _0x1a914b=a153_0x41c798,_0x45112a=resolve(_0x488aec??findProjectRootDirectory()),_0x2cfc5a=DOT_DIR+'/sql',_0x3b7959=_0x2cfc5a+'/'+_0x47eb6d;return{'projectRoot':_0x45112a,'appCode':_0x47eb6d,'sqlWorkspaceRoot':_0x2cfc5a,'sqlRoot':_0x3b7959,'sqlRootDir':resolve(_0x45112a,DOT_DIR,_0x1a914b(0x143),_0x47eb6d),'lockFilePath':resolve(_0x45112a,DOT_DIR,LOCK_FILE_NAME),'trashDir':resolve(_0x45112a,DOT_DIR,TRASH_DIR_NAME)};}
1
+ function a153_0x43a2(){const _0x5c6dba=['sql.lock.json','1192zXMjbc','.rabetbase','104dfYeNR','18560FcoGkw','1065gVYszc','sql-trash','39534CZskOY','3531WAeUAk','149QxUklg','10110OrdnjP','55899PKUCSi','54015dZniPs','2277576mvnPIR','32461092qprugv'];a153_0x43a2=function(){return _0x5c6dba;};return a153_0x43a2();}const a153_0x54d7e5=a153_0x3a07;(function(_0x3f43bc,_0x596561){const _0xdc48f7=a153_0x3a07,_0x5c8149=_0x3f43bc();while(!![]){try{const _0xe44d4=-parseInt(_0xdc48f7(0x1de))/0x1*(parseInt(_0xdc48f7(0x1df))/0x2)+-parseInt(_0xdc48f7(0x1e1))/0x3*(parseInt(_0xdc48f7(0x1e7))/0x4)+parseInt(_0xdc48f7(0x1e9))/0x5*(-parseInt(_0xdc48f7(0x1dc))/0x6)+parseInt(_0xdc48f7(0x1e2))/0x7+parseInt(_0xdc48f7(0x1e5))/0x8*(parseInt(_0xdc48f7(0x1e0))/0x9)+-parseInt(_0xdc48f7(0x1e8))/0xa*(parseInt(_0xdc48f7(0x1dd))/0xb)+parseInt(_0xdc48f7(0x1e3))/0xc;if(_0xe44d4===_0x596561)break;else _0x5c8149['push'](_0x5c8149['shift']());}catch(_0x442a20){_0x5c8149['push'](_0x5c8149['shift']());}}}(a153_0x43a2,0xb386c));import{resolve}from'node:path';import{findProjectRootDirectory}from'../../context.js';function a153_0x3a07(_0x5f27fe,_0x45ce5b){_0x5f27fe=_0x5f27fe-0x1db;const _0x43a2cb=a153_0x43a2();let _0x3a07fe=_0x43a2cb[_0x5f27fe];return _0x3a07fe;}const DOT_DIR=a153_0x54d7e5(0x1e6),LOCK_FILE_NAME=a153_0x54d7e5(0x1e4),TRASH_DIR_NAME=a153_0x54d7e5(0x1db);export function loadSqlProjectConfig(_0x5906e9,_0x274d8c){const _0xbe65d8=resolve(_0x274d8c??findProjectRootDirectory()),_0x5b7436=DOT_DIR+'/sql',_0x53e108=_0x5b7436+'/'+_0x5906e9;return{'projectRoot':_0xbe65d8,'appCode':_0x5906e9,'sqlWorkspaceRoot':_0x5b7436,'sqlRoot':_0x53e108,'sqlRootDir':resolve(_0xbe65d8,DOT_DIR,'sql',_0x5906e9),'lockFilePath':resolve(_0xbe65d8,DOT_DIR,LOCK_FILE_NAME),'trashDir':resolve(_0xbe65d8,DOT_DIR,TRASH_DIR_NAME)};}
@@ -1 +1 @@
1
- (function(_0x15d4e7,_0x582183){const _0x5572cc=a154_0x222b,_0x147c30=_0x15d4e7();while(!![]){try{const _0x27d2f8=parseInt(_0x5572cc(0x15b))/0x1+parseInt(_0x5572cc(0x162))/0x2+-parseInt(_0x5572cc(0x14d))/0x3*(parseInt(_0x5572cc(0x167))/0x4)+-parseInt(_0x5572cc(0x14b))/0x5*(-parseInt(_0x5572cc(0x165))/0x6)+parseInt(_0x5572cc(0x157))/0x7+-parseInt(_0x5572cc(0x169))/0x8*(-parseInt(_0x5572cc(0x153))/0x9)+-parseInt(_0x5572cc(0x163))/0xa*(parseInt(_0x5572cc(0x155))/0xb);if(_0x27d2f8===_0x582183)break;else _0x147c30['push'](_0x147c30['shift']());}catch(_0x1f3334){_0x147c30['push'](_0x147c30['shift']());}}}(a154_0x2f38,0xf2e90));function a154_0x222b(_0x338e0b,_0x23f927){_0x338e0b=_0x338e0b-0x14b;const _0x2f38f3=a154_0x2f38();let _0x222bc0=_0x2f38f3[_0x338e0b];return _0x222bc0;}import{readdir,stat}from'node:fs/promises';import{extname,join,relative}from'node:path';import{buildDefaultSqlFileName,buildSqlRelativePath}from'./utils.js';function extensionToMode(_0x4058c2){const _0x2fc56a=a154_0x222b;if(_0x4058c2===_0x2fc56a(0x168))return _0x2fc56a(0x15e);if(_0x4058c2==='.xml')return _0x2fc56a(0x14c);return undefined;}async function scanSqlFilesRecursively(_0x2663f6,_0x1a7188){const _0x5b3066=a154_0x222b,_0x223be6=[];try{const _0xe6525a=await readdir(_0x2663f6,{'withFileTypes':!![]});for(const _0x506027 of _0xe6525a){const _0xe38aa6=join(_0x2663f6,_0x506027['name']);if(_0x506027['isDirectory']()){_0x223be6['push'](...await scanSqlFilesRecursively(_0xe38aa6,_0x1a7188));continue;}if(!_0x506027[_0x5b3066(0x16a)]())continue;const _0x54c8cd=extname(_0x506027['name'])['toLowerCase'](),_0x2b761a=extensionToMode(_0x54c8cd);if(!_0x2b761a)continue;const _0x49a5f3=relative(_0x1a7188,_0xe38aa6)[_0x5b3066(0x15a)](/\\/g,'/'),_0x45787e=_0x49a5f3[_0x5b3066(0x14f)]('/')[_0x5b3066(0x166)](Boolean),_0x1cb512=parseSqlPath(_0x45787e,_0x506027[_0x5b3066(0x154)],_0x54c8cd);if(!_0x1cb512)continue;_0x223be6[_0x5b3066(0x15d)]({'sqlCode':_0x1cb512[_0x5b3066(0x160)],'sqlName':_0x1cb512[_0x5b3066(0x156)],'dbDirectory':_0x45787e[0x0],'filePath':_0xe38aa6,'relativePath':_0x49a5f3,'lockKey':_0x1cb512['sqlCode'],'mode':_0x2b761a});}}catch(_0x38b684){if(_0x38b684[_0x5b3066(0x151)]!==_0x5b3066(0x164))throw _0x38b684;}return _0x223be6;}export async function scanLocalSqlQueries(_0x565725){const _0x30573a=a154_0x222b;return scanSqlFilesRecursively(_0x565725[_0x30573a(0x15f)],_0x565725[_0x30573a(0x15f)]);}function a154_0x2f38(){const _0x45ddde=['30041693ggkkjD','sqlName','8382486zBcoTj','dbName','dbId','replace','1945912oKvqMz','path','push','sql','sqlRootDir','sqlCode','test','3260184dUZPEY','10dRMtGB','ENOENT','6ZBxAsM','filter','616oBrFYC','.sql','8DgTOar','isFile','808975VqWlKp','mybatisXml','28230UmcrHk','mode','split','slice','code','length','2158794BevxRm','name'];a154_0x2f38=function(){return _0x45ddde;};return a154_0x2f38();}export function resolveLocalSqlFilePath(_0x5a6d41,_0x4a6666,_0x2a5426){const _0x2107c8=a154_0x222b,_0x4e8a3d=_0x2a5426?.[_0x2107c8(0x15c)]||(_0x2a5426?.[_0x2107c8(0x156)]||_0x2a5426?.[_0x2107c8(0x158)]?buildSqlRelativePath(_0x4a6666,_0x2a5426?.[_0x2107c8(0x156)],_0x2a5426?.[_0x2107c8(0x158)],_0x2a5426?.[_0x2107c8(0x14e)]||_0x2107c8(0x15e),_0x2a5426?.[_0x2107c8(0x159)]):buildDefaultSqlFileName(_0x4a6666,_0x2a5426?.['mode']||_0x2107c8(0x15e)));return join(_0x5a6d41['sqlRootDir'],_0x4e8a3d);}export async function directoryExists(_0x35e6d5){try{const _0x5bdeda=await stat(_0x35e6d5);return _0x5bdeda['isDirectory']();}catch{return![];}}function parseSqlPath(_0xeedbcd,_0x4243e8,_0x2b9e8a){const _0x23e9c7=a154_0x222b,_0x57fa40=_0x4243e8['slice'](0x0,-_0x2b9e8a[_0x23e9c7(0x152)]);if(_0xeedbcd[_0x23e9c7(0x152)]<0x2)return null;const _0x3b30f2=_0x57fa40['indexOf']('_');if(_0x3b30f2<=0x0||_0x3b30f2>=_0x57fa40[_0x23e9c7(0x152)]-0x1)return null;const _0x593413=_0x57fa40[_0x23e9c7(0x150)](0x0,_0x3b30f2);if(!isLikelySqlCode(_0x593413))return null;return{'sqlCode':_0x593413,'sqlName':_0x57fa40[_0x23e9c7(0x150)](_0x3b30f2+0x1)};}function isLikelySqlCode(_0x4d97d1){const _0x1b4091=a154_0x222b;return/^[A-Za-z0-9-]+-[A-Za-z0-9-]+$/[_0x1b4091(0x161)](_0x4d97d1);}
1
+ function a154_0x51c4(_0x2d573b,_0x5bff7b){_0x2d573b=_0x2d573b-0x1cd;const _0x26a6ee=a154_0x26a6();let _0x51c47d=_0x26a6ee[_0x2d573b];return _0x51c47d;}(function(_0x23f991,_0xdfc19d){const _0x18c96e=a154_0x51c4,_0xc41708=_0x23f991();while(!![]){try{const _0x265ce5=parseInt(_0x18c96e(0x1d7))/0x1*(parseInt(_0x18c96e(0x1de))/0x2)+parseInt(_0x18c96e(0x1ee))/0x3*(parseInt(_0x18c96e(0x1e6))/0x4)+parseInt(_0x18c96e(0x1d5))/0x5*(-parseInt(_0x18c96e(0x1ea))/0x6)+-parseInt(_0x18c96e(0x1cf))/0x7+parseInt(_0x18c96e(0x1db))/0x8*(parseInt(_0x18c96e(0x1da))/0x9)+-parseInt(_0x18c96e(0x1ed))/0xa+-parseInt(_0x18c96e(0x1d0))/0xb;if(_0x265ce5===_0xdfc19d)break;else _0xc41708['push'](_0xc41708['shift']());}catch(_0x4c71f2){_0xc41708['push'](_0xc41708['shift']());}}}(a154_0x26a6,0xa217d));import{readdir,stat}from'node:fs/promises';import{extname,join,relative}from'node:path';import{buildDefaultSqlFileName,buildSqlRelativePath}from'./utils.js';function a154_0x26a6(){const _0x4639b5=['name','sqlRootDir','815560dLZoBG','1640292gmRXdI','code','sqlCode','length','3144127pjYOuf','6051815nHDpjI','.xml','.sql','test','isFile','385rosQZa','slice','187515aTixsF','split','dbId','3186zTdQRy','24008ZkPagL','path','ENOENT','10IJZvqa','isDirectory','replace','toLowerCase','indexOf','sqlName','push','filter','4mpkEtr','mybatisXml','dbName','sql','62484FBWYLc'];a154_0x26a6=function(){return _0x4639b5;};return a154_0x26a6();}function extensionToMode(_0x35894d){const _0x654cdd=a154_0x51c4;if(_0x35894d===_0x654cdd(0x1d2))return _0x654cdd(0x1e9);if(_0x35894d===_0x654cdd(0x1d1))return _0x654cdd(0x1e7);return undefined;}async function scanSqlFilesRecursively(_0x179990,_0x14240f){const _0x49da0a=a154_0x51c4,_0x1a64c7=[];try{const _0x27f581=await readdir(_0x179990,{'withFileTypes':!![]});for(const _0x390523 of _0x27f581){const _0x253af3=join(_0x179990,_0x390523[_0x49da0a(0x1eb)]);if(_0x390523['isDirectory']()){_0x1a64c7[_0x49da0a(0x1e4)](...await scanSqlFilesRecursively(_0x253af3,_0x14240f));continue;}if(!_0x390523[_0x49da0a(0x1d4)]())continue;const _0x2bc9e5=extname(_0x390523['name'])[_0x49da0a(0x1e1)](),_0x3b7a06=extensionToMode(_0x2bc9e5);if(!_0x3b7a06)continue;const _0x199afa=relative(_0x14240f,_0x253af3)[_0x49da0a(0x1e0)](/\\/g,'/'),_0x4d07ad=_0x199afa[_0x49da0a(0x1d8)]('/')[_0x49da0a(0x1e5)](Boolean),_0x49d245=parseSqlPath(_0x4d07ad,_0x390523[_0x49da0a(0x1eb)],_0x2bc9e5);if(!_0x49d245)continue;_0x1a64c7[_0x49da0a(0x1e4)]({'sqlCode':_0x49d245['sqlCode'],'sqlName':_0x49d245[_0x49da0a(0x1e3)],'dbDirectory':_0x4d07ad[0x0],'filePath':_0x253af3,'relativePath':_0x199afa,'lockKey':_0x49d245[_0x49da0a(0x1cd)],'mode':_0x3b7a06});}}catch(_0x4cf1df){if(_0x4cf1df[_0x49da0a(0x1ef)]!==_0x49da0a(0x1dd))throw _0x4cf1df;}return _0x1a64c7;}export async function scanLocalSqlQueries(_0x10e876){const _0x1908fb=a154_0x51c4;return scanSqlFilesRecursively(_0x10e876[_0x1908fb(0x1ec)],_0x10e876['sqlRootDir']);}export function resolveLocalSqlFilePath(_0x39fa67,_0x4506a6,_0x590256){const _0x4fba3c=a154_0x51c4,_0x2ed9b9=_0x590256?.[_0x4fba3c(0x1dc)]||(_0x590256?.[_0x4fba3c(0x1e3)]||_0x590256?.[_0x4fba3c(0x1e8)]?buildSqlRelativePath(_0x4506a6,_0x590256?.[_0x4fba3c(0x1e3)],_0x590256?.[_0x4fba3c(0x1e8)],_0x590256?.['mode']||_0x4fba3c(0x1e9),_0x590256?.[_0x4fba3c(0x1d9)]):buildDefaultSqlFileName(_0x4506a6,_0x590256?.['mode']||_0x4fba3c(0x1e9)));return join(_0x39fa67[_0x4fba3c(0x1ec)],_0x2ed9b9);}export async function directoryExists(_0x2ad9b4){const _0x31b5ad=a154_0x51c4;try{const _0x2ccad4=await stat(_0x2ad9b4);return _0x2ccad4[_0x31b5ad(0x1df)]();}catch{return![];}}function parseSqlPath(_0x4f24e3,_0x31ed5a,_0xfb2d4c){const _0xea124e=a154_0x51c4,_0x5ad9b1=_0x31ed5a[_0xea124e(0x1d6)](0x0,-_0xfb2d4c[_0xea124e(0x1ce)]);if(_0x4f24e3[_0xea124e(0x1ce)]<0x2)return null;const _0x150a1c=_0x5ad9b1[_0xea124e(0x1e2)]('_');if(_0x150a1c<=0x0||_0x150a1c>=_0x5ad9b1[_0xea124e(0x1ce)]-0x1)return null;const _0x451fc4=_0x5ad9b1[_0xea124e(0x1d6)](0x0,_0x150a1c);if(!isLikelySqlCode(_0x451fc4))return null;return{'sqlCode':_0x451fc4,'sqlName':_0x5ad9b1[_0xea124e(0x1d6)](_0x150a1c+0x1)};}function isLikelySqlCode(_0xfb3df){const _0x138ebc=a154_0x51c4;return/^[A-Za-z0-9-]+-[A-Za-z0-9-]+$/[_0x138ebc(0x1d3)](_0xfb3df);}
@@ -1 +1 @@
1
- function a155_0x49b6(){const _0x5a0baa=['9187304HZMBEb','2270218PKOPRq','1xzoZmH','utf8','5615erAtgv','hex','createHash','6GFajeX','13340144RkBwtV','2636SqbfZG','md5','278146fRTocg','3604365jHAlaO','12894417MtKhKT','430CGIBiS','update'];a155_0x49b6=function(){return _0x5a0baa;};return a155_0x49b6();}function a155_0x5d0d(_0x1b1c3d,_0x1e5e93){_0x1b1c3d=_0x1b1c3d-0x126;const _0x49b6cd=a155_0x49b6();let _0x5d0d66=_0x49b6cd[_0x1b1c3d];return _0x5d0d66;}(function(_0xb8d12f,_0x6851d0){const _0x594977=a155_0x5d0d,_0x168cc1=_0xb8d12f();while(!![]){try{const _0x4cf069=parseInt(_0x594977(0x133))/0x1*(parseInt(_0x594977(0x132))/0x2)+parseInt(_0x594977(0x12d))/0x3+-parseInt(_0x594977(0x12a))/0x4*(-parseInt(_0x594977(0x135))/0x5)+-parseInt(_0x594977(0x128))/0x6*(parseInt(_0x594977(0x131))/0x7)+parseInt(_0x594977(0x129))/0x8+-parseInt(_0x594977(0x12e))/0x9+parseInt(_0x594977(0x12f))/0xa*(-parseInt(_0x594977(0x12c))/0xb);if(_0x4cf069===_0x6851d0)break;else _0x168cc1['push'](_0x168cc1['shift']());}catch(_0x19d75d){_0x168cc1['push'](_0x168cc1['shift']());}}}(a155_0x49b6,0xde928));import{readFile}from'node:fs/promises';import a155_0x55e5cc from'node:crypto';export function computeSqlContentHash(_0x2d5295){const _0x3f2416=a155_0x5d0d;return a155_0x55e5cc[_0x3f2416(0x127)](_0x3f2416(0x12b))[_0x3f2416(0x130)](_0x2d5295)['digest'](_0x3f2416(0x126));}export async function computeSqlFileHash(_0x1a6585){const _0x30c723=a155_0x5d0d,_0x269508=await readFile(_0x1a6585,_0x30c723(0x134));return computeSqlContentHash(_0x269508);}
1
+ (function(_0xf5b8ea,_0x1ac7e7){const _0x50a27f=a155_0x4e71,_0x3d8a4b=_0xf5b8ea();while(!![]){try{const _0x54fa1b=-parseInt(_0x50a27f(0xc8))/0x1+parseInt(_0x50a27f(0xc7))/0x2+parseInt(_0x50a27f(0xc5))/0x3*(-parseInt(_0x50a27f(0xbc))/0x4)+-parseInt(_0x50a27f(0xc0))/0x5+-parseInt(_0x50a27f(0xc2))/0x6+-parseInt(_0x50a27f(0xbf))/0x7+parseInt(_0x50a27f(0xc4))/0x8;if(_0x54fa1b===_0x1ac7e7)break;else _0x3d8a4b['push'](_0x3d8a4b['shift']());}catch(_0x2b324d){_0x3d8a4b['push'](_0x3d8a4b['shift']());}}}(a155_0x1a4c,0xf0f85));function a155_0x4e71(_0x22408d,_0x402e81){_0x22408d=_0x22408d-0xbc;const _0x1a4cca=a155_0x1a4c();let _0x4e71a3=_0x1a4cca[_0x22408d];return _0x4e71a3;}function a155_0x1a4c(){const _0x5ec6a2=['utf8','7022820VoMKVF','hex','36731616vDATZO','291YVXEZT','md5','2006422hqQyqy','1078513aYzfxV','9336XsZLJO','digest','update','11051789jEcdfU','2767210ONVPCz'];a155_0x1a4c=function(){return _0x5ec6a2;};return a155_0x1a4c();}import{readFile}from'node:fs/promises';import a155_0x20b8d5 from'node:crypto';export function computeSqlContentHash(_0x3d3630){const _0x2e6e7f=a155_0x4e71;return a155_0x20b8d5['createHash'](_0x2e6e7f(0xc6))[_0x2e6e7f(0xbe)](_0x3d3630)[_0x2e6e7f(0xbd)](_0x2e6e7f(0xc3));}export async function computeSqlFileHash(_0x1d973b){const _0x502aef=a155_0x4e71,_0x4da7c3=await readFile(_0x1d973b,_0x502aef(0xc1));return computeSqlContentHash(_0x4da7c3);}
@@ -1 +1 @@
1
- (function(_0x284a18,_0x24b432){const _0x2f7706=a156_0x36c8,_0x4c83dd=_0x284a18();while(!![]){try{const _0x59de8e=parseInt(_0x2f7706(0xa4))/0x1*(-parseInt(_0x2f7706(0xa3))/0x2)+parseInt(_0x2f7706(0x90))/0x3*(parseInt(_0x2f7706(0xa0))/0x4)+-parseInt(_0x2f7706(0x9c))/0x5*(parseInt(_0x2f7706(0x8e))/0x6)+parseInt(_0x2f7706(0x8d))/0x7+-parseInt(_0x2f7706(0x92))/0x8*(-parseInt(_0x2f7706(0x8f))/0x9)+parseInt(_0x2f7706(0x99))/0xa+-parseInt(_0x2f7706(0xa1))/0xb;if(_0x59de8e===_0x24b432)break;else _0x4c83dd['push'](_0x4c83dd['shift']());}catch(_0x301099){_0x4c83dd['push'](_0x4c83dd['shift']());}}}(a156_0x17e4,0x277f0));import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';export function createEmptySqlLock(){return{'apps':{}};}function a156_0x36c8(_0x3800df,_0x5beca1){_0x3800df=_0x3800df-0x8d;const _0x17e48e=a156_0x17e4();let _0x36c830=_0x17e48e[_0x3800df];return _0x36c830;}function a156_0x17e4(){const _0x1f866a=['apps','sqls','5OgwvKJ','\x22\x20vs\x20lock\x20\x22','parse','sqlRoot','1316bwDuwe','3782680swfzbS','Check\x20.rabetbase/sql.lock.json\x20or\x20operate\x20from\x20the\x20correct\x20project\x20directory.','242906dksNcd','1xuiYNJ','lastSync','1871520UyZslz','377466McSWRG','45mhfduE','2229dHoubq','stringify','264720vBATjT','utf8','ENOENT','code','\x22.\x20','Failed\x20to\x20read\x20SQL\x20lock\x20file:\x20',':\x20sqlRoot\x20mismatch\x20—\x20current\x20\x22','127630shNUmq'];a156_0x17e4=function(){return _0x1f866a;};return a156_0x17e4();}export function ensureSqlLockScope(_0x3e5320,_0x4dc146,_0x2fe9fc,_0x25c61d){const _0x2cb53c=a156_0x36c8,_0x1ae983=_0x3e5320??createEmptySqlLock();let _0x168d83=_0x1ae983[_0x2cb53c(0x9a)][_0x4dc146];if(!_0x168d83)return _0x168d83={'sqlRoot':_0x2fe9fc,'lastSync':'','sqls':{}},_0x1ae983[_0x2cb53c(0x9a)][_0x4dc146]=_0x168d83,{'lockData':_0x1ae983,'appLock':_0x168d83};if(!_0x168d83[_0x2cb53c(0x9f)])_0x168d83[_0x2cb53c(0x9f)]=_0x2fe9fc;else{if(_0x168d83['sqlRoot']!==_0x2fe9fc)throw new Error(_0x25c61d+_0x2cb53c(0x98)+_0x2fe9fc+_0x2cb53c(0x9d)+_0x168d83[_0x2cb53c(0x9f)]+_0x2cb53c(0x96)+_0x2cb53c(0xa2));}return!_0x168d83[_0x2cb53c(0x9b)]&&(_0x168d83['sqls']={}),!_0x168d83[_0x2cb53c(0xa5)]&&(_0x168d83[_0x2cb53c(0xa5)]=''),{'lockData':_0x1ae983,'appLock':_0x168d83};}export async function readSqlLockFile(_0x35e525){const _0x4876db=a156_0x36c8;try{const _0x40f0cf=await readFile(_0x35e525,_0x4876db(0x93));return JSON[_0x4876db(0x9e)](_0x40f0cf);}catch(_0x5cc5a8){if(_0x5cc5a8[_0x4876db(0x95)]===_0x4876db(0x94))return null;throw new Error(_0x4876db(0x97)+String(_0x5cc5a8));}}export async function writeSqlLockFile(_0x3af18d,_0x2cf1a7){const _0x38324a=a156_0x36c8;await mkdir(dirname(_0x3af18d),{'recursive':!![]}),await writeFile(_0x3af18d,JSON[_0x38324a(0x91)](_0x2cf1a7,null,0x2),'utf8');}
1
+ (function(_0x3c12cc,_0x3fc3e2){const _0x2e6b40=a156_0x3e4d,_0x4c2dfb=_0x3c12cc();while(!![]){try{const _0x3248cd=parseInt(_0x2e6b40(0x82))/0x1*(parseInt(_0x2e6b40(0x8d))/0x2)+parseInt(_0x2e6b40(0x84))/0x3*(parseInt(_0x2e6b40(0x80))/0x4)+parseInt(_0x2e6b40(0x81))/0x5*(-parseInt(_0x2e6b40(0x88))/0x6)+-parseInt(_0x2e6b40(0x89))/0x7*(parseInt(_0x2e6b40(0x7c))/0x8)+-parseInt(_0x2e6b40(0x77))/0x9*(parseInt(_0x2e6b40(0x78))/0xa)+parseInt(_0x2e6b40(0x7b))/0xb*(-parseInt(_0x2e6b40(0x7d))/0xc)+-parseInt(_0x2e6b40(0x85))/0xd*(-parseInt(_0x2e6b40(0x86))/0xe);if(_0x3248cd===_0x3fc3e2)break;else _0x4c2dfb['push'](_0x4c2dfb['shift']());}catch(_0x36da36){_0x4c2dfb['push'](_0x4c2dfb['shift']());}}}(a156_0x310d,0xb0b35));import{mkdir,readFile,writeFile}from'node:fs/promises';function a156_0x310d(){const _0x465c0e=['7TOaVwp','utf8','code','Failed\x20to\x20read\x20SQL\x20lock\x20file:\x20','126zZLoko','sqls','162bMyGiv','440310fpfsjg','lastSync','stringify','1474kTuWEr','4604736vVmSxL','30264dLXHMp','parse','sqlRoot','91644WQogEN','5727965uQQZJw','2567ATJbzi','apps','117KZsOlw','2520206dbKrEQ','182GLdDCI','Check\x20.rabetbase/sql.lock.json\x20or\x20operate\x20from\x20the\x20correct\x20project\x20directory.','6yYuedS'];a156_0x310d=function(){return _0x465c0e;};return a156_0x310d();}import{dirname}from'node:path';export function createEmptySqlLock(){return{'apps':{}};}export function ensureSqlLockScope(_0x52b0b4,_0x30d012,_0x3b9dc1,_0xc05a93){const _0x2f9641=a156_0x3e4d,_0x41b6f8=_0x52b0b4??createEmptySqlLock();let _0x183457=_0x41b6f8[_0x2f9641(0x83)][_0x30d012];if(!_0x183457)return _0x183457={'sqlRoot':_0x3b9dc1,'lastSync':'','sqls':{}},_0x41b6f8[_0x2f9641(0x83)][_0x30d012]=_0x183457,{'lockData':_0x41b6f8,'appLock':_0x183457};if(!_0x183457[_0x2f9641(0x7f)])_0x183457[_0x2f9641(0x7f)]=_0x3b9dc1;else{if(_0x183457[_0x2f9641(0x7f)]!==_0x3b9dc1)throw new Error(_0xc05a93+':\x20sqlRoot\x20mismatch\x20—\x20current\x20\x22'+_0x3b9dc1+'\x22\x20vs\x20lock\x20\x22'+_0x183457['sqlRoot']+'\x22.\x20'+_0x2f9641(0x87));}return!_0x183457['sqls']&&(_0x183457[_0x2f9641(0x76)]={}),!_0x183457[_0x2f9641(0x79)]&&(_0x183457[_0x2f9641(0x79)]=''),{'lockData':_0x41b6f8,'appLock':_0x183457};}export async function readSqlLockFile(_0x15a5ca){const _0x3d63a4=a156_0x3e4d;try{const _0x5b9420=await readFile(_0x15a5ca,'utf8');return JSON[_0x3d63a4(0x7e)](_0x5b9420);}catch(_0x54f4fe){if(_0x54f4fe[_0x3d63a4(0x8b)]==='ENOENT')return null;throw new Error(_0x3d63a4(0x8c)+String(_0x54f4fe));}}function a156_0x3e4d(_0x1eea82,_0x3e5cc3){_0x1eea82=_0x1eea82-0x76;const _0x310d37=a156_0x310d();let _0x3e4dfa=_0x310d37[_0x1eea82];return _0x3e4dfa;}export async function writeSqlLockFile(_0x30eb74,_0x2305eb){const _0x2423ba=a156_0x3e4d;await mkdir(dirname(_0x30eb74),{'recursive':!![]}),await writeFile(_0x30eb74,JSON[_0x2423ba(0x7a)](_0x2305eb,null,0x2),_0x2423ba(0x8a));}
@@ -1 +1 @@
1
- (function(_0x548598,_0x11af10){const _0x5f3cd5=a158_0x5d13,_0x3d321e=_0x548598();while(!![]){try{const _0x475867=parseInt(_0x5f3cd5(0xf3))/0x1+-parseInt(_0x5f3cd5(0xef))/0x2*(-parseInt(_0x5f3cd5(0xfa))/0x3)+-parseInt(_0x5f3cd5(0xf7))/0x4*(-parseInt(_0x5f3cd5(0xe9))/0x5)+parseInt(_0x5f3cd5(0xee))/0x6*(parseInt(_0x5f3cd5(0xfb))/0x7)+parseInt(_0x5f3cd5(0xea))/0x8*(parseInt(_0x5f3cd5(0xf9))/0x9)+parseInt(_0x5f3cd5(0xf6))/0xa*(parseInt(_0x5f3cd5(0xf5))/0xb)+-parseInt(_0x5f3cd5(0xf4))/0xc;if(_0x475867===_0x11af10)break;else _0x3d321e['push'](_0x3d321e['shift']());}catch(_0x5b40c5){_0x3d321e['push'](_0x3d321e['shift']());}}}(a158_0xa7cf,0x777e7));export function detectSqlMode(_0x42b009){const _0x3c6546=a158_0x5d13,_0x52e633=_0x42b009[_0x3c6546(0xed)]();if(/^<(select|insert|update|delete)\b/i[_0x3c6546(0xeb)](_0x52e633))return'mybatisXml';return _0x3c6546(0xf0);}export function getSqlFileExtension(_0x1de64f){const _0x3f5cd7=a158_0x5d13;return _0x1de64f===_0x3f5cd7(0xf8)?'.xml':_0x3f5cd7(0xf2);}export function buildDefaultSqlFileName(_0x4b31b6,_0x11f2d6){return''+_0x4b31b6+getSqlFileExtension(_0x11f2d6);}export function sanitizeSqlPathSegment(_0x38ad09,_0x539e18){const _0x23f245=a158_0x5d13,_0x1a2dea=String(_0x38ad09??'')['trim'](),_0x87b31b=_0x1a2dea[_0x23f245(0xe8)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')['replace'](/\s+/g,'-')[_0x23f245(0xe8)](/-+/g,'-')[_0x23f245(0xe8)](/^\.+/,'')[_0x23f245(0xe8)](/\.+$/,'')[_0x23f245(0xe8)](/^-+/,'')['replace'](/-+$/,'');return _0x87b31b||_0x539e18;}export function buildDbDirectoryName(_0x36f430,_0x1d4318){const _0x5cb2c6=a158_0x5d13;return sanitizeSqlPathSegment(_0x36f430,_0x1d4318!=null?_0x5cb2c6(0xf1)+_0x1d4318:'unknown-db');}function a158_0x5d13(_0x5d68cf,_0x49f35f){_0x5d68cf=_0x5d68cf-0xe8;const _0xa7cf0d=a158_0xa7cf();let _0x5d1370=_0xa7cf0d[_0x5d68cf];return _0x5d1370;}export function buildSqlRelativePath(_0x10de7b,_0xb28ab5,_0x4d755d,_0x1f5270,_0x52adba){const _0x3308ff=a158_0x5d13,_0x56e6e4=buildDbDirectoryName(_0x4d755d,_0x52adba),_0x4fd77e=sanitizeSqlPathSegment(_0x10de7b,_0x3308ff(0xec)),_0x2f9208=sanitizeSqlPathSegment(_0xb28ab5,_0x4fd77e);return _0x56e6e4+'/'+_0x4fd77e+'_'+_0x2f9208+getSqlFileExtension(_0x1f5270);}function a158_0xa7cf(){const _0x4f65a5=['13644tmlqwa','mybatisXml','36RRfJWz','183rFcUam','15323mZFmGA','replace','815JLnIWy','1069936xApEfx','test','unknown-sql','trimStart','582UlpPMA','29098sizssK','sql','db-','.sql','418376QWxIXR','27350184zCOZzV','110KROyOZ','159470MHwcWy'];a158_0xa7cf=function(){return _0x4f65a5;};return a158_0xa7cf();}
1
+ (function(_0x437fb0,_0x493474){const _0xffa27d=a158_0x4c29,_0x4975de=_0x437fb0();while(!![]){try{const _0x2150d7=-parseInt(_0xffa27d(0x1d9))/0x1*(parseInt(_0xffa27d(0x1da))/0x2)+parseInt(_0xffa27d(0x1cd))/0x3*(-parseInt(_0xffa27d(0x1db))/0x4)+-parseInt(_0xffa27d(0x1de))/0x5+-parseInt(_0xffa27d(0x1d2))/0x6*(parseInt(_0xffa27d(0x1d4))/0x7)+parseInt(_0xffa27d(0x1ce))/0x8+-parseInt(_0xffa27d(0x1d1))/0x9+parseInt(_0xffa27d(0x1dc))/0xa;if(_0x2150d7===_0x493474)break;else _0x4975de['push'](_0x4975de['shift']());}catch(_0x3b1699){_0x4975de['push'](_0x4975de['shift']());}}}(a158_0x5856,0xc4bff));export function detectSqlMode(_0x46c8a3){const _0x41e61f=a158_0x4c29,_0x1c1d13=_0x46c8a3[_0x41e61f(0x1d6)]();if(/^<(select|insert|update|delete)\b/i['test'](_0x1c1d13))return'mybatisXml';return _0x41e61f(0x1d0);}export function getSqlFileExtension(_0x599431){const _0x37f017=a158_0x4c29;return _0x599431===_0x37f017(0x1dd)?_0x37f017(0x1d5):_0x37f017(0x1d8);}function a158_0x4c29(_0x353929,_0x46e1b2){_0x353929=_0x353929-0x1cc;const _0x585693=a158_0x5856();let _0x4c2951=_0x585693[_0x353929];return _0x4c2951;}export function buildDefaultSqlFileName(_0x5765b7,_0x303ab7){return''+_0x5765b7+getSqlFileExtension(_0x303ab7);}export function sanitizeSqlPathSegment(_0x496696,_0x375e8a){const _0x1eeb34=a158_0x4c29,_0x5a0dcc=String(_0x496696??'')['trim'](),_0x26d310=_0x5a0dcc[_0x1eeb34(0x1d3)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x1eeb34(0x1d3)](/\s+/g,'-')['replace'](/-+/g,'-')[_0x1eeb34(0x1d3)](/^\.+/,'')[_0x1eeb34(0x1d3)](/\.+$/,'')[_0x1eeb34(0x1d3)](/^-+/,'')[_0x1eeb34(0x1d3)](/-+$/,'');return _0x26d310||_0x375e8a;}export function buildDbDirectoryName(_0x24f9b5,_0x1ccf4d){const _0x132a6c=a158_0x4c29;return sanitizeSqlPathSegment(_0x24f9b5,_0x1ccf4d!=null?_0x132a6c(0x1cf)+_0x1ccf4d:_0x132a6c(0x1d7));}export function buildSqlRelativePath(_0x4efadc,_0x30f8a2,_0x2c4f05,_0x3823f4,_0x102f8a){const _0x33996a=a158_0x4c29,_0x14a3fc=buildDbDirectoryName(_0x2c4f05,_0x102f8a),_0x7f4072=sanitizeSqlPathSegment(_0x4efadc,_0x33996a(0x1cc)),_0x1ea7a5=sanitizeSqlPathSegment(_0x30f8a2,_0x7f4072);return _0x14a3fc+'/'+_0x7f4072+'_'+_0x1ea7a5+getSqlFileExtension(_0x3823f4);}function a158_0x5856(){const _0x4f1e1e=['4hxsQFl','42054640eSThAz','mybatisXml','2836625FvlzFu','unknown-sql','1576311UahVLE','7038224iHldMa','db-','sql','10099449syFIPW','6HqpUaG','replace','4026071ThpAFr','.xml','trimStart','unknown-db','.sql','1489279hvvhYY','2rVRjOP'];a158_0x5856=function(){return _0x4f1e1e;};return a158_0x5856();}
@@ -1 +1 @@
1
- (function(_0xd34cd6,_0x327e85){const _0x27114b=a159_0x2020,_0x416b08=_0xd34cd6();while(!![]){try{const _0x4ba197=-parseInt(_0x27114b(0x7f))/0x1*(-parseInt(_0x27114b(0x90))/0x2)+parseInt(_0x27114b(0x8d))/0x3*(-parseInt(_0x27114b(0x73))/0x4)+parseInt(_0x27114b(0x85))/0x5*(parseInt(_0x27114b(0x80))/0x6)+-parseInt(_0x27114b(0x79))/0x7*(-parseInt(_0x27114b(0x86))/0x8)+-parseInt(_0x27114b(0x6e))/0x9+-parseInt(_0x27114b(0x8b))/0xa+-parseInt(_0x27114b(0x8f))/0xb*(-parseInt(_0x27114b(0x78))/0xc);if(_0x4ba197===_0x327e85)break;else _0x416b08['push'](_0x416b08['shift']());}catch(_0x19c5cf){_0x416b08['push'](_0x416b08['shift']());}}}(a159_0x277c,0x4305c));export function detectSqlType(_0x418722){const _0x353ae5=a159_0x2020;if(!_0x418722?.[_0x353ae5(0x93)]())return{'type':_0x353ae5(0x84),'isSelectOnly':![],'isDangerous':![],'reason':_0x353ae5(0x7c)};const _0x41d07e=_0x418722[_0x353ae5(0x8a)](/#\{[^}]*\}/g,'?')[_0x353ae5(0x8a)](/\$\{[^}]*\}/g,'?')[_0x353ae5(0x8a)](/@[^(\s]+(\([^)]*\))?/g,'')[_0x353ae5(0x8a)](/\/\*[\s\S]*?\*\//g,'')['trim'](),_0x667af6=_0x41d07e[_0x353ae5(0x81)]('\x0a');let _0x3136f1='';for(const _0x41d2d0 of _0x667af6){const _0x5458f6=_0x41d2d0['trim']();if(!_0x5458f6||_0x5458f6[_0x353ae5(0x8e)]('--')||_0x5458f6['startsWith']('/*'))continue;_0x3136f1=_0x5458f6;break;}const _0x2dccc5=_0x3136f1['toUpperCase']();if(_0x2dccc5[_0x353ae5(0x8e)]('SELECT')||_0x2dccc5[_0x353ae5(0x8e)]('WITH')){const _0x4e160e=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i['test'](_0x41d07e);return{'type':_0x353ae5(0x91),'isSelectOnly':!_0x4e160e,'isDangerous':_0x4e160e,'reason':_0x4e160e?_0x353ae5(0x74):undefined};}if(_0x2dccc5[_0x353ae5(0x8e)](_0x353ae5(0x76)))return{'type':_0x353ae5(0x76),'isSelectOnly':![],'isDangerous':![]};if(_0x2dccc5[_0x353ae5(0x8e)]('UPDATE'))return{'type':_0x353ae5(0x88),'isSelectOnly':![],'isDangerous':![]};if(_0x2dccc5['startsWith']('DELETE'))return{'type':_0x353ae5(0x71),'isSelectOnly':![],'isDangerous':!![],'reason':'DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save'};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x353ae5(0x75)](_0x2dccc5))return{'type':'DDL','isSelectOnly':![],'isDangerous':!![],'reason':_0x353ae5(0x6f)};return{'type':_0x353ae5(0x84),'isSelectOnly':![],'isDangerous':![]};}function extractTables(_0x42d8dc){const _0xe5fe27=a159_0x2020,_0xbdee89=_0x42d8dc['replace'](/#\{[^}]*\}/g,'?')[_0xe5fe27(0x8a)](/\$\{[^}]*\}/g,'?')[_0xe5fe27(0x8a)](/'[^']*'/g,'\x27\x27')['replace'](/--.*$/gm,'')['replace'](/\/\*[\s\S]*?\*\//g,''),_0x533ca9=[],_0x50f64d=_0xbdee89[_0xe5fe27(0x83)](/FROM\s+([^\s,)(]+)/i);if(_0x50f64d?.[0x1])_0x533ca9[_0xe5fe27(0x8c)](_0x50f64d[0x1][_0xe5fe27(0x8a)](/[`"]/g,''));for(const _0x56f34e of _0xbdee89['matchAll'](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x2c522b=_0x56f34e[0x1]?.[_0xe5fe27(0x8a)](/[`"]/g,'');if(_0x2c522b&&!_0x533ca9[_0xe5fe27(0x7e)](_0x2c522b))_0x533ca9[_0xe5fe27(0x8c)](_0x2c522b);}const _0x3913ee=_0xbdee89[_0xe5fe27(0x83)](/INTO\s+([^\s(]+)/i);if(_0x3913ee?.[0x1]){const _0x577810=_0x3913ee[0x1]['replace'](/[`"]/g,'');if(!_0x533ca9[_0xe5fe27(0x7e)](_0x577810))_0x533ca9[_0xe5fe27(0x8c)](_0x577810);}const _0x1725bc=_0xbdee89[_0xe5fe27(0x83)](/UPDATE\s+([^\s,)(]+)/i);if(_0x1725bc?.[0x1]){const _0x3dd94a=_0x1725bc[0x1]['replace'](/[`"]/g,'');if(!_0x533ca9[_0xe5fe27(0x7e)](_0x3dd94a))_0x533ca9[_0xe5fe27(0x8c)](_0x3dd94a);}return _0x533ca9;}function a159_0x2020(_0x4b02e3,_0x429d11){_0x4b02e3=_0x4b02e3-0x6e;const _0x277c77=a159_0x277c();let _0x2020f5=_0x277c77[_0x4b02e3];return _0x2020f5;}function extractParameters(_0x51671f){const _0x4fac71=a159_0x2020,_0x37b7d4=new Set();for(const _0x53baab of _0x51671f[_0x4fac71(0x77)](/#\{(\w+)\}/g))if(_0x53baab[0x1])_0x37b7d4[_0x4fac71(0x7a)](_0x53baab[0x1]);for(const _0x3f1b42 of _0x51671f[_0x4fac71(0x77)](/\$\{(\w+)\}/g))if(_0x3f1b42[0x1])_0x37b7d4[_0x4fac71(0x7a)](_0x3f1b42[0x1]);return Array[_0x4fac71(0x89)](_0x37b7d4);}export function validateSql(_0x5cb4f5){const _0x473313=a159_0x2020,_0x80688=detectSqlType(_0x5cb4f5),_0x9b6c04=extractTables(_0x5cb4f5),_0x234c1a=extractParameters(_0x5cb4f5);if(_0x80688[_0x473313(0x7b)])return{'valid':![],'sqlType':_0x80688,'tables':_0x9b6c04,'parameters':_0x234c1a,'message':_0x80688['reason']||_0x80688[_0x473313(0x7d)]+'\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.'};if(_0x80688[_0x473313(0x7d)]==='UNKNOWN')return{'valid':![],'sqlType':_0x80688,'tables':_0x9b6c04,'parameters':_0x234c1a,'message':_0x473313(0x72)};return{'valid':!![],'sqlType':_0x80688,'tables':_0x9b6c04,'parameters':_0x234c1a,'message':_0x80688[_0x473313(0x7d)]+_0x473313(0x82)+(_0x9b6c04[_0x473313(0x70)]?_0x9b6c04[_0x473313(0x92)](',\x20'):'unknown\x20table(s)')+(_0x234c1a[_0x473313(0x70)]?_0x473313(0x87)+_0x234c1a[_0x473313(0x92)](',\x20'):'')};}function a159_0x277c(){const _0x23be94=['8KDQdxs','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','test','INSERT','matchAll','235044DmsFuP','707oteyAN','add','isDangerous','SQL\x20content\x20is\x20empty','type','includes','43SriENd','336yWyFNA','split','\x20query\x20targeting\x20','match','UNKNOWN','34160MHUaMH','34328JjszGl','\x20with\x20parameters:\x20','UPDATE','from','replace','3819520ILWeuT','push','346110rnybSr','startsWith','88jMDJsq','1408qYAfyH','SELECT','join','trim','1041615KolAlq','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','length','DELETE','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.'];a159_0x277c=function(){return _0x23be94;};return a159_0x277c();}
1
+ function a159_0x2bc9(){const _0x46cead=['reason','test','replace','UNKNOWN','WITH','DELETE','377562vdaEwL','matchAll','INSERT','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','length','\x20with\x20parameters:\x20','unknown\x20table(s)','3697337ToGAms','615960aZFPtG','SELECT','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','match','48QOpBnO','6oqdJnB','add','\x20query\x20targeting\x20','push','33320YmDLUg','DDL','isDangerous','split','startsWith','includes','SQL\x20content\x20is\x20empty','trim','type','9440001NnXZDs','3246325DVviti','504513Whsxuh','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','UPDATE','join'];a159_0x2bc9=function(){return _0x46cead;};return a159_0x2bc9();}(function(_0x4b92b0,_0x3883ce){const _0x5b483c=a159_0x2415,_0x41a448=_0x4b92b0();while(!![]){try{const _0x1224d6=parseInt(_0x5b483c(0xd3))/0x1+-parseInt(_0x5b483c(0xdd))/0x2+-parseInt(_0x5b483c(0xc3))/0x3*(-parseInt(_0x5b483c(0xc8))/0x4)+parseInt(_0x5b483c(0xd2))/0x5*(parseInt(_0x5b483c(0xc4))/0x6)+parseInt(_0x5b483c(0xbe))/0x7+-parseInt(_0x5b483c(0xbf))/0x8+-parseInt(_0x5b483c(0xd1))/0x9;if(_0x1224d6===_0x3883ce)break;else _0x41a448['push'](_0x41a448['shift']());}catch(_0x4b07f4){_0x41a448['push'](_0x41a448['shift']());}}}(a159_0x2bc9,0x7a368));export function detectSqlType(_0x5bf946){const _0x339d25=a159_0x2415;if(!_0x5bf946?.['trim']())return{'type':_0x339d25(0xda),'isSelectOnly':![],'isDangerous':![],'reason':_0x339d25(0xce)};const _0xd8baf1=_0x5bf946[_0x339d25(0xd9)](/#\{[^}]*\}/g,'?')[_0x339d25(0xd9)](/\$\{[^}]*\}/g,'?')['replace'](/@[^(\s]+(\([^)]*\))?/g,'')[_0x339d25(0xd9)](/\/\*[\s\S]*?\*\//g,'')[_0x339d25(0xcf)](),_0x543607=_0xd8baf1[_0x339d25(0xcb)]('\x0a');let _0x22d5d2='';for(const _0x3181e9 of _0x543607){const _0x5562d4=_0x3181e9['trim']();if(!_0x5562d4||_0x5562d4['startsWith']('--')||_0x5562d4[_0x339d25(0xcc)]('/*'))continue;_0x22d5d2=_0x5562d4;break;}const _0x49615c=_0x22d5d2['toUpperCase']();if(_0x49615c['startsWith'](_0x339d25(0xc0))||_0x49615c[_0x339d25(0xcc)](_0x339d25(0xdb))){const _0x466f32=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x339d25(0xd8)](_0xd8baf1);return{'type':_0x339d25(0xc0),'isSelectOnly':!_0x466f32,'isDangerous':_0x466f32,'reason':_0x466f32?_0x339d25(0xd4):undefined};}if(_0x49615c[_0x339d25(0xcc)](_0x339d25(0xdf)))return{'type':'INSERT','isSelectOnly':![],'isDangerous':![]};if(_0x49615c['startsWith'](_0x339d25(0xd5)))return{'type':_0x339d25(0xd5),'isSelectOnly':![],'isDangerous':![]};if(_0x49615c['startsWith']('DELETE'))return{'type':_0x339d25(0xdc),'isSelectOnly':![],'isDangerous':!![],'reason':_0x339d25(0xc1)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i['test'](_0x49615c))return{'type':_0x339d25(0xc9),'isSelectOnly':![],'isDangerous':!![],'reason':_0x339d25(0xe0)};return{'type':_0x339d25(0xda),'isSelectOnly':![],'isDangerous':![]};}function a159_0x2415(_0xf534d4,_0x15fe7e){_0xf534d4=_0xf534d4-0xbc;const _0x2bc906=a159_0x2bc9();let _0x241538=_0x2bc906[_0xf534d4];return _0x241538;}function extractTables(_0x483f4c){const _0x1fa932=a159_0x2415,_0x451dab=_0x483f4c['replace'](/#\{[^}]*\}/g,'?')[_0x1fa932(0xd9)](/\$\{[^}]*\}/g,'?')[_0x1fa932(0xd9)](/'[^']*'/g,'\x27\x27')[_0x1fa932(0xd9)](/--.*$/gm,'')['replace'](/\/\*[\s\S]*?\*\//g,''),_0x47de91=[],_0x2011ac=_0x451dab[_0x1fa932(0xc2)](/FROM\s+([^\s,)(]+)/i);if(_0x2011ac?.[0x1])_0x47de91['push'](_0x2011ac[0x1][_0x1fa932(0xd9)](/[`"]/g,''));for(const _0x3e891d of _0x451dab[_0x1fa932(0xde)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0xbf32d=_0x3e891d[0x1]?.[_0x1fa932(0xd9)](/[`"]/g,'');if(_0xbf32d&&!_0x47de91['includes'](_0xbf32d))_0x47de91['push'](_0xbf32d);}const _0x16c03c=_0x451dab[_0x1fa932(0xc2)](/INTO\s+([^\s(]+)/i);if(_0x16c03c?.[0x1]){const _0x2f2131=_0x16c03c[0x1][_0x1fa932(0xd9)](/[`"]/g,'');if(!_0x47de91[_0x1fa932(0xcd)](_0x2f2131))_0x47de91['push'](_0x2f2131);}const _0x427cb0=_0x451dab[_0x1fa932(0xc2)](/UPDATE\s+([^\s,)(]+)/i);if(_0x427cb0?.[0x1]){const _0x130156=_0x427cb0[0x1][_0x1fa932(0xd9)](/[`"]/g,'');if(!_0x47de91[_0x1fa932(0xcd)](_0x130156))_0x47de91[_0x1fa932(0xc7)](_0x130156);}return _0x47de91;}function extractParameters(_0xb30cb3){const _0x5a02d4=a159_0x2415,_0x436778=new Set();for(const _0x6be83b of _0xb30cb3['matchAll'](/#\{(\w+)\}/g))if(_0x6be83b[0x1])_0x436778[_0x5a02d4(0xc5)](_0x6be83b[0x1]);for(const _0xe6ce4b of _0xb30cb3[_0x5a02d4(0xde)](/\$\{(\w+)\}/g))if(_0xe6ce4b[0x1])_0x436778[_0x5a02d4(0xc5)](_0xe6ce4b[0x1]);return Array['from'](_0x436778);}export function validateSql(_0x2060b6){const _0x1eb78e=a159_0x2415,_0x1e97e4=detectSqlType(_0x2060b6),_0x4efa45=extractTables(_0x2060b6),_0x2ce257=extractParameters(_0x2060b6);if(_0x1e97e4[_0x1eb78e(0xca)])return{'valid':![],'sqlType':_0x1e97e4,'tables':_0x4efa45,'parameters':_0x2ce257,'message':_0x1e97e4[_0x1eb78e(0xd7)]||_0x1e97e4['type']+'\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.'};if(_0x1e97e4[_0x1eb78e(0xd0)]==='UNKNOWN')return{'valid':![],'sqlType':_0x1e97e4,'tables':_0x4efa45,'parameters':_0x2ce257,'message':'Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.'};return{'valid':!![],'sqlType':_0x1e97e4,'tables':_0x4efa45,'parameters':_0x2ce257,'message':_0x1e97e4['type']+_0x1eb78e(0xc6)+(_0x4efa45['length']?_0x4efa45[_0x1eb78e(0xd6)](',\x20'):_0x1eb78e(0xbd))+(_0x2ce257[_0x1eb78e(0xe1)]?_0x1eb78e(0xbc)+_0x2ce257[_0x1eb78e(0xd6)](',\x20'):'')};}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- const a160_0x5baa85=a160_0x34ec;function a160_0x34ec(_0x3ba42d,_0x56208e){_0x3ba42d=_0x3ba42d-0x1e4;const _0x590b42=a160_0x590b();let _0x34ec95=_0x590b42[_0x3ba42d];return _0x34ec95;}(function(_0x5c822a,_0x9f1d6e){const _0x4463e2=a160_0x34ec,_0x131ec8=_0x5c822a();while(!![]){try{const _0x22f3e7=-parseInt(_0x4463e2(0x1e9))/0x1*(-parseInt(_0x4463e2(0x1e4))/0x2)+parseInt(_0x4463e2(0x1ee))/0x3*(-parseInt(_0x4463e2(0x1e6))/0x4)+-parseInt(_0x4463e2(0x1ef))/0x5+parseInt(_0x4463e2(0x1e5))/0x6+parseInt(_0x4463e2(0x1f0))/0x7+parseInt(_0x4463e2(0x1f1))/0x8+-parseInt(_0x4463e2(0x1eb))/0x9;if(_0x22f3e7===_0x9f1d6e)break;else _0x131ec8['push'](_0x131ec8['shift']());}catch(_0x5dfd46){_0x131ec8['push'](_0x131ec8['shift']());}}}(a160_0x590b,0xd050f));function a160_0x590b(){const _0x4a5594=['16RyezSL','4807398EWjbhs','1400248iyrgxS','join','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','102139aiSnJh','Set\x20appcode\x20via\x20`','946008MfyYab','\x20auth`\x20to\x20login\x20first.','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','9dmRYEs','6376800clkfWJ','5666227ZZmpfN','6848920zYsDAt','Tip:\x20`','\x0a\x20\x20\x20\x20\x20\x20\x20'];a160_0x590b=function(){return _0x4a5594;};return a160_0x590b();}import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':'Run\x20`'+CLI_BIN_NAME+a160_0x5baa85(0x1ec),'configMissingHint':[a160_0x5baa85(0x1ea)+CLI_BIN_NAME+a160_0x5baa85(0x1ed),a160_0x5baa85(0x1f2)+CLI_BIN_NAME+a160_0x5baa85(0x1e8)][a160_0x5baa85(0x1e7)](a160_0x5baa85(0x1f3)),'notInProjectHint':'Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.'});
1
+ const a160_0x5a643f=a160_0x3aa4;(function(_0x2a1a32,_0x572c22){const _0x44f07f=a160_0x3aa4,_0x1531c5=_0x2a1a32();while(!![]){try{const _0x181b4f=-parseInt(_0x44f07f(0x170))/0x1+parseInt(_0x44f07f(0x16f))/0x2+parseInt(_0x44f07f(0x16b))/0x3*(parseInt(_0x44f07f(0x16e))/0x4)+parseInt(_0x44f07f(0x17a))/0x5+parseInt(_0x44f07f(0x16c))/0x6*(-parseInt(_0x44f07f(0x173))/0x7)+-parseInt(_0x44f07f(0x17e))/0x8*(parseInt(_0x44f07f(0x177))/0x9)+-parseInt(_0x44f07f(0x179))/0xa*(-parseInt(_0x44f07f(0x174))/0xb);if(_0x181b4f===_0x572c22)break;else _0x1531c5['push'](_0x1531c5['shift']());}catch(_0x2a85ed){_0x1531c5['push'](_0x1531c5['shift']());}}}(a160_0x4e30,0xa464c));function a160_0x4e30(){const _0x59f459=['Set\x20appcode\x20via\x20`','1102430IjiTJl','4629745EUAgtW','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Tip:\x20`','16VYUlyU','5721oDdFnO','176046nImFrT','join','2388RpshxC','742850ywKdOs','842063BYpHBB','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','\x0a\x20\x20\x20\x20\x20\x20\x20','245njiRGc','11eUfYQv','Run\x20`','\x20auth`\x20to\x20login\x20first.','16839vMlfBc'];a160_0x4e30=function(){return _0x59f459;};return a160_0x4e30();}import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';function a160_0x3aa4(_0x415bf6,_0x31d1da){_0x415bf6=_0x415bf6-0x16b;const _0x4e3074=a160_0x4e30();let _0x3aa49a=_0x4e3074[_0x415bf6];return _0x3aa49a;}export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a160_0x5a643f(0x175)+CLI_BIN_NAME+a160_0x5a643f(0x176),'configMissingHint':[a160_0x5a643f(0x178)+CLI_BIN_NAME+a160_0x5a643f(0x17c),a160_0x5a643f(0x17d)+CLI_BIN_NAME+a160_0x5a643f(0x17b)][a160_0x5a643f(0x16d)](a160_0x5a643f(0x172)),'notInProjectHint':a160_0x5a643f(0x171)});
@@ -1 +1 @@
1
- (function(_0x939189,_0x2da54a){var _0x4b1acb=a161_0x11ca,_0x5e5947=_0x939189();while(!![]){try{var _0x459799=parseInt(_0x4b1acb(0x1a8))/0x1+parseInt(_0x4b1acb(0x1a9))/0x2+-parseInt(_0x4b1acb(0x1ab))/0x3*(-parseInt(_0x4b1acb(0x1af))/0x4)+-parseInt(_0x4b1acb(0x1a7))/0x5*(-parseInt(_0x4b1acb(0x1aa))/0x6)+parseInt(_0x4b1acb(0x1ae))/0x7+parseInt(_0x4b1acb(0x1ac))/0x8*(parseInt(_0x4b1acb(0x1b0))/0x9)+-parseInt(_0x4b1acb(0x1ad))/0xa;if(_0x459799===_0x2da54a)break;else _0x5e5947['push'](_0x5e5947['shift']());}catch(_0x448e13){_0x5e5947['push'](_0x5e5947['shift']());}}}(a161_0x4af1,0x5cb8a));function a161_0x4af1(){var _0x2d0f7c=['365zVbjfE','137429ALxVgo','1016314TNJZNS','59454dVVaAn','77829pFAbpK','1801904RAqAqK','20103570cOzeSu','4663729pmIgLD','20YjVhDT','9VhQRym'];a161_0x4af1=function(){return _0x2d0f7c;};return a161_0x4af1();}import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a161_0x11ca(_0x2ede95,_0x3fb262){_0x2ede95=_0x2ede95-0x1a7;var _0x4af130=a161_0x4af1();var _0x11caa2=_0x4af130[_0x2ede95];return _0x11caa2;}import{buildAllFlags as a161_0x5e963}from'@lovrabet/cli-framework';export function buildAllFlags(_0x3a02ca){return a161_0x5e963(_0x3a02ca,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
1
+ function a161_0x6ad5(){var _0x31f07b=['8370112ZZZZfe','3010zfJJmu','12QVKKWy','55429HKSRhP','6979310Kgugad','72fHkyOB','6636yPOgKQ','202CHFETI','7QANJvu','285425sZKOFm','90BMbrqB','12599577HPbYkb','1599092gDZaZd'];a161_0x6ad5=function(){return _0x31f07b;};return a161_0x6ad5();}(function(_0x17b190,_0x5ab33e){var _0x30730a=a161_0x1dc3,_0x547e33=_0x17b190();while(!![]){try{var _0x1f6c9f=-parseInt(_0x30730a(0x1ea))/0x1*(-parseInt(_0x30730a(0x1eb))/0x2)+-parseInt(_0x30730a(0x1f3))/0x3*(-parseInt(_0x30730a(0x1f0))/0x4)+parseInt(_0x30730a(0x1ed))/0x5*(parseInt(_0x30730a(0x1ee))/0x6)+parseInt(_0x30730a(0x1ec))/0x7*(parseInt(_0x30730a(0x1f1))/0x8)+parseInt(_0x30730a(0x1ef))/0x9+-parseInt(_0x30730a(0x1f2))/0xa*(parseInt(_0x30730a(0x1e7))/0xb)+parseInt(_0x30730a(0x1e9))/0xc*(-parseInt(_0x30730a(0x1e8))/0xd);if(_0x1f6c9f===_0x5ab33e)break;else _0x547e33['push'](_0x547e33['shift']());}catch(_0x35e6fd){_0x547e33['push'](_0x547e33['shift']());}}}(a161_0x6ad5,0xcb945));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a161_0x1d0c8d}from'@lovrabet/cli-framework';function a161_0x1dc3(_0x582b54,_0xf251f4){_0x582b54=_0x582b54-0x1e7;var _0x6ad5aa=a161_0x6ad5();var _0x1dc3bc=_0x6ad5aa[_0x582b54];return _0x1dc3bc;}export function buildAllFlags(_0x33109b){return a161_0x1d0c8d(_0x33109b,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
@@ -1 +1 @@
1
- const a162_0x5be055=a162_0x5403;(function(_0x533737,_0x16498f){const _0xcc0fca=a162_0x5403,_0x1d22fd=_0x533737();while(!![]){try{const _0x14c55a=parseInt(_0xcc0fca(0x196))/0x1*(-parseInt(_0xcc0fca(0x19d))/0x2)+-parseInt(_0xcc0fca(0x19f))/0x3*(-parseInt(_0xcc0fca(0x19e))/0x4)+-parseInt(_0xcc0fca(0x199))/0x5+-parseInt(_0xcc0fca(0x1a0))/0x6*(-parseInt(_0xcc0fca(0x198))/0x7)+-parseInt(_0xcc0fca(0x1a2))/0x8*(parseInt(_0xcc0fca(0x1a1))/0x9)+parseInt(_0xcc0fca(0x19a))/0xa+-parseInt(_0xcc0fca(0x197))/0xb*(parseInt(_0xcc0fca(0x19b))/0xc);if(_0x14c55a===_0x16498f)break;else _0x1d22fd['push'](_0x1d22fd['shift']());}catch(_0x93b9e1){_0x1d22fd['push'](_0x1d22fd['shift']());}}}(a162_0x507c,0x9b90a));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];function a162_0x5403(_0xbcd885,_0x15fa90){_0xbcd885=_0xbcd885-0x196;const _0x507cf3=a162_0x507c();let _0x5403df=_0x507cf3[_0xbcd885];return _0x5403df;}function a162_0x507c(){const _0x231641=['3492295URwUvO','9299290kYjLRt','12ATzXUI','validateFlags','50deyVoR','88XQbTBu','160764GKHhAi','66anjZWU','909jSlqGv','54176WCkuES','19867KWRkQh','496397LvHheF','287994ewmMSL'];a162_0x507c=function(){return _0x231641;};return a162_0x507c();}export const validateFlags=helpers[a162_0x5be055(0x19c)];
1
+ const a162_0x552a94=a162_0x9cec;(function(_0x2b8cb1,_0x46b040){const _0x2ce759=a162_0x9cec,_0x13b0de=_0x2b8cb1();while(!![]){try{const _0x514570=-parseInt(_0x2ce759(0x7e))/0x1+parseInt(_0x2ce759(0x83))/0x2*(-parseInt(_0x2ce759(0x81))/0x3)+-parseInt(_0x2ce759(0x85))/0x4*(-parseInt(_0x2ce759(0x80))/0x5)+-parseInt(_0x2ce759(0x87))/0x6*(-parseInt(_0x2ce759(0x82))/0x7)+-parseInt(_0x2ce759(0x8a))/0x8*(parseInt(_0x2ce759(0x8b))/0x9)+-parseInt(_0x2ce759(0x86))/0xa*(parseInt(_0x2ce759(0x89))/0xb)+parseInt(_0x2ce759(0x88))/0xc;if(_0x514570===_0x46b040)break;else _0x13b0de['push'](_0x13b0de['shift']());}catch(_0x2810be){_0x13b0de['push'](_0x13b0de['shift']());}}}(a162_0x2708,0x9fa55));function a162_0x2708(){const _0x2e93ca=['81ybuPoS','711121WJMTkQ','validateFlags','2084045ljNDjP','3PwKbSd','185087YFjnOy','595184WyhEKw','parseFlags','12tMwXoe','2321580EgUdYB','12QHIeCL','30601080xLAYfc','55OzOXgb','915544nRnGTt'];a162_0x2708=function(){return _0x2e93ca;};return a162_0x2708();}function a162_0x9cec(_0x5552f8,_0x290c2d){_0x5552f8=_0x5552f8-0x7e;const _0x2708dd=a162_0x2708();let _0x9cec63=_0x2708dd[_0x5552f8];return _0x9cec63;}import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a162_0x552a94(0x84)];export const validateFlags=helpers[a162_0x552a94(0x7f)];
@@ -1 +1 @@
1
- const a163_0x4e9548=a163_0xc3e6;(function(_0x35dda0,_0x378bd2){const _0x239191=a163_0xc3e6,_0x1729ab=_0x35dda0();while(!![]){try{const _0xdf0df6=-parseInt(_0x239191(0x1a8))/0x1+parseInt(_0x239191(0x1b0))/0x2*(-parseInt(_0x239191(0x1b5))/0x3)+parseInt(_0x239191(0x1ac))/0x4+-parseInt(_0x239191(0x1b2))/0x5*(parseInt(_0x239191(0x1b3))/0x6)+-parseInt(_0x239191(0x1b4))/0x7+-parseInt(_0x239191(0x1af))/0x8+parseInt(_0x239191(0x1b1))/0x9;if(_0xdf0df6===_0x378bd2)break;else _0x1729ab['push'](_0x1729ab['shift']());}catch(_0x3b739d){_0x1729ab['push'](_0x1729ab['shift']());}}}(a163_0x2b52,0x77e5d));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';function a163_0x2b52(){const _0x44d428=['54548arEQER','generateFullHelp','generateCommandHelp','\x20[args]\x20[flags]','625696YTlxGP','get','Requires\x20appcode\x20(set\x20via\x20`','6287216oWCdXD','13646sjIAZT','19703574iQPtmH','1684745zwbLjT','6MmnRAw','3833011raSydj','57HmeTaT'];a163_0x2b52=function(){return _0x44d428;};return a163_0x2b52();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x5f1ed7=>serviceGroups[a163_0x4e9548(0x1ad)](_0x5f1ed7),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a163_0x4e9548(0x1ae)+CLI_BIN_NAME+'\x20project\x20init`\x20or\x20--appcode).','serviceUsageSuffix':a163_0x4e9548(0x1ab),'includeWildcardExtraInFullHelp':!![]});export function generateCommandHelp(_0x4f6e51){const _0x59fec3=a163_0x4e9548;return generators[_0x59fec3(0x1aa)](_0x4f6e51);}export const generateServiceHelp=generators['generateServiceHelp'];function a163_0xc3e6(_0x5d9c1f,_0x555840){_0x5d9c1f=_0x5d9c1f-0x1a8;const _0x2b52cb=a163_0x2b52();let _0xc3e65c=_0x2b52cb[_0x5d9c1f];return _0xc3e65c;}export const generateFullHelp=generators[a163_0x4e9548(0x1a9)];
1
+ function a163_0xe8b9(){const _0x55cbf8=['800580MPIFvg','493180sZLLXl','2514040fzSyIg','get','1805588vYXxjU','generateServiceHelp','791kjeivm','4746038DJBnrP','generateFullHelp','Requires\x20appcode\x20(set\x20via\x20`','1dzhQpd','33408ARTRsu','generateCommandHelp','65916bkDGiI','3ZcyRyH','40WwpcaE','\x20[args]\x20[flags]'];a163_0xe8b9=function(){return _0x55cbf8;};return a163_0xe8b9();}const a163_0x4d8ee5=a163_0x487f;(function(_0xcf8d23,_0x4cf627){const _0x5c84b0=a163_0x487f,_0x4ecefc=_0xcf8d23();while(!![]){try{const _0xfe77de=parseInt(_0x5c84b0(0x9c))/0x1*(parseInt(_0x5c84b0(0x93))/0x2)+-parseInt(_0x5c84b0(0x8f))/0x3*(parseInt(_0x5c84b0(0x96))/0x4)+-parseInt(_0x5c84b0(0x92))/0x5+parseInt(_0x5c84b0(0x9d))/0x6*(parseInt(_0x5c84b0(0x98))/0x7)+-parseInt(_0x5c84b0(0x94))/0x8+-parseInt(_0x5c84b0(0x9f))/0x9*(-parseInt(_0x5c84b0(0x90))/0xa)+parseInt(_0x5c84b0(0x99))/0xb;if(_0xfe77de===_0x4cf627)break;else _0x4ecefc['push'](_0x4ecefc['shift']());}catch(_0x1fcbbd){_0x4ecefc['push'](_0x4ecefc['shift']());}}}(a163_0xe8b9,0x64488));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x1b03f4=>serviceGroups[a163_0x4d8ee5(0x95)](_0x1b03f4),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a163_0x4d8ee5(0x9b)+CLI_BIN_NAME+'\x20project\x20init`\x20or\x20--appcode).','serviceUsageSuffix':a163_0x4d8ee5(0x91),'includeWildcardExtraInFullHelp':!![]});export function generateCommandHelp(_0x2ac32d){const _0x18e7ad=a163_0x4d8ee5;return generators[_0x18e7ad(0x9e)](_0x2ac32d);}export const generateServiceHelp=generators[a163_0x4d8ee5(0x97)];function a163_0x487f(_0x13139a,_0x202967){_0x13139a=_0x13139a-0x8f;const _0xe8b9bd=a163_0xe8b9();let _0x487f60=_0xe8b9bd[_0x13139a];return _0x487f60;}export const generateFullHelp=generators[a163_0x4d8ee5(0x9a)];
@@ -1 +1 @@
1
- (function(_0x5a3b04,_0x476927){var _0x5326cd=a164_0x3fc7,_0x51868d=_0x5a3b04();while(!![]){try{var _0x1663cf=parseInt(_0x5326cd(0x113))/0x1+-parseInt(_0x5326cd(0x112))/0x2*(parseInt(_0x5326cd(0x116))/0x3)+parseInt(_0x5326cd(0x110))/0x4+-parseInt(_0x5326cd(0x115))/0x5*(parseInt(_0x5326cd(0x114))/0x6)+-parseInt(_0x5326cd(0x10f))/0x7+parseInt(_0x5326cd(0x111))/0x8*(-parseInt(_0x5326cd(0x117))/0x9)+parseInt(_0x5326cd(0x118))/0xa;if(_0x1663cf===_0x476927)break;else _0x51868d['push'](_0x51868d['shift']());}catch(_0x44abc9){_0x51868d['push'](_0x51868d['shift']());}}}(a164_0x59a5,0x9d11b));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';function a164_0x3fc7(_0x5c1fa8,_0x20c10c){_0x5c1fa8=_0x5c1fa8-0x10f;var _0x59a5ee=a164_0x59a5();var _0x3fc7ff=_0x59a5ee[_0x5c1fa8];return _0x3fc7ff;}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';function a164_0x59a5(){var _0x4c43e1=['18FuPYlS','19415680FqYcAu','6147344gIYWQn','2395296pTTwzM','512744DZJzVT','18feQAgW','1150538cZDaKk','5472GLEcKs','5035uqtpSo','374271iHEjhC'];a164_0x59a5=function(){return _0x4c43e1;};return a164_0x59a5();}
1
+ (function(_0x225620,_0x8faf17){var _0x7d2abf=a164_0x412e,_0xd06415=_0x225620();while(!![]){try{var _0x29b8d8=parseInt(_0x7d2abf(0x19b))/0x1*(-parseInt(_0x7d2abf(0x19d))/0x2)+-parseInt(_0x7d2abf(0x199))/0x3+parseInt(_0x7d2abf(0x19a))/0x4*(-parseInt(_0x7d2abf(0x1a1))/0x5)+-parseInt(_0x7d2abf(0x198))/0x6*(-parseInt(_0x7d2abf(0x19e))/0x7)+-parseInt(_0x7d2abf(0x1a0))/0x8+parseInt(_0x7d2abf(0x19c))/0x9+-parseInt(_0x7d2abf(0x19f))/0xa*(-parseInt(_0x7d2abf(0x1a2))/0xb);if(_0x29b8d8===_0x8faf17)break;else _0xd06415['push'](_0xd06415['shift']());}catch(_0x1c733f){_0xd06415['push'](_0xd06415['shift']());}}}(a164_0x5258,0x99deb));function a164_0x412e(_0x5331ec,_0x979628){_0x5331ec=_0x5331ec-0x198;var _0x52583e=a164_0x5258();var _0x412ebd=_0x52583e[_0x5331ec];return _0x412ebd;}export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a164_0x5258(){var _0x3879ae=['12KDcIEL','912624kcewwq','9548qlLSuD','1294MZazaB','4292658FIOcrJ','744bBYNIE','1897301TbhkqB','9044830wXIHOV','872600HDBPHV','835YtGoTg','11sxPqXz'];a164_0x5258=function(){return _0x3879ae;};return a164_0x5258();}export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x52878c,_0x484785){const _0xaaa456=a165_0x4eb7,_0x39335b=_0x52878c();while(!![]){try{const _0x1e41b1=-parseInt(_0xaaa456(0xb7))/0x1+parseInt(_0xaaa456(0xb4))/0x2*(parseInt(_0xaaa456(0xaf))/0x3)+-parseInt(_0xaaa456(0xb5))/0x4+-parseInt(_0xaaa456(0xb2))/0x5*(-parseInt(_0xaaa456(0xae))/0x6)+-parseInt(_0xaaa456(0xad))/0x7+parseInt(_0xaaa456(0xb1))/0x8*(-parseInt(_0xaaa456(0xb3))/0x9)+parseInt(_0xaaa456(0xb6))/0xa*(parseInt(_0xaaa456(0xb0))/0xb);if(_0x1e41b1===_0x484785)break;else _0x39335b['push'](_0x39335b['shift']());}catch(_0x554610){_0x39335b['push'](_0x39335b['shift']());}}}(a165_0x4191,0x4397d));function a165_0x4eb7(_0x43340a,_0x1083b5){_0x43340a=_0x43340a-0xad;const _0x41915a=a165_0x4191();let _0x4eb706=_0x41915a[_0x43340a];return _0x4eb706;}function a165_0x4191(){const _0x351e9a=['39060xaLrIh','332202ZciprJ','2140222uoAUHR','38154LiUdwi','408htwenk','2761nXNNnn','400rqUzmp','415WFlrgO','76851uKQRXr','2566lRqKAt','1363728jraNHI'];a165_0x4191=function(){return _0x351e9a;};return a165_0x4191();}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
1
+ (function(_0x3cb491,_0xfdd695){const _0x112f63=a165_0x44e0,_0x3ba79e=_0x3cb491();while(!![]){try{const _0x12198e=-parseInt(_0x112f63(0x164))/0x1*(-parseInt(_0x112f63(0x163))/0x2)+-parseInt(_0x112f63(0x167))/0x3*(parseInt(_0x112f63(0x166))/0x4)+-parseInt(_0x112f63(0x168))/0x5+parseInt(_0x112f63(0x165))/0x6*(-parseInt(_0x112f63(0x161))/0x7)+-parseInt(_0x112f63(0x160))/0x8+parseInt(_0x112f63(0x169))/0x9+parseInt(_0x112f63(0x162))/0xa*(parseInt(_0x112f63(0x15f))/0xb);if(_0x12198e===_0xfdd695)break;else _0x3ba79e['push'](_0x3ba79e['shift']());}catch(_0x571020){_0x3ba79e['push'](_0x3ba79e['shift']());}}}(a165_0x2c47,0x9e087));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a165_0x2c47(){const _0x3dc771=['133086BPXjKX','798896yOFBDP','15vnqtcW','1722945XRTRlS','11417400EApTUL','99WuejyE','2092680KmKTuI','259jcnxvd','1830320FBncCN','34868thqZns','9CboGAY'];a165_0x2c47=function(){return _0x3dc771;};return a165_0x2c47();}function a165_0x44e0(_0x4dd7f5,_0x4f5152){_0x4dd7f5=_0x4dd7f5-0x15f;const _0x2c47c6=a165_0x2c47();let _0x44e059=_0x2c47c6[_0x4dd7f5];return _0x44e059;}export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
@@ -1 +1 @@
1
- function a166_0x2045(_0x6c5ede,_0xdaabdf){_0x6c5ede=_0x6c5ede-0x1ba;var _0x2fef88=a166_0x2fef();var _0x2045c8=_0x2fef88[_0x6c5ede];return _0x2045c8;}function a166_0x2fef(){var _0x23e7f6=['986824WVGCxc','2510wgHxHY','25460QKKLiU','12111HMGCxa','9bXqaUD','2320227yWhyWC','300typcXB','987464xMlQGL','14HSTYhR','134312CtBFNP','1561206gaVZwN'];a166_0x2fef=function(){return _0x23e7f6;};return a166_0x2fef();}(function(_0x291a37,_0x1caad9){var _0x495b60=a166_0x2045,_0x2b8ff6=_0x291a37();while(!![]){try{var _0x4cf6e9=parseInt(_0x495b60(0x1c4))/0x1+parseInt(_0x495b60(0x1bb))/0x2*(parseInt(_0x495b60(0x1bf))/0x3)+parseInt(_0x495b60(0x1c1))/0x4*(-parseInt(_0x495b60(0x1bd))/0x5)+parseInt(_0x495b60(0x1ba))/0x6*(-parseInt(_0x495b60(0x1c3))/0x7)+parseInt(_0x495b60(0x1c2))/0x8+parseInt(_0x495b60(0x1c0))/0x9+parseInt(_0x495b60(0x1bc))/0xa*(-parseInt(_0x495b60(0x1be))/0xb);if(_0x4cf6e9===_0x1caad9)break;else _0x2b8ff6['push'](_0x2b8ff6['shift']());}catch(_0x480d4f){_0x2b8ff6['push'](_0x2b8ff6['shift']());}}}(a166_0x2fef,0xc77eb));export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ function a166_0x1087(){var _0x574e91=['8SVWzFL','5675200qPCxMu','6211824ykjjJL','5874380bykRFX','2519zQuaUZ','28032YBRoyI','295335SycQVx','194FtUKsx','2169TrKrWx','4277875OsZqbW'];a166_0x1087=function(){return _0x574e91;};return a166_0x1087();}function a166_0xce2f(_0x2af072,_0x1999d5){_0x2af072=_0x2af072-0x158;var _0x108752=a166_0x1087();var _0xce2f22=_0x108752[_0x2af072];return _0xce2f22;}(function(_0x106747,_0x127a0e){var _0x43c7e7=a166_0xce2f,_0x259307=_0x106747();while(!![]){try{var _0x1fb65d=parseInt(_0x43c7e7(0x160))/0x1*(-parseInt(_0x43c7e7(0x159))/0x2)+parseInt(_0x43c7e7(0x158))/0x3*(parseInt(_0x43c7e7(0x15c))/0x4)+-parseInt(_0x43c7e7(0x15f))/0x5+parseInt(_0x43c7e7(0x15e))/0x6+-parseInt(_0x43c7e7(0x15b))/0x7+-parseInt(_0x43c7e7(0x161))/0x8*(-parseInt(_0x43c7e7(0x15a))/0x9)+parseInt(_0x43c7e7(0x15d))/0xa;if(_0x1fb65d===_0x127a0e)break;else _0x259307['push'](_0x259307['shift']());}catch(_0x465c2e){_0x259307['push'](_0x259307['shift']());}}}(a166_0x1087,0x95dca));export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0x79f31f,_0x1bea1e){const _0x4dc095=a167_0x481f,_0xad238c=_0x79f31f();while(!![]){try{const _0x2ba198=parseInt(_0x4dc095(0x9a))/0x1*(-parseInt(_0x4dc095(0xa5))/0x2)+-parseInt(_0x4dc095(0xa4))/0x3+parseInt(_0x4dc095(0xa9))/0x4+parseInt(_0x4dc095(0xa6))/0x5+parseInt(_0x4dc095(0x98))/0x6+parseInt(_0x4dc095(0xab))/0x7*(-parseInt(_0x4dc095(0xa1))/0x8)+parseInt(_0x4dc095(0xa2))/0x9;if(_0x2ba198===_0x1bea1e)break;else _0xad238c['push'](_0xad238c['shift']());}catch(_0x40a5a8){_0xad238c['push'](_0xad238c['shift']());}}}(a167_0x392d,0xb2f41));import{CliErrors}from'../errors.js';function a167_0x481f(_0x55ef05,_0x50481d){_0x55ef05=_0x55ef05-0x95;const _0x392d1c=a167_0x392d();let _0x481f16=_0x392d1c[_0x55ef05];return _0x481f16;}function a167_0x392d(){const _0x165374=['type','map','5368578LCsHkM','Unknown\x20alias\x20\x22','10BEPBru','some','name','validation','Available\x20aliases:\x20','No\x20api.ts\x20found\x20in\x20','string','8PUnlOi','4974777BxoyMn','\x20api\x20pull`\x20first.','900378WyynXi','74506Krnyyu','2007575TEtIrY','.\x20Run\x20`','alias','1990164wKRwbu','code','6586461AQeDQI','flags','join','length'];a167_0x392d=function(){return _0x165374;};return a167_0x392d();}import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x549023,_0x5349bf,_0x343896,_0x20b812){const _0x528991=a167_0x481f,_0x4bf515=_0x549023[_0x528991(0xac)]['some'](_0x3e3a0c=>_0x3e3a0c[_0x528991(0x9c)]==='code'&&_0x3e3a0c['type']===_0x528991(0xa0)),_0x517c64=_0x549023[_0x528991(0xac)][_0x528991(0x9b)](_0x1a9c71=>_0x1a9c71['name']===_0x528991(0xa8)&&_0x1a9c71[_0x528991(0x96)]==='string');if(!_0x4bf515||!_0x517c64)return;const _0x7ed6f1=_0x5349bf[_0x528991(0xaa)]?String(_0x5349bf[_0x528991(0xaa)]):'',_0x39caab=_0x5349bf[_0x528991(0xa8)]?String(_0x5349bf[_0x528991(0xa8)]):'';if(!_0x7ed6f1&&!_0x39caab)throw CliErrors[_0x528991(0x9d)]('`'+_0x20b812+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0x39caab&&!_0x7ed6f1){const _0xbadbfc=resolveAlias(_0x343896,_0x39caab);if(!_0xbadbfc){const _0x5b8f4f=listAliases(_0x343896)[_0x528991(0x97)](_0xdcf12f=>_0xdcf12f[_0x528991(0xa8)]),_0x4c409e=_0x5b8f4f[_0x528991(0x95)]?_0x528991(0x9e)+_0x5b8f4f[_0x528991(0xad)](',\x20'):_0x528991(0x9f)+_0x343896+_0x528991(0xa7)+CLI_BIN_NAME+_0x528991(0xa3);throw CliErrors['validation'](_0x528991(0x99)+_0x39caab+'\x22.\x20'+_0x4c409e);}_0x5349bf[_0x528991(0xaa)]=_0xbadbfc;}}
1
+ (function(_0x3ebf4d,_0x1245df){const _0x49af6=a167_0x2a59,_0x1a79fa=_0x3ebf4d();while(!![]){try{const _0x2e3e84=-parseInt(_0x49af6(0x1ae))/0x1*(parseInt(_0x49af6(0x1c3))/0x2)+parseInt(_0x49af6(0x1c1))/0x3+-parseInt(_0x49af6(0x1b8))/0x4*(-parseInt(_0x49af6(0x1c2))/0x5)+parseInt(_0x49af6(0x1c0))/0x6*(parseInt(_0x49af6(0x1ad))/0x7)+-parseInt(_0x49af6(0x1ac))/0x8*(-parseInt(_0x49af6(0x1aa))/0x9)+-parseInt(_0x49af6(0x1af))/0xa*(parseInt(_0x49af6(0x1b0))/0xb)+-parseInt(_0x49af6(0x1bb))/0xc;if(_0x2e3e84===_0x1245df)break;else _0x1a79fa['push'](_0x1a79fa['shift']());}catch(_0x5f4c8b){_0x1a79fa['push'](_0x1a79fa['shift']());}}}(a167_0xe4b7,0x61e2f));function a167_0x2a59(_0x33fd2c,_0x4b4cd2){_0x33fd2c=_0x33fd2c-0x1a8;const _0xe4b71d=a167_0xe4b7();let _0x2a59e5=_0xe4b71d[_0x33fd2c];return _0x2a59e5;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a167_0xe4b7(){const _0x574ea6=['No\x20api.ts\x20found\x20in\x20','string','code','.\x20Run\x20`','18sSNlZQ','537174NvDrEc','20BuRWSa','22oVFKUp','type','map','6301836VomOmi','name','8iaqOTQ','1046234NJxDWo','58627LwKrXP','7670lcmzhx','3091BJECiE','alias','join','`\x20requires\x20either\x20--code\x20or\x20--alias.','some','Available\x20aliases:\x20','length','flags','37084CLBVaO','validation','\x22.\x20','1240380JeOpcv'];a167_0xe4b7=function(){return _0x574ea6;};return a167_0xe4b7();}import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x24f682,_0x7f827a,_0x5e8122,_0x4e151a){const _0x483f3f=a167_0x2a59,_0x282695=_0x24f682[_0x483f3f(0x1b7)]['some'](_0x3de783=>_0x3de783[_0x483f3f(0x1ab)]===_0x483f3f(0x1be)&&_0x3de783[_0x483f3f(0x1a8)]===_0x483f3f(0x1bd)),_0x2e4512=_0x24f682[_0x483f3f(0x1b7)][_0x483f3f(0x1b4)](_0x4396f7=>_0x4396f7[_0x483f3f(0x1ab)]===_0x483f3f(0x1b1)&&_0x4396f7[_0x483f3f(0x1a8)]===_0x483f3f(0x1bd));if(!_0x282695||!_0x2e4512)return;const _0x5b705a=_0x7f827a[_0x483f3f(0x1be)]?String(_0x7f827a[_0x483f3f(0x1be)]):'',_0x52e06d=_0x7f827a['alias']?String(_0x7f827a[_0x483f3f(0x1b1)]):'';if(!_0x5b705a&&!_0x52e06d)throw CliErrors[_0x483f3f(0x1b9)]('`'+_0x4e151a+_0x483f3f(0x1b3));if(_0x52e06d&&!_0x5b705a){const _0x3d2781=resolveAlias(_0x5e8122,_0x52e06d);if(!_0x3d2781){const _0x27bcf7=listAliases(_0x5e8122)[_0x483f3f(0x1a9)](_0x2b1992=>_0x2b1992[_0x483f3f(0x1b1)]),_0x47a384=_0x27bcf7[_0x483f3f(0x1b6)]?_0x483f3f(0x1b5)+_0x27bcf7[_0x483f3f(0x1b2)](',\x20'):_0x483f3f(0x1bc)+_0x5e8122+_0x483f3f(0x1bf)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors[_0x483f3f(0x1b9)]('Unknown\x20alias\x20\x22'+_0x52e06d+_0x483f3f(0x1ba)+_0x47a384);}_0x7f827a['code']=_0x3d2781;}}
@@ -1 +1 @@
1
- const a168_0x3db8ac=a168_0x46b4;function a168_0x2dd3(){const _0x1fb0db=['resolveAppCode','High-risk\x20operation\x20`','10qqCNrv','requiresAuth','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','configMissing','⚠\x20\x20High-risk\x20operation:\x20','defaultApp','resolveApiDomain','Set\x20appcode\x20via\x20`','cancelled','12123xzLbwz','9PCMSVp','5479929hgscFD','validation','authRequired','apiDir','format','apps','1989316JhdbsS','explicitAppName','appCode','appcode','70adQLne','25204150GTRLOj','../core/api-client.js','562134qkegPt','has','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','service','4935930yZLWQH','cookie','mergedCli','resolveCookie','currentApp','riskLevel','1308776qMRdib','isNonInteractive','requiresAppCode'];a168_0x2dd3=function(){return _0x1fb0db;};return a168_0x2dd3();}(function(_0x7c8759,_0x3750bf){const _0x1ee6ec=a168_0x46b4,_0x1cf824=_0x7c8759();while(!![]){try{const _0x3ecfc6=parseInt(_0x1ee6ec(0x1c9))/0x1*(parseInt(_0x1ee6ec(0x1d5))/0x2)+-parseInt(_0x1ee6ec(0x1dc))/0x3+parseInt(_0x1ee6ec(0x1d1))/0x4+parseInt(_0x1ee6ec(0x1c0))/0x5*(-parseInt(_0x1ee6ec(0x1d8))/0x6)+-parseInt(_0x1ee6ec(0x1cb))/0x7+parseInt(_0x1ee6ec(0x1bb))/0x8*(parseInt(_0x1ee6ec(0x1ca))/0x9)+parseInt(_0x1ee6ec(0x1d6))/0xa;if(_0x3ecfc6===_0x3750bf)break;else _0x1cf824['push'](_0x1cf824['shift']());}catch(_0x532479){_0x1cf824['push'](_0x1cf824['shift']());}}}(a168_0x2dd3,0xf1b9f));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a168_0x143c25}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';export function createPipelineEnv(_0x5de056,_0x1d7065,_0x34167c=[]){const _0x30fe8b=a168_0x46b4;return{'rawFlags':_0x1d7065,'args':_0x34167c,'resolveAppCode':()=>_0x5de056[_0x30fe8b(0x1d3)]||_0x1d7065[_0x30fe8b(0x1d4)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0x5de056[_0x30fe8b(0x1dd)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a168_0x143c25(_0x1d7065),'defaultFormat':_0x5de056[_0x30fe8b(0x1cf)],'defaultPageSize':_0x5de056['pageSize'],'defaultVerbose':_0x5de056['verbose'],'apiDir':_0x5de056[_0x30fe8b(0x1ce)],'riskLevel':_0x5de056[_0x30fe8b(0x1ba)],'selectedAppName':_0x5de056[_0x30fe8b(0x1d2)],'mergedCli':{'defaultApp':_0x5de056[_0x30fe8b(0x1c5)],'currentApp':_0x5de056[_0x30fe8b(0x1b9)],'appCode':_0x5de056[_0x30fe8b(0x1d3)],'apps':_0x5de056[_0x30fe8b(0x1d0)]}};}function a168_0x46b4(_0x317dc8,_0x4ba20e){_0x317dc8=_0x317dc8-0x1b9;const _0x2dd375=a168_0x2dd3();let _0x46b45d=_0x2dd375[_0x317dc8];return _0x46b45d;}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x2e6691=>PIPELINE_FLAG_NAMES[a168_0x3db8ac(0x1d9)](_0x2e6691['name']))['map'](({name:_0x45cd92,type:_0x4feef1,description:_0x3a020f})=>({'name':_0x45cd92,'type':_0x4feef1,'description':_0x3a020f})),'formatOutput':formatOutput,'getCommandLabel'(_0x15caef){const _0x2ade24=a168_0x3db8ac;return CLI_BIN_NAME+'\x20'+_0x15caef[_0x2ade24(0x1db)]+'\x20'+_0x15caef['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x518da9){const _0x2e41c3=a168_0x3db8ac;return CliErrors[_0x2e41c3(0x1cc)](_0x518da9);}},async 'prepare'(_0x2d4ffb,_0x4b5ab7,_0x112523,_0x43abf8){const _0x538f02=a168_0x3db8ac,_0x153a69=_0x4b5ab7[_0x538f02(0x1ce)]||DEFAULT_API_DIR;resolveAliasToCode(_0x2d4ffb,_0x112523,_0x153a69,_0x43abf8);let _0x4f568b='';if(_0x2d4ffb[_0x538f02(0x1c1)]!==![]){_0x4f568b=_0x4b5ab7[_0x538f02(0x1df)]();if(!_0x4f568b)throw CliErrors[_0x538f02(0x1cd)]();const {setActiveCookie:_0x625329}=await import(_0x538f02(0x1d7));_0x625329(_0x4f568b);}const _0x39a64e=_0x4b5ab7[_0x538f02(0x1be)]()??'';if(_0x2d4ffb[_0x538f02(0x1bd)]!==![]){if(!_0x39a64e)throw CliErrors[_0x538f02(0x1c3)](_0x538f02(0x1c7)+CLI_BIN_NAME+_0x538f02(0x1da));}return{'defaults':{'booleans':{'verbose':_0x4b5ab7['defaultVerbose']},'numbers':{'pagesize':_0x4b5ab7['defaultPageSize']}},'extras':{'appCode':_0x39a64e,'cookie':_0x4f568b,'apiDomain':_0x4b5ab7[_0x538f02(0x1c6)](),'apiDir':_0x153a69,'selectedAppName':_0x4b5ab7['selectedAppName'],'mergedCli':_0x4b5ab7[_0x538f02(0x1de)]}};},async 'confirmHighRisk'({env:_0x167ac0,commandLabel:_0x218ec8}){const _0x44cf7d=a168_0x3db8ac;if(_0x167ac0[_0x44cf7d(0x1bc)])throw CliErrors[_0x44cf7d(0x1cc)](_0x44cf7d(0x1bf)+_0x218ec8+_0x44cf7d(0x1c2));await requireConfirmationPrompt({'lines':[_0x44cf7d(0x1c4)+_0x218ec8,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x25bca5=>CliErrors[_0x44cf7d(0x1c8)](_0x25bca5)});},async 'finalize'(){const _0x42820b=a168_0x3db8ac,{clearActiveCookie:_0x165410}=await import(_0x42820b(0x1d7));_0x165410();}};export async function runCommand(_0x3e754f,_0x58a23d){await runCommandWithAdapter(_0x3e754f,_0x58a23d,runnerAdapter);}
1
+ const a168_0x1eb015=a168_0x3e02;(function(_0x219c5a,_0x438926){const _0x382c9e=a168_0x3e02,_0x25174b=_0x219c5a();while(!![]){try{const _0x2b94f6=-parseInt(_0x382c9e(0x18e))/0x1+parseInt(_0x382c9e(0x1ab))/0x2*(-parseInt(_0x382c9e(0x1a1))/0x3)+-parseInt(_0x382c9e(0x195))/0x4+-parseInt(_0x382c9e(0x194))/0x5+parseInt(_0x382c9e(0x19d))/0x6*(parseInt(_0x382c9e(0x188))/0x7)+parseInt(_0x382c9e(0x1a8))/0x8+parseInt(_0x382c9e(0x18f))/0x9;if(_0x2b94f6===_0x438926)break;else _0x25174b['push'](_0x25174b['shift']());}catch(_0x38bbe2){_0x25174b['push'](_0x25174b['shift']());}}}(a168_0xa8fd,0x28bee));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';function a168_0x3e02(_0x438266,_0x3bc1d4){_0x438266=_0x438266-0x188;const _0xa8fd6e=a168_0xa8fd();let _0x3e02ad=_0xa8fd6e[_0x438266];return _0x3e02ad;}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a168_0x4c2732}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';export function createPipelineEnv(_0x39c1f4,_0x26a7d6,_0x10c69d=[]){const _0x20fbf0=a168_0x3e02;return{'rawFlags':_0x26a7d6,'args':_0x10c69d,'resolveAppCode':()=>_0x39c1f4[_0x20fbf0(0x1ae)]||_0x26a7d6[_0x20fbf0(0x1a2)]||process.env.RABETBASE_APPCODE||process.env.LOVRABET_APPCODE||undefined,'resolveCookie':()=>_0x39c1f4[_0x20fbf0(0x198)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a168_0x4c2732(_0x26a7d6),'defaultFormat':_0x39c1f4[_0x20fbf0(0x1a4)],'defaultPageSize':_0x39c1f4['pageSize'],'defaultVerbose':_0x39c1f4[_0x20fbf0(0x193)],'apiDir':_0x39c1f4[_0x20fbf0(0x196)],'riskLevel':_0x39c1f4[_0x20fbf0(0x1a0)],'selectedAppName':_0x39c1f4[_0x20fbf0(0x192)],'mergedCli':{'defaultApp':_0x39c1f4[_0x20fbf0(0x197)],'currentApp':_0x39c1f4[_0x20fbf0(0x199)],'appCode':_0x39c1f4['appCode'],'apps':_0x39c1f4[_0x20fbf0(0x19c)]}};}function a168_0xa8fd(){const _0x33b1e8=['284460VMVUot','apiDir','defaultApp','cookie','currentApp','resolveCookie','validation','apps','594702fObSIS','High-risk\x20operation\x20`','defaultVerbose','riskLevel','41718dKOEXd','appcode','resolveAppCode','format','has','name','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','2448752ooHlpM','filter','authRequired','38NguPFC','selectedAppName','cancelled','appCode','\x20\x20\x20Continue?\x20[y/N]\x20','mergedCli','isNonInteractive','21SDYwce','resolveApiDomain','requiresAuth','Set\x20appcode\x20via\x20`','command','defaultPageSize','100461sQshdu','1154664XKWATU','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','service','explicitAppName','verbose','645285dtJusp'];a168_0xa8fd=function(){return _0x33b1e8;};return a168_0xa8fd();}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a168_0x1eb015(0x1a9)](_0x3219e4=>PIPELINE_FLAG_NAMES[a168_0x1eb015(0x1a5)](_0x3219e4[a168_0x1eb015(0x1a6)]))['map'](({name:_0x4dd94e,type:_0x8c930b,description:_0x54c5e0})=>({'name':_0x4dd94e,'type':_0x8c930b,'description':_0x54c5e0})),'formatOutput':formatOutput,'getCommandLabel'(_0x1cda1a){const _0x6c2a40=a168_0x1eb015;return CLI_BIN_NAME+'\x20'+_0x1cda1a[_0x6c2a40(0x191)]+'\x20'+_0x1cda1a[_0x6c2a40(0x18c)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x3afe9f){const _0x3e3996=a168_0x1eb015;return CliErrors[_0x3e3996(0x19b)](_0x3afe9f);}},async 'prepare'(_0x14210f,_0x5ed0ef,_0xd21866,_0x279752){const _0x15f88a=a168_0x1eb015,_0x1e6dcb=_0x5ed0ef['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0x14210f,_0xd21866,_0x1e6dcb,_0x279752);let _0x53b9fc='';if(_0x14210f[_0x15f88a(0x18a)]!==![]){_0x53b9fc=_0x5ed0ef[_0x15f88a(0x19a)]();if(!_0x53b9fc)throw CliErrors[_0x15f88a(0x1aa)]();const {setActiveCookie:_0x2e1ed9}=await import('../core/api-client.js');_0x2e1ed9(_0x53b9fc);}const _0xe15bf4=_0x5ed0ef[_0x15f88a(0x1a3)]()??'';if(_0x14210f['requiresAppCode']!==![]){if(!_0xe15bf4)throw CliErrors['configMissing'](_0x15f88a(0x18b)+CLI_BIN_NAME+_0x15f88a(0x1a7));}return{'defaults':{'booleans':{'verbose':_0x5ed0ef[_0x15f88a(0x19f)]},'numbers':{'pagesize':_0x5ed0ef[_0x15f88a(0x18d)]}},'extras':{'appCode':_0xe15bf4,'cookie':_0x53b9fc,'apiDomain':_0x5ed0ef[_0x15f88a(0x189)](),'apiDir':_0x1e6dcb,'selectedAppName':_0x5ed0ef[_0x15f88a(0x1ac)],'mergedCli':_0x5ed0ef[_0x15f88a(0x1b0)]}};},async 'confirmHighRisk'({env:_0x39f3ec,commandLabel:_0x3ffe47}){const _0x56104a=a168_0x1eb015;if(_0x39f3ec[_0x56104a(0x1b1)])throw CliErrors[_0x56104a(0x19b)](_0x56104a(0x19e)+_0x3ffe47+_0x56104a(0x190));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x3ffe47,_0x56104a(0x1af)],'createCancelledError':_0x4f9609=>CliErrors[_0x56104a(0x1ad)](_0x4f9609)});},async 'finalize'(){const {clearActiveCookie:_0x7990ec}=await import('../core/api-client.js');_0x7990ec();}};export async function runCommand(_0x2bbfcc,_0xa82a05){await runCommandWithAdapter(_0x2bbfcc,_0xa82a05,runnerAdapter);}
@@ -1 +1 @@
1
- (function(_0x4d835f,_0x4509e0){const _0x49d8d2=a169_0x528e,_0x132664=_0x4d835f();while(!![]){try{const _0x1735bd=-parseInt(_0x49d8d2(0x196))/0x1+parseInt(_0x49d8d2(0x19a))/0x2*(parseInt(_0x49d8d2(0x198))/0x3)+-parseInt(_0x49d8d2(0x19d))/0x4*(-parseInt(_0x49d8d2(0x197))/0x5)+-parseInt(_0x49d8d2(0x19f))/0x6+parseInt(_0x49d8d2(0x19c))/0x7+-parseInt(_0x49d8d2(0x19b))/0x8*(-parseInt(_0x49d8d2(0x19e))/0x9)+parseInt(_0x49d8d2(0x1a0))/0xa;if(_0x1735bd===_0x4509e0)break;else _0x132664['push'](_0x132664['shift']());}catch(_0x464353){_0x132664['push'](_0x132664['shift']());}}}(a169_0x4f7a,0x26483));function a169_0x4f7a(){const _0x1064fb=['299121AJTrge','../commands/registry.js','2sCgysS','128YCwNmO','96334XXKNFe','4GsLYgj','170406OwTimX','1820094ClAmrG','904220lskIes','281686EGzzfE','1175015RaQspK'];a169_0x4f7a=function(){return _0x1064fb;};return a169_0x4f7a();}function a169_0x528e(_0x25bbb1,_0xabb3ce){_0x25bbb1=_0x25bbb1-0x196;const _0x4f7aac=a169_0x4f7a();let _0x528e73=_0x4f7aac[_0x25bbb1];return _0x528e73;}import{buildSchemaPayload as a169_0x3821ea}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x28703f=a169_0x528e,{serviceRegistry:_0x169235,findDefinition:_0x51ab19}=await import(_0x28703f(0x199));return a169_0x3821ea({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x169235,'buildAllFlags':buildAllFlags,'findDefinition':_0x51ab19});}
1
+ (function(_0x376d7a,_0x4a0ef1){const _0xd1f376=a169_0x21d3,_0x5d702b=_0x376d7a();while(!![]){try{const _0x201a0e=parseInt(_0xd1f376(0x67))/0x1*(-parseInt(_0xd1f376(0x6e))/0x2)+parseInt(_0xd1f376(0x6a))/0x3+-parseInt(_0xd1f376(0x64))/0x4*(-parseInt(_0xd1f376(0x66))/0x5)+parseInt(_0xd1f376(0x65))/0x6*(-parseInt(_0xd1f376(0x6c))/0x7)+-parseInt(_0xd1f376(0x6f))/0x8+-parseInt(_0xd1f376(0x6b))/0x9+parseInt(_0xd1f376(0x6d))/0xa*(parseInt(_0xd1f376(0x68))/0xb);if(_0x201a0e===_0x4a0ef1)break;else _0x5d702b['push'](_0x5d702b['shift']());}catch(_0x1259ce){_0x5d702b['push'](_0x5d702b['shift']());}}}(a169_0x4850,0xbe3d6));import{buildSchemaPayload as a169_0x37b05d}from'@lovrabet/cli-framework';function a169_0x21d3(_0x3cf81c,_0x190fc9){_0x3cf81c=_0x3cf81c-0x64;const _0x485065=a169_0x4850();let _0x21d3ef=_0x485065[_0x3cf81c];return _0x21d3ef;}function a169_0x4850(){const _0x4f9160=['10367883aOCBHH','415394rcDrlq','15840zAXIGW','324848Qhxnsw','12263776PjAcwO','520SXysVF','78ZuKNZc','50890NZZYIl','2TUDUCa','12881vYbCza','../commands/registry.js','4147413aTJttw'];a169_0x4850=function(){return _0x4f9160;};return a169_0x4850();}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x59c5a6=a169_0x21d3,{serviceRegistry:_0x3be123,findDefinition:_0x4b0c11}=await import(_0x59c5a6(0x69));return a169_0x37b05d({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x3be123,'buildAllFlags':buildAllFlags,'findDefinition':_0x4b0c11});}
@@ -1 +1 @@
1
- function a170_0x5e40(){var _0x179e9d=['50CZwDiK','33127884MlgrjY','2334568kEYoLY','11AKePTH','661922vDsgjz','16BxrBXA','373254faatSg','15XDupeB','60OkQBAl','83854laVsyG','2073946aijcnJ','215253ejsbqr'];a170_0x5e40=function(){return _0x179e9d;};return a170_0x5e40();}(function(_0x5051c9,_0x64dc48){var _0x3b091f=a170_0x56df,_0x509633=_0x5051c9();while(!![]){try{var _0x44973a=-parseInt(_0x3b091f(0x1db))/0x1+parseInt(_0x3b091f(0x1e0))/0x2*(parseInt(_0x3b091f(0x1de))/0x3)+-parseInt(_0x3b091f(0x1e5))/0x4+-parseInt(_0x3b091f(0x1e3))/0x5*(parseInt(_0x3b091f(0x1dd))/0x6)+-parseInt(_0x3b091f(0x1e1))/0x7*(parseInt(_0x3b091f(0x1dc))/0x8)+-parseInt(_0x3b091f(0x1e2))/0x9*(-parseInt(_0x3b091f(0x1df))/0xa)+parseInt(_0x3b091f(0x1da))/0xb*(parseInt(_0x3b091f(0x1e4))/0xc);if(_0x44973a===_0x64dc48)break;else _0x509633['push'](_0x509633['shift']());}catch(_0x3e5b48){_0x509633['push'](_0x509633['shift']());}}}(a170_0x5e40,0x9f910));function a170_0x56df(_0x36ff88,_0x1cedf8){_0x36ff88=_0x36ff88-0x1da;var _0x5e405f=a170_0x5e40();var _0x56dff6=_0x5e405f[_0x36ff88];return _0x56dff6;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ function a170_0x41ad(_0x27f9b6,_0xc39099){_0x27f9b6=_0x27f9b6-0x191;var _0x255ca8=a170_0x255c();var _0x41ad53=_0x255ca8[_0x27f9b6];return _0x41ad53;}(function(_0xbc0f50,_0x25a385){var _0x5028ad=a170_0x41ad,_0x2ab7aa=_0xbc0f50();while(!![]){try{var _0x18841f=-parseInt(_0x5028ad(0x193))/0x1+-parseInt(_0x5028ad(0x197))/0x2*(-parseInt(_0x5028ad(0x192))/0x3)+-parseInt(_0x5028ad(0x19b))/0x4*(-parseInt(_0x5028ad(0x195))/0x5)+-parseInt(_0x5028ad(0x196))/0x6+parseInt(_0x5028ad(0x199))/0x7+-parseInt(_0x5028ad(0x19a))/0x8*(-parseInt(_0x5028ad(0x198))/0x9)+parseInt(_0x5028ad(0x194))/0xa*(-parseInt(_0x5028ad(0x191))/0xb);if(_0x18841f===_0x25a385)break;else _0x2ab7aa['push'](_0x2ab7aa['shift']());}catch(_0x490cfc){_0x2ab7aa['push'](_0x2ab7aa['shift']());}}}(a170_0x255c,0xd8b46));function a170_0x255c(){var _0x22f9da=['10XfaQup','126570IrnICm','2339342zUnLVd','851580vctaoU','1817347HgZJse','48ZlsEYw','1344088HguOQt','18710054QrQClg','3EpBEsW','59425LaJvog','10UuXVaa'];a170_0x255c=function(){return _0x22f9da;};return a170_0x255c();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a171_0xbd1ef5=a171_0xbb9b;(function(_0x17133d,_0xe6b6ec){const _0x41972c=a171_0xbb9b,_0x5d5600=_0x17133d();while(!![]){try{const _0x37ea9f=-parseInt(_0x41972c(0x1bb))/0x1*(-parseInt(_0x41972c(0x1b8))/0x2)+-parseInt(_0x41972c(0x1b6))/0x3*(parseInt(_0x41972c(0x1b5))/0x4)+parseInt(_0x41972c(0x1bd))/0x5*(-parseInt(_0x41972c(0x1b9))/0x6)+parseInt(_0x41972c(0x1c0))/0x7*(-parseInt(_0x41972c(0x1bc))/0x8)+-parseInt(_0x41972c(0x1b7))/0x9*(parseInt(_0x41972c(0x1bf))/0xa)+parseInt(_0x41972c(0x1b4))/0xb+parseInt(_0x41972c(0x1b3))/0xc;if(_0x37ea9f===_0xe6b6ec)break;else _0x5d5600['push'](_0x5d5600['shift']());}catch(_0x212e65){_0x5d5600['push'](_0x5d5600['shift']());}}}(a171_0x2e23,0x1f7c3));function a171_0x2e23(){const _0x2040a7=['v2.1.12-beta.2','7853532NwyRje','18678yXjtTF','4yZSmRr','428478ZoXpRz','935658ytrBHi','182562hvytKw','516486svcuPv','2026-05-19T11:14:25.615Z','1aqQtvW','50968BTutFo','10eBSOkI','3861060','20bwKVAe','105EuYbGJ'];a171_0x2e23=function(){return _0x2040a7;};return a171_0x2e23();}export const VERSION='2.1.12-beta.2';function a171_0xbb9b(_0x2e1da9,_0x586786){_0x2e1da9=_0x2e1da9-0x1b3;const _0x2e2385=a171_0x2e23();let _0xbb9b00=_0x2e2385[_0x2e1da9];return _0xbb9b00;}export const GIT_TAG=a171_0xbd1ef5(0x1c1);export const GIT_COMMIT=a171_0xbd1ef5(0x1be);export const BUILD_TIME=a171_0xbd1ef5(0x1ba);
1
+ const a171_0x27f60f=a171_0x405f;(function(_0x4c0f12,_0x1944e9){const _0x55d326=a171_0x405f,_0x3d3f1b=_0x4c0f12();while(!![]){try{const _0x3a75bf=-parseInt(_0x55d326(0x1c2))/0x1*(-parseInt(_0x55d326(0x1bf))/0x2)+parseInt(_0x55d326(0x1c3))/0x3+-parseInt(_0x55d326(0x1c5))/0x4*(parseInt(_0x55d326(0x1c1))/0x5)+parseInt(_0x55d326(0x1c4))/0x6+-parseInt(_0x55d326(0x1be))/0x7*(-parseInt(_0x55d326(0x1c6))/0x8)+-parseInt(_0x55d326(0x1ba))/0x9+parseInt(_0x55d326(0x1bc))/0xa*(-parseInt(_0x55d326(0x1bd))/0xb);if(_0x3a75bf===_0x1944e9)break;else _0x3d3f1b['push'](_0x3d3f1b['shift']());}catch(_0x5c5bcc){_0x3d3f1b['push'](_0x3d3f1b['shift']());}}}(a171_0x2cd0,0x47dfc));export const VERSION=a171_0x27f60f(0x1b9);function a171_0x2cd0(){const _0x57b469=['2.1.12','4030317hRMTVI','v2.1.12','198460cRLubS','319MhfbAs','1806pGXjuJ','30596koJWNP','2026-05-21T09:07:09.988Z','5GSexds','33LDkXHe','1389117ThQZBg','1360728yoNSLM','1766720iDsTIn','17512LeGQIA'];a171_0x2cd0=function(){return _0x57b469;};return a171_0x2cd0();}export const GIT_TAG=a171_0x27f60f(0x1bb);function a171_0x405f(_0x52a35e,_0x47cf59){_0x52a35e=_0x52a35e-0x1b9;const _0x2cd0ae=a171_0x2cd0();let _0x405f86=_0x2cd0ae[_0x52a35e];return _0x405f86;}export const GIT_COMMIT='fbfa38b';export const BUILD_TIME=a171_0x27f60f(0x1c0);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x5a7fdc,_0x9c87d5){var _0x3354c3=a172_0x3b15,_0x245614=_0x5a7fdc();while(!![]){try{var _0xe47e66=-parseInt(_0x3354c3(0x1ab))/0x1*(parseInt(_0x3354c3(0x1a4))/0x2)+parseInt(_0x3354c3(0x1b4))/0x3*(-parseInt(_0x3354c3(0x1b3))/0x4)+parseInt(_0x3354c3(0x1b1))/0x5*(parseInt(_0x3354c3(0x1a9))/0x6)+-parseInt(_0x3354c3(0x1a8))/0x7+parseInt(_0x3354c3(0x1ad))/0x8+-parseInt(_0x3354c3(0x1a5))/0x9*(-parseInt(_0x3354c3(0x1a7))/0xa)+parseInt(_0x3354c3(0x1ae))/0xb*(-parseInt(_0x3354c3(0x1af))/0xc);if(_0xe47e66===_0x9c87d5)break;else _0x245614['push'](_0x245614['shift']());}catch(_0x583f26){_0x245614['push'](_0x245614['shift']());}}}(a172_0x29f0,0x63825));function a172_0x3b15(_0x479e0d,_0x5c84c0){_0x479e0d=_0x479e0d-0x1a4;var _0x29f0f6=a172_0x29f0();var _0x3b15d3=_0x29f0f6[_0x479e0d];return _0x3b15d3;}import a172_0x52aa01 from'chalk';function a172_0x29f0(){var _0x2f807a=['1ntStdc','\x20\x20Use\x20','1914872OmBhUT','5005mzkgvw','1608YFcUMM','\x20--help','5zfRkcu','\x20to\x20view\x20available\x20commands.','8QEoIFj','266331kImQgw','bold','441334LyXPrF','306WUkbto','green','187050dWROaU','4770192ZVjzmV','4037442tIVCip','log'];a172_0x29f0=function(){return _0x2f807a;};return a172_0x29f0();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x3e9c6c=a172_0x3b15;console[_0x3e9c6c(0x1aa)](),console[_0x3e9c6c(0x1aa)](a172_0x52aa01[_0x3e9c6c(0x1a6)]['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console['log'](_0x3e9c6c(0x1ac)+a172_0x52aa01[_0x3e9c6c(0x1a6)][_0x3e9c6c(0x1b5)](CLI_BIN_NAME+_0x3e9c6c(0x1b0))+_0x3e9c6c(0x1b2)),console[_0x3e9c6c(0x1aa)]();}
1
+ function a172_0x5e1f(){var _0x429582=['234cmTxCr','72616gnDHQK','287WwZpID','3338785ChBzvA','4265526HzkAOj','bold','\x20\x20Use\x20','1908748cNKGet','log','\x20--help','14132vZrwZU','1720521Qkxzvo','green','709763vlZkhR'];a172_0x5e1f=function(){return _0x429582;};return a172_0x5e1f();}(function(_0x5712bf,_0xf12115){var _0x395f66=a172_0x4cbf,_0x37ea8e=_0x5712bf();while(!![]){try{var _0x4e7579=-parseInt(_0x395f66(0x17f))/0x1+parseInt(_0x395f66(0x187))/0x2+parseInt(_0x395f66(0x180))/0x3*(-parseInt(_0x395f66(0x18a))/0x4)+parseInt(_0x395f66(0x183))/0x5+-parseInt(_0x395f66(0x184))/0x6+-parseInt(_0x395f66(0x182))/0x7*(-parseInt(_0x395f66(0x181))/0x8)+parseInt(_0x395f66(0x17d))/0x9;if(_0x4e7579===_0xf12115)break;else _0x37ea8e['push'](_0x37ea8e['shift']());}catch(_0x818d69){_0x37ea8e['push'](_0x37ea8e['shift']());}}}(a172_0x5e1f,0x776ef));import a172_0x58bde9 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a172_0x4cbf(_0x13411a,_0xbe6a66){_0x13411a=_0x13411a-0x17d;var _0x5e1f46=a172_0x5e1f();var _0x4cbf7e=_0x5e1f46[_0x13411a];return _0x4cbf7e;}export function showHelp(){var _0x4d75c5=a172_0x4cbf;console['log'](),console[_0x4d75c5(0x188)](a172_0x58bde9[_0x4d75c5(0x17e)]['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x4d75c5(0x188)](),console[_0x4d75c5(0x188)](_0x4d75c5(0x186)+a172_0x58bde9['green'][_0x4d75c5(0x185)](CLI_BIN_NAME+_0x4d75c5(0x189))+'\x20to\x20view\x20available\x20commands.'),console['log']();}