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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/api-group.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/api/generate-sdk-config-file.js +1 -1
  6. package/lib/api/legacy-api-file.js +1 -1
  7. package/lib/api/model-registry-file.js +1 -1
  8. package/lib/api/model-registry-scaffold.js +1 -1
  9. package/lib/api/model-source.js +1 -1
  10. package/lib/auth/auth-server-ui.js +1 -1
  11. package/lib/auth/auth-server.js +1 -1
  12. package/lib/auth/constant.js +1 -1
  13. package/lib/auth/get-cookie.js +1 -1
  14. package/lib/auth/get-session-user.js +1 -1
  15. package/lib/auth/is-session-valid.js +1 -1
  16. package/lib/auth/login-success-html.js +1 -1
  17. package/lib/auth/logout.js +1 -1
  18. package/lib/cli-flags.js +1 -1
  19. package/lib/cli.js +1 -1
  20. package/lib/commands/api/generate.js +1 -1
  21. package/lib/commands/api/index.js +1 -1
  22. package/lib/commands/api/list.js +1 -1
  23. package/lib/commands/api/pull.js +1 -1
  24. package/lib/commands/api/shared.js +1 -1
  25. package/lib/commands/app/index.js +1 -1
  26. package/lib/commands/app/list.js +1 -1
  27. package/lib/commands/app/members-list.js +1 -1
  28. package/lib/commands/app/remote-directory.js +1 -1
  29. package/lib/commands/app/shared.js +1 -1
  30. package/lib/commands/app-config/delete.js +1 -1
  31. package/lib/commands/app-config/get.js +1 -1
  32. package/lib/commands/app-config/index.js +1 -1
  33. package/lib/commands/app-config/list.js +1 -1
  34. package/lib/commands/app-config/set.js +1 -1
  35. package/lib/commands/app-config/shared.js +1 -1
  36. package/lib/commands/auth/index.js +1 -1
  37. package/lib/commands/bff/create.js +1 -1
  38. package/lib/commands/bff/delete.js +1 -1
  39. package/lib/commands/bff/detail.js +1 -1
  40. package/lib/commands/bff/index.js +1 -1
  41. package/lib/commands/bff/list.js +1 -1
  42. package/lib/commands/bff/logs.js +1 -1
  43. package/lib/commands/bff/pull.js +1 -1
  44. package/lib/commands/bff/push.js +1 -1
  45. package/lib/commands/bff/status.js +1 -1
  46. package/lib/commands/cli-skill/index.js +1 -1
  47. package/lib/commands/cli-update.js +1 -1
  48. package/lib/commands/codegen/index.js +1 -1
  49. package/lib/commands/codegen/sdk.js +1 -1
  50. package/lib/commands/codegen/sql.js +1 -1
  51. package/lib/commands/common/app-registry.js +1 -1
  52. package/lib/commands/common/app-selector.js +1 -1
  53. package/lib/commands/common/async-task.js +1 -1
  54. package/lib/commands/common/dry-run.js +1 -1
  55. package/lib/commands/common/flags.js +1 -1
  56. package/lib/commands/common/local-file.js +1 -1
  57. package/lib/commands/common/validate.js +1 -1
  58. package/lib/commands/config/delete.js +1 -1
  59. package/lib/commands/config/get.js +1 -1
  60. package/lib/commands/config/index.js +1 -1
  61. package/lib/commands/config/init.js +1 -1
  62. package/lib/commands/config/list.js +1 -1
  63. package/lib/commands/config/set.js +1 -1
  64. package/lib/commands/config/shared.js +1 -1
  65. package/lib/commands/dataset/batch-design.js +1 -1
  66. package/lib/commands/dataset/business-group-update.js +1 -1
  67. package/lib/commands/dataset/business-groups.js +1 -1
  68. package/lib/commands/dataset/capability.js +1 -1
  69. package/lib/commands/dataset/cross-relation-create.js +1 -1
  70. package/lib/commands/dataset/cross-relation-delete.js +1 -1
  71. package/lib/commands/dataset/cross-relation-list.js +1 -1
  72. package/lib/commands/dataset/cross-relation-shared.js +1 -1
  73. package/lib/commands/dataset/cross-relation-update.js +1 -1
  74. package/lib/commands/dataset/delete.js +1 -1
  75. package/lib/commands/dataset/detail.js +1 -1
  76. package/lib/commands/dataset/extend-update.js +1 -1
  77. package/lib/commands/dataset/field-restore.js +1 -1
  78. package/lib/commands/dataset/field-update.js +1 -1
  79. package/lib/commands/dataset/generate.js +1 -1
  80. package/lib/commands/dataset/index.js +1 -1
  81. package/lib/commands/dataset/list.js +1 -1
  82. package/lib/commands/dataset/operations.js +1 -1
  83. package/lib/commands/dataset/relation-audit.js +1 -1
  84. package/lib/commands/dataset/relation-create.js +1 -1
  85. package/lib/commands/dataset/relation-delete.js +1 -1
  86. package/lib/commands/dataset/relation-shared.js +1 -1
  87. package/lib/commands/dataset/relation-update.js +1 -1
  88. package/lib/commands/dataset/relations.js +1 -1
  89. package/lib/commands/dataset/rename.js +1 -1
  90. package/lib/commands/dataset/restore.js +1 -1
  91. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  92. package/lib/commands/db/analysis-batching.js +1 -1
  93. package/lib/commands/db/analyze-batch-plan.js +1 -1
  94. package/lib/commands/db/analyze-cancel.js +1 -1
  95. package/lib/commands/db/analyze-start.js +1 -1
  96. package/lib/commands/db/analyze-status.js +1 -1
  97. package/lib/commands/db/create.js +1 -1
  98. package/lib/commands/db/delete.js +1 -1
  99. package/lib/commands/db/detail.js +1 -1
  100. package/lib/commands/db/diff-refresh-start.js +1 -1
  101. package/lib/commands/db/diff-refresh-status.js +1 -1
  102. package/lib/commands/db/diff.js +1 -1
  103. package/lib/commands/db/index.js +1 -1
  104. package/lib/commands/db/list.js +1 -1
  105. package/lib/commands/db/shared.js +1 -1
  106. package/lib/commands/db/table-diff-shared.js +1 -1
  107. package/lib/commands/db/tables.js +1 -1
  108. package/lib/commands/db/test.js +1 -1
  109. package/lib/commands/db/update.js +1 -1
  110. package/lib/commands/deployment/index.js +1 -1
  111. package/lib/commands/deployment/sync-all.js +1 -1
  112. package/lib/commands/deployment/sync-jobs.js +1 -1
  113. package/lib/commands/deployment/sync-status.js +1 -1
  114. package/lib/commands/doctor.js +1 -1
  115. package/lib/commands/file/index.js +1 -1
  116. package/lib/commands/flow/create.js +1 -1
  117. package/lib/commands/flow/detail.js +1 -1
  118. package/lib/commands/flow/index.js +1 -1
  119. package/lib/commands/flow/list.js +1 -1
  120. package/lib/commands/flow/publish.js +1 -1
  121. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  122. package/lib/commands/flow/runtime-role-list.js +1 -1
  123. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  124. package/lib/commands/flow/runtime-user-search.js +1 -1
  125. package/lib/commands/flow/shared.js +1 -1
  126. package/lib/commands/flow/update.js +1 -1
  127. package/lib/commands/flow/validate.js +1 -1
  128. package/lib/commands/instant-api-policy/current.js +1 -1
  129. package/lib/commands/instant-api-policy/index.js +1 -1
  130. package/lib/commands/instant-api-policy/init.js +1 -1
  131. package/lib/commands/instant-api-policy/publish.js +1 -1
  132. package/lib/commands/instant-api-policy/pull.js +1 -1
  133. package/lib/commands/instant-api-policy/revision.js +1 -1
  134. package/lib/commands/instant-api-policy/revisions.js +1 -1
  135. package/lib/commands/instant-api-policy/rollback.js +1 -1
  136. package/lib/commands/instant-api-policy/shared.js +1 -1
  137. package/lib/commands/instant-api-policy/validate.js +1 -1
  138. package/lib/commands/issue/index.js +1 -1
  139. package/lib/commands/issue/nudge.js +1 -1
  140. package/lib/commands/issue/report.js +1 -1
  141. package/lib/commands/issue/shared.js +1 -1
  142. package/lib/commands/kb/create.js +1 -1
  143. package/lib/commands/kb/delete.js +1 -1
  144. package/lib/commands/kb/detail.js +1 -1
  145. package/lib/commands/kb/index.js +1 -1
  146. package/lib/commands/kb/list.js +1 -1
  147. package/lib/commands/kb/search.js +1 -1
  148. package/lib/commands/kb/shared.js +1 -1
  149. package/lib/commands/kb/update.js +1 -1
  150. package/lib/commands/logs/index.js +1 -1
  151. package/lib/commands/menu/asset-update.js +1 -1
  152. package/lib/commands/menu/delete.js +1 -1
  153. package/lib/commands/menu/external-link-create.js +1 -1
  154. package/lib/commands/menu/external-link-update.js +1 -1
  155. package/lib/commands/menu/group-create.js +1 -1
  156. package/lib/commands/menu/group-update.js +1 -1
  157. package/lib/commands/menu/index.js +1 -1
  158. package/lib/commands/menu/list.js +1 -1
  159. package/lib/commands/menu/move.js +1 -1
  160. package/lib/commands/menu/regroup-start.js +1 -1
  161. package/lib/commands/menu/rename.js +1 -1
  162. package/lib/commands/menu/shared/compare-table.js +1 -1
  163. package/lib/commands/menu/shared/delete-plan.js +1 -1
  164. package/lib/commands/menu/shared/facts.js +1 -1
  165. package/lib/commands/menu/shared/index.js +1 -1
  166. package/lib/commands/menu/shared/inquirer.js +1 -1
  167. package/lib/commands/menu/shared/local-pages.js +1 -1
  168. package/lib/commands/menu/shared/logic.js +1 -1
  169. package/lib/commands/menu/shared/mutations.js +1 -1
  170. package/lib/commands/menu/shared/service.js +1 -1
  171. package/lib/commands/menu/shared/sync-core.js +1 -1
  172. package/lib/commands/menu/shared/update-core.js +1 -1
  173. package/lib/commands/menu/shared/valid-url.js +1 -1
  174. package/lib/commands/menu/sync.js +1 -1
  175. package/lib/commands/menu/visibility-update.js +1 -1
  176. package/lib/commands/notification/config-create.js +1 -1
  177. package/lib/commands/notification/config-delete.js +1 -1
  178. package/lib/commands/notification/config-list.js +1 -1
  179. package/lib/commands/notification/config-update.js +1 -1
  180. package/lib/commands/notification/index.js +1 -1
  181. package/lib/commands/notification/shared.js +1 -1
  182. package/lib/commands/ocr/index.js +1 -1
  183. package/lib/commands/page/create.js +1 -1
  184. package/lib/commands/page/custom/detail.js +1 -1
  185. package/lib/commands/page/custom/list.js +1 -1
  186. package/lib/commands/page/custom/publish.js +1 -1
  187. package/lib/commands/page/custom/shared.js +1 -1
  188. package/lib/commands/page/custom/syntax.js +1 -1
  189. package/lib/commands/page/custom/update.js +1 -1
  190. package/lib/commands/page/data-list-status.js +1 -1
  191. package/lib/commands/page/generate-start.js +1 -1
  192. package/lib/commands/page/generate-status.js +1 -1
  193. package/lib/commands/page/index.js +1 -1
  194. package/lib/commands/page/pull.js +1 -1
  195. package/lib/commands/page/push.js +1 -1
  196. package/lib/commands/page/relation-audit.js +1 -1
  197. package/lib/commands/page/restore.js +1 -1
  198. package/lib/commands/page/shared.js +1 -1
  199. package/lib/commands/page/sync.js +1 -1
  200. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  201. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  202. package/lib/commands/project/create/format-elapsed.js +1 -1
  203. package/lib/commands/project/create/main.js +1 -1
  204. package/lib/commands/project/create/materialize-project-template.js +1 -1
  205. package/lib/commands/project/create/project-name.js +1 -1
  206. package/lib/commands/project/create/project-template-archive.js +1 -1
  207. package/lib/commands/project/create/project-template-path.js +1 -1
  208. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  209. package/lib/commands/project/create/use-format-code.js +1 -1
  210. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  211. package/lib/commands/project/domain-routing-sync.js +1 -1
  212. package/lib/commands/project/index.js +1 -1
  213. package/lib/commands/project/upgrade.js +1 -1
  214. package/lib/commands/registry.js +1 -1
  215. package/lib/commands/role/delete.js +1 -1
  216. package/lib/commands/role/detail.js +1 -1
  217. package/lib/commands/role/index.js +1 -1
  218. package/lib/commands/role/list.js +1 -1
  219. package/lib/commands/role/shared.js +1 -1
  220. package/lib/commands/role/update.js +1 -1
  221. package/lib/commands/role/user-add.js +1 -1
  222. package/lib/commands/role/user-remove.js +1 -1
  223. package/lib/commands/role/user-resolve.js +1 -1
  224. package/lib/commands/rule/get.js +1 -1
  225. package/lib/commands/rule/index.js +1 -1
  226. package/lib/commands/rule/list.js +1 -1
  227. package/lib/commands/rule/set.js +1 -1
  228. package/lib/commands/rule/shared.js +1 -1
  229. package/lib/commands/run/index.js +1 -1
  230. package/lib/commands/schema.js +1 -1
  231. package/lib/commands/sql/create.js +1 -1
  232. package/lib/commands/sql/delete.js +1 -1
  233. package/lib/commands/sql/detail.js +1 -1
  234. package/lib/commands/sql/exec.js +1 -1
  235. package/lib/commands/sql/index.js +1 -1
  236. package/lib/commands/sql/list.js +1 -1
  237. package/lib/commands/sql/pull.js +1 -1
  238. package/lib/commands/sql/push.js +1 -1
  239. package/lib/commands/sql/shared.js +1 -1
  240. package/lib/commands/sql/status.js +1 -1
  241. package/lib/commands/sql/validate.js +1 -1
  242. package/lib/commands/task/index.js +1 -1
  243. package/lib/commands/task/status.js +1 -1
  244. package/lib/commands/tenant/index.js +1 -1
  245. package/lib/commands/tenant/members-list.js +1 -1
  246. package/lib/commands/tenant/shared.js +1 -1
  247. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  248. package/lib/commands/user-account/feishu-bind.d.ts +2 -0
  249. package/lib/commands/user-account/feishu-bind.js +1 -0
  250. package/lib/commands/user-account/index.js +1 -1
  251. package/lib/commands/workspace/add.js +1 -1
  252. package/lib/commands/workspace/index.js +1 -1
  253. package/lib/commands/workspace/remove.js +1 -1
  254. package/lib/config/domain-config.js +1 -1
  255. package/lib/config/project-domain-routing.js +1 -1
  256. package/lib/config/region-config.js +1 -1
  257. package/lib/config/schema.js +1 -1
  258. package/lib/constant/cdn.js +1 -1
  259. package/lib/constant/cli.js +1 -1
  260. package/lib/constant/defaults.js +1 -1
  261. package/lib/constant/domain.js +1 -1
  262. package/lib/constant/env.js +1 -1
  263. package/lib/constant/output.js +1 -1
  264. package/lib/constant/paths.js +1 -1
  265. package/lib/constant/region.js +1 -1
  266. package/lib/constant/risk.js +1 -1
  267. package/lib/constant/routing-profile.js +1 -1
  268. package/lib/context/app-resolver.js +1 -1
  269. package/lib/context/auth-resolver.js +1 -1
  270. package/lib/context/config-loader.js +1 -1
  271. package/lib/context.js +1 -1
  272. package/lib/core/alias-resolver.js +1 -1
  273. package/lib/core/api-client.d.ts +2 -0
  274. package/lib/core/api-client.js +1 -1
  275. package/lib/core/bff/config.js +1 -1
  276. package/lib/core/bff/file-system.js +1 -1
  277. package/lib/core/bff/hash.js +1 -1
  278. package/lib/core/bff/hook-directory.js +1 -1
  279. package/lib/core/bff/lock.js +1 -1
  280. package/lib/core/bff/utils.js +1 -1
  281. package/lib/core/cross-db-relation.js +1 -1
  282. package/lib/core/db-resolver.js +1 -1
  283. package/lib/core/flow-config.js +1 -1
  284. package/lib/core/instant-api-policy/config.js +1 -1
  285. package/lib/core/kb-search-client.js +1 -1
  286. package/lib/core/page/file-system.js +1 -1
  287. package/lib/core/page/hash.js +1 -1
  288. package/lib/core/page/lock.js +1 -1
  289. package/lib/core/page/lr-smart-jsx.js +1 -1
  290. package/lib/core/sql-index-auditor.js +1 -1
  291. package/lib/core/sql-sync/config.js +1 -1
  292. package/lib/core/sql-sync/file-system.js +1 -1
  293. package/lib/core/sql-sync/hash.js +1 -1
  294. package/lib/core/sql-sync/lock.js +1 -1
  295. package/lib/core/sql-sync/utils.js +1 -1
  296. package/lib/core/sql-validator.js +1 -1
  297. package/lib/errors.js +1 -1
  298. package/lib/framework/build-all-flags.js +1 -1
  299. package/lib/framework/error-output.js +1 -1
  300. package/lib/framework/explicit-yes.js +1 -1
  301. package/lib/framework/flags.js +1 -1
  302. package/lib/framework/help.js +1 -1
  303. package/lib/framework/index.js +1 -1
  304. package/lib/framework/output.js +1 -1
  305. package/lib/framework/response.js +1 -1
  306. package/lib/framework/runner-alias.js +1 -1
  307. package/lib/framework/runner.js +1 -1
  308. package/lib/framework/schema-export.js +1 -1
  309. package/lib/framework/supported-flags.js +1 -1
  310. package/lib/framework/types.js +1 -1
  311. package/lib/generated/build-info.d.ts +4 -4
  312. package/lib/generated/build-info.js +1 -1
  313. package/lib/generated/official-routing.js +1 -1
  314. package/lib/generated/routing-contract.js +1 -1
  315. package/lib/help.js +1 -1
  316. package/lib/postinstall.js +1 -1
  317. package/lib/runtime/confirmation.js +1 -1
  318. package/lib/runtime/event.js +1 -1
  319. package/lib/runtime/index.js +1 -1
  320. package/lib/runtime/queue.js +1 -1
  321. package/lib/runtime/resolve.js +1 -1
  322. package/lib/skills/builtin-skill.js +1 -1
  323. package/lib/skills/main.js +1 -1
  324. package/lib/skills/npx-skills-add.js +1 -1
  325. package/lib/skills/skill-presence.js +1 -1
  326. package/lib/telemetry/cli-command-trace.js +1 -1
  327. package/lib/telemetry/cli-help-trace.js +1 -1
  328. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  329. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  330. package/lib/telemetry/send-cli-trace-log.js +1 -1
  331. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  332. package/lib/utils/ai_config.js +1 -1
  333. package/lib/utils/apply-jq-filter.js +1 -1
  334. package/lib/utils/cdn-config.js +1 -1
  335. package/lib/utils/check-sdk-version.js +1 -1
  336. package/lib/utils/cli-version-check.js +1 -1
  337. package/lib/utils/cli-version-policy.js +1 -1
  338. package/lib/utils/config.js +1 -1
  339. package/lib/utils/entity-with-id.js +1 -1
  340. package/lib/utils/file-utils.js +1 -1
  341. package/lib/utils/guides-cdn.js +1 -1
  342. package/lib/utils/http-client.js +1 -1
  343. package/lib/utils/is-non-interactive.js +1 -1
  344. package/lib/utils/logger.js +1 -1
  345. package/lib/utils/params.js +1 -1
  346. package/lib/utils/platform.js +1 -1
  347. package/lib/utils/sleep.js +1 -1
  348. package/lib/utils/template-replacer.js +1 -1
  349. package/lib/utils/update-notice.js +1 -1
  350. package/lib/utils/version.js +1 -1
  351. package/lib/utils/with-active-cookie.js +1 -1
  352. package/lib/utils/write-cli-side-channel.js +1 -1
  353. package/package.json +1 -1
  354. package/skills/rabetbase/SKILL.md +3 -2
  355. package/skills/rabetbase/references/rabetbase-user-account.md +20 -2
  356. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- const a296_0x5c2e02=a296_0x2358;(function(_0x347599,_0x2a2496){const _0x46a384=a296_0x2358,_0x4e5934=_0x347599();while(!![]){try{const _0xc329e9=parseInt(_0x46a384(0x19f))/0x1*(-parseInt(_0x46a384(0x16e))/0x2)+parseInt(_0x46a384(0x192))/0x3+-parseInt(_0x46a384(0x1a6))/0x4+parseInt(_0x46a384(0x1ac))/0x5+-parseInt(_0x46a384(0x191))/0x6*(-parseInt(_0x46a384(0x17e))/0x7)+parseInt(_0x46a384(0x190))/0x8*(-parseInt(_0x46a384(0x15a))/0x9)+-parseInt(_0x46a384(0x199))/0xa;if(_0xc329e9===_0x2a2496)break;else _0x4e5934['push'](_0x4e5934['shift']());}catch(_0x1d0706){_0x4e5934['push'](_0x4e5934['shift']());}}}(a296_0x4ede,0xd697b));const MYBATIS_OUTER_TAGS=new Map([[a296_0x5c2e02(0x14b),a296_0x5c2e02(0x18d)],[a296_0x5c2e02(0x1a9),a296_0x5c2e02(0x1a2)],[a296_0x5c2e02(0x163),a296_0x5c2e02(0x172)],[a296_0x5c2e02(0x198),a296_0x5c2e02(0x1a1)]]),MYBATIS_DYNAMIC_TAGS=new Set(['if',a296_0x5c2e02(0x15b),a296_0x5c2e02(0x185),'choose','when',a296_0x5c2e02(0x18e),a296_0x5c2e02(0x1a5),a296_0x5c2e02(0x175),a296_0x5c2e02(0x1ad),a296_0x5c2e02(0x14a),a296_0x5c2e02(0x1b1)]),MYBATIS_BRANCH_TAGS=new Set(['if',a296_0x5c2e02(0x185),a296_0x5c2e02(0x164),a296_0x5c2e02(0x1ab),a296_0x5c2e02(0x18e)]);export const MYBATIS_DYNAMIC_START_MARKER=a296_0x5c2e02(0x1b0);export const MYBATIS_DYNAMIC_END_MARKER=a296_0x5c2e02(0x155);export const MYBATIS_INCLUDE_MARKER=a296_0x5c2e02(0x17c);const UNRESOLVED_SQL_FRAGMENT=a296_0x5c2e02(0x1a3),MYBATIS_OUTER_TAG_PATTERN=new RegExp(a296_0x5c2e02(0x17f)+[...MYBATIS_OUTER_TAGS[a296_0x5c2e02(0x186)]()][a296_0x5c2e02(0x181)]('|')+a296_0x5c2e02(0x161),'i');export function normalizeSqlForStaticAnalysis(_0xfcf15e){const _0xe41442=a296_0x5c2e02,_0x1e0576=typeof _0xfcf15e==='string'?_0xfcf15e:'';if(detectSqlSourceMode(_0x1e0576)===_0xe41442(0x19e))return{'sql':_0x1e0576,'mode':_0xe41442(0x19e)};let _0x25fdf8=0x0,_0x1e152f='',_0x16f27a,_0x174768=![],_0x3ef655=![];const _0x136055=[];while(_0x25fdf8<_0x1e0576[_0xe41442(0x176)]){if(_0x1e0576['startsWith'](_0xe41442(0x157),_0x25fdf8)){const _0x22bca8=_0x1e0576[_0xe41442(0x149)](_0xe41442(0x151),_0x25fdf8+0x4);if(_0x22bca8<0x0)return invalidMybatisSource(_0xe41442(0x193));_0x1e152f+='\x20',_0x25fdf8=_0x22bca8+0x3;continue;}if(_0x1e0576['startsWith'](_0xe41442(0x19b),_0x25fdf8)){if(!_0x174768||_0x3ef655)return invalidMybatisSource(_0xe41442(0x152));const _0x22a391=_0x1e0576[_0xe41442(0x149)](_0xe41442(0x154),_0x25fdf8+0x9);if(_0x22a391<0x0)return invalidMybatisSource('Unterminated\x20CDATA\x20section.');_0x1e152f+=_0x1e0576[_0xe41442(0x17b)](_0x25fdf8+0x9,_0x22a391),_0x25fdf8=_0x22a391+0x3;continue;}if(_0x1e0576['startsWith']('<?',_0x25fdf8)){if(_0x174768)return invalidMybatisSource(_0xe41442(0x196));const _0x2062ec=_0x1e0576[_0xe41442(0x149)]('?>',_0x25fdf8+0x2);if(_0x2062ec<0x0)return invalidMybatisSource('Unterminated\x20XML\x20declaration.');_0x1e152f+='\x20',_0x25fdf8=_0x2062ec+0x2;continue;}if(_0x1e0576[_0x25fdf8]!=='<'){const _0x4893af=_0x1e0576['indexOf']('<',_0x25fdf8),_0x61013e=_0x4893af<0x0?_0x1e0576['length']:_0x4893af,_0x1ae66a=_0x1e0576[_0xe41442(0x17b)](_0x25fdf8,_0x61013e);if((!_0x174768||_0x3ef655)&&_0x1ae66a['trim']())return invalidMybatisSource('SQL\x20text\x20must\x20be\x20inside\x20the\x20MyBatis\x20statement\x20wrapper.');if(_0x174768&&!_0x3ef655){const _0x3cc5a6=decodeXmlEntities(_0x1ae66a);if(_0x3cc5a6===null)return invalidMybatisSource(_0xe41442(0x14c));_0x1e152f+=_0x3cc5a6;}else _0x1e152f+='\x20';_0x25fdf8=_0x61013e;continue;}const _0x1f5f01=findXmlTagEnd(_0x1e0576,_0x25fdf8);if(_0x1f5f01<0x0)return invalidMybatisSource('Unterminated\x20MyBatis\x20XML\x20tag.');const _0x53866d=_0x1e0576[_0xe41442(0x17b)](_0x25fdf8,_0x1f5f01+0x1),_0x21104a=/^<\s*(\/?)\s*([A-Za-z][\w:-]*)([\s\S]*?)(\/?)\s*>$/[_0xe41442(0x1b2)](_0x53866d);if(!_0x21104a)return invalidMybatisSource(_0xe41442(0x14e));const _0x230a01=_0x21104a[0x1]==='/',_0x3be770=_0x21104a[0x2]??'',_0x8ab5b=_0x3be770[_0xe41442(0x195)](),_0x237c75=_0x21104a[0x3]??'',_0x2e3f5e=_0x21104a[0x4]==='/',_0x570d7d=MYBATIS_OUTER_TAGS[_0xe41442(0x15f)](_0x8ab5b);if(!_0x570d7d&&!MYBATIS_DYNAMIC_TAGS[_0xe41442(0x167)](_0x8ab5b))return invalidMybatisSource(_0xe41442(0x178)+_0x8ab5b+'>.');if(!_0x570d7d&&_0x3be770!==_0x8ab5b)return invalidMybatisSource(_0xe41442(0x158)+_0x3be770+'>.');if(_0x230a01){if(_0x237c75['trim']()||_0x2e3f5e)return invalidMybatisSource(_0xe41442(0x177)+_0x3be770+'>.');const _0x3b050e=_0x136055['at'](-0x1);if(!_0x3b050e||(_0x3b050e[_0xe41442(0x183)]?_0x3b050e[_0xe41442(0x166)]!==_0x8ab5b:_0x3b050e[_0xe41442(0x19a)]!==_0x3be770))return invalidMybatisSource(_0xe41442(0x1af)+_0x3be770+'>.');_0x136055[_0xe41442(0x17a)]();if(_0x3b050e[_0xe41442(0x183)])_0x3ef655=!![];_0x1e152f+=MYBATIS_BRANCH_TAGS['has'](_0x8ab5b)?'\x20'+MYBATIS_DYNAMIC_END_MARKER+'\x20':'\x20';}else{if(!hasWellFormedXmlAttributes(_0x237c75))return invalidMybatisSource('Invalid\x20attributes\x20on\x20MyBatis\x20XML\x20tag:\x20<'+_0x3be770+'>.');if(_0x8ab5b===_0xe41442(0x1b1)&&(!_0x2e3f5e||_0x136055['at'](-0x1)?.['tagName']!=='include'))return invalidMybatisSource('MyBatis\x20<property>\x20must\x20be\x20a\x20self-closing\x20direct\x20child\x20of\x20<include>.');if(_0x570d7d){if(_0x174768||_0x136055[_0xe41442(0x176)]>0x0)return invalidMybatisSource(_0xe41442(0x160));_0x174768=!![],_0x3ef655=_0x2e3f5e,_0x16f27a=_0x570d7d;}else{if(!_0x174768||_0x3ef655)return invalidMybatisSource(_0xe41442(0x18b)+_0x3be770+'>.');}_0x1e152f+=_0x8ab5b===_0xe41442(0x15b)?_0xe41442(0x1a7):_0x8ab5b===_0xe41442(0x175)?_0xe41442(0x1a8):_0x8ab5b==='include'?'\x20'+MYBATIS_INCLUDE_MARKER+'\x20':MYBATIS_BRANCH_TAGS[_0xe41442(0x167)](_0x8ab5b)&&!_0x2e3f5e?'\x20'+MYBATIS_DYNAMIC_START_MARKER+'\x20':'\x20',!_0x2e3f5e&&_0x136055['push']({'rawName':_0x3be770,'tagName':_0x8ab5b,'outer':!!_0x570d7d});}_0x25fdf8=_0x1f5f01+0x1;}if(_0x136055[_0xe41442(0x176)]>0x0)return invalidMybatisSource('Unclosed\x20MyBatis\x20XML\x20tag:\x20<'+_0x136055['at'](-0x1)?.['rawName']+'>.');if(!_0x174768||!_0x3ef655)return invalidMybatisSource(_0xe41442(0x162));return{'sql':_0x1e152f[_0xe41442(0x1a5)](),'mode':_0xe41442(0x14d),..._0x16f27a?{'statementType':_0x16f27a}:{}};}function a296_0x2358(_0x3d8eae,_0x2513d3){_0x3d8eae=_0x3d8eae-0x149;const _0x4edef4=a296_0x4ede();let _0x2358c7=_0x4edef4[_0x3d8eae];return _0x2358c7;}function hasWellFormedXmlAttributes(_0x486ae1){const _0x555d34=a296_0x5c2e02;let _0x5eda80=0x0;const _0x14ac0f=new Set();while(_0x5eda80<_0x486ae1['length']){while(_0x5eda80<_0x486ae1[_0x555d34(0x176)]&&/\s/['test'](_0x486ae1[_0x5eda80]??''))_0x5eda80+=0x1;if(_0x5eda80>=_0x486ae1['length'])return!![];const _0x4d1239=/^[A-Za-z_:][\w:.-]*/['exec'](_0x486ae1[_0x555d34(0x17b)](_0x5eda80)),_0x30ed1e=_0x4d1239?.[0x0];if(!_0x30ed1e||_0x14ac0f['has'](_0x30ed1e))return![];_0x14ac0f[_0x555d34(0x153)](_0x30ed1e),_0x5eda80+=_0x30ed1e[_0x555d34(0x176)];while(_0x5eda80<_0x486ae1[_0x555d34(0x176)]&&/\s/[_0x555d34(0x187)](_0x486ae1[_0x5eda80]??''))_0x5eda80+=0x1;if(_0x486ae1[_0x5eda80]!=='=')return![];_0x5eda80+=0x1;while(_0x5eda80<_0x486ae1[_0x555d34(0x176)]&&/\s/[_0x555d34(0x187)](_0x486ae1[_0x5eda80]??''))_0x5eda80+=0x1;const _0x21c56c=_0x486ae1[_0x5eda80];if(_0x21c56c!=='\x22'&&_0x21c56c!=='\x27')return![];_0x5eda80+=0x1;const _0x6ae2f4=_0x486ae1[_0x555d34(0x149)](_0x21c56c,_0x5eda80);if(_0x6ae2f4<0x0)return![];if(decodeXmlEntities(_0x486ae1[_0x555d34(0x17b)](_0x5eda80,_0x6ae2f4))===null)return![];_0x5eda80=_0x6ae2f4+0x1;}return!![];}function a296_0x4ede(){const _0xce09b0=['UNKNOWN','DDL\x20statements\x20require\x20explicit\x20review','some','MyBatis\x20dynamic\x20tag\x20must\x20be\x20inside\x20the\x20statement\x20wrapper:\x20<','includes','SELECT','otherwise','\x20statements\x20require\x20explicit\x20review.\x20Local\x20analysis\x20does\x20not\x20authorize\x20saving\x20or\x20execution.','1972616uoNERp','611670HPPcbR','3666816lTGLup','Unterminated\x20XML\x20comment.','match','toLowerCase','XML\x20declarations\x20must\x20precede\x20the\x20MyBatis\x20statement\x20wrapper.','SHARE','delete','19246940KkPopV','rawName','<![CDATA[','LOCK\x20IN\x20SHARE\x20MODE','reason','sql','110UMbUIO','SQL\x20contains\x20blocked\x20DELETE\x20or\x20DDL\x20statements','DELETE','INSERT','__RABETBASE_UNRESOLVED_SQL_FRAGMENT__','WITH','trim','1355488wQLHsn','\x20WHERE\x20','\x20SET\x20','insert','isDangerous','when','7456335EmPSXL','bind','NOT','Mismatched\x20MyBatis\x20XML\x20closing\x20tag:\x20</','__RABETBASE_MYBATIS_DYNAMIC_START__','property','exec','indexOf','include','select','Invalid\x20XML\x20entity\x20reference.','mybatisXml','Invalid\x20MyBatis\x20XML\x20tag.','replaceAll','Local\x20analysis\x20could\x20not\x20parse\x20the\x20WITH\x20prefix;\x20this\x20is\x20a\x20local\x20capability\x20limit,\x20not\x20a\x20platform\x20rejection.','-->','CDATA\x20sections\x20must\x20be\x20inside\x20the\x20MyBatis\x20statement\x20wrapper.','add',']]>','__RABETBASE_MYBATIS_DYNAMIC_END__','parseInt','<!--','MyBatis\x20dynamic\x20tag\x20names\x20must\x20be\x20lowercase:\x20<','startsWith','9bQyXab','where','Unable\x20to\x20detect\x20SQL\x20type.\x20','SET','\x20with\x20parameters:\x20','get','Multiple\x20MyBatis\x20statement\x20wrappers\x20are\x20not\x20supported.',')\x5cb','MyBatis\x20XML\x20must\x20contain\x20exactly\x20one\x20complete\x20statement\x20wrapper.','update','choose','RECURSIVE','tagName','has','filter','push','from','SQL\x20content\x20is\x20empty','replace','MATERIALIZED','15520ixrxuy','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','DELETE\x20statements\x20require\x20explicit\x20review','type','UPDATE','matchAll','DDL','set','length','Invalid\x20MyBatis\x20XML\x20closing\x20tag:\x20</','Unsupported\x20MyBatis\x20XML\x20tag:\x20<','statementType','pop','slice','__RABETBASE_MYBATIS_INCLUDE_UNRESOLVED__','error','105axuzVW','^<\x5cs*(?:','&amp;','join','unknown\x20table(s)','outer','FOR','foreach','keys','test'];a296_0x4ede=function(){return _0xce09b0;};return a296_0x4ede();}export function detectSqlSourceMode(_0xddbae7){const _0x5f4aaf=a296_0x5c2e02;let _0x25f1af=0x0;const _0x10e9a0=()=>{const _0x39e080=a296_0x2358;while(_0x25f1af<_0xddbae7[_0x39e080(0x176)]&&/\s/[_0x39e080(0x187)](_0xddbae7[_0x25f1af]??''))_0x25f1af+=0x1;};_0x10e9a0();while(_0x25f1af<_0xddbae7['length']){if(_0xddbae7[_0x5f4aaf(0x159)](_0x5f4aaf(0x157),_0x25f1af)){const _0x215954=_0xddbae7[_0x5f4aaf(0x149)](_0x5f4aaf(0x151),_0x25f1af+0x4);if(_0x215954<0x0)return _0x5f4aaf(0x14d);_0x25f1af=_0x215954+0x3,_0x10e9a0();continue;}if(_0xddbae7[_0x5f4aaf(0x159)]('<?',_0x25f1af)){const _0x4b46b1=_0xddbae7['indexOf']('?>',_0x25f1af+0x2);if(_0x4b46b1<0x0)return'mybatisXml';_0x25f1af=_0x4b46b1+0x2,_0x10e9a0();continue;}break;}return MYBATIS_OUTER_TAG_PATTERN[_0x5f4aaf(0x187)](_0xddbae7[_0x5f4aaf(0x17b)](_0x25f1af))?_0x5f4aaf(0x14d):_0x5f4aaf(0x19e);}function invalidMybatisSource(_0x4cecab){return{'sql':'','mode':'mybatisXml','error':_0x4cecab};}function findXmlTagEnd(_0x2dd77b,_0x4a0735){const _0x14e26b=a296_0x5c2e02;let _0x582dbb;for(let _0x196bbe=_0x4a0735+0x1;_0x196bbe<_0x2dd77b[_0x14e26b(0x176)];_0x196bbe+=0x1){const _0x4c7d60=_0x2dd77b[_0x196bbe];if(_0x582dbb){if(_0x4c7d60===_0x582dbb)_0x582dbb=undefined;continue;}if(_0x4c7d60==='\x22'||_0x4c7d60==='\x27'){_0x582dbb=_0x4c7d60;continue;}if(_0x4c7d60==='>')return _0x196bbe;}return-0x1;}function decodeXmlEntities(_0x26fc24){const _0x31220a=a296_0x5c2e02;let _0x24ccc6=![];const _0x5ecd29=_0x26fc24[_0x31220a(0x16c)](/&(?:#x[0-9a-f]+;|#[0-9]+;|[A-Za-z_:][\w:.-]*;)?/g,_0x5b2ec4=>{const _0x46552e=_0x31220a;if(_0x5b2ec4==='&lt;')return'<';if(_0x5b2ec4==='&gt;')return'>';if(_0x5b2ec4==='&quot;')return'\x22';if(_0x5b2ec4==='&apos;')return'\x27';if(_0x5b2ec4===_0x46552e(0x180))return'&';const _0x15b8f6=/^&#(?:x([0-9a-f]+)|([0-9]+));$/[_0x46552e(0x1b2)](_0x5b2ec4);if(_0x15b8f6){const _0x5067b3=_0x15b8f6[0x1],_0x2eeb33=_0x15b8f6[0x2],_0xe760fc=Number[_0x46552e(0x156)](_0x5067b3??_0x2eeb33??'',_0x5067b3?0x10:0xa);if(isValidXmlCharacter(_0xe760fc))return String['fromCodePoint'](_0xe760fc);}return _0x24ccc6=!![],'';});return _0x24ccc6?null:_0x5ecd29;}function isValidXmlCharacter(_0x471383){return _0x471383===0x9||_0x471383===0xa||_0x471383===0xd||_0x471383>=0x20&&_0x471383<=0xd7ff||_0x471383>=0xe000&&_0x471383<=0xfffd||_0x471383>=0x10000&&_0x471383<=0x10ffff;}export function detectSqlType(_0x544f8a){return detectNormalizedSqlType(normalizeSqlForStaticAnalysis(_0x544f8a));}function detectNormalizedSqlType(_0x30a927){const _0x3e06a3=a296_0x5c2e02;if(_0x30a927['error'])return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![],'reason':_0x30a927[_0x3e06a3(0x17d)]};if(!_0x30a927['sql'][_0x3e06a3(0x1a5)]())return{'type':_0x3e06a3(0x188),'isSelectOnly':![],'isDangerous':![],'reason':_0x3e06a3(0x16b)};const _0x2156fa=tokenizeSqlForTypeAnalysis(_0x30a927[_0x3e06a3(0x19e)]),_0x458e07=_0x2156fa[_0x3e06a3(0x168)](_0x59f941=>_0x59f941!==MYBATIS_DYNAMIC_START_MARKER&&_0x59f941!==MYBATIS_DYNAMIC_END_MARKER),_0x37bd27=findMainStatementIndex(_0x458e07);if(_0x37bd27<0x0)return{'type':_0x3e06a3(0x188),'isSelectOnly':![],'isDangerous':![],'reason':_0x3e06a3(0x150)};const _0x184873=_0x458e07[_0x37bd27]??'',_0xf1fd29=_0x30a927[_0x3e06a3(0x179)]??_0x184873,_0x59437f=_0x2156fa[_0x3e06a3(0x18a)](_0x40cce4=>/^(DELETE|DROP|ALTER|CREATE|TRUNCATE)$/[_0x3e06a3(0x187)](_0x40cce4)),_0x210919=new Set();let _0x1dcc3c=![];for(let _0x1c3c9e=0x0;_0x1c3c9e<_0x2156fa[_0x3e06a3(0x176)];_0x1c3c9e+=0x1){const _0x4e4036=_0x2156fa[_0x1c3c9e];(_0x4e4036===_0x3e06a3(0x172)||_0x4e4036===_0x3e06a3(0x197))&&isLockingClauseKeyword(_0x2156fa,_0x1c3c9e)&&(_0x210919[_0x3e06a3(0x153)](_0x1c3c9e),_0x1dcc3c=!![]);if(_0x2156fa[_0x3e06a3(0x17b)](_0x1c3c9e,_0x1c3c9e+0x4)['join']('\x20')===_0x3e06a3(0x19c))_0x1dcc3c=!![];}if(_0xf1fd29===_0x3e06a3(0x18d)){const _0x1ac4fc=_0x2156fa['some']((_0xfcd751,_0x8febe)=>/^(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)$/[_0x3e06a3(0x187)](_0xfcd751)&&!_0x210919[_0x3e06a3(0x167)](_0x8febe));return{'type':_0x3e06a3(0x18d),'isSelectOnly':!_0x1ac4fc&&!_0x1dcc3c,'isLockingRead':_0x1dcc3c,'isDangerous':_0x1ac4fc,'reason':_0x1ac4fc?_0x3e06a3(0x16f):undefined};}if(_0xf1fd29===_0x3e06a3(0x1a2))return{'type':_0x3e06a3(0x1a2),'isSelectOnly':![],'isDangerous':_0x59437f,'reason':_0x59437f?_0x3e06a3(0x1a0):undefined};if(_0xf1fd29===_0x3e06a3(0x172))return{'type':_0x3e06a3(0x172),'isSelectOnly':![],'isDangerous':_0x59437f,'reason':_0x59437f?_0x3e06a3(0x1a0):undefined};if(_0xf1fd29===_0x3e06a3(0x1a1))return{'type':_0x3e06a3(0x1a1),'isSelectOnly':![],'isDangerous':!![],'reason':_0x3e06a3(0x170)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i['test'](_0x184873))return{'type':_0x3e06a3(0x174),'isSelectOnly':![],'isDangerous':!![],'reason':_0x3e06a3(0x189)};return{'type':_0x3e06a3(0x188),'isSelectOnly':![],'isDangerous':![]};}function isLockingClauseKeyword(_0x4d05dc,_0x1d6846){const _0x2272b6=a296_0x5c2e02,_0x55c69c=_0x4d05dc[_0x1d6846]===_0x2272b6(0x172)?[[_0x2272b6(0x184)],[_0x2272b6(0x184),'NO','KEY']]:[['FOR'],[_0x2272b6(0x184),'KEY']],_0x4dd011=_0x55c69c[_0x2272b6(0x18a)](_0x203f03=>{const _0x20e019=_0x2272b6,_0x2a12b0=_0x1d6846-_0x203f03[_0x20e019(0x176)];return _0x2a12b0>=0x0&&_0x4d05dc['slice'](_0x2a12b0,_0x1d6846)[_0x20e019(0x181)]('\x20')===_0x203f03[_0x20e019(0x181)]('\x20');});if(!_0x4dd011)return![];return!_0x4d05dc[_0x2272b6(0x17b)](_0x1d6846+0x1,_0x1d6846+0x5)[_0x2272b6(0x18c)](_0x2272b6(0x15d));}function findMainStatementIndex(_0x2eadd4){const _0x5920ea=a296_0x5c2e02;if(_0x2eadd4[0x0]!==_0x5920ea(0x1a4))return 0x0;let _0x48c374=_0x2eadd4[0x1]===_0x5920ea(0x165)?0x2:0x1;while(_0x48c374<_0x2eadd4[_0x5920ea(0x176)]){const _0x5017a6=_0x2eadd4[_0x48c374];if(!_0x5017a6||!(/^[A-Z_][\w$]*$/[_0x5920ea(0x187)](_0x5017a6)||/^[`"]/['test'](_0x5017a6)))return-0x1;_0x48c374+=0x1;if(_0x2eadd4[_0x48c374]==='('){_0x48c374=skipSqlParentheses(_0x2eadd4,_0x48c374);if(_0x48c374<0x0)return-0x1;}if(_0x2eadd4[_0x48c374]!=='AS')return-0x1;_0x48c374+=0x1;if(_0x2eadd4[_0x48c374]===_0x5920ea(0x1ae)&&_0x2eadd4[_0x48c374+0x1]===_0x5920ea(0x16d))_0x48c374+=0x2;else{if(_0x2eadd4[_0x48c374]==='MATERIALIZED')_0x48c374+=0x1;}_0x48c374=skipSqlParentheses(_0x2eadd4,_0x48c374);if(_0x48c374<0x0)return-0x1;if(_0x2eadd4[_0x48c374]!==','){const _0x58dbbc=_0x2eadd4[_0x48c374]==='('?_0x48c374+0x1:_0x48c374;return/^(SELECT|INSERT|UPDATE|DELETE)$/[_0x5920ea(0x187)](_0x2eadd4[_0x58dbbc]??'')?_0x58dbbc:-0x1;}_0x48c374+=0x1;}return-0x1;}function skipSqlParentheses(_0x3c6c96,_0xfa44cc){const _0x2d4c24=a296_0x5c2e02;if(_0x3c6c96[_0xfa44cc]!=='(')return-0x1;let _0xe520a4=0x0;for(let _0x35062d=_0xfa44cc;_0x35062d<_0x3c6c96[_0x2d4c24(0x176)];_0x35062d+=0x1){const _0x43ca11=_0x3c6c96[_0x35062d];if(_0x43ca11===';')return-0x1;if(_0x43ca11==='(')_0xe520a4+=0x1;if(_0x43ca11===')'&&--_0xe520a4===0x0)return _0x35062d+0x1;}return-0x1;}function stripStaticAnalysisMarkers(_0x10c063){const _0x5c535d=a296_0x5c2e02;return _0x10c063[_0x5c535d(0x14f)](MYBATIS_DYNAMIC_START_MARKER,'\x20')['replaceAll'](MYBATIS_DYNAMIC_END_MARKER,'\x20')[_0x5c535d(0x14f)](MYBATIS_INCLUDE_MARKER,'\x20'+UNRESOLVED_SQL_FRAGMENT+'\x20');}function tokenizeSqlForTypeAnalysis(_0x3bd4b4){const _0xaef30e=a296_0x5c2e02,_0x145bff=[],_0x157133=/\/\*[\s\S]*?\*\/|--[^\r\n]*|[#$]\{[^}]*\}|#[^\r\n]*|'(?:''|\\[\s\S]|[^'\\])*'|"(?:""|\\[\s\S]|[^"\\])*"|`(?:``|\\[\s\S]|[^`\\])*`|@[A-Za-z_]\w*|[A-Za-z_]\w*|\S/g;for(const _0x55a722 of _0x3bd4b4['matchAll'](_0x157133)){const _0x53d6ae=_0x55a722[0x0];if(_0x53d6ae[_0xaef30e(0x159)]('/*')||_0x53d6ae[_0xaef30e(0x159)]('--')||_0x53d6ae[_0xaef30e(0x159)]('#')&&!_0x53d6ae[_0xaef30e(0x159)]('#{'))continue;_0x145bff[_0xaef30e(0x169)](/^["`]/[_0xaef30e(0x187)](_0x53d6ae)?_0x53d6ae:/^[\x27@#$]/['test'](_0x53d6ae)?'?':_0x53d6ae['toUpperCase']());}return _0x145bff;}function extractTables(_0x106994,_0x51d535){const _0x2b1738=a296_0x5c2e02,_0xc3273c=_0x106994[_0x2b1738(0x16c)](/#\{[^}]*\}/g,'?')[_0x2b1738(0x16c)](/\$\{[^}]*\}/g,'?')['replace'](/'[^']*'/g,'\x27\x27')[_0x2b1738(0x16c)](/--.*$/gm,'')['replace'](/\/\*[\s\S]*?\*\//g,''),_0x5af903=[],_0x4cb8b7=_0xc3273c[_0x2b1738(0x194)](/FROM\s+([^\s,)(]+)/i);addTable(_0x5af903,_0x4cb8b7?.[0x1]);for(const _0x5c63c0 of _0xc3273c[_0x2b1738(0x173)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){addTable(_0x5af903,_0x5c63c0[0x1]);}const _0x3ab276=_0xc3273c[_0x2b1738(0x194)](/INTO\s+([^\s(]+)/i);addTable(_0x5af903,_0x3ab276?.[0x1]);if(_0x51d535===_0x2b1738(0x172)){const _0x2db4b0=_0xc3273c[_0x2b1738(0x194)](/UPDATE\s+([^\s,)(]+)/i);addTable(_0x5af903,_0x2db4b0?.[0x1]);}return _0x5af903;}function addTable(_0xdf7daa,_0x475cf4){const _0x3f0f95=a296_0x5c2e02,_0x5cfe18=_0x475cf4?.[_0x3f0f95(0x16c)](/[`"]/g,'');_0x5cfe18&&_0x5cfe18!==UNRESOLVED_SQL_FRAGMENT&&!_0xdf7daa['includes'](_0x5cfe18)&&_0xdf7daa['push'](_0x5cfe18);}function extractParameters(_0x328bc7){const _0x2a80ad=a296_0x5c2e02,_0xb19131=new Set();for(const _0x45346f of _0x328bc7[_0x2a80ad(0x173)](/[#$]\{\s*([A-Za-z_][\w.]*)\s*(?=[,}])/g)){if(_0x45346f[0x1])_0xb19131[_0x2a80ad(0x153)](_0x45346f[0x1]);}return Array[_0x2a80ad(0x16a)](_0xb19131);}export function validateSql(_0x6d8eec){const _0x49cf11=a296_0x5c2e02,_0x464191=normalizeSqlForStaticAnalysis(_0x6d8eec),_0x513c49=detectNormalizedSqlType(_0x464191),_0x5ac7e0=stripStaticAnalysisMarkers(_0x464191[_0x49cf11(0x19e)]),_0x199fd4=_0x464191[_0x49cf11(0x17d)]?[]:extractTables(_0x5ac7e0,_0x513c49[_0x49cf11(0x171)]),_0x3e9241=_0x464191[_0x49cf11(0x17d)]?[]:extractParameters(_0x5ac7e0);if(_0x513c49[_0x49cf11(0x1aa)])return{'valid':![],'sqlType':_0x513c49,'tables':_0x199fd4,'parameters':_0x3e9241,'message':_0x513c49[_0x49cf11(0x19d)]||_0x513c49[_0x49cf11(0x171)]+_0x49cf11(0x18f)};if(_0x513c49['type']===_0x49cf11(0x188))return{'valid':![],'sqlType':_0x513c49,'tables':_0x199fd4,'parameters':_0x3e9241,'message':_0x464191['error']?'Unable\x20to\x20detect\x20SQL\x20type.\x20'+_0x464191[_0x49cf11(0x17d)]:_0x513c49[_0x49cf11(0x19d)]?_0x49cf11(0x15c)+_0x513c49[_0x49cf11(0x19d)]:'Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.'};return{'valid':!![],'sqlType':_0x513c49,'tables':_0x199fd4,'parameters':_0x3e9241,'message':_0x513c49[_0x49cf11(0x171)]+'\x20query\x20targeting\x20'+(_0x199fd4['length']?_0x199fd4[_0x49cf11(0x181)](',\x20'):_0x49cf11(0x182))+(_0x3e9241['length']?_0x49cf11(0x15e)+_0x3e9241[_0x49cf11(0x181)](',\x20'):'')};}
1
+ const a297_0x530d6c=a297_0x29d3;(function(_0x521565,_0x4244c4){const _0x1d515a=a297_0x29d3,_0xaf714d=_0x521565();while(!![]){try{const _0x51c854=parseInt(_0x1d515a(0x239))/0x1*(parseInt(_0x1d515a(0x235))/0x2)+-parseInt(_0x1d515a(0x208))/0x3*(-parseInt(_0x1d515a(0x232))/0x4)+-parseInt(_0x1d515a(0x245))/0x5+parseInt(_0x1d515a(0x225))/0x6+parseInt(_0x1d515a(0x1f6))/0x7+-parseInt(_0x1d515a(0x1f2))/0x8*(parseInt(_0x1d515a(0x207))/0x9)+-parseInt(_0x1d515a(0x219))/0xa*(-parseInt(_0x1d515a(0x20a))/0xb);if(_0x51c854===_0x4244c4)break;else _0xaf714d['push'](_0xaf714d['shift']());}catch(_0x57f26b){_0xaf714d['push'](_0xaf714d['shift']());}}}(a297_0x5390,0xd3ec1));const MYBATIS_OUTER_TAGS=new Map([[a297_0x530d6c(0x1f3),'SELECT'],['insert',a297_0x530d6c(0x1f0)],[a297_0x530d6c(0x1ea),'UPDATE'],[a297_0x530d6c(0x1fa),a297_0x530d6c(0x251)]]),MYBATIS_DYNAMIC_TAGS=new Set(['if',a297_0x530d6c(0x210),a297_0x530d6c(0x242),a297_0x530d6c(0x238),a297_0x530d6c(0x229),a297_0x530d6c(0x22f),'trim',a297_0x530d6c(0x214),a297_0x530d6c(0x234),a297_0x530d6c(0x253),'property']),MYBATIS_BRANCH_TAGS=new Set(['if',a297_0x530d6c(0x242),a297_0x530d6c(0x238),a297_0x530d6c(0x229),a297_0x530d6c(0x22f)]);export const MYBATIS_DYNAMIC_START_MARKER=a297_0x530d6c(0x252);export const MYBATIS_DYNAMIC_END_MARKER=a297_0x530d6c(0x248);export const MYBATIS_INCLUDE_MARKER='__RABETBASE_MYBATIS_INCLUDE_UNRESOLVED__';function a297_0x29d3(_0x2e3a56,_0x28337c){_0x2e3a56=_0x2e3a56-0x1e7;const _0x5390d1=a297_0x5390();let _0x29d3e0=_0x5390d1[_0x2e3a56];return _0x29d3e0;}const UNRESOLVED_SQL_FRAGMENT='__RABETBASE_UNRESOLVED_SQL_FRAGMENT__',MYBATIS_OUTER_TAG_PATTERN=new RegExp('^<\x5cs*(?:'+[...MYBATIS_OUTER_TAGS[a297_0x530d6c(0x230)]()]['join']('|')+')\x5cb','i');export function normalizeSqlForStaticAnalysis(_0xdaac1e){const _0x2b5028=a297_0x530d6c,_0x3e3e54=typeof _0xdaac1e===_0x2b5028(0x222)?_0xdaac1e:'';if(detectSqlSourceMode(_0x3e3e54)===_0x2b5028(0x218))return{'sql':_0x3e3e54,'mode':_0x2b5028(0x218)};let _0x83b051=0x0,_0x6934e='',_0x5c966f,_0x539a41=![],_0x44e3c8=![];const _0x203669=[];while(_0x83b051<_0x3e3e54['length']){if(_0x3e3e54[_0x2b5028(0x227)](_0x2b5028(0x22b),_0x83b051)){const _0x195ee7=_0x3e3e54[_0x2b5028(0x220)]('-->',_0x83b051+0x4);if(_0x195ee7<0x0)return invalidMybatisSource(_0x2b5028(0x224));_0x6934e+='\x20',_0x83b051=_0x195ee7+0x3;continue;}if(_0x3e3e54[_0x2b5028(0x227)](_0x2b5028(0x215),_0x83b051)){if(!_0x539a41||_0x44e3c8)return invalidMybatisSource('CDATA\x20sections\x20must\x20be\x20inside\x20the\x20MyBatis\x20statement\x20wrapper.');const _0x31d885=_0x3e3e54[_0x2b5028(0x220)](_0x2b5028(0x231),_0x83b051+0x9);if(_0x31d885<0x0)return invalidMybatisSource(_0x2b5028(0x250));_0x6934e+=_0x3e3e54['slice'](_0x83b051+0x9,_0x31d885),_0x83b051=_0x31d885+0x3;continue;}if(_0x3e3e54['startsWith']('<?',_0x83b051)){if(_0x539a41)return invalidMybatisSource('XML\x20declarations\x20must\x20precede\x20the\x20MyBatis\x20statement\x20wrapper.');const _0xa6b26f=_0x3e3e54[_0x2b5028(0x220)]('?>',_0x83b051+0x2);if(_0xa6b26f<0x0)return invalidMybatisSource(_0x2b5028(0x212));_0x6934e+='\x20',_0x83b051=_0xa6b26f+0x2;continue;}if(_0x3e3e54[_0x83b051]!=='<'){const _0x43978a=_0x3e3e54['indexOf']('<',_0x83b051),_0x26697c=_0x43978a<0x0?_0x3e3e54['length']:_0x43978a,_0x53f0f3=_0x3e3e54['slice'](_0x83b051,_0x26697c);if((!_0x539a41||_0x44e3c8)&&_0x53f0f3['trim']())return invalidMybatisSource(_0x2b5028(0x21c));if(_0x539a41&&!_0x44e3c8){const _0x1904ab=decodeXmlEntities(_0x53f0f3);if(_0x1904ab===null)return invalidMybatisSource(_0x2b5028(0x247));_0x6934e+=_0x1904ab;}else _0x6934e+='\x20';_0x83b051=_0x26697c;continue;}const _0x5bf1f6=findXmlTagEnd(_0x3e3e54,_0x83b051);if(_0x5bf1f6<0x0)return invalidMybatisSource(_0x2b5028(0x24a));const _0x4014cf=_0x3e3e54[_0x2b5028(0x255)](_0x83b051,_0x5bf1f6+0x1),_0x3cbdbd=/^<\s*(\/?)\s*([A-Za-z][\w:-]*)([\s\S]*?)(\/?)\s*>$/[_0x2b5028(0x1f1)](_0x4014cf);if(!_0x3cbdbd)return invalidMybatisSource(_0x2b5028(0x23a));const _0x2ad251=_0x3cbdbd[0x1]==='/',_0x14577f=_0x3cbdbd[0x2]??'',_0x58fd68=_0x14577f[_0x2b5028(0x206)](),_0x2ab522=_0x3cbdbd[0x3]??'',_0x3a0caa=_0x3cbdbd[0x4]==='/',_0x3db9d5=MYBATIS_OUTER_TAGS['get'](_0x58fd68);if(!_0x3db9d5&&!MYBATIS_DYNAMIC_TAGS[_0x2b5028(0x1fb)](_0x58fd68))return invalidMybatisSource(_0x2b5028(0x21f)+_0x58fd68+'>.');if(!_0x3db9d5&&_0x14577f!==_0x58fd68)return invalidMybatisSource(_0x2b5028(0x23e)+_0x14577f+'>.');if(_0x2ad251){if(_0x2ab522[_0x2b5028(0x1eb)]()||_0x3a0caa)return invalidMybatisSource(_0x2b5028(0x24f)+_0x14577f+'>.');const _0xa1aa22=_0x203669['at'](-0x1);if(!_0xa1aa22||(_0xa1aa22[_0x2b5028(0x22a)]?_0xa1aa22[_0x2b5028(0x24c)]!==_0x58fd68:_0xa1aa22[_0x2b5028(0x21a)]!==_0x14577f))return invalidMybatisSource(_0x2b5028(0x1e8)+_0x14577f+'>.');_0x203669[_0x2b5028(0x211)]();if(_0xa1aa22[_0x2b5028(0x22a)])_0x44e3c8=!![];_0x6934e+=MYBATIS_BRANCH_TAGS[_0x2b5028(0x1fb)](_0x58fd68)?'\x20'+MYBATIS_DYNAMIC_END_MARKER+'\x20':'\x20';}else{if(!hasWellFormedXmlAttributes(_0x2ab522))return invalidMybatisSource(_0x2b5028(0x256)+_0x14577f+'>.');if(_0x58fd68===_0x2b5028(0x20d)&&(!_0x3a0caa||_0x203669['at'](-0x1)?.[_0x2b5028(0x24c)]!==_0x2b5028(0x253)))return invalidMybatisSource(_0x2b5028(0x244));if(_0x3db9d5){if(_0x539a41||_0x203669[_0x2b5028(0x1ee)]>0x0)return invalidMybatisSource(_0x2b5028(0x24d));_0x539a41=!![],_0x44e3c8=_0x3a0caa,_0x5c966f=_0x3db9d5;}else{if(!_0x539a41||_0x44e3c8)return invalidMybatisSource(_0x2b5028(0x1ef)+_0x14577f+'>.');}_0x6934e+=_0x58fd68===_0x2b5028(0x210)?_0x2b5028(0x24b):_0x58fd68===_0x2b5028(0x214)?_0x2b5028(0x1ec):_0x58fd68===_0x2b5028(0x253)?'\x20'+MYBATIS_INCLUDE_MARKER+'\x20':MYBATIS_BRANCH_TAGS[_0x2b5028(0x1fb)](_0x58fd68)&&!_0x3a0caa?'\x20'+MYBATIS_DYNAMIC_START_MARKER+'\x20':'\x20',!_0x3a0caa&&_0x203669[_0x2b5028(0x254)]({'rawName':_0x14577f,'tagName':_0x58fd68,'outer':!!_0x3db9d5});}_0x83b051=_0x5bf1f6+0x1;}if(_0x203669[_0x2b5028(0x1ee)]>0x0)return invalidMybatisSource(_0x2b5028(0x204)+_0x203669['at'](-0x1)?.[_0x2b5028(0x21a)]+'>.');if(!_0x539a41||!_0x44e3c8)return invalidMybatisSource(_0x2b5028(0x217));return{'sql':_0x6934e[_0x2b5028(0x1eb)](),'mode':'mybatisXml',..._0x5c966f?{'statementType':_0x5c966f}:{}};}function hasWellFormedXmlAttributes(_0x33e5be){const _0x3fa3fb=a297_0x530d6c;let _0x2f7909=0x0;const _0x132578=new Set();while(_0x2f7909<_0x33e5be[_0x3fa3fb(0x1ee)]){while(_0x2f7909<_0x33e5be[_0x3fa3fb(0x1ee)]&&/\s/[_0x3fa3fb(0x1f5)](_0x33e5be[_0x2f7909]??''))_0x2f7909+=0x1;if(_0x2f7909>=_0x33e5be[_0x3fa3fb(0x1ee)])return!![];const _0x5bab43=/^[A-Za-z_:][\w:.-]*/['exec'](_0x33e5be['slice'](_0x2f7909)),_0x18b924=_0x5bab43?.[0x0];if(!_0x18b924||_0x132578['has'](_0x18b924))return![];_0x132578[_0x3fa3fb(0x1fd)](_0x18b924),_0x2f7909+=_0x18b924['length'];while(_0x2f7909<_0x33e5be[_0x3fa3fb(0x1ee)]&&/\s/['test'](_0x33e5be[_0x2f7909]??''))_0x2f7909+=0x1;if(_0x33e5be[_0x2f7909]!=='=')return![];_0x2f7909+=0x1;while(_0x2f7909<_0x33e5be[_0x3fa3fb(0x1ee)]&&/\s/[_0x3fa3fb(0x1f5)](_0x33e5be[_0x2f7909]??''))_0x2f7909+=0x1;const _0x485a86=_0x33e5be[_0x2f7909];if(_0x485a86!=='\x22'&&_0x485a86!=='\x27')return![];_0x2f7909+=0x1;const _0x4d8472=_0x33e5be[_0x3fa3fb(0x220)](_0x485a86,_0x2f7909);if(_0x4d8472<0x0)return![];if(decodeXmlEntities(_0x33e5be[_0x3fa3fb(0x255)](_0x2f7909,_0x4d8472))===null)return![];_0x2f7909=_0x4d8472+0x1;}return!![];}export function detectSqlSourceMode(_0x5620b0){const _0x668aed=a297_0x530d6c;let _0x66836e=0x0;const _0x54c9c2=()=>{const _0xb8dd66=a297_0x29d3;while(_0x66836e<_0x5620b0[_0xb8dd66(0x1ee)]&&/\s/['test'](_0x5620b0[_0x66836e]??''))_0x66836e+=0x1;};_0x54c9c2();while(_0x66836e<_0x5620b0[_0x668aed(0x1ee)]){if(_0x5620b0[_0x668aed(0x227)]('<!--',_0x66836e)){const _0x32dcf7=_0x5620b0[_0x668aed(0x220)](_0x668aed(0x1ff),_0x66836e+0x4);if(_0x32dcf7<0x0)return _0x668aed(0x20c);_0x66836e=_0x32dcf7+0x3,_0x54c9c2();continue;}if(_0x5620b0['startsWith']('<?',_0x66836e)){const _0x45cdf8=_0x5620b0[_0x668aed(0x220)]('?>',_0x66836e+0x2);if(_0x45cdf8<0x0)return _0x668aed(0x20c);_0x66836e=_0x45cdf8+0x2,_0x54c9c2();continue;}break;}return MYBATIS_OUTER_TAG_PATTERN[_0x668aed(0x1f5)](_0x5620b0[_0x668aed(0x255)](_0x66836e))?_0x668aed(0x20c):_0x668aed(0x218);}function invalidMybatisSource(_0x4e0859){return{'sql':'','mode':'mybatisXml','error':_0x4e0859};}function findXmlTagEnd(_0xe27ee1,_0x4e5f77){const _0x24ddd8=a297_0x530d6c;let _0x37d424;for(let _0x2c114e=_0x4e5f77+0x1;_0x2c114e<_0xe27ee1[_0x24ddd8(0x1ee)];_0x2c114e+=0x1){const _0x2739ae=_0xe27ee1[_0x2c114e];if(_0x37d424){if(_0x2739ae===_0x37d424)_0x37d424=undefined;continue;}if(_0x2739ae==='\x22'||_0x2739ae==='\x27'){_0x37d424=_0x2739ae;continue;}if(_0x2739ae==='>')return _0x2c114e;}return-0x1;}function decodeXmlEntities(_0x231c4f){let _0x470b7f=![];const _0x5d8fd9=_0x231c4f['replace'](/&(?:#x[0-9a-f]+;|#[0-9]+;|[A-Za-z_:][\w:.-]*;)?/g,_0x24bea9=>{const _0x21188c=a297_0x29d3;if(_0x24bea9===_0x21188c(0x209))return'<';if(_0x24bea9===_0x21188c(0x246))return'>';if(_0x24bea9===_0x21188c(0x23d))return'\x22';if(_0x24bea9==='&apos;')return'\x27';if(_0x24bea9===_0x21188c(0x1fc))return'&';const _0x58de8c=/^&#(?:x([0-9a-f]+)|([0-9]+));$/[_0x21188c(0x1f1)](_0x24bea9);if(_0x58de8c){const _0x431d04=_0x58de8c[0x1],_0x49ecc8=_0x58de8c[0x2],_0x1de5fc=Number[_0x21188c(0x21e)](_0x431d04??_0x49ecc8??'',_0x431d04?0x10:0xa);if(isValidXmlCharacter(_0x1de5fc))return String[_0x21188c(0x257)](_0x1de5fc);}return _0x470b7f=!![],'';});return _0x470b7f?null:_0x5d8fd9;}function isValidXmlCharacter(_0x28128a){return _0x28128a===0x9||_0x28128a===0xa||_0x28128a===0xd||_0x28128a>=0x20&&_0x28128a<=0xd7ff||_0x28128a>=0xe000&&_0x28128a<=0xfffd||_0x28128a>=0x10000&&_0x28128a<=0x10ffff;}export function detectSqlType(_0xd9f55c){return detectNormalizedSqlType(normalizeSqlForStaticAnalysis(_0xd9f55c));}function detectNormalizedSqlType(_0x4fde51){const _0x555830=a297_0x530d6c;if(_0x4fde51['error'])return{'type':_0x555830(0x21b),'isSelectOnly':![],'isDangerous':![],'reason':_0x4fde51[_0x555830(0x1f9)]};if(!_0x4fde51[_0x555830(0x218)][_0x555830(0x1eb)]())return{'type':_0x555830(0x21b),'isSelectOnly':![],'isDangerous':![],'reason':_0x555830(0x22e)};const _0x54c239=tokenizeSqlForTypeAnalysis(_0x4fde51[_0x555830(0x218)]),_0x3eb5fc=_0x54c239[_0x555830(0x23b)](_0x54bfea=>_0x54bfea!==MYBATIS_DYNAMIC_START_MARKER&&_0x54bfea!==MYBATIS_DYNAMIC_END_MARKER),_0x4cbc40=findMainStatementIndex(_0x3eb5fc);if(_0x4cbc40<0x0)return{'type':_0x555830(0x21b),'isSelectOnly':![],'isDangerous':![],'reason':_0x555830(0x243)};const _0x1fd5dc=_0x3eb5fc[_0x4cbc40]??'',_0x128a97=_0x4fde51[_0x555830(0x240)]??_0x1fd5dc,_0x476ad8=_0x54c239[_0x555830(0x21d)](_0x20b1c3=>/^(DELETE|DROP|ALTER|CREATE|TRUNCATE)$/[_0x555830(0x1f5)](_0x20b1c3)),_0x52ca7a=new Set();let _0x1cfb4a=![];for(let _0x1e33d4=0x0;_0x1e33d4<_0x54c239[_0x555830(0x1ee)];_0x1e33d4+=0x1){const _0x4018a3=_0x54c239[_0x1e33d4];(_0x4018a3===_0x555830(0x233)||_0x4018a3===_0x555830(0x1ed))&&isLockingClauseKeyword(_0x54c239,_0x1e33d4)&&(_0x52ca7a[_0x555830(0x1fd)](_0x1e33d4),_0x1cfb4a=!![]);if(_0x54c239[_0x555830(0x255)](_0x1e33d4,_0x1e33d4+0x4)[_0x555830(0x1f4)]('\x20')===_0x555830(0x202))_0x1cfb4a=!![];}if(_0x128a97===_0x555830(0x216)){const _0x16847e=_0x54c239[_0x555830(0x21d)]((_0xbc3761,_0x1c2fa)=>/^(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)$/[_0x555830(0x1f5)](_0xbc3761)&&!_0x52ca7a[_0x555830(0x1fb)](_0x1c2fa));return{'type':'SELECT','isSelectOnly':!_0x16847e&&!_0x1cfb4a,'isLockingRead':_0x1cfb4a,'isDangerous':_0x16847e,'reason':_0x16847e?_0x555830(0x223):undefined};}if(_0x128a97===_0x555830(0x1f0))return{'type':_0x555830(0x1f0),'isSelectOnly':![],'isDangerous':_0x476ad8,'reason':_0x476ad8?_0x555830(0x213):undefined};if(_0x128a97===_0x555830(0x233))return{'type':'UPDATE','isSelectOnly':![],'isDangerous':_0x476ad8,'reason':_0x476ad8?_0x555830(0x213):undefined};if(_0x128a97==='DELETE')return{'type':'DELETE','isSelectOnly':![],'isDangerous':!![],'reason':_0x555830(0x23c)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x555830(0x1f5)](_0x1fd5dc))return{'type':_0x555830(0x201),'isSelectOnly':![],'isDangerous':!![],'reason':_0x555830(0x20e)};return{'type':_0x555830(0x21b),'isSelectOnly':![],'isDangerous':![]};}function isLockingClauseKeyword(_0x18e9b8,_0xb8c25f){const _0x39fb7c=a297_0x530d6c,_0x16b9f2=_0x18e9b8[_0xb8c25f]===_0x39fb7c(0x233)?[[_0x39fb7c(0x221)],[_0x39fb7c(0x221),'NO',_0x39fb7c(0x228)]]:[['FOR'],['FOR',_0x39fb7c(0x228)]],_0x486e87=_0x16b9f2[_0x39fb7c(0x21d)](_0x3e0dc8=>{const _0xb0c0a2=_0x39fb7c,_0x44b5c6=_0xb8c25f-_0x3e0dc8[_0xb0c0a2(0x1ee)];return _0x44b5c6>=0x0&&_0x18e9b8[_0xb0c0a2(0x255)](_0x44b5c6,_0xb8c25f)[_0xb0c0a2(0x1f4)]('\x20')===_0x3e0dc8['join']('\x20');});if(!_0x486e87)return![];return!_0x18e9b8[_0x39fb7c(0x255)](_0xb8c25f+0x1,_0xb8c25f+0x5)['includes'](_0x39fb7c(0x20b));}function findMainStatementIndex(_0x3b92d6){const _0x36df70=a297_0x530d6c;if(_0x3b92d6[0x0]!=='WITH')return 0x0;let _0x294d22=_0x3b92d6[0x1]===_0x36df70(0x20f)?0x2:0x1;while(_0x294d22<_0x3b92d6[_0x36df70(0x1ee)]){const _0x3bfb9f=_0x3b92d6[_0x294d22];if(!_0x3bfb9f||!(/^[A-Z_][\w$]*$/['test'](_0x3bfb9f)||/^[`"]/['test'](_0x3bfb9f)))return-0x1;_0x294d22+=0x1;if(_0x3b92d6[_0x294d22]==='('){_0x294d22=skipSqlParentheses(_0x3b92d6,_0x294d22);if(_0x294d22<0x0)return-0x1;}if(_0x3b92d6[_0x294d22]!=='AS')return-0x1;_0x294d22+=0x1;if(_0x3b92d6[_0x294d22]===_0x36df70(0x200)&&_0x3b92d6[_0x294d22+0x1]===_0x36df70(0x1fe))_0x294d22+=0x2;else{if(_0x3b92d6[_0x294d22]==='MATERIALIZED')_0x294d22+=0x1;}_0x294d22=skipSqlParentheses(_0x3b92d6,_0x294d22);if(_0x294d22<0x0)return-0x1;if(_0x3b92d6[_0x294d22]!==','){const _0x2500da=_0x3b92d6[_0x294d22]==='('?_0x294d22+0x1:_0x294d22;return/^(SELECT|INSERT|UPDATE|DELETE)$/[_0x36df70(0x1f5)](_0x3b92d6[_0x2500da]??'')?_0x2500da:-0x1;}_0x294d22+=0x1;}return-0x1;}function skipSqlParentheses(_0x1eb043,_0x473deb){const _0x31a2fb=a297_0x530d6c;if(_0x1eb043[_0x473deb]!=='(')return-0x1;let _0x58d132=0x0;for(let _0xb23562=_0x473deb;_0xb23562<_0x1eb043[_0x31a2fb(0x1ee)];_0xb23562+=0x1){const _0x3cd897=_0x1eb043[_0xb23562];if(_0x3cd897===';')return-0x1;if(_0x3cd897==='(')_0x58d132+=0x1;if(_0x3cd897===')'&&--_0x58d132===0x0)return _0xb23562+0x1;}return-0x1;}function stripStaticAnalysisMarkers(_0x4be66f){const _0x1bda68=a297_0x530d6c;return _0x4be66f[_0x1bda68(0x236)](MYBATIS_DYNAMIC_START_MARKER,'\x20')[_0x1bda68(0x236)](MYBATIS_DYNAMIC_END_MARKER,'\x20')[_0x1bda68(0x236)](MYBATIS_INCLUDE_MARKER,'\x20'+UNRESOLVED_SQL_FRAGMENT+'\x20');}function tokenizeSqlForTypeAnalysis(_0x5d39f4){const _0x4e2119=a297_0x530d6c,_0x25fe91=[],_0xaa4248=/\/\*[\s\S]*?\*\/|--[^\r\n]*|[#$]\{[^}]*\}|#[^\r\n]*|'(?:''|\\[\s\S]|[^'\\])*'|"(?:""|\\[\s\S]|[^"\\])*"|`(?:``|\\[\s\S]|[^`\\])*`|@[A-Za-z_]\w*|[A-Za-z_]\w*|\S/g;for(const _0x5e4563 of _0x5d39f4[_0x4e2119(0x1f8)](_0xaa4248)){const _0x26ae91=_0x5e4563[0x0];if(_0x26ae91[_0x4e2119(0x227)]('/*')||_0x26ae91[_0x4e2119(0x227)]('--')||_0x26ae91['startsWith']('#')&&!_0x26ae91['startsWith']('#{'))continue;_0x25fe91[_0x4e2119(0x254)](/^["`]/[_0x4e2119(0x1f5)](_0x26ae91)?_0x26ae91:/^[\x27@#$]/['test'](_0x26ae91)?'?':_0x26ae91['toUpperCase']());}return _0x25fe91;}function a297_0x5390(){const _0x126f9c=['push','slice','Invalid\x20attributes\x20on\x20MyBatis\x20XML\x20tag:\x20<','fromCodePoint','isDangerous','Mismatched\x20MyBatis\x20XML\x20closing\x20tag:\x20</','type','update','trim','\x20SET\x20','SHARE','length','MyBatis\x20dynamic\x20tag\x20must\x20be\x20inside\x20the\x20statement\x20wrapper:\x20<','INSERT','exec','19112RlUluH','select','join','test','3670219HYBJCi','includes','matchAll','error','delete','has','&amp;','add','MATERIALIZED','-->','NOT','DDL','LOCK\x20IN\x20SHARE\x20MODE','\x20with\x20parameters:\x20','Unclosed\x20MyBatis\x20XML\x20tag:\x20<','\x20statements\x20require\x20explicit\x20review.\x20Local\x20analysis\x20does\x20not\x20authorize\x20saving\x20or\x20execution.','toLowerCase','6183AaZkqE','387051jYIkIx','&lt;','2186327RGIiSY','SET','mybatisXml','property','DDL\x20statements\x20require\x20explicit\x20review','RECURSIVE','where','pop','Unterminated\x20XML\x20declaration.','SQL\x20contains\x20blocked\x20DELETE\x20or\x20DDL\x20statements','set','<![CDATA[','SELECT','MyBatis\x20XML\x20must\x20contain\x20exactly\x20one\x20complete\x20statement\x20wrapper.','sql','60MSLbzm','rawName','UNKNOWN','SQL\x20text\x20must\x20be\x20inside\x20the\x20MyBatis\x20statement\x20wrapper.','some','parseInt','Unsupported\x20MyBatis\x20XML\x20tag:\x20<','indexOf','FOR','string','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','Unterminated\x20XML\x20comment.','7930650zKYHWd','\x20query\x20targeting\x20','startsWith','KEY','when','outer','<!--','from','replace','SQL\x20content\x20is\x20empty','otherwise','keys',']]>','28qacruK','UPDATE','bind','2GfOtBZ','replaceAll','reason','choose','184076ABMMBb','Invalid\x20MyBatis\x20XML\x20tag.','filter','DELETE\x20statements\x20require\x20explicit\x20review','&quot;','MyBatis\x20dynamic\x20tag\x20names\x20must\x20be\x20lowercase:\x20<','match','statementType','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','foreach','Local\x20analysis\x20could\x20not\x20parse\x20the\x20WITH\x20prefix;\x20this\x20is\x20a\x20local\x20capability\x20limit,\x20not\x20a\x20platform\x20rejection.','MyBatis\x20<property>\x20must\x20be\x20a\x20self-closing\x20direct\x20child\x20of\x20<include>.','8082765FqqGKP','&gt;','Invalid\x20XML\x20entity\x20reference.','__RABETBASE_MYBATIS_DYNAMIC_END__','unknown\x20table(s)','Unterminated\x20MyBatis\x20XML\x20tag.','\x20WHERE\x20','tagName','Multiple\x20MyBatis\x20statement\x20wrappers\x20are\x20not\x20supported.','Unable\x20to\x20detect\x20SQL\x20type.\x20','Invalid\x20MyBatis\x20XML\x20closing\x20tag:\x20</','Unterminated\x20CDATA\x20section.','DELETE','__RABETBASE_MYBATIS_DYNAMIC_START__','include'];a297_0x5390=function(){return _0x126f9c;};return a297_0x5390();}function extractTables(_0x24701d,_0x223d32){const _0x4733f7=a297_0x530d6c,_0x3fb79e=_0x24701d[_0x4733f7(0x22d)](/#\{[^}]*\}/g,'?')[_0x4733f7(0x22d)](/\$\{[^}]*\}/g,'?')[_0x4733f7(0x22d)](/'[^']*'/g,'\x27\x27')[_0x4733f7(0x22d)](/--.*$/gm,'')['replace'](/\/\*[\s\S]*?\*\//g,''),_0x1fb8a5=[],_0x1b9f2f=_0x3fb79e[_0x4733f7(0x23f)](/FROM\s+([^\s,)(]+)/i);addTable(_0x1fb8a5,_0x1b9f2f?.[0x1]);for(const _0x225251 of _0x3fb79e[_0x4733f7(0x1f8)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){addTable(_0x1fb8a5,_0x225251[0x1]);}const _0xdf9902=_0x3fb79e['match'](/INTO\s+([^\s(]+)/i);addTable(_0x1fb8a5,_0xdf9902?.[0x1]);if(_0x223d32===_0x4733f7(0x233)){const _0x483c6b=_0x3fb79e['match'](/UPDATE\s+([^\s,)(]+)/i);addTable(_0x1fb8a5,_0x483c6b?.[0x1]);}return _0x1fb8a5;}function addTable(_0x268461,_0x220400){const _0x486875=a297_0x530d6c,_0x62ca1=_0x220400?.['replace'](/[`"]/g,'');_0x62ca1&&_0x62ca1!==UNRESOLVED_SQL_FRAGMENT&&!_0x268461[_0x486875(0x1f7)](_0x62ca1)&&_0x268461[_0x486875(0x254)](_0x62ca1);}function extractParameters(_0x3034ae){const _0x4b7bcd=a297_0x530d6c,_0x5f5575=new Set();for(const _0x110961 of _0x3034ae[_0x4b7bcd(0x1f8)](/[#$]\{\s*([A-Za-z_][\w.]*)\s*(?=[,}])/g)){if(_0x110961[0x1])_0x5f5575[_0x4b7bcd(0x1fd)](_0x110961[0x1]);}return Array[_0x4b7bcd(0x22c)](_0x5f5575);}export function validateSql(_0x52d0c7){const _0xb71b84=a297_0x530d6c,_0x2e7835=normalizeSqlForStaticAnalysis(_0x52d0c7),_0x5bdfe7=detectNormalizedSqlType(_0x2e7835),_0x1e4438=stripStaticAnalysisMarkers(_0x2e7835['sql']),_0x4a9b40=_0x2e7835[_0xb71b84(0x1f9)]?[]:extractTables(_0x1e4438,_0x5bdfe7[_0xb71b84(0x1e9)]),_0x50de8b=_0x2e7835[_0xb71b84(0x1f9)]?[]:extractParameters(_0x1e4438);if(_0x5bdfe7[_0xb71b84(0x1e7)])return{'valid':![],'sqlType':_0x5bdfe7,'tables':_0x4a9b40,'parameters':_0x50de8b,'message':_0x5bdfe7['reason']||_0x5bdfe7[_0xb71b84(0x1e9)]+_0xb71b84(0x205)};if(_0x5bdfe7[_0xb71b84(0x1e9)]===_0xb71b84(0x21b))return{'valid':![],'sqlType':_0x5bdfe7,'tables':_0x4a9b40,'parameters':_0x50de8b,'message':_0x2e7835['error']?'Unable\x20to\x20detect\x20SQL\x20type.\x20'+_0x2e7835['error']:_0x5bdfe7[_0xb71b84(0x237)]?_0xb71b84(0x24e)+_0x5bdfe7['reason']:_0xb71b84(0x241)};return{'valid':!![],'sqlType':_0x5bdfe7,'tables':_0x4a9b40,'parameters':_0x50de8b,'message':_0x5bdfe7[_0xb71b84(0x1e9)]+_0xb71b84(0x226)+(_0x4a9b40[_0xb71b84(0x1ee)]?_0x4a9b40[_0xb71b84(0x1f4)](',\x20'):_0xb71b84(0x249))+(_0x50de8b[_0xb71b84(0x1ee)]?_0xb71b84(0x203)+_0x50de8b[_0xb71b84(0x1f4)](',\x20'):'')};}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- const a297_0xd4415a=a297_0x33e8;(function(_0x5f3b91,_0x645941){const _0x5c3ee0=a297_0x33e8,_0x4cb48f=_0x5f3b91();while(!![]){try{const _0x2e1c0b=-parseInt(_0x5c3ee0(0x115))/0x1+parseInt(_0x5c3ee0(0x101))/0x2*(-parseInt(_0x5c3ee0(0xfd))/0x3)+-parseInt(_0x5c3ee0(0x118))/0x4+parseInt(_0x5c3ee0(0x112))/0x5+parseInt(_0x5c3ee0(0x114))/0x6+-parseInt(_0x5c3ee0(0x106))/0x7*(-parseInt(_0x5c3ee0(0x10d))/0x8)+parseInt(_0x5c3ee0(0x10b))/0x9;if(_0x2e1c0b===_0x645941)break;else _0x4cb48f['push'](_0x4cb48f['shift']());}catch(_0x135fb8){_0x4cb48f['push'](_0x4cb48f['shift']());}}}(a297_0x5349,0xa993b));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};function a297_0x5349(){const _0x1887d3=['config_missing','Check\x20your\x20internet\x20connection\x20and\x20try\x20again.','\x20--help`\x20to\x20see\x20available\x20commands.','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.\x0a\x20\x20\x20\x20\x20\x20\x20Tip:\x20`','2002240QWjxdC','\x20workspace\x20add\x20<name>\x20--appcode\x20<code>\x20--global`\x20registers\x20a\x20reusable\x20global\x20app\x20profile.','4149138hSpRaq','821424CNfEUS','cancelled','Authentication\x20required','4297516NXALOS','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','1683597jrUQjn','Operation\x20cancelled.','Network\x20error:\x20','not_in_project','4siFWkG','Missing\x20required\x20flag:\x20--','\x20auth`\x20to\x20login\x20first.','apiError','unknown_command','14XODbIk','Not\x20in\x20a\x20','Set\x20appcode\x20via\x20`','Run\x20`','\x20project\x20directory','18742887IgycSM','validation','2153096xCPXjj'];a297_0x5349=function(){return _0x1887d3;};return a297_0x5349();}function a297_0x33e8(_0x4be877,_0x57e12c){_0x4be877=_0x4be877-0xfd;const _0x534991=a297_0x5349();let _0x33e874=_0x534991[_0x4be877];return _0x33e874;}const baseCliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a297_0xd4415a(0x109)+CLI_BIN_NAME+a297_0xd4415a(0x103),'configMissingHint':a297_0xd4415a(0x108)+CLI_BIN_NAME+a297_0xd4415a(0x111)+CLI_BIN_NAME+a297_0xd4415a(0x113),'notInProjectHint':a297_0xd4415a(0x119)});export const CliErrors={'authRequired'(_0xa38af0){const _0x3ef45b=a297_0xd4415a;return new CliError('auth_required',0x1,_0x3ef45b(0x117),_0xa38af0??_0x3ef45b(0x109)+CLI_BIN_NAME+_0x3ef45b(0x103));},'configMissing'(_0x4bd971){const _0x1858b3=a297_0xd4415a;return new CliError(_0x1858b3(0x10e),0x1,'Configuration\x20file\x20not\x20found',_0x4bd971??_0x1858b3(0x108)+CLI_BIN_NAME+_0x1858b3(0x111)+CLI_BIN_NAME+_0x1858b3(0x113));},'notInProject'(){const _0x2e18b3=a297_0xd4415a;return new CliError(_0x2e18b3(0x100),0x1,_0x2e18b3(0x107)+CLI_BIN_NAME+_0x2e18b3(0x10a),'Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.');},'apiError'(_0x3160d5,_0x4eac92){const _0x12b169=a297_0xd4415a;return baseCliErrors[_0x12b169(0x104)](_0x3160d5,_0x4eac92);},'networkError'(_0x1ee275){const _0x4aa9cf=a297_0xd4415a;return new CliError('network_error',0x2,_0x4aa9cf(0xff)+_0x1ee275,_0x4aa9cf(0x10f));},'unknownCommand'(_0x16a97d){const _0x1f63ae=a297_0xd4415a;return new CliError(_0x1f63ae(0x105),0x1,'Unknown\x20command:\x20'+_0x16a97d,_0x1f63ae(0x109)+CLI_BIN_NAME+_0x1f63ae(0x110));},'flagMissing'(_0x47942d,_0x48f4bb){const _0x15176a=a297_0xd4415a;return new CliError('flag_missing',0x1,_0x15176a(0x102)+_0x47942d,_0x48f4bb);},'validation'(_0x5180c7,_0x1115eb){const _0x8ac6fa=a297_0xd4415a;return baseCliErrors[_0x8ac6fa(0x10c)](_0x5180c7,_0x1115eb);},'cancelled'(_0x46ad0a){const _0x319bea=a297_0xd4415a;return new CliError(_0x319bea(0x116),0x0,_0x46ad0a??_0x319bea(0xfe));}};
1
+ function a298_0x4813(_0x19a94c,_0x3ce72a){_0x19a94c=_0x19a94c-0x170;const _0xf860ec=a298_0xf860();let _0x48138d=_0xf860ec[_0x19a94c];return _0x48138d;}const a298_0x3852be=a298_0x4813;(function(_0x452194,_0x3d2342){const _0x4f8c4f=a298_0x4813,_0x2f927e=_0x452194();while(!![]){try{const _0x101029=parseInt(_0x4f8c4f(0x18e))/0x1+-parseInt(_0x4f8c4f(0x181))/0x2+parseInt(_0x4f8c4f(0x17a))/0x3+parseInt(_0x4f8c4f(0x174))/0x4+parseInt(_0x4f8c4f(0x172))/0x5*(-parseInt(_0x4f8c4f(0x18b))/0x6)+parseInt(_0x4f8c4f(0x186))/0x7+-parseInt(_0x4f8c4f(0x177))/0x8*(-parseInt(_0x4f8c4f(0x185))/0x9);if(_0x101029===_0x3d2342)break;else _0x2f927e['push'](_0x2f927e['shift']());}catch(_0x5cfc57){_0x2f927e['push'](_0x2f927e['shift']());}}}(a298_0xf860,0x9844d));import{CliError,createCliErrors}from'@lovrabet/cli-framework';function a298_0xf860(){const _0x2bb137=['validation','2790935ziakJV','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','1017244vSgGtq','Unknown\x20command:\x20','\x20project\x20directory','3481792EvpBqS','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.\x0a\x20\x20\x20\x20\x20\x20\x20Tip:\x20`','Configuration\x20file\x20not\x20found','3626652LRdXch','Run\x20`','Network\x20error:\x20','\x20--help`\x20to\x20see\x20available\x20commands.','\x20workspace\x20add\x20<name>\x20--appcode\x20<code>\x20--global`\x20registers\x20a\x20reusable\x20global\x20app\x20profile.','apiError','Missing\x20required\x20flag:\x20--','1372018izLfla','flag_missing','network_error','Not\x20in\x20a\x20','9lAkPPf','3623298pTffxq','cancelled','not_in_project','config_missing','unknown_command','12simqGy','Operation\x20cancelled.','Check\x20your\x20internet\x20connection\x20and\x20try\x20again.','10043mtVVMC','Set\x20appcode\x20via\x20`','\x20auth`\x20to\x20login\x20first.'];a298_0xf860=function(){return _0x2bb137;};return a298_0xf860();}import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};const baseCliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a298_0x3852be(0x17b)+CLI_BIN_NAME+a298_0x3852be(0x170),'configMissingHint':a298_0x3852be(0x18f)+CLI_BIN_NAME+a298_0x3852be(0x178)+CLI_BIN_NAME+'\x20workspace\x20add\x20<name>\x20--appcode\x20<code>\x20--global`\x20registers\x20a\x20reusable\x20global\x20app\x20profile.','notInProjectHint':a298_0x3852be(0x173)});export const CliErrors={'authRequired'(_0x10ee12){const _0x5271dd=a298_0x3852be;return new CliError('auth_required',0x1,'Authentication\x20required',_0x10ee12??_0x5271dd(0x17b)+CLI_BIN_NAME+_0x5271dd(0x170));},'configMissing'(_0x57a916){const _0x3b4f13=a298_0x3852be;return new CliError(_0x3b4f13(0x189),0x1,_0x3b4f13(0x179),_0x57a916??_0x3b4f13(0x18f)+CLI_BIN_NAME+_0x3b4f13(0x178)+CLI_BIN_NAME+_0x3b4f13(0x17e));},'notInProject'(){const _0x27bea0=a298_0x3852be;return new CliError(_0x27bea0(0x188),0x1,_0x27bea0(0x184)+CLI_BIN_NAME+_0x27bea0(0x176),_0x27bea0(0x173));},'apiError'(_0x222229,_0x2a0d29){const _0x1ca3b0=a298_0x3852be;return baseCliErrors[_0x1ca3b0(0x17f)](_0x222229,_0x2a0d29);},'networkError'(_0x5a12ce){const _0x36e2b4=a298_0x3852be;return new CliError(_0x36e2b4(0x183),0x2,_0x36e2b4(0x17c)+_0x5a12ce,_0x36e2b4(0x18d));},'unknownCommand'(_0x526588){const _0x137329=a298_0x3852be;return new CliError(_0x137329(0x18a),0x1,_0x137329(0x175)+_0x526588,_0x137329(0x17b)+CLI_BIN_NAME+_0x137329(0x17d));},'flagMissing'(_0x1352b0,_0x5ce7a2){const _0x29b3bf=a298_0x3852be;return new CliError(_0x29b3bf(0x182),0x1,_0x29b3bf(0x180)+_0x1352b0,_0x5ce7a2);},'validation'(_0x226b94,_0x4bc4aa){const _0x15a2cf=a298_0x3852be;return baseCliErrors[_0x15a2cf(0x171)](_0x226b94,_0x4bc4aa);},'cancelled'(_0x27354c){const _0x3a5dc3=a298_0x3852be;return new CliError(_0x3a5dc3(0x187),0x0,_0x27354c??_0x3a5dc3(0x18c));}};
@@ -1 +1 @@
1
- (function(_0x2cf05a,_0x309bbe){const _0x2da906=a298_0x1608,_0x535b72=_0x2cf05a();while(!![]){try{const _0xb2c8be=-parseInt(_0x2da906(0x74))/0x1*(parseInt(_0x2da906(0x78))/0x2)+-parseInt(_0x2da906(0x80))/0x3*(-parseInt(_0x2da906(0x7f))/0x4)+-parseInt(_0x2da906(0x7e))/0x5+-parseInt(_0x2da906(0x77))/0x6+-parseInt(_0x2da906(0x76))/0x7*(parseInt(_0x2da906(0x7d))/0x8)+-parseInt(_0x2da906(0x7c))/0x9*(parseInt(_0x2da906(0x75))/0xa)+-parseInt(_0x2da906(0x79))/0xb*(-parseInt(_0x2da906(0x81))/0xc);if(_0xb2c8be===_0x309bbe)break;else _0x535b72['push'](_0x535b72['shift']());}catch(_0x1245b9){_0x535b72['push'](_0x535b72['shift']());}}}(a298_0x2598,0xd732f));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a298_0x3548f7}from'@lovrabet/cli-framework';function a298_0x1608(_0x343b97,_0x2cae4b){_0x343b97=_0x343b97-0x74;const _0x25987c=a298_0x2598();let _0x16086c=_0x25987c[_0x343b97];return _0x16086c;}import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';function a298_0x2598(){const _0x52df9b=['1578lYSJUZ','53978716hhLOdz','yes','map','1213686VPhnsi','49768WSAxOY','2724120XCqRQJ','496egjOoa','4809PpbUKx','12kDHlcA','1565YeUkYM','60hSYlNr','1309SBMkMm','2834478jxcKZC'];a298_0x2598=function(){return _0x52df9b;};return a298_0x2598();}export function buildAllFlags(_0x693454){const _0x38339b=a298_0x1608,_0x32d882=a298_0x3548f7(_0x693454,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0x693454))return _0x32d882;return _0x32d882[_0x38339b(0x7b)](_0x516f6a=>_0x516f6a['name']===_0x38339b(0x7a)?{..._0x516f6a,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x516f6a);}
1
+ (function(_0xb678f4,_0x574f54){const _0x137135=a299_0x48bb,_0xc94615=_0xb678f4();while(!![]){try{const _0x93367f=parseInt(_0x137135(0x1cc))/0x1*(parseInt(_0x137135(0x1d0))/0x2)+-parseInt(_0x137135(0x1cd))/0x3*(-parseInt(_0x137135(0x1d2))/0x4)+parseInt(_0x137135(0x1c6))/0x5+-parseInt(_0x137135(0x1c5))/0x6*(parseInt(_0x137135(0x1ca))/0x7)+-parseInt(_0x137135(0x1cf))/0x8*(parseInt(_0x137135(0x1c9))/0x9)+parseInt(_0x137135(0x1c8))/0xa*(parseInt(_0x137135(0x1ce))/0xb)+parseInt(_0x137135(0x1cb))/0xc;if(_0x93367f===_0x574f54)break;else _0xc94615['push'](_0xc94615['shift']());}catch(_0x230091){_0xc94615['push'](_0xc94615['shift']());}}}(a299_0x4b0f,0xdf457));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a299_0x48bb(_0x2e8661,_0x2e9753){_0x2e8661=_0x2e8661-0x1c5;const _0x4b0f3c=a299_0x4b0f();let _0x48bb17=_0x4b0f3c[_0x2e8661];return _0x48bb17;}function a299_0x4b0f(){const _0xf3ac7d=['name','4DijiDZ','206892ThkXed','635500oTjjBp','map','8189490jCdcnJ','3026880QqvGlj','329ydMDYs','9461364dWGFAj','7KZbnbb','3064002DyqunY','11cUZeUe','16TjVwSU','129138jclqPl'];a299_0x4b0f=function(){return _0xf3ac7d;};return a299_0x4b0f();}import{buildAllFlags as a299_0x14eb5a}from'@lovrabet/cli-framework';import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';export function buildAllFlags(_0x5e363a){const _0x3ac662=a299_0x48bb,_0xba4a45=a299_0x14eb5a(_0x5e363a,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0x5e363a))return _0xba4a45;return _0xba4a45[_0x3ac662(0x1c7)](_0x1636a6=>_0x1636a6[_0x3ac662(0x1d1)]==='yes'?{..._0x1636a6,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x1636a6);}
@@ -1 +1 @@
1
- (function(_0x53cac1,_0x282708){var _0x3c10bb=a299_0x2181,_0xd854fc=_0x53cac1();while(!![]){try{var _0x1c9f3a=parseInt(_0x3c10bb(0x19d))/0x1*(parseInt(_0x3c10bb(0x19f))/0x2)+-parseInt(_0x3c10bb(0x1a3))/0x3+parseInt(_0x3c10bb(0x199))/0x4*(parseInt(_0x3c10bb(0x19a))/0x5)+-parseInt(_0x3c10bb(0x1a0))/0x6+parseInt(_0x3c10bb(0x1a4))/0x7+parseInt(_0x3c10bb(0x1a2))/0x8+-parseInt(_0x3c10bb(0x19b))/0x9;if(_0x1c9f3a===_0x282708)break;else _0xd854fc['push'](_0xd854fc['shift']());}catch(_0x9a046d){_0xd854fc['push'](_0xd854fc['shift']());}}}(a299_0x3a47,0x3aaa0));function a299_0x3a47(){var _0x203c39=['def','4mAHJJH','structuredErrors','47118TZWiER','65826SzvOSH','defaultFormat','3694832rtqLPi','212445OYQRMD','2944116tzhiRn','compress','4632svEBDp','530dOoyLb','6996168walttn'];a299_0x3a47=function(){return _0x203c39;};return a299_0x3a47();}import{resolveOutputConfig}from'@lovrabet/cli-framework';function a299_0x2181(_0x4f6792,_0x1b0b4d){_0x4f6792=_0x4f6792-0x199;var _0x3a47b1=a299_0x3a47();var _0x2181ba=_0x3a47b1[_0x4f6792];return _0x2181ba;}export function usesStructuredErrorOutput(_0x551a7f){var _0x4e64be=a299_0x2181;return _0x551a7f?.[_0x4e64be(0x19e)]===!![];}export function resolveErrorOutputFormat(_0x51e7a5){var _0x1d7e10=a299_0x2181;if(!_0x51e7a5[_0x1d7e10(0x19c)])return _0x51e7a5[_0x1d7e10(0x1a1)]??_0x1d7e10(0x1a5);return resolveOutputConfig({'flags':_0x51e7a5['flags']??{},'def':_0x51e7a5[_0x1d7e10(0x19c)],'configDefault':_0x51e7a5[_0x1d7e10(0x1a1)]})['format'];}
1
+ (function(_0x3d5010,_0x54b766){var _0x3c9ad4=a300_0x3ea1,_0x3fb059=_0x3d5010();while(!![]){try{var _0xd81ca0=parseInt(_0x3c9ad4(0x114))/0x1*(-parseInt(_0x3c9ad4(0x10b))/0x2)+-parseInt(_0x3c9ad4(0x106))/0x3+parseInt(_0x3c9ad4(0x108))/0x4*(-parseInt(_0x3c9ad4(0x10f))/0x5)+-parseInt(_0x3c9ad4(0x111))/0x6*(parseInt(_0x3c9ad4(0x10a))/0x7)+-parseInt(_0x3c9ad4(0x10c))/0x8+-parseInt(_0x3c9ad4(0x107))/0x9*(-parseInt(_0x3c9ad4(0x110))/0xa)+parseInt(_0x3c9ad4(0x10d))/0xb*(parseInt(_0x3c9ad4(0x113))/0xc);if(_0xd81ca0===_0x54b766)break;else _0x3fb059['push'](_0x3fb059['shift']());}catch(_0x31c126){_0x3fb059['push'](_0x3fb059['shift']());}}}(a300_0x2217,0x35bd5));function a300_0x2217(){var _0x4c209c=['412254utIKLN','129708YpSsQq','4kSnSPh','def','74508cMHKdZ','55030mWIlMf','2178904ZcWKTc','33vvKfFr','format','347905LtkJGH','240hwhNMF','72UZjLYX','structuredErrors','3135936yEUXKn','11xvSQNV','defaultFormat','compress'];a300_0x2217=function(){return _0x4c209c;};return a300_0x2217();}function a300_0x3ea1(_0x4193e4,_0x42ca54){_0x4193e4=_0x4193e4-0x105;var _0x221772=a300_0x2217();var _0x3ea1e7=_0x221772[_0x4193e4];return _0x3ea1e7;}import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x17ae7f){var _0x475ed9=a300_0x3ea1;return _0x17ae7f?.[_0x475ed9(0x112)]===!![];}export function resolveErrorOutputFormat(_0x3318b4){var _0x38675f=a300_0x3ea1;if(!_0x3318b4[_0x38675f(0x109)])return _0x3318b4[_0x38675f(0x115)]??_0x38675f(0x105);return resolveOutputConfig({'flags':_0x3318b4['flags']??{},'def':_0x3318b4[_0x38675f(0x109)],'configDefault':_0x3318b4[_0x38675f(0x115)]})[_0x38675f(0x10e)];}
@@ -1 +1 @@
1
- const a300_0x25ee76=a300_0x21a0;function a300_0x36dd(){const _0x3eb2aa=['16TRosJI','28ocAuMM','4179728vtsTmt','664557KSUiGc','notification\x20config-delete','37113270gKtDkE','17kNItUY','14595525XsrBTY','kb\x20delete','service','223658tKRHpp','7834434gnDvoW','command','has','3223115fUwJku','menu\x20delete'];a300_0x36dd=function(){return _0x3eb2aa;};return a300_0x36dd();}(function(_0x240ef5,_0x2a6d93){const _0x302add=a300_0x21a0,_0x17b790=_0x240ef5();while(!![]){try{const _0x30decf=parseInt(_0x302add(0x129))/0x1*(-parseInt(_0x302add(0x12d))/0x2)+-parseInt(_0x302add(0x126))/0x3*(-parseInt(_0x302add(0x134))/0x4)+-parseInt(_0x302add(0x131))/0x5+-parseInt(_0x302add(0x12e))/0x6+-parseInt(_0x302add(0x135))/0x7*(-parseInt(_0x302add(0x133))/0x8)+-parseInt(_0x302add(0x12a))/0x9+parseInt(_0x302add(0x128))/0xa;if(_0x30decf===_0x2a6d93)break;else _0x17b790['push'](_0x17b790['shift']());}catch(_0x2ba5d3){_0x17b790['push'](_0x17b790['shift']());}}}(a300_0x36dd,0xeffcc));const EXPLICIT_YES_COMMANDS=new Set([a300_0x25ee76(0x132),a300_0x25ee76(0x12b),'notification\x20config-update',a300_0x25ee76(0x127)]);export const EXPLICIT_YES_FLAG_DESCRIPTION='Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan';function a300_0x21a0(_0xa13157,_0x4a1772){_0xa13157=_0xa13157-0x126;const _0x36dd36=a300_0x36dd();let _0x21a00d=_0x36dd36[_0xa13157];return _0x21a00d;}export function requiresExplicitYes(_0x3062b5){const _0x4a258f=a300_0x25ee76;return EXPLICIT_YES_COMMANDS[_0x4a258f(0x130)](_0x3062b5[_0x4a258f(0x12c)]+'\x20'+_0x3062b5[_0x4a258f(0x12f)]);}
1
+ const a301_0x51588c=a301_0xbcbc;(function(_0x4ea94a,_0x263894){const _0x2cda05=a301_0xbcbc,_0x387c0d=_0x4ea94a();while(!![]){try{const _0x34838d=-parseInt(_0x2cda05(0x149))/0x1*(-parseInt(_0x2cda05(0x14d))/0x2)+-parseInt(_0x2cda05(0x14b))/0x3+-parseInt(_0x2cda05(0x148))/0x4*(parseInt(_0x2cda05(0x146))/0x5)+parseInt(_0x2cda05(0x145))/0x6+-parseInt(_0x2cda05(0x147))/0x7+parseInt(_0x2cda05(0x14a))/0x8+-parseInt(_0x2cda05(0x141))/0x9*(-parseInt(_0x2cda05(0x140))/0xa);if(_0x34838d===_0x263894)break;else _0x387c0d['push'](_0x387c0d['shift']());}catch(_0x550f6c){_0x387c0d['push'](_0x387c0d['shift']());}}}(a301_0x47d7,0xc9405));const EXPLICIT_YES_COMMANDS=new Set(['menu\x20delete',a301_0x51588c(0x14c),a301_0x51588c(0x143),a301_0x51588c(0x13f)]);function a301_0xbcbc(_0x393227,_0x5aca11){_0x393227=_0x393227-0x13f;const _0x47d7a9=a301_0x47d7();let _0xbcbce1=_0x47d7a9[_0x393227];return _0xbcbce1;}export const EXPLICIT_YES_FLAG_DESCRIPTION='Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan';function a301_0x47d7(){const _0x4e9758=['405252OgxIKl','command','notification\x20config-update','has','381762AIPdCF','173240loVmtW','6192060knItIB','148goFXNL','76169KiryRg','5019352CzPaxv','643740pHcUvi','kb\x20delete','14UrXclL','service','notification\x20config-delete','440jnJPGL'];a301_0x47d7=function(){return _0x4e9758;};return a301_0x47d7();}export function requiresExplicitYes(_0x321866){const _0x1dfb30=a301_0x51588c;return EXPLICIT_YES_COMMANDS[_0x1dfb30(0x144)](_0x321866[_0x1dfb30(0x14e)]+'\x20'+_0x321866[_0x1dfb30(0x142)]);}
@@ -1 +1 @@
1
- const a301_0x26362c=a301_0x41aa;(function(_0x44db19,_0x44a7f4){const _0x5b1ab7=a301_0x41aa,_0x27f9b0=_0x44db19();while(!![]){try{const _0x41371a=-parseInt(_0x5b1ab7(0x88))/0x1*(-parseInt(_0x5b1ab7(0x84))/0x2)+-parseInt(_0x5b1ab7(0x8a))/0x3+parseInt(_0x5b1ab7(0x85))/0x4+parseInt(_0x5b1ab7(0x87))/0x5+parseInt(_0x5b1ab7(0x83))/0x6+parseInt(_0x5b1ab7(0x86))/0x7*(-parseInt(_0x5b1ab7(0x8c))/0x8)+-parseInt(_0x5b1ab7(0x89))/0x9;if(_0x41371a===_0x44a7f4)break;else _0x27f9b0['push'](_0x27f9b0['shift']());}catch(_0x5296a0){_0x27f9b0['push'](_0x27f9b0['shift']());}}}(a301_0x38e8,0xc7459));function a301_0x41aa(_0x3e9bae,_0x37d1c3){_0x3e9bae=_0x3e9bae-0x83;const _0x38e8a3=a301_0x38e8();let _0x41aad9=_0x38e8a3[_0x3e9bae];return _0x41aad9;}import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers[a301_0x26362c(0x8b)];function a301_0x38e8(){const _0x168141=['371216vUhdwy','5384220DMYefs','59128vSpSTc','3672320ZxsqcK','14zSCpXq','3028890hrWodb','25CJBnyc','12414717qhCCRH','2615682SGyrem','validateFlags'];a301_0x38e8=function(){return _0x168141;};return a301_0x38e8();}
1
+ function a302_0x3f19(){const _0x4ff381=['4222165aMASvk','33tuiOfw','1960vYjaCP','2LAJljh','1641437NTlnJU','5754jJPpkT','11FDmrRs','9877512tSPRxV','parseFlags','818383xVHxdj','35253OgOJVj','137684CEBlEv','8DxzIPM','42614Wzkruf','6lIbHxW'];a302_0x3f19=function(){return _0x4ff381;};return a302_0x3f19();}const a302_0x46eeaa=a302_0x2b24;(function(_0xcefe14,_0x512b8f){const _0x55b329=a302_0x2b24,_0x3b693f=_0xcefe14();while(!![]){try{const _0x33de2a=parseInt(_0x55b329(0xfb))/0x1*(parseInt(_0x55b329(0xf5))/0x2)+-parseInt(_0x55b329(0xf3))/0x3*(parseInt(_0x55b329(0xee))/0x4)+-parseInt(_0x55b329(0xf2))/0x5*(parseInt(_0x55b329(0xf1))/0x6)+parseInt(_0x55b329(0xf6))/0x7*(-parseInt(_0x55b329(0xef))/0x8)+-parseInt(_0x55b329(0xed))/0x9*(-parseInt(_0x55b329(0xf4))/0xa)+parseInt(_0x55b329(0xf8))/0xb*(-parseInt(_0x55b329(0xf9))/0xc)+parseInt(_0x55b329(0xf0))/0xd*(parseInt(_0x55b329(0xf7))/0xe);if(_0x33de2a===_0x512b8f)break;else _0x3b693f['push'](_0x3b693f['shift']());}catch(_0x545b25){_0x3b693f['push'](_0x3b693f['shift']());}}}(a302_0x3f19,0x9f594));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a302_0x46eeaa(0xfa)];function a302_0x2b24(_0x437871,_0x5c8f9f){_0x437871=_0x437871-0xed;const _0x3f191a=a302_0x3f19();let _0x2b2485=_0x3f191a[_0x437871];return _0x2b2485;}export const validateFlags=helpers['validateFlags'];
@@ -1 +1 @@
1
- function a302_0x16ad(){const _0x26a0dc=['get','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','generateServiceHelp','Requires\x20appcode\x20(set\x20via\x20`','2586612LgZzQL','48296cBQGvI','202148EfpmqI','213001MmVxje','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','203deYqdg','generateCommandHelp','1055862wHKFVH','88920xSbcth','\x20workspace\x20init`\x20or\x20--appcode).','replace','1224170eIAgnQ'];a302_0x16ad=function(){return _0x26a0dc;};return a302_0x16ad();}(function(_0x4db6ae,_0x370a40){const _0x317b13=a302_0x543c,_0x33196e=_0x4db6ae();while(!![]){try{const _0xf5b2ce=-parseInt(_0x317b13(0xfc))/0x1+parseInt(_0x317b13(0xfb))/0x2+parseInt(_0x317b13(0x100))/0x3+parseInt(_0x317b13(0x101))/0x4+parseInt(_0x317b13(0x104))/0x5+-parseInt(_0x317b13(0xf9))/0x6+-parseInt(_0x317b13(0xfe))/0x7*(-parseInt(_0x317b13(0xfa))/0x8);if(_0xf5b2ce===_0x370a40)break;else _0x33196e['push'](_0x33196e['shift']());}catch(_0x302e00){_0x33196e['push'](_0x33196e['shift']());}}}(a302_0x16ad,0x3d4b6));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';import{requiresExplicitYes}from'../framework/explicit-yes.js';function createGenerators(){const _0x14c514=a302_0x543c;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x1adba0=>serviceGroups[_0x14c514(0x105)](_0x1adba0),'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x14c514(0x108)+CLI_BIN_NAME+_0x14c514(0x102),'serviceUsageSuffix':'\x20[args]\x20[flags]'});}export function generateCommandHelp(_0x4d25c4){const _0x808599=a302_0x543c,_0x249e2b=createGenerators()[_0x808599(0xff)](_0x4d25c4);if(!requiresExplicitYes(_0x4d25c4))return _0x249e2b;return _0x249e2b[_0x808599(0x103)](_0x808599(0xfd),_0x808599(0x106));}export function generateServiceHelp(_0x2b4fea){const _0x307642=a302_0x543c;return createGenerators()[_0x307642(0x107)](_0x2b4fea);}function a302_0x543c(_0x5b6a65,_0x29765b){_0x5b6a65=_0x5b6a65-0xf9;const _0x16ad6e=a302_0x16ad();let _0x543cf8=_0x16ad6e[_0x5b6a65];return _0x543cf8;}export function generateFullHelp(){return createGenerators()['generateFullHelp']();}
1
+ function a303_0xfbda(){const _0x297d6e=['8870754oGHbbe','Requires\x20appcode\x20(set\x20via\x20`','generateServiceHelp','6093780LmkrLC','38392cWcjtD','1800sdBbne','replace','\x20workspace\x20init`\x20or\x20--appcode).','generateFullHelp','1132130PFsULQ','1718372oxaWnW','316352oEmSpS','2033079WQevmp','generateCommandHelp','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','5pTTyaX'];a303_0xfbda=function(){return _0x297d6e;};return a303_0xfbda();}(function(_0x37a719,_0x387a39){const _0x14bfec=a303_0x1516,_0x10959c=_0x37a719();while(!![]){try{const _0x386323=parseInt(_0x14bfec(0xce))/0x1+-parseInt(_0x14bfec(0xd0))/0x2+parseInt(_0x14bfec(0xd1))/0x3+parseInt(_0x14bfec(0xcf))/0x4*(-parseInt(_0x14bfec(0xc4))/0x5)+parseInt(_0x14bfec(0xc5))/0x6+-parseInt(_0x14bfec(0xc8))/0x7+parseInt(_0x14bfec(0xc9))/0x8*(-parseInt(_0x14bfec(0xca))/0x9);if(_0x386323===_0x387a39)break;else _0x10959c['push'](_0x10959c['shift']());}catch(_0x3f8192){_0x10959c['push'](_0x10959c['shift']());}}}(a303_0xfbda,0xd471d));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';function a303_0x1516(_0x535c6e,_0x31cd68){_0x535c6e=_0x535c6e-0xc1;const _0xfbda07=a303_0xfbda();let _0x151648=_0xfbda07[_0x535c6e];return _0x151648;}import{requiresExplicitYes}from'../framework/explicit-yes.js';function createGenerators(){const _0x5b663c=a303_0x1516;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x3c58d4=>serviceGroups['get'](_0x3c58d4),'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x5b663c(0xc6)+CLI_BIN_NAME+_0x5b663c(0xcc),'serviceUsageSuffix':'\x20[args]\x20[flags]'});}export function generateCommandHelp(_0x321aa2){const _0x42e26f=a303_0x1516,_0x38bc0b=createGenerators()[_0x42e26f(0xc1)](_0x321aa2);if(!requiresExplicitYes(_0x321aa2))return _0x38bc0b;return _0x38bc0b[_0x42e26f(0xcb)](_0x42e26f(0xc3),_0x42e26f(0xc2));}export function generateServiceHelp(_0xfe291a){const _0x13ac42=a303_0x1516;return createGenerators()[_0x13ac42(0xc7)](_0xfe291a);}export function generateFullHelp(){const _0x47c12c=a303_0x1516;return createGenerators()[_0x47c12c(0xcd)]();}
@@ -1 +1 @@
1
- (function(_0x25a459,_0x4d0304){var _0x4822df=a303_0x22bf,_0xea9921=_0x25a459();while(!![]){try{var _0x39f17f=-parseInt(_0x4822df(0x114))/0x1*(parseInt(_0x4822df(0x117))/0x2)+-parseInt(_0x4822df(0x111))/0x3+-parseInt(_0x4822df(0x110))/0x4*(parseInt(_0x4822df(0x10e))/0x5)+parseInt(_0x4822df(0x113))/0x6+-parseInt(_0x4822df(0x112))/0x7*(-parseInt(_0x4822df(0x118))/0x8)+parseInt(_0x4822df(0x116))/0x9+parseInt(_0x4822df(0x10f))/0xa*(parseInt(_0x4822df(0x115))/0xb);if(_0x39f17f===_0x4d0304)break;else _0xea9921['push'](_0xea9921['shift']());}catch(_0x18e7d4){_0xea9921['push'](_0xea9921['shift']());}}}(a303_0x5f11,0x924ae));function a303_0x22bf(_0x392c78,_0x3be1ec){_0x392c78=_0x392c78-0x10e;var _0x5f11dc=a303_0x5f11();var _0x22bf2d=_0x5f11dc[_0x392c78];return _0x22bf2d;}export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a303_0x5f11(){var _0x1d6de5=['2145972vvHKGv','3hIYBqI','5665gRCkTN','2382831hhvIko','401444RKkudz','6806648sFXzKR','7915JjJorH','2780pIierj','124ItkcfC','1097907rMytCh','7BeCLUa'];a303_0x5f11=function(){return _0x1d6de5;};return a303_0x5f11();}export{riskLevelOrder}from'../framework/types.js';
1
+ function a304_0x1d8c(){var _0x3bb977=['108ETidQC','6KtbYHg','374776QpRGun','3206808JDJuKD','118716YCcPsL','6690380GdArbw','2LecTlY','6aqgcrD','1826572ZMEKeQ','98CHxajt','528566eKikTH','2894385aDvDRW'];a304_0x1d8c=function(){return _0x3bb977;};return a304_0x1d8c();}function a304_0x30f6(_0x4737c8,_0x1b73ef){_0x4737c8=_0x4737c8-0x109;var _0x1d8c7d=a304_0x1d8c();var _0x30f643=_0x1d8c7d[_0x4737c8];return _0x30f643;}(function(_0x337ec4,_0x4bf1ec){var _0x1af8a0=a304_0x30f6,_0x521c8=_0x337ec4();while(!![]){try{var _0x176d49=parseInt(_0x1af8a0(0x10e))/0x1*(parseInt(_0x1af8a0(0x10a))/0x2)+-parseInt(_0x1af8a0(0x10b))/0x3*(parseInt(_0x1af8a0(0x114))/0x4)+parseInt(_0x1af8a0(0x10f))/0x5*(-parseInt(_0x1af8a0(0x111))/0x6)+parseInt(_0x1af8a0(0x10d))/0x7*(-parseInt(_0x1af8a0(0x112))/0x8)+parseInt(_0x1af8a0(0x113))/0x9+-parseInt(_0x1af8a0(0x109))/0xa+-parseInt(_0x1af8a0(0x10c))/0xb*(-parseInt(_0x1af8a0(0x110))/0xc);if(_0x176d49===_0x4bf1ec)break;else _0x521c8['push'](_0x521c8['shift']());}catch(_0x3d096e){_0x521c8['push'](_0x521c8['shift']());}}}(a304_0x1d8c,0x659d7));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';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(_0x39a4c8,_0x448b20){const _0xd8d975=a304_0xd349,_0x521e27=_0x39a4c8();while(!![]){try{const _0x2d1ae2=parseInt(_0xd8d975(0x1ec))/0x1*(-parseInt(_0xd8d975(0x1e2))/0x2)+-parseInt(_0xd8d975(0x1eb))/0x3+-parseInt(_0xd8d975(0x1f2))/0x4+parseInt(_0xd8d975(0x1ef))/0x5*(-parseInt(_0xd8d975(0x1e7))/0x6)+-parseInt(_0xd8d975(0x1fb))/0x7*(parseInt(_0xd8d975(0x1f0))/0x8)+parseInt(_0xd8d975(0x1e9))/0x9*(parseInt(_0xd8d975(0x1ea))/0xa)+parseInt(_0xd8d975(0x1e5))/0xb;if(_0x2d1ae2===_0x448b20)break;else _0x521e27['push'](_0x521e27['shift']());}catch(_0x2ad4f1){_0x521e27['push'](_0x521e27['shift']());}}}(a304_0x5eb5,0x8a46e));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliError,CliErrors}from'../errors.js';import{applyJqFilter}from'../utils/apply-jq-filter.js';function a304_0xd349(_0x31ed26,_0x443735){_0x31ed26=_0x31ed26-0x1e2;const _0x5eb556=a304_0x5eb5();let _0xd349b3=_0x5eb556[_0x31ed26];return _0xd349b3;}const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x91fa1a,_0x209d1a){const _0x45d033=a304_0xd349,_0x14a83e=_0x91fa1a['_notice'],{_notice:_0x114fe7,..._0x5518b0}=_0x91fa1a;void _0x114fe7,baseFormatOutput(_0x5518b0,_0x209d1a),_0x209d1a[_0x45d033(0x1f4)]==='pretty'&&printPrettyNotice(_0x14a83e);}export function formatCliError(_0x1f25c5,_0x1105d3){const _0xdba0ef=a304_0xd349;if(_0x1105d3[_0xdba0ef(0x1f4)]==='pretty')return![];const _0x38a756=_0x1f25c5[_0xdba0ef(0x1f9)],_0x32a452={'ok':![],'command':_0x1105d3[_0xdba0ef(0x1fd)],'risk':_0x1105d3[_0xdba0ef(0x1f8)],'data':_0x38a756??null,'error':{'code':_0x1f25c5[_0xdba0ef(0x1e8)],'message':_0x1f25c5[_0xdba0ef(0x1ed)],..._0x1f25c5[_0xdba0ef(0x1e6)]?{'hint':_0x1f25c5[_0xdba0ef(0x1e6)]}:{}}},_0x7ae550=_0x1105d3[_0xdba0ef(0x1f4)]==='json'?JSON[_0xdba0ef(0x1fa)](_0x32a452,null,0x2):JSON['stringify'](_0x32a452);let _0x7452cf=_0x7ae550;if(_0x1105d3[_0xdba0ef(0x1f6)]?.[_0xdba0ef(0x1f7)]())try{_0x7452cf=applyJqFilter(_0x7ae550,_0x1105d3[_0xdba0ef(0x1f6)]);}catch(_0x8dc276){const _0x76e9ff=_0x8dc276 instanceof CliError?_0x8dc276:CliErrors[_0xdba0ef(0x1e3)](_0xdba0ef(0x1f3)+(_0x8dc276 instanceof Error?_0x8dc276[_0xdba0ef(0x1ed)]:String(_0x8dc276))),_0x2c26fc={..._0x32a452,'error':{'code':_0x76e9ff[_0xdba0ef(0x1e8)],'message':_0x76e9ff[_0xdba0ef(0x1ed)],..._0x76e9ff[_0xdba0ef(0x1e6)]?{'hint':_0x76e9ff[_0xdba0ef(0x1e6)]}:{},'cause':_0x32a452[_0xdba0ef(0x1e4)]}};_0x7452cf=_0x1105d3[_0xdba0ef(0x1f4)]===_0xdba0ef(0x1fc)?JSON[_0xdba0ef(0x1fa)](_0x2c26fc,null,0x2):JSON[_0xdba0ef(0x1fa)](_0x2c26fc);}return process[_0xdba0ef(0x1f5)][_0xdba0ef(0x1ee)](_0x7452cf['endsWith']('\x0a')?_0x7452cf:_0x7452cf+'\x0a'),!![];}function a304_0x5eb5(){const _0x3e4c36=['hint','82056ltJhOT','code','46098OFwUfV','2000woFvFp','2513115ZNXqac','641FkfyAb','message','write','370tzhSse','908536iGsTtV','update','1600032yvQSXu','jq:\x20','format','stdout','jqFilter','trim','risk','data','stringify','35osuBEm','json','command','622dKdJFN','validation','error','28147955kCLlsJ'];a304_0x5eb5=function(){return _0x3e4c36;};return a304_0x5eb5();}function printPrettyNotice(_0x491bd7){const _0x4f4719=a304_0xd349;if(!_0x491bd7?.['update'])return;console[_0x4f4719(0x1e4)](_0x491bd7[_0x4f4719(0x1f1)][_0x4f4719(0x1ed)]+'\x20('+_0x491bd7[_0x4f4719(0x1f1)]['url']+')');}
1
+ (function(_0x4efba7,_0x4407b4){const _0x11d35f=a305_0x2d9a,_0x33a192=_0x4efba7();while(!![]){try{const _0x577e92=-parseInt(_0x11d35f(0xd9))/0x1*(-parseInt(_0x11d35f(0xda))/0x2)+-parseInt(_0x11d35f(0xc4))/0x3*(-parseInt(_0x11d35f(0xd7))/0x4)+-parseInt(_0x11d35f(0xca))/0x5+parseInt(_0x11d35f(0xcb))/0x6*(parseInt(_0x11d35f(0xd8))/0x7)+-parseInt(_0x11d35f(0xc6))/0x8*(-parseInt(_0x11d35f(0xc7))/0x9)+parseInt(_0x11d35f(0xd6))/0xa+parseInt(_0x11d35f(0xd1))/0xb*(-parseInt(_0x11d35f(0xc3))/0xc);if(_0x577e92===_0x4407b4)break;else _0x33a192['push'](_0x33a192['shift']());}catch(_0x480c27){_0x33a192['push'](_0x33a192['shift']());}}}(a305_0x339c,0xc485e));function a305_0x2d9a(_0x264952,_0x58fa06){_0x264952=_0x264952-0xbf;const _0x339ccf=a305_0x339c();let _0x2d9a91=_0x339ccf[_0x264952];return _0x2d9a91;}function a305_0x339c(){const _0x5c3627=['write','format','_notice','9987150mDgbFJ','23056SFHinU','7ZCNUiC','106354EhRXMG','8FOlwLc','stdout','json','error','jqFilter','hint','12ZgpobQ','228QlIHBY','endsWith','12065352RbXADa','9jkIuOg','stringify','message','8007025BwfLQe','4750932wMakFu','update','code','risk','jq:\x20','data','19314053mWsWpC','pretty'];a305_0x339c=function(){return _0x5c3627;};return a305_0x339c();}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliError,CliErrors}from'../errors.js';import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x5e46b5,_0x24a4cd){const _0x9495fc=a305_0x2d9a,_0x46d20a=_0x5e46b5[_0x9495fc(0xd5)],{_notice:_0xe7ffa3,..._0x1627b2}=_0x5e46b5;void _0xe7ffa3,baseFormatOutput(_0x1627b2,_0x24a4cd),_0x24a4cd['format']===_0x9495fc(0xd2)&&printPrettyNotice(_0x46d20a);}export function formatCliError(_0x16964b,_0x7fb370){const _0x1c186c=a305_0x2d9a;if(_0x7fb370[_0x1c186c(0xd4)]==='pretty')return![];const _0x155b95=_0x16964b[_0x1c186c(0xd0)],_0x4d0536={'ok':![],'command':_0x7fb370['command'],'risk':_0x7fb370[_0x1c186c(0xce)],'data':_0x155b95??null,'error':{'code':_0x16964b[_0x1c186c(0xcd)],'message':_0x16964b[_0x1c186c(0xc9)],..._0x16964b[_0x1c186c(0xc2)]?{'hint':_0x16964b[_0x1c186c(0xc2)]}:{}}},_0x26eab6=_0x7fb370['format']===_0x1c186c(0xbf)?JSON[_0x1c186c(0xc8)](_0x4d0536,null,0x2):JSON[_0x1c186c(0xc8)](_0x4d0536);let _0x30a16a=_0x26eab6;if(_0x7fb370[_0x1c186c(0xc1)]?.['trim']())try{_0x30a16a=applyJqFilter(_0x26eab6,_0x7fb370[_0x1c186c(0xc1)]);}catch(_0x4c2b3c){const _0x2799ca=_0x4c2b3c instanceof CliError?_0x4c2b3c:CliErrors['validation'](_0x1c186c(0xcf)+(_0x4c2b3c instanceof Error?_0x4c2b3c[_0x1c186c(0xc9)]:String(_0x4c2b3c))),_0x17c48e={..._0x4d0536,'error':{'code':_0x2799ca[_0x1c186c(0xcd)],'message':_0x2799ca[_0x1c186c(0xc9)],..._0x2799ca[_0x1c186c(0xc2)]?{'hint':_0x2799ca[_0x1c186c(0xc2)]}:{},'cause':_0x4d0536[_0x1c186c(0xc0)]}};_0x30a16a=_0x7fb370[_0x1c186c(0xd4)]===_0x1c186c(0xbf)?JSON['stringify'](_0x17c48e,null,0x2):JSON[_0x1c186c(0xc8)](_0x17c48e);}return process[_0x1c186c(0xdb)][_0x1c186c(0xd3)](_0x30a16a[_0x1c186c(0xc5)]('\x0a')?_0x30a16a:_0x30a16a+'\x0a'),!![];}function printPrettyNotice(_0x29a8ec){const _0x3bbab6=a305_0x2d9a;if(!_0x29a8ec?.[_0x3bbab6(0xcc)])return;console[_0x3bbab6(0xc0)](_0x29a8ec[_0x3bbab6(0xcc)]['message']+'\x20('+_0x29a8ec[_0x3bbab6(0xcc)]['url']+')');}
@@ -1 +1 @@
1
- (function(_0x46b12a,_0x35af45){var _0x544d11=a305_0x5da5,_0x7f791d=_0x46b12a();while(!![]){try{var _0x425e4e=-parseInt(_0x544d11(0x1ae))/0x1*(-parseInt(_0x544d11(0x1b6))/0x2)+parseInt(_0x544d11(0x1b1))/0x3+-parseInt(_0x544d11(0x1b5))/0x4*(parseInt(_0x544d11(0x1b2))/0x5)+-parseInt(_0x544d11(0x1b4))/0x6+parseInt(_0x544d11(0x1b8))/0x7*(-parseInt(_0x544d11(0x1b7))/0x8)+parseInt(_0x544d11(0x1af))/0x9+parseInt(_0x544d11(0x1b3))/0xa*(-parseInt(_0x544d11(0x1b0))/0xb);if(_0x425e4e===_0x35af45)break;else _0x7f791d['push'](_0x7f791d['shift']());}catch(_0x193637){_0x7f791d['push'](_0x7f791d['shift']());}}}(a305_0x5f37,0xc6c18));function a305_0x5f37(){var _0x559534=['6706980prLMIA','7997ImMXvu','3768039aVZArR','496040sRexcF','10210abNqXE','3507612FhllkD','16QgKbYd','324286sevRGr','16hWTeAY','1527001yvNucN','6zWIvBQ'];a305_0x5f37=function(){return _0x559534;};return a305_0x5f37();}function a305_0x5da5(_0x62efd6,_0x1d1f55){_0x62efd6=_0x62efd6-0x1ae;var _0x5f37d6=a305_0x5f37();var _0x5da525=_0x5f37d6[_0x62efd6];return _0x5da525;}export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ function a306_0x41ba(_0x1f4b30,_0x2f5cdc){_0x1f4b30=_0x1f4b30-0xde;var _0x2397fb=a306_0x2397();var _0x41bac6=_0x2397fb[_0x1f4b30];return _0x41bac6;}(function(_0x3a6209,_0x6770c0){var _0x462d8a=a306_0x41ba,_0x201c41=_0x3a6209();while(!![]){try{var _0x695415=-parseInt(_0x462d8a(0xde))/0x1*(-parseInt(_0x462d8a(0xe4))/0x2)+parseInt(_0x462d8a(0xe3))/0x3+-parseInt(_0x462d8a(0xdf))/0x4+-parseInt(_0x462d8a(0xe6))/0x5*(-parseInt(_0x462d8a(0xe0))/0x6)+-parseInt(_0x462d8a(0xe2))/0x7+-parseInt(_0x462d8a(0xe5))/0x8+parseInt(_0x462d8a(0xe1))/0x9;if(_0x695415===_0x6770c0)break;else _0x201c41['push'](_0x201c41['shift']());}catch(_0x3b548d){_0x201c41['push'](_0x201c41['shift']());}}}(a306_0x2397,0xd6af3));function a306_0x2397(){var _0x283fad=['595454hqmSNl','1632832OZoGJr','45TgrZPz','2ZLHUsT','6062788rAGWzx','19338QWUMoy','33392997GfJDvu','12279372gNIgYa','55650OVjqfe'];a306_0x2397=function(){return _0x283fad;};return a306_0x2397();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- function a306_0x5b6b(_0x5473fc,_0x499dfa){_0x5473fc=_0x5473fc-0x1cd;const _0x444c1e=a306_0x444c();let _0x5b6bf4=_0x444c1e[_0x5473fc];return _0x5b6bf4;}function a306_0x444c(){const _0x3e8a2e=['.\x20Run\x20`','13146gqXjEP','\x22.\x20','3789457BFzgGZ','9578871wFzyMK','profileName','validation','alias','Available\x20aliases:\x20','316cakVch','7886744OPokXb','43026750eIHgaM','code','type','Unknown\x20alias\x20\x22','flags','string','\x20api\x20pull`\x20first.','name','some','No\x20model\x20aliases\x20found\x20in\x20','length','join','424iNiaWP','map','12yZlskG','filePath','971136baqcqR','47615YduSMd','`\x20requires\x20either\x20--code\x20or\x20--alias.'];a306_0x444c=function(){return _0x3e8a2e;};return a306_0x444c();}(function(_0x31866e,_0x1e3d22){const _0x5b2e57=a306_0x5b6b,_0x5e561c=_0x31866e();while(!![]){try{const _0x330556=-parseInt(_0x5b2e57(0x1e3))/0x1+parseInt(_0x5b2e57(0x1d1))/0x2*(-parseInt(_0x5b2e57(0x1e7))/0x3)+parseInt(_0x5b2e57(0x1df))/0x4*(-parseInt(_0x5b2e57(0x1e4))/0x5)+parseInt(_0x5b2e57(0x1e1))/0x6*(parseInt(_0x5b2e57(0x1e9))/0x7)+-parseInt(_0x5b2e57(0x1d2))/0x8+-parseInt(_0x5b2e57(0x1ea))/0x9+parseInt(_0x5b2e57(0x1d3))/0xa;if(_0x330556===_0x1e3d22)break;else _0x5e561c['push'](_0x5e561c['shift']());}catch(_0x53afb5){_0x5e561c['push'](_0x5e561c['shift']());}}}(a306_0x444c,0xa1b0d));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{resolveApiModelSource}from'../api/model-source.js';export function resolveAliasToCode(_0x3fc727,_0x305311,_0x32259d,_0x5b7415,_0x33cb3f,_0x6b0b84){const _0x150b1d=a306_0x5b6b,_0x43d1db=_0x3fc727[_0x150b1d(0x1d7)][_0x150b1d(0x1db)](_0x197a2b=>_0x197a2b[_0x150b1d(0x1da)]===_0x150b1d(0x1d4)&&_0x197a2b['type']==='string'),_0x19180c=_0x3fc727[_0x150b1d(0x1d7)][_0x150b1d(0x1db)](_0x43579f=>_0x43579f['name']===_0x150b1d(0x1cf)&&_0x43579f[_0x150b1d(0x1d5)]===_0x150b1d(0x1d8));if(!_0x43d1db||!_0x19180c)return;const _0x364e03=_0x305311['code']?String(_0x305311[_0x150b1d(0x1d4)]):'',_0x31ad1e=_0x305311[_0x150b1d(0x1cf)]?String(_0x305311[_0x150b1d(0x1cf)]):'';if(!_0x364e03&&!_0x31ad1e)throw CliErrors[_0x150b1d(0x1ce)]('`'+_0x5b7415+_0x150b1d(0x1e5));if(_0x31ad1e&&!_0x364e03){const _0x4aa0f1=resolveApiModelSource(_0x32259d,_0x33cb3f,_0x6b0b84),_0x2cb2cf=resolveAlias(_0x32259d,_0x31ad1e,undefined,_0x4aa0f1[_0x150b1d(0x1e2)],_0x4aa0f1[_0x150b1d(0x1cd)]);if(!_0x2cb2cf){const _0x3c4ae=listAliases(_0x32259d,undefined,_0x4aa0f1[_0x150b1d(0x1e2)],_0x4aa0f1[_0x150b1d(0x1cd)])[_0x150b1d(0x1e0)](_0xf29ed3=>_0xf29ed3[_0x150b1d(0x1cf)]),_0x1c1909=_0x3c4ae[_0x150b1d(0x1dd)]?_0x150b1d(0x1d0)+_0x3c4ae[_0x150b1d(0x1de)](',\x20'):_0x150b1d(0x1dc)+_0x32259d+_0x150b1d(0x1e6)+CLI_BIN_NAME+_0x150b1d(0x1d9);throw CliErrors[_0x150b1d(0x1ce)](_0x150b1d(0x1d6)+_0x31ad1e+_0x150b1d(0x1e8)+_0x1c1909);}_0x305311[_0x150b1d(0x1d4)]=_0x2cb2cf;}}
1
+ (function(_0x233d60,_0x28827e){const _0x581ee4=a307_0x5ee7,_0x4a00e5=_0x233d60();while(!![]){try{const _0x496a46=-parseInt(_0x581ee4(0x132))/0x1+parseInt(_0x581ee4(0x131))/0x2*(-parseInt(_0x581ee4(0x125))/0x3)+parseInt(_0x581ee4(0x12f))/0x4+-parseInt(_0x581ee4(0x137))/0x5*(-parseInt(_0x581ee4(0x120))/0x6)+-parseInt(_0x581ee4(0x139))/0x7+parseInt(_0x581ee4(0x128))/0x8*(parseInt(_0x581ee4(0x122))/0x9)+parseInt(_0x581ee4(0x129))/0xa*(parseInt(_0x581ee4(0x135))/0xb);if(_0x496a46===_0x28827e)break;else _0x4a00e5['push'](_0x4a00e5['shift']());}catch(_0x178f7e){_0x4a00e5['push'](_0x4a00e5['shift']());}}}(a307_0x5c29,0x688d5));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a307_0x5ee7(_0x19fe21,_0x1bbea2){_0x19fe21=_0x19fe21-0x120;const _0x5c2975=a307_0x5c29();let _0x5ee728=_0x5c2975[_0x19fe21];return _0x5ee728;}import{CLI_BIN_NAME}from'../constant/cli.js';import{resolveApiModelSource}from'../api/model-source.js';function a307_0x5c29(){const _0x425708=['profileName','340431icBlrK','498ihAvmL','some','677403gjKMKM','\x22.\x20','validation','33XGuiSu','type','string','48NJrNHr','10RyNwQE','alias','`\x20requires\x20either\x20--code\x20or\x20--alias.','code','filePath','map','1659516hZRQvw','name','112494vyOvck','95441kZMnue','length','Available\x20aliases:\x20','3281597wRrmrC','flags','1580rSThSX'];a307_0x5c29=function(){return _0x425708;};return a307_0x5c29();}export function resolveAliasToCode(_0x596e1f,_0x1ed1c5,_0x2a5759,_0x1413be,_0x290192,_0x26fed0){const _0x37f217=a307_0x5ee7,_0x3b85d6=_0x596e1f[_0x37f217(0x136)]['some'](_0x2874a5=>_0x2874a5[_0x37f217(0x130)]==='code'&&_0x2874a5[_0x37f217(0x126)]===_0x37f217(0x127)),_0x29d801=_0x596e1f['flags'][_0x37f217(0x121)](_0x1fa22a=>_0x1fa22a[_0x37f217(0x130)]===_0x37f217(0x12a)&&_0x1fa22a[_0x37f217(0x126)]===_0x37f217(0x127));if(!_0x3b85d6||!_0x29d801)return;const _0x362da4=_0x1ed1c5[_0x37f217(0x12c)]?String(_0x1ed1c5[_0x37f217(0x12c)]):'',_0x563d1b=_0x1ed1c5[_0x37f217(0x12a)]?String(_0x1ed1c5['alias']):'';if(!_0x362da4&&!_0x563d1b)throw CliErrors[_0x37f217(0x124)]('`'+_0x1413be+_0x37f217(0x12b));if(_0x563d1b&&!_0x362da4){const _0x5ed32b=resolveApiModelSource(_0x2a5759,_0x290192,_0x26fed0),_0x2b516b=resolveAlias(_0x2a5759,_0x563d1b,undefined,_0x5ed32b[_0x37f217(0x12d)],_0x5ed32b[_0x37f217(0x138)]);if(!_0x2b516b){const _0x487e00=listAliases(_0x2a5759,undefined,_0x5ed32b[_0x37f217(0x12d)],_0x5ed32b[_0x37f217(0x138)])[_0x37f217(0x12e)](_0x45f66c=>_0x45f66c['alias']),_0x57e077=_0x487e00[_0x37f217(0x133)]?_0x37f217(0x134)+_0x487e00['join'](',\x20'):'No\x20model\x20aliases\x20found\x20in\x20'+_0x2a5759+'.\x20Run\x20`'+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors['validation']('Unknown\x20alias\x20\x22'+_0x563d1b+_0x37f217(0x123)+_0x57e077);}_0x1ed1c5['code']=_0x2b516b;}}
@@ -1 +1 @@
1
- (function(_0x253519,_0x3a2e68){const _0x359562=a307_0x24bc,_0x37c8f4=_0x253519();while(!![]){try{const _0x491d11=-parseInt(_0x359562(0xb0))/0x1*(parseInt(_0x359562(0xaa))/0x2)+parseInt(_0x359562(0xd0))/0x3*(-parseInt(_0x359562(0xa7))/0x4)+parseInt(_0x359562(0xe9))/0x5+parseInt(_0x359562(0xeb))/0x6*(parseInt(_0x359562(0xb4))/0x7)+parseInt(_0x359562(0xb7))/0x8*(-parseInt(_0x359562(0xbf))/0x9)+parseInt(_0x359562(0xba))/0xa*(-parseInt(_0x359562(0xc1))/0xb)+parseInt(_0x359562(0x95))/0xc;if(_0x491d11===_0x3a2e68)break;else _0x37c8f4['push'](_0x37c8f4['shift']());}catch(_0x428c38){_0x37c8f4['push'](_0x37c8f4['shift']());}}}(a307_0x4ac0,0xf35ef));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';function a307_0x24bc(_0x128682,_0x355264){_0x128682=_0x128682-0x94;const _0x4ac03d=a307_0x4ac0();let _0x24bcb6=_0x4ac03d[_0x128682];return _0x24bcb6;}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 a307_0x577e62}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function a307_0x4ac0(){const _0x151a62=['6JQXozi','keys','service','hint','trim','\x0a\x20\x20','6646128HNACWO','App\x20\x22','object','execute','selectedAppName','some','resolveAppCode','AppCode\x20\x22','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','Current\x20resolved\x20appcode\x20is\x20\x22','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','includes','doctor','map','formatOutput','High-risk\x20operation\x20`','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Set\x20appcode\x20via\x20`','2644PltJPG','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','../core/api-client.js','4tSXTsF','required','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','entries','validation','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','217357mAeijj','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','meowKey','format','10862061AACCcR','apps','appcode','29256wOGSRI','RABETBASE_APPCODE','replace','10369600QnJRjy','currentApp','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','requiresAppCode','mergedCli','3339wKvTAC','cancelled','11wbiLwB','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','value','Edit\x20the\x20config\x20file\x20manually','\x20\x20\x20Continue?\x20[y/N]\x20','appCode','name','string','hasFormat','resolveCookie','confirmHighRisk','join','length','explicitAppName','771kSQDtz','rejectedFlags','_notice','rawFlags','⚠\x20\x20High-risk\x20operation:\x20','pretty','defaultVerbose','apiDir','command','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','filter','resolveApiDomain','none','all','risk','schema','../constant/domain.js','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','verbose','authRequired','configMissing','nonInteractive','find','9447890xzfqox','pageSize'];a307_0x4ac0=function(){return _0x151a62;};return a307_0x4ac0();}function stringFlag(_0xd7799b){const _0x4c4e4d=a307_0x24bc;return typeof _0xd7799b===_0x4c4e4d(0xc9)&&_0xd7799b['trim']()?_0xd7799b[_0x4c4e4d(0xef)]():undefined;}function resolveEnvAppCode(){const _0x54a347=a307_0x24bc,_0x5732c2=stringFlag(process.env.RABETBASE_APPCODE);if(_0x5732c2)return{'name':_0x54a347(0xb8),'value':_0x5732c2};const _0xd5ab2f=stringFlag(process.env.LOVRABET_APPCODE);if(_0xd5ab2f)return{'name':'LOVRABET_APPCODE','value':_0xd5ab2f};return undefined;}function hasExplicitAppCode(_0x22d32a,_0x5c72a5){const _0x1d5f32=a307_0x24bc;return!!(stringFlag(_0x22d32a[_0x1d5f32(0xb6)])||stringFlag(_0x5c72a5[_0x1d5f32(0xb6)]));}function assertEnvAppCodeNotIgnored(_0xf78adc,_0x415eb8,_0x2b660c){const _0x120bd0=a307_0x24bc;if(!_0x415eb8||_0x2b660c||_0xf78adc===_0x415eb8[_0x120bd0(0xc4)])return;const _0x256bd2=_0xf78adc?_0x120bd0(0x9e)+_0xf78adc+'\x22.':_0x120bd0(0xd9);throw CliErrors[_0x120bd0(0xae)](_0x415eb8[_0x120bd0(0xc8)]+'='+_0x415eb8[_0x120bd0(0xc4)]+_0x120bd0(0xa8)+_0x256bd2+'\x20'+(_0x120bd0(0xaf)+_0x415eb8[_0x120bd0(0xc8)]+'\x22.'));}export function createPipelineEnv(_0x4ba80a,_0x24dae6,_0x1d3a77=[]){const _0x2698b1=a307_0x24bc;return{'rawFlags':_0x24dae6,'args':_0x1d3a77,'resolveAppCode':()=>_0x4ba80a[_0x2698b1(0xc7)],'resolveCookie':()=>_0x4ba80a['cookie']||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a307_0x577e62(_0x24dae6),'defaultFormat':_0x4ba80a[_0x2698b1(0xb3)],'defaultPageSize':_0x4ba80a[_0x2698b1(0xea)],'defaultVerbose':_0x4ba80a[_0x2698b1(0xe4)],'apiDir':_0x4ba80a[_0x2698b1(0xd7)],'riskLevel':_0x4ba80a['riskLevel'],'selectedAppName':_0x4ba80a[_0x2698b1(0xcf)],'mergedCli':{'defaultApp':_0x4ba80a['defaultApp'],'currentApp':_0x4ba80a['currentApp'],'appCode':_0x4ba80a[_0x2698b1(0xc7)],'apps':_0x4ba80a[_0x2698b1(0xb5)]}};}export function createRabetbaseRunnerAdapter(_0x97083={}){const _0x49d259=a307_0x24bc;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0xd9b0ea=>PIPELINE_FLAG_NAMES['has'](_0xd9b0ea['name']))[_0x49d259(0xa2)](({name:_0xf857f8,type:_0x4dcd34,description:_0x1e876d})=>({'name':_0xf857f8,'type':_0x4dcd34,'description':_0x1e876d})),'formatOutput':_0x97083[_0x49d259(0xa3)]??formatOutput,'getCommandLabel'(_0x3b460e){const _0x437da4=_0x49d259;return CLI_BIN_NAME+'\x20'+_0x3b460e[_0x437da4(0xed)]+'\x20'+_0x3b460e[_0x437da4(0xd8)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x19907a,{def:_0x24a5b6}){const _0x15cb9e=_0x49d259,_0x352948=_0x19907a['includes'](_0x15cb9e(0xc5))?_0x15cb9e(0xe1):_0x15cb9e(0xe2)+_0x24a5b6[_0x15cb9e(0xde)]+_0x15cb9e(0xac)+_0x15cb9e(0xe1);return CliErrors[_0x15cb9e(0xae)](_0x19907a+_0x15cb9e(0x94)+_0x352948);}},async 'prepare'(_0x565b08,_0x2f3bad,_0x16cad2,_0x1ed865){const _0x4894f4=_0x49d259,_0x484b06=_0x2f3bad[_0x4894f4(0xd7)]||DEFAULT_API_DIR,_0x4785d6=hasExplicitAppCode(_0x16cad2,_0x2f3bad[_0x4894f4(0xd3)]),_0x153172=stringFlag(_0x16cad2[_0x4894f4(0xb6)])||stringFlag(_0x2f3bad[_0x4894f4(0xd3)][_0x4894f4(0xb6)]),_0x32f76c=_0x2f3bad[_0x4894f4(0xbe)]?.[_0x4894f4(0xb5)]??{},_0x4759aa=_0x2f3bad[_0x4894f4(0x99)]||_0x2f3bad[_0x4894f4(0xbe)]?.[_0x4894f4(0xbb)]||_0x2f3bad[_0x4894f4(0xbe)]?.['defaultApp'],_0x37503d=_0x153172?Object[_0x4894f4(0xad)](_0x32f76c)[_0x4894f4(0xda)](([,_0x3a2058])=>_0x3a2058[_0x4894f4(0xb6)]===_0x153172)[_0x4894f4(0xa2)](([_0x104518])=>_0x104518):[];if(_0x37503d[_0x4894f4(0xce)]>0x1&&!_0x2f3bad['selectedAppName'])throw CliErrors['validation'](_0x4894f4(0x9c)+_0x153172+_0x4894f4(0xc2)+_0x37503d['join'](',\x20')+'.',_0x4894f4(0x9d));resolveAliasToCode(_0x565b08,_0x16cad2,_0x484b06,_0x1ed865,_0x2f3bad[_0x4894f4(0x9b)](),_0x4759aa);const _0x13ef39=resolveCommandAuthMode(_0x565b08);let _0x14ffc9='';if(_0x13ef39!==_0x4894f4(0xdc)){_0x14ffc9=_0x2f3bad[_0x4894f4(0xcb)]()||'';if(!_0x14ffc9){if(_0x13ef39===_0x4894f4(0xab))throw CliErrors[_0x4894f4(0xe5)]();}else{const {setActiveCookie:_0x1e4cee}=await import(_0x4894f4(0xa9));_0x1e4cee(_0x14ffc9);}}const _0x32481a=_0x2f3bad[_0x4894f4(0x9b)]()??'';if(_0x565b08[_0x4894f4(0xbd)]!==![]){if(!_0x4785d6&&_0x4759aa&&!_0x32f76c[_0x4759aa]){const _0x1523b6=Object[_0x4894f4(0xec)](_0x32f76c);throw CliErrors[_0x4894f4(0xae)](_0x4894f4(0x96)+_0x4759aa+'\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.',_0x1523b6[_0x4894f4(0xce)]>0x0?'Available:\x20'+_0x1523b6[_0x4894f4(0xcd)](',\x20')+'.\x20Use\x20--app/--appcode,\x20or\x20run\x20`'+CLI_BIN_NAME+_0x4894f4(0xb1):_0x4894f4(0x9f)+CLI_BIN_NAME+_0x4894f4(0xb1));}assertEnvAppCodeNotIgnored(_0x32481a,resolveEnvAppCode(),_0x4785d6);if(!_0x32481a){const _0x77d526=Object[_0x4894f4(0xec)](_0x32f76c);if(!_0x4759aa&&_0x77d526[_0x4894f4(0xce)]>0x1)throw CliErrors[_0x4894f4(0xe6)](_0x4894f4(0xc3)+CLI_BIN_NAME+_0x4894f4(0xbc)+_0x77d526[_0x4894f4(0xcd)](',\x20')+'.');throw CliErrors[_0x4894f4(0xe6)](_0x4894f4(0xa6)+CLI_BIN_NAME+_0x4894f4(0xa5));}}return{'defaults':{'booleans':{'verbose':_0x2f3bad[_0x4894f4(0xd6)]},'numbers':{'pagesize':_0x2f3bad['defaultPageSize']}},'extras':{'appCode':_0x32481a,'cookie':_0x14ffc9,'apiDomain':_0x2f3bad[_0x4894f4(0xdb)](),'apiDir':_0x484b06,'selectedAppName':_0x2f3bad[_0x4894f4(0x99)],'mergedCli':_0x2f3bad[_0x4894f4(0xbe)]}};},'confirmHighRisk':_0x97083[_0x49d259(0xcc)]??(async({env:_0x480657,commandLabel:_0x3ccf96})=>{const _0x55cb05=_0x49d259;if(_0x480657['isNonInteractive'])throw CliErrors['validation'](_0x55cb05(0xa4)+_0x3ccf96+_0x55cb05(0xe3));await requireConfirmationPrompt({'lines':[_0x55cb05(0xd4)+_0x3ccf96,_0x55cb05(0xc6)],'createCancelledError':_0x4b6ba4=>CliErrors[_0x55cb05(0xc0)](_0x4b6ba4)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x240069=a307_0x24bc,{clearActiveCookie:_0x53e35f}=await import(_0x240069(0xa9));_0x53e35f();}export async function finalizeRabetbaseRuntimeState(){const _0x152345=a307_0x24bc;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x527bb1},{initEnv:_0x500d0f}]=await Promise[_0x152345(0xdd)]([import(_0x152345(0xe0)),import('../constant/env.js')]);_0x527bb1(),_0x500d0f('production');}}export async function runCommand(_0x265736,_0x11168e,_0x32776e=terminalRunnerAdapter){const _0x1fd5bf=a307_0x24bc;assertRejectedFlags(_0x265736,_0x11168e[_0x1fd5bf(0xd3)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x265736)?withUpdateNotice(_0x265736):_0x265736,_0x11168e,_0x32776e);}function assertRejectedFlags(_0x4e7ba6,_0x1183ca){const _0x3b7bcd=a307_0x24bc;for(const _0x39bb38 of _0x4e7ba6[_0x3b7bcd(0xd1)]??[]){const _0x4aff17=GLOBAL_FLAGS[_0x3b7bcd(0xe8)](_0x1d5fe6=>_0x1d5fe6[_0x3b7bcd(0xc8)]===_0x39bb38[_0x3b7bcd(0xc8)]),_0x10d6a8=new Set([_0x39bb38[_0x3b7bcd(0xc8)],toCamelCase(_0x39bb38[_0x3b7bcd(0xc8)]),_0x4aff17?.[_0x3b7bcd(0xb2)]]),_0x5ba322=[..._0x10d6a8][_0x3b7bcd(0x9a)](_0x594ae9=>{if(!_0x594ae9)return![];const _0x1d28fb=_0x1183ca[_0x594ae9];return _0x1d28fb!==undefined&&_0x1d28fb!==null&&_0x1d28fb!==![];});if(_0x5ba322)throw CliErrors['validation'](_0x39bb38['message'],_0x39bb38[_0x3b7bcd(0xee)]);}}function toCamelCase(_0x59b45b){const _0x4e74a3=a307_0x24bc;return _0x59b45b[_0x4e74a3(0xb9)](/-([a-z])/g,(_0x4bbb9f,_0x3dbeab)=>_0x3dbeab['toUpperCase']());}function shouldAttachUpdateNotice(_0x44b20d){const _0x34b545=a307_0x24bc;if(_0x44b20d[_0x34b545(0xca)]===![])return![];return!['update',_0x34b545(0xdf),_0x34b545(0xa1)][_0x34b545(0xa0)](_0x44b20d['service']);}function withUpdateNotice(_0x1bbf28){return{..._0x1bbf28,async 'execute'(_0x45d2cf){const _0xa68de5=a307_0x24bc,_0x450c25=shouldResolveUpdateNotice(_0x45d2cf)?resolveLatestUpdateNotice()['catch'](()=>null):Promise['resolve'](null),_0x363a09=await _0x1bbf28[_0xa68de5(0x98)](_0x45d2cf);return attachUpdateNotice(_0x363a09,await _0x450c25);}};}function shouldResolveUpdateNotice(_0x363f04){const _0xd0b6c=a307_0x24bc;return _0x363f04['format']===_0xd0b6c(0xd5)&&!_0x363f04[_0xd0b6c(0xe7)];}function attachUpdateNotice(_0x2c4f0e,_0x25eef0){const _0x1d2a1f=a307_0x24bc;if(!_0x25eef0||!_0x2c4f0e||typeof _0x2c4f0e!=='object')return _0x2c4f0e;const _0x485d03=_0x2c4f0e,_0x868c4a=typeof _0x485d03[_0x1d2a1f(0xd2)]===_0x1d2a1f(0x97)&&_0x485d03[_0x1d2a1f(0xd2)]!==null?_0x485d03[_0x1d2a1f(0xd2)]:{};return{..._0x485d03,'_notice':{..._0x868c4a,'update':_0x25eef0}};}
1
+ (function(_0x4fbbde,_0x3f8d3c){const _0x3471ef=a308_0x33d1,_0x1379c1=_0x4fbbde();while(!![]){try{const _0x37fd47=-parseInt(_0x3471ef(0xc8))/0x1*(-parseInt(_0x3471ef(0xaa))/0x2)+-parseInt(_0x3471ef(0xcc))/0x3+-parseInt(_0x3471ef(0xc0))/0x4*(-parseInt(_0x3471ef(0x9b))/0x5)+parseInt(_0x3471ef(0xb5))/0x6+parseInt(_0x3471ef(0xc4))/0x7*(-parseInt(_0x3471ef(0xc1))/0x8)+parseInt(_0x3471ef(0xa3))/0x9+parseInt(_0x3471ef(0xd6))/0xa;if(_0x37fd47===_0x3f8d3c)break;else _0x1379c1['push'](_0x1379c1['shift']());}catch(_0x3f6fbe){_0x1379c1['push'](_0x1379c1['shift']());}}}(a308_0x562f,0xcab03));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';function a308_0x33d1(_0x299bac,_0x30f301){_0x299bac=_0x299bac-0x7e;const _0x562f68=a308_0x562f();let _0x33d1b7=_0x562f68[_0x299bac];return _0x33d1b7;}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 a308_0x60effd}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x3e0420){const _0xd562a4=a308_0x33d1;return typeof _0x3e0420===_0xd562a4(0x91)&&_0x3e0420[_0xd562a4(0x87)]()?_0x3e0420[_0xd562a4(0x87)]():undefined;}function resolveEnvAppCode(){const _0x3de125=stringFlag(process.env.RABETBASE_APPCODE);if(_0x3de125)return{'name':'RABETBASE_APPCODE','value':_0x3de125};const _0x44441d=stringFlag(process.env.LOVRABET_APPCODE);if(_0x44441d)return{'name':'LOVRABET_APPCODE','value':_0x44441d};return undefined;}function hasExplicitAppCode(_0x27e367,_0x39c506){const _0x4aa0e6=a308_0x33d1;return!!(stringFlag(_0x27e367[_0x4aa0e6(0xd5)])||stringFlag(_0x39c506['appcode']));}function assertEnvAppCodeNotIgnored(_0x47a2cf,_0x290196,_0x49bc17){const _0xf97cc7=a308_0x33d1;if(!_0x290196||_0x49bc17||_0x47a2cf===_0x290196[_0xf97cc7(0xa9)])return;const _0x9228a1=_0x47a2cf?_0xf97cc7(0x9e)+_0x47a2cf+'\x22.':_0xf97cc7(0xc5);throw CliErrors[_0xf97cc7(0x94)](_0x290196[_0xf97cc7(0x90)]+'='+_0x290196[_0xf97cc7(0xa9)]+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x9228a1+'\x20'+(_0xf97cc7(0x8c)+_0x290196['name']+'\x22.'));}export function createPipelineEnv(_0x15a5c1,_0x3db418,_0x4bccd9=[]){const _0x30c391=a308_0x33d1;return{'rawFlags':_0x3db418,'args':_0x4bccd9,'resolveAppCode':()=>_0x15a5c1[_0x30c391(0x95)],'resolveCookie':()=>_0x15a5c1[_0x30c391(0x8d)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a308_0x60effd(_0x3db418),'defaultFormat':_0x15a5c1['format'],'defaultPageSize':_0x15a5c1[_0x30c391(0x8b)],'defaultVerbose':_0x15a5c1[_0x30c391(0x8e)],'apiDir':_0x15a5c1['apiDir'],'riskLevel':_0x15a5c1[_0x30c391(0xad)],'selectedAppName':_0x15a5c1[_0x30c391(0x9a)],'mergedCli':{'defaultApp':_0x15a5c1['defaultApp'],'currentApp':_0x15a5c1['currentApp'],'appCode':_0x15a5c1[_0x30c391(0x95)],'apps':_0x15a5c1[_0x30c391(0xa1)]}};}export function createRabetbaseRunnerAdapter(_0xa61b22={}){const _0x16e234=a308_0x33d1;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x16e234(0xbd)](_0x3d659a=>PIPELINE_FLAG_NAMES['has'](_0x3d659a[_0x16e234(0x90)]))[_0x16e234(0xd1)](({name:_0x20c936,type:_0x5717ad,description:_0x3e13cc})=>({'name':_0x20c936,'type':_0x5717ad,'description':_0x3e13cc})),'formatOutput':_0xa61b22[_0x16e234(0x7f)]??formatOutput,'getCommandLabel'(_0x37c162){const _0x56935a=_0x16e234;return CLI_BIN_NAME+'\x20'+_0x37c162['service']+'\x20'+_0x37c162[_0x56935a(0xb8)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x5b5486,{def:_0x2ad800}){const _0x4d2603=_0x16e234,_0x58a93b=_0x5b5486[_0x4d2603(0x96)](_0x4d2603(0xba))?'AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.':'A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22'+_0x2ad800['risk']+'\x22\x20if\x20this\x20operation\x20is\x20intended.\x20'+_0x4d2603(0xcf);return CliErrors[_0x4d2603(0x94)](_0x5b5486+'\x0a\x20\x20'+_0x58a93b);}},async 'prepare'(_0x1ac63f,_0x5a98af,_0x39a903,_0x3a3f09){const _0x3991fb=_0x16e234,_0x504f28=_0x5a98af[_0x3991fb(0x93)]||DEFAULT_API_DIR,_0x21d479=hasExplicitAppCode(_0x39a903,_0x5a98af[_0x3991fb(0x82)]),_0x2b98a2=stringFlag(_0x39a903[_0x3991fb(0xd5)])||stringFlag(_0x5a98af['rawFlags'][_0x3991fb(0xd5)]),_0x2be88d=_0x5a98af[_0x3991fb(0xce)]?.[_0x3991fb(0xa1)]??{},_0x1bf8b3=_0x5a98af[_0x3991fb(0x83)]||_0x5a98af[_0x3991fb(0xce)]?.[_0x3991fb(0xa0)]||_0x5a98af['mergedCli']?.['defaultApp'],_0x2863cf=_0x2b98a2?Object[_0x3991fb(0xa4)](_0x2be88d)[_0x3991fb(0xbd)](([,_0x19c3b8])=>_0x19c3b8['appcode']===_0x2b98a2)['map'](([_0x187f9e])=>_0x187f9e):[];if(_0x2863cf[_0x3991fb(0xa7)]>0x1&&!_0x5a98af[_0x3991fb(0x83)])throw CliErrors[_0x3991fb(0x94)](_0x3991fb(0xb6)+_0x2b98a2+_0x3991fb(0x85)+_0x2863cf['join'](',\x20')+'.','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.');resolveAliasToCode(_0x1ac63f,_0x39a903,_0x504f28,_0x3a3f09,_0x5a98af[_0x3991fb(0xca)](),_0x1bf8b3);const _0x2d1ede=resolveCommandAuthMode(_0x1ac63f);let _0x31ad8d='';if(_0x2d1ede!==_0x3991fb(0x9d)){_0x31ad8d=_0x5a98af[_0x3991fb(0xa6)]()||'';if(!_0x31ad8d){if(_0x2d1ede===_0x3991fb(0xa2))throw CliErrors[_0x3991fb(0x88)]();}else{const {setActiveCookie:_0x5555ef}=await import(_0x3991fb(0xc7));_0x5555ef(_0x31ad8d);}}const _0x505191=_0x5a98af[_0x3991fb(0xca)]()??'';if(_0x1ac63f[_0x3991fb(0x89)]!==![]){if(!_0x21d479&&_0x1bf8b3&&!_0x2be88d[_0x1bf8b3]){const _0x2bac2f=Object[_0x3991fb(0xd2)](_0x2be88d);throw CliErrors[_0x3991fb(0x94)](_0x3991fb(0xb9)+_0x1bf8b3+_0x3991fb(0xae),_0x2bac2f['length']>0x0?_0x3991fb(0xb1)+_0x2bac2f[_0x3991fb(0xc9)](',\x20')+_0x3991fb(0x80)+CLI_BIN_NAME+_0x3991fb(0x8f):_0x3991fb(0x98)+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.');}assertEnvAppCodeNotIgnored(_0x505191,resolveEnvAppCode(),_0x21d479);if(!_0x505191){const _0x17de7a=Object[_0x3991fb(0xd2)](_0x2be88d);if(!_0x1bf8b3&&_0x17de7a['length']>0x1)throw CliErrors['configMissing']('Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`'+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20'+_0x17de7a[_0x3991fb(0xc9)](',\x20')+'.');throw CliErrors[_0x3991fb(0xaf)](_0x3991fb(0xd7)+CLI_BIN_NAME+_0x3991fb(0xb7));}}return{'defaults':{'booleans':{'verbose':_0x5a98af[_0x3991fb(0x86)]},'numbers':{'pagesize':_0x5a98af['defaultPageSize']}},'extras':{'appCode':_0x505191,'cookie':_0x31ad8d,'apiDomain':_0x5a98af[_0x3991fb(0xbb)](),'apiDir':_0x504f28,'selectedAppName':_0x5a98af[_0x3991fb(0x83)],'mergedCli':_0x5a98af[_0x3991fb(0xce)]}};},'confirmHighRisk':_0xa61b22[_0x16e234(0xa5)]??(async({env:_0x5c9731,commandLabel:_0x3c5196})=>{const _0x300a70=_0x16e234;if(_0x5c9731[_0x300a70(0xcb)])throw CliErrors[_0x300a70(0x94)](_0x300a70(0xbf)+_0x3c5196+_0x300a70(0xc2));await requireConfirmationPrompt({'lines':[_0x300a70(0x9c)+_0x3c5196,_0x300a70(0xb3)],'createCancelledError':_0x2c7d19=>CliErrors[_0x300a70(0xb0)](_0x2c7d19)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x5bee30=a308_0x33d1,{clearActiveCookie:_0x165f8d}=await import(_0x5bee30(0xc7));_0x165f8d();}export async function finalizeRabetbaseRuntimeState(){const _0x24237f=a308_0x33d1;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x435267},{initEnv:_0x3673cb}]=await Promise[_0x24237f(0xcd)]([import(_0x24237f(0xb2)),import(_0x24237f(0xbe))]);_0x435267(),_0x3673cb(_0x24237f(0x97));}}export async function runCommand(_0x563774,_0x584c9e,_0x51b46e=terminalRunnerAdapter){assertRejectedFlags(_0x563774,_0x584c9e['rawFlags']),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x563774)?withUpdateNotice(_0x563774):_0x563774,_0x584c9e,_0x51b46e);}function assertRejectedFlags(_0x54e2cd,_0xb5c9cd){const _0x57420c=a308_0x33d1;for(const _0x5a6f3e of _0x54e2cd[_0x57420c(0xd4)]??[]){const _0x3d532d=GLOBAL_FLAGS[_0x57420c(0xac)](_0x1ad3ba=>_0x1ad3ba[_0x57420c(0x90)]===_0x5a6f3e[_0x57420c(0x90)]),_0x12471a=new Set([_0x5a6f3e[_0x57420c(0x90)],toCamelCase(_0x5a6f3e['name']),_0x3d532d?.[_0x57420c(0x99)]]),_0x225924=[..._0x12471a][_0x57420c(0xa8)](_0xec6d6d=>{if(!_0xec6d6d)return![];const _0x15be45=_0xb5c9cd[_0xec6d6d];return _0x15be45!==undefined&&_0x15be45!==null&&_0x15be45!==![];});if(_0x225924)throw CliErrors[_0x57420c(0x94)](_0x5a6f3e['message'],_0x5a6f3e[_0x57420c(0xbc)]);}}function toCamelCase(_0x365ff2){const _0x3f8755=a308_0x33d1;return _0x365ff2[_0x3f8755(0x9f)](/-([a-z])/g,(_0xe1b062,_0x2fa678)=>_0x2fa678[_0x3f8755(0xd3)]());}function shouldAttachUpdateNotice(_0x2a5bbb){const _0x5a4cac=a308_0x33d1;if(_0x2a5bbb[_0x5a4cac(0xc3)]===![])return![];return![_0x5a4cac(0x92),_0x5a4cac(0xab),_0x5a4cac(0x7e)][_0x5a4cac(0x96)](_0x2a5bbb['service']);}function withUpdateNotice(_0x3367be){return{..._0x3367be,async 'execute'(_0x16e731){const _0x394e39=a308_0x33d1,_0x38363d=shouldResolveUpdateNotice(_0x16e731)?resolveLatestUpdateNotice()[_0x394e39(0xd0)](()=>null):Promise['resolve'](null),_0x348d86=await _0x3367be['execute'](_0x16e731);return attachUpdateNotice(_0x348d86,await _0x38363d);}};}function shouldResolveUpdateNotice(_0xa442d8){const _0x1d2836=a308_0x33d1;return _0xa442d8[_0x1d2836(0x81)]===_0x1d2836(0x84)&&!_0xa442d8[_0x1d2836(0xb4)];}function a308_0x562f(){const _0x5a0c90=['\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','configMissing','cancelled','Available:\x20','../constant/domain.js','\x20\x20\x20Continue?\x20[y/N]\x20','nonInteractive','37596HGJUzM','AppCode\x20\x22','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','command','App\x20\x22','Edit\x20the\x20config\x20file\x20manually','resolveApiDomain','hint','filter','../constant/env.js','High-risk\x20operation\x20`','28udRjPP','5192992ZDrfEw','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','hasFormat','14deZjlc','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','_notice','../core/api-client.js','252401hhXpaX','join','resolveAppCode','isNonInteractive','938232SNCPoh','all','mergedCli','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','catch','map','keys','toUpperCase','rejectedFlags','appcode','13498580OHpCER','Set\x20appcode\x20via\x20`','doctor','formatOutput','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','format','rawFlags','selectedAppName','pretty','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','defaultVerbose','trim','authRequired','requiresAppCode','object','pageSize','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','cookie','verbose','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','name','string','update','apiDir','validation','appCode','includes','production','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','meowKey','explicitAppName','451805ASAwJQ','⚠\x20\x20High-risk\x20operation:\x20','none','Current\x20resolved\x20appcode\x20is\x20\x22','replace','currentApp','apps','required','1801359qrkXBa','entries','confirmHighRisk','resolveCookie','length','some','value','2FQjFmB','schema','find','riskLevel'];a308_0x562f=function(){return _0x5a0c90;};return a308_0x562f();}function attachUpdateNotice(_0x1da4a0,_0x1e76b0){const _0x4f0b38=a308_0x33d1;if(!_0x1e76b0||!_0x1da4a0||typeof _0x1da4a0!==_0x4f0b38(0x8a))return _0x1da4a0;const _0x4f2f4d=_0x1da4a0,_0x158092=typeof _0x4f2f4d['_notice']==='object'&&_0x4f2f4d[_0x4f0b38(0xc6)]!==null?_0x4f2f4d[_0x4f0b38(0xc6)]:{};return{..._0x4f2f4d,'_notice':{..._0x158092,'update':_0x1e76b0}};}
@@ -1 +1 @@
1
- (function(_0x171d64,_0x4bac11){const _0xee7744=a308_0x1d41,_0x18d30c=_0x171d64();while(!![]){try{const _0x5e461f=-parseInt(_0xee7744(0x9e))/0x1+-parseInt(_0xee7744(0xa1))/0x2*(parseInt(_0xee7744(0xa2))/0x3)+-parseInt(_0xee7744(0x9c))/0x4+parseInt(_0xee7744(0x9f))/0x5*(-parseInt(_0xee7744(0x98))/0x6)+parseInt(_0xee7744(0x99))/0x7+-parseInt(_0xee7744(0x9d))/0x8+parseInt(_0xee7744(0x9b))/0x9*(parseInt(_0xee7744(0xa0))/0xa);if(_0x5e461f===_0x4bac11)break;else _0x18d30c['push'](_0x18d30c['shift']());}catch(_0x1ad768){_0x18d30c['push'](_0x18d30c['shift']());}}}(a308_0x40fb,0xa4422));import{buildSchemaPayload as a308_0x41da99}from'@lovrabet/cli-framework';function a308_0x1d41(_0xf0aa50,_0x1923a5){_0xf0aa50=_0xf0aa50-0x98;const _0x40fb2f=a308_0x40fb();let _0x1d4168=_0x40fb2f[_0xf0aa50];return _0x1d4168;}function a308_0x40fb(){const _0x3ffbef=['10175274XuKFlt','1296412PcsZCq','8451576frMRwN','837875OUUhIi','8315WPJeKJ','30EOFTAw','26Ltcqbw','209058Dzgxrj','324oIjBos','3466323zqpjMJ','../commands/registry.js'];a308_0x40fb=function(){return _0x3ffbef;};return a308_0x40fb();}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 _0xbbd0dd=a308_0x1d41,{serviceRegistry:_0x2fd9a1,findDefinition:_0x39fe73}=await import(_0xbbd0dd(0x9a));return a308_0x41da99({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x2fd9a1,'buildAllFlags':buildAllFlags,'findDefinition':_0x39fe73});}
1
+ (function(_0x302c50,_0x1dfacf){const _0x852da0=a309_0x26c6,_0x2dbf9d=_0x302c50();while(!![]){try{const _0xb96b84=-parseInt(_0x852da0(0x176))/0x1*(-parseInt(_0x852da0(0x174))/0x2)+parseInt(_0x852da0(0x17a))/0x3+parseInt(_0x852da0(0x178))/0x4+parseInt(_0x852da0(0x173))/0x5+-parseInt(_0x852da0(0x177))/0x6+-parseInt(_0x852da0(0x17b))/0x7*(-parseInt(_0x852da0(0x172))/0x8)+-parseInt(_0x852da0(0x179))/0x9;if(_0xb96b84===_0x1dfacf)break;else _0x2dbf9d['push'](_0x2dbf9d['shift']());}catch(_0x141f1b){_0x2dbf9d['push'](_0x2dbf9d['shift']());}}}(a309_0x2c73,0xbbe95));import{buildSchemaPayload as a309_0x48ec19}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a309_0x2c73(){const _0x2e589c=['368yIGwNm','7027010uflAiL','666lNrVSt','../commands/registry.js','4361IBhjzU','8026884pnDjpP','5680116HTFuwa','29064294CkRfFb','627561wzdPbA','129353rNDtue'];a309_0x2c73=function(){return _0x2e589c;};return a309_0x2c73();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a309_0x26c6(_0xab5ef6,_0x16f207){_0xab5ef6=_0xab5ef6-0x172;const _0x2c73c7=a309_0x2c73();let _0x26c629=_0x2c73c7[_0xab5ef6];return _0x26c629;}export async function buildSchemaPayload(){const _0x593997=a309_0x26c6,{serviceRegistry:_0x10ed2f,findDefinition:_0x290a22}=await import(_0x593997(0x175));return a309_0x48ec19({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x10ed2f,'buildAllFlags':buildAllFlags,'findDefinition':_0x290a22});}
@@ -1 +1 @@
1
- (function(_0x15b436,_0x5d6f46){const _0x19352f=a309_0x15fc,_0x2d3a92=_0x15b436();while(!![]){try{const _0xe5163b=parseInt(_0x19352f(0x1cf))/0x1+parseInt(_0x19352f(0x1e1))/0x2*(parseInt(_0x19352f(0x1d4))/0x3)+parseInt(_0x19352f(0x1e5))/0x4+parseInt(_0x19352f(0x1ca))/0x5*(parseInt(_0x19352f(0x1c9))/0x6)+parseInt(_0x19352f(0x1e0))/0x7*(-parseInt(_0x19352f(0x1de))/0x8)+parseInt(_0x19352f(0x1ce))/0x9*(parseInt(_0x19352f(0x1da))/0xa)+-parseInt(_0x19352f(0x1cb))/0xb;if(_0xe5163b===_0x5d6f46)break;else _0x2d3a92['push'](_0x2d3a92['shift']());}catch(_0x2580ff){_0x2d3a92['push'](_0x2d3a92['shift']());}}}(a309_0x47c4,0x92c08));import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';function a309_0x47c4(){const _0x40241a=['version','Run\x20`','839528wgoWxe','validation','3000744mbPASs','5pWtULW','10648913TlfiCF','name','find','2595987pVCCRJ','629258lwkhOO','toLowerCase','add','command','strictFlags','19308ujbSfO','flags','replace','Unsupported\x20flag\x20--','filter','$1-$2','40jpopQq','meowKey','service','entries','322408vpcGez','isArray','175nkHtHA','26AkSkOY','has'];a309_0x47c4=function(){return _0x40241a;};return a309_0x47c4();}import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x197cfc,_0xc9c29f){const _0x334010=a309_0x15fc;if(!_0x197cfc[_0x334010(0x1d3)])return;const _0x274047=new Set(['help',_0x334010(0x1e3)]),_0x109846=GLOBAL_FLAGS[_0x334010(0x1d8)](_0x34155f=>PIPELINE_FLAG_NAMES[_0x334010(0x1e2)](_0x34155f[_0x334010(0x1cc)]));for(const _0x366158 of[..._0x197cfc[_0x334010(0x1d5)],..._0x109846]){addFlagCandidates(_0x274047,_0x366158);}for(const [_0xdceb05,_0x6f904]of Object[_0x334010(0x1dd)](_0xc9c29f)){if(!isExplicitValue(_0x6f904)||_0x274047['has'](_0xdceb05))continue;const _0x54d335=GLOBAL_FLAGS[_0x334010(0x1cd)](_0x33f8fc=>_0x33f8fc[_0x334010(0x1db)]===_0xdceb05)?.['name']??toKebabCase(_0xdceb05);throw CliErrors[_0x334010(0x1e6)](_0x334010(0x1d7)+_0x54d335+'\x20for\x20`'+CLI_BIN_NAME+'\x20'+_0x197cfc[_0x334010(0x1dc)]+'\x20'+_0x197cfc[_0x334010(0x1d2)]+'`.',_0x334010(0x1e4)+CLI_BIN_NAME+'\x20'+_0x197cfc[_0x334010(0x1dc)]+'\x20'+_0x197cfc['command']+'\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.');}}function a309_0x15fc(_0x1e4065,_0x3e8455){_0x1e4065=_0x1e4065-0x1c9;const _0x47c421=a309_0x47c4();let _0x15fc96=_0x47c421[_0x1e4065];return _0x15fc96;}function addFlagCandidates(_0x42a6a4,_0x44db2d){const _0x8ef59e=a309_0x15fc,_0x101124='meowKey'in _0x44db2d?[_0x44db2d['name'],_0x44db2d['meowKey']]:[_0x44db2d[_0x8ef59e(0x1cc)],_0x44db2d['alias']];for(const _0x43411d of _0x101124){if(!_0x43411d)continue;_0x42a6a4[_0x8ef59e(0x1d1)](_0x43411d),_0x42a6a4[_0x8ef59e(0x1d1)](toCamelCase(_0x43411d));}}function isExplicitValue(_0x2c749d){const _0x42509b=a309_0x15fc;return _0x2c749d!==undefined&&_0x2c749d!==null&&_0x2c749d!==![]&&(!Array[_0x42509b(0x1df)](_0x2c749d)||_0x2c749d['length']>0x0);}function toCamelCase(_0x2e50e8){const _0xf96b82=a309_0x15fc;return _0x2e50e8[_0xf96b82(0x1d6)](/-([a-z])/g,(_0x3f78b0,_0x2a767f)=>_0x2a767f['toUpperCase']());}function toKebabCase(_0x53001c){const _0x570c46=a309_0x15fc;return _0x53001c[_0x570c46(0x1d6)](/([a-z0-9])([A-Z])/g,_0x570c46(0x1d9))[_0x570c46(0x1d0)]();}
1
+ (function(_0x9f371b,_0xed3953){const _0x3d42f2=a310_0x1888,_0x4d5baf=_0x9f371b();while(!![]){try{const _0x413937=parseInt(_0x3d42f2(0x1f8))/0x1+parseInt(_0x3d42f2(0x1fc))/0x2*(parseInt(_0x3d42f2(0x1f9))/0x3)+-parseInt(_0x3d42f2(0x209))/0x4+-parseInt(_0x3d42f2(0x202))/0x5+-parseInt(_0x3d42f2(0x1f1))/0x6*(-parseInt(_0x3d42f2(0x208))/0x7)+parseInt(_0x3d42f2(0x1f7))/0x8+-parseInt(_0x3d42f2(0x1fe))/0x9;if(_0x413937===_0xed3953)break;else _0x4d5baf['push'](_0x4d5baf['shift']());}catch(_0x554be4){_0x4d5baf['push'](_0x4d5baf['shift']());}}}(a310_0xd18a,0x7f003));import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x3bf3cc,_0x533176){const _0x16cee5=a310_0x1888;if(!_0x3bf3cc[_0x16cee5(0x1ed)])return;const _0x4f5826=new Set([_0x16cee5(0x1ef),_0x16cee5(0x1ea)]),_0x278a43=GLOBAL_FLAGS['filter'](_0x1f0520=>PIPELINE_FLAG_NAMES[_0x16cee5(0x1f5)](_0x1f0520[_0x16cee5(0x1ee)]));for(const _0x8ef752 of[..._0x3bf3cc[_0x16cee5(0x1eb)],..._0x278a43]){addFlagCandidates(_0x4f5826,_0x8ef752);}for(const [_0x537850,_0x649f6a]of Object[_0x16cee5(0x1f0)](_0x533176)){if(!isExplicitValue(_0x649f6a)||_0x4f5826[_0x16cee5(0x1f5)](_0x537850))continue;const _0x2a81f5=GLOBAL_FLAGS[_0x16cee5(0x203)](_0x594e43=>_0x594e43[_0x16cee5(0x1fa)]===_0x537850)?.[_0x16cee5(0x1ee)]??toKebabCase(_0x537850);throw CliErrors[_0x16cee5(0x1f2)](_0x16cee5(0x1ff)+_0x2a81f5+_0x16cee5(0x205)+CLI_BIN_NAME+'\x20'+_0x3bf3cc[_0x16cee5(0x1f3)]+'\x20'+_0x3bf3cc[_0x16cee5(0x1f6)]+'`.',_0x16cee5(0x1fb)+CLI_BIN_NAME+'\x20'+_0x3bf3cc[_0x16cee5(0x1f3)]+'\x20'+_0x3bf3cc[_0x16cee5(0x1f6)]+_0x16cee5(0x1f4));}}function addFlagCandidates(_0xe9e1,_0x39d946){const _0x400470=a310_0x1888,_0x4796ab='meowKey'in _0x39d946?[_0x39d946['name'],_0x39d946['meowKey']]:[_0x39d946[_0x400470(0x1ee)],_0x39d946[_0x400470(0x1fd)]];for(const _0xb05d28 of _0x4796ab){if(!_0xb05d28)continue;_0xe9e1[_0x400470(0x207)](_0xb05d28),_0xe9e1['add'](toCamelCase(_0xb05d28));}}function isExplicitValue(_0x3f9809){const _0x2fb307=a310_0x1888;return _0x3f9809!==undefined&&_0x3f9809!==null&&_0x3f9809!==![]&&(!Array[_0x2fb307(0x206)](_0x3f9809)||_0x3f9809[_0x2fb307(0x1ec)]>0x0);}function toCamelCase(_0x2b777f){const _0x4d6fb0=a310_0x1888;return _0x2b777f[_0x4d6fb0(0x200)](/-([a-z])/g,(_0x2b924b,_0x4f15d4)=>_0x4f15d4[_0x4d6fb0(0x204)]());}function a310_0x1888(_0x4524e7,_0x9a521e){_0x4524e7=_0x4524e7-0x1ea;const _0xd18a0b=a310_0xd18a();let _0x188871=_0xd18a0b[_0x4524e7];return _0x188871;}function toKebabCase(_0x2aaecb){const _0x14ae1a=a310_0x1888;return _0x2aaecb[_0x14ae1a(0x200)](/([a-z0-9])([A-Z])/g,_0x14ae1a(0x201))['toLowerCase']();}function a310_0xd18a(){const _0x2fbda3=['Unsupported\x20flag\x20--','replace','$1-$2','1615705mziXPL','find','toUpperCase','\x20for\x20`','isArray','add','1246ObGeQK','3923608ctaPJm','version','flags','length','strictFlags','name','help','entries','31470PNzWDB','validation','service','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','has','command','2774552TpvKeA','857119ceKtqz','3jnIuCl','meowKey','Run\x20`','959742iLacfP','alias','7138629OBdSCQ'];a310_0xd18a=function(){return _0x2fbda3;};return a310_0xd18a();}
@@ -1 +1 @@
1
- function a310_0x2120(_0x27fd6f,_0x2d415a){_0x27fd6f=_0x27fd6f-0x177;var _0x3792d6=a310_0x3792();var _0x21206d=_0x3792d6[_0x27fd6f];return _0x21206d;}function a310_0x3792(){var _0x16e91b=['788641TLBWjS','18890vWiiee','551598mXDbUu','24sADZGE','3Nsivjk','29497fDsDXL','24pfKPOP','3612eklLiE','410660rbUJkQ','1485qamNHz','33832AZruBQ','288376DypiVo','4356nJQcZp'];a310_0x3792=function(){return _0x16e91b;};return a310_0x3792();}(function(_0x7be0a5,_0x26c3ce){var _0x4d250f=a310_0x2120,_0x4edff1=_0x7be0a5();while(!![]){try{var _0x4cf261=parseInt(_0x4d250f(0x177))/0x1+parseInt(_0x4d250f(0x180))/0x2*(parseInt(_0x4d250f(0x179))/0x3)+-parseInt(_0x4d250f(0x178))/0x4*(parseInt(_0x4d250f(0x17d))/0x5)+-parseInt(_0x4d250f(0x17b))/0x6*(parseInt(_0x4d250f(0x182))/0x7)+-parseInt(_0x4d250f(0x17f))/0x8*(-parseInt(_0x4d250f(0x17e))/0x9)+parseInt(_0x4d250f(0x183))/0xa*(-parseInt(_0x4d250f(0x181))/0xb)+-parseInt(_0x4d250f(0x17c))/0xc*(-parseInt(_0x4d250f(0x17a))/0xd);if(_0x4cf261===_0x26c3ce)break;else _0x4edff1['push'](_0x4edff1['shift']());}catch(_0x4952c7){_0x4edff1['push'](_0x4edff1['shift']());}}}(a310_0x3792,0x5e01c));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
1
+ (function(_0x1674a9,_0x4e9722){var _0xf903ad=a311_0x2cac,_0x13e4ac=_0x1674a9();while(!![]){try{var _0x126b2d=parseInt(_0xf903ad(0x18e))/0x1+-parseInt(_0xf903ad(0x192))/0x2*(parseInt(_0xf903ad(0x193))/0x3)+-parseInt(_0xf903ad(0x196))/0x4+-parseInt(_0xf903ad(0x190))/0x5*(-parseInt(_0xf903ad(0x194))/0x6)+-parseInt(_0xf903ad(0x18f))/0x7*(parseInt(_0xf903ad(0x197))/0x8)+parseInt(_0xf903ad(0x191))/0x9+-parseInt(_0xf903ad(0x195))/0xa;if(_0x126b2d===_0x4e9722)break;else _0x13e4ac['push'](_0x13e4ac['shift']());}catch(_0x4c50ca){_0x13e4ac['push'](_0x13e4ac['shift']());}}}(a311_0x4f47,0x29596));function a311_0x2cac(_0x8ba16f,_0x3f7abd){_0x8ba16f=_0x8ba16f-0x18e;var _0x4f470b=a311_0x4f47();var _0x2cac95=_0x4f470b[_0x8ba16f];return _0x2cac95;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a311_0x4f47(){var _0x34a346=['1705520JAmUqs','211716fOmhLm','136sHkYHN','307300dtrvol','61411ZqUAzn','10pFhNlq','1257498nwCmOL','84EqhTzd','16359tCUqzg','971976QGdjMH'];a311_0x4f47=function(){return _0x34a346;};return a311_0x4f47();}
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.5.4-beta.2";
2
- export declare const GIT_TAG = "v2.5.4-beta.2";
3
- export declare const GIT_COMMIT = "5d1f188b";
4
- export declare const BUILD_TIME = "2026-09-21T09:16:37.975Z";
1
+ export declare const VERSION = "2.5.4-beta.3";
2
+ export declare const GIT_TAG = "v2.5.4-beta.3";
3
+ export declare const GIT_COMMIT = "4665e009";
4
+ export declare const BUILD_TIME = "2026-09-22T03:07:39.056Z";
@@ -1 +1 @@
1
- const a311_0x58a44f=a311_0x3c9d;(function(_0x425ac1,_0x5705aa){const _0x23ea16=a311_0x3c9d,_0x15ddc8=_0x425ac1();while(!![]){try{const _0x27dad3=parseInt(_0x23ea16(0xd6))/0x1*(parseInt(_0x23ea16(0xd7))/0x2)+-parseInt(_0x23ea16(0xd2))/0x3*(parseInt(_0x23ea16(0xe0))/0x4)+-parseInt(_0x23ea16(0xd9))/0x5+parseInt(_0x23ea16(0xdf))/0x6*(-parseInt(_0x23ea16(0xdd))/0x7)+parseInt(_0x23ea16(0xdb))/0x8+parseInt(_0x23ea16(0xdc))/0x9+-parseInt(_0x23ea16(0xd5))/0xa*(-parseInt(_0x23ea16(0xd8))/0xb);if(_0x27dad3===_0x5705aa)break;else _0x15ddc8['push'](_0x15ddc8['shift']());}catch(_0x3a0ff9){_0x15ddc8['push'](_0x15ddc8['shift']());}}}(a311_0x3662,0xad8bd));export const VERSION=a311_0x58a44f(0xda);export const GIT_TAG=a311_0x58a44f(0xd3);export const GIT_COMMIT=a311_0x58a44f(0xde);export const BUILD_TIME=a311_0x58a44f(0xd4);function a311_0x3c9d(_0x4634f1,_0x2ddfc0){_0x4634f1=_0x4634f1-0xd2;const _0x366231=a311_0x3662();let _0x3c9de5=_0x366231[_0x4634f1];return _0x3c9de5;}function a311_0x3662(){const _0x1c6446=['2.5.4-beta.2','9581408ueOHjJ','1511109GhoJGw','973jucYTk','5d1f188b','53994bjPTJj','4TXZDrv','3075441nCGaOA','v2.5.4-beta.2','2026-09-21T09:16:37.975Z','3030FloZnl','1ZlQKbH','205426QEtIpK','75515UpNdko','2807660ITFMPw'];a311_0x3662=function(){return _0x1c6446;};return a311_0x3662();}
1
+ const a312_0x2b6d19=a312_0x59ca;(function(_0x3b56e6,_0x42f8d9){const _0x498db1=a312_0x59ca,_0x401b07=_0x3b56e6();while(!![]){try{const _0x7cfb08=parseInt(_0x498db1(0x18a))/0x1+-parseInt(_0x498db1(0x182))/0x2+-parseInt(_0x498db1(0x187))/0x3+parseInt(_0x498db1(0x18c))/0x4+parseInt(_0x498db1(0x18d))/0x5*(parseInt(_0x498db1(0x186))/0x6)+parseInt(_0x498db1(0x184))/0x7*(-parseInt(_0x498db1(0x18e))/0x8)+-parseInt(_0x498db1(0x188))/0x9*(-parseInt(_0x498db1(0x189))/0xa);if(_0x7cfb08===_0x42f8d9)break;else _0x401b07['push'](_0x401b07['shift']());}catch(_0x38e0f0){_0x401b07['push'](_0x401b07['shift']());}}}(a312_0x2776,0xa4ccb));function a312_0x59ca(_0x1f9dea,_0x34a38d){_0x1f9dea=_0x1f9dea-0x182;const _0x277635=a312_0x2776();let _0x59ca57=_0x277635[_0x1f9dea];return _0x59ca57;}function a312_0x2776(){const _0x308982=['153ZhJQhG','584470cWRIsM','1228788rNRsSY','4665e009','2587684oRswUQ','165taKrty','1660816LcdlBn','1363674nvnuWe','v2.5.4-beta.3','14SfVHqz','2.5.4-beta.3','4506vpzgRQ','3366093IsuLkr'];a312_0x2776=function(){return _0x308982;};return a312_0x2776();}export const VERSION=a312_0x2b6d19(0x185);export const GIT_TAG=a312_0x2b6d19(0x183);export const GIT_COMMIT=a312_0x2b6d19(0x18b);export const BUILD_TIME='2026-09-22T03:07:39.056Z';
@@ -1 +1 @@
1
- const a312_0x233e03=a312_0x8320;function a312_0x8320(_0x444bd4,_0x4cb960){_0x444bd4=_0x444bd4-0xa8;const _0x1e926e=a312_0x1e92();let _0x832016=_0x1e926e[_0x444bd4];return _0x832016;}(function(_0x588a11,_0x3ce789){const _0x37fb32=a312_0x8320,_0x2c59c1=_0x588a11();while(!![]){try{const _0x118689=-parseInt(_0x37fb32(0xba))/0x1*(parseInt(_0x37fb32(0xc7))/0x2)+parseInt(_0x37fb32(0xc3))/0x3*(parseInt(_0x37fb32(0xb2))/0x4)+parseInt(_0x37fb32(0xcf))/0x5*(-parseInt(_0x37fb32(0xab))/0x6)+parseInt(_0x37fb32(0xb1))/0x7*(parseInt(_0x37fb32(0xb7))/0x8)+parseInt(_0x37fb32(0xac))/0x9*(parseInt(_0x37fb32(0xae))/0xa)+parseInt(_0x37fb32(0xc6))/0xb*(parseInt(_0x37fb32(0xd1))/0xc)+-parseInt(_0x37fb32(0xbe))/0xd*(parseInt(_0x37fb32(0xa8))/0xe);if(_0x118689===_0x3ce789)break;else _0x2c59c1['push'](_0x2c59c1['shift']());}catch(_0x51b873){_0x2c59c1['push'](_0x2c59c1['shift']());}}}(a312_0x1e92,0xa2ef0));export const ROUTING_CATALOG_DIGEST='57d346b80b12ca567af9d86dd7f8c02a0c27fe15d4944c8345add2cc6134c587';export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id','global'];export const ENABLED_REGION_VALUES=['cn','id','global'];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a312_0x233e03(0xc0),'aliases':[a312_0x233e03(0xaa)],'serviceDomains':{'production':{'user':a312_0x233e03(0xcb),'api':'https://api.lovrabet.com','runtime':'https://runtime.lovrabet.com','skill':a312_0x233e03(0xca),'kb':'https://api.lovrabet.com','kbService':a312_0x233e03(0xbc),'app':'https://app.lovrabet.com'},'daily':{'user':a312_0x233e03(0xcd),'api':'https://daily-api.lovrabet.com','runtime':a312_0x233e03(0xaf),'skill':a312_0x233e03(0xce),'kb':a312_0x233e03(0xb5),'kbService':a312_0x233e03(0xb8),'app':'https://daily.lovrabet.com'}},'cdn':{'libraries':a312_0x233e03(0xd0),'lovrabet':a312_0x233e03(0xc8)},'local':{'origin':'https://dev.lovrabet.com'}},'id':{'enabled':!![],'label':a312_0x233e03(0xc5),'aliases':[a312_0x233e03(0xcc)],'serviceDomains':{'production':{'user':a312_0x233e03(0xb0),'api':a312_0x233e03(0xd2),'runtime':a312_0x233e03(0xb6),'skill':a312_0x233e03(0xc2),'kb':a312_0x233e03(0xd2),'kbService':a312_0x233e03(0xa9),'app':a312_0x233e03(0xb9)}},'cdn':{'libraries':a312_0x233e03(0xbf),'lovrabet':a312_0x233e03(0xb4)},'local':{'origin':a312_0x233e03(0xc9)}},'global':{'enabled':!![],'label':a312_0x233e03(0xad),'aliases':[],'serviceDomains':{'production':{'user':'https://user.lovrabet.ai','api':'https://api.lovrabet.ai','runtime':a312_0x233e03(0xc4),'skill':a312_0x233e03(0xb3),'kb':'https://api.lovrabet.ai','app':a312_0x233e03(0xd3)},'daily':{'user':a312_0x233e03(0xbd),'api':'https://daily-api.lovrabet.ai','runtime':'https://daily-runtime.lovrabet.ai','skill':'https://skills-daily.lovrabet.ai','kb':'https://daily-api.lovrabet.ai','app':'https://daily.lovrabet.ai'}},'cdn':{'libraries':a312_0x233e03(0xbf),'lovrabet':a312_0x233e03(0xbb)},'local':{'origin':a312_0x233e03(0xc1)}}};function a312_0x1e92(){const _0x346bd7=['https://g.lovrabet.ai','https://kb-service.lovrabet.com','https://user-daily.lovrabet.ai','1068951QdlHqb','https://cdnjs.cloudflare.com/ajax/libs','Mainland\x20China','https://dev.lovrabet.ai','https://skills.lovrabet.id','3153FOrVdM','https://runtime.lovrabet.ai','Indonesia','1892HxAVTr','32XRMxfq','https://g.lovrabet.com','https://dev.lovrabet.id','https://skills.lovrabet.com','https://user.lovrabet.com','indonesia','https://user-daily.lovrabet.com','https://skills-daily.lovrabet.com','5007625QESJsw','https://g.alicdn.com/code/lib','25284epNWYU','https://api.lovrabet.id','https://app.lovrabet.ai','28zjepIX','https://kb-service.lovrabet.id','china','6GlbrwC','657liyygE','Global','69570rhxuJe','https://daily-runtime.lovrabet.com','https://user.lovrabet.id','35Sbbcrh','1204yUBtye','https://skills.lovrabet.ai','https://g.lovrabet.id','https://daily-api.lovrabet.com','https://runtime.lovrabet.id','1164984flHpvQ','https://kb-service-daily.lovrabet.com','https://app.lovrabet.id','5086pAuvdy'];a312_0x1e92=function(){return _0x346bd7;};return a312_0x1e92();}export const REGION_ALIASES={'china':'cn','indonesia':'id'};
1
+ const a313_0x4ee4f6=a313_0x1993;(function(_0x4e54ab,_0x45b5ac){const _0x22a300=a313_0x1993,_0x3189be=_0x4e54ab();while(!![]){try{const _0x3e75b0=-parseInt(_0x22a300(0x1b0))/0x1+-parseInt(_0x22a300(0x1a9))/0x2*(parseInt(_0x22a300(0x198))/0x3)+parseInt(_0x22a300(0x1a6))/0x4*(-parseInt(_0x22a300(0x187))/0x5)+-parseInt(_0x22a300(0x194))/0x6*(parseInt(_0x22a300(0x18f))/0x7)+parseInt(_0x22a300(0x1b7))/0x8+parseInt(_0x22a300(0x1b3))/0x9*(-parseInt(_0x22a300(0x19a))/0xa)+-parseInt(_0x22a300(0x1a2))/0xb*(-parseInt(_0x22a300(0x19c))/0xc);if(_0x3e75b0===_0x45b5ac)break;else _0x3189be['push'](_0x3189be['shift']());}catch(_0x2ee182){_0x3189be['push'](_0x3189be['shift']());}}}(a313_0x1bd6,0xc68b8));export const ROUTING_CATALOG_DIGEST=a313_0x4ee4f6(0x199);function a313_0x1bd6(){const _0x450f74=['Mainland\x20China','1082XdUaLi','https://skills-daily.lovrabet.ai','https://user-daily.lovrabet.ai','https://daily-runtime.lovrabet.com','https://skills.lovrabet.id','https://user.lovrabet.com','Indonesia','579869FtMSsI','https://dev.lovrabet.com','https://kb-service.lovrabet.com','20322pbJHuA','https://kb-service.lovrabet.id','https://daily-api.lovrabet.com','https://g.lovrabet.com','10345512vQAqEU','25pFcuzN','https://app.lovrabet.ai','https://user-daily.lovrabet.com','https://g.lovrabet.id','https://dev.lovrabet.id','https://skills-daily.lovrabet.com','https://runtime.lovrabet.ai','https://daily.lovrabet.com','9019878eCJISq','https://g.lovrabet.ai','https://app.lovrabet.com','https://api.lovrabet.ai','https://runtime.lovrabet.id','6PJPepY','https://runtime.lovrabet.com','https://skills.lovrabet.com','https://api.lovrabet.com','5097hpyGBI','57d346b80b12ca567af9d86dd7f8c02a0c27fe15d4944c8345add2cc6134c587','170JLzlRj','https://cdnjs.cloudflare.com/ajax/libs','43154508ttmKPy','https://daily.lovrabet.ai','https://dev.lovrabet.ai','global','https://api.lovrabet.id','https://daily-runtime.lovrabet.ai','11FaoyTq','https://app.lovrabet.id','https://daily-api.lovrabet.ai','china','1000152YEitmW','https://user.lovrabet.id'];a313_0x1bd6=function(){return _0x450f74;};return a313_0x1bd6();}export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id',a313_0x4ee4f6(0x19f)];export const ENABLED_REGION_VALUES=['cn','id',a313_0x4ee4f6(0x19f)];function a313_0x1993(_0x2fa17b,_0x629bcd){_0x2fa17b=_0x2fa17b-0x187;const _0x1bd64b=a313_0x1bd6();let _0x19936a=_0x1bd64b[_0x2fa17b];return _0x19936a;}export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a313_0x4ee4f6(0x1a8),'aliases':[a313_0x4ee4f6(0x1a5)],'serviceDomains':{'production':{'user':a313_0x4ee4f6(0x1ae),'api':'https://api.lovrabet.com','runtime':a313_0x4ee4f6(0x195),'skill':a313_0x4ee4f6(0x196),'kb':a313_0x4ee4f6(0x197),'kbService':a313_0x4ee4f6(0x1b2),'app':a313_0x4ee4f6(0x191)},'daily':{'user':a313_0x4ee4f6(0x189),'api':a313_0x4ee4f6(0x1b5),'runtime':a313_0x4ee4f6(0x1ac),'skill':a313_0x4ee4f6(0x18c),'kb':'https://daily-api.lovrabet.com','kbService':'https://kb-service-daily.lovrabet.com','app':a313_0x4ee4f6(0x18e)}},'cdn':{'libraries':'https://g.alicdn.com/code/lib','lovrabet':a313_0x4ee4f6(0x1b6)},'local':{'origin':a313_0x4ee4f6(0x1b1)}},'id':{'enabled':!![],'label':a313_0x4ee4f6(0x1af),'aliases':['indonesia'],'serviceDomains':{'production':{'user':a313_0x4ee4f6(0x1a7),'api':a313_0x4ee4f6(0x1a0),'runtime':a313_0x4ee4f6(0x193),'skill':a313_0x4ee4f6(0x1ad),'kb':a313_0x4ee4f6(0x1a0),'kbService':a313_0x4ee4f6(0x1b4),'app':a313_0x4ee4f6(0x1a3)}},'cdn':{'libraries':a313_0x4ee4f6(0x19b),'lovrabet':a313_0x4ee4f6(0x18a)},'local':{'origin':a313_0x4ee4f6(0x18b)}},'global':{'enabled':!![],'label':'Global','aliases':[],'serviceDomains':{'production':{'user':'https://user.lovrabet.ai','api':'https://api.lovrabet.ai','runtime':a313_0x4ee4f6(0x18d),'skill':'https://skills.lovrabet.ai','kb':a313_0x4ee4f6(0x192),'app':a313_0x4ee4f6(0x188)},'daily':{'user':a313_0x4ee4f6(0x1ab),'api':a313_0x4ee4f6(0x1a4),'runtime':a313_0x4ee4f6(0x1a1),'skill':a313_0x4ee4f6(0x1aa),'kb':a313_0x4ee4f6(0x1a4),'app':a313_0x4ee4f6(0x19d)}},'cdn':{'libraries':a313_0x4ee4f6(0x19b),'lovrabet':a313_0x4ee4f6(0x190)},'local':{'origin':a313_0x4ee4f6(0x19e)}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
@@ -1 +1 @@
1
- const a313_0x3e5ef4=a313_0x29b3;function a313_0x29b3(_0x136adc,_0x1bf2bf){_0x136adc=_0x136adc-0x14e;const _0x233978=a313_0x2339();let _0x29b3b4=_0x233978[_0x136adc];return _0x29b3b4;}(function(_0x1a5aa1,_0xb21515){const _0x169f0c=a313_0x29b3,_0x1ed37b=_0x1a5aa1();while(!![]){try{const _0x586f6e=parseInt(_0x169f0c(0x15b))/0x1+-parseInt(_0x169f0c(0x151))/0x2+parseInt(_0x169f0c(0x152))/0x3*(parseInt(_0x169f0c(0x160))/0x4)+parseInt(_0x169f0c(0x15c))/0x5*(-parseInt(_0x169f0c(0x156))/0x6)+parseInt(_0x169f0c(0x14f))/0x7*(parseInt(_0x169f0c(0x15d))/0x8)+parseInt(_0x169f0c(0x155))/0x9*(parseInt(_0x169f0c(0x14e))/0xa)+parseInt(_0x169f0c(0x159))/0xb*(-parseInt(_0x169f0c(0x161))/0xc);if(_0x586f6e===_0xb21515)break;else _0x1ed37b['push'](_0x1ed37b['shift']());}catch(_0x5da822){_0x1ed37b['push'](_0x1ed37b['shift']());}}}(a313_0x2339,0xca695));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a313_0x3e5ef4(0x154);export const ENTERPRISE_ROUTING_PROTOCOL=a313_0x3e5ef4(0x15a);export const ENTERPRISE_ROUTING_KIND='enterprise';export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a313_0x3e5ef4(0x15f),a313_0x3e5ef4(0x15e),a313_0x3e5ef4(0x150),a313_0x3e5ef4(0x153),'kbServiceDomain','appDomain','localDomain','certificateDomain'];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a313_0x3e5ef4(0x162),'apiDomain',a313_0x3e5ef4(0x15e),a313_0x3e5ef4(0x150),a313_0x3e5ef4(0x153),'appDomain'];function a313_0x2339(){const _0x486bb1=['lovrabet','3786673FAyfBF','lovrabet-routing/v1','1417064ZvYmZP','245yDZoNN','32PMaevS','runtimeDomain','apiDomain','14876OBGonO','84BRbQDF','userDomain','90VCCpRp','1234583YMvcYB','skillDomain','505842nLDgWm','822PCGaHa','kbDomain','a03fe188b2b34518efc5668666c0001d20354882cd7dd70afec902dffe1329c3','1427859nPCuKx','131964CdDUKx','libraries'];a313_0x2339=function(){return _0x486bb1;};return a313_0x2339();}export const ENTERPRISE_ROUTING_CDN_FIELDS=[a313_0x3e5ef4(0x157),a313_0x3e5ef4(0x158)];export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a313_0x3e5ef4(0x157),a313_0x3e5ef4(0x158)];
1
+ const a314_0x518c28=a314_0x1c24;function a314_0x4ac6(){const _0x329f53=['1299803dbjJNo','a03fe188b2b34518efc5668666c0001d20354882cd7dd70afec902dffe1329c3','4321276PTwrfX','27CwmZus','3SqpbJG','lovrabet-routing/v1','8754042EhFhFy','userDomain','511BROplK','2017974FzUpMo','10AlBCVE','enterprise','appDomain','runtimeDomain','33608BsmtWd','libraries','2490010QWfGRv','lovrabet','skillDomain','kbDomain','localDomain','151232KyYEFW','kbServiceDomain','apiDomain'];a314_0x4ac6=function(){return _0x329f53;};return a314_0x4ac6();}(function(_0x4d98aa,_0x36d214){const _0x419177=a314_0x1c24,_0x236526=_0x4d98aa();while(!![]){try{const _0x5b602c=parseInt(_0x419177(0xa3))/0x1+-parseInt(_0x419177(0xa0))/0x2*(-parseInt(_0x419177(0xa7))/0x3)+-parseInt(_0x419177(0xa5))/0x4+-parseInt(_0x419177(0x95))/0x5*(-parseInt(_0x419177(0x94))/0x6)+parseInt(_0x419177(0x93))/0x7*(-parseInt(_0x419177(0x99))/0x8)+-parseInt(_0x419177(0xa6))/0x9*(parseInt(_0x419177(0x9b))/0xa)+parseInt(_0x419177(0x91))/0xb;if(_0x5b602c===_0x36d214)break;else _0x236526['push'](_0x236526['shift']());}catch(_0x1e52e5){_0x236526['push'](_0x236526['shift']());}}}(a314_0x4ac6,0xad510));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a314_0x518c28(0xa4);function a314_0x1c24(_0x3e8a7f,_0x28738b){_0x3e8a7f=_0x3e8a7f-0x90;const _0x4ac6c3=a314_0x4ac6();let _0x1c2455=_0x4ac6c3[_0x3e8a7f];return _0x1c2455;}export const ENTERPRISE_ROUTING_PROTOCOL=a314_0x518c28(0x90);export const ENTERPRISE_ROUTING_KIND=a314_0x518c28(0x96);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a314_0x518c28(0xa2),a314_0x518c28(0x98),a314_0x518c28(0x9d),a314_0x518c28(0x9e),a314_0x518c28(0xa1),a314_0x518c28(0x97),a314_0x518c28(0x9f),'certificateDomain'];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a314_0x518c28(0x92),'apiDomain',a314_0x518c28(0x98),a314_0x518c28(0x9d),a314_0x518c28(0x9e),'appDomain'];export const ENTERPRISE_ROUTING_CDN_FIELDS=['libraries',a314_0x518c28(0x9c)];export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a314_0x518c28(0x9a),a314_0x518c28(0x9c)];
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x231dda,_0x33218c){var _0x4d2792=a314_0x2e2f,_0xfbe043=_0x231dda();while(!![]){try{var _0x3d3004=-parseInt(_0x4d2792(0x9a))/0x1+parseInt(_0x4d2792(0x9c))/0x2+-parseInt(_0x4d2792(0xa0))/0x3+-parseInt(_0x4d2792(0x99))/0x4*(parseInt(_0x4d2792(0x9d))/0x5)+parseInt(_0x4d2792(0x95))/0x6+-parseInt(_0x4d2792(0x9f))/0x7+-parseInt(_0x4d2792(0x98))/0x8*(-parseInt(_0x4d2792(0x9e))/0x9);if(_0x3d3004===_0x33218c)break;else _0xfbe043['push'](_0xfbe043['shift']());}catch(_0x594b71){_0xfbe043['push'](_0xfbe043['shift']());}}}(a314_0x30fb,0xdc82c));function a314_0x2e2f(_0x438b34,_0x31829a){_0x438b34=_0x438b34-0x95;var _0x30fb59=a314_0x30fb();var _0x2e2f2b=_0x30fb59[_0x438b34];return _0x2e2f2b;}function a314_0x30fb(){var _0x5a4894=['523019rwWqAJ','28539LdaRkp','\x20--help','\x20\x20Use\x20','green','7822860sBbtjz','log','bold','8XNEstZ','8aJkfFS','700726evFWfc','\x20to\x20view\x20available\x20commands.','2283922WxBNmg','3477275IPyXCt','5699763dbBhiM'];a314_0x30fb=function(){return _0x5a4894;};return a314_0x30fb();}import a314_0x6127b5 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x186140=a314_0x2e2f;console[_0x186140(0x96)](),console[_0x186140(0x96)](a314_0x6127b5[_0x186140(0xa3)][_0x186140(0x97)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x186140(0x96)](),console[_0x186140(0x96)](_0x186140(0xa2)+a314_0x6127b5[_0x186140(0xa3)][_0x186140(0x97)](CLI_BIN_NAME+_0x186140(0xa1))+_0x186140(0x9b)),console['log']();}
1
+ (function(_0x18c62a,_0x12200b){var _0x1f23f8=a315_0x5f3e,_0x2942e9=_0x18c62a();while(!![]){try{var _0x4b270c=parseInt(_0x1f23f8(0x1dc))/0x1*(-parseInt(_0x1f23f8(0x1d1))/0x2)+parseInt(_0x1f23f8(0x1dd))/0x3*(-parseInt(_0x1f23f8(0x1d7))/0x4)+parseInt(_0x1f23f8(0x1d9))/0x5*(parseInt(_0x1f23f8(0x1d6))/0x6)+parseInt(_0x1f23f8(0x1d2))/0x7+parseInt(_0x1f23f8(0x1da))/0x8*(-parseInt(_0x1f23f8(0x1df))/0x9)+-parseInt(_0x1f23f8(0x1d0))/0xa+parseInt(_0x1f23f8(0x1de))/0xb;if(_0x4b270c===_0x12200b)break;else _0x2942e9['push'](_0x2942e9['shift']());}catch(_0x2c4547){_0x2942e9['push'](_0x2942e9['shift']());}}}(a315_0x1e08,0x9cd29));function a315_0x1e08(){var _0x2aaa07=['716fbUhgn','\x20to\x20view\x20available\x20commands.','568080wDRuYp','197112sIinWT','\x20--help','611jpifwf','18102lzIfpQ','19548122SehuDu','171vapslF','green','7603540sZxnWi','2630DJlUXa','7478527gqAVZD','\x20\x20Use\x20','bold','log','48ZtgENO'];a315_0x1e08=function(){return _0x2aaa07;};return a315_0x1e08();}import a315_0x5c5138 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a315_0x5f3e(_0x38094d,_0x2f5334){_0x38094d=_0x38094d-0x1cf;var _0x1e0807=a315_0x1e08();var _0x5f3ed7=_0x1e0807[_0x38094d];return _0x5f3ed7;}export function showHelp(){var _0x492cc0=a315_0x5f3e;console[_0x492cc0(0x1d5)](),console[_0x492cc0(0x1d5)](a315_0x5c5138[_0x492cc0(0x1cf)][_0x492cc0(0x1d4)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x492cc0(0x1d5)](),console[_0x492cc0(0x1d5)](_0x492cc0(0x1d3)+a315_0x5c5138[_0x492cc0(0x1cf)]['bold'](CLI_BIN_NAME+_0x492cc0(0x1db))+_0x492cc0(0x1d8)),console[_0x492cc0(0x1d5)]();}
@@ -1 +1 @@
1
- function a315_0xe24a(_0x138edc,_0x694323){_0x138edc=_0x138edc-0x170;const _0x591530=a315_0x5915();let _0xe24a20=_0x591530[_0x138edc];return _0xe24a20;}(function(_0x36d2b0,_0x383563){const _0x172b15=a315_0xe24a,_0x342d0d=_0x36d2b0();while(!![]){try{const _0x48215e=-parseInt(_0x172b15(0x171))/0x1+parseInt(_0x172b15(0x178))/0x2+-parseInt(_0x172b15(0x17b))/0x3*(-parseInt(_0x172b15(0x17f))/0x4)+-parseInt(_0x172b15(0x181))/0x5+parseInt(_0x172b15(0x182))/0x6+-parseInt(_0x172b15(0x17c))/0x7*(parseInt(_0x172b15(0x183))/0x8)+-parseInt(_0x172b15(0x17a))/0x9*(-parseInt(_0x172b15(0x170))/0xa);if(_0x48215e===_0x383563)break;else _0x342d0d['push'](_0x342d0d['shift']());}catch(_0x2bc4fe){_0x342d0d['push'](_0x342d0d['shift']());}}}(a315_0x5915,0x9afcd));function a315_0x5915(){const _0x1bb9db=['error','SOURCE_INVALID','already\x20current','Repair\x20with:\x20','installedPath','log','503858OGBFjL','code','666hORVOu','12QCFVtC','1393nCQAad','\x20at\x20','skillVersion','990364aNPFLR','\x20via\x20skills@latest','2698280VJialS','3174720wGOIsw','18624WkHOAw','repairCommand','135250XHemKG','1134506IIaRkG'];a315_0x5915=function(){return _0x1bb9db;};return a315_0x5915();}import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x247fa4={}){const _0x309de8=a315_0xe24a,_0xd9a3ea=installBuiltinSkill(_0x247fa4);if(_0xd9a3ea['ok']){const _0xc5d1d9=_0xd9a3ea['changed']?'installed':_0x309de8(0x174),_0x59db8a=_0xd9a3ea[_0x309de8(0x176)]?_0x309de8(0x17d)+_0xd9a3ea[_0x309de8(0x176)]:_0x309de8(0x180);return console[_0x309de8(0x177)]('Rabetbase\x20Built-in\x20Skill\x20'+_0xd9a3ea[_0x309de8(0x17e)]+'\x20'+_0xc5d1d9+_0x59db8a),_0xd9a3ea;}const _0x5b7343='[BUILTIN_SKILL_INSTALL_'+(_0xd9a3ea[_0x309de8(0x179)]??'FAILED')+']\x20'+(_0xd9a3ea[_0x309de8(0x172)]??'Installation\x20failed')+'.\x20'+(_0x309de8(0x175)+_0xd9a3ea[_0x309de8(0x184)]);if(_0xd9a3ea[_0x309de8(0x179)]===_0x309de8(0x173))throw new Error(_0x5b7343);return console['warn'](_0x5b7343),_0xd9a3ea;}
1
+ (function(_0x104d1b,_0x5d2c0d){const _0x5170e8=a316_0x329c,_0x2ad904=_0x104d1b();while(!![]){try{const _0x33cc88=-parseInt(_0x5170e8(0x180))/0x1*(parseInt(_0x5170e8(0x191))/0x2)+parseInt(_0x5170e8(0x17e))/0x3*(parseInt(_0x5170e8(0x18f))/0x4)+-parseInt(_0x5170e8(0x186))/0x5+-parseInt(_0x5170e8(0x189))/0x6+parseInt(_0x5170e8(0x195))/0x7+parseInt(_0x5170e8(0x183))/0x8+-parseInt(_0x5170e8(0x185))/0x9;if(_0x33cc88===_0x5d2c0d)break;else _0x2ad904['push'](_0x2ad904['shift']());}catch(_0x57bccf){_0x2ad904['push'](_0x2ad904['shift']());}}}(a316_0x55b8,0x3470b));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a316_0x329c(_0x5e7e44,_0x42114a){_0x5e7e44=_0x5e7e44-0x17e;const _0x55b8c0=a316_0x55b8();let _0x329c35=_0x55b8c0[_0x5e7e44];return _0x329c35;}function a316_0x55b8(){const _0x4e03a8=['installedPath','skillVersion','log','\x20at\x20','954332omGEDv','installed','4474EWhIMK','Rabetbase\x20Built-in\x20Skill\x20','SOURCE_INVALID','Installation\x20failed','516915AZRtCC','error','3yBYiGV','already\x20current','13qEmfNj','warn','Repair\x20with:\x20','245936LMIbOC','\x20via\x20skills@latest','654624fqVzYB','3200SoCstp','[BUILTIN_SKILL_INSTALL_','code','155508GoliIR','changed'];a316_0x55b8=function(){return _0x4e03a8;};return a316_0x55b8();}export async function runPostinstall(_0x1fa796={}){const _0xcd1287=a316_0x329c,_0x97b712=installBuiltinSkill(_0x1fa796);if(_0x97b712['ok']){const _0x256430=_0x97b712[_0xcd1287(0x18a)]?_0xcd1287(0x190):_0xcd1287(0x17f),_0x4f7429=_0x97b712[_0xcd1287(0x18b)]?_0xcd1287(0x18e)+_0x97b712['installedPath']:_0xcd1287(0x184);return console[_0xcd1287(0x18d)](_0xcd1287(0x192)+_0x97b712[_0xcd1287(0x18c)]+'\x20'+_0x256430+_0x4f7429),_0x97b712;}const _0x3dd2e1=_0xcd1287(0x187)+(_0x97b712[_0xcd1287(0x188)]??'FAILED')+']\x20'+(_0x97b712[_0xcd1287(0x196)]??_0xcd1287(0x194))+'.\x20'+(_0xcd1287(0x182)+_0x97b712['repairCommand']);if(_0x97b712[_0xcd1287(0x188)]===_0xcd1287(0x193))throw new Error(_0x3dd2e1);return console[_0xcd1287(0x181)](_0x3dd2e1),_0x97b712;}